@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.
Files changed (104) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{b801631b58e6fc6cec8a.js → 0ae360bf253adee46737.js} +1 -1
  3. package/assets/esri/core/workers/chunks/{b495f14d90abe8d1a558.js → 12e575a6d2b008b8fc2b.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{61ef14e42bc09b787d89.js → 13e60f19f436b8d683ae.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{7e6ccf9f3e756186e93e.js → 29e76256e3e867e80520.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{bea70be8e38b8c83ccd2.js → 30f04dc001eaf838d64c.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{628f56c09838eb9c573b.js → 422824e407b550170c8c.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{68b47a5a50e0b5fffca2.js → 5c663d5f98bdfa29151b.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{ae0a572cbbdd9815ee2e.js → 62b3e933f548ce354b99.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{6f9ea461c268c421f9c9.js → 7951d93f5f15aa76f49c.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{b79058f5bda6fcac22f8.js → 80ace1c7203c5059525d.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{b92794def31592a6a25f.js → 8d75f6f27c1c17c33992.js} +1 -1
  13. package/assets/esri/core/workers/chunks/95d82c619dcbec2e1050.js +1 -0
  14. package/assets/esri/core/workers/chunks/9eb4ae556950e1d0124d.js +2 -0
  15. package/assets/esri/core/workers/chunks/{02876e434dc91c42b2f4.js → a78bc340a794fd332667.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{1edd39c7c4acdc591d10.js → a809b811121099a87a98.js} +1 -1
  17. package/assets/esri/core/workers/chunks/abdf146b35e179b5b245.js +1 -0
  18. package/assets/esri/core/workers/chunks/{d2aa75816e84b1e7fd25.js → afc0baf86ece710ef867.js} +1 -1
  19. package/assets/esri/core/workers/chunks/b6cadb8a579241adcb86.js +1 -0
  20. package/assets/esri/core/workers/chunks/{3cd9bd20e75ba4d5b294.js → b9848bdbaf3d9ac93d54.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{b475f5492c6e3fd4cca8.js → bef27a25fbc4a6e19ec0.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{a65d576e90179a2b5400.js → c5507480344176fad241.js} +1 -1
  23. package/assets/esri/core/workers/chunks/c70df6ed190f9ebcf6aa.js +1 -0
  24. package/assets/esri/core/workers/chunks/cd7159600ce132e32d04.js +1 -0
  25. package/assets/esri/core/workers/chunks/{dec6d41d614105e6fd93.js → cfe246adb5e6cb6f0cfc.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{91a0227a64a944af3286.js → d17fcfc502f0e0fa6523.js} +2 -2
  27. package/assets/esri/core/workers/chunks/d65b1234867f7d773d50.js +2 -0
  28. package/assets/esri/core/workers/chunks/{aa1a3a849aba84cf585b.js → e1bc9ad767e08dc18bbc.js} +1 -1
  29. package/assets/esri/core/workers/chunks/e25a684eb9f025bdcc01.js +1 -0
  30. package/assets/esri/core/workers/chunks/e272411e2c9378aa8496.js +1312 -0
  31. package/assets/esri/core/workers/chunks/{0d96e39380fd84cea9ba.js → f207b3be0714cc50030a.js} +1 -1
  32. package/assets/esri/core/workers/chunks/f53805c7a84203305b2c.js +1 -0
  33. package/assets/esri/core/workers/chunks/{c1838822b096d5f36a8b.js → f5c57ff48ca505ed701d.js} +1 -1
  34. package/chunks/GlobalIllumination.glsl.js +186 -116
  35. package/chunks/GlobalIlluminationBlur.glsl.js +81 -61
  36. package/chunks/GlobalIlluminationUpscale.glsl.js +66 -0
  37. package/config.js +1 -1
  38. package/form/elements/FieldElement.d.ts +3 -2
  39. package/form/elements/inputs/Input.d.ts +1 -1
  40. package/form/elements/inputs/MultipleChoiceInput.d.ts +65 -0
  41. package/form/elements/inputs/MultipleChoiceInput.js +2 -0
  42. package/form/elements/inputs/inputUtils.js +1 -1
  43. package/form/elements/inputs/multipleChoice/Choice.d.ts +30 -0
  44. package/form/elements/inputs/multipleChoice/Choice.js +2 -0
  45. package/form/elements/inputs/multipleChoice/OtherChoice.d.ts +28 -0
  46. package/form/elements/inputs/multipleChoice/OtherChoice.js +2 -0
  47. package/form/elements/inputs.d.ts +11 -2
  48. package/form/elements/inputs.js +1 -1
  49. package/form/support/formUtils.js +1 -1
  50. package/interfaces.d.ts +28 -0
  51. package/kernel.js +1 -1
  52. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  53. package/package.json +2 -2
  54. package/support/revision.js +1 -1
  55. package/third-party-notices.txt +7 -29
  56. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  57. package/views/3d/environment/EnvironmentManager.js +1 -1
  58. package/views/3d/layers/I3SMeshView3D.js +1 -1
  59. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  60. package/views/3d/support/orientedBoundingBox.js +1 -1
  61. package/views/3d/terrain/TerrainRenderer.js +1 -1
  62. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  63. package/views/3d/webgl-engine/core/shaderLibrary/shading/GlobalIlluminationWeights.glsl.js +21 -0
  64. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadGlobalIllumination.glsl.js +11 -7
  65. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +2 -0
  66. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  67. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +2 -0
  68. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlurTechnique.js +1 -1
  69. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechnique.js +1 -1
  70. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscale.glsl.js +2 -0
  71. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscaleTechnique.js +2 -0
  72. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  73. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  74. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  75. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  76. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  77. package/views/interactive/sketch/SketchOptions.d.ts +3 -1
  78. package/views/interactive/sketch/SketchTooltipOptions.d.ts +6 -0
  79. package/views/support/Scheduler.js +1 -1
  80. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  81. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  82. package/widgets/BatchAttributeForm/inputs/SingleFeatureInputAdapter.js +2 -0
  83. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +28 -4
  84. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  85. package/widgets/BatchAttributeForm/templates/AttachmentElementTemplate.js +2 -0
  86. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  87. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  88. package/widgets/BatchAttributeForm/templates/support/templateUtils.js +1 -1
  89. package/widgets/Search/support/layerSearchUtils.js +1 -1
  90. package/widgets/support/widgetUtils.js +1 -1
  91. package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +0 -2
  92. package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +0 -1
  93. package/assets/esri/core/workers/chunks/a37fc886227365f7ecd5.js +0 -1
  94. package/assets/esri/core/workers/chunks/d0c3ab70f390cd579fed.js +0 -1
  95. package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +0 -2
  96. package/assets/esri/core/workers/chunks/dca595fdd5e1a571e441.js +0 -1
  97. package/assets/esri/core/workers/chunks/de583214195eff13cb00.js +0 -1140
  98. package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +0 -1
  99. package/assets/esri/core/workers/chunks/ef013a77950c1902de11.js +0 -1
  100. package/views/3d/webgl-engine/core/shaderLibrary/shading/EncodingColor.glsl.js +0 -7
  101. package/views/3d/webgl-engine/shaders/GlobalIllumination.glsl.js +0 -2
  102. package/views/3d/webgl-engine/shaders/GlobalIlluminationBlur.glsl.js +0 -2
  103. /package/assets/esri/core/workers/chunks/{85edbb072a2ce6c1bb30.js.LICENSE.txt → 9eb4ae556950e1d0124d.js.LICENSE.txt} +0 -0
  104. /package/assets/esri/core/workers/chunks/{d4a9eb4470cc6a1f67fc.js.LICENSE.txt → d65b1234867f7d773d50.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
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:()=>w,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,q=A,S=h.S8,w=h.t2,z=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:z,exactEquals:w,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:S,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,S(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],S(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:q,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:()=>zt});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 q=(0,c.vt)(),S=(0,c.vt)(),w=(0,c.vt)(),z=(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,q,S),void 0!==q[0]&&(ft(w,q,e),mt(w,w),ft(z,q,a),mt(z,z),ft(y,q,s),mt(y,y),_t(C,z,r),mt(C,C),_t(N,y,i),mt(N,N),_t(Q,w,o),mt(Q,Q),D(t,C,r,z,w,h),D(t,N,i,y,z,h),D(t,Q,o,w,y,h)),void 0!==S[0]&&(ft(w,S,e),mt(w,w),ft(z,S,a),mt(z,z),ft(y,S,s),mt(y,y),_t(C,z,r),mt(C,C),_t(N,y,i),mt(N,N),_t(Q,w,o),mt(Q,Q),D(t,C,r,z,w,h),D(t,N,i,y,z,h),D(t,Q,o,w,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]}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),q=p-Math.min(p,i);return I*I+A*A+q*q<=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=wt[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]);St[2*t]=At[0]*a,St[2*t+1]=At[1]*a}const g=2*_-2;let v=St[0]*(St[3]-St[g+1])+St[g]*(St[1]-St[g-1]);for(let t=2;t<g;t+=2)v+=St[t]*(St[t+3]-St[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 qt(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 St=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1,1.1,1.2],wt=(()=>{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 zt(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),qt(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}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6606],{78247(e,t,i){i.d(t,{A:()=>le});var n,o=i(5482),r=i(69540),s=i(25482),l=i(3483),p=i(91429),a=i(36005);let u=n=class extends s.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,p.MZ)({type:["boolean","date","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,p.$K)("esri.form.ExpressionInfo")],u);const y=u;var m=i(4718),d=i(79901),c=i(43937),h=i(28787),g=i(56507);let w=class extends((0,r.OU)(s.o)){constructor(){super(...arguments),this.type=null}};(0,o.Cg)([(0,p.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.Input")],w);const x=w,f=["any","capture","upload"];let C=class extends x{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],C.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],C.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],C.prototype,"maxDuration",void 0),C=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AudioInput")],C);const v=C;let M=class extends x{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,p.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxFileSize",void 0),M=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.DocumentInput")],M);const b=M;let Z=class extends x{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,p.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let E=class extends x{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,p.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],E.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],E.prototype,"inputMethod",void 0),E=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.SignatureInput")],E);const T=E;let I=class extends x{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],I.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:f,json:{write:!0}})],I.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],I.prototype,"maxDuration",void 0),I=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.VideoInput")],I);const S=I;function O(e){return{nestableTypes:{base:x,key:"type",typeMap:{audio:v,document:b,image:j,signature:T,video:S}},allTypes:{base:x,key:"type",typeMap:{attachment:e,audio:v,document:b,image:j,signature:T,video:S}}}}let A=class extends x{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,g.aq)(t.nestableTypes,e)):null}(e,F)}readInputs(e,t){return function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,F)}writeInputs(e,t){t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,F)}};(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],A.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],A.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:{isRequired:!0}}})],A.prototype,"inputTypes",null),(0,o.Cg)([(0,p.wg)("inputTypes")],A.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],A.prototype,"readInputs",null),(0,o.Cg)([(0,c.K)("inputTypes")],A.prototype,"writeInputs",null),A=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],A);const F=O(A);var N;const K=O(A);let $=N=class extends h.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression='StandardizeFilename(`${$formElement.attachmentKeyword}_${Text(Now(), "YMMDDHHmmss")}`)',this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new N({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:{isRequired:!0}}})],$.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"displayFilename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],$.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],$.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,p.MZ)({types:K.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],$.prototype,"input",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],$.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],$.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],$.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"useOriginalFilename",void 0),$=N=(0,o.Cg)([(0,p.$K)("esri.form.elements.AttachmentElement")],$);const R=$;var k,L=i(58769),V=i(49852);let B=k=class extends h.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new k({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,m.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],B.prototype,"displayCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["list"],json:{write:!0}})],B.prototype,"displayType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],B.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:[V.A],json:{write:!0}})],B.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],B.prototype,"relationshipId",void 0),(0,o.Cg)([(0,p.MZ)({type:["relationship"],json:{read:!1,write:!0}})],B.prototype,"type",void 0),B=k=(0,o.Cg)([(0,p.$K)("esri.form.elements.RelationshipElement")],B);const D=B;var _;let U=_=class extends h.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new _({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"text",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"textFormat",void 0),(0,o.Cg)([(0,p.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],U.prototype,"type",void 0),U=_=(0,o.Cg)([(0,p.$K)("esri.form.elements.TextElement")],U);const q=U;var W=i(83342);let G=class extends((0,r.OU)(h.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,p.MZ)({type:[W.A],json:{write:{isRequired:!0}}})],G.prototype,"associationTypes",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],G.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],G.prototype,"type",void 0),G=(0,o.Cg)([(0,p.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],G);const P=G,J=e=>"field"===e.type,z=e=>"group"===e.type,H=e=>"text"===e.type;function X(e){return{typesWithGroup:{base:h.A,key:"type",typeMap:{attachment:R,field:L.A,group:e,relationship:D,text:q,utilityNetworkAssociations:P}},typesWithoutGroup:{base:h.A,key:"type",typeMap:{attachment:R,field:L.A,relationship:D,text:q,utilityNetworkAssociations:P}}}}function Y(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,g.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends h.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Y(t.formElements,ne,!1)}writeElements(e,t){t.formElements=Q(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,m.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,d.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,c.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,p.$K)("esri.form.elements.GroupElement")],ie);const ne=X(ie),oe=ie;var re=i(30524);const se=X(oe);let le=class extends((0,r.OU)(s.o)){constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.supportsAttachmentElements=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,se)}readElements(e,t){return Y(t.formElements,se)}writeElements(e,t){t.formElements=Q(e,se)}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:r,title:s}=this;if(ue(i,e,n),ue(i,e,s),!o)return[];const l=function(e,t){if(!t||0===t.length)return[];const i=ae(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,r).map(t=>(0,re.Dx)(i,e,null,t));await Promise.all(l);for(const n of o)pe(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function pe(e,t,i){const{fieldsIndex:n}=t;if(n?.fields.length!==e.size)switch(ue(e,n,i.label),ue(e,n,i.description),i.type){case"field":(0,re.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>pe(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,re.rq)(e,n,o.keyField)}(0,re._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ue(e,n,i.text)}}function ae(e){const t=new Set;for(const i of e)if((0,l.kb)(t,i.visibilityExpression),!H(i))if(z(i))(0,l.FB)(t,ae(i.elements));else if((0,l.kb)(t,i.editableExpression),J(i)){const{requiredExpression:e,valueExpression:n}=i;(0,l.FB)(t,[e,n])}return t}function ue(e,t,i){(0,re._w)(e,t,(0,re.nw)(i))}(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],le.prototype,"description",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],le.prototype,"elements",null),(0,o.Cg)([(0,p.wg)("elements")],le.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],le.prototype,"readElements",null),(0,o.Cg)([(0,c.K)("elements")],le.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:[y],json:{write:!0}})],le.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],le.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],le.prototype,"supportsAttachmentElements",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],le.prototype,"title",void 0),le=(0,o.Cg)([(0,p.$K)("esri.form.FormTemplate")],le)},28787(e,t,i){i.d(t,{A:()=>l});var n=i(5482),o=i(25482),r=i(10107),s=i(64108);let l=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"description",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"label",void 0),(0,n.Cg)([(0,r.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"visibilityExpression",void 0),l=(0,n.Cg)([(0,s.$)("esri.form.elements.Element")],l)},58769(e,t,i){i.d(t,{A:()=>Q});var n=i(5482),o=i(91429),r=i(28787),s=i(25482);let l=class extends s.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],l);const p=l;let a=class extends p{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let m=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],m.prototype,"type",void 0),m=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],m);const d=m;var c;let h=c=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="combo-box"}clone(){return new c({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],h.prototype,"type",void 0),h=c=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],h);const g=h;var w,x=i(36005),f=i(43937);function C(e){return null!=e?e:null}function v(e){return null!=e?e:null}let M=w=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return C(t.max)}writeMax(e,t){t.max=v(e)}readMin(e,t){return C(t.min)}writeMin(e,t){t.min=v(e)}clone(){return new w({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],M.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],M.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],M.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],M.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],M.prototype,"type",void 0),M=w=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],M);const b=M;var Z;function j(e){return null!=e?e:null}function E(e){return null!=e?e:null}let T=Z=class extends p{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="timestampoffset-picker"}readMax(e,t){return j(t.max)}writeMax(e,t){t.max=E(e)}readMin(e,t){return j(t.min)}writeMin(e,t){t.min=E(e)}readTimeResolution(e,t){return j(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=E(e)}clone(){return new Z({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],T.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],T.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],T.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],T.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],T.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],T.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],T.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],T.prototype,"timeResolution",void 0),(0,n.Cg)([(0,x.w)("timeResolution")],T.prototype,"readTimeResolution",null),(0,n.Cg)([(0,f.K)("timeResolution")],T.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["timestampoffset-picker"],json:{read:!1,write:!0}})],T.prototype,"type",void 0),T=Z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],T);const I=T;var S;function O(e){return null!=e?new Date(e):null}function A(e){return e?e.getTime():null}let F=S=class extends p{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return O(t.max)}writeMax(e,t){t.max=A(e)}readMin(e,t){return O(t.min)}writeMin(e,t){t.min=A(e)}clone(){return new S({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],F.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],F.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],F.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],F.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],F.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],F.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],F.prototype,"type",void 0),F=S=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],F);const N=F;var K;let $=K=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="radio-buttons"}clone(){return new K({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],$.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],$.prototype,"type",void 0),$=K=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],$);const R=$;var k;let L=k=class extends p{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new k({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],L.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],L.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],L.prototype,"type",void 0),L=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],L);const V=L;var B;let D=B=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new B({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],D.prototype,"type",void 0),D=B=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],D);const _=D;var U;let q=U=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new U({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],q.prototype,"type",void 0),q=U=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],q);const W=q;var G;function P(e){return null!=e?e:null}function J(e){return null!=e?e:null}let z=G=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return P(t.max)}writeMax(e,t){t.max=J(e)}readMin(e,t){return P(t.min)}writeMin(e,t){t.min=J(e)}readTimeResolution(e,t){return P(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=J(e)}clone(){return new G({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"max",void 0),(0,n.Cg)([(0,x.w)("max")],z.prototype,"readMax",null),(0,n.Cg)([(0,f.K)("max")],z.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"min",void 0),(0,n.Cg)([(0,x.w)("min")],z.prototype,"readMin",null),(0,n.Cg)([(0,f.K)("min")],z.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],z.prototype,"timeResolution",void 0),(0,n.Cg)([(0,x.w)("timeResolution")],z.prototype,"readTimeResolution",null),(0,n.Cg)([(0,f.K)("timeResolution")],z.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],z.prototype,"type",void 0),z=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],z);const H={base:p,key:"type",typeMap:{"barcode-scanner":d,"combo-box":g,"date-picker":b,"datetime-picker":N,"timestampoffset-picker":I,"radio-buttons":R,switch:V,"text-area":_,"text-box":W,"time-picker":z}};var X,Y=i(8631);let Q=X=class extends r.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new X({description:this.description,domain:this.domain,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input,label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:Y.g,json:{read:{reader:Y.r},write:!0}})],Q.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],Q.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:H,json:{read:{source:"inputType"},write:{target:"inputType"}}})],Q.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],Q.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],Q.prototype,"valueExpression",void 0),Q=X=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],Q)},83960(e,t,i){i.d(t,{X_:()=>r,oW:()=>l,zx:()=>s});var n=i(34727),o=i(86211);function r(e,t){const i=t||e.extent,n=e.width,r=(0,o.GA)(i?.spatialReference);return i&&n?i.width/n*r*o.dy*96:0}function s(e,t,i){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,i)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>x,KV:()=>f});var n=i(5482),o=i(93637),r=i(91429),s=i(89317),l=i(69540),p=i(7762),a=i(25482),u=i(83960),y=i(13069);const m={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let d=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"id",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:m})],d.prototype,"maxScale",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:m})],d.prototype,"minScale",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"where",void 0),d=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilter")],d);var c=i(41560),h=i(43937);let g=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(p.A.ofType(d)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,c.mW)(this,t))}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,r.MZ)({type:p.A.ofType(d),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,r.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,r.MZ)(x)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,r.MZ)(f)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,r.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},x={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},f={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},82935(e,t,i){i.d(t,{B:()=>m,e:()=>d});var n=i(5482),o=i(91429),r=i(89317),s=i(30524),l=i(96184),p=i(73133),a=i(79677),u=i(10184),y=i(36005);const m={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:r.K}}},d=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,o=p.j.fromJSON(i.timeOffsetUnits);return n&&o?new u.A({value:n,unit:o}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,n.Cg)([(0,o.MZ)({type:u.A})],i.prototype,"timeOffset",void 0),(0,n.Cg)([(0,y.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,n.Cg)([(0,o.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,n.Cg)([(0,o.MZ)(m)],i.prototype,"useViewTime",void 0),i=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.TemporalLayer")],i),i}},96184(e,t,i){i.d(t,{A:()=>d});var n=i(5482),o=i(69540),r=i(25482),s=i(91429),l=i(79677),p=i(10184),a=i(56400),u=i(36005),y=i(43937);function m(e,t){return p.A.fromJSON({value:e,unit:t})}let d=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?m(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?m(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],d.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],d.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],d.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,u.w)("fullTimeExtent",["timeExtent"])],d.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,y.K)("fullTimeExtent")],d.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:p.A,json:{write:{enabled:!0,allowNull:!0}}})],d.prototype,"interval",void 0),(0,n.Cg)([(0,u.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],d.prototype,"readInterval",null),(0,n.Cg)([(0,y.K)("interval")],d.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],d.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,a.P6)("timeReference",!0))],d.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],d.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],d.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],d.prototype,"stops",void 0),d=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],d)},17036(e,t,i){i.d(t,{p:()=>p});var n=i(44208),o=i(53966),r=i(20437),s=i(95466),l=i(30524);function p(){return{fields:{type:[r.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");o.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const i=this.fieldsIndex?.has(t);i||o.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}}}]);
@@ -1,7 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{glsl as e}from"../../shaderModules/glsl.js";function o(o){o.code.add(e`vec2 encodeRGBtoVec2(vec3 color) {
3
- return vec2(color.r, color.b);
4
- }
5
- vec3 decodeVec2ToRGB(vec2 encoded) {
6
- return vec3(encoded.x, (encoded.x + encoded.y)/2.0, encoded.y);
7
- }`)}export{o as EncodeEmissionColors};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"../core/shaderLibrary/ScreenSpacePass.glsl.js";import"../core/shaderLibrary/output/ReadDepthLastFrame.glsl.js";import"../core/shaderLibrary/shading/EncodingColor.glsl.js";import"../core/shaderLibrary/shading/MainLighting.glsl.js";import"../core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js";import"../core/shaderLibrary/util/CameraSpace.glsl.js";import"../core/shaderModules/FloatPassUniform.js";import"../core/shaderModules/glsl.js";import"../core/shaderModules/Matrix4BindUniform.js";import"../core/shaderModules/Texture2DBindUniform.js";import"../core/shaderModules/Texture2DPassUniform.js";import"../../../webgl/NoParameters.js";import"../../../webgl/ShaderBuilder.js";export{G as GlobalIlluminationPassParameters,b as build}from"../../../../chunks/GlobalIllumination.glsl.js";
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import"../core/shaderLibrary/ScreenSpacePass.glsl.js";import"../core/shaderLibrary/output/ReadDepth.glsl.js";import"../core/shaderLibrary/shading/EncodingColor.glsl.js";import"../core/shaderLibrary/util/CameraSpace.glsl.js";import"../core/shaderModules/Float2DrawUniform.js";import"../core/shaderModules/FloatPassUniform.js";import"../core/shaderModules/glsl.js";import"../core/shaderModules/Texture2DDrawUniform.js";import"../core/shaderModules/Texture2DPassUniform.js";import"../../../webgl/NoParameters.js";import"../../../webgl/ShaderBuilder.js";export{G as GlobalIlluminationBlurDrawParameters,b as build}from"../../../../chunks/GlobalIlluminationBlur.glsl.js";