@arcgis/core 5.2.0-next.7 → 5.2.0-next.9
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/applications/SceneViewer/layerUtils.d.ts +9 -1
- package/applications/SceneViewer/layerUtils.js +1 -1
- package/arcgisGlobal.d.ts +4 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/07cc5743cb6a9fd68adb.js +1 -0
- package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +1 -0
- package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +1 -0
- package/assets/esri/core/workers/chunks/0f75c19d8e296a32e329.js +1 -0
- package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +1 -0
- package/assets/esri/core/workers/chunks/18f980465db5a86153d1.js +1 -0
- package/assets/esri/core/workers/chunks/1996f0a930abdd97b855.js +1 -0
- package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +1 -0
- package/assets/esri/core/workers/chunks/1cb1f125dccbf8c8cac9.js +1 -0
- package/assets/esri/core/workers/chunks/1dd06335bb2d35c66339.js +1 -0
- package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +1 -0
- package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +1 -0
- package/assets/esri/core/workers/chunks/{da29cf0e64065631a470.js → 24810c36ae09bb4e83dc.js} +1 -1
- package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +1 -0
- package/assets/esri/core/workers/chunks/274b82cb183ddd0042f3.js +1 -0
- package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +1 -0
- package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +1 -0
- package/assets/esri/core/workers/chunks/2dbc2fd0f2dde505c465.js +1 -0
- package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +1 -0
- package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +1 -0
- package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +1 -0
- package/assets/esri/core/workers/chunks/31918a0d9886dedf385f.js +1 -0
- package/assets/esri/core/workers/chunks/{1c029b03ed836f393a50.js → 3248001d9dfb9153699e.js} +1 -1
- package/assets/esri/core/workers/chunks/3297658ccd8d4b9ce733.js +1 -0
- package/assets/esri/core/workers/chunks/{716a4d7e8b908b81870b.js → 32f26757e36704923286.js} +1 -1
- package/assets/esri/core/workers/chunks/3529afab0c2444275d91.js +1 -0
- package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +1 -0
- package/assets/esri/core/workers/chunks/390fda094fa8695d98cf.js +1 -0
- package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +30 -0
- package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +1 -0
- package/assets/esri/core/workers/chunks/3b3f91a61e3f29af1fb2.js +1 -0
- package/assets/esri/core/workers/chunks/{f815106d439ff1f76e51.js → 3b837b512999e6ab24bc.js} +1 -1
- package/assets/esri/core/workers/chunks/3d20c86f1fe877bf884b.js +1 -0
- package/assets/esri/core/workers/chunks/3dc5fbecc427df1fd827.js +1 -0
- package/assets/esri/core/workers/chunks/3e65b4b18760bde8ceee.js +1 -0
- package/assets/esri/core/workers/chunks/3ff7aa216cd794d951e8.js +1 -0
- package/assets/esri/core/workers/chunks/{8e1865392681d390ab2e.js → 401ee7fa500adad77db1.js} +1 -1
- package/assets/esri/core/workers/chunks/{60915a3708a34da1977e.js → 426156137f279d979ddd.js} +1 -1
- package/assets/esri/core/workers/chunks/434c1dd3f48e6f0802fc.js +1 -0
- package/assets/esri/core/workers/chunks/4517630bf869205bab87.js +1 -0
- package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +1 -0
- package/assets/esri/core/workers/chunks/{cfd28eba44cf5a296c6d.js → 49308bdc36373555f1af.js} +1 -1
- package/assets/esri/core/workers/chunks/{09d0e430c66788a2626f.js → 4a20f7a0700fd14a129f.js} +1 -1
- package/assets/esri/core/workers/chunks/5075e85e1eafd431a8c0.js +1 -0
- package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +1 -0
- package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +1 -0
- package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +1 -0
- package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +1 -0
- package/assets/esri/core/workers/chunks/538537f9bc866d9caa75.js +1 -0
- package/assets/esri/core/workers/chunks/58a7cdebc3d182c15ec6.js +1 -0
- package/assets/esri/core/workers/chunks/58ac245ff7fb57c1004f.js +1 -0
- package/assets/esri/core/workers/chunks/58acc18b92533166135d.js +1 -0
- package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +1 -0
- package/assets/esri/core/workers/chunks/5bfae465872760e7af6d.js +1 -0
- package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +1 -0
- package/assets/esri/core/workers/chunks/5d3ddbf94539cb4f493e.js +1 -0
- package/assets/esri/core/workers/chunks/{542f5469f7b42026b24f.js → 5d62d1920e3e35fc0192.js} +1 -1
- package/assets/esri/core/workers/chunks/5dd441db1e74dc9b56e9.js +1 -0
- package/assets/esri/core/workers/chunks/630ad47857de3cf726d1.js +1 -0
- package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +1 -0
- package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +1 -0
- package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +1 -0
- package/assets/esri/core/workers/chunks/686c51fd2144e132783e.js +1 -0
- package/assets/esri/core/workers/chunks/68f9b2da1fd08785320f.js +2 -0
- package/assets/esri/core/workers/chunks/69e98de578f467a35054.js +1 -0
- package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +1 -0
- package/assets/esri/core/workers/chunks/6aabde21b0b376d95888.js +1 -0
- package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +1 -0
- package/assets/esri/core/workers/chunks/{bcb021a167580bb1619f.js → 6ef3b8d67b498d655a99.js} +1 -1
- package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +1 -0
- package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +1 -0
- package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +1 -0
- package/assets/esri/core/workers/chunks/{fce7995c26953bfd8d3d.js → 70229007d594536ba6a3.js} +1 -1
- package/assets/esri/core/workers/chunks/71e55381fdff3fc2542e.js +1 -0
- package/assets/esri/core/workers/chunks/{90953a827bc89d0e6bd5.js → 72cfb186e50537bcdd19.js} +1 -1
- package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +1 -0
- package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +1 -0
- package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +1 -0
- package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +1 -0
- package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +1 -0
- package/assets/esri/core/workers/chunks/7e89cb9ff615742e0894.js +1 -0
- package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +1 -0
- package/assets/esri/core/workers/chunks/{62dfbdc847be4800e833.js → 8103d06f760a2c79773d.js} +10 -14
- package/assets/esri/core/workers/chunks/{8477b5fdd99c6ac5c27b.js → 851705cf276eae8d4d37.js} +1 -1
- package/assets/esri/core/workers/chunks/89e09276086745aa21fa.js +1 -0
- package/assets/esri/core/workers/chunks/{4894997bfa438f66da36.js → 8a8c5e5ce457ca004687.js} +1 -1
- package/assets/esri/core/workers/chunks/{b79428c5093614174e76.js → 8b0a01ebc86ab226f01f.js} +1 -1
- package/assets/esri/core/workers/chunks/{452c01cecbbd1e370098.js → 8f93e6fc11a158d4f1ee.js} +1 -1
- package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +1 -0
- package/assets/esri/core/workers/chunks/{359d3acb3953e64e5a78.js → 93ceb74ac88ef460fe5f.js} +1 -1
- package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +1 -0
- package/assets/esri/core/workers/chunks/{875cce0be4f6c89f80f3.js → 9629601de5e44ffe90ea.js} +2 -2
- package/assets/esri/core/workers/chunks/976ab2be6c244768c08a.js +1 -0
- package/assets/esri/core/workers/chunks/{e785f76c1a75cb1d1e1f.js → 99101789035f1787c630.js} +1 -1
- package/assets/esri/core/workers/chunks/99e5296192ab98fd0d99.js +1 -0
- package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +1 -0
- package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +1 -0
- package/assets/esri/core/workers/chunks/a2247f4c3116efb16c4f.js +1 -0
- package/assets/esri/core/workers/chunks/a4245bd4e67a428fd835.js +1 -0
- package/assets/esri/core/workers/chunks/a442534ac0956a68b769.js +1 -0
- package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +1 -0
- package/assets/esri/core/workers/chunks/{8bdca6f06c8b5fedd917.js → a5abba59e738c3240c22.js} +1 -1
- package/assets/esri/core/workers/chunks/a9fc53ae040320e49834.js +1 -0
- package/assets/esri/core/workers/chunks/aa118c1bcd922b8ac328.js +1 -0
- package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +1 -0
- package/assets/esri/core/workers/chunks/ac33b10fe65f9e9e824f.js +1 -0
- package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +1 -0
- package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +1 -0
- package/assets/esri/core/workers/chunks/b22a1c98271c2e4d8808.js +1 -0
- package/assets/esri/core/workers/chunks/{9f4681713f03365a2a53.js → b666027b9022fa346a79.js} +1 -1
- package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +1 -0
- package/assets/esri/core/workers/chunks/{0f3654c8157ec8f22869.js → b895674c0550826ecb28.js} +3 -3
- package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +1 -0
- package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +1 -0
- package/assets/esri/core/workers/chunks/c357c0a08b99c1e7f290.js +1 -0
- package/assets/esri/core/workers/chunks/{4a23b27bfbcfa08fd9a7.js → c3cf9e6e91f71c9cc5f3.js} +1 -1
- package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +1 -0
- package/assets/esri/core/workers/chunks/{e545df5ea7c0ced92cee.js → c424a66f1546275e2bcb.js} +1 -1
- package/assets/esri/core/workers/chunks/c60b4f2dd5fccdf362a7.js +1 -0
- package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +1 -0
- package/assets/esri/core/workers/chunks/c80fc1b3048e8d58a1f8.js +1 -0
- package/assets/esri/core/workers/chunks/c911f0b5bdd43b66b731.js +1 -0
- package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +1 -0
- package/assets/esri/core/workers/chunks/ccffaba50674adba7a0f.js +1 -0
- package/assets/esri/core/workers/chunks/{24646a1176ce34039155.js → cdf6ad970dc1893dac58.js} +1 -1
- package/assets/esri/core/workers/chunks/d13e003c9293cb7e2852.js +1 -0
- package/assets/esri/core/workers/chunks/d24e027bb8b2c09f25c8.js +1 -0
- package/assets/esri/core/workers/chunks/d2df8c328054dc6cb7b7.js +1 -0
- package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +1 -0
- package/assets/esri/core/workers/chunks/{5e3e0d7b85dfd52d1c7d.js → d78b7cac322755e87eb8.js} +1 -1
- package/assets/esri/core/workers/chunks/d7be278aed1fb37ad5ec.js +1 -0
- package/assets/esri/core/workers/chunks/d9695794cfaa014a55b1.js +1 -0
- package/assets/esri/core/workers/chunks/da1e8b338ab9fe9e0a8e.js +1 -0
- package/assets/esri/core/workers/chunks/dd920a6f6422fa213eba.js +1 -0
- package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +1 -0
- package/assets/esri/core/workers/chunks/e279bcbe4f10e87bde6c.js +1 -0
- package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +1 -0
- package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +1 -0
- package/assets/esri/core/workers/chunks/{e178cd0e9178d6716410.js → e5837e5ac6ef761f26a2.js} +1 -1
- package/assets/esri/core/workers/chunks/e6a7272b59a4c2e34dca.js +1 -0
- package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +1 -0
- package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +1 -0
- package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +1 -0
- package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +1 -0
- package/assets/esri/core/workers/chunks/ee07f54bc77fe9f8575a.js +1 -0
- package/assets/esri/core/workers/chunks/{e094364e54981c91e1b4.js → eeea5710275c967e8d51.js} +1 -1
- package/assets/esri/core/workers/chunks/ef46ef4f0ee9f2aeaa4a.js +1 -0
- package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +1 -0
- package/assets/esri/core/workers/chunks/{485d20152495c27b8074.js → f2a268c69f2a5566381b.js} +1 -1
- package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +1 -0
- package/assets/esri/core/workers/chunks/f69df22a5c64389ebe28.js +1 -0
- package/assets/esri/core/workers/chunks/{f60292d97bcdbf19165b.js → f6d047358d14328f3622.js} +1 -1
- package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +1 -0
- package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +1 -0
- package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +1 -0
- package/assets/esri/core/workers/chunks/f98118127469449ca145.js +1 -0
- package/assets/esri/core/workers/chunks/f9ed05d4ad1f44d033bb.js +1 -0
- package/assets/esri/core/workers/chunks/fb6605be0c5e36785543.js +1 -0
- package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +1 -0
- package/assets/esri/core/workers/chunks/fc4d9be62cf5e9758842.js +1 -0
- package/assets/esri/core/workers/chunks/fd70a25ffdf2cc6c5be2.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
- package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +38 -8
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/GaussianSplatComposition.glsl.js +1 -1
- package/chunks/GlobalIllumination.glsl.js +1 -1
- package/chunks/GlowComposition.glsl.js +2 -2
- package/chunks/OITBlend.glsl.js +3 -3
- package/chunks/OITBlendEmission.glsl.js +2 -2
- package/chunks/OITDimOpaque.glsl.js +2 -2
- package/chunks/SlicePlaneMaterial.glsl.js +4 -4
- package/chunks/bundle2.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/config.js +1 -1
- package/core/has.js +1 -1
- package/core/screenUtils.js +1 -1
- package/core/sql.d.ts +1 -1
- package/geometry/Extent.d.ts +0 -13
- package/geometry/Geometry.d.ts +10 -8
- package/geometry/Multipoint.d.ts +9 -0
- package/geometry/Multipoint.js +1 -1
- package/geometry/Point.d.ts +15 -71
- package/geometry/Polygon.js +1 -1
- package/geometry/support/geometryUtils.js +1 -1
- package/graphic/AnnotationGraphicOrigin.d.ts +34 -0
- package/graphic/AnnotationGraphicOrigin.js +2 -0
- package/graphic/DimensionFeatureGraphicOrigin.d.ts +34 -0
- package/graphic/DimensionFeatureGraphicOrigin.js +2 -0
- package/identity/IdentityManagerBase.js +1 -1
- package/interfaces.d.ts +11 -0
- package/kernel.js +1 -1
- package/layers/AnnotationLayer.d.ts +263 -32
- package/layers/AnnotationLayer.js +1 -1
- package/layers/DimensionFeatureLayer.d.ts +263 -32
- package/layers/DimensionFeatureLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +1 -1
- package/layers/GeoJSONLayer.d.ts +7 -7
- package/layers/ParquetLayer.d.ts +22 -2
- package/layers/SceneLayer.d.ts +4 -2
- package/layers/VideoLayer.d.ts +7 -1
- package/layers/VideoLayer.js +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +40 -10
- package/layers/graphics/sources/parquet/FileProvider.js +1 -1
- package/layers/graphics/sources/parquet/ParquetFileInfo.js +2 -0
- package/layers/graphics/sources/parquet/ParquetFileStatistics.js +2 -0
- package/layers/graphics/sources/parquet/PortalParquetFileProvider.js +1 -1
- package/layers/graphics/sources/parquet/PortalParquetLayerFileProvider.js +1 -1
- package/layers/graphics/sources/parquet/UrlsFileProvider.js +1 -1
- package/layers/graphics/sources/parquet/createFileProvider.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/mixins/FeatureLayerBase.d.ts +40 -16
- package/layers/mixins/TemporalLayer.d.ts +4 -2
- package/layers/support/AnnotationSublayer.d.ts +44 -0
- package/layers/support/AnnotationSublayer.js +2 -0
- package/layers/support/GeometryEncodingLocation.d.ts +1 -1
- package/layers/support/GeometryEncodingWkb.d.ts +3 -2
- package/layers/support/ParquetFilesData.d.ts +13 -3
- package/layers/support/ParquetPortalItemData.d.ts +12 -1
- package/layers/support/arcgisLayers.js +1 -1
- package/layers/support/commonProperties.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/layerUtils.js +1 -1
- package/layers/support/parquetUtils.js +1 -1
- package/layers/support/tiles3DUtils.js +1 -1
- package/layers/support/timeSeriesUtils.js +1 -1
- package/layers/video/types.d.ts +61 -1
- package/libs/parquet/parquet.js +1 -1
- package/package.json +1 -1
- package/request/types.d.ts +18 -20
- package/rest/support/Query.d.ts +1 -0
- package/support/revision.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexOutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/GeoRSSLayerView2D.js +1 -1
- package/views/2d/layers/GraphicsLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/KMLLayerView2D.js +1 -1
- package/views/2d/layers/MapNotesLayerView2D.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
- package/views/2d/layers/graphics/GraphicStore.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAggregateManipulatedObject3D.js +2 -0
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +2 -0
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +2 -0
- package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeTool3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/isSupportedObject.js +1 -1
- package/views/3d/interactive/editingTools/reshape/reshapeTooltipUtils3D.js +1 -1
- package/views/3d/interactive/editingTools/visualElementUtils.js +1 -1
- package/views/3d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles3D.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl/RenderNode.d.ts +25 -4
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/effects/emissive/emissions.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/RendererBase.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +2 -2
- package/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +6 -10
- package/views/draw/plugins/PolygonPlugin.js +1 -1
- package/views/interactive/interactiveToolUtils.js +1 -1
- package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
- package/views/interactive/snapping/LineSnapper.js +1 -1
- package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
- package/views/interactive/snapping/RightAngleSnapper.js +1 -1
- package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
- package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
- package/views/interactive/snapping/SnappingManager.js +1 -1
- package/views/interactive/snapping/snappingUtils.js +1 -1
- package/views/layers/FeatureLikeLayerView.d.ts +25 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/types.d.ts +4 -4
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/renderState.js +1 -1
- package/webdoc/support/webdocSaveUtils.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -2
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +1 -1
- package/widgets/BatchAttributeForm/attachmentUtils.d.ts +14 -0
- package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +8 -6
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +5 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
- package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
- package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm.d.ts +9 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/Column.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/GroupColumn.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/Print/PrintViewModel.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +7 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
- package/widgets/support/ContingentValuesManager.js +1 -1
- package/assets/esri/core/workers/chunks/02aaeaa988e9e7d65a7f.js +0 -1
- package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +0 -1
- package/assets/esri/core/workers/chunks/09a4139fc6d069ab6928.js +0 -1
- package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +0 -1
- package/assets/esri/core/workers/chunks/0a780a883abfcdf0b900.js +0 -1
- package/assets/esri/core/workers/chunks/0fbf9bf52ecb4cd8293b.js +0 -1
- package/assets/esri/core/workers/chunks/119d352dd586f2bb61ec.js +0 -1
- package/assets/esri/core/workers/chunks/130784a27661de6b52a5.js +0 -1
- package/assets/esri/core/workers/chunks/145364aa20b4435294c2.js +0 -1
- package/assets/esri/core/workers/chunks/1595dc499a06b23b6a96.js +0 -1
- package/assets/esri/core/workers/chunks/16713986893adfbc9331.js +0 -1
- package/assets/esri/core/workers/chunks/179c9fe4ac83b42e5976.js +0 -1
- package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +0 -1
- package/assets/esri/core/workers/chunks/1c64e10f966e26af6fed.js +0 -1
- package/assets/esri/core/workers/chunks/1eabe746481e0b228498.js +0 -1
- package/assets/esri/core/workers/chunks/201007cf1a91e2b126fc.js +0 -1
- package/assets/esri/core/workers/chunks/20d0adc678f11981059c.js +0 -1
- package/assets/esri/core/workers/chunks/227eff8aa4a6f5f03bc2.js +0 -1
- package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +0 -1
- package/assets/esri/core/workers/chunks/238478cfe493fd4a6100.js +0 -1
- package/assets/esri/core/workers/chunks/24647e7424798dccdaf5.js +0 -1
- package/assets/esri/core/workers/chunks/249616ea2d90d40a8299.js +0 -1
- package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +0 -1
- package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +0 -1
- package/assets/esri/core/workers/chunks/2bcd4d395bfe6a19ccc8.js +0 -1
- package/assets/esri/core/workers/chunks/2c8584ec1c3c9fd5aba2.js +0 -1
- package/assets/esri/core/workers/chunks/2d374cc8c54a722a7afe.js +0 -1
- package/assets/esri/core/workers/chunks/2e11b4e9d66474a60064.js +0 -1
- package/assets/esri/core/workers/chunks/2fa080539d039c92ce08.js +0 -1
- package/assets/esri/core/workers/chunks/3109b05fe4fc40d4f25b.js +0 -1
- package/assets/esri/core/workers/chunks/31442f25d550ead58fc4.js +0 -1
- package/assets/esri/core/workers/chunks/32323b0e0fcecd8f640e.js +0 -1
- package/assets/esri/core/workers/chunks/330da3828eefd8d72d3f.js +0 -1
- package/assets/esri/core/workers/chunks/33e0130e6a40fc768978.js +0 -1
- package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +0 -1
- package/assets/esri/core/workers/chunks/388e71e8f2ec41bfa5a9.js +0 -1
- package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +0 -1
- package/assets/esri/core/workers/chunks/3aacaa1be5efeac23a37.js +0 -1
- package/assets/esri/core/workers/chunks/3b765a8cac9e92f644f2.js +0 -1
- package/assets/esri/core/workers/chunks/3bf6d55511cd7722eb93.js +0 -1
- package/assets/esri/core/workers/chunks/3e012cd3ca4451f89f59.js +0 -1
- package/assets/esri/core/workers/chunks/3fbb6ff940156a981983.js +0 -1
- package/assets/esri/core/workers/chunks/40910c69307e2d2d3f28.js +0 -1
- package/assets/esri/core/workers/chunks/40c4e14e7bb505ef10a3.js +0 -1
- package/assets/esri/core/workers/chunks/4104fa1ede36bcee9be5.js +0 -1
- package/assets/esri/core/workers/chunks/423a9882abd4a6dadf86.js +0 -1
- package/assets/esri/core/workers/chunks/428561df7ba6f02e2d80.js +0 -1
- package/assets/esri/core/workers/chunks/45323491f9005629c602.js +0 -1
- package/assets/esri/core/workers/chunks/46d0a25d33b5b328cfce.js +0 -1
- package/assets/esri/core/workers/chunks/47dd2bfecc5c4b5f10f0.js +0 -1
- package/assets/esri/core/workers/chunks/4845df00f6ebcce6ea3e.js +0 -1
- package/assets/esri/core/workers/chunks/48fcc10768d93e95a04e.js +0 -1
- package/assets/esri/core/workers/chunks/4a9dd9f8aa98882218f3.js +0 -1
- package/assets/esri/core/workers/chunks/4bfffdfbe6d467f143a4.js +0 -1
- package/assets/esri/core/workers/chunks/518046d2b95a7590a092.js +0 -1
- package/assets/esri/core/workers/chunks/54dad475dc806a38c287.js +0 -1
- package/assets/esri/core/workers/chunks/552945a73a95cd2a9f54.js +0 -1
- package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +0 -1
- package/assets/esri/core/workers/chunks/58155f24f8ed6aca7a21.js +0 -1
- package/assets/esri/core/workers/chunks/5838f46d341d2fde42ee.js +0 -1
- package/assets/esri/core/workers/chunks/592a599f514de373dead.js +0 -1
- package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
- package/assets/esri/core/workers/chunks/5f9bacee6fbf9ac1bca0.js +0 -1
- package/assets/esri/core/workers/chunks/62206d5d497b95fc4caf.js +0 -1
- package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +0 -1
- package/assets/esri/core/workers/chunks/62fc3c367f736c73b0d7.js +0 -1
- package/assets/esri/core/workers/chunks/643c33a98f2d30a92001.js +0 -1
- package/assets/esri/core/workers/chunks/64daa2a714e59d22bbd4.js +0 -1
- package/assets/esri/core/workers/chunks/65621650a53f69f7b05a.js +0 -1
- package/assets/esri/core/workers/chunks/6a5356ebed70e0f8f979.js +0 -1
- package/assets/esri/core/workers/chunks/6c9933f948efd7923aa1.js +0 -1
- package/assets/esri/core/workers/chunks/6cab67fc7044ee9b863b.js +0 -1
- package/assets/esri/core/workers/chunks/7014e73dfd3c8baa704c.js +0 -1
- package/assets/esri/core/workers/chunks/75839240022b280929f7.js +0 -1
- package/assets/esri/core/workers/chunks/76589434d573111a8fb4.js +0 -1
- package/assets/esri/core/workers/chunks/767ea5b455b3823afd09.js +0 -1
- package/assets/esri/core/workers/chunks/77859a61d059738d057f.js +0 -1
- package/assets/esri/core/workers/chunks/78aa5bc6af2758da20d0.js +0 -1
- package/assets/esri/core/workers/chunks/7b564226def99fcf79d8.js +0 -1
- package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +0 -1
- package/assets/esri/core/workers/chunks/7cadfd7444a2a05cf2fb.js +0 -1
- package/assets/esri/core/workers/chunks/7df94cb985db41815fad.js +0 -2
- package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +0 -1
- package/assets/esri/core/workers/chunks/8419934bec7723b0feef.js +0 -1
- package/assets/esri/core/workers/chunks/84b0b6e099d949e0fea5.js +0 -1
- package/assets/esri/core/workers/chunks/9133c1b7cc1c9da27deb.js +0 -1
- package/assets/esri/core/workers/chunks/92ab5886aa2d8b9b179f.js +0 -1
- package/assets/esri/core/workers/chunks/9a6e62ef984e9c5babc4.js +0 -1
- package/assets/esri/core/workers/chunks/9b676606bf839b7aa433.js +0 -1
- package/assets/esri/core/workers/chunks/9d27cc631bab8aa7479e.js +0 -1
- package/assets/esri/core/workers/chunks/9dcfaca1f4fa8c8026ac.js +0 -1
- package/assets/esri/core/workers/chunks/9f23a61c60949459c14f.js +0 -30
- package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +0 -1
- package/assets/esri/core/workers/chunks/a0fa60a24e58f7a47e41.js +0 -1
- package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +0 -1
- package/assets/esri/core/workers/chunks/a2ac139d0975085279a6.js +0 -1
- package/assets/esri/core/workers/chunks/a806ac351ef5da04c250.js +0 -1
- package/assets/esri/core/workers/chunks/ab94c9f62462d7a98f6a.js +0 -1
- package/assets/esri/core/workers/chunks/abdb05754c50776c3edd.js +0 -1
- package/assets/esri/core/workers/chunks/ad488985824fbb830ed6.js +0 -1
- package/assets/esri/core/workers/chunks/b0ac4b0b7aec70cfe6eb.js +0 -1
- package/assets/esri/core/workers/chunks/b23009d9f8eb7c20ce45.js +0 -1
- package/assets/esri/core/workers/chunks/bfbd1ca28ed2f263e58f.js +0 -1
- package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +0 -1
- package/assets/esri/core/workers/chunks/c44be4aaba829e6d149d.js +0 -1
- package/assets/esri/core/workers/chunks/ca6907e14b1dde4d5c07.js +0 -1
- package/assets/esri/core/workers/chunks/cbbd94c53e75efc99876.js +0 -1
- package/assets/esri/core/workers/chunks/ce0e627a5e1cb78adce8.js +0 -1
- package/assets/esri/core/workers/chunks/cf7acf5acb6d322fd996.js +0 -1
- package/assets/esri/core/workers/chunks/d21480b078ec9680d4c4.js +0 -1
- package/assets/esri/core/workers/chunks/d81291dac1932350eccd.js +0 -1
- package/assets/esri/core/workers/chunks/da3c54e27a808f4fcc18.js +0 -1
- package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +0 -1
- package/assets/esri/core/workers/chunks/dd58286dde3b20356f84.js +0 -1
- package/assets/esri/core/workers/chunks/dfeddb7b17fa9eaae64c.js +0 -1
- package/assets/esri/core/workers/chunks/e4e0c5a45cf32973d5d5.js +0 -1
- package/assets/esri/core/workers/chunks/e638391801ad83fe4a68.js +0 -1
- package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +0 -1
- package/assets/esri/core/workers/chunks/e7712467db46e1385cf4.js +0 -1
- package/assets/esri/core/workers/chunks/ed2cb60e4f17f46fb78d.js +0 -1
- package/assets/esri/core/workers/chunks/edb55329305becdb204f.js +0 -1
- package/assets/esri/core/workers/chunks/f02fe24177e56a7e42b2.js +0 -1
- package/assets/esri/core/workers/chunks/f1fb2f12371f4c562079.js +0 -1
- package/assets/esri/core/workers/chunks/f3dfe1bd1146a6927407.js +0 -1
- package/assets/esri/core/workers/chunks/ff48334528d2554db4fe.js +0 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringStore.js +0 -2
- /package/assets/esri/core/workers/chunks/{7df94cb985db41815fad.js.LICENSE.txt → 68f9b2da1fd08785320f.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{875cce0be4f6c89f80f3.js.LICENSE.txt → 9629601de5e44ffe90ea.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,5611,6033,6061,7992,8414,9397],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},70031(t,e,n){n.d(e,{O:()=>s});var r=n(15756);class s extends r.v{getOperatorType(){return 4}execute(t,e,n,s){return!(0,r.w)(t,e,n,4,s)}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function h(){return i(1,1,1)}function c(){return i(1,0,0)}function f(){return i(0,1,0)}function l(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>p,Cw:()=>x,JP:()=>d,S:()=>h,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=h(),x=c(),d=f(),p=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:d,UNIT_Z:p,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:h,unitX:c,unitY:f,unitZ:l,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>O,DI:()=>E,Il:()=>B,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>R,ei:()=>S,fw:()=>w,g7:()=>Z,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>V,t2:()=>N,tn:()=>l,uE:()=>G,xg:()=>L,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function b(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function O(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function P(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,f=n*a-r*o,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}function Z(t,e){b(F,t),b(Y,e);const n=_(F,Y);return n>1?0:n<-1?Math.PI:Math.acos(n)}const F=(0,r.vt)(),Y=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function R(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function V(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,z=c,X=f,L=M,k=y,B=i,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:Z,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,f=r*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:V,dist:L,distance:M,div:X,divide:f,dot:_,equals:R,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:B,length:i,lerp:O,max:x,min:g,mul:z,multiply:c,negate:C,normalize:b,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:p,set:a,sign:m,sqrDist:k,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:S,transformMat4:A,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>O,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>N,gh:()=>b,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=P(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=S(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let p=0;if(!(0,l.Ed)(t)){for(const t of n){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(M(10),++s.segmentCountArc,y=F(n,r,s,i,y),n=r.a[0]):(0,l.DA)(r)?(M(10),++s.segmentCountArc,y=Y(n,r,s,i,y),n=r.a[0]):(0,l.aO)(r)?(M(10),++s.segmentCountArc,y=N(n,r,s,i,y),n=r.c[0]):(0,l.n1)(r)?(M(4),++s.segmentCountBezier,y=V(0,r,s,i,y),n=r.b[0]):n=r}x&&w(e,n)||f(n)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=S(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const h=Z(t,u,o,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return R(a,4,...(0,h.mq)(a,.5),s,o)}function N(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,R((0,c.pM)(t,e),0,...e.c[1],s,o)}function R(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},55284(t,e,n){n.r(e),n.d(e,{execute:()=>o});var r=n(70031),s=n(83299);const i=new r.O;function o(t,e){const n=(0,s.fromGeometry)(t);return i.execute(n.getGeometry(),(0,s.fromGeometryToGXGeometry)(e),n.getSpatialReference(),null)}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>i,l5:()=>a,yH:()=>u});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=i(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function p(t){return t?d(t,E):i(E)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2942],{4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>l,jh:()=>o,l5:()=>a,yH:()=>u});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function u(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const n=o(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function l(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>y,DC:()=>d,Ej:()=>v,Ie:()=>x,Jt:()=>g,Ne:()=>m,RF:()=>c,aI:()=>b,fA:()=>s,gE:()=>u,hZ:()=>h,iT:()=>f,is:()=>I,qv:()=>w,vI:()=>p,vY:()=>a,v_:()=>M,vt:()=>o,w1:()=>l}),n(35522);var r=n(5443),i=(n(19419),n(4197));function o(e=M){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,n,r=o()){return h(r,w),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],u=e[4],l=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),u=Math.max(u,t[n+3*e+1]),l=Math.max(l,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=u,e[5]=l}(r,e,t,n),r}(e,0,e.length/3,t)}function u(e,t=(0,i.jh)(24)){const[n,r,o,s,a,u]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=u,t[6]=n,t[7]=a,t[8]=o,t[9]=n,t[10]=a,t[11]=u,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=u,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=u,t}function l(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function v(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function m(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function p(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function x(e){return e?h(e,w):o(w)}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function y(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function I(e){return 6===e.length}function b(e,t,n){if(null==e||null==t)return e===t;if(!I(e)||!I(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],M=[0,0,0,0,0,0];o()},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},37352(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(7762),s=n(25482),a=n(91429);let u=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],u)},5682(e,t,n){n.d(t,{s1:()=>c});var r=n(11254),i=(n(4576),n(49186),n(44208),n(58083),n(9093)),o=(n(35522),n(51850)),s=(n(91218),n(16930),n(27993),n(19419));n(39516),n(30524),n(97552);var a=n(59418);n(73941),n(48353),n(90629);var u=n(91829);(0,u.fA)(0,0,0,.2);(0,u.fA)(0,0,0,.2),n(34727);var l=n(57005);async function c(e,t,n,i,o,s,u,l){const c=[];for(const r of t)if(r&&o.includes(r.name)){const t=`${e}/nodes/${n}/attributes/${r.key}/0`;c.push({url:t,storageInfo:r})}const d=await Promise.allSettled(c.map(e=>(0,r.A)(e.url,{responseType:"array-buffer",query:{...u,token:s},signal:l?.signal}).then(t=>(0,a.m0)(e.storageInfo,t.data)))),f=[];for(const e of i){const t={};for(let n=0;n<d.length;n++){const r=d[n];if("fulfilled"===r.status){const i=r.value;t[c[n].storageInfo.name]=(0,a.E5)(i,e)}}f.push(t)}return f}n(22911),(0,s.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,s.vt)(),(0,s.vt)(),new l.ab,(0,o.vt)(),new Array(72),(0,i.vt)()},49255(e,t,n){function r(e){return function(e){return l(e)||4===e}(e)||function(e){return 5===(t=e)||6===t||7===t||8===e||9===e;var t}(e)}function i(e){return 10===e||11===e}function o(e){return u(e)||i(e)}function s(e){return 1===e}function a(e){return 2===e}function u(e){return 0===e||function(e){return s(e)||a(e)}(e)}function l(e){return function(e){return u(e)||i(e)}(e)||c(e)}function c(e){return 3===e}n.d(t,{Ex:()=>i,Rb:()=>a,Sp:()=>s,_o:()=>u,eh:()=>c,gr:()=>l,i3:()=>o,uw:()=>r})},53466(e,t,n){n.d(t,{U:()=>i});var r=n(31821);function i(e,t){switch(t.textureCoordinateType){case 1:return e.attributes.add("uv0","vec2"),e.varyings.add("vuv0","vec2"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return e.attributes.add("uv0","vec2"),e.attributes.add("uvRegion","vec4"),e.varyings.add("vuv0","vec2"),e.varyings.add("vuvRegion","vec4"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() {
|
|
2
|
-
vuv0 = uv0;
|
|
3
|
-
vuvRegion = uvRegion;
|
|
4
|
-
}`);default:t.textureCoordinateType;case 0:return void e.vertex.code.add(r.H`void forwardTextureCoordinates() {}`);case 3:return}}},99208(e,t,n){n.d(t,{r:()=>s});var r=n(53466),i=n(31821);function o(e){e.fragment.code.add(i.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
|
|
5
|
-
vec2 atlasScale = atlasRegion.zw - atlasRegion.xy;
|
|
6
|
-
vec2 uvAtlas = fract(textureCoordinates) * atlasScale + atlasRegion.xy;
|
|
7
|
-
float maxdUV = 0.125;
|
|
8
|
-
vec2 dUVdx = clamp(dFdx(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
9
|
-
vec2 dUVdy = clamp(dFdy(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
10
|
-
return textureGrad(tex, uvAtlas, dUVdx, dUVdy);
|
|
11
|
-
}`)}function s(e,t){const{textureCoordinateType:n}=t;if(0===n||3===n)return;e.include(r.U,t);const s=2===n;s&&e.include(o),e.fragment.code.add(i.H`
|
|
12
|
-
vec4 textureLookup(sampler2D tex, vec2 uv) {
|
|
13
|
-
return ${s?"textureAtlasLookup(tex, uv, vuvRegion)":"texture(tex, uv)"};
|
|
14
|
-
}
|
|
15
|
-
`)}},22911(e,t,n){n.d(t,{NL:()=>p});var r=n(34727),i=n(49255),o=n(99208),s=n(65261),a=n(40710),u=n(33079),l=n(28421),c=n(20304),d=n(31821),f=n(15976),v=n(63761),m=n(66211);function p(e,t){if(!(0,i._o)(t.output))return;e.fragment.include(s.C);const{emissionSource:n,hasEmissiveTextureTransform:p,bindType:h}=t,x=3===n||4===n||5===n;x&&(e.include(o.r,t),e.fragment.uniforms.add(1===h?new v.N("texEmission",e=>e.textureEmissive):new f.o("texEmission",e=>e.textureEmissive)));const g=2===n||x;g&&e.fragment.uniforms.add(1===h?new u.t("emissiveBaseColor",e=>e.emissiveBaseColor):new a.W("emissiveBaseColor",e=>e.emissiveBaseColor));const y=0!==n;if(y&&7!==n&&6!==n&&4!==n&&5!==n){const t=e=>(0,r.qE)(e??0,0,m.bS);e.fragment.uniforms.add(1===h?new c.m("emissiveStrength",e=>t(e.emissiveStrength)):new l.J("emissiveStrength",e=>t(e.emissiveStrength)))}const I=7===n,b=5===n,w=1===n||6===n||I;e.fragment.code.add(d.H`
|
|
16
|
-
vec4 getEmissions(vec3 symbolColor) {
|
|
17
|
-
vec4 emissions = ${g?b?"emissiveSource == 0 ? vec4(emissiveBaseColor, 1.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(emissiveBaseColor, 1.0)":w?I?"emissiveSource == 0 ? vec4(0.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(linearizeGamma(symbolColor), 1.0)":"vec4(0.0)"};
|
|
18
|
-
${(0,d.If)(x,`${(0,d.If)(b,`if(emissiveSource == 0) {\n vec4 emissiveFromTex = textureLookup(texEmission, ${p?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);\n }`,`vec4 emissiveFromTex = textureLookup(texEmission, ${p?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);`)}\n emissions.w = emissions.rgb == vec3(0.0) ? 0.0: emissions.w;`)}
|
|
19
|
-
${(0,d.If)(y,`emissions.rgb *= emissiveStrength * ${d.H.float(1)};`)}
|
|
20
|
-
return emissions;
|
|
21
|
-
}
|
|
22
|
-
`)}},65261(e,t,n){n.d(t,{C:()=>o});var r=n(40876),i=n(31821);function o(e){e.constants.add("GAMMA","float",r.Tf).constants.add("INV_GAMMA","float",1/r.Tf).code.add(i.H`vec3 delinearizeGamma(vec3 color) {
|
|
23
|
-
return pow(color, vec3(INV_GAMMA));
|
|
24
|
-
}
|
|
25
|
-
vec4 delinearizeGamma(vec4 color) {
|
|
26
|
-
return vec4(delinearizeGamma(color.rgb), color.a);
|
|
27
|
-
}
|
|
28
|
-
vec3 linearizeGamma(vec3 color) {
|
|
29
|
-
return pow(color, vec3(GAMMA));
|
|
30
|
-
}`)}},40710(e,t,n){n.d(t,{W:()=>i});var r=n(74333);class i extends r.n{constructor(e,t,n){super(e,"vec3",2,(r,i,o,s)=>r.setUniform3fv(e,t(i,o,s),n))}}},33079(e,t,n){n.d(t,{t:()=>i});var r=n(74333);class i extends r.n{constructor(e,t,n){super(e,"vec3",1,(r,i,o)=>r.setUniform3fv(e,t(i,o),n))}}},28421(e,t,n){n.d(t,{J:()=>i});var r=n(74333);class i extends r.n{constructor(e,t,n){super(e,"float",2,(r,i,o)=>r.setUniform1f(e,t(i,o),n))}}},20304(e,t,n){n.d(t,{m:()=>i});var r=n(74333);class i extends r.n{constructor(e,t,n){super(e,"float",1,(r,i,o)=>r.setUniform1f(e,t(i,o),n))}}},15976(e,t,n){n.d(t,{o:()=>i});var r=n(74333);class i extends r.n{constructor(e,t,n){super(e,"sampler2D",2,(r,i,o)=>r.bindTexture(e,t(i,o),n?.(i,o)))}}},63761(e,t,n){n.d(t,{N:()=>i});var r=n(74333);class i extends r.n{constructor(e,t){super(e,"sampler2D",1,(n,r,i)=>n.bindTexture(e,t(r,i)))}}},31821(e,t,n){n.d(t,{H:()=>r,If:()=>i});const r=(e,...t)=>{let n="";for(let r=0;r<t.length;r++)n+=e[r]+t[r];return n+=e[e.length-1],n};function i(e,t,n=""){return e?t:n}r.int=e=>e.toFixed(),r.uint=e=>`${Math.max(0,e).toFixed()}u`,r.hexuint=e=>`0x${Math.round(Math.max(0,e)).toString(16)}u`,r.float=e=>e.toPrecision(8)},66211(e,t,n){n.d(t,{Hp:()=>i,bS:()=>r});const r=16;function i(e,t){t.useFloatBlend?(e.constants.add("floatBlendOutputScale","float",1),e.constants.add("floatBlendInputScale","float",1)):(e.constants.add("floatBlendOutputScale","float",1/16),e.constants.add("floatBlendInputScale","float",16)),e.constants.add("maxEmissiveStrength","float",r)}},45671(e,t,n){n.d(t,{D8:()=>o,TO:()=>i});var r=n(30524);async function i(e,t=e.popupTemplate){if(null==t)return[];const n=await t.getRequiredFields(e.fieldsIndex),{lastEditInfoEnabled:i}=t,{objectIdField:o,typeIdField:s,globalIdField:a,relationships:u}=e;if(n.includes("*"))return["*"];const l=i?(0,r.eX)(e):[],c=(0,r.DB)(e.fieldsIndex,[...n,...l]);return s&&c.push(s),c&&o&&e.fieldsIndex?.has(o)&&!c.includes(o)&&c.push(o),c&&a&&e.fieldsIndex?.has(a)&&!c.includes(a)&&c.push(a),u?.forEach(t=>{const{keyField:n}=t;c&&n&&e.fieldsIndex?.has(n)&&!c.includes(n)&&c.push(n)}),c}function o(e,t){return e&&"object"==typeof e?t?.checkPopupEnabled&&"popupEnabled"in e&&!e.popupEnabled?null:"popupTemplate"in e&&e.popupTemplate?e.popupTemplate:null!=t&&t.defaultPopupTemplateEnabled&&"defaultPopupTemplate"in e&&e.defaultPopupTemplate?e.defaultPopupTemplate:null:null}},74333(e,t,n){n.d(t,{n:()=>r});class r{constructor(e,t,n,r,i=null){if(this.name=e,this.type=t,this.arraySize=i,this.bind={0:null,1:null,2:null},r)switch(n){case void 0:break;case 0:this.bind[0]=r;break;case 1:this.bind[1]=r;break;case 2:this.bind[2]=r}}equals(e){return this.type===e.type&&this.name===e.name&&this.arraySize===e.arraySize}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4505,9397],{5482(t,e,r){function n(t,e,r,n){var i,s=arguments.length,o=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,r,o):i(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o}function i(t,e,r){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}r.d(e,{Cg:()=>n,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function o(t){function e(e){t.error=t.hasError?new s(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var r,n=0;return function i(){for(;r=t.stack.pop();)try{if(!r.async&&1===n)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(t){return e(t),i()})}else n|=1}catch(t){e(t)}if(1===n)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},83349(t,e,r){function n(t,e,r){r=r||2;var n,s,a,l,h,c,f,x=e&&e.length,y=x?e[0]*r:t.length,d=i(t,0,y,r,!0),p=[];if(!d||d.next===d.prev)return p;if(x&&(d=u(t,e,d,r)),t.length>80*r){n=a=t[0],s=l=t[1];for(var g=r;g<y;g+=r)(h=t[g])<n&&(n=h),(c=t[g+1])<s&&(s=c),h>a&&(a=h),c>l&&(l=c);f=0!==(f=Math.max(a-n,l-s))?1/f:0}return o(d,p,r,n,s,f),p}function i(t,e,r,n,i){var s,o;if(i===V(t,e,r,n)>0)for(s=e;s<r;s+=n)o=B(s,t[s],t[s+1],o);else for(s=r-n;s>=e;s-=n)o=B(s,t[s],t[s+1],o);if(o&&I(o,o.next)){var a=o.next;P(o),o=a}return o}function s(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!I(n,n.next)&&0!==w(n.prev,n,n.next))n=n.next;else{var i=n.prev;if(P(n),(n=e=i)===n.next)break;r=!0}}while(r||n!==e);return e}function o(t,e,r,n,i,u,f){if(t){!f&&u&&p(t,n,i,u);for(var x,y,d=t;t.prev!==t.next;)if(x=t.prev,y=t.next,u?l(t,n,i,u):a(t))e.push(x.i/r),e.push(t.i/r),e.push(y.i/r),P(t),t=y.next,d=y.next;else if((t=y)===d){f?1===f?o(t=h(s(t),e,r),e,r,n,i,u,2):2===f&&c(t,e,r,n,i,u):o(s(t),e,r,n,i,u,1);break}}}function a(t){var e=t.prev,r=t,n=t.next;if(w(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(m(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&w(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(t,e,r,n){var i=t.prev,s=t,o=t.next;if(w(i,s,o)>=0)return!1;for(var a=i.x<s.x?i.x<o.x?i.x:o.x:s.x<o.x?s.x:o.x,l=i.y<s.y?i.y<o.y?i.y:o.y:s.y<o.y?s.y:o.y,h=i.x>s.x?i.x>o.x?i.x:o.x:s.x>o.x?s.x:o.x,c=i.y>s.y?i.y>o.y?i.y:o.y:s.y>o.y?s.y:o.y,u=g(a,l,e,r,n),f=g(h,c,e,r,n),x=t.prevZ,y=t.nextZ;x&&x.z>=u&&y&&y.z<=f;){if(x!==t.prev&&x!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,x.x,x.y)&&w(x.prev,x,x.next)>=0)return!1;if(x=x.prevZ,y!==t.prev&&y!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,y.x,y.y)&&w(y.prev,y,y.next)>=0)return!1;y=y.nextZ}for(;x&&x.z>=u;){if(x!==t.prev&&x!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,x.x,x.y)&&w(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;y&&y.z<=f;){if(y!==t.prev&&y!==t.next&&m(i.x,i.y,s.x,s.y,o.x,o.y,y.x,y.y)&&w(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}function h(t,e,r){var n=t;do{var i=n.prev,o=n.next.next;!I(i,o)&&v(i,n,n.next,o)&&M(i,o)&&M(o,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(o.i/r),P(n),P(n.next),n=t=o),n=n.next}while(n!==t);return s(n)}function c(t,e,r,n,i,a){var l=t;do{for(var h=l.next.next;h!==l.prev;){if(l.i!==h.i&&b(l,h)){var c=L(l,h);return l=s(l,l.next),c=s(c,c.next),o(l,e,r,n,i,a),void o(c,e,r,n,i,a)}h=h.next}l=l.next}while(l!==t)}function u(t,e,r,n){var o,a,l,h=[];for(o=0,a=e.length;o<a;o++)(l=i(t,e[o]*n,o<a-1?e[o+1]*n:t.length,n,!1))===l.next&&(l.steiner=!0),h.push(_(l));for(h.sort(f),o=0;o<h.length;o++)r=s(r=y(h[o],r),r.next);return r}function f(t,e){return t.x-e.x}function x(t){if(t.next.prev===t)return t;let e=t;for(;;){const r=e.next;if(r.prev===e||r===e||r===t)break;e=r}return e}function y(t,e){var r=function(t,e){var r,n=e,i=t.x,s=t.y,o=-1/0;do{if(s<=n.y&&s>=n.next.y&&n.next.y!==n.y){var a=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=i&&a>o){if(o=a,a===i){if(s===n.y)return n;if(s===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!r)return null;if(i===o)return r;var l,h=r,c=r.x,u=r.y,f=1/0;n=r;do{i>=n.x&&n.x>=c&&i!==n.x&&m(s<u?i:o,s,c,u,s<u?o:i,s,n.x,n.y)&&(l=Math.abs(s-n.y)/(i-n.x),M(n,t)&&(l<f||l===f&&(n.x>r.x||n.x===r.x&&d(r,n)))&&(r=n,f=l)),n=n.next}while(n!==h);return r}(t,e);if(!r)return e;var n=L(r,t),i=s(r,r.next);let o=x(n);return s(o,o.next),i=x(i),x(e===r?i:e)}function d(t,e){return w(t.prev,t,e.prev)<0&&w(e.next,t,t.next)<0}function p(t,e,r,n){var i=t;do{null===i.z&&(i.z=g(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,s,o,a,l,h=1;do{for(r=t,t=null,s=null,o=0;r;){for(o++,n=r,a=0,e=0;e<h&&(a++,n=n.nextZ);e++);for(l=h;a>0||l>0&&n;)0!==a&&(0===l||!n||r.z<=n.z)?(i=r,r=r.nextZ,a--):(i=n,n=n.nextZ,l--),s?s.nextZ=i:t=i,i.prevZ=s,s=i;r=n}s.nextZ=null,h*=2}while(o>1)}(i)}function g(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function _(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function m(t,e,r,n,i,s,o,a){return(i-o)*(e-a)-(t-o)*(s-a)>=0&&(t-o)*(n-a)-(r-o)*(e-a)>=0&&(r-o)*(s-a)-(i-o)*(n-a)>=0}function b(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&v(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(M(t,e)&&M(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,s=(t.y+e.y)/2;do{r.y>s!=r.next.y>s&&r.next.y!==r.y&&i<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)&&(w(t.prev,t,e.prev)||w(t,e.prev,e))||I(t,e)&&w(t.prev,t,t.next)>0&&w(e.prev,e,e.next)>0)}function w(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function I(t,e){return t.x===e.x&&t.y===e.y}function v(t,e,r,n){var i=T(w(t,e,r)),s=T(w(t,e,n)),o=T(w(r,n,t)),a=T(w(r,n,e));return i!==s&&o!==a||!(0!==i||!A(t,r,e))||!(0!==s||!A(t,n,e))||!(0!==o||!A(r,t,n))||!(0!==a||!A(r,e,n))}function A(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function T(t){return t>0?1:t<0?-1:0}function M(t,e){return w(t.prev,t,t.next)<0?w(t,e,t.next)>=0&&w(t,t.prev,e)>=0:w(t,e,t.prev)<0||w(t,t.next,e)<0}function L(t,e){var r=new k(t.i,t.x,t.y),n=new k(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,s.next=n,n.prev=s,n}function B(t,e,r,n){var i=new k(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function P(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function k(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function V(t,e,r,n){for(var i=0,s=e,o=r-n;s<r;s+=n)i+=(t[o]-t[s])*(t[s+1]+t[o+1]),o=s;return i}r.d(e,{e:()=>n}),n.deviation=function(t,e,r,n){var i=e&&e.length,s=i?e[0]*r:t.length,o=Math.abs(V(t,0,s,r));if(i)for(var a=0,l=e.length;a<l;a++){var h=e[a]*r,c=a<l-1?e[a+1]*r:t.length;o-=Math.abs(V(t,h,c,r))}var u=0;for(a=0;a<n.length;a+=3){var f=n[a]*r,x=n[a+1]*r,y=n[a+2]*r;u+=Math.abs((t[f]-t[y])*(t[x+1]-t[f+1])-(t[f]-t[x])*(t[y+1]-t[f+1]))}return 0===o&&0===u?0:Math.abs((u-o)/o)},n.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var s=0;s<t[i].length;s++)for(var o=0;o<e;o++)r.vertices.push(t[i][s][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r}},32488(t,e,r){r.d(e,{A:()=>T});const n=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],i=["آ","أ","إ","ا"],s=["ﻵ","ﻷ","ﻹ","ﻻ"],o=["ﻶ","ﻸ","ﻺ","ﻼ"],a=["ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ی","ئ","ؤ"],l=["ﺍ","ﺏ","ﺕ","ﺙ","ﺝ","ﺡ","ﺥ","ﺩ","ﺫ","ﺭ","ﺯ","ﺱ","ﺵ","ﺹ","ﺽ","ﻁ","ﻅ","ﻉ","ﻍ","ﻑ","ﻕ","ﻙ","ﻝ","ﻡ","ﻥ","ﻩ","ﻭ","ﻱ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯼ","ﺉ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺉ","ﺅ"],h=["ﺎ","ﺐ","ﺖ","ﺚ","ﺞ","ﺢ","ﺦ","ﺪ","ﺬ","ﺮ","ﺰ","ﺲ","ﺶ","ﺺ","ﺾ","ﻂ","ﻆ","ﻊ","ﻎ","ﻒ","ﻖ","ﻚ","ﻞ","ﻢ","ﻦ","ﻪ","ﻮ","ﻲ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯽ","ﺊ","ﺆ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺊ","ﺆ"],c=["ﺎ","ﺒ","ﺘ","ﺜ","ﺠ","ﺤ","ﺨ","ﺪ","ﺬ","ﺮ","ﺰ","ﺴ","ﺸ","ﺼ","ﻀ","ﻄ","ﻈ","ﻌ","ﻐ","ﻔ","ﻘ","ﻜ","ﻠ","ﻤ","ﻨ","ﻬ","ﻮ","ﻴ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯿ","ﺌ","ﺆ","ﹱ","ﹲ","ﹴ","ﹷ","ﹹ","ﹻ","ﹽ","ﹿ","ﺀ","ﺌ","ﺆ"],u=["ﺍ","ﺑ","ﺗ","ﺛ","ﺟ","ﺣ","ﺧ","ﺩ","ﺫ","ﺭ","ﺯ","ﺳ","ﺷ","ﺻ","ﺿ","ﻃ","ﻇ","ﻋ","ﻏ","ﻓ","ﻗ","ﻛ","ﻟ","ﻣ","ﻧ","ﻫ","ﻭ","ﻳ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯾ","ﺋ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺋ","ﺅ"],f=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],x=["ً","ً","ٌ","؟","ٍ","؟","َ","َ","ُ","ُ","ِ","ِ","ّ","ّ","ْ","ْ","ء","آ","آ","أ","أ","ؤ","ؤ","إ","إ","ئ","ئ","ئ","ئ","ا","ا","ب","ب","ب","ب","ة","ة","ت","ت","ت","ت","ث","ث","ث","ث","ج","ج","ج","ج","ح","ح","ح","ح","خ","خ","خ","خ","د","د","ذ","ذ","ر","ر","ز","ز","س","س","س","س","ش","ش","ش","ش","ص","ص","ص","ص","ض","ض","ض","ض","ط","ط","ط","ط","ظ","ظ","ظ","ظ","ع","ع","ع","ع","غ","غ","غ","غ","ف","ف","ف","ف","ق","ق","ق","ق","ك","ك","ك","ك","ل","ل","ل","ل","م","م","م","م","ن","ن","ن","ن","ه","ه","ه","ه","و","و","ى","ى","ي","ي","ي","ي","ﻵ","ﻶ","ﻷ","ﻸ","ﻹ","ﻺ","ﻻ","ﻼ","؟","؟","؟"],y=["ء","ف"],d=["غ","ي"],p=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],g=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],_=10,m=11,b=12,w=18,I=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],v=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],A=[[w,w,w,w,w,w,w,w,w,6,5,6,8,5,w,w,w,w,w,w,w,w,w,w,w,w,w,w,5,5,5,6,8,4,4,m,m,m,4,4,4,4,4,_,9,_,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,w,w,w,w,w,w,5,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,9,4,m,m,m,m,4,4,4,4,0,4,4,w,4,4,m,m,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,1,b,1,b,b,1,b,b,1,b,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,m,m,7,9,7,4,4,b,b,b,b,b,b,b,b,b,b,b,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,3,3,3,3,3,3,3,3,3,3,m,3,3,7,7,7,b,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,3,4,b,b,b,b,b,b,7,7,b,b,4,b,b,b,b,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,b,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,b,b,b,b,b,b,b,b,b,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,w,w,w,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,m,m,m,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,w,w,w,w,w,4,4,4,4,4,w,w,w,w,w,w,2,0,4,4,2,2,2,2,2,2,_,_,4,4,4,0,2,2,2,2,2,2,2,2,2,2,_,_,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,b,1,1,1,1,1,1,1,1,1,1,_,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,m,4,4,_,_,4,4,4,4,4,m,m,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,w],[4,4,4,m,m,m,4,4,4,4,4,_,9,_,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,m,m,4,4,4,m,m,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class T{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,r){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,r){H=[],Y=[];for(let n=0;n<r;n++)t[n]=n,e[n]=n,H[n]=n}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,r))return t;e=this.inputFormat,r=this.outputFormat;let n=t;const a=J,c=j(e.charAt(1)),f=j(r.charAt(1)),y=(e.startsWith("I")?"L":e.charAt(0))+c,d=(r.startsWith("I")?"L":r.charAt(0))+f,p=e.charAt(2)+r.charAt(2);a.defInFormat=y,a.defOutFormat=d,a.defSwap=p;const g=M(t,y,d,p,a);let _=!1;return"R"===r.charAt(1)?_=!0:"C"!==r.charAt(1)&&"D"!==r.charAt(1)||(_="rtl"===this.checkContextual(g)),this.sourceToTarget=H,this.targetToSource=function(t){const e=new Array(t.length);for(let r=0;r<t.length;r++)e[t[r]]=r;return e}(this.sourceToTarget),K=this.targetToSource,n=e.charAt(3)===r.charAt(3)?g:"S"===r.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);const r=(e=String(e)).split("");let n=0,i=1,a=r.length;t||(n=r.length-1,i=-1,a=1);const c=function(t,e,r,n){let i=0;const a=[];let c=0;for(let f=e;f*r<n;f+=r)if(R(t[f])||G(t[f])){if("ل"===t[f]&&D(t,f+r,r,n)){t[f]=Z(t[f+r],0===i?s:o),f+=r,W(t,f,r,n),a[c]=f,c++,i=0;continue}const e=t[f];1===i?t[f]=E(t,f+r,r,n)?z(t[f]):O(t[f],h):!0===E(t,f+r,r,n)?t[f]=O(t[f],u):t[f]=O(t[f],l),G(e)||(i=1),!0===N(e)&&(i=0)}else i=0;return a}(r,n,i,a);let f="";for(let e=0;e<r.length;e++)S(c,c.length,e)>-1?(q(K,e,!t,-1),H.splice(e,1)):f+=r[e];return f}(_,g):function(t,e){if(0===t.length)return"";void 0===e&&(e=!0);let r="";const n=(t=String(t)).split("");for(let s=0;s<t.length;s++){let o=!1;if(n[s]>="ﹰ"&&n[s]<"\ufeff"){const a=t.charCodeAt(s);n[s]>="ﻵ"&&n[s]<="ﻼ"?(e?(s>0&&" "===n[s-1]?r=r.slice(0,-1)+"ل":(r+="ل",o=!0),r+=i[(a-65269)/2]):(r+=i[(a-65269)/2],r+="ل",s+1<t.length&&" "===n[s+1]?s++:o=!0),o&&(q(K,s,!0,1),H.splice(s,0,H[s]))):r+=x[a-65136]}else r+=n[s]}return r}(g,_),this.sourceToTarget=H,this.targetToSource=K,this.levels=Y,n}_inputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=L(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch(t){}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return rt.test(t)}}function M(t,e,r,n,i){const s=function(t,e,r){if(void 0===e.inFormat&&(e.inFormat=r.defInFormat),void 0===e.outFormat&&(e.outFormat=r.defOutFormat),void 0===e.swap&&(e.swap=r.defSwap),e.inFormat===e.outFormat)return e;const n=e.inFormat.slice(0,1),i=e.outFormat.slice(0,1);let s,o=e.inFormat.slice(1,4),a=e.outFormat.slice(1,4);return o.startsWith("C")&&(s=L(t),o="ltr"===s||"rtl"===s?s.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=n+o),a.startsWith("C")&&(s=L(t),"rtl"===s?a="RTL":"ltr"===s?(s=function(t){const e=t.split("");return e.reverse(),L(e.join(""))}(t),a=s.toUpperCase()):a="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=i+a),e}(t,{inFormat:e,outFormat:r,swap:n},i);if(s.inFormat===s.outFormat)return t;e=s.inFormat,r=s.outFormat,n=s.swap;const o=e.slice(0,1),a=e.slice(1,4),l=r.slice(0,1),h=r.slice(1,4);if(i.inFormat=e,i.outFormat=r,i.swap=n,"L"===o&&"VLTR"===r){if("LTR"===a)return i.dir=X,B(t,i);if("RTL"===a)return i.dir=tt,B(t,i)}if("V"===o&&"V"===l)return i.dir="RTL"===a?tt:X,V(t,i);if("L"===o&&"VRTL"===r)return"LTR"===a?(i.dir=X,t=B(t,i)):(i.dir=tt,t=B(t,i)),V(t);if("VLTR"===e&&"LLTR"===r)return i.dir=X,B(t,i);if("V"===o&&"L"===l&&a!==h)return t=V(t),"RTL"===a?M(t,"LLTR","VLTR",n,i):M(t,"LRTL","VRTL",n,i);if("VRTL"===e&&"LRTL"===r)return M(t,"LRTL","VRTL",n,i);if("L"===o&&"L"===l){const e=i.swap;return i.swap=e.slice(0,1)+"N","RTL"===a?(i.dir=tt,t=B(t,i),i.swap="N"+e.slice(1,3),i.dir=X,t=B(t,i)):(i.dir=X,t=B(t,i),i.swap="N"+e.slice(1,3),t=M(t,"VLTR","LRTL",i.swap,i)),t}return t}function L(t){const e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function B(t,e){const r=t.split(""),n=[];return P(r,n,e),function(t,e,r){if(0!==r.hiLevel&&r.swap[0]!==r.swap[1])for(let r=0;r<t.length;r++)1===e[r]&&(t[r]=F(t[r]))}(r,n,e),C(2,r,n,e),C(1,r,n,e),Y=n,r.join("")}function P(t,e,r){const n=t.length,i=r.dir?g:p;let s=0,o=-1;const a=[],l=[];r.hiLevel=r.dir,r.lastArabic=!1,r.hasUbatAl=!1,r.hasUbatB=!1,r.hasUbatS=!1;for(let e=0;e<n;e++)a[e]=k(t[e]);for(let h=0;h<n;h++){const n=s,c=U(t,a,l,h,r);l[h]=c,s=i[n][c];const u=240&s;s&=15;const f=i[s][Q];if(e[h]=f,u>0)if(16===u){for(let t=o;t<h;t++)e[t]=1;o=-1}else o=-1;if(i[s][$])-1===o&&(o=h);else if(o>-1){for(let t=o;t<h;t++)e[t]=f;o=-1}5===a[h]&&(e[h]=0),r.hiLevel|=f}r.hasUbatS&&function(t,e,r,n){for(let i=0;i<r;i++)if(6===t[i]){e[i]=n.dir;for(let r=i-1;r>=0&&8===t[r];r--)e[r]=n.dir}}(a,e,n,r)}function k(t){const e=t.charCodeAt(0),r=v[e>>8];return r<100?r:A[r-100][255&e]}function V(t,e){const r=t.split("");if(e){const t=[];P(r,t,e),Y=t}return r.reverse(),H.reverse(),r.join("")}function S(t,e,r){for(let n=0;n<e;n++)if(t[n]===r)return n;return-1}function R(t){for(let e=0;e<y.length;e++)if(t>=y[e]&&t<=d[e])return!0;return!1}function E(t,e,r,n){for(;e*r<n&&G(t[e]);)e+=r;return!!(e*r<n&&R(t[e]))}function D(t,e,r,n){for(;e*r<n&&G(t[e]);)e+=r;let s=" ";if(!(e*r<n))return!1;s=t[e];for(let t=0;t<i.length;t++)if(i[t]===s)return!0;return!1}function C(t,e,r,n){if(n.hiLevel<t)return;if(1===t&&n.dir===tt&&!n.hasUbatB)return e.reverse(),void H.reverse();const i=e.length;let s,o,a,l,h,c=0;for(;c<i;){if(r[c]>=t){for(s=c+1;s<i&&r[s]>=t;)s++;for(o=c,a=s-1;o<a;o++,a--)l=e[o],e[o]=e[a],e[a]=l,h=H[o],H[o]=H[a],H[a]=h;c=s}c++}}function U(t,e,r,n,i){const s=e[n];return{UBAT_L:()=>(i.lastArabic=!1,0),UBAT_R:()=>(i.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>i.lastArabic?3:2,UBAT_AL:()=>(i.lastArabic=!0,i.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,s;return n<1||n+1>=e.length||2!==(t=r[n-1])&&3!==t||2!==(s=e[n+1])&&3!==s?4:(i.lastArabic&&(s=3),s===t?s:4)},UBAT_ES:()=>2===(n>0?r[n-1]:5)&&n+1<e.length&&2===e[n+1]?2:4,UBAT_ET:()=>{if(n>0&&2===r[n-1])return 2;if(i.lastArabic)return 4;let t=n+1;const s=e.length;for(;t<s&&e[t]===m;)t++;return t<s&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===i.inFormat){const r=e.length;let i=n+1;for(;i<r&&e[i]===b;)i++;if(i<r){const r=t[n].charCodeAt(0),s=r>=1425&&r<=2303||64286===r,o=e[i];if(s&&(1===o||7===o))return 1}}return n<1||5===e[n-1]?4:r[n-1]},UBAT_B:()=>(i.lastArabic=!0,i.hasUbatB=!0,i.dir),UBAT_S:()=>(i.hasUbatS=!0,4),UBAT_LRE:()=>(i.lastArabic=!1,4),UBAT_RLE:()=>(i.lastArabic=!1,4),UBAT_LRO:()=>(i.lastArabic=!1,4),UBAT_RLO:()=>(i.lastArabic=!1,4),UBAT_PDF:()=>(i.lastArabic=!1,4),UBAT_BN:()=>4}[I[s]]()}function F(t){let e,r=0,i=n.length-1;for(;r<=i;)if(e=Math.floor((r+i)/2),t<n[e][0])i=e-1;else{if(!(t>n[e][0]))return n[e][1];r=e+1}return t}function N(t){for(let e=0;e<f.length;e++)if(f[e]===t)return!0;return!1}function z(t){for(let e=0;e<a.length;e++)if(t===a[e])return c[e];return t}function O(t,e){for(let r=0;r<a.length;r++)if(t===a[r])return e[r];return t}function G(t){return t>="ً"&&t<="ٕ"}function j(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function W(t,e,r,n){for(;e*r<n&&G(t[e]);)e+=r;return e*r<n&&(t[e]=" ",!0)}function Z(t,e){for(let r=0;r<i.length;r++)if(t===i[r])return e[r];return t}function q(t,e,r,n){for(let i=0;i<t.length;i++)(t[i]>e||!r&&t[i]===e)&&(t[i]+=n)}let H=[],K=[],Y=[];const J={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},Q=5,$=6,X=0,tt=1,et=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,rt=/[\u0591-\u06ff\ufb1d-\ufefc]/},34304(t,e,r){r.d(e,{DF:()=>l,FD:()=>i,Ov:()=>s,ct:()=>h});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function l(t){return t*o}function h(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){n=t},toDegree:h,toRadian:l},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>l,Qh:()=>o,RS:()=>i,Ul:()=>x,i5:()=>f,lM:()=>s,qK:()=>c});var n=r(34275);const i=16;function s(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return l(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=u;for(let n=0;n<e;n++)r+=a(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return i;case"boolean":return 4;default:return 8}}function l(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,i):0:0),0)}function h(t,e){return u+t.length*e}const c=32,u=16,f=145,x=64},51624(t,e,r){r.d(e,{A:()=>h});var n=r(44208),i=r(69397),s=r(93687);const o=4294967296,a=new TextDecoder("utf-8"),l=(0,n.A)("safari")||(0,n.A)("ios")?6:(0,n.A)("ff")?12:32;class h{constructor(t,e,r=0,n=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,r,n)}[Symbol.dispose](){this.release()}_init(t,e,r,n){this._data=t,this._dataView=e,this._pos=r,this._end=n}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new h(this._data,this._dataView,this._pos,this._end)}clonePooled(){return h.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,r=0,n=t?.byteLength??0){const i=h.pool.acquire();return i._init(t,e,r,n),i}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,r=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),r}getSFixed64(){const t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),r}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,r=this._toString(this._data,e,e+t);return this._skip(t),r}getBytes(){const t=this._getLength(),e=this._pos,r=this._toBytes(this._data,e,e+t);return this._skip(t),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,r,n){const i=this.getMessage(),s=t(i,e,r,n);return i.release(),s}processMessage(t){const e=this.getMessage(),r=t(e);return e.release(),r}getMessage(){const t=this._getLength(),e=h.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){h.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,r=0,n=0;if(this._end-e>=10)do{if(n=t[e++],r|=127&n,!(128&n))break;if(n=t[e++],r|=(127&n)<<7,!(128&n))break;if(n=t[e++],r|=(127&n)<<14,!(128&n))break;if(n=t[e++],r|=(127&n)<<21,!(128&n))break;if(n=t[e++],r+=268435456*(127&n),!(128&n))break;if(n=t[e++],r+=34359738368*(127&n),!(128&n))break;if(n=t[e++],r+=4398046511104*(127&n),!(128&n))break;if(n=t[e++],r+=562949953421312*(127&n),!(128&n))break;if(n=t[e++],r+=72057594037927940*(127&n),!(128&n))break;if(n=t[e++],r+=0x8000000000000000*(127&n),!(128&n))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;e!==this._end&&(n=t[e],128&n);)++e,r+=(127&n)*i,i*=128;if(e===this._end)throw new Error("Varint overrun!");++e,r+=n*i}return this._pos=e,r}_decodeSVarint(){const t=this._data;let e,r=0,n=0;const i=1&t[this._pos];if(n=t[this._pos++],r|=127&n,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<7,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<14,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<21,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=268435456*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=34359738368*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=4398046511104*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(e=BigInt(r),n=t[this._pos++],e+=0x2000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);if(n=t[this._pos++],e+=0x100000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);if(n=t[this._pos++],e+=0x8000000000000000n*BigInt(127&n),!(128&n))return Number(i?-(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,r){if((r=Math.min(this._end,r))-e>l){const n=t.subarray(e,r);return a.decode(n)}let n="",i="";for(let s=e;s<r;++s){const e=t[s];128&e?i+="%"+e.toString(16):(n+=decodeURIComponent(i)+String.fromCharCode(e),i="")}return i.length&&(n+=decodeURIComponent(i)),n}_toBytes(t,e,r){return r=Math.min(this._end,r),new Uint8Array(t.buffer,e,r-e)}static{this.pool=new s.A(()=>new h(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},15585(t,e,r){r.d(e,{If:()=>x,O5:()=>g,O9:()=>d,QT:()=>p,l3:()=>y});var n=r(5482),i=r(2741),s=r(49186),o=r(44208),a=r(34727);let l=null,h=null,c=null,u=null;const f=(new Float32Array(0),new Uint32Array(0),new Uint32Array(0),new Uint32Array(0),{vertices:new Float64Array(0),indices:new Uint32Array(0),outlineIndices:new Uint32Array(0),outlineRingLengths:new Uint32Array(0),vertexCount:0,indexCount:0,outlineIndexCount:0,outlineRingCount:0});async function x(){return l??=async function(){const t=await r.e(2997).then(r.bind(r,42997)),e=await t.default({locateFile:t=>(0,i.s)(`esri/core/libs/libtess/${t}`)});c=e}(),l}async function y(){return h??=async function(){const t=await r.e(9134).then(r.bind(r,99134)),e=await t.default({locateFile:t=>(0,i.s)(`esri/core/libs/libtess/${t}`)});u=e}(),h}function d(){return null!==u}function p(t,e,r=2){const i={stack:[],error:void 0,hasError:!1};try{const a=c;if(!a)throw new s.A("libtess:not-loaded","libtessF32 not loaded");const l=(0,n.mS)(i,w.from(a,t),!1),h=(0,n.mS)(i,v.from(a,e),!1),u=t.length/r*4,f=(0,n.mS)(i,new w(a,u*r),!1),x=a.triangulate(l.ptr,h.ptr,h.size,r,f.ptr,u);if((0,o.A)("esri-tessellation-debug")){const t=a.getError();0!==t&&console.warn("libtess:triangulation",A(t))}return{buffer:f.slice(0,x*r),vertexCount:x}}catch(t){i.error=t,i.hasError=!0}finally{(0,n.hk)(i)}}function g(t,e,r=2,i=!0){const l={stack:[],error:void 0,hasError:!1};try{const h=u;if(!h)throw new s.A("libtess:not-loaded","libtessF64 not loaded");const c=(0,n.mS)(l,I.from(h,t),!1),x=(0,n.mS)(l,v.from(h,e),!1),y=(0,n.mS)(l,new v(h,1),!1),d=(0,n.mS)(l,new v(h,1),!1),p=(0,n.mS)(l,new v(h,1),!1),g=(0,n.mS)(l,new v(h,1),!1),{maxVertexCount:_,maxIndexCount:m,maxOutlineIndexCount:w,maxOutlineRingCount:T}=function(t,e){const r=t.reduce((t,e)=>t+e,0),n=t.length,i=Math.max(0,t.length-1),s=Math.max(0,r+2*i-2),o=Math.max(0,Math.ceil(2*r)),l=Math.max(0,Math.ceil(3*s*2)),h=(0,a.mP)(l,3),c=r>0?Math.max(2,Math.ceil(.25*r)):0,u=r>0?Math.max(1,Math.ceil(c/3)):0;return{maxVertexCount:o,maxIndexCount:h,maxOutlineIndexCount:e?Math.max(0,r+n+c):0,maxOutlineRingCount:e?Math.max(0,n+u):0}}(e,i);let M=0,L=0,B=0,P=0,k=0;{const t={stack:[],error:void 0,hasError:!1};try{const e=(0,n.mS)(t,new I(h,_*r),!1),s=(0,n.mS)(t,new v(h,m),!1),o=(0,n.mS)(t,i?new v(h,w):null,!1),a=(0,n.mS)(t,i?new v(h,T):null,!1);if(h.triangulateIndexed(c.ptr,x.ptr,x.size,r,e.ptr,_,r,s.ptr,m,y.ptr,d.ptr,o?.ptr??0,w,a?.ptr??0,T,p.ptr,g.ptr),k=h.getError(),M=b(h)[y.ptr/Int32Array.BYTES_PER_ELEMENT],L=b(h)[d.ptr/Int32Array.BYTES_PER_ELEMENT],B=b(h)[p.ptr/Int32Array.BYTES_PER_ELEMENT],P=b(h)[g.ptr/Int32Array.BYTES_PER_ELEMENT],0===k){const t=e.slice(0,M*r);return{vertices:t,indices:s.slice(0,L),outlineIndices:i&&o?o.slice(0,B):f.outlineIndices,outlineRingLengths:i&&a?a.slice(0,P):f.outlineRingLengths,vertexCount:M,indexCount:L,outlineIndexCount:i?B:0,outlineRingCount:i?P:0}}}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}if(100903!==k)return(0,o.A)("esri-tessellation-debug")&&console.warn("libtess:triangulation",A(k)),f;const V=(0,n.mS)(l,new I(h,M*r),!1),S=(0,n.mS)(l,new v(h,L),!1),R=(0,n.mS)(l,i?new v(h,B):null,!1),E=(0,n.mS)(l,i?new v(h,P):null,!1);if(h.triangulateIndexed(c.ptr,x.ptr,x.size,r,V.ptr,M,r,S.ptr,L,y.ptr,d.ptr,R?.ptr??0,i?B:0,E?.ptr??0,i?P:0,p.ptr,g.ptr),k=h.getError(),0!==k)return(0,o.A)("esri-tessellation-debug")&&console.warn("libtess:triangulation",A(k)),f;const D=b(h)[y.ptr/Int32Array.BYTES_PER_ELEMENT],C=b(h)[d.ptr/Int32Array.BYTES_PER_ELEMENT],U=b(h)[p.ptr/Int32Array.BYTES_PER_ELEMENT],F=b(h)[g.ptr/Int32Array.BYTES_PER_ELEMENT],N=V.slice(0,D*r);return{vertices:N,indices:S.slice(0,C),outlineIndices:i&&R?R.slice(0,U):f.outlineIndices,outlineRingLengths:i&&E?E.slice(0,F):f.outlineRingLengths,vertexCount:D,indexCount:C,outlineIndexCount:i?U:0,outlineRingCount:i?F:0}}catch(t){l.error=t,l.hasError=!0}finally{(0,n.hk)(l)}}function _(t){return t.HEAPF64}function m(t){return t.HEAPF32}function b(t){return t.HEAP32}class w{static from(t,e){const r=new w(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateCoordinateArray(e)}destroy(){this._libtess.destroyCoordinateArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Float32Array.BYTES_PER_ELEMENT}set(t){m(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return m(this._libtess).slice(r+t,r+e)}}class I{static from(t,e){const r=new I(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateCoordinateArray(e)}destroy(){this._libtess.destroyCoordinateArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Float64Array.BYTES_PER_ELEMENT}set(t){_(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return _(this._libtess).slice(r+t,r+e)}}class v{static from(t,e){const r=new v(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateLengthsArray(e)}destroy(){this._libtess.destroyLengthsArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Int32Array.BYTES_PER_ELEMENT}set(t){b(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return function(t){const e=b(t);return new Uint32Array(e.buffer,e.byteOffset,e.length)}(this._libtess).slice(r+t,r+e)}}function A(t){switch(t){case 100903:return"Insufficient output buffer";case 100902:return"Out of memory";case 100151:return"Missing begin polygon";case 100152:return"Missing begin contour";case 100153:return"Missing end polygon";case 100154:return"Missing end countour";case 100155:return"Coordinates too large";case 100156:return"Missing combine callback";default:return`Unknown: ${t}`}}},95108(t,e,r){r.d(e,{$3:()=>h,Ng:()=>o,R3:()=>i,Yl:()=>l,gR:()=>s,m3:()=>u,t9:()=>a});var n=r(4576);function i(t,e){const r=e[0]-t[0],n=e[1]-t[1];if(t.length>2&&e.length>2){const i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}return Math.sqrt(r*r+n*n)}function s(t,e,r,n){const[i,s]=e,[o,a]=r,[l,h]=n,c=l-o,u=h-a,f=c*c+u*u,x=(i-o)*c+(s-a)*u,y=Math.min(1,Math.max(0,x/f));return t[0]=o+c*y,t[1]=a+u*y,t}function o(t,e,r,n,i,s){let o=r,a=n,l=i-o,h=s-a;if(0!==l||0!==h){const r=((t-o)*l+(e-a)*h)/(l*l+h*h);r>1?(o=i,a=s):r>0&&(o+=l*r,a+=h*r)}return l=t-o,h=e-a,l*l+h*h}function a(t,e){return function(t,e,r){const n=t[0]+r*(e[0]-t[0]),i=t[1]+r*(e[1]-t[1]);return t.length>2&&e.length>2?[n,i,t[2]+r*(e[2]-t[2])]:[n,i]}(t,e,.5)}function l(t){const e=t.length;let r=0;for(let n=0;n<e-1;++n)r+=i(t[n],t[n+1]);return r}function h(t,e=0,r=1){let n=0;const i=t.length;let s=t[0];for(let o=1;o<i;o++){const i=t[o];n+=(i[e]-s[e])*(i[r]+s[r]),s=i}if(c(t)){const i=t[0];n+=(i[e]-s[e])*(i[r]+s[r])}return n>=0}function c(t){const e=t.length;return e>0&&!(0,n.aI)(t[0],t[e-1])}function u(t){if("rings"in t)for(const e of t.rings)c(e)&&e.push(e[0].slice())}r(52006)},52006(t,e,r){function n(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 o(t){return"c"in t}function a(t){return Array.isArray(t)}function l(t){return"a"in t}function h(t){return"a"in t&&4===t.a.length}function c(t){return"a"in t&&7===t.a.length}function u(t,e){return i(t).flat().some(t=>function(t,e){return!(a(t)||(s(t)?e.has("cubic-bezier"):o(t)?e.has("circular-arc"):!h(t)&&!c(t)||e.has("elliptic-arc")))}(t,e))}function f(t){return a(t)?t:s(t)?t.b[0]:o(t)?t.c[0]:t.a[0]}function x(t){if(s(t)){const[e,r,n]=t.b;return{b:[[...e],[...r],[...n]]}}if(o(t)){const[e,r]=t.c;return{c:[[...e],[...r]]}}if(a(t))return[...t];if(h(t)){const[e,r,n,i]=t.a;return{a:[[...e],[...r],n,i]}}if(c(t)){const[e,r,n,i,s,o,a]=t.a;return{a:[[...e],[...r],n,i,s,o,a]}}return t}r.d(e,{DA:()=>h,Ed:()=>n,FD:()=>i,FG:()=>l,V8:()=>u,Xq:()=>a,aO:()=>o,n1:()=>s,tk:()=>x,wY:()=>c,yP:()=>f}),r(4576)},36849(t,e,r){r.r(e),r.d(e,{default:()=>Q});var n=r(17676),i=r(6774),s=r(5408),o=r(13195);function a(t){return 746===t||747===t||!(t<4352)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103&&!(t>=65097&&t<=65103)||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351&&!(t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=12592&&t<=12687||t>=43360&&t<=43391||t>=55216&&t<=55295||t>=4352&&t<=4607||t>=44032&&t<=55215||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12688&&t<=12703||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543&&12540!==t||t>=65280&&t<=65519&&!(65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||t>=65104&&t<=65135&&!(t>=65112&&t<=65118||t>=65123&&t<=65126)||t>=5120&&t<=5759||t>=6320&&t<=6399||t>=65040&&t<=65055||t>=19904&&t<=19967||t>=40960&&t<=42127||t>=42128&&t<=42191)}function l(t){return!(t<11904)&&(t>=12704&&t<=12735||t>=12544&&t<=12591||t>=65072&&t<=65103||t>=63744&&t<=64255||t>=13056&&t<=13311||t>=11904&&t<=12031||t>=12736&&t<=12783||t>=12288&&t<=12351||t>=13312&&t<=19903||t>=19968&&t<=40959||t>=12800&&t<=13055||t>=65280&&t<=65519||t>=12352&&t<=12447||t>=12272&&t<=12287||t>=12032&&t<=12255||t>=12784&&t<=12799||t>=12448&&t<=12543||t>=65040&&t<=65055||t>=42128&&t<=42191||t>=40960&&t<=42127)}function h(t){switch(t){case 10:case 32:case 38:case 40:case 41:case 43:case 45:case 47:case 173:case 183:case 8203:case 8208:case 8211:case 8231:return!0}return!1}function c(t){switch(t){case 9:case 10:case 11:case 12:case 13:case 32:return!0}return!1}var u=r(18989);const f=24;class x{constructor(t,e,r,n,i,s,o){this._glyphItems=t,this._maxWidth=e,this._lineHeight=r,this._letterSpacing=n,this._hAnchor=i,this._vAnchor=s,this._justify=o}getShaping(t,e,r){const n=this._letterSpacing,i=this._lineHeight,s=this._justify,o=this._maxWidth,u=[];let f=0,x=0;for(const e of t){const t=e.codePointAt(0);if(null==t)continue;const i=r&&a(t);let s;for(const e of this._glyphItems)if(s=e[t],s)break;u.push({codePoint:t,x:f,y:x,vertical:i,glyphItem:s}),s&&(f+=s.shaping.xAdvance+n)}let y=f;o>0&&(y=f/Math.max(1,Math.ceil(f/o)));const d=t.includes(""),p=[],g=u.length;for(let t=0;t<g-1;t++){const e=u[t].codePoint,r=l(e);if(h(e)||r){let n=0;if(10===e)n-=1e4;else if(r&&d)n+=150;else{40!==e&&65288!==e||(n+=50);const r=u[t+1].codePoint;41!==r&&65289!==r||(n+=50)}p.push(this._buildBreak(t+1,u[t].x,y,p,n,!1))}}const _=this._optimalBreaks(this._buildBreak(g,f,y,p,0,!0));let m=0;const b=e?-i:i;let w=0;for(let t=0;t<_.length;t++){const e=_[t];let r=w;for(;r<e&&c(u[r].codePoint);)u[r].glyphItem=null,++r;let n=e-1;for(;n>r&&c(u[n].codePoint);)u[n].glyphItem=null,--n;if(r<=n){const t=u[r].x;for(let e=r;e<=n;e++)u[e].x-=t,u[e].y=x;let e=u[n].x;u[n].glyphItem&&(e+=u[n].glyphItem.shaping.xAdvance),m=Math.max(e,m),s&&this._applyJustification(u,r,n)}w=e,x+=b}if(u.length>0){const t=_.length-1,r=(s-this._hAnchor)*m;let n=(-this._vAnchor*(t+1)+.5)*i;e&&t&&(n+=t*i);for(const t of u)t.x+=r,t.y+=n}return u.filter(t=>t.glyphItem)}static getTextBox(t,e){if(!t.length)return null;let r=1/0,n=1/0,i=0,s=0;for(const o of t){const t=o.glyphItem.shaping.xAdvance,a=o.x,l=o.y-17,h=a+t,c=l+e;r=Math.min(r,a),i=Math.max(i,h),n=Math.min(n,l),s=Math.max(s,c)}return{x:r,y:n,width:i-r,height:s-n}}static getBox(t){if(!t.length)return null;let e=1/0,r=1/0,n=0,i=0;for(const s of t){const{height:t,left:o,top:a,width:l}=s.glyphItem.rect,h=s.x,c=s.y-(t-Math.abs(a)),u=h+l+o,f=c+t;e=Math.min(e,h),n=Math.max(n,u),r=Math.min(r,c),i=Math.max(i,f)}return{x:e,y:r,width:n-e,height:i-r}}static addDecoration(t,e){const r=t.length;if(0===r)return;const n={rect:new u.A(4,0,4,8),sdf:!0,page:0};let i=t[0].x+t[0].glyphItem.rect.left,s=t[0].y;for(let o=1;o<r;o++){const r=t[o];if(r.y!==s){const a=t[o-1].x+t[o-1].glyphItem.rect.left+t[o-1].glyphItem.rect.width;t.push({codePoint:0,x:i,y:s+e-3,vertical:!1,glyphItem:{mosaicItem:n,rect:{width:a-i,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}}),s=r.y,i=r.x+r.glyphItem.rect.left}}const o=t[r-1].x+t[r-1].glyphItem.rect.left+t[r-1].glyphItem.rect.width;t.push({codePoint:0,x:i,y:s+e-3,vertical:!1,glyphItem:{mosaicItem:n,rect:{width:o-i,height:8,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0},code:0}})}_breakScore(t,e,r,n){const i=(t-e)*(t-e);return n?t<e?i/2:2*i:i+Math.abs(r)*r}_buildBreak(t,e,r,n,i,s){let o=null,a=this._breakScore(e,r,i,s);for(const t of n){const n=e-t.x,l=this._breakScore(n,r,i,s)+t.score;l<=a&&(o=t,a=l)}return{index:t,x:e,score:a,previousBreak:o}}_optimalBreaks(t){return t?this._optimalBreaks(t.previousBreak).concat(t.index):[]}_applyJustification(t,e,r){const n=t[r],i=n.vertical?f:n.glyphItem?n.glyphItem.shaping.xAdvance:0,s=(n.x+i)*this._justify;for(let n=e;n<=r;n++)t[n].x-=s}}var y=r(76213);const d=.5;class p{constructor(t,e,r=0,n=-1,i=d){this.x=t,this.y=e,this.angle=r,this.segment=n,this.minzoom=i}}class g{constructor(t,e,r,n,i,s=d,a=o.MG){this.anchor=t,this.labelAngle=e,this.glyphAngle=r,this.page=n,this.alternateVerticalGlyph=i,this.minzoom=s,this.maxzoom=a}}class _{constructor(t,e,r,n,i,s,o,a,l,h,c,u){this.tl=t,this.tr=e,this.bl=r,this.br=n,this.mosaicRect=i,this.labelAngle=s,this.minAngle=o,this.maxAngle=a,this.anchor=l,this.minzoom=h,this.maxzoom=c,this.page=u}}class m{constructor(t){this.shapes=t}}class b{getIconPlacement(t,e,r){const n=new i.bR(t.x,t.y),s=0===r.rotationAlignment,a=r.keepUpright;let l=r.rotate*o.os;s&&(l+=t.angle);const h=new m([]);return h.iconColliders=[],this._addIconPlacement(h,n,e,r,l),s&&a&&this._addIconPlacement(h,n,e,r,l+o.Jo),h}_addIconPlacement(t,e,r,n,s){const a=r.rasterizationScale,l=r.width/a,h=r.height/a,c=n.offset;let u=c[0],f=c[1];switch(n.anchor){case 0:u-=l/2,f-=h/2;break;case 1:f-=h/2;break;case 2:u-=l,f-=h/2;break;case 3:u-=l/2;break;case 4:u-=l/2,f-=h;break;case 5:break;case 7:f-=h;break;case 6:u-=l;break;case 8:u-=l,f-=h}const x=r.rect,y=2/a,p=u-y,g=f-y,m=p+x.width/a,b=g+x.height/a,w=new i.bR(p,g),I=new i.bR(m,b),v=new i.bR(p,b),A=new i.bR(m,g);if(0!==s){const t=Math.cos(s),e=Math.sin(s);w.rotate(t,e),I.rotate(t,e),v.rotate(t,e),A.rotate(t,e)}const T=new _(w,A,v,I,x,s,0,256,e,d,o.MG,0);t.shapes.push(T);{const r=n.size,i=n.padding,a={xTile:e.x,yTile:e.y,dxPixels:u*r-i,dyPixels:f*r-i,hard:!n.optional,partIndex:0,width:l*r+2*i,height:h*r+2*i,angle:s,minLod:d,maxLod:o.MG};t.iconColliders.push(a)}}getTextPlacement(t,e,r,n){const a=new i.bR(t.x,t.y),{keepUpright:l,rotate:h,rotationAlignment:c,size:u}=n,p=h*o.os,b=0===c,w=l,I=n.padding;let v=d;const A=b?t.angle:0,T=t.segment>=0&&b,M=[],L=[],B=y.Rm,P=!T;let k=Number.POSITIVE_INFINITY,V=Number.NEGATIVE_INFINITY,S=k,R=V;const E=(T||b)&&w,D=u/f;let C=!1;for(const t of e)if(t.vertical){C=!0;break}let U,F=0,N=0;if(!T&&C){const t=x.getTextBox(e,n.lineHeight*f);switch(n.anchor){case 1:F=t.height/2,N=-t.width/2;break;case 2:F=-t.height/2,N=t.width/2;break;case 3:F=t.height/2,N=t.width/2;break;case 4:F=-t.height/2,N=-t.width/2;break;case 5:F=t.height;break;case 7:N=-t.width;break;case 6:N=t.width;break;case 8:F=-t.height}}F+=n.offset[0]*f,N+=n.offset[1]*f;for(const l of e){const e=l.glyphItem?.mosaicItem,h=l.glyphItem?.rect;if(!e||e.rect.isEmpty)continue;const c=e.rect,u=e.page;if(M&&P){if(void 0!==U&&U!==l.y){let e,r,i,s;C?(e=-R+F,r=k+N,i=R-S,s=V-k):(e=k+F,r=S+N,i=V-k,s=R-S);const a={xTile:t.x,yTile:t.y,dxPixels:e*D-I,dyPixels:r*D-I,hard:!n.optional,partIndex:1,width:i*D+2*I,height:s*D+2*I,angle:p,minLod:d,maxLod:o.MG};M.push(a),k=Number.POSITIVE_INFINITY,V=Number.NEGATIVE_INFINITY,S=k,R=V}U=l.y}const f=[];if(T){const e=.5*h.width,n=(l.x+h.left-B+e)*D*s.ih;if(v=this._placeGlyph(t,v,n,r,t.segment,1,l.vertical,u,f),w&&(v=this._placeGlyph(t,v,n,r,t.segment,-1,l.vertical,u,f)),v>=2)break}else f.push(new g(a,A,A,u,!1)),b&&w&&f.push(new g(a,A+o.Jo,A+o.Jo,u,!1));const x=l.x+h.left,y=l.y-17-h.top,m=x+h.width,z=y+h.height;let O,G,j,W,Z,q,H,K;if(!T&&C)if(l.vertical){const t=(x+m)/2-h.height/2,e=(y+z)/2+h.width/2;O=new i.bR(-e-B+F,t-B+N),G=new i.bR(O.x+c.width,O.y+c.height),j=new i.bR(O.x,G.y),W=new i.bR(G.x,O.y)}else O=new i.bR(-y+B+F,x-B+N),G=new i.bR(O.x-c.height,O.y+c.width),j=new i.bR(G.x,O.y),W=new i.bR(O.x,G.y);else O=new i.bR(x-B+F,y-B+N),G=new i.bR(O.x+c.width,O.y+c.height),j=new i.bR(O.x,G.y),W=new i.bR(G.x,O.y);for(const e of f){let r,s,o,a;if(e.alternateVerticalGlyph){if(!Z){const t=(y+z)/2+N;Z=new i.bR((x+m)/2+F-h.height/2-B,t+h.width/2+B),q=new i.bR(Z.x+c.height,Z.y-c.width),H=new i.bR(q.x,Z.y),K=new i.bR(Z.x,q.y)}r=Z,s=H,o=K,a=q}else r=O,s=j,o=W,a=G;const u=y,f=z,d=e.glyphAngle+p;if(0!==d){const t=Math.cos(d),e=Math.sin(d);r=r.clone(),s=s?.clone(),o=o?.clone(),a=a?.clone(),r.rotate(t,e),a?.rotate(t,e),s?.rotate(t,e),o?.rotate(t,e)}let g=0,b=256;if(T&&C?l.vertical?e.alternateVerticalGlyph?(g=32,b=96):(g=224,b=32):(g=224,b=96):(g=192,b=64),L.push(new _(r,o,s,a,c,e.labelAngle,g,b,e.anchor,e.minzoom,e.maxzoom,e.page)),M&&(!E||this._legible(e.labelAngle)))if(P)x<k&&(k=x),u<S&&(S=u),m>V&&(V=m),f>R&&(R=f);else if(e.minzoom<2){const r={xTile:t.x,yTile:t.y,dxPixels:(x+F)*D-I,dyPixels:(u+F)*D-I,hard:!n.optional,partIndex:1,width:(m-x)*D+2*I,height:(f-u)*D+2*I,angle:d,minLod:e.minzoom,maxLod:e.maxzoom};M.push(r)}}}if(v>=2)return null;if(M&&P){let e,r,i,s;C?(e=-R+F,r=k+N,i=R-S,s=V-k):(e=k+F,r=S+N,i=V-k,s=R-S);const a={xTile:t.x,yTile:t.y,dxPixels:e*D-I,dyPixels:r*D-I,hard:!n.optional,partIndex:1,width:i*D+2*I,height:s*D+2*I,angle:p,minLod:d,maxLod:o.MG};M.push(a)}const z=new m(L);return M&&M.length>0&&(z.textColliders=M),z}_legible(t){const e=(0,o.z0)(t);return e<65||e>=193}_placeGlyph(t,e,r,n,s,a,l,h,c){let u=a;const f=u<0?(0,o.Wh)(t.angle+o.Jo,o.pJ):t.angle;let x=0;r<0&&(u*=-1,r*=-1,x=o.Jo),u>0&&++s;let y=new i.bR(t.x,t.y),d=n[s],p=o.MG;if(n.length<=s)return p;for(;;){const t=d.x-y.x,i=d.y-y.y,a=Math.sqrt(t*t+i*i),_=Math.max(r/a,e),m=t/a,b=i/a,w=(0,o.Wh)(Math.atan2(b,m)+x,o.pJ);if(c.push(new g(y,f,w,h,!1,_,p)),l&&c.push(new g(y,f,w,h,!0,_,p)),_<=e)return _;y=d.clone();do{if(s+=u,n.length<=s||s<0)return _;d=n[s]}while(y.isEqual(d));let I=d.x-y.x,v=d.y-y.y;const A=Math.sqrt(I*I+v*v);I*=a/A,v*=a/A,y.x-=I,y.y-=v,p=_}}}var w=r(51624),I=r(15585);class v{constructor(t,e,r=0){this.values={},this._geometry=void 0,this._pbfGeometry=null,this.featureIndex=r;const n=e.keys,i=e.values,s=t.asUnsafe();for(;s.next();)switch(s.tag()){case 1:this.id=s.getUInt64();break;case 2:{const t=s.getMessage().asUnsafe(),e=this.values;for(;!t.empty();){const r=t.getUInt32(),s=t.getUInt32();e[n[r]]=i[s]}t.release();break}case 3:this.type=s.getUInt32();break;case 4:this._pbfGeometry=s.getMessage();break;default:s.skip()}}getGeometry(t){if(void 0!==this._geometry)return this._geometry;if(!this._pbfGeometry)return null;const e=this._pbfGeometry.asUnsafe();let r,n;this._pbfGeometry=null,t?t.reset(this.type):r=[];let s,o=1,a=0,l=0,h=0;for(;!e.empty();){if(0===a){const t=e.getUInt32();o=7&t,a=t>>3}switch(a--,o){case 1:l+=e.getSInt32(),h+=e.getSInt32(),t?t.moveTo(l,h):r&&(n&&r.push(n),n=[],n.push(new i.bR(l,h)));break;case 2:l+=e.getSInt32(),h+=e.getSInt32(),t?t.lineTo(l,h):n&&n.push(new i.bR(l,h));break;case 7:t?t.close():n&&!n[0].equals(l,h)&&n.push(n[0].clone());break;default:throw e.release(),new Error("Invalid path operation")}}return t?s=t.result():r&&(n&&r.push(n),s=r),e.release(),this._geometry=s,s}}r(44208);class A{constructor(t){this._array=[],this._stride=t}get array(){return this._array}get index(){return 4*this._array.length/this._stride}get itemSize(){return this._stride}get sizeInBytes(){return 4*this._array.length}reset(){this.array.length=0}toBuffer(){return new Uint32Array(this._array).buffer}}class T extends A{constructor(){super(12)}add(t,e,r){const n=this.array;n.push(t),n.push(e),n.push(r)}}class M{constructor(t){this.extent=s._H,this.keys=[],this.values=[],this._pbfLayer=t.clone();const e=t.asUnsafe();for(;e.next();)switch(e.tag()){case 1:this.name=e.getString();break;case 3:this.keys.push(e.getString());break;case 4:this.values.push(e.processMessage(M._parseValue));break;case 5:this.extent=e.getUInt32();break;default:e.skip()}}getData(){return this._pbfLayer}static _parseValue(t){for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getInt64();case 5:return t.getUInt64();case 6:return t.getSInt64();case 7:return t.getBool();default:t.skip()}return null}}var L=r(89518);class B extends A{constructor(t){super(t)}add(t,e,r,n,i,s,o,a,l,h,c,u){const f=this.array;let x=(0,L.M9)(t,e);f.push(x);const y=31;x=(0,L.Ss)(Math.round(y*r),Math.round(y*n),Math.round(y*i),Math.round(y*s)),f.push(x),x=(0,L.Ss)(Math.round(y*o),Math.round(y*a),Math.round(y*l),Math.round(y*h)),f.push(x),x=(0,L.M9)(c,0),f.push(x),u&&f.push(...u)}}class P extends A{constructor(t){super(t)}add(t,e,r){const n=this.array;n.push((0,L.M9)(t,e)),r&&n.push(...r)}}class k extends A{constructor(t){super(t)}add(t,e,r,n,i,s,o){const a=this.array,l=this.index;let h=(0,L.M9)(t,e);return a.push(h),h=(0,L.Ss)(Math.round(15*r),Math.round(15*n),i,s),a.push(h),o&&a.push(...o),l}}class V extends A{constructor(t){super(t)}add(t,e,r,n,i,s,a,l,h,c,u,f){const x=this.array;let y=(0,L.M9)(t,e);x.push(y),y=(0,L.M9)(Math.round(8*r),Math.round(8*n)),x.push(y),y=(0,L.M9)((0,L.ws)(i/4,s/4),(0,L.ws)(l,h)),x.push(y),y=(0,L.M9)((0,L.ws)(0,(0,o.z0)(a)),(0,L.ws)(10*c,Math.min(10*u,255))),x.push(y),f&&x.push(...f)}}class S extends A{constructor(t){super(t)}add(t,e,r,n,i){const s=this.array,o=(0,L.M9)(2*t+r,2*e+n);s.push(o),i&&s.push(...i)}}class R{constructor(t,e,r){this.layerExtent=s._H,this._features=[],this.layer=t,this.zoom=e,this._spriteInfo=r,this._filter=t.getFeatureFilter()}pushFeature(t){this._filter&&!this._filter.filter(t,this.zoom)||this._features.push(t)}hasFeatures(){return this._features.length>0}getResources(t,e,r){}}class E extends R{constructor(t,e,r,n,i){super(t,e,r),this.type=4,this._circleVertexBuffer=n,this._circleIndexBuffer=i}get circleIndexStart(){return this._circleIndexStart}get circleIndexCount(){return this._circleIndexCount}processFeatures(t){const e=this._circleVertexBuffer,r=this._circleIndexBuffer;this._circleIndexStart=3*r.index,this._circleIndexCount=0;const n=this.layer,i=this.zoom;t&&t.setExtent(this.layerExtent);for(const s of this._features){const o=s.getGeometry(t);if(!o)continue;const a=n.circleMaterial.encodeAttributes(s,i,n);for(const t of o)if(t)for(const n of t){const t=e.index;e.add(n.x,n.y,0,0,a),e.add(n.x,n.y,0,1,a),e.add(n.x,n.y,1,0,a),e.add(n.x,n.y,1,1,a),r.add(t,t+1,t+2),r.add(t+1,t+2,t+3),this._circleIndexCount+=6}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this._circleVertexBuffer.array.length,t+=this._circleIndexBuffer.array.length;const e=new Uint32Array(t),r=new Int32Array(e.buffer);let n=0;e[n++]=this.type,e[n++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[n++]=this.layerUIDs[t];e[n++]=this._circleIndexStart,e[n++]=this._circleIndexCount,e[n++]=this._circleVertexBuffer.array.length;for(let t=0;t<this._circleVertexBuffer.array.length;t++)r[n++]=this._circleVertexBuffer.array[t];e[n++]=this._circleIndexBuffer.array.length;for(let t=0;t<this._circleIndexBuffer.array.length;t++)e[n++]=this._circleIndexBuffer.array[t];return e.buffer}}var D=r(98291),C=r(83349);class U extends R{constructor(t,e,r,n,i,s,o){super(t,e,r),this.type=1,this._patternMap=new Map,this._fillVertexBuffer=n,this._fillIndexBuffer=i,this._outlineVertexBuffer=s,this._outlineIndexBuffer=o}get fillIndexStart(){return this._fillIndexStart}get fillIndexCount(){return this._fillIndexCount}get outlineIndexStart(){return this._outlineIndexStart}get outlineIndexCount(){return this._outlineIndexCount}getResources(t,e,r){const n=this.layer,i=this.zoom,s=n.getPaintProperty("fill-pattern");if(s)if(s.isDataDriven)for(const t of this._features)e(s.getValue(i,t),!0);else e(s.getValue(i),!0)}processFeatures(t){this._fillIndexStart=3*this._fillIndexBuffer.index,this._fillIndexCount=0,this._outlineIndexStart=3*this._outlineIndexBuffer.index,this._outlineIndexCount=0;const e=this.layer,r=this.zoom,{fillMaterial:n,outlineMaterial:i,hasDataDrivenFill:s,hasDataDrivenOutline:o}=e;t&&t.setExtent(this.layerExtent);const a=e.getPaintProperty("fill-pattern"),l=a?.isDataDriven;let h=!a&&e.getPaintValue("fill-antialias",r);if(e.outlineUsesFillColor){if(h&&!e.hasDataDrivenOpacity){const t=e.getPaintValue("fill-opacity",r),n=e.getPaintValue("fill-opacity",r+1);t<1&&n<1&&(h=!1)}if(h&&!e.hasDataDrivenColor){const t=e.getPaintValue("fill-color",r),n=e.getPaintValue("fill-color",r+1);t[3]<1&&n[3]<1&&(h=!1)}}const c=this._features,u=t?.validateTessellation;if(l){const s=[];for(const l of c){const c=a.getValue(r,l),u=this._spriteInfo[c];if(!u?.rect)continue;const f=n.encodeAttributes(l,r,e,u),x=h&&o?i.encodeAttributes(l,r,e):[],y=l.getGeometry(t);s.push({ddFillAttributes:f,ddOutlineAttributes:x,page:u.page,geometry:y}),s.sort((t,e)=>t.page-e.page)}for(const{ddFillAttributes:t,ddOutlineAttributes:r,page:n,geometry:i}of s)this._processFeature(i,h,e.outlineUsesFillColor,t,r,u,n)}else for(const a of c){const l=s?n.encodeAttributes(a,r,e):null,c=h&&o?i.encodeAttributes(a,r,e):null,f=a.getGeometry(t);this._processFeature(f,h,e.outlineUsesFillColor,l,c,u)}}serialize(){let t=10;t+=this.layerUIDs.length,t+=this._fillVertexBuffer.array.length,t+=this._fillIndexBuffer.array.length,t+=this._outlineVertexBuffer.array.length,t+=this._outlineIndexBuffer.array.length,t+=3*this._patternMap.size+1;const e=new Uint32Array(t),r=new Int32Array(e.buffer);let n=0;e[n++]=this.type,e[n++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[n++]=this.layerUIDs[t];e[n++]=this._fillIndexStart,e[n++]=this._fillIndexCount,e[n++]=this._outlineIndexStart,e[n++]=this._outlineIndexCount;const i=this._patternMap,s=i.size;if(e[n++]=s,s>0)for(const[t,[r,s]]of i)e[n++]=t,e[n++]=r,e[n++]=s;e[n++]=this._fillVertexBuffer.array.length;for(let t=0;t<this._fillVertexBuffer.array.length;t++)r[n++]=this._fillVertexBuffer.array[t];e[n++]=this._fillIndexBuffer.array.length;for(let t=0;t<this._fillIndexBuffer.array.length;t++)e[n++]=this._fillIndexBuffer.array[t];e[n++]=this._outlineVertexBuffer.array.length;for(let t=0;t<this._outlineVertexBuffer.array.length;t++)r[n++]=this._outlineVertexBuffer.array[t];e[n++]=this._outlineIndexBuffer.array.length;for(let t=0;t<this._outlineIndexBuffer.array.length;t++)e[n++]=this._outlineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,r,n,i,s,o){if(!t)return;const a=t.length,l=!i||0===i.length;if(e&&(!r||l))for(let e=0;e<a;e++)this._processOutline(t[e],i);let h;for(let e=0;e<a;e++){const r=U._area(t[e]);r>32?(void 0!==h&&this._processFill(t,h,n,s,o),h=[e]):r<-32&&void 0!==h&&h.push(e)}void 0!==h&&this._processFill(t,h,n,s,o)}_processOutline(t,e){const r=this._outlineVertexBuffer,n=this._outlineIndexBuffer,s=n.index;let o,a,l;const h=new i.bR(0,0),c=new i.bR(0,0),u=new i.bR(0,0);let f=-1,x=-1,y=-1,d=-1,p=-1,g=!1,_=t.length;if(_<2)return;const m=t[0];let b=t[_-1];for(;_&&b.isEqual(m);)--_,b=t[_-1];if(!(_-0<2)){for(let i=0;i<_;++i){0===i?(o=t[_-1],a=t[0],l=t[1],h.assignSub(a,o),h.normalize(),h.rightPerpendicular()):(o=a,a=l,l=i!==_-1?t[i+1]:t[0],h.assign(c));const s=this._isClipEdge(o,a);-1===d&&(g=s),c.assignSub(l,a),c.normalize(),c.rightPerpendicular();const m=h.x*c.y-h.y*c.x;u.assignAdd(h,c),u.normalize();const b=-u.x*-h.x+-u.y*-h.y;let w=Math.abs(0!==b?1/b:1);w>8&&(w=8),m>=0?(y=r.add(a.x,a.y,h.x,h.y,0,1,e),-1===d&&(d=y),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y),x=r.add(a.x,a.y,w*-u.x,w*-u.y,0,-1,e),-1===p&&(p=x),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y),f=x,x=y,y=r.add(a.x,a.y,u.x,u.y,0,1,e),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y),x=r.add(a.x,a.y,c.x,c.y,0,1,e),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y)):(y=r.add(a.x,a.y,w*u.x,w*u.y,0,1,e),-1===d&&(d=y),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y),x=r.add(a.x,a.y,-h.x,-h.y,0,-1,e),-1===p&&(p=x),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y),f=x,x=y,y=r.add(a.x,a.y,-u.x,-u.y,0,-1,e),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y),f=r.add(a.x,a.y,-c.x,-c.y,0,-1,e),f>=0&&x>=0&&y>=0&&!s&&n.add(f,x,y))}f>=0&&x>=0&&d>=0&&!g&&n.add(f,x,d),f>=0&&d>=0&&p>=0&&!g&&n.add(f,p,d),this._outlineIndexCount+=3*(n.index-s)}}_processFill(t,e,r,n,i){let s;e.length>1&&(s=[]);let o=0;for(const r of e)0!==o&&s.push(o),o+=t[r].length;const a=2*o,l=D.A.acquire();for(const r of e){const e=t[r],n=e.length;for(let t=0;t<n;++t)l.push(e[t].x,e[t].y)}const h=(0,C.e)(l,s,2);if(C.e.deviation(l,s,2,h)>0){const n=e.map(e=>t[e].length),{buffer:s,vertexCount:o}=(0,I.QT)(l,n);if(o>0){const t=this._fillVertexBuffer.index;for(let t=0;t<o;t++)this._fillVertexBuffer.add(s[2*t],s[2*t+1],r);for(let e=0;e<o;e+=3){const r=t+e;this._fillIndexBuffer.add(r,r+1,r+2)}if(void 0!==i){const t=this._patternMap,e=t.get(i);e?e[1]+=o:t.set(i,[this._fillIndexStart+this._fillIndexCount,o])}this._fillIndexCount+=o}}else{const t=h.length;if(t>0){const e=this._fillVertexBuffer.index;let n=0;for(;n<a;)this._fillVertexBuffer.add(l[n++],l[n++],r);let s=0;for(;s<t;)this._fillIndexBuffer.add(e+h[s++],e+h[s++],e+h[s++]);if(void 0!==i){const e=this._patternMap,r=e.get(i);r?r[1]+=t:e.set(i,[this._fillIndexStart+this._fillIndexCount,t])}this._fillIndexCount+=t}}D.A.release(l)}_isClipEdge(t,e){return t.x===e.x?t.x<=-64||t.x>=4160:t.y===e.y&&(t.y<=-64||t.y>=4160)}static _area(t){let e=0;const r=t.length-1;for(let n=0;n<r;n++)e+=(t[n].x-t[n+1].x)*(t[n].y+t[n+1].y);return e+=(t[r].x-t[0].x)*(t[r].y+t[0].y),.5*e}}var F=r(83773);class N extends R{constructor(t,e,r,n,i){super(t,e,r),this.type=2,this._tessellationOptions={pixelCoordRatio:8,halfWidth:0,offset:0},this._patternMap=new Map,this.tessellationProperties={_lineVertexBuffer:null,_lineIndexBuffer:null,_ddValues:null},this.tessellationProperties._lineVertexBuffer=n,this.tessellationProperties._lineIndexBuffer=i,this._lineTessellator=new F.i(z(this.tessellationProperties),O(this.tessellationProperties),t.canUseThinTessellation)}get lineIndexStart(){return this._lineIndexStart}get lineIndexCount(){return this._lineIndexCount}getResources(t,e,r){const n=this.layer,i=this.zoom,s=n.getPaintProperty("line-pattern"),o=n.getPaintProperty("line-dasharray"),a=n.getLayoutProperty("line-cap");if(!s&&!o)return;const l=a?.getValue(i)||0,h=a?.isDataDriven,c=s?.isDataDriven,u=o?.isDataDriven;if(c||u)for(const t of this._features)e(c?s.getValue(i,t):this._getDashArrayKey(t,i,n,o,h,a,l));else if(s)e(s.getValue(i));else if(o){const t=o.getValue(i);e(n.getDashKey(t,l))}}processFeatures(t){this._lineIndexStart=3*this.tessellationProperties._lineIndexBuffer.index,this._lineIndexCount=0;const e=this.layer,r=this.zoom,n=this._features,i=this._tessellationOptions,{hasDataDrivenLine:s,lineMaterial:o}=e;t&&t.setExtent(this.layerExtent);const a=e.getPaintProperty("line-pattern"),l=e.getPaintProperty("line-dasharray"),h=a?.isDataDriven,c=l?.isDataDriven;let u;u=e.getLayoutProperty("line-cap");const f=u?.isDataDriven?u:null,x=f?null:e.getLayoutValue("line-cap",r),y=x||0,d=!!f;u=e.getLayoutProperty("line-join");const p=u?.isDataDriven?u:null,g=p?null:e.getLayoutValue("line-join",r);u=e.getLayoutProperty("line-miter-limit");const _=u?.isDataDriven?u:null,m=_?null:e.getLayoutValue("line-miter-limit",r);u=e.getLayoutProperty("line-round-limit");const b=u?.isDataDriven?u:null,w=b?null:e.getLayoutValue("line-round-limit",r);u=e.getPaintProperty("line-width");const I=u?.isDataDriven?u:null,v=I?null:e.getPaintValue("line-width",r);u=e.getPaintProperty("line-offset");const A=u?.isDataDriven?u:null,T=A?null:e.getPaintValue("line-offset",r);if(h||c){const s=[];for(const i of n){const n=h?a.getValue(r,i):this._getDashArrayKey(i,r,e,l,d,f,y),c=this._spriteInfo[n];if(!c?.rect)continue;const u=o.encodeAttributes(i,r,e,c),M=i.getGeometry(t);s.push({ddAttributes:u,page:c.page,cap:f?f.getValue(r,i):x,join:p?p.getValue(r,i):g,miterLimit:_?_.getValue(r,i):m,roundLimit:b?b.getValue(r,i):w,halfWidth:.5*(I?I.getValue(r,i):v),offset:A?A.getValue(r,i):T,geometry:M})}s.sort((t,e)=>t.page-e.page),i.textured=!0;for(const{ddAttributes:t,page:e,cap:r,join:n,miterLimit:o,roundLimit:a,halfWidth:l,offset:h,geometry:c}of s)i.capType=r,i.joinType=n,i.miterLimit=o,i.roundLimit=a,i.halfWidth=l,i.offset=h,this._processFeature(c,t,e)}else{if(a){const t=a.getValue(r),e=this._spriteInfo[t];if(!e?.rect)return}i.textured=!(!a&&!l),i.capType=x,i.joinType=g,i.miterLimit=m,i.roundLimit=w,i.halfWidth=.5*v,i.offset=T;for(const a of n){const n=s?o.encodeAttributes(a,r,e):null;f&&(i.capType=f.getValue(r,a)),p&&(i.joinType=p.getValue(r,a)),_&&(i.miterLimit=_.getValue(r,a)),b&&(i.roundLimit=b.getValue(r,a)),I&&(i.halfWidth=.5*I.getValue(r,a)),A&&(i.offset=A.getValue(r,a));const l=a.getGeometry(t);this._processFeature(l,n)}}}serialize(){let t=6;t+=this.layerUIDs.length,t+=this.tessellationProperties._lineVertexBuffer.array.length,t+=this.tessellationProperties._lineIndexBuffer.array.length,t+=3*this._patternMap.size+1;const e=new Uint32Array(t),r=new Int32Array(e.buffer);let n=0;e[n++]=this.type,e[n++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[n++]=this.layerUIDs[t];e[n++]=this._lineIndexStart,e[n++]=this._lineIndexCount;const i=this._patternMap,s=i.size;if(e[n++]=s,s>0)for(const[t,[r,s]]of i)e[n++]=t,e[n++]=r,e[n++]=s;e[n++]=this.tessellationProperties._lineVertexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineVertexBuffer.array.length;t++)r[n++]=this.tessellationProperties._lineVertexBuffer.array[t];e[n++]=this.tessellationProperties._lineIndexBuffer.array.length;for(let t=0;t<this.tessellationProperties._lineIndexBuffer.array.length;t++)e[n++]=this.tessellationProperties._lineIndexBuffer.array[t];return e.buffer}_processFeature(t,e,r){if(!t)return;const n=t.length;for(let i=0;i<n;i++)this._processGeometry(t[i],e,r)}_processGeometry(t,e,r){if(t.length<2)return;let n,i,s=t[0],o=1;for(;o<t.length;)n=t[o].x-s.x,i=t[o].y-s.y,n*n+i*i<1e-6?t.splice(o,1):(s=t[o],++o);if(t.length<2)return;const a=this.tessellationProperties._lineIndexBuffer,l=3*a.index;this._tessellationOptions.initialDistance=0,this._tessellationOptions.wrapDistance=65535,this.tessellationProperties._ddValues=e,this._lineTessellator.tessellate(t,this._tessellationOptions);const h=3*a.index-l;if(void 0!==r){const t=this._patternMap,e=t.get(r);e?e[1]+=h:t.set(r,[l+this._lineIndexCount,h])}this._lineIndexCount+=h}_getDashArrayKey(t,e,r,n,i,s,o){const a=i?s.getValue(e,t):o,l=n.getValue(e,t);return r.getDashKey(l,a)}}const z=t=>(e,r,n,i,s,o,a,l,h,c,u)=>(t._lineVertexBuffer.add(e,r,a,l,n,i,s,o,h,c,u,t._ddValues),t._lineVertexBuffer.index-1),O=t=>(e,r,n)=>{t._lineIndexBuffer.add(e,r,n)};var G=r(32488),j=r(97768),W=r(799),Z=r(4264);function q(t,e){return t.iconMosaicItem&&e.iconMosaicItem?t.iconMosaicItem.page===e.iconMosaicItem.page?0:t.iconMosaicItem.page-e.iconMosaicItem.page:t.iconMosaicItem&&!e.iconMosaicItem?1:!t.iconMosaicItem&&e.iconMosaicItem?-1:0}class H extends R{constructor(t,e,r,n,i,s,o,a,l){super(e,r,l.getSpriteItems()),this.type=3,this._markerMap=new Map,this._glyphMap=new Map,this._glyphBufferDataStorage=new Map,this._isIconSDF=!1,this._sourceTileKey=t,this._iconVertexBuffer=n,this._iconIndexBuffer=i,this._textVertexBuffer=s,this._textIndexBuffer=o,this._placementEngine=a,this._workerTileHandler=l}get markerPageMap(){return this._markerMap}get glyphsPageMap(){return this._glyphMap}get symbolInstances(){return this._symbolInstances}static{this._bidiEngine=new G.A}getResources(t,e,r){const n=this.layer,i=this.zoom;t&&t.setExtent(this.layerExtent);const s=n.getLayoutProperty("icon-image"),o=n.getLayoutProperty("text-field");let a=n.getLayoutProperty("text-transform"),l=n.getLayoutProperty("text-font");const h=[];let c,u,f,x;s&&!s.isDataDriven&&(c=s.getValue(i)),o&&!o.isDataDriven&&(u=o.getValue(i)),a&&a.isDataDriven||(f=n.getLayoutValue("text-transform",i),a=null),l&&l.isDataDriven||(x=n.getLayoutValue("text-font",i),l=null);for(const y of this._features){const d=y.getGeometry(t);if(!d||0===d.length)continue;let p,g;s&&(p=s.isDataDriven?s.getValue(i,y):this._replaceKeys(c,y.values),p&&e(p));let _=!1;if(o&&(g=o.isDataDriven?o.getValue(i,y):this._replaceKeys(u,y.values),g)){switch(g=g.replaceAll("\\n","\n"),a&&(f=a.getValue(i,y)),f){case 2:g=g.toLowerCase();break;case 1:g=g.toUpperCase()}if(H._bidiEngine.hasBidiChar(g)){let t;t="rtl"===H._bidiEngine.checkContextual(g)?"IDNNN":"ICNNN",g=H._bidiEngine.bidiTransform(g,t,"VLYSN"),_=!0}if(g.length>0){l&&(x=l.getValue(i,y));for(const t of x){let e=r[t];e||(e=r[t]=new Set);for(const t of g){const r=t.codePointAt(0);null!=r&&e.add(r)}}}}if(!p&&!g)continue;const m=n.getLayoutValue("symbol-sort-key",i,y),b={feature:y,sprite:p,label:g,rtl:_,geometry:d,hash:(g?(0,W.Wm)(g):0)^(p?(0,W.Wm)(p):0),priority:m,textFont:x};h.push(b)}this._symbolFeatures=h}processFeatures(t){t&&t.setExtent(this.layerExtent);const e=this.layer,r=this.zoom,n=e.getLayoutValue("symbol-placement",r),i=0!==n,a=e.getLayoutValue("symbol-spacing",r)*s.ih,l=e.getLayoutProperty("icon-image"),h=e.getLayoutProperty("text-field"),c=l?new Z.aR(e,r,i):null,u=h?new Z.uU(e,r,i):null,y=this._workerTileHandler;let d;l&&(d=y.getSpriteItems()),this._iconIndexStart=3*this._iconIndexBuffer.index,this._textIndexStart=3*this._textIndexBuffer.index,this._iconIndexCount=0,this._textIndexCount=0,this._markerMap.clear(),this._glyphMap.clear();const g=[];let _=1;u?.size&&(_=u.size/f);const m=u?u.maxAngle*o.os:0,b=u?u.size*s.ih:0;for(const t of this._symbolFeatures){let e,o;c&&d&&t.sprite&&(e=d[t.sprite],e&&e.sdf&&(this._isIconSDF=!0)),e&&c.update(r,t.feature);let l=0;const h=t.label;if(h){(0,j.Lw)(u),u.update(r,t.feature);const e=i&&0===u.rotationAlignment?u.keepUpright:u.writingMode&&u.writingMode.includes(1);let n=.5;switch(u.anchor){case 5:case 1:case 7:n=0;break;case 6:case 2:case 8:n=1}let a=.5;switch(u.anchor){case 5:case 3:case 6:a=0;break;case 7:case 4:case 8:a=1}let c=.5;switch(u.justify){case 0:c=n;break;case 1:c=0;break;case 3:c=1}const d=u.letterSpacing*f,p=i?0:u.maxWidth*f,g=u.lineHeight*f,m=t.textFont.map(t=>y.getGlyphItems(t));if(o=new x(m,p,g,d,n,a,c).getShaping(h,t.rtl,e),o&&o.length>0){let t=1e30,e=-1e30;for(const r of o)t=Math.min(t,r.x),e=Math.max(e,r.x);l=(e-t+48)*_*s.ih}}for(let r of t.geometry){const h=[];if(1===n){if(o?.length&&u?.size){const t=u.size*s.ih*(2+Math.min(2,4*Math.abs(u.offset[1])));r=H._smoothVertices(r,t)}H._pushAnchors(h,r,a,l)}else 2===n?H._pushCenterAnchor(h,r):3===t.feature.type?H._pushCentroid(h,r):h.push(new p(r[0].x,r[0].y));for(const n of h){if(n.x<0||n.x>s._H||n.y<0||n.y>s._H)continue;if(i&&l>0&&0===u?.rotationAlignment&&!H._honorsTextMaxAngle(r,n,l,m,b))continue;const a={shaping:o,line:r,iconMosaicItem:e,anchor:n,symbolFeature:t,textColliders:[],iconColliders:[],textVertexRanges:[],iconVertexRanges:[]};g.push(a),this._processFeature(a,c,u)}}}g.sort(q),this._addPlacedGlyphs(),this._symbolInstances=g}serialize(){let t=14;t+=this.layerUIDs.length,t+=3*this.markerPageMap.size,t+=3*this.glyphsPageMap.size,t+=H._symbolsSerializationLength(this._symbolInstances),t+=this._iconVertexBuffer.array.length,t+=this._iconIndexBuffer.array.length,t+=this._textVertexBuffer.array.length,t+=this._textIndexBuffer.array.length;const e=new Uint32Array(t),r=new Int32Array(e.buffer),n=new Float32Array(e.buffer),[i,s,o]=this._sourceTileKey.split("/");let a=0;e[a++]=this.type,e[a++]=this.layerUIDs.length;for(let t=0;t<this.layerUIDs.length;t++)e[a++]=this.layerUIDs[t];e[a++]=this._isIconSDF?1:0,e[a++]=parseFloat(i),e[a++]=parseFloat(s),e[a++]=parseFloat(o),e[a++]=this.markerPageMap.size;for(const[t,[r,n]]of this.markerPageMap)e[a++]=t,e[a++]=r,e[a++]=n;e[a++]=this.glyphsPageMap.size;for(const[t,[r,n]]of this.glyphsPageMap)e[a++]=t,e[a++]=r,e[a++]=n;e[a++]=this._iconVertexBuffer.index/4,e[a++]=this._textVertexBuffer.index/4,a=H.serializeSymbols(e,r,n,a,this._symbolInstances),e[a++]=this._iconVertexBuffer.array.length;for(let t=0;t<this._iconVertexBuffer.array.length;t++)r[a++]=this._iconVertexBuffer.array[t];e[a++]=this._iconIndexBuffer.array.length;for(let t=0;t<this._iconIndexBuffer.array.length;t++)e[a++]=this._iconIndexBuffer.array[t];e[a++]=this._textVertexBuffer.array.length;for(let t=0;t<this._textVertexBuffer.array.length;t++)r[a++]=this._textVertexBuffer.array[t];e[a++]=this._textIndexBuffer.array.length;for(let t=0;t<this._textIndexBuffer.array.length;t++)e[a++]=this._textIndexBuffer.array[t];return e.buffer}static _symbolsSerializationLength(t){let e=0;e+=1;for(const r of t||[]){e+=5,e+=1;for(const t of r.textColliders)e+=10;for(const t of r.iconColliders)e+=10;e+=1,e+=2*r.textVertexRanges.length,e+=1,e+=2*r.iconVertexRanges.length}return e}static serializeSymbols(t,e,r,n,i){i=i||[],e[n++]=i.length;for(const t of i){e[n++]=t.anchor.x,e[n++]=t.anchor.y,e[n++]=t.symbolFeature.hash,e[n++]=t.symbolFeature.priority,e[n++]=t.symbolFeature.feature.featureIndex,e[n++]=t.textColliders.length+t.iconColliders.length;for(const i of t.textColliders)e[n++]=i.xTile,e[n++]=i.yTile,e[n++]=i.dxPixels,e[n++]=i.dyPixels,e[n++]=i.hard?1:0,e[n++]=i.partIndex,r[n++]=i.minLod,r[n++]=i.maxLod,e[n++]=i.width,e[n++]=i.height;for(const i of t.iconColliders)e[n++]=i.xTile,e[n++]=i.yTile,e[n++]=i.dxPixels,e[n++]=i.dyPixels,e[n++]=i.hard?1:0,e[n++]=i.partIndex,r[n++]=i.minLod,r[n++]=i.maxLod,e[n++]=i.width,e[n++]=i.height;e[n++]=t.textVertexRanges.length;for(const[r,i]of t.textVertexRanges)e[n++]=r,e[n++]=i;e[n++]=t.iconVertexRanges.length;for(const[r,i]of t.iconVertexRanges)e[n++]=r,e[n++]=i}return n}_replaceKeys(t,e){return t.replaceAll(/{([^{}]+)}/g,(t,r)=>r in e?e[r]:"")}_processFeature(t,e,r){const{line:n,iconMosaicItem:i,shaping:s,anchor:a}=t,l=this.zoom,h=this.layer,c=!!i;let u=!0;c&&(u=e?.optional||!i);const f=s&&s.length>0,x=!f||r?.optional;let y,d;if(c&&(y=this._placementEngine.getIconPlacement(a,i,e)),(y||u)&&(f&&(d=this._placementEngine.getTextPlacement(a,s,n,r)),d||x)){if(y&&d||(x||u?x||d?u||y||(d=null):y=null:(y=null,d=null)),d){const e=h.hasDataDrivenText?h.textMaterial.encodeAttributes(t.symbolFeature.feature,l,h):null;if(this._storePlacedGlyphs(t,d.shapes,l,r.rotationAlignment,e),d.textColliders){t.textColliders=d.textColliders;for(const t of d.textColliders){t.minLod=Math.max(l+(0,o.p6)(t.minLod),0),t.maxLod=Math.min(l+(0,o.p6)(t.maxLod),25);const e=t.angle;if(e){const r=Math.cos(e),n=Math.sin(e),i=t.dxPixels*r-t.dyPixels*n,s=t.dxPixels*n+t.dyPixels*r,o=(t.dxPixels+t.width)*r-t.dyPixels*n,a=(t.dxPixels+t.width)*n+t.dyPixels*r,l=t.dxPixels*r-(t.dyPixels+t.height)*n,h=t.dxPixels*n+(t.dyPixels+t.height)*r,c=(t.dxPixels+t.width)*r-(t.dyPixels+t.height)*n,u=(t.dxPixels+t.width)*n+(t.dyPixels+t.height)*r,f=Math.min(i,o,l,c),x=Math.max(i,o,l,c),y=Math.min(s,a,h,u),d=Math.max(s,a,h,u);t.dxPixels=f,t.dyPixels=y,t.width=x-f,t.height=d-y}}}}if(y){const r=h.hasDataDrivenIcon?h.iconMaterial.encodeAttributes(t.symbolFeature.feature,l,h):null;if(this._addPlacedIcons(t,y.shapes,l,i.page,1===e.rotationAlignment,r),y.iconColliders){t.iconColliders=y.iconColliders;for(const t of y.iconColliders){t.minLod=Math.max(l+(0,o.p6)(t.minLod),0),t.maxLod=Math.min(l+(0,o.p6)(t.maxLod),25);const e=t.angle;if(e){const r=Math.cos(e),n=Math.sin(e),i=t.dxPixels*r-t.dyPixels*n,s=t.dxPixels*n+t.dyPixels*r,o=(t.dxPixels+t.width)*r-t.dyPixels*n,a=(t.dxPixels+t.width)*n+t.dyPixels*r,l=t.dxPixels*r-(t.dyPixels+t.height)*n,h=t.dxPixels*n+(t.dyPixels+t.height)*r,c=(t.dxPixels+t.width)*r-(t.dyPixels+t.height)*n,u=(t.dxPixels+t.width)*n+(t.dyPixels+t.height)*r,f=Math.min(i,o,l,c),x=Math.max(i,o,l,c),y=Math.min(s,a,h,u),d=Math.max(s,a,h,u);t.dxPixels=f,t.dyPixels=y,t.width=x-f,t.height=d-y}}}}}}_addPlacedIcons(t,e,r,n,i,s){const a=Math.max(r-1,0),l=this._iconVertexBuffer,h=this._iconIndexBuffer,c=this._markerMap;for(const u of e){const e=i?0:Math.max(r+(0,o.p6)(u.minzoom),a),f=i?25:Math.min(r+(0,o.p6)(u.maxzoom),25);if(f<=e)continue;const x=u.tl,y=u.tr,d=u.bl,p=u.br,g=u.mosaicRect,_=u.labelAngle,m=u.minAngle,b=u.maxAngle,w=u.anchor,I=l.index,v=g.x,A=g.y,T=v+g.width,M=A+g.height,L=l.index;l.add(w.x,w.y,x.x,x.y,v,A,_,m,b,e,f,s),l.add(w.x,w.y,y.x,y.y,T,A,_,m,b,e,f,s),l.add(w.x,w.y,d.x,d.y,v,M,_,m,b,e,f,s),l.add(w.x,w.y,p.x,p.y,T,M,_,m,b,e,f,s),t.iconVertexRanges.length>0&&t.iconVertexRanges[0][0]+t.iconVertexRanges[0][1]===L?t.iconVertexRanges[0][1]+=4:t.iconVertexRanges.push([L,4]),h.add(I,I+1,I+2),h.add(I+1,I+2,I+3),c.has(n)?c.get(n)[1]+=6:c.set(n,[this._iconIndexStart+this._iconIndexCount,6]),this._iconIndexCount+=6}}_addPlacedGlyphs(){const t=this._textVertexBuffer,e=this._textIndexBuffer,r=this._glyphMap;for(const[n,i]of this._glyphBufferDataStorage)for(const s of i){const i=t.index,o=s.symbolInstance,a=s.ddAttributes,l=t.index;t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.tl[0],s.tl[1],s.xmin,s.ymin,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.tr[0],s.tr[1],s.xmax,s.ymin,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.bl[0],s.bl[1],s.xmin,s.ymax,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),t.add(s.glyphAnchor[0],s.glyphAnchor[1],s.br[0],s.br[1],s.xmax,s.ymax,s.labelAngle,s.minAngle,s.maxAngle,s.minLod,s.maxLod,a),o.textVertexRanges.length>0&&o.textVertexRanges[0][0]+o.textVertexRanges[0][1]===l?o.textVertexRanges[0][1]+=4:o.textVertexRanges.push([l,4]),e.add(i,i+1,i+2),e.add(i+1,i+2,i+3),r.has(n)?r.get(n)[1]+=6:r.set(n,[this._textIndexStart+this._textIndexCount,6]),this._textIndexCount+=6}this._glyphBufferDataStorage.clear()}_storePlacedGlyphs(t,e,r,n,i){const s=Math.max(r-1,0),a=1===n;let l,h,c,u,f,x,y,d,p,g,_;for(const n of e)l=a?0:Math.max(r+(0,o.p6)(n.minzoom),s),h=a?25:Math.min(r+(0,o.p6)(n.maxzoom),25),h<=l||(c=n.tl,u=n.tr,f=n.bl,x=n.br,y=n.labelAngle,d=n.minAngle,p=n.maxAngle,g=n.anchor,_=n.mosaicRect,this._glyphBufferDataStorage.has(n.page)||this._glyphBufferDataStorage.set(n.page,[]),this._glyphBufferDataStorage.get(n.page).push({glyphAnchor:[g.x,g.y],tl:[c.x,c.y],tr:[u.x,u.y],bl:[f.x,f.y],br:[x.x,x.y],xmin:_.x,ymin:_.y,xmax:_.x+_.width,ymax:_.y+_.height,labelAngle:y,minAngle:d,maxAngle:p,minLod:l,maxLod:h,placementLod:s,symbolInstance:t,ddAttributes:i}))}static _pushAnchors(t,e,r,n){r+=n;let s=0;const a=e.length-1;for(let t=0;t<a;t++)s+=i.bR.distance(e[t],e[t+1]);let l=n||r;if(l*=.5,s<=l)return;const h=l/s;let c=0,u=-(r=s/Math.max(Math.round(s/r),1))/2;const f=e.length-1;for(let n=0;n<f;n++){const i=e[n],s=e[n+1],a=s.x-i.x,l=s.y-i.y,f=Math.sqrt(a*a+l*l);let x;for(;u+r<c+f;){u+=r;const e=(u-c)/f,y=(0,o.GW)(i.x,s.x,e),d=(0,o.GW)(i.y,s.y,e);void 0===x&&(x=Math.atan2(l,a)),t.push(new p(y,d,x,n,h))}c+=f}}static _pushCenterAnchor(t,e){let r=0;const n=e.length-1;for(let t=0;t<n;t++)r+=i.bR.distance(e[t],e[t+1]);const s=r/2;let a=0;const l=e.length-1;for(let r=0;r<l;r++){const n=e[r],i=e[r+1],l=i.x-n.x,h=i.y-n.y,c=Math.sqrt(l*l+h*h);if(s<a+c){const e=(s-a)/c,u=(0,o.GW)(n.x,i.x,e),f=(0,o.GW)(n.y,i.y,e),x=Math.atan2(h,l);return void t.push(new p(u,f,x,r,0))}a+=c}}static _deviation(t,e,r){const n=(e.x-t.x)*(r.x-e.x)+(e.y-t.y)*(r.y-e.y),i=(e.x-t.x)*(r.y-e.y)-(e.y-t.y)*(r.x-e.x);return Math.atan2(i,n)}static _honorsTextMaxAngle(t,e,r,n,s){let o=0;const a=r/2;let l=new i.bR(e.x,e.y),h=e.segment+1;for(;o>-a;){if(--h,h<0)return!1;o-=i.bR.distance(t[h],l),l=t[h]}o+=i.bR.distance(t[h],t[h+1]);const c=[];let u=0;const f=t.length;for(;o<a;){const e=t[h];let r,a=h;do{if(++a,a===f)return!1;r=t[a]}while(r.isEqual(e));let l,x=a;do{if(++x,x===f)return!1;l=t[x]}while(l.isEqual(r));const y=this._deviation(e,r,l);for(c.push({deviation:y,distToAnchor:o}),u+=y;o-c[0].distToAnchor>s;)u-=c.shift().deviation;if(Math.abs(u)>n)return!1;o+=i.bR.distance(r,l),h=a}return!0}static _smoothVertices(t,e){if(e<=0)return t;let r=t.length;if(r<3)return t;const n=[];let s=0,o=0;n.push(0);for(let e=1;e<r;e++){const r=i.bR.distance(t[e],t[e-1]);r>0&&(s+=r,n.push(s),o++,o!==e&&(t[o]=t[e]))}if(r=o+1,r<3)return t;e=Math.min(e,.2*s);const a=t[0].x,l=t[0].y,h=t[r-1].x,c=t[r-1].y,u=i.bR.sub(t[0],t[1]);u.normalize(),t[0].x+=e*u.x,t[0].y+=e*u.y,u.assignSub(t[r-1],t[r-2]),u.normalize(),t[r-1].x+=e*u.x,t[r-1].y+=e*u.y,n[0]-=e,n[r-1]+=e;const f=[];f.push(new i.bR(a,l));const x=1e-6,y=.5*e;for(let s=1;s<r-1;s++){let o=0,a=0,l=0;for(let r=s-1;r>=0;r--){const i=y+n[r+1]-n[s];if(i<0)break;const h=n[r+1]-n[r],c=n[s]-n[r]<y?1:i/h;if(c<x)break;const u=c*c,f=c*i-.5*u*h,d=c*h/e,p=t[r+1],g=t[r].x-p.x,_=t[r].y-p.y;o+=d/f*(p.x*c*i+.5*u*(i*g-h*p.x)-u*c*h*g/3),a+=d/f*(p.y*c*i+.5*u*(i*_-h*p.y)-u*c*h*_/3),l+=d}for(let i=s+1;i<r;i++){const r=y-n[i-1]+n[s];if(r<0)break;const h=n[i]-n[i-1],c=n[i]-n[s]<y?1:r/h;if(c<x)break;const u=c*c,f=c*r-.5*u*h,d=c*h/e,p=t[i-1],g=t[i].x-p.x,_=t[i].y-p.y;o+=d/f*(p.x*c*r+.5*u*(r*g-h*p.x)-u*c*h*g/3),a+=d/f*(p.y*c*r+.5*u*(r*_-h*p.y)-u*c*h*_/3),l+=d}f.push(new i.bR(o/l,a/l))}return f.push(new i.bR(h,c)),t[0].x=a,t[0].y=l,t[r-1].x=h,t[r-1].y=c,f}static _pushCentroid(t,e){const r=s._H,n=s._H,i=e.length-1;let o=0,a=0,l=0,h=e[0].x,c=e[0].y;h>r&&(h=r),h<0&&(h=0),c>n&&(c=n),c<0&&(c=0);for(let t=1;t<i;t++){let i=e[t].x,s=e[t].y,u=e[t+1].x,f=e[t+1].y;i>r&&(i=r),i<0&&(i=0),s>n&&(s=n),s<0&&(s=0),u>r&&(u=r),u<0&&(u=0),f>n&&(f=n),f<0&&(f=0);const x=(i-h)*(f-c)-(u-h)*(s-c);o+=x*(h+i+u),a+=x*(c+s+f),l+=x}o/=3*l,a/=3*l,isNaN(o)||isNaN(a)||t.push(new p(o,a))}}class K{constructor(t,e,r,n,s,a){if(this._pbfTiles={},this._tileClippers={},this._client=r,this._tile=e,this._sourceDataMaxLOD=n,a){this._styleLayerUIDs=new Set;for(const t of a)this._styleLayerUIDs.add(t)}this._styleRepository=s,this._layers=this._styleRepository?.layers??[];const[l,h,c]=e.tileKey.split("/").map(parseFloat);this._level=l;const u=(0,o.IU)(this._level);for(const e of Object.keys(t)){const r=t[e];if(this._pbfTiles[e]=new w.A(new Uint8Array(r.protobuff),new DataView(r.protobuff)),r.refKey){const[t]=r.refKey.split("/").map(parseFloat),n=l-t;if(n>0){const t=(1<<n)-1,r=h&t,s=c&t;this._tileClippers[e]=new i.O3(n,r,s,8,u)}}this._tileClippers[e]||(this._tileClippers[e]=new i.Ox)}}_canParseStyleLayer(t){return!this._styleLayerUIDs||this._styleLayerUIDs.has(t)}async parse(t){const e=(0,I.If)(),r=this._initialize(t),{returnedBuckets:n}=r;this._processLayers(r),this._linkReferences(r),this._filterFeatures(r);const i=[],s=new Set,o=(t,e)=>{s.has(t)||(i.push({name:t,repeat:e}),s.add(t))},a={};for(const t of n)t.getResources(t.tileClipper,o,a);if(4===this._tile.status)return[];const l=this._fetchResources(i,a,t);return Promise.all([...l,e]).then(()=>this._processFeatures(r.returnedBuckets))}_initialize(t){const e=t?.signal;return{signal:e,sourceNameToTileData:this._parseTileData(this._pbfTiles),layers:this._layers,zoom:this._level,sourceNameToTileClipper:this._tileClippers,sourceNameToUniqueSourceLayerBuckets:{},sourceNameToUniqueSourceLayers:{},returnedBuckets:[],layerIdToBucket:{},referencerUIDToReferencedId:new Map}}_processLayers(t){const{sourceNameToTileData:e,zoom:r,layers:n,sourceNameToTileClipper:i,sourceNameToUniqueSourceLayerBuckets:s,sourceNameToUniqueSourceLayers:o,returnedBuckets:a,layerIdToBucket:l,referencerUIDToReferencedId:h}=t,c=this._sourceDataMaxLOD;for(let t=n.length-1;t>=0;t--){const u=n[t];if(r<c){if(u.minzoom&&r<Math.floor(u.minzoom)||u.maxzoom&&r>=u.maxzoom)continue}else if(u.maxzoom&&r>=u.maxzoom)continue;if(0===u.type||!this._canParseStyleLayer(u.uid)||!e[u.source]||!i[u.source])continue;const f=e[u.source],x=i[u.source],y=u.sourceLayer,d=f[y];if(d){let t=o[u.source];if(t||(t=o[u.source]=new Set),t.add(u.sourceLayer),u.refLayerId)h.set(u.uid,u.refLayerId);else{const t=this._createBucket(u);if(t){t.layerUIDs=[u.uid],t.layerExtent=d.extent,t.tileClipper=x;let e=s[u.source];e||(e=s[u.source]={});let r=e[y];r||(r=e[y]=[]),r.push(t),a.push(t),l[u.id]=t}}}}}_linkReferences(t){const{layerIdToBucket:e,referencerUIDToReferencedId:r}=t;r.forEach((t,r)=>{e[t]&&e[t].layerUIDs.push(r)})}_filterFeatures(t){const{signal:e,sourceNameToTileData:r,sourceNameToUniqueSourceLayerBuckets:i,sourceNameToUniqueSourceLayers:s}=t,o=10*this._level,a=10*(this._level+1),l=[],h=[];for(const t of Object.keys(s))s[t].forEach(e=>{l.push(e),h.push(t)});for(let t=0;t<l.length;t++){const s=h[t],c=l[t];if(!r[s]||!i[s])continue;const u=r[s][c],f=i[s][c];if(!f||0===f.length)continue;if((0,n.G4)(e))return;let x=0;const y=u.getData();for(;y.nextTag(2);){const t=y.getMessage(),e=new v(t,u,x++);t.release();const r=e.values;if(r){const t=r._minzoom;if(t&&t>=a)continue;const e=r._maxzoom;if(e&&e<=o)continue}for(const t of f)t.pushFeature(e)}}}_fetchResources(t,e,r){const n=[],i=this._tile.getWorkerTileHandler();let s,o;t.length>0&&(s=i.fetchSprites(t,this._client,r),n.push(s));for(const t in e){const s=e[t];s.size>0&&(o=i.fetchGlyphs(this._tile.tileKey,t,s,this._client,r),n.push(o))}return n}_processFeatures(t){const e=t.filter(t=>t.hasFeatures()||this._canParseStyleLayer(t.layer.uid));for(const t of e)t.processFeatures(t.tileClipper);return e}_parseTileData(t){const e={};for(const r of Object.keys(t)){const n=t[r],i={};for(;n.next();)switch(n.tag()){case 3:{const t=n.getMessage(),e=new M(t);t.release(),i[e.name]=e;break}default:n.skip()}e[r]=i}return e}_createBucket(t){switch(t.type){case 0:return null;case 1:return this._createFillBucket(t);case 2:return this._createLineBucket(t);case 4:return this._createCircleBucket(t);case 3:return this._createSymbolBucket(t)}}_createFillBucket(t){return new U(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new P(t.fillMaterial.getStride()),new T,new k(t.outlineMaterial.getStride()),new T)}_createLineBucket(t){return new N(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new B(t.lineMaterial.getStride()),new T)}_createCircleBucket(t){return new E(t,this._level,this._tile.getWorkerTileHandler().getSpriteItems(),new S(t.circleMaterial.getStride()),new T)}_createSymbolBucket(t){const e=this._tile;return new H(e.tileKey,t,this._level,new V(t.iconMaterial.getStride()),new T,new V(t.textMaterial.getStride()),new T,e.placementEngine,e.getWorkerTileHandler())}}class Y{constructor(t,e,r,n){this.status=0,this.placementEngine=new b,this.tileKey=t,this.refKeys=e,this._workerTileHandler=r,this._styleRepository=n}release(){this.tileKey="",this.refKeys=null,this.status=0,this._workerTileHandler=null}async parse(t,e){const r=e?.signal;if(null!=r){const t=()=>{r.removeEventListener("abort",t),this.status=4};r.addEventListener("abort",t)}let i;const s={bucketsWithData:[],emptyBuckets:null};try{i=await this._parse(t,e)}catch(t){if((0,n.zf)(t))throw t;return{result:s,transferList:[]}}this.status=2;const o=s.bucketsWithData,a=[];for(const t of i)if(t.hasFeatures()){const e=t.serialize();o.push(e)}else a.push(t.layer.uid);const l=[...o];let h=null;return a.length>0&&(h=Uint32Array.from(a),l.push(h.buffer)),s.emptyBuckets=h,{result:s,transferList:l}}setObsolete(){this.status=4}getLayers(){return this._workerTileHandler.getLayers()}getWorkerTileHandler(){return this._workerTileHandler}async _parse(t,e){const r=t.sourceName2DataAndRefKey;return 0===Object.keys(r).length?[]:(this.status=3,new K(r,this,e.client,t.sourceDataMaxLOD,this._styleRepository,t.styleLayerUIDs).parse(e))}}var J=r(45013);class Q{constructor(){this._spriteInfo={},this._glyphInfo={},this._sourceDataMaxLOD=25}reset(){return this._spriteInfo={},this._glyphInfo={},Promise.resolve()}getLayers(){return this._styleRepository?.layers??[]}async createTileAndParse(t,e){const{key:r}=t,i={};for(const e of Object.keys(t.sourceName2DataAndRefKey)){const r=t.sourceName2DataAndRefKey[e];i[e]=r.refKey}const s=new Y(r,i,this,this._styleRepository);try{return await s.parse({...t,sourceDataMaxLOD:this._sourceDataMaxLOD},e)}catch(t){if(s.setObsolete(),s.release(),!(0,n.zf)(t))throw t;return null}}updateStyle(t){if(!t||0===t.length||!this._styleRepository)return;const e=this._styleRepository;for(const r of t){const t=r.type,n=r.data;switch(t){case 0:e.setPaintProperties(n.layer,n.paint);break;case 1:e.setLayoutProperties(n.layer,n.layout);break;case 3:e.deleteStyleLayer(n.layer);break;case 2:e.setStyleLayer(n.layer,n.index);break;case 4:this._spriteInfo={}}}}setStyle(t){const{style:e,sourceDataMaxLOD:r}=t;this._styleRepository=new J.A(e),this._sourceDataMaxLOD=r,this._spriteInfo={},this._glyphInfo={}}fetchSprites(t,e,r){const n=[],i=this._spriteInfo;for(const e of t)void 0===i[e.name]&&n.push(e);return 0===n.length?Promise.resolve():e.invoke("getSprites",n,{signal:r?.signal}).then(t=>{for(const e in t){const r=t[e];i[e]=r}})}getSpriteItems(){return this._spriteInfo}fetchGlyphs(t,e,r,n,i){const s=[];let o=this._glyphInfo[e];return o?r.forEach(t=>{o[t]||s.push(t)}):(o=this._glyphInfo[e]=[],r.forEach(t=>s.push(t))),0===s.length?Promise.resolve():n.invoke("getGlyphs",{tileID:t,font:e,codePoints:s},i).then(t=>{for(let e=0;e<t.length;e++)t[e]&&(o[e]=t[e])})}getGlyphItems(t){return this._glyphInfo[t]}}},18989(t,e,r){r.d(e,{A:()=>n});class n{constructor(t=0,e=0,r=0,n=0){this.x=t,this.y=e,this.width=r,this.height=n}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}},83773(t,e,r){r.d(e,{i:()=>y});var n=r(76213);function i(t,e){return t.x===e.x&&t.y===e.y}function s(t){if(!t)return;const e=t.length;if(e<=1)return;let r=0;for(let n=1;n<e;n++)i(t[n],t[r])||++r===n||(t[r]=t[n]);t.length=r+1}function o(t,e){return t.x=e.y,t.y=-e.x,t}function a(t,e){return t.x=-e.y,t.y=e.x,t}function l(t,e){return t.x=e.x,t.y=e.y,t}function h(t,e){return t.x=-e.x,t.y=-e.y,t}function c(t){return Math.sqrt(t.x*t.x+t.y*t.y)}function u(t,e){return t.x*e.y-t.y*e.x}function f(t,e){return t.x*e.x+t.y*e.y}function x(t,e,r,n){return t.x=e.x*r+e.y*n,t.y=e.x*n-e.y*r,t}class y{constructor(t,e,r){this._writeVertex=t,this._writeTriangle=e,this._canUseThinTessellation=r,this._prevNormal={x:void 0,y:void 0},this._nextNormal={x:void 0,y:void 0},this._textureNormalLeft={x:0,y:1},this._textureNormalRight={x:0,y:-1},this._textureNormal={x:void 0,y:void 0},this._joinNormal={x:void 0,y:void 0},this._inner={x:void 0,y:void 0},this._outer={x:void 0,y:void 0},this._roundStart={x:void 0,y:void 0},this._roundEnd={x:void 0,y:void 0},this._startBreak={x:void 0,y:void 0},this._endBreak={x:void 0,y:void 0},this._innerPrev={x:void 0,y:void 0},this._innerNext={x:void 0,y:void 0},this._bevelStart={x:void 0,y:void 0},this._bevelEnd={x:void 0,y:void 0},this._bevelMiddle={x:void 0,y:void 0}}tessellate(t,e,r=this._canUseThinTessellation){s(t),r&&e.halfWidth<n.Gh&&!e.offset?this._tessellateThin(t,e):this._tessellate(t,e)}_tessellateThin(t,e){if(t.length<2)return;const r=e.wrapDistance||65535;let n=e.initialDistance||0,i=!1,s=t[0].x,o=t[0].y;const a=t.length;for(let e=1;e<a;++e){i&&(i=!1,n=0);let a=t[e].x,l=t[e].y,h=a-s,c=l-o,u=Math.sqrt(h*h+c*c);if(h/=u,c/=u,n+u>r){i=!0;const t=(r-n)/u;u=r-n,a=(1-t)*s+t*a,l=(1-t)*o+t*l,--e}const f=this._writeVertex(s,o,0,0,h,c,c,-h,0,-1,n),x=this._writeVertex(s,o,0,0,h,c,-c,h,0,1,n);n+=u;const y=this._writeVertex(a,l,0,0,h,c,c,-h,0,-1,n),d=this._writeVertex(a,l,0,0,h,c,-c,h,0,1,n);this._writeTriangle(f,x,y),this._writeTriangle(x,y,d),s=a,o=l}}_tessellate(t,e){const r=t[0],n=t[t.length-1],s=i(r,n),y=s?3:2;if(t.length<y)return;const d=e.pixelCoordRatio,p=null!=e.capType?e.capType:0,g=null!=e.joinType?e.joinType:2,_=null!=e.miterLimit?Math.min(e.miterLimit,4):2,m=null!=e.roundLimit?Math.min(e.roundLimit,1.05):1.05,b=null!=e.halfWidth?e.halfWidth:2,w=!!e.textured;let I,v,A,T=null;const M=this._prevNormal,L=this._nextNormal;let B=-1,P=-1;const k=this._joinNormal;let V,S;const R=this._textureNormalLeft,E=this._textureNormalRight,D=this._textureNormal;let C=-1,U=-1;const F=e.wrapDistance||65535;let N=e.initialDistance||0;const z=this._writeVertex,O=this._writeTriangle,G=(t,e,r,n,i,s)=>{const o=z(v,A,V,S,r,n,t,e,i,s,N);return C>=0&&U>=0&&o>=0&&O(C,U,o),C=U,U=o,o};s&&(I=t[t.length-2],L.x=n.x-I.x,L.y=n.y-I.y,P=c(L),L.x/=P,L.y/=P);let j=!1;for(let e=0;e<t.length;++e){if(j&&(j=!1,N=0),I&&(M.x=-L.x,M.y=-L.y,B=P,N+B>F&&(j=!0)),j){const r=(F-N)/B;B=F-N,I={x:(1-r)*I.x+r*t[e].x,y:(1-r)*I.y+r*t[e].y},--e}else I=t[e];v=I.x,A=I.y;const r=e<=0&&!j,n=e===t.length-1;if(r||(N+=B),T=n?s?t[1]:null:t[e+1],T?(L.x=T.x-v,L.y=T.y-A,P=c(L),L.x/=P,L.y/=P):(L.x=void 0,L.y=void 0),!s){if(r){a(k,L),V=k.x,S=k.y,2===p&&(G(-L.y-L.x,L.x-L.y,L.x,L.y,0,-1),G(L.y-L.x,-L.x-L.y,L.x,L.y,0,1)),1===p&&(G(-L.y-L.x,L.x-L.y,L.x,L.y,-1,-1),G(L.y-L.x,-L.x-L.y,L.x,L.y,-1,1)),1!==p&&0!==p||(G(-L.y,L.x,L.x,L.y,0,-1),G(L.y,-L.x,L.x,L.y,0,1));continue}if(n){o(k,M),V=k.x,S=k.y,1!==p&&0!==p||(G(M.y,-M.x,-M.x,-M.y,0,-1),G(-M.y,M.x,-M.x,-M.y,0,1)),2===p&&(G(M.y-M.x,-M.x-M.y,-M.x,-M.y,0,-1),G(-M.y-M.x,M.x-M.y,-M.x,-M.y,0,1)),1===p&&(G(M.y-M.x,-M.x-M.y,-M.x,-M.y,1,-1),G(-M.y-M.x,M.x-M.y,-M.x,-M.y,1,1));continue}}let i,y,z=-u(M,L);if(Math.abs(z)<.01)f(M,L)>0?(k.x=M.x,k.y=M.y,z=1,i=Number.MAX_VALUE,y=!0):(a(k,L),z=1,i=1,y=!1);else{k.x=(M.x+L.x)/z,k.y=(M.y+L.y)/z,i=c(k);const t=(i-1)*b*d;y=i>4||t>B&&t>P}V=k.x,S=k.y;let O=g;switch(g){case 0:i<1.05&&(O=2);break;case 1:i<m&&(O=2);break;case 2:i>_&&(O=0)}switch(O){case 2:if(G(k.x,k.y,-M.x,-M.y,0,-1),G(-k.x,-k.y,-M.x,-M.y,0,1),n)break;if(w){const t=j?0:N;C=this._writeVertex(v,A,V,S,L.x,L.y,k.x,k.y,0,-1,t),U=this._writeVertex(v,A,V,S,L.x,L.y,-k.x,-k.y,0,1,t)}break;case 0:{const t=z<0;let e,r,i,s;if(t){const t=C;C=U,U=t,e=R,r=E}else e=E,r=R;if(y)i=t?a(this._innerPrev,M):o(this._innerPrev,M),s=t?o(this._innerNext,L):a(this._innerNext,L);else{const e=t?h(this._inner,k):l(this._inner,k);i=e,s=e}const c=t?o(this._bevelStart,M):a(this._bevelStart,M);G(i.x,i.y,-M.x,-M.y,e.x,e.y);const u=G(c.x,c.y,-M.x,-M.y,r.x,r.y);if(n)break;const f=t?a(this._bevelEnd,L):o(this._bevelEnd,L);if(y){const t=this._writeVertex(v,A,V,S,-M.x,-M.y,0,0,0,0,N);C=this._writeVertex(v,A,V,S,L.x,L.y,s.x,s.y,e.x,e.y,N),U=this._writeVertex(v,A,V,S,L.x,L.y,f.x,f.y,r.x,r.y,N),this._writeTriangle(u,t,U)}else{if(w){const t=this._bevelMiddle;t.x=(c.x+f.x)/2,t.y=(c.y+f.y)/2,x(D,t,-M.x,-M.y),G(t.x,t.y,-M.x,-M.y,D.x,D.y),x(D,t,L.x,L.y),C=this._writeVertex(v,A,V,S,L.x,L.y,t.x,t.y,D.x,D.y,N),U=this._writeVertex(v,A,V,S,L.x,L.y,s.x,s.y,e.x,e.y,N)}else{const t=C;C=U,U=t}G(f.x,f.y,L.x,L.y,r.x,r.y)}if(t){const t=C;C=U,U=t}break}case 1:{const t=z<0;let e,r;if(t){const t=C;C=U,U=t,e=R,r=E}else e=E,r=R;const s=t?h(this._inner,k):l(this._inner,k);let c,u;y?(c=t?a(this._innerPrev,M):o(this._innerPrev,M),u=t?o(this._innerNext,L):a(this._innerNext,L)):(c=s,u=s);const d=t?o(this._roundStart,M):a(this._roundStart,M),p=t?a(this._roundEnd,L):o(this._roundEnd,L),g=G(c.x,c.y,-M.x,-M.y,e.x,e.y),_=G(d.x,d.y,-M.x,-M.y,r.x,r.y);if(n)break;const m=this._writeVertex(v,A,V,S,-M.x,-M.y,0,0,0,0,N);y||this._writeTriangle(C,U,m);const b=h(this._outer,s),I=this._writeVertex(v,A,V,S,L.x,L.y,p.x,p.y,r.x,r.y,N);let T,B;const P=i>2;if(P){let e;i!==Number.MAX_VALUE?(b.x/=i,b.y/=i,e=f(M,b),e=(i*(e*e-1)+1)/e):e=-1,T=t?o(this._startBreak,M):a(this._startBreak,M),T.x+=M.x*e,T.y+=M.y*e,B=t?a(this._endBreak,L):o(this._endBreak,L),B.x+=L.x*e,B.y+=L.y*e}x(D,b,-M.x,-M.y);const F=this._writeVertex(v,A,V,S,-M.x,-M.y,b.x,b.y,D.x,D.y,N);x(D,b,L.x,L.y);const O=w?this._writeVertex(v,A,V,S,L.x,L.y,b.x,b.y,D.x,D.y,N):F,j=m,W=w?this._writeVertex(v,A,V,S,L.x,L.y,0,0,0,0,N):m;let Z=-1,q=-1;if(P&&(x(D,T,-M.x,-M.y),Z=this._writeVertex(v,A,V,S,-M.x,-M.y,T.x,T.y,D.x,D.y,N),x(D,B,L.x,L.y),q=this._writeVertex(v,A,V,S,L.x,L.y,B.x,B.y,D.x,D.y,N)),w?P?(this._writeTriangle(j,_,Z),this._writeTriangle(j,Z,F),this._writeTriangle(W,O,q),this._writeTriangle(W,q,I)):(this._writeTriangle(j,_,F),this._writeTriangle(W,O,I)):P?(this._writeTriangle(m,_,Z),this._writeTriangle(m,Z,q),this._writeTriangle(m,q,I)):(this._writeTriangle(m,_,F),this._writeTriangle(m,O,I)),y?(C=this._writeVertex(v,A,V,S,L.x,L.y,u.x,u.y,e.x,e.y,N),U=I):(C=w?this._writeVertex(v,A,V,S,L.x,L.y,u.x,u.y,e.x,e.y,N):g,this._writeTriangle(C,W,I),U=I),t){const t=C;C=U,U=t}break}}}}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1948,3931,5611,6061,6312,7992,8125,9169,9285,9358,9397],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},98783(t,e,n){n.d(e,{O:()=>o});var r=n(61691),s=n(55537),i=n(76061),a=n(15756);class o{getOperatorType(){return 10104}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}isSimple(t,e,n,r,s){return 5===(0,a.A)(t,e,n,r,s)}executeMany(t,e,n,r){return new u(t,e,n,r)}execute(t,e,n,r){const a=new i.S([t]),o=this.executeMany(a,e,n,r).next();return o||(0,s.d)("null output"),o}}class u extends r.G{constructor(t,e,n,r){super(),t||(0,s.a)(""),this.m_progressTracker=r,this.m_bForceSimplify=n,this.m_index=-1,this.m_inputGeometryCursor=t,this.m_spatialReference=e}next(){const t=this.m_inputGeometryCursor.next();return t?((0,s.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID(),this.simplify(t)):null}getGeometryID(){return this.m_index}tock(){return!1}getRank(){return 1}simplify(t){return t||(0,s.a)(""),(0,a.B)(t,this.m_spatialReference,this.m_bForceSimplify,this.m_progressTracker)}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,a,o,u,h,c,l,f,m,g,x){return[t,e,n,r,s,i,a,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function a(t,e,n){return[t,e,n]}function o(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function h(){return i(1,1,1)}function c(){return i(1,0,0)}function l(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>a,Cb:()=>y,Cw:()=>x,JP:()=>p,S:()=>h,Ul:()=>u,Un:()=>g,ci:()=>o,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=h(),x=c(),p=l(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:p,UNIT_Z:y,ZEROS:m,clone:s,create:r,freeze:a,fromArray:o,fromValues:i,ones:h,unitX:c,unitY:l,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>i,C:()=>a,Cc:()=>I,DI:()=>E,Il:()=>L,Io:()=>d,Ln:()=>y,Om:()=>P,Qr:()=>l,Re:()=>h,S8:()=>_,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>F,ei:()=>S,fw:()=>V,g7:()=>w,gL:()=>O,hG:()=>M,hZ:()=>o,hs:()=>p,jb:()=>G,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>Y,tn:()=>f,uE:()=>B,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function P(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],s=e[1],i=e[2],a=n[0],o=n[1],u=n[2];return t[0]=s*u-i*o,t[1]=i*a-r*u,t[2]=r*o-s*a,t}function I(t,e,n,r){const s=e[0],i=e[1],a=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=a+r*(n[2]-a),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function O(t,e,n){return V(t,e,n[0],n[1],n[2],n[3])}function V(t,e,n,r,s,i){const a=e[0],o=e[1],u=e[2],h=r*u-s*o,c=s*a-n*u,l=n*o-r*a,f=r*l-s*c,m=s*h-n*l,g=n*c-r*h,x=2*i;return t[0]=a+h*x+2*f,t[1]=o+c*x+2*m,t[2]=u+l*x+2*g,t}function w(t,e){_(Z,t),_(R,e);const n=P(Z,R);return n>1?0:n<-1?Math.PI:Math.acos(n)}const Z=(0,r.vt)(),R=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],a=e[0],o=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-a)<=h*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let a=r*r+s*s+i*i;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=s*a,t[2]=i*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const G=h,T=c,z=l,X=d,k=M,L=i,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:w,bezier:function(t,e,n,r,s,i){const a=1-i,o=a*a,u=i*i,h=o*a,c=3*i*o,l=3*u*a,f=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*l+s[0]*f,t[1]=e[1]*h+n[1]*c+r[1]*l+s[1]*f,t[2]=e[2]*h+n[2]*c+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:a,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],a=n[0],o=n[1],u=n[2],h=s*u-i*o,c=i*a-r*u,l=r*o-s*a,f=Math.sqrt(h*h+c*c+l*l);return t[0]=h/f,t[1]=c/f,t[2]=l/f,t},direction:N,dist:X,distance:d,div:z,divide:l,dot:P,equals:F,exactEquals:Y,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const a=i*i,o=a*(2*i-3)+1,u=a*(i-2)+i,h=a*(i-1),c=a*(3-2*i);return t[0]=e[0]*o+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:L,length:i,lerp:I,max:x,min:g,mul:T,multiply:c,negate:C,normalize:_,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,a=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:y,set:o,sign:m,sqrDist:k,sqrLen:B,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:G,subtract:h,transformMat3:S,transformMat4:A,transformQuat:O,transformQuatValues:V},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=l;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>b,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>P,V2:()=>w,_s:()=>Z,e6:()=>Y,gh:()=>_,tr:()=>N,uX:()=>p});var r=n(5482),s=n(69397),i=n(16930),a=(n(70328),n(19419)),o=n(60408),u=n(21325),h=n(513),c=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:a}=this,o=w(t,e,n,r,s,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new M(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=O(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],a=e[n++],o=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[o,u],l,f,a,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:o}=t,u=S(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[i,o,h,c]=s;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,a;t=r=1/0,i=a=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,o),a=Math.max(a,o)}e={xmin:t,ymin:r,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,o.fT)(t)){r="point";const{x:s,y:i,z:a,m:o}=t,u=[s,i];null!=a&&u.push(a),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,V(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=w(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!a){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const x="polygon"===r,{partOffsets:p}=s;let y=0;if(!(0,f.Ed)(t)){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&V(t[0],t.at(-1))&&--e,i||a)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[y]=g,s}function d(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*G;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const i=g-1;(0,f.wY)(r)?(d(10),++s.segmentCountArc,M=Z(n,r,s,i,M),n=r.a[0]):(0,f.DA)(r)?(d(10),++s.segmentCountArc,M=R(n,r,s,i,M),n=r.a[0]):(0,f.aO)(r)?(d(10),++s.segmentCountArc,M=Y(n,r,s,i,M),n=r.c[0]):(0,f.n1)(r)?(d(4),++s.segmentCountBezier,M=N(0,r,s,i,M),n=r.b[0]):n=r}x&&V(e,n)||l(n)}return s.partOffsets[y]=g,s}function _(t){const e=O(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,a=S(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;o<r;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:a}:{paths:n,hasZ:s,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:a}}function P(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);r??=!1,s??=!1;const h=w(t,u,a,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[l++],h.vertexXY[2*t+1]=n[l++],r&&(h.vertexZ[t]=n[l++]),s&&(h.vertexM[t]=n[l++]);o&&(l+=c)}return h}function b({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function O({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function V(t,e){return t.every((t,n)=>t===e[n])}function w(t,e,n,r,s,i,a,o){a??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(T),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,a){n[i]=4,r[i]=a;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,M]=(0,g.Uk)(y,.5);return s[a++]=p,s[a++]=m,s[a++]=x,s[a++]=f,s[a++]=u,s[a++]=h,s[a++]=y.u2-y.u1,s[a++]=y.u1,s[a++]=d,s[a++]=M,a}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,a){n[i]=4,r[i]=a;const o=(0,m.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,a)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,a){return n[i]=4,r[i]=a,F((0,c.pM)(t,e),0,...e.c[1],s,a)}function F(t,e,n,r,s,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=a,s[i++]=o,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function N(t,{b:[e,[n,r],[s,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const G=1.61803,T=-1},5095(t,e,n){n.d(e,{fz:()=>u,g7:()=>i,pn:()=>o,zo:()=>a});var r=n(76061);const s=new(n(98783).O);function i(t,e,n){return s.execute(t,e,n,null)}function a(t,e,n){const i=s.executeMany(new r.S(t),e,n,null);return Array.from(i)}function o(t,e,n,r){return s.isSimple(t,e,n,r,null)}function u(){return s.supportsCurves()}},12499(t,e,n){n.d(e,{isSimple:()=>i});var r=n(5095),s=n(78125);function i(t,e){return(0,r.pn)((0,s.fromGeometry)(t),(0,s.fromSpatialReference)((0,s.getSpatialReference)(t)),null!=e,e??null)}(0,r.fz)()},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>P,toGeometry:()=>_,toMultipoint:()=>b,toPoint:()=>I,toPolygon:()=>A,toPolyline:()=>S});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),a=n(88885),o=n(5443),u=n(48526),h=n(86738),c=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.M,n=new i.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=r.length;t<i;t++){const i=r[t];n.setXYCoords(i[0],i[1]),o&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function _(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return P(t,e);case s.G.enumMultiPoint:return b(t,e);case s.G.enumPolyline:return S(t,e);case s.G.enumPolygon:return A(t,e)}return null}function P(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function b(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),a=[],o=new i.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),a.push(n)}const h=new u.A({hasM:r,hasZ:s,points:a,spatialReference:e});return h.setCacheValue(m,t),h}function I(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function S(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>i,l5:()=>o,yH:()=>u});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function a(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return a(t);if(0===t.length)return a(e);const n=i(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>a,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>_,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=_){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function a(t,e,n,r,s,a,o=i()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=a,o}function o(t,e=i()){return function(t,e,n,r=i()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],a=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),a=Math.min(a,e[n+3*t+2]),o=Math.max(o,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=a,t[3]=o,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,a,o,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=i,e[9]=n,e[10]=o,e[11]=u,e[12]=a,e[13]=r,e[14]=i,e[15]=a,e[16]=r,e[17]=u,e[18]=a,e[19]=o,e[20]=i,e[21]=a,e[22]=o,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):i(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],_=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,a=r-e;return new s([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let a=1;a<n;a+=1){const n=r*(e+a),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+i),s=o,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|