@arcgis/core 5.1.0-next.72 → 5.1.0-next.73
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{b801631b58e6fc6cec8a.js → 0ae360bf253adee46737.js} +1 -1
- 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/{7e6ccf9f3e756186e93e.js → 29e76256e3e867e80520.js} +1 -1
- package/assets/esri/core/workers/chunks/{bea70be8e38b8c83ccd2.js → 30f04dc001eaf838d64c.js} +1 -1
- package/assets/esri/core/workers/chunks/{628f56c09838eb9c573b.js → 422824e407b550170c8c.js} +1 -1
- package/assets/esri/core/workers/chunks/{68b47a5a50e0b5fffca2.js → 5c663d5f98bdfa29151b.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae0a572cbbdd9815ee2e.js → 62b3e933f548ce354b99.js} +1 -1
- package/assets/esri/core/workers/chunks/{6f9ea461c268c421f9c9.js → 7951d93f5f15aa76f49c.js} +1 -1
- package/assets/esri/core/workers/chunks/{b79058f5bda6fcac22f8.js → 80ace1c7203c5059525d.js} +1 -1
- package/assets/esri/core/workers/chunks/{b92794def31592a6a25f.js → 8d75f6f27c1c17c33992.js} +1 -1
- package/assets/esri/core/workers/chunks/95d82c619dcbec2e1050.js +1 -0
- package/assets/esri/core/workers/chunks/9eb4ae556950e1d0124d.js +2 -0
- package/assets/esri/core/workers/chunks/{02876e434dc91c42b2f4.js → a78bc340a794fd332667.js} +1 -1
- package/assets/esri/core/workers/chunks/{1edd39c7c4acdc591d10.js → a809b811121099a87a98.js} +1 -1
- package/assets/esri/core/workers/chunks/abdf146b35e179b5b245.js +1 -0
- package/assets/esri/core/workers/chunks/{d2aa75816e84b1e7fd25.js → afc0baf86ece710ef867.js} +1 -1
- package/assets/esri/core/workers/chunks/b6cadb8a579241adcb86.js +1 -0
- package/assets/esri/core/workers/chunks/{3cd9bd20e75ba4d5b294.js → b9848bdbaf3d9ac93d54.js} +1 -1
- package/assets/esri/core/workers/chunks/{b475f5492c6e3fd4cca8.js → bef27a25fbc4a6e19ec0.js} +1 -1
- package/assets/esri/core/workers/chunks/{a65d576e90179a2b5400.js → c5507480344176fad241.js} +1 -1
- package/assets/esri/core/workers/chunks/c70df6ed190f9ebcf6aa.js +1 -0
- package/assets/esri/core/workers/chunks/cd7159600ce132e32d04.js +1 -0
- package/assets/esri/core/workers/chunks/{dec6d41d614105e6fd93.js → cfe246adb5e6cb6f0cfc.js} +1 -1
- package/assets/esri/core/workers/chunks/{91a0227a64a944af3286.js → d17fcfc502f0e0fa6523.js} +2 -2
- package/assets/esri/core/workers/chunks/d65b1234867f7d773d50.js +2 -0
- package/assets/esri/core/workers/chunks/{aa1a3a849aba84cf585b.js → e1bc9ad767e08dc18bbc.js} +1 -1
- package/assets/esri/core/workers/chunks/e25a684eb9f025bdcc01.js +1 -0
- package/assets/esri/core/workers/chunks/e272411e2c9378aa8496.js +1312 -0
- package/assets/esri/core/workers/chunks/{0d96e39380fd84cea9ba.js → f207b3be0714cc50030a.js} +1 -1
- package/assets/esri/core/workers/chunks/f53805c7a84203305b2c.js +1 -0
- package/assets/esri/core/workers/chunks/{c1838822b096d5f36a8b.js → f5c57ff48ca505ed701d.js} +1 -1
- package/chunks/GlobalIllumination.glsl.js +186 -116
- package/chunks/GlobalIlluminationBlur.glsl.js +81 -61
- package/chunks/GlobalIlluminationUpscale.glsl.js +66 -0
- package/config.js +1 -1
- package/form/elements/FieldElement.d.ts +3 -2
- 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/interfaces.d.ts +28 -0
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/package.json +2 -2
- 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/environment/EnvironmentManager.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/support/orientedBoundingBox.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- 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/interactive/sketch/SketchOptions.d.ts +3 -1
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +6 -0
- 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/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/Search/support/layerSearchUtils.js +1 -1
- package/widgets/support/widgetUtils.js +1 -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/a37fc886227365f7ecd5.js +0 -1
- package/assets/esri/core/workers/chunks/d0c3ab70f390cd579fed.js +0 -1
- package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +0 -2
- 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/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 → 9eb4ae556950e1d0124d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d4a9eb4470cc6a1f67fc.js.LICENSE.txt → d65b1234867f7d773d50.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}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7005],{67026(t,n,e){e.d(n,{A6:()=>m,Xd:()=>u,Xr:()=>d,hZ:()=>g,lw:()=>f,t2:()=>z,x8:()=>c});var a=e(29242),s=e(82534),r=e(51850),i=e(34304),o=e(35522),h=e(78955);function c(t,n,e){e*=.5;const a=Math.sin(e);return t[0]=a*n[0],t[1]=a*n[1],t[2]=a*n[2],t[3]=Math.cos(e),t}function u(t,n){const e=2*Math.acos(n[3]),a=Math.sin(e/2);return a>(0,i.FD)()?(t[0]=n[0]/a,t[1]=n[1]/a,t[2]=n[2]/a):(t[0]=1,t[1]=0,t[2]=0),e}function f(t,n,e){const a=n[0],s=n[1],r=n[2],i=n[3],o=e[0],h=e[1],c=e[2],u=e[3];return t[0]=a*u+i*o+s*c-r*h,t[1]=s*u+i*h+r*o-a*c,t[2]=r*u+i*c+a*h-s*o,t[3]=i*u-a*o-s*h-r*c,t}function l(t,n,e,a){const s=n[0],r=n[1],o=n[2],h=n[3];let c,u,f,l,d,_=e[0],m=e[1],M=e[2],g=e[3];return u=s*_+r*m+o*M+h*g,u<0&&(u=-u,_=-_,m=-m,M=-M,g=-g),1-u>(0,i.FD)()?(c=Math.acos(u),f=Math.sin(c),l=Math.sin((1-a)*c)/f,d=Math.sin(a*c)/f):(l=1-a,d=a),t[0]=l*s+d*_,t[1]=l*r+d*m,t[2]=l*o+d*M,t[3]=l*h+d*g,t}function d(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function _(t,n){const e=n[0]+n[4]+n[8];let a;if(e>0)a=Math.sqrt(e+1),t[3]=.5*a,a=.5/a,t[0]=(n[5]-n[7])*a,t[1]=(n[6]-n[2])*a,t[2]=(n[1]-n[3])*a;else{let e=0;n[4]>n[0]&&(e=1),n[8]>n[3*e+e]&&(e=2);const s=(e+1)%3,r=(e+2)%3;a=Math.sqrt(n[3*e+e]-n[3*s+s]-n[3*r+r]+1),t[e]=.5*a,a=.5/a,t[3]=(n[3*s+r]-n[3*r+s])*a,t[s]=(n[3*s+e]+n[3*e+s])*a,t[r]=(n[3*r+e]+n[3*e+r])*a}return t}function m(t,n,e,a){const s=.5*Math.PI/180;n*=s,e*=s,a*=s;const r=Math.sin(n),i=Math.cos(n),o=Math.sin(e),h=Math.cos(e),c=Math.sin(a),u=Math.cos(a);return t[0]=r*h*u-i*o*c,t[1]=i*o*u+r*h*c,t[2]=i*h*c-r*o*u,t[3]=i*h*u+r*o*c,t}const M=h.C,g=h.hZ,v=h.WQ,b=f,j=h.hs,P=h.Om,x=h.Cc,p=h.Bw,I=p,A=h.m3,S=A,q=h.S8,z=h.t2,w=h.aI,y=(0,r.vt)(),C=(0,r.fA)(1,0,0),N=(0,r.fA)(0,1,0),Q=(0,s.vt)(),Z=(0,s.vt)(),F=(0,a.vt)();Object.freeze(Object.defineProperty({__proto__:null,add:v,calculateW:function(t,n){const e=n[0],a=n[1],s=n[2];return t[0]=e,t[1]=a,t[2]=s,t[3]=Math.sqrt(Math.abs(1-e*e-a*a-s*s)),t},conjugate:d,copy:M,dot:P,equals:w,exactEquals:z,fromEuler:m,fromMat3:_,getAxisAngle:u,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,n){const e=n[0],a=n[1],s=n[2],r=n[3],i=e*e+a*a+s*s+r*r,o=i?1/i:0;return t[0]=-e*o,t[1]=-a*o,t[2]=-s*o,t[3]=r*o,t},len:I,length:p,lerp:x,mul:b,multiply:f,normalize:q,random:function(t){const n=i.Ov,e=n(),a=n(),s=n(),r=Math.sqrt(1-e),o=Math.sqrt(e);return t[0]=r*Math.sin(2*Math.PI*a),t[1]=r*Math.cos(2*Math.PI*a),t[2]=o*Math.sin(2*Math.PI*s),t[3]=o*Math.cos(2*Math.PI*s),t},rotateX:function(t,n,e){e*=.5;const a=n[0],s=n[1],r=n[2],i=n[3],o=Math.sin(e),h=Math.cos(e);return t[0]=a*h+i*o,t[1]=s*h+r*o,t[2]=r*h-s*o,t[3]=i*h-a*o,t},rotateY:function(t,n,e){e*=.5;const a=n[0],s=n[1],r=n[2],i=n[3],o=Math.sin(e),h=Math.cos(e);return t[0]=a*h-r*o,t[1]=s*h+i*o,t[2]=r*h+a*o,t[3]=i*h-s*o,t},rotateZ:function(t,n,e){e*=.5;const a=n[0],s=n[1],r=n[2],i=n[3],o=Math.sin(e),h=Math.cos(e);return t[0]=a*h+s*o,t[1]=s*h-a*o,t[2]=r*h+i*o,t[3]=i*h-r*o,t},rotationTo:function(t,n,e){const a=(0,o.Om)(n,e);return a<-.999999?((0,o.$A)(y,C,n),(0,o.Il)(y)<1e-6&&(0,o.$A)(y,N,n),(0,o.S8)(y,y),c(t,y,Math.PI),t):a>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,o.$A)(y,n,e),t[0]=y[0],t[1]=y[1],t[2]=y[2],t[3]=1+a,q(t,t))},scale:j,set:g,setAxes:function(t,n,e,a){const s=F;return s[0]=e[0],s[3]=e[1],s[6]=e[2],s[1]=a[0],s[4]=a[1],s[7]=a[2],s[2]=-n[0],s[5]=-n[1],s[8]=-n[2],q(t,_(t,s))},setAxisAngle:c,slerp:l,sqlerp:function(t,n,e,a,s,r){return l(Q,n,s,r),l(Z,e,a,r),l(t,Q,Z,2*r*(1-r)),t},sqrLen:S,squaredLength:A,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"}))},48353(t,n,e){e.d(n,{l:()=>c});var a=e(34727),s=e(58083),r=e(51850);function i(t,n,e){const a=Math.sin(t),s=Math.cos(t),r=Math.sin(n),i=Math.cos(n),o=e;return o[0]=-a,o[4]=-r*s,o[8]=i*s,o[12]=0,o[1]=s,o[5]=-r*a,o[9]=i*a,o[13]=0,o[2]=0,o[6]=i,o[10]=r,o[14]=0,o[3]=0,o[7]=0,o[11]=0,o[15]=1,o}var o=e(49208),h=e(21325);function c(t,n,e,a){const r=(0,o.Tp)(t,a);if(null==r)return!1;const c=r.source.spatialReferenceId,_=r.dest.spatialReferenceId;if(c===_&&!u(_)&&(0!==c||(0,h.aI)(t,a)))return(0,s.kN)(e,n),!0;if(u(_)){const t=o.w5[c][10],a=o.w5[10][_];return null!=t&&null!=a&&(t(n,0,l,0),a(l,0,d,0),i(f*l[0],f*l[1],e),e[12]=d[0],e[13]=d[1],e[14]=d[2],!0)}const m=u(c);if((3===_||11===_||2===_||5===_)&&(2===c||m||3===c||5===c)){const t=o.w5[c][10],a=o.w5[10][_];return null!=t&&null!=a&&(t(n,0,l,0),a(l,0,d,0),m?function(t,n,e){i(t,n,e),(0,s.mg)(e,e)}(f*l[0],f*l[1],e):(0,s.D_)(e),e[12]=d[0],e[13]=d[1],e[14]=d[2],!0)}return!1}function u(t){return 1===t||6===t||8===t||4===t}const f=(0,a.kU)(1),l=(0,r.vt)(),d=(0,r.vt)()},57005(t,n,e){e.d(n,{ab:()=>bt,gm:()=>wt});var a=e(77690),s=e(29242),r=e(9093),i=e(67026),o=e(82534),h=e(35522),c=e(51850),u=e(78955),f=e(91829),l=e(73941),d=e(98764),_=e(48353),m=e(9762),M=e(49208),g=e(27921),v=e(21325),b=e(32114),j=e(48163),P=e(46610);const x=1e-6,p=(0,c.vt)(),I=(0,c.vt)();function A(t,n,e,a,s,r,i,o,h,c){return function(t,n,e){let a=gt(t.maxVert[0],t.minVert[0]),s=0;for(let n=1;n<7;++n){const e=gt(t.maxVert[n],t.minVert[n]);e>a&&(a=e,s=n)}dt(n,t.minVert[s]),dt(e,t.maxVert[s])}(t,a,s),gt(a,s)<x?1:(ft(i,a,s),mt(i,i),function(t,n,e,a){const{data:s,size:r}=t;let i=Number.NEGATIVE_INFINITY,o=0;for(let t=0;t<s.length;t+=r){F[0]=s[t]-n[0],F[1]=s[t+1]-n[1],F[2]=s[t+2]-n[2];const a=e[0]*F[0]+e[1]*F[1]+e[2]*F[2],r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],h=F[0]*F[0]+F[1]*F[1]+F[2]*F[2]-a*a/r;h>i&&(i=h,o=t)}return dt(a,s,o),i}(n,a,i,r)<x?2:(ft(o,s,r),mt(o,o),ft(h,r,a),mt(h,h),_t(e,o,i),mt(e,e),D(n,e,i,o,h,c),0))}const S=(0,c.vt)(),q=(0,c.vt)(),z=(0,c.vt)(),w=(0,c.vt)(),y=(0,c.vt)(),C=(0,c.vt)(),N=(0,c.vt)(),Q=(0,c.vt)();function Z(t,n,e,a,s,r,i,o,h){(function(t,n,e,a,s){!function(t,n,e,a,s){const{data:r,size:i}=t;dt(a,r),dt(s,a),e[0]=vt(E,n),e[1]=e[0];for(let t=i;t<r.length;t+=i){const i=r[t]*n[0]+r[t+1]*n[1]+r[t+2]*n[2];i<e[0]&&(e[0]=i,dt(a,r,t)),i>e[1]&&(e[1]=i,dt(s,r,t))}}(t,n,L,s,a);const r=vt(e,n);L[1]-x<=r&&(a[0]=void 0),L[0]+x>=r&&(s[0]=void 0)})(t,n,e,S,q),void 0!==S[0]&&(ft(z,S,e),mt(z,z),ft(w,S,a),mt(w,w),ft(y,S,s),mt(y,y),_t(C,w,r),mt(C,C),_t(N,y,i),mt(N,N),_t(Q,z,o),mt(Q,Q),D(t,C,r,w,z,h),D(t,N,i,y,w,h),D(t,Q,o,z,y,h)),void 0!==q[0]&&(ft(z,q,e),mt(z,z),ft(w,q,a),mt(w,w),ft(y,q,s),mt(y,y),_t(C,w,r),mt(C,C),_t(N,y,i),mt(N,N),_t(Q,z,o),mt(Q,Q),D(t,C,r,w,z,h),D(t,N,i,y,w,h),D(t,Q,o,z,y,h))}const F=[0,0,0],L=(0,j.vt)(),O=(0,c.vt)(),V=(0,c.vt)(),T=(0,c.vt)(),R=(0,c.vt)(),B=(0,c.vt)(),k=(0,c.vt)();function D(t,n,e,a,s,r){if(Mt(n)<x)return;_t(O,e,n),_t(V,a,n),_t(T,s,n),W(t,n,L),B[1]=L[0],R[1]=L[1],k[1]=R[1]-B[1];const i=[e,a,s],o=[O,V,T];for(let e=0;e<3;++e){W(t,i[e],L),B[0]=L[0],R[0]=L[1],W(t,o[e],L),B[2]=L[0],R[2]=L[1],k[0]=R[0]-B[0],k[2]=R[2]-B[2];const a=ct(k);a<r.quality&&(dt(r.b0,i[e]),dt(r.b1,n),dt(r.b2,o[e]),r.quality=a)}}const E=(0,c.vt)();function W(t,n,e){const{data:a,size:s}=t;let r=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;const o=n[0],h=n[1],c=n[2];for(let t=0;t<a.length;t+=s){const n=a[t]*o+a[t+1]*h+a[t+2]*c;r=Math.min(r,n),i=Math.max(i,n)}e[0]=r,e[1]=i}function X(t,n,e){e.center=t,e.halfSize=(0,h.hs)(n,n,.5),e.quaternion=o.zK}const Y=(0,c.vt)(),H=(0,c.vt)(),G=(0,c.vt)(),K=(0,c.vt)(),$=(0,c.vt)(),J=(0,c.vt)();function U(t,n,e){dt(Y,n),Math.abs(n[0])>Math.abs(n[1])&&Math.abs(n[0])>Math.abs(n[2])?Y[0]=0:Math.abs(n[1])>Math.abs(n[2])?Y[1]=0:Y[2]=0,Mt(Y)<x&&(Y[0]=Y[1]=Y[2]=1),_t(H,n,Y),mt(H,H),_t(G,n,H),mt(G,G),tt(t,n,H,G,K,$),ft(J,$,K),it(n,H,G,K,$,J,e)}function tt(t,n,e,a,s,r){W(t,n,L),s[0]=L[0],r[0]=L[1],W(t,e,L),s[1]=L[0],r[1]=L[1],W(t,a,L),s[2]=L[0],r[2]=L[1]}const nt=(0,c.vt)(),et=(0,c.vt)(),at=(0,c.vt)(),st=(0,s.fA)(1,0,0,0,1,0,0,0,1),rt=(0,o.vt)();function it(t,n,e,a,s,r,i){st[0]=t[0],st[1]=t[1],st[2]=t[2],st[3]=n[0],st[4]=n[1],st[5]=n[2],st[6]=e[0],st[7]=e[1],st[8]=e[2],i.quaternion=function(t,n){const e=n[0]+n[4]+n[8];if(e>0){let a=Math.sqrt(e+1);t[3]=.5*a,a=.5/a,t[0]=(n[5]-n[7])*a,t[1]=(n[6]-n[2])*a,t[2]=(n[1]-n[3])*a}else{let e=0;n[4]>n[0]&&(e=1),n[8]>n[3*e+e]&&(e=2);const a=(e+1)%3,s=(e+2)%3;let r=Math.sqrt(n[3*e+e]-n[3*a+a]-n[3*s+s]+1);t[e]=.5*r,r=.5/r,t[3]=(n[3*a+s]-n[3*s+a])*r,t[a]=(n[3*a+e]+n[3*e+a])*r,t[s]=(n[3*s+e]+n[3*e+s])*r}return t}(rt,st),ut(nt,a,s),lt(nt,nt,.5),lt(et,t,nt[0]),lt(at,n,nt[1]),ut(et,et,at),lt(at,e,nt[2]),i.center=(0,h.WQ)(et,et,at),i.halfSize=(0,h.hs)(nt,r,.5)}class ot{constructor(t){this.minVert=new Array(7),this.maxVert=new Array(7),this.buffer=new ArrayBuffer(448);let n=0;this.minProj=new Float64Array(this.buffer,n,7),n+=56,this.maxProj=new Float64Array(this.buffer,n,7),n+=56;for(let t=0;t<7;++t)this.minVert[t]=new Float64Array(this.buffer,n,3),n+=24;for(let t=0;t<7;++t)this.maxVert[t]=new Float64Array(this.buffer,n,3),n+=24;for(let t=0;t<7;++t)this.minProj[t]=Number.POSITIVE_INFINITY,this.maxProj[t]=Number.NEGATIVE_INFINITY;const e=new Array(7),a=new Array(7),{data:s,size:r}=t;for(let t=0;t<s.length;t+=r){let n=s[t];n<this.minProj[0]&&(this.minProj[0]=n,e[0]=t),n>this.maxProj[0]&&(this.maxProj[0]=n,a[0]=t),n=s[t+1],n<this.minProj[1]&&(this.minProj[1]=n,e[1]=t),n>this.maxProj[1]&&(this.maxProj[1]=n,a[1]=t),n=s[t+2],n<this.minProj[2]&&(this.minProj[2]=n,e[2]=t),n>this.maxProj[2]&&(this.maxProj[2]=n,a[2]=t),n=s[t]+s[t+1]+s[t+2],n<this.minProj[3]&&(this.minProj[3]=n,e[3]=t),n>this.maxProj[3]&&(this.maxProj[3]=n,a[3]=t),n=s[t]+s[t+1]-s[t+2],n<this.minProj[4]&&(this.minProj[4]=n,e[4]=t),n>this.maxProj[4]&&(this.maxProj[4]=n,a[4]=t),n=s[t]-s[t+1]+s[t+2],n<this.minProj[5]&&(this.minProj[5]=n,e[5]=t),n>this.maxProj[5]&&(this.maxProj[5]=n,a[5]=t),n=s[t]-s[t+1]-s[t+2],n<this.minProj[6]&&(this.minProj[6]=n,e[6]=t),n>this.maxProj[6]&&(this.maxProj[6]=n,a[6]=t)}for(let t=0;t<7;++t){let n=e[t];dt(this.minVert[t],s,n),n=a[t],dt(this.maxVert[t],s,n)}}}class ht{constructor(){this.b0=(0,c.fA)(1,0,0),this.b1=(0,c.fA)(0,1,0),this.b2=(0,c.fA)(0,0,1),this.quality=0}}function ct(t){return t[0]*t[1]+t[0]*t[2]+t[1]*t[2]}function ut(t,n,e){t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2]}function ft(t,n,e){t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2]}function lt(t,n,e){t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e}function dt(t,n,e=0){t[0]=n[e],t[1]=n[e+1],t[2]=n[e+2]}function _t(t,n,e){const a=n[0],s=n[1],r=n[2],i=e[0],o=e[1],h=e[2];t[0]=s*h-r*o,t[1]=r*i-a*h,t[2]=a*o-s*i}function mt(t,n){const e=n[0]*n[0]+n[1]*n[1]+n[2]*n[2];if(e>0){const a=1/Math.sqrt(e);t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a}}function Mt(t){return t[0]*t[0]+t[1]*t[1]+t[2]*t[2]}function gt(t,n){const e=n[0]-t[0],a=n[1]-t[1],s=n[2]-t[2];return e*e+a*a+s*s}function vt(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}class bt{constructor(t=c.uY,n=Et,e=o.zK){this._data=[t[0],t[1],t[2],n[0],n[1],n[2],e[0],e[1],e[2],e[3]]}clone(){return bt.fromData(this._data)}invalidate(){this._data[3]=-1}get isValid(){return this._data[3]>=0}static fromData(t){const n=new bt;return n._copyFromData(t),n}static fromJSON(t){return new bt(t.center,t.halfSize,t.quaternion)}copy(t){this._copyFromData(t.data)}_copyFromData(t){for(let n=0;n<10;++n)this._data[n]=t[n]}get center(){return(0,h.hZ)(b.rq.get(),this._data[0],this._data[1],this._data[2])}get centerX(){return this._data[0]}get centerY(){return this._data[1]}get centerZ(){return this._data[2]}getCenter(t){return t[0]=this._data[0],t[1]=this._data[1],t[2]=this._data[2],t}set center(t){this._data[0]=t[0],this._data[1]=t[1],this._data[2]=t[2]}setCenter(t,n,e){this._data[0]=t,this._data[1]=n,this._data[2]=e}get halfSize(){return(0,h.hZ)(b.rq.get(),this._data[3],this._data[4],this._data[5])}get halfSizeX(){return this._data[3]}get halfSizeY(){return this._data[4]}get halfSizeZ(){return this._data[5]}getHalfSize(t){return t[0]=this._data[3],t[1]=this._data[4],t[2]=this._data[5],t}set halfSize(t){this._data[3]=t[0],this._data[4]=t[1],this._data[5]=t[2]}setHalfSize(t,n,e){this._data[3]=t,this._data[4]=n,this._data[5]=e}get quaternion(){return(0,i.hZ)(b.J8.get(),this._data[6],this._data[7],this._data[8],this._data[9])}get quaternionConjugate(){return(0,i.hZ)(b.J8.get(),-this._data[6],-this._data[7],-this._data[8],this._data[9])}getQuaternion(t){return t[0]=this._data[6],t[1]=this._data[7],t[2]=this._data[8],t[3]=this._data[9],t}getQuaternionConjugate(t){return t[0]=-this._data[6],t[1]=-this._data[7],t[2]=-this._data[8],t[3]=this._data[9],t}set quaternion(t){this._data[6]=t[0],this._data[7]=t[1],this._data[8]=t[2],this._data[9]=t[3]}get data(){return this._data}getCorners(t){const n=this._data,e=(0,i.hZ)(jt,n[6],n[7],n[8],n[9]);for(let a=0;a<8;++a){const s=t[a];s[0]=(1&a?-1:1)*n[3],s[1]=(2&a?-1:1)*n[4],s[2]=(4&a?-1:1)*n[5],(0,h.gL)(s,s,e),s[0]+=n[0],s[1]+=n[1],s[2]+=n[2]}return t}getAxes(t){const n=this._data,e=(0,i.hZ)(jt,n[6],n[7],n[8],n[9]);return(0,h.gL)(t[0],[1,0,0],e),(0,h.gL)(t[1],[0,1,0],e),(0,h.gL)(t[2],[0,0,1],e),t}intersectsFrustum(t){const{centerX:n,centerY:e,centerZ:a}=this,s=t.planes;for(const t of s){const s=(0,g.Qj)(t),r=this.projectedRadius(s);if(n*s[0]+e*s[1]+a*s[2]+t[3]-r>0)return!1}const r=this.getAxes(Rt),i=t.points,o=this.halfSize;for(let t=0;t<3;++t){const s=r[t],c=-s[0]*n-s[1]*e-s[2]*a,u=o[t];let f=!0,l=!0;for(const t of i){const n=(0,h.Om)(t,s)+c;f&&=n>u,l&&=n<-u}if(f||l)return!1}if(this.getCorners(Tt).some(n=>t.intersectsPoint(n)))return!0;const c=Xt;for(let t=0;t<3;++t){const s=r[t];c[t]=s[0]*n+s[1]*e+s[2]*a}if(t.points.some(t=>(t=>{for(let n=0;n<3;++n){const e=r[n],a=o[n],s=e[0]*t[0]+e[1]*t[1]+e[2]*t[2]-c[n];if(s>a||s<-a)return!1}return!0})(t)))return!0;const u=t.lines,f=Wt;for(let t=0;t<8;++t){const s=u[t].direction;for(const t of r){(0,h.$A)(f,s,t);const r=(0,h.Il)(f);if(!(r>0))continue;(0,h.hs)(f,f,1/r);const o=this.projectedRadius(f),c=f[0]*n+f[1]*e+f[2]*a,u=c-o,l=c+o;let d=!1,_=!1,m=!0;for(const t of i){const n=(0,h.Om)(f,t);if(n>l){if(_){m=!1;break}d=!0}else{if(!(n<u)){m=!1;break}if(d){m=!1;break}_=!0}}if(m)return!1}}return!0}intersectsFrustumConservativeApproximation(t){return this.intersectPlane(t[0])<=0&&this.intersectPlane(t[1])<=0&&this.intersectPlane(t[2])<=0&&this.intersectPlane(t[3])<=0&&this.intersectPlane(t[4])<=0&&this.intersectPlane(t[5])<=0}get radius(){const t=this._data[3],n=this._data[4],e=this._data[5];return Math.sqrt(t*t+n*n+e*e)}intersectsPoint(t){const n=this.getAxes(Rt),e=this.halfSize,{center:a}=this;for(let s=0;s<3;++s){const r=n[s],i=e[s],o=(0,h.Om)(r,t)-(0,h.Om)(r,a);if(o>i||o<-i)return!1}return!0}intersectSphere(t){const{center:n,radius:e}=t,a=this._data,s=a[3],r=a[4],i=a[5],o=s+r+i+e,h=a[0]-n[0];if(Math.abs(h)>o)return!1;const c=a[1]-n[1];if(Math.abs(c)>o)return!1;const u=a[2]-n[2];if(Math.abs(u)>o)return!1;const f=-a[6],l=-a[7],d=-a[8],_=l*u-d*c,m=d*h-f*u,M=f*c-l*h,g=l*M-d*m,v=d*_-f*M,b=f*m-l*_,j=2*a[9],P=Math.abs(h+_*j+2*g),x=Math.abs(c+m*j+2*v),p=Math.abs(u+M*j+2*b),I=P-Math.min(P,s),A=x-Math.min(x,r),S=p-Math.min(p,i);return I*I+A*A+S*S<=e*e}intersectSphereWithMBS(t,n=this.radius){const e=this._data,{center:a,radius:s}=t,r=n+s,i=e[0]-a[0];if(i>r)return!1;const o=e[1]-a[1];if(o>r)return!1;const h=e[2]-a[2];if(h>r)return!1;if(i*i+o*o+h*h>r*r)return!1;const c=-e[6],u=-e[7],f=-e[8],l=u*h-f*o,d=f*i-c*h,_=c*o-u*i,m=u*_-f*d,M=f*l-c*_,g=c*d-u*l,v=2*e[9],b=Math.abs(i+l*v+2*m),j=Math.abs(o+d*v+2*M),P=Math.abs(h+_*v+2*g),x=b-Math.min(b,e[3]),p=j-Math.min(j,e[4]),I=P-Math.min(P,e[5]);return x*x+p*p+I*I<s*s}intersectPlane(t){const n=t[0]*this._data[0]+t[1]*this._data[1]+t[2]*this._data[2]+t[3],e=this.projectedRadius((0,g.Qj)(t));return n>e?1:n<-e?-1:0}intersectRay(t,n,e=0){const a=this._data,s=jt;s[0]=-a[6],s[1]=-a[7],s[2]=-a[8],s[3]=a[9],pt[0]=t[0]-a[0],pt[1]=t[1]-a[1],pt[2]=t[2]-a[2];const r=(0,h.gL)(pt,pt,jt),i=(0,h.gL)(It,n,jt);let o=-1/0,c=1/0;const u=this.getHalfSize(Lt);for(let t=0;t<3;t++){const n=r[t],a=i[t],s=u[t]+e;if(Math.abs(a)>1e-6){const t=(s-n)/a,e=(-s-n)/a;o=Math.max(o,Math.min(t,e)),c=Math.min(c,Math.max(t,e))}else if(n>s||n<-s)return!1}return o<=c}projectedArea(t,n,e,s){const r=this.getQuaternion(Pt);(0,i.Xr)(jt,r),pt[0]=t[0]-this._data[0],pt[1]=t[1]-this._data[1],pt[2]=t[2]-this._data[2],(0,h.gL)(pt,pt,jt);const o=this.getHalfSize(Lt),c=pt[0]<-o[0]?-1:pt[0]>o[0]?1:0,f=pt[1]<-o[1]?-1:pt[1]>o[1]?1:0,l=pt[2]<-o[2]?-1:pt[2]>o[2]?1:0,d=Math.abs(c)+Math.abs(f)+Math.abs(l);if(0===d)return 1/0;const _=1===d?4:6,m=6*(c+3*f+9*l+13);(0,a.I0)(Ot,r),(0,a.hs)(Ot,Ot,o);const M=this.getCenter(Zt);for(let t=0;t<_;t++){const e=zt[m+t];(0,h.hZ)(pt,((1&e)<<1)-1,(2&e)-1,((4&e)>>1)-1),(0,h.ei)(pt,pt,Ot),(0,h.WQ)(At,M,pt),At[3]=1,(0,u.Z0)(At,At,n);const a=1/Math.max(1e-6,At[3]);qt[2*t]=At[0]*a,qt[2*t+1]=At[1]*a}const g=2*_-2;let v=qt[0]*(qt[3]-qt[g+1])+qt[g]*(qt[1]-qt[g-1]);for(let t=2;t<g;t+=2)v+=qt[t]*(qt[t+3]-qt[t-1]);return Math.abs(v)*e*s*.125}projectedRadius(t){const n=this._data;return(0,h.fw)(pt,t,-n[6],-n[7],-n[8],n[9]),Math.abs(pt[0]*n[3])+Math.abs(pt[1]*n[4])+Math.abs(pt[2]*n[5])}signedDistancePlane(t,n){const e=this._data,a=t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+n,s=this.projectedRadius(t);return a>s?a-s:a<-s?a+s:0}signedDistanceRangePlane(t){const n=t[0]*this._data[0]+t[1]*this._data[1]+t[2]*this._data[2]+t[3],e=this.projectedRadius((0,g.Qj)(t));return{min:n-e,max:n+e}}toAaBoundingBox(t){const n=this.getQuaternion(Pt),e=(0,a.I0)(Ot,n),s=this._data[3]*Math.abs(e[0])+this._data[4]*Math.abs(e[3])+this._data[5]*Math.abs(e[6]),r=this._data[3]*Math.abs(e[1])+this._data[4]*Math.abs(e[4])+this._data[5]*Math.abs(e[7]),i=this._data[3]*Math.abs(e[2])+this._data[4]*Math.abs(e[5])+this._data[5]*Math.abs(e[8]);t[0]=this._data[0]-s,t[1]=this._data[1]-r,t[2]=this._data[2]-i,t[3]=this._data[0]+s,t[4]=this._data[1]+r,t[5]=this._data[2]+i}transform(t,n,e,a=0,s=(0,d.lO)(e),r=(0,d.lO)(n),o=(0,M.jd)(n,r)){if(e===s)n.isGeographic?function(t,n,e,a,s=(0,d.lO)(e)){const r=(0,l.tO)(e),o=1+Math.max(0,a)/(r.radius+t.centerZ);t.getCenter(Qt),Qt[2]+=a,(0,m.projectBuffer)(Qt,e,0,Qt,s,0),n.center=Qt;const c=t.getQuaternion(Pt);n.quaternion=c,(0,i.Xr)(jt,c),(0,h.hZ)(Bt,0,0,1),(0,h.gL)(Bt,Bt,jt);const u=t.getHalfSize(Lt);(0,h.hZ)(Bt,u[0]*Math.abs(Bt[0]),u[1]*Math.abs(Bt[1]),u[2]*Math.abs(Bt[2])),(0,h.hs)(Bt,Bt,r.inverseFlattening),(0,h.WQ)(Bt,u,Bt),n.halfSize=(0,h.hs)(Bt,Bt,o)}(this,t,n,a,r):function(t,n,e,a,s=(0,d.lO)(e),r=(0,M.jd)(e,s)){t.getCorners(Tt),t.getCenter(Qt),Qt[2]+=a,(0,_.l)(e,Qt,Vt,s),n.setCenter(Vt[12],Vt[13],Vt[14]);const o=2*Math.sqrt(1+Vt[0]+Vt[5]+Vt[10]);jt[0]=(Vt[6]-Vt[9])/o,jt[1]=(Vt[8]-Vt[2])/o,jt[2]=(Vt[1]-Vt[4])/o,jt[3]=.25*o;const c=t.getQuaternion(Pt);n.quaternion=(0,i.lw)(jt,jt,c),(0,i.Xr)(jt,jt),(0,h.hZ)(kt,0,0,0);const u=n.getCenter(Ft);for(const t of Tt)t[2]+=a,r(t,0,t,0),(0,h.jb)(Bt,t,u),(0,h.gL)(Bt,Bt,jt),(0,h.tn)(Bt,Bt),(0,h.T9)(kt,kt,Bt);n.halfSize=kt}(this,t,n,a,r,o);else if(n.isGeographic&&(e.isWebMercator||(0,v.r1)(e)))!function(t,n,e,a,s){n.getCenter(Zt),Zt[2]+=s;const r=(0,d.lO)(e);(0,m.projectBuffer)(Zt,t,0,Zt,r,0),yt(r,n,Zt,e,a)}(n,this,e,t,a);else if(n.isWebMercator&&(0,v.r1)(e))!function(t,n,e,a,s){n.getCenter(Zt),Zt[2]+=s,yt(t,n,Zt,e,a)}(n,this,e,t,a);else{const s=this.getCenter(Zt);s[2]+=a,(0,m.projectBuffer)(s,n,0,s,e,0),t.center=s,this!==t&&(t.quaternion=this.getQuaternion(Pt),t.halfSize=this.getHalfSize(Lt))}}}const jt=(0,o.vt)(),Pt=(0,o.vt)(),xt=(0,o.vt)(),pt=(0,c.vt)(),It=(0,c.vt)(),At=(0,f.vt)();function St(t,n=new bt){return function(t,n){const{data:e,size:a}=t,s=e.length/a;if(s<=0)return;const r=new ot(t);ut(p,r.minProj,r.maxProj),lt(p,p,.5),ft(I,r.maxProj,r.minProj);const i=ct(I),o=new ht;o.quality=i,s<14&&(t=new P.K(new Float64Array(r.buffer,112,42),3));const h=(0,c.vt)(),u=(0,c.vt)(),f=(0,c.vt)(),l=(0,c.vt)(),d=(0,c.vt)(),_=(0,c.vt)(),m=(0,c.vt)();switch(A(r,t,m,h,u,f,l,d,_,o)){case 1:return void X(p,I,n);case 2:return void U(t,l,n)}Z(t,m,h,u,f,l,d,_,o),tt(t,o.b0,o.b1,o.b2,K,$);const M=(0,c.vt)();ft(M,$,K),o.quality=ct(M),o.quality<i?it(o.b0,o.b1,o.b2,K,$,M,n):X(p,I,n)}(t,n),n}const qt=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1,1.1,1.2],zt=(()=>{const t=new Int8Array(162);let n=0;const e=e=>{for(let a=0;a<e.length;a++)t[n+a]=e[a];n+=6};return e([6,2,3,1,5,4]),e([0,2,3,1,5,4]),e([0,2,3,7,5,4]),e([0,1,3,2,6,4]),e([0,1,3,2,0,0]),e([0,1,5,7,3,2]),e([0,1,3,7,6,4]),e([0,1,3,7,6,2]),e([0,1,5,7,6,2]),e([0,1,5,4,6,2]),e([0,1,5,4,0,0]),e([0,1,3,7,5,4]),e([0,2,6,4,0,0]),e([0,0,0,0,0,0]),e([1,3,7,5,0,0]),e([2,3,7,6,4,0]),e([2,3,7,6,0,0]),e([2,3,1,5,7,6]),e([0,1,5,7,6,2]),e([0,1,5,7,6,4]),e([0,1,3,7,6,4]),e([4,5,7,6,2,0]),e([4,5,7,6,0,0]),e([4,5,1,3,7,6]),e([0,2,3,7,5,4]),e([6,2,3,7,5,4]),e([6,2,3,1,5,4]),t})();function wt(t,n,e,a,s){const r=t.getQuaternion(Pt);s.quaternion=r,(0,i.Xr)(jt,r);const o=t.getCenter(Zt),u=t.getHalfSize(Lt);if(1===a){(0,h.gL)(Bt,o,jt),(0,h.tn)(kt,Bt),(0,h.jk)(Dt,kt,u),(0,h.jb)(Dt,kt,Dt);const a=(0,h.Bw)(Dt);(0,h.WQ)(Dt,kt,u);const r=(0,h.Bw)(Dt);if(a<e)s.center=o,(0,h.hZ)(Bt,e,e,e),s.halfSize=(0,h.WQ)(Bt,u,Bt);else{const i=r>0?1+n/r:1,o=a>0?1+e/a:1,c=(o+i)/2,f=(o-i)/2;(0,h.hs)(Dt,kt,f),s.halfSize=(0,h.Ln)(Dt,Dt,u,c),(0,h.hs)(Dt,kt,c),(0,h.Ln)(Dt,Dt,u,f),(0,h._S)(Bt,Bt),(0,h.lw)(Bt,Dt,Bt);const l=t.getQuaternion(xt);s.center=(0,h.gL)(Bt,Bt,l)}}else{s.center=(0,h.Ln)(Bt,o,c.Cb,(e+n)/2);const t=(0,h.gL)(Bt,c.Cb,jt);(0,h.tn)(t,t),s.halfSize=(0,h.Ln)(kt,u,t,(e-n)/2)}return s}function yt(t,n,e,s,r){const i=n.getQuaternion(Pt),o=(0,a.I0)(Ot,i),h=n.getHalfSize(Lt);for(let t=0;t<8;++t){for(let n=0;n<3;++n)Qt[n]=h[n]*(t&1<<n?-1:1);for(let n=0;n<3;++n){let a=e[n];for(let t=0;t<3;++t)a+=Qt[t]*o[3*t+n];Ct[3*t+n]=a}}(0,m.projectBuffer)(Ct,t,0,Ct,s,0,8),St(Nt,r)}const Ct=new Array(24),Nt=new P.K(Ct,3),Qt=(0,c.vt)(),Zt=(0,c.vt)(),Ft=(0,c.vt)(),Lt=(0,c.vt)(),Ot=(0,s.vt)(),Vt=(0,r.vt)(),Tt=[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],Rt=[(0,c.vt)(),(0,c.vt)(),(0,c.vt)()],Bt=(0,c.vt)(),kt=(0,c.vt)(),Dt=(0,c.vt)(),Et=(0,c.CN)(-1,-1,-1),Wt=(0,c.vt)(),Xt=[0,0,0]},46610(t,n,e){e.d(n,{K:()=>a,n:()=>s});class a{constructor(t,n,e=n){this.data=t,this.size=n,this.stride=e}}class s extends a{constructor(t,n,e,a=!1,s=e){super(t,e,s),this.indices=n,this.exclusive=a}}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 9eb4ae556950e1d0124d.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8562],{11433(t,e,s){s.d(e,{C:()=>f,G:()=>g,c:()=>u,p:()=>h,t:()=>d});var i=s(28341),o=s(32352),n=s(41276),r=s(97434),a=s(45621);let c;const h=()=>{c?.forEach(({callbacks:t},e)=>{const s=Object.keys(e);t.forEach(t=>t(s))}),c=void 0},l=(t,e,s)=>{const o=t.manager;return o.V!==n.s6&&o.V!==s&&o.S(void 0,void 0),0===o.T.length&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=s,o.T.push((t,o)=>(0,i.UF)(e,void 0,s===o?t:void 0)),s},d=(t=[(0,o.r)(),...(0,o.d)()],e,s)=>{const n=Array.isArray(t)?t:[t];let r=n.length+1;const a=t=>{r-=1,void 0!==t&&(r=Math.min(r,0)),0===r&&e(t)};n.forEach(t=>((t,e,s)=>{const o=Object.keys(t),n=o.length;void 0===c&&queueMicrotask(h),c??=new Map;let r=c.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},c.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(t=>t(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(o=>{const r=t=>(0,i.UF)(e,null,t),a=o[n];void 0===a?r(void 0):t[a]===s?r(a):r(void 0)}),s})(t,e=>a(void 0===e?void 0:{key:e,host:t,isReactive:!1}),s));for(const t of n)if("manager"in t&&t.manager.component===t){l(t,e=>a(void 0===e?void 0:{key:e,host:t,isReactive:!0}),s);break}return s},u=((t="",e={},s=(0,o.r)())=>{const i={emit:i=>{""===t&&h();const o=new CustomEvent(t,{detail:i,cancelable:!0,bubbles:!0,composed:!0,...e});return s.el.dispatchEvent(o),o}};return""===t&&d(void 0,e=>t=e.key,i),i}).bind(null,"");var p;p=o.c;class f{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#i=[],this.#o=[],this.#n=[],this.#r=[],this.#a=[],this.#c=[],this.#h=!1,this.P=new r.c,this.connectedCalled=!1,this.loadedCalled=!1,this[p]=!0,this.#l=[];const e=this,s=t??(0,o.r)(new.target.name);e.#d=s,e.ready=e.P.promise,e.#u=y(e),e.component=s,e.#d.addController(e),void 0===e.#d.manager||((0,o.b)(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#i;#o;#n;#r;#a;#c;#h;#d;catchUpLifecycle(){const{manager:t}=this.#d;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.#h||this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch((0,a.G3)(this.#d))}#u;get exports(){return this.#u}set exports(t){const e=this.#u;e!==t&&(this.#u=t,this.#l.forEach(i.UF),this.connectedCalled&&!1!==this.O&&this.#d.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#u=e?y(t):t,this.#l.forEach(i.UF)}#l;watchExports(t){const e=()=>t(this.#u);return this.#l.push(e),()=>{this.#l.splice(this.#l.indexOf(e),1)}}get use(){return(0,o.a)(this.#d),o.u}get useRef(){return(0,o.a)(this.#d),o.k}get useRefSync(){return(0,o.a)(this.#d),o.l}controllerRemoved(){this.#d.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#i.push(t)}onUpdate(t){this.#o.push(t)}onUpdated(t){this.#n.push(t)}onDestroy(t){this.#r.push(t)}onLifecycle(t){this.#a.push(t),this.connectedCalled&&this.#d.el.isConnected&&this.#p(t)}triggerConnected(){const t=this;t.hostConnected&&(0,i.UF)(t.hostConnected,t),t.#t.forEach(i.UF),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,i.UF)(t.hostDisconnected,t),t.#e.forEach(i.UF),t.#c.forEach(i.UF),t.#c=[]}async triggerLoad(){if(this.#h)return;this.#h=!0;const t=this;t.hostLoad&&await(0,i.ao)(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(i.ao)),this.P.resolve(this.#u)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&(0,i.UF)(this.hostLoaded,this),this.#i.forEach(i.UF),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&(0,i.UF)(this.hostUpdate,this,t),this.#o.forEach(m,t)}triggerUpdated(t){this.hostUpdated&&(0,i.UF)(this.hostUpdated,this,t),this.#n.forEach(m,t)}triggerDestroy(){this.hostDestroy&&(0,i.UF)(this.hostDestroy,this),this.#r.forEach(i.UF)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#a.forEach(this.#p,this)}#p(t){(0,o.a)(this.#d);const e=(0,i.UF)(t);(Array.isArray(e)?e:[e]).forEach(t=>{"function"==typeof t?this.#c.push(t):"object"==typeof t&&"function"==typeof t.remove&&this.#c.push(t.remove)})}}function m(t){(0,i.UF)(t,void 0,this)}const g=f,y=t=>{if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,s,i){if("exports"!==s&&"_exports"!==s||!(s in t)||t[s]!==e)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,i):void 0}});return e}},32352(t,e,s){s.d(e,{a:()=>r,b:()=>h,c:()=>i,d:()=>l,e:()=>y,i:()=>o,j:()=>u,k:()=>f,l:()=>m,r:()=>a,s:()=>g,u:()=>p});const i=Symbol.for("controller"),o=t=>"function"==typeof t?.then;let n;const r=t=>{n!==t&&(n=t,queueMicrotask(()=>n===t?n=void 0:0))},a=t=>n;let c=[];const h=t=>{if(void 0===t)return void(c=[]);const e=c.indexOf(t);c=-1===e?[...c,t]:c.slice(0,e+1),queueMicrotask(()=>c=[])},l=()=>c;let d;const u=t=>{d!==t&&(d=t,queueMicrotask(()=>d===t?d=void 0:0))},p=async(t,e)=>{const s=m(t);if(void 0===s)return t;if(await s.ready,"function"==typeof e){const t=s.watchExports(s=>e(s,t))}return s.exports},f=async t=>{const e=m(t);return await e.ready,e},m=t=>{const e=a().manager.X(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(i in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const s=(()=>{const t=d;return d=void 0,t})();return void 0!==s?s:void 0};let g=!1;const y=t=>{g=!0;try{return t()}finally{g=!1}}},83982(t,e,s){s.d(e,{C:()=>c,a:()=>l,b:()=>h,s:()=>d});var i=s(28341),o=s(11433),n=s(41276),r=s(97434),a=s(32352);class c extends o.G{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=n.s6,this.T=[],this.#f=new WeakMap,this.#d=t,this.exports=void 0,this.hasDestroy=l in t&&"function"==typeof t.destroy,n.WF.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){const e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${l} prop.`)}void 0!==this.#m&&clearTimeout(this.#m),(0,o.p)();for(const e of t.M)"triggerConnected"in e?e.triggerConnected():(0,i.UF)(e.hostConnected,e)},hostDisconnected:()=>{for(const e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():(0,i.UF)(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(const e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):(0,i.UF)(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(const e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):(0,i.UF)(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),(0,a.a)(t)}#m;#d;async destroy(){if(!this.destroyed){this.#d.el.isConnected&&(this.hasDestroy=!1,this.#d.el.remove()),this.#m=void 0,this.destroyed=!0;for(const t of this.#d.M)"triggerDestroy"in t?t.triggerDestroy():(0,i.UF)(t.hostDestroy,t);this.#d.M.splice(0)}}U(){if(void 0!==this.#m&&clearTimeout(this.#m),!this.#d.el.isConnected&&!this.#d.autoDestroyDisabled){const t=()=>{this.#d.destroy()};this.#m=(0,r.o)(t,h)}}S(t,e){const s=this.T;this.V=n.s6,this.T=[],s.forEach(s=>s(t,e))}#f;W(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this.#f.set(e,t)}X(t){return"object"==typeof t&&null!==t||"function"==typeof t?this.#f.get(t):void 0}}let h=1e3;const l="autoDestroyDisabled";function d(t){h=t}},98824(t,e,s){s.d(e,{WF:()=>S,le:()=>T,s6:()=>x,CP:()=>k,zl:()=>L,Bq:()=>P,pf:()=>R});var i=s(11433),o=s(22343);o.W3,o.Ec;var n=s(97434);const r=t=>{let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const s=e;return s.manager?.loadedCalled||(s.J??s._offspring).push(t),(s.I??s._postLoad).promise}return!1},a={};function c(){}function h(t){for(const e of["Associated","Disabled","Reset","StateRestore"]){const s=`orm${e}Callback`;t.prototype["f"+s]=async function(...t){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${s}`,{detail:t}))}}}const l=Object.defineProperty,d=globalThis.HTMLElement??c;class u extends d{constructor(){super(),this.#g={},this.#y=[],this.I=new n.c,this.H=new n.c,this.J=[];const t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(e=>{Object.hasOwn(t,e)&&(t.#g[e]=t[e],delete t[e])}),e.A?t.#$({a:e.A}):e.B.then(async s=>{await e.K.p,t.#$(await(s.default?.then(t=>"function"==typeof t?{a:t}:t)??s))}).catch(e=>{t.H.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static F(){for(const t of this.C??[])l(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#g[t]},set(e){this.#g[t]=e}});for(const t of this.E??[])l(this.prototype,t,{async value(...e){this.#A||await this.H.promise;const s=this.#A;return await s[t](...e)},configurable:!0});for(const t of this.D??[])l(this.prototype,t,{value(...e){return this.#A[t](...e)},configurable:!0})}static{h(this)}#A;#g;#y;get manager(){return this.#A?.manager}attributeChangedCallback(t,e,s){this.#A?.attributeChangedCallback(t,e,s),this.#A||this.#y.push(t)}connectedCallback(){this.#A?this.#A.connectedCallback?.():queueMicrotask(()=>this.G=r(this))}disconnectedCallback(){this.#A?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#$(t){const e=this.constructor,s=e.L,i=this.#g,o=Object.values(t).find(t=>t.L===s),n=`${s}--lazy`;let r=o;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);f(r),!e.A&&(e.A=o,customElements.define(n,o)),o.N=this;const a=document.createElement(n);o.N=void 0,this.#A=a,this.#g=a,this.#y.forEach(t=>a.attributeChangedCallback(t,null,this.getAttribute(t))),Object.entries(i).forEach(p,a);const c=this.isConnected;(c||this.G)&&(a.connectedCallback?.(),c||a.disconnectedCallback())}addController(){}requestUpdate(){this.#A?.requestUpdate()}}function p([t,e]){this[t]=e}const f=t=>{const e=t.prototype,s=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){s.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){s.removeAttribute.call(this.el,t)},e.hasAttribute=function(t){return s.hasAttribute.call(this.el,t)},l(e,"isConnected",{get(){return Reflect.get(s,"isConnected",this.el)}}))};var m=s(28341),g=s(2572),y=s(41276),$=s(32352),A=s(83982),v=s(33377),_=s(63179);const b=(0,_.u$)(class extends _.WL{constructor(t){if(super(t),t.type!==_.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return v.c0}}),C="important",E=" !"+C,w=(0,_.u$)(class extends _.WL{constructor(t){if(super(t),t.type!==_.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(E);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?C:""):s[t]=i}}return v.c0}});s(22804);var U=s(80966);class S extends y.WF{constructor(){super(),this.M=[],this.manager=new A.C(this);const t=this,e=t.constructor,s=e.N,i=e.K.o,o=S.prototype.shouldUpdate;t.#v=s?.H??new n.c,t.I=s?.I??new n.c,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#_=t.enableUpdating,t.enableUpdating=c,t.shouldUpdate!==o&&(t.#b=t.shouldUpdate,t.shouldUpdate=o),i&&(t.#C=new Map,e.elementProperties.forEach((e,s)=>t.#C.set(s,i()))),y.S$&&t.el.setAttribute(e.K.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),s=this.shadowRootOptions===a;return void 0===this.K?.commonStyles||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){const s="number"==typeof e?e:Array.isArray(e)?e[0]:0,i=Array.isArray(e)?e[1]:void 0,o=i?.hasChanged??y.Ec,n={attribute:!!(1&s&&"string"==typeof t)&&(0,g.j1)(t),reflect:!!(2&s),type:4&s?Boolean:8&s?Number:void 0,state:!!(16&s),readOnly:!!(32&s),noAccessor:!!(64&s),c:!1,...i,hasChanged(t,e){const s=o(t,e);return n.c=s,s}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){const o=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return o.t?.(this.#C.get(t)),n.get?.call(this)},set(e){const o=this.manager;if(s.readOnly&&!$.s&&(o.R||o.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${e}"`);n.set.call(this,e??void 0),s.c&&this.#C?.get(t)?.notify(),o.T.length>0&&((0,i.p)(),o?.S(t,e))}}}static{this.lumina=!0}static{h(this)}#C;#b;#_;#v;#E;#w;get elementInternals(){return this.#w??=this.el.attachInternals(),this.#w}connectedCallback(){this.hasAttribute("defer-hydration")||this.#U(!0)}#U(t){const e=this.constructor.K.c?.(()=>this.requestUpdate());this.#E=e;const s=!this.manager.connectedCalled;t&&super.connectedCallback(),s?queueMicrotask(()=>this.#S().catch(t=>{this.#v.reject(t),setTimeout(()=>{throw t})})):e&&this.requestUpdate()}#T(t){try{this.#E.clear(),this.constructor.K.r(this.#E,()=>super.update(t))}catch(t){throw this.#E.clear(),t}}disconnectedCallback(){super.disconnectedCallback(),this.#E?.destroy(),this.#E=void 0}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===a?this.el:this.el.attachShadow(s));if(t)return this.manager.connectedCalled||this.#U(!1),y.WF.prototype.createRenderRoot.call(this),t;if(this.isConnected){const t=i.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map(t=>"styleSheet"in t?t.styleSheet:t)]}return i}async#S(){const t=this.el.G??r(this.el);t&&await t;const e=[];for(const t of this.M)"triggerLoad"in t?e.push(t.triggerLoad()):e.push((0,m.ao)(t.hostLoad,t));await Promise.all(e),await(this.load?.()),this.manager.hasDestroy&&this.manager.onUpdate(t=>t.has(A.a)&&this.manager.U()),this.#_(!0),this.performUpdate(),this.I.resolve(),await 0;const s=this.J.filter(t=>!t.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async t=>await t.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(const t of this.M)"triggerLoaded"in t?t.triggerLoaded():(0,m.UF)(t.hostLoaded,t);this.loaded?.(),this.#v.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#b?.(t)??!0}update(t){this.#E?this.#T(t):super.update(t)}listen(t,e,s){const i=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,i,s),()=>this.el.removeEventListener(t,i,s)))}listenOn(t,e,s,i){const o=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,o,i),()=>t.removeEventListener(e,o,i)))}async componentOnReady(){return await this.#v.promise,this}addController(t){this.M.push(t),!($.c in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}}const T=t=>{let e;const s=t=>{e=new URL(t,globalThis.location?.href||void 0).href},i={...t,getAssetPath(t){const s=new URL(t,e);return s.origin!==globalThis.location?.origin?s.href:s.pathname},setAssetPath:s,customElement(t,e){e.K=i,e.L=t,y.S$?function(){try{customElements.define(t,e)}catch{}}():customElements.get(t)||customElements.define(t,e)}};return s(t.defaultAssetPath),i},k=t=>"object"==typeof t&&null!=t?b(t):t,L=t=>"object"==typeof t&&null!=t?w(t):t;class O extends _.WL{#k;#L;constructor(t){super(t);const e=this;this.#L=function(t){return e.#k.call(this,t)}}render(t){return"function"==typeof t?(this.#k=t,(0,U.K)(this.#L)):(0,U.K)(t)}}(0,_.u$)(O);const x=y.s6;function P(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)}const R={toAttribute:t=>!0===t?"":!1===t?null:t}},27267(t,e,s){s.d(e,{Yt:()=>i,Zj:()=>c,eg:()=>a});const i=(t,e,s)=>(0,n(e).subscribe)(e=>{const i=e.some(e=>((t,e)=>{let s=t;for(;s;){if(s===e)return!0;if(!s.parentNode)return!1;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(t,e.target));i&&s()}),o={},n=t=>{const e=t.join(","),s=o[e];if(void 0!==s)return s;const i=new Set,n=new MutationObserver(t=>i.forEach(e=>e(t)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const r={subscribe:t=>(i.add(t),()=>{i.delete(t),0===i.size&&(n.disconnect(),o[e]=void 0)})};return o[e]=r,r},r=(t,e)=>{let s=t;for(;s;){const t=s.closest?.(e);if(t)return t;const i=s.getRootNode?.();if(i===globalThis.document)return;s=i?.host}};function a(t){const e=r(t,".calcite-mode-dark, .calcite-mode-light, .calcite-mode-auto");return e?.classList.contains("calcite-mode-dark")||e?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const c=(t,e,s)=>{const i=r(t,`[${e}]`);return i?.getAttribute(e)??s}},28341(t,e,s){s.d(e,{UF:()=>i,ao:()=>o});const i=(t,e,...s)=>{try{return t?.call(e,...s)}catch(e){console.error(e,t)}},o=async(t,e,...s)=>{try{const i=t?.call(e,...s);return await i}catch(e){console.error(e,t)}}},45621(t,e,s){s.d(e,{G3:()=>r,Rm:()=>n});const i=new Set;const o=t=>"string"==typeof t?t:"el"in t?t.el.localName:"localName"in t?t.localName:t.declaredClass,n=(t,e,s,n)=>{const r=o(e);if(n?.once){const e=`${t}${r}${s}`;if(i.has(e))return;i.add(e)}let a;if(n?.detail){a={};for(const[t,e]of Object.entries(n.detail))if("object"!=typeof e&&"function"!=typeof e||null===e)a[t]=e;else{const s=new WeakRef(e);Object.defineProperty(a,t,{get:()=>s.deref()})}console[t](`[${r}]: ${s}`,a)}else console[t](`[${r}]: ${s}`)},r=t=>{const e=`[${o(t)}] `;return t=>{const s=t instanceof Error&&t.message?t:new Error(String(t));s.message=`${e}${s.message}`,setTimeout(()=>{throw t})}}},97434(t,e,s){s.d(e,{c:()=>i,o:()=>o});class i{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}const o=(t,e)=>{const s=e>n?r:e/a;let i=0;const o=setInterval(()=>{i+=s,i>=e&&(clearInterval(o),t())},s);return o},n=4e3,r=2e3,a=4},2572(t,e,s){s.d(e,{TK:()=>i,YF:()=>a,j1:()=>o});const i=t=>t.split("-").map(r).join(""),o=t=>t.replace(n,(t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`),n=/[A-Z]+(?![a-z])|[A-Z]/gu,r=t=>t.charAt(0).toUpperCase()+t.slice(1),a=t=>t.charAt(0).toLowerCase()+t.slice(1);crypto},51391(t,e,s){s.d(e,{C:()=>a,D:()=>c,a:()=>p,b:()=>h,c:()=>g,g:()=>y,s:()=>$}),Object(function(){var t=new Error("Cannot find module '../cdn/main.css'");throw t.code="MODULE_NOT_FOUND",t}());var i=s(98824),o=s(41276);const n="calcite-mode-auto",r="calcite-mode-dark",a={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},c={filter:250,nextTick:0,resize:150,reposition:100},h=25;function l(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",i=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),o=t=>{a!==t&&i(t),a=t};let a=s();i(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>o(t.matches?"dark":"light")),new MutationObserver(()=>o(s())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}let d;const u={focusTrapStack:[],logLevel:"info"};function p(){return d||(d={...u,...globalThis.calciteConfig??{}}),d}const f="5.1.0-next.30";o.S$||("interactive"===document.readyState?l():document.addEventListener("DOMContentLoaded",l,{once:!0})),queueMicrotask(function(){const t=p();t&&t.version||(console.info(`Using Calcite Components ${f} [Date: 2026-04-07, Revision: cf2830e9d]`),Object.defineProperty(t,"version",{value:f,writable:!1}),globalThis.calciteConfig=t)});const m=(0,i.le)({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.1.0-next.30/dist/cdn/",hydratedAttribute:"calcite-hydrated"}),{customElement:g,getAssetPath:y,setAssetPath:$}=m},30168(t,e,s){s.d(e,{Qu:()=>n,qu:()=>o});var i=s(51391);let o=!1;const n=t=>{o=!0,(0,i.s)(t)}},22343(t,e,s){s.d(e,{mN:()=>w,AH:()=>c,W3:()=>b,Ec:()=>C});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(s,t,n)},h=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}},l=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:d,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:m,getPrototypeOf:g}=Object,y=globalThis,$=y.trustedTypes,A=$?$.emptyScript:"",v=y.reactiveElementPolyfillSupport,_=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?A:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},C=(t,e)=>!d(t,e),E={attribute:!0,type:String,converter:b,reflect:!1,useDefault:!1,hasChanged:C};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class w extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const n=i?.call(this);o?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??E}static _$Ei(){if(this.hasOwnProperty(_("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(_("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_("properties"))){const t=this.properties,e=[...f(t),...m(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:b).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=i;const n=o.fromAttribute(e,t.type);this[i]=n??this._$Ej?.get(i)??n,this._$Em=null}}requestUpdate(t,e,s,i=!1,o){if(void 0!==t){const n=this.constructor;if(!1===i&&(o=this[t]),s??=n.getPropertyOptions(t),!((s.hasChanged??C)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==o||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[_("elementProperties")]=new Map,w[_("finalized")]=new Map,v?.({ReactiveElement:w}),(y.reactiveElementVersions??=[]).push("2.1.2")},40171(t,e,s){s.d(e,{Rt:()=>n,mY:()=>a});var i=s(33377);const{I:o}=i.ge,n=t=>void 0===t.strings,r={},a=(t,e=r)=>t._$AH=e},63179(t,e,s){s.d(e,{OA:()=>i,WL:()=>n,u$:()=>o});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},o=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},33377(t,e,s){s.d(e,{JW:()=>U,XX:()=>q,c0:()=>T,ej:()=>S,ge:()=>z,qy:()=>w,s6:()=>k});const i=globalThis,o=t=>t,n=i.trustedTypes,r=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",c=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+c,l=`<${h}>`,d=document,u=()=>d.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,f=Array.isArray,m=t=>f(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,A=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,b=/"/g,C=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),w=E(1),U=E(2),S=E(3),T=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),L=new WeakMap,O=d.createTreeWalker(d,129);function x(t,e){if(!f(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,i=[];let o,n=2===e?"<svg>":3===e?"<math>":"",r=y;for(let e=0;e<s;e++){const s=t[e];let h,d,u=-1,p=0;for(;p<s.length&&(r.lastIndex=p,d=r.exec(s),null!==d);)p=r.lastIndex,r===y?"!--"===d[1]?r=$:void 0!==d[1]?r=A:void 0!==d[2]?(C.test(d[2])&&(o=RegExp("</"+d[2],"g")),r=v):void 0!==d[3]&&(r=v):r===v?">"===d[0]?(r=o??y,u=-1):void 0===d[1]?u=-2:(u=r.lastIndex-d[2].length,h=d[1],r=void 0===d[3]?v:'"'===d[3]?b:_):r===b||r===_?r=v:r===$||r===A?r=y:(r=v,o=void 0);const f=r===v&&t[e+1].startsWith("/>")?" ":"";n+=r===y?s+l:u>=0?(i.push(h),s.slice(0,u)+a+s.slice(u)+c+f):s+c+(-2===u?e:f)}return[x(t,n+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class R{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,r=0;const l=t.length-1,d=this.parts,[p,f]=P(t,e);if(this.el=R.createElement(p,s),O.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=O.nextNode())&&d.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(a)){const e=f[r++],s=i.getAttribute(t).split(c),n=/([.?@])?(.*)/.exec(e);d.push({type:1,index:o,name:n[2],strings:s,ctor:"."===n[1]?H:"?"===n[1]?I:"@"===n[1]?F:j}),i.removeAttribute(t)}else t.startsWith(c)&&(d.push({type:6,index:o}),i.removeAttribute(t));if(C.test(i.tagName)){const t=i.textContent.split(c),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],u()),O.nextNode(),d.push({type:2,index:++o});i.append(t[e],u())}}}else if(8===i.nodeType)if(i.data===h)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(c,t+1));)d.push({type:7,index:o}),t+=c.length-1}o++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function M(t,e,s=t,i){if(e===T)return e;let o=void 0!==i?s._$Co?.[i]:s._$Cl;const n=p(e)?void 0:e._$litDirective$;return o?.constructor!==n&&(o?._$AO?.(!1),void 0===n?o=void 0:(o=new n(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=o:s._$Cl=o),void 0!==o&&(e=M(t,o._$AS(t,e.values),o,i)),e}class D{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);O.currentNode=i;let o=O.nextNode(),n=0,r=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new N(o,o.nextSibling,this,t):1===a.type?e=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(e=new W(o,this,t)),this._$AV.push(e),a=s[++r]}n!==a?.index&&(o=O.nextNode(),n++)}return O.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class N{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),p(t)?t===k||null==t||""===t?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):m(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==k&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=R.createElement(x(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new D(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new R(t)),e}k(t){f(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new N(this.O(u()),this.O(u()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=o(t).nextSibling;o(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class j{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=k}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(void 0===o)t=M(this,t,e,0),n=!p(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const i=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=M(this,i[s+r],e,r),a===T&&(a=this._$AH[r]),n||=!p(a)||a!==this._$AH[r],a===k?t=k:t!==k&&(t+=(a??"")+o[r+1]),this._$AH[r]=a}n&&!i&&this.j(t)}j(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class H extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===k?void 0:t}}class I extends j{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==k)}}class F extends j{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??k)===T)return;const s=this._$AH,i=t===k&&s!==k||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==k&&(s===k||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const z={M:a,P:c,A:h,C:1,L:P,R:D,D:m,V:M,I:N,H:j,N:I,U:F,B:H,F:W},B=i.litHtmlPolyfillSupport;B?.(R,N),(i.litHtmlVersions??=[]).push("3.3.2");const q=(t,e,s)=>{const i=s?.renderBefore??e;let o=i._$litPart$;if(void 0===o){const t=s?.renderBefore??null;i._$litPart$=o=new N(e.insertBefore(u(),t),t,void 0,s??{})}return o._$AI(t),o}},22804(t,e,s){s.d(e,{V:()=>r});var i=s(33377),o=s(63179),n=s(40171);const r=(0,o.u$)(class extends o.WL{constructor(t){if(super(t),t.type!==o.OA.PROPERTY&&t.type!==o.OA.ATTRIBUTE&&t.type!==o.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===i.c0||e===i.s6)return e;const s=t.element,r=t.name;if(t.type===o.OA.PROPERTY){if(e===s[r])return i.c0}else if(t.type===o.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(r))return i.c0}else if(t.type===o.OA.ATTRIBUTE&&s.getAttribute(r)===e+"")return i.c0;return(0,n.mY)(t),e}})},80966(t,e,s){s.d(e,{_:()=>p,K:()=>g});var i=s(33377),o=s(40171),n=s(63179);const r=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),r(t,e);return!0},a=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},c=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function h(t){void 0!==this._$AN?(a(this),this._$AM=t,c(this)):this._$AM=t}function l(t,e=!1,s=0){const i=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)r(i[t],!1),a(i[t]);else null!=i&&(r(i,!1),a(i));else r(this,t)}const d=t=>{t.type==n.OA.CHILD&&(t._$AP??=l,t._$AQ??=h)};class u extends n.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),c(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(r(this,t),a(this))}setValue(t){if((0,o.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const p=()=>new f;class f{}const m=new WeakMap,g=(0,n.u$)(class extends u{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&void 0!==this.G&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=m.get(e);void 0===s&&(s=new WeakMap,m.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?m.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},41276(t,e,s){s.d(e,{WF:()=>r,AH:()=>i.AH,qy:()=>o.qy,S$:()=>c,Ec:()=>i.Ec,s6:()=>o.s6,JW:()=>o.JW});var i=s(22343),o=s(33377);const n=globalThis;class r extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}r._$litElement$=!0,r.finalized=!0,n.litElementHydrateSupport?.({LitElement:r});const a=n.litElementPolyfillSupport;a?.({LitElement:r}),(n.litElementVersions??=[]).push("4.2.2");const c=!1}}]);
|