@arcgis/core 4.34.0-next.55 → 4.34.0-next.57

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 (211) hide show
  1. package/WebScene.js +1 -1
  2. package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +4 -0
  3. package/analysis/VolumeMeasurement/{CutFillOptions.js → VolumeMeasurementCutFillOptions.js} +1 -1
  4. package/analysis/VolumeMeasurementAnalysis.js +1 -1
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/02a31483e09652a1a1a2.js +1 -0
  7. package/assets/esri/core/workers/chunks/0390f3aa624e3f380ce2.js +1 -0
  8. package/assets/esri/core/workers/chunks/047d6f7b1677cc7ab271.js +1 -0
  9. package/assets/esri/core/workers/chunks/04e652df94790f5ca08a.js +1 -0
  10. package/assets/esri/core/workers/chunks/{9f178cf73c63caaea190.js → 06d2251d6f6b3e44800a.js} +1 -1
  11. package/assets/esri/core/workers/chunks/07d5e0633cc2f765037f.js +1 -0
  12. package/assets/esri/core/workers/chunks/{fe5c37c69da3ec1e56ac.js → 08393d9cc2ed846dd5b4.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{18ceea59e469a0f2721b.js → 094c741fa8139c3f40cf.js} +1 -1
  14. package/assets/esri/core/workers/chunks/0d946a226b846b3c0849.js +1 -0
  15. package/assets/esri/core/workers/chunks/{6530449cd1975deb61f1.js → 184d3c88ac2fc1d7e2c3.js} +1 -1
  16. package/assets/esri/core/workers/chunks/2ded2446700f89155ccd.js +1 -0
  17. package/assets/esri/core/workers/chunks/{19391d60c76a1dc7c262.js → 2f7e192ee2066f863e1d.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{6b11476b2004b4db576e.js → 3445ffd752262673fb13.js} +1 -1
  19. package/assets/esri/core/workers/chunks/38f09e36e174792646bd.js +1 -0
  20. package/assets/esri/core/workers/chunks/43a56c8fa4e5be18c12a.js +1 -0
  21. package/assets/esri/core/workers/chunks/{65e1f5b20a585e04655a.js → 44dc7ec52c4abb700783.js} +1 -1
  22. package/assets/esri/core/workers/chunks/4558f2e3e77831758fdc.js +1 -0
  23. package/assets/esri/core/workers/chunks/4753793daf0b7ff8b5ff.js +1 -0
  24. package/assets/esri/core/workers/chunks/52917b753c5ceab0c1f7.js +353 -0
  25. package/assets/esri/core/workers/chunks/{6940bb6524938894a246.js → 53873f26a2c24cd75e4a.js} +1 -1
  26. package/assets/esri/core/workers/chunks/561a2078458bc0339f83.js +1 -0
  27. package/assets/esri/core/workers/chunks/56b4dcd04c844eaacd60.js +1 -0
  28. package/assets/esri/core/workers/chunks/{d0bf1fc6e3c198bc565d.js → 57486b18421a3c9690d0.js} +1 -1
  29. package/assets/esri/core/workers/chunks/5f079be7f322768aef21.js +1 -0
  30. package/assets/esri/core/workers/chunks/61a294f9411bf884f2ab.js +1 -0
  31. package/assets/esri/core/workers/chunks/{ad93a2621f75270f06cb.js → 69fbe363bb130fdd8146.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{722931d1a60be461e521.js → 70cf81ec5a901782d2db.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{24ac204d8a045aa821be.js → 7388e8c905d93dea1c05.js} +1 -1
  34. package/assets/esri/core/workers/chunks/749c7159e0902388e828.js +1 -0
  35. package/assets/esri/core/workers/chunks/76ff7ccfe583927918f3.js +969 -0
  36. package/assets/esri/core/workers/chunks/{ae73ac81bd10614c2b53.js → 7714228825fb44d506df.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{6130bc641aa7c1bcaaa8.js → 7c23be93d394f1bee941.js} +1 -1
  38. package/assets/esri/core/workers/chunks/7c86af4f60cea383ed96.js +1 -0
  39. package/assets/esri/core/workers/chunks/7eda1c400658b6a99be8.js +1 -0
  40. package/assets/esri/core/workers/chunks/{97ae2fdb6cb98249f5fa.js → 7f80bbbd0897082c1af3.js} +1 -1
  41. package/assets/esri/core/workers/chunks/80a69897fa3ce1eaa6e7.js +1 -0
  42. package/assets/esri/core/workers/chunks/80bd5988180f4618fd61.js +1 -0
  43. package/assets/esri/core/workers/chunks/{62ade6f18b375795ddfd.js → 8257352421f453a669e9.js} +1 -1
  44. package/assets/esri/core/workers/chunks/8762928d10c3821738ad.js +1 -0
  45. package/assets/esri/core/workers/chunks/88a5e7415f8858c454f7.js +1 -0
  46. package/assets/esri/core/workers/chunks/893e5eb5c028c4704317.js +1 -0
  47. package/assets/esri/core/workers/chunks/8ead467a5af0d9bba804.js +1 -0
  48. package/assets/esri/core/workers/chunks/91e04d03b0013bcaad82.js +1 -0
  49. package/assets/esri/core/workers/chunks/{c7d4c296011c5393bcaa.js → 9275313e0f1f521b2658.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{e666ca4d14b6490485d6.js → 92b60d4fb09711919601.js} +1 -1
  51. package/assets/esri/core/workers/chunks/977582cb3c8f17a2cb4c.js +1 -0
  52. package/assets/esri/core/workers/chunks/{5c556468e2a598ab793a.js → 9940e59033a8a1eff2a9.js} +1 -1
  53. package/assets/esri/core/workers/chunks/9b10e70f28873cff44f5.js +1 -0
  54. package/assets/esri/core/workers/chunks/{9928e432b884c75c3436.js → 9d920f3488d59e7f276c.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{a778a72456fefdf40115.js → a249e56a0be8cef33ba8.js} +1 -1
  56. package/assets/esri/core/workers/chunks/a3ee76b7e46d3fba7cf7.js +1 -0
  57. package/assets/esri/core/workers/chunks/{2cda605c302176905e84.js → a96ac5c68d84122e7751.js} +1 -1
  58. package/assets/esri/core/workers/chunks/acf13a64df2991a4cb6b.js +1 -0
  59. package/assets/esri/core/workers/chunks/{7a8d740d1226719a578a.js → b457b7dd907f06278bee.js} +1 -1
  60. package/assets/esri/core/workers/chunks/b5640f9623a9c9ded92a.js +1 -0
  61. package/assets/esri/core/workers/chunks/bb67d491f62a5cce96cd.js +1 -0
  62. package/assets/esri/core/workers/chunks/{71acded1b3c0057917a1.js → bbdbb618a18542f7a4a2.js} +1 -1
  63. package/assets/esri/core/workers/chunks/bc9f54a6b577c43189fd.js +1 -0
  64. package/assets/esri/core/workers/chunks/{6fe738748ce837811ff4.js → bd4125d163f372a7e978.js} +1 -1
  65. package/assets/esri/core/workers/chunks/bead38898c3f4d4d3569.js +1 -0
  66. package/assets/esri/core/workers/chunks/{22334a464f798b5279b2.js → c80c032c5b7a11db177a.js} +1 -1
  67. package/assets/esri/core/workers/chunks/cc748d4f4adb9c584aa4.js +1 -0
  68. package/assets/esri/core/workers/chunks/cf699b9bb530b87be14c.js +1 -0
  69. package/assets/esri/core/workers/chunks/{5d331f7628514a572f82.js → d6ab4d55f1023ee6ec6a.js} +1 -1
  70. package/assets/esri/core/workers/chunks/d71836cf70b9604832f1.js +1 -0
  71. package/assets/esri/core/workers/chunks/{4874aabdb5c60ca66216.js → db2b8d8cf7131554cf7e.js} +1 -1
  72. package/assets/esri/core/workers/chunks/de4da985c398c8bcf2e7.js +1 -0
  73. package/assets/esri/core/workers/chunks/ef85cd0e82d59db8a26f.js +33 -0
  74. package/assets/esri/core/workers/chunks/fd1fdb97a294a1b7041d.js +1 -0
  75. package/config.js +1 -1
  76. package/core/has.js +1 -1
  77. package/geometry/Multipoint.js +1 -1
  78. package/geometry/support/boundsUtils.js +1 -1
  79. package/geometry/support/contains.js +1 -1
  80. package/geometry/support/coordsUtils.js +1 -1
  81. package/geometry/support/curves/circleUtils.js +1 -1
  82. package/geometry/support/curves/circularArcUtils.js +1 -1
  83. package/geometry/support/curves/curveUtils.js +1 -1
  84. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  85. package/geometry/support/curves/rotate.js +5 -0
  86. package/geometry/support/extentUtils.js +1 -1
  87. package/geometry/support/rotate.js +1 -1
  88. package/graphic/ImageryGraphicOrigin.js +5 -0
  89. package/graphic/ImageryTileGraphicOrigin.js +5 -0
  90. package/graphic/KMLGraphicOrigin.js +5 -0
  91. package/graphic/WCSGraphicOrigin.js +5 -0
  92. package/graphic/isImageryGraphicOrigin.js +5 -0
  93. package/graphic/isImageryTileGraphicOrigin.js +5 -0
  94. package/graphic/isKMLGraphicOrigin.js +5 -0
  95. package/graphic/isWCSGraphicOrigin.js +5 -0
  96. package/interfaces.d.ts +10 -10
  97. package/kernel.js +1 -1
  98. package/layers/CatalogLayer.js +1 -1
  99. package/layers/FeatureLayer.js +1 -1
  100. package/layers/GroundLayer.js +5 -0
  101. package/layers/ImageryLayer.js +1 -1
  102. package/layers/ImageryTileLayer.js +1 -1
  103. package/layers/KMLLayer.js +1 -1
  104. package/layers/SceneLayer.js +1 -1
  105. package/layers/WCSLayer.js +1 -1
  106. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  107. package/layers/mixins/ArcGISImageService.js +1 -1
  108. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  109. package/layers/support/ElevationQuery.js +1 -1
  110. package/layers/support/KMLSublayer.js +1 -1
  111. package/layers/support/featureReductionUtils.js +1 -1
  112. package/layers/support/kmlUtils.js +1 -1
  113. package/package.json +1 -1
  114. package/renderers/support/colorRampUtils.js +1 -1
  115. package/support/requestUtils.js +1 -1
  116. package/support/revision.js +1 -1
  117. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  118. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  119. package/views/2d/layers/KMLLayerView2D.js +1 -1
  120. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  121. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  122. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementPathHelper.js +1 -1
  123. package/views/3d/analysis/Viewshed/{ArrowManipulator.js → ViewshedArrowManipulator.js} +1 -1
  124. package/views/3d/analysis/Viewshed/{FieldOfViewManipulation.js → ViewshedFieldOfViewManipulation.js} +1 -1
  125. package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +5 -0
  126. package/views/3d/analysis/Viewshed/ViewshedShapeVisualElement.js +5 -0
  127. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  128. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +5 -0
  129. package/views/3d/analysis/Viewshed/ViewshedVisualization.js +1 -1
  130. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  131. package/views/3d/analysis/VolumeMeasurement/{CutFillVolumeMeasurementComputation.js → VolumeMeasurementCutFillComputation.js} +1 -1
  132. package/views/3d/analysis/VolumeMeasurement/{CutFillVolumeMeasurementController.js → VolumeMeasurementCutFillController.js} +1 -1
  133. package/views/3d/analysis/VolumeMeasurement/{CutFillVolumeMeasurementVisualization.js → VolumeMeasurementCutFillVisualization.js} +1 -1
  134. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  135. package/views/3d/layers/CatalogFootprintLayerView3D.js +1 -1
  136. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  137. package/views/GroundView.js +1 -1
  138. package/views/analysis/ElevationProfile/elevationProfileGenerationUtils.js +1 -1
  139. package/views/draw/DrawOperation.js +1 -1
  140. package/views/draw/MultipointDrawAction.js +1 -1
  141. package/views/draw/PointDrawAction.js +1 -1
  142. package/views/draw/PolygonDrawAction.js +1 -1
  143. package/views/draw/PolylineDrawAction.js +1 -1
  144. package/views/draw/SegmentDrawAction.js +1 -1
  145. package/views/draw/support/Box.js +1 -1
  146. package/views/draw/support/GraphicMover.js +1 -1
  147. package/views/draw/support/Reshape.js +1 -1
  148. package/views/draw/support/drawUtils.js +1 -1
  149. package/views/draw/support/reshapeTooltipUtils.js +1 -1
  150. package/views/interactive/editGeometry/EditGeometry.js +1 -1
  151. package/views/interactive/editGeometry/EditGeometryOperations.js +1 -1
  152. package/views/interactive/editGeometry/operations/AppendVertex.js +1 -1
  153. package/views/interactive/editGeometry/operations/RotateVertex.js +1 -1
  154. package/views/interactive/editGeometry/operations/curveOperationUtils.js +1 -1
  155. package/views/interactive/tooltip/infos/SelectedVertexTooltipInfo.js +1 -1
  156. package/views/layers/ImageryLayerView.js +1 -1
  157. package/views/layers/ImageryTileLayerView.js +1 -1
  158. package/webscene/spec-certification/api.js +1 -1
  159. package/webscene/spec-certification/compare.js +1 -1
  160. package/webscene/spec-certification/spec.js +1 -1
  161. package/widgets/ElevationProfile/support/profileUtils.js +1 -1
  162. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  163. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  164. package/widgets/OrientedImageryViewer.js +1 -1
  165. package/widgets/Sketch/SketchViewModel.js +1 -1
  166. package/widgets/Sketch/support/sketchUtils.js +1 -1
  167. package/analysis/VolumeMeasurement/CutFillOptions.d.ts +0 -4
  168. package/assets/esri/core/workers/chunks/01e8b9dc77a57d1c2a52.js +0 -1
  169. package/assets/esri/core/workers/chunks/027cfcde29fe87aa2ffe.js +0 -1
  170. package/assets/esri/core/workers/chunks/03ee4d63aa8de44958ab.js +0 -1
  171. package/assets/esri/core/workers/chunks/0445de3a8968c0734c91.js +0 -1
  172. package/assets/esri/core/workers/chunks/09268dc856c3d5ce178f.js +0 -1
  173. package/assets/esri/core/workers/chunks/0a6d33d013628f671aea.js +0 -1
  174. package/assets/esri/core/workers/chunks/17776d9d3558d45ea7b5.js +0 -1
  175. package/assets/esri/core/workers/chunks/1a2278b9fe9666342728.js +0 -1
  176. package/assets/esri/core/workers/chunks/1e01aaebdeffdfc0c6bd.js +0 -1
  177. package/assets/esri/core/workers/chunks/222f981e876f60ae282f.js +0 -1
  178. package/assets/esri/core/workers/chunks/252ee00fd6c4ae0ee7fa.js +0 -1
  179. package/assets/esri/core/workers/chunks/277941bec15525dbd3a0.js +0 -1
  180. package/assets/esri/core/workers/chunks/2cb14d040e67a261b31c.js +0 -1
  181. package/assets/esri/core/workers/chunks/31c088966ccfff2ea1db.js +0 -1
  182. package/assets/esri/core/workers/chunks/3245d20ea4bb779f87ef.js +0 -1
  183. package/assets/esri/core/workers/chunks/3800764932a1c32cb29f.js +0 -1
  184. package/assets/esri/core/workers/chunks/46a470bea2a3601182dc.js +0 -1
  185. package/assets/esri/core/workers/chunks/4f8dab492331c9a2d67a.js +0 -1
  186. package/assets/esri/core/workers/chunks/5900dde7a201a7d47469.js +0 -1
  187. package/assets/esri/core/workers/chunks/5b2ff220aebe464dac23.js +0 -1
  188. package/assets/esri/core/workers/chunks/6801b92bce7a918fda6f.js +0 -1
  189. package/assets/esri/core/workers/chunks/772e81e9162e2240a7a6.js +0 -1
  190. package/assets/esri/core/workers/chunks/7b560ac0be93c6aa9940.js +0 -1
  191. package/assets/esri/core/workers/chunks/7bdfc7c7ce1d94c00745.js +0 -353
  192. package/assets/esri/core/workers/chunks/83737d86584bf1b32368.js +0 -1
  193. package/assets/esri/core/workers/chunks/854bfda25bb406814929.js +0 -1
  194. package/assets/esri/core/workers/chunks/87f68c2b9361bd3f8cac.js +0 -1
  195. package/assets/esri/core/workers/chunks/8c81156b1605a16acc29.js +0 -1
  196. package/assets/esri/core/workers/chunks/8f6ff09e7d2f01b79faf.js +0 -1
  197. package/assets/esri/core/workers/chunks/97a38d700f2cb8807d51.js +0 -1
  198. package/assets/esri/core/workers/chunks/9e9be7f6ea32957f1088.js +0 -33
  199. package/assets/esri/core/workers/chunks/cbec768cd98caff212f2.js +0 -1
  200. package/assets/esri/core/workers/chunks/d1842745a7699879a1e1.js +0 -1
  201. package/assets/esri/core/workers/chunks/d81c4afad4abe2d1d0b9.js +0 -1
  202. package/assets/esri/core/workers/chunks/de499e33035b56b6697d.js +0 -1
  203. package/assets/esri/core/workers/chunks/dfb12f42b8d319ffa5fc.js +0 -1
  204. package/assets/esri/core/workers/chunks/e04951ee32f041faaeca.js +0 -1
  205. package/assets/esri/core/workers/chunks/e10c5405f956b2cc59e4.js +0 -1
  206. package/assets/esri/core/workers/chunks/ead1acf95c3385630da8.js +0 -1001
  207. package/assets/esri/core/workers/chunks/f3e3c2340452c1d60c95.js +0 -1
  208. package/assets/esri/core/workers/chunks/f4d7cbd33ef8710d7316.js +0 -1
  209. package/views/3d/analysis/Viewshed/ScaleOrientManipulation.js +0 -5
  210. package/views/3d/analysis/Viewshed/ViewshedAnalysisVisualization.js +0 -5
  211. package/views/3d/interactive/visualElements/ViewshedShapeVisualElement.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3030],{620:(t,e,s)=>{s.d(e,{O_:()=>n,vA:()=>i}),s(48163),s(87317),(0,s(91829).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new r(`${e} at ${t}`)}}function n(t,e,s,r){let i,n=(s[0]-t[0])/e[0],u=(r[0]-t[0])/e[0];n>u&&(i=n,n=u,u=i);let f=(s[1]-t[1])/e[1],c=(r[1]-t[1])/e[1];if(f>c&&(i=f,f=c,c=i),n>c||f>u)return!1;f>n&&(n=f),c<u&&(u=c);let h=(s[2]-t[2])/e[2],y=(r[2]-t[2])/e[2];return h>y&&(i=h,h=y,y=i),!(n>y||h>u||(y<u&&(u=y),u<0))}},13030:(t,e,s)=>{s.d(e,{Y$:()=>a,XW:()=>p,qB:()=>g,Qt:()=>z,My:()=>W,bf:()=>j,jZ:()=>M,j0:()=>b,Sx:()=>_,E$:()=>x,h:()=>N,P:()=>U,SL:()=>w,gH:()=>E,ZD:()=>B,si:()=>C,mJ:()=>Z,UL:()=>J,D6:()=>$,Yi:()=>F,An:()=>X,LC:()=>Y,xs:()=>m,EC:()=>T,Xm:()=>L,Vp:()=>H,zD:()=>G,m8:()=>D,nS:()=>I,H$:()=>q,eI:()=>R,Eq:()=>A,jz:()=>S,Aj:()=>P,E7:()=>Q,Y4:()=>K,TX:()=>k,Uz:()=>O,ml:()=>V,XP:()=>v});var r=s(20498);class i{static{this.ElementCount=9}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=9;const n=this.TypedArrayConstructor;void 0===r&&(r=9*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[s++];return e}setMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[s++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;for(let t=0;t<9;++t)r[n++]=i[u++]}get buffer(){return this.typedBuffer.buffer}}class n{static{this.ElementCount=16}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=16;const n=this.TypedArrayConstructor;void 0===r&&(r=16*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[s++];return e}setMat(t,e){let s=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[s++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}copyFrom(t,e,s){this.copyFromTypedBuffer(t,e.typedBuffer,s*e.typedBufferStride)}copyFromTypedBuffer(t,e,s){const r=this.typedBuffer;let i=t*this.typedBufferStride;for(let t=0;t<16;++t)r[i++]=e[s++]}get buffer(){return this.typedBuffer.buffer}}class u{static{this.ElementCount=1}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=1;const n=this.TypedArrayConstructor;void 0===r&&(r=n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var f=s(37585);class c{static{this.ElementCount=2}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.start=s,this.elementCount=2;const n=this.TypedArrayConstructor;void 0===r&&(r=2*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,f.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=s}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var h=s(38954);class y{static{this.ElementCount=3}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.elementCount=3;const n=this.TypedArrayConstructor;void 0===r&&(r=3*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,h.i)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=s,this.typedBuffer[t]=r}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var l=s(87317);class o{static{this.ElementCount=4}constructor(t,e,s=0,r,i){this.TypedArrayConstructor=t,this.start=s,this.elementCount=4;const n=this.TypedArrayConstructor;void 0===r&&(r=4*n.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:s;this.typedBuffer=null==i?new n(e,u):new n(e,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,s=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+s*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,l.s)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,s){this.typedBuffer[t*this.typedBufferStride+e]=s}setValues(t,e,s,r,i){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=s,this.typedBuffer[t++]=r,this.typedBuffer[t]=i}copyFrom(t,e,s){const r=this.typedBuffer,i=e.typedBuffer;let n=t*this.typedBufferStride,u=s*e.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var d=s(620);class p extends u{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}static{this.ElementType="f16"}}class a extends u{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}static{this.ElementType="f32"}}class B extends c{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(B,t,e)}static{this.ElementType="f16"}}class E extends c{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class T extends y{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}}class m extends y{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(m,t,e)}static fromTypedArray(t,e){return new m(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class S extends o{constructor(t,e=0,s,i){(0,d.vA)(r.SX),super((0,r.pX)(),t,e,s,i),this.elementType="f16"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f16"}}class A extends o{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f32"}}class M extends i{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(M,t,e)}static{this.ElementType="f32"}}class b extends i{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f64"}}class _ extends n{constructor(t,e=0,s,r){super(Float32Array,t,e,s,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f32"}}class x extends n{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f64"}}class g extends u{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(g,t,e)}static{this.ElementType="f64"}}class C extends c{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class L extends y{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(L,t,e)}static fromTypedArray(t,e){return new L(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class P extends o{constructor(t,e=0,s,r){super(Float64Array,t,e,s,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="f64"}}class w extends u{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="u8"}}class Y extends c{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u8"}}class R extends y{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(R,t,e)}static fromTypedArray(t,e){return new R(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class v extends o{constructor(t,e=0,s,r){super(Uint8Array,t,e,s,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="u8"}}class N extends u{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="u16"}}class F extends c{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u16"}}class I extends y{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u16"}}class O extends o{constructor(t,e=0,s,r){super(Uint16Array,t,e,s,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u16"}}class U extends u{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class X extends c{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u32"}}class q extends y{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u32"}}class V extends o{constructor(t,e=0,s,r){super(Uint32Array,t,e,s,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u32"}}class j extends u{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="i8"}}class $ extends c{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class D extends y{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class k extends o{constructor(t,e=0,s,r){super(Int8Array,t,e,s,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="i8"}}class z extends u{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="i16"}}class Z extends c{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="i16"}}class H extends y{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class Q extends o{constructor(t,e=0,s,r){super(Int16Array,t,e,s,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class W extends u{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i32"}}class J extends c{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i32"}}class G extends y{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i32"}}class K extends o{constructor(t,e=0,s,r){super(Int32Array,t,e,s,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i32"}}},20498:(t,e,s)=>{s.d(e,{SX:()=>n,pX:()=>i});let r=globalThis.Float16Array;function i(){return r}let n=!!r},37585:(t,e,s)=>{s.d(e,{C:()=>i,Cc:()=>B,Io:()=>l,S8:()=>a,WQ:()=>u,aI:()=>S,e$:()=>T,hZ:()=>n,hs:()=>y,jb:()=>M,l0:()=>E,t2:()=>m});var r=s(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t}function n(t,e,s){return t[0]=e,t[1]=s,t}function u(t,e,s){return t[0]=e[0]+s[0],t[1]=e[1]+s[1],t}function f(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t}function c(t,e,s){return t[0]=e[0]*s[0],t[1]=e[1]*s[1],t}function h(t,e,s){return t[0]=e[0]/s[0],t[1]=e[1]/s[1],t}function y(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t}function l(t,e){const s=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(s*s+r*r)}function o(t,e){const s=e[0]-t[0],r=e[1]-t[1];return s*s+r*r}function d(t){const e=t[0],s=t[1];return Math.sqrt(e*e+s*s)}function p(t){const e=t[0],s=t[1];return e*e+s*s}function a(t,e){const s=e[0],r=e[1];let i=s*s+r*r;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i),t}function B(t,e,s,r){const i=e[0],n=e[1];return t[0]=i+r*(s[0]-i),t[1]=n+r*(s[1]-n),t}function E(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[2]*i+s[4],t[1]=s[1]*r+s[3]*i+s[5],t}function T(t,e,s,r){const i=e[0]-s[0],n=e[1]-s[1],u=Math.sin(r),f=Math.cos(r);return t[0]=i*f-n*u+s[0],t[1]=i*u+n*f+s[1],t}function m(t,e){return t[0]===e[0]&&t[1]===e[1]}function S(t,e){const s=t[0],i=t[1],n=e[0],u=e[1],f=(0,r.FD)();return Math.abs(s-n)<=f*Math.max(1,Math.abs(s),Math.abs(n))&&Math.abs(i-u)<=f*Math.max(1,Math.abs(i),Math.abs(u))}const A=d,M=f,b=c,_=h,x=l,g=o,C=p;Object.freeze(Object.defineProperty({__proto__:null,add:u,angle:function(t,e){const s=t[0],r=t[1],i=e[0],n=e[1];let u=s*s+r*r;u>0&&(u=1/Math.sqrt(u));let f=i*i+n*n;f>0&&(f=1/Math.sqrt(f));const c=(s*i+r*n)*u*f;return c>1?0:c<-1?Math.PI:Math.acos(c)},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},copy:i,cross:function(t,e,s){const r=e[0]*s[1]-e[1]*s[0];return t[0]=t[1]=0,t[2]=r,t},dist:x,distance:l,div:_,divide:h,dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},equals:S,exactEquals:m,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},len:A,length:d,lerp:B,max:function(t,e,s){return t[0]=Math.max(e[0],s[0]),t[1]=Math.max(e[1],s[1]),t},min:function(t,e,s){return t[0]=Math.min(e[0],s[0]),t[1]=Math.min(e[1],s[1]),t},mul:b,multiply:c,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:a,projectAndScale:function(t,e,s,r,i){let n=e[0]-s[0],u=e[1]-s[1];const f=(r[0]*n+r[1]*u)*(i-1);return n=r[0]*f,u=r[1]*f,t[0]=e[0]+n,t[1]=e[1]+u,t},random:function(t,e=1){const s=2*(0,r.Ov)()*Math.PI;return t[0]=Math.cos(s)*e,t[1]=Math.sin(s)*e,t},rotate:T,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},scale:y,scaleAndAdd:function(t,e,s,r){return t[0]=e[0]+s[0]*r,t[1]=e[1]+s[1]*r,t},set:n,sqrDist:g,sqrLen:C,squaredDistance:o,squaredLength:p,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:M,subtract:f,transformMat2:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[2]*i,t[1]=s[1]*r+s[3]*i,t},transformMat2d:E,transformMat3:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[3]*i+s[6],t[1]=s[1]*r+s[4]*i+s[7],t},transformMat4:function(t,e,s){const r=e[0],i=e[1];return t[0]=s[0]*r+s[4]*i+s[12],t[1]=s[1]*r+s[5]*i+s[13],t}},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4496],{1193:(t,n,e)=>{e.d(n,{H:()=>g});var r,o=e(31635),i=e(69540),a=e(25482),u=e(4718),l=e(53966),s=e(10107),c=e(79901),f=e(40608),p=e(31199);let g=r=class extends((0,i.O)(a.o)){constructor(t){super(t),this.color=null,this.position=new Float64Array(0),this.uv=null,this.normal=null,this.tangent=null}castColor(t){return(0,p.b)(t,Uint8Array,[Uint8ClampedArray],{loggerTag:".color=",stride:4},l.A.getLogger(this))}castPosition(t){return t&&t instanceof Float32Array&&l.A.getLogger(this).warn(".position=","Setting position attribute from a Float32Array may cause precision problems. Consider storing data in a Float64Array or a regular number array"),(0,p.b)(t,Float64Array,[Float32Array],{loggerTag:".position=",stride:3},l.A.getLogger(this))}castUv(t){return(0,p.b)(t,Float32Array,[Float64Array],{loggerTag:".uv=",stride:2},l.A.getLogger(this))}castNormal(t){return(0,p.b)(t,Float32Array,[Float64Array],{loggerTag:".normal=",stride:3},l.A.getLogger(this))}castTangent(t){return(0,p.b)(t,Float32Array,[Float64Array],{loggerTag:".tangent=",stride:4},l.A.getLogger(this))}clonePositional(){const t={position:(0,u.o8)(this.position),normal:(0,u.o8)(this.normal),tangent:(0,u.o8)(this.tangent),uv:this.uv,color:this.color};return new r(t)}get usedMemory(){return this.position.byteLength+(this.uv?.byteLength??0)+(this.normal?.byteLength??0)+(this.tangent?.byteLength??0)+(this.color?.byteLength??0)}};(0,o.Cg)([(0,s.MZ)({json:{write:p.B}})],g.prototype,"color",void 0),(0,o.Cg)([(0,c.w)("color")],g.prototype,"castColor",null),(0,o.Cg)([(0,s.MZ)({nonNullable:!0,json:{write:p.B}})],g.prototype,"position",void 0),(0,o.Cg)([(0,c.w)("position")],g.prototype,"castPosition",null),(0,o.Cg)([(0,s.MZ)({json:{write:p.B}})],g.prototype,"uv",void 0),(0,o.Cg)([(0,c.w)("uv")],g.prototype,"castUv",null),(0,o.Cg)([(0,s.MZ)({json:{write:p.B}})],g.prototype,"normal",void 0),(0,o.Cg)([(0,c.w)("normal")],g.prototype,"castNormal",null),(0,o.Cg)([(0,s.MZ)({json:{write:p.B}})],g.prototype,"tangent",void 0),(0,o.Cg)([(0,c.w)("tangent")],g.prototype,"castTangent",null),g=r=(0,o.Cg)([(0,f.$)("esri.geometry.support.MeshVertexAttributes")],g)},22141:(t,n,e)=>{e.d(n,{$5:()=>A,CN:()=>M,JP:()=>m,KM:()=>x,Mv:()=>T,X4:()=>b,gr:()=>w,qs:()=>B,si:()=>v,xA:()=>S});var r=e(34727),o=e(77690),i=e(29242),a=e(58083),u=e(9093),l=e(38954),s=e(51850),c=e(48353),f=e(9762),p=(e(79258),e(21325)),g=e(28735),d=e(13030),y=e(73354),h=e(65686);const m="Projection may be possible after calling projection.load().";function M(t,n,e,r){t.error(`Failed to project from (wkid:${n.wkid}) to (wkid:${e.wkid}).${r?" ":""}${r}`)}function b(t,n,e,r,o,i){return F(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function v(t,n,e,r,o,i){return F(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function w(t,n,e,r){return(0,f.projectBuffer)(t,n,0,e,r,0)?e:null}function A(t,n,e,r){return(0,f.projectBuffer)(t,n,0,e,r,0)?e:null}function B(t,n,e){return(0,o.Ge)(_,e),(0,y.b)(n,t,_),(0,r.or)(_)&&(0,y.n)(n,n),n}function x(t,n,e){return(0,o.z0)(_,e),(0,h.t)(n,t,_),(0,r.or)(_)&&(0,y.n)(n,n,4),n}function S(t,n,e,r,o,i){if(!F(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}function T(t,n,e,r,o,i){if(!F(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,16)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}function C(t,n,e,r,i){switch((0,c.l)(r,e,N,r),1===t&&(0,a.B8)(N,N),n){case 0:return(0,o.Ge)(i,N);case 1:return(0,o.z0)(i,N)}}function F(t,n,e,r,o,i,a,u){if(!n)return;const s=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,p.q8)(t)||(0,p.KQ)(t)}(o))for(let r=0;r<s;r++)i.getVec(r,j),n.getVec(r,R),(0,l.o)(R,R,C(t,e,j,a,_)),u.setVec(r,R);else for(let o=0;o<s;o++){i.getVec(o,j),n.getVec(o,R);const s=(0,g.jg)(r.get(o,1));let c=Math.cos(s);1===e!=(0===t)&&(c=1/c),C(t,e,j,a,_),0===t?(_[0]*=c,_[1]*=c,_[2]*=c,_[3]*=c,_[4]*=c,_[5]*=c):(_[0]*=c,_[3]*=c,_[6]*=c,_[1]*=c,_[4]*=c,_[7]*=c),(0,l.o)(R,R,_),(0,l.n)(R,R),u.setVec(o,R)}return u}const j=(0,s.vt)(),R=(0,s.vt)(),N=(0,u.vt)(),_=(0,i.vt)()},28846:(t,n,e)=>{e.d(n,{convertMeshVertexSpace:()=>s});var r=e(49186),o=e(4718),i=e(74887),a=e(1193),u=e(66895),l=e(72258);async function s(t,n,e){await Promise.resolve(),(0,i.Te)(e);const s=(0,l.UR)(t,n,{useEllipsoid:e?.useEllipsoid});if(!s)throw new r.A("meshUtils:convertVertexSpace()","Failed to convert to provided vertex space due to projection errors");return t.clone((0,u.Lz)(void 0,{vertexAttributes:new a.H({...s,uv:(0,o.o8)(t.vertexAttributes.uv),color:(0,o.o8)(t.vertexAttributes.color)}),vertexSpace:n,transform:null}))}},31199:(t,n,e)=>{function r(t,n,e,r){const{loggerTag:o,stride:i}=n;return t.length%i!==0?(r.error(o,`Invalid array length, expected a multiple of ${i}`),new e([])):t}function o(t,n,e,o,i){if(!t)return t;if(t instanceof n)return r(t,o,n,i);for(const a of e)if(t instanceof a)return r(new n(t),o,n,i);if(Array.isArray(t))return r(new n(t),o,n,i);{const r=e.map(t=>`'${t.name}'`);return i.error(`Failed to set property, expected one of ${r}, but got ${t.constructor.name}`),new n([])}}function i(t,n,e){n[e]=function(t){const n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t[e];return n}(t)}e.d(n,{B:()=>i,b:()=>o})},48163:(t,n,e)=>{function r(){return[0,0]}function o(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function a(){return i(1,1)}function u(){return i(1,0)}function l(){return i(0,1)}e.d(n,{Un:()=>s,fA:()=>i,o8:()=>o,vt:()=>r});const s=a(),c=u(),f=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:s,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:o,create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:i,ones:a,unitX:u,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,n,e)=>{e.d(n,{l:()=>s});var r=e(34727),o=e(58083),i=e(51850);function a(t,n,e){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(n),a=Math.cos(n),u=e;return u[0]=-r,u[4]=-i*o,u[8]=a*o,u[12]=0,u[1]=o,u[5]=-i*r,u[9]=a*r,u[13]=0,u[2]=0,u[6]=a,u[10]=i,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=e(37539),l=e(21325);function s(t,n,e,r){const i=(0,u.Tp)(t,r);if(null==i)return!1;const s=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(s===d&&!c(d)&&(0!==s||(0,l.aI)(t,r)))return(0,o.kN)(e,n),!0;if(c(d)){const t=u.w5[s][10],r=u.w5[10][d];return null!=t&&null!=r&&(t(n,0,p,0),r(p,0,g,0),a(f*p[0],f*p[1],e),e[12]=g[0],e[13]=g[1],e[14]=g[2],!0)}const y=c(s);if((3===d||11===d||2===d||5===d)&&(2===s||y||3===s||5===s)){const t=u.w5[s][10],r=u.w5[10][d];return null!=t&&null!=r&&(t(n,0,p,0),r(p,0,g,0),y?function(t,n,e){a(t,n,e),(0,o.mg)(e,e)}(f*p[0],f*p[1],e):(0,o.D_)(e),e[12]=g[0],e[13]=g[1],e[14]=g[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),p=(0,i.vt)(),g=(0,i.vt)()},65686:(t,n,e)=>{e.d(n,{a:()=>i,b:()=>c,l:()=>s,n:()=>u,t:()=>a});var r=e(40876),o=(e(44208),e(53966));function i(t,n,e){a(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function a(t,n,e,r=4,o=r){if(t.length/r!==n.length/o)return;const i=t.length/r,a=e[0],u=e[1],l=e[2],s=e[3],c=e[4],f=e[5],p=e[6],g=e[7],d=e[8];let y=0,h=0;for(let e=0;e<i;e++){const e=n[y],i=n[y+1],m=n[y+2],M=n[y+3];t[h]=a*e+s*i+p*m,t[h+1]=u*e+c*i+g*m,t[h+2]=l*e+f*i+d*m,t[h+3]=M,y+=o,h+=r}}function u(t,n){const e=Math.min(t.count,n.count),r=t.typedBuffer,o=t.typedBufferStride,i=n.typedBuffer,a=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*o,e=t*a,u=i[e],l=i[e+1],s=i[e+2],c=u*u+l*l+s*s;if(c>0){const t=1/Math.sqrt(c);r[n]=t*u,r[n+1]=t*l,r[n+2]=t*s}}}function l(t,n,e,r=4){const o=Math.min(t.length/r,n.count),i=n.typedBuffer,a=n.typedBufferStride;let u=0,l=0;for(let n=0;n<o;n++)t[l]=e*i[u],t[l+1]=e*i[u+1],t[l+2]=e*i[u+2],t[l+3]=e*i[u+3],u+=a,l+=r}function s(t,n,e,r){c(t.typedBuffer,n,e,r,t.typedBufferStride)}function c(t,n,e,o,i=4){const a=Math.min(t.length/i,n.count),u=n.typedBuffer,l=n.typedBufferStride;let s=0,c=0;const f=1/r.Tf;for(let n=0;n<a;n++)t[c]=o*(e*u[s])**f,t[c+1]=o*(e*u[s+1])**f,t[c+2]=o*(e*u[s+2])**f,t[c+3]=o*e*u[s+3],s+=l,c+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:s,normalize:u,scale:l,scaleView:function(t,n,e){l(t.typedBuffer,n,e,t.typedBufferStride)},transformMat3:a,transformMat3View:i,transformMat4:function(t,n,e,r=4,i=r){if(t.length/r!==n.length/i)return void o.A.getLogger("esri.views.3d.support.buffer.math").error("source and destination buffers need to have the same number of elements");const a=t.length/r,u=e[0],l=e[1],s=e[2],c=e[3],f=e[4],p=e[5],g=e[6],d=e[7],y=e[8],h=e[9],m=e[10],M=e[11],b=e[12],v=e[13],w=e[14],A=e[15];let B=0,x=0;for(let e=0;e<a;e++){const e=n[B],o=n[B+1],a=n[B+2],S=n[B+3];t[x]=u*e+f*o+y*a+b*S,t[x+1]=l*e+p*o+h*a+v*S,t[x+2]=s*e+g*o+m*a+w*S,t[x+3]=c*e+d*o+M*a+A*S,B+=i,x+=r}},transformMat4View:function(t,n,e){if(t.count!==n.count)return;const r=t.count,o=e[0],i=e[1],a=e[2],u=e[3],l=e[4],s=e[5],c=e[6],f=e[7],p=e[8],g=e[9],d=e[10],y=e[11],h=e[12],m=e[13],M=e[14],b=e[15],v=t.typedBuffer,w=t.typedBufferStride,A=n.typedBuffer,B=n.typedBufferStride;for(let t=0;t<r;t++){const n=t*w,e=t*B,r=A[e],x=A[e+1],S=A[e+2],T=A[e+3];v[n]=o*r+l*x+p*S+h*T,v[n+1]=i*r+s*x+g*S+m*T,v[n+2]=a*r+c*x+d*S+M*T,v[n+3]=u*r+f*x+y*S+b*T}}},Symbol.toStringTag,{value:"Module"}))},65806:(t,n,e)=>{e.d(n,{g:()=>a});var r=e(51850),o=e(98988),i=e(9762);function a(t,n,e,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,e)){u[0]=t.x,u[1]=t.y;const o=t.z;return u[2]=o??r??0,(0,i.projectBuffer)(u,t.spatialReference,0,n,e,0)}const a=(0,o.tryProjectWithZConversion)(t,e);return!!a&&(n[0]=a?.x,n[1]=a?.y,n[2]=a?.z??r??0,!0)}const u=(0,r.vt)()},66895:(t,n,e)=>{e.d(n,{$N:()=>c,Lz:()=>i,QN:()=>f,WO:()=>l,hz:()=>u,o2:()=>o});const r=Symbol("meshContext");function o(t){return t&&"object"==typeof t&&r in t?t[r]:void 0}function i(t,n){const e=o(t);return{...t,[r]:{...e,...n}}}const a=Symbol("meshMaterialContext");function u(t){return t&&"object"==typeof t&&a in t?t[a]:void 0}function l(t){const n=u(t);if(n?.materialMap)return t;const e={materialMap:new Map};return{...t,[a]:e}}const s=Symbol("meshTextureContext");function c(t){return t&&"object"==typeof t&&s in t?t[s]:void 0}function f(t){const n=c(t);if(n?.textureMap)return t;const e={textureMap:new Map};return{...t,[s]:e}}},72258:(t,n,e)=>{e.d(n,{UR:()=>w,p5:()=>v,xK:()=>C});var r=e(53966),o=e(34727),i=e(83047),a=e(77690),u=e(29242),l=e(58083),s=e(9093),c=e(38954),f=e(51850),p=e(98764),g=e(48353),d=e(65806),y=e(27615),h=e(21325),m=e(73354),M=e(22141);const b=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function v(t,n,{vertexSpace:e,spatialReference:r}){if("georeferenced"===e.type){const o=t;if(!(0,d.g)(n,o,r))return!1;const{origin:i}=e;return(0,c.d)(t,o,i),!0}const o=(0,p.lO)(r),i=t;if(!(0,d.g)(n,i,o))return!1;const{origin:a}=e,u=_;if(!(0,g.l)(r,a,u,o))return!1;const s=(0,l.B8)(_,u);return null!=s&&((0,c.t)(t,i,s),!0)}function w(t,n,e){const{vertexSpace:r,transform:o,vertexAttributes:i}=t,u=(0,y.Hq)(r)?o:null,f=S(t.spatialReference,e,3);if((0,y.yJ)(r,n)&&(!u||(0,l.t2)(u.localMatrix,s.zK))&&T(f)){const{position:t,normal:n,tangent:r}=i,o=e?.allowBufferReuse;return{position:o?t:t.slice(),normal:o?n:n?.slice(),tangent:o?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const a=A(n,i);if(!(0,g.l)(n,r,F,a))return(0,M.CN)(b(),n,a),null;if(e&&(0,l.lw)(F,F,e.localMatrix),!(0,g.l)(n,o,j,a))return(0,M.CN)(b(),a,n),null;(0,l.B8)(j,j);const u=(0,l.lw)(F,j,F);return x(u,n,i,3),B(t,u)}(t,t.vertexSpace,n.origin,e):function({spatialReference:t,vertexAttributes:n,transform:e},{origin:r},o,i){const a=A(t,i);if(!(0,g.l)(t,r,F,a))return(0,M.CN)(b(),t,a),null;e&&(0,l.lw)(F,F,e.localMatrix),x(F,t,i,1);const u=new Float64Array(n.position.length),s=function(t,n,e,r,o){(0,m.t)(r,t,n);const i=new Float64Array(t.length);return(0,M.$5)(r,o,i,e)?i:((0,M.CN)(b(),o,e),null)}(n.position,F,t,u,a);if(!s)return null;const f=function(t,n,e,r,o,i){if(null==o)return null;const a=new Float32Array(o.length);return(0,M.qs)(o,a,i),(0,M.si)(a,t,n,e,r,a)?a:((0,M.CN)(b(),r,n),null)}(s,t,u,a,n.normal,F);if(n.normal&&!f)return null;const p=function(t,n,e,r,o,i){if(null==o)return null;const a=new Float32Array(o.length);return(0,M.KM)(o,a,i),(0,M.Mv)(a,t,n,e,r,a)?a:((0,M.CN)(b(),r,n),null)}(s,t,u,a,n.tangent,F);if(n.tangent&&!p)return null;if(o){const t=(0,c.u)(N,o);(0,m.a)(s,s,t)}return{position:s,normal:f,tangent:p}}(t,t.vertexSpace,n.origin,e);case"georeferenced":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const u=A(n,i);if(!(0,g.l)(n,o,F,u))return(0,M.CN)(b(),n,u),null;const s=1/S(n,i,2);(0,l.hs)(F,F,[s,s,s]);const c=(0,l.B8)(j,F),{position:f,normal:p,tangent:d}=function(t,n,e){if(!n)return t;if(!e){const{position:e,normal:r,tangent:o}=t;return{position:(0,m.a)(new Float64Array(e.length),e,n),tangent:o,normal:r}}const r=B(t,e.localMatrix);return(0,m.a)(r.position,r.position,n),r}(t,r,e),y=new Float64Array(f.length),h=function(t,n,e,r,o){const i=(0,M.gr)(t,n,r,o);if(!i)return(0,M.CN)(b(),n,o),null;const a=new Float64Array(i.length);return(0,m.t)(a,i,e),a}(f,n,c,y,u);if(!h)return null;const v=(0,a.Ge)(R,c),w=function(t,n,e,r,o,i,a){if(null==t)return null;const u=a??new Float32Array(t.length);return(0,M.X4)(t,n,e,r,o,u)?((0,m.b)(u,u,i),u):((0,M.CN)(b(),e,o),null)}(p,f,n,y,u,v,p!==t.normal?p:void 0);if(!w&&p)return null;const x=function(t,n,e,r,o,i,a){if(null==t)return null;const u=a??new Float32Array(t.length);return(0,M.xA)(t,n,e,r,o,u)?((0,m.b)(u,u,i,4),u):((0,M.CN)(b(),e,o),null)}(d,f,n,y,u,v,d!==t.tangent?d:void 0);return!x&&d?null:{position:h,normal:w,tangent:x}}(t,t.vertexSpace,n.origin,e):function({vertexAttributes:t,transform:n,spatialReference:e},{origin:r},o,i){const a=S(e,i,3),u=r||!T(a)?(0,l.C)(F,n?.localMatrix??s.zK):null;u&&x(u,e,i,3);const{position:f,normal:p,tangent:g}=u?B(t,u):t,d=i?.allowBufferReuse,y=d?f:new Float64Array(f.length);let h=f;if(r&&(h=(0,m.a)(y,h,r)),o){const t=(0,c.u)(N,o);h=(0,m.a)(y,h,t)}return{position:h!==t.position||d?h:h.slice(),normal:p!==t.normal||d?p:p?.slice(),tangent:g!==t.tangent||d?g:g?.slice()}}(t,t.vertexSpace,n.origin,e)}}function A(t,n){return n?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function B(t,n){const e=new Float64Array(t.position.length);(0,m.t)(e,t.position,n);const r=t.normal?new Float32Array(t.normal.length):null,o=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,n),o&&t.tangent&&(0,M.KM)(t.tangent,o,n),{position:e,normal:r,tangent:o}}function x(t,n,e,r){const o=S(n,e,r);T(o)||(0,l.hs)(t,t,[o,o,o])}function S(t,n,e){const r=!!(1&e),o=!!(2&e),i=n?.sourceUnit,a=n?.targetUnit;if(!i&&!a)return 1;let u=C(i,t);r||!i||T(u)||(b().warn("source unit conversion not supported"),u=1);let l=1/C(a,t);return o||!a||T(l)||(b().warn("target unit conversion not supported"),l=1),u*l}function T(t){return(0,o.Io)(t,1)}function C(t,n){if(null==t)return 1;const e=(0,i.KX)(n);return 1/(0,i.oU)(e,"meters",t)}const F=(0,s.vt)(),j=(0,s.vt)(),R=(0,u.vt)(),N=(0,f.vt)(),_=(0,s.vt)()},73354:(t,n,e)=>{e.d(n,{a:()=>f,b:()=>u,c:()=>a,d:()=>o,e:()=>p,f:()=>c,l:()=>s,n:()=>g,t:()=>i});var r=e(40876);function o(t,n,e){i(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function i(t,n,e,r=3,o=r){if(t.length/r!==Math.ceil(n.length/o))return t;const i=t.length/r,a=e[0],u=e[1],l=e[2],s=e[4],c=e[5],f=e[6],p=e[8],g=e[9],d=e[10],y=e[12],h=e[13],m=e[14];let M=0,b=0;for(let e=0;e<i;e++){const e=n[M],i=n[M+1],v=n[M+2];t[b]=a*e+s*i+p*v+y,t[b+1]=u*e+c*i+g*v+h,t[b+2]=l*e+f*i+d*v+m,M+=o,b+=r}return t}function a(t,n,e){u(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function u(t,n,e,r=3,o=r){if(t.length/r!==Math.ceil(n.length/o))return;const i=t.length/r,a=e[0],u=e[1],l=e[2],s=e[3],c=e[4],f=e[5],p=e[6],g=e[7],d=e[8];let y=0,h=0;for(let e=0;e<i;e++){const e=n[y],i=n[y+1],m=n[y+2];t[h]=a*e+s*i+p*m,t[h+1]=u*e+c*i+g*m,t[h+2]=l*e+f*i+d*m,y+=o,h+=r}}function l(t,n,e,r=3,o=r){const i=Math.min(t.length/r,n.length/o);let a=0,u=0;for(let l=0;l<i;l++)t[u]=e*n[a],t[u+1]=e*n[a+1],t[u+2]=e*n[a+2],a+=o,u+=r;return t}function s(t,n,e,r){c(t.typedBuffer,n.typedBuffer,e,r,t.typedBufferStride,n.typedBufferStride)}function c(t,n,e,o,i=3,a=i){const u=Math.min(t.length/i,n.length/a);let l=0,s=0;const c=1/r.Tf;for(let r=0;r<u;r++)t[s]=o*(e*n[l])**c,t[s+1]=o*(e*n[l+1])**c,t[s+2]=o*(e*n[l+2])**c,l+=a,s+=i}function f(t,n,e,r=3,o=r){const i=t.length/r;if(i!==Math.ceil(n.length/o))return t;let a=0,u=0;for(let l=0;l<i;l++)t[u]=n[a]+e[0],t[u+1]=n[a+1]+e[1],t[u+2]=n[a+2]+e[2],a+=o,u+=r;return t}function p(t,n){g(t.typedBuffer,n.typedBuffer,t.typedBufferStride,n.typedBufferStride)}function g(t,n,e=3,r=e){const o=Math.min(t.length/e,n.length/r);let i=0,a=0;for(let u=0;u<o;u++){const o=n[i],u=n[i+1],l=n[i+2],s=o*o+u*u+l*l;if(s>0){const n=1/Math.sqrt(s);t[a]=n*o,t[a+1]=n*u,t[a+2]=n*l}i+=r,a+=e}}e(44208),e(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:s,normalize:g,normalizeView:p,scale:l,scaleView:function(t,n,e){l(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)},shiftRight:function(t,n,e){const r=Math.min(t.count,n.count),o=t.typedBuffer,i=t.typedBufferStride,a=n.typedBuffer,u=n.typedBufferStride;let l=0,s=0;for(let t=0;t<r;t++)o[s]=a[l]>>e,o[s+1]=a[l+1]>>e,o[s+2]=a[l+2]>>e,l+=u,s+=i},transformMat3:u,transformMat3View:a,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},77690:(t,n,e)=>{e.d(n,{B8:()=>u,Ge:()=>p,I0:()=>f,KC:()=>l,hZ:()=>i,hs:()=>c,lw:()=>s,mg:()=>a,z0:()=>o});var r=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function i(t,n,e,r,o,i,a,u,l,s){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t[4]=i,t[5]=a,t[6]=u,t[7]=l,t[8]=s,t}function a(t,n){if(t===n){const e=n[1],r=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=e,t[5]=n[7],t[6]=r,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function u(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],u=n[5],l=n[6],s=n[7],c=n[8],f=c*a-u*s,p=-c*i+u*l,g=s*i-a*l;let d=e*f+r*p+o*g;return d?(d=1/d,t[0]=f*d,t[1]=(-c*r+o*s)*d,t[2]=(u*r-o*a)*d,t[3]=p*d,t[4]=(c*e-o*l)*d,t[5]=(-u*e+o*i)*d,t[6]=g*d,t[7]=(-s*e+r*l)*d,t[8]=(a*e-r*i)*d,t):null}function l(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],u=n[5],l=n[6],s=n[7],c=n[8];return t[0]=a*c-u*s,t[1]=o*s-r*c,t[2]=r*u-o*a,t[3]=u*l-i*c,t[4]=e*c-o*l,t[5]=o*i-e*u,t[6]=i*s-a*l,t[7]=r*l-e*s,t[8]=e*a-r*i,t}function s(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],l=n[5],s=n[6],c=n[7],f=n[8],p=e[0],g=e[1],d=e[2],y=e[3],h=e[4],m=e[5],M=e[6],b=e[7],v=e[8];return t[0]=p*r+g*a+d*s,t[1]=p*o+g*u+d*c,t[2]=p*i+g*l+d*f,t[3]=y*r+h*a+m*s,t[4]=y*o+h*u+m*c,t[5]=y*i+h*l+m*f,t[6]=M*r+b*a+v*s,t[7]=M*o+b*u+v*c,t[8]=M*i+b*l+v*f,t}function c(t,n,e){const r=e[0],o=e[1],i=e[2];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=i*n[6],t[7]=i*n[7],t[8]=i*n[8],t}function f(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=e+e,u=r+r,l=o+o,s=e*a,c=r*a,f=r*u,p=o*a,g=o*u,d=o*l,y=i*a,h=i*u,m=i*l;return t[0]=1-f-d,t[3]=c-m,t[6]=p+h,t[1]=c+m,t[4]=1-s-d,t[7]=g-y,t[2]=p-h,t[5]=g+y,t[8]=1-s-f,t}function p(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],u=n[5],l=n[6],s=n[7],c=n[8],f=n[9],p=n[10],g=n[11],d=n[12],y=n[13],h=n[14],m=n[15],M=e*u-r*a,b=e*l-o*a,v=e*s-i*a,w=r*l-o*u,A=r*s-i*u,B=o*s-i*l,x=c*y-f*d,S=c*h-p*d,T=c*m-g*d,C=f*h-p*y,F=f*m-g*y,j=p*m-g*h;let R=M*j-b*F+v*C+w*T-A*S+B*x;return R?(R=1/R,t[0]=(u*j-l*F+s*C)*R,t[1]=(l*T-a*j-s*S)*R,t[2]=(a*F-u*T+s*x)*R,t[3]=(o*F-r*j-i*C)*R,t[4]=(e*j-o*T+i*S)*R,t[5]=(r*T-e*F-i*x)*R,t[6]=(y*B-h*A+m*w)*R,t[7]=(h*v-d*B-m*b)*R,t[8]=(d*A-y*v+m*M)*R,t):null}function g(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t}const d=s,y=g;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t},adjoint:l,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:function(t){const n=t[0],e=t[1],r=t[2],o=t[3],i=t[4],a=t[5],u=t[6],l=t[7],s=t[8];return n*(s*i-a*l)+e*(-s*o+a*u)+r*(l*o-i*u)},equals:function(t,n){const e=t[0],o=t[1],i=t[2],a=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8],p=n[0],g=n[1],d=n[2],y=n[3],h=n[4],m=n[5],M=n[6],b=n[7],v=n[8],w=(0,r.FD)();return Math.abs(e-p)<=w*Math.max(1,Math.abs(e),Math.abs(p))&&Math.abs(o-g)<=w*Math.max(1,Math.abs(o),Math.abs(g))&&Math.abs(i-d)<=w*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(a-y)<=w*Math.max(1,Math.abs(a),Math.abs(y))&&Math.abs(u-h)<=w*Math.max(1,Math.abs(u),Math.abs(h))&&Math.abs(l-m)<=w*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(s-M)<=w*Math.max(1,Math.abs(s),Math.abs(M))&&Math.abs(c-b)<=w*Math.max(1,Math.abs(c),Math.abs(b))&&Math.abs(f-v)<=w*Math.max(1,Math.abs(f),Math.abs(v))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:o,fromQuat:f,fromRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=-e,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:u,isOrthoNormal:function(t){const n=(0,r.FD)(),e=t[0],o=t[1],i=t[2],a=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8];return Math.abs(1-(e*e+a*a+s*s))<=n&&Math.abs(1-(o*o+u*u+c*c))<=n&&Math.abs(1-(i*i+l*l+f*f))<=n},mul:d,multiply:s,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t},normalFromMat4:p,normalFromMat4Legacy:function(t,n){const e=n[0],r=n[1],o=n[2],i=n[4],a=n[5],u=n[6],l=n[8],s=n[9],c=n[10],f=c*a-u*s,p=-c*i+u*l,g=s*i-a*l,d=e*f+r*p+o*g;if(!d)return null;const y=1/d;return t[0]=f*y,t[1]=(-c*r+o*s)*y,t[2]=(u*r-o*a)*y,t[3]=p*y,t[4]=(c*e-o*l)*y,t[5]=(-u*e+o*i)*y,t[6]=g*y,t[7]=(-s*e+r*l)*y,t[8]=(a*e-r*i)*y,t},projection:function(t,n,e){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/e,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],l=n[5],s=n[6],c=n[7],f=n[8],p=Math.sin(e),g=Math.cos(e);return t[0]=g*r+p*a,t[1]=g*o+p*u,t[2]=g*i+p*l,t[3]=g*a-p*r,t[4]=g*u-p*o,t[5]=g*l-p*i,t[6]=s,t[7]=c,t[8]=f,t},scale:c,scaleByVec2:function(t,n,e){const r=e[0],o=e[1];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:y,subtract:g,translate:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],l=n[5],s=n[6],c=n[7],f=n[8],p=e[0],g=e[1];return t[0]=r,t[1]=o,t[2]=i,t[3]=a,t[4]=u,t[5]=l,t[6]=p*r+g*a+s,t[7]=p*o+g*u+c,t[8]=p*i+g*l+f,t},transpose:a},Symbol.toStringTag,{value:"Module"}))},98764:(t,n,e)=>{e.d(n,{Y0:()=>s,lO:()=>c});var r=e(73941),o=e(16930),i=e(21325);const a=new o.A(r.fv),u=new o.A(r.FY),l=new o.A(r.LJ),s=new o.A(r.Ro);function c(t){const n=f.get(t);if(n)return n;let e=a;if(t)if(t===u)e=u;else if(t===l)e=l;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,i.tl)(n)||(0,i.tl)(r)?e=u:((0,i.ZL)(n)||(0,i.ZL)(r))&&(e=l);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===p?e=u:t===g&&(e=l)}}}return f.set(t,e),e}const f=new Map,p=u.wkt.toUpperCase(),g=l.wkt.toUpperCase()}}]);
@@ -1,5 +0,0 @@
1
- /*
2
- All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- */
5
- import t from"../../../../core/Handles.js";import{deg2rad as i}from"../../../../core/mathUtils.js";import{fromScaling as e,fromTranslation as a,fromZRotation as r,mul as o,fromYRotation as n,multiply as s}from"../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as l}from"../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{i as m,g as c,f as p,a as u,H as h,e as d,b as f,n as _}from"../../../../chunks/vec32.js";import{create as g}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{f as v}from"../../../../chunks/boundedPlane.js";import{fromValues as T}from"../../../../geometry/support/ray.js";import{displayFocusMultiplier as w}from"../Slice/sliceToolConfig.js";import{ArrowManipulator as j}from"./ArrowManipulator.js";import{viewshedToolManipulatorConfiguration as D}from"./ViewshedConfiguration.js";import{getViewshedRotationMatrix as H,screenToCircleAngle as x}from"./viewshedToolUtils.js";import{screenToRenderRay as S}from"../../interactive/editingTools/dragEventPipeline3D.js";import{discRadiusSmall as M,discRadius as P}from"../../interactive/editingTools/manipulations/config.js";import{InteractiveManipulation as R}from"../../interactive/editingTools/manipulations/InteractiveManipulation.js";import{createManipulatorDragEventPipeline as b,dragAtLocation as y}from"../../../interactive/dragEventPipeline.js";class E extends R{constructor(i){super(),this._handles=new t,this._tool=i.tool,this._view=i.view;const e=D.scaleOrientHandleRadius;this._manipulatorHeading=new j(this._view,e),this._manipulatorTilt=new j(this._view,e),this._manipulatorDistance=new j(this._view,e),this.forEachManipulator(t=>this._tool.manipulators.add(t))}destroy(){this._handles.destroy(),this.forEachManipulator(t=>{this._tool.manipulators.remove(t),t.destroy()}),this._manipulatorHeading=null,this._manipulatorTilt=null,this._manipulatorDistance=null,this._tool=null,this._view=null}createHeadingDragPipeline(t,e){return b(this._manipulatorHeading,(a,r,o,n,s)=>{const l=this._view,{tiltParallelToSurface:m,farDistanceRenderSpace:d,upVector:f,observerRenderSpace:_,targetRenderSpace:g,rightVector:T}=e,w=Math.sin(i(m))*d,j=p(L,_,c(O,f,w)),D=u(O,g,j),H=c(k,T,h(D)),S=v(j,D,H),M=x(r,l,S,e).next(t=>({...t,manipulatorType:3}));t(a,M,o)})}createTiltDragPipeline(t,i){return b(this._manipulatorTilt,(e,a,r,o,n)=>{const{observerRenderSpace:s,farDistanceRenderSpace:l,upVector:m,targetDirection:p}=i,u=d(p,m),h=f(L,p,m,-u);c(h,_(h,h),l);const g=c(O,m,l),T=v(s,h,g),w=x(a,this._view,T,i).next(t=>({...t,manipulatorType:3}));t(e,w,r)})}createDistanceDragPipeline(t,i){return b(this._manipulatorDistance,(e,a,r,o,n)=>{const s=T(i.observerRenderSpace,i.targetDirection),l=a.next(y(this._view,e.location)).next(S(this._view,s)).next(t=>({...t,manipulatorType:2}));t(e,l,r)})}updateManipulators(t){const{targetRenderSpace:i}=t;this._manipulatorHeading.renderLocation=i,this._manipulatorTilt.renderLocation=i,this._manipulatorDistance.renderLocation=i;const p=l(),u=t=>{s(p,t,p)},h=D.scaleOrientSize*(M/P);u(e(V,m(L,h,h,h))),u(H(t,V));const d=D.scaleOrientHandleRadius*w*h,f=c(L,t.targetDirection,d);u(a(V,f));const _=r(V,-C);o(_,_,n(I,-C)),this._manipulatorHeading.modelTransform=o(l(),p,_);const g=n(V,C);o(g,g,r(I,Math.PI)),this._manipulatorTilt.modelTransform=s(l(),p,g),this._manipulatorDistance.modelTransform=p}forEachManipulator(t){t(this._manipulatorHeading,3),t(this._manipulatorTilt,3),t(this._manipulatorDistance,2)}}const V=l(),I=l(),L=g(),O=g(),k=g(),C=Math.PI/2;export{E as ScaleOrientManipulation};
@@ -1,5 +0,0 @@
1
- /*
2
- All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- */
5
- import{__decorate as i}from"tslib";import s from"../../../../core/Accessor.js";import{destroyHandle as o}from"../../../../core/handleUtils.js";import"../../../../core/has.js";import{mapCollection as t}from"../../../../core/mapCollectionUtils.js";import{watch as e,initial as r}from"../../../../core/reactiveUtils.js";import{property as a}from"../../../../core/accessorSupport/decorators/property.js";import"../../../../core/Logger.js";import"../../../../core/RandomLCG.js";import{subclass as l}from"../../../../core/accessorSupport/decorators/subclass.js";import n from"./ViewshedVisualization.js";let c=class extends s{get visible(){return this.analysisViewData.visible}constructor(i){super(i)}initialize(){const i=this.analysisViewData,s=t(()=>this.analysisViewData.viewshedComputedDataHandles,({viewshedComputedData:s})=>{const o=new n({view:this.view,viewshedComputedData:s,analysisViewData:i,isDecoration:this.isDecoration});return{visualization:o,remove:()=>o.destroy()}});this._viewshedVisualizations=s,this.addHandles([o(s),e(()=>this.visible,i=>this._viewshedVisualizations.forEach(({visualization:s})=>s.visible=i),r)])}get test(){}};i([a({constructOnly:!0})],c.prototype,"analysisViewData",void 0),i([a({constructOnly:!0,nonNullable:!0})],c.prototype,"view",void 0),i([a({constructOnly:!0})],c.prototype,"isDecoration",void 0),i([a()],c.prototype,"visible",null),c=i([l("esri.views.3d.analysis.Viewshed.ViewshedAnalysisVisualization")],c);export{c as ViewshedAnalysisVisualization};
@@ -1,5 +0,0 @@
1
- /*
2
- All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- */
5
- import{deg2rad as e}from"../../../../core/mathUtils.js";import{fromScaling as t,mul as s,fromTranslation as r,fromRotation as i}from"../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as o}from"../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{i as a,c as n,t as l}from"../../../../chunks/vec32.js";import{fromValues as m,create as c}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{viewshedVisualizationConfiguration as h,arcAnglePerSegment as f}from"../../analysis/Viewshed/ViewshedConfiguration.js";import{getViewshedRotationMatrix as p,rotateBy as u}from"../../analysis/Viewshed/viewshedToolUtils.js";import{Object3DVisualElement as d}from"./Object3DVisualElement.js";import{Attribute as w}from"../../webgl-engine/lib/Attribute.js";import{Geometry as v}from"../../webgl-engine/lib/Geometry.js";import{ColorMaterial as D}from"../../webgl-engine/materials/ColorMaterial.js";class b extends d{constructor(e){super(e),this._material=null,this._viewshedComputedData=null,this._material=new D({...h.shapeMaterialParameters,isDecoration:this.isDecoration,writeDepth:!1}),this.applyProperties(e)}get viewshedComputedData(){return this._viewshedComputedData}set viewshedComputedData(e){this._viewshedComputedData=e,this.updateTransform()}updateTransform(){const e=this._viewshedComputedData;if(null==e)return;const i=o(),a=e.farDistanceRenderSpace;t(i,m(a,a,a)),p(e,V),s(i,V,i),r(V,this._viewshedComputedData.observerRenderSpace),s(i,V,i),this.transform=i}createExternalResources(){}destroyExternalResources(){}forEachMaterial(e){e(this._material)}createGeometries(e){const{_material:t,viewshedComputedData:s}=this;if(null==s||null==t||!s.valid)return;j(t,s).forEach(t=>e.addGeometry(t))}}function j(t,s){const{horizontalFieldOfView:r,verticalFieldOfView:o}=s,m=a(C,0,0,1),c=a(_,0,1,0),h=a(x,1,0,0);u(m,m,e(o/2),c),u(m,m,e(r/2),h);const p=e=>Math.ceil(Math.abs(e)/f)+1,d=e(r),D=n(y,h),b=p(d),j=g(-d/(b-1)),M=i(V,j,D),R=e(-o),G=p(R),O=g(R/(G-1)),T=n(_,c),F=i(E,e(r)/2,h);l(T,T,F);const N=E,P=[],S=n(x,m);for(let e=0;e<b;e++){i(N,O,T);for(let t=0;t<G;t++){const s=3*(t*b+e);P[s]=S[0],P[s+1]=S[1],P[s+2]=S[2],l(S,S,N)}l(T,T,M),l(m,m,M),n(S,m)}const U=b*G;P[3*U]=0,P[3*U+1]=0,P[3*U+2]=0;const k=[];for(let e=0;e<b-1;e++)for(let t=0;t<G-1;t++){const s=6*(t*(b-1)+e);k[s]=t*b+e,k[s+1]=(t+1)*b+e,k[s+2]=t*b+e+1,k[s+3]=t*b+e+1,k[s+4]=(t+1)*b+e,k[s+5]=(t+1)*b+e+1}const z=[k];if(360!==r&&0!==o){const e=[],t=[];for(let s=0;s<G-1;s++){const r=3*s;e[r]=U,e[r+1]=(s+1)*b,e[r+2]=s*b,t[r]=U,t[r+1]=s*b+b-1,t[r+2]=(s+1)*b+b-1}z.push(e,t)}if(180!==o&&0!==r){const e=[],t=[];for(let s=0;s<b-1;s++){const r=3*s;e[r]=U,e[r+1]=s,e[r+2]=s+1,t[r]=U,t[r+1]=s+(G-1)*b+1,t[r+2]=s+(G-1)*b}z.push(e,t)}return z.map(e=>{const s=[["position",new w(P,e,3,!0)]];return new v(t,s)})}function g(e){return isNaN(e)?1:e}const C=c(),_=c(),x=c(),y=c(),V=o(),E=o();export{b as ViewshedShapeVisualElement};