@arcgis/core 5.1.0-next.72 → 5.1.0-next.74
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/Viewpoint.js +1 -1
- package/applications/Urban/editingSessionUtils.d.ts +95 -0
- package/applications/Urban/editingSessionUtils.js +2 -0
- package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{91a0227a64a944af3286.js → 003476e950bd27a2f884.js} +2 -2
- package/assets/esri/core/workers/chunks/{8a664451845a47048859.js → 0539b5d015157c1d34a0.js} +1 -1
- package/assets/esri/core/workers/chunks/{5a4d7ba6dc1d4b41d80d.js → 07eff82916681fcff069.js} +1 -1
- package/assets/esri/core/workers/chunks/{b801631b58e6fc6cec8a.js → 0ae360bf253adee46737.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a14e3db28c403b046cf.js → 0d2bc1be5802681666a4.js} +1 -1
- package/assets/esri/core/workers/chunks/0eed2b1b06355ab89013.js +1 -0
- package/assets/esri/core/workers/chunks/{b495f14d90abe8d1a558.js → 12e575a6d2b008b8fc2b.js} +1 -1
- package/assets/esri/core/workers/chunks/{61ef14e42bc09b787d89.js → 13e60f19f436b8d683ae.js} +1 -1
- package/assets/esri/core/workers/chunks/18f77ee3552d92962f15.js +1 -0
- package/assets/esri/core/workers/chunks/1a87e9bbd85ba29b1514.js +1 -0
- package/assets/esri/core/workers/chunks/{aa1a3a849aba84cf585b.js → 1db1656a033f3992f0d6.js} +1 -1
- package/assets/esri/core/workers/chunks/{b54b7cc6b23a70fed700.js → 1f8ccf96069ac3a40c3d.js} +1 -1
- package/assets/esri/core/workers/chunks/{cdf6ad970dc1893dac58.js → 24646a1176ce34039155.js} +1 -1
- package/assets/esri/core/workers/chunks/{93ceb74ac88ef460fe5f.js → 359d3acb3953e64e5a78.js} +1 -1
- package/assets/esri/core/workers/chunks/{b79058f5bda6fcac22f8.js → 37091cf498a16ccad7ff.js} +1 -1
- package/assets/esri/core/workers/chunks/{0839da55707f7c4cf780.js → 3b9100c59a8050f4834e.js} +1 -1
- package/assets/esri/core/workers/chunks/452c01cecbbd1e370098.js +1 -0
- package/assets/esri/core/workers/chunks/47656ec12401e53f4bd3.js +1 -0
- package/assets/esri/core/workers/chunks/{260d4571722cb1ff1366.js → 484d6c1b0fe1633515b7.js} +1 -1
- package/assets/esri/core/workers/chunks/{0d96e39380fd84cea9ba.js → 4bbe684050b3b04681d0.js} +1 -1
- package/assets/esri/core/workers/chunks/{7e6ccf9f3e756186e93e.js → 4c13869d260a902d3014.js} +1 -1
- package/assets/esri/core/workers/chunks/4c97cc922eece3a91b6b.js +1 -0
- package/assets/esri/core/workers/chunks/{656d6963e8f837fbf28f.js → 54023458195549f66215.js} +1 -1
- package/assets/esri/core/workers/chunks/{02876e434dc91c42b2f4.js → 5476c2f7b83f4ccd0335.js} +1 -1
- package/assets/esri/core/workers/chunks/5511e640e171c294f52a.js +2 -0
- package/assets/esri/core/workers/chunks/{faad127dc07e54e7f6d1.js → 5abe34bb0110694f7b42.js} +1 -1
- package/assets/esri/core/workers/chunks/{c1838822b096d5f36a8b.js → 5b324e572737a308500d.js} +1 -1
- package/assets/esri/core/workers/chunks/6124141ac642e4ce1454.js +1 -0
- package/assets/esri/core/workers/chunks/{ae0a572cbbdd9815ee2e.js → 62b3e933f548ce354b99.js} +1 -1
- package/assets/esri/core/workers/chunks/6b66fc32451433129a88.js +1 -0
- package/assets/esri/core/workers/chunks/{6ea8b0d68881d16a2432.js → 6d25230dd85a4ba54c4f.js} +1 -1
- package/assets/esri/core/workers/chunks/6f7aaba26773fe416ac2.js +1 -0
- package/assets/esri/core/workers/chunks/{9f4b97204def91567e3c.js → 7595ceba529ed01c7590.js} +1 -1
- package/assets/esri/core/workers/chunks/75d5ea0da181f9e7425f.js +1312 -0
- package/assets/esri/core/workers/chunks/{af75e91b88e747aa76ac.js → 7601278ebced0c0c31cf.js} +1 -1
- package/assets/esri/core/workers/chunks/{1661684357912726a72a.js → 77dd719516138afb1a2a.js} +1 -1
- package/assets/esri/core/workers/chunks/{6f9ea461c268c421f9c9.js → 7951d93f5f15aa76f49c.js} +1 -1
- package/assets/esri/core/workers/chunks/{ce2aa75e084ee56f5e29.js → 7f55eef696e9ed717bfc.js} +1 -1
- package/assets/esri/core/workers/chunks/85aac8539996372f1ee8.js +1 -0
- package/assets/esri/core/workers/chunks/{50d5d6654ada9f28345d.js → 85e65ced3312bf9cf162.js} +1 -1
- package/assets/esri/core/workers/chunks/{b92794def31592a6a25f.js → 8d75f6f27c1c17c33992.js} +1 -1
- package/assets/esri/core/workers/chunks/{3cd9bd20e75ba4d5b294.js → 8f4cd30ce23e41c1a42c.js} +1 -1
- package/assets/esri/core/workers/chunks/95d82c619dcbec2e1050.js +1 -0
- package/assets/esri/core/workers/chunks/983f6c8727fd9484718e.js +1 -0
- package/assets/esri/core/workers/chunks/{5a83ea967ecde01d5622.js → 9be9ccce6369f67202bc.js} +1 -1
- package/assets/esri/core/workers/chunks/{628f56c09838eb9c573b.js → a270960d80d8344dd75f.js} +1 -1
- package/assets/esri/core/workers/chunks/{b475f5492c6e3fd4cca8.js → a36761e3122f70fbb3c9.js} +1 -1
- package/assets/esri/core/workers/chunks/{1edd39c7c4acdc591d10.js → a809b811121099a87a98.js} +1 -1
- package/assets/esri/core/workers/chunks/{47f2113357b2aa4f4f37.js → a9d2c83bb10b5ade0ca0.js} +1 -1
- package/assets/esri/core/workers/chunks/abdf146b35e179b5b245.js +1 -0
- package/assets/esri/core/workers/chunks/ad064583f8a836005098.js +1 -0
- package/assets/esri/core/workers/chunks/{d2aa75816e84b1e7fd25.js → afc0baf86ece710ef867.js} +1 -1
- package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +1 -0
- package/assets/esri/core/workers/chunks/{68b47a5a50e0b5fffca2.js → b905e637a67fbb7af4ae.js} +1 -1
- package/assets/esri/core/workers/chunks/{03894992558d063d0d5e.js → bab23b905678e42815e5.js} +1 -1
- package/assets/esri/core/workers/chunks/{6ef3b8d67b498d655a99.js → bcb021a167580bb1619f.js} +1 -1
- package/assets/esri/core/workers/chunks/be0341567bb19e101a4f.js +1 -0
- package/assets/esri/core/workers/chunks/bec3ee5ea945e1e07a35.js +1 -0
- package/assets/esri/core/workers/chunks/{a65d576e90179a2b5400.js → c5507480344176fad241.js} +1 -1
- package/assets/esri/core/workers/chunks/{d4a9eb4470cc6a1f67fc.js → c5f155fe114a2a05aaf2.js} +2 -2
- package/assets/esri/core/workers/chunks/{84772b023d04e415f17f.js → c61002a117dc2218d6af.js} +1 -1
- package/assets/esri/core/workers/chunks/c70df6ed190f9ebcf6aa.js +1 -0
- package/assets/esri/core/workers/chunks/{0dad0bca8d58b2c63d22.js → c804a66ef7615aa8de89.js} +1 -1
- package/assets/esri/core/workers/chunks/cd7159600ce132e32d04.js +1 -0
- package/assets/esri/core/workers/chunks/{dec6d41d614105e6fd93.js → d00dafad202450e6ee2e.js} +1 -1
- package/assets/esri/core/workers/chunks/d1a7d13e1d48abcd7bf1.js +1 -0
- package/assets/esri/core/workers/chunks/{06df187a116709f69952.js → d35c475f004367e333eb.js} +1 -1
- package/assets/esri/core/workers/chunks/d82da31dc702b8fd6a07.js +1 -0
- package/assets/esri/core/workers/chunks/dd4f431511edd975a53b.js +1 -0
- package/assets/esri/core/workers/chunks/{99101789035f1787c630.js → e785f76c1a75cb1d1e1f.js} +1 -1
- package/assets/esri/core/workers/chunks/f53805c7a84203305b2c.js +1 -0
- package/assets/esri/core/workers/chunks/f590b60fca607d66001a.js +1 -0
- package/assets/esri/core/workers/chunks/{f6d047358d14328f3622.js → f60292d97bcdbf19165b.js} +1 -1
- package/assets/esri/core/workers/chunks/fb5a2205f05afc396119.js +1 -0
- package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
- package/chunks/GlobalIllumination.glsl.js +186 -116
- package/chunks/GlobalIlluminationBlur.glsl.js +81 -61
- package/chunks/GlobalIlluminationUpscale.glsl.js +66 -0
- package/chunks/geometryEngineBase.js +1 -1
- package/config.js +1 -1
- package/core/has.js +1 -1
- package/form/elements/FieldElement.d.ts +3 -2
- package/form/elements/FieldElement.js +1 -1
- package/form/elements/inputs/Input.d.ts +1 -1
- package/form/elements/inputs/MultipleChoiceInput.d.ts +65 -0
- package/form/elements/inputs/MultipleChoiceInput.js +2 -0
- package/form/elements/inputs/inputUtils.js +1 -1
- package/form/elements/inputs/multipleChoice/Choice.d.ts +30 -0
- package/form/elements/inputs/multipleChoice/Choice.js +2 -0
- package/form/elements/inputs/multipleChoice/OtherChoice.d.ts +28 -0
- package/form/elements/inputs/multipleChoice/OtherChoice.js +2 -0
- package/form/elements/inputs.d.ts +11 -2
- package/form/elements/inputs.js +1 -1
- package/form/support/formUtils.js +1 -1
- package/geometry/geometryEngine.js +1 -1
- package/geometry/geometryEngineJSON.js +1 -1
- package/geometry/operators/projectOperator.d.ts +5 -4
- package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
- package/geometry/support/normalizeUtils.js +1 -1
- package/geometry/support/normalizeUtilsCommon.js +1 -1
- package/identity/IdentityManagerBase.js +1 -1
- package/interfaces.d.ts +28 -0
- package/kernel.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/support/SymbolLayerDrawing.d.ts +18 -4
- package/package.json +2 -2
- package/popup/Features.d.ts +9 -9
- package/popup/Features.js +1 -1
- package/popup/actionUtils.js +1 -1
- package/popup/actions.js +1 -1
- package/portal/Portal.js +1 -1
- package/portal/PortalQueryParams.js +1 -1
- package/rest/print.js +1 -1
- package/support/revision.js +1 -1
- package/third-party-notices.txt +7 -29
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/camera/intersectionUtils.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/PinchAndPanNavigation.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/state/GoToOperation.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
- package/views/3d/support/cameraScaleUtils.js +2 -0
- package/views/3d/support/cameraUtils.js +1 -1
- package/views/3d/support/orientedBoundingBox.js +1 -1
- package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
- package/views/3d/support/renderInfoUtils/line.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +13 -12
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/GlobalIlluminationWeights.glsl.js +21 -0
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadGlobalIllumination.glsl.js +11 -7
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlurTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscale.glsl.js +2 -0
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscaleTechnique.js +2 -0
- package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl.js +1 -1
- package/views/SceneView.d.ts +1 -0
- package/views/draw/support/editingSessionUtils.js +2 -0
- package/views/interactive/sketch/SketchOptions.d.ts +3 -1
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +15 -1
- package/views/support/Scheduler.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInputAdapter.js +2 -0
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +28 -4
- package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/templates/AttachmentElementTemplate.js +2 -0
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/templateUtils.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
- package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateFeaturesWorkflowData.js +1 -1
- package/widgets/Editor/support/SketchController.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/widgets/support/widgetUtils.js +1 -1
- package/assets/esri/core/workers/chunks/027c3ea756db68e51f0a.js +0 -1
- package/assets/esri/core/workers/chunks/0c00e5e4bd18467bcecd.js +0 -1
- package/assets/esri/core/workers/chunks/0ef93722524620023f69.js +0 -1
- package/assets/esri/core/workers/chunks/266ba61b72a278d93a26.js +0 -1
- package/assets/esri/core/workers/chunks/2abf124e2956e4f76688.js +0 -1
- package/assets/esri/core/workers/chunks/43678e08a3d9d51c2a6d.js +0 -1
- package/assets/esri/core/workers/chunks/5b278b9980752ef495a2.js +0 -1
- package/assets/esri/core/workers/chunks/5e59ff96aecdf2adcb3b.js +0 -1
- package/assets/esri/core/workers/chunks/74be994d789c57031631.js +0 -1
- package/assets/esri/core/workers/chunks/770880ad43f252962017.js +0 -1
- package/assets/esri/core/workers/chunks/81750c5177d8d52a3e05.js +0 -1
- package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +0 -2
- package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +0 -1
- package/assets/esri/core/workers/chunks/a11f05ddd8314b648f76.js +0 -1
- package/assets/esri/core/workers/chunks/a37fc886227365f7ecd5.js +0 -1
- package/assets/esri/core/workers/chunks/af5db0372d526e592fcc.js +0 -1
- package/assets/esri/core/workers/chunks/bc53ce9a643f82d516c2.js +0 -1
- package/assets/esri/core/workers/chunks/bea70be8e38b8c83ccd2.js +0 -1
- package/assets/esri/core/workers/chunks/c3381b9a36299210ee47.js +0 -1
- package/assets/esri/core/workers/chunks/d0c3ab70f390cd579fed.js +0 -1
- package/assets/esri/core/workers/chunks/d8d7331600d93bbca2b4.js +0 -1
- package/assets/esri/core/workers/chunks/dca595fdd5e1a571e441.js +0 -1
- package/assets/esri/core/workers/chunks/de583214195eff13cb00.js +0 -1140
- package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +0 -1
- package/assets/esri/core/workers/chunks/ef013a77950c1902de11.js +0 -1
- package/assets/esri/core/workers/chunks/fa160a2a5dc9f5a7c34b.js +0 -1
- package/geometry/support/triangulationUtilsDeprecated.js +0 -2
- package/views/3d/layers/graphics/extrudeUtilsDeprecated.js +0 -2
- package/views/3d/support/renderInfoUtils/polygonDeprecated.js +0 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EncodingColor.glsl.js +0 -7
- package/views/3d/webgl-engine/shaders/GlobalIllumination.glsl.js +0 -2
- package/views/3d/webgl-engine/shaders/GlobalIlluminationBlur.glsl.js +0 -2
- /package/assets/esri/core/workers/chunks/{85edbb072a2ce6c1bb30.js.LICENSE.txt → 5511e640e171c294f52a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d4a9eb4470cc6a1f67fc.js.LICENSE.txt → c5f155fe114a2a05aaf2.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8358],{73354(e,t,n){n.d(t,{a:()=>f,b:()=>l,c:()=>s,d:()=>i,e:()=>h,f:()=>d,l:()=>c,n:()=>m,t:()=>o});var r=n(40876),a=(n(44208),n(72727));function i(e,t,n){o(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function o(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[4],h=n[5],m=n[6],p=n[8],g=n[9],y=n[10],T=n[12],S=n[13],M=n[14];let A=0,b=0;for(let n=0;n<l;n++){const n=t[A],a=t[A+1],o=t[A+2];e[b]=u*n+f*a+p*o+T,e[b+1]=c*n+h*a+g*o+S,e[b+2]=d*n+m*a+y*o+M,A+=i,b+=r}return e}function s(e,t,n){l(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function l(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[3],h=n[4],m=n[5],p=n[6],g=n[7],y=n[8];let T=0,S=0;for(let n=0;n<l;n++){const n=t[T],a=t[T+1],o=t[T+2];e[S]=u*n+f*a+p*o,e[S+1]=c*n+h*a+g*o,e[S+2]=d*n+m*a+y*o,T+=i,S+=r}}function u(e,t,n,r=3,a=r){const i=Math.min(e.length/r,t.length/a);let o=0,s=0;for(let l=0;l<i;l++)e[s]=n*t[o],e[s+1]=n*t[o+1],e[s+2]=n*t[o+2],o+=a,s+=r;return e}function c(e,t,n,r){d(e.typedBuffer,t.typedBuffer,n,r,e.typedBufferStride,t.typedBufferStride)}function d(e,t,n,a,i=3,o=i){const s=Math.min(e.length/i,t.length/o);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<s;r++)e[u]=a*(n*t[l])**c,e[u+1]=a*(n*t[l+1])**c,e[u+2]=a*(n*t[l+2])**c,l+=o,u+=i}function f(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s);let u=0,c=0;for(let a=0;a<l;a++)e[c]=t[u]+n[0],e[c+1]=t[u+1]+n[1],e[c+2]=t[u+2]+n[2],u+=i,c+=r;return e}function h(e,t){m(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function m(e,t,n=3,r=n){const a=Math.min(e.length/n,t.length/r);let i=0,o=0;for(let s=0;s<a;s++){const a=t[i],s=t[i+1],l=t[i+2],u=a*a+s*s+l*l;if(u>0){const t=1/Math.sqrt(u);e[o]=t*a,e[o+1]=t*s,e[o+2]=t*l}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:d,linearToSRGBView:c,normalize:m,normalizeView:h,scale:u,scaleView:function(e,t,n){u(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)},shiftRight:function(e,t,n){const r=Math.min(e.count,t.count),a=e.typedBuffer,i=e.typedBufferStride,o=t.typedBuffer,s=t.typedBufferStride;let l=0,u=0;for(let e=0;e<r;e++)a[u]=o[l]>>n,a[u+1]=o[l+1]>>n,a[u+2]=o[l+2]>>n,l+=s,u+=i},transformMat3:l,transformMat3View:s,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},40876(e,t,n){n.d(t,{Eq:()=>h,G1:()=>p,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>M});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function a(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...i(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const a=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,o=2*n-i;return[Math.round(255*s(o,i,a+1/3)),Math.round(255*s(o,i,a)),Math.round(255*s(o,i,a-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,a=t?1:17,i=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const s=[0,0,0,1];let l;return i&&(l=o&r,o>>=n,s[3]=a*l/255),l=o&r,o>>=n,s[2]=a*l,l=o&r,o>>=n,s[1]=a*l,l=o&r,o>>=n,s[0]=a*l,s}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),a=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(a+16*a)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?p(e[3]):1,e}function h(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function p(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const T=2.2,S=1/T;function M(e){return e**S}},69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>d});var r=n(5482),a=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),s=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let a=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,s.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,a={},l=new Map;for(const t in n){const o=n[t],s=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[t];let d=null;if("function"==typeof u)d=u(c,e);else if("reference"===u)d=c;else if(d=(0,i.TU)(c,e),null!=c&&null==d)continue;0===s?l.set(t,d):a[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const e=(0,s.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},d=c(a.A)},95488(e,t,n){n.d(t,{I:()=>a});var r=n(11406);class a extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>a,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:a,create:r,fromValues:function(e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p){return[e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function a(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function s(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function l(){return[0,0,0]}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function d(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>y,Cw:()=>p,JP:()=>g,S:()=>u,Ul:()=>l,Un:()=>m,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>h,vt:()=>r});const h=[0,0,0],m=u(),p=c(),g=d(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:h,clone:a,create:r,freeze:o,fromArray:s,fromValues:i,ones:u,unitX:c,unitY:d,unitZ:f,zeros:l},Symbol.toStringTag,{value:"Module"}))},34304(e,t,n){n.d(t,{DF:()=>l,FD:()=>a,Ov:()=>i,ct:()=>u});let r=1e-6;function a(){return r}const i=Math.random,o=Math.PI/180,s=180/Math.PI;function l(e){return e*o}function u(e){return e*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:a,setEpsilon:function(e){r=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>R,Bw:()=>i,C:()=>o,Cc:()=>v,DI:()=>b,Il:()=>z,Io:()=>T,Ln:()=>y,Om:()=>_,Qr:()=>d,Re:()=>u,S8:()=>w,T9:()=>p,WQ:()=>l,Z0:()=>E,_S:()=>h,aI:()=>O,ei:()=>C,fw:()=>N,g7:()=>x,gL:()=>I,hG:()=>S,hZ:()=>s,hs:()=>g,jb:()=>L,jk:()=>m,lo:()=>F,lw:()=>c,m3:()=>M,oW:()=>U,t2:()=>G,tn:()=>f,uE:()=>Z,xg:()=>D,ze:()=>A});var r=n(51850),a=n(34304);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function s(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function d(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function m(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function p(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function T(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return Math.sqrt(n*n+r*r+a*a)}function S(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return n*n+r*r+a*a}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function A(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],a=t[2];let i=n*n+r*r+a*a;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function R(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2];return e[0]=a*l-i*s,e[1]=i*o-r*l,e[2]=r*s-a*o,e}function v(e,t,n,r){const a=t[0],i=t[1],o=t[2];return e[0]=a+r*(n[0]-a),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function E(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=n[0]*r+n[4]*a+n[8]*i+n[12],e[1]=n[1]*r+n[5]*a+n[9]*i+n[13],e[2]=n[2]*r+n[6]*a+n[10]*i+n[14],e}function C(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=r*n[0]+a*n[3]+i*n[6],e[1]=r*n[1]+a*n[4]+i*n[7],e[2]=r*n[2]+a*n[5]+i*n[8],e}function I(e,t,n){return N(e,t,n[0],n[1],n[2],n[3])}function N(e,t,n,r,a,i){const o=t[0],s=t[1],l=t[2],u=r*l-a*s,c=a*o-n*l,d=n*s-r*o,f=r*d-a*c,h=a*u-n*d,m=n*c-r*u,p=2*i;return e[0]=o+u*p+2*f,e[1]=s+c*p+2*h,e[2]=l+d*p+2*m,e}function x(e,t){w(k,e),w(P,t);const n=_(k,P);return n>1?0:n<-1?Math.PI:Math.acos(n)}const k=(0,r.vt)(),P=(0,r.vt)();function G(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],o=t[0],s=t[1],l=t[2],u=(0,a.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))}function U(e,t,n){const r=n[0]-t[0],a=n[1]-t[1],i=n[2]-t[2];let o=r*r+a*a+i*i;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=a*o,e[2]=i*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,B=c,j=d,D=T,F=S,z=i,Z=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:x,bezier:function(e,t,n,r,a,i){const o=1-i,s=o*o,l=i*i,u=s*o,c=3*i*s,d=3*l*o,f=l*i;return e[0]=t[0]*u+n[0]*c+r[0]*d+a[0]*f,e[1]=t[1]*u+n[1]*c+r[1]*d+a[1]*f,e[2]=t[2]*u+n[2]*c+r[2]*d+a[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:R,crossAndNormalize:function(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2],u=a*l-i*s,c=i*o-r*l,d=r*s-a*o,f=Math.sqrt(u*u+c*c+d*d);return e[0]=u/f,e[1]=c/f,e[2]=d/f,e},direction:U,dist:D,distance:T,div:j,divide:d,dot:_,equals:O,exactEquals:G,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,a,i){const o=i*i,s=o*(2*i-3)+1,l=o*(i-2)+i,u=o*(i-1),c=o*(3-2*i);return e[0]=t[0]*s+n[0]*l+r[0]*u+a[0]*c,e[1]=t[1]*s+n[1]*l+r[1]*u+a[1]*c,e[2]=t[2]*s+n[2]*l+r[2]*u+a[2]*c,e},inverse:b,len:z,length:i,lerp:v,max:p,min:m,mul:B,multiply:c,negate:A,normalize:w,random:function(e,t=1){const n=a.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=i*t,e},rotateX:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0],i[1]=a[1]*Math.cos(r)-a[2]*Math.sin(r),i[2]=a[1]*Math.sin(r)+a[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[2]*Math.sin(r)+a[0]*Math.cos(r),i[1]=a[1],i[2]=a[2]*Math.cos(r)-a[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0]*Math.cos(r)-a[1]*Math.sin(r),i[1]=a[0]*Math.sin(r)+a[1]*Math.cos(r),i[2]=a[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:s,sign:h,sqrDist:F,sqrLen:Z,squaredDistance:S,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:C,transformMat4:E,transformQuat:I,transformQuatValues:N},Symbol.toStringTag,{value:"Module"}))},3330(e,t,n){n.d(t,{GB:()=>a,Qo:()=>o,Y4:()=>i});var r=n(92647);class a{static{this.instance=r.mQ.parseSpecifier("UTC")}}function i(e){return e instanceof r.bo?e===a.instance:"unknown"===e?.toString().toLowerCase()}function o(e){return i(e)?a.instance:e}},83027(e,t,n){n.d(t,{h:()=>r});const r=n(29953).ho},35982(e,t,n){n.d(t,{B:()=>c});var r=n(4576),a=n(71511),i=n(36563),o=n(53966),s=n(97768),l=n(17676),u=n(83027);class c{constructor(e,t,n,r,a={}){this._mainMethod=t,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...a,schedule:r}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{a.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>o.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const n=new d(e,t);return this._listeners.push(n),this._connectListener(n),(0,i.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,s.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,n){return this.invokeMethod(this._mainMethod,e,t,n)}invokeMethod(e,t,n,r){if(this._thread){const a=this._transferLists[e],i=a?a(t):[];return this._thread.invoke(e,t,{transferList:i,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,l.Te)(n),this.invokeMethod(e,t,n))):Promise.reject((0,l.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(f):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,l.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class d{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new a.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function f(){}},91075(e,t,n){n.d(t,{A:()=>l});var r=n(5482),a=n(25482),i=n(91429),o=n(16930),s=n(36005);let l=class extends a.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,s.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},86738(e,t,n){n.d(t,{A:()=>S});var r=n(5482),a=n(69622),i=n(53966),o=n(91429),s=n(56507),l=n(91075),u=n(16930),c=n(21325),d=n(28735);function f({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,d.tD)(e,t,r);if((0,c.EA)(n))return r[0]=e,r[1]=t,r}return null}const h=[0,0];var m,p=n(43937),g=n(36005);const y=[0,0];function T(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let S=m=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",a.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,a){let o;if(Array.isArray(e))o=e,a=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(a=o.spatialReference)&&"esri.geometry.SpatialReference"!==a.declaredClass&&(a=new u.A(a)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&a?.isWebMercator){const n=(0,d.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else T(n)?(a=n,n=null):T(r)&&(a=r,r=null);const s={x:e,y:t};return null==s.x&&null!=s.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==s.y&&null!=s.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=a&&(s.spatialReference=a),null!=n&&(s.z=n),null!=r&&(s.m=r),s}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return f(this,h)?.[1]??null}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,d.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return f(this,h)?.[0]??null}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,d.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new m;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return m.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:a,spatialReference:i}=this,{z:o,m:s}=e;let{x:l,y:u,spatialReference:c}=e;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,u]=(0,d.je)(l,u),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,d.tD)(l,u),c=i}return t===l&&n===u&&r===o&&a===s&&i.wkid===c.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,a=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/a),t-=i*a):t<n&&(i=Math.ceil(Math.abs(t-n)/a),t+=i*a),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,a=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+a*a)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],S.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,s.GB)(e))],S.prototype,"x",void 0),(0,r.Cg)([(0,p.K)("x")],S.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],S.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],S.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],S.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],S.prototype,"m",void 0),S=m=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],S),S.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,n){n.d(t,{H:()=>i,f:()=>a});var r=n(49186);function a(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(a)}},159(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(99157);let u=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,a.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429);let l=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,a.Cg)([(0,s.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>a});var r=n(49208);function a(e,t,n,a,i,o,s=Math.floor(e.length/3)){const l=(0,r.jd)(t,i);if(null==l)return!1;if(l===r.pO){if(e===a&&n===o)return!0;const t=n+3*s;for(let r=n,i=o;r<t;r++,i++)a[i]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=o;t<u;t+=3,r+=3)l(e,t,a,r);return!0}},65806(e,t,n){n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n,r){if((0,a.canProjectWithoutEngine)(e.spatialReference,n))return s[0]=e.x,s[1]=e.y,s[2]=e.z??0,(0,i.projectBuffer)(s,e.spatialReference,0,t,n,0);const o=(0,a.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const s=(0,r.vt)()},27993(e,t,n){n.d(t,{F:()=>s});var r=n(91218),a=n(16930),i=n(9762),o=n(65806);function s(e,t,n,a){return!(null==t||null==a||e.length<2)&&((0,r.canProjectWithoutEngine)(t,a)?(0,i.projectBuffer)(e,t,0,n,a,0,1):(l.x=e[0],l.y=e[1],l.z=e[2],l.spatialReference=t,(0,o.g)(l,n,a)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:a.A.WGS84,type:"point"}},49208(e,t,n){n.d(t,{Tp:()=>d,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),a=n(86211),i=n(73941),o=n(79258),s=n(34403),l=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},5:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:S,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){const a=e[t]/k,i=x-2*Math.atan(Math.exp(-e[t+1]/k)),o=k+(e[t+2]??0),s=Math.cos(i)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:h,11:function(e,t,n,r){m(e,t,n,r),g(n,r,n,r)},2:m,4:function(e,t,n,r){m(e,t,n,r),v(n,r,n,r)}},4:{5:E,7:null,9:null,10:E,1:function(e,t,n,r){E(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){E(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){E(e,t,n,r),g(n,r,n,r)},2:E,4:h},1:{5:R,7:null,9:null,10:R,1:h,6:null,8:null,0:null,3:function(e,t,n,r){R(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){R(e,t,n,r),g(n,r,n,r)},2:R,4:function(e,t,n,r){R(e,t,n,r),v(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:A,6:M,8:S,0:null,3:p,11:g,2:h,4:v},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),p(n,r,n,r)},11:h,2:y,4:function(e,t,n,r){y(e,t,n,r),v(n,r,n,r)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(C.source.spatialReference===e&&C.dest.spatialReference===t)return C;const n=f(e,C.source),r=f(t,C.dest);return 0===n&&0===r?(0,l.aI)(e,t)?C.projector=h:C.projector=null:C.projector=u[n][r],C}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,a.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function m(e,t,n,r){n[r]=N*(e[t]/k),n[r+1]=N*(x-2*Math.atan(Math.exp(-e[t+1]/k))),n[r+2]=e[t+2]??0}function p(e,t,n,a){!function(e,t,n,a,i){const o=.4999999*Math.PI,s=(0,r.qE)(I*e[t+1],-o,o),l=Math.sin(s);n[a++]=I*e[t]*i.radius,n[a++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[a]=e[t+2]??0}(e,t,n,a,o.$O)}function g(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function T(e,t,n,r,a){const i=a+(e[t+2]??0),o=I*e[t],s=I*e[t+1],l=Math.cos(s)*i;n[r]=Math.cos(o)*l,n[r+1]=Math.sin(o)*l,n[r+2]=Math.sin(s)*i}function S(e,t,n,r){T(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){T(e,t,n,r,o.sH.radius)}function A(e,t,n,r){T(e,t,n,r,o.$O.radius)}function b(e,t,n,a,i){const o=e[t],s=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),d=Math.atan2(s,o);n[a++]=N*d,n[a++]=N*c,n[a]=u-i}function w(e,t,n,r){b(e,t,n,r,o.Sw.radius)}function _(e,t,n,r){b(e,t,n,r,o.sH.radius)}function R(e,t,n,r){b(e,t,n,r,o.$O.radius)}function v(e,t,n,r){!function(e,t,n,r,a){const i=I*e[t],o=I*e[t+1],s=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);n[r++]=(c+s)*u*Math.cos(i),n[r++]=(c+s)*u*Math.sin(i),n[r++]=(c*(1-a.eccentricitySquared)+s)*l}(e,t,n,r,o.$O)}function E(e,t,n,r){const a=s.TP,i=e[t],l=e[t+1],u=e[t+2]??0;let c,d,f,h,m,p,g,y,T,S,M,A,b,w,_,R,v,E,C,I,x;c=Math.abs(u),d=i*i+l*l,f=Math.sqrt(d),h=d+u*u,m=Math.sqrt(h),I=Math.atan2(l,i),p=u*u/h,g=d/h,w=a.a2/m,_=a.a3-a.a4/m,g>.3?(y=c/m*(1+g*(a.a1+w+p*_)/m),C=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=f/m*(1-p*(a.a5-w-g*_)/m),C=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),M=1-o.$O.eccentricitySquared*S,A=o.$O.radius/Math.sqrt(M),b=a.a6*A,w=f-A*T,_=c-b*y,v=T*w+y*_,R=T*_-y*w,E=R/(b/M+v),C+=E,x=v+R*E/2,u<0&&(C=-C),n[r++]=N*I,n[r++]=N*C,n[r]=x}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},I=(0,r.kU)(1),N=(0,r.KJ)(1),x=.5*Math.PI,k=o.$O.radius,P=k*Math.PI/180,G=180/(k*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>Y,isEqualBaseGCS:()=>$,isLoaded:()=>k,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>G,load:()=>U,project:()=>L,projectAsync:()=>q,projectExtent:()=>ae,projectMany:()=>B,projectMultipoint:()=>X,projectOrLoad:()=>D,projectOrLoadMany:()=>F,projectPoint:()=>K,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>V,requiresLoad:()=>O,test:()=>H,tryProject:()=>j,unload:()=>Z});var r=n(49186),a=n(17676),i=n(62788),o=n(95488),s=n(51850),l=n(21276),u=n(73941),c=n(5443),d=n(91075),f=n(48526),h=n(86738),m=n(39829),p=n(82799),g=n(16930),y=n(98764),T=n(159),S=n(9762),M=n(49208);function A(e,t,n,r,a,i){return b[0]=e,b[1]=t,b[2]=n,(0,S.projectBuffer)(b,r,0,a,i,0)}const b=(0,s.vt)();var w=n(60408),_=n(21325),R=n(52006);let v=null,E=null,C=null,I=null,N={};const x=new o.I;function k(){return!!(E?.isLoaded()&&C?.isLoaded()&&I?.isLoaded())}function P(){return!!k()||((0,i.gc)(x),U(),!1)}function G(e,t){return!e||!t||W(e,t)||P()}function O(e,t){return!W(e,t)&&!k()}async function U(e){null==v&&(v=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(E=e,E.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(C=e,C.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(I=e,I.load()))])),await v,(0,a.Te)(e),x.notify()}function L(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),B(e,e[0].spatialReference,t,n)):((0,l.f)(e),B([e],e.spatialReference,t,n)[0])}function B(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>V(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return B(e.map(e=>V(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return B(e,t,g.A.WGS84).map(e=>V(e,g.A.WGS84,n));if(!k())throw new z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:I.getTransformation(t,n,r.areaOfInterestExtent)||new T.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let a=N[e];a||(a=I.getTransformation(t,n)||new T.A,N[e]=a),r={geographicTransformation:a,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?E.executeMany(e,n,r):C.executeMany(e,n,r)}function j(e,t,n){try{return L(e,t,n)}catch(e){return null}}function D(e,t){const n=F([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function F(e,t,n){if(!k())for(const n of e)if(null!=n&&!(0,_.aI)(n.spatialReference,t)&&(0,_.fn)(n.spatialReference)&&(0,_.fn)(t)&&!W(n.spatialReference,t))return(0,i.gc)(x),{pending:U(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,_.aI)(e.spatialReference,t)?e:(0,_.fn)(e.spatialReference)&&(0,_.fn)(t)?L(e,t,n):null)}}class z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Z(){v=null,E=null,C=null,I=null,N={}}const H={get loadPromise(){return v}};async function q(e,t,n){if((0,a.Te)(n),!e)return e;const r=F(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,a.Te)(n),q(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,_.aI)(e,t)||(0,_.fn)(e)&&(0,_.fn)(t)&&!!(0,M.jd)(e,t))}function $(e,t){if((0,_.aI)(e,t))return!0;if(!(0,_.fn)(e)||!(0,_.fn)(t))return!1;const n=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e),r=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t);return n&&r}async function Y(e,t,n,r){if(k())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!W(t,n,a))return U(r)}else if(e&&t&&!W(e,t,n))return U(r);return(0,a.NO)(r)}function V(e,t,n){return e?(0,w.fT)(e)?J(e,t,new h.A,n,0):(0,w.ZC)(e)?ie(e,t,new c.A,n,0):(0,w.Bi)(e)?re(e,t,new m.A,n,0):(0,w.Rg)(e)?te(e,t,new p.A,n,0):(0,w.U9)(e)?Q(e,t,new f.A,n,0):null:null}function K(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,n,r)}function J(e,t,n,r,a){ue[0]=e.x,ue[1]=e.y;const i=e.z;return ue[2]=void 0!==i?i:a,(0,S.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,a){const{points:i,hasZ:o,hasM:s}=e,l=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],o?e[2]:a);if(!(0,S.projectBuffer)(c,t,0,c,r,0,u))return null;const d=le(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];d&&s?l.push([n,r,c[t+2],i[e][3]]):d?l.push([n,r,c[t+2]]):s?l.push([n,r,i[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=o,n.hasM=s,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,a){const{curvePaths:i,paths:o,hasZ:s,hasM:l}=e;if(!(i?se(i,s??!1,l??!1,t,n.curvePaths=[],r,a):oe(o,s??!1,l??!1,t,n.paths,r,a)))return null;const u=le(s,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,a){const{curveRings:i,rings:o,hasZ:s,hasM:l}=e;return(i?se(i,s??!1,l??!1,t,n.curveRings=[],r,a):oe(o,s??!1,l??!1,t,n.rings,r,a))?(n.spatialReference=r,n.hasZ=le(s,r),n.hasM=l,n):null}function ae(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:u,hasM:c}=e;if(!A(i,o,u?e.zmin:a,t,ue,r))return null;const d=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],d&&(n.zmin=ue[2]),A(s,l,u?e.zmax:a,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],d&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:o);if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}a.push(e)}return!0}function se(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n){if((0,R.FG)(e))return!1;if((0,R.aO)(e)){const[n,r]=e.c;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,R.n1)(e)){const[n,r,a]=e.b;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,a[0],a[1],o);continue}const n=e;s.push(n[0],n[1],t?n[2]:o)}if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,R.yP)(r)[u]),(0,R.FG)(r))return!1;if((0,R.aO)(r)){const n=s[l++],r=s[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,R.n1)(r)){const n=s[l++],r=s[l++];++l;const a=s[l++],i=s[l++];++l,e.push({b:[t,[n,r],[a,i]]});continue}e.push(t)}a.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,_.aI)(t,y.Y0)}const ue=(0,s.vt)()},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),a=n(16930),i=n(21325);const o=new a.A(r.fv),s=new a.A(r.FY),l=new a.A(r.LJ),u=new a.A(r.Ro);function c(e){const t=d.get(e);if(t)return t;let n=o;if(e)if(e===s)n=s;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?n=s:((0,i.ZL)(t)||(0,i.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=s:e===h&&(n=l)}}}return d.set(e,n),n}const d=new Map,f=s.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>l,cj:()=>s,jh:()=>i,l5:()=>o});var r=n(34275),a=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function s(e){return[...e]}function l(e){const t=(0,a.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},95696(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(93223);let u=class extends((0,i.OU)(o.o)){static{r=this}constructor(e){super(e),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,a.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,a.Cg)([(0,s.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(e,t,n){n.r(t),n.d(t,{default:()=>u});var r=n(5482),a=n(69540),i=n(25482),o=n(91429),s=n(51850),l=n(93223);let u=class extends((0,a.OU)(i.o)){constructor(e){super(e),this.type="local",this.origin=(0,s.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},72727(e,t,n){function r(e,t,n){if(t<=0)return 0;const r=e-n;return r<0?0:Math.floor(r/t)+1}n.d(t,{k:()=>r}),n(53966)},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const a=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:a*i,a2:a*i*a*i,a3:a*i*i/2,a4:a*i*a*i*2.5,a5:a*i+a*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function a(e){return void 0!==e.points}function i(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function s(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?i(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":s(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":a(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>s,Pv:()=>c,Rg:()=>o,U9:()=>a,W0:()=>d,ZC:()=>r,fT:()=>i,uW:()=>l})},28735(e,t,n){n.d(t,{Cv:()=>g,Gh:()=>S,ci:()=>M,je:()=>y,jg:()=>d,tD:()=>T,y7:()=>p,yw:()=>c});var r=n(4718),a=n(21276),i=n(16930),o=n(79258),s=n(21325);function l(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return e/o.$O.radius}function d(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const h=[0,0];function m(e,t,n,r,a){const i=e,o=a;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,h,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,h,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,h,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let a;for(let i=0;i<e.length;i++){const o=e[i];a=[],n.push(a);for(let e=0;e<o.length;e++)a.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&a[e].push(o[e][2]),o[e].length>3&&a[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let a=0;a<e.length;a++)n[a]=t(e[a][0],e[a][1],[0,0],r),e[a].length>2&&n[a].push(e[a][2]),e[a].length>3&&n[a].push(e[a][3]);o.points=n}return a}function p(e,t){const n=e&&(f(e)?e:e.spatialReference),r=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,s.aI)(r,n)||(0,s.K8)(r)&&(0,s.oT)(n)||(0,s.K8)(n)&&(0,s.oT)(r))}function g(e,t){if(null==e)return null;const n=e.spatialReference,a=t&&(f(t)?t:t.spatialReference);return p(n,a)?(0,s.aI)(n,a)?(0,r.o8)(e):(0,s.K8)(a)?m(e,y,i.A.WebMercator,!1,(0,r.o8)(e)):(0,s.oT)(a)?m(e,T,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function y(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=u(t);return n[0]=u(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function T(e,t,n=[0,0],r=!1){if(e===s.Mc[0])n[0]=-180;else if(e===s.Mc[1])n[0]=180;else{const t=l(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function S(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),m(e,y,i.A.WebMercator,t,n)}function M(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),m(e,T,i.A.WGS84,t,n)}},97770(e,t,n){n.d(t,{Ey:()=>k,F8:()=>x,J2:()=>E,Yq:()=>I,_m:()=>C,_v:()=>M,iS:()=>N,wj:()=>P});var r=n(66552),a=n(73444),i=n(98623),o=(n(56400),n(92647));const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},g={hourCycle:"h23"},y={...m,...g},T={...p,...g},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...p},"short-date-long-time-24":{...c,...T},"short-date-le":c,"short-date-le-short-time":{...c,...m},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...p},"short-date-le-long-time-24":{...c,...T},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...m},"day-short-month-year-short-time-24":{...f,...y},"day-short-month-year-long-time":{...f,...p},"day-short-month-year-long-time-24":{...f,...T},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...y},"long-date-long-time":{...h,...p},"long-date-long-time-24":{...h,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},M=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),A={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},b=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=b.find(({type:e})=>"month"===e)?.value.toLowerCase();function _(){const e=(0,a.lR)();return(e&&A[e])??(0,a.QC)()}"mart"!==w&&(A.bs="sr-Latn-CS");let R=new WeakMap;const v=S["short-date-short-time"];function E(e){return S[e]}function C(e){const{dateStyle:t,timeStyle:n,hour12:r,year:a,month:i}=e,o={};return t?o.dateStyle=t:a&&(o.year=a,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function I(e,t=v){return function(e){let t=R.get(e);if(!t){const n=_(),r=P(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),R.set(e,t)}return t}(t).format(e)}function N(e,t=v){return I(new Date(e),{...t,...u,...l})}function x(e,t=v){return I(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function k(e,t=v){const n=o.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return I(n.toJSDate(),t);const r=0===n.offset?i.n$:t.timeZone,a={...t,timeZone:r};return n.toLocaleString(a,{locale:_()})}function P(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}(0,a.Ml)(()=>{R=new WeakMap})},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function d(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const h=[];function m(e){return h.push(e),(0,r.hA)(()=>{h.splice(h.indexOf(e),1)})}new Map;const p=[];function g(e){return p.push(e),(0,r.hA)(()=>p.splice(p.indexOf(e),1))}function y(){const e=s();a!==e&&([...p].forEach(t=>t(e)),a=e,[...h].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),o&&new MutationObserver(()=>{y()}).observe(o,{attributeFilter:["lang"]})},98623(e,t,n){n.d(t,{L5:()=>a,N5:()=>o,n$:()=>i,qU:()=>r});const r="system",a="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone},56400(e,t,n){n.d(t,{ZS:()=>u,S3:()=>h,hv:()=>c,wr:()=>d,P6:()=>l});var r=n(91869),a=n(3330),i=n(98623);const o=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var s=n(92647);function l(e,t=!1){return{json:{read:{source:e,reader:(t,n)=>n[e]?u(n[e]):null},write:!!t&&{allowNull:!0,writer(t,n){n[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function u(e,t=i.qU){return e?function(e){return"timeZoneIANA"in e}(e)?e.timeZoneIANA:function(e,t=i.qU){if(!e||!o.has(e.timeZone))return t;const n=o.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?n:function(e){const t=s.c9.local().setZone(e),n=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===n?"Etc/UTC":`Etc/GMT${s.mQ.instance(-n).formatOffset(0,"narrow")}`}(n)}(e,t):t}function c(e,t,n,r,a){if(t&&"date"===a)return{timeZone:i.n$,timeZoneName:void 0};const o=r.hour,s=n===i.L5;return{timeZone:s?"timestamp-offset"===a?void 0:e??i.n$:n,timeZoneName:s&&o?"shortOffset":void 0}}function d(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),n=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===i.qU||e===i.L5||t.has(e.toLowerCase())||n.has(e.toLowerCase())}const f=new Map;function h(e){return e===i.L5?a.GB.instance:e===i.n$||"Etc/UTC"===e?s.mQ.utcInstance:(0,r.tE)(f,e,()=>s.oh.create(e))}},18003(e,t,n){n.r(t),n.d(t,{destroyContext:()=>k,dracoDecompressPointCloudData:()=>v,filterObbsForModifications:()=>E,filterObbsForModificationsSync:()=>B,initialize:()=>F,interpretObbModificationResults:()=>L,process:()=>R,project:()=>N,setLegacySchema:()=>I,setModifications:()=>C,setModificationsSync:()=>O,test:()=>Z,transformNormals:()=>x});var r=n(34727),a=n(77690),i=n(29242),o=n(16930),s=n(4197),l=n(95696),u=n(18251),c=n(73354),d=n(2741);let f;var h=n(35522),m=n(51850),p=n(10614),g=n(63907),y=n(74038);class T{constructor(e,t){this.data=e,this.indices=t}}function S(e,t,n,r,a){return!r||n.some(({name:e})=>"normal"===e||"normalCompressed"===e)?function(e,t,n,r){const a=new T(e.slice().buffer,t);if(r){const e=n[0].stride,t=a.data.byteLength/e;for(const i of n)if("normalCompressed"===i.name){const{offset:n}=i,o=new Int16Array(a.data),s=(0,m.vt)();for(let a=0;a<t;++a)(0,p.Tz)(s,o,a,e/2,n/2),(0,h.ei)(s,s,r),(0,p.aT)(o,a,s[0],s[1],s[2],e/2,n/2)}else if("normal"===i.name){const{offset:n}=i,o=new Float32Array(a.data),s=(0,m.vt)();for(let a=0;a<t;++a){const t=(a*e+n)/4;s[0]=o[t],s[1]=o[t+1],s[2]=o[t+2],(0,h.ei)(s,s,r),o[t]=s[0],o[t+1]=s[1],o[t+2]=s[2]}}}return a}(e,t,n,a):function(e,t,n,r){const a=n[0].stride,i=a/4,o=new Float32Array(e.buffer,e.byteOffset,e.byteLength/4),s=t.length/3,l=e.byteLength/a,{faceNormals:u,faceAreas:c,faceEdges:d,edgeFaces:f,vertexFaces:h,vertexFaceCountAndOffset:m}=function(e,t,n,r,a,i){const o=new Float32Array(3*a),s=new Float32Array(a),l=new Uint32Array(3*a),u=new Int32Array(3*a*2),c=3*a,d=new Uint32Array(c),f=new Uint32Array(2*n);for(let m=0;m<a;++m){const p=3*m;for(let g=0;g<3;++g)++f[2*r[p+g]]}{let y=0;for(let T=0;T<n;++T){const S=2*T;f[S+1]=y,y+=f[S]}for(let M=0;M<a;++M){const A=3*M;for(let b=0;b<3;++b)d[f[2*r[A+b]+1]++]=M}for(let w=0;w<n;++w)f[2*w+1]-=f[2*w]}let h=0;{const _=new Uint32Array(2*c*2),R=new Uint32Array(2*n);for(let E=0;E<n;++E){const C=2*E,I=4*f[C+1];R[C]=I,R[C+1]=I}function v(e,t,n){const r=Math.min(e,t),a=Math.max(e,t),i=e<t?0:1,o=2*r,s=R[o],l=R[o+1];let c=-1;for(let e=s;e<l;e+=2)if(_[e]===a){c=_[e+1];break}return-1===c&&(c=h++,_[l]=a,_[l+1]=c,R[o+1]=l+2,u[2*c+(1-i)]=-1),u[2*c+i]=n,c}for(let N=0;N<r.length;N+=3){const x=r[N],k=x*t,P=e[k],G=e[k+1],O=e[k+2],U=r[N+1],L=U*t,B=e[L],j=e[L+1],D=e[L+2],F=r[N+2],z=F*t,Z=P-B,H=G-j,q=O-D,W=P-e[z],$=G-e[z+1],Y=O-e[z+2],V=H*Y-q*$,K=q*W-Z*Y,J=Z*$-H*W,X=Math.sqrt(V*V+K*K+J*J)||1,Q=N/3;s[Q]=.5*X;const ee=1/X;if(i){const ae=i[0]*V+i[3]*K+i[6]*J,ie=i[1]*V+i[4]*K+i[7]*J,oe=i[2]*V+i[5]*K+i[8]*J;o[3*Q]=ae*ee,o[3*Q+1]=ie*ee,o[3*Q+2]=oe*ee}else o[3*Q]=V*ee,o[3*Q+1]=K*ee,o[3*Q+2]=J*ee;const te=v(x,U,Q),ne=v(U,F,Q),re=v(F,x,Q);l[3*Q]=te,l[3*Q+1]=ne,l[3*Q+2]=re}}return{faceNormals:o,faceAreas:s,faceEdges:l,vertexFaces:d,vertexFaceCountAndOffset:f,edgeFaces:u}}(o,i,l,t,s,r);A(t,s,u,c,d,f);const p=a+4;return n.forEach(e=>e.stride=p),n.push(new y._("normalCompressed",2,g.pe.SHORT,a,p,!0)),M(o,i,s,l,t,a,p,u,c,h,m)}(e,t,n,a)}function M(e,t,n,r,a,i,o,s,l,u,c){const d=3*n,f=new(d<256?Uint8Array:d<65536?Uint16Array:Uint32Array)(a);let h=r;const m=new(r<256?Uint8Array:r<65536?Uint16Array:Uint32Array)(d-r),p=new ArrayBuffer(4*d),g=new Int16Array(p),y=new Uint32Array(p),S=new Uint32Array(e.buffer,e.byteOffset,e.length);let M=0,A=0;const b=new Uint32Array(n);let _=0;const R=1-w;for(let e=0;e<r;++e){M=c[2*e+1],A=M+c[2*e];let t=e;for(;M<A;){{const e=u[--A],n=3*e,r=s[n],a=s[n+1],i=s[n+2];_=0,b[_++]=e;let o=M;for(;o<A;){const e=u[o],t=3*e;if(r*s[t]+a*s[t+1]+i*s[t+2]>R){b[_++]=e;const t=--A;if(o<t){u[o]=u[t];continue}}++o}let c=0,d=0,f=0;if(1===_)c=r,d=a,f=i;else{for(let e=0;e<_;++e){const t=b[e],n=l[t],r=3*t;c+=s[r]*n,d+=s[r+1]*n,f+=s[r+2]*n}const e=Math.sqrt(c*c+d*d+f*f)||1;c/=e,d/=e,f/=e}{const e=1/(Math.abs(c)+Math.abs(d)+Math.abs(f)),n=c*e,r=d*e;let a=n,i=r;f<=0&&(a=(n>=0?1:-1)*(1-Math.abs(r)),i=(r>=0?1:-1)*(1-Math.abs(n)));const o=2*t,s=Math.round(32767*a),l=Math.round(32767*i);g[o]=s<-32767?-32767:s>32767?32767:s,g[o+1]=l<-32767?-32767:l>32767?32767:l}}if(t!==e)for(let n=0;n<_;++n){const r=3*b[n];f[r]===e&&(f[r]=t),f[r+1]===e&&(f[r+1]=t),f[r+2]===e&&(f[r+2]=t)}if(M>=A)break;t=h++,m[t-r]=e}}const v=h,E=o/4,C=new Float32Array(v*E),I=new Uint32Array(C.buffer),N=i/4;for(let e=0;e<r;++e){const n=e*t,r=e*E;for(let e=0;e<t;++e)I[r+e]=S[n+e];I[r+N]=y[e]}for(let e=r;e<v;++e){const n=m[e-r]*t,a=e*E;for(let e=0;e<t;++e)I[a+e]=S[n+e];I[a+N]=y[e]}return new T(C.buffer,f)}function A(e,t,n,r,a,i){const o=new Uint8Array(t),s=new Uint32Array(t),l=new Uint32Array(3*t);let u=0;const c=new Uint32Array(t);let d=0;for(let t=0;t<e.length;t+=3){const e=t/3;if(1===o[e])continue;o[e]=1;const f=n[3*e],h=n[3*e+1],m=n[3*e+2];for(d=0,c[d++]=e,l[0]=a[3*e],l[1]=a[3*e+1],l[2]=a[3*e+2],u=3,s[e]=e+1;u>0;){const t=l[--u];for(let r=0;r<2;++r){const p=i[2*t+r];if(-1===p||s[p]===e+1)continue;s[p]=e+1;const g=n[3*p],y=n[3*p+1],T=n[3*p+2];if(Math.abs(1-(f*g+h*y+m*T))<b){c[d++]=p,o[p]=1;for(let e=0;e<3;++e){const n=a[3*p+e];n!==t&&(l[u++]=n)}}}}if(d>1){let e=0,t=0,a=0,i=0;for(let o=0;o<d;++o){const s=c[o],l=r[s];e+=l,t+=n[3*s]*l,a+=n[3*s+1]*l,i+=n[3*s+2]*l}const o=Math.sqrt(t*t+a*a+i*i)||1;t/=o,a/=o,i/=o;for(let o=0;o<d;++o){const s=c[o];n[3*s]=t,n[3*s+1]=a,n[3*s+2]=i,r[s]=e}}}}const b=.04,w=.8;var _=n(98697);async function R(e){G=await z();const t=[e.geometryBuffer];return{result:U(G,e,t),transferList:t}}async function v(e){G=await z();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=G._malloc(r),i=new Uint8Array(G.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=G.dracoDecompressPointCloudData(a,i.byteLength);if(G._free(a),o.error.length>0)throw new Error(`i3s.wasm: ${o.error}`);const s=o.featureIds?.length>0?o.featureIds.slice():null,l=o.positions.slice();return s&&t.push(s.buffer),t.push(l.buffer),{result:{positions:l,featureIds:s},transferList:t}}async function E(e){await z(),B(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function C(e){await z(),O(e)}async function I(e){G=await z(),G.setLegacySchema(e.context,e.jsonSchema)}async function N(e){const{localMatrix:t,origin:r,positions:a,vertexSpace:i}=e,c=o.A.fromJSON(e.inSpatialReference),d=o.A.fromJSON(e.outSpatialReference),f=t?(0,s.Vj)(t):void 0,h=(0,s.cj)(r);let m;const[{projectBuffer:p},{initializeProjection:g}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await g(c,d);const y=[0,0,0];if(!p(h,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===i.type&&null==i.origin){if(m=new Float64Array(a.length),!p(a,c,0,m,d,0,m.length/3))throw new Error("Failed to project")}else{const e="georeferenced"===i.type?l.A.fromJSON(i):u.default.fromJSON(i),{projectMeshVertexPositions:t}=await Promise.all([n.e(6860),n.e(4406)]).then(n.bind(n,74594)),r=t({vertexAttributes:{position:a},transform:f?{localMatrix:f}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,M,A]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=M,m[e+2]-=A;return{result:{projected:m,original:a,projectedOrigin:y},transferList:[m.buffer,a.buffer]}}async function x({normalMatrix:e,normals:t}){const n=new Float32Array(t.length);return(0,c.b)(n,t,e),(0,r.or)(e)&&(0,c.n)(n,n),{result:{transformed:n,original:t},transferList:[n.buffer,t.buffer]}}function k(e){j(e)}let P,G;function O(e){if(!G)return;const t=e.modifications,n=G._malloc(8*t.length),r=new Float64Array(G.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];G.setModifications(e.context,n,t.length,e.isGeodetic),G._free(n)}function U(e,t,n){const{context:r,globalTrafo:o,mbs:s,obbData:l,layouts:u,needNormals:c,computeNormals:d,elevationOffset:f,geometryBuffer:h,geometryDescriptor:m,indexToVertexProjector:p,vertexToRenderProjector:g,normalReferenceFrame:y}=t,T=e._malloc(h.byteLength),M=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),A=new Uint8Array(e.HEAPU8.buffer,T,h.byteLength);A.set(new Uint8Array(h));const b=new Float64Array(e.HEAPU8.buffer,M,33);D(b,[NaN,NaN,NaN],0);let w=3;D(b,o,w),w+=16,D(b,s.center,w),w+=3,b[w++]=s.radius,l&&D(b,l,w++);const R={isDraco:!1,isLegacy:!1,color:u.some(e=>e.some(e=>"color"===e.name)),normal:c&&u.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:u.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:u.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:m.featureIndex},v=e.process(r,!!l,T,A.byteLength,m,R,M,f,p,g,y);if(e._free(M),e._free(T),v.error.length>0)throw new Error(`i3s.wasm: ${v.error}`);if(v.discarded)return null;const E=v.componentOffsets.length>0?v.componentOffsets.slice():null,C=v.featureIds.length>0?v.featureIds.slice():null,I=v.anchorIds.length>0?Array.from(v.anchorIds):null,N=v.anchors.length>0?Array.from(v.anchors):null,x=1===v.indicesType?new Uint16Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/2).slice():new Uint32Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/4).slice(),k=u[0].slice(),P=(0,a.z0)((0,i.vt)(),o),G=S(v.interleavedVertedData,x,k,d&&!R.normal,P),O=v.positions.slice(),{buffer:U,byteOffset:L,byteLength:B}=v.positionIndices,j=1===v.positionIndicesType?new Uint16Array(U,L,B/2).slice():new Uint32Array(U,L,B/4).slice(),F=new _._b(k,G.data,G.indices,v.hasColors,v.hasModifications,{data:O,indices:j});return C&&n.push(C.buffer),E&&n.push(E.buffer),n.push(G.data),n.push(G.indices.buffer),n.push(O.buffer),n.push(j.buffer),new _.sQ(E,C,I,N,F,o,v.obb)}function L(e){return 0===e?0:1===e?1:2===e?2:3}function B(e){if(!G)return;const{context:t,buffer:n}=e,r=G._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(G.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),G.filterOBBs(t,r,a),o.set(i),G._free(r)}function j(e){0===G?.destroy(e)&&(G=null,P=null,f=null)}function D(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function F(){G||await z()}async function z(){return G||(G=await(P??=(f??=(async()=>{const e=await n.e(2980).then(n.bind(n,82980));return await e.default({locateFile:e=>(0,d.s)(`esri/libs/i3s/${e}`)})})(),f))),G}const Z={transform:(e,t)=>G&&U(G,e,t),destroy:j}},98697(e,t,n){n.d(t,{H1:()=>m,Ir:()=>h,_b:()=>u,sQ:()=>c});var r=n(53966),a=n(15142),i=n(51850),o=n(35982),s=n(91218),l=n(27993);class u{constructor(e,t,n,r,a,i){this.layout=e,this.interleavedVertexData=t,this.indices=n,this.hasColors=r,this.hasModifications=a,this.positionData=i}}class c{constructor(e,t,n,r,a,i,o){this.componentOffsets=e,this.featureIds=t,this.anchorIds=n,this.anchors=r,this.transformedGeometry=a,this.globalTrafo=i,this.obb=o}}o.B;const d=new a.A({deallocator:null}),f=(0,i.vt)();function h(e,t,n){d.clear();let a=1/0,i=1/0,o=-1/0,u=-1/0,c=!1;for(const e of t){const t="clip"===e.type?2:"mask"===e.type?1:0,h=e.geometry;let m=e=>e;if(h.spatialReference){if(!(0,s.canProjectWithoutEngine)(h.spatialReference,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:h});continue}m=e=>((0,l.F)(e,h.spatialReference,f,n),f)}c=c||1===t;const p=h.rings.length,g=h.rings.some(e=>e.length<3);if(0===p||g)r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (no rings or rings with less than 3 vertices).",{polygon:h});else{d.push(t),d.push(p);for(const e of h.rings){d.push(e.length);for(const t of e){const e=m(t);d.push(e[0]),d.push(e[1]),d.push(e[2]??0),a=Math.min(a,e[0]),i=Math.min(i,e[1]),o=Math.max(o,e[0]),u=Math.max(u,e[1])}}}}if(null!=e)if(c){const t=1e-4;d.push(2),d.push(2),d.push(4),d.push(a-t),d.push(i-t),d.push(0),d.push(o+t),d.push(i-t),d.push(0),d.push(o+t),d.push(u+t),d.push(0),d.push(a-t),d.push(u+t),d.push(0),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0)}else d.push(1),d.push(1),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0);d.push(3);const h=new Float64Array(d.length);for(let e=0;e<d.length;++e)h[e]=d.at(e);return h}function m(e,t){let n=0;for(const r of t){const t=r.geometry,a=t.rings.length,i=t.rings.some(e=>e.length<3);if(0!==a&&!i){n+=1,n+=1;for(let r=0;r<t.rings.length;++r){const a=t.rings[r];n+=1;for(let i=0;i<a.length;++i){const a=[e[n+0],e[n+1],e[n+2]];n+=3,t.setPoint(r,i,a)}}}}}},10614(e,t,n){n.d(t,{Tz:()=>o,aT:()=>i});var r=n(34727),a=n(35522);function i(e,t,n,r,a,i=2,o=0){const l=1/(Math.abs(n)+Math.abs(r)+Math.abs(a)),u=n*l,c=r*l,d=a<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=a<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,h=t*i+o;e[h]=s(d),e[h+1]=s(f)}function o(e,t,n,r=2,i=0){const o=n*r+i,s=l(t[o]),u=l(t[o+1]),c=1-Math.abs(s)-Math.abs(u);return e[2]=c,c<0?(e[0]=(s>=0?1:-1)*(1-Math.abs(u)),e[1]=(u>=0?1:-1)*(1-Math.abs(s))):(e[0]=s,e[1]=u),(0,a.S8)(e,e)}function s(e){return(0,r.qE)(Math.round(32767*e),-32767,32767)}function l(e){return(0,r.qE)(e/32767,-1,1)}n(51850)},74038(e,t,n){n.d(t,{_:()=>r});class r{constructor(e,t,n,r,a,i=!1,o=0,s=!1){this.name=e,this.count=t,this.type=n,this.offset=r,this.stride=a,this.normalized=i,this.divisor=o,this.integer=s}}},63907(e,t,n){n.d(t,{$0:()=>f,C5:()=>d,CQ:()=>y,H0:()=>i,SB:()=>l,WR:()=>r,XN:()=>o,iE:()=>s,ld:()=>u,nI:()=>m,pe:()=>a,r6:()=>h,uH:()=>g,vt:()=>c,xL:()=>p});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},a={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},o=Object.values(i),s={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},l={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},u={FLOAT:a.FLOAT,UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:a.BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,SHORT:a.SHORT,UNSIGNED_INT:a.UNSIGNED_INT,INT:a.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},c={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},d=1029,f=0,h=36064,m=33306,p=36096,g=36128,y={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8358],{73354(e,t,n){n.d(t,{a:()=>f,b:()=>l,c:()=>s,d:()=>i,e:()=>h,f:()=>d,l:()=>c,n:()=>m,t:()=>o});var r=n(40876),a=(n(44208),n(72727));function i(e,t,n){o(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function o(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[4],h=n[5],m=n[6],p=n[8],g=n[9],y=n[10],T=n[12],S=n[13],M=n[14];let A=0,b=0;for(let n=0;n<l;n++){const n=t[A],a=t[A+1],o=t[A+2];e[b]=u*n+f*a+p*o+T,e[b+1]=c*n+h*a+g*o+S,e[b+2]=d*n+m*a+y*o+M,A+=i,b+=r}return e}function s(e,t,n){l(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function l(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s),u=n[0],c=n[1],d=n[2],f=n[3],h=n[4],m=n[5],p=n[6],g=n[7],y=n[8];let T=0,S=0;for(let n=0;n<l;n++){const n=t[T],a=t[T+1],o=t[T+2];e[S]=u*n+f*a+p*o,e[S+1]=c*n+h*a+g*o,e[S+2]=d*n+m*a+y*o,T+=i,S+=r}}function u(e,t,n,r=3,a=r){const i=Math.min(e.length/r,t.length/a);let o=0,s=0;for(let l=0;l<i;l++)e[s]=n*t[o],e[s+1]=n*t[o+1],e[s+2]=n*t[o+2],o+=a,s+=r;return e}function c(e,t,n,r){d(e.typedBuffer,t.typedBuffer,n,r,e.typedBufferStride,t.typedBufferStride)}function d(e,t,n,a,i=3,o=i){const s=Math.min(e.length/i,t.length/o);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<s;r++)e[u]=a*(n*t[l])**c,e[u+1]=a*(n*t[l+1])**c,e[u+2]=a*(n*t[l+2])**c,l+=o,u+=i}function f(e,t,n,r=3,i=r){const o=(0,a.k)(e.length,r,3),s=(0,a.k)(t.length,i,3),l=Math.min(o,s);let u=0,c=0;for(let a=0;a<l;a++)e[c]=t[u]+n[0],e[c+1]=t[u+1]+n[1],e[c+2]=t[u+2]+n[2],u+=i,c+=r;return e}function h(e,t){m(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function m(e,t,n=3,r=n){const a=Math.min(e.length/n,t.length/r);let i=0,o=0;for(let s=0;s<a;s++){const a=t[i],s=t[i+1],l=t[i+2],u=a*a+s*s+l*l;if(u>0){const t=1/Math.sqrt(u);e[o]=t*a,e[o+1]=t*s,e[o+2]=t*l}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:d,linearToSRGBView:c,normalize:m,normalizeView:h,scale:u,scaleView:function(e,t,n){u(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)},shiftRight:function(e,t,n){const r=Math.min(e.count,t.count),a=e.typedBuffer,i=e.typedBufferStride,o=t.typedBuffer,s=t.typedBufferStride;let l=0,u=0;for(let e=0;e<r;e++)a[u]=o[l]>>n,a[u+1]=o[l+1]>>n,a[u+2]=o[l+2]>>n,l+=s,u+=i},transformMat3:l,transformMat3View:s,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},40876(e,t,n){n.d(t,{Eq:()=>h,G1:()=>p,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>M});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function a(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...i(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const a=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,o=2*n-i;return[Math.round(255*s(o,i,a+1/3)),Math.round(255*s(o,i,a)),Math.round(255*s(o,i,a-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,a=t?1:17,i=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const s=[0,0,0,1];let l;return i&&(l=o&r,o>>=n,s[3]=a*l/255),l=o&r,o>>=n,s[2]=a*l,l=o&r,o>>=n,s[1]=a*l,l=o&r,o>>=n,s[0]=a*l,s}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),a=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(a+16*a)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?p(e[3]):1,e}function h(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function p(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const T=2.2,S=1/T;function M(e){return e**S}},69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>d});var r=n(5482),a=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),s=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let a=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,s.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,a={},l=new Map;for(const t in n){const o=n[t],s=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[t];let d=null;if("function"==typeof u)d=u(c,e);else if("reference"===u)d=c;else if(d=(0,i.TU)(c,e),null!=c&&null==d)continue;0===s?l.set(t,d):a[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const e=(0,s.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},d=c(a.A)},95488(e,t,n){n.d(t,{I:()=>a});var r=n(11406);class a extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>a,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:a,create:r,fromValues:function(e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p){return[e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,p]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function a(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function s(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function l(){return[0,0,0]}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function d(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>y,Cw:()=>p,JP:()=>g,S:()=>u,Ul:()=>l,Un:()=>m,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>h,vt:()=>r});const h=[0,0,0],m=u(),p=c(),g=d(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:h,clone:a,create:r,freeze:o,fromArray:s,fromValues:i,ones:u,unitX:c,unitY:d,unitZ:f,zeros:l},Symbol.toStringTag,{value:"Module"}))},34304(e,t,n){n.d(t,{DF:()=>l,FD:()=>a,Ov:()=>i,ct:()=>u});let r=1e-6;function a(){return r}const i=Math.random,o=Math.PI/180,s=180/Math.PI;function l(e){return e*o}function u(e){return e*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:a,setEpsilon:function(e){r=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>R,Bw:()=>i,C:()=>o,Cc:()=>v,DI:()=>b,Il:()=>z,Io:()=>T,Ln:()=>y,Om:()=>_,Qr:()=>d,Re:()=>u,S8:()=>w,T9:()=>p,WQ:()=>l,Z0:()=>E,_S:()=>h,aI:()=>O,ei:()=>C,fw:()=>N,g7:()=>x,gL:()=>I,hG:()=>S,hZ:()=>s,hs:()=>g,jb:()=>L,jk:()=>m,lo:()=>F,lw:()=>c,m3:()=>M,oW:()=>U,t2:()=>G,tn:()=>f,uE:()=>Z,xg:()=>D,ze:()=>A});var r=n(51850),a=n(34304);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function s(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function d(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function m(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function p(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function T(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return Math.sqrt(n*n+r*r+a*a)}function S(e,t){const n=t[0]-e[0],r=t[1]-e[1],a=t[2]-e[2];return n*n+r*r+a*a}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function A(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],a=t[2];let i=n*n+r*r+a*a;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function R(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2];return e[0]=a*l-i*s,e[1]=i*o-r*l,e[2]=r*s-a*o,e}function v(e,t,n,r){const a=t[0],i=t[1],o=t[2];return e[0]=a+r*(n[0]-a),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function E(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=n[0]*r+n[4]*a+n[8]*i+n[12],e[1]=n[1]*r+n[5]*a+n[9]*i+n[13],e[2]=n[2]*r+n[6]*a+n[10]*i+n[14],e}function C(e,t,n){const r=t[0],a=t[1],i=t[2];return e[0]=r*n[0]+a*n[3]+i*n[6],e[1]=r*n[1]+a*n[4]+i*n[7],e[2]=r*n[2]+a*n[5]+i*n[8],e}function I(e,t,n){return N(e,t,n[0],n[1],n[2],n[3])}function N(e,t,n,r,a,i){const o=t[0],s=t[1],l=t[2],u=r*l-a*s,c=a*o-n*l,d=n*s-r*o,f=r*d-a*c,h=a*u-n*d,m=n*c-r*u,p=2*i;return e[0]=o+u*p+2*f,e[1]=s+c*p+2*h,e[2]=l+d*p+2*m,e}function x(e,t){w(k,e),w(P,t);const n=_(k,P);return n>1?0:n<-1?Math.PI:Math.acos(n)}const k=(0,r.vt)(),P=(0,r.vt)();function G(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],o=t[0],s=t[1],l=t[2],u=(0,a.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))}function U(e,t,n){const r=n[0]-t[0],a=n[1]-t[1],i=n[2]-t[2];let o=r*r+a*a+i*i;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=a*o,e[2]=i*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,B=c,j=d,D=T,F=S,z=i,Z=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:x,bezier:function(e,t,n,r,a,i){const o=1-i,s=o*o,l=i*i,u=s*o,c=3*i*s,d=3*l*o,f=l*i;return e[0]=t[0]*u+n[0]*c+r[0]*d+a[0]*f,e[1]=t[1]*u+n[1]*c+r[1]*d+a[1]*f,e[2]=t[2]*u+n[2]*c+r[2]*d+a[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:R,crossAndNormalize:function(e,t,n){const r=t[0],a=t[1],i=t[2],o=n[0],s=n[1],l=n[2],u=a*l-i*s,c=i*o-r*l,d=r*s-a*o,f=Math.sqrt(u*u+c*c+d*d);return e[0]=u/f,e[1]=c/f,e[2]=d/f,e},direction:U,dist:D,distance:T,div:j,divide:d,dot:_,equals:O,exactEquals:G,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,a,i){const o=i*i,s=o*(2*i-3)+1,l=o*(i-2)+i,u=o*(i-1),c=o*(3-2*i);return e[0]=t[0]*s+n[0]*l+r[0]*u+a[0]*c,e[1]=t[1]*s+n[1]*l+r[1]*u+a[1]*c,e[2]=t[2]*s+n[2]*l+r[2]*u+a[2]*c,e},inverse:b,len:z,length:i,lerp:v,max:p,min:m,mul:B,multiply:c,negate:A,normalize:w,random:function(e,t=1){const n=a.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=i*t,e},rotateX:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0],i[1]=a[1]*Math.cos(r)-a[2]*Math.sin(r),i[2]=a[1]*Math.sin(r)+a[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[2]*Math.sin(r)+a[0]*Math.cos(r),i[1]=a[1],i[2]=a[2]*Math.cos(r)-a[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const a=[],i=[];return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],i[0]=a[0]*Math.cos(r)-a[1]*Math.sin(r),i[1]=a[0]*Math.sin(r)+a[1]*Math.cos(r),i[2]=a[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:s,sign:h,sqrDist:F,sqrLen:Z,squaredDistance:S,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:C,transformMat4:E,transformQuat:I,transformQuatValues:N},Symbol.toStringTag,{value:"Module"}))},3330(e,t,n){n.d(t,{GB:()=>a,Qo:()=>o,Y4:()=>i});var r=n(92647);class a{static{this.instance=r.mQ.parseSpecifier("UTC")}}function i(e){return e instanceof r.bo?e===a.instance:"unknown"===e?.toString().toLowerCase()}function o(e){return i(e)?a.instance:e}},83027(e,t,n){n.d(t,{h:()=>r});const r=n(29953).ho},35982(e,t,n){n.d(t,{B:()=>c});var r=n(4576),a=n(71511),i=n(36563),o=n(53966),s=n(97768),l=n(17676),u=n(83027);class c{constructor(e,t,n,r,a={}){this._mainMethod=t,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(e,{...a,schedule:r}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{a.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>o.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const n=new d(e,t);return this._listeners.push(n),this._connectListener(n),(0,i.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,s.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,n){return this.invokeMethod(this._mainMethod,e,t,n)}invokeMethod(e,t,n,r){if(this._thread){const a=this._transferLists[e],i=a?a(t):[];return this._thread.invoke(e,t,{transferList:i,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,l.Te)(n),this.invokeMethod(e,t,n))):Promise.reject((0,l.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(f):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,l.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class d{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new a.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function f(){}},91075(e,t,n){n.d(t,{A:()=>l});var r=n(5482),a=n(25482),i=n(91429),o=n(16930),s=n(36005);let l=class extends a.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,s.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},86738(e,t,n){n.d(t,{A:()=>S});var r=n(5482),a=n(69622),i=n(53966),o=n(91429),s=n(56507),l=n(91075),u=n(16930),c=n(21325),d=n(28735);function f({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,d.tD)(e,t,r);if((0,c.EA)(n))return r[0]=e,r[1]=t,r}return null}const h=[0,0];var m,p=n(43937),g=n(36005);const y=[0,0];function T(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let S=m=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",a.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,a){let o;if(Array.isArray(e))o=e,a=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(a=o.spatialReference)&&"esri.geometry.SpatialReference"!==a.declaredClass&&(a=new u.A(a)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&a?.isWebMercator){const n=(0,d.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else T(n)?(a=n,n=null):T(r)&&(a=r,r=null);const s={x:e,y:t};return null==s.x&&null!=s.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==s.y&&null!=s.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=a&&(s.spatialReference=a),null!=n&&(s.z=n),null!=r&&(s.m=r),s}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return f(this,h)?.[1]??null}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,d.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return f(this,h)?.[0]??null}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,d.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new m;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return m.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:a,spatialReference:i}=this,{z:o,m:s}=e;let{x:l,y:u,spatialReference:c}=e;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,u]=(0,d.je)(l,u),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,d.tD)(l,u),c=i}return t===l&&n===u&&r===o&&a===s&&i.wkid===c.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,a=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/a),t-=i*a):t<n&&(i=Math.ceil(Math.abs(t-n)/a),t+=i*a),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,a=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+a*a)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],S.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,s.GB)(e))],S.prototype,"x",void 0),(0,r.Cg)([(0,p.K)("x")],S.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],S.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],S.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],S.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],S.prototype,"m",void 0),S=m=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],S),S.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,n){n.d(t,{H:()=>i,f:()=>a});var r=n(49186);function a(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(a)}},159(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(99157);let u=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,a.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429);let l=r=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,a.Cg)([(0,s.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,a.Cg)([(0,s.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,a.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>a});var r=n(49208);function a(e,t,n,a,i,o,s=Math.floor(e.length/3)){const l=(0,r.jd)(t,i);if(null==l)return!1;if(l===r.pO){if(e===a&&n===o)return!0;const t=n+3*s;for(let r=n,i=o;r<t;r++,i++)a[i]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=o;t<u;t+=3,r+=3)l(e,t,a,r);return!0}},65806(e,t,n){n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n,r){if((0,a.canProjectWithoutEngine)(e.spatialReference,n))return s[0]=e.x,s[1]=e.y,s[2]=e.z??0,(0,i.projectBuffer)(s,e.spatialReference,0,t,n,0);const o=(0,a.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const s=(0,r.vt)()},27993(e,t,n){n.d(t,{F:()=>s});var r=n(91218),a=n(16930),i=n(9762),o=n(65806);function s(e,t,n,a){return!(null==t||null==a||e.length<2)&&((0,r.canProjectWithoutEngine)(t,a)?(0,i.projectBuffer)(e,t,0,n,a,0,1):(l.x=e[0],l.y=e[1],l.z=e[2],l.spatialReference=t,(0,o.g)(l,n,a)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:a.A.WGS84,type:"point"}},49208(e,t,n){n.d(t,{Tp:()=>d,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),a=n(86211),i=n(73941),o=n(79258),s=n(34403),l=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},5:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:p,11:g,2:h,4:v},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:S,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){const a=e[t]/k,i=x-2*Math.atan(Math.exp(-e[t+1]/k)),o=k+(e[t+2]??0),s=Math.cos(i)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:h,11:function(e,t,n,r){m(e,t,n,r),g(n,r,n,r)},2:m,4:function(e,t,n,r){m(e,t,n,r),v(n,r,n,r)}},4:{5:E,7:null,9:null,10:E,1:function(e,t,n,r){E(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){E(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){E(e,t,n,r),g(n,r,n,r)},2:E,4:h},1:{5:R,7:null,9:null,10:R,1:h,6:null,8:null,0:null,3:function(e,t,n,r){R(e,t,n,r),p(n,r,n,r)},11:function(e,t,n,r){R(e,t,n,r),g(n,r,n,r)},2:R,4:function(e,t,n,r){R(e,t,n,r),v(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:A,6:M,8:S,0:null,3:p,11:g,2:h,4:v},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),p(n,r,n,r)},11:h,2:y,4:function(e,t,n,r){y(e,t,n,r),v(n,r,n,r)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(C.source.spatialReference===e&&C.dest.spatialReference===t)return C;const n=f(e,C.source),r=f(t,C.dest);return 0===n&&0===r?(0,l.aI)(e,t)?C.projector=h:C.projector=null:C.projector=u[n][r],C}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,a.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function m(e,t,n,r){n[r]=N*(e[t]/k),n[r+1]=N*(x-2*Math.atan(Math.exp(-e[t+1]/k))),n[r+2]=e[t+2]??0}function p(e,t,n,a){!function(e,t,n,a,i){const o=.4999999*Math.PI,s=(0,r.qE)(I*e[t+1],-o,o),l=Math.sin(s);n[a++]=I*e[t]*i.radius,n[a++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[a]=e[t+2]??0}(e,t,n,a,o.$O)}function g(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function T(e,t,n,r,a){const i=a+(e[t+2]??0),o=I*e[t],s=I*e[t+1],l=Math.cos(s)*i;n[r]=Math.cos(o)*l,n[r+1]=Math.sin(o)*l,n[r+2]=Math.sin(s)*i}function S(e,t,n,r){T(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){T(e,t,n,r,o.sH.radius)}function A(e,t,n,r){T(e,t,n,r,o.$O.radius)}function b(e,t,n,a,i){const o=e[t],s=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),d=Math.atan2(s,o);n[a++]=N*d,n[a++]=N*c,n[a]=u-i}function w(e,t,n,r){b(e,t,n,r,o.Sw.radius)}function _(e,t,n,r){b(e,t,n,r,o.sH.radius)}function R(e,t,n,r){b(e,t,n,r,o.$O.radius)}function v(e,t,n,r){!function(e,t,n,r,a){const i=I*e[t],o=I*e[t+1],s=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);n[r++]=(c+s)*u*Math.cos(i),n[r++]=(c+s)*u*Math.sin(i),n[r++]=(c*(1-a.eccentricitySquared)+s)*l}(e,t,n,r,o.$O)}function E(e,t,n,r){const a=s.TP,i=e[t],l=e[t+1],u=e[t+2]??0;let c,d,f,h,m,p,g,y,T,S,M,A,b,w,_,R,v,E,C,I,x;c=Math.abs(u),d=i*i+l*l,f=Math.sqrt(d),h=d+u*u,m=Math.sqrt(h),I=Math.atan2(l,i),p=u*u/h,g=d/h,w=a.a2/m,_=a.a3-a.a4/m,g>.3?(y=c/m*(1+g*(a.a1+w+p*_)/m),C=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=f/m*(1-p*(a.a5-w-g*_)/m),C=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),M=1-o.$O.eccentricitySquared*S,A=o.$O.radius/Math.sqrt(M),b=a.a6*A,w=f-A*T,_=c-b*y,v=T*w+y*_,R=T*_-y*w,E=R/(b/M+v),C+=E,x=v+R*E/2,u<0&&(C=-C),n[r++]=N*I,n[r++]=N*C,n[r]=x}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},I=(0,r.kU)(1),N=(0,r.KJ)(1),x=.5*Math.PI,k=o.$O.radius,P=k*Math.PI/180,G=180/(k*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>Y,isEqualBaseGCS:()=>$,isLoaded:()=>k,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>G,load:()=>U,project:()=>L,projectAsync:()=>q,projectExtent:()=>ae,projectMany:()=>B,projectMultipoint:()=>X,projectOrLoad:()=>D,projectOrLoadMany:()=>F,projectPoint:()=>K,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>V,requiresLoad:()=>O,test:()=>H,tryProject:()=>j,unload:()=>Z});var r=n(49186),a=n(17676),i=n(62788),o=n(95488),s=n(51850),l=n(21276),u=n(73941),c=n(5443),d=n(91075),f=n(48526),h=n(86738),m=n(39829),p=n(82799),g=n(16930),y=n(98764),T=n(159),S=n(9762),M=n(49208);function A(e,t,n,r,a,i){return b[0]=e,b[1]=t,b[2]=n,(0,S.projectBuffer)(b,r,0,a,i,0)}const b=(0,s.vt)();var w=n(60408),_=n(21325),R=n(52006);let v=null,E=null,C=null,I=null,N={};const x=new o.I;function k(){return!!(E?.isLoaded()&&C?.isLoaded()&&I?.isLoaded())}function P(){return!!k()||((0,i.gc)(x),U(),!1)}function G(e,t){return!e||!t||W(e,t)||P()}function O(e,t){return!W(e,t)&&!k()}async function U(e){null==v&&(v=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(E=e,E.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(C=e,C.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(I=e,I.load()))])),await v,(0,a.Te)(e),x.notify()}function L(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),B(e,e[0].spatialReference,t,n)):((0,l.f)(e),B([e],e.spatialReference,t,n)[0])}function B(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>V(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return B(e.map(e=>V(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return B(e,t,g.A.WGS84).map(e=>V(e,g.A.WGS84,n));if(!k())throw new z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:I.getTransformation(t,n,r.areaOfInterestExtent)||new T.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let a=N[e];a||(a=I.getTransformation(t,n)||new T.A,N[e]=a),r={geographicTransformation:a,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?E.executeMany(e,n,r):C.executeMany(e,n,r)}function j(e,t,n){try{return L(e,t,n)}catch(e){return null}}function D(e,t){const n=F([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function F(e,t,n){if(!k())for(const n of e)if(null!=n&&!(0,_.aI)(n.spatialReference,t)&&(0,_.fn)(n.spatialReference)&&(0,_.fn)(t)&&!W(n.spatialReference,t))return(0,i.gc)(x),{pending:U(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,_.aI)(e.spatialReference,t)?e:(0,_.fn)(e.spatialReference)&&(0,_.fn)(t)?L(e,t,n):null)}}class z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Z(){v=null,E=null,C=null,I=null,N={}}const H={get loadPromise(){return v}};async function q(e,t,n){if((0,a.Te)(n),!e)return e;const r=F(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,a.Te)(n),q(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,_.aI)(e,t)||(0,_.fn)(e)&&(0,_.fn)(t)&&!!(0,M.jd)(e,t))}function $(e,t){if((0,_.aI)(e,t))return!0;if(!(0,_.fn)(e)||!(0,_.fn)(t))return!1;const n=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e),r=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t);return n&&r}async function Y(e,t,n,r){if(k())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!W(t,n,a))return U(r)}else if(e&&t&&!W(e,t,n))return U(r);return(0,a.NO)(r)}function V(e,t,n){return e?(0,w.fT)(e)?J(e,t,new h.A,n,0):(0,w.ZC)(e)?ie(e,t,new c.A,n,0):(0,w.Bi)(e)?re(e,t,new m.A,n,0):(0,w.Rg)(e)?te(e,t,new p.A,n,0):(0,w.U9)(e)?Q(e,t,new f.A,n,0):null:null}function K(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,n,r)}function J(e,t,n,r,a){ue[0]=e.x,ue[1]=e.y;const i=e.z;return ue[2]=void 0!==i?i:a,(0,S.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,a){const{points:i,hasZ:o,hasM:s}=e,l=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],o?e[2]:a);if(!(0,S.projectBuffer)(c,t,0,c,r,0,u))return null;const d=le(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];d&&s?l.push([n,r,c[t+2],i[e][3]]):d?l.push([n,r,c[t+2]]):s?l.push([n,r,i[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=o,n.hasM=s,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,a){const{curvePaths:i,paths:o,hasZ:s,hasM:l}=e;if(!(i?se(i,s??!1,l??!1,t,n.curvePaths=[],r,a):oe(o,s??!1,l??!1,t,n.paths,r,a)))return null;const u=le(s,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,a){const{curveRings:i,rings:o,hasZ:s,hasM:l}=e;return(i?se(i,s??!1,l??!1,t,n.curveRings=[],r,a):oe(o,s??!1,l??!1,t,n.rings,r,a))?(n.spatialReference=r,n.hasZ=le(s,r),n.hasM=l,n):null}function ae(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:u,hasM:c}=e;if(!A(i,o,u?e.zmin:a,t,ue,r))return null;const d=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],d&&(n.zmin=ue[2]),A(s,l,u?e.zmax:a,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],d&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:o);if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}a.push(e)}return!0}function se(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n){if((0,R.FG)(e))return!1;if((0,R.aO)(e)){const[n,r]=e.c;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,R.n1)(e)){const[n,r,a]=e.b;s.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,a[0],a[1],o);continue}const n=e;s.push(n[0],n[1],t?n[2]:o)}if(!(0,S.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const u=t?3:2,c=le(t,i);for(const t of e){const e=new Array;for(const r of t){const t=s.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,R.yP)(r)[u]),(0,R.FG)(r))return!1;if((0,R.aO)(r)){const n=s[l++],r=s[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,R.n1)(r)){const n=s[l++],r=s[l++];++l;const a=s[l++],i=s[l++];++l,e.push({b:[t,[n,r],[a,i]]});continue}e.push(t)}a.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,_.aI)(t,y.Y0)}const ue=(0,s.vt)()},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),a=n(16930),i=n(21325);const o=new a.A(r.fv),s=new a.A(r.FY),l=new a.A(r.LJ),u=new a.A(r.Ro);function c(e){const t=d.get(e);if(t)return t;let n=o;if(e)if(e===s)n=s;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?n=s:((0,i.ZL)(t)||(0,i.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=s:e===h&&(n=l)}}}return d.set(e,n),n}const d=new Map,f=s.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>l,cj:()=>s,jh:()=>i,l5:()=>o});var r=n(34275),a=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function s(e){return[...e]}function l(e){const t=(0,a.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},95696(e,t,n){n.d(t,{A:()=>u});var r,a=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(93223);let u=class extends((0,i.OU)(o.o)){static{r=this}constructor(e){super(e),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,a.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,a.Cg)([(0,s.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(e,t,n){n.r(t),n.d(t,{default:()=>u});var r=n(5482),a=n(69540),i=n(25482),o=n(91429),s=n(51850),l=n(93223);let u=class extends((0,a.OU)(i.o)){constructor(e){super(e),this.type="local",this.origin=(0,s.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},72727(e,t,n){function r(e,t,n){if(t<=0)return 0;const r=e-n;return r<0?0:Math.floor(r/t)+1}n.d(t,{k:()=>r}),n(53966)},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const a=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:a*i,a2:a*i*a*i,a3:a*i*i/2,a4:a*i*a*i*2.5,a5:a*i+a*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function a(e){return void 0!==e.points}function i(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function s(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?i(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":s(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":a(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>s,Pv:()=>c,Rg:()=>o,U9:()=>a,W0:()=>d,ZC:()=>r,fT:()=>i,uW:()=>l})},28735(e,t,n){n.d(t,{Cv:()=>g,Gh:()=>S,ci:()=>M,je:()=>y,jg:()=>d,tD:()=>T,y7:()=>p,yw:()=>c});var r=n(4718),a=n(21276),i=n(16930),o=n(79258),s=n(21325);function l(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return e/o.$O.radius}function d(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const h=[0,0];function m(e,t,n,r,a){const i=e,o=a;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,h,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,h,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,h,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let a;for(let i=0;i<e.length;i++){const o=e[i];a=[],n.push(a);for(let e=0;e<o.length;e++)a.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&a[e].push(o[e][2]),o[e].length>3&&a[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let a=0;a<e.length;a++)n[a]=t(e[a][0],e[a][1],[0,0],r),e[a].length>2&&n[a].push(e[a][2]),e[a].length>3&&n[a].push(e[a][3]);o.points=n}return a}function p(e,t){const n=e&&(f(e)?e:e.spatialReference),r=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,s.aI)(r,n)||(0,s.K8)(r)&&(0,s.oT)(n)||(0,s.K8)(n)&&(0,s.oT)(r))}function g(e,t){if(null==e)return null;const n=e.spatialReference,a=t&&(f(t)?t:t.spatialReference);return p(n,a)?(0,s.aI)(n,a)?(0,r.o8)(e):(0,s.K8)(a)?m(e,y,i.A.WebMercator,!1,(0,r.o8)(e)):(0,s.oT)(a)?m(e,T,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function y(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=u(t);return n[0]=u(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function T(e,t,n=[0,0],r=!1){if(e===s.Mc[0])n[0]=-180;else if(e===s.Mc[1])n[0]=180;else{const t=l(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function S(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),m(e,y,i.A.WebMercator,t,n)}function M(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),m(e,T,i.A.WGS84,t,n)}},97770(e,t,n){n.d(t,{Ey:()=>k,F8:()=>x,J2:()=>E,Yq:()=>I,_m:()=>C,_v:()=>M,iS:()=>N,wj:()=>P});var r=n(66552),a=n(73444),i=n(98623),o=(n(56400),n(92647));const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},g={hourCycle:"h23"},y={...m,...g},T={...p,...g},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...p},"short-date-long-time-24":{...c,...T},"short-date-le":c,"short-date-le-short-time":{...c,...m},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...p},"short-date-le-long-time-24":{...c,...T},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...m},"day-short-month-year-short-time-24":{...f,...y},"day-short-month-year-long-time":{...f,...p},"day-short-month-year-long-time-24":{...f,...T},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...y},"long-date-long-time":{...h,...p},"long-date-long-time-24":{...h,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},M=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),A={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},b=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),w=b.find(({type:e})=>"month"===e)?.value.toLowerCase();function _(){const e=(0,a.lR)();return(e&&A[e])??(0,a.QC)()}"mart"!==w&&(A.bs="sr-Latn-CS");let R=new WeakMap;const v=S["short-date-short-time"];function E(e){return S[e]}function C(e){const{dateStyle:t,timeStyle:n,hour12:r,year:a,month:i}=e,o={};return t?o.dateStyle=t:a&&(o.year=a,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function I(e,t=v){return function(e){let t=R.get(e);if(!t){const n=_(),r=P(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),R.set(e,t)}return t}(t).format(e)}function N(e,t=v){return I(new Date(e),{...t,...u,...l})}function x(e,t=v){return I(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function k(e,t=v){const n=o.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return I(n.toJSDate(),t);const r=0===n.offset?i.n$:t.timeZone,a={...t,timeZone:r};return n.toLocaleString(a,{locale:_()})}function P(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}(0,a.Ml)(()=>{R=new WeakMap})},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function d(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const h=[];function m(e){return h.push(e),(0,r.hA)(()=>{h.splice(h.indexOf(e),1)})}new Map;const p=[];function g(e){return p.push(e),(0,r.hA)(()=>p.splice(p.indexOf(e),1))}function y(){const e=s();a!==e&&([...p].forEach(t=>t(e)),a=e,[...h].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),o&&new MutationObserver(()=>{y()}).observe(o,{attributeFilter:["lang"]})},98623(e,t,n){n.d(t,{L5:()=>a,N5:()=>o,n$:()=>i,qU:()=>r});const r="system",a="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone},56400(e,t,n){n.d(t,{ZS:()=>u,S3:()=>h,hv:()=>c,wr:()=>d,P6:()=>l});var r=n(91869),a=n(3330),i=n(98623);const o=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var s=n(92647);function l(e,t=!1){return{json:{read:{source:e,reader:(t,n)=>n[e]?u(n[e]):null},write:!!t&&{allowNull:!0,writer(t,n){n[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function u(e,t=i.qU){return e?function(e){return"timeZoneIANA"in e}(e)?e.timeZoneIANA:function(e,t=i.qU){if(!e||!o.has(e.timeZone))return t;const n=o.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?n:function(e){const t=s.c9.local().setZone(e),n=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===n?"Etc/UTC":`Etc/GMT${s.mQ.instance(-n).formatOffset(0,"narrow")}`}(n)}(e,t):t}function c(e,t,n,r,a){if(t&&"date"===a)return{timeZone:i.n$,timeZoneName:void 0};const o=r.hour,s=n===i.L5;return{timeZone:s?"timestamp-offset"===a?void 0:e??i.n$:n,timeZoneName:s&&o?"shortOffset":void 0}}function d(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),n=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===i.qU||e===i.L5||t.has(e.toLowerCase())||n.has(e.toLowerCase())}const f=new Map;function h(e){return e===i.L5?a.GB.instance:e===i.n$||"Etc/UTC"===e?s.mQ.utcInstance:(0,r.tE)(f,e,()=>s.oh.create(e))}},18003(e,t,n){n.r(t),n.d(t,{destroyContext:()=>k,dracoDecompressPointCloudData:()=>v,filterObbsForModifications:()=>E,filterObbsForModificationsSync:()=>B,initialize:()=>F,interpretObbModificationResults:()=>L,process:()=>R,project:()=>N,setLegacySchema:()=>I,setModifications:()=>C,setModificationsSync:()=>O,test:()=>Z,transformNormals:()=>x});var r=n(34727),a=n(77690),i=n(29242),o=n(16930),s=n(4197),l=n(95696),u=n(18251),c=n(73354),d=n(2741);let f;var h=n(35522),m=n(51850),p=n(10614),g=n(63907),y=n(74038);class T{constructor(e,t){this.data=e,this.indices=t}}function S(e,t,n,r,a){return!r||n.some(({name:e})=>"normal"===e||"normalCompressed"===e)?function(e,t,n,r){const a=new T(e.slice().buffer,t);if(r){const e=n[0].stride,t=a.data.byteLength/e;for(const i of n)if("normalCompressed"===i.name){const{offset:n}=i,o=new Int16Array(a.data),s=(0,m.vt)();for(let a=0;a<t;++a)(0,p.Tz)(s,o,a,e/2,n/2),(0,h.ei)(s,s,r),(0,p.aT)(o,a,s[0],s[1],s[2],e/2,n/2)}else if("normal"===i.name){const{offset:n}=i,o=new Float32Array(a.data),s=(0,m.vt)();for(let a=0;a<t;++a){const t=(a*e+n)/4;s[0]=o[t],s[1]=o[t+1],s[2]=o[t+2],(0,h.ei)(s,s,r),o[t]=s[0],o[t+1]=s[1],o[t+2]=s[2]}}}return a}(e,t,n,a):function(e,t,n,r){const a=n[0].stride,i=a/4,o=new Float32Array(e.buffer,e.byteOffset,e.byteLength/4),s=t.length/3,l=e.byteLength/a,{faceNormals:u,faceAreas:c,faceEdges:d,edgeFaces:f,vertexFaces:h,vertexFaceCountAndOffset:m}=function(e,t,n,r,a,i){const o=new Float32Array(3*a),s=new Float32Array(a),l=new Uint32Array(3*a),u=new Int32Array(3*a*2),c=3*a,d=new Uint32Array(c),f=new Uint32Array(2*n);for(let m=0;m<a;++m){const p=3*m;for(let g=0;g<3;++g)++f[2*r[p+g]]}{let y=0;for(let T=0;T<n;++T){const S=2*T;f[S+1]=y,y+=f[S]}for(let M=0;M<a;++M){const A=3*M;for(let b=0;b<3;++b)d[f[2*r[A+b]+1]++]=M}for(let w=0;w<n;++w)f[2*w+1]-=f[2*w]}let h=0;{const _=new Uint32Array(2*c*2),R=new Uint32Array(2*n);for(let E=0;E<n;++E){const C=2*E,I=4*f[C+1];R[C]=I,R[C+1]=I}function v(e,t,n){const r=Math.min(e,t),a=Math.max(e,t),i=e<t?0:1,o=2*r,s=R[o],l=R[o+1];let c=-1;for(let e=s;e<l;e+=2)if(_[e]===a){c=_[e+1];break}return-1===c&&(c=h++,_[l]=a,_[l+1]=c,R[o+1]=l+2,u[2*c+(1-i)]=-1),u[2*c+i]=n,c}for(let N=0;N<r.length;N+=3){const x=r[N],k=x*t,P=e[k],G=e[k+1],O=e[k+2],U=r[N+1],L=U*t,B=e[L],j=e[L+1],D=e[L+2],F=r[N+2],z=F*t,Z=P-B,H=G-j,q=O-D,W=P-e[z],$=G-e[z+1],Y=O-e[z+2],V=H*Y-q*$,K=q*W-Z*Y,J=Z*$-H*W,X=Math.sqrt(V*V+K*K+J*J)||1,Q=N/3;s[Q]=.5*X;const ee=1/X;if(i){const ae=i[0]*V+i[3]*K+i[6]*J,ie=i[1]*V+i[4]*K+i[7]*J,oe=i[2]*V+i[5]*K+i[8]*J;o[3*Q]=ae*ee,o[3*Q+1]=ie*ee,o[3*Q+2]=oe*ee}else o[3*Q]=V*ee,o[3*Q+1]=K*ee,o[3*Q+2]=J*ee;const te=v(x,U,Q),ne=v(U,F,Q),re=v(F,x,Q);l[3*Q]=te,l[3*Q+1]=ne,l[3*Q+2]=re}}return{faceNormals:o,faceAreas:s,faceEdges:l,vertexFaces:d,vertexFaceCountAndOffset:f,edgeFaces:u}}(o,i,l,t,s,r);A(t,s,u,c,d,f);const p=a+4;return n.forEach(e=>e.stride=p),n.push(new y._("normalCompressed",2,g.pe.SHORT,a,p,!0)),M(o,i,s,l,t,a,p,u,c,h,m)}(e,t,n,a)}function M(e,t,n,r,a,i,o,s,l,u,c){const d=3*n,f=new(d<256?Uint8Array:d<65536?Uint16Array:Uint32Array)(a);let h=r;const m=new(r<256?Uint8Array:r<65536?Uint16Array:Uint32Array)(d-r),p=new ArrayBuffer(4*d),g=new Int16Array(p),y=new Uint32Array(p),S=new Uint32Array(e.buffer,e.byteOffset,e.length);let M=0,A=0;const b=new Uint32Array(n);let _=0;const R=1-w;for(let e=0;e<r;++e){M=c[2*e+1],A=M+c[2*e];let t=e;for(;M<A;){{const e=u[--A],n=3*e,r=s[n],a=s[n+1],i=s[n+2];_=0,b[_++]=e;let o=M;for(;o<A;){const e=u[o],t=3*e;if(r*s[t]+a*s[t+1]+i*s[t+2]>R){b[_++]=e;const t=--A;if(o<t){u[o]=u[t];continue}}++o}let c=0,d=0,f=0;if(1===_)c=r,d=a,f=i;else{for(let e=0;e<_;++e){const t=b[e],n=l[t],r=3*t;c+=s[r]*n,d+=s[r+1]*n,f+=s[r+2]*n}const e=Math.sqrt(c*c+d*d+f*f)||1;c/=e,d/=e,f/=e}{const e=1/(Math.abs(c)+Math.abs(d)+Math.abs(f)),n=c*e,r=d*e;let a=n,i=r;f<=0&&(a=(n>=0?1:-1)*(1-Math.abs(r)),i=(r>=0?1:-1)*(1-Math.abs(n)));const o=2*t,s=Math.round(32767*a),l=Math.round(32767*i);g[o]=s<-32767?-32767:s>32767?32767:s,g[o+1]=l<-32767?-32767:l>32767?32767:l}}if(t!==e)for(let n=0;n<_;++n){const r=3*b[n];f[r]===e&&(f[r]=t),f[r+1]===e&&(f[r+1]=t),f[r+2]===e&&(f[r+2]=t)}if(M>=A)break;t=h++,m[t-r]=e}}const v=h,E=o/4,C=new Float32Array(v*E),I=new Uint32Array(C.buffer),N=i/4;for(let e=0;e<r;++e){const n=e*t,r=e*E;for(let e=0;e<t;++e)I[r+e]=S[n+e];I[r+N]=y[e]}for(let e=r;e<v;++e){const n=m[e-r]*t,a=e*E;for(let e=0;e<t;++e)I[a+e]=S[n+e];I[a+N]=y[e]}return new T(C.buffer,f)}function A(e,t,n,r,a,i){const o=new Uint8Array(t),s=new Uint32Array(t),l=new Uint32Array(3*t);let u=0;const c=new Uint32Array(t);let d=0;for(let t=0;t<e.length;t+=3){const e=t/3;if(1===o[e])continue;o[e]=1;const f=n[3*e],h=n[3*e+1],m=n[3*e+2];for(d=0,c[d++]=e,l[0]=a[3*e],l[1]=a[3*e+1],l[2]=a[3*e+2],u=3,s[e]=e+1;u>0;){const t=l[--u];for(let r=0;r<2;++r){const p=i[2*t+r];if(-1===p||s[p]===e+1)continue;s[p]=e+1;const g=n[3*p],y=n[3*p+1],T=n[3*p+2];if(Math.abs(1-(f*g+h*y+m*T))<b){c[d++]=p,o[p]=1;for(let e=0;e<3;++e){const n=a[3*p+e];n!==t&&(l[u++]=n)}}}}if(d>1){let e=0,t=0,a=0,i=0;for(let o=0;o<d;++o){const s=c[o],l=r[s];e+=l,t+=n[3*s]*l,a+=n[3*s+1]*l,i+=n[3*s+2]*l}const o=Math.sqrt(t*t+a*a+i*i)||1;t/=o,a/=o,i/=o;for(let o=0;o<d;++o){const s=c[o];n[3*s]=t,n[3*s+1]=a,n[3*s+2]=i,r[s]=e}}}}const b=.04,w=.8;var _=n(98697);async function R(e){G=await z();const t=[e.geometryBuffer];return{result:U(G,e,t),transferList:t}}async function v(e){G=await z();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=G._malloc(r),i=new Uint8Array(G.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=G.dracoDecompressPointCloudData(a,i.byteLength);if(G._free(a),o.error.length>0)throw new Error(`i3s.wasm: ${o.error}`);const s=o.featureIds?.length>0?o.featureIds.slice():null,l=o.positions.slice();return s&&t.push(s.buffer),t.push(l.buffer),{result:{positions:l,featureIds:s},transferList:t}}async function E(e){await z(),B(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function C(e){await z(),O(e)}async function I(e){G=await z(),G.setLegacySchema(e.context,e.jsonSchema)}async function N(e){const{localMatrix:t,origin:r,positions:a,vertexSpace:i}=e,c=o.A.fromJSON(e.inSpatialReference),d=o.A.fromJSON(e.outSpatialReference),f=t?(0,s.Vj)(t):void 0,h=(0,s.cj)(r);let m;const[{projectBuffer:p},{initializeProjection:g}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await g(c,d);const y=[0,0,0];if(!p(h,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===i.type&&null==i.origin){if(m=new Float64Array(a.length),!p(a,c,0,m,d,0,m.length/3))throw new Error("Failed to project")}else{const e="georeferenced"===i.type?l.A.fromJSON(i):u.default.fromJSON(i),{projectMeshVertexPositions:t}=await Promise.all([n.e(6860),n.e(4406)]).then(n.bind(n,74594)),r=t({vertexAttributes:{position:a},transform:f?{localMatrix:f}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,M,A]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=M,m[e+2]-=A;return{result:{projected:m,original:a,projectedOrigin:y},transferList:[m.buffer,a.buffer]}}async function x({normalMatrix:e,normals:t}){const n=new Float32Array(t.length);return(0,c.b)(n,t,e),(0,r.or)(e)&&(0,c.n)(n,n),{result:{transformed:n,original:t},transferList:[n.buffer,t.buffer]}}function k(e){j(e)}let P,G;function O(e){if(!G)return;const t=e.modifications,n=G._malloc(8*t.length),r=new Float64Array(G.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];G.setModifications(e.context,n,t.length,e.isGeodetic),G._free(n)}function U(e,t,n){const{context:r,globalTrafo:o,mbs:s,obbData:l,layouts:u,needNormals:c,computeNormals:d,elevationOffset:f,geometryBuffer:h,geometryDescriptor:m,indexToVertexProjector:p,vertexToRenderProjector:g,normalReferenceFrame:y}=t,T=e._malloc(h.byteLength),M=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),A=new Uint8Array(e.HEAPU8.buffer,T,h.byteLength);A.set(new Uint8Array(h));const b=new Float64Array(e.HEAPU8.buffer,M,33);D(b,[NaN,NaN,NaN],0);let w=3;D(b,o,w),w+=16,D(b,s.center,w),w+=3,b[w++]=s.radius,l&&D(b,l,w++);const R={isDraco:!1,isLegacy:!1,color:u.some(e=>e.some(e=>"color"===e.name)),normal:c&&u.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:u.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:u.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:m.featureIndex},v=e.process(r,!!l,T,A.byteLength,m,R,M,f,p,g,y);if(e._free(M),e._free(T),v.error.length>0)throw new Error(`i3s.wasm: ${v.error}`);if(v.discarded)return null;const E=v.componentOffsets.length>0?v.componentOffsets.slice():null,C=v.featureIds.length>0?v.featureIds.slice():null,I=v.anchorIds.length>0?Array.from(v.anchorIds):null,N=v.anchors.length>0?Array.from(v.anchors):null,x=1===v.indicesType?new Uint16Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/2).slice():new Uint32Array(v.indices.buffer,v.indices.byteOffset,v.indices.byteLength/4).slice(),k=u[0].slice(),P=(0,a.z0)((0,i.vt)(),o),G=S(v.interleavedVertedData,x,k,d&&!R.normal,P),O=v.positions.slice(),{buffer:U,byteOffset:L,byteLength:B}=v.positionIndices,j=1===v.positionIndicesType?new Uint16Array(U,L,B/2).slice():new Uint32Array(U,L,B/4).slice(),F=new _._b(k,G.data,G.indices,v.hasColors,v.hasModifications,{data:O,indices:j});return C&&n.push(C.buffer),E&&n.push(E.buffer),n.push(G.data),n.push(G.indices.buffer),n.push(O.buffer),n.push(j.buffer),new _.sQ(E,C,I,N,F,o,v.obb)}function L(e){return 0===e?0:1===e?1:2===e?2:3}function B(e){if(!G)return;const{context:t,buffer:n}=e,r=G._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(G.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),G.filterOBBs(t,r,a),o.set(i),G._free(r)}function j(e){0===G?.destroy(e)&&(G=null,P=null,f=null)}function D(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function F(){G||await z()}async function z(){return G||(G=await(P??=(f??=(async()=>{const e=await n.e(2980).then(n.bind(n,82980));return await e.default({locateFile:e=>(0,d.s)(`esri/libs/i3s/${e}`)})})(),f))),G}const Z={transform:(e,t)=>G&&U(G,e,t),destroy:j}},98697(e,t,n){n.d(t,{H1:()=>m,Ir:()=>h,_b:()=>u,sQ:()=>c});var r=n(53966),a=n(15142),i=n(51850),o=n(35982),s=n(91218),l=n(27993);class u{constructor(e,t,n,r,a,i){this.layout=e,this.interleavedVertexData=t,this.indices=n,this.hasColors=r,this.hasModifications=a,this.positionData=i}}class c{constructor(e,t,n,r,a,i,o){this.componentOffsets=e,this.featureIds=t,this.anchorIds=n,this.anchors=r,this.transformedGeometry=a,this.globalTrafo=i,this.obb=o}}o.B;const d=new a.A({deallocator:null}),f=(0,i.vt)();function h(e,t,n){d.clear();let a=1/0,i=1/0,o=-1/0,u=-1/0,c=!1;for(const e of t){const t="clip"===e.type?2:"mask"===e.type?1:0,h=e.geometry;let m=e=>e;if(h.spatialReference){if(!(0,s.canProjectWithoutEngine)(h.spatialReference,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:h});continue}m=e=>((0,l.F)(e,h.spatialReference,f,n),f)}c=c||1===t;const p=h.rings.length,g=h.rings.some(e=>e.length<3);if(0===p||g)r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (no rings or rings with less than 3 vertices).",{polygon:h});else{d.push(t),d.push(p);for(const e of h.rings){d.push(e.length);for(const t of e){const e=m(t);d.push(e[0]),d.push(e[1]),d.push(e[2]??0),a=Math.min(a,e[0]),i=Math.min(i,e[1]),o=Math.max(o,e[0]),u=Math.max(u,e[1])}}}}if(null!=e)if(c){const t=1e-4;d.push(2),d.push(2),d.push(4),d.push(a-t),d.push(i-t),d.push(0),d.push(o+t),d.push(i-t),d.push(0),d.push(o+t),d.push(u+t),d.push(0),d.push(a-t),d.push(u+t),d.push(0),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0)}else d.push(1),d.push(1),d.push(4),d.push(e[0]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[1]),d.push(0),d.push(e[2]),d.push(e[3]),d.push(0),d.push(e[0]),d.push(e[3]),d.push(0);d.push(3);const h=new Float64Array(d.length);for(let e=0;e<d.length;++e)h[e]=d.at(e);return h}function m(e,t){let n=0;for(const r of t){const t=r.geometry,a=t.rings.length,i=t.rings.some(e=>e.length<3);if(0!==a&&!i){n+=1,n+=1;for(let r=0;r<t.rings.length;++r){const a=t.rings[r];n+=1;for(let i=0;i<a.length;++i){const a=[e[n+0],e[n+1],e[n+2]];n+=3,t.setPoint(r,i,a)}}}}}},10614(e,t,n){n.d(t,{Tz:()=>o,aT:()=>i});var r=n(34727),a=n(35522);function i(e,t,n,r,a,i=2,o=0){const l=1/(Math.abs(n)+Math.abs(r)+Math.abs(a)),u=n*l,c=r*l,d=a<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=a<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,h=t*i+o;e[h]=s(d),e[h+1]=s(f)}function o(e,t,n,r=2,i=0){const o=n*r+i,s=l(t[o]),u=l(t[o+1]),c=1-Math.abs(s)-Math.abs(u);return e[2]=c,c<0?(e[0]=(s>=0?1:-1)*(1-Math.abs(u)),e[1]=(u>=0?1:-1)*(1-Math.abs(s))):(e[0]=s,e[1]=u),(0,a.S8)(e,e)}function s(e){return(0,r.qE)(Math.round(32767*e),-32767,32767)}function l(e){return(0,r.qE)(e/32767,-1,1)}n(51850)},74038(e,t,n){n.d(t,{_:()=>r});class r{constructor(e,t,n,r,a,i=!1,o=0,s=!1){this.name=e,this.count=t,this.type=n,this.offset=r,this.stride=a,this.normalized=i,this.divisor=o,this.integer=s}}},63907(e,t,n){n.d(t,{$0:()=>f,C5:()=>d,CQ:()=>T,H0:()=>i,SB:()=>l,WR:()=>r,XN:()=>o,iE:()=>s,ld:()=>u,nI:()=>p,pe:()=>a,r6:()=>h,uH:()=>y,vt:()=>c,xL:()=>g,yI:()=>m});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},a={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},o=Object.values(i),s={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},l={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},u={FLOAT:a.FLOAT,UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:a.BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,SHORT:a.SHORT,UNSIGNED_INT:a.UNSIGNED_INT,INT:a.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},c={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},d=1029,f=0,h=36064,m=36065,p=33306,g=36096,y=36128,T={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}}}]);
|