@arcgis/core 5.0.0-next.33 → 5.0.0-next.34

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 (153) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{9252854b512237b6a0ef.js → 0446562aee0639c61485.js} +1 -1
  3. package/assets/esri/core/workers/chunks/{b56c07c0b43cb1999070.js → 1fa55d4c4b092a98bdd7.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{e7f4d135ef9665de1468.js → 33431e8131f6017de2f9.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{096e5f94eaa226814569.js → 4356274cfa477eb6d749.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{866a608d489bf56bc371.js → 486e69261aa2caf9ec3c.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{3c1e50c3505e5e7c946a.js → 4d5591c1b4ef37075921.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{d21ae4980741be98f948.js → 59889855d23baec1adf9.js} +1 -1
  9. package/assets/esri/core/workers/chunks/5f9e64f00329cb646f0c.js +1 -0
  10. package/assets/esri/core/workers/chunks/{c2596f48b37092dd566c.js → 61cb30e2e8edd18ebbf0.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{d786b17cc9062b1450ac.js → 726a797f5df7eeee0b3d.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{a2cee5ac0d4df0108425.js → 82cc758bddd9f8397b9f.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{433d249c35c56bf15806.js → 97650ee3d0eecb69ccbb.js} +3 -3
  14. package/assets/esri/core/workers/chunks/{add17e95f47e6904bf6d.js → a59dab47a58695c639da.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{f441fc74451330384fb0.js → abb05a903440d97a6a74.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{5baef729beef0199c3d9.js → b536fdb655ad293d9024.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{1d4ea8db272655c0608c.js → c7c721de93bc8688e13c.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{446f76356fc116204ec3.js → c8d2cce4a426c72ab173.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{14feb12826e0c8ba7fb8.js → d14bd320f72d8e8a0ad8.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{4b6a44c6265c8959abd8.js → d3db7244fac7398cc700.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{7aa730e5ac7b268e3c98.js → dd34d56caafa38d4b8e4.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{2a17991923abc64c84c6.js → f55328aabf84770c8e6a.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{e32fc0b2c6530d28ce85.js → fa01d1813fa78034526e.js} +1 -1
  24. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  25. package/chunks/ComponentShader.glsl.js +19 -21
  26. package/chunks/Laserlines.glsl.js +1 -1
  27. package/chunks/Terrain.glsl.js +9 -11
  28. package/chunks/boundedPlane.js +1 -1
  29. package/chunks/cameraUtilsSpherical.js +1 -1
  30. package/chunks/lyr3DMain.js +1 -1
  31. package/chunks/vec32.js +1 -1
  32. package/config.js +1 -1
  33. package/core/deprecate.js +1 -1
  34. package/core/has.js +1 -1
  35. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  36. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  37. package/geometry/operators/integrateOperator.js +1 -1
  38. package/geometry/support/lineSegment.js +1 -1
  39. package/geometry/support/meshUtils/merge.js +1 -1
  40. package/geometry/support/sphere.js +1 -1
  41. package/interfaces.d.ts +45 -25
  42. package/intl/locale.js +1 -1
  43. package/kernel.js +1 -1
  44. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  45. package/layers/VoxelWasmPerSceneView.js +1 -1
  46. package/layers/orientedImagery/transformations/worldToImage.js +1 -1
  47. package/layers/support/layerOriginUtils.js +1 -1
  48. package/layers/voxel/VoxelVolume.js +1 -1
  49. package/package.json +3 -3
  50. package/request/config.js +1 -1
  51. package/request/process.js +1 -1
  52. package/support/revision.js +1 -1
  53. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  54. package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
  55. package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
  56. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  57. package/views/3d/analysis/LineOfSight/LineOfSightIntersectionResult.js +1 -1
  58. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  59. package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
  60. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  61. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  62. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  63. package/views/3d/animation/pointToPoint/Camera.js +1 -1
  64. package/views/3d/camera/constraintUtils/distance.js +1 -1
  65. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  66. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  67. package/views/3d/environment/CloudsParameters.js +1 -1
  68. package/views/3d/environment/EnvironmentManager.js +1 -1
  69. package/views/3d/environment/MarsAtmosphere.js +1 -1
  70. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  71. package/views/3d/interactive/editingTools/media/MediaElementManipulator3D.js +1 -1
  72. package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
  73. package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
  74. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  75. package/views/3d/layers/I3SMeshView3D.js +1 -1
  76. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  77. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  78. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  79. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  80. package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
  81. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  82. package/views/3d/state/Frustum.js +1 -1
  83. package/views/3d/state/controllers/FovController.js +1 -1
  84. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  85. package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
  86. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  87. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  88. package/views/3d/support/cameraUtils.js +1 -1
  89. package/views/3d/support/intersectionUtils.js +1 -1
  90. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  91. package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
  92. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  93. package/views/3d/support/viewpointUtils.js +1 -1
  94. package/views/3d/terrain/OverlayManager.js +1 -1
  95. package/views/3d/terrain/PatchRenderData.js +1 -1
  96. package/views/3d/terrain/SphericalPatch.js +1 -1
  97. package/views/3d/terrain/Tile.js +1 -1
  98. package/views/3d/webgl/RenderCamera.js +1 -1
  99. package/views/3d/webgl-engine/collections/Component/Material/{shader/ComponentData.glsl.js → ComponentData.glsl.js} +2 -2
  100. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  101. package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +5 -0
  102. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  103. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  104. package/views/3d/webgl-engine/collections/Component/Material/{shader/DecodeSymbolColor.glsl.js → DecodeSymbolColor.glsl.js} +1 -1
  105. package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +1 -1
  106. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  107. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  108. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  109. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  110. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  111. package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
  112. package/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +1 -1
  113. package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
  114. package/views/3d/webgl-engine/lib/triangleIntersectionUtils.js +1 -1
  115. package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
  116. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  117. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  118. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  119. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  120. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  121. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  122. package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +1 -1
  123. package/views/SelectionManager.js +1 -1
  124. package/views/interactive/GraphicManipulator.js +1 -1
  125. package/views/interactive/SegmentLabels.js +1 -1
  126. package/views/interactive/coordinateHelper.js +1 -1
  127. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  128. package/views/interactive/sketch/constraints.js +1 -1
  129. package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
  130. package/views/interactive/snapping/featureSources/sceneLayerSource/sceneLayerSnappingUtils.js +1 -1
  131. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  132. package/views/interactive/tooltip/tooltipCommonUtils.js +1 -1
  133. package/views/navigation/PanSphericalMomentumEstimator.js +1 -1
  134. package/views/support/euclideanAreaMeasurementUtils.js +1 -1
  135. package/views/support/euclideanLengthMeasurementUtils.js +1 -1
  136. package/views/support/geometry3dUtils.js +1 -1
  137. package/views/support/selectionUtils.js +1 -1
  138. package/widgets/Attachments/AttachmentsViewModel.js +1 -1
  139. package/widgets/BuildingExplorer/BuildingExplorerViewModel.js +1 -1
  140. package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.js +1 -1
  141. package/widgets/BuildingExplorer.js +1 -1
  142. package/widgets/Editor/EditorViewModel.js +1 -1
  143. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  144. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  145. package/widgets/ShadowCast/DiscreteOptions.js +1 -1
  146. package/widgets/ShadowCast/DurationOptions.js +1 -1
  147. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  148. package/widgets/ShadowCast/ThresholdOptions.js +1 -1
  149. package/widgets/ShadowCast.js +1 -1
  150. package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
  151. package/assets/esri/core/workers/chunks/f3127bdf28a1d9b8db27.js +0 -1
  152. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +0 -5
  153. /package/views/3d/webgl-engine/collections/Component/Material/{shader/ComponentDataConstants.js → ComponentDataConstants.js} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8256],{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,f,h,m,g){return[e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,g]}},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:()=>f,ud:()=>h,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())g(e.pattern,t)&&c.delete(t)}function f(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 h(e){const t=(0,o.JK)();c.has(e)||c.set(e,async function(e,t){const n=[];for(const r of u)if(g(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 p.add(n),n}function m(e){const t=(0,o.lR)(e);return t?l(e)??l(t):null}function g(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,o.Ml)(()=>{c.clear()});const p=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)},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"}},29030:(e,t,n)=>{n.r(t),n.d(t,{destroyContext:()=>M,dracoDecompressPointCloudData:()=>y,filterObbsForModifications:()=>T,filterObbsForModificationsSync:()=>x,initialize:()=>R,interpretObbModificationResults:()=>_,process:()=>p,project:()=>b,setLegacySchema:()=>A,setModifications:()=>S,setModificationsSync:()=>C,test:()=>j,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),f=n(51850),h=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 g{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 p(e){k=await I();const t=[e.geometryBuffer];return{result:E(k,e,t),transferList:t}}async function y(e){k=await I();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=k._malloc(r),i=new Uint8Array(k.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=k.dracoDecompressPointCloudData(a,i.byteLength);if(k._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 I(),x(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function S(e){await I(),C(e)}async function A(e){k=await I(),k.setLegacySchema(e.context,e.jsonSchema)}async function b(e){const{localMatrix:t,origin:r,positions:l,vertexSpace:u}=e,c=a.A.fromJSON(e.inSpatialReference),d=a.A.fromJSON(e.outSpatialReference),f=t?(0,i.Vj)(t):void 0,h=(0,i.cj)(r);let m;const[{projectBuffer:g},{initializeProjection:p}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await p(c,d);const y=[0,0,0];if(!g(h,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===u.type&&null==u.origin){if(m=new Float64Array(l.length),!g(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:f?{localMatrix:f}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,A,b]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=A,m[e+2]-=b;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 M(e){P(e)}let v,k;function C(e){if(!k)return;const t=e.modifications,n=k._malloc(8*t.length),r=new Float64Array(k.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];k.setModifications(e.context,n,t.length,e.isGeodetic),k._free(n)}function E(e,t,n){const{context:r,globalTrafo:a,mbs:i,obbData:o,elevationOffset:s,geometryBuffer:l,geometryDescriptor:u,indexToVertexProjector:c,vertexToRenderProjector:d}=t,f=e._malloc(l.byteLength),h=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),p=new Uint8Array(e.HEAPU8.buffer,f,l.byteLength);p.set(new Uint8Array(l));const y=new Float64Array(e.HEAPU8.buffer,h,33);L(y,[NaN,NaN,NaN],0);let T=3;L(y,a,T),T+=16,L(y,i.center,T),T+=3,y[T++]=i.radius,o&&L(y,o,T++);const S=u,A={isDraco:!1,isLegacy:!1,color:t.layouts.some(e=>e.some(e=>"color"===e.name)),normal:t.needNormals&&t.layouts.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:t.layouts.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:t.layouts.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:S.featureIndex},b=e.process(r,!!t.obbData,f,p.byteLength,S,A,h,s,c,d,t.normalReferenceFrame);if(e._free(h),e._free(f),b.error.length>0)throw new Error(`i3s.wasm: ${b.error}`);if(b.discarded)return null;const w=b.componentOffsets.length>0?b.componentOffsets.slice():null,M=b.featureIds.length>0?b.featureIds.slice():null,v=b.anchorIds.length>0?Array.from(b.anchorIds):null,k=b.anchors.length>0?Array.from(b.anchors):null,C=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(),_=b.positions.slice(),{buffer:x,byteOffset:P,byteLength:R}=b.positionIndices,I=1===b.positionIndicesType?new Uint16Array(x,P,R/2).slice():new Uint32Array(x,P,R/4).slice(),j=new m(t.layouts[0],C,E,b.hasColors,b.hasModifications,{data:_,indices:I});return M&&n.push(M.buffer),w&&n.push(w.buffer),n.push(C),n.push(E.buffer),n.push(_.buffer),n.push(I.buffer),new g(w,M,v,k,j,a,b.obb)}function _(e){return 0===e?0:1===e?1:2===e?2:3}function x(e){if(!k)return;const{context:t,buffer:n}=e,r=k._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(k.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),k.filterOBBs(t,r,a),o.set(i),k._free(r)}function P(e){k&&0===k.destroy(e)&&(k=null,v=null,c=null)}function L(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function R(){k||await I()}async function I(){return k||(k=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))),k}h.B,new d.A({deallocator:null}),(0,f.vt)();const j={transform:(e,t)=>k&&E(k,e,t),destroy:P}},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:()=>g,jd:()=>f,Tp:()=>h,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:g,7:null,9:null,10:g,1:M,6:null,8:null,0:null,3:y,11:T,2:g,4:_},5:{5:g,7:null,9:null,10:g,1:M,6:null,8:null,0:null,3:y,11:T,2:g,4:_},7:{5:null,7:g,9:null,10:g,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const a=e[t]/j,i=I-2*Math.atan(Math.exp(-e[t+1]/j)),o=j+(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:g,11:function(e,t,n,r){p(e,t,n,r),T(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),_(n,r,n,r)}},4:{5:x,7:null,9:null,10:x,1:function(e,t,n,r){x(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){x(e,t,n,r),T(n,r,n,r)},2:x,4:g},1:{5:E,7:null,9:null,10:E,1:g,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:function(e,t,n,r){E(e,t,n,r),_(n,r,n,r)}},6:{5:null,7:C,9:null,10:C,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:k,10:k,1:null,6:null,8:g,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:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:M,6:w,8:b,0:null,3:y,11:T,2:g,4:_},11:{5:S,7:null,9:null,10:S,1:function(e,t,n,r){S(e,t,n,r),M(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:g,2:S,4:function(e,t,n,r){S(e,t,n,r),_(n,r,n,r)}}};function f(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(P.source.spatialReference===e&&P.dest.spatialReference===t)return P;const n=m(e,P.source),r=m(t,P.dest);return 0===n&&0===r?(0,c.aI)(e,t)?P.projector=g:P.projector=null:P.projector=d[n][r],P}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 g(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=R*(e[t]/j),n[r+1]=R*(I-2*Math.atan(Math.exp(-e[t+1]/j))),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)(L*e[t+1],-o,o),l=Math.sin(s);n[a++]=L*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]*B,n[r+1]=e[t+1]*B,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=L*e[t],s=L*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 b(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 M(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++]=R*d,n[a++]=R*c,n[a]=u-i}function k(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function C(e,t,n,r){v(e,t,n,r,o.sH.radius)}function E(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=L*e[t],o=L*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 x(e,t,n,r){const a=u,i=e[t],s=e[t+1],l=e[t+2]??0;let c,d,f,h,m,g,p,y,T,S,A,b,w,M,v,k,C,E,_,x,P;c=Math.abs(l),d=i*i+s*s,f=Math.sqrt(d),h=d+l*l,m=Math.sqrt(h),x=Math.atan2(s,i),g=l*l/h,p=d/h,M=a.a2/m,v=a.a3-a.a4/m,p>.3?(y=c/m*(1+p*(a.a1+M+g*v)/m),_=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=f/m*(1-g*(a.a5-M-p*v)/m),_=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),A=1-o.$O.eccentricitySquared*S,b=o.$O.radius/Math.sqrt(A),w=a.a6*b,M=f-b*T,v=c-w*y,C=T*M+y*v,k=T*v-y*M,E=k/(w/A+C),_+=E,P=C+k*E/2,l<0&&(_=-_),n[r++]=R*x,n[r++]=R*_,n[r]=P}const P={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},L=(0,r.kU)(1),R=(0,r.KJ)(1),I=.5*Math.PI,j=o.$O.radius,B=j*Math.PI/180,O=180/(j*Math.PI)},40876:(e,t,n)=>{n.d(t,{Eq:()=>h,G1:()=>g,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>p,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])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function h(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(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:()=>p,Cw:()=>m,JP:()=>g,Un:()=>h,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>f,vt:()=>r});const f=[0,0,0],h=l(),m=u(),g=c(),p=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:m,UNIT_Y:g,UNIT_Z:p,ZEROS:f,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())}},62815:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(86211),a=n(73941),i=n(21325);function o(e,t,n){if(null==t||null==n||n.vcsWkid||(0,i.aI)(t,n)||(0,a.xP)(t)||(0,a.xP)(n))return null;const o=(0,r.G9)(t)/(0,r.G9)(n);if(1===o)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return null}}},65806:(e,t,n)=>{n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n){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 r=(0,a.tryProjectWithZConversion)(e,n);return!!r&&(t[0]=r.x,t[1]=r.y,t[2]=r.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)},73354:(e,t,n)=>{n.d(t,{a:()=>d,b:()=>s,c:()=>o,d:()=>a,e:()=>f,f:()=>c,l:()=>u,n:()=>h,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],f=n[8],h=n[9],m=n[10],g=n[12],p=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+f*A+g,e[S+1]=s*n+c*i+h*A+p,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],f=n[6],h=n[7],m=n[8];let g=0,p=0;for(let n=0;n<i;n++){const n=t[g],i=t[g+1],y=t[g+2];e[p]=o*n+u*i+f*y,e[p+1]=s*n+c*i+h*y,e[p+2]=l*n+d*i+m*y,g+=a,p+=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 f(e,t){h(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function h(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:h,normalizeView:f,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:()=>p,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function d(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const h=[];function m(e){return h.push(e),(0,r.hA)(()=>{h.splice(h.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,r.hA)(()=>g.splice(g.indexOf(e),1))}function y(){const e=s();a!==e&&([...g].forEach(t=>t(e)),a=e,[...h].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},91218:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>q,initializeProjection:()=>W,isEqualBaseGCS:()=>$,isLoaded:()=>P,isLoadedOrLoad:()=>L,isLoadedOrLoadFor:()=>R,load:()=>j,project:()=>B,projectExtent:()=>ne,projectMany:()=>O,projectMultipoint:()=>K,projectOrLoad:()=>U,projectOrLoadMany:()=>N,projectPoint:()=>H,projectPolygon:()=>ee,projectPolyline:()=>Q,projectWithZConversion:()=>F,projectWithoutEngine:()=>Y,requiresLoad:()=>I,test:()=>Z,tryProjectWithZConversion:()=>D,unload:()=>z});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),f=n(48526),h=n(86738),m=n(39829),g=n(82799),p=n(16930),y=n(159),T=n(9762),S=n(37539);function A(e,t,n,r,a,i){return b[0]=e,b[1]=t,b[2]=n,(0,T.projectBuffer)(b,r,0,a,i,0)}const b=(0,s.vt)();var w=n(21325),M=n(62815);let v=null,k=null,C=null,E=null,_={};const x=new o.I;function P(){return!!(k?.isLoaded()&&C?.isLoaded()&&E?.isLoaded())}function L(){return!!P()||((0,i.gc)(x),j(),!1)}function R(e,t){return!e||!t||q(e,t)||L()}function I(e,t){return!q(e,t)&&!P()}async function j(e){null==v&&(v=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(k=e,k.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=>(E=e,E.load()))])),await v,(0,a.Te)(e),x.notify()}function B(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),O(e,e[0].spatialReference,t,n)):((0,l.f)(e),O([e],e.spatialReference,t,n)[0])}function O(e,t,n,r){if(null==t||null==n)return e;if(q(t,n,r))return e.map(e=>Y(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return e.map(e=>Y(e,t,p.A.WGS84)).map(e=>D(e,n));if(null==r?.geographicTransformation&&(0,u.jA)(n))return e.map(e=>D(e,p.A.WGS84)).map(e=>Y(e,p.A.WGS84,n));if(!P())throw new G;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:E.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=_[e];a||(a=E.getTransformation(t,n)||new y.A,_[e]=a),r={geographicTransformation:a}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?k.executeMany(e,n,r):C.executeMany(e,n,r)}function U(e,t){const n=N([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 N(e,t){if(!P())for(const n of e)if(null!=n&&!(0,w.aI)(n.spatialReference,t)&&(0,w.fn)(n.spatialReference)&&(0,w.fn)(t)&&!q(n.spatialReference,t))return(0,i.gc)(x),{pending:j(),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)?D(e,t):null)}}class G extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){v=null,k=null,C=null,E=null,_={}}const Z={get loadPromise(){return v}};function D(e,t){try{const n=B(e,t);if(null==n)return null;"xmin"in e&&"xmin"in n&&(n.zmin=e.zmin,n.zmax=e.zmax);const r=(0,M.N)(n.type,e.spatialReference,t);return null!=r&&r(n),n}catch(e){if(!(e instanceof G))throw e;return null}}async function F(e,t,n){const r=e.spatialReference;return null!=r&&null!=t&&await W(r,t,null,n),D(e,t)}function q(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 $(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 W(e,t,n,r){if(P())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!q(t,n,a))return j(r)}else if(e&&t&&!q(e,t,n))return j(r);return(0,a.NO)(r)}function Y(e,t,n){return e?"x"in e?V(e,t,new h.A,n,0):"xmin"in e?re(e,t,new c.A,n,0):"rings"in e?te(e,t,new m.A,n,0):"paths"in e?X(e,t,new g.A,n,0):"points"in e?J(e,t,new f.A,n,0):null:null}function H(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=V(e,e.spatialReference,t,n,r)}function V(e,t,n,r,a){ie[0]=e.x,ie[1]=e.y;const i=e.z;return ie[2]=void 0!==i?i:a,(0,T.projectBuffer)(ie,t,0,ie,r,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ie[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 K(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=J(e,e.spatialReference,t,n,r)}function J(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 f=o||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=d[t],r=d[t+1];f&&s?l.push([n,r,d[t+2],i[e][3]]):f?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 Q(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(!ae(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 ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,a){const{rings:i,hasZ:o,hasM:s}=e,l=[];if(!ae(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 ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:c,hasM:d}=e;if(!A(i,o,c?e.zmin:a,t,ie,r))return null;const f=c||(0,u.xP)(r);return n.xmin=ie[0],n.ymin=ie[1],f&&(n.zmin=ie[2]),A(s,l,c?e.zmax:a,t,ie,r)?(n.xmax=ie[0],n.ymax=ie[1],f&&(n.zmax=ie[2]),d&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function ae(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 ie=(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:()=>R,F8:()=>L,J2:()=>E,Yq:()=>x,_m:()=>_,_v:()=>A,iS:()=>P,wj:()=>I});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"},f={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},g={...m,second:"numeric"},p={hourCycle:"h23"},y={...m,...p},T={...g,...p},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...g},"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,...g},"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,...g},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...m},"day-short-month-year-short-time-24":{...f,...y},"day-short-month-year-long-time":{...f,...g},"day-short-month-year-long-time-24":{...f,...T},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...y},"long-date-long-time":{...h,...g},"long-date-long-time-24":{...h,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":g},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"}),b={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},w=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),M=w.find(({type:e})=>"month"===e)?.value.toLowerCase();function v(){const e=(0,a.lR)();return(e&&b[e])??(0,a.QC)()}"mart"!==M&&(b.bs="sr-Latn-CS");let k=new WeakMap;const C=S["short-date-short-time"];function E(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 x(e,t=C){return function(e){let t=k.get(e);if(!t){const n=v(),r=I(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),k.set(e,t)}return t}(t).format(e)}function P(e,t=C){return x(new Date(e),{...t,...u,...l})}function L(e,t=C){return x(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function R(e,t=C){if(t.timeZone)return x(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 I(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}S["short-date"],(0,a.Ml)(()=>{k=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)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8256],{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,f,h,m,g){return[e,t,n,r,a,i,o,s,l,u,c,d,f,h,m,g]}},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:()=>f,ud:()=>h,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())g(e.pattern,t)&&c.delete(t)}function f(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 h(e){const t=(0,o.JK)();c.has(e)||c.set(e,async function(e,t){const n=[];for(const r of u)if(g(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 p.add(n),n}function m(e){const t=(0,o.lR)(e);return t?l(e)??l(t):null}function g(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,o.Ml)(()=>{c.clear()});const p=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)},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"}},29030:(e,t,n)=>{n.r(t),n.d(t,{destroyContext:()=>M,dracoDecompressPointCloudData:()=>y,filterObbsForModifications:()=>T,filterObbsForModificationsSync:()=>x,initialize:()=>R,interpretObbModificationResults:()=>_,process:()=>p,project:()=>b,setLegacySchema:()=>A,setModifications:()=>S,setModificationsSync:()=>E,test:()=>j,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),f=n(51850),h=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 g{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 p(e){k=await I();const t=[e.geometryBuffer];return{result:C(k,e,t),transferList:t}}async function y(e){k=await I();const t=[e.geometryBuffer],{geometryBuffer:n}=e,r=n.byteLength,a=k._malloc(r),i=new Uint8Array(k.HEAPU8.buffer,a,r);i.set(new Uint8Array(n));const o=k.dracoDecompressPointCloudData(a,i.byteLength);if(k._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 I(),x(e);const t={buffer:e.buffer};return{result:t,transferList:[t.buffer]}}async function S(e){await I(),E(e)}async function A(e){k=await I(),k.setLegacySchema(e.context,e.jsonSchema)}async function b(e){const{localMatrix:t,origin:r,positions:l,vertexSpace:u}=e,c=a.A.fromJSON(e.inSpatialReference),d=a.A.fromJSON(e.outSpatialReference),f=t?(0,i.Vj)(t):void 0,h=(0,i.cj)(r);let m;const[{projectBuffer:g},{initializeProjection:p}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await p(c,d);const y=[0,0,0];if(!g(h,c,0,y,d,0))throw new Error("Failed to project");if("georeferenced"===u.type&&null==u.origin){if(m=new Float64Array(l.length),!g(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:f?{localMatrix:f}:void 0,vertexSpace:e,spatialReference:c},d);if(!r)throw new Error("Failed to project");m=r}const T=m.length,[S,A,b]=y;for(let e=0;e<T;e+=3)m[e]-=S,m[e+1]-=A,m[e+2]-=b;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 M(e){P(e)}let v,k;function E(e){if(!k)return;const t=e.modifications,n=k._malloc(8*t.length),r=new Float64Array(k.HEAPU8.buffer,n,t.length);for(let e=0;e<t.length;++e)r[e]=t[e];k.setModifications(e.context,n,t.length,e.isGeodetic),k._free(n)}function C(e,t,n){const{context:r,globalTrafo:a,mbs:i,obbData:o,elevationOffset:s,geometryBuffer:l,geometryDescriptor:u,indexToVertexProjector:c,vertexToRenderProjector:d}=t,f=e._malloc(l.byteLength),h=e._malloc(33*Float64Array.BYTES_PER_ELEMENT),p=new Uint8Array(e.HEAPU8.buffer,f,l.byteLength);p.set(new Uint8Array(l));const y=new Float64Array(e.HEAPU8.buffer,h,33);L(y,[NaN,NaN,NaN],0);let T=3;L(y,a,T),T+=16,L(y,i.center,T),T+=3,y[T++]=i.radius,o&&L(y,o,T++);const S=u,A={isDraco:!1,isLegacy:!1,color:t.layouts.some(e=>e.some(e=>"color"===e.name)),normal:t.needNormals&&t.layouts.some(e=>e.some(e=>"normalCompressed"===e.name)),uv0:t.layouts.some(e=>e.some(e=>"uv0"===e.name)),uvRegion:t.layouts.some(e=>e.some(e=>"uvRegion"===e.name)),featureIndex:S.featureIndex},b=e.process(r,!!t.obbData,f,p.byteLength,S,A,h,s,c,d,t.normalReferenceFrame);if(e._free(h),e._free(f),b.error.length>0)throw new Error(`i3s.wasm: ${b.error}`);if(b.discarded)return null;const w=b.componentOffsets.length>0?b.componentOffsets.slice():null,M=b.featureIds.length>0?b.featureIds.slice():null,v=b.anchorIds.length>0?Array.from(b.anchorIds):null,k=b.anchors.length>0?Array.from(b.anchors):null,E=b.interleavedVertedData.slice().buffer,C=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(),_=b.positions.slice(),{buffer:x,byteOffset:P,byteLength:R}=b.positionIndices,I=1===b.positionIndicesType?new Uint16Array(x,P,R/2).slice():new Uint32Array(x,P,R/4).slice(),j=new m(t.layouts[0],E,C,b.hasColors,b.hasModifications,{data:_,indices:I});return M&&n.push(M.buffer),w&&n.push(w.buffer),n.push(E),n.push(C.buffer),n.push(_.buffer),n.push(I.buffer),new g(w,M,v,k,j,a,b.obb)}function _(e){return 0===e?0:1===e?1:2===e?2:3}function x(e){if(!k)return;const{context:t,buffer:n}=e,r=k._malloc(n.byteLength),a=n.byteLength/Float64Array.BYTES_PER_ELEMENT,i=new Float64Array(k.HEAPU8.buffer,r,a),o=new Float64Array(n);i.set(o),k.filterOBBs(t,r,a),o.set(i),k._free(r)}function P(e){k&&0===k.destroy(e)&&(k=null,v=null,c=null)}function L(e,t,n){for(let r=0;r<t.length;++r)e[r+n]=t[r]}async function R(){k||await I()}async function I(){return k||(k=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))),k}h.B,new d.A({deallocator:null}),(0,f.vt)();const j={transform:(e,t)=>k&&C(k,e,t),destroy:P}},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:()=>g,jd:()=>f,Tp:()=>h,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:g,7:null,9:null,10:g,1:M,6:null,8:null,0:null,3:y,11:T,2:g,4:_},5:{5:g,7:null,9:null,10:g,1:M,6:null,8:null,0:null,3:y,11:T,2:g,4:_},7:{5:null,7:g,9:null,10:g,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const a=e[t]/j,i=I-2*Math.atan(Math.exp(-e[t+1]/j)),o=j+(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:g,11:function(e,t,n,r){p(e,t,n,r),T(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),_(n,r,n,r)}},4:{5:x,7:null,9:null,10:x,1:function(e,t,n,r){x(e,t,n,r),M(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){x(e,t,n,r),T(n,r,n,r)},2:x,4:g},1:{5:C,7:null,9:null,10:C,1:g,6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),T(n,r,n,r)},2:C,4:function(e,t,n,r){C(e,t,n,r),_(n,r,n,r)}},6:{5:null,7:E,9:null,10:E,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:k,10:k,1:null,6:null,8:g,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:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:M,6:w,8:b,0:null,3:y,11:T,2:g,4:_},11:{5:S,7:null,9:null,10:S,1:function(e,t,n,r){S(e,t,n,r),M(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:g,2:S,4:function(e,t,n,r){S(e,t,n,r),_(n,r,n,r)}}};function f(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(P.source.spatialReference===e&&P.dest.spatialReference===t)return P;const n=m(e,P.source),r=m(t,P.dest);return 0===n&&0===r?(0,c.aI)(e,t)?P.projector=g:P.projector=null:P.projector=d[n][r],P}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 g(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=R*(e[t]/j),n[r+1]=R*(I-2*Math.atan(Math.exp(-e[t+1]/j))),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)(L*e[t+1],-o,o),l=Math.sin(s);n[a++]=L*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]*B,n[r+1]=e[t+1]*B,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=L*e[t],s=L*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 b(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 M(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++]=R*d,n[a++]=R*c,n[a]=u-i}function k(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function E(e,t,n,r){v(e,t,n,r,o.sH.radius)}function C(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=L*e[t],o=L*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 x(e,t,n,r){const a=u,i=e[t],s=e[t+1],l=e[t+2]??0;let c,d,f,h,m,g,p,y,T,S,A,b,w,M,v,k,E,C,_,x,P;c=Math.abs(l),d=i*i+s*s,f=Math.sqrt(d),h=d+l*l,m=Math.sqrt(h),x=Math.atan2(s,i),g=l*l/h,p=d/h,M=a.a2/m,v=a.a3-a.a4/m,p>.3?(y=c/m*(1+p*(a.a1+M+g*v)/m),_=Math.asin(y),S=y*y,T=Math.sqrt(1-S)):(T=f/m*(1-g*(a.a5-M-p*v)/m),_=Math.acos(T),S=1-T*T,y=Math.sqrt(S)),A=1-o.$O.eccentricitySquared*S,b=o.$O.radius/Math.sqrt(A),w=a.a6*b,M=f-b*T,v=c-w*y,E=T*M+y*v,k=T*v-y*M,C=k/(w/A+E),_+=C,P=E+k*C/2,l<0&&(_=-_),n[r++]=R*x,n[r++]=R*_,n[r]=P}const P={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},L=(0,r.kU)(1),R=(0,r.KJ)(1),I=.5*Math.PI,j=o.$O.radius,B=j*Math.PI/180,O=180/(j*Math.PI)},40876:(e,t,n)=>{n.d(t,{Eq:()=>h,G1:()=>g,TS:()=>i,Tf:()=>T,V6:()=>a,Vm:()=>m,ay:()=>l,c1:()=>p,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])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function h(e){let t=a(e)?i(e):null;return t??=d(e),t??=c(e),t}function m(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(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:()=>p,Cw:()=>m,JP:()=>g,Un:()=>h,ci:()=>s,fA:()=>i,o8:()=>a,uY:()=>f,vt:()=>r});const f=[0,0,0],h=l(),m=u(),g=c(),p=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:m,UNIT_Y:g,UNIT_Z:p,ZEROS:f,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())}},62815:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(86211),a=n(73941),i=n(21325);function o(e,t,n){if(null==t||null==n||n.vcsWkid||(0,i.aI)(t,n)||(0,a.xP)(t)||(0,a.xP)(n))return null;const o=(0,r.G9)(t)/(0,r.G9)(n);if(1===o)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return null}}},65806:(e,t,n)=>{n.d(t,{g:()=>o});var r=n(51850),a=n(91218),i=n(9762);function o(e,t,n){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 r=(0,a.tryProjectWithZConversion)(e,n);return!!r&&(t[0]=r.x,t[1]=r.y,t[2]=r.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)},73354:(e,t,n)=>{n.d(t,{a:()=>d,b:()=>s,c:()=>o,d:()=>a,e:()=>f,f:()=>c,l:()=>u,n:()=>h,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],f=n[8],h=n[9],m=n[10],g=n[12],p=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+f*A+g,e[S+1]=s*n+c*i+h*A+p,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],f=n[6],h=n[7],m=n[8];let g=0,p=0;for(let n=0;n<i;n++){const n=t[g],i=t[g+1],y=t[g+2];e[p]=o*n+u*i+f*y,e[p+1]=s*n+c*i+h*y,e[p+2]=l*n+d*i+m*y,g+=a,p+=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 f(e,t){h(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function h(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:h,normalizeView:f,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:()=>p,QC:()=>d,lR:()=>c,oQ:()=>m});var r=n(36563);let a;n(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return i??e??t??"en"}function l(){return void 0===a&&(a=s()),a}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function d(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const h=[];function m(e){return h.push(e),(0,r.hA)(()=>{h.splice(h.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,r.hA)(()=>g.splice(g.indexOf(e),1))}function y(){const e=s();a!==e&&([...g].forEach(t=>t(e)),a=e,[...h].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},91218:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>q,initializeProjection:()=>W,isEqualBaseGCS:()=>$,isLoaded:()=>P,isLoadedOrLoad:()=>L,isLoadedOrLoadFor:()=>R,load:()=>j,project:()=>B,projectExtent:()=>ne,projectMany:()=>O,projectMultipoint:()=>K,projectOrLoad:()=>U,projectOrLoadMany:()=>N,projectPoint:()=>H,projectPolygon:()=>ee,projectPolyline:()=>Q,projectWithZConversion:()=>F,projectWithoutEngine:()=>Y,requiresLoad:()=>I,test:()=>Z,tryProjectWithZConversion:()=>D,unload:()=>z});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),f=n(48526),h=n(86738),m=n(39829),g=n(82799),p=n(16930),y=n(159),T=n(9762),S=n(37539);function A(e,t,n,r,a,i){return b[0]=e,b[1]=t,b[2]=n,(0,T.projectBuffer)(b,r,0,a,i,0)}const b=(0,s.vt)();var w=n(21325),M=n(62815);let v=null,k=null,E=null,C=null,_={};const x=new o.I;function P(){return!!(k?.isLoaded()&&E?.isLoaded()&&C?.isLoaded())}function L(){return!!P()||((0,i.gc)(x),j(),!1)}function R(e,t){return!e||!t||q(e,t)||L()}function I(e,t){return!q(e,t)&&!P()}async function j(e){null==v&&(v=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(k=e,k.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(E=e,E.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(C=e,C.load()))])),await v,(0,a.Te)(e),x.notify()}function B(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),O(e,e[0].spatialReference,t,n)):((0,l.f)(e),O([e],e.spatialReference,t,n)[0])}function O(e,t,n,r){if(null==t||null==n)return e;if(q(t,n,r))return e.map(e=>Y(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return e.map(e=>Y(e,t,p.A.WGS84)).map(e=>D(e,n));if(null==r?.geographicTransformation&&(0,u.jA)(n))return e.map(e=>D(e,p.A.WGS84)).map(e=>Y(e,p.A.WGS84,n));if(!P())throw new G;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:C.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=_[e];a||(a=C.getTransformation(t,n)||new y.A,_[e]=a),r={geographicTransformation:a}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?k.executeMany(e,n,r):E.executeMany(e,n,r)}function U(e,t){const n=N([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 N(e,t){if(!P())for(const n of e)if(null!=n&&!(0,w.aI)(n.spatialReference,t)&&(0,w.fn)(n.spatialReference)&&(0,w.fn)(t)&&!q(n.spatialReference,t))return(0,i.gc)(x),{pending:j(),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)?D(e,t):null)}}class G extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){v=null,k=null,E=null,C=null,_={}}const Z={get loadPromise(){return v}};function D(e,t){try{const n=B(e,t);if(null==n)return null;"xmin"in e&&"xmin"in n&&(n.zmin=e.zmin,n.zmax=e.zmax);const r=(0,M.N)(n.type,e.spatialReference,t);return null!=r&&r(n),n}catch(e){if(!(e instanceof G))throw e;return null}}async function F(e,t,n){const r=e.spatialReference;return null!=r&&null!=t&&await W(r,t,null,n),D(e,t)}function q(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 $(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 W(e,t,n,r){if(P())return(0,a.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:a}of e)if(t&&n&&!q(t,n,a))return j(r)}else if(e&&t&&!q(e,t,n))return j(r);return(0,a.NO)(r)}function Y(e,t,n){return e?"x"in e?V(e,t,new h.A,n,0):"xmin"in e?re(e,t,new c.A,n,0):"rings"in e?te(e,t,new m.A,n,0):"paths"in e?X(e,t,new g.A,n,0):"points"in e?J(e,t,new f.A,n,0):null:null}function H(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=V(e,e.spatialReference,t,n,r)}function V(e,t,n,r,a){ie[0]=e.x,ie[1]=e.y;const i=e.z;return ie[2]=void 0!==i?i:a,(0,T.projectBuffer)(ie,t,0,ie,r,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ie[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 K(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=J(e,e.spatialReference,t,n,r)}function J(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 f=o||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=d[t],r=d[t+1];f&&s?l.push([n,r,d[t+2],i[e][3]]):f?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 Q(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(!ae(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 ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,a){const{rings:i,hasZ:o,hasM:s}=e,l=[];if(!ae(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 ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,a){const{xmin:i,ymin:o,xmax:s,ymax:l,hasZ:c,hasM:d}=e;if(!A(i,o,c?e.zmin:a,t,ie,r))return null;const f=c||(0,u.xP)(r);return n.xmin=ie[0],n.ymin=ie[1],f&&(n.zmin=ie[2]),A(s,l,c?e.zmax:a,t,ie,r)?(n.xmax=ie[0],n.ymax=ie[1],f&&(n.zmax=ie[2]),d&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function ae(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 ie=(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:()=>R,F8:()=>L,J2:()=>C,Yq:()=>x,_m:()=>_,_v:()=>A,iS:()=>P,wj:()=>I});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"},f={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},g={...m,second:"numeric"},p={hourCycle:"h23"},y={...m,...p},T={...g,...p},S={"short-date":c,"short-date-short-time":{...c,...m},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...g},"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,...g},"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,...g},"long-month-day-year-long-time-24":{...d,...T},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...m},"day-short-month-year-short-time-24":{...f,...y},"day-short-month-year-long-time":{...f,...g},"day-short-month-year-long-time-24":{...f,...T},"long-date":h,"long-date-short-time":{...h,...m},"long-date-short-time-24":{...h,...y},"long-date-long-time":{...h,...g},"long-date-long-time-24":{...h,...T},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":g},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"}),b={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},w=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),M=w.find(({type:e})=>"month"===e)?.value.toLowerCase();function v(){const e=(0,a.lR)();return(e&&b[e])??(0,a.QC)()}"mart"!==M&&(b.bs="sr-Latn-CS");let k=new WeakMap;const E=S["short-date-short-time"];function C(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 x(e,t=E){return function(e){let t=k.get(e);if(!t){const n=v(),r=I(e.timeZone??i.qU),a={...e,timeZone:r};t=new Intl.DateTimeFormat(n,a),k.set(e,t)}return t}(t).format(e)}function P(e,t=E){return x(new Date(e),{...t,...u,...l})}function L(e,t=E){return x(new Date(`1970-01-01T${e}Z`),{...t,...u,...s})}function R(e,t=E){if(t.timeZone)return x(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 I(e){switch(e){case i.qU:return i.N5;case i.L5:return i.n$;default:return e}}S["short-date"],(0,a.Ml)(()=>{k=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)}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5845],{159:(n,t,e)=>{e.d(t,{A:()=>s});var r,o=e(31635),i=e(69622),l=e(91429),a=e(99157);let s=r=class extends i.A{constructor(n){super(n),this.steps=[]}getInverse(){const n=new r;for(let t=this.steps.length-1;t>=0;t--){const e=this.steps[t];n.steps.push(e.getInverse())}return n}};(0,o.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,o.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},9093:(n,t,e)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(n){return[n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]]}e.d(t,{o8:()=>o,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:o,create:r,fromValues:function(n,t,e,r,o,i,l,a,s,u,c,f,h,p,d,m){return[n,t,e,r,o,i,l,a,s,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762:(n,t,e)=>{e.r(t),e.d(t,{projectBuffer:()=>o});var r=e(37539);function o(n,t,e,o,i,l,a=Math.floor(n.length/3)){const s=(0,r.jd)(t,i);if(null==s)return!1;if(s===r.pO){if(n===o&&e===l)return!0;const t=e+3*a;for(let r=e,i=l;r<t;r++,i++)o[i]=n[r]??0;return!0}const u=e+3*a;for(let t=e,r=l;t<u;t+=3,r+=3)s(n,t,o,r);return!0}},11006:(n,t,e)=>{function r(n,t,e,r,i){o(n,t,e||0,r||n.length-1,i||l)}function o(n,t,e,r,l){for(;r>e;){if(r-e>600){var a=r-e+1,s=t-e+1,u=Math.log(a),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(a-c)/a)*(s-a/2<0?-1:1);o(n,t,Math.max(e,Math.floor(t-s*c/a+f)),Math.min(r,Math.floor(t+(a-s)*c/a+f)),l)}var h=n[t],p=e,d=r;for(i(n,e,t),l(n[r],h)>0&&i(n,e,r);p<d;){for(i(n,p,d),p++,d--;l(n[p],h)<0;)p++;for(;l(n[d],h)>0;)d--}0===l(n[e],h)?i(n,e,d):i(n,++d,r),d<=t&&(e=d+1),t<=d&&(r=d-1)}}function i(n,t,e){var r=n[t];n[t]=n[e],n[e]=r}function l(n,t){return n<t?-1:n>t?1:0}e.d(t,{q:()=>r})},18251:(n,t,e)=>{e.d(t,{A:()=>u});var r=e(31635),o=e(69540),i=e(25482),l=e(91429),a=e(51850),s=e(93223);let u=class extends((0,o.OU)(i.o)){constructor(n){super(n),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,s.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,l.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},22141:(n,t,e)=>{e.d(t,{$5:()=>b,CN:()=>M,JP:()=>y,KM:()=>A,Mv:()=>S,X4:()=>x,gr:()=>v,qs:()=>_,si:()=>w,xA:()=>R});var r=e(34727),o=e(77690),i=e(29242),l=e(58083),a=e(9093),s=e(38954),u=e(51850),c=e(48353),f=e(9762),h=(e(79258),e(21325)),p=e(28735),d=e(13030),m=e(73354),g=e(65686);const y="Projection may be possible after calling projection.load().";function M(n,t,e,r){n.error(`Failed to project from (wkid:${t.wkid}) to (wkid:${e.wkid}).${r?" ":""}${r}`)}function x(n,t,e,r,o,i){return B(0,d.xs.fromTypedArray(n),0,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function w(n,t,e,r,o,i){return B(1,d.xs.fromTypedArray(n),0,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function v(n,t,e,r){return(0,f.projectBuffer)(n,t,0,e,r,0)?e:null}function b(n,t,e,r){return(0,f.projectBuffer)(n,t,0,e,r,0)?e:null}function _(n,t,e){return(0,o.Ge)(O,e),(0,m.b)(t,n,O),(0,r.or)(O)&&(0,m.n)(t,t),t}function A(n,t,e){return(0,o.z0)(O,e),(0,g.t)(t,n,O),(0,r.or)(O)&&(0,m.n)(t,t,4),t}function R(n,t,e,r,o,i){if(!B(0,d.xs.fromTypedArray(n,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let t=3;t<n.length;t+=4)i[t]=n[t];return i}function S(n,t,e,r,o,i){if(!B(1,d.xs.fromTypedArray(n,16),1,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,16)))return null;for(let t=3;t<n.length;t+=4)i[t]=n[t];return i}function k(n,t,e,r,i){switch((0,c.l)(r,e,T,r),1===n&&(0,l.B8)(T,T),t){case 0:return(0,o.Ge)(i,T);case 1:return(0,o.z0)(i,T)}}function B(n,t,e,r,o,i,l,a){if(!t)return;const u=r.count;if(function(n){return n.isWGS84||(0,h.x1)(n)||(0,h.q8)(n)||(0,h.KQ)(n)}(o))for(let r=0;r<u;r++)i.getVec(r,j),t.getVec(r,I),(0,s.t)(I,I,k(n,e,j,l,O)),a.setVec(r,I);else for(let o=0;o<u;o++){i.getVec(o,j),t.getVec(o,I);const u=(0,p.jg)(r.get(o,1));let c=Math.cos(u);1===e!=(0===n)&&(c=1/c),k(n,e,j,l,O),0===n?(O[0]*=c,O[1]*=c,O[2]*=c,O[3]*=c,O[4]*=c,O[5]*=c):(O[0]*=c,O[3]*=c,O[6]*=c,O[1]*=c,O[4]*=c,O[7]*=c),(0,s.t)(I,I,O),(0,s.n)(I,I),a.setVec(o,I)}return a}const j=(0,u.vt)(),I=(0,u.vt)(),T=(0,a.vt)(),O=(0,i.vt)()},27615:(n,t,e)=>{e.d(t,{CK:()=>s,Hq:()=>a,MW:()=>u,TE:()=>c,yJ:()=>f});var r=e(38954),o=e(86738),i=e(95696),l=e(18251);function a(n){return null!=n.origin}function s(n){return a(n.vertexSpace)}function u(n,t){if(!a(n))return null;const[e,r,i]=n.origin;return new o.A({x:e,y:r,z:i,spatialReference:t})}function c(n,t){const{x:e,y:r,z:o,spatialReference:a}=n,s=[e,r,o??0];return"local"===(t?.vertexSpace??function(n){return n.isGeographic||n.isWebMercator?"local":"georeferenced"}(a))?new l.A({origin:s}):new i.A({origin:s})}function f(n,t){return n.type===t.type&&(n.origin===t.origin||null!=n.origin&&null!=t.origin&&(0,r.m)(n.origin,t.origin))}},31635:(n,t,e)=>{function r(n,t,e,r){var o,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(n,t,e,r);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(l=(i<3?o(l):i>3?o(t,e,l):o(t,e))||l);return i>3&&l&&Object.defineProperty(t,e,l),l}function o(n,t,e){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],e&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(n){return Promise.reject(n)}}),n.stack.push({value:t,dispose:r,async:e})}else e&&n.stack.push({async:!0});return t}e.d(t,{Cg:()=>r,hk:()=>l,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(n,t,e){var r=new Error(e);return r.name="SuppressedError",r.error=n,r.suppressed=t,r};function l(n){function t(t){n.error=n.hasError?new i(t,n.error,"An error was suppressed during disposal."):t,n.hasError=!0}var e,r=0;return function o(){for(;e=n.stack.pop();)try{if(!e.async&&1===r)return r=0,n.stack.push(e),Promise.resolve().then(o);if(e.dispose){var i=e.dispose.call(e.value);if(e.async)return r|=2,Promise.resolve(i).then(o,function(n){return t(n),o()})}else r|=1}catch(n){t(n)}if(1===r)return n.hasError?Promise.reject(n.error):Promise.resolve();if(n.hasError)throw n.error}()}},37539:(n,t,e)=>{e.d(t,{pO:()=>m,jd:()=>h,Tp:()=>p,w5:()=>f});var r=e(34727),o=e(86211),i=e(73941),l=e(79258);Math.PI;const a=l.$O.radius,s=l.$O.eccentricitySquared,u={a1:a*s,a2:a*s*a*s,a3:a*s*s/2,a4:a*s*a*s*2.5,a5:a*s+a*s*s/2,a6:1-s};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var c=e(21325);const f={2:{5:m,7:null,9:null,10:m,1:_,6:null,8:null,0:null,3:y,11:M,2:m,4:B},5:{5:m,7:null,9:null,10:m,1:_,6:null,8:null,0:null,3:y,11:M,2:m,4:B},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(n,t,e,r){const o=n[t]/Y,i=X-2*Math.atan(Math.exp(-n[t+1]/Y)),l=Y+(n[t+2]??0),a=Math.cos(i)*l;e[r]=Math.cos(o)*a,e[r+1]=Math.sin(o)*a,e[r+2]=Math.sin(i)*l},6:null,8:null,0:null,3:m,11:function(n,t,e,r){g(n,t,e,r),M(e,r,e,r)},2:g,4:function(n,t,e,r){g(n,t,e,r),B(e,r,e,r)}},4:{5:j,7:null,9:null,10:j,1:function(n,t,e,r){j(n,t,e,r),_(e,r,e,r)},6:null,8:null,0:null,3:function(n,t,e,r){j(n,t,e,r),y(e,r,e,r)},11:function(n,t,e,r){j(n,t,e,r),M(e,r,e,r)},2:j,4:m},1:{5:k,7:null,9:null,10:k,1:m,6:null,8:null,0:null,3:function(n,t,e,r){k(n,t,e,r),y(e,r,e,r)},11:function(n,t,e,r){k(n,t,e,r),M(e,r,e,r)},2:k,4:function(n,t,e,r){k(n,t,e,r),B(e,r,e,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:_,6:b,8:v,0:null,3:y,11:M,2:m,4:B},11:{5:x,7:null,9:null,10:x,1:function(n,t,e,r){x(n,t,e,r),_(e,r,e,r)},6:null,8:null,0:null,3:function(n,t,e,r){x(n,t,e,r),y(e,r,e,r)},11:m,2:x,4:function(n,t,e,r){x(n,t,e,r),B(e,r,e,r)}}};function h(n,t){return p(n,t)?.projector}function p(n,t){if(null==n||null==t)return null;if(I.source.spatialReference===n&&I.dest.spatialReference===t)return I;const e=d(n,I.source),r=d(t,I.dest);return 0===e&&0===r?(0,c.aI)(n,t)?I.projector=m:I.projector=null:I.projector=f[e][r],I}function d(n,t){return n?t.spatialReference===n?t.spatialReferenceId:(t.spatialReference=n,"metersPerUnit"in t&&(t.metersPerUnit=(0,o.GA)(n,1)),(0,i.jA)(n)?t.spatialReferenceId=1:(0,c.oT)(n)?t.spatialReferenceId=2:(0,c.K8)(n)?t.spatialReferenceId=3:(0,c.r1)(n)?t.spatialReferenceId=11:n.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===n.wkid?t.spatialReferenceId=5:n.wkt===i.FY.wkt?t.spatialReferenceId=6:n.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(n)?t.spatialReferenceId=7:(0,c.KQ)(n)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(n,t,e,r){n!==e&&(e[r++]=n[t++],e[r++]=n[t++],e[r]=n[t]??0)}function g(n,t,e,r){e[r]=O*(n[t]/Y),e[r+1]=O*(X-2*Math.atan(Math.exp(-n[t+1]/Y))),e[r+2]=n[t+2]??0}function y(n,t,e,o){!function(n,t,e,o,i){const l=.4999999*Math.PI,a=(0,r.qE)(T*n[t+1],-l,l),s=Math.sin(a);e[o++]=T*n[t]*i.radius,e[o++]=i.halfSemiMajorAxis*Math.log((1+s)/(1-s)),e[o]=n[t+2]??0}(n,t,e,o,l.$O)}function M(n,t,e,r){e[r]=n[t]*q,e[r+1]=n[t+1]*q,e[r+2]=n[t+2]??0}function x(n,t,e,r){e[r]=n[t]*P,e[r+1]=n[t+1]*P,e[r+2]=n[t+2]??0}function w(n,t,e,r,o){const i=o+(n[t+2]??0),l=T*n[t],a=T*n[t+1],s=Math.cos(a)*i;e[r]=Math.cos(l)*s,e[r+1]=Math.sin(l)*s,e[r+2]=Math.sin(a)*i}function v(n,t,e,r){w(n,t,e,r,l.Sw.radius)}function b(n,t,e,r){w(n,t,e,r,l.sH.radius)}function _(n,t,e,r){w(n,t,e,r,l.$O.radius)}function A(n,t,e,o,i){const l=n[t],a=n[t+1],s=n[t+2]??0,u=Math.sqrt(l*l+a*a+s*s),c=(0,r.YN)(s/(0===u?1:u)),f=Math.atan2(a,l);e[o++]=O*f,e[o++]=O*c,e[o]=u-i}function R(n,t,e,r){A(n,t,e,r,l.Sw.radius)}function S(n,t,e,r){A(n,t,e,r,l.sH.radius)}function k(n,t,e,r){A(n,t,e,r,l.$O.radius)}function B(n,t,e,r){!function(n,t,e,r,o){const i=T*n[t],l=T*n[t+1],a=n[t+2]??0,s=Math.sin(l),u=Math.cos(l),c=o.radius/Math.sqrt(1-o.eccentricitySquared*s*s);e[r++]=(c+a)*u*Math.cos(i),e[r++]=(c+a)*u*Math.sin(i),e[r++]=(c*(1-o.eccentricitySquared)+a)*s}(n,t,e,r,l.$O)}function j(n,t,e,r){const o=u,i=n[t],a=n[t+1],s=n[t+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,_,A,R,S,k,B,j,I;c=Math.abs(s),f=i*i+a*a,h=Math.sqrt(f),p=f+s*s,d=Math.sqrt(p),j=Math.atan2(a,i),m=s*s/p,g=f/p,_=o.a2/d,A=o.a3-o.a4/d,g>.3?(y=c/d*(1+g*(o.a1+_+m*A)/d),B=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(o.a5-_-g*A)/d),B=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-l.$O.eccentricitySquared*x,v=l.$O.radius/Math.sqrt(w),b=o.a6*v,_=h-v*M,A=c-b*y,S=M*_+y*A,R=M*A-y*_,k=R/(b/w+S),B+=k,I=S+R*k/2,s<0&&(B=-B),e[r++]=O*j,e[r++]=O*B,e[r]=I}const I={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},T=(0,r.kU)(1),O=(0,r.KJ)(1),X=.5*Math.PI,Y=l.$O.radius,q=Y*Math.PI/180,P=180/(Y*Math.PI)},38419:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(44208),o=e(75503),i=e(95696),l=e(72258);class a{async createIndex(n,t){const e=new Array;if(!n.vertexAttributes?.position)return new o.wq;const r=function(n){const{vertexAttributes:{position:t},vertexSpace:e,spatialReference:r,transform:o}=n,a=(0,l.UR)({vertexAttributes:{position:t},vertexSpace:e,spatialReference:r,transform:o},i.A.absolute,{allowBufferReuse:!0})?.position;return a?!n.components||n.components.some(n=>!n.faces)?{position:a.buffer}:{position:a.buffer,components:n.components.map(n=>n.faces)}:null}(n),a=null!=t?await t.invoke("createIndexThread",r,{transferList:e}):this.createIndexThread(r).result;return s().fromJSON(a)}createIndexThread(n){const t=s();if(!n)return{result:t.toJSON()};const e=new Float64Array(n.position);return n.components?function(n,t,e){let r=0;for(const n of e)r+=n.length/3;const o=new Array(r);let i=0;for(const n of e)for(let e=0;e<n.length;e+=3)o[i++]=u(t,3*n[e],3*n[e+1],3*n[e+2]);return n.load(o),{result:n.toJSON()}}(t,e,n.components.map(n=>new Uint32Array(n))):function(n,t){const e=new Array(t.length/9);let r=0;for(let n=0;n<t.length;n+=9)e[r++]=u(t,n,n+3,n+6);return n.load(e),{result:n.toJSON()}}(t,e)}}function s(){return new o.wq(9,(0,r.A)("esri-csp-restrictions")?n=>n:[".minX",".minY",".maxX",".maxY"])}function u(n,t,e,r){return{minX:Math.min(n[t],n[e],n[r]),maxX:Math.max(n[t],n[e],n[r]),minY:Math.min(n[t+1],n[e+1],n[r+1]),maxY:Math.max(n[t+1],n[e+1],n[r+1]),p0:[n[t],n[t+1],n[t+2]],p1:[n[e],n[e+1],n[e+2]],p2:[n[r],n[r+1],n[r+2]]}}},38954:(n,t,e)=>{e.d(t,{A:()=>c,B:()=>f,C:()=>M,D:()=>Y,E:()=>w,F:()=>X,G:()=>E,H:()=>z,a:()=>q,b:()=>i,c:()=>y,d:()=>l,e:()=>u,f:()=>R,g:()=>A,h:()=>a,i:()=>s,j:()=>g,l:()=>S,m:()=>O,n:()=>_,o:()=>b,p:()=>k,q:()=>v,r:()=>j,s:()=>x,t:()=>B,u:()=>h,v:()=>N,w:()=>F,x:()=>m,y:()=>d,z:()=>p});var r=e(51850),o=e(34304);function i(n){const t=n[0],e=n[1],r=n[2];return Math.sqrt(t*t+e*e+r*r)}function l(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function a(n,t,e,r){return n[0]=t,n[1]=e,n[2]=r,n}function s(n,t,e){return n[0]=t[0]+e[0],n[1]=t[1]+e[1],n[2]=t[2]+e[2],n}function u(n,t,e){return n[0]=t[0]-e[0],n[1]=t[1]-e[1],n[2]=t[2]-e[2],n}function c(n,t,e){return n[0]=t[0]*e[0],n[1]=t[1]*e[1],n[2]=t[2]*e[2],n}function f(n,t,e){return n[0]=t[0]/e[0],n[1]=t[1]/e[1],n[2]=t[2]/e[2],n}function h(n,t){return n[0]=Math.abs(t[0]),n[1]=Math.abs(t[1]),n[2]=Math.abs(t[2]),n}function p(n,t){return n[0]=Math.sign(t[0]),n[1]=Math.sign(t[1]),n[2]=Math.sign(t[2]),n}function d(n,t,e){return n[0]=Math.min(t[0],e[0]),n[1]=Math.min(t[1],e[1]),n[2]=Math.min(t[2],e[2]),n}function m(n,t,e){return n[0]=Math.max(t[0],e[0]),n[1]=Math.max(t[1],e[1]),n[2]=Math.max(t[2],e[2]),n}function g(n,t,e){return n[0]=t[0]*e,n[1]=t[1]*e,n[2]=t[2]*e,n}function y(n,t,e,r){return n[0]=t[0]+e[0]*r,n[1]=t[1]+e[1]*r,n[2]=t[2]+e[2]*r,n}function M(n,t){const e=t[0]-n[0],r=t[1]-n[1],o=t[2]-n[2];return Math.sqrt(e*e+r*r+o*o)}function x(n,t){const e=t[0]-n[0],r=t[1]-n[1],o=t[2]-n[2];return e*e+r*r+o*o}function w(n){const t=n[0],e=n[1],r=n[2];return t*t+e*e+r*r}function v(n,t){return n[0]=-t[0],n[1]=-t[1],n[2]=-t[2],n}function b(n,t){return n[0]=1/t[0],n[1]=1/t[1],n[2]=1/t[2],n}function _(n,t){const e=t[0],r=t[1],o=t[2];let i=e*e+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),n[0]=t[0]*i,n[1]=t[1]*i,n[2]=t[2]*i),n}function A(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function R(n,t,e){const r=t[0],o=t[1],i=t[2],l=e[0],a=e[1],s=e[2];return n[0]=o*s-i*a,n[1]=i*l-r*s,n[2]=r*a-o*l,n}function S(n,t,e,r){const o=t[0],i=t[1],l=t[2];return n[0]=o+r*(e[0]-o),n[1]=i+r*(e[1]-i),n[2]=l+r*(e[2]-l),n}function k(n,t,e){const r=t[0],o=t[1],i=t[2];return n[0]=e[0]*r+e[4]*o+e[8]*i+e[12],n[1]=e[1]*r+e[5]*o+e[9]*i+e[13],n[2]=e[2]*r+e[6]*o+e[10]*i+e[14],n}function B(n,t,e){const r=t[0],o=t[1],i=t[2];return n[0]=r*e[0]+o*e[3]+i*e[6],n[1]=r*e[1]+o*e[4]+i*e[7],n[2]=r*e[2]+o*e[5]+i*e[8],n}function j(n,t,e){const r=e[0],o=e[1],i=e[2],l=e[3],a=t[0],s=t[1],u=t[2],c=o*u-i*s,f=i*a-r*u,h=r*s-o*a,p=o*h-i*f,d=i*c-r*h,m=r*f-o*c,g=2*l;return n[0]=a+c*g+2*p,n[1]=s+f*g+2*d,n[2]=u+h*g+2*m,n}const I=(0,r.vt)(),T=(0,r.vt)();function O(n,t){return n[0]===t[0]&&n[1]===t[1]&&n[2]===t[2]}function X(n,t){if(n===t)return!0;const e=n[0],r=n[1],i=n[2],l=t[0],a=t[1],s=t[2],u=(0,o.FD)();return Math.abs(e-l)<=u*Math.max(1,Math.abs(e),Math.abs(l))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=u*Math.max(1,Math.abs(i),Math.abs(s))}function Y(n,t,e){const r=e[0]-t[0],o=e[1]-t[1],i=e[2]-t[2];let l=r*r+o*o+i*i;return l>0?(l=1/Math.sqrt(l),n[0]=r*l,n[1]=o*l,n[2]=i*l,n):(n[0]=0,n[1]=0,n[2]=0,n)}const q=u,P=c,C=f,E=M,N=x,z=i,F=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:function(n,t){_(I,n),_(T,t);const e=A(I,T);return e>1?0:e<-1?Math.PI:Math.acos(e)},bezier:function(n,t,e,r,o,i){const l=1-i,a=l*l,s=i*i,u=a*l,c=3*i*a,f=3*s*l,h=s*i;return n[0]=t[0]*u+e[0]*c+r[0]*f+o[0]*h,n[1]=t[1]*u+e[1]*c+r[1]*f+o[1]*h,n[2]=t[2]*u+e[2]*c+r[2]*f+o[2]*h,n},ceil:function(n,t){return n[0]=Math.ceil(t[0]),n[1]=Math.ceil(t[1]),n[2]=Math.ceil(t[2]),n},clamp:function(n,t=0,e=1){return n[0]=Math.min(Math.max(n[0],t),e),n[1]=Math.min(Math.max(n[1],t),e),n[2]=Math.min(Math.max(n[2],t),e),n},copy:l,cross:R,crossAndNormalize:function(n,t,e){const r=t[0],o=t[1],i=t[2],l=e[0],a=e[1],s=e[2],u=o*s-i*a,c=i*l-r*s,f=r*a-o*l,h=Math.sqrt(u*u+c*c+f*f);return n[0]=u/h,n[1]=c/h,n[2]=f/h,n},direction:Y,dist:E,distance:M,div:C,divide:f,dot:A,equals:X,exactEquals:O,floor:function(n,t){return n[0]=Math.floor(t[0]),n[1]=Math.floor(t[1]),n[2]=Math.floor(t[2]),n},hermite:function(n,t,e,r,o,i){const l=i*i,a=l*(2*i-3)+1,s=l*(i-2)+i,u=l*(i-1),c=l*(3-2*i);return n[0]=t[0]*a+e[0]*s+r[0]*u+o[0]*c,n[1]=t[1]*a+e[1]*s+r[1]*u+o[1]*c,n[2]=t[2]*a+e[2]*s+r[2]*u+o[2]*c,n},inverse:b,len:z,length:i,lerp:S,max:m,min:d,mul:P,multiply:c,negate:v,normalize:_,random:function(n,t=1){const e=o.Ov,r=2*e()*Math.PI,i=2*e()-1,l=Math.sqrt(1-i*i)*t;return n[0]=Math.cos(r)*l,n[1]=Math.sin(r)*l,n[2]=i*t,n},rotateX:function(n,t,e,r){const o=[],i=[];return o[0]=t[0]-e[0],o[1]=t[1]-e[1],o[2]=t[2]-e[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),n[0]=i[0]+e[0],n[1]=i[1]+e[1],n[2]=i[2]+e[2],n},rotateY:function(n,t,e,r){const o=[],i=[];return o[0]=t[0]-e[0],o[1]=t[1]-e[1],o[2]=t[2]-e[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),n[0]=i[0]+e[0],n[1]=i[1]+e[1],n[2]=i[2]+e[2],n},rotateZ:function(n,t,e,r){const o=[],i=[];return o[0]=t[0]-e[0],o[1]=t[1]-e[1],o[2]=t[2]-e[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],n[0]=i[0]+e[0],n[1]=i[1]+e[1],n[2]=i[2]+e[2],n},round:function(n,t){return n[0]=Math.round(t[0]),n[1]=Math.round(t[1]),n[2]=Math.round(t[2]),n},scale:g,scaleAndAdd:y,set:a,sign:p,sqrDist:N,sqrLen:F,squaredDistance:x,squaredLength:w,str:function(n){return"vec3("+n[0]+", "+n[1]+", "+n[2]+")"},sub:q,subtract:u,transformMat3:B,transformMat4:k,transformQuat:j},Symbol.toStringTag,{value:"Module"}))},40876:(n,t,e)=>{e.d(t,{Eq:()=>p,G1:()=>m,TS:()=>i,Tf:()=>M,V6:()=>o,Vm:()=>d,ay:()=>s,c1:()=>g,c4:()=>l,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function o(n){return!!r[n]||!!r[n.toLowerCase()]}function i(n){return r[n]??r[n.toLowerCase()]}function l(n){return[...i(n)]}function a(n,t,e){e<0&&++e,e>1&&--e;const r=6*e;return r<1?n+(t-n)*r:2*e<1?t:3*e<2?n+(t-n)*(2/3-e)*6:n}function s(n,t,e,r=1){const o=(n%360+360)%360/360,i=e<=.5?e*(t+1):e+t-e*t,l=2*e-i;return[Math.round(255*a(l,i,o+1/3)),Math.round(255*a(l,i,o)),Math.round(255*a(l,i,o-1/3)),r]}function u(n){const t=n.length>5,e=t?8:4,r=(1<<e)-1,o=t?1:17,i=t?9===n.length:5===n.length;let l=Number("0x"+n.slice(1));if(isNaN(l))return null;const a=[0,0,0,1];let s;return i&&(s=l&r,l>>=e,a[3]=o*s/255),s=l&r,l>>=e,a[2]=o*s,s=l&r,l>>=e,a[1]=o*s,s=l&r,l>>=e,a[0]=o*s,a}function c(n){if(!n.startsWith("#")||isNaN(Number(`0x${n.slice(1)}`)))return null;switch(n.length){case 4:case 5:{const t=parseInt(n.slice(1,2),16),e=parseInt(n.slice(2,3),16),r=parseInt(n.slice(3,4),16),o=4===n.length?15:parseInt(n.slice(4),16);return[t+16*t,e+16*e,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(n.slice(1,3),16),parseInt(n.slice(3,5),16),parseInt(n.slice(5,7),16),(7===n.length?255:parseInt(n.slice(7),16))/255];default:return null}}function f(n){const t=n.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const n=t[2].split(/\s*,\s*/),e=t[1];if("rgb"===e&&3===n.length||"rgba"===e&&4===n.length){if(n[0].endsWith("%")){const t=n.map(n=>2.56*parseFloat(n));return 4===n.length&&(t[3]=parseFloat(n[3])),h(t)}return h(n.map(n=>parseFloat(n)))}if("hsl"===e&&3===n.length||"hsla"===e&&4===n.length)return s(parseFloat(n[0]),parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3]??"1"))}return null}function h(n){return n[0]=g(n[0]),n[1]=g(n[1]),n[2]=g(n[2]),n[3]=4===n.length?m(n[3]):1,n}function p(n){let t=o(n)?i(n):null;return t??=f(n),t??=c(n),t}function d(n){const t=p(n);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(n){return y(n,0,1)}function g(n){return Math.round(y(n,0,255))}function y(n,t,e){return n=Number(n),isNaN(n)?e:n<t?t:n>e?e:n}const M=2.2,x=1/M;function w(n){return n**x}},48163:(n,t,e)=>{function r(){return[0,0]}function o(n){return[n[0],n[1]]}function i(n,t){return[n,t]}function l(){return i(1,1)}function a(){return i(1,0)}function s(){return i(0,1)}e.d(t,{Un:()=>u,fA:()=>i,o8:()=>o,vt:()=>r});const u=l(),c=a(),f=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:o,create:r,freeze:function(n,t){return[n,t]},fromArray:function(n,t=[0,0]){const e=Math.min(2,n.length);for(let r=0;r<e;++r)t[r]=n[r];return t},fromValues:i,ones:l,unitX:a,unitY:s,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(n,t,e)=>{e.d(t,{l:()=>u});var r=e(34727),o=e(58083),i=e(51850);function l(n,t,e){const r=Math.sin(n),o=Math.cos(n),i=Math.sin(t),l=Math.cos(t),a=e;return a[0]=-r,a[4]=-i*o,a[8]=l*o,a[12]=0,a[1]=o,a[5]=-i*r,a[9]=l*r,a[13]=0,a[2]=0,a[6]=l,a[10]=i,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=e(37539),s=e(21325);function u(n,t,e,r){const i=(0,a.Tp)(n,r);if(null==i)return!1;const u=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,s.aI)(n,r)))return(0,o.kN)(e,t),!0;if(c(d)){const n=a.w5[u][10],r=a.w5[10][d];return null!=n&&null!=r&&(n(t,0,h,0),r(h,0,p,0),l(f*h[0],f*h[1],e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const n=a.w5[u][10],r=a.w5[10][d];return null!=n&&null!=r&&(n(t,0,h,0),r(h,0,p,0),m?function(n,t,e){l(n,t,e),(0,o.mg)(e,e)}(f*h[0],f*h[1],e):(0,o.D_)(e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}return!1}function c(n){return 1===n||6===n||8===n||4===n}const f=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},51850:(n,t,e)=>{function r(){return[0,0,0]}function o(n){return[n[0],n[1],n[2]]}function i(n,t,e){return[n,t,e]}function l(n,t,e){return[n,t,e]}function a(n,t=[0,0,0]){const e=Math.min(3,n.length);for(let r=0;r<e;++r)t[r]=n[r];return t}function s(){return i(1,1,1)}function u(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}e.d(t,{CN:()=>l,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>a,fA:()=>i,o8:()=>o,uY:()=>h,vt:()=>r});const h=[0,0,0],p=s(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:o,create:r,freeze:l,fromArray:a,fromValues:i,ones:s,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},62815:(n,t,e)=>{e.d(t,{N:()=>l});var r=e(86211),o=e(73941),i=e(21325);function l(n,t,e){if(null==t||null==e||e.vcsWkid||(0,i.aI)(t,e)||(0,o.xP)(t)||(0,o.xP)(e))return null;const l=(0,r.G9)(t)/(0,r.G9)(e);if(1===l)return null;switch(n){case"point":case"esriGeometryPoint":return n=>function(n,t){null!=n?.z&&(n.z*=t)}(n,l);case"polyline":case"esriGeometryPolyline":return n=>function(n,t){if(n)for(const e of n.paths)for(const n of e)n.length>2&&(n[2]*=t)}(n,l);case"polygon":case"esriGeometryPolygon":return n=>function(n,t){if(n)for(const e of n.rings)for(const n of e)n.length>2&&(n[2]*=t)}(n,l);case"multipoint":case"esriGeometryMultipoint":return n=>function(n,t){if(n)for(const e of n.points)e.length>2&&(e[2]*=t)}(n,l);case"extent":case"esriGeometryEnvelope":return n=>function(n,t){n&&null!=n.zmin&&null!=n.zmax&&(n.zmin*=t,n.zmax*=t)}(n,l);default:return null}}},65806:(n,t,e)=>{e.d(t,{g:()=>l});var r=e(51850),o=e(91218),i=e(9762);function l(n,t,e){if((0,o.canProjectWithoutEngine)(n.spatialReference,e))return a[0]=n.x,a[1]=n.y,a[2]=n.z??0,(0,i.projectBuffer)(a,n.spatialReference,0,t,e,0);const r=(0,o.tryProjectWithZConversion)(n,e);return!!r&&(t[0]=r.x,t[1]=r.y,t[2]=r.z??0,!0)}const a=(0,r.vt)()},69540:(n,t,e)=>{e.d(t,{OU:()=>c,Pw:()=>f});var r=e(31635),o=e(69622),i=(e(44208),e(4718)),l=(e(53966),e(97768)),a=e(88620),s=e(64108);const u=Symbol("ClonableMixin"),c=n=>{var t;const e=n;let o=class extends e{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(n){const t=(0,a.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");const e=t.metadata,r=t.store,o={},s=new Map;for(const t in e){const l=e[t],a=r?.originOf(t),u=l.clonable;if(l.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let f=null;if("function"==typeof u)f=u(c,n);else if("reference"===u)f=c;else if(f=(0,i.TU)(c,n),null!=c&&null==f)continue;0===a?s.set(t,f):o[t]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(o);if(s.size){const n=(0,a.oY)(u)?.store;if(n)for(const[t,e]of s)n.set(t,e,0)}return u}};return o=(0,r.Cg)([(0,s.$)("esri.core.Clonable")],o),o},f=c(o.A)},72258:(n,t,e)=>{e.d(t,{UR:()=>v,p5:()=>w,xK:()=>k});var r=e(53966),o=e(34727),i=e(86211),l=e(77690),a=e(29242),s=e(58083),u=e(9093),c=e(38954),f=e(51850),h=e(98764),p=e(48353),d=e(65806),m=e(27615),g=e(21325),y=e(73354),M=e(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(n,t,{vertexSpace:e,spatialReference:r}){if("georeferenced"===e.type){const o=n;if(!(0,d.g)(t,o,r))return!1;const{origin:i}=e;return(0,c.e)(n,o,i),!0}const o=(0,h.lO)(r),i=n;if(!(0,d.g)(t,i,o))return!1;const{origin:l}=e,a=O;if(!(0,p.l)(r,l,a,o))return!1;const u=(0,s.B8)(O,a);return null!=u&&((0,c.p)(n,i,u),!0)}function v(n,t,e){const{vertexSpace:r,transform:o,vertexAttributes:i}=n,a=(0,m.Hq)(r)?o:null,f=R(n.spatialReference,e,3);if((0,m.yJ)(r,t)&&(!a||(0,s.t2)(a.localMatrix,u.zK))&&S(f)){const{position:n,normal:t,tangent:r}=i,o=e?.allowBufferReuse;return{position:o?n:n.slice(),normal:o?t:t?.slice(),tangent:o?r:r?.slice()}}switch(n.vertexSpace.type){case"local":return"local"===t.type?function({vertexAttributes:n,spatialReference:t,transform:e},{origin:r},o,i){const l=b(t,i);if(!(0,p.l)(t,r,B,l))return(0,M.CN)(x(),t,l),null;if(e&&(0,s.lw)(B,B,e.localMatrix),!(0,p.l)(t,o,j,l))return(0,M.CN)(x(),l,t),null;(0,s.B8)(j,j);const a=(0,s.lw)(B,j,B);return A(a,t,i,3),_(n,a)}(n,n.vertexSpace,t.origin,e):function({spatialReference:n,vertexAttributes:t,transform:e},{origin:r},o,i){const l=b(n,i);if(!(0,p.l)(n,r,B,l))return(0,M.CN)(x(),n,l),null;e&&(0,s.lw)(B,B,e.localMatrix),A(B,n,i,1);const a=new Float64Array(t.position.length),u=function(n,t,e,r,o){(0,y.t)(r,n,t);const i=new Float64Array(n.length);return(0,M.$5)(r,o,i,e)?i:((0,M.CN)(x(),o,e),null)}(t.position,B,n,a,l);if(!u)return null;const f=function(n,t,e,r,o,i){if(null==o)return null;const l=new Float32Array(o.length);return(0,M.qs)(o,l,i),(0,M.si)(l,n,t,e,r,l)?l:((0,M.CN)(x(),r,t),null)}(u,n,a,l,t.normal,B);if(t.normal&&!f)return null;const h=function(n,t,e,r,o,i){if(null==o)return null;const l=new Float32Array(o.length);return(0,M.KM)(o,l,i),(0,M.Mv)(l,n,t,e,r,l)?l:((0,M.CN)(x(),r,t),null)}(u,n,a,l,t.tangent,B);if(t.tangent&&!h)return null;if(o){const n=(0,c.q)(T,o);(0,y.a)(u,u,n)}return{position:u,normal:f,tangent:h}}(n,n.vertexSpace,t.origin,e);case"georeferenced":return"local"===t.type?function({vertexAttributes:n,spatialReference:t,transform:e},{origin:r},o,i){const a=b(t,i);if(!(0,p.l)(t,o,B,a))return(0,M.CN)(x(),t,a),null;const u=1/R(t,i,2);(0,s.hs)(B,B,[u,u,u]);const c=(0,s.B8)(j,B),{position:f,normal:h,tangent:d}=function(n,t,e){if(!t)return n;if(!e){const{position:e,normal:r,tangent:o}=n;return{position:(0,y.a)(new Float64Array(e.length),e,t),tangent:o,normal:r}}const r=_(n,e.localMatrix);return(0,y.a)(r.position,r.position,t),r}(n,r,e),m=new Float64Array(f.length),g=function(n,t,e,r,o){const i=(0,M.gr)(n,t,r,o);if(!i)return(0,M.CN)(x(),t,o),null;const l=new Float64Array(i.length);return(0,y.t)(l,i,e),l}(f,t,c,m,a);if(!g)return null;const w=(0,l.Ge)(I,c),v=function(n,t,e,r,o,i,l){if(null==n)return null;const a=l??new Float32Array(n.length);return(0,M.X4)(n,t,e,r,o,a)?((0,y.b)(a,a,i),a):((0,M.CN)(x(),e,o),null)}(h,f,t,m,a,w,h!==n.normal?h:void 0);if(!v&&h)return null;const A=function(n,t,e,r,o,i,l){if(null==n)return null;const a=l??new Float32Array(n.length);return(0,M.xA)(n,t,e,r,o,a)?((0,y.b)(a,a,i,4),a):((0,M.CN)(x(),e,o),null)}(d,f,t,m,a,w,d!==n.tangent?d:void 0);return!A&&d?null:{position:g,normal:v,tangent:A}}(n,n.vertexSpace,t.origin,e):function({vertexAttributes:n,transform:t,spatialReference:e},{origin:r},o,i){const l=R(e,i,3),a=r||!S(l)?(0,s.C)(B,t?.localMatrix??u.zK):null;a&&A(a,e,i,3);const{position:f,normal:h,tangent:p}=a?_(n,a):n,d=i?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),o){const n=(0,c.q)(T,o);g=(0,y.a)(m,g,n)}return{position:g!==n.position||d?g:g.slice(),normal:h!==n.normal||d?h:h?.slice(),tangent:p!==n.tangent||d?p:p?.slice()}}(n,n.vertexSpace,t.origin,e)}}function b(n,t){return t?.useEllipsoid&&(0,g.B3)(n)?h.Y0:(0,h.lO)(n)}function _(n,t){const e=new Float64Array(n.position.length);(0,y.t)(e,n.position,t);const r=n.normal?new Float32Array(n.normal.length):null,o=n.tangent?new Float32Array(n.tangent.length):null;return r&&n.normal&&(0,M.qs)(n.normal,r,t),o&&n.tangent&&(0,M.KM)(n.tangent,o,t),{position:e,normal:r,tangent:o}}function A(n,t,e,r){const o=R(t,e,r);S(o)||(0,s.hs)(n,n,[o,o,o])}function R(n,t,e){const r=!!(1&e),o=!!(2&e),i=t?.sourceUnit,l=t?.targetUnit;if(!i&&!l)return 1;let a=k(i,n);r||!i||S(a)||(x().warn("source unit conversion not supported"),a=1);let s=1/k(l,n);return o||!l||S(s)||(x().warn("target unit conversion not supported"),s=1),a*s}function S(n){return(0,o.Io)(n,1)}function k(n,t){if(null==n)return 1;const e=(0,i.KX)(t);return 1/(0,i.oU)(e,"meters",n)}const B=(0,u.vt)(),j=(0,u.vt)(),I=(0,a.vt)(),T=(0,f.vt)(),O=(0,u.vt)()},73354:(n,t,e)=>{e.d(t,{a:()=>f,b:()=>a,c:()=>l,d:()=>o,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>i});var r=e(40876);function o(n,t,e){i(n.typedBuffer,t.typedBuffer,e,n.typedBufferStride,t.typedBufferStride)}function i(n,t,e,r=3,o=r){if(n.length/r!==Math.ceil(t.length/o))return n;const i=n.length/r,l=e[0],a=e[1],s=e[2],u=e[4],c=e[5],f=e[6],h=e[8],p=e[9],d=e[10],m=e[12],g=e[13],y=e[14];let M=0,x=0;for(let e=0;e<i;e++){const e=t[M],i=t[M+1],w=t[M+2];n[x]=l*e+u*i+h*w+m,n[x+1]=a*e+c*i+p*w+g,n[x+2]=s*e+f*i+d*w+y,M+=o,x+=r}return n}function l(n,t,e){a(n.typedBuffer,t.typedBuffer,e,n.typedBufferStride,t.typedBufferStride)}function a(n,t,e,r=3,o=r){if(n.length/r!==Math.ceil(t.length/o))return;const i=n.length/r,l=e[0],a=e[1],s=e[2],u=e[3],c=e[4],f=e[5],h=e[6],p=e[7],d=e[8];let m=0,g=0;for(let e=0;e<i;e++){const e=t[m],i=t[m+1],y=t[m+2];n[g]=l*e+u*i+h*y,n[g+1]=a*e+c*i+p*y,n[g+2]=s*e+f*i+d*y,m+=o,g+=r}}function s(n,t,e,r=3,o=r){const i=Math.min(n.length/r,t.length/o);let l=0,a=0;for(let s=0;s<i;s++)n[a]=e*t[l],n[a+1]=e*t[l+1],n[a+2]=e*t[l+2],l+=o,a+=r;return n}function u(n,t,e,r){c(n.typedBuffer,t.typedBuffer,e,r,n.typedBufferStride,t.typedBufferStride)}function c(n,t,e,o,i=3,l=i){const a=Math.min(n.length/i,t.length/l);let s=0,u=0;const c=1/r.Tf;for(let r=0;r<a;r++)n[u]=o*(e*t[s])**c,n[u+1]=o*(e*t[s+1])**c,n[u+2]=o*(e*t[s+2])**c,s+=l,u+=i}function f(n,t,e,r=3,o=r){const i=n.length/r;if(i!==Math.ceil(t.length/o))return n;let l=0,a=0;for(let s=0;s<i;s++)n[a]=t[l]+e[0],n[a+1]=t[l+1]+e[1],n[a+2]=t[l+2]+e[2],l+=o,a+=r;return n}function h(n,t){p(n.typedBuffer,t.typedBuffer,n.typedBufferStride,t.typedBufferStride)}function p(n,t,e=3,r=e){const o=Math.min(n.length/e,t.length/r);let i=0,l=0;for(let a=0;a<o;a++){const o=t[i],a=t[i+1],s=t[i+2],u=o*o+a*a+s*s;if(u>0){const t=1/Math.sqrt(u);n[l]=t*o,n[l+1]=t*a,n[l+2]=t*s}i+=r,l+=e}}e(44208),e(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:s,scaleView:function(n,t,e){s(n.typedBuffer,t.typedBuffer,e,n.typedBufferStride,t.typedBufferStride)},shiftRight:function(n,t,e){const r=Math.min(n.count,t.count),o=n.typedBuffer,i=n.typedBufferStride,l=t.typedBuffer,a=t.typedBufferStride;let s=0,u=0;for(let n=0;n<r;n++)o[u]=l[s]>>e,o[u+1]=l[s+1]>>e,o[u+2]=l[s+2]>>e,s+=a,u+=i},transformMat3:a,transformMat3View:l,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},75503:(n,t,e)=>{e.d(t,{EC:()=>R,wq:()=>a});var r=e(4576),o=e(21818),i=(e(44208),e(15142)),l=e(11006);class a{constructor(n=9,t){this._compareMinX=h,this._compareMinY=p,this._toBBox=n=>n,this._maxEntries=Math.max(4,n||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),_.prune(),A.prune()}all(n){s(this._data,n)}search(n,t){let e=this._data;const r=this._toBBox;if(x(n,e))for(v.clear();e;){for(let o=0,i=e.children.length;o<i;o++){const i=e.children[o],l=e.leaf?r(i):i;x(n,l)&&(e.leaf?t(i):M(n,l)?s(i,t):v.push(i))}e=v.pop()}}collides(n){let t=this._data;const e=this._toBBox;if(!x(n,t))return!1;for(v.clear();t;){for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],i=t.leaf?e(o):o;if(x(n,i)){if(t.leaf||M(n,i))return!0;v.push(o)}}t=v.pop()}return!1}load(n){if(!n.length)return this;if(n.length<this._minEntries){for(let t=0,e=n.length;t<e;t++)this.insert(n[t]);return this}let t=this._build(n.slice(),0,n.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const n=this._data;this._data=t,t=n}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(n){return n&&this._insert(n,this._data.height-1),this}clear(){return this._data=new k([]),this}remove(n){if(!n)return this;let t,e=this._data,i=null,l=0,a=!1;const s=this._toBBox(n);for(_.clear(),A.clear();e||_.length>0;){if(e||(e=_.pop(),i=_.data[_.length-1],l=A.pop()??0,a=!0),e.leaf&&(t=(0,r.qh)(e.children,(0,o.zI)(n),e.children.length,e.indexHint),-1!==t))return e.children.splice(t,1),_.push(e),this._condense(_),this;a||e.leaf||!M(e,s)?i?(l++,e=i.children[l],a=!1):e=null:(_.push(e),A.push(l),l=0,i=e,e=e.children[0])}return this}toJSON(){return this._data}fromJSON(n){return this._data=n,this}_build(n,t,e,r){const o=e-t+1;let i=this._maxEntries;if(o<=i){const r=new k(n.slice(t,e+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(o)/Math.log(i)),i=Math.ceil(o/i**(r-1)));const l=new B([]);l.height=r;const a=Math.ceil(o/i),s=a*Math.ceil(Math.sqrt(i));w(n,t,e,s,this._compareMinX);for(let o=t;o<=e;o+=s){const t=Math.min(o+s-1,e);w(n,o,t,a,this._compareMinY);for(let e=o;e<=t;e+=a){const o=Math.min(e+a-1,t);l.children.push(this._build(n,e,o,r-1))}}return u(l,this._toBBox),l}_insert(n,t,e){const r=this._toBBox,o=e?n:r(n);_.clear();const i=function(n,t,e,r){for(;r.push(t),!0!==t.leaf&&r.length-1!==e;){let e,r=1/0,o=1/0;for(let i=0,l=t.children.length;i<l;i++){const l=t.children[i],a=d(l),s=g(n,l)-a;s<o?(o=s,r=a<r?a:r,e=l):s===o&&a<r&&(r=a,e=l)}t=e||t.children[0]}return t}(o,this._data,t,_);for(i.children.push(n),f(i,o);t>=0&&_.data[t].children.length>this._maxEntries;)this._split(_,t),t--;!function(n,t,e){for(let r=e;r>=0;r--)f(t.data[r],n)}(o,_,t)}_split(n,t){const e=n.data[t],r=e.children.length,o=this._minEntries;this._chooseSplitAxis(e,o,r);const i=this._chooseSplitIndex(e,o,r);if(!i)return;const l=e.children.splice(i,e.children.length-i),a=e.leaf?new k(l):new B(l);a.height=e.height,u(e,this._toBBox),u(a,this._toBBox),t?n.data[t-1].children.push(a):this._splitRoot(e,a)}_splitRoot(n,t){this._data=new B([n,t]),this._data.height=n.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(n,t,e){let r,o,i;r=o=1/0;for(let l=t;l<=e-t;l++){const t=c(n,0,l,this._toBBox),a=c(n,l,e,this._toBBox),s=y(t,a),u=d(t)+d(a);s<r?(r=s,i=l,o=u<o?u:o):s===r&&u<o&&(o=u,i=l)}return i}_chooseSplitAxis(n,t,e){const r=n.leaf?this._compareMinX:h,o=n.leaf?this._compareMinY:p;this._allDistMargin(n,t,e,r)<this._allDistMargin(n,t,e,o)&&n.children.sort(r)}_allDistMargin(n,t,e,r){n.children.sort(r);const o=this._toBBox,i=c(n,0,t,o),l=c(n,e-t,e,o);let a=m(i)+m(l);for(let r=t;r<e-t;r++){const t=n.children[r];f(i,n.leaf?o(t):t),a+=m(i)}for(let r=e-t-1;r>=t;r--){const t=n.children[r];f(l,n.leaf?o(t):t),a+=m(l)}return a}_condense(n){for(let t=n.length-1;t>=0;t--){const e=n.data[t];if(0===e.children.length)if(t>0){const o=n.data[t-1],i=o.children;i.splice((0,r.qh)(i,e,i.length,o.indexHint),1)}else this.clear();else u(e,this._toBBox)}}_initFormat(n){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(n[0])),this._compareMinY=new Function("a","b",t.join(n[1])),this._toBBox=new Function("a","return {minX: a"+n[0]+", minY: a"+n[1]+", maxX: a"+n[2]+", maxY: a"+n[3]+"};")}}function s(n,t){let e=n;for(b.clear();e;){if(!0===e.leaf)for(const n of e.children)t((0,o.zI)(n));else b.pushArray(e.children);e=b.pop()??null}}function u(n,t){c(n,0,n.children.length,t,n)}function c(n,t,e,r,o){o||(o=new k([])),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(let i,l=t;l<e;l++)i=n.children[l],f(o,n.leaf?r(i):i);return o}function f(n,t){n.minX=Math.min(n.minX,t.minX),n.minY=Math.min(n.minY,t.minY),n.maxX=Math.max(n.maxX,t.maxX),n.maxY=Math.max(n.maxY,t.maxY)}function h(n,t){return n.minX-t.minX}function p(n,t){return n.minY-t.minY}function d(n){return(n.maxX-n.minX)*(n.maxY-n.minY)}function m(n){return n.maxX-n.minX+(n.maxY-n.minY)}function g(n,t){return(Math.max(t.maxX,n.maxX)-Math.min(t.minX,n.minX))*(Math.max(t.maxY,n.maxY)-Math.min(t.minY,n.minY))}function y(n,t){const e=Math.max(n.minX,t.minX),r=Math.max(n.minY,t.minY),o=Math.min(n.maxX,t.maxX),i=Math.min(n.maxY,t.maxY);return Math.max(0,o-e)*Math.max(0,i-r)}function M(n,t){return n.minX<=t.minX&&n.minY<=t.minY&&t.maxX<=n.maxX&&t.maxY<=n.maxY}function x(n,t){return t.minX<=n.maxX&&t.minY<=n.maxY&&t.maxX>=n.minX&&t.maxY>=n.minY}function w(n,t,e,r,o){const i=[t,e];for(;i.length;){const t=i.pop(),e=i.pop();if(t-e<=r)continue;const a=e+Math.ceil((t-e)/r/2)*r;(0,l.q)(n,a,e,t,o),i.push(e,a,a,t)}}const v=new i.A,b=new i.A,_=new i.A,A=new i.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class k extends S{constructor(n){super(),this.children=n,this.leaf=!0}}class B extends S{constructor(n){super(),this.children=n,this.leaf=!1}}},91218:(n,t,e)=>{e.r(t),e.d(t,{canProjectWithoutEngine:()=>Z,initializeProjection:()=>$,isEqualBaseGCS:()=>G,isLoaded:()=>I,isLoadedOrLoad:()=>T,isLoadedOrLoadFor:()=>O,load:()=>Y,project:()=>q,projectExtent:()=>en,projectMany:()=>P,projectMultipoint:()=>D,projectOrLoad:()=>C,projectOrLoadMany:()=>E,projectPoint:()=>V,projectPolygon:()=>nn,projectPolyline:()=>H,projectWithZConversion:()=>L,projectWithoutEngine:()=>K,requiresLoad:()=>X,test:()=>F,tryProjectWithZConversion:()=>U,unload:()=>z});var r=e(49186),o=e(74887),i=e(62788),l=e(95488),a=e(51850),s=e(21276),u=e(73941),c=e(5443),f=e(91075),h=e(48526),p=e(86738),d=e(39829),m=e(82799),g=e(16930),y=e(159),M=e(9762),x=e(37539);function w(n,t,e,r,o,i){return v[0]=n,v[1]=t,v[2]=e,(0,M.projectBuffer)(v,r,0,o,i,0)}const v=(0,a.vt)();var b=e(21325),_=e(62815);let A=null,R=null,S=null,k=null,B={};const j=new l.I;function I(){return!!(R?.isLoaded()&&S?.isLoaded()&&k?.isLoaded())}function T(){return!!I()||((0,i.gc)(j),Y(),!1)}function O(n,t){return!n||!t||Z(n,t)||T()}function X(n,t){return!Z(n,t)&&!I()}async function Y(n){null==A&&(A=Promise.all([e.e(3276).then(e.bind(e,83276)).then(n=>(R=n,R.load())),e.e(8377).then(e.bind(e,8377)).then(n=>(S=n,S.load())),e.e(2158).then(e.bind(e,12158)).then(n=>(k=n,k.load()))])),await A,(0,o.Te)(n),j.notify()}function q(n,t,e){return Array.isArray(n)?0===n.length?[]:((0,s.H)(n),P(n,n[0].spatialReference,t,e)):((0,s.f)(n),P([n],n.spatialReference,t,e)[0])}function P(n,t,e,r){if(null==t||null==e)return n;if(Z(t,e,r))return n.map(n=>K(n,t,e));if(null==r?.geographicTransformation&&(0,u.jA)(t))return n.map(n=>K(n,t,g.A.WGS84)).map(n=>U(n,e));if(null==r?.geographicTransformation&&(0,u.jA)(e))return n.map(n=>U(n,g.A.WGS84)).map(n=>K(n,g.A.WGS84,e));if(!I())throw new N;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:k.getTransformation(t,e,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const n=function(n,t){return[n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,e);let o=B[n];o||(o=k.getTransformation(t,e)||new y.A,B[n]=o),r={geographicTransformation:o}}return n[0].spatialReference||(n[0].spatialReference=t),n[0]instanceof f.A?R.executeMany(n,e,r):S.executeMany(n,e,r)}function C(n,t){const e=E([n],t);return null!=e.pending?{pending:e.pending,geometry:null}:null!=e.geometries?{pending:null,geometry:e.geometries[0]}:{pending:null,geometry:null}}function E(n,t){if(!I())for(const e of n)if(null!=e&&!(0,b.aI)(e.spatialReference,t)&&(0,b.fn)(e.spatialReference)&&(0,b.fn)(t)&&!Z(e.spatialReference,t))return(0,i.gc)(j),{pending:Y(),geometries:null};return{pending:null,geometries:n.map(n=>null==n?null:(0,b.aI)(n.spatialReference,t)?n:(0,b.fn)(n.spatialReference)&&(0,b.fn)(t)?U(n,t):null)}}class N extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){A=null,R=null,S=null,k=null,B={}}const F={get loadPromise(){return A}};function U(n,t){try{const e=q(n,t);if(null==e)return null;"xmin"in n&&"xmin"in e&&(e.zmin=n.zmin,e.zmax=n.zmax);const r=(0,_.N)(e.type,n.spatialReference,t);return null!=r&&r(e),e}catch(n){if(!(n instanceof N))throw n;return null}}async function L(n,t,e){const r=n.spatialReference;return null!=r&&null!=t&&await $(r,t,null,e),U(n,t)}function Z(n,t,e){return!(e?.areaOfInterestExtent||e?.extendedParams||e?.geographicTransformation)&&(!!(0,b.aI)(n,t)||(0,b.fn)(n)&&(0,b.fn)(t)&&!!(0,x.jd)(n,t))}function G(n,t){if((0,b.aI)(n,t))return!0;if(!(0,b.fn)(n)||!(0,b.fn)(t))return!1;const e=(0,b.oT)(n)||(0,b.K8)(n)||(0,b.x1)(n),r=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t);return e&&r}async function $(n,t,e,r){if(I())return(0,o.NO)(r);if(Array.isArray(n)){for(const{source:t,dest:e,options:o}of n)if(t&&e&&!Z(t,e,o))return Y(r)}else if(n&&t&&!Z(n,t,e))return Y(r);return(0,o.NO)(r)}function K(n,t,e){return n?"x"in n?W(n,t,new p.A,e,0):"xmin"in n?rn(n,t,new c.A,e,0):"rings"in n?tn(n,t,new d.A,e,0):"paths"in n?Q(n,t,new m.A,e,0):"points"in n?J(n,t,new h.A,e,0):null:null}function V(n,t,e=t.spatialReference,r=0){return null!=e&&null!=n.spatialReference&&null!=W(n,n.spatialReference,t,e,r)}function W(n,t,e,r,o){ln[0]=n.x,ln[1]=n.y;const i=n.z;return ln[2]=void 0!==i?i:o,(0,M.projectBuffer)(ln,t,0,ln,r,0)?(e.x=ln[0],e.y=ln[1],e.spatialReference=r,void 0!==i||(0,u.xP)(r)?(e.z=ln[2],e.hasZ=!0):(e.z=void 0,e.hasZ=!1),void 0===n.m?(e.m=void 0,e.hasM=!1):(e.m=n.m,e.hasM=!0),e):null}function D(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=J(n,n.spatialReference,t,e,r)}function J(n,t,e,r,o){const{points:i,hasZ:l,hasM:a}=n,s=[],c=i.length,f=[];for(const n of i)f.push(n[0],n[1],l?n[2]:o);if(!(0,M.projectBuffer)(f,t,0,f,r,0,c))return null;const h=l||(0,u.xP)(r);for(let n=0;n<c;++n){const t=3*n,e=f[t],r=f[t+1];h&&a?s.push([e,r,f[t+2],i[n][3]]):h?s.push([e,r,f[t+2]]):a?s.push([e,r,i[n][2]]):s.push([e,r])}return e.points=s,e.spatialReference=r,e.hasZ=l,e.hasM=a,e}function H(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=Q(n,n.spatialReference,t,e,r)}function Q(n,t,e,r,o){const{paths:i,hasZ:l,hasM:a}=n,s=[];if(!on(i,l??!1,a??!1,t,s,r,o))return null;const c=l||(0,u.xP)(r);return e.paths=s,e.spatialReference=r,e.hasZ=c,e.hasM=a,e}function nn(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=tn(n,n.spatialReference,t,e,r)}function tn(n,t,e,r,o){const{rings:i,hasZ:l,hasM:a}=n,s=[];if(!on(i,l??!1,a??!1,t,s,r,o))return null;const c=l||(0,u.xP)(r);return e.rings=s,e.spatialReference=r,e.hasZ=c,e.hasM=a,e}function en(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=rn(n,n.spatialReference,t,e,r)}function rn(n,t,e,r,o){const{xmin:i,ymin:l,xmax:a,ymax:s,hasZ:c,hasM:f}=n;if(!w(i,l,c?n.zmin:o,t,ln,r))return null;const h=c||(0,u.xP)(r);return e.xmin=ln[0],e.ymin=ln[1],h&&(e.zmin=ln[2]),w(a,s,c?n.zmax:o,t,ln,r)?(e.xmax=ln[0],e.ymax=ln[1],h&&(e.zmax=ln[2]),f&&(e.mmin=n.mmin,e.mmax=n.mmax),e.spatialReference=r,e):null}function on(n,t,e,r,o,i,l=0){const a=new Array;for(const e of n)for(const n of e)a.push(n[0],n[1],t?n[2]:l);if(!(0,M.projectBuffer)(a,r,0,a,i,0))return!1;let s=0;o.length=0;const c=t||(0,u.xP)(i);for(const t of n){const n=new Array;for(const r of t)c&&e?n.push([a[s++],a[s++],a[s++],r[3]]):c?n.push([a[s++],a[s++],a[s++]]):e?(n.push([a[s++],a[s++],r[2]]),s++):(n.push([a[s++],a[s++]]),s++);o.push(n)}return!0}const ln=(0,a.vt)()},95488:(n,t,e)=>{e.d(t,{I:()=>o});var r=e(11406);class o extends r.T{notify(){const n=this._observers;if(n&&n.length>0){const t=n.slice();for(const n of t)n.onInvalidated(),n.onCommitted()}}}},95696:(n,t,e)=>{e.d(t,{A:()=>u});var r,o=e(31635),i=e(69540),l=e(25482),a=e(91429),s=e(93223);let u=class extends((0,i.OU)(l.o)){static{r=this}constructor(n){super(n),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,o.Cg)([(0,s.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764:(n,t,e)=>{e.d(t,{Y0:()=>u,lO:()=>c});var r=e(73941),o=e(16930),i=e(21325);const l=new o.A(r.fv),a=new o.A(r.FY),s=new o.A(r.LJ),u=new o.A(r.Ro);function c(n){const t=f.get(n);if(t)return t;let e=l;if(n)if(n===a)e=a;else if(n===s)e=s;else{const t=n.wkid,r=n.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?e=a:((0,i.ZL)(t)||(0,i.ZL)(r))&&(e=s);else{const t=n.wkt2??n.wkt;if(t){const n=t.toUpperCase();n===h?e=a:n===p&&(e=s)}}}return f.set(n,e),e}const f=new Map,h=a.wkt.toUpperCase(),p=s.wkt.toUpperCase()},99157:(n,t,e)=>{e.d(t,{A:()=>a});var r,o=e(31635),i=e(69622),l=e(91429);let a=r=class extends i.A{constructor(n){super(n),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,l.MZ)()],a.prototype,"isInverse",void 0),(0,o.Cg)([(0,l.MZ)()],a.prototype,"wkt",void 0),(0,o.Cg)([(0,l.MZ)()],a.prototype,"wkid",void 0),a=r=(0,o.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5845],{159:(n,t,e)=>{e.d(t,{A:()=>s});var r,o=e(31635),i=e(69622),l=e(91429),a=e(99157);let s=r=class extends i.A{constructor(n){super(n),this.steps=[]}getInverse(){const n=new r;for(let t=this.steps.length-1;t>=0;t--){const e=this.steps[t];n.steps.push(e.getInverse())}return n}};(0,o.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,o.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},9093:(n,t,e)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(n){return[n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]]}e.d(t,{o8:()=>o,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:o,create:r,fromValues:function(n,t,e,r,o,i,l,a,s,u,c,f,h,p,d,m){return[n,t,e,r,o,i,l,a,s,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762:(n,t,e)=>{e.r(t),e.d(t,{projectBuffer:()=>o});var r=e(37539);function o(n,t,e,o,i,l,a=Math.floor(n.length/3)){const s=(0,r.jd)(t,i);if(null==s)return!1;if(s===r.pO){if(n===o&&e===l)return!0;const t=e+3*a;for(let r=e,i=l;r<t;r++,i++)o[i]=n[r]??0;return!0}const u=e+3*a;for(let t=e,r=l;t<u;t+=3,r+=3)s(n,t,o,r);return!0}},11006:(n,t,e)=>{function r(n,t,e,r,i){o(n,t,e||0,r||n.length-1,i||l)}function o(n,t,e,r,l){for(;r>e;){if(r-e>600){var a=r-e+1,s=t-e+1,u=Math.log(a),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(a-c)/a)*(s-a/2<0?-1:1);o(n,t,Math.max(e,Math.floor(t-s*c/a+f)),Math.min(r,Math.floor(t+(a-s)*c/a+f)),l)}var h=n[t],p=e,d=r;for(i(n,e,t),l(n[r],h)>0&&i(n,e,r);p<d;){for(i(n,p,d),p++,d--;l(n[p],h)<0;)p++;for(;l(n[d],h)>0;)d--}0===l(n[e],h)?i(n,e,d):i(n,++d,r),d<=t&&(e=d+1),t<=d&&(r=d-1)}}function i(n,t,e){var r=n[t];n[t]=n[e],n[e]=r}function l(n,t){return n<t?-1:n>t?1:0}e.d(t,{q:()=>r})},18251:(n,t,e)=>{e.d(t,{A:()=>u});var r=e(31635),o=e(69540),i=e(25482),l=e(91429),a=e(51850),s=e(93223);let u=class extends((0,o.OU)(i.o)){constructor(n){super(n),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,s.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,l.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},22141:(n,t,e)=>{e.d(t,{$5:()=>b,CN:()=>M,JP:()=>y,KM:()=>A,Mv:()=>S,X4:()=>x,gr:()=>v,qs:()=>_,si:()=>w,xA:()=>R});var r=e(34727),o=e(77690),i=e(29242),l=e(58083),a=e(9093),s=e(38954),u=e(51850),c=e(48353),f=e(9762),h=(e(79258),e(21325)),p=e(28735),d=e(13030),m=e(73354),g=e(65686);const y="Projection may be possible after calling projection.load().";function M(n,t,e,r){n.error(`Failed to project from (wkid:${t.wkid}) to (wkid:${e.wkid}).${r?" ":""}${r}`)}function x(n,t,e,r,o,i){return B(0,d.xs.fromTypedArray(n),0,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function w(n,t,e,r,o,i){return B(1,d.xs.fromTypedArray(n),0,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function v(n,t,e,r){return(0,f.projectBuffer)(n,t,0,e,r,0)?e:null}function b(n,t,e,r){return(0,f.projectBuffer)(n,t,0,e,r,0)?e:null}function _(n,t,e){return(0,o.Ge)(O,e),(0,m.b)(t,n,O),(0,r.or)(O)&&(0,m.n)(t,t),t}function A(n,t,e){return(0,o.z0)(O,e),(0,g.t)(t,n,O),(0,r.or)(O)&&(0,m.n)(t,t,4),t}function R(n,t,e,r,o,i){if(!B(0,d.xs.fromTypedArray(n,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let t=3;t<n.length;t+=4)i[t]=n[t];return i}function S(n,t,e,r,o,i){if(!B(1,d.xs.fromTypedArray(n,16),1,d.Xm.fromTypedArray(t),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,16)))return null;for(let t=3;t<n.length;t+=4)i[t]=n[t];return i}function k(n,t,e,r,i){switch((0,c.l)(r,e,T,r),1===n&&(0,l.B8)(T,T),t){case 0:return(0,o.Ge)(i,T);case 1:return(0,o.z0)(i,T)}}function B(n,t,e,r,o,i,l,a){if(!t)return;const u=r.count;if(function(n){return n.isWGS84||(0,h.x1)(n)||(0,h.q8)(n)||(0,h.KQ)(n)}(o))for(let r=0;r<u;r++)i.getVec(r,j),t.getVec(r,I),(0,s.t)(I,I,k(n,e,j,l,O)),a.setVec(r,I);else for(let o=0;o<u;o++){i.getVec(o,j),t.getVec(o,I);const u=(0,p.jg)(r.get(o,1));let c=Math.cos(u);1===e!=(0===n)&&(c=1/c),k(n,e,j,l,O),0===n?(O[0]*=c,O[1]*=c,O[2]*=c,O[3]*=c,O[4]*=c,O[5]*=c):(O[0]*=c,O[3]*=c,O[6]*=c,O[1]*=c,O[4]*=c,O[7]*=c),(0,s.t)(I,I,O),(0,s.n)(I,I),a.setVec(o,I)}return a}const j=(0,u.vt)(),I=(0,u.vt)(),T=(0,a.vt)(),O=(0,i.vt)()},27615:(n,t,e)=>{e.d(t,{CK:()=>s,Hq:()=>a,MW:()=>u,TE:()=>c,yJ:()=>f});var r=e(38954),o=e(86738),i=e(95696),l=e(18251);function a(n){return null!=n.origin}function s(n){return a(n.vertexSpace)}function u(n,t){if(!a(n))return null;const[e,r,i]=n.origin;return new o.A({x:e,y:r,z:i,spatialReference:t})}function c(n,t){const{x:e,y:r,z:o,spatialReference:a}=n,s=[e,r,o??0];return"local"===(t?.vertexSpace??function(n){return n.isGeographic||n.isWebMercator?"local":"georeferenced"}(a))?new l.A({origin:s}):new i.A({origin:s})}function f(n,t){return n.type===t.type&&(n.origin===t.origin||null!=n.origin&&null!=t.origin&&(0,r.m)(n.origin,t.origin))}},31635:(n,t,e)=>{function r(n,t,e,r){var o,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(n,t,e,r);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(l=(i<3?o(l):i>3?o(t,e,l):o(t,e))||l);return i>3&&l&&Object.defineProperty(t,e,l),l}function o(n,t,e){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],e&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(n){return Promise.reject(n)}}),n.stack.push({value:t,dispose:r,async:e})}else e&&n.stack.push({async:!0});return t}e.d(t,{Cg:()=>r,hk:()=>l,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(n,t,e){var r=new Error(e);return r.name="SuppressedError",r.error=n,r.suppressed=t,r};function l(n){function t(t){n.error=n.hasError?new i(t,n.error,"An error was suppressed during disposal."):t,n.hasError=!0}var e,r=0;return function o(){for(;e=n.stack.pop();)try{if(!e.async&&1===r)return r=0,n.stack.push(e),Promise.resolve().then(o);if(e.dispose){var i=e.dispose.call(e.value);if(e.async)return r|=2,Promise.resolve(i).then(o,function(n){return t(n),o()})}else r|=1}catch(n){t(n)}if(1===r)return n.hasError?Promise.reject(n.error):Promise.resolve();if(n.hasError)throw n.error}()}},37539:(n,t,e)=>{e.d(t,{pO:()=>m,jd:()=>h,Tp:()=>p,w5:()=>f});var r=e(34727),o=e(86211),i=e(73941),l=e(79258);Math.PI;const a=l.$O.radius,s=l.$O.eccentricitySquared,u={a1:a*s,a2:a*s*a*s,a3:a*s*s/2,a4:a*s*a*s*2.5,a5:a*s+a*s*s/2,a6:1-s};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var c=e(21325);const f={2:{5:m,7:null,9:null,10:m,1:_,6:null,8:null,0:null,3:y,11:M,2:m,4:B},5:{5:m,7:null,9:null,10:m,1:_,6:null,8:null,0:null,3:y,11:M,2:m,4:B},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(n,t,e,r){const o=n[t]/Y,i=X-2*Math.atan(Math.exp(-n[t+1]/Y)),l=Y+(n[t+2]??0),a=Math.cos(i)*l;e[r]=Math.cos(o)*a,e[r+1]=Math.sin(o)*a,e[r+2]=Math.sin(i)*l},6:null,8:null,0:null,3:m,11:function(n,t,e,r){g(n,t,e,r),M(e,r,e,r)},2:g,4:function(n,t,e,r){g(n,t,e,r),B(e,r,e,r)}},4:{5:j,7:null,9:null,10:j,1:function(n,t,e,r){j(n,t,e,r),_(e,r,e,r)},6:null,8:null,0:null,3:function(n,t,e,r){j(n,t,e,r),y(e,r,e,r)},11:function(n,t,e,r){j(n,t,e,r),M(e,r,e,r)},2:j,4:m},1:{5:k,7:null,9:null,10:k,1:m,6:null,8:null,0:null,3:function(n,t,e,r){k(n,t,e,r),y(e,r,e,r)},11:function(n,t,e,r){k(n,t,e,r),M(e,r,e,r)},2:k,4:function(n,t,e,r){k(n,t,e,r),B(e,r,e,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:_,6:b,8:v,0:null,3:y,11:M,2:m,4:B},11:{5:x,7:null,9:null,10:x,1:function(n,t,e,r){x(n,t,e,r),_(e,r,e,r)},6:null,8:null,0:null,3:function(n,t,e,r){x(n,t,e,r),y(e,r,e,r)},11:m,2:x,4:function(n,t,e,r){x(n,t,e,r),B(e,r,e,r)}}};function h(n,t){return p(n,t)?.projector}function p(n,t){if(null==n||null==t)return null;if(I.source.spatialReference===n&&I.dest.spatialReference===t)return I;const e=d(n,I.source),r=d(t,I.dest);return 0===e&&0===r?(0,c.aI)(n,t)?I.projector=m:I.projector=null:I.projector=f[e][r],I}function d(n,t){return n?t.spatialReference===n?t.spatialReferenceId:(t.spatialReference=n,"metersPerUnit"in t&&(t.metersPerUnit=(0,o.GA)(n,1)),(0,i.jA)(n)?t.spatialReferenceId=1:(0,c.oT)(n)?t.spatialReferenceId=2:(0,c.K8)(n)?t.spatialReferenceId=3:(0,c.r1)(n)?t.spatialReferenceId=11:n.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===n.wkid?t.spatialReferenceId=5:n.wkt===i.FY.wkt?t.spatialReferenceId=6:n.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(n)?t.spatialReferenceId=7:(0,c.KQ)(n)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(n,t,e,r){n!==e&&(e[r++]=n[t++],e[r++]=n[t++],e[r]=n[t]??0)}function g(n,t,e,r){e[r]=O*(n[t]/Y),e[r+1]=O*(X-2*Math.atan(Math.exp(-n[t+1]/Y))),e[r+2]=n[t+2]??0}function y(n,t,e,o){!function(n,t,e,o,i){const l=.4999999*Math.PI,a=(0,r.qE)(T*n[t+1],-l,l),s=Math.sin(a);e[o++]=T*n[t]*i.radius,e[o++]=i.halfSemiMajorAxis*Math.log((1+s)/(1-s)),e[o]=n[t+2]??0}(n,t,e,o,l.$O)}function M(n,t,e,r){e[r]=n[t]*q,e[r+1]=n[t+1]*q,e[r+2]=n[t+2]??0}function x(n,t,e,r){e[r]=n[t]*P,e[r+1]=n[t+1]*P,e[r+2]=n[t+2]??0}function w(n,t,e,r,o){const i=o+(n[t+2]??0),l=T*n[t],a=T*n[t+1],s=Math.cos(a)*i;e[r]=Math.cos(l)*s,e[r+1]=Math.sin(l)*s,e[r+2]=Math.sin(a)*i}function v(n,t,e,r){w(n,t,e,r,l.Sw.radius)}function b(n,t,e,r){w(n,t,e,r,l.sH.radius)}function _(n,t,e,r){w(n,t,e,r,l.$O.radius)}function A(n,t,e,o,i){const l=n[t],a=n[t+1],s=n[t+2]??0,u=Math.sqrt(l*l+a*a+s*s),c=(0,r.YN)(s/(0===u?1:u)),f=Math.atan2(a,l);e[o++]=O*f,e[o++]=O*c,e[o]=u-i}function R(n,t,e,r){A(n,t,e,r,l.Sw.radius)}function S(n,t,e,r){A(n,t,e,r,l.sH.radius)}function k(n,t,e,r){A(n,t,e,r,l.$O.radius)}function B(n,t,e,r){!function(n,t,e,r,o){const i=T*n[t],l=T*n[t+1],a=n[t+2]??0,s=Math.sin(l),u=Math.cos(l),c=o.radius/Math.sqrt(1-o.eccentricitySquared*s*s);e[r++]=(c+a)*u*Math.cos(i),e[r++]=(c+a)*u*Math.sin(i),e[r++]=(c*(1-o.eccentricitySquared)+a)*s}(n,t,e,r,l.$O)}function j(n,t,e,r){const o=u,i=n[t],a=n[t+1],s=n[t+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,_,A,R,S,k,B,j,I;c=Math.abs(s),f=i*i+a*a,h=Math.sqrt(f),p=f+s*s,d=Math.sqrt(p),j=Math.atan2(a,i),m=s*s/p,g=f/p,_=o.a2/d,A=o.a3-o.a4/d,g>.3?(y=c/d*(1+g*(o.a1+_+m*A)/d),B=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(o.a5-_-g*A)/d),B=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-l.$O.eccentricitySquared*x,v=l.$O.radius/Math.sqrt(w),b=o.a6*v,_=h-v*M,A=c-b*y,S=M*_+y*A,R=M*A-y*_,k=R/(b/w+S),B+=k,I=S+R*k/2,s<0&&(B=-B),e[r++]=O*j,e[r++]=O*B,e[r]=I}const I={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},T=(0,r.kU)(1),O=(0,r.KJ)(1),X=.5*Math.PI,Y=l.$O.radius,q=Y*Math.PI/180,P=180/(Y*Math.PI)},38419:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(44208),o=e(75503),i=e(95696),l=e(72258);class a{async createIndex(n,t){const e=new Array;if(!n.vertexAttributes?.position)return new o.wq;const r=function(n){const{vertexAttributes:{position:t},vertexSpace:e,spatialReference:r,transform:o}=n,a=(0,l.UR)({vertexAttributes:{position:t},vertexSpace:e,spatialReference:r,transform:o},i.A.absolute,{allowBufferReuse:!0})?.position;return a?!n.components||n.components.some(n=>!n.faces)?{position:a.buffer}:{position:a.buffer,components:n.components.map(n=>n.faces)}:null}(n),a=null!=t?await t.invoke("createIndexThread",r,{transferList:e}):this.createIndexThread(r).result;return s().fromJSON(a)}createIndexThread(n){const t=s();if(!n)return{result:t.toJSON()};const e=new Float64Array(n.position);return n.components?function(n,t,e){let r=0;for(const n of e)r+=n.length/3;const o=new Array(r);let i=0;for(const n of e)for(let e=0;e<n.length;e+=3)o[i++]=u(t,3*n[e],3*n[e+1],3*n[e+2]);return n.load(o),{result:n.toJSON()}}(t,e,n.components.map(n=>new Uint32Array(n))):function(n,t){const e=new Array(t.length/9);let r=0;for(let n=0;n<t.length;n+=9)e[r++]=u(t,n,n+3,n+6);return n.load(e),{result:n.toJSON()}}(t,e)}}function s(){return new o.wq(9,(0,r.A)("esri-csp-restrictions")?n=>n:[".minX",".minY",".maxX",".maxY"])}function u(n,t,e,r){return{minX:Math.min(n[t],n[e],n[r]),maxX:Math.max(n[t],n[e],n[r]),minY:Math.min(n[t+1],n[e+1],n[r+1]),maxY:Math.max(n[t+1],n[e+1],n[r+1]),p0:[n[t],n[t+1],n[t+2]],p1:[n[e],n[e+1],n[e+2]],p2:[n[r],n[r+1],n[r+2]]}}},38954:(n,t,e)=>{e.d(t,{A:()=>c,B:()=>z,C:()=>f,D:()=>M,E:()=>Y,F:()=>w,G:()=>X,H:()=>E,a:()=>q,b:()=>i,c:()=>y,d:()=>l,e:()=>u,f:()=>R,g:()=>A,h:()=>a,i:()=>s,j:()=>g,l:()=>S,m:()=>O,n:()=>_,o:()=>b,p:()=>k,q:()=>v,r:()=>j,s:()=>x,t:()=>B,u:()=>h,v:()=>N,w:()=>F,x:()=>m,y:()=>d,z:()=>p});var r=e(51850),o=e(34304);function i(n){const t=n[0],e=n[1],r=n[2];return Math.sqrt(t*t+e*e+r*r)}function l(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function a(n,t,e,r){return n[0]=t,n[1]=e,n[2]=r,n}function s(n,t,e){return n[0]=t[0]+e[0],n[1]=t[1]+e[1],n[2]=t[2]+e[2],n}function u(n,t,e){return n[0]=t[0]-e[0],n[1]=t[1]-e[1],n[2]=t[2]-e[2],n}function c(n,t,e){return n[0]=t[0]*e[0],n[1]=t[1]*e[1],n[2]=t[2]*e[2],n}function f(n,t,e){return n[0]=t[0]/e[0],n[1]=t[1]/e[1],n[2]=t[2]/e[2],n}function h(n,t){return n[0]=Math.abs(t[0]),n[1]=Math.abs(t[1]),n[2]=Math.abs(t[2]),n}function p(n,t){return n[0]=Math.sign(t[0]),n[1]=Math.sign(t[1]),n[2]=Math.sign(t[2]),n}function d(n,t,e){return n[0]=Math.min(t[0],e[0]),n[1]=Math.min(t[1],e[1]),n[2]=Math.min(t[2],e[2]),n}function m(n,t,e){return n[0]=Math.max(t[0],e[0]),n[1]=Math.max(t[1],e[1]),n[2]=Math.max(t[2],e[2]),n}function g(n,t,e){return n[0]=t[0]*e,n[1]=t[1]*e,n[2]=t[2]*e,n}function y(n,t,e,r){return n[0]=t[0]+e[0]*r,n[1]=t[1]+e[1]*r,n[2]=t[2]+e[2]*r,n}function M(n,t){const e=t[0]-n[0],r=t[1]-n[1],o=t[2]-n[2];return Math.sqrt(e*e+r*r+o*o)}function x(n,t){const e=t[0]-n[0],r=t[1]-n[1],o=t[2]-n[2];return e*e+r*r+o*o}function w(n){const t=n[0],e=n[1],r=n[2];return t*t+e*e+r*r}function v(n,t){return n[0]=-t[0],n[1]=-t[1],n[2]=-t[2],n}function b(n,t){return n[0]=1/t[0],n[1]=1/t[1],n[2]=1/t[2],n}function _(n,t){const e=t[0],r=t[1],o=t[2];let i=e*e+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),n[0]=t[0]*i,n[1]=t[1]*i,n[2]=t[2]*i),n}function A(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function R(n,t,e){const r=t[0],o=t[1],i=t[2],l=e[0],a=e[1],s=e[2];return n[0]=o*s-i*a,n[1]=i*l-r*s,n[2]=r*a-o*l,n}function S(n,t,e,r){const o=t[0],i=t[1],l=t[2];return n[0]=o+r*(e[0]-o),n[1]=i+r*(e[1]-i),n[2]=l+r*(e[2]-l),n}function k(n,t,e){const r=t[0],o=t[1],i=t[2];return n[0]=e[0]*r+e[4]*o+e[8]*i+e[12],n[1]=e[1]*r+e[5]*o+e[9]*i+e[13],n[2]=e[2]*r+e[6]*o+e[10]*i+e[14],n}function B(n,t,e){const r=t[0],o=t[1],i=t[2];return n[0]=r*e[0]+o*e[3]+i*e[6],n[1]=r*e[1]+o*e[4]+i*e[7],n[2]=r*e[2]+o*e[5]+i*e[8],n}function j(n,t,e){const r=e[0],o=e[1],i=e[2],l=e[3],a=t[0],s=t[1],u=t[2],c=o*u-i*s,f=i*a-r*u,h=r*s-o*a,p=o*h-i*f,d=i*c-r*h,m=r*f-o*c,g=2*l;return n[0]=a+c*g+2*p,n[1]=s+f*g+2*d,n[2]=u+h*g+2*m,n}const I=(0,r.vt)(),T=(0,r.vt)();function O(n,t){return n[0]===t[0]&&n[1]===t[1]&&n[2]===t[2]}function X(n,t){if(n===t)return!0;const e=n[0],r=n[1],i=n[2],l=t[0],a=t[1],s=t[2],u=(0,o.FD)();return Math.abs(e-l)<=u*Math.max(1,Math.abs(e),Math.abs(l))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=u*Math.max(1,Math.abs(i),Math.abs(s))}function Y(n,t,e){const r=e[0]-t[0],o=e[1]-t[1],i=e[2]-t[2];let l=r*r+o*o+i*i;return l>0?(l=1/Math.sqrt(l),n[0]=r*l,n[1]=o*l,n[2]=i*l,n):(n[0]=0,n[1]=0,n[2]=0,n)}const q=u,P=c,C=f,E=M,N=x,z=i,F=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:function(n,t){_(I,n),_(T,t);const e=A(I,T);return e>1?0:e<-1?Math.PI:Math.acos(e)},bezier:function(n,t,e,r,o,i){const l=1-i,a=l*l,s=i*i,u=a*l,c=3*i*a,f=3*s*l,h=s*i;return n[0]=t[0]*u+e[0]*c+r[0]*f+o[0]*h,n[1]=t[1]*u+e[1]*c+r[1]*f+o[1]*h,n[2]=t[2]*u+e[2]*c+r[2]*f+o[2]*h,n},ceil:function(n,t){return n[0]=Math.ceil(t[0]),n[1]=Math.ceil(t[1]),n[2]=Math.ceil(t[2]),n},clamp:function(n,t=0,e=1){return n[0]=Math.min(Math.max(n[0],t),e),n[1]=Math.min(Math.max(n[1],t),e),n[2]=Math.min(Math.max(n[2],t),e),n},copy:l,cross:R,crossAndNormalize:function(n,t,e){const r=t[0],o=t[1],i=t[2],l=e[0],a=e[1],s=e[2],u=o*s-i*a,c=i*l-r*s,f=r*a-o*l,h=Math.sqrt(u*u+c*c+f*f);return n[0]=u/h,n[1]=c/h,n[2]=f/h,n},direction:Y,dist:E,distance:M,div:C,divide:f,dot:A,equals:X,exactEquals:O,floor:function(n,t){return n[0]=Math.floor(t[0]),n[1]=Math.floor(t[1]),n[2]=Math.floor(t[2]),n},hermite:function(n,t,e,r,o,i){const l=i*i,a=l*(2*i-3)+1,s=l*(i-2)+i,u=l*(i-1),c=l*(3-2*i);return n[0]=t[0]*a+e[0]*s+r[0]*u+o[0]*c,n[1]=t[1]*a+e[1]*s+r[1]*u+o[1]*c,n[2]=t[2]*a+e[2]*s+r[2]*u+o[2]*c,n},inverse:b,len:z,length:i,lerp:S,max:m,min:d,mul:P,multiply:c,negate:v,normalize:_,random:function(n,t=1){const e=o.Ov,r=2*e()*Math.PI,i=2*e()-1,l=Math.sqrt(1-i*i)*t;return n[0]=Math.cos(r)*l,n[1]=Math.sin(r)*l,n[2]=i*t,n},rotateX:function(n,t,e,r){const o=[],i=[];return o[0]=t[0]-e[0],o[1]=t[1]-e[1],o[2]=t[2]-e[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),n[0]=i[0]+e[0],n[1]=i[1]+e[1],n[2]=i[2]+e[2],n},rotateY:function(n,t,e,r){const o=[],i=[];return o[0]=t[0]-e[0],o[1]=t[1]-e[1],o[2]=t[2]-e[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),n[0]=i[0]+e[0],n[1]=i[1]+e[1],n[2]=i[2]+e[2],n},rotateZ:function(n,t,e,r){const o=[],i=[];return o[0]=t[0]-e[0],o[1]=t[1]-e[1],o[2]=t[2]-e[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],n[0]=i[0]+e[0],n[1]=i[1]+e[1],n[2]=i[2]+e[2],n},round:function(n,t){return n[0]=Math.round(t[0]),n[1]=Math.round(t[1]),n[2]=Math.round(t[2]),n},scale:g,scaleAndAdd:y,set:a,sign:p,sqrDist:N,sqrLen:F,squaredDistance:x,squaredLength:w,str:function(n){return"vec3("+n[0]+", "+n[1]+", "+n[2]+")"},sub:q,subtract:u,transformMat3:B,transformMat4:k,transformQuat:j},Symbol.toStringTag,{value:"Module"}))},40876:(n,t,e)=>{e.d(t,{Eq:()=>p,G1:()=>m,TS:()=>i,Tf:()=>M,V6:()=>o,Vm:()=>d,ay:()=>s,c1:()=>g,c4:()=>l,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function o(n){return!!r[n]||!!r[n.toLowerCase()]}function i(n){return r[n]??r[n.toLowerCase()]}function l(n){return[...i(n)]}function a(n,t,e){e<0&&++e,e>1&&--e;const r=6*e;return r<1?n+(t-n)*r:2*e<1?t:3*e<2?n+(t-n)*(2/3-e)*6:n}function s(n,t,e,r=1){const o=(n%360+360)%360/360,i=e<=.5?e*(t+1):e+t-e*t,l=2*e-i;return[Math.round(255*a(l,i,o+1/3)),Math.round(255*a(l,i,o)),Math.round(255*a(l,i,o-1/3)),r]}function u(n){const t=n.length>5,e=t?8:4,r=(1<<e)-1,o=t?1:17,i=t?9===n.length:5===n.length;let l=Number("0x"+n.slice(1));if(isNaN(l))return null;const a=[0,0,0,1];let s;return i&&(s=l&r,l>>=e,a[3]=o*s/255),s=l&r,l>>=e,a[2]=o*s,s=l&r,l>>=e,a[1]=o*s,s=l&r,l>>=e,a[0]=o*s,a}function c(n){if(!n.startsWith("#")||isNaN(Number(`0x${n.slice(1)}`)))return null;switch(n.length){case 4:case 5:{const t=parseInt(n.slice(1,2),16),e=parseInt(n.slice(2,3),16),r=parseInt(n.slice(3,4),16),o=4===n.length?15:parseInt(n.slice(4),16);return[t+16*t,e+16*e,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(n.slice(1,3),16),parseInt(n.slice(3,5),16),parseInt(n.slice(5,7),16),(7===n.length?255:parseInt(n.slice(7),16))/255];default:return null}}function f(n){const t=n.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const n=t[2].split(/\s*,\s*/),e=t[1];if("rgb"===e&&3===n.length||"rgba"===e&&4===n.length){if(n[0].endsWith("%")){const t=n.map(n=>2.56*parseFloat(n));return 4===n.length&&(t[3]=parseFloat(n[3])),h(t)}return h(n.map(n=>parseFloat(n)))}if("hsl"===e&&3===n.length||"hsla"===e&&4===n.length)return s(parseFloat(n[0]),parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3]??"1"))}return null}function h(n){return n[0]=g(n[0]),n[1]=g(n[1]),n[2]=g(n[2]),n[3]=4===n.length?m(n[3]):1,n}function p(n){let t=o(n)?i(n):null;return t??=f(n),t??=c(n),t}function d(n){const t=p(n);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(n){return y(n,0,1)}function g(n){return Math.round(y(n,0,255))}function y(n,t,e){return n=Number(n),isNaN(n)?e:n<t?t:n>e?e:n}const M=2.2,x=1/M;function w(n){return n**x}},48163:(n,t,e)=>{function r(){return[0,0]}function o(n){return[n[0],n[1]]}function i(n,t){return[n,t]}function l(){return i(1,1)}function a(){return i(1,0)}function s(){return i(0,1)}e.d(t,{Un:()=>u,fA:()=>i,o8:()=>o,vt:()=>r});const u=l(),c=a(),f=s();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:o,create:r,freeze:function(n,t){return[n,t]},fromArray:function(n,t=[0,0]){const e=Math.min(2,n.length);for(let r=0;r<e;++r)t[r]=n[r];return t},fromValues:i,ones:l,unitX:a,unitY:s,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(n,t,e)=>{e.d(t,{l:()=>u});var r=e(34727),o=e(58083),i=e(51850);function l(n,t,e){const r=Math.sin(n),o=Math.cos(n),i=Math.sin(t),l=Math.cos(t),a=e;return a[0]=-r,a[4]=-i*o,a[8]=l*o,a[12]=0,a[1]=o,a[5]=-i*r,a[9]=l*r,a[13]=0,a[2]=0,a[6]=l,a[10]=i,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=e(37539),s=e(21325);function u(n,t,e,r){const i=(0,a.Tp)(n,r);if(null==i)return!1;const u=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,s.aI)(n,r)))return(0,o.kN)(e,t),!0;if(c(d)){const n=a.w5[u][10],r=a.w5[10][d];return null!=n&&null!=r&&(n(t,0,h,0),r(h,0,p,0),l(f*h[0],f*h[1],e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const n=a.w5[u][10],r=a.w5[10][d];return null!=n&&null!=r&&(n(t,0,h,0),r(h,0,p,0),m?function(n,t,e){l(n,t,e),(0,o.mg)(e,e)}(f*h[0],f*h[1],e):(0,o.D_)(e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}return!1}function c(n){return 1===n||6===n||8===n||4===n}const f=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},51850:(n,t,e)=>{function r(){return[0,0,0]}function o(n){return[n[0],n[1],n[2]]}function i(n,t,e){return[n,t,e]}function l(n,t,e){return[n,t,e]}function a(n,t=[0,0,0]){const e=Math.min(3,n.length);for(let r=0;r<e;++r)t[r]=n[r];return t}function s(){return i(1,1,1)}function u(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}e.d(t,{CN:()=>l,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>a,fA:()=>i,o8:()=>o,uY:()=>h,vt:()=>r});const h=[0,0,0],p=s(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:o,create:r,freeze:l,fromArray:a,fromValues:i,ones:s,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},62815:(n,t,e)=>{e.d(t,{N:()=>l});var r=e(86211),o=e(73941),i=e(21325);function l(n,t,e){if(null==t||null==e||e.vcsWkid||(0,i.aI)(t,e)||(0,o.xP)(t)||(0,o.xP)(e))return null;const l=(0,r.G9)(t)/(0,r.G9)(e);if(1===l)return null;switch(n){case"point":case"esriGeometryPoint":return n=>function(n,t){null!=n?.z&&(n.z*=t)}(n,l);case"polyline":case"esriGeometryPolyline":return n=>function(n,t){if(n)for(const e of n.paths)for(const n of e)n.length>2&&(n[2]*=t)}(n,l);case"polygon":case"esriGeometryPolygon":return n=>function(n,t){if(n)for(const e of n.rings)for(const n of e)n.length>2&&(n[2]*=t)}(n,l);case"multipoint":case"esriGeometryMultipoint":return n=>function(n,t){if(n)for(const e of n.points)e.length>2&&(e[2]*=t)}(n,l);case"extent":case"esriGeometryEnvelope":return n=>function(n,t){n&&null!=n.zmin&&null!=n.zmax&&(n.zmin*=t,n.zmax*=t)}(n,l);default:return null}}},65806:(n,t,e)=>{e.d(t,{g:()=>l});var r=e(51850),o=e(91218),i=e(9762);function l(n,t,e){if((0,o.canProjectWithoutEngine)(n.spatialReference,e))return a[0]=n.x,a[1]=n.y,a[2]=n.z??0,(0,i.projectBuffer)(a,n.spatialReference,0,t,e,0);const r=(0,o.tryProjectWithZConversion)(n,e);return!!r&&(t[0]=r.x,t[1]=r.y,t[2]=r.z??0,!0)}const a=(0,r.vt)()},69540:(n,t,e)=>{e.d(t,{OU:()=>c,Pw:()=>f});var r=e(31635),o=e(69622),i=(e(44208),e(4718)),l=(e(53966),e(97768)),a=e(88620),s=e(64108);const u=Symbol("ClonableMixin"),c=n=>{var t;const e=n;let o=class extends e{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(n){const t=(0,a.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");const e=t.metadata,r=t.store,o={},s=new Map;for(const t in e){const l=e[t],a=r?.originOf(t),u=l.clonable;if(l.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let f=null;if("function"==typeof u)f=u(c,n);else if("reference"===u)f=c;else if(f=(0,i.TU)(c,n),null!=c&&null==f)continue;0===a?s.set(t,f):o[t]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(o);if(s.size){const n=(0,a.oY)(u)?.store;if(n)for(const[t,e]of s)n.set(t,e,0)}return u}};return o=(0,r.Cg)([(0,s.$)("esri.core.Clonable")],o),o},f=c(o.A)},72258:(n,t,e)=>{e.d(t,{UR:()=>v,p5:()=>w,xK:()=>k});var r=e(53966),o=e(34727),i=e(86211),l=e(77690),a=e(29242),s=e(58083),u=e(9093),c=e(38954),f=e(51850),h=e(98764),p=e(48353),d=e(65806),m=e(27615),g=e(21325),y=e(73354),M=e(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(n,t,{vertexSpace:e,spatialReference:r}){if("georeferenced"===e.type){const o=n;if(!(0,d.g)(t,o,r))return!1;const{origin:i}=e;return(0,c.e)(n,o,i),!0}const o=(0,h.lO)(r),i=n;if(!(0,d.g)(t,i,o))return!1;const{origin:l}=e,a=O;if(!(0,p.l)(r,l,a,o))return!1;const u=(0,s.B8)(O,a);return null!=u&&((0,c.p)(n,i,u),!0)}function v(n,t,e){const{vertexSpace:r,transform:o,vertexAttributes:i}=n,a=(0,m.Hq)(r)?o:null,f=R(n.spatialReference,e,3);if((0,m.yJ)(r,t)&&(!a||(0,s.t2)(a.localMatrix,u.zK))&&S(f)){const{position:n,normal:t,tangent:r}=i,o=e?.allowBufferReuse;return{position:o?n:n.slice(),normal:o?t:t?.slice(),tangent:o?r:r?.slice()}}switch(n.vertexSpace.type){case"local":return"local"===t.type?function({vertexAttributes:n,spatialReference:t,transform:e},{origin:r},o,i){const l=b(t,i);if(!(0,p.l)(t,r,B,l))return(0,M.CN)(x(),t,l),null;if(e&&(0,s.lw)(B,B,e.localMatrix),!(0,p.l)(t,o,j,l))return(0,M.CN)(x(),l,t),null;(0,s.B8)(j,j);const a=(0,s.lw)(B,j,B);return A(a,t,i,3),_(n,a)}(n,n.vertexSpace,t.origin,e):function({spatialReference:n,vertexAttributes:t,transform:e},{origin:r},o,i){const l=b(n,i);if(!(0,p.l)(n,r,B,l))return(0,M.CN)(x(),n,l),null;e&&(0,s.lw)(B,B,e.localMatrix),A(B,n,i,1);const a=new Float64Array(t.position.length),u=function(n,t,e,r,o){(0,y.t)(r,n,t);const i=new Float64Array(n.length);return(0,M.$5)(r,o,i,e)?i:((0,M.CN)(x(),o,e),null)}(t.position,B,n,a,l);if(!u)return null;const f=function(n,t,e,r,o,i){if(null==o)return null;const l=new Float32Array(o.length);return(0,M.qs)(o,l,i),(0,M.si)(l,n,t,e,r,l)?l:((0,M.CN)(x(),r,t),null)}(u,n,a,l,t.normal,B);if(t.normal&&!f)return null;const h=function(n,t,e,r,o,i){if(null==o)return null;const l=new Float32Array(o.length);return(0,M.KM)(o,l,i),(0,M.Mv)(l,n,t,e,r,l)?l:((0,M.CN)(x(),r,t),null)}(u,n,a,l,t.tangent,B);if(t.tangent&&!h)return null;if(o){const n=(0,c.q)(T,o);(0,y.a)(u,u,n)}return{position:u,normal:f,tangent:h}}(n,n.vertexSpace,t.origin,e);case"georeferenced":return"local"===t.type?function({vertexAttributes:n,spatialReference:t,transform:e},{origin:r},o,i){const a=b(t,i);if(!(0,p.l)(t,o,B,a))return(0,M.CN)(x(),t,a),null;const u=1/R(t,i,2);(0,s.hs)(B,B,[u,u,u]);const c=(0,s.B8)(j,B),{position:f,normal:h,tangent:d}=function(n,t,e){if(!t)return n;if(!e){const{position:e,normal:r,tangent:o}=n;return{position:(0,y.a)(new Float64Array(e.length),e,t),tangent:o,normal:r}}const r=_(n,e.localMatrix);return(0,y.a)(r.position,r.position,t),r}(n,r,e),m=new Float64Array(f.length),g=function(n,t,e,r,o){const i=(0,M.gr)(n,t,r,o);if(!i)return(0,M.CN)(x(),t,o),null;const l=new Float64Array(i.length);return(0,y.t)(l,i,e),l}(f,t,c,m,a);if(!g)return null;const w=(0,l.Ge)(I,c),v=function(n,t,e,r,o,i,l){if(null==n)return null;const a=l??new Float32Array(n.length);return(0,M.X4)(n,t,e,r,o,a)?((0,y.b)(a,a,i),a):((0,M.CN)(x(),e,o),null)}(h,f,t,m,a,w,h!==n.normal?h:void 0);if(!v&&h)return null;const A=function(n,t,e,r,o,i,l){if(null==n)return null;const a=l??new Float32Array(n.length);return(0,M.xA)(n,t,e,r,o,a)?((0,y.b)(a,a,i,4),a):((0,M.CN)(x(),e,o),null)}(d,f,t,m,a,w,d!==n.tangent?d:void 0);return!A&&d?null:{position:g,normal:v,tangent:A}}(n,n.vertexSpace,t.origin,e):function({vertexAttributes:n,transform:t,spatialReference:e},{origin:r},o,i){const l=R(e,i,3),a=r||!S(l)?(0,s.C)(B,t?.localMatrix??u.zK):null;a&&A(a,e,i,3);const{position:f,normal:h,tangent:p}=a?_(n,a):n,d=i?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),o){const n=(0,c.q)(T,o);g=(0,y.a)(m,g,n)}return{position:g!==n.position||d?g:g.slice(),normal:h!==n.normal||d?h:h?.slice(),tangent:p!==n.tangent||d?p:p?.slice()}}(n,n.vertexSpace,t.origin,e)}}function b(n,t){return t?.useEllipsoid&&(0,g.B3)(n)?h.Y0:(0,h.lO)(n)}function _(n,t){const e=new Float64Array(n.position.length);(0,y.t)(e,n.position,t);const r=n.normal?new Float32Array(n.normal.length):null,o=n.tangent?new Float32Array(n.tangent.length):null;return r&&n.normal&&(0,M.qs)(n.normal,r,t),o&&n.tangent&&(0,M.KM)(n.tangent,o,t),{position:e,normal:r,tangent:o}}function A(n,t,e,r){const o=R(t,e,r);S(o)||(0,s.hs)(n,n,[o,o,o])}function R(n,t,e){const r=!!(1&e),o=!!(2&e),i=t?.sourceUnit,l=t?.targetUnit;if(!i&&!l)return 1;let a=k(i,n);r||!i||S(a)||(x().warn("source unit conversion not supported"),a=1);let s=1/k(l,n);return o||!l||S(s)||(x().warn("target unit conversion not supported"),s=1),a*s}function S(n){return(0,o.Io)(n,1)}function k(n,t){if(null==n)return 1;const e=(0,i.KX)(t);return 1/(0,i.oU)(e,"meters",n)}const B=(0,u.vt)(),j=(0,u.vt)(),I=(0,a.vt)(),T=(0,f.vt)(),O=(0,u.vt)()},73354:(n,t,e)=>{e.d(t,{a:()=>f,b:()=>a,c:()=>l,d:()=>o,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>i});var r=e(40876);function o(n,t,e){i(n.typedBuffer,t.typedBuffer,e,n.typedBufferStride,t.typedBufferStride)}function i(n,t,e,r=3,o=r){if(n.length/r!==Math.ceil(t.length/o))return n;const i=n.length/r,l=e[0],a=e[1],s=e[2],u=e[4],c=e[5],f=e[6],h=e[8],p=e[9],d=e[10],m=e[12],g=e[13],y=e[14];let M=0,x=0;for(let e=0;e<i;e++){const e=t[M],i=t[M+1],w=t[M+2];n[x]=l*e+u*i+h*w+m,n[x+1]=a*e+c*i+p*w+g,n[x+2]=s*e+f*i+d*w+y,M+=o,x+=r}return n}function l(n,t,e){a(n.typedBuffer,t.typedBuffer,e,n.typedBufferStride,t.typedBufferStride)}function a(n,t,e,r=3,o=r){if(n.length/r!==Math.ceil(t.length/o))return;const i=n.length/r,l=e[0],a=e[1],s=e[2],u=e[3],c=e[4],f=e[5],h=e[6],p=e[7],d=e[8];let m=0,g=0;for(let e=0;e<i;e++){const e=t[m],i=t[m+1],y=t[m+2];n[g]=l*e+u*i+h*y,n[g+1]=a*e+c*i+p*y,n[g+2]=s*e+f*i+d*y,m+=o,g+=r}}function s(n,t,e,r=3,o=r){const i=Math.min(n.length/r,t.length/o);let l=0,a=0;for(let s=0;s<i;s++)n[a]=e*t[l],n[a+1]=e*t[l+1],n[a+2]=e*t[l+2],l+=o,a+=r;return n}function u(n,t,e,r){c(n.typedBuffer,t.typedBuffer,e,r,n.typedBufferStride,t.typedBufferStride)}function c(n,t,e,o,i=3,l=i){const a=Math.min(n.length/i,t.length/l);let s=0,u=0;const c=1/r.Tf;for(let r=0;r<a;r++)n[u]=o*(e*t[s])**c,n[u+1]=o*(e*t[s+1])**c,n[u+2]=o*(e*t[s+2])**c,s+=l,u+=i}function f(n,t,e,r=3,o=r){const i=n.length/r;if(i!==Math.ceil(t.length/o))return n;let l=0,a=0;for(let s=0;s<i;s++)n[a]=t[l]+e[0],n[a+1]=t[l+1]+e[1],n[a+2]=t[l+2]+e[2],l+=o,a+=r;return n}function h(n,t){p(n.typedBuffer,t.typedBuffer,n.typedBufferStride,t.typedBufferStride)}function p(n,t,e=3,r=e){const o=Math.min(n.length/e,t.length/r);let i=0,l=0;for(let a=0;a<o;a++){const o=t[i],a=t[i+1],s=t[i+2],u=o*o+a*a+s*s;if(u>0){const t=1/Math.sqrt(u);n[l]=t*o,n[l+1]=t*a,n[l+2]=t*s}i+=r,l+=e}}e(44208),e(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:s,scaleView:function(n,t,e){s(n.typedBuffer,t.typedBuffer,e,n.typedBufferStride,t.typedBufferStride)},shiftRight:function(n,t,e){const r=Math.min(n.count,t.count),o=n.typedBuffer,i=n.typedBufferStride,l=t.typedBuffer,a=t.typedBufferStride;let s=0,u=0;for(let n=0;n<r;n++)o[u]=l[s]>>e,o[u+1]=l[s+1]>>e,o[u+2]=l[s+2]>>e,s+=a,u+=i},transformMat3:a,transformMat3View:l,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},75503:(n,t,e)=>{e.d(t,{EC:()=>R,wq:()=>a});var r=e(4576),o=e(21818),i=(e(44208),e(15142)),l=e(11006);class a{constructor(n=9,t){this._compareMinX=h,this._compareMinY=p,this._toBBox=n=>n,this._maxEntries=Math.max(4,n||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),_.prune(),A.prune()}all(n){s(this._data,n)}search(n,t){let e=this._data;const r=this._toBBox;if(x(n,e))for(v.clear();e;){for(let o=0,i=e.children.length;o<i;o++){const i=e.children[o],l=e.leaf?r(i):i;x(n,l)&&(e.leaf?t(i):M(n,l)?s(i,t):v.push(i))}e=v.pop()}}collides(n){let t=this._data;const e=this._toBBox;if(!x(n,t))return!1;for(v.clear();t;){for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],i=t.leaf?e(o):o;if(x(n,i)){if(t.leaf||M(n,i))return!0;v.push(o)}}t=v.pop()}return!1}load(n){if(!n.length)return this;if(n.length<this._minEntries){for(let t=0,e=n.length;t<e;t++)this.insert(n[t]);return this}let t=this._build(n.slice(),0,n.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const n=this._data;this._data=t,t=n}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(n){return n&&this._insert(n,this._data.height-1),this}clear(){return this._data=new k([]),this}remove(n){if(!n)return this;let t,e=this._data,i=null,l=0,a=!1;const s=this._toBBox(n);for(_.clear(),A.clear();e||_.length>0;){if(e||(e=_.pop(),i=_.data[_.length-1],l=A.pop()??0,a=!0),e.leaf&&(t=(0,r.qh)(e.children,(0,o.zI)(n),e.children.length,e.indexHint),-1!==t))return e.children.splice(t,1),_.push(e),this._condense(_),this;a||e.leaf||!M(e,s)?i?(l++,e=i.children[l],a=!1):e=null:(_.push(e),A.push(l),l=0,i=e,e=e.children[0])}return this}toJSON(){return this._data}fromJSON(n){return this._data=n,this}_build(n,t,e,r){const o=e-t+1;let i=this._maxEntries;if(o<=i){const r=new k(n.slice(t,e+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(o)/Math.log(i)),i=Math.ceil(o/i**(r-1)));const l=new B([]);l.height=r;const a=Math.ceil(o/i),s=a*Math.ceil(Math.sqrt(i));w(n,t,e,s,this._compareMinX);for(let o=t;o<=e;o+=s){const t=Math.min(o+s-1,e);w(n,o,t,a,this._compareMinY);for(let e=o;e<=t;e+=a){const o=Math.min(e+a-1,t);l.children.push(this._build(n,e,o,r-1))}}return u(l,this._toBBox),l}_insert(n,t,e){const r=this._toBBox,o=e?n:r(n);_.clear();const i=function(n,t,e,r){for(;r.push(t),!0!==t.leaf&&r.length-1!==e;){let e,r=1/0,o=1/0;for(let i=0,l=t.children.length;i<l;i++){const l=t.children[i],a=d(l),s=g(n,l)-a;s<o?(o=s,r=a<r?a:r,e=l):s===o&&a<r&&(r=a,e=l)}t=e||t.children[0]}return t}(o,this._data,t,_);for(i.children.push(n),f(i,o);t>=0&&_.data[t].children.length>this._maxEntries;)this._split(_,t),t--;!function(n,t,e){for(let r=e;r>=0;r--)f(t.data[r],n)}(o,_,t)}_split(n,t){const e=n.data[t],r=e.children.length,o=this._minEntries;this._chooseSplitAxis(e,o,r);const i=this._chooseSplitIndex(e,o,r);if(!i)return;const l=e.children.splice(i,e.children.length-i),a=e.leaf?new k(l):new B(l);a.height=e.height,u(e,this._toBBox),u(a,this._toBBox),t?n.data[t-1].children.push(a):this._splitRoot(e,a)}_splitRoot(n,t){this._data=new B([n,t]),this._data.height=n.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(n,t,e){let r,o,i;r=o=1/0;for(let l=t;l<=e-t;l++){const t=c(n,0,l,this._toBBox),a=c(n,l,e,this._toBBox),s=y(t,a),u=d(t)+d(a);s<r?(r=s,i=l,o=u<o?u:o):s===r&&u<o&&(o=u,i=l)}return i}_chooseSplitAxis(n,t,e){const r=n.leaf?this._compareMinX:h,o=n.leaf?this._compareMinY:p;this._allDistMargin(n,t,e,r)<this._allDistMargin(n,t,e,o)&&n.children.sort(r)}_allDistMargin(n,t,e,r){n.children.sort(r);const o=this._toBBox,i=c(n,0,t,o),l=c(n,e-t,e,o);let a=m(i)+m(l);for(let r=t;r<e-t;r++){const t=n.children[r];f(i,n.leaf?o(t):t),a+=m(i)}for(let r=e-t-1;r>=t;r--){const t=n.children[r];f(l,n.leaf?o(t):t),a+=m(l)}return a}_condense(n){for(let t=n.length-1;t>=0;t--){const e=n.data[t];if(0===e.children.length)if(t>0){const o=n.data[t-1],i=o.children;i.splice((0,r.qh)(i,e,i.length,o.indexHint),1)}else this.clear();else u(e,this._toBBox)}}_initFormat(n){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(n[0])),this._compareMinY=new Function("a","b",t.join(n[1])),this._toBBox=new Function("a","return {minX: a"+n[0]+", minY: a"+n[1]+", maxX: a"+n[2]+", maxY: a"+n[3]+"};")}}function s(n,t){let e=n;for(b.clear();e;){if(!0===e.leaf)for(const n of e.children)t((0,o.zI)(n));else b.pushArray(e.children);e=b.pop()??null}}function u(n,t){c(n,0,n.children.length,t,n)}function c(n,t,e,r,o){o||(o=new k([])),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(let i,l=t;l<e;l++)i=n.children[l],f(o,n.leaf?r(i):i);return o}function f(n,t){n.minX=Math.min(n.minX,t.minX),n.minY=Math.min(n.minY,t.minY),n.maxX=Math.max(n.maxX,t.maxX),n.maxY=Math.max(n.maxY,t.maxY)}function h(n,t){return n.minX-t.minX}function p(n,t){return n.minY-t.minY}function d(n){return(n.maxX-n.minX)*(n.maxY-n.minY)}function m(n){return n.maxX-n.minX+(n.maxY-n.minY)}function g(n,t){return(Math.max(t.maxX,n.maxX)-Math.min(t.minX,n.minX))*(Math.max(t.maxY,n.maxY)-Math.min(t.minY,n.minY))}function y(n,t){const e=Math.max(n.minX,t.minX),r=Math.max(n.minY,t.minY),o=Math.min(n.maxX,t.maxX),i=Math.min(n.maxY,t.maxY);return Math.max(0,o-e)*Math.max(0,i-r)}function M(n,t){return n.minX<=t.minX&&n.minY<=t.minY&&t.maxX<=n.maxX&&t.maxY<=n.maxY}function x(n,t){return t.minX<=n.maxX&&t.minY<=n.maxY&&t.maxX>=n.minX&&t.maxY>=n.minY}function w(n,t,e,r,o){const i=[t,e];for(;i.length;){const t=i.pop(),e=i.pop();if(t-e<=r)continue;const a=e+Math.ceil((t-e)/r/2)*r;(0,l.q)(n,a,e,t,o),i.push(e,a,a,t)}}const v=new i.A,b=new i.A,_=new i.A,A=new i.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class k extends S{constructor(n){super(),this.children=n,this.leaf=!0}}class B extends S{constructor(n){super(),this.children=n,this.leaf=!1}}},91218:(n,t,e)=>{e.r(t),e.d(t,{canProjectWithoutEngine:()=>Z,initializeProjection:()=>$,isEqualBaseGCS:()=>G,isLoaded:()=>I,isLoadedOrLoad:()=>T,isLoadedOrLoadFor:()=>O,load:()=>Y,project:()=>q,projectExtent:()=>en,projectMany:()=>P,projectMultipoint:()=>D,projectOrLoad:()=>C,projectOrLoadMany:()=>E,projectPoint:()=>V,projectPolygon:()=>nn,projectPolyline:()=>H,projectWithZConversion:()=>L,projectWithoutEngine:()=>K,requiresLoad:()=>X,test:()=>F,tryProjectWithZConversion:()=>U,unload:()=>z});var r=e(49186),o=e(74887),i=e(62788),l=e(95488),a=e(51850),s=e(21276),u=e(73941),c=e(5443),f=e(91075),h=e(48526),p=e(86738),d=e(39829),m=e(82799),g=e(16930),y=e(159),M=e(9762),x=e(37539);function w(n,t,e,r,o,i){return v[0]=n,v[1]=t,v[2]=e,(0,M.projectBuffer)(v,r,0,o,i,0)}const v=(0,a.vt)();var b=e(21325),_=e(62815);let A=null,R=null,S=null,k=null,B={};const j=new l.I;function I(){return!!(R?.isLoaded()&&S?.isLoaded()&&k?.isLoaded())}function T(){return!!I()||((0,i.gc)(j),Y(),!1)}function O(n,t){return!n||!t||Z(n,t)||T()}function X(n,t){return!Z(n,t)&&!I()}async function Y(n){null==A&&(A=Promise.all([e.e(3276).then(e.bind(e,83276)).then(n=>(R=n,R.load())),e.e(8377).then(e.bind(e,8377)).then(n=>(S=n,S.load())),e.e(2158).then(e.bind(e,12158)).then(n=>(k=n,k.load()))])),await A,(0,o.Te)(n),j.notify()}function q(n,t,e){return Array.isArray(n)?0===n.length?[]:((0,s.H)(n),P(n,n[0].spatialReference,t,e)):((0,s.f)(n),P([n],n.spatialReference,t,e)[0])}function P(n,t,e,r){if(null==t||null==e)return n;if(Z(t,e,r))return n.map(n=>K(n,t,e));if(null==r?.geographicTransformation&&(0,u.jA)(t))return n.map(n=>K(n,t,g.A.WGS84)).map(n=>U(n,e));if(null==r?.geographicTransformation&&(0,u.jA)(e))return n.map(n=>U(n,g.A.WGS84)).map(n=>K(n,g.A.WGS84,e));if(!I())throw new N;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:k.getTransformation(t,e,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const n=function(n,t){return[n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,e);let o=B[n];o||(o=k.getTransformation(t,e)||new y.A,B[n]=o),r={geographicTransformation:o}}return n[0].spatialReference||(n[0].spatialReference=t),n[0]instanceof f.A?R.executeMany(n,e,r):S.executeMany(n,e,r)}function C(n,t){const e=E([n],t);return null!=e.pending?{pending:e.pending,geometry:null}:null!=e.geometries?{pending:null,geometry:e.geometries[0]}:{pending:null,geometry:null}}function E(n,t){if(!I())for(const e of n)if(null!=e&&!(0,b.aI)(e.spatialReference,t)&&(0,b.fn)(e.spatialReference)&&(0,b.fn)(t)&&!Z(e.spatialReference,t))return(0,i.gc)(j),{pending:Y(),geometries:null};return{pending:null,geometries:n.map(n=>null==n?null:(0,b.aI)(n.spatialReference,t)?n:(0,b.fn)(n.spatialReference)&&(0,b.fn)(t)?U(n,t):null)}}class N extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){A=null,R=null,S=null,k=null,B={}}const F={get loadPromise(){return A}};function U(n,t){try{const e=q(n,t);if(null==e)return null;"xmin"in n&&"xmin"in e&&(e.zmin=n.zmin,e.zmax=n.zmax);const r=(0,_.N)(e.type,n.spatialReference,t);return null!=r&&r(e),e}catch(n){if(!(n instanceof N))throw n;return null}}async function L(n,t,e){const r=n.spatialReference;return null!=r&&null!=t&&await $(r,t,null,e),U(n,t)}function Z(n,t,e){return!(e?.areaOfInterestExtent||e?.extendedParams||e?.geographicTransformation)&&(!!(0,b.aI)(n,t)||(0,b.fn)(n)&&(0,b.fn)(t)&&!!(0,x.jd)(n,t))}function G(n,t){if((0,b.aI)(n,t))return!0;if(!(0,b.fn)(n)||!(0,b.fn)(t))return!1;const e=(0,b.oT)(n)||(0,b.K8)(n)||(0,b.x1)(n),r=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t);return e&&r}async function $(n,t,e,r){if(I())return(0,o.NO)(r);if(Array.isArray(n)){for(const{source:t,dest:e,options:o}of n)if(t&&e&&!Z(t,e,o))return Y(r)}else if(n&&t&&!Z(n,t,e))return Y(r);return(0,o.NO)(r)}function K(n,t,e){return n?"x"in n?W(n,t,new p.A,e,0):"xmin"in n?rn(n,t,new c.A,e,0):"rings"in n?tn(n,t,new d.A,e,0):"paths"in n?Q(n,t,new m.A,e,0):"points"in n?J(n,t,new h.A,e,0):null:null}function V(n,t,e=t.spatialReference,r=0){return null!=e&&null!=n.spatialReference&&null!=W(n,n.spatialReference,t,e,r)}function W(n,t,e,r,o){ln[0]=n.x,ln[1]=n.y;const i=n.z;return ln[2]=void 0!==i?i:o,(0,M.projectBuffer)(ln,t,0,ln,r,0)?(e.x=ln[0],e.y=ln[1],e.spatialReference=r,void 0!==i||(0,u.xP)(r)?(e.z=ln[2],e.hasZ=!0):(e.z=void 0,e.hasZ=!1),void 0===n.m?(e.m=void 0,e.hasM=!1):(e.m=n.m,e.hasM=!0),e):null}function D(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=J(n,n.spatialReference,t,e,r)}function J(n,t,e,r,o){const{points:i,hasZ:l,hasM:a}=n,s=[],c=i.length,f=[];for(const n of i)f.push(n[0],n[1],l?n[2]:o);if(!(0,M.projectBuffer)(f,t,0,f,r,0,c))return null;const h=l||(0,u.xP)(r);for(let n=0;n<c;++n){const t=3*n,e=f[t],r=f[t+1];h&&a?s.push([e,r,f[t+2],i[n][3]]):h?s.push([e,r,f[t+2]]):a?s.push([e,r,i[n][2]]):s.push([e,r])}return e.points=s,e.spatialReference=r,e.hasZ=l,e.hasM=a,e}function H(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=Q(n,n.spatialReference,t,e,r)}function Q(n,t,e,r,o){const{paths:i,hasZ:l,hasM:a}=n,s=[];if(!on(i,l??!1,a??!1,t,s,r,o))return null;const c=l||(0,u.xP)(r);return e.paths=s,e.spatialReference=r,e.hasZ=c,e.hasM=a,e}function nn(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=tn(n,n.spatialReference,t,e,r)}function tn(n,t,e,r,o){const{rings:i,hasZ:l,hasM:a}=n,s=[];if(!on(i,l??!1,a??!1,t,s,r,o))return null;const c=l||(0,u.xP)(r);return e.rings=s,e.spatialReference=r,e.hasZ=c,e.hasM=a,e}function en(n,t,e=t.spatialReference,r=0){return null!=n.spatialReference&&null!=e&&null!=rn(n,n.spatialReference,t,e,r)}function rn(n,t,e,r,o){const{xmin:i,ymin:l,xmax:a,ymax:s,hasZ:c,hasM:f}=n;if(!w(i,l,c?n.zmin:o,t,ln,r))return null;const h=c||(0,u.xP)(r);return e.xmin=ln[0],e.ymin=ln[1],h&&(e.zmin=ln[2]),w(a,s,c?n.zmax:o,t,ln,r)?(e.xmax=ln[0],e.ymax=ln[1],h&&(e.zmax=ln[2]),f&&(e.mmin=n.mmin,e.mmax=n.mmax),e.spatialReference=r,e):null}function on(n,t,e,r,o,i,l=0){const a=new Array;for(const e of n)for(const n of e)a.push(n[0],n[1],t?n[2]:l);if(!(0,M.projectBuffer)(a,r,0,a,i,0))return!1;let s=0;o.length=0;const c=t||(0,u.xP)(i);for(const t of n){const n=new Array;for(const r of t)c&&e?n.push([a[s++],a[s++],a[s++],r[3]]):c?n.push([a[s++],a[s++],a[s++]]):e?(n.push([a[s++],a[s++],r[2]]),s++):(n.push([a[s++],a[s++]]),s++);o.push(n)}return!0}const ln=(0,a.vt)()},95488:(n,t,e)=>{e.d(t,{I:()=>o});var r=e(11406);class o extends r.T{notify(){const n=this._observers;if(n&&n.length>0){const t=n.slice();for(const n of t)n.onInvalidated(),n.onCommitted()}}}},95696:(n,t,e)=>{e.d(t,{A:()=>u});var r,o=e(31635),i=e(69540),l=e(25482),a=e(91429),s=e(93223);let u=class extends((0,i.OU)(l.o)){static{r=this}constructor(n){super(n),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,o.Cg)([(0,s.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764:(n,t,e)=>{e.d(t,{Y0:()=>u,lO:()=>c});var r=e(73941),o=e(16930),i=e(21325);const l=new o.A(r.fv),a=new o.A(r.FY),s=new o.A(r.LJ),u=new o.A(r.Ro);function c(n){const t=f.get(n);if(t)return t;let e=l;if(n)if(n===a)e=a;else if(n===s)e=s;else{const t=n.wkid,r=n.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?e=a:((0,i.ZL)(t)||(0,i.ZL)(r))&&(e=s);else{const t=n.wkt2??n.wkt;if(t){const n=t.toUpperCase();n===h?e=a:n===p&&(e=s)}}}return f.set(n,e),e}const f=new Map,h=a.wkt.toUpperCase(),p=s.wkt.toUpperCase()},99157:(n,t,e)=>{e.d(t,{A:()=>a});var r,o=e(31635),i=e(69622),l=e(91429);let a=r=class extends i.A{constructor(n){super(n),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,l.MZ)()],a.prototype,"isInverse",void 0),(0,o.Cg)([(0,l.MZ)()],a.prototype,"wkt",void 0),(0,o.Cg)([(0,l.MZ)()],a.prototype,"wkid",void 0),a=r=(0,o.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);