@arcgis/core 5.0.0-next.54 → 5.0.0-next.55

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 (156) hide show
  1. package/Ground.d.ts +4 -6
  2. package/Ground.js +1 -1
  3. package/WebScene.js +1 -1
  4. package/applications/Components/drawUtils.d.ts +8 -1
  5. package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -2
  6. package/assets/esri/core/workers/RemoteClient.js +1 -1
  7. package/assets/esri/core/workers/chunks/{18cc131fd63d8c15df54.js → 14765f98b8ea447498a1.js} +4 -4
  8. package/assets/esri/core/workers/chunks/{308fb48d080e01499a26.js → 436f206898306df019ac.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{f2e8abb556a380cc2941.js → 492d575894c7905bb70c.js} +1 -1
  10. package/assets/esri/core/workers/chunks/5873c7b65d0fb04998fb.js +1 -0
  11. package/assets/esri/core/workers/chunks/d9736c783513e9c9b22f.js +1 -0
  12. package/assets/esri/core/workers/chunks/{cc67f066c3c0c2a1a37c.js → dd99b77a7c0a052507bb.js} +1 -1
  13. package/chunks/ChapmanAtmosphere.glsl.js +12 -9
  14. package/chunks/GlowComposition.glsl.js +1 -1
  15. package/chunks/Haze.glsl.js +4 -4
  16. package/chunks/RasterColorizer.glsl.js +10 -10
  17. package/chunks/Viewshed.glsl.js +1 -1
  18. package/config.js +1 -1
  19. package/geometry/projection/projectPointToVector.js +1 -1
  20. package/geometry/types.d.ts +10 -1
  21. package/interfaces.d.ts +21 -26
  22. package/kernel.js +1 -1
  23. package/layers/FeatureLayer.d.ts +6 -3
  24. package/layers/support/SubtypeSublayer.d.ts +13 -0
  25. package/package.json +1 -1
  26. package/smartMapping/labels/clusters.d.ts +1 -1
  27. package/support/groundUtils.js +1 -1
  28. package/support/revision.js +1 -1
  29. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  30. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  31. package/views/2d/layers/types.d.ts +6 -0
  32. package/views/2d/types.d.ts +3 -1
  33. package/views/3d/environment/ChapmanApproximation.glsl.js +9 -10
  34. package/views/3d/environment/ChapmanAtmosphere.glsl.js +1 -1
  35. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  36. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  37. package/views/3d/environment/ChapmanRaymarching.glsl.js +1 -2
  38. package/views/3d/environment/CloudsParameters.js +1 -1
  39. package/views/3d/environment/EnvironmentManager.js +1 -1
  40. package/views/3d/environment/SceneViewEnvironment.d.ts +1 -1
  41. package/views/3d/environment/types.d.ts +13 -0
  42. package/views/3d/layers/ImageryLayerView3D.js +1 -1
  43. package/views/3d/webgl/ManagedFBO.d.ts +4 -5
  44. package/views/3d/webgl/RenderNode.d.ts +1 -1
  45. package/views/3d/{webgl-engine/lighting/SceneLighting.d.ts → webgl/types.d.ts} +4 -6
  46. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +2 -2
  47. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +1 -1
  48. package/views/3d/webgl-engine/core/shaderLibrary/raster/RasterColorizer.glsl.js +1 -1
  49. package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +1 -1
  50. package/views/3d/webgl-engine/core/shaderModules/Float4sPassUniform.js +1 -1
  51. package/views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js +1 -1
  52. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  53. package/views/3d/webgl-engine/effects/haze/Haze.glsl.js +1 -1
  54. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  55. package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
  56. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  57. package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +5 -5
  58. package/views/SceneView.d.ts +14 -17
  59. package/views/VideoView.d.ts +1 -2
  60. package/views/View.d.ts +2 -3
  61. package/views/View2D.d.ts +1 -2
  62. package/views/draw/DrawOperation.js +1 -1
  63. package/views/draw/PolygonDrawAction.d.ts +1 -1
  64. package/views/draw/PolygonDrawAction.js +1 -1
  65. package/views/draw/PolylineDrawAction.d.ts +1 -1
  66. package/views/draw/PolylineDrawAction.js +1 -1
  67. package/views/draw/support/GraphicMover.js +1 -1
  68. package/views/draw/types.d.ts +3 -1
  69. package/views/interactive/sketch/Units.d.ts +5 -1
  70. package/views/layers/ImageryLayerViewMixin.d.ts +2 -3
  71. package/views/layers/support/highlightUtils.js +1 -1
  72. package/views/types.d.ts +69 -1
  73. package/views/ui/types.d.ts +12 -1
  74. package/webscene/Environment.d.ts +2 -2
  75. package/webscene/support/FeatureReference.d.ts +1 -1
  76. package/webscene/types.d.ts +5 -1
  77. package/widgets/BasemapGallery.d.ts +1 -1
  78. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -1
  79. package/widgets/BasemapLayerList.d.ts +1 -1
  80. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
  81. package/widgets/BatchAttributeForm.d.ts +1 -1
  82. package/widgets/Bookmarks.d.ts +1 -2
  83. package/widgets/BuildingExplorer.d.ts +1 -1
  84. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +1 -1
  85. package/widgets/CatalogLayerList.d.ts +1 -1
  86. package/widgets/Compass.d.ts +1 -1
  87. package/widgets/CoordinateConversion.d.ts +1 -2
  88. package/widgets/Daylight.d.ts +1 -1
  89. package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +1 -2
  90. package/widgets/DirectionalPad/{utils.d.ts → types.d.ts} +3 -1
  91. package/widgets/Directions.d.ts +1 -2
  92. package/widgets/Editor/EditorViewModel.d.ts +1 -2
  93. package/widgets/Editor/SplitFeatureWorkflow.d.ts +1 -2
  94. package/widgets/Editor/SplitFeatureWorkflowData.d.ts +1 -1
  95. package/widgets/Editor/types.d.ts +8 -1
  96. package/widgets/Editor/workflowUtils.js +1 -1
  97. package/widgets/Editor.d.ts +2 -3
  98. package/widgets/Feature/types.d.ts +5 -1
  99. package/widgets/Feature.d.ts +1 -1
  100. package/widgets/FeatureForm/FieldInput.d.ts +1 -1
  101. package/widgets/FeatureForm.d.ts +1 -1
  102. package/widgets/FeatureTemplates.d.ts +1 -1
  103. package/widgets/Features/FeaturesViewModel.d.ts +1 -1
  104. package/widgets/Features.d.ts +1 -2
  105. package/widgets/FloorFilter.d.ts +1 -1
  106. package/widgets/Home.d.ts +1 -1
  107. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  108. package/widgets/LayerList/types.d.ts +2 -2
  109. package/widgets/LayerList.d.ts +1 -1
  110. package/widgets/Legend.d.ts +1 -1
  111. package/widgets/Locate.d.ts +1 -1
  112. package/widgets/Popup/types.d.ts +2 -0
  113. package/widgets/Popup.d.ts +1 -2
  114. package/widgets/Print.d.ts +1 -1
  115. package/widgets/Search.d.ts +1 -1
  116. package/widgets/ShadowCast/DurationOptions.d.ts +1 -1
  117. package/widgets/ShadowCast/ShadowCastViewModel.d.ts +1 -1
  118. package/widgets/ShadowCast/{ShadowVisualizationType.d.ts → types.d.ts} +4 -1
  119. package/widgets/ShadowCast.d.ts +1 -1
  120. package/widgets/Sketch/types.d.ts +1 -1
  121. package/widgets/Slice.d.ts +1 -1
  122. package/widgets/TableList.d.ts +1 -1
  123. package/widgets/Track.d.ts +1 -1
  124. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +1 -1
  125. package/widgets/UtilityNetworkTrace/{support/ResultAreaHandler.d.ts → types.d.ts} +2 -2
  126. package/widgets/Weather/WeatherViewModel.d.ts +2 -2
  127. package/widgets/Weather.d.ts +1 -1
  128. package/widgets/support/GoTo.d.ts +1 -1
  129. package/widgets/support/forms/types.d.ts +2 -0
  130. package/widgets/support/{goToUtils.d.ts → types.d.ts} +8 -1
  131. package/assets/esri/core/workers/chunks/316f3e93aa0db48ef129.js +0 -1
  132. package/assets/esri/core/workers/chunks/ec7e6427d99cf3148a61.js +0 -1
  133. package/views/2d/ViewStateManager.d.ts +0 -2
  134. package/views/2d/layers/support/clusterUtils.d.ts +0 -6
  135. package/views/3d/environment/lightingUtils.d.ts +0 -4
  136. package/views/3d/environment/weather.d.ts +0 -9
  137. package/views/3d/glTF/internal/resourceUtils.d.ts +0 -10
  138. package/views/3d/interactive/visualElements/DrapedVisualElementResources.d.ts +0 -2
  139. package/views/3d/support/QualityProfile.d.ts +0 -2
  140. package/views/SceneViewHitTestResult.d.ts +0 -64
  141. package/views/ViewingMode.d.ts +0 -2
  142. package/views/draw/DrawingMode.d.ts +0 -2
  143. package/views/draw/support/drawUtils.d.ts +0 -7
  144. package/views/ui/Padding.d.ts +0 -11
  145. package/views/viewType.d.ts +0 -2
  146. package/views/webgl/enums.d.ts +0 -38
  147. package/webscene/support/featureReferenceUtils.d.ts +0 -4
  148. package/widgets/DirectionalPad/constants.d.ts +0 -2
  149. package/widgets/Editor/support/splitFeatureUtils.d.ts +0 -7
  150. package/widgets/Feature/support/arcadeFeatureUtils.d.ts +0 -4
  151. package/widgets/Popup/actions.d.ts +0 -4
  152. package/widgets/ShadowCast/DurationMode.d.ts +0 -3
  153. package/widgets/support/Heading.d.ts +0 -7
  154. package/widgets/support/forms/formUtils.d.ts +0 -2
  155. /package/views/animation/{easing.d.ts → types.d.ts} +0 -0
  156. /package/views/draw/{DrawingMode.js → drawingModes.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6022],{159:(e,t,n)=>{n.d(t,{A:()=>l});var r,a=n(31635),i=n(69622),o=n(91429),s=n(99157);let l=r=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,a.Cg)([(0,o.MZ)({type:[s.A],nonNullable:!0})],l.prototype,"steps",void 0),l=r=(0,a.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},4197:(e,t,n)=>{n.d(t,{Vj:()=>u,cj:()=>l,jh:()=>i,l5:()=>s,xm:()=>o});var r=n(34275),a=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function s(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e){return[...e]}function u(e){const t=(0,a.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},9093:(e,t,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>a,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:a,create:r,fromValues:function(e,t,n,r,a,i,o,s,l,u,c,d,h,f,m,p){return[e,t,n,r,a,i,o,s,l,u,c,d,h,f,m,p]}},Symbol.toStringTag,{value:"Module"}))},9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>a});var r=n(37539);function a(e,t,n,a,i,o,s=Math.floor(e.length/3)){const l=(0,r.jd)(t,i);if(null==l)return!1;if(l===r.pO){if(e===a&&n===o)return!0;const t=n+3*s;for(let r=n,i=o;r<t;r++,i++)a[i]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=o;t<u;t+=3,r+=3)l(e,t,a,r);return!0}},10838:(e,t,n)=>{n.d(t,{ao:()=>h,ud:()=>f,xO:()=>m});var r=n(49186),a=n(36563),i=n(74887),o=n(73444);const s={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function l(e){if(function(e){return e in s}(e)){const t=s[e];return!0===t?e:t}return null}const u=[],c=new Map;function d(e){for(const t of c.keys())p(e.pattern,t)&&c.delete(t)}function h(e){return u.includes(e)||(d(e),u.unshift(e)),(0,a.hA)(()=>{const t=u.indexOf(e);t>-1&&(u.splice(t,1),d(e))})}async function f(e){const t=(0,o.JK)();c.has(e)||c.set(e,async function(e,t){const n=[];for(const r of u)if(p(r.pattern,e))try{return await r.fetchMessageBundle(e,t)}catch(e){n.push(e)}if(n.length)throw new r.A("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:n});throw new r.A("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}(e,t));const n=c.get(e);return n&&await g.add(n),n}function m(e){const t=(0,o.lR)(e);return t?l(e)??l(t):null}function p(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,o.Ml)(()=>{c.clear()});const g=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,i.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},18251:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(31635),a=n(69540),i=n(25482),o=n(91429),s=n(51850),l=n(93223);let u=class extends((0,a.OU)(i.o)){constructor(e){super(e),this.type="local",this.origin=(0,s.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276:(e,t,n)=>{n.d(t,{H:()=>i,f:()=>a});var r=n(49186);function a(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(a)}},27993:(e,t,n)=>{n.d(t,{F:()=>s});var r=n(91218),a=n(16930),i=n(9762),o=n(65806);function s(e,t,n,a){return!(null==t||null==a||e.length<2)&&((0,r.canProjectWithoutEngine)(t,a)?(0,i.projectBuffer)(e,t,0,n,a,0,1):(l.x=e[0],l.y=e[1],l.z=e[2],l.spatialReference=t,(0,o.g)(l,n,a)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:a.A.WGS84,type:"point"}},28735:(e,t,n)=>{n.d(t,{Cv:()=>y,Gh:()=>A,ci:()=>M,je:()=>T,jg:()=>h,tD:()=>S,y7:()=>g});var r=n(4718),a=n(21276),i=n(16930),o=n(79258),s=n(21325);const l=57.29577951308232,u=.017453292519943;function c(e){return e*l}function d(e){return e*u}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const m=[0,0];function p(e,t,n,r,a){const i=e,o=a;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,m,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,m,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,m,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let a;for(let i=0;i<e.length;i++){const o=e[i];a=[],n.push(a);for(let e=0;e<o.length;e++)a.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&a[e].push(o[e][2]),o[e].length>3&&a[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let a=0;a<e.length;a++)n[a]=t(e[a][0],e[a][1],[0,0],r),e[a].length>2&&n[a].push(e[a][2]),e[a].length>3&&n[a].push(e[a][3]);o.points=n}return a}function g(e,t){const n=e&&(f(e)?e:e.spatialReference),r=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!r)&&(!!(0,s.aI)(r,n)||(0,s.K8)(r)&&(0,s.oT)(n)||(0,s.K8)(n)&&(0,s.oT)(r))}function y(e,t){if(null==e)return null;const n=e.spatialReference,a=t&&(f(t)?t:t.spatialReference);return g(n,a)?(0,s.aI)(n,a)?(0,r.o8)(e):(0,s.K8)(a)?p(e,T,i.A.WebMercator,!1,(0,r.o8)(e)):(0,s.oT)(a)?p(e,S,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function T(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=d(t);return n[0]=d(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function S(e,t,n=[0,0],r=!1){if(e===s.Mc[0])n[0]=-180;else if(e===s.Mc[1])n[0]=180;else{const t=c(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=c(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function A(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),p(e,T,i.A.WebMercator,t,n)}function M(e,t=!1,n=(0,r.o8)(e)){return(0,a.f)(e),(0,a.f)(n),p(e,S,i.A.WGS84,t,n)}},34304:(e,t,n)=>{n.d(t,{DF:()=>l,FD:()=>a,Ov:()=>i,ct:()=>u});let r=1e-6;function a(){return r}const i=Math.random,o=Math.PI/180,s=180/Math.PI;function l(e){return e*o}function u(e){return e*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:a,setEpsilon:function(e){r=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},35982:(e,t,n)=>{n.d(t,{B:()=>l});var r=n(4576),a=n(36563),i=n(53966),o=n(74887),s=n(83027);class l{constructor(e,t,n,r,a={}){this._mainMethod=t,this._transferLists=n,this._listeners=[],this._promise=(0,s.h)(e,{...a,schedule:r}).then(e=>{if(void 0===this._thread){this._thread=e,this._promise=null,a.hasInitialize&&this.broadcast({},"initialize");for(const e of this._listeners)this._connectListener(e)}else e.close()}),this._promise.catch(t=>i.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const n={removed:!1,eventName:e,callback:t,threadHandle:null};return this._listeners.push(n),this._connectListener(n),(0,a.hA)(()=>{n.removed=!0,(0,r.TF)(this._listeners,n),this._thread&&null!=n.threadHandle&&n.threadHandle.remove()})}destroy(){this._thread&&(this._thread.close(),this._thread=null),this._promise=null,this._listeners.length=0,this._transferLists={}}invoke(e,t,n){return this.invokeMethod(this._mainMethod,e,t,n)}invokeMethod(e,t,n,r){if(this._thread){const a=this._transferLists[e],i=a?a(t):[];return this._thread.invoke(e,t,{transferList:i,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,o.Te)(n),this.invokeMethod(e,t,n))):Promise.reject(null)}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(u):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject()}get promise(){return this._promise}_connectListener(e){this._thread&&this._thread.on(e.eventName,e.callback).then(t=>{e.removed||(e.threadHandle=t)})}}function u(){}},37539:(e,t,n)=>{n.d(t,{pO:()=>p,jd:()=>h,Tp:()=>f,w5:()=>d});var r=n(34727),a=n(86211),i=n(73941),o=n(79258);Math.PI;const s=o.$O.radius,l=o.$O.eccentricitySquared,u={a1:s*l,a2:s*l*s*l,a3:s*l*l/2,a4:s*l*s*l*2.5,a5:s*l+s*l*l/2,a6:1-l};o.$O.radius,o.$O.flattening,o.Sw.radius,o.Sw.flattening,o.sH.radius,o.sH.flattening,o.sH.radius;var c=n(21325);const d={2:{5:p,7:null,9:null,10:p,1:b,6:null,8:null,0:null,3:y,11:T,2:p,4:_},5:{5:p,7:null,9:null,10:p,1:b,6:null,8:null,0:null,3:y,11:T,2:p,4:_},7:{5:null,7:p,9:null,10:p,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(e,t,n,r){const a=e[t]/I,i=L-2*Math.atan(Math.exp(-e[t+1]/I)),o=I+(e[t+2]??0),s=Math.cos(i)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:p,11:function(e,t,n,r){g(e,t,n,r),T(n,r,n,r)},2:g,4:function(e,t,n,r){g(e,t,n,r),_(n,r,n,r)}},4:{5:E,7:null,9:null,10:E,1:function(e,t,n,r){E(e,t,n,r),b(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){E(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){E(e,t,n,r),T(n,r,n,r)},2:E,4:p},1:{5:k,7:null,9:null,10:k,1:p,6:null,8:null,0:null,3:function(e,t,n,r){k(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){k(e,t,n,r),T(n,r,n,r)},2:k,4:function(e,t,n,r){k(e,t,n,r),_(n,r,n,r)}},6:{5:null,7:x,9:null,10:x,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:b,6:w,8:M,0:null,3:y,11:T,2:p,4:_},11:{5:S,7:null,9:null,10:S,1:function(e,t,n,r){S(e,t,n,r),b(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){S(e,t,n,r),y(n,r,n,r)},11:p,2:S,4:function(e,t,n,r){S(e,t,n,r),_(n,r,n,r)}}};function h(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(R.source.spatialReference===e&&R.dest.spatialReference===t)return R;const n=m(e,R.source),r=m(t,R.dest);return 0===n&&0===r?(0,c.aI)(e,t)?R.projector=p:R.projector=null:R.projector=d[n][r],R}function m(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,a.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function p(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function g(e,t,n,r){n[r]=j*(e[t]/I),n[r+1]=j*(L-2*Math.atan(Math.exp(-e[t+1]/I))),n[r+2]=e[t+2]??0}function y(e,t,n,a){!function(e,t,n,a,i){const o=.4999999*Math.PI,s=(0,r.qE)(P*e[t+1],-o,o),l=Math.sin(s);n[a++]=P*e[t]*i.radius,n[a++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[a]=e[t+2]??0}(e,t,n,a,o.$O)}function T(e,t,n,r){n[r]=e[t]*N,n[r+1]=e[t+1]*N,n[r+2]=e[t+2]??0}function S(e,t,n,r){n[r]=e[t]*O,n[r+1]=e[t+1]*O,n[r+2]=e[t+2]??0}function A(e,t,n,r,a){const i=a+(e[t+2]??0),o=P*e[t],s=P*e[t+1],l=Math.cos(s)*i;n[r]=Math.cos(o)*l,n[r+1]=Math.sin(o)*l,n[r+2]=Math.sin(s)*i}function M(e,t,n,r){A(e,t,n,r,o.Sw.radius)}function w(e,t,n,r){A(e,t,n,r,o.sH.radius)}function b(e,t,n,r){A(e,t,n,r,o.$O.radius)}function v(e,t,n,a,i){const o=e[t],s=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),d=Math.atan2(s,o);n[a++]=j*d,n[a++]=j*c,n[a]=u-i}function C(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function x(e,t,n,r){v(e,t,n,r,o.sH.radius)}function k(e,t,n,r){v(e,t,n,r,o.$O.radius)}function _(e,t,n,r){!function(e,t,n,r,a){const i=P*e[t],o=P*e[t+1],s=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);n[r++]=(c+s)*u*Math.cos(i),n[r++]=(c+s)*u*Math.sin(i),n[r++]=(c*(1-a.eccentricitySquared)+s)*l}(e,t,n,r,o.$O)}function E(e,t,n,r){const a=u,i=e[t],s=e[t+1],l=e[t+2]??0;let c,d,h,f,m,p,g,y,T,S,A,M,w,b,v,C,x,k,_,E,R;c=Math.abs(l),d=i*i+s*s,h=Math.sqrt(d),f=d+l*l,m=Math.sqrt(f),E=Math.atan2(s,i),p=l*l/f,g=d/f,b=a.a2/m,v=a.a3-a.a4/m,g>.3?(y=c/m*(1+g*(a.a1+b+p*v)/m),_=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=h/m*(1-p*(a.a5-b-g*v)/m),_=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),A=1-o.$O.eccentricitySquared*S,M=o.$O.radius/Math.sqrt(A),w=a.a6*M,b=h-M*T,v=c-w*y,x=T*b+y*v,C=T*v-y*b,k=C/(w/A+x),_+=k,R=x+C*k/2,l<0&&(_=-_),n[r++]=j*E,n[r++]=j*_,n[r]=R}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},P=(0,r.kU)(1),j=(0,r.KJ)(1),L=.5*Math.PI,I=o.$O.radius,N=I*Math.PI/180,O=180/(I*Math.PI)},40876:(e,t,n)=>{n.d(t,{Eq:()=>f,G1:()=>p,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>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 a(e){return!!r[e]||!!r[e.toLowerCase()]}function i(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...i(e)]}function s(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const a=(e%360+360)%360/360,i=n<=.5?n*(t+1):n+t-n*t,o=2*n-i;return[Math.round(255*s(o,i,a+1/3)),Math.round(255*s(o,i,a)),Math.round(255*s(o,i,a-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,a=t?1:17,i=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const s=[0,0,0,1];let l;return i&&(l=o&r,o>>=n,s[3]=a*l/255),l=o&r,o>>=n,s[2]=a*l,l=o&r,o>>=n,s[1]=a*l,l=o&r,o>>=n,s[0]=a*l,s}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),a=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(a+16*a)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?p(e[3]):1,e}function f(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=f(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function p(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const T=2.2,S=1/T;function A(e){return e**S}},51850:(e,t,n)=>{function r(){return[0,0,0]}function a(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function s(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function l(){return i(1,1,1)}function u(){return i(1,0,0)}function c(){return i(0,1,0)}function d(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>g,Cw:()=>m,JP:()=>p,Un:()=>f,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>h,vt:()=>r});const h=[0,0,0],f=l(),m=u(),p=c(),g=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:m,UNIT_Y:p,UNIT_Z:g,ZEROS:h,clone:a,create:r,freeze:o,fromArray:s,fromValues:i,ones:l,unitX:u,unitY:c,unitZ:d,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},56400:(e,t,n)=>{n.d(t,{ZS:()=>l,hv:()=>u,wr:()=>c,P6:()=>s});var r=n(98623);const a=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var i=n(28097);const o="shortOffset";function s(e,t=!1){return{json:{read:{source:e,reader:(t,n)=>n[e]?l(n[e]):null},write:!!t&&{allowNull:!0,writer(t,n){n[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function l(e,t=r.qU){return e?"timeZoneIANA"in e?e.timeZoneIANA:function(e,t=r.qU){if(!e||!a.has(e.timeZone))return t;const n=a.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?n:function(e){const t=i.c9.local().setZone(e),n=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===n?"Etc/UTC":`Etc/GMT${i.mQ.instance(-n).formatOffset(0,"narrow")}`}(n)}(e,t):t}function u(e,t,n,a,i){if(t&&"date"===i)return{timeZone:r.n$,timeZoneName:void 0};const s=a.hour,l=n===r.L5;return{timeZone:l?"timestamp-offset"===i?void 0:e??r.n$:n,timeZoneName:l&&s?o:void 0}}function c(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),n=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===r.qU||e===r.L5||t.has(e.toLowerCase())||n.has(e.toLowerCase())}},65806:(e,t,n)=>{n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n,r){if((0,a.canProjectWithoutEngine)(e.spatialReference,n))return s[0]=e.x,s[1]=e.y,s[2]=e.z??0,(0,i.projectBuffer)(s,e.spatialReference,0,t,n,0);const o=(0,a.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const s=(0,r.vt)()},69540:(e,t,n)=>{n.d(t,{OU:()=>c,Pw:()=>d});var r=n(31635),a=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),s=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let a=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,s.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,a={},l=new Map;for(const t in n){const o=n[t],s=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[t];let d=null;if("function"==typeof u)d=u(c,e);else if("reference"===u)d=c;else if(d=(0,i.TU)(c,e),null!=c&&null==d)continue;0===s?l.set(t,d):a[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const e=(0,s.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},d=c(a.A)},70559:(e,t,n)=>{n.r(t),n.d(t,{destroyContext:()=>b,dracoDecompressPointCloudData:()=>y,filterObbsForModifications:()=>T,filterObbsForModificationsSync:()=>E,initialize:()=>j,interpretObbModificationResults:()=>_,process:()=>g,project:()=>M,setLegacySchema:()=>A,setModifications:()=>S,setModificationsSync:()=>x,test:()=>I,transformNormals:()=>w});var r=n(34727),a=n(16930),i=n(4197),o=n(95696),s=n(18251),l=n(73354),u=n(2741);let c;n(53966);var d=n(15142),h=n(51850),f=n(35982);n(91218),n(27993);class m{constructor(e,t,n,r,a,i){this.layout=e,this.interleavedVertexData=t,this.indices=n,this.hasColors=r,this.hasModifications=a,this.positionData=i}}class p{constructor(e,t,n,r,a,i,o){this.componentOffsets=e,this.featureIds=t,this.anchorIds=n,this.anchors=r,this.transformedGeometry=a,this.globalTrafo=i,this.obb=o}}async function g(e){C=await L();const t=[e.geometryBuffer];return{result:k(C,e,t),transferList:t}}async function y(e){C=await L();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=C._malloc(r),i=new Uint8Array(C.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=C.dracoDecompressPointCloudData(a,i.byteLength);if(C._free(a),o.error.length>0)throw new Error(`i3s.wasm: ${o.error}`);const s=o.featureIds?.length>0?o.featureIds.slice():null,l=o.positions.slice();return s&&t.push(s.buffer),t.push(l.buffer),{result:{positions:l,featureIds:s},transferList:t}}async function T(e){await L(),E(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function S(e){await L(),x(e)}async function A(e){C=await L(),C.setLegacySchema(e.context,e.jsonSchema)}async function M(e){const{localMatrix:t,origin:r,positions:l,vertexSpace:u}=e,c=a.A.fromJSON(e.inSpatialReference),d=a.A.fromJSON(e.outSpatialReference),h=t?(0,i.Vj)(t):void 0,f=(0,i.cj)(r);let m;const[{projectBuffer:p},{initializeProjection:g}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await g(c,d);const y=[0,0,0];if(!p(f,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===u.type&&null==u.origin){if(m=new Float64Array(l.length),!p(l,c,0,m,d,0,m.length/3))throw new Error("Failed to project")}else{const e="georeferenced"===u.type?o.A.fromJSON(u):s.A.fromJSON(u),{projectMeshVertexPositions:t}=await Promise.all([n.e(2603),n.e(8487),n.e(7836)]).then(n.bind(n,74594)),r=t({vertexAttributes:{position:l},transform:h?{localMatrix:h}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,A,M]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=A,m[e+2]-=M;return{result:{projected:m,original:l,projectedOrigin:y},transferList:[m.buffer,l.buffer]}}async function w({normalMatrix:e,normals:t}){const n=new Float32Array(t.length);return(0,l.b)(n,t,e),(0,r.or)(e)&&(0,l.n)(n,n),{result:{transformed:n,original:t},transferList:[n.buffer,t.buffer]}}function b(e){R(e)}let v,C;function x(e){if(!C)return;const t=e.modifications,n=C._malloc(8*t.length),r=new Float64Array(C.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];C.setModifications(e.context,n,t.length,e.isGeodetic),C._free(n)}function k(e,t,n){const{context:r,globalTrafo:a,mbs:i,obbData:o,layouts:s,needNormals:l,elevationOffset:u,geometryBuffer:c,geometryDescriptor:d,indexToVertexProjector:h,vertexToRenderProjector:f,normalReferenceFrame:g}=t,y=e._malloc(c.byteLength),T=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),S=new Uint8Array(e.HEAPU8.buffer,y,c.byteLength);S.set(new Uint8Array(c));const A=new Float64Array(e.HEAPU8.buffer,T,33);P(A,[NaN,NaN,NaN],0);let M=3;P(A,a,M),M+=16,P(A,i.center,M),M+=3,A[M++]=i.radius,o&&P(A,o,M++);const w={isDraco:!1,isLegacy:!1,color:s.some(e=>e.some(e=>"color"===e.name)),normal:l&&s.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:s.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:s.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:d.featureIndex},b=e.process(r,!!o,y,S.byteLength,d,w,T,u,h,f,g);if(e._free(T),e._free(y),b.error.length>0)throw new Error(`i3s.wasm: ${b.error}`);if(b.discarded)return null;const v=b.componentOffsets.length>0?b.componentOffsets.slice():null,C=b.featureIds.length>0?b.featureIds.slice():null,x=b.anchorIds.length>0?Array.from(b.anchorIds):null,k=b.anchors.length>0?Array.from(b.anchors):null,_=b.interleavedVertedData.slice().buffer,E=1===b.indicesType?new Uint16Array(b.indices.buffer,b.indices.byteOffset,b.indices.byteLength/2).slice():new Uint32Array(b.indices.buffer,b.indices.byteOffset,b.indices.byteLength/4).slice(),R=b.positions.slice(),{buffer:j,byteOffset:L,byteLength:I}=b.positionIndices,N=1===b.positionIndicesType?new Uint16Array(j,L,I/2).slice():new Uint32Array(j,L,I/4).slice(),O=new m(t.layouts[0],_,E,b.hasColors,b.hasModifications,{data:R,indices:N});return C&&n.push(C.buffer),v&&n.push(v.buffer),n.push(_),n.push(E.buffer),n.push(R.buffer),n.push(N.buffer),new p(v,C,x,k,O,a,b.obb)}function _(e){return 0===e?0:1===e?1:2===e?2:3}function E(e){if(!C)return;const{context:t,buffer:n}=e,r=C._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(C.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),C.filterOBBs(t,r,a),o.set(i),C._free(r)}function R(e){C&&0===C.destroy(e)&&(C=null,v=null,c=null)}function P(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function j(){C||await L()}async function L(){return C||(C=await(v??=(c??=(async()=>{const e=await n.e(2980).then(n.bind(n,82980));return await e.default({locateFile:e=>(0,u.s)(`esri/libs/i3s/${e}`)})})(),c))),C}f.B,new d.A({deallocator:null}),(0,h.vt)();const I={transform:(e,t)=>C&&k(C,e,t),destroy:R}},73354:(e,t,n)=>{n.d(t,{a:()=>d,b:()=>s,c:()=>o,d:()=>a,e:()=>h,f:()=>c,l:()=>u,n:()=>f,t:()=>i});var r=n(40876);function a(e,t,n){i(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function i(e,t,n,r=3,a=r){if(e.length/r!==Math.ceil(t.length/a))return e;const i=e.length/r,o=n[0],s=n[1],l=n[2],u=n[4],c=n[5],d=n[6],h=n[8],f=n[9],m=n[10],p=n[12],g=n[13],y=n[14];let T=0,S=0;for(let n=0;n<i;n++){const n=t[T],i=t[T+1],A=t[T+2];e[S]=o*n+u*i+h*A+p,e[S+1]=s*n+c*i+f*A+g,e[S+2]=l*n+d*i+m*A+y,T+=a,S+=r}return e}function o(e,t,n){s(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)}function s(e,t,n,r=3,a=r){if(e.length/r!==Math.ceil(t.length/a))return;const i=e.length/r,o=n[0],s=n[1],l=n[2],u=n[3],c=n[4],d=n[5],h=n[6],f=n[7],m=n[8];let p=0,g=0;for(let n=0;n<i;n++){const n=t[p],i=t[p+1],y=t[p+2];e[g]=o*n+u*i+h*y,e[g+1]=s*n+c*i+f*y,e[g+2]=l*n+d*i+m*y,p+=a,g+=r}}function l(e,t,n,r=3,a=r){const i=Math.min(e.length/r,t.length/a);let o=0,s=0;for(let l=0;l<i;l++)e[s]=n*t[o],e[s+1]=n*t[o+1],e[s+2]=n*t[o+2],o+=a,s+=r;return e}function u(e,t,n,r){c(e.typedBuffer,t.typedBuffer,n,r,e.typedBufferStride,t.typedBufferStride)}function c(e,t,n,a,i=3,o=i){const s=Math.min(e.length/i,t.length/o);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<s;r++)e[u]=a*(n*t[l])**c,e[u+1]=a*(n*t[l+1])**c,e[u+2]=a*(n*t[l+2])**c,l+=o,u+=i}function d(e,t,n,r=3,a=r){const i=e.length/r;if(i!==Math.ceil(t.length/a))return e;let o=0,s=0;for(let l=0;l<i;l++)e[s]=t[o]+n[0],e[s+1]=t[o+1]+n[1],e[s+2]=t[o+2]+n[2],o+=a,s+=r;return e}function h(e,t){f(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function f(e,t,n=3,r=n){const a=Math.min(e.length/n,t.length/r);let i=0,o=0;for(let s=0;s<a;s++){const a=t[i],s=t[i+1],l=t[i+2],u=a*a+s*s+l*l;if(u>0){const t=1/Math.sqrt(u);e[o]=t*a,e[o+1]=t*s,e[o+2]=t*l}i+=r,o+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:f,normalizeView:h,scale:l,scaleView:function(e,t,n){l(e.typedBuffer,t.typedBuffer,n,e.typedBufferStride,t.typedBufferStride)},shiftRight:function(e,t,n){const r=Math.min(e.count,t.count),a=e.typedBuffer,i=e.typedBufferStride,o=t.typedBuffer,s=t.typedBufferStride;let l=0,u=0;for(let e=0;e<r;e++)a[u]=o[l]>>n,a[u+1]=o[l+1]>>n,a[u+2]=o[l+2]>>n,l+=s,u+=i},transformMat3:s,transformMat3View:o,transformMat4:i,transformMat4View:a,translate:d},Symbol.toStringTag,{value:"Module"}))},73444:(e,t,n)=>{n.d(t,{JK:()=>l,Ml:()=>g,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return h(e)?.language}function d(e=l()){const t=h(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function h(e=l()){return u.exec(e)?.groups}const f=[];function m(e){return f.push(e),(0,r.hA)(()=>{f.splice(f.indexOf(e),1)})}new Map;const p=[];function g(e){return p.push(e),(0,r.hA)(()=>p.splice(p.indexOf(e),1))}function y(){const e=s();a!==e&&([...p].forEach(t=>t(e)),a=e,[...f].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),o&&new MutationObserver(()=>{y()}).observe(o,{attributeFilter:["lang"]})},83027:(e,t,n)=>{n.d(t,{h:()=>r});const r=n(29953).ho},86738:(e,t,n)=>{n.d(t,{A:()=>S});var r=n(31635),a=n(69622),i=n(53966),o=n(91429),s=n(56507),l=n(91075),u=n(16930),c=n(21325),d=n(28735);function h({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,d.tD)(e,t,r);if((0,c.EA)(n))return r[0]=e,r[1]=t,r}return null}const f=[0,0];var m,p=n(43937),g=n(36005);const y=[0,0];function T(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let S=m=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",a.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,a){let o;if(Array.isArray(e))o=e,a=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(a=o.spatialReference)&&"esri.geometry.SpatialReference"!==a.declaredClass&&(a=new u.A(a)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&a?.isWebMercator){const n=(0,d.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else T(n)?(a=n,n=null):T(r)&&(a=r,r=null);const s={x:e,y:t};return null==s.x&&null!=s.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==s.y&&null!=s.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=a&&(s.spatialReference=a),null!=n&&(s.z=n),null!=r&&(s.m=r),s}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return h(this,f)?.[1]??null}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,d.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return h(this,f)?.[0]??null}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,d.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new m;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return m.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:a,spatialReference:i}=this,{z:o,m:s}=e;let{x:l,y:u,spatialReference:c}=e;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,u]=(0,d.je)(l,u),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,d.tD)(l,u),c=i}return t===l&&n===u&&r===o&&a===s&&i.wkid===c.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,a=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/a),t-=i*a):t<n&&(i=Math.ceil(Math.abs(t-n)/a),t+=i*a),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,a=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+a*a)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],S.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],S.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],S.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,s.GB)(e))],S.prototype,"x",void 0),(0,r.Cg)([(0,p.K)("x")],S.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],S.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],S.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],S.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],S.prototype,"m",void 0),S=m=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],S),S.prototype.toJSON.isDefaultToJSON=!0},91075:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(31635),a=n(25482),i=n(91429),o=n(16930),s=n(36005);let l=class extends a.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,s.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},91218:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>q,isEqualBaseGCS:()=>F,isLoaded:()=>E,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>P,load:()=>L,project:()=>I,projectAsync:()=>D,projectExtent:()=>te,projectMany:()=>N,projectMultipoint:()=>V,projectOrLoad:()=>z,projectOrLoadMany:()=>B,projectPoint:()=>K,projectPolygon:()=>Q,projectPolyline:()=>J,projectWithoutEngine:()=>$,requiresLoad:()=>j,test:()=>G,tryProject:()=>O,unload:()=>U});var r=n(49186),a=n(74887),i=n(62788),o=n(95488),s=n(51850),l=n(21276),u=n(73941),c=n(5443),d=n(91075),h=n(48526),f=n(86738),m=n(39829),p=n(82799),g=n(16930),y=n(159),T=n(9762),S=n(37539);function A(e,t,n,r,a,i){return M[0]=e,M[1]=t,M[2]=n,(0,T.projectBuffer)(M,r,0,a,i,0)}const M=(0,s.vt)();var w=n(21325);let b=null,v=null,C=null,x=null,k={};const _=new o.I;function E(){return!!(v?.isLoaded()&&C?.isLoaded()&&x?.isLoaded())}function R(){return!!E()||((0,i.gc)(_),L(),!1)}function P(e,t){return!e||!t||W(e,t)||R()}function j(e,t){return!W(e,t)&&!E()}async function L(e){null==b&&(b=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(v=e,v.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(C=e,C.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(x=e,x.load()))])),await b,(0,a.Te)(e),_.notify()}function I(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),N(e,e[0].spatialReference,t,n)):((0,l.f)(e),N([e],e.spatialReference,t,n)[0])}function N(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>$(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>$(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return N(e,t,g.A.WGS84).map(e=>$(e,g.A.WGS84,n));if(!E())throw new Z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:x.getTransformation(t,n,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let a=k[e];a||(a=x.getTransformation(t,n)||new y.A,k[e]=a),r={geographicTransformation:a,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?v.executeMany(e,n,r):C.executeMany(e,n,r)}function O(e,t,n){try{return I(e,t,n)}catch(e){return null}}function z(e,t){const n=B([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function B(e,t,n){if(!E())for(const n of e)if(null!=n&&!(0,w.aI)(n.spatialReference,t)&&(0,w.fn)(n.spatialReference)&&(0,w.fn)(t)&&!W(n.spatialReference,t))return(0,i.gc)(_),{pending:L(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,w.aI)(e.spatialReference,t)?e:(0,w.fn)(e.spatialReference)&&(0,w.fn)(t)?I(e,t,n):null)}}class Z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){b=null,v=null,C=null,x=null,k={}}const G={get loadPromise(){return b}};async function D(e,t,n){if((0,a.Te)(n),!e)return e;const r=B(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,a.Te)(n),D(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,w.aI)(e,t)||(0,w.fn)(e)&&(0,w.fn)(t)&&!!(0,S.jd)(e,t))}function F(e,t){if((0,w.aI)(e,t))return!0;if(!(0,w.fn)(e)||!(0,w.fn)(t))return!1;const n=(0,w.oT)(e)||(0,w.K8)(e)||(0,w.x1)(e),r=(0,w.oT)(t)||(0,w.K8)(t)||(0,w.x1)(t);return n&&r}async function q(e,t,n,r){if(E())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!W(t,n,a))return L(r)}else if(e&&t&&!W(e,t,n))return L(r);return(0,a.NO)(r)}function $(e,t,n){return e?"x"in e?Y(e,t,new f.A,n,0):"xmin"in e?ne(e,t,new c.A,n,0):"rings"in e?ee(e,t,new m.A,n,0):"paths"in e?X(e,t,new p.A,n,0):"points"in e?H(e,t,new h.A,n,0):null:null}function K(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,a){ae[0]=e.x,ae[1]=e.y;const i=e.z;return ae[2]=void 0!==i?i:a,(0,T.projectBuffer)(ae,t,0,ae,r,0)?(n.x=ae[0],n.y=ae[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ae[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function V(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=H(e,e.spatialReference,t,n,r)}function H(e,t,n,r,a){const{points:i,hasZ:o,hasM:s}=e,l=[],c=i.length,d=[];for(const e of i)d.push(e[0],e[1],o?e[2]:a);if(!(0,T.projectBuffer)(d,t,0,d,r,0,c))return null;const h=o||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=d[t],r=d[t+1];h&&s?l.push([n,r,d[t+2],i[e][3]]):h?l.push([n,r,d[t+2]]):s?l.push([n,r,i[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=o,n.hasM=s,n}function J(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,a){const{paths:i,hasZ:o,hasM:s}=e,l=[];if(!re(i,o??!1,s??!1,t,l,r,a))return null;const c=o||(0,u.xP)(r);return n.paths=l,n.spatialReference=r,n.hasZ=c,n.hasM=s,n}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,r)}function ee(e,t,n,r,a){const{rings:i,hasZ:o,hasM:s}=e,l=[];if(!re(i,o??!1,s??!1,t,l,r,a))return null;const c=o||(0,u.xP)(r);return n.rings=l,n.spatialReference=r,n.hasZ=c,n.hasM=s,n}function te(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,r)}function ne(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:c,hasM:d}=e;if(!A(i,o,c?e.zmin:a,t,ae,r))return null;const h=c||(0,u.xP)(r);return n.xmin=ae[0],n.ymin=ae[1],h&&(n.zmin=ae[2]),A(s,l,c?e.zmax:a,t,ae,r)?(n.xmax=ae[0],n.ymax=ae[1],h&&(n.zmax=ae[2]),d&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function re(e,t,n,r,a,i,o=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:o);if(!(0,T.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;a.length=0;const c=t||(0,u.xP)(i);for(const t of e){const e=new Array;for(const r of t)c&&n?e.push([s[l++],s[l++],s[l++],r[3]]):c?e.push([s[l++],s[l++],s[l++]]):n?(e.push([s[l++],s[l++],r[2]]),l++):(e.push([s[l++],s[l++]]),l++);a.push(e)}return!0}const ae=(0,s.vt)()},95488:(e,t,n)=>{n.d(t,{I:()=>a});var r=n(11406);class a extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},95696:(e,t,n)=>{n.d(t,{A:()=>u});var r,a=n(31635),i=n(69540),o=n(25482),s=n(91429),l=n(93223);let u=class extends((0,i.OU)(o.o)){static{r=this}constructor(e){super(e),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,a.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,a.Cg)([(0,s.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,a.Cg)([(0,s.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},97770:(e,t,n)=>{n.d(t,{Ey:()=>j,F8:()=>P,J2:()=>k,Yq:()=>E,_m:()=>_,_v:()=>A,iS:()=>R,wj:()=>L});var r=n(66552),a=n(73444),i=n(98623),o=(n(56400),n(28097));const s={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},h={year:"numeric",month:"short",day:"numeric"},f={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},g={hourCycle:"h23"},y={...m,...g},T={...p,...g},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...p},"short-date-long-time-24":{...c,...T},"short-date-le":c,"short-date-le-short-time":{...c,...m},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...p},"short-date-le-long-time-24":{...c,...T},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":h,"day-short-month-year-short-time":{...h,...m},"day-short-month-year-short-time-24":{...h,...y},"day-short-month-year-long-time":{...h,...p},"day-short-month-year-long-time-24":{...h,...T},"long-date":f,"long-date-short-time":{...f,...m},"long-date-short-time-24":{...f,...y},"long-date-long-time":{...f,...p},"long-date-long-time-24":{...f,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},A=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},w=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),b=w.find(({type:e})=>"month"===e)?.value.toLowerCase();function v(){const e=(0,a.lR)();return(e&&M[e])??(0,a.QC)()}"mart"!==b&&(M.bs="sr-Latn-CS");let C=new WeakMap;const x=S["short-date-short-time"];function k(e){return S[e]}function _(e){const{dateStyle:t,timeStyle:n,hour12:r,year:a,month:i}=e,o={};return t?o.dateStyle=t:a&&(o.year=a,o.month=i||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function E(e,t=x){return function(e){let t=C.get(e);if(!t){const n=v(),r=L(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),C.set(e,t)}return t}(t).format(e)}function R(e,t=x){return E(new Date(e),{...t,...u,...l})}function P(e,t=x){return E(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function j(e,t=x){if(t.timeZone)return E(new Date(e),t);const n=o.c9.fromISO(e,{setZone:!0}),r=0===n.offset?i.n$:t.timeZone,a={...t,timeZone:r};return n.toLocaleString(a,{locale:v()})}function L(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}S["short-date"],(0,a.Ml)(()=>{C=new WeakMap})},98623:(e,t,n)=>{n.d(t,{L5:()=>a,N5:()=>o,n$:()=>i,qU:()=>r});const r="system",a="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone},99157:(e,t,n)=>{n.d(t,{A:()=>s});var r,a=n(31635),i=n(69622),o=n(91429);let s=r=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,a.Cg)([(0,o.MZ)()],s.prototype,"isInverse",void 0),(0,a.Cg)([(0,o.MZ)()],s.prototype,"wkt",void 0),(0,a.Cg)([(0,o.MZ)()],s.prototype,"wkid",void 0),s=r=(0,a.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],s)}}]);
@@ -19,7 +19,7 @@ vuvRegion = uvRegion;
19
19
  ${(0,s.If)(y,`emissions.rgb *= emissiveStrength * ${s.H.float(v)};`)}
20
20
  return emissions;
21
21
  }
22
- `)}},63761:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(74333);class o extends r.n{constructor(e,t){super(e,"sampler2D",1,(n,r,o)=>n.bindTexture(e,t(r,o)))}}},65786:(e,t,n)=>{n.d(t,{Y:()=>r});const r=class{};new r},65806:(e,t,n)=>{n.d(t,{g:()=>s});var r=n(51850),o=n(91218),i=n(9762);function s(e,t,n){if((0,o.canProjectWithoutEngine)(e.spatialReference,n))return u[0]=e.x,u[1]=e.y,u[2]=e.z??0,(0,i.projectBuffer)(u,e.spatialReference,0,t,n,0);const r=(0,o.tryProject)(e,n);return!!r&&(t[0]=r.x,t[1]=r.y,t[2]=r.z??0,!0)}const u=(0,r.vt)()},74333:(e,t,n)=>{n.d(t,{n:()=>r}),n(44208);class r{constructor(e,t,n,r,o=null){if(this.name=e,this.type=t,this.arraySize=o,this.bind={0:null,1:null,2:null},r)switch(n){case void 0:break;case 0:this.bind[0]=r;break;case 1:this.bind[1]=r;break;case 2:this.bind[2]=r}}equals(e){return this.type===e.type&&this.name===e.name&&this.arraySize===e.arraySize}}},99208:(e,t,n)=>{n.d(t,{r:()=>s});var r=n(53466),o=n(31821);function i(e){e.fragment.code.add(o.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
22
+ `)}},63761:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(74333);class o extends r.n{constructor(e,t){super(e,"sampler2D",1,(n,r,o)=>n.bindTexture(e,t(r,o)))}}},65786:(e,t,n)=>{n.d(t,{Y:()=>r});const r=class{};new r},65806:(e,t,n)=>{n.d(t,{g:()=>s});var r=n(51850),o=n(91218),i=n(9762);function s(e,t,n,r){if((0,o.canProjectWithoutEngine)(e.spatialReference,n))return u[0]=e.x,u[1]=e.y,u[2]=e.z??0,(0,i.projectBuffer)(u,e.spatialReference,0,t,n,0);const s=(0,o.tryProject)(e,n,r);return!!s&&(t[0]=s.x,t[1]=s.y,t[2]=s.z??0,!0)}const u=(0,r.vt)()},74333:(e,t,n)=>{n.d(t,{n:()=>r}),n(44208);class r{constructor(e,t,n,r,o=null){if(this.name=e,this.type=t,this.arraySize=o,this.bind={0:null,1:null,2:null},r)switch(n){case void 0:break;case 0:this.bind[0]=r;break;case 1:this.bind[1]=r;break;case 2:this.bind[2]=r}}equals(e){return this.type===e.type&&this.name===e.name&&this.arraySize===e.arraySize}}},99208:(e,t,n)=>{n.d(t,{r:()=>s});var r=n(53466),o=n(31821);function i(e){e.fragment.code.add(o.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
23
23
  vec2 atlasScale = atlasRegion.zw - atlasRegion.xy;
24
24
  vec2 uvAtlas = fract(textureCoordinates) * atlasScale + atlasRegion.xy;
25
25
  float maxdUV = 0.125;
@@ -2,19 +2,22 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{ChapmanRaymarching as e}from"../views/3d/environment/ChapmanRaymarching.glsl.js";import{Gamma as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{addMainLightDirection as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{Float2PassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float3BindUniform as t}from"../views/3d/webgl-engine/core/shaderModules/Float3BindUniform.js";import{Float3PassUniform as o}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{Float4PassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as l,If as c}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as m}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{ScreenSpacePassAtmosphere as d}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{SphereIntersect as g}from"../views/3d/webgl-engine/shaders/SphereIntersect.glsl.js";import{ToneMapping as h}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as p}from"../views/webgl/ShaderBuilder.js";function u(u){const f=new p;f.include(d);const{reduced:w}=u,{fragment:y}=f;return a(y),y.include(r),y.include(g),y.include(h),y.include(e,!1),y.uniforms.add(new n("heightParameters",e=>e.heightParameters),new i("radii",e=>e.radii),new t("cameraPosition",e=>e.camera.eye),new o("backgroundColor",e=>e.backgroundColor),new s("innerFadeDistance",e=>e.innerFadeDistance),new s("altitudeFade",e=>e.altitudeFade),new m("depthTexture",e=>e.mainDepth)).code.add(l`vec4 applyUndergroundAtmosphere(vec3 rayDir, vec3 lightDirection, vec4 fragColor) {
6
- float rayPlanetDistance = heightParameters[1] - radii[0] * radii[0];
5
+ import{getHeightParameters as e}from"../views/3d/environment/ChapmanApproximation.glsl.js";import{ChapmanRaymarching as r}from"../views/3d/environment/ChapmanRaymarching.glsl.js";import{Gamma as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{addMainLightDirection as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{Float2PassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float3BindUniform as t}from"../views/3d/webgl-engine/core/shaderModules/Float3BindUniform.js";import{Float3PassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{Float4PassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as l}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as m}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{glsl as d,If as c}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as g}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{ScreenSpacePassAtmosphere as p}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{SphereIntersect as h}from"../views/3d/webgl-engine/shaders/SphereIntersect.glsl.js";import{ToneMapping as u}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as f}from"../views/webgl/ShaderBuilder.js";function w(w){const v=new f;v.include(p);const{reduced:y}=w,{fragment:D}=v;return o(D),D.include(a),D.include(h),D.include(u),D.include(r,!1),D.uniforms.add(new m("heightParameters",5,(r,a)=>e(a,r)),new i("radii",e=>e.radii),new t("cameraPosition",e=>e.camera.eye),new n("backgroundColor",e=>e.backgroundColor),new l("innerFadeDistance",e=>e.innerFadeDistance),new s("undergroundColor",e=>e.undergroundColor),new l("altitudeFade",e=>e.altitudeFade),new g("depthTexture",e=>e.mainDepth)).code.add(d`vec4 applyUndergroundAtmosphere(vec3 rayDir, vec3 lightDirection, vec4 fragColor) {
6
+ float rayPlanetDistance = heightParameters[3];
7
7
  vec2 rayPlanetIntersect = sphereIntersect(cameraPosition, rayDir, rayPlanetDistance);
8
8
  if (!((rayPlanetIntersect.x <= rayPlanetIntersect.y) && rayPlanetIntersect.y > 0.0)) {
9
9
  return fragColor;
10
10
  }
11
11
  float lightAngle = dot(lightDirection, normalize(cameraPosition + rayDir * max(0.0, rayPlanetIntersect.x)));
12
- vec4 surfaceColor = vec4(vec3(max(0.0, (smoothstep(-1.0, 0.8, 2.0 * lightAngle)))), 1.0 - altitudeFade);
12
+ vec4 surfaceColor = vec4(vec3(max(0.0, (smoothstep(-1.0, 0.8, 2.0 * lightAngle)))), 1.0);
13
+ float fade = clamp(10.0 * abs(dot(normalize(cameraPosition), normalize(rayDir))), 0.0, 1.0);
14
+ vec4 color = mix(surfaceColor, undergroundColor, smoothstep(0.0, 1.0, fade));
15
+ color.a *= (1.0 - altitudeFade);
13
16
  float relDist = (rayPlanetIntersect.y - max(0.0, rayPlanetIntersect.x)) / innerFadeDistance;
14
17
  if (relDist > 1.0) {
15
- return surfaceColor;
18
+ return color;
16
19
  }
17
- return mix(fragColor, surfaceColor, smoothstep(0.0, 1.0, relDist * relDist));
20
+ return mix(fragColor, color, smoothstep(0.0, 1.0, relDist * relDist));
18
21
  }
19
22
  float getGlow(float dist, float radius, float intensity) {
20
23
  return pow(radius / max(dist, 1e-6), intensity);
@@ -26,9 +29,9 @@ vec3 sunTransmittance = exp(-(mix(betaCombined, betaRayleigh, 0.5)) * max(0.0, s
26
29
  float mu = clamp(dot(rayDir, lightDir), 0.0, 1.0);
27
30
  float sunDisc = 256.0 * smoothstep(0.0, 128.0, clamp(getGlow(1.0 - mu, 3e-5, 3.0), 0.0, 128.0));
28
31
  return normalize(sunTransmittance) * sunDisc;
29
- }`).main.add(l`
32
+ }`).main.add(d`
30
33
  vec3 rayDir = normalize(worldRay);
31
- ${c(!w,l`
34
+ ${c(!y,d`
32
35
  float depthSample = texture(depthTexture, uv).r;
33
36
  if (depthSample != 1.0) {
34
37
  fragColor = vec4(0.0);
@@ -38,9 +41,9 @@ return normalize(sunTransmittance) * sunDisc;
38
41
  vec3 color = linearizeGamma(backgroundColor) +
39
42
  raymarchAtmosphere(rayDir, mainLightDirection, -1.0) +
40
43
  getSun(rayDir, mainLightDirection);
41
- float alpha = smoothstep(0.0, mix(0.15, 0.01, heightParameters[3]), length(color));
44
+ float alpha = smoothstep(0.0, mix(0.15, 0.01, heightParameters[2]), length(color));
42
45
 
43
46
  color = tonemapACES(color);
44
47
  fragColor = delinearizeGamma(vec4(color, alpha));
45
48
  fragColor = applyUndergroundAtmosphere(rayDir, mainLightDirection, fragColor);
46
- `),f}const f=Object.freeze(Object.defineProperty({__proto__:null,build:u},Symbol.toStringTag,{value:"Module"}));export{f as C,u as b};
49
+ `),v}const v=Object.freeze(Object.defineProperty({__proto__:null,build:w},Symbol.toStringTag,{value:"Module"}));export{v as C,w as b};
@@ -2,7 +2,7 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{ReadDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatPassUniform as r}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{If as s,glsl as l}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as t}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Texture2DBindUniform as a}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{RayDistanceFalloffPassParameters as d,RayDistanceFalloff as m}from"../views/3d/webgl-engine/effects/raymarching/RayDistanceFalloff.glsl.js";import{ScreenSpacePassAtmosphere as c}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{ToneMapping as p}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as u}from"../views/webgl/ShaderBuilder.js";class g extends d{constructor(){super(...arguments),this.glowLod=-1,this.dispersionWeight=1,this.distanceModifier=1e-4}}function x(d){const g=new u,x=g.fragment,{blurEnabled:w,tonemappingEnabled:f}=d;return g.include(c,{needUVs:!0,needEyeDirection:!0}),x.include(o),x.include(m),x.include(e),g.outputs.add("fragColor","vec4",0),g.outputs.add("fragEmission","vec3",1),x.include(p),x.uniforms.add(new n("colorTexture",e=>e.color),new n("emissionTexture",e=>e.emission)),w?(x.uniforms.add(new a("depthTexture",e=>e.mainDepth),new r("distanceModifier",e=>e.distanceModifier),new n("lodTexture0",e=>e.lodTexture0),new n("lodTexture1",e=>e.lodTexture1),new n("lodTexture2",e=>e.lodTexture2),new n("lodTexture3",e=>e.lodTexture3),new n("lodTexture4",e=>e.lodTexture4),new t("glowLod",e=>e.glowLod),new i("minDisperse",e=>e.minDisperse.presets,6),new i("maxDisperse",e=>e.maxDisperse.presets,6),new r("dispersionWeight",e=>e.dispersionWeight)).main.add(l`
5
+ import{ReadDepth as e}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatPassUniform as r}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{If as s,glsl as l}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as t}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Texture2DBindUniform as a}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{RayDistanceFalloffPassParameters as d,RayDistanceFalloff as m}from"../views/3d/webgl-engine/effects/raymarching/RayDistanceFalloff.glsl.js";import{ScreenSpacePassAtmosphere as c}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{ToneMapping as p}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as u}from"../views/webgl/ShaderBuilder.js";class g extends d{constructor(){super(...arguments),this.glowLod=-1,this.dispersionWeight=1,this.distanceModifier=1e-4}}function x(d){const g=new u,x=g.fragment,{blurEnabled:w,tonemappingEnabled:f}=d;return g.include(c,{needUVs:!0,needEyeDirection:!0}),x.include(o),x.include(m),x.include(e),g.outputs.add("fragColor","vec4",0),g.outputs.add("fragEmission","vec3",1),x.include(p),x.uniforms.add(new n("colorTexture",e=>e.color),new n("emissionTexture",e=>e.emission)),w?(x.uniforms.add(new a("depthTexture",e=>e.mainDepth),new r("distanceModifier",e=>e.distanceModifier),new n("lodTexture0",e=>e.lodTexture0),new n("lodTexture1",e=>e.lodTexture1),new n("lodTexture2",e=>e.lodTexture2),new n("lodTexture3",e=>e.lodTexture3),new n("lodTexture4",e=>e.lodTexture4),new t("glowLod",e=>e.glowLod),new i("minDisperse",6,e=>e.minDisperse.presets),new i("maxDisperse",6,e=>e.maxDisperse.presets),new r("dispersionWeight",e=>e.dispersionWeight)).main.add(l`
6
6
  vec4 color = texture(colorTexture, uv);
7
7
  color = vec4(linearizeGamma(color.rgb), color.a);
8
8
 
@@ -2,7 +2,7 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{ChapmanRaymarching as e}from"../views/3d/environment/ChapmanRaymarching.glsl.js";import{ReadDepth as r}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as t}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{addMainLightDirection as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{FloatPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as o,If as n}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as d}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{ScreenSpacePassAtmosphere as l}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{SphereIntersect as s}from"../views/3d/webgl-engine/shaders/SphereIntersect.glsl.js";import{ToneMapping as p}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as m}from"../views/webgl/ShaderBuilder.js";function c(c){const h=new m,{fragment:g}=h;h.include(l),a(g),g.include(t),g.include(r),g.include(s),g.include(p),g.include(e,!0),g.uniforms.add(new d("depthTexture",e=>e.mainDepth));const{reduced:u}=c;return u&&g.code.add(o`float getDepth(vec2 uv){
5
+ import{getHeightParameters as e}from"../views/3d/environment/ChapmanApproximation.glsl.js";import{ChapmanRaymarching as r}from"../views/3d/environment/ChapmanRaymarching.glsl.js";import{ReadDepth as t}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{addMainLightDirection as i}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{FloatPassUniform as o}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{glsl as d,If as s}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as l}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{ScreenSpacePassAtmosphere as m}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{SphereIntersect as p}from"../views/3d/webgl-engine/shaders/SphereIntersect.glsl.js";import{ToneMapping as h}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as c}from"../views/webgl/ShaderBuilder.js";function g(g){const u=new c,{fragment:f}=u;u.include(m),i(f),f.include(a),f.include(t),f.include(p),f.include(h),f.include(r,!0),f.uniforms.add(new l("depthTexture",e=>e.mainDepth));const{reduced:v}=g;return v&&f.code.add(d`float getDepth(vec2 uv){
6
6
  return linearDepthFromTexture(depthTexture, uv);
7
7
  }
8
8
  float textureBilinear(vec2 uv) {
@@ -16,7 +16,7 @@ float d1 = getDepth(snapUV + vec2(texelSize.x, 0.0));
16
16
  float d2 = getDepth(snapUV + vec2(0.0, texelSize.y));
17
17
  float d3 = getDepth(snapUV + texelSize);
18
18
  return mix(mix(d0, d1, f.x), mix(d2, d3, f.x), f.y);
19
- }`),g.uniforms.add(new i("hazeStrength",e=>e.hazeStrength)).main.add(o`
19
+ }`),f.uniforms.add(new o("hazeStrength",e=>e.hazeStrength),new n("heightParameters",5,(r,t)=>e(t,r))).main.add(d`
20
20
  float depthSample = depthFromTexture(depthTexture, uv);
21
21
  if (depthSample == 1.0) {
22
22
  discard;
@@ -26,7 +26,7 @@ return mix(mix(d0, d1, f.x), mix(d2, d3, f.x), f.y);
26
26
  vec3 cameraSpaceRay = normalize(eyeDir);
27
27
  cameraSpaceRay /= cameraSpaceRay.z;
28
28
 
29
- cameraSpaceRay *= ${n(u,"-textureBilinear(uv)","-linearizeDepth(depthSample)")};
29
+ cameraSpaceRay *= ${s(v,"-textureBilinear(uv)","-linearizeDepth(depthSample)")};
30
30
  float terrainDepth = max(0.0, length(cameraSpaceRay));
31
31
 
32
32
  // Alpha is ignored for haze blending
@@ -35,4 +35,4 @@ return mix(mix(d0, d1, f.x), mix(d2, d3, f.x), f.y);
35
35
 
36
36
  color = tonemapACES(color);
37
37
  fragColor = delinearizeGamma(vec4(color, 1.0));
38
- `),h}const h=Object.freeze(Object.defineProperty({__proto__:null,build:c},Symbol.toStringTag,{value:"Module"}));export{h as H,c as b};
38
+ `),u}const u=Object.freeze(Object.defineProperty({__proto__:null,build:g},Symbol.toStringTag,{value:"Module"}));export{u as H,g as b};
@@ -2,15 +2,15 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{ZEROS as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{Colormap as a}from"../views/3d/webgl-engine/core/shaderLibrary/raster/Colormap.glsl.js";import{CommonPassParameters as o,Common as l}from"../views/3d/webgl-engine/core/shaderLibrary/raster/Common.glsl.js";import{TileBackground as r}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/TileBackground.glsl.js";import{TileComposite as i}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/TileComposite.glsl.js";import{ColorConversion as t}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{BooleanPassUniform as u}from"../views/3d/webgl-engine/core/shaderModules/BooleanPassUniform.js";import{Float2PassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{FloatPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as c}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{glsl as m}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as f}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Texture2DPassUniform as d}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ShaderBuilder as g}from"../views/webgl/ShaderBuilder.js";class x extends o{constructor(a,o,l,r,i,t){super(a,r,i),this.colormap=o,this.symbolizer=l,this.u_colormap=t,this.backgroundColor=e,this.fboTexture=null,this.baseOpacity=1}}class p extends x{}class v extends x{}function _(e){const o=new g;return o.include(i),o.include(l,e),o.include(a,e),o.include(r,e),o.fragment.code.add(m`vec4 applyBackgroundBlend(vec4 layerColor) {
5
+ import{ZEROS as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{Colormap as a}from"../views/3d/webgl-engine/core/shaderLibrary/raster/Colormap.glsl.js";import{CommonPassParameters as o,Common as l}from"../views/3d/webgl-engine/core/shaderLibrary/raster/Common.glsl.js";import{TileBackground as r}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/TileBackground.glsl.js";import{TileComposite as i}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/TileComposite.glsl.js";import{ColorConversion as t}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{BooleanPassUniform as u}from"../views/3d/webgl-engine/core/shaderModules/BooleanPassUniform.js";import{Float2PassUniform as n}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float3PassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{FloatPassUniform as c}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as m}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{glsl as f}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as d}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Texture2DPassUniform as g}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ShaderBuilder as x}from"../views/webgl/ShaderBuilder.js";class p extends o{constructor(a,o,l,r,i,t){super(a,r,i),this.colormap=o,this.symbolizer=l,this.u_colormap=t,this.backgroundColor=e,this.fboTexture=null,this.baseOpacity=1}}class v extends p{}class _ extends p{}function y(e){const o=new x;return o.include(i),o.include(l,e),o.include(a,e),o.include(r,e),o.fragment.code.add(f`vec4 applyBackgroundBlend(vec4 layerColor) {
6
6
  return blendLayers(vuv, layerColor, u_opacity);
7
- }`),0===e.colorizerType?h(o,e):1===e.colorizerType?y(o):2===e.colorizerType&&b(o,e),o}function y(e){e.fragment.main.add(m`vec2 pixelLocation = getPixelLocation(uv);
7
+ }`),0===e.colorizerType?b(o,e):1===e.colorizerType?h(o):2===e.colorizerType&&C(o,e),o}function h(e){e.fragment.main.add(f`vec2 pixelLocation = getPixelLocation(uv);
8
8
  if (isOutside(pixelLocation)) {
9
9
  fragColor = applyBackgroundBlend(vec4(0.0, 0.0, 0.0, 0.0));
10
10
  return;
11
11
  }
12
12
  vec4 currentPixel = getPixel(pixelLocation);
13
- fragColor = applyBackgroundBlend(colormap(currentPixel, true));`)}function h(e,a){e.fragment.uniforms.add(new f("u_bandCount",e=>e.symbolizer.u_bandCount),new c("u_minCutOff",e=>e.symbolizer.u_minCutOff,3),new c("u_maxCutOff",e=>e.symbolizer.u_maxCutOff,3),new c("u_factor",e=>e.symbolizer.u_factor,3),new s("u_minOutput",e=>e.symbolizer.u_minOutput),new s("u_maxOutput",e=>e.symbolizer.u_maxOutput),new u("u_useGamma",e=>e.symbolizer.u_useGamma),new c("u_gamma",e=>e.symbolizer.u_gamma,3),new c("u_gammaCorrection",e=>e.symbolizer.u_gammaCorrection,3),new s("u_opacity",e=>e.common.u_opacity)),e.fragment.code.add(m`float stretchOneValue(float val, float minCutOff, float maxCutOff, float minOutput, float maxOutput, float factor, bool useGamma, float gamma, float gammaCorrection) {
13
+ fragColor = applyBackgroundBlend(colormap(currentPixel, true));`)}function b(e,a){e.fragment.uniforms.add(new d("u_bandCount",e=>e.symbolizer.u_bandCount),new s("u_minCutOff",e=>e.symbolizer.u_minCutOff),new s("u_maxCutOff",e=>e.symbolizer.u_maxCutOff),new s("u_factor",e=>e.symbolizer.u_factor),new c("u_minOutput",e=>e.symbolizer.u_minOutput),new c("u_maxOutput",e=>e.symbolizer.u_maxOutput),new u("u_useGamma",e=>e.symbolizer.u_useGamma),new s("u_gamma",e=>e.symbolizer.u_gamma),new s("u_gammaCorrection",e=>e.symbolizer.u_gammaCorrection),new c("u_opacity",e=>e.common.u_opacity)),e.fragment.code.add(f`float stretchOneValue(float val, float minCutOff, float maxCutOff, float minOutput, float maxOutput, float factor, bool useGamma, float gamma, float gammaCorrection) {
14
14
  if (val >= maxCutOff) {
15
15
  return maxOutput;
16
16
  } else if (val <= minCutOff) {
@@ -29,7 +29,7 @@ stretchedVal = (tempf * outRange * pow(relativeVal, 1.0 / gamma) + minOutput) /
29
29
  stretchedVal = minOutput + (val - minCutOff) * factor;
30
30
  }
31
31
  return stretchedVal;
32
- }`);const o=a.applyColormap?m`fragColor = applyBackgroundBlend(colormap(vec4(grayVal, grayVal, grayVal, currentPixel.a), !u_useGamma));`:m`fragColor = applyBackgroundBlend(vec4(grayVal, grayVal, grayVal, currentPixel.a));`;e.fragment.main.add(m`
32
+ }`);const o=a.applyColormap?f`fragColor = applyBackgroundBlend(colormap(vec4(grayVal, grayVal, grayVal, currentPixel.a), !u_useGamma));`:f`fragColor = applyBackgroundBlend(vec4(grayVal, grayVal, grayVal, currentPixel.a));`;e.fragment.main.add(f`
33
33
  vec2 pixelLocation = getPixelLocation(uv);
34
34
  if (isOutside(pixelLocation)) {
35
35
  fragColor = applyBackgroundBlend(vec4(0.0, 0.0, 0.0, 0.0));
@@ -37,7 +37,7 @@ return stretchedVal;
37
37
  }
38
38
 
39
39
  vec4 currentPixel = getPixel(pixelLocation);
40
- ${0===a.stretchType?m`fragColor = applyBackgroundBlend(currentPixel);`:m`
40
+ ${0===a.stretchType?f`fragColor = applyBackgroundBlend(currentPixel);`:f`
41
41
  if (currentPixel.a == 0.0) {
42
42
  fragColor = applyBackgroundBlend(vec4(0.0, 0.0, 0.0, 0.0));
43
43
  return;
@@ -50,20 +50,20 @@ return stretchedVal;
50
50
  float greenVal = stretchOneValue(currentPixel.g, u_minCutOff[1], u_maxCutOff[1], u_minOutput, u_maxOutput, u_factor[1], u_useGamma, u_gamma[1], u_gammaCorrection[1]);
51
51
  float blueVal = stretchOneValue(currentPixel.b, u_minCutOff[2], u_maxCutOff[2], u_minOutput, u_maxOutput, u_factor[2], u_useGamma, u_gamma[2], u_gammaCorrection[2]);
52
52
  fragColor = applyBackgroundBlend(vec4(redVal, greenVal, blueVal, currentPixel.a));
53
- }`}`)}function b(e,a){const o=e.fragment;o.uniforms.add(new d("u_image",e=>e.u_image),new f("u_hillshadeType",e=>e.symbolizer.u_hillshadeType),new c("u_sinZcosAs",e=>e.symbolizer.u_sinZcosAs,6),new c("u_sinZsinAs",e=>e.symbolizer.u_sinZsinAs,6),new c("u_cosZs",e=>e.symbolizer.u_cosZs,6),new c("u_weights",e=>e.symbolizer.u_weights,6),new n("u_factor",e=>e.symbolizer.u_factor),new s("u_minValue",e=>e.symbolizer.u_minValue),new s("u_maxValue",e=>e.symbolizer.u_maxValue),new n("u_srcImageSize",e=>e.common.u_srcImageSize)),o.include(t),o.code.add(m`vec4 overlay(float val, float minValue, float maxValue, float hillshade, float alpha) {
53
+ }`}`)}function C(e,a){const o=e.fragment;o.uniforms.add(new g("u_image",e=>e.u_image),new d("u_hillshadeType",e=>e.symbolizer.u_hillshadeType),new m("u_sinZcosAs",6,e=>e.symbolizer.u_sinZcosAs),new m("u_sinZsinAs",6,e=>e.symbolizer.u_sinZsinAs),new m("u_cosZs",6,e=>e.symbolizer.u_cosZs),new m("u_weights",6,e=>e.symbolizer.u_weights),new n("u_factor",e=>e.symbolizer.u_factor),new c("u_minValue",e=>e.symbolizer.u_minValue),new c("u_maxValue",e=>e.symbolizer.u_maxValue),new n("u_srcImageSize",e=>e.common.u_srcImageSize)),o.include(t),o.code.add(f`vec4 overlay(float val, float minValue, float maxValue, float hillshade, float alpha) {
54
54
  val = clamp((val - minValue) / (maxValue - minValue), 0.0, 1.0);
55
55
  vec4 color = colormap(vec4(val, val, val, 1.0), false);
56
56
  vec3 hsv = rgb2hsv(color.rgb);
57
57
  hsv.z = hillshade;
58
58
  return vec4(hsv2rgb(hsv), 1.0) * alpha * color.a;
59
- }`),o.code.add(m`float getNeighborHoodAlpha(float a, float b, float c, float d, float e, float f, float g, float h, float i){
59
+ }`),o.code.add(f`float getNeighborHoodAlpha(float a, float b, float c, float d, float e, float f, float g, float h, float i){
60
60
  if (a == 0.0 || a == 0.0 || a==0.0 || a == 0.0 || a == 0.0 || a==0.0 || a == 0.0 || a == 0.0 || a==0.0) {
61
61
  return 0.0;
62
62
  } else {
63
63
  return e;
64
64
  }
65
- }`);const l=a.applyColormap?m`fragColor = applyBackgroundBlend(overlay(ve.r, u_minValue, u_maxValue, hillshade, alpha));`:m`hillshade *= alpha;
66
- fragColor = applyBackgroundBlend(vec4(hillshade, hillshade, hillshade, alpha));`;o.main.add(m`
65
+ }`);const l=a.applyColormap?f`fragColor = applyBackgroundBlend(overlay(ve.r, u_minValue, u_maxValue, hillshade, alpha));`:f`hillshade *= alpha;
66
+ fragColor = applyBackgroundBlend(vec4(hillshade, hillshade, hillshade, alpha));`;o.main.add(f`
67
67
  vec2 pixelLocation = getPixelLocation(uv);
68
68
  if (isOutside(pixelLocation)) {
69
69
  fragColor = applyBackgroundBlend(vec4(0.0, 0.0, 0.0, 0.0));
@@ -144,4 +144,4 @@ fragColor = applyBackgroundBlend(vec4(hillshade, hillshade, hillshade, alpha));`
144
144
  // set color
145
145
  float alpha = getNeighborHoodAlpha(va.a, vb.a, vc.a, vd.a, ve.a, vf.a, vg.a, vh.a, vi.a);
146
146
  alpha *= u_opacity;
147
- ${l}`)}const C=Object.freeze(Object.defineProperty({__proto__:null,ColorizerHillshadeUniforms:v,ColorizerStretchUniforms:p,ColorizerUniforms:x,build:_},Symbol.toStringTag,{value:"Module"}));export{x as C,C as R,p as a,v as b,_ as c};
147
+ ${l}`)}const w=Object.freeze(Object.defineProperty({__proto__:null,ColorizerHillshadeUniforms:_,ColorizerStretchUniforms:v,ColorizerUniforms:p,build:y},Symbol.toStringTag,{value:"Module"}));export{p as C,w as R,v as a,_ as b,y as c};
@@ -2,7 +2,7 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{invertOrIdentity as e}from"../core/libs/gl-matrix-2/math/mat4.js";import{IDENTITY as i,create as o}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{ScreenSpacePass as t}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{ReadDepth as s}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{PiUtils as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js";import{LocalFromScreenSpacePassParameters as r,localFromScreenSpace as n}from"../views/3d/webgl-engine/core/shaderLibrary/util/LocalFromScreenSpace.glsl.js";import{Float2PassUniform as d}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float3PassUniform as l}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{FloatPassUniform as h}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as v}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{glsl as c}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as w}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Matrix4BindUniform as f}from"../views/3d/webgl-engine/core/shaderModules/Matrix4BindUniform.js";import{Matrix4sPassUniform as p}from"../views/3d/webgl-engine/core/shaderModules/Matrix4sPassUniform.js";import{Texture2DBindUniform as m}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as g}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ShaderBuilder as u}from"../views/webgl/ShaderBuilder.js";class x extends r{constructor(){super(...arguments),this.shadowMap={depthTexture:null,nearFar:[1,100],numActiveFaces:1,atlasRegions:[[0,0,1,1]]},this.targetVector=[1,0,0],this.upVector=[0,0,1],this.fovs=[45,45],this.headingAndTilt=[0,0],this.observerOffset=[0,0,0],this.projectionMatrices=i.flat(),this.viewMatrices=i.flat(),this.volumeOffset=0}}function V(){const i=new u,o=i.fragment;return i.include(t),i.include(n),o.include(s),o.include(a),o.uniforms.add(new m("depthTexture",e=>e.depth?.attachment),new f("inverseProjectionMatrix",e=>e.camera.inverseProjectionMatrix),new f("inverseViewNormalMatrix",({camera:i})=>e(b,i.viewInverseTransposeMatrix)),new l("viewshedObserverOffset",e=>e.observerOffset),new l("viewshedTargetVector",e=>e.targetVector),new l("viewshedUpVector",e=>e.upVector),new d("viewshedFOVs",e=>e.fovs),new d("viewshedHeadingAndTilt",e=>e.headingAndTilt),new d("viewshedNearFar",e=>e.shadowMap.nearFar??[1,100]),new h("viewshedVolumeOffset",e=>e.volumeOffset),new g("viewshedShadowMap",e=>e.shadowMap.depthTexture),new p("viewshedProjectionMatrices",e=>e.projectionMatrices,6),new p("viewshedViewMatrices",e=>e.viewMatrices,6),new w("viewshedNumFaces",e=>e.shadowMap.numActiveFaces),new v("viewshedAtlasRegions",e=>e.shadowMap.atlasRegions.flat(),24),new g("normalMap",e=>e.normals)),o.constants.add("visibleColor","vec4",[0,1,0,.5]),o.constants.add("occludedColor","vec4",[1,0,0,.5]),o.code.add(c`vec2 getViewshedUv(vec4 worldPosition, int face) {
5
+ import{invertOrIdentity as e}from"../core/libs/gl-matrix-2/math/mat4.js";import{IDENTITY as i,create as o}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{ScreenSpacePass as t}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{ReadDepth as s}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{PiUtils as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js";import{LocalFromScreenSpacePassParameters as r,localFromScreenSpace as n}from"../views/3d/webgl-engine/core/shaderLibrary/util/LocalFromScreenSpace.glsl.js";import{Float2PassUniform as d}from"../views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js";import{Float3PassUniform as l}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{FloatPassUniform as h}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{FloatsPassUniform as v}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{glsl as c}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as w}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Matrix4BindUniform as f}from"../views/3d/webgl-engine/core/shaderModules/Matrix4BindUniform.js";import{Matrix4sPassUniform as p}from"../views/3d/webgl-engine/core/shaderModules/Matrix4sPassUniform.js";import{Texture2DBindUniform as m}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as g}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ShaderBuilder as u}from"../views/webgl/ShaderBuilder.js";class x extends r{constructor(){super(...arguments),this.shadowMap={depthTexture:null,nearFar:[1,100],numActiveFaces:1,atlasRegions:[[0,0,1,1]]},this.targetVector=[1,0,0],this.upVector=[0,0,1],this.fovs=[45,45],this.headingAndTilt=[0,0],this.observerOffset=[0,0,0],this.projectionMatrices=i.flat(),this.viewMatrices=i.flat(),this.volumeOffset=0}}function V(){const i=new u,o=i.fragment;return i.include(t),i.include(n),o.include(s),o.include(a),o.uniforms.add(new m("depthTexture",e=>e.depth?.attachment),new f("inverseProjectionMatrix",e=>e.camera.inverseProjectionMatrix),new f("inverseViewNormalMatrix",({camera:i})=>e(b,i.viewInverseTransposeMatrix)),new l("viewshedObserverOffset",e=>e.observerOffset),new l("viewshedTargetVector",e=>e.targetVector),new l("viewshedUpVector",e=>e.upVector),new d("viewshedFOVs",e=>e.fovs),new d("viewshedHeadingAndTilt",e=>e.headingAndTilt),new d("viewshedNearFar",e=>e.shadowMap.nearFar??[1,100]),new h("viewshedVolumeOffset",e=>e.volumeOffset),new g("viewshedShadowMap",e=>e.shadowMap.depthTexture),new p("viewshedProjectionMatrices",e=>e.projectionMatrices,6),new p("viewshedViewMatrices",e=>e.viewMatrices,6),new w("viewshedNumFaces",e=>e.shadowMap.numActiveFaces),new v("viewshedAtlasRegions",24,e=>e.shadowMap.atlasRegions.flat()),new g("normalMap",e=>e.normals)),o.constants.add("visibleColor","vec4",[0,1,0,.5]),o.constants.add("occludedColor","vec4",[1,0,0,.5]),o.code.add(c`vec2 getViewshedUv(vec4 worldPosition, int face) {
6
6
  mat4 viewshedMatrix = viewshedProjectionMatrices[face];
7
7
  vec4 viewshedUv4 = viewshedMatrix * worldPosition;
8
8
  vec3 viewshedUv = viewshedUv4.xyz / viewshedUv4.w;
package/config.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.54";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
5
+ import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.55";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{create as e}from"../../core/libs/gl-matrix-2/factories/vec3f64.js";import{canProjectWithoutEngine as r,tryProject as t,initializeProjection as o}from"../projectionUtils.js";import{projectBuffer as i}from"./projectBuffer.js";function n(e,o,n){if(r(e.spatialReference,n))return f[0]=e.x,f[1]=e.y,f[2]=e.z??0,i(f,e.spatialReference,0,o,n,0);const c=t(e,n);return!!c&&(o[0]=c.x,o[1]=c.y,o[2]=c.z??0,!0)}async function c(e,r,t,i){return await o(e.spatialReference,t,null,i),n(e,r,t)}const f=e();export{n as projectPointToVector,c as projectPointToVectorAsync};
5
+ import{create as e}from"../../core/libs/gl-matrix-2/factories/vec3f64.js";import{canProjectWithoutEngine as r,tryProject as t,initializeProjection as o}from"../projectionUtils.js";import{projectBuffer as i}from"./projectBuffer.js";function n(e,o,n,c){if(r(e.spatialReference,n))return f[0]=e.x,f[1]=e.y,f[2]=e.z??0,i(f,e.spatialReference,0,o,n,0);const s=t(e,n,c);return!!s&&(o[0]=s.x,o[1]=s.y,o[2]=s.z??0,!0)}async function c(e,r,t,i){return await o(e.spatialReference,t,null,i),n(e,r,t)}const f=e();export{n as projectPointToVector,c as projectPointToVectorAsync};
@@ -1,5 +1,14 @@
1
- import type { CompressedTextureData } from "../views/3d/glTF/internal/resourceUtils.js";
2
1
 
3
2
  export type LatitudeLongitudeFormat = "dd" | "ddm" | "dms";
4
3
 
4
+ /** The definition of compressed texture data. */
5
+ export interface CompressedTextureData {
6
+ /** The compressed texture data. */
7
+ data: Uint8Array<ArrayBuffer>;
8
+ /** The texture encoding. */
9
+ encoding: "image/ktx2";
10
+ /** The type. */
11
+ type: "encoded-mesh-texture";
12
+ }
13
+
5
14
  export type MeshTextureData = HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageData | CompressedTextureData;
package/interfaces.d.ts CHANGED
@@ -1972,6 +1972,8 @@ declare namespace __esri {
1972
1972
 
1973
1973
  export type NearestPointResult<Point = any> = import("./geometry/geometryEngineInterfaces").NearestPointResult<Point>;
1974
1974
 
1975
+ export type CompressedTextureData = import("./geometry/types").CompressedTextureData;
1976
+
1975
1977
  interface affineTransformOperator {
1976
1978
  execute: typeof import("./geometry/operators/affineTransformOperator.js").execute;
1977
1979
  executeMany: typeof import("./geometry/operators/affineTransformOperator.js").executeMany;
@@ -8359,18 +8361,6 @@ declare namespace __esri {
8359
8361
  export type SceneView = import("./views/SceneView.js").default;
8360
8362
  export const SceneView: typeof import("./views/SceneView.js").default;
8361
8363
 
8362
- export type ViewHit = import("./views/SceneViewHitTestResult").SceneViewHit;
8363
-
8364
- export type GraphicHit = import("./views/SceneViewHitTestResult").SceneViewGraphicHit;
8365
-
8366
- export type MediaHit = import("./views/SceneViewHitTestResult").SceneViewMediaHit;
8367
-
8368
- export type RouteHit = import("./views/SceneViewHitTestResult").SceneViewRouteHit;
8369
-
8370
- export type SceneViewHitTestResult = import("./views/SceneViewHitTestResult").SceneViewHitTestResult;
8371
-
8372
- export type HitTestResultGround = import("./views/SceneViewHitTestResult").SceneViewHitTestResultGround;
8373
-
8374
8364
  export type ThemeProperties = import("./views/Theme").ThemeProperties;
8375
8365
 
8376
8366
  export type Theme = import("./views/Theme.js").default;
@@ -8504,6 +8494,18 @@ declare namespace __esri {
8504
8494
  export type SlideUpdateFromOptionsScreenshot = import("./views/types").UserSettings;
8505
8495
  export type BookmarkOptionsScreenshotSettings = import("./views/types").UserSettings;
8506
8496
 
8497
+ export type ViewHit = import("./views/types").SceneViewHit;
8498
+
8499
+ export type GraphicHit = import("./views/types").SceneViewGraphicHit;
8500
+
8501
+ export type MediaHit = import("./views/types").SceneViewMediaHit;
8502
+
8503
+ export type RouteHit = import("./views/types").SceneViewRouteHit;
8504
+
8505
+ export type SceneViewHitTestResult = import("./views/types").SceneViewHitTestResult;
8506
+
8507
+ export type HitTestResultGround = import("./views/types").SceneViewHitTestResultGround;
8508
+
8507
8509
  export type View2DConstraintsProperties = import("./views/2d/MapViewConstraints").MapViewConstraintsProperties;
8508
8510
 
8509
8511
  export type View2DConstraints = import("./views/2d/MapViewConstraints.js").default;
@@ -8703,8 +8705,6 @@ declare namespace __esri {
8703
8705
  export type VirtualLighting = import("./views/3d/environment/VirtualLighting.js").default;
8704
8706
  export const VirtualLighting: typeof import("./views/3d/environment/VirtualLighting.js").default;
8705
8707
 
8706
- export type CompressedTextureData = import("./views/3d/glTF/internal/resourceUtils").CompressedTextureData;
8707
-
8708
8708
  export type MediaLayerViewInteractionOptionsProperties = import("./views/3d/layers/support/MediaLayerInteractionOptions").MediaLayerInteractionOptionsProperties;
8709
8709
 
8710
8710
  export type MediaLayerViewInteractionOptions = import("./views/3d/layers/support/MediaLayerInteractionOptions.js").MediaLayerInteractionOptions;
@@ -8738,10 +8738,9 @@ declare namespace __esri {
8738
8738
  export type RenderNode = import("./views/3d/webgl/RenderNode.js").default;
8739
8739
  export const RenderNode: typeof import("./views/3d/webgl/RenderNode.js").default;
8740
8740
 
8741
- export type SunLight = import("./views/3d/webgl-engine/lighting/SceneLighting.js").SunLight;
8742
- export const SunLight: typeof import("./views/3d/webgl-engine/lighting/SceneLighting.js").SunLight;
8741
+ export type ColorAndIntensity = import("./views/3d/webgl/types").ColorAndIntensity;
8743
8742
 
8744
- export type ColorAndIntensity = import("./views/3d/webgl-engine/lighting/SceneLighting").ColorAndIntensity;
8743
+ export type SunLight = import("./views/3d/webgl/types").SunLight;
8745
8744
 
8746
8745
  export type LengthDimensionResult = import("./views/analysis/LengthDimensionResult.js").default;
8747
8746
  export const LengthDimensionResult: typeof import("./views/analysis/LengthDimensionResult.js").default;
@@ -9147,8 +9146,6 @@ declare namespace __esri {
9147
9146
  export type DefaultUI = import("./views/ui/DefaultUI.js").default;
9148
9147
  export const DefaultUI: typeof import("./views/ui/DefaultUI.js").default;
9149
9148
 
9150
- export type ViewPadding = import("./views/ui/Padding").Padding;
9151
-
9152
9149
  export type UIProperties = import("./views/ui/UI").UIProperties;
9153
9150
 
9154
9151
  export type UI = import("./views/ui/UI.js").default;
@@ -9163,13 +9160,11 @@ declare namespace __esri {
9163
9160
 
9164
9161
  export type UIPosition = import("./views/ui/types").UIPosition;
9165
9162
 
9163
+ export type ViewPadding = import("./views/ui/types").Padding;
9164
+
9166
9165
  export type FBOTexture = import("./views/webgl/Texture.js").Texture;
9167
9166
  export const FBOTexture: typeof import("./views/webgl/Texture.js").Texture;
9168
9167
 
9169
- export type ColorAttachment = import("./views/webgl/enums").ColorAttachment;
9170
-
9171
- export type DepthAttachment = import("./views/webgl/enums").DepthStencilAttachment;
9172
-
9173
9168
  export type GeotriggersInfoProperties = import("./webdoc/GeotriggersInfo").GeotriggersInfoProperties;
9174
9169
 
9175
9170
  export type GeotriggersInfo = import("./webdoc/GeotriggersInfo.js").default;
@@ -10316,7 +10311,7 @@ declare namespace __esri {
10316
10311
  export type DirectionalPadVisibleElements = import("./widgets/DirectionalPad/VisibleElements.js").default;
10317
10312
  export const DirectionalPadVisibleElements: typeof import("./widgets/DirectionalPad/VisibleElements.js").default;
10318
10313
 
10319
- export type Vector = import("./widgets/DirectionalPad/utils").Vector;
10314
+ export type Vector = import("./widgets/DirectionalPad/types").Vector;
10320
10315
 
10321
10316
  export type DirectionsViewModelProperties = import("./widgets/Directions/DirectionsViewModel").DirectionsViewModelProperties;
10322
10317
 
@@ -11521,9 +11516,9 @@ declare namespace __esri {
11521
11516
  export type SnappingControls = import("./widgets/support/SnappingControls.js").default;
11522
11517
  export const SnappingControls: typeof import("./widgets/support/SnappingControls.js").default;
11523
11518
 
11524
- export type GoToParameters = import("./widgets/support/goToUtils").GoToParameters;
11519
+ export type GoToParameters = import("./widgets/support/types").GoToParameters;
11525
11520
 
11526
- export type GoToOverride = import("./widgets/support/goToUtils").GoToOverride;
11521
+ export type GoToOverride = import("./widgets/support/types").GoToOverride;
11527
11522
 
11528
11523
  interface widget {
11529
11524
  accessibleHandler: typeof import("./widgets/support/widget.js").accessibleHandler;
package/kernel.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.54",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
5
+ import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.0";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.0.0-next.55",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
@@ -1515,11 +1515,14 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {
1515
1515
  */
1516
1516
  deleteAttachments(feature: Graphic, attachmentIds: number[]): Promise<FeatureEditResult[]>;
1517
1517
  /**
1518
- * Returns the title of a [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html).
1518
+ * Returns the title of a [feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html). The feature title is generated based on the following conditions for a `FeatureLayer`.
1519
+ * - If the feature has a popup title configured, then the popup title will be returned.
1520
+ * - If the feature does not have a popup title, then the [displayField](#displayField) value will be returned.
1521
+ * - If there is no `displayField`, then the [objectId](#objectIdField) will be returned.
1519
1522
  *
1520
- * @param graphic - The [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) for which to generate a title.
1523
+ * @param graphic - The [graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) for which to generate a title.
1521
1524
  * @param options - Additional options that control how the title is generated.
1522
- * @returns Resolves to the feature's title string.
1525
+ * @returns When resolved, returns the feature's title string.
1523
1526
  * @since 4.34
1524
1527
  */
1525
1528
  getFeatureTitle(graphic: Graphic, options?: FeatureTitleOptions): Promise<string>;