@arcgis/core 4.33.0-next.20250401 → 4.33.0-next.20250403

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 (116) hide show
  1. package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -0
  2. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  3. package/arcade/functions/knowledgegraph.js +1 -1
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/0cd5f15b8558b23e5fcd.js +1 -0
  6. package/assets/esri/core/workers/chunks/0cec53e6f1464c69448d.js +1 -0
  7. package/assets/esri/core/workers/chunks/48fbf887da6d19838bf0.js +1 -0
  8. package/assets/esri/core/workers/chunks/{ba4d91816f6a0bf0d812.js → 4dc135e0133d58a06d67.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{322cb1b1871d03b69f0a.js → 5beb525b4adde1d98532.js} +33 -33
  10. package/assets/esri/core/workers/chunks/{3577909b8e84959d415b.js → 6a8cf1f51cc4adc268d3.js} +1 -1
  11. package/assets/esri/core/workers/chunks/6b0a6469673417563616.js +1 -0
  12. package/assets/esri/core/workers/chunks/{bdeac9196f28aff93e68.js → 93d06a1a0b700ddb3807.js} +1 -1
  13. package/assets/esri/core/workers/chunks/b28b699de6deb7e9fa53.js +1 -0
  14. package/assets/esri/core/workers/chunks/{1a5f96b1b892ecceb36a.js → b4a1f3f3a036226d6810.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{738e4f46feb3758456e0.js → baa9fd23414f03ef90bc.js} +1 -1
  16. package/assets/esri/core/workers/chunks/c977a47cabc419610277.js +1 -0
  17. package/assets/esri/core/workers/chunks/{7e00122014d0a55363a8.js → ccb289911e7445b17763.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{e2029267cddb8e2effab.js → d58fae2fc9d148e015ae.js} +1 -1
  19. package/core/sql/WhereClause.js +1 -1
  20. package/core/typedArrayUtil.js +1 -1
  21. package/editing/sharedTemplates/SharedTemplateProvider.js +1 -1
  22. package/geometry/Polygon.js +1 -1
  23. package/geometry/support/buffer/BufferView.js +1 -1
  24. package/geometry/support/buffer/internals/Vec2.js +1 -1
  25. package/interfaces.d.ts +112 -27
  26. package/layers/graphics/data/QueryEngineResult.js +1 -1
  27. package/layers/support/VideoElement.js +1 -1
  28. package/package.json +1 -1
  29. package/support/revision.js +1 -1
  30. package/symbols/support/ElevationInfo.js +1 -1
  31. package/undoredo/support/Services.js +1 -1
  32. package/views/2d/engine/vectorTiles/decluttering/CollisionJob.js +1 -1
  33. package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
  34. package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
  35. package/views/2d/layers/StreamLayerView2D.js +1 -1
  36. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  37. package/views/3d/environment/NoiseTextureAtlasTechnique.js +1 -1
  38. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  39. package/views/3d/environment/SimpleAtmosphereTechnique.js +1 -1
  40. package/views/3d/layers/DrapedSubView3D.js +1 -1
  41. package/views/3d/layers/I3SMeshView3D.js +1 -1
  42. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  43. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  44. package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
  45. package/views/3d/layers/i3s/I3SQueryFeatureAdapter.js +1 -1
  46. package/views/3d/layers/i3s/I3SQueryFeatureStore.js +1 -1
  47. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  48. package/views/3d/layers/support/TemporalSceneLayerView.js +1 -1
  49. package/views/3d/support/buffer/InterleavedLayout.js +1 -1
  50. package/views/3d/terrain/PatchGeometry.js +1 -1
  51. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  52. package/views/3d/terrain/TerrainAttributes.js +1 -1
  53. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +3 -3
  54. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  55. package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
  56. package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
  57. package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
  58. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightTechnique.js +1 -1
  59. package/views/3d/webgl-engine/effects/magnifier/MagnifierTechnique.js +1 -1
  60. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  61. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  62. package/views/3d/webgl-engine/lib/ChangeSet.js +1 -1
  63. package/views/3d/webgl-engine/lib/GLMaterials.js +1 -1
  64. package/views/3d/webgl-engine/lib/ITexture.js +1 -1
  65. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  66. package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
  67. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  68. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  69. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  70. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  71. package/views/3d/webgl-engine/lib/TextureRepository.js +1 -1
  72. package/views/3d/webgl-engine/lib/TextureTechnique.js +1 -1
  73. package/views/3d/webgl-engine/lib/TextureUpdater.js +5 -0
  74. package/views/3d/webgl-engine/lib/rendererUtils.js +1 -1
  75. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  76. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  77. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  78. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  79. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  80. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  81. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  82. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  83. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  84. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  85. package/views/3d/webgl-engine/shaders/HeatmapTechnique.js +1 -1
  86. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  87. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  88. package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +1 -1
  89. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  90. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +1 -1
  91. package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechnique.js +1 -1
  92. package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
  93. package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
  94. package/views/3d/webgl-engine/shaders/ViewshedTechnique.js +1 -1
  95. package/views/interactive/snapping/FeatureSnappingSourceInfo.js +1 -1
  96. package/views/layers/PointCloudLayerView.d.ts +1 -1
  97. package/views/layers/PointCloudLayerView.js +5 -0
  98. package/views/webgl/renderState.js +1 -1
  99. package/views/webgl/testFloatBufferBlend.js +1 -1
  100. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  101. package/widgets/Editor/UpdateWorkflow.js +1 -1
  102. package/widgets/Editor/workflowUtils.js +1 -1
  103. package/widgets/Editor.js +1 -1
  104. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  105. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationSettings.js +1 -1
  106. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  107. package/widgets/FeatureForm.js +1 -1
  108. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  109. package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
  110. package/widgets/support/GridControls.js +1 -1
  111. package/assets/esri/core/workers/chunks/093421648cc61afdeb3c.js +0 -1
  112. package/assets/esri/core/workers/chunks/4816cf647eca2f4cecc2.js +0 -1
  113. package/assets/esri/core/workers/chunks/8725580f6d2a495051b5.js +0 -1
  114. package/assets/esri/core/workers/chunks/a56da688088404259481.js +0 -1
  115. package/assets/esri/core/workers/chunks/e6469173c65531d6524a.js +0 -1
  116. package/assets/esri/core/workers/chunks/e9e517a2141e504eec64.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4731],{9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>o});var r=n(37539);function o(e,t,n,o,i,l,a=Math.floor(e.length/3)){const u=(0,r.jd)(t,i);if(null==u)return!1;if(u===r.pO){if(e===o&&n===l)return!0;const t=n+3*a;for(let r=n,i=l;r<t;r++,i++)o[i]=e[r];return!0}const c=n+3*a;for(let t=n,r=l;t<c;t+=3,r+=3)u(e,t,o,r);return!0}},34142:(e,t,n)=>{n.r(t),n.d(t,{default:()=>O});var r=n(4576),o=n(34275),i=n(67026),l=n(82534),a=n(38954),u=n(72385),c=n(16930),s=n(9762),f=(n(44208),n(63531)),d=n(69846),C=n(48425),A=n(59418),h=n(37203);function E(e,t,n){return e?.attributeInfo.useElevation?t?function(e,t){const n=new Float64Array(t);for(let r=0;r<t;r++)n[r]=e[3*r+2];return n}(t,n):null:e?.attributeInfo.storageInfo?(0,A.m0)(e.attributeInfo.storageInfo,e.buffer,n,!0):null}function g(e){switch(e){default:case null:case"none":return e=>e;case"low-four-bit":return e=>15&e;case"high-four-bit":return e=>(240&e)>>4;case"absolute-value":return e=>Math.abs(e);case"modulo-ten":return e=>e%10}}function b(e){let t=0;for(const n of e||[])t|=1<<n;return t}var S=n(57005);class y{transform(e){const t=this._transform(e),n=[t.points.buffer,t.rgb.buffer];null!=t.pointIdFilterMap&&n.push(t.pointIdFilterMap.buffer);for(const e of t.attributes)"buffer"in e.values&&(0,o.mw)(e.values.buffer)&&e.values.buffer!==t.rgb.buffer&&n.push(e.values.buffer);return Promise.resolve({result:t,transferList:n})}_transform(e){const t=function(e,t){if(null==e.encoding||""===e.encoding){const n=(0,A.wH)(t,e);if(null==n.vertexAttributes.position)return;const r=(0,A.MA)(t,n.vertexAttributes.position),o=n.header.fields,i=[o.offsetX,o.offsetY,o.offsetZ],l=[o.scaleX,o.scaleY,o.scaleZ],a=r.length/3,u=new Float64Array(3*a);for(let e=0;e<a;e++)u[3*e]=r[3*e]*l[0]+i[0],u[3*e+1]=r[3*e+1]*l[1]+i[1],u[3*e+2]=r[3*e+2]*l[2]+i[2];return u}if("lepcc-xyz"===e.encoding)return(0,h.Me)(t).result}(e.schema,e.geometryBuffer);let n=t.length/3,o=null;const i=new Array,l=E(e.primaryAttributeData,t,n);null!=e.primaryAttributeData&&l&&i.push({attributeInfo:e.primaryAttributeData.attributeInfo,values:l});const a=E(e.modulationAttributeData,t,n);null!=e.modulationAttributeData&&a&&i.push({attributeInfo:e.modulationAttributeData.attributeInfo,values:a});let u=function(e,t,n,r){const{rendererJSON:o,isRGBRenderer:i}=e;let l=null,a=null;if(t&&i)l=t;else if(t&&"pointCloudUniqueValueRenderer"===o?.type){a=C.A.fromJSON(o);const e=a.colorUniqueValueInfos;l=new Uint8Array(3*r);const n=g(a.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(t[o]):t[o])+"";for(let t=0;t<e.length;t++)if(e[t].values.includes(r)){l[3*o]=e[t].color.r,l[3*o+1]=e[t].color.g,l[3*o+2]=e[t].color.b;break}}}else if(t&&"pointCloudStretchRenderer"===o?.type){a=d.A.fromJSON(o);const e=a.stops;l=new Uint8Array(3*r);const n=g(a.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(t[o]):t[o],i=e.length-1;if(r<e[0].value)l[3*o]=e[0].color.r,l[3*o+1]=e[0].color.g,l[3*o+2]=e[0].color.b;else if(r>=e[i].value)l[3*o]=e[i].color.r,l[3*o+1]=e[i].color.g,l[3*o+2]=e[i].color.b;else for(let t=1;t<e.length;t++)if(r<e[t].value){const n=(r-e[t-1].value)/(e[t].value-e[t-1].value);l[3*o]=e[t].color.r*n+e[t-1].color.r*(1-n),l[3*o+1]=e[t].color.g*n+e[t-1].color.g*(1-n),l[3*o+2]=e[t].color.b*n+e[t-1].color.b*(1-n);break}}}else if(t&&"pointCloudClassBreaksRenderer"===o?.type){a=f.A.fromJSON(o);const e=a.colorClassBreakInfos;l=new Uint8Array(3*r);const n=g(a.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(t[o]):t[o];for(let t=0;t<e.length;t++)if(r>=e[t].minValue&&r<=e[t].maxValue){l[3*o]=e[t].color.r,l[3*o+1]=e[t].color.g,l[3*o+2]=e[t].color.b;break}}}else l=new Uint8Array(3*r).fill(255);if(n&&a?.colorModulation){const e=a.colorModulation.minValue,t=a.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],a=r>=t?1:r<=e?o:o+(1-o)*(r-e)/(t-e);l[3*i]=a*l[3*i],l[3*i+1]=a*l[3*i+1],l[3*i+2]=a*l[3*i+2]}}return l}(e.rendererInfo,l,a,n);if(e.filterInfo&&e.filterInfo.length>0&&null!=e.filterAttributesData){const l=e.filterAttributesData.filter(r.Ru).map((e=>{const r=E(e,t,n),o={attributeInfo:e.attributeInfo,values:r};return i.push(o),o}));o=new Uint32Array(n),n=function(e,t,n,r,o){const i=e.length/3;let l=0;for(let a=0;a<i;a++){let i=!0;for(let e=0;e<r.length&&i;e++){const{filterJSON:t}=r[e],n=o[e].values[a];switch(t.type){case"pointCloudValueFilter":{const e="exclude"===t.mode;t.values.includes(n)===e&&(i=!1);break}case"pointCloudBitfieldFilter":{const e=b(t.requiredSetBits),r=b(t.requiredClearBits);((n&e)!==e||n&r)&&(i=!1);break}case"pointCloudReturnFilter":{const e=15&n,r=n>>>4&15,o=r>1,l=1===e,a=e===r;let u=!1;for(const e of t.includedReturns)if("last"===e&&a||"firstOfMany"===e&&l&&o||"lastOfMany"===e&&a&&o||"single"===e&&!o){u=!0;break}u||(i=!1);break}}}i&&(n[l]=a,e[3*l]=e[3*a],e[3*l+1]=e[3*a+1],e[3*l+2]=e[3*a+2],t[3*l]=t[3*a],t[3*l+1]=t[3*a+1],t[3*l+2]=t[3*a+2],l++)}return l}(t,u,o,e.filterInfo,l)}for(const r of e.userAttributesData){const e=E(r,t,n);i.push({attributeInfo:r.attributeInfo,values:e})}3*n<u.length&&(u=new Uint8Array(u.buffer.slice(0,3*n))),function(e,t,n){if(0!==n)for(let r=0;r<t;r++)e[3*r+2]+=n}(t,n,e.elevationOffset);const s=p(t,n,S.ab.fromData(e.obbData),c.A.fromJSON(e.inSR),c.A.fromJSON(e.outSR));return{obbData:e.obbData,points:s,rgb:u,attributes:i,pointIdFilterMap:o}}}function p(e,t,n,r,o){if(!(0,s.projectBuffer)(e,r,0,e,o,0,t))throw new Error("Can't reproject");const l=(0,u.o8)(n.center),c=(0,u.vt)(),f=(0,u.vt)(),d=(0,u.o8)(n.halfSize);(0,i.Xr)(R,n.quaternion);const C=new Float32Array(3*t);for(let n=0;n<t;n++){let t=3*n;c[0]=e[t]-l[0],c[1]=e[t+1]-l[1],c[2]=e[t+2]-l[2],(0,a.w)(f,c,R),d[0]=Math.max(d[0],Math.abs(f[0])),d[1]=Math.max(d[1],Math.abs(f[1])),d[2]=Math.max(d[2],Math.abs(f[2])),C[t++]=c[0],C[t++]=c[1],C[t]=c[2]}return n.halfSize=d,C}const R=(0,l.vt)();function O(){return new y}},37203:(e,t,n)=>{n.d(t,{Ax:()=>g,Me:()=>c,mb:()=>A});var r=n(49186);const o=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function l(e,t,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(e,n+i.identifierOffset,i.identifierLength)),version:t.getUint16(n+i.versionOffset,o),checksum:t.getUint32(n+i.checksumOffset,o)}}const a={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function u(e,t){return{sizeLo:e.getUint32(t+a.sizeLo,o),sizeHi:e.getUint32(t+a.sizeHi,o),minX:e.getFloat64(t+a.minX,o),minY:e.getFloat64(t+a.minY,o),minZ:e.getFloat64(t+a.minZ,o),maxX:e.getFloat64(t+a.maxX,o),maxY:e.getFloat64(t+a.maxY,o),maxZ:e.getFloat64(t+a.maxZ,o),errorX:e.getFloat64(t+a.errorX,o),errorY:e.getFloat64(t+a.errorY,o),errorZ:e.getFloat64(t+a.errorZ,o),count:e.getUint32(t+a.count,o),reserved:e.getUint32(t+a.reserved,o)}}function c(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:c}=l(e,t,n);if(n+=i.byteCount,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(c>1)throw new r.A("lepcc-decode-error","Unknown version");const f=u(t,n);if(n+=a.byteCount,f.sizeHi*2**32+f.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const d=new Float64Array(3*f.count),C=[],A=[],h=[],E=[];if(n=s(e,n,C),n=s(e,n,A),n=s(e,n,h),n=s(e,n,E),n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad length");let g=0,b=0;for(let e=0;e<C.length;e++){b+=C[e];let t=0;for(let n=0;n<A[e];n++){t+=h[g];const e=E[g];d[3*g]=Math.min(f.maxX,f.minX+2*f.errorX*t),d[3*g+1]=Math.min(f.maxY,f.minY+2*f.errorY*b),d[3*g+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*e),g++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:d}}function s(e,t,n){const r=[];t=f(e,t,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,t=f(e,t,o);for(let e=0;e<o.length;e++)n.push(o[e]+r[i])}return t}function f(e,t,n){const i=new DataView(e,t),l=i.getUint8(0),a=31&l,u=!!(32&l),c=(192&l)>>6;let s=0;if(0===c)s=i.getUint32(1,o),t+=5;else if(1===c)s=i.getUint16(1,o),t+=3;else{if(2!==c)throw new r.A("lepcc-decode-error","Bad count type");s=i.getUint8(1),t+=2}if(u)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(s*a/8),d=new Uint8Array(e,t,f);let C=0,A=0,h=0;const E=-1>>>32-a;for(let e=0;e<s;e++){for(;A<a;)C|=d[h]<<A,A+=8,h+=1;n[e]=C&E,C>>>=a,A-=a,A+a>32&&(C|=d[h-1]>>8-A)}return t+h}const d={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function C(e,t){return{sizeLo:e.getUint32(t+d.sizeLo,o),sizeHi:e.getUint32(t+d.sizeHi,o),count:e.getUint32(t+d.count,o),colorMapCount:e.getUint16(t+d.colorMapCount,o),lookupMethod:e.getUint8(t+d.lookupMethod),compressionMethod:e.getUint8(t+d.compressionMethod)}}function A(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:a}=l(e,t,n);if(n+=i.byteCount,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(a>1)throw new r.A("lepcc-decode-error","Unknown version");const u=C(t,n);if(n+=d.byteCount,u.sizeHi*2**32+u.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===u.lookupMethod||1===u.lookupMethod)&&0===u.compressionMethod){if(3*u.colorMapCount+u.count+n!==e.byteLength||u.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const t=new Uint8Array(e,n,3*u.colorMapCount),o=new Uint8Array(e,n+3*u.colorMapCount,u.count),i=new Uint8Array(3*u.count);for(let e=0;e<u.count;e++){const n=o[e];i[3*e]=t[3*n],i[3*e+1]=t[3*n+1],i[3*e+2]=t[3*n+2]}return i}if(0===u.lookupMethod&&0===u.compressionMethod){if(3*u.count+n!==e.byteLength||0!==u.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(e,n).slice()}if(u.lookupMethod<=2&&1===u.compressionMethod){if(n+3!==e.byteLength||1!==u.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=t.getUint8(n),i=t.getUint8(n+1),l=t.getUint8(n+2),a=new Uint8Array(3*u.count);for(let e=0;e<u.count;e++)a[3*e]=o,a[3*e+1]=i,a[3*e+2]=l;return a}throw new r.A("lepcc-decode-error","Bad method "+u.lookupMethod+","+u.compressionMethod)}const h={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function E(e,t){return{sizeLo:e.getUint32(t+h.sizeLo,o),sizeHi:e.getUint32(t+h.sizeHi,o),count:e.getUint32(t+h.count,o),scaleFactor:e.getUint16(t+h.scaleFactor,o),bitsPerPoint:e.getUint8(t+h.bitsPerPoint),reserved:e.getUint8(t+h.reserved)}}function g(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:a}=l(e,t,n);if(n+=i.byteCount,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(a>1)throw new r.A("lepcc-decode-error","Unknown version");const u=E(t,n);if(n+=h.byteCount,u.sizeHi*2**32+u.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const c=new Uint16Array(u.count);if(8===u.bitsPerPoint){if(u.count+n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const t=new Uint8Array(e,n,u.count);for(let e=0;e<u.count;e++)c[e]=t[e]*u.scaleFactor}else if(16===u.bitsPerPoint){if(2*u.count+n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const t=new Uint16Array(e,n,u.count);for(let e=0;e<u.count;e++)c[e]=t[e]*u.scaleFactor}else{const t=[];if(f(e,n,t)!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let e=0;e<u.count;e++)c[e]=t[e]*u.scaleFactor}return c}},37539:(e,t,n)=>{n.d(t,{rz:()=>s,pO:()=>g,jd:()=>A,Tp:()=>h,w5:()=>C});var r=n(34727),o=n(83047),i=n(73941),l=n(79258);Math.PI;const a=l.$O.radius,u=l.$O.eccentricitySquared,c={a1:a*u,a2:a*u*a*u,a3:a*u*u/2,a4:a*u*a*u*2.5,a5:a*u+a*u*u/2,a6:1-u};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var s,f=n(21325),d=n(19936);!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SPHERICAL_ECEF=1]="SPHERICAL_ECEF",e[e.WGS84=2]="WGS84",e[e.WEB_MERCATOR=3]="WEB_MERCATOR",e[e.WGS84_ECEF=4]="WGS84_ECEF",e[e.CGCS2000=5]="CGCS2000",e[e.SPHERICAL_MARS_PCPF=6]="SPHERICAL_MARS_PCPF",e[e.GCSMARS2000=7]="GCSMARS2000",e[e.SPHERICAL_MOON_PCPF=8]="SPHERICAL_MOON_PCPF",e[e.GCSMOON2000=9]="GCSMOON2000",e[e.LON_LAT=10]="LON_LAT",e[e.PLATE_CARREE=11]="PLATE_CARREE"}(s||(s={}));const C={[s.WGS84]:{[s.CGCS2000]:g,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:M,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:S,[s.PLATE_CARREE]:y,[s.WGS84]:g,[s.WGS84_ECEF]:I},[s.CGCS2000]:{[s.CGCS2000]:g,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:M,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:S,[s.PLATE_CARREE]:y,[s.WGS84]:g,[s.WGS84_ECEF]:I},[s.GCSMARS2000]:{[s.CGCS2000]:null,[s.GCSMARS2000]:g,[s.GCSMOON2000]:null,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:w,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.GCSMOON2000]:{[s.CGCS2000]:null,[s.GCSMARS2000]:null,[s.GCSMOON2000]:g,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:O,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.WEB_MERCATOR]:{[s.CGCS2000]:b,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:b,[s.SPHERICAL_ECEF]:function(e,t,n,r){const o=e[t]/G,i=T-2*Math.atan(Math.exp(-e[t+1]/G)),l=G+e[t+2],a=Math.cos(i)*l;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(i)*l},[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:g,[s.PLATE_CARREE]:function(e,t,n,r){b(e,t,n,r),y(n,r,n,r)},[s.WGS84]:b,[s.WGS84_ECEF]:function(e,t,n,r){b(e,t,n,r),I(n,r,n,r)}},[s.WGS84_ECEF]:{[s.CGCS2000]:L,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:L,[s.SPHERICAL_ECEF]:function(e,t,n,r){L(e,t,n,r),M(n,r,n,r)},[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:function(e,t,n,r){L(e,t,n,r),S(n,r,n,r)},[s.PLATE_CARREE]:function(e,t,n,r){L(e,t,n,r),y(n,r,n,r)},[s.WGS84]:L,[s.WGS84_ECEF]:g},[s.SPHERICAL_ECEF]:{[s.CGCS2000]:N,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:N,[s.SPHERICAL_ECEF]:g,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:function(e,t,n,r){N(e,t,n,r),S(n,r,n,r)},[s.PLATE_CARREE]:function(e,t,n,r){N(e,t,n,r),y(n,r,n,r)},[s.WGS84]:N,[s.WGS84_ECEF]:function(e,t,n,r){N(e,t,n,r),I(n,r,n,r)}},[s.SPHERICAL_MARS_PCPF]:{[s.CGCS2000]:null,[s.GCSMARS2000]:P,[s.GCSMOON2000]:null,[s.LON_LAT]:P,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:g,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.SPHERICAL_MOON_PCPF]:{[s.CGCS2000]:null,[s.GCSMARS2000]:null,[s.GCSMOON2000]:m,[s.LON_LAT]:m,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:g,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.UNKNOWN]:{[s.CGCS2000]:null,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:null,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:g,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.LON_LAT]:{[s.CGCS2000]:g,[s.GCSMARS2000]:g,[s.GCSMOON2000]:g,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:M,[s.SPHERICAL_MARS_PCPF]:w,[s.SPHERICAL_MOON_PCPF]:O,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:S,[s.PLATE_CARREE]:y,[s.WGS84]:g,[s.WGS84_ECEF]:I},[s.PLATE_CARREE]:{[s.CGCS2000]:p,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:p,[s.SPHERICAL_ECEF]:function(e,t,n,r){p(e,t,n,r),M(n,r,n,r)},[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:function(e,t,n,r){p(e,t,n,r),S(n,r,n,r)},[s.PLATE_CARREE]:g,[s.WGS84]:p,[s.WGS84_ECEF]:function(e,t,n,r){p(e,t,n,r),I(n,r,n,r)}}};function A(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(U.source.spatialReference===e&&U.dest.spatialReference===t)return U;const n=E(e,U.source),r=E(t,U.dest);return n===s.UNKNOWN&&r===s.UNKNOWN?(0,f.aI)(e,t)?U.projector=g:U.projector=null:U.projector=C[n][r],U}function E(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=s.SPHERICAL_ECEF:(0,f.oT)(e)?t.spatialReferenceId=s.WGS84:(0,f.K8)(e)?t.spatialReferenceId=s.WEB_MERCATOR:(0,f.r1)(e)?t.spatialReferenceId=s.PLATE_CARREE:e.wkt===i.Ro.wkt?t.spatialReferenceId=s.WGS84_ECEF:e.wkid===d.Y.CGCS2000?t.spatialReferenceId=s.CGCS2000:e.wkt===i.FY.wkt?t.spatialReferenceId=s.SPHERICAL_MARS_PCPF:e.wkt===i.LJ.wkt?t.spatialReferenceId=s.SPHERICAL_MOON_PCPF:(0,f.q8)(e)?t.spatialReferenceId=s.GCSMARS2000:(0,f.KQ)(e)?t.spatialReferenceId=s.GCSMOON2000:t.spatialReferenceId=s.UNKNOWN):s.UNKNOWN}function g(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t])}function b(e,t,n,r){n[r]=v*(e[t]/G),n[r+1]=v*(T-2*Math.atan(Math.exp(-e[t+1]/G))),n[r+2]=e[t+2]}function S(e,t,n,o){!function(e,t,n,o,i){const l=.4999999*Math.PI,a=(0,r.qE)(F*e[t+1],-l,l),u=Math.sin(a);n[o++]=F*e[t]*i.radius,n[o++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[o]=e[t+2]}(e,t,n,o,l.$O)}function y(e,t,n,r){n[r]=e[t]*W,n[r+1]=e[t+1]*W,n[r+2]=e[t+2]}function p(e,t,n,r){n[r]=e[t]*k,n[r+1]=e[t+1]*k,n[r+2]=e[t+2]}function R(e,t,n,r,o){const i=o+e[t+2],l=F*e[t+1],a=F*e[t],u=Math.cos(l)*i;n[r]=Math.cos(a)*u,n[r+1]=Math.sin(a)*u,n[r+2]=Math.sin(l)*i}function O(e,t,n,r){R(e,t,n,r,l.Sw.radius)}function w(e,t,n,r){R(e,t,n,r,l.sH.radius)}function M(e,t,n,r){R(e,t,n,r,l.$O.radius)}function _(e,t,n,o,i){const l=e[t],a=e[t+1],u=e[t+2],c=Math.sqrt(l*l+a*a+u*u),s=(0,r.YN)(u/(0===c?1:c)),f=Math.atan2(a,l);n[o++]=v*f,n[o++]=v*s,n[o]=c-i}function m(e,t,n,r){_(e,t,n,r,l.Sw.radius)}function P(e,t,n,r){_(e,t,n,r,l.sH.radius)}function N(e,t,n,r){_(e,t,n,r,l.$O.radius)}function I(e,t,n,r){!function(e,t,n,r,o){const i=F*e[t],l=F*e[t+1],a=e[t+2],u=Math.sin(l),c=Math.cos(l),s=o.radius/Math.sqrt(1-o.eccentricitySquared*u*u);n[r++]=(s+a)*c*Math.cos(i),n[r++]=(s+a)*c*Math.sin(i),n[r++]=(s*(1-o.eccentricitySquared)+a)*u}(e,t,n,r,l.$O)}function L(e,t,n,r){const o=c,i=e[t],a=e[t+1],u=e[t+2];let s,f,d,C,A,h,E,g,b,S,y,p,R,O,w,M,_,m,P,N,I;s=Math.abs(u),f=i*i+a*a,d=Math.sqrt(f),C=f+u*u,A=Math.sqrt(C),N=Math.atan2(a,i),h=u*u/C,E=f/C,O=o.a2/A,w=o.a3-o.a4/A,E>.3?(g=s/A*(1+E*(o.a1+O+h*w)/A),P=Math.asin(g),S=g*g,b=Math.sqrt(1-S)):(b=d/A*(1-h*(o.a5-O-E*w)/A),P=Math.acos(b),S=1-b*b,g=Math.sqrt(S)),y=1-l.$O.eccentricitySquared*S,p=l.$O.radius/Math.sqrt(y),R=o.a6*p,O=d-p*b,w=s-R*g,_=b*O+g*w,M=b*w-g*O,m=M/(R/y+_),P+=m,I=_+M*m/2,u<0&&(P=-P),n[r++]=v*N,n[r++]=v*P,n[r]=I}const U={source:{spatialReference:null,spatialReferenceId:s.UNKNOWN,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:s.UNKNOWN,metersPerUnit:1},projector:g},F=(0,r.kU)(1),v=(0,r.KJ)(1),T=.5*Math.PI,G=l.$O.radius,W=G*Math.PI/180,k=180/(G*Math.PI)},40876:(e,t,n)=>{n.d(t,{TS:()=>i,Tf:()=>s,V6:()=>o,c4:()=>l,qh:()=>c,z$:()=>u});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 o(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function l(e){return[...i(e)]}function a(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 u(e,t,n,r=1){const o=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,l=2*n-i;return[Math.round(255*a(l,i,o+1/3)),Math.round(255*a(l,i,o)),Math.round(255*a(l,i,o-1/3)),r]}function c(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,o=t?1:17,i=t?9===e.length:5===e.length;let l=Number("0x"+e.slice(1));if(isNaN(l))return null;const a=[0,0,0,1];let u;return i&&(u=l&r,l>>=n,a[3]=o*u/255),u=l&r,l>>=n,a[2]=o*u,u=l&r,l>>=n,a[1]=o*u,u=l&r,l>>=n,a[0]=o*u,a}const s=2.2},59418:(e,t,n)=>{n.d(t,{wH:()=>E,MA:()=>C,m0:()=>b});var r=n(49186),o=n(4718),i=n(53966),l=n(34275),a=n(37203),u=n(46540);const c=()=>i.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function s(e,t,n){let o="",i=0;for(;i<n;){const l=e[t+i];if(l<128)o+=String.fromCharCode(l),i++;else if(l>=192&&l<224){if(i+1>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const a=(31&l)<<6|63&e[t+i+1];o+=String.fromCharCode(a),i+=2}else if(l>=224&&l<240){if(i+2>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(15&l)<<12|(63&e[t+i+1])<<6|63&e[t+i+2];o+=String.fromCharCode(a),i+=3}else{if(!(l>=240&&l<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(7&l)<<18|(63&e[t+i+1])<<12|(63&e[t+i+2])<<6|63&e[t+i+3];if(a>=65536){const e=55296+(a-65536>>10),t=56320+(1023&a);o+=String.fromCharCode(e,t)}else o+=String.fromCharCode(a);i+=4}}}return o}function f(e,t){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<t.length;o++){const i=t[o],l=i.valueType||i.type,a=y[l];n.fields[i.property]=a(e,r),r+=S[l].BYTES_PER_ELEMENT}return n.byteCount=r,n}function d(e,t,n){const o=[];let i,l,a=0;for(l=0;l<e;l+=1){if(i=t[l],i>0){if(o.push(s(n,a,i-1)),0!==n[a+i-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);a+=i}return o}function C(e,t){return new(0,S[t.valueType])(e,t.byteOffset,t.count*t.valuesPerElement)}function A(e,t,n){const i=null!=t.header?f(e,t.header):{byteOffset:0,byteCount:0,fields:{count:n}},l={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let a=i.byteCount;for(let e=0;e<t.ordering.length;e++){const n=t.ordering[e],u=(0,o.o8)(t[n]);if(u.count=i.fields.count??0,"String"===u.valueType){if(u.byteOffset=a,u.byteCount=i.fields[n+"ByteCount"],"UTF-8"!==u.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:u.encoding});if(u.timeEncoding&&"ECMA_ISO8601"!==u.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:u.timeEncoding})}else{if(!p(u.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:u.valueType});{const e=R(u.valueType);a+=a%e!=0?e-a%e:0,u.byteOffset=a,u.byteCount=e*u.valuesPerElement*u.count}}a+=u.byteCount??0,l.entries[n]=u}return l.byteCount=a-l.byteOffset,l}function h(e,t,n){if(t!==e&&c().error(`Invalid ${n} buffer size\n expected: ${e}, actual: ${t})`),t<e)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:e,actualSize:t})}function E(e,t){const n=f(e,t&&t.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,l=null!=i.vertexCount?i.vertexCount:i.count;for(const e of t.ordering){if(!t.vertexAttributes[e])continue;const n={...t.vertexAttributes[e],byteOffset:r,count:l},i=g[e]||"_"+e;o.vertexAttributes[i]=n,r+=R(n.valueType)*n.valuesPerElement*l}const a=i.faceCount;if(t.faces&&a){o.faces={};for(const e of t.ordering){if(!t.faces[e])continue;const n={...t.faces[e],byteOffset:r,count:a};o.faces[e]=n,r+=R(n.valueType)*n.valuesPerElement*a}}const u=i.featureCount;if(t.featureAttributes&&t.featureAttributeOrder&&u){o.featureAttributes={};for(const e of t.featureAttributeOrder){if(!t.featureAttributes[e])continue;const n={...t.featureAttributes[e],byteOffset:r,count:u};o.featureAttributes[e]=n,r+=("UInt64"===n.valueType?8:R(n.valueType))*n.valuesPerElement*u}}return h(r,e.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const g={position:u.r.POSITION,normal:u.r.NORMAL,color:u.r.COLOR,uv0:u.r.UV0,region:u.r.UVREGION};function b(e,t,n,o=!1){if("lepcc-rgb"===e.encoding)return o?(0,a.mb)(t):function(e){return Array.isArray(e)?e.length<l.y9?e:new Uint8Array(e):e.length<l.y9?Array.from(e):e}((0,a.mb)(t));if("lepcc-intensity"===e.encoding)return o?(0,a.Ax)(t):function(e){return Array.isArray(e)?e.length<l.y9?e:new Uint16Array(e):e.length<l.y9?Array.from(e):e}((0,a.Ax)(t));if(null!=e.encoding&&""!==e.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");e["attributeByteCounts "]&&!e.attributeByteCounts&&(c().warn("Warning: Trailing space in 'attributeByteCounts '."),e.attributeByteCounts=e["attributeByteCounts "]),"ObjectIds"===e.ordering[0]&&e.hasOwnProperty("objectIds")&&(c().warn("Warning: Case error in objectIds"),e.ordering[0]="objectIds");const i=A(t,e,n);h(i.byteOffset+i.byteCount,t.byteLength,"attribute");const u=i.entries.attributeValues||i.entries.objectIds;if(u){if("String"===u.valueType){const e=i.entries.attributeByteCounts,n=C(t,e),r=function(e,t){return new Uint8Array(e,t.byteOffset,t.byteCount)}(t,u);return u.timeEncoding?function(e,t,n){return d(e,t,n).map((e=>{const t=e?Date.parse(e):null;return null==t||Number.isNaN(t)?null:t}))}(e.count,n,r):d(e.count,n,r)}return o?C(t,u):function(e,t){const n=C(e,t);return n.length<l.y9?Array.from(n):n}(t,u)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const S={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},y={Float32:(e,t)=>new DataView(e,0).getFloat32(t,!0),Float64:(e,t)=>new DataView(e,0).getFloat64(t,!0),UInt8:(e,t)=>new DataView(e,0).getUint8(t),Int8:(e,t)=>new DataView(e,0).getInt8(t),UInt16:(e,t)=>new DataView(e,0).getUint16(t,!0),Int16:(e,t)=>new DataView(e,0).getInt16(t,!0),UInt32:(e,t)=>new DataView(e,0).getUint32(t,!0),Int32:(e,t)=>new DataView(e,0).getInt32(t,!0)};function p(e){return S.hasOwnProperty(e)}function R(e){return p(e)?S[e].BYTES_PER_ELEMENT:0}},72385:(e,t,n)=>{function r(){return new Float32Array(3)}function o(e){const t=new Float32Array(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(e,t,n){const r=new Float32Array(3);return r[0]=e,r[1]=t,r[2]=n,r}function l(){return r()}function a(){return i(1,1,1)}function u(){return i(1,0,0)}function c(){return i(0,1,0)}function s(){return i(0,0,1)}n.d(t,{fA:()=>i,o8:()=>o,vt:()=>r});const f=l(),d=a(),C=u(),A=c(),h=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:C,UNIT_Y:A,UNIT_Z:h,ZEROS:f,clone:o,create:r,fromValues:i,ones:a,unitX:u,unitY:c,unitZ:s,zeros:l},Symbol.toStringTag,{value:"Module"}))},91829:(e,t,n)=>{function r(){return[0,0,0,0]}function o(e,t,n,r){return[e,t,n,r]}function i(e,t,n,r){return[e,t,n,r]}function l(e,t=[0,0,0,0]){const n=Math.min(4,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function a(){return o(1,1,1,1)}function u(){return o(1,0,0,0)}function c(){return o(0,1,0,0)}function s(){return o(0,0,1,0)}function f(){return o(0,0,0,1)}n.d(t,{CN:()=>i,Un:()=>C,ci:()=>l,fA:()=>o,uY:()=>d,vt:()=>r});const d=[0,0,0,0],C=a(),A=u(),h=c(),E=s(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:C,UNIT_W:g,UNIT_X:A,UNIT_Y:h,UNIT_Z:E,ZEROS:d,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:r,freeze:i,fromArray:l,fromValues:o,ones:a,unitW:f,unitX:u,unitY:c,unitZ:s,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},93223:(e,t,n)=>{n.d(t,{e:()=>i});var r=n(66552),o=n(10107);function i(e,t={}){const n=e instanceof r.J?e:new r.J(e,t),{alwaysWriteDefaults:i,default:l,ignoreUnknown:a=!0,name:u,nonNullable:c,readOnly:s=!1}=t;return(0,o.MZ)({type:a?n.apiValues:String,json:{type:n.jsonValues,default:l,name:u,read:!s&&{reader:n.read},write:{writer:n.write,alwaysWriteDefaults:i}},nonNullable:c,readOnly:s})}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4731],{9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>o});var r=n(37539);function o(e,t,n,o,i,l,u=Math.floor(e.length/3)){const a=(0,r.jd)(t,i);if(null==a)return!1;if(a===r.pO){if(e===o&&n===l)return!0;const t=n+3*u;for(let r=n,i=l;r<t;r++,i++)o[i]=e[r];return!0}const c=n+3*u;for(let t=n,r=l;t<c;t+=3,r+=3)a(e,t,o,r);return!0}},34142:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var r=n(4576),o=n(34275),i=n(67026),l=n(82534),u=n(38954),a=n(72385),c=n(16930),s=n(9762),f=(n(44208),n(63531)),d=n(69846),C=n(48425),A=n(59418),h=n(37203);function E(e,t,n){return e?.attributeInfo.useElevation?t?function(e,t){const n=new Float64Array(t);for(let r=0;r<t;r++)n[r]=e[3*r+2];return n}(t,n):null:e?.attributeInfo.storageInfo?(0,A.m0)(e.attributeInfo.storageInfo,e.buffer,n,!0):null}function g(e){switch(e){default:case null:case"none":return e=>e;case"low-four-bit":return e=>15&e;case"high-four-bit":return e=>(240&e)>>4;case"absolute-value":return e=>Math.abs(e);case"modulo-ten":return e=>e%10}}function b(e){let t=0;for(const n of e||[])t|=1<<n;return t}var S=n(57005);class y{transform(e){const t=this._transform(e),n=[t.points.buffer,t.rgb.buffer];null!=t.pointIdFilterMap&&n.push(t.pointIdFilterMap.buffer);for(const e of t.attributes)"buffer"in e.values&&(0,o.mw)(e.values.buffer)&&e.values.buffer!==t.rgb.buffer&&n.push(e.values.buffer);return Promise.resolve({result:t,transferList:n})}_transform(e){const t=function(e,t){if(null==e.encoding||""===e.encoding){const n=(0,A.wH)(t,e);if(null==n.vertexAttributes.position)return;const r=(0,A.MA)(t,n.vertexAttributes.position),o=n.header.fields,i=[o.offsetX,o.offsetY,o.offsetZ],l=[o.scaleX,o.scaleY,o.scaleZ],u=r.length/3,a=new Float64Array(3*u);for(let e=0;e<u;e++)a[3*e]=r[3*e]*l[0]+i[0],a[3*e+1]=r[3*e+1]*l[1]+i[1],a[3*e+2]=r[3*e+2]*l[2]+i[2];return a}if("lepcc-xyz"===e.encoding)return(0,h.Me)(t).result}(e.schema,e.geometryBuffer);let n=t.length/3,o=null;const i=new Array,l=E(e.primaryAttributeData,t,n);null!=e.primaryAttributeData&&l&&i.push({attributeInfo:e.primaryAttributeData.attributeInfo,values:l});const u=E(e.modulationAttributeData,t,n);null!=e.modulationAttributeData&&u&&i.push({attributeInfo:e.modulationAttributeData.attributeInfo,values:u});let a=function(e,t,n,r){const{rendererJSON:o,isRGBRenderer:i}=e;let l=null,u=null;if(t&&i)l=t;else if(t&&"pointCloudUniqueValueRenderer"===o?.type){u=C.A.fromJSON(o);const e=u.colorUniqueValueInfos;l=new Uint8Array(3*r);const n=g(u.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(t[o]):t[o])+"";for(let t=0;t<e.length;t++)if(e[t].values.includes(r)){l[3*o]=e[t].color.r,l[3*o+1]=e[t].color.g,l[3*o+2]=e[t].color.b;break}}}else if(t&&"pointCloudStretchRenderer"===o?.type){u=d.A.fromJSON(o);const e=u.stops;l=new Uint8Array(3*r);const n=g(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(t[o]):t[o],i=e.length-1;if(r<e[0].value)l[3*o]=e[0].color.r,l[3*o+1]=e[0].color.g,l[3*o+2]=e[0].color.b;else if(r>=e[i].value)l[3*o]=e[i].color.r,l[3*o+1]=e[i].color.g,l[3*o+2]=e[i].color.b;else for(let t=1;t<e.length;t++)if(r<e[t].value){const n=(r-e[t-1].value)/(e[t].value-e[t-1].value);l[3*o]=e[t].color.r*n+e[t-1].color.r*(1-n),l[3*o+1]=e[t].color.g*n+e[t-1].color.g*(1-n),l[3*o+2]=e[t].color.b*n+e[t-1].color.b*(1-n);break}}}else if(t&&"pointCloudClassBreaksRenderer"===o?.type){u=f.A.fromJSON(o);const e=u.colorClassBreakInfos;l=new Uint8Array(3*r);const n=g(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(t[o]):t[o];for(let t=0;t<e.length;t++)if(r>=e[t].minValue&&r<=e[t].maxValue){l[3*o]=e[t].color.r,l[3*o+1]=e[t].color.g,l[3*o+2]=e[t].color.b;break}}}else l=new Uint8Array(3*r).fill(255);if(n&&u?.colorModulation){const e=u.colorModulation.minValue,t=u.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],u=r>=t?1:r<=e?o:o+(1-o)*(r-e)/(t-e);l[3*i]=u*l[3*i],l[3*i+1]=u*l[3*i+1],l[3*i+2]=u*l[3*i+2]}}return l}(e.rendererInfo,l,u,n);if(e.filterInfo&&e.filterInfo.length>0&&null!=e.filterAttributesData){const l=e.filterAttributesData.filter(r.Ru).map((e=>{const r=E(e,t,n),o={attributeInfo:e.attributeInfo,values:r};return i.push(o),o}));o=new Uint32Array(n),n=function(e,t,n,r,o){const i=e.length/3;let l=0;for(let u=0;u<i;u++){let i=!0;for(let e=0;e<r.length&&i;e++){const{filterJSON:t}=r[e],n=o[e].values[u];switch(t.type){case"pointCloudValueFilter":{const e="exclude"===t.mode;t.values.includes(n)===e&&(i=!1);break}case"pointCloudBitfieldFilter":{const e=b(t.requiredSetBits),r=b(t.requiredClearBits);((n&e)!==e||n&r)&&(i=!1);break}case"pointCloudReturnFilter":{const e=15&n,r=n>>>4&15,o=r>1,l=1===e,u=e===r;let a=!1;for(const e of t.includedReturns)if("last"===e&&u||"firstOfMany"===e&&l&&o||"lastOfMany"===e&&u&&o||"single"===e&&!o){a=!0;break}a||(i=!1);break}}}i&&(n[l]=u,e[3*l]=e[3*u],e[3*l+1]=e[3*u+1],e[3*l+2]=e[3*u+2],t[3*l]=t[3*u],t[3*l+1]=t[3*u+1],t[3*l+2]=t[3*u+2],l++)}return l}(t,a,o,e.filterInfo,l)}for(const r of e.userAttributesData){const e=E(r,t,n);i.push({attributeInfo:r.attributeInfo,values:e})}3*n<a.length&&(a=new Uint8Array(a.buffer.slice(0,3*n))),function(e,t,n){if(0!==n)for(let r=0;r<t;r++)e[3*r+2]+=n}(t,n,e.elevationOffset);const s=p(t,n,S.ab.fromData(e.obbData),c.A.fromJSON(e.inSR),c.A.fromJSON(e.outSR));return{obbData:e.obbData,points:s,rgb:a,attributes:i,pointIdFilterMap:o}}}function p(e,t,n,r,o){if(!(0,s.projectBuffer)(e,r,0,e,o,0,t))throw new Error("Can't reproject");const l=(0,a.o8)(n.center),c=(0,a.vt)(),f=(0,a.vt)(),d=(0,a.o8)(n.halfSize);(0,i.Xr)(R,n.quaternion);const C=new Float32Array(3*t);for(let n=0;n<t;n++){let t=3*n;c[0]=e[t]-l[0],c[1]=e[t+1]-l[1],c[2]=e[t+2]-l[2],(0,u.w)(f,c,R),d[0]=Math.max(d[0],Math.abs(f[0])),d[1]=Math.max(d[1],Math.abs(f[1])),d[2]=Math.max(d[2],Math.abs(f[2])),C[t++]=c[0],C[t++]=c[1],C[t]=c[2]}return n.halfSize=d,C}const R=(0,l.vt)();function w(){return new y}},37203:(e,t,n)=>{n.d(t,{Ax:()=>g,Me:()=>c,mb:()=>A});var r=n(49186);const o=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function l(e,t,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(e,n+i.identifierOffset,i.identifierLength)),version:t.getUint16(n+i.versionOffset,o),checksum:t.getUint32(n+i.checksumOffset,o)}}const u={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function a(e,t){return{sizeLo:e.getUint32(t+u.sizeLo,o),sizeHi:e.getUint32(t+u.sizeHi,o),minX:e.getFloat64(t+u.minX,o),minY:e.getFloat64(t+u.minY,o),minZ:e.getFloat64(t+u.minZ,o),maxX:e.getFloat64(t+u.maxX,o),maxY:e.getFloat64(t+u.maxY,o),maxZ:e.getFloat64(t+u.maxZ,o),errorX:e.getFloat64(t+u.errorX,o),errorY:e.getFloat64(t+u.errorY,o),errorZ:e.getFloat64(t+u.errorZ,o),count:e.getUint32(t+u.count,o),reserved:e.getUint32(t+u.reserved,o)}}function c(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:c}=l(e,t,n);if(n+=i.byteCount,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(c>1)throw new r.A("lepcc-decode-error","Unknown version");const f=a(t,n);if(n+=u.byteCount,f.sizeHi*2**32+f.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const d=new Float64Array(3*f.count),C=[],A=[],h=[],E=[];if(n=s(e,n,C),n=s(e,n,A),n=s(e,n,h),n=s(e,n,E),n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad length");let g=0,b=0;for(let e=0;e<C.length;e++){b+=C[e];let t=0;for(let n=0;n<A[e];n++){t+=h[g];const e=E[g];d[3*g]=Math.min(f.maxX,f.minX+2*f.errorX*t),d[3*g+1]=Math.min(f.maxY,f.minY+2*f.errorY*b),d[3*g+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*e),g++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:d}}function s(e,t,n){const r=[];t=f(e,t,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,t=f(e,t,o);for(let e=0;e<o.length;e++)n.push(o[e]+r[i])}return t}function f(e,t,n){const i=new DataView(e,t),l=i.getUint8(0),u=31&l,a=!!(32&l),c=(192&l)>>6;let s=0;if(0===c)s=i.getUint32(1,o),t+=5;else if(1===c)s=i.getUint16(1,o),t+=3;else{if(2!==c)throw new r.A("lepcc-decode-error","Bad count type");s=i.getUint8(1),t+=2}if(a)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(s*u/8),d=new Uint8Array(e,t,f);let C=0,A=0,h=0;const E=-1>>>32-u;for(let e=0;e<s;e++){for(;A<u;)C|=d[h]<<A,A+=8,h+=1;n[e]=C&E,C>>>=u,A-=u,A+u>32&&(C|=d[h-1]>>8-A)}return t+h}const d={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function C(e,t){return{sizeLo:e.getUint32(t+d.sizeLo,o),sizeHi:e.getUint32(t+d.sizeHi,o),count:e.getUint32(t+d.count,o),colorMapCount:e.getUint16(t+d.colorMapCount,o),lookupMethod:e.getUint8(t+d.lookupMethod),compressionMethod:e.getUint8(t+d.compressionMethod)}}function A(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:u}=l(e,t,n);if(n+=i.byteCount,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const a=C(t,n);if(n+=d.byteCount,a.sizeHi*2**32+a.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===a.lookupMethod||1===a.lookupMethod)&&0===a.compressionMethod){if(3*a.colorMapCount+a.count+n!==e.byteLength||a.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const t=new Uint8Array(e,n,3*a.colorMapCount),o=new Uint8Array(e,n+3*a.colorMapCount,a.count),i=new Uint8Array(3*a.count);for(let e=0;e<a.count;e++){const n=o[e];i[3*e]=t[3*n],i[3*e+1]=t[3*n+1],i[3*e+2]=t[3*n+2]}return i}if(0===a.lookupMethod&&0===a.compressionMethod){if(3*a.count+n!==e.byteLength||0!==a.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(e,n).slice()}if(a.lookupMethod<=2&&1===a.compressionMethod){if(n+3!==e.byteLength||1!==a.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=t.getUint8(n),i=t.getUint8(n+1),l=t.getUint8(n+2),u=new Uint8Array(3*a.count);for(let e=0;e<a.count;e++)u[3*e]=o,u[3*e+1]=i,u[3*e+2]=l;return u}throw new r.A("lepcc-decode-error","Bad method "+a.lookupMethod+","+a.compressionMethod)}const h={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function E(e,t){return{sizeLo:e.getUint32(t+h.sizeLo,o),sizeHi:e.getUint32(t+h.sizeHi,o),count:e.getUint32(t+h.count,o),scaleFactor:e.getUint16(t+h.scaleFactor,o),bitsPerPoint:e.getUint8(t+h.bitsPerPoint),reserved:e.getUint8(t+h.reserved)}}function g(e){const t=new DataView(e,0);let n=0;const{identifier:o,version:u}=l(e,t,n);if(n+=i.byteCount,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const a=E(t,n);if(n+=h.byteCount,a.sizeHi*2**32+a.sizeLo!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const c=new Uint16Array(a.count);if(8===a.bitsPerPoint){if(a.count+n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const t=new Uint8Array(e,n,a.count);for(let e=0;e<a.count;e++)c[e]=t[e]*a.scaleFactor}else if(16===a.bitsPerPoint){if(2*a.count+n!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");const t=new Uint16Array(e,n,a.count);for(let e=0;e<a.count;e++)c[e]=t[e]*a.scaleFactor}else{const t=[];if(f(e,n,t)!==e.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let e=0;e<a.count;e++)c[e]=t[e]*a.scaleFactor}return c}},37539:(e,t,n)=>{n.d(t,{rz:()=>s,pO:()=>g,jd:()=>A,Tp:()=>h,w5:()=>C});var r=n(34727),o=n(83047),i=n(73941),l=n(79258);Math.PI;const u=l.$O.radius,a=l.$O.eccentricitySquared,c={a1:u*a,a2:u*a*u*a,a3:u*a*a/2,a4:u*a*u*a*2.5,a5:u*a+u*a*a/2,a6:1-a};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var s,f=n(21325),d=n(19936);!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SPHERICAL_ECEF=1]="SPHERICAL_ECEF",e[e.WGS84=2]="WGS84",e[e.WEB_MERCATOR=3]="WEB_MERCATOR",e[e.WGS84_ECEF=4]="WGS84_ECEF",e[e.CGCS2000=5]="CGCS2000",e[e.SPHERICAL_MARS_PCPF=6]="SPHERICAL_MARS_PCPF",e[e.GCSMARS2000=7]="GCSMARS2000",e[e.SPHERICAL_MOON_PCPF=8]="SPHERICAL_MOON_PCPF",e[e.GCSMOON2000=9]="GCSMOON2000",e[e.LON_LAT=10]="LON_LAT",e[e.PLATE_CARREE=11]="PLATE_CARREE"}(s||(s={}));const C={[s.WGS84]:{[s.CGCS2000]:g,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:M,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:S,[s.PLATE_CARREE]:y,[s.WGS84]:g,[s.WGS84_ECEF]:I},[s.CGCS2000]:{[s.CGCS2000]:g,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:M,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:S,[s.PLATE_CARREE]:y,[s.WGS84]:g,[s.WGS84_ECEF]:I},[s.GCSMARS2000]:{[s.CGCS2000]:null,[s.GCSMARS2000]:g,[s.GCSMOON2000]:null,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:O,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.GCSMOON2000]:{[s.CGCS2000]:null,[s.GCSMARS2000]:null,[s.GCSMOON2000]:g,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:w,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.WEB_MERCATOR]:{[s.CGCS2000]:b,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:b,[s.SPHERICAL_ECEF]:function(e,t,n,r){const o=e[t]/G,i=T-2*Math.atan(Math.exp(-e[t+1]/G)),l=G+e[t+2],u=Math.cos(i)*l;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(i)*l},[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:g,[s.PLATE_CARREE]:function(e,t,n,r){b(e,t,n,r),y(n,r,n,r)},[s.WGS84]:b,[s.WGS84_ECEF]:function(e,t,n,r){b(e,t,n,r),I(n,r,n,r)}},[s.WGS84_ECEF]:{[s.CGCS2000]:L,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:L,[s.SPHERICAL_ECEF]:function(e,t,n,r){L(e,t,n,r),M(n,r,n,r)},[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:function(e,t,n,r){L(e,t,n,r),S(n,r,n,r)},[s.PLATE_CARREE]:function(e,t,n,r){L(e,t,n,r),y(n,r,n,r)},[s.WGS84]:L,[s.WGS84_ECEF]:g},[s.SPHERICAL_ECEF]:{[s.CGCS2000]:N,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:N,[s.SPHERICAL_ECEF]:g,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:function(e,t,n,r){N(e,t,n,r),S(n,r,n,r)},[s.PLATE_CARREE]:function(e,t,n,r){N(e,t,n,r),y(n,r,n,r)},[s.WGS84]:N,[s.WGS84_ECEF]:function(e,t,n,r){N(e,t,n,r),I(n,r,n,r)}},[s.SPHERICAL_MARS_PCPF]:{[s.CGCS2000]:null,[s.GCSMARS2000]:P,[s.GCSMOON2000]:null,[s.LON_LAT]:P,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:g,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.SPHERICAL_MOON_PCPF]:{[s.CGCS2000]:null,[s.GCSMARS2000]:null,[s.GCSMOON2000]:m,[s.LON_LAT]:m,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:g,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.UNKNOWN]:{[s.CGCS2000]:null,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:null,[s.SPHERICAL_ECEF]:null,[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:g,[s.WEB_MERCATOR]:null,[s.PLATE_CARREE]:null,[s.WGS84]:null,[s.WGS84_ECEF]:null},[s.LON_LAT]:{[s.CGCS2000]:g,[s.GCSMARS2000]:g,[s.GCSMOON2000]:g,[s.LON_LAT]:g,[s.SPHERICAL_ECEF]:M,[s.SPHERICAL_MARS_PCPF]:O,[s.SPHERICAL_MOON_PCPF]:w,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:S,[s.PLATE_CARREE]:y,[s.WGS84]:g,[s.WGS84_ECEF]:I},[s.PLATE_CARREE]:{[s.CGCS2000]:p,[s.GCSMARS2000]:null,[s.GCSMOON2000]:null,[s.LON_LAT]:p,[s.SPHERICAL_ECEF]:function(e,t,n,r){p(e,t,n,r),M(n,r,n,r)},[s.SPHERICAL_MARS_PCPF]:null,[s.SPHERICAL_MOON_PCPF]:null,[s.UNKNOWN]:null,[s.WEB_MERCATOR]:function(e,t,n,r){p(e,t,n,r),S(n,r,n,r)},[s.PLATE_CARREE]:g,[s.WGS84]:p,[s.WGS84_ECEF]:function(e,t,n,r){p(e,t,n,r),I(n,r,n,r)}}};function A(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(U.source.spatialReference===e&&U.dest.spatialReference===t)return U;const n=E(e,U.source),r=E(t,U.dest);return n===s.UNKNOWN&&r===s.UNKNOWN?(0,f.aI)(e,t)?U.projector=g:U.projector=null:U.projector=C[n][r],U}function E(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=s.SPHERICAL_ECEF:(0,f.oT)(e)?t.spatialReferenceId=s.WGS84:(0,f.K8)(e)?t.spatialReferenceId=s.WEB_MERCATOR:(0,f.r1)(e)?t.spatialReferenceId=s.PLATE_CARREE:e.wkt===i.Ro.wkt?t.spatialReferenceId=s.WGS84_ECEF:e.wkid===d.Y.CGCS2000?t.spatialReferenceId=s.CGCS2000:e.wkt===i.FY.wkt?t.spatialReferenceId=s.SPHERICAL_MARS_PCPF:e.wkt===i.LJ.wkt?t.spatialReferenceId=s.SPHERICAL_MOON_PCPF:(0,f.q8)(e)?t.spatialReferenceId=s.GCSMARS2000:(0,f.KQ)(e)?t.spatialReferenceId=s.GCSMOON2000:t.spatialReferenceId=s.UNKNOWN):s.UNKNOWN}function g(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t])}function b(e,t,n,r){n[r]=v*(e[t]/G),n[r+1]=v*(T-2*Math.atan(Math.exp(-e[t+1]/G))),n[r+2]=e[t+2]}function S(e,t,n,o){!function(e,t,n,o,i){const l=.4999999*Math.PI,u=(0,r.qE)(F*e[t+1],-l,l),a=Math.sin(u);n[o++]=F*e[t]*i.radius,n[o++]=i.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[o]=e[t+2]}(e,t,n,o,l.$O)}function y(e,t,n,r){n[r]=e[t]*W,n[r+1]=e[t+1]*W,n[r+2]=e[t+2]}function p(e,t,n,r){n[r]=e[t]*k,n[r+1]=e[t+1]*k,n[r+2]=e[t+2]}function R(e,t,n,r,o){const i=o+e[t+2],l=F*e[t+1],u=F*e[t],a=Math.cos(l)*i;n[r]=Math.cos(u)*a,n[r+1]=Math.sin(u)*a,n[r+2]=Math.sin(l)*i}function w(e,t,n,r){R(e,t,n,r,l.Sw.radius)}function O(e,t,n,r){R(e,t,n,r,l.sH.radius)}function M(e,t,n,r){R(e,t,n,r,l.$O.radius)}function _(e,t,n,o,i){const l=e[t],u=e[t+1],a=e[t+2],c=Math.sqrt(l*l+u*u+a*a),s=(0,r.YN)(a/(0===c?1:c)),f=Math.atan2(u,l);n[o++]=v*f,n[o++]=v*s,n[o]=c-i}function m(e,t,n,r){_(e,t,n,r,l.Sw.radius)}function P(e,t,n,r){_(e,t,n,r,l.sH.radius)}function N(e,t,n,r){_(e,t,n,r,l.$O.radius)}function I(e,t,n,r){!function(e,t,n,r,o){const i=F*e[t],l=F*e[t+1],u=e[t+2],a=Math.sin(l),c=Math.cos(l),s=o.radius/Math.sqrt(1-o.eccentricitySquared*a*a);n[r++]=(s+u)*c*Math.cos(i),n[r++]=(s+u)*c*Math.sin(i),n[r++]=(s*(1-o.eccentricitySquared)+u)*a}(e,t,n,r,l.$O)}function L(e,t,n,r){const o=c,i=e[t],u=e[t+1],a=e[t+2];let s,f,d,C,A,h,E,g,b,S,y,p,R,w,O,M,_,m,P,N,I;s=Math.abs(a),f=i*i+u*u,d=Math.sqrt(f),C=f+a*a,A=Math.sqrt(C),N=Math.atan2(u,i),h=a*a/C,E=f/C,w=o.a2/A,O=o.a3-o.a4/A,E>.3?(g=s/A*(1+E*(o.a1+w+h*O)/A),P=Math.asin(g),S=g*g,b=Math.sqrt(1-S)):(b=d/A*(1-h*(o.a5-w-E*O)/A),P=Math.acos(b),S=1-b*b,g=Math.sqrt(S)),y=1-l.$O.eccentricitySquared*S,p=l.$O.radius/Math.sqrt(y),R=o.a6*p,w=d-p*b,O=s-R*g,_=b*w+g*O,M=b*O-g*w,m=M/(R/y+_),P+=m,I=_+M*m/2,a<0&&(P=-P),n[r++]=v*N,n[r++]=v*P,n[r]=I}const U={source:{spatialReference:null,spatialReferenceId:s.UNKNOWN,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:s.UNKNOWN,metersPerUnit:1},projector:g},F=(0,r.kU)(1),v=(0,r.KJ)(1),T=.5*Math.PI,G=l.$O.radius,W=G*Math.PI/180,k=180/(G*Math.PI)},40876:(e,t,n)=>{n.d(t,{TS:()=>i,Tf:()=>s,V6:()=>o,c4:()=>l,qh:()=>c,z$:()=>a});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 o(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function l(e){return[...i(e)]}function u(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 a(e,t,n,r=1){const o=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,l=2*n-i;return[Math.round(255*u(l,i,o+1/3)),Math.round(255*u(l,i,o)),Math.round(255*u(l,i,o-1/3)),r]}function c(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,o=t?1:17,i=t?9===e.length:5===e.length;let l=Number("0x"+e.slice(1));if(isNaN(l))return null;const u=[0,0,0,1];let a;return i&&(a=l&r,l>>=n,u[3]=o*a/255),a=l&r,l>>=n,u[2]=o*a,a=l&r,l>>=n,u[1]=o*a,a=l&r,l>>=n,u[0]=o*a,u}const s=2.2},59418:(e,t,n)=>{n.d(t,{wH:()=>E,MA:()=>C,E5:()=>A,m0:()=>b});var r=n(49186),o=n(4718),i=n(53966),l=n(34275),u=n(37203),a=n(46540);const c=()=>i.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function s(e,t,n){let o="",i=0;for(;i<n;){const l=e[t+i];if(l<128)o+=String.fromCharCode(l),i++;else if(l>=192&&l<224){if(i+1>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const u=(31&l)<<6|63&e[t+i+1];o+=String.fromCharCode(u),i+=2}else if(l>=224&&l<240){if(i+2>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(15&l)<<12|(63&e[t+i+1])<<6|63&e[t+i+2];o+=String.fromCharCode(u),i+=3}else{if(!(l>=240&&l<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(7&l)<<18|(63&e[t+i+1])<<12|(63&e[t+i+2])<<6|63&e[t+i+3];if(u>=65536){const e=55296+(u-65536>>10),t=56320+(1023&u);o+=String.fromCharCode(e,t)}else o+=String.fromCharCode(u);i+=4}}}return o}function f(e,t){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<t.length;o++){const i=t[o],l=i.valueType||i.type,u=y[l];n.fields[i.property]=u(e,r),r+=S[l].BYTES_PER_ELEMENT}return n.byteCount=r,n}function d(e,t,n){const o=[];let i,l,u=0;for(l=0;l<e;l+=1){if(i=t[l],i>0){if(o.push(s(n,u,i-1)),0!==n[u+i-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);u+=i}return o}function C(e,t){return new(0,S[t.valueType])(e,t.byteOffset,t.count*t.valuesPerElement)}function A(e,t){if(!e)return null;const n=e[t];return(0,l.IY)(e)?n===l.PI?null:n:(0,l._G)(e)?n===l.h2?null:n:n!=n?null:n}function h(e,t,n){if(t!==e&&c().error(`Invalid ${n} buffer size\n expected: ${e}, actual: ${t})`),t<e)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:e,actualSize:t})}function E(e,t){const n=f(e,t&&t.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,l=null!=i.vertexCount?i.vertexCount:i.count;for(const e of t.ordering){if(!t.vertexAttributes[e])continue;const n={...t.vertexAttributes[e],byteOffset:r,count:l},i=g[e]||"_"+e;o.vertexAttributes[i]=n,r+=R(n.valueType)*n.valuesPerElement*l}const u=i.faceCount;if(t.faces&&u){o.faces={};for(const e of t.ordering){if(!t.faces[e])continue;const n={...t.faces[e],byteOffset:r,count:u};o.faces[e]=n,r+=R(n.valueType)*n.valuesPerElement*u}}const a=i.featureCount;if(t.featureAttributes&&t.featureAttributeOrder&&a){o.featureAttributes={};for(const e of t.featureAttributeOrder){if(!t.featureAttributes[e])continue;const n={...t.featureAttributes[e],byteOffset:r,count:a};o.featureAttributes[e]=n,r+=("UInt64"===n.valueType?8:R(n.valueType))*n.valuesPerElement*a}}return h(r,e.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const g={position:a.r.POSITION,normal:a.r.NORMAL,color:a.r.COLOR,uv0:a.r.UV0,region:a.r.UVREGION};function b(e,t,n,i=!1){if("lepcc-rgb"===e.encoding)return i?(0,u.mb)(t):function(e){return Array.isArray(e)?e.length<l.y9?e:new Uint8Array(e):e.length<l.y9?Array.from(e):e}((0,u.mb)(t));if("lepcc-intensity"===e.encoding)return i?(0,u.Ax)(t):function(e){return Array.isArray(e)?e.length<l.y9?e:new Uint16Array(e):e.length<l.y9?Array.from(e):e}((0,u.Ax)(t));if(null!=e.encoding&&""!==e.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");e["attributeByteCounts "]&&!e.attributeByteCounts&&(c().warn("Warning: Trailing space in 'attributeByteCounts '."),e.attributeByteCounts=e["attributeByteCounts "]),"ObjectIds"===e.ordering[0]&&e.hasOwnProperty("objectIds")&&(c().warn("Warning: Case error in objectIds"),e.ordering[0]="objectIds");const a=function(e,t,n){const i=null!=t.header?f(e,t.header):{byteOffset:0,byteCount:0,fields:{count:n}},l={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let u=i.byteCount;for(let e=0;e<t.ordering.length;e++){const n=t.ordering[e],a=(0,o.o8)(t[n]);if(a.count=i.fields.count??0,"String"===a.valueType){if(a.byteOffset=u,a.byteCount=i.fields[n+"ByteCount"],"UTF-8"!==a.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:a.encoding});if(a.timeEncoding&&"ECMA_ISO8601"!==a.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:a.timeEncoding})}else{if(!p(a.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:a.valueType});{const e=R(a.valueType);u+=u%e!=0?e-u%e:0,a.byteOffset=u,a.byteCount=e*a.valuesPerElement*a.count}}u+=a.byteCount??0,l.entries[n]=a}return l.byteCount=u-l.byteOffset,l}(t,e,n);h(a.byteOffset+a.byteCount,t.byteLength,"attribute");const s=a.entries.attributeValues||a.entries.objectIds;if(s){if("String"===s.valueType){const e=a.entries.attributeByteCounts,n=C(t,e),r=function(e,t){return new Uint8Array(e,t.byteOffset,t.byteCount)}(t,s);return s.timeEncoding?function(e,t,n){return d(e,t,n).map((e=>{const t=e?Date.parse(e):null;return null==t||Number.isNaN(t)?null:t}))}(e.count,n,r):d(e.count,n,r)}return i?C(t,s):function(e,t){const n=C(e,t);if(n.length>=l.y9)return n;const r=new Array;return n.forEach(((e,t)=>r.push(A(n,t)))),r}(t,s)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const S={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},y={Float32:(e,t)=>new DataView(e,0).getFloat32(t,!0),Float64:(e,t)=>new DataView(e,0).getFloat64(t,!0),UInt8:(e,t)=>new DataView(e,0).getUint8(t),Int8:(e,t)=>new DataView(e,0).getInt8(t),UInt16:(e,t)=>new DataView(e,0).getUint16(t,!0),Int16:(e,t)=>new DataView(e,0).getInt16(t,!0),UInt32:(e,t)=>new DataView(e,0).getUint32(t,!0),Int32:(e,t)=>new DataView(e,0).getInt32(t,!0)};function p(e){return S.hasOwnProperty(e)}function R(e){return p(e)?S[e].BYTES_PER_ELEMENT:0}},72385:(e,t,n)=>{function r(){return new Float32Array(3)}function o(e){const t=new Float32Array(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(e,t,n){const r=new Float32Array(3);return r[0]=e,r[1]=t,r[2]=n,r}function l(){return r()}function u(){return i(1,1,1)}function a(){return i(1,0,0)}function c(){return i(0,1,0)}function s(){return i(0,0,1)}n.d(t,{fA:()=>i,o8:()=>o,vt:()=>r});const f=l(),d=u(),C=a(),A=c(),h=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:C,UNIT_Y:A,UNIT_Z:h,ZEROS:f,clone:o,create:r,fromValues:i,ones:u,unitX:a,unitY:c,unitZ:s,zeros:l},Symbol.toStringTag,{value:"Module"}))},91829:(e,t,n)=>{function r(){return[0,0,0,0]}function o(e,t,n,r){return[e,t,n,r]}function i(e,t,n,r){return[e,t,n,r]}function l(e,t=[0,0,0,0]){const n=Math.min(4,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function u(){return o(1,1,1,1)}function a(){return o(1,0,0,0)}function c(){return o(0,1,0,0)}function s(){return o(0,0,1,0)}function f(){return o(0,0,0,1)}n.d(t,{CN:()=>i,Un:()=>C,ci:()=>l,fA:()=>o,uY:()=>d,vt:()=>r});const d=[0,0,0,0],C=u(),A=a(),h=c(),E=s(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:C,UNIT_W:g,UNIT_X:A,UNIT_Y:h,UNIT_Z:E,ZEROS:d,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:r,freeze:i,fromArray:l,fromValues:o,ones:u,unitW:f,unitX:a,unitY:c,unitZ:s,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},93223:(e,t,n)=>{n.d(t,{e:()=>i});var r=n(66552),o=n(10107);function i(e,t={}){const n=e instanceof r.J?e:new r.J(e,t),{alwaysWriteDefaults:i,default:l,ignoreUnknown:u=!0,name:a,nonNullable:c,readOnly:s=!1}=t;return(0,o.MZ)({type:u?n.apiValues:String,json:{type:n.jsonValues,default:l,name:a,read:!s&&{reader:n.read},write:{writer:n.write,alwaysWriteDefaults:i}},nonNullable:c,readOnly:s})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6131],{10873:(e,r,t)=>{t.d(r,{C1:()=>T,Fm:()=>f,Ih:()=>S,M6:()=>d,OZ:()=>c,PY:()=>y,Qo:()=>w,Yj:()=>b,fV:()=>m,hG:()=>I,hn:()=>L,id:()=>h,kF:()=>u,ke:()=>g,zQ:()=>A});var i=t(89317),n=t(5443),a=t(16930),s=t(97159),o=t(88625),l=t(43440),p=t(78553);const y={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:{enabled:!0,layerContainerTypes:i.K}}},d={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,r)=>!r.disablePopup},write:{enabled:!0,writer(e,r,t){r[t]=!e}}}},u={type:Boolean,value:!0,nonNullable:!0,json:{name:"showLabels",write:{enabled:!0,layerContainerTypes:i.K}}},c={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:s.w}}},m={type:Boolean,value:!0,nonNullable:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:{enabled:!0,layerContainerTypes:i.K}}},b={value:null,type:o.A,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:{enabled:!0,layerContainerTypes:i.K}}};function w(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const v={write:{enabled:!0,layerContainerTypes:i.K},read:!0},g={type:Number,json:{origins:{"web-document":v,"portal-item":{write:{layerContainerTypes:i.K}}}}},S={...g,json:{...g.json,origins:{"web-document":{...v,write:{enabled:!0,layerContainerTypes:i.K,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,r,t)=>t&&"service"!==t.origin||!r.drawingInfo||void 0===r.drawingInfo.transparency?r.layerDefinition?.drawingInfo&&void 0!==r.layerDefinition.drawingInfo.transparency?(0,p.D)(r.layerDefinition.drawingInfo.transparency):void 0:(0,p.D)(r.drawingInfo.transparency)}}},f={type:n.A,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,r)=>{const t=n.A.fromJSON(e);return null!=r.spatialReference&&"object"==typeof r.spatialReference&&(t.spatialReference=a.A.fromJSON(r.spatialReference)),t}}}},read:!1}},h={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},L={type:Number,json:{origins:{service:{write:{enabled:!1}}},name:"layerDefinition.minScale",write:{layerContainerTypes:i.K}}},I={type:Number,json:{origins:{service:{write:{enabled:!1}}},name:"layerDefinition.maxScale",write:{layerContainerTypes:i.K}}},T={json:{write:{ignoreOrigin:!0,layerContainerTypes:i.K},origins:{"web-map":{read:!1,write:!1}}}},A={type:l.A,json:{name:"attributeTableInfo",write:!0}}},16131:(e,r,t)=>{t.d(r,{q:()=>f});var i=t(90237),n=t(49186),a=t(84952),s=t(10107),o=t(56507),l=(t(44208),t(87811),t(36005)),p=t(40608),y=t(43937),d=t(89317),u=t(45917),c=t(49422);const m={ArcGISAnnotationLayer:!0,ArcGISDimensionLayer:!0,ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,CatalogLayer:!0,CSV:!0,GeoJSON:!0,GeoRSS:!0,GroupLayer:!0,KML:!0,KnowledgeGraphLayer:!0,MediaLayer:!0,OGCFeatureLayer:!0,OrientedImageryLayer:!0,SubtypeGroupLayer:!0,VectorTileLayer:!0,WCS:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},b={ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,OpenStreetMap:!0,VectorTileLayer:!0,WCS:!0,WMS:!0,WebTiledLayer:!0},w={ArcGISFeatureLayer:!0,SubtypeGroupTable:!0},v={"web-scene/operational-layers":{ArcGISDimensionLayer:!0,ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledElevationServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BuildingSceneLayer:!0,CatalogLayer:!0,CSV:!0,GeoJSON:!0,GroupLayer:!0,IntegratedMesh3DTilesLayer:!0,Object3DTilesLayer:!0,IntegratedMeshLayer:!0,KML:!0,LineOfSightLayer:!0,MediaLayer:!0,OGCFeatureLayer:!0,OrientedImageryLayer:!0,PointCloudLayer:!0,RasterDataLayer:!0,VectorTileLayer:!0,ViewshedLayer:!0,Voxel:!0,WCS:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},"web-scene/basemap":{ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,WCS:!0,WMS:!0,WebTiledLayer:!0},"web-scene/ground":{ArcGISTiledElevationServiceLayer:!0,RasterDataElevationLayer:!0},"web-scene/tables":{ArcGISFeatureLayer:!0},"web-map/operational-layers":m,"web-map/basemap":b,"web-map/tables":w,"link-chart/operational-layers":{...m,LinkChartLayer:!0},"link-chart/basemap":b,"link-chart/tables":w,"portal-item/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,BuildingSceneLayer:!0,IntegratedMesh3DTilesLayer:!0,IntegratedMeshLayer:!0,MediaLayer:!0,OrientedImageryLayer:!0,PointCloudLayer:!0,SubtypeGroupLayer:!0,WCS:!0},"portal-item/tables":{ArcGISFeatureLayer:!0,SubtypeGroupTable:!0}};var g=t(10873),S=t(79677);const f=e=>{let r=class extends e{constructor(){super(...arguments),this.persistenceEnabled=!0,this.title=null}readId(e,r,t){return"Group Layer"===t?.portalItem?.type?void 0:e}writeListMode(e,r,t,i){(i&&"ground"===i.layerContainerType||e&&(0,c.R)(this,t,{},i))&&(r[t]=e)}writeOperationalLayerType(e,r,t){e&&(r[t]=e)}writeTitle(e,r){r.title=e??"Layer"}readVisibilityTimeExtent(e){return e?S.A.fromArray(e):null}writeVisibilityTimeExtent(e,r,t,i){e&&"tables"!==i.layerContainerType&&(e.isEmpty?i?.messages&&i.messages.push(new n.A("layer:invalid-visibilityTimeExtent","visibilityTimeExtent cannot be empty")):r[t]=e.toArray())}read(e,r){r&&(r.layer=this),(0,u.t)(this,e,(r=>super.read(e,r)),r)}write(e,r){if(!this.persistenceEnabled&&!r?.ignorePersistenceEnabled)return null;if(r?.origin){const e=`${r.origin}/${r.layerContainerType||"operational-layers"}`,t=v[e];let i=!!t?.[this.operationalLayerType];if("ArcGISTiledElevationServiceLayer"===this.operationalLayerType&&"web-scene/operational-layers"===e&&(i=!1),"ArcGISDimensionLayer"===this.operationalLayerType&&"web-map/operational-layers"===e&&(i=!1),!i)return r.messages?.push(new n.A("layer:unsupported",`Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,{layer:this})),null}const t=super.write(e,{...r,layer:this}),i=!!r&&!!r.messages&&!!r.messages.filter((e=>e instanceof n.A&&"web-document-write:property-required"===e.name)).length;return(0,a.w8)(t?.url)?(r?.messages?.push(new n.A("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&i?null:t}beforeSave(){}};return(0,i._)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],r.prototype,"id",void 0),(0,i._)([(0,l.w)("id",["id"])],r.prototype,"readId",null),(0,i._)([(0,s.MZ)(g.C1)],r.prototype,"listMode",void 0),(0,i._)([(0,y.K)("listMode")],r.prototype,"writeListMode",null),(0,i._)([(0,s.MZ)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1},"web-scene":{name:"layerType",read:!1,write:{enabled:!0,ignoreOrigin:!0,layerContainerTypes:d.K,isRequired:!0}}}}})],r.prototype,"operationalLayerType",void 0),(0,i._)([(0,y.K)("operationalLayerType")],r.prototype,"writeOperationalLayerType",null),(0,i._)([(0,s.MZ)(g.ke)],r.prototype,"opacity",void 0),(0,i._)([(0,s.MZ)({type:Boolean,readOnly:!1})],r.prototype,"persistenceEnabled",void 0),(0,i._)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],r.prototype,"title",void 0),(0,i._)([(0,y.K)("title"),(0,y.K)(["web-scene"],"title")],r.prototype,"writeTitle",null),(0,i._)([(0,s.MZ)({type:S.A,json:{origins:{"web-scene":{write:{layerContainerTypes:d.K}}}}})],r.prototype,"visibilityTimeExtent",void 0),(0,i._)([(0,l.w)("visibilityTimeExtent")],r.prototype,"readVisibilityTimeExtent",null),(0,i._)([(0,y.K)(["portal-item","web-map","web-scene"],"visibilityTimeExtent",{visibilityTimeExtent:{type:[[o.jz,o.Uv]]}})],r.prototype,"writeVisibilityTimeExtent",null),(0,i._)([(0,s.MZ)({type:Boolean,json:{name:"visibility",write:{layerContainerTypes:d.K}}})],r.prototype,"visible",void 0),r=(0,i._)([(0,p.$)("esri.layers.mixins.OperationalLayer")],r),r}},16271:(e,r,t)=>{t.d(r,{Ao:()=>a,KQ:()=>s});var i=t(4576),n=t(31756);function a(e){return 1/(n.j[e]||1)}const s=function(){const e=Object.keys(n.j);return(0,i.TF)(e,"decimal-degrees"),e.sort(),e}()},31756:(e,r,t)=>{t.d(r,{j:()=>a});var i=t(83047),n=t(79258);const a={unknown:1,inches:(0,i.oU)(1,"meters","inches"),feet:(0,i.oU)(1,"meters","feet"),"us-feet":(0,i.oU)(1,"meters","us-feet"),yards:(0,i.oU)(1,"meters","yards"),miles:(0,i.oU)(1,"meters","miles"),"nautical-miles":(0,i.oU)(1,"meters","nautical-miles"),millimeters:(0,i.oU)(1,"meters","millimeters"),centimeters:(0,i.oU)(1,"meters","centimeters"),decimeters:(0,i.oU)(1,"meters","decimeters"),meters:(0,i.oU)(1,"meters","meters"),kilometers:(0,i.oU)(1,"meters","kilometers"),"decimal-degrees":1/(0,i.vl)(1,"meters",n.$O.radius)}},43440:(e,r,t)=>{t.d(r,{A:()=>M});var i=t(90237),n=t(25482),a=t(4718),s=t(10107),o=(t(44208),t(53966),t(40608)),l=t(69540);t(87811);let p=class extends n.A{constructor(e){super(e),this.description=null,this.label=null,this.type=null}};(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,i._)([(0,s.MZ)()],p.prototype,"type",void 0),p=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableElement")],p);const y=p;let d=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.displayType="auto",this.type="attachment"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({type:["auto"],json:{write:!0}})],d.prototype,"displayType",void 0),(0,i._)([(0,s.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],d.prototype,"type",void 0),d=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableAttachmentElement")],d);const u=d;let c=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.description=null,this.fieldName=null,this.label=null,this.type="field"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],c.prototype,"description",void 0),(0,i._)([(0,s.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],c.prototype,"fieldName",void 0),(0,i._)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],c.prototype,"label",void 0),(0,i._)([(0,s.MZ)({type:["field"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],c.prototype,"type",void 0),c=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableFieldElement")],c);const m=c;var b=t(56507);let w=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.relationshipId=null,this.type="relationship"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({type:Number,json:{type:b.jz,write:{enabled:!0,isRequired:!0}}})],w.prototype,"relationshipId",void 0),(0,i._)([(0,s.MZ)({type:["relationship"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],w.prototype,"type",void 0),w=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableRelationshipElement")],w);const v=w,g={base:y,key:"type",typeMap:{attachment:u,field:m,relationship:v}};let S=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.elements=null,this.type="group"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({types:[g],json:{name:"attributeTableElements",write:!0}})],S.prototype,"elements",void 0),(0,i._)([(0,s.MZ)({type:["group"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],S.prototype,"type",void 0),S=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableGroupElement")],S);const f=S;let h=class extends(l.A.ClonableMixin(n.A)){constructor(e){super(e),this.field=null,this.order=null}};(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,i._)([(0,s.MZ)({type:["asc","desc"],json:{write:!0}})],h.prototype,"order",void 0),h=(0,i._)([(0,o.$)("esri.tables.support.FieldOrder")],h);const L=h;var I;const T={typesWithGroup:{base:y,key:"type",typeMap:{attachment:u,field:m,group:f,relationship:v}},typesWithoutGroup:g};let A=I=class extends n.A{constructor(e){super(e),this.elements=null,this.orderByFields=null}clone(){return new I({elements:(0,a.o8)(this.elements),orderByFields:(0,a.o8)(this.orderByFields)})}};(0,i._)([(0,s.MZ)({types:[T.typesWithGroup],json:{name:"attributeTableElements",write:!0}})],A.prototype,"elements",void 0),(0,i._)([(0,s.MZ)({type:[L],json:{write:!0}})],A.prototype,"orderByFields",void 0),A=I=(0,i._)([(0,o.$)("esri.tables.AttributeTableTemplate")],A);const M=A},88625:(e,r,t)=>{t.d(r,{A:()=>f});var i,n=t(90237),a=t(66552),s=t(25482),o=t(97768),l=t(10107),p=(t(44208),t(53966),t(87811),t(36005)),y=t(40608),d=t(43937),u=t(30524);let c=i=class extends s.A{constructor(e){super(e)}async collectRequiredFields(e,r){return(0,u.Dx)(e,r,this.expression)}clone(){return new i({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,n._)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],c.prototype,"expression",void 0),(0,n._)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),c=i=(0,n._)([(0,y.$)("esri.symbols.support.FeatureExpressionInfo")],c);const m=c;var b,w=t(16271);const v=(0,a.O)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),g=new a.J({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let S=class extends s.A{static{b=this}constructor(e){super(e),this.featureExpressionInfo=void 0,this.offset=null}readFeatureExpressionInfo(e,r){return null!=e?e:r.featureExpression&&0===r.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,r,t,i){r[t]=e.write({},i),"0"===e.expression&&(r.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:r}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||r?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,r){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,r):null}clone(){return new b({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,o.CM)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,n._)([(0,l.MZ)({type:m,json:{write:!0}})],S.prototype,"featureExpressionInfo",void 0),(0,n._)([(0,p.w)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],S.prototype,"readFeatureExpressionInfo",null),(0,n._)([(0,d.K)("featureExpressionInfo",{featureExpressionInfo:{type:m},"featureExpression.value":{type:[0]}})],S.prototype,"writeFeatureExpressionInfo",null),(0,n._)([(0,l.MZ)({type:v.apiValues,nonNullable:!0,json:{type:v.jsonValues,read:v.read,write:{writer:v.write,isRequired:!0}}})],S.prototype,"mode",null),(0,n._)([(0,l.MZ)({type:Number,json:{write:!0}})],S.prototype,"offset",void 0),(0,n._)([(0,l.MZ)({type:w.KQ,json:{type:String,read:g.read,write:g.write}})],S.prototype,"unit",null),S=b=(0,n._)([(0,y.$)("esri.symbols.support.ElevationInfo")],S);const f=S},89317:(e,r,t)=>{t.d(r,{K:()=>i});const i=["operational-layers","basemap","ground"]}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6131],{10873:(e,r,t)=>{t.d(r,{C1:()=>T,Fm:()=>f,Ih:()=>S,M6:()=>d,OZ:()=>c,PY:()=>y,Qo:()=>w,Yj:()=>b,fV:()=>m,hG:()=>I,hn:()=>L,id:()=>h,kF:()=>u,ke:()=>g,zQ:()=>A});var i=t(89317),n=t(5443),a=t(16930),s=t(97159),o=t(88625),l=t(43440),p=t(78553);const y={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:{enabled:!0,layerContainerTypes:i.K}}},d={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,r)=>!r.disablePopup},write:{enabled:!0,writer(e,r,t){r[t]=!e}}}},u={type:Boolean,value:!0,nonNullable:!0,json:{name:"showLabels",write:{enabled:!0,layerContainerTypes:i.K}}},c={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:s.w}}},m={type:Boolean,value:!0,nonNullable:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:{enabled:!0,layerContainerTypes:i.K}}},b={value:null,type:o.A,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:{enabled:!0,layerContainerTypes:i.K}}};function w(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const v={write:{enabled:!0,layerContainerTypes:i.K},read:!0},g={type:Number,json:{origins:{"web-document":v,"portal-item":{write:{layerContainerTypes:i.K}}}}},S={...g,json:{...g.json,origins:{"web-document":{...v,write:{enabled:!0,layerContainerTypes:i.K,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,r,t)=>t&&"service"!==t.origin||!r.drawingInfo||void 0===r.drawingInfo.transparency?r.layerDefinition?.drawingInfo&&void 0!==r.layerDefinition.drawingInfo.transparency?(0,p.D)(r.layerDefinition.drawingInfo.transparency):void 0:(0,p.D)(r.drawingInfo.transparency)}}},f={type:n.A,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,r)=>{const t=n.A.fromJSON(e);return null!=r.spatialReference&&"object"==typeof r.spatialReference&&(t.spatialReference=a.A.fromJSON(r.spatialReference)),t}}}},read:!1}},h={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},L={type:Number,json:{origins:{service:{write:{enabled:!1}}},name:"layerDefinition.minScale",write:{layerContainerTypes:i.K}}},I={type:Number,json:{origins:{service:{write:{enabled:!1}}},name:"layerDefinition.maxScale",write:{layerContainerTypes:i.K}}},T={json:{write:{ignoreOrigin:!0,layerContainerTypes:i.K},origins:{"web-map":{read:!1,write:!1}}}},A={type:l.A,json:{name:"attributeTableInfo",write:!0}}},16131:(e,r,t)=>{t.d(r,{q:()=>f});var i=t(90237),n=t(49186),a=t(84952),s=t(10107),o=t(56507),l=(t(44208),t(87811),t(36005)),p=t(40608),y=t(43937),d=t(89317),u=t(45917),c=t(49422);const m={ArcGISAnnotationLayer:!0,ArcGISDimensionLayer:!0,ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,CatalogLayer:!0,CSV:!0,GeoJSON:!0,GeoRSS:!0,GroupLayer:!0,KML:!0,KnowledgeGraphLayer:!0,MediaLayer:!0,OGCFeatureLayer:!0,OrientedImageryLayer:!0,SubtypeGroupLayer:!0,VectorTileLayer:!0,WCS:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},b={ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,OpenStreetMap:!0,VectorTileLayer:!0,WCS:!0,WMS:!0,WebTiledLayer:!0},w={ArcGISFeatureLayer:!0,SubtypeGroupTable:!0},v={"web-scene/operational-layers":{ArcGISDimensionLayer:!0,ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledElevationServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BuildingSceneLayer:!0,CatalogLayer:!0,CSV:!0,GeoJSON:!0,GroupLayer:!0,IntegratedMesh3DTilesLayer:!0,Object3DTilesLayer:!0,IntegratedMeshLayer:!0,KML:!0,LineOfSightLayer:!0,MediaLayer:!0,OGCFeatureLayer:!0,OrientedImageryLayer:!0,PointCloudLayer:!0,RasterDataLayer:!0,VectorTileLayer:!0,ViewshedLayer:!0,Voxel:!0,WCS:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},"web-scene/basemap":{ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,WCS:!0,WMS:!0,WebTiledLayer:!0},"web-scene/ground":{ArcGISTiledElevationServiceLayer:!0,RasterDataElevationLayer:!0},"web-scene/tables":{ArcGISFeatureLayer:!0},"web-map/operational-layers":m,"web-map/basemap":b,"web-map/tables":w,"link-chart/operational-layers":{...m,LinkChartLayer:!0},"link-chart/basemap":b,"link-chart/tables":w,"portal-item/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,BuildingSceneLayer:!0,IntegratedMesh3DTilesLayer:!0,IntegratedMeshLayer:!0,MediaLayer:!0,OrientedImageryLayer:!0,PointCloudLayer:!0,SubtypeGroupLayer:!0,WCS:!0},"portal-item/tables":{ArcGISFeatureLayer:!0,SubtypeGroupTable:!0}};var g=t(10873),S=t(79677);const f=e=>{let r=class extends e{constructor(){super(...arguments),this.persistenceEnabled=!0,this.title=null}readId(e,r,t){return"Group Layer"===t?.portalItem?.type?void 0:e}writeListMode(e,r,t,i){(i&&"ground"===i.layerContainerType||e&&(0,c.R)(this,t,{},i))&&(r[t]=e)}writeOperationalLayerType(e,r,t){e&&(r[t]=e)}writeTitle(e,r){r.title=e??"Layer"}readVisibilityTimeExtent(e){return e?S.A.fromArray(e):null}writeVisibilityTimeExtent(e,r,t,i){e&&"tables"!==i.layerContainerType&&(e.isEmpty?i?.messages&&i.messages.push(new n.A("layer:invalid-visibilityTimeExtent","visibilityTimeExtent cannot be empty")):r[t]=e.toArray())}read(e,r){r&&(r.layer=this),(0,u.t)(this,e,(r=>super.read(e,r)),r)}write(e,r){if(!this.persistenceEnabled&&!r?.ignorePersistenceEnabled)return null;if(r?.origin){const e=`${r.origin}/${r.layerContainerType||"operational-layers"}`,t=v[e];let i=!!t?.[this.operationalLayerType];if("ArcGISTiledElevationServiceLayer"===this.operationalLayerType&&"web-scene/operational-layers"===e&&(i=!1),"ArcGISDimensionLayer"===this.operationalLayerType&&"web-map/operational-layers"===e&&(i=!1),!i)return r.messages?.push(new n.A("layer:unsupported",`Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,{layer:this})),null}const t=super.write(e,{...r,layer:this}),i=!!r&&!!r.messages&&!!r.messages.filter((e=>e instanceof n.A&&"web-document-write:property-required"===e.name)).length;return(0,a.w8)(t?.url)?(r?.messages?.push(new n.A("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&i?null:t}beforeSave(){}};return(0,i._)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],r.prototype,"id",void 0),(0,i._)([(0,l.w)("id",["id"])],r.prototype,"readId",null),(0,i._)([(0,s.MZ)(g.C1)],r.prototype,"listMode",void 0),(0,i._)([(0,y.K)("listMode")],r.prototype,"writeListMode",null),(0,i._)([(0,s.MZ)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1},"web-scene":{name:"layerType",read:!1,write:{enabled:!0,ignoreOrigin:!0,layerContainerTypes:d.K,isRequired:!0}}}}})],r.prototype,"operationalLayerType",void 0),(0,i._)([(0,y.K)("operationalLayerType")],r.prototype,"writeOperationalLayerType",null),(0,i._)([(0,s.MZ)(g.ke)],r.prototype,"opacity",void 0),(0,i._)([(0,s.MZ)({type:Boolean,readOnly:!1})],r.prototype,"persistenceEnabled",void 0),(0,i._)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],r.prototype,"title",void 0),(0,i._)([(0,y.K)("title"),(0,y.K)(["web-scene"],"title")],r.prototype,"writeTitle",null),(0,i._)([(0,s.MZ)({type:S.A,json:{origins:{"web-scene":{write:{layerContainerTypes:d.K}}}}})],r.prototype,"visibilityTimeExtent",void 0),(0,i._)([(0,l.w)("visibilityTimeExtent")],r.prototype,"readVisibilityTimeExtent",null),(0,i._)([(0,y.K)(["portal-item","web-map","web-scene"],"visibilityTimeExtent",{visibilityTimeExtent:{type:[[o.jz,o.Uv]]}})],r.prototype,"writeVisibilityTimeExtent",null),(0,i._)([(0,s.MZ)({type:Boolean,json:{name:"visibility",write:{layerContainerTypes:d.K}}})],r.prototype,"visible",void 0),r=(0,i._)([(0,p.$)("esri.layers.mixins.OperationalLayer")],r),r}},16271:(e,r,t)=>{t.d(r,{Ao:()=>a,KQ:()=>s});var i=t(4576),n=t(31756);function a(e){return 1/(n.j[e]||1)}const s=function(){const e=Object.keys(n.j);return(0,i.TF)(e,"decimal-degrees"),e.sort(),e}()},31756:(e,r,t)=>{t.d(r,{j:()=>a});var i=t(83047),n=t(79258);const a={unknown:1,inches:(0,i.oU)(1,"meters","inches"),feet:(0,i.oU)(1,"meters","feet"),"us-feet":(0,i.oU)(1,"meters","us-feet"),yards:(0,i.oU)(1,"meters","yards"),miles:(0,i.oU)(1,"meters","miles"),"nautical-miles":(0,i.oU)(1,"meters","nautical-miles"),millimeters:(0,i.oU)(1,"meters","millimeters"),centimeters:(0,i.oU)(1,"meters","centimeters"),decimeters:(0,i.oU)(1,"meters","decimeters"),meters:(0,i.oU)(1,"meters","meters"),kilometers:(0,i.oU)(1,"meters","kilometers"),"decimal-degrees":1/(0,i.vl)(1,"meters",n.$O.radius)}},43440:(e,r,t)=>{t.d(r,{A:()=>M});var i=t(90237),n=t(25482),a=t(4718),s=t(10107),o=(t(44208),t(53966),t(40608)),l=t(69540);t(87811);let p=class extends n.A{constructor(e){super(e),this.description=null,this.label=null,this.type=null}};(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,i._)([(0,s.MZ)()],p.prototype,"type",void 0),p=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableElement")],p);const y=p;let d=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.displayType="auto",this.type="attachment"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({type:["auto"],json:{write:!0}})],d.prototype,"displayType",void 0),(0,i._)([(0,s.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],d.prototype,"type",void 0),d=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableAttachmentElement")],d);const u=d;let c=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.description=null,this.fieldName=null,this.label=null,this.type="field"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],c.prototype,"description",void 0),(0,i._)([(0,s.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],c.prototype,"fieldName",void 0),(0,i._)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],c.prototype,"label",void 0),(0,i._)([(0,s.MZ)({type:["field"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],c.prototype,"type",void 0),c=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableFieldElement")],c);const m=c;var b=t(56507);let w=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.relationshipId=null,this.type="relationship"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({type:Number,json:{type:b.jz,write:{enabled:!0,isRequired:!0}}})],w.prototype,"relationshipId",void 0),(0,i._)([(0,s.MZ)({type:["relationship"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],w.prototype,"type",void 0),w=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableRelationshipElement")],w);const v=w,g={base:y,key:"type",typeMap:{attachment:u,field:m,relationship:v}};let S=class extends(l.A.ClonableMixin(y)){constructor(e){super(e),this.elements=null,this.type="group"}clone(){return super.clone()}};(0,i._)([(0,s.MZ)({types:[g],json:{name:"attributeTableElements",write:!0}})],S.prototype,"elements",void 0),(0,i._)([(0,s.MZ)({type:["group"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],S.prototype,"type",void 0),S=(0,i._)([(0,o.$)("esri.tables.elements.AttributeTableGroupElement")],S);const f=S;let h=class extends(l.A.ClonableMixin(n.A)){constructor(e){super(e),this.field=null,this.order=null}};(0,i._)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,i._)([(0,s.MZ)({type:["asc","desc"],json:{write:!0}})],h.prototype,"order",void 0),h=(0,i._)([(0,o.$)("esri.tables.support.FieldOrder")],h);const L=h;var I;const T={typesWithGroup:{base:y,key:"type",typeMap:{attachment:u,field:m,group:f,relationship:v}},typesWithoutGroup:g};let A=I=class extends n.A{constructor(e){super(e),this.elements=null,this.orderByFields=null}clone(){return new I({elements:(0,a.o8)(this.elements),orderByFields:(0,a.o8)(this.orderByFields)})}};(0,i._)([(0,s.MZ)({types:[T.typesWithGroup],json:{name:"attributeTableElements",write:!0}})],A.prototype,"elements",void 0),(0,i._)([(0,s.MZ)({type:[L],json:{write:!0}})],A.prototype,"orderByFields",void 0),A=I=(0,i._)([(0,o.$)("esri.tables.AttributeTableTemplate")],A);const M=A},88625:(e,r,t)=>{t.d(r,{A:()=>f});var i,n=t(90237),a=t(66552),s=t(25482),o=t(97768),l=t(10107),p=(t(44208),t(53966),t(87811),t(36005)),y=t(40608),d=t(43937),u=t(30524);let c=i=class extends s.A{constructor(e){super(e)}async collectRequiredFields(e,r){return(0,u.Dx)(e,r,this.expression)}clone(){return new i({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,n._)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],c.prototype,"expression",void 0),(0,n._)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),c=i=(0,n._)([(0,y.$)("esri.symbols.support.FeatureExpressionInfo")],c);const m=c;var b,w=t(16271);const v=(0,a.O)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),g=new a.J({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let S=class extends s.A{static{b=this}constructor(e){super(e),this.featureExpressionInfo=void 0,this.offset=null}readFeatureExpressionInfo(e,r){return null!=e?e.expression?e:void 0:r.featureExpression&&0===r.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,r,t,i){r[t]=e.write({},i),"0"===e.expression&&(r.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:r}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||r?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,r){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,r):null}clone(){return new b({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,o.CM)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,n._)([(0,l.MZ)({type:m,json:{write:!0}})],S.prototype,"featureExpressionInfo",void 0),(0,n._)([(0,p.w)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],S.prototype,"readFeatureExpressionInfo",null),(0,n._)([(0,d.K)("featureExpressionInfo",{featureExpressionInfo:{type:m},"featureExpression.value":{type:[0]}})],S.prototype,"writeFeatureExpressionInfo",null),(0,n._)([(0,l.MZ)({type:v.apiValues,nonNullable:!0,json:{type:v.jsonValues,read:v.read,write:{writer:v.write,isRequired:!0}}})],S.prototype,"mode",null),(0,n._)([(0,l.MZ)({type:Number,json:{write:!0}})],S.prototype,"offset",void 0),(0,n._)([(0,l.MZ)({type:w.KQ,json:{type:String,read:g.read,write:g.write}})],S.prototype,"unit",null),S=b=(0,n._)([(0,y.$)("esri.symbols.support.ElevationInfo")],S);const f=S},89317:(e,r,t)=>{t.d(r,{K:()=>i});const i=["operational-layers","basemap","ground"]}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3030],{13030:(t,e,s)=>{s.d(e,{Y$:()=>p,XW:()=>d,qB:()=>x,Qt:()=>X,My:()=>Q,bf:()=>j,jZ:()=>M,j0:()=>A,Sx:()=>b,E$:()=>_,h:()=>N,P:()=>O,SL:()=>P,gH:()=>B,ZD:()=>a,si:()=>g,mJ:()=>Z,UL:()=>W,D6:()=>D,Yi:()=>F,An:()=>U,LC:()=>Y,xs:()=>T,EC:()=>E,Xm:()=>C,Vp:()=>$,zD:()=>J,m8:()=>z,nS:()=>v,H$:()=>q,eI:()=>R,Eq:()=>S,jz:()=>m,Aj:()=>L,E7:()=>H,Y4:()=>G,TX:()=>k,Uz:()=>I,ml:()=>V,XP:()=>w});var r=s(26615);class i{static{this.ElementCount=9}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=9;const n=this.TypedArrayConstructor;void 0===r&&(r=9*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[s++];return e}setMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[s++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;for(let t=0;t<9;++t)r[n++]=i[u++]}get buffer(){return this.typedBuffer.buffer}}class n{static{this.ElementCount=16}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=16;const n=this.TypedArrayConstructor;void 0===r&&(r=16*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[s++];return e}setMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[s++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}copyFrom(t,e,s){this.copyFromTypedBuffer(t,e.typedBuffer,s*e.typedBufferStride)}copyFromTypedBuffer(t,e,s){const r=this.typedBuffer;let i=t*this.typedBufferStride;for(let t=0;t<16;++t)r[i++]=e[s++]}get buffer(){return this.typedBuffer.buffer}}class u{static{this.ElementCount=1}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=1;const n=this.TypedArrayConstructor;void 0===r&&(r=n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var f=s(37585);class c{static{this.ElementCount=2}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.start=s,this.elementCount=2;const n=this.TypedArrayConstructor;void 0===r&&(r=2*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,f.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=s}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var h=s(38954);class y{static{this.ElementCount=3}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=3;const n=this.TypedArrayConstructor;void 0===r&&(r=3*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,h.i)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=s,this.typedBuffer[t]=r}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var l=s(87317);class o{static{this.ElementCount=4}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.start=s,this.elementCount=4;const n=this.TypedArrayConstructor;void 0===r&&(r=4*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,l.s)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s,r,i){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=s,this.typedBuffer[t++]=r,this.typedBuffer[t]=i}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}class d extends u{constructor(t,e=0,s,i){super(r.l,t,e,s,i),this.elementType="f16"}static{this.ElementType="f16"}}class p extends u{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}static{this.ElementType="f32"}}class a extends c{constructor(t,e=0,s,i){super(r.l,t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(a,t,e)}static{this.ElementType="f16"}}class B extends c{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f32"}}class E extends y{constructor(t,e=0,s,i){super(r.l,t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f16"}}class T extends y{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(T,t,e)}static fromTypedArray(t,e){return new T(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class m extends o{constructor(t,e=0,s,i){super(r.l,t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(m,t,e)}static{this.ElementType="f16"}}class S extends o{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class M extends i{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(M,t,e)}static{this.ElementType="f32"}}class A extends i{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f64"}}class b extends n{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f32"}}class _ extends n{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class x extends u{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f64"}}class g extends c{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(g,t,e)}static{this.ElementType="f64"}}class C extends y{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static fromTypedArray(t,e){return new C(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class L extends o{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="f64"}}class P extends u{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="u8"}}class Y extends c{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u8"}}class R extends y{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(R,t,e)}static fromTypedArray(t,e){return new R(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class w extends o{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="u8"}}class N extends u{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="u16"}}class F extends c{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u16"}}class v extends y{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="u16"}}class I extends o{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u16"}}class O extends u{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u32"}}class U extends c{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class q extends y{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u32"}}class V extends o{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u32"}}class j extends u{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="i8"}}class D extends c{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class z extends y{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="i8"}}class k extends o{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="i8"}}class X extends u{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="i16"}}class Z extends c{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="i16"}}class $ extends y{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i16"}}class H extends o{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class Q extends u{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i32"}}class W extends c{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i32"}}class J extends y{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i32"}}class G extends o{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i32"}}},37585:(t,e,s)=>{s.d(e,{C:()=>i,Cc:()=>B,Io:()=>l,S8:()=>a,WQ:()=>u,e$:()=>T,hZ:()=>n,hs:()=>y,jb:()=>S,l0:()=>E});var r=s(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t}function n(t,e,s){return t[0]=e,t[1]=s,t}function u(t,e,s){return t[0]=e[0]+s[0],t[1]=e[1]+s[1],t}function f(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t}function c(t,e,s){return t[0]=e[0]*s[0],t[1]=e[1]*s[1],t}function h(t,e,s){return t[0]=e[0]/s[0],t[1]=e[1]/s[1],t}function y(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t}function l(t,e){const s=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(s*s+r*r)}function o(t,e){const s=e[0]-t[0],r=e[1]-t[1];return s*s+r*r}function d(t){const e=t[0],s=t[1];return Math.sqrt(e*e+s*s)}function p(t){const e=t[0],s=t[1];return e*e+s*s}function a(t,e){const s=e[0],r=e[1];let i=s*s+r*r;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i),t}function B(t,e,s,r){const i=e[0],n=e[1];return t[0]=i+r*(s[0]-i),t[1]=n+r*(s[1]-n),t}function E(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[2]*i+s[4],t[1]=s[1]*r+s[3]*i+s[5],t}function T(t,e,s,r){const i=e[0]-s[0],n=e[1]-s[1],u=Math.sin(r),f=Math.cos(r);return t[0]=i*f-n*u+s[0],t[1]=i*u+n*f+s[1],t}const m=d,S=f,M=c,A=h,b=l,_=o,x=p;Object.freeze(Object.defineProperty({__proto__:null,add:u,angle:function(t,e){const s=t[0],r=t[1],i=e[0],n=e[1];let u=s*s+r*r;u>0&&(u=1/Math.sqrt(u));let f=i*i+n*n;f>0&&(f=1/Math.sqrt(f));const c=(s*i+r*n)*u*f;return c>1?0:c<-1?Math.PI:Math.acos(c)},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},copy:i,cross:function(t,e,s){const r=e[0]*s[1]-e[1]*s[0];return t[0]=t[1]=0,t[2]=r,t},dist:b,distance:l,div:A,divide:h,dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},equals:function(t,e){const s=t[0],i=t[1],n=e[0],u=e[1],f=(0,r.FD)();return Math.abs(s-n)<=f*Math.max(1,Math.abs(s),Math.abs(n))&&Math.abs(i-u)<=f*Math.max(1,Math.abs(i),Math.abs(u))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]},floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},len:m,length:d,lerp:B,max:function(t,e,s){return t[0]=Math.max(e[0],s[0]),t[1]=Math.max(e[1],s[1]),t},min:function(t,e,s){return t[0]=Math.min(e[0],s[0]),t[1]=Math.min(e[1],s[1]),t},mul:M,multiply:c,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:a,projectAndScale:function(t,e,s,r,i){let n=e[0]-s[0],u=e[1]-s[1];const f=(r[0]*n+r[1]*u)*(i-1);return n=r[0]*f,u=r[1]*f,t[0]=e[0]+n,t[1]=e[1]+u,t},random:function(t,e=1){const s=2*(0,r.Ov)()*Math.PI;return t[0]=Math.cos(s)*e,t[1]=Math.sin(s)*e,t},rotate:T,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},scale:y,scaleAndAdd:function(t,e,s,r){return t[0]=e[0]+s[0]*r,t[1]=e[1]+s[1]*r,t},set:n,sqrDist:_,sqrLen:x,squaredDistance:o,squaredLength:p,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:S,subtract:f,transformMat2:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[2]*i,t[1]=s[1]*r+s[3]*i,t},transformMat2d:E,transformMat3:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[3]*i+s[6],t[1]=s[1]*r+s[4]*i+s[7],t},transformMat4:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[4]*i+s[12],t[1]=s[1]*r+s[5]*i+s[13],t}},Symbol.toStringTag,{value:"Module"}))}}]);