@arcgis/core 6.0.0-next.47 → 6.0.0-next.49

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 (979) hide show
  1. package/Ground.js +1 -1
  2. package/PopupTemplate.js +1 -1
  3. package/analysis/AreaMeasurementAnalysis.d.ts +12 -10
  4. package/analysis/AreaMeasurementAnalysis.js +1 -1
  5. package/applications/Components/formatUtils.d.ts +3 -2
  6. package/applications/MapViewer/mediaUtils.js +1 -1
  7. package/applications/MapViewer/templateUtils.d.ts +4 -1
  8. package/applications/Play/transformToolUtils.d.ts +74 -0
  9. package/applications/Play/transformToolUtils.js +2 -0
  10. package/applications/SceneViewer/sceneViewerUtils.d.ts +12 -1
  11. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  12. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  13. package/arcade/functions/featuresetgeom.js +1 -1
  14. package/arcade/functions/geomasync.js +1 -1
  15. package/arcade/geometry/operatorsWorker.js +1 -1
  16. package/arcade/geometry/operatorsWorkerConnection.js +1 -1
  17. package/arcgisGlobal.d.ts +6 -1
  18. package/assets/esri/core/workers/RemoteClient.js +1 -1
  19. package/assets/esri/core/workers/chunks/00331b59ca88e333fef8.js +1 -0
  20. package/assets/esri/core/workers/chunks/01f834149d0f89deaef8.js +1 -0
  21. package/assets/esri/core/workers/chunks/021bd07b9a3e70598840.js +1 -0
  22. package/assets/esri/core/workers/chunks/037c2d2ccb4bf4db4fec.js +1 -0
  23. package/assets/esri/core/workers/chunks/042d7669093a16d6e77e.js +1 -0
  24. package/assets/esri/core/workers/chunks/04ee9dc3e5a90d015f2f.js +1 -0
  25. package/assets/esri/core/workers/chunks/052b248db9ff46c6f36b.js +1 -0
  26. package/assets/esri/core/workers/chunks/05ec995edeb73ccba8b6.js +1 -0
  27. package/assets/esri/core/workers/chunks/0636a6629bd42b67ad00.js +1 -0
  28. package/assets/esri/core/workers/chunks/063cc462524646cd45e8.js +1 -0
  29. package/assets/esri/core/workers/chunks/06966406bee9c33beac7.js +1 -0
  30. package/assets/esri/core/workers/chunks/07ce1d788ed1c9b926db.js +2 -0
  31. package/assets/esri/core/workers/chunks/0a7d721d8ce5803124ed.js +1 -0
  32. package/assets/esri/core/workers/chunks/0c1f1eba7846a05c6fcc.js +1 -0
  33. package/assets/esri/core/workers/chunks/0c90f857976527db567e.js +1 -0
  34. package/assets/esri/core/workers/chunks/0d83237e9c7291ec3ef5.js +1 -0
  35. package/assets/esri/core/workers/chunks/0fd5ff5b6037c89257ec.js +1 -0
  36. package/assets/esri/core/workers/chunks/1053e9bc73cded8d403a.js +1 -0
  37. package/assets/esri/core/workers/chunks/110f78d5e78732750097.js +1 -0
  38. package/assets/esri/core/workers/chunks/119c62e9c9c7440a6129.js +1 -0
  39. package/assets/esri/core/workers/chunks/12add2003631fa314f25.js +1 -0
  40. package/assets/esri/core/workers/chunks/13a5d2c9d2ae6b0a297b.js +1 -0
  41. package/assets/esri/core/workers/chunks/1430be5ba5a20d587b37.js +1 -0
  42. package/assets/esri/core/workers/chunks/14a00ec7bc0f230d994c.js +1 -0
  43. package/assets/esri/core/workers/chunks/14bac20e21bad6bb95c8.js +1 -0
  44. package/assets/esri/core/workers/chunks/14c04fde8d33b739b415.js +1 -0
  45. package/assets/esri/core/workers/chunks/1680091022f0964d47b1.js +1 -0
  46. package/assets/esri/core/workers/chunks/16d0433d1b02606fdd00.js +1 -0
  47. package/assets/esri/core/workers/chunks/16e4686ec9e408716087.js +1 -0
  48. package/assets/esri/core/workers/chunks/1705e9d085499a854f14.js +1 -0
  49. package/assets/esri/core/workers/chunks/1908da6e2b1e5f6d2992.js +1 -0
  50. package/assets/esri/core/workers/chunks/1971dbb6ac3ce1d5e367.js +1 -0
  51. package/assets/esri/core/workers/chunks/1afe435a9a23858e694e.js +1 -0
  52. package/assets/esri/core/workers/chunks/1b4e53575290d7a3feb1.js +1 -0
  53. package/assets/esri/core/workers/chunks/1bde6b7b54f07573d031.js +1 -0
  54. package/assets/esri/core/workers/chunks/1c7a21387d11dc907ae4.js +1 -0
  55. package/assets/esri/core/workers/chunks/1c7bd11f6014ffe7aac5.js +1 -0
  56. package/assets/esri/core/workers/chunks/1d4db5c0de1b1440b7c8.js +1 -0
  57. package/assets/esri/core/workers/chunks/1d9e5298ee4309022ee1.js +1 -0
  58. package/assets/esri/core/workers/chunks/1e39f97cc9ffbc282ffe.js +1 -0
  59. package/assets/esri/core/workers/chunks/1f94ce4d7595018e7b90.js +1 -0
  60. package/assets/esri/core/workers/chunks/2019b43c545b01f2c3fd.js +1 -0
  61. package/assets/esri/core/workers/chunks/21911cdbbf068cbf8641.js +1 -0
  62. package/assets/esri/core/workers/chunks/21aa29039a95debd7f44.js +1 -0
  63. package/assets/esri/core/workers/chunks/22c131418a907bf09cc0.js +1 -0
  64. package/assets/esri/core/workers/chunks/230e5be597a8e8172513.js +1 -0
  65. package/assets/esri/core/workers/chunks/23ed0f61c49df3ae631e.js +1 -0
  66. package/assets/esri/core/workers/chunks/2415db54c6da71c857a6.js +1 -0
  67. package/assets/esri/core/workers/chunks/244816f7dc50581b826b.js +1 -0
  68. package/assets/esri/core/workers/chunks/2458d6504682c1877ddc.js +1 -0
  69. package/assets/esri/core/workers/chunks/2502688aa275d9064e78.js +1 -0
  70. package/assets/esri/core/workers/chunks/250e6c23dbf50dbcf749.js +1 -0
  71. package/assets/esri/core/workers/chunks/255f5b45c4d32f97f86c.js +1 -0
  72. package/assets/esri/core/workers/chunks/27a91b52d1bee92b6f20.js +1 -0
  73. package/assets/esri/core/workers/chunks/27dfc461e44b58e7fbc0.js +1 -0
  74. package/assets/esri/core/workers/chunks/28425ff10dc0b181a6ba.js +1 -0
  75. package/assets/esri/core/workers/chunks/297fc73f8018d870ab82.js +1 -0
  76. package/assets/esri/core/workers/chunks/29b74a3ff03d3c8b65dc.js +1 -0
  77. package/assets/esri/core/workers/chunks/2d106419cd3a161587bd.js +1 -0
  78. package/assets/esri/core/workers/chunks/2fcd168262942494452a.js +1 -0
  79. package/assets/esri/core/workers/chunks/2fe55882a9ff5a74867b.js +1 -0
  80. package/assets/esri/core/workers/chunks/31eb09e96f31bced71ad.js +1 -0
  81. package/assets/esri/core/workers/chunks/31f9d86b2a2bb05143b5.js +1 -0
  82. package/assets/esri/core/workers/chunks/{0ac38ca04285cd5ef1a0.js → 3236e18921955450fc0d.js} +41 -35
  83. package/assets/esri/core/workers/chunks/340a893f1003953adab7.js +1 -0
  84. package/assets/esri/core/workers/chunks/341970c3550c9ca3938d.js +1 -0
  85. package/assets/esri/core/workers/chunks/3695ed5d82ea1514147e.js +1 -0
  86. package/assets/esri/core/workers/chunks/3737025b8ed71099890f.js +1 -0
  87. package/assets/esri/core/workers/chunks/38b7ae210c9d39449853.js +1 -0
  88. package/assets/esri/core/workers/chunks/38ea54b715a08bd8d794.js +1 -0
  89. package/assets/esri/core/workers/chunks/3ab33631e0f6f8f2cbbc.js +1 -0
  90. package/assets/esri/core/workers/chunks/3ad149ec07285a3f5777.js +1 -0
  91. package/assets/esri/core/workers/chunks/3b434fc144f6b1a21f97.js +1 -0
  92. package/assets/esri/core/workers/chunks/3be49515f93ea3730be3.js +1 -0
  93. package/assets/esri/core/workers/chunks/3ce7120056040af3bab1.js +1 -0
  94. package/assets/esri/core/workers/chunks/3d9294dd813707e48e55.js +1 -0
  95. package/assets/esri/core/workers/chunks/3ddcf58242f02feea584.js +1 -0
  96. package/assets/esri/core/workers/chunks/3e4fda8f6fea1ce84712.js +1 -0
  97. package/assets/esri/core/workers/chunks/3e57f8128102a72e7930.js +1 -0
  98. package/assets/esri/core/workers/chunks/3e9a72ea2d6d37a543dd.js +1 -0
  99. package/assets/esri/core/workers/chunks/3fac9a1b43b1035b22d6.js +1 -0
  100. package/assets/esri/core/workers/chunks/3fdce20b9efc05dd1cbe.js +1 -0
  101. package/assets/esri/core/workers/chunks/40af4142bc92166aaaf2.js +1 -0
  102. package/assets/esri/core/workers/chunks/40b101a969ac2b113a99.js +1 -0
  103. package/assets/esri/core/workers/chunks/412c7d198ee121b34494.js +1 -0
  104. package/assets/esri/core/workers/chunks/41c9880c718f0aaba78a.js +1 -0
  105. package/assets/esri/core/workers/chunks/42953a1ea2872f087d25.js +1 -0
  106. package/assets/esri/core/workers/chunks/435dacf493aec07ff6e3.js +1 -0
  107. package/assets/esri/core/workers/chunks/45f02d1ec060615fa7c5.js +1 -0
  108. package/assets/esri/core/workers/chunks/4608f4ba5649f107827f.js +1 -0
  109. package/assets/esri/core/workers/chunks/476b42902f6d0cb03489.js +1 -0
  110. package/assets/esri/core/workers/chunks/47cd157c9d11986d8d3a.js +1 -0
  111. package/assets/esri/core/workers/chunks/4813bd8bff055eb29377.js +1 -0
  112. package/assets/esri/core/workers/chunks/48937df95a2e03412dfd.js +1 -0
  113. package/assets/esri/core/workers/chunks/48b60ff59afbae865de1.js +1 -0
  114. package/assets/esri/core/workers/chunks/49cde0a9b3f1c3965f26.js +1 -0
  115. package/assets/esri/core/workers/chunks/4a41bf3d1e2e9bb79771.js +2 -0
  116. package/assets/esri/core/workers/chunks/4a45f63b37f1e736e99d.js +1 -0
  117. package/assets/esri/core/workers/chunks/4c26d6408ee7a3b9d163.js +1 -0
  118. package/assets/esri/core/workers/chunks/4cf8bddc3e0619e34424.js +1 -0
  119. package/assets/esri/core/workers/chunks/4d2d9d4e31af8af43445.js +1 -0
  120. package/assets/esri/core/workers/chunks/4dc75d9c860177cfc012.js +1 -0
  121. package/assets/esri/core/workers/chunks/4e3414d75d8378490207.js +1 -0
  122. package/assets/esri/core/workers/chunks/4e4eedddd954f4ad3841.js +1 -0
  123. package/assets/esri/core/workers/chunks/50440f9865edd9b4851d.js +1 -0
  124. package/assets/esri/core/workers/chunks/506954fb374ea528d020.js +1 -0
  125. package/assets/esri/core/workers/chunks/5253933277d16dbe7ab6.js +1 -0
  126. package/assets/esri/core/workers/chunks/52f96030709bd29ef47d.js +1 -0
  127. package/assets/esri/core/workers/chunks/53277ccca55731e6eb36.js +1 -0
  128. package/assets/esri/core/workers/chunks/53daa71ecf0155eeb498.js +1 -0
  129. package/assets/esri/core/workers/chunks/5404ffa9aa1f3fa9973a.js +1 -0
  130. package/assets/esri/core/workers/chunks/54a99b10f2ecf76061af.js +1 -0
  131. package/assets/esri/core/workers/chunks/556f4ee089f71bf201c2.js +1 -0
  132. package/assets/esri/core/workers/chunks/55ac40a5257faf92c43d.js +1 -0
  133. package/assets/esri/core/workers/chunks/55d28d3f5b8ced061e39.js +1 -0
  134. package/assets/esri/core/workers/chunks/55db28616f810ca063b7.js +1 -0
  135. package/assets/esri/core/workers/chunks/560961eeacc861a690a1.js +1 -0
  136. package/assets/esri/core/workers/chunks/564b38915cc3a44a96ea.js +1 -0
  137. package/assets/esri/core/workers/chunks/5729baa3151ac10d0d04.js +1 -0
  138. package/assets/esri/core/workers/chunks/57cf2bd82b006e78f8e5.js +1 -0
  139. package/assets/esri/core/workers/chunks/5928c270c5bf4345dab5.js +1 -0
  140. package/assets/esri/core/workers/chunks/59ae5bd0ee1bae7a9fb3.js +1 -0
  141. package/assets/esri/core/workers/chunks/5af001311d2042f14738.js +1 -0
  142. package/assets/esri/core/workers/chunks/5afd379eaf3d37be0854.js +1 -0
  143. package/assets/esri/core/workers/chunks/5b2e95bd0f48f4b283bc.js +1 -0
  144. package/assets/esri/core/workers/chunks/5bda285f6ecf725676b3.js +1 -0
  145. package/assets/esri/core/workers/chunks/5bea201cb7e24b14b852.js +1 -0
  146. package/assets/esri/core/workers/chunks/5cd896edff4829aab42e.js +1 -0
  147. package/assets/esri/core/workers/chunks/5d14591449ef16c0976f.js +1 -0
  148. package/assets/esri/core/workers/chunks/5d3fa06eb5eb2b663a8f.js +1 -0
  149. package/assets/esri/core/workers/chunks/5d75fcaded78f76efd3e.js +1 -0
  150. package/assets/esri/core/workers/chunks/5e816e62664a9a968833.js +1 -0
  151. package/assets/esri/core/workers/chunks/6004a9582ffb96d31640.js +1 -0
  152. package/assets/esri/core/workers/chunks/6007b6b65154e477d96a.js +1 -0
  153. package/assets/esri/core/workers/chunks/6033eef7867f5c82fdc6.js +1 -0
  154. package/assets/esri/core/workers/chunks/60556278f4bfae63a49a.js +1 -0
  155. package/assets/esri/core/workers/chunks/621c5b3f1e29c17426e7.js +1 -0
  156. package/assets/esri/core/workers/chunks/6234a96aaf934ed36793.js +1 -0
  157. package/assets/esri/core/workers/chunks/6274f3192d2edbc2629e.js +1 -0
  158. package/assets/esri/core/workers/chunks/630a36c4817f33f4cad2.js +1 -0
  159. package/assets/esri/core/workers/chunks/641981a68199890bde27.js +1 -0
  160. package/assets/esri/core/workers/chunks/6538253abdafc8e6d112.js +1 -0
  161. package/assets/esri/core/workers/chunks/658eb6efe5c2210def01.js +1 -0
  162. package/assets/esri/core/workers/chunks/65a58ffdb651c948b52c.js +1 -0
  163. package/assets/esri/core/workers/chunks/6779afc2d6ee46c301b5.js +1 -0
  164. package/assets/esri/core/workers/chunks/690a3afeeb3dbd252524.js +1 -0
  165. package/assets/esri/core/workers/chunks/6a509ffb4852d694a097.js +1 -0
  166. package/assets/esri/core/workers/chunks/6ba6714da4dcb5a6fde4.js +1 -0
  167. package/assets/esri/core/workers/chunks/6bf81005fd647e3cc4bf.js +1 -0
  168. package/assets/esri/core/workers/chunks/6c20144cf05f29dd00fc.js +1 -0
  169. package/assets/esri/core/workers/chunks/6c21964eb7c25c8b1e9a.js +1 -0
  170. package/assets/esri/core/workers/chunks/6c4c06a4fa585f56e6a3.js +1 -0
  171. package/assets/esri/core/workers/chunks/6d25a7071fceb707858a.js +1 -0
  172. package/assets/esri/core/workers/chunks/6d30cf656be3bccd3ca7.js +1 -0
  173. package/assets/esri/core/workers/chunks/6d86eadd4d62c9218927.js +1 -0
  174. package/assets/esri/core/workers/chunks/6e30a6c3224207e13a7a.js +1 -0
  175. package/assets/esri/core/workers/chunks/70695e0fb53018d48e7b.js +2 -0
  176. package/assets/esri/core/workers/chunks/708ba5a28c093994c4bd.js +1 -0
  177. package/assets/esri/core/workers/chunks/72c66f2b5479a3f86b94.js +1 -0
  178. package/assets/esri/core/workers/chunks/72ef9199ded8deea05d1.js +1 -0
  179. package/assets/esri/core/workers/chunks/737b748d0fbfd2e0cf02.js +1 -0
  180. package/assets/esri/core/workers/chunks/755df811d724a46957c5.js +1 -0
  181. package/assets/esri/core/workers/chunks/7585a0d26bfe7efda194.js +1 -0
  182. package/assets/esri/core/workers/chunks/758fcf7000eb27ba75e2.js +1 -0
  183. package/assets/esri/core/workers/chunks/75bc76953bdb63a095e6.js +1 -0
  184. package/assets/esri/core/workers/chunks/762842aba4a1dd85db64.js +1 -0
  185. package/assets/esri/core/workers/chunks/765b18e66111d09447de.js +1 -0
  186. package/assets/esri/core/workers/chunks/766a1357be2ed7f4e125.js +1 -0
  187. package/assets/esri/core/workers/chunks/76e20d88983a77b003e1.js +1 -0
  188. package/assets/esri/core/workers/chunks/794f691166c0693993ac.js +1 -0
  189. package/assets/esri/core/workers/chunks/7960b6eb02fdaff6ada7.js +1 -0
  190. package/assets/esri/core/workers/chunks/7a97eec9823941fd210f.js +29 -0
  191. package/assets/esri/core/workers/chunks/7a98b29b3f82d82da1da.js +1 -0
  192. package/assets/esri/core/workers/chunks/7b29fc210b5878951cdc.js +1 -0
  193. package/assets/esri/core/workers/chunks/7ccec1d7e9aca860a150.js +1 -0
  194. package/assets/esri/core/workers/chunks/7d040257ebefcbe896c7.js +1 -0
  195. package/assets/esri/core/workers/chunks/7d74bcce7d8931f9486d.js +1 -0
  196. package/assets/esri/core/workers/chunks/80cf3a616922e3d15d67.js +1 -0
  197. package/assets/esri/core/workers/chunks/80da6d01bb1dcef9e004.js +1 -0
  198. package/assets/esri/core/workers/chunks/812cb2e9efc4d335e9e9.js +1 -0
  199. package/assets/esri/core/workers/chunks/8147bbc6c42d2071e149.js +1 -0
  200. package/assets/esri/core/workers/chunks/82bbf0c5e18fc1c795f4.js +1 -0
  201. package/assets/esri/core/workers/chunks/836b131247908097be7e.js +1 -0
  202. package/assets/esri/core/workers/chunks/837e421a81c7dae6b67c.js +1 -0
  203. package/assets/esri/core/workers/chunks/83bc862c242ff0629c8b.js +1 -0
  204. package/assets/esri/core/workers/chunks/840258be26978bc75609.js +1 -0
  205. package/assets/esri/core/workers/chunks/85979b277f282f4806fe.js +1 -0
  206. package/assets/esri/core/workers/chunks/85992d817e58af01fa70.js +1 -0
  207. package/assets/esri/core/workers/chunks/85d18a646f1c8e9e041d.js +1 -0
  208. package/assets/esri/core/workers/chunks/87c33e729d91fa119aa4.js +1 -0
  209. package/assets/esri/core/workers/chunks/892d99cc12110399fae3.js +1 -0
  210. package/assets/esri/core/workers/chunks/8b104a30814ecc0ef588.js +1 -0
  211. package/assets/esri/core/workers/chunks/8c0afb02e028a520cafc.js +1 -0
  212. package/assets/esri/core/workers/chunks/8c94e987754b3919181e.js +1 -0
  213. package/assets/esri/core/workers/chunks/91019e9dff63107f8cb4.js +1 -0
  214. package/assets/esri/core/workers/chunks/919115788da38049aea7.js +2 -0
  215. package/assets/esri/core/workers/chunks/9436749830e078ddba45.js +1 -0
  216. package/assets/esri/core/workers/chunks/954f9854a9bf4a852b81.js +1 -0
  217. package/assets/esri/core/workers/chunks/95784bb703ad5e9886d8.js +1 -0
  218. package/assets/esri/core/workers/chunks/96bbd5af1902cc7a0347.js +1 -0
  219. package/assets/esri/core/workers/chunks/972677041782aea9be46.js +1 -0
  220. package/assets/esri/core/workers/chunks/97cdcedfe853280f6258.js +1 -0
  221. package/assets/esri/core/workers/chunks/9846abf2d3991a15b2b5.js +1 -0
  222. package/assets/esri/core/workers/chunks/98af83f8126c043aa49c.js +1 -0
  223. package/assets/esri/core/workers/chunks/9a4498d5865c88a86755.js +1 -0
  224. package/assets/esri/core/workers/chunks/9b57dc3b74f43b2c17b3.js +1 -0
  225. package/assets/esri/core/workers/chunks/9bec57017e6c009b5d41.js +1 -0
  226. package/assets/esri/core/workers/chunks/9c52b6e951ec142653e0.js +1 -0
  227. package/assets/esri/core/workers/chunks/9cc0250d304d93f96c01.js +1 -0
  228. package/assets/esri/core/workers/chunks/9d0db1230a4b95c59f1e.js +1 -0
  229. package/assets/esri/core/workers/chunks/9d0dfc9765c1ce96a168.js +1 -0
  230. package/assets/esri/core/workers/chunks/9d1a6fb14475ce790149.js +1 -0
  231. package/assets/esri/core/workers/chunks/9d6d4fe9a73aa17a4840.js +1 -0
  232. package/assets/esri/core/workers/chunks/9dcf5be203f8b1e47d9d.js +1 -0
  233. package/assets/esri/core/workers/chunks/9eb00bb8dab995c2dcb3.js +1 -0
  234. package/assets/esri/core/workers/chunks/9f087fcaf30100e447d4.js +1 -0
  235. package/assets/esri/core/workers/chunks/9f63600039606e3ce5e0.js +1 -0
  236. package/assets/esri/core/workers/chunks/9f74b3f0f453bc957e3a.js +1 -0
  237. package/assets/esri/core/workers/chunks/9f8d5cc6c7c2c36c6c7b.js +1 -0
  238. package/assets/esri/core/workers/chunks/a0e2a1c6f37454547193.js +1 -0
  239. package/assets/esri/core/workers/chunks/a1c45e8f5bba471b3905.js +1 -0
  240. package/assets/esri/core/workers/chunks/a2825285d46f8cd5d814.js +1 -0
  241. package/assets/esri/core/workers/chunks/a2e25c964251c2f25340.js +1 -0
  242. package/assets/esri/core/workers/chunks/a3409f879cae2911ef3c.js +1 -0
  243. package/assets/esri/core/workers/chunks/a39c0ab14d6fe337f2f3.js +1 -0
  244. package/assets/esri/core/workers/chunks/a5ae717842c053f5bc9c.js +1 -0
  245. package/assets/esri/core/workers/chunks/a5fe0625f38f1b3f8c84.js +1 -0
  246. package/assets/esri/core/workers/chunks/a6a3d80e786edaa0156a.js +1 -0
  247. package/assets/esri/core/workers/chunks/a6b139e22bd0efe20b01.js +1 -0
  248. package/assets/esri/core/workers/chunks/a710c7a0584d9e45a469.js +1 -0
  249. package/assets/esri/core/workers/chunks/a7537388778e81c9d4b4.js +1 -0
  250. package/assets/esri/core/workers/chunks/a8314873ed823b6ac6d6.js +1 -0
  251. package/assets/esri/core/workers/chunks/a8bd42057e3543c17800.js +1 -0
  252. package/assets/esri/core/workers/chunks/a94291f7e98864091554.js +1 -0
  253. package/assets/esri/core/workers/chunks/a945f7f9504e9602b9b0.js +1 -0
  254. package/assets/esri/core/workers/chunks/a9f1d7e4432e74285a58.js +1 -0
  255. package/assets/esri/core/workers/chunks/aa1793102cb8e7c5b600.js +1 -0
  256. package/assets/esri/core/workers/chunks/aa702f65d735eb033812.js +1 -0
  257. package/assets/esri/core/workers/chunks/aae6a546d2aedc22debd.js +1 -0
  258. package/assets/esri/core/workers/chunks/ab78c25309395049d976.js +1 -0
  259. package/assets/esri/core/workers/chunks/ab7e6f8fff957daa2a33.js +1 -0
  260. package/assets/esri/core/workers/chunks/ab8476dfb0818fc388ba.js +1 -0
  261. package/assets/esri/core/workers/chunks/ad029f4f7c9b79fbce8d.js +1 -0
  262. package/assets/esri/core/workers/chunks/aed8a1a3843aabe819f2.js +1 -0
  263. package/assets/esri/core/workers/chunks/b33922def112150e565f.js +1 -0
  264. package/assets/esri/core/workers/chunks/b4fd8f232c3d09481127.js +1 -0
  265. package/assets/esri/core/workers/chunks/b511b5c68defefccde0b.js +1 -0
  266. package/assets/esri/core/workers/chunks/b51df1d7344d47a9b72a.js +1 -0
  267. package/assets/esri/core/workers/chunks/b58a003bd74f158cf62a.js +1 -0
  268. package/assets/esri/core/workers/chunks/b7c9f95af3473b005267.js +1 -0
  269. package/assets/esri/core/workers/chunks/b88e1084097a93a89f61.js +1 -0
  270. package/assets/esri/core/workers/chunks/b92b6dd6ca5c740bf509.js +1 -0
  271. package/assets/esri/core/workers/chunks/b9ccaaee349e058a78df.js +1 -0
  272. package/assets/esri/core/workers/chunks/ba80d7ac1074ba7530d4.js +1 -0
  273. package/assets/esri/core/workers/chunks/babb2683e688337ea054.js +1 -0
  274. package/assets/esri/core/workers/chunks/bafced37f9f20a4812d7.js +1 -0
  275. package/assets/esri/core/workers/chunks/bb3520800b085d43cd83.js +1 -0
  276. package/assets/esri/core/workers/chunks/bb3a0f07e1f758d82a81.js +1 -0
  277. package/assets/esri/core/workers/chunks/bbf28e8c5acd87771dc7.js +1 -0
  278. package/assets/esri/core/workers/chunks/bbf6c995039ade67de07.js +1 -0
  279. package/assets/esri/core/workers/chunks/bdaf880bf4663d8263cc.js +1 -0
  280. package/assets/esri/core/workers/chunks/bdc2617101988ab5e9f9.js +1 -0
  281. package/assets/esri/core/workers/chunks/bf81b3670b5323621e2d.js +1 -0
  282. package/assets/esri/core/workers/chunks/bfeb4b089dbd0165d2ab.js +1 -0
  283. package/assets/esri/core/workers/chunks/c117db5805b5ce292ac2.js +1 -0
  284. package/assets/esri/core/workers/chunks/c24d383a28da266922c2.js +1 -0
  285. package/assets/esri/core/workers/chunks/c36dd2f7f6ea1044cd62.js +1 -0
  286. package/assets/esri/core/workers/chunks/c3c0f24a9e0047232ae1.js +1 -0
  287. package/assets/esri/core/workers/chunks/c4794d692934098988e7.js +1 -0
  288. package/assets/esri/core/workers/chunks/c4974a4dc081e23899ba.js +1 -0
  289. package/assets/esri/core/workers/chunks/c6066041f8ca0dd94480.js +1 -0
  290. package/assets/esri/core/workers/chunks/c80c3b746c286f8b860a.js +1 -0
  291. package/assets/esri/core/workers/chunks/c85184baccb4004bf42b.js +1 -0
  292. package/assets/esri/core/workers/chunks/c945d36f5406ea4e4e3a.js +1 -0
  293. package/assets/esri/core/workers/chunks/ca1f98251f246d481ba2.js +1 -0
  294. package/assets/esri/core/workers/chunks/ca309b6aca9c0948ebae.js +1 -0
  295. package/assets/esri/core/workers/chunks/cbaade131e08ec123719.js +1 -0
  296. package/assets/esri/core/workers/chunks/cc834768685065ddc4c3.js +1 -0
  297. package/assets/esri/core/workers/chunks/cd21fc8eabb11e6ecdc8.js +1 -0
  298. package/assets/esri/core/workers/chunks/cd9100a7c8309dfa7569.js +1 -0
  299. package/assets/esri/core/workers/chunks/ce995e7c03e9e65c987a.js +1 -0
  300. package/assets/esri/core/workers/chunks/ced5dfb2bf46fc5eac8c.js +2 -0
  301. package/assets/esri/core/workers/chunks/cef537fa9705dd1cf685.js +1 -0
  302. package/assets/esri/core/workers/chunks/cf4b92ded0503f991c0e.js +1 -0
  303. package/assets/esri/core/workers/chunks/cf859cb25ceccba1588c.js +1 -0
  304. package/assets/esri/core/workers/chunks/d007762f05dbc9272587.js +1 -0
  305. package/assets/esri/core/workers/chunks/d036c6e9b7ef9f8434c8.js +1 -0
  306. package/assets/esri/core/workers/chunks/d0900a901197948bd7df.js +1 -0
  307. package/assets/esri/core/workers/chunks/d22a4124af837bae4c28.js +1 -0
  308. package/assets/esri/core/workers/chunks/d2ed93bbfa98395bbed7.js +1 -0
  309. package/assets/esri/core/workers/chunks/d3b646ca17b91e59bf48.js +1 -0
  310. package/assets/esri/core/workers/chunks/d486a8a61ff993f8202a.js +1 -0
  311. package/assets/esri/core/workers/chunks/d4a79c878e0a1a42fdc0.js +1 -0
  312. package/assets/esri/core/workers/chunks/d4b6ea046995dcb5872f.js +1 -0
  313. package/assets/esri/core/workers/chunks/d4d07419a4132f69941d.js +1 -0
  314. package/assets/esri/core/workers/chunks/d695d30949b881217bab.js +1 -0
  315. package/assets/esri/core/workers/chunks/d6a513171dcc14e52a84.js +1 -0
  316. package/assets/esri/core/workers/chunks/d82ff5c137227563c5dc.js +1 -0
  317. package/assets/esri/core/workers/chunks/d96e63d66f7b1f4ea54a.js +2 -0
  318. package/assets/esri/core/workers/chunks/da0e55fbc14502ce7c38.js +1 -0
  319. package/assets/esri/core/workers/chunks/da6328b16ef589c1d2ae.js +1 -0
  320. package/assets/esri/core/workers/chunks/da673ffb77ae29d361ae.js +1 -0
  321. package/assets/esri/core/workers/chunks/daa7b13e92230464850f.js +1 -0
  322. package/assets/esri/core/workers/chunks/dacbefe9706585e6c273.js +1 -0
  323. package/assets/esri/core/workers/chunks/db438bbfbb137bb4484e.js +1 -0
  324. package/assets/esri/core/workers/chunks/db66be88c52b1f5e5aad.js +1 -0
  325. package/assets/esri/core/workers/chunks/dc3206ae22700a216ec3.js +1 -0
  326. package/assets/esri/core/workers/chunks/dcc7b221c3fa712d0fd1.js +1 -0
  327. package/assets/esri/core/workers/chunks/dd744dcd5b8751b59c83.js +1 -0
  328. package/assets/esri/core/workers/chunks/de6b14d13977f967a627.js +1 -0
  329. package/assets/esri/core/workers/chunks/df968a32256df81c0f05.js +1 -0
  330. package/assets/esri/core/workers/chunks/e06036392a982dbf3ae3.js +1 -0
  331. package/assets/esri/core/workers/chunks/e0961f79f4f0dd68a4c6.js +1 -0
  332. package/assets/esri/core/workers/chunks/e1dfc05bebfbf4a2274e.js +1 -0
  333. package/assets/esri/core/workers/chunks/e4309f214162e9daa6ed.js +1 -0
  334. package/assets/esri/core/workers/chunks/e4a9a6dd8cc44a4b7f32.js +1 -0
  335. package/assets/esri/core/workers/chunks/e575375e7c43ec22f05e.js +1 -0
  336. package/assets/esri/core/workers/chunks/e80526571f1a34de3278.js +1 -0
  337. package/assets/esri/core/workers/chunks/e9376357f24e4f59c0ee.js +1 -0
  338. package/assets/esri/core/workers/chunks/e99d3d85b0f074a1dcd3.js +1 -0
  339. package/assets/esri/core/workers/chunks/ebbb1aed4cdbb41095d6.js +1 -0
  340. package/assets/esri/core/workers/chunks/ec334f87203096caef43.js +1 -0
  341. package/assets/esri/core/workers/chunks/ecd6743a95526e2c2cbe.js +1 -0
  342. package/assets/esri/core/workers/chunks/ecfa2a675da831ec99ff.js +1 -0
  343. package/assets/esri/core/workers/chunks/ed1db6571b0c61fe4f91.js +1 -0
  344. package/assets/esri/core/workers/chunks/edfb0a47ce9c3d89f833.js +1 -0
  345. package/assets/esri/core/workers/chunks/ee33e50a54752ac88d30.js +1 -0
  346. package/assets/esri/core/workers/chunks/ef353a93740a9d90cd8c.js +1 -0
  347. package/assets/esri/core/workers/chunks/ef928201beffbaa1c98d.js +1 -0
  348. package/assets/esri/core/workers/chunks/efadb45b4763c51e701b.js +1 -0
  349. package/assets/esri/core/workers/chunks/efe52385fe8efd933831.js +1 -0
  350. package/assets/esri/core/workers/chunks/f053cbfe671bd14c7d5b.js +1 -0
  351. package/assets/esri/core/workers/chunks/f10ccb31ed05c14a1740.js +1 -0
  352. package/assets/esri/core/workers/chunks/f3035559945bdd619544.js +1 -0
  353. package/assets/esri/core/workers/chunks/f3744b12a5d0d8ca8621.js +1 -0
  354. package/assets/esri/core/workers/chunks/f67b6f57d71ad09dca1f.js +1 -0
  355. package/assets/esri/core/workers/chunks/f7c84687a5e6e2072380.js +1 -0
  356. package/assets/esri/core/workers/chunks/f7ed22285229ff42e6ab.js +1 -0
  357. package/assets/esri/core/workers/chunks/f86d64f0adc7e23950a1.js +1 -0
  358. package/assets/esri/core/workers/chunks/f91682e4545b47b2d260.js +1 -0
  359. package/assets/esri/core/workers/chunks/f97dc99afe3375fc8e16.js +1 -0
  360. package/assets/esri/core/workers/chunks/f9dfa94f63a024d1860e.js +1 -0
  361. package/assets/esri/core/workers/chunks/facfea0ae3e204829326.js +1 -0
  362. package/assets/esri/core/workers/chunks/fba428cd4731872a74db.js +1 -0
  363. package/assets/esri/core/workers/chunks/fd64556a54111b4f37dd.js +1 -0
  364. package/assets/esri/core/workers/chunks/fd94fe2527f360af121e.js +1 -0
  365. package/assets/esri/core/workers/chunks/fe529524d1fca11e0f78.js +1 -0
  366. package/assets/esri/core/workers/chunks/fe811d651d201f698b8f.js +2 -0
  367. package/assets/esri/core/workers/chunks/ff7cd800558dd4aab51c.js +1 -0
  368. package/assets/esri/core/workers/chunks/ffac34a030dfe5cec258.js +1 -0
  369. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  370. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  371. package/chunks/BlendWeights.glsl.js +4 -5
  372. package/chunks/Blur.glsl.js +10 -7
  373. package/chunks/BlurEmission.glsl.js +27 -7
  374. package/chunks/CheckerBoard.glsl.js +1 -1
  375. package/chunks/Clouds.glsl.js +2 -2
  376. package/chunks/ColorMaterial.glsl.js +2 -1
  377. package/chunks/Component.glsl.js +48 -48
  378. package/chunks/DefaultMaterial.glsl.js +4 -6
  379. package/chunks/EdgeDetect.glsl.js +1 -1
  380. package/chunks/EdgeShader.glsl.js +1 -1
  381. package/chunks/EmissionComposite.glsl.js +2 -2
  382. package/chunks/Fog.glsl.js +4 -4
  383. package/chunks/GlobalIlluminationBlur.glsl.js +1 -1
  384. package/chunks/HighlightSharpApply.glsl.js +4 -1
  385. package/chunks/ImageMaterial.glsl.js +1 -1
  386. package/chunks/LineCallout.glsl.js +1 -1
  387. package/chunks/LineMarker.glsl.js +6 -5
  388. package/chunks/Magnifier.glsl.js +1 -1
  389. package/chunks/MeasurementArrow.glsl.js +1 -1
  390. package/chunks/NativeLine.glsl.js +1 -1
  391. package/chunks/NoiseTextureAtlas.glsl.js +3 -3
  392. package/chunks/Path.glsl.js +2 -2
  393. package/chunks/Pattern.glsl.js +35 -32
  394. package/chunks/{ChapmanAtmosphere.glsl.js → RealisticAtmosphere.glsl.js} +18 -9
  395. package/chunks/RealisticAtmosphereCompositing.glsl.js +35 -0
  396. package/chunks/RealisticTree.glsl.js +1 -1
  397. package/chunks/RibbonLine.glsl.js +1 -1
  398. package/chunks/SSAO.glsl.js +2 -2
  399. package/chunks/SimpleAtmosphere.glsl.js +1 -1
  400. package/chunks/SlicePlaneMaterial.glsl.js +1 -1
  401. package/chunks/Terrain.glsl.js +1 -1
  402. package/chunks/Water.glsl.js +1 -1
  403. package/chunks/lyr3DMain.js +1 -1
  404. package/chunks/lyr3DWorker.js +1 -1
  405. package/config.js +1 -1
  406. package/core/Logger.js +1 -1
  407. package/core/accessorSupport/ObservableBase.js +1 -1
  408. package/core/accessorSupport/tracking/ObservationHandle.js +1 -1
  409. package/core/accessorSupport/tracking/SimpleObservable.js +1 -1
  410. package/core/accessorSupport/tracking/SimpleTrackingTarget.js +1 -1
  411. package/core/accessorSupport/tracking/TrackingTarget.js +1 -1
  412. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  413. package/core/quantity.js +1 -1
  414. package/core/timeUtils.js +1 -1
  415. package/core/workers/Connection.d.ts +3 -9
  416. package/core/workers/WorkerFallback.js +2 -4
  417. package/core/workers/WorkerOwner.js +1 -1
  418. package/core/workers/workerFactory.js +1 -1
  419. package/core/workers/workers.js +1 -1
  420. package/core/workers.d.ts +1 -14
  421. package/form/FormTemplate.js +1 -1
  422. package/geometry/Mesh.js +1 -1
  423. package/geometry/coordinateConversion/CoordinateConversionModel.d.ts +258 -0
  424. package/geometry/coordinateConversion/CoordinateConversionModel.js +2 -0
  425. package/geometry/coordinateConversion/support/Conversion.d.ts +73 -0
  426. package/geometry/coordinateConversion/support/Conversion.js +2 -0
  427. package/geometry/coordinateConversion/support/Format.d.ts +131 -0
  428. package/geometry/coordinateConversion/support/Format.js +2 -0
  429. package/geometry/coordinateConversion/support/coordinateConversionUtils.js +2 -0
  430. package/geometry/coordinateConversion/support/formatUtils.js +2 -0
  431. package/geometry/coordinateConversion/types.d.ts +116 -0
  432. package/geometry/support/curves/bezierCurveUtils.js +1 -1
  433. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  434. package/geometry/support/meshUtils/rotate.js +1 -1
  435. package/interfaces.d.ts +1 -7
  436. package/kernel.js +1 -1
  437. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  438. package/layers/IntegratedMeshLayer.js +1 -1
  439. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  440. package/layers/ParquetLayer.d.ts +2 -3
  441. package/layers/VectorTileLayer.js +1 -1
  442. package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
  443. package/layers/graphics/data/QueryEngine.js +1 -1
  444. package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
  445. package/layers/knowledgeGraph/cypherUtils.js +1 -1
  446. package/layers/mixins/FeatureLayerBase.d.ts +2 -2
  447. package/layers/raster/formats/Lzw.js +1 -1
  448. package/layers/raster/formats/Raw.js +1 -1
  449. package/layers/raster/formats/TiffDecoder.js +1 -1
  450. package/layers/raster/formats/tiffParser.js +1 -1
  451. package/layers/raster/formats/tiffTag.js +1 -1
  452. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  453. package/layers/support/AggregateFieldsIndex.js +1 -1
  454. package/layers/support/FieldCollector.js +2 -0
  455. package/layers/support/IntegratedMeshSemantics.js +2 -0
  456. package/layers/support/VideoElement.js +1 -1
  457. package/layers/support/fieldUtils.d.ts +214 -1
  458. package/layers/support/fieldUtils.js +1 -1
  459. package/layers/support/relativeTimeQueryUtils.js +1 -1
  460. package/layers/support/types.d.ts +1 -2
  461. package/legend/ActiveLayerInfo.js +1 -1
  462. package/legend/LegendModel.js +1 -1
  463. package/legend/types.d.ts +15 -1
  464. package/package.json +2 -2
  465. package/renderers/ClassBreaksRenderer.js +1 -1
  466. package/renderers/DictionaryRenderer.js +1 -1
  467. package/renderers/DotDensityRenderer.js +1 -1
  468. package/renderers/HeatmapRenderer.js +1 -1
  469. package/renderers/PieChartRenderer.js +1 -1
  470. package/renderers/Renderer.js +1 -1
  471. package/renderers/SimpleRenderer.js +1 -1
  472. package/renderers/UniqueValueRenderer.js +1 -1
  473. package/renderers/mixins/VisualVariablesMixin.js +1 -1
  474. package/rest/print.js +1 -1
  475. package/symbols/CIMSymbol.js +1 -1
  476. package/symbols/FillSymbol3DLayer.d.ts +1 -4
  477. package/symbols/Symbol.js +1 -1
  478. package/symbols/cim/Rasterizer.js +1 -1
  479. package/symbols/cim/cimAnalyzer.js +1 -1
  480. package/symbols/support/FeatureExpressionInfo.js +1 -1
  481. package/time/daylightUtils.d.ts +29 -0
  482. package/time/daylightUtils.js +2 -0
  483. package/time/timeZoneUtils.js +1 -1
  484. package/time/types.d.ts +57 -1
  485. package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
  486. package/views/2d/analysis/AreaMeasurementAnalysisView2D.js +1 -1
  487. package/views/2d/engine/webgl/TextureManager.js +1 -1
  488. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  489. package/views/2d/engine/webgl/shaderGraph/techniques/markers/ComputedMarkerParams.js +1 -1
  490. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  491. package/views/2d/interactive/editingTools/GraphicTransformTarget.js +2 -0
  492. package/views/2d/interactive/editingTools/MediaElementTransformTarget.js +2 -0
  493. package/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +1 -1
  494. package/views/2d/interactive/editingTools/TransformTool.js +1 -1
  495. package/views/2d/interactive/editingTools.js +1 -1
  496. package/views/2d/layers/GeospatialPDFLayerView2D.js +1 -1
  497. package/views/2d/layers/MediaLayerView2D.js +1 -1
  498. package/views/2d/layers/TileLayerView2D.js +1 -1
  499. package/views/2d/layers/support/MediaLayerInteraction.js +1 -1
  500. package/views/3d/GroundView3D.js +1 -1
  501. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  502. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  503. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  504. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  505. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  506. package/views/3d/glTF/internal/TextureTransformUtils.js +1 -1
  507. package/views/3d/interactive/Manipulator3D.js +1 -1
  508. package/views/3d/interactive/Manipulator3DBase.js +2 -0
  509. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  510. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  511. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  512. package/views/3d/layers/I3SMeshView3D.js +1 -1
  513. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  514. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  515. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  516. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  517. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  518. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  519. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  520. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  521. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  522. package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
  523. package/views/3d/layers/graphics/SymbolComplexity.js +1 -1
  524. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  525. package/views/3d/layers/graphics/webStyleUtils.js +1 -1
  526. package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
  527. package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
  528. package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
  529. package/views/3d/layers/support/SceneLayerViewRequiredFields.js +1 -1
  530. package/views/3d/layers/support/Tiles3DMeshIntersectionHandler.js +1 -1
  531. package/views/3d/layers/support/createFeatureFilterHighlight.js +1 -1
  532. package/views/3d/layers/support/patternUtils.js +1 -1
  533. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  534. package/views/3d/support/GroundAndIMSurface.js +1 -1
  535. package/views/3d/support/engineContent/line.js +1 -1
  536. package/views/3d/support/hitTest.js +1 -1
  537. package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
  538. package/views/3d/terrain/OverlayRenderer.js +1 -1
  539. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  540. package/views/3d/terrain/PatchRenderDataWaterproofness.js +1 -1
  541. package/views/3d/terrain/SphericalPatch.js +1 -1
  542. package/views/3d/terrain/TerrainSurface.js +1 -1
  543. package/views/3d/webgl-engine/collections/Component/ComponentDrawParameters.js +1 -1
  544. package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
  545. package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
  546. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  547. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +1 -1
  548. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
  549. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  550. package/views/3d/webgl-engine/core/renderPasses/RenderPass.js +1 -1
  551. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  552. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +8 -8
  553. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +2 -2
  554. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -1
  555. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceRayMarching.glsl.js +1 -1
  556. package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js +6 -4
  557. package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js +3 -2
  558. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendModes.glsl.js +1 -1
  559. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +10 -9
  560. package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatUnpacking.glsl.js +1 -1
  561. package/views/3d/webgl-engine/core/shaderLibrary/util/cameraUniforms.js +1 -1
  562. package/views/3d/webgl-engine/effects/WeatherFader.js +1 -1
  563. package/views/3d/webgl-engine/effects/atmosphere/ChapmanApproximation.glsl.js +3 -3
  564. package/views/3d/webgl-engine/effects/atmosphere/{ChapmanAtmosphere.glsl.js → RealisticAtmosphere.glsl.js} +1 -1
  565. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphere.js +2 -0
  566. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereCompositing.glsl.js +2 -0
  567. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereCompositingTechnique.js +2 -0
  568. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereTechnique.js +2 -0
  569. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  570. package/views/3d/webgl-engine/effects/glow/BlurEmission.glsl.js +1 -1
  571. package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +87 -41
  572. package/views/3d/webgl-engine/effects/precipitation/Precipitation.js +1 -1
  573. package/views/3d/webgl-engine/effects/snowcover/applySnow.glsl.js +4 -2
  574. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  575. package/views/3d/webgl-engine/lib/BufferGeometry.js +1 -1
  576. package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
  577. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  578. package/views/3d/webgl-engine/lib/GLTextureMaterial.js +1 -1
  579. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  580. package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
  581. package/views/3d/webgl-engine/lib/Material.js +1 -1
  582. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  583. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  584. package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
  585. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  586. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  587. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  588. package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
  589. package/views/3d/webgl-engine/lib/lodRendering/InstanceOctree.js +1 -1
  590. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  591. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  592. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  593. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  594. package/views/3d/webgl-engine/materials/internal/ribbonLineBufferUtils.js +1 -1
  595. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  596. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  597. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +14 -13
  598. package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
  599. package/views/3d/webgl-engine/shaders/PatternLayouts.js +1 -1
  600. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  601. package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
  602. package/views/SceneView.js +1 -1
  603. package/views/VideoView.js +1 -1
  604. package/views/interactive/Tooltip.js +1 -1
  605. package/views/interactive/keybindings.d.ts +67 -0
  606. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  607. package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
  608. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  609. package/views/layers/FeatureLikeLayerView.js +1 -1
  610. package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
  611. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +3 -0
  612. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  613. package/widgets/CoordinateConversion.js +1 -1
  614. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  615. package/widgets/Sketch/SketchViewModel.js +1 -1
  616. package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
  617. package/assets/esri/core/workers/chunks/00620a90b32352bcdc71.js +0 -1
  618. package/assets/esri/core/workers/chunks/01a24ae6e3d730e193e2.js +0 -1
  619. package/assets/esri/core/workers/chunks/0284f608d25c654fcc11.js +0 -1
  620. package/assets/esri/core/workers/chunks/02debe67e6fef9d88bdd.js +0 -1
  621. package/assets/esri/core/workers/chunks/02feb2550b6878e62e2d.js +0 -1
  622. package/assets/esri/core/workers/chunks/035204000954973b0ebc.js +0 -1
  623. package/assets/esri/core/workers/chunks/04a1d08c3b5b1dc7628f.js +0 -1
  624. package/assets/esri/core/workers/chunks/05225506fdba0c827407.js +0 -1
  625. package/assets/esri/core/workers/chunks/0523f893870a1546d7d9.js +0 -1
  626. package/assets/esri/core/workers/chunks/06101f3da5e2fc708402.js +0 -1
  627. package/assets/esri/core/workers/chunks/06326c8cbe0d644eca16.js +0 -1
  628. package/assets/esri/core/workers/chunks/075fe33152fd79fe6d72.js +0 -1
  629. package/assets/esri/core/workers/chunks/077b755688346e0dc8d3.js +0 -1
  630. package/assets/esri/core/workers/chunks/0864da8f8f147016cf1c.js +0 -1
  631. package/assets/esri/core/workers/chunks/08fe248e412bb170210d.js +0 -1
  632. package/assets/esri/core/workers/chunks/090a7d0b0128d20879be.js +0 -1
  633. package/assets/esri/core/workers/chunks/0979a48905742486f222.js +0 -1
  634. package/assets/esri/core/workers/chunks/0ac4a3029ba17a9e2492.js +0 -1
  635. package/assets/esri/core/workers/chunks/0ae2933ab9b4a6ca56f2.js +0 -1
  636. package/assets/esri/core/workers/chunks/0b480583373b69773333.js +0 -1
  637. package/assets/esri/core/workers/chunks/0b6941781e35ce0f7274.js +0 -1
  638. package/assets/esri/core/workers/chunks/0bfc4e7640058811e10c.js +0 -1
  639. package/assets/esri/core/workers/chunks/0c1d8e0c2eae21f97fc0.js +0 -1
  640. package/assets/esri/core/workers/chunks/0da6abe3ceabfe78f7a0.js +0 -1
  641. package/assets/esri/core/workers/chunks/0dc1ac5531f7c8854686.js +0 -1
  642. package/assets/esri/core/workers/chunks/0e57bac610d41c7c9ad4.js +0 -1
  643. package/assets/esri/core/workers/chunks/0fda0d8b0eaeed2ab39d.js +0 -1
  644. package/assets/esri/core/workers/chunks/10ad7b35b6800d40444e.js +0 -1
  645. package/assets/esri/core/workers/chunks/116293b1ee788a89ce1e.js +0 -1
  646. package/assets/esri/core/workers/chunks/11877d4dc97f756e4711.js +0 -1
  647. package/assets/esri/core/workers/chunks/11e313dfca2579e68419.js +0 -1
  648. package/assets/esri/core/workers/chunks/12a08d0ad0f5fea32642.js +0 -1
  649. package/assets/esri/core/workers/chunks/13b40a611224ff5f4697.js +0 -1
  650. package/assets/esri/core/workers/chunks/13c64087be3b2985a21b.js +0 -1
  651. package/assets/esri/core/workers/chunks/14ef986665b4a1f6ccdc.js +0 -1
  652. package/assets/esri/core/workers/chunks/158cbf4075d3eca83a6a.js +0 -1
  653. package/assets/esri/core/workers/chunks/15a18c803a3aafa9a65b.js +0 -1
  654. package/assets/esri/core/workers/chunks/15a7a3264915fc8d3188.js +0 -1
  655. package/assets/esri/core/workers/chunks/15f2b27b8edc0d53e399.js +0 -1
  656. package/assets/esri/core/workers/chunks/162de06e54c0f9cba012.js +0 -1
  657. package/assets/esri/core/workers/chunks/17c6d66b47aa690df0d4.js +0 -1
  658. package/assets/esri/core/workers/chunks/17f99b130384c1ff2e01.js +0 -1
  659. package/assets/esri/core/workers/chunks/181d24ced5ef6b1f959b.js +0 -1
  660. package/assets/esri/core/workers/chunks/18e7fa4d3e0b1a084cc6.js +0 -1
  661. package/assets/esri/core/workers/chunks/1ae0c9345626e70affd3.js +0 -2
  662. package/assets/esri/core/workers/chunks/1c61ced6079443fc0ce8.js +0 -1
  663. package/assets/esri/core/workers/chunks/1c94d4d79952dc4067be.js +0 -1
  664. package/assets/esri/core/workers/chunks/1ca9f823caff691e964d.js +0 -1
  665. package/assets/esri/core/workers/chunks/1d9b0db37d5f3819ffca.js +0 -1
  666. package/assets/esri/core/workers/chunks/1e37337f47f45d6d8005.js +0 -1
  667. package/assets/esri/core/workers/chunks/1eaaa896eea3f2ffe6a6.js +0 -1
  668. package/assets/esri/core/workers/chunks/1f51567f47c2e2fc8a23.js +0 -1
  669. package/assets/esri/core/workers/chunks/200da109115eab8b2480.js +0 -1
  670. package/assets/esri/core/workers/chunks/2050c844b5a29b1df28a.js +0 -1
  671. package/assets/esri/core/workers/chunks/21939ef53bc71b42370f.js +0 -1
  672. package/assets/esri/core/workers/chunks/21a4c3d8265aca775616.js +0 -1
  673. package/assets/esri/core/workers/chunks/230189a28552ab00546d.js +0 -1
  674. package/assets/esri/core/workers/chunks/23fff0505e02fd364909.js +0 -1
  675. package/assets/esri/core/workers/chunks/244ffdb91237d1cbade3.js +0 -1
  676. package/assets/esri/core/workers/chunks/24bdeafbb16ae83bb8c3.js +0 -1
  677. package/assets/esri/core/workers/chunks/2515ce2ef279cdd4d5fa.js +0 -1
  678. package/assets/esri/core/workers/chunks/2671035cc08027185737.js +0 -1
  679. package/assets/esri/core/workers/chunks/271ae7deccb94112c2df.js +0 -1
  680. package/assets/esri/core/workers/chunks/27a5c6be4f847900d6ed.js +0 -1
  681. package/assets/esri/core/workers/chunks/27f0bbde1e9fa3f06d46.js +0 -1
  682. package/assets/esri/core/workers/chunks/286e3e050b29e6158e6f.js +0 -1
  683. package/assets/esri/core/workers/chunks/29a437a2b7b3a9b3e104.js +0 -1
  684. package/assets/esri/core/workers/chunks/2a224bc845c9bf682c54.js +0 -1
  685. package/assets/esri/core/workers/chunks/2a8168e109caa87d596f.js +0 -1
  686. package/assets/esri/core/workers/chunks/2ad69cc496235702bbf2.js +0 -1
  687. package/assets/esri/core/workers/chunks/2b06e8507d71c4d9b5b5.js +0 -1
  688. package/assets/esri/core/workers/chunks/2b4dd42920d37b1ff0a9.js +0 -2
  689. package/assets/esri/core/workers/chunks/2bdd5f0e0364b9e5f52b.js +0 -1
  690. package/assets/esri/core/workers/chunks/2c619c50cdcc37652c0b.js +0 -1
  691. package/assets/esri/core/workers/chunks/2c7f3fb74a076acf9b30.js +0 -1
  692. package/assets/esri/core/workers/chunks/2e9a1673b1d51aa082b6.js +0 -1
  693. package/assets/esri/core/workers/chunks/2e9d2f0a4e3c84d2ac2e.js +0 -1
  694. package/assets/esri/core/workers/chunks/30c5b584e8658b2b3607.js +0 -1
  695. package/assets/esri/core/workers/chunks/30e20461958951a31a5c.js +0 -1
  696. package/assets/esri/core/workers/chunks/31ef7b7074b3e3829763.js +0 -1
  697. package/assets/esri/core/workers/chunks/32b9bedd4bb0504f0b1d.js +0 -1
  698. package/assets/esri/core/workers/chunks/32ba94e59b411d3ff063.js +0 -1
  699. package/assets/esri/core/workers/chunks/3463b52d633a9336af28.js +0 -1
  700. package/assets/esri/core/workers/chunks/348f1def9cd2ddf92e87.js +0 -1
  701. package/assets/esri/core/workers/chunks/348f28d7ab46df878c6f.js +0 -1
  702. package/assets/esri/core/workers/chunks/3537fe95b83a13b156cc.js +0 -1
  703. package/assets/esri/core/workers/chunks/35426786de409d42a87f.js +0 -1
  704. package/assets/esri/core/workers/chunks/359ab29c4509dce0ffbd.js +0 -1
  705. package/assets/esri/core/workers/chunks/35f8896b52adaf952657.js +0 -1
  706. package/assets/esri/core/workers/chunks/365825c51fad1bb7f51f.js +0 -1
  707. package/assets/esri/core/workers/chunks/369780276b2755361f7d.js +0 -1
  708. package/assets/esri/core/workers/chunks/377158a19c9d6ef11387.js +0 -1
  709. package/assets/esri/core/workers/chunks/394b329e64d880cdb500.js +0 -1
  710. package/assets/esri/core/workers/chunks/39c23a52d7c3e1ee121c.js +0 -1
  711. package/assets/esri/core/workers/chunks/3a295fab549ae3caf9df.js +0 -1
  712. package/assets/esri/core/workers/chunks/3a3b57abfb92494cac84.js +0 -1
  713. package/assets/esri/core/workers/chunks/3a8320a40916c755c031.js +0 -1
  714. package/assets/esri/core/workers/chunks/3bb1e06861cd0563ed9f.js +0 -1
  715. package/assets/esri/core/workers/chunks/3cbb3c4e0e60a874ac6d.js +0 -1
  716. package/assets/esri/core/workers/chunks/3e67d50a2b2f8f837831.js +0 -29
  717. package/assets/esri/core/workers/chunks/3f92afa58c895bf87e62.js +0 -1
  718. package/assets/esri/core/workers/chunks/3fe04f13215474accb09.js +0 -1
  719. package/assets/esri/core/workers/chunks/3fe4c89acd325d36618d.js +0 -1
  720. package/assets/esri/core/workers/chunks/40748b846cf6923478c9.js +0 -1
  721. package/assets/esri/core/workers/chunks/4136c4de42b8818e2710.js +0 -1
  722. package/assets/esri/core/workers/chunks/41d674e73b57c8abe838.js +0 -1
  723. package/assets/esri/core/workers/chunks/422784ceae0d511868a0.js +0 -1
  724. package/assets/esri/core/workers/chunks/425347186c279bcc595c.js +0 -1
  725. package/assets/esri/core/workers/chunks/42eec0421e3663019549.js +0 -1
  726. package/assets/esri/core/workers/chunks/434a7ef5b25d83593b50.js +0 -1
  727. package/assets/esri/core/workers/chunks/4521f72ab0ea872e5d7c.js +0 -1
  728. package/assets/esri/core/workers/chunks/46d0db736c6e7decbcf6.js +0 -1
  729. package/assets/esri/core/workers/chunks/474015def9652ddf0640.js +0 -1
  730. package/assets/esri/core/workers/chunks/478a89317a12e9b4d146.js +0 -1
  731. package/assets/esri/core/workers/chunks/47af220003adfca2167e.js +0 -1
  732. package/assets/esri/core/workers/chunks/4869e097261ded90b8bb.js +0 -1
  733. package/assets/esri/core/workers/chunks/489b37c459e1af116aeb.js +0 -1
  734. package/assets/esri/core/workers/chunks/49c21c11621ff077e401.js +0 -1
  735. package/assets/esri/core/workers/chunks/4a8903fb1a5d30a68df9.js +0 -1
  736. package/assets/esri/core/workers/chunks/4ba856605f711b615e4c.js +0 -1
  737. package/assets/esri/core/workers/chunks/4d62877f521cc9663535.js +0 -1
  738. package/assets/esri/core/workers/chunks/4d7063c4152953afb859.js +0 -1
  739. package/assets/esri/core/workers/chunks/4d818b231e6d1fa73cc5.js +0 -1
  740. package/assets/esri/core/workers/chunks/4eab4e74c6a479c5f930.js +0 -1
  741. package/assets/esri/core/workers/chunks/4f3e0d583cfa9d1d6727.js +0 -2
  742. package/assets/esri/core/workers/chunks/4f4bc4f809b8936cd010.js +0 -1
  743. package/assets/esri/core/workers/chunks/4f8a915795f107b772c5.js +0 -1
  744. package/assets/esri/core/workers/chunks/503ee206e7de1f65e291.js +0 -1
  745. package/assets/esri/core/workers/chunks/50b8b1cce0a5f77c8372.js +0 -1
  746. package/assets/esri/core/workers/chunks/52a0aa2d19a495e48ab1.js +0 -1
  747. package/assets/esri/core/workers/chunks/5565b4e7c31d31a7e546.js +0 -1
  748. package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +0 -1
  749. package/assets/esri/core/workers/chunks/5622f3faa59434772857.js +0 -1
  750. package/assets/esri/core/workers/chunks/5736feefa261589b6273.js +0 -1
  751. package/assets/esri/core/workers/chunks/5744c7350e4e2eb73aa9.js +0 -1
  752. package/assets/esri/core/workers/chunks/5788c5ab258b36c8a897.js +0 -1
  753. package/assets/esri/core/workers/chunks/57e0bf4be8a166d5b1eb.js +0 -1
  754. package/assets/esri/core/workers/chunks/5864bce1498a13ee5b7e.js +0 -2
  755. package/assets/esri/core/workers/chunks/590fe0f56bc4c33a50e7.js +0 -1
  756. package/assets/esri/core/workers/chunks/5b1cebae74c7214ccda9.js +0 -1
  757. package/assets/esri/core/workers/chunks/5b3db2c40feaefb7cbc0.js +0 -1
  758. package/assets/esri/core/workers/chunks/5ba40e98e9300d1ebc85.js +0 -1
  759. package/assets/esri/core/workers/chunks/5be386b3af867b19ff39.js +0 -1
  760. package/assets/esri/core/workers/chunks/5c2e79f2ca401741bf3e.js +0 -1
  761. package/assets/esri/core/workers/chunks/5c3aa8386705c5e40358.js +0 -1
  762. package/assets/esri/core/workers/chunks/5c9ab86bec07264dc9f2.js +0 -1
  763. package/assets/esri/core/workers/chunks/5e6d6676a5c47c0e132a.js +0 -1
  764. package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +0 -1
  765. package/assets/esri/core/workers/chunks/60137300db0e0c3caf13.js +0 -1
  766. package/assets/esri/core/workers/chunks/6061232c96e11eb7b25d.js +0 -1
  767. package/assets/esri/core/workers/chunks/606ea251075fe81a1206.js +0 -1
  768. package/assets/esri/core/workers/chunks/608be1172a908e92b9f1.js +0 -1
  769. package/assets/esri/core/workers/chunks/6268aadb24e0b7c8d207.js +0 -1
  770. package/assets/esri/core/workers/chunks/62a0abcf45a2bd14ecbe.js +0 -1
  771. package/assets/esri/core/workers/chunks/63d2645a744dce469bbb.js +0 -1
  772. package/assets/esri/core/workers/chunks/64382363d6dc04ff1eac.js +0 -1
  773. package/assets/esri/core/workers/chunks/649e4ecb1d9e6da3fcd7.js +0 -1
  774. package/assets/esri/core/workers/chunks/6604272ef6fe85279032.js +0 -1
  775. package/assets/esri/core/workers/chunks/6637fb99033bfa7646d4.js +0 -1
  776. package/assets/esri/core/workers/chunks/66539ab0d88b47326ce9.js +0 -1
  777. package/assets/esri/core/workers/chunks/67f54efc817b241f8746.js +0 -1
  778. package/assets/esri/core/workers/chunks/68b4ce0b2e754ac2e552.js +0 -1
  779. package/assets/esri/core/workers/chunks/69b73251257088ce7099.js +0 -1
  780. package/assets/esri/core/workers/chunks/69c338d1d359075371bc.js +0 -1
  781. package/assets/esri/core/workers/chunks/6b646971cc15e33a9f33.js +0 -1
  782. package/assets/esri/core/workers/chunks/6cd17c3a254a0b5c2476.js +0 -1
  783. package/assets/esri/core/workers/chunks/6d863761f29f31a030eb.js +0 -1
  784. package/assets/esri/core/workers/chunks/7027a0e7bfabb3bb7fc2.js +0 -1
  785. package/assets/esri/core/workers/chunks/711cfb84659cb4437679.js +0 -1
  786. package/assets/esri/core/workers/chunks/72020d86e3fc7ecc139f.js +0 -1
  787. package/assets/esri/core/workers/chunks/72f4dad65e16a7d7c58f.js +0 -1
  788. package/assets/esri/core/workers/chunks/72f716a841463e0ba23f.js +0 -1
  789. package/assets/esri/core/workers/chunks/73ab4f0275a85b9671ec.js +0 -1
  790. package/assets/esri/core/workers/chunks/751a21288cf161b94a54.js +0 -1
  791. package/assets/esri/core/workers/chunks/7672c123cfb960f4ddad.js +0 -1
  792. package/assets/esri/core/workers/chunks/76dc8e3264a456f33e61.js +0 -1
  793. package/assets/esri/core/workers/chunks/77463141652bf1ca6fb2.js +0 -1
  794. package/assets/esri/core/workers/chunks/776b64a1e1a57878c34c.js +0 -1
  795. package/assets/esri/core/workers/chunks/77d80b6d65d761214a7c.js +0 -1
  796. package/assets/esri/core/workers/chunks/792d2b62356a1d953c88.js +0 -1
  797. package/assets/esri/core/workers/chunks/79483c05867ba1386f5a.js +0 -1
  798. package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +0 -1
  799. package/assets/esri/core/workers/chunks/7b7208237123e948f170.js +0 -1
  800. package/assets/esri/core/workers/chunks/7c75a8ee266c36baa902.js +0 -1
  801. package/assets/esri/core/workers/chunks/7d866911d1171d25ca78.js +0 -1
  802. package/assets/esri/core/workers/chunks/7db9e615e60d824eac1b.js +0 -1
  803. package/assets/esri/core/workers/chunks/7ddbde8fdd1cf3c53f50.js +0 -1
  804. package/assets/esri/core/workers/chunks/7eddde6c4249f46c67f3.js +0 -1
  805. package/assets/esri/core/workers/chunks/8102f0bf5707c3be3310.js +0 -1
  806. package/assets/esri/core/workers/chunks/8140ed6e44c3d8536d3e.js +0 -1
  807. package/assets/esri/core/workers/chunks/82160bd873cdb5a23557.js +0 -1
  808. package/assets/esri/core/workers/chunks/82e238375582f90dc94c.js +0 -1
  809. package/assets/esri/core/workers/chunks/831d896587d10fb689dc.js +0 -1
  810. package/assets/esri/core/workers/chunks/834bbda7719b04301f74.js +0 -1
  811. package/assets/esri/core/workers/chunks/835ccd95f2d312ecda5a.js +0 -1
  812. package/assets/esri/core/workers/chunks/8385bede56cc95d1a388.js +0 -1
  813. package/assets/esri/core/workers/chunks/85cd525705eec6803dd3.js +0 -1
  814. package/assets/esri/core/workers/chunks/85ec73dcba4b922f1948.js +0 -1
  815. package/assets/esri/core/workers/chunks/8766832c7253557da8fe.js +0 -1
  816. package/assets/esri/core/workers/chunks/892fd2c3533ce46a9258.js +0 -1
  817. package/assets/esri/core/workers/chunks/89cc1a5539b82fb46216.js +0 -1
  818. package/assets/esri/core/workers/chunks/89e9ebc8d5c1022cb265.js +0 -1
  819. package/assets/esri/core/workers/chunks/8a8c9a3969b7016c20d9.js +0 -1
  820. package/assets/esri/core/workers/chunks/8c1ae93dae934aedc6dc.js +0 -1
  821. package/assets/esri/core/workers/chunks/8cc8d7ffe43f5947b04f.js +0 -1
  822. package/assets/esri/core/workers/chunks/8cddfdbab3ad3809462f.js +0 -1
  823. package/assets/esri/core/workers/chunks/8cec3f48e995aab3d62e.js +0 -1
  824. package/assets/esri/core/workers/chunks/8e7a3b1b088c160f4db7.js +0 -1
  825. package/assets/esri/core/workers/chunks/8f1dd383502432d8a039.js +0 -1
  826. package/assets/esri/core/workers/chunks/90a7cd7564f2a92199cc.js +0 -1
  827. package/assets/esri/core/workers/chunks/914a0b5d9fef683cdf9c.js +0 -1
  828. package/assets/esri/core/workers/chunks/921917e53bac82693ec8.js +0 -1
  829. package/assets/esri/core/workers/chunks/926e0a3827eaf16ca8b4.js +0 -1
  830. package/assets/esri/core/workers/chunks/92809b209b68abcb97ee.js +0 -1
  831. package/assets/esri/core/workers/chunks/929ca32ddbb43328ef31.js +0 -1
  832. package/assets/esri/core/workers/chunks/92b03de8a7686b164f60.js +0 -1
  833. package/assets/esri/core/workers/chunks/98957dba728c93506e50.js +0 -1
  834. package/assets/esri/core/workers/chunks/98e3f7ab4bfbabf0b952.js +0 -1
  835. package/assets/esri/core/workers/chunks/99a72b65afdcd3ee091a.js +0 -1
  836. package/assets/esri/core/workers/chunks/99ffb839407cb3c26ad8.js +0 -1
  837. package/assets/esri/core/workers/chunks/9b048f80c2d28d527373.js +0 -1
  838. package/assets/esri/core/workers/chunks/9b517c8d26a86dedb921.js +0 -1
  839. package/assets/esri/core/workers/chunks/9bb90097368b200fa730.js +0 -1
  840. package/assets/esri/core/workers/chunks/9bf77f92760aacbd636f.js +0 -1
  841. package/assets/esri/core/workers/chunks/9c2436464b7dfd666678.js +0 -1
  842. package/assets/esri/core/workers/chunks/9c3f56f22e9baa80a387.js +0 -1
  843. package/assets/esri/core/workers/chunks/9d0ee6a816bb72068ab1.js +0 -1
  844. package/assets/esri/core/workers/chunks/9e7622379d777ea88018.js +0 -1
  845. package/assets/esri/core/workers/chunks/9fb4c10d5b3e32bc86e9.js +0 -1
  846. package/assets/esri/core/workers/chunks/a02c3c23bd87e0470b8b.js +0 -1
  847. package/assets/esri/core/workers/chunks/a1602995ef96beb7df29.js +0 -1
  848. package/assets/esri/core/workers/chunks/a553478664a688f32488.js +0 -1
  849. package/assets/esri/core/workers/chunks/a83815c028c9c80aa4c9.js +0 -1
  850. package/assets/esri/core/workers/chunks/a8bedc53d4a316953108.js +0 -1
  851. package/assets/esri/core/workers/chunks/a8fbef765a6fb68e1115.js +0 -1
  852. package/assets/esri/core/workers/chunks/a95186214f1206efd8ed.js +0 -1
  853. package/assets/esri/core/workers/chunks/aa4f3751f0d830113bed.js +0 -1
  854. package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +0 -1
  855. package/assets/esri/core/workers/chunks/aaac620f93a20fbd3f08.js +0 -1
  856. package/assets/esri/core/workers/chunks/ab60e8fbe0f92340616a.js +0 -1
  857. package/assets/esri/core/workers/chunks/ab684cce869973ea71cf.js +0 -1
  858. package/assets/esri/core/workers/chunks/aba42885c5d6b2b5fe7f.js +0 -1
  859. package/assets/esri/core/workers/chunks/ac10c7d2c4829a150037.js +0 -1
  860. package/assets/esri/core/workers/chunks/ac69c0fd5867b493f1d2.js +0 -1
  861. package/assets/esri/core/workers/chunks/ad787100602e18dde650.js +0 -1
  862. package/assets/esri/core/workers/chunks/ae29fec228e70a93ced1.js +0 -1
  863. package/assets/esri/core/workers/chunks/ae40eac1eadd1a537bf4.js +0 -1
  864. package/assets/esri/core/workers/chunks/ae70972bf88d586fd453.js +0 -1
  865. package/assets/esri/core/workers/chunks/af3c6794334626b94f00.js +0 -1
  866. package/assets/esri/core/workers/chunks/af70a81620203c030f5b.js +0 -1
  867. package/assets/esri/core/workers/chunks/afc8a9847f31bb66b13b.js +0 -1
  868. package/assets/esri/core/workers/chunks/b021fa4654ede1d04279.js +0 -1
  869. package/assets/esri/core/workers/chunks/b10850c48f4eee60b8a9.js +0 -1
  870. package/assets/esri/core/workers/chunks/b18459c1bed75dbdec08.js +0 -1
  871. package/assets/esri/core/workers/chunks/b25104337f2495a4296a.js +0 -1
  872. package/assets/esri/core/workers/chunks/b2d922ecc2c4899dbee1.js +0 -1
  873. package/assets/esri/core/workers/chunks/b3707d2cd2f4b2f70889.js +0 -1
  874. package/assets/esri/core/workers/chunks/b3801d58c024224917df.js +0 -1
  875. package/assets/esri/core/workers/chunks/b3c0c9c91bcdbbb8e719.js +0 -1
  876. package/assets/esri/core/workers/chunks/b4928831a2a13b2da745.js +0 -1
  877. package/assets/esri/core/workers/chunks/b6a82775b83d20599635.js +0 -1
  878. package/assets/esri/core/workers/chunks/b6d365b9198b74b05338.js +0 -1
  879. package/assets/esri/core/workers/chunks/b6d71a4ab788a09714f3.js +0 -1
  880. package/assets/esri/core/workers/chunks/b89b634e9d38b5a51d33.js +0 -1
  881. package/assets/esri/core/workers/chunks/b976122bcd4e2170afaf.js +0 -1
  882. package/assets/esri/core/workers/chunks/bb6573d794bbe670216a.js +0 -1
  883. package/assets/esri/core/workers/chunks/bc21241bc9acb83d1b1c.js +0 -1
  884. package/assets/esri/core/workers/chunks/bdd76a0b6c14e7fb6984.js +0 -1
  885. package/assets/esri/core/workers/chunks/be11cec9979ed5e9738e.js +0 -1
  886. package/assets/esri/core/workers/chunks/c063de8f57a393280c39.js +0 -1
  887. package/assets/esri/core/workers/chunks/c473c8b480de9802711b.js +0 -1
  888. package/assets/esri/core/workers/chunks/c5bf19da62a3d31009fe.js +0 -2
  889. package/assets/esri/core/workers/chunks/c67ce7896789ac7275b2.js +0 -1
  890. package/assets/esri/core/workers/chunks/c752f1e732bb019f657d.js +0 -1
  891. package/assets/esri/core/workers/chunks/c75cc72a306a617d9cd8.js +0 -1
  892. package/assets/esri/core/workers/chunks/c85336a50a4994a2a7eb.js +0 -1
  893. package/assets/esri/core/workers/chunks/c9e7d4c277fbc82c4438.js +0 -1
  894. package/assets/esri/core/workers/chunks/cc817c9d3f8e8f8c56e4.js +0 -1
  895. package/assets/esri/core/workers/chunks/ccb0046b883286e65429.js +0 -1
  896. package/assets/esri/core/workers/chunks/ccb55245fe49d844ec50.js +0 -1
  897. package/assets/esri/core/workers/chunks/cdf0c7706d3e1221f49b.js +0 -1
  898. package/assets/esri/core/workers/chunks/cf684026e7f1ab7df4f7.js +0 -1
  899. package/assets/esri/core/workers/chunks/d0172d31389dbfaaa848.js +0 -1
  900. package/assets/esri/core/workers/chunks/d19ac8368bb769fa5fba.js +0 -1
  901. package/assets/esri/core/workers/chunks/d26c9db8c0a772d0923c.js +0 -1
  902. package/assets/esri/core/workers/chunks/d31f6598b76380e8688a.js +0 -1
  903. package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +0 -1
  904. package/assets/esri/core/workers/chunks/d3cd09b2d78ce9f2ea42.js +0 -1
  905. package/assets/esri/core/workers/chunks/d4028536542db8b623cc.js +0 -1
  906. package/assets/esri/core/workers/chunks/d4eb24c82087a74ae670.js +0 -1
  907. package/assets/esri/core/workers/chunks/d4fe26716c4eca13d493.js +0 -1
  908. package/assets/esri/core/workers/chunks/d5916500514a41a4758f.js +0 -1
  909. package/assets/esri/core/workers/chunks/d63e181f0e48bde73395.js +0 -1
  910. package/assets/esri/core/workers/chunks/d7270a2db6f3bfcf0565.js +0 -1
  911. package/assets/esri/core/workers/chunks/d77888c84a8b49478807.js +0 -1
  912. package/assets/esri/core/workers/chunks/d85d1064ba87ea1b1410.js +0 -1
  913. package/assets/esri/core/workers/chunks/d8b9d14f8d3e82ad26dc.js +0 -1
  914. package/assets/esri/core/workers/chunks/d99d5aa04e2d74ef57a7.js +0 -1
  915. package/assets/esri/core/workers/chunks/d9e75266ac28f934eb61.js +0 -1
  916. package/assets/esri/core/workers/chunks/db1f7b2562de495b3401.js +0 -2
  917. package/assets/esri/core/workers/chunks/dbf37b1c4e0567d9fb32.js +0 -1
  918. package/assets/esri/core/workers/chunks/dc9792b2aa55975b8a95.js +0 -1
  919. package/assets/esri/core/workers/chunks/dca0e2505a6cbef6f7f5.js +0 -1
  920. package/assets/esri/core/workers/chunks/dcc782e4bf9e8a8202f9.js +0 -1
  921. package/assets/esri/core/workers/chunks/dd7e4c94a88452425750.js +0 -1
  922. package/assets/esri/core/workers/chunks/ddaa8f8098e4a663e4e5.js +0 -1
  923. package/assets/esri/core/workers/chunks/ddb4689624d091922471.js +0 -1
  924. package/assets/esri/core/workers/chunks/de3f140058aa0b907b65.js +0 -1
  925. package/assets/esri/core/workers/chunks/df375d1b0dab5ecbd1be.js +0 -1
  926. package/assets/esri/core/workers/chunks/df88bb9117967fe72eb4.js +0 -1
  927. package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +0 -1
  928. package/assets/esri/core/workers/chunks/dfc6b33f51dc81f3a7be.js +0 -1
  929. package/assets/esri/core/workers/chunks/e0650b1408197d3ac862.js +0 -1
  930. package/assets/esri/core/workers/chunks/e0a37d3bcb9a944e53dd.js +0 -1
  931. package/assets/esri/core/workers/chunks/e1f5da51115472347b55.js +0 -1
  932. package/assets/esri/core/workers/chunks/e209cb1f3f14bf576ebe.js +0 -1
  933. package/assets/esri/core/workers/chunks/e2535c83b97725e89256.js +0 -1
  934. package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +0 -1
  935. package/assets/esri/core/workers/chunks/e2ebf0ea3af2e6907987.js +0 -1
  936. package/assets/esri/core/workers/chunks/e4e2edfdc85dd14e66d4.js +0 -1
  937. package/assets/esri/core/workers/chunks/e55934eb4a17a5b24c94.js +0 -1
  938. package/assets/esri/core/workers/chunks/e5bdfef7c2cc5354be52.js +0 -1
  939. package/assets/esri/core/workers/chunks/e7719bfbc5875a515a2b.js +0 -1
  940. package/assets/esri/core/workers/chunks/eaa0e906b46ae4c84d72.js +0 -2
  941. package/assets/esri/core/workers/chunks/ead49b513e070951a964.js +0 -1
  942. package/assets/esri/core/workers/chunks/eb2652ec48faa78de3c5.js +0 -1
  943. package/assets/esri/core/workers/chunks/ec88631b5033c19f569e.js +0 -1
  944. package/assets/esri/core/workers/chunks/ee6679ef9efa1504e7eb.js +0 -1
  945. package/assets/esri/core/workers/chunks/ef8f9b61b829c3bdf999.js +0 -1
  946. package/assets/esri/core/workers/chunks/ef9740c4d1bd808af38a.js +0 -1
  947. package/assets/esri/core/workers/chunks/efcd38aad9aa667001b2.js +0 -1
  948. package/assets/esri/core/workers/chunks/f0b897319ca8578df63f.js +0 -1
  949. package/assets/esri/core/workers/chunks/f1c2f7c7ce4bd4096eb0.js +0 -1
  950. package/assets/esri/core/workers/chunks/f1e87e3ff65d8594e6b3.js +0 -1
  951. package/assets/esri/core/workers/chunks/f36376b126c80d0983fb.js +0 -1
  952. package/assets/esri/core/workers/chunks/f3ca7fa35eb8d55f5907.js +0 -1
  953. package/assets/esri/core/workers/chunks/f497968055af459c5da4.js +0 -1
  954. package/assets/esri/core/workers/chunks/f4d714d0a1a513861704.js +0 -1
  955. package/assets/esri/core/workers/chunks/f4e63c5f82b8c2bbfacb.js +0 -1
  956. package/assets/esri/core/workers/chunks/f7123ba1286f64e13e91.js +0 -1
  957. package/assets/esri/core/workers/chunks/f7f73de8c63924e347ab.js +0 -1
  958. package/assets/esri/core/workers/chunks/f91e36a104e84d985517.js +0 -1
  959. package/assets/esri/core/workers/chunks/f9259dc1d78d762c6ac0.js +0 -1
  960. package/assets/esri/core/workers/chunks/fa5d4b9a098441ebf505.js +0 -1
  961. package/assets/esri/core/workers/chunks/fc9d66fe2cc9e2d31964.js +0 -1
  962. package/assets/esri/core/workers/chunks/fcb4707c2e95099b9f30.js +0 -1
  963. package/assets/esri/core/workers/chunks/fccfe3aa45a2fb286012.js +0 -1
  964. package/assets/esri/core/workers/chunks/fe0248af95d3f37e099e.js +0 -1
  965. package/chunks/AtmosphereCompositing.glsl.js +0 -25
  966. package/layers/support/ParquetPortalItemData.d.ts +0 -39
  967. package/layers/support/ParquetPortalItemData.js +0 -2
  968. package/views/3d/analysis/ShadowCast/sunlightUtils.js +0 -2
  969. package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +0 -2
  970. package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphereTechnique.js +0 -2
  971. package/views/3d/webgl-engine/shaders/AtmosphereCompositing.glsl.js +0 -2
  972. package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +0 -2
  973. /package/assets/esri/core/workers/chunks/{c5bf19da62a3d31009fe.js.LICENSE.txt → 07ce1d788ed1c9b926db.js.LICENSE.txt} +0 -0
  974. /package/assets/esri/core/workers/chunks/{4f3e0d583cfa9d1d6727.js.LICENSE.txt → 4a41bf3d1e2e9bb79771.js.LICENSE.txt} +0 -0
  975. /package/assets/esri/core/workers/chunks/{5864bce1498a13ee5b7e.js.LICENSE.txt → 70695e0fb53018d48e7b.js.LICENSE.txt} +0 -0
  976. /package/assets/esri/core/workers/chunks/{2b4dd42920d37b1ff0a9.js.LICENSE.txt → 919115788da38049aea7.js.LICENSE.txt} +0 -0
  977. /package/assets/esri/core/workers/chunks/{db1f7b2562de495b3401.js.LICENSE.txt → ced5dfb2bf46fc5eac8c.js.LICENSE.txt} +0 -0
  978. /package/assets/esri/core/workers/chunks/{eaa0e906b46ae4c84d72.js.LICENSE.txt → d96e63d66f7b1f4ea54a.js.LICENSE.txt} +0 -0
  979. /package/assets/esri/core/workers/chunks/{1ae0c9345626e70affd3.js.LICENSE.txt → fe811d651d201f698b8f.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1698,5841],{24045(e,t,r){function n(e,t){let r=e.count;t||=new e.TypedArrayConstructor(r);for(let n=0;n<r;n++)t[n]=e.get(n);return t}r.d(t,{m:()=>n}),Object.freeze(Object.defineProperty({__proto__:null,makeDense:n},Symbol.toStringTag,{value:"Module"}))},43609(e,t,r){r.d(t,{a:()=>s,f:()=>a,n:()=>o});var n=r(34275);function o(e,t){s(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function s(e,t,r=2,o=r){let s=t.length/2,a=0,i=0;if(!(0,n.iu)(t)||(0,n.dk)(t)){for(let n=0;n<s;++n)e[a]=t[i],e[a+1]=t[i+1],a+=r,i+=o;return}let u=(0,n.a3)(t);if((0,n.JI)(t))for(let n=0;n<s;++n)e[a]=Math.max(t[i]/u,-1),e[a+1]=Math.max(t[i+1]/u,-1),a+=r,i+=o;else for(let n=0;n<s;++n)e[a]=t[i]/u,e[a+1]=t[i+1]/u,a+=r,i+=o}function a(e,t,r,n){let o=e.typedBuffer,s=e.typedBufferStride,a=n?.count??e.count,i=(n?.dstIndex??0)*s;for(let e=0;e<a;++e)o[i]=t,o[i+1]=r,i+=s}Object.freeze(Object.defineProperty({__proto__:null,fill:a,normalizeIntegerBuffer:s,normalizeIntegerBufferView:o},Symbol.toStringTag,{value:"Module"}))},46140(e,t,r){r.d(t,{A:()=>o});var n=r(49186);class o{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){let t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new o(this.major,this.minor,this._context)}static parse(e,t=""){let[r,s]=e.split(".",2),a=/^\s*\d+\s*$/;if(!r?.match||!a.test(r)){let r=t&&t+":";throw new n.A(r+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e})}if(!s?.match||!a.test(s)){let r=t&&t+":";throw new n.A(r+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e})}return new o(parseInt(r,10),parseInt(s,10),t)}}},90239(e,t,r){function n(e){switch(e){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}r.d(t,{GJ:()=>n})},35841(e,t,r){r.r(t),r.d(t,{loadGLTFMesh:()=>B});var n=r(68197),o=r(49186),s=r(91869),a=r(34727),i=r(77690),u=r(29242),l=r(51850),f=r(91829),c=r(16939),d=r(80882),p=r(35063),m=r(51147),h=r(1193),T=r(27615),_=r(13030),g=r(73354),y=r(50867),w=r(90239);Object.freeze(Object.defineProperty({__proto__:null,copy:function(e,t,r){let n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,a=t.typedBufferStride,i=r?r.count:t.count,u=(r?.dstIndex??0)*o,l=(r?.srcIndex??0)*a;for(let e=0;e<i;++e){for(let e=0;e<9;++e)n[u+e]=s[l+e];u+=o,l+=a}}},Symbol.toStringTag,{value:"Module"})),Object.freeze(Object.defineProperty({__proto__:null,copy:function(e,t,r){let n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,a=t.typedBufferStride,i=r?r.count:t.count,u=(r?.dstIndex??0)*o,l=(r?.srcIndex??0)*a;for(let e=0;e<i;++e){for(let e=0;e<16;++e)n[u+e]=s[l+e];u+=o,l+=a}}},Symbol.toStringTag,{value:"Module"})),r(24045);var x=r(43609);function b(e,t,r=3,n=r){let o=t.length/n,s=0,a=0;for(let i=0;i<o;++i)e[s]=t[a],e[s+1]=t[a+1],e[s+2]=t[a+2],s+=r,a+=n}function S(e,t,r,n,o){let s=e.typedBuffer,a=e.typedBufferStride,i=o?.count??e.count,u=(o?.dstIndex??0)*a;for(let e=0;e<i;++e)s[u]=t,s[u+1]=r,s[u+2]=n,u+=a}function R(e,t,r=4){let n=t.typedBuffer,o=t.typedBufferStride,s=t.count,a=0,i=0;for(let t=0;t<s;++t)e[a]=n[i],e[a+1]=n[i+1],e[a+2]=n[i+2],e[a+3]=n[i+3],a+=r,i+=o}function A(e,t,r,n,o,s){let a=e.typedBuffer,i=e.typedBufferStride,u=s?.count??e.count,l=(s?.dstIndex??0)*i;for(let e=0;e<u;++e)a[l]=t,a[l+1]=r,a[l+2]=n,a[l+3]=o,l+=i}function E(e,t){return new e(new ArrayBuffer(t*e.ElementCount*(0,w.GJ)(e.ElementType)))}Object.freeze(Object.defineProperty({__proto__:null,copy:b,copyView:function(e,t){b(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)},fill:S},Symbol.toStringTag,{value:"Module"})),Object.freeze(Object.defineProperty({__proto__:null,copy:R,copyView:function(e,t){R(e.typedBuffer,t,e.typedBufferStride)},fill:A},Symbol.toStringTag,{value:"Module"}));var O=r(72258),N=r(21015),v=r(51698),I=r(84498),C=r(51530);async function B(e,t,r){let i=new N.R(r?.resolveFile),u=await(0,v.loadGLTF)(i,t,r),c=u.model,g=c.lods.shift(),y=new Map,w=new Map;c.textures.forEach((e,t)=>y.set(t,function(e){return new p.A({data:((0,C.x3)(e.data),e.data),wrap:D(e.parameters.wrap)})}(e))),c.materials.forEach((e,t)=>w.set(t,function(e,t){let r=new n.A(function(e,t){return(0,f.fA)(P(e[0]),P(e[1]),P(e[2]),t)}(e.color,e.opacity)),o=e.emissiveFactor?new n.A(function(e){return(0,l.fA)(P(e[0]),P(e[1]),P(e[2]))}(e.emissiveFactor)):null,s=e=>e?new m.A({scale:e.scale?[e.scale[0],e.scale[1]]:[1,1],rotation:(0,a.KJ)(e.rotation??0),offset:e.offset?[e.offset[0],e.offset[1]]:[0,0]}):null;return new d.A({color:r,colorTexture:t.get(e.colorTexture),normalTexture:t.get(e.normalTexture),emissiveColor:o,emissiveStrength:e.emissiveStrengthKHR,emissiveTexture:t.get(e.emissiveTexture),occlusionTexture:t.get(e.occlusionTexture),alphaMode:U(e.alphaMode),alphaCutoff:e.alphaCutoff,doubleSided:e.doubleSided,metallic:e.metallicFactor,roughness:e.roughnessFactor,metallicRoughnessTexture:t.get(e.metallicRoughnessTexture),colorTextureTransform:s(e.colorTextureTransform),normalTextureTransform:s(e.normalTextureTransform),occlusionTextureTransform:s(e.occlusionTextureTransform),emissiveTextureTransform:s(e.emissiveTextureTransform),metallicRoughnessTextureTransform:s(e.metallicRoughnessTextureTransform),unlit:e.unlit})}(e,y)));let x=function(e){let t=0,r={color:!1,tangent:!1,normal:!1,texCoord0:!1},n=new Map,o=new Map,a=[];for(let i of e.parts){let{position:e,normal:u,color:l,tangent:f,texCoord0:c}=i.attributes,d=`\n ${G(e,n)}/\n ${G(u,n)}/\n ${G(l,n)}/\n ${G(f,n)}/\n ${G(c,n)}/\n ${L(i.transform)}\n `,p=!1,m=(0,s.tE)(o,d,()=>(p=!0,{start:t,length:e.count}));p&&(t+=e.count),u&&(r.normal=!0),l&&(r.color=!0),f&&(r.tangent=!0),c&&(r.texCoord0=!0),a.push({gltf:i,writeVertices:p,region:m})}return{vertexAttributes:{position:E(_.Xm,t),normal:r.normal?E(_.xs,t):null,tangent:r.tangent?E(_.Eq,t):null,color:r.color?E(_.XP,t):null,texCoord0:r.texCoord0?E(_.gH,t):null},parts:a,components:[]}}(g);for(let e of x.parts)M(x,e,w);let{position:b,normal:S,tangent:R,color:A,texCoord0:I}=x.vertexAttributes,B=(0,T.TE)(e,r),F=e.spatialReference.isGeographic?(0,T.TE)(e):B,H=(0,O.UR)({vertexAttributes:{position:b.typedBuffer,normal:S?.typedBuffer,tangent:R?.typedBuffer},vertexSpace:F,spatialReference:e.spatialReference},B,{allowBufferReuse:!0,sourceUnit:r?.unitConversionDisabled?void 0:"meters"});if(!H)throw new o.A("load-gltf-mesh:vertex-space-projection",`Failed to load mesh from glTF because we could not convert the vertex space from ${F.type} to ${B.type}`);return{mesh:{transform:null,vertexSpace:B,components:x.components,spatialReference:e.spatialReference,vertexAttributes:new h.A({...H,color:A?.typedBuffer,uv:I?.typedBuffer})},meta:u.meta}}function G(e,t){if(null==e)return"-";let r=e.typedBuffer;return`${(0,s.tE)(t,r.buffer,()=>t.size)}/${r.byteOffset}/${r.byteLength}`}function L(e){return null==e?"-":e.toString()}function M(e,t,r){t.writeVertices&&function(e,t){let{position:r,normal:n,tangent:o,color:s,texCoord0:l}=e.vertexAttributes,f=t.region.start,{attributes:c,transform:d}=t.gltf,p=c.position.count;if((0,g.c)(r.slice(f,p),c.position,d),null!=c.normal&&null!=n){let e=(0,i.Ge)((0,u.vt)(),d),t=n.slice(f,p);(0,g.d)(t,c.normal,e),(0,a.or)(e)&&(0,g.e)(t,t)}else null!=n&&S(n,0,0,1,{dstIndex:f,count:p});if(null!=c.tangent&&null!=o){let e=(0,i.z0)((0,u.vt)(),d),t=o.slice(f,p);(0,y.a)(t,c.tangent,e),(0,a.or)(e)&&(0,y.n)(t,t)}else null!=o&&A(o,0,0,1,1,{dstIndex:f,count:p});if(null!=c.texCoord0&&null!=l?(0,x.n)(l.slice(f,p),c.texCoord0):null!=l&&(0,x.f)(l,0,0,{dstIndex:f,count:p}),null!=c.color&&null!=s){let e=c.color,t=s.slice(f,p);if(4===e.elementCount)e instanceof _.Eq?(0,y.l)(t,e,1,255):(e instanceof _.XP||e instanceof _.Uz)&&(0,y.l)(t,e,1/255,255);else{A(t,255,255,255,255);let r=_.eI.fromTypedArray(t.typedBuffer,t.typedBufferStride);e instanceof _.xs?(0,g.l)(r,e,1,255):(e instanceof _.eI||e instanceof _.nS)&&(0,g.l)(r,e,1/255,255)}}else null!=s&&A(s.slice(f,p),255,255,255,255)}(e,t);let{indices:n,attributes:o,primitiveType:s,material:l}=t.gltf,f=(0,I.x)(n||o.position.count,s),d=t.region.start;if(d){let e=new Uint32Array(f);for(let t=0;t<f.length;t++)e[t]+=d;f=e}e.components.push(new c.A({name:t.gltf.name,faces:f,material:r.get(l),shading:o.normal?"source":"flat",trustSourceNormals:!0}))}function U(e){switch(e){case"OPAQUE":return"opaque";case"MASK":return"mask";case"BLEND":return"blend"}}function D(e){return{horizontal:F(e.s),vertical:F(e.t)}}function F(e){switch(e){case 33071:return"clamp";case 33648:return"mirror";case 10497:return"repeat"}}function P(e){return e**(1/2.2)*255}},21015(e,t,r){r.d(t,{R:()=>u});var n=r(56507),o=r(60999),s=r(49186),a=r(17676),i=r(84952);class u{constructor(e=e=>e){this._resolveURI=e}async loadJSON(e,t){return this._load("json",e,t)}async loadBinary(e,t){return(0,i.DB)(e)?((0,a.Te)(t),(0,i.lJ)(e)):this._load("array-buffer",e,t)}async loadImage(e,t){return this._load("image",e,t)}async _load(e,t,r){t=this._resolveURI(t);let i=await(0,o.Ke)((0,n.A)(t,{responseType:e,...r}));if(i.ok)return i.value.data;throw(0,a.QP)(i.error),new s.A("gltf-loader-request-error",`Request for resource failed: ${i.error}`)}}},84498(e,t,r){r.d(t,{x:()=>a});var n=r(34275),o=r(97146),s=r(63907);function a(e,t){switch(t){case s.WR.TRIANGLES:return function(e){return"number"==typeof e?(0,o.tM)(e):(0,n.mg)(e)?new Uint16Array(e):e}(e);case s.WR.TRIANGLE_STRIP:return function(e){let t="number"==typeof e?e:e.length;if(t<3)return[];let r=t-2,n=(0,o.my)(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;t+=1)t%2==0?(n[e++]=t,n[e++]=t+1,n[e++]=t+2):(n[e++]=t+1,n[e++]=t,n[e++]=t+2)}else{let t=0;for(let o=0;o<r;o+=1)o%2==0?(n[t++]=e[o],n[t++]=e[o+1],n[t++]=e[o+2]):(n[t++]=e[o+1],n[t++]=e[o],n[t++]=e[o+2])}return n}(e);case s.WR.TRIANGLE_FAN:return function(e){let t="number"==typeof e?e:e.length;if(t<3)return new Uint16Array;let r=t-2,n=r<=65536?new Uint16Array(3*r):new Uint32Array(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;++t)n[e++]=0,n[e++]=t+1,n[e++]=t+2;return n}let o=e[0],s=e[1],a=0;for(let t=0;t<r;++t){let r=e[t+2];n[a++]=o,n[a++]=s,n[a++]=r,s=r}return n}(e)}}},51530(e,t,r){r.d(t,{KB:()=>a,Xi:()=>o,pn:()=>i,x3:()=>s});var n=r(44208);class o{constructor(e){this.data=e,this.type="encoded-mesh-texture",this.encoding="image/ktx2"}}function s(e){return"encoded-mesh-texture"===e?.type}async function a(e){let t=await new Blob([e]).text();return JSON.parse(t)}async function i(e,t){if("image/ktx2"===t)return new o(e);let r=new Blob([e],{type:t}),s=URL.createObjectURL(r);switch(t){case"image/jpeg":s+="#.jpg";break;case"image/png":s+="#.png"}let a=new Image;if((0,n.A)("esri-iPhone"))return new Promise((e,t)=>{let r=()=>{o(),e(a)},n=e=>{o(),t(e)},o=()=>{URL.revokeObjectURL(s),a.removeEventListener("load",r),a.removeEventListener("error",n)};a.addEventListener("load",r),a.addEventListener("error",n),a.src=s});try{a.src=s,await a.decode()}catch{}return URL.revokeObjectURL(s),a}},51698(e,t,r){r.d(t,{loadGLTF:()=>H});var n=r(53966),o=r(93637),s=r(9093),a=r(49186),i=r(91869),u=r(17676),l=r(84952),f=r(46140),c=r(58083),d=r(67026),p=r(82534),m=r(13030),h=r(24045),T=r(2741);let _;function g(){return _??=(async()=>{let{default:e}=await r.e(2423).then(()=>r(2423));return await e({locateFile:e=>(0,T.s)(`esri/libs/dracoMeshDecoder/${e}`)})})(),_}class y{constructor(e){this._data=e,this._offset4=0,this._dataUint32=new Uint32Array(this._data,0,Math.floor(this._data.byteLength/4))}readUint32(){let e=this._offset4;return this._offset4+=1,this._dataUint32[e]}readUint8Array(e){let t=4*this._offset4;return this._offset4+=e/4,new Uint8Array(this._data,t,e)}remainingBytes(){return this._data.byteLength-4*this._offset4}}const w={baseColorFactor:[1,1,1,1],metallicFactor:1,roughnessFactor:1},x={pbrMetallicRoughness:w,emissiveFactor:[0,0,0],alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1},b={ESRI_externalColorMixMode:"tint",ESRI_receiveShadows:!0,ESRI_receiveAmbientOcclusion:!0},S=(e={})=>{let t={...w,...e.pbrMetallicRoughness},r=function(e){switch(e.ESRI_externalColorMixMode){case"multiply":case"tint":case"ignore":case"replace":break;default:e.ESRI_externalColorMixMode,e.ESRI_externalColorMixMode="tint"}return e}({...b,...e.extras});return{...x,...e,pbrMetallicRoughness:t,extras:r}},R={magFilter:9729,minFilter:9987,wrapS:10497,wrapT:10497},A=e=>({...R,...e});var E=r(51530),O=r(63907);const N=1179937895;class v{constructor(e,t,r,n){if(this._context=e,this.uri=t,this.json=r,this._glbBuffer=n,this._bufferLoaders=new Map,this._textureLoaders=new Map,this._dracoBuffersSize=0,this._textureCache=new Map,this._materialCache=new Map,this._nodeParentMap=new Map,this._nodeTransformCache=new Map,this._supportedExtensions=["KHR_texture_basisu","KHR_texture_transform","KHR_draco_mesh_compression","KHR_materials_emissive_strength","KHR_materials_unlit"],this._baseUri=function(e){let t,r;return e.replace(/^(.*\/)?([^/]*)$/,(e,n,o)=>(t=n||"",r=o||"","")),{dirPart:t,filePart:r}}(this.uri).dirPart,this._checkVersionSupported(),this._checkRequiredExtensionsSupported(),null==r.scenes)throw new a.A("gltf-loader-unsupported-feature","Scenes must be defined.");if(null==r.meshes)throw new a.A("gltf-loader-unsupported-feature","Meshes must be defined");if(null==r.nodes)throw new a.A("gltf-loader-unsupported-feature","Nodes must be defined.");this._computeNodeParents()}static async load(e,t,r){if((0,l.DB)(t)){let r=(0,l.r$)(t);if(r&&"model/gltf-binary"!==r.mediaType)try{let n=JSON.parse(r.isBase64?atob(r.data):r.data);return new v(e,t,n)}catch{}let n=(0,l.lJ)(t);if(v._isGLBData(n))return this._fromGLBData(e,t,n)}if(D.test(t)||"gltf"===r?.expectedType){let n=await e.loadJSON(t,r);return new v(e,t,n)}let n=await e.loadBinary(t,r);if(v._isGLBData(n))return this._fromGLBData(e,t,n);if(F.test(t)||"glb"===r?.expectedType)throw new a.A("gltf-loader-invalid-glb","This is not a valid glb file.");let o=await e.loadJSON(t,r);return new v(e,t,o)}static _isGLBData(e){if(null==e)return!1;let t=new y(e);return t.remainingBytes()>=4&&t.readUint32()===N}static async _fromGLBData(e,t,r){let n=await v._parseGLBData(r);return new v(e,t,n.json,n.binaryData)}static async _parseGLBData(e){let t=new y(e);if(t.remainingBytes()<12)throw new a.A("gltf-loader-error","glb binary data is insufficiently large.");let r=t.readUint32(),o=t.readUint32(),s=t.readUint32();if(r!==N)throw new a.A("gltf-loader-error","Magic first 4 bytes do not fit to expected glb value.");if(e.byteLength<s)throw new a.A("gltf-loader-error","glb binary data is smaller than header specifies.");if(2!==o)throw new a.A("gltf-loader-unsupported-feature","An unsupported glb container version was detected. Only version 2 is supported.");let i,u,l=0;for(;t.remainingBytes()>=8;){let e=t.readUint32(),r=t.readUint32();if(0===l){if(1313821514!==r)throw new a.A("gltf-loader-error","First glb chunk must be JSON.");if(e<0)throw new a.A("gltf-loader-error","No JSON data found.");i=await(0,E.KB)(t.readUint8Array(e))}else if(1===l){if(5130562!==r)throw new a.A("gltf-loader-unsupported-feature","Second glb chunk expected to be BIN.");u=t.readUint8Array(e)}else n.A.getLogger("esri.views.3d.glTF").warn("[Unsupported Feature] More than 2 glb chunks detected. Skipping.");l+=1}if(!i)throw new a.A("gltf-loader-error","No glb JSON chunk detected.");return{json:i,binaryData:u}}async getBuffer(e,t){let r=this.json.buffers[e];if(null==r.uri){if(null==this._glbBuffer)throw new a.A("gltf-loader-error","glb buffer not present");return this._glbBuffer}let n=await this._getBufferLoader(e,t);if(n.byteLength!==r.byteLength)throw new a.A("gltf-loader-error","Buffer byte lengths should match.");return n}async _getBufferLoader(e,t){let r=this._bufferLoaders.get(e);if(r)return r;let n=this.json.buffers[e].uri,o=this._context.loadBinary(this._resolveUri(n),t).then(e=>new Uint8Array(e));return this._bufferLoaders.set(e,o),o}_validateAccessor(e){if(!this.json.accessors)throw new a.A("gltf-loader-unsupported-feature","Accessors missing.");let t=this.json.accessors[e];if(t.type in["MAT2","MAT3","MAT4"])throw new a.A("gltf-loader-unsupported-feature",`AttributeType ${t.type} is not supported`);return t}_getComponentInfo(e,t){let r=G[e.type],n=t?.componentType||e.componentType,o=L[n];return{componentType:n,componentCount:r,componentByteSize:o,denseByteStride:r*o}}getDracoAccessor(e,t){let r=this._validateAccessor(e),n=t.accessorInfos.get(e),{componentType:o,componentCount:s,componentByteSize:a,denseByteStride:i}=this._getComponentInfo(r,n);return{raw:t.data.buffer,byteStride:i,byteOffset:t.data.byteOffset+(n?.byteOffset||0),entryCount:n?.count??r.count,isDenselyPacked:!0,componentCount:s,componentByteSize:a,componentType:o,min:r.min,max:r.max,normalized:!!r.normalized}}async getAccessor(e,t){let r=this._validateAccessor(e);if(null==r?.bufferView)throw new a.A("gltf-loader-unsupported-feature","Some accessor does not specify a bufferView.");let{componentCount:n,componentByteSize:o,denseByteStride:s}=this._getComponentInfo(r),i=this.json.bufferViews[r.bufferView],u=await this.getBuffer(i.buffer,t),l=i.byteStride||s;return{raw:u.buffer,byteStride:l,byteOffset:u.byteOffset+(i.byteOffset||0)+(r.byteOffset||0),entryCount:r.count,isDenselyPacked:l===s,componentCount:n,componentByteSize:o,componentType:r.componentType,min:r.min,max:r.max,normalized:!!r.normalized}}async getIndexData(e,t,r){if(null==e.indices)return;let n=e.indices,o=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(o.isDenselyPacked)switch(o.componentType){case O.pe.UNSIGNED_BYTE:return new Uint8Array(o.raw,o.byteOffset,o.entryCount);case O.pe.UNSIGNED_SHORT:return new Uint16Array(o.raw,o.byteOffset,o.entryCount);case O.pe.UNSIGNED_INT:return new Uint32Array(o.raw,o.byteOffset,o.entryCount)}else switch(o.componentType){case O.pe.UNSIGNED_BYTE:return(0,h.m)(M(m.SL,o));case O.pe.UNSIGNED_SHORT:return(0,h.m)(M(m.h,o));case O.pe.UNSIGNED_INT:return(0,h.m)(M(m.P,o))}}async getPositionData(e,t,r){if(null==e.attributes.POSITION)throw new a.A("gltf-loader-unsupported-feature","No POSITION vertex data found.");let n=e.attributes.POSITION,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(s.componentType!==O.pe.FLOAT)throw new a.A("gltf-loader-unsupported-feature","Expected type FLOAT for POSITION vertex attribute, but found "+(0,o.i7)(O.pe,s.componentType));if(3!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","POSITION vertex attribute must have 3 components, but found "+s.componentCount.toFixed());return M(m.xs,s)}async getNormalData(e,t,r){if(null==e.attributes.NORMAL)throw new a.A("gltf-loader-error","No NORMAL vertex data found.");let n=e.attributes.NORMAL,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(s.componentType!==O.pe.FLOAT)throw new a.A("gltf-loader-unsupported-feature","Expected type FLOAT for NORMAL vertex attribute, but found "+(0,o.i7)(O.pe,s.componentType));if(3!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","NORMAL vertex attribute must have 3 components, but found "+s.componentCount.toFixed());return M(m.xs,s)}async getTangentData(e,t,r){if(null==e.attributes.TANGENT)throw new a.A("gltf-loader-error","No TANGENT vertex data found.");let n=e.attributes.TANGENT,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(s.componentType!==O.pe.FLOAT)throw new a.A("gltf-loader-unsupported-feature","Expected type FLOAT for TANGENT vertex attribute, but found "+(0,o.i7)(O.pe,s.componentType));if(4!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","TANGENT vertex attribute must have 4 components, but found "+s.componentCount.toFixed());return M(m.Eq,s)}async getTextureCoordinates(e,t,r){if(null==e.attributes.TEXCOORD_0)throw new a.A("gltf-loader-error","No TEXCOORD_0 vertex data found.");let n=e.attributes.TEXCOORD_0,o=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(2!==o.componentCount)throw new a.A("gltf-loader-unsupported-feature","TEXCOORD_0 vertex attribute must have 2 components, but found "+o.componentCount.toFixed());if(o.componentType===O.pe.FLOAT)return M(m.gH,o);if(!o.normalized)throw new a.A("gltf-loader-unsupported-feature","Integer component types are only supported for a normalized accessor for TEXCOORD_0.");return function(e){switch(e.componentType){case O.pe.BYTE:return new m.D6(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case O.pe.UNSIGNED_BYTE:return new m.LC(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case O.pe.SHORT:return new m.mJ(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case O.pe.UNSIGNED_SHORT:return new m.Yi(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case O.pe.UNSIGNED_INT:return new m.An(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case O.pe.FLOAT:return new m.gH(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount)}}(o)}async getVertexColors(e,t,r){if(null==e.attributes.COLOR_0)throw new a.A("gltf-loader-error","No COLOR_0 vertex data found.");let n=e.attributes.COLOR_0,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(4!==s.componentCount&&3!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","COLOR_0 attribute must have 3 or 4 components, but found "+s.componentCount.toFixed());if(4===s.componentCount){if(s.componentType===O.pe.FLOAT)return M(m.Eq,s);if(s.componentType===O.pe.UNSIGNED_BYTE)return M(m.XP,s);if(s.componentType===O.pe.UNSIGNED_SHORT)return M(m.Uz,s)}else if(3===s.componentCount){if(s.componentType===O.pe.FLOAT)return M(m.xs,s);if(s.componentType===O.pe.UNSIGNED_BYTE)return M(m.eI,s);if(s.componentType===O.pe.UNSIGNED_SHORT)return M(m.nS,s)}throw new a.A("gltf-loader-unsupported-feature","Unsupported component type for COLOR_0 attribute: "+(0,o.i7)(O.pe,s.componentType))}hasPositions(e){return void 0!==e.attributes.POSITION}hasNormals(e){return void 0!==e.attributes.NORMAL}hasVertexColors(e){return void 0!==e.attributes.COLOR_0}hasTextureCoordinates(e){return void 0!==e.attributes.TEXCOORD_0}hasTangents(e){return void 0!==e.attributes.TANGENT}async getMaterial(e,t,r,n){let o=e.material?this._materialCache.get(e.material):void 0;if(!o){let s=null==e.material?S():S(this.json.materials[e.material]),a=s.pbrMetallicRoughness,i=this.hasVertexColors(e),u=this.getTexture(a.baseColorTexture,t),l=this.getTexture(s.normalTexture,t),f=r?this.getTexture(s.occlusionTexture,t):void 0,c=n?this.getTexture(s.emissiveTexture,t):void 0,d=r?this.getTexture(a.metallicRoughnessTexture,t):void 0,[p,m,h,T,_]=await Promise.all([u,l,f,c,d]),g=null==e.material?-1:e.material;o={alphaMode:s.alphaMode,alphaCutoff:s.alphaCutoff,color:a.baseColorFactor,doubleSided:!!s.doubleSided,colorTexture:p,normalTexture:m,name:s.name,id:g,occlusionTexture:h,emissiveTexture:T,emissiveFactor:s.emissiveFactor,emissiveStrengthKHR:s.extensions?.KHR_materials_emissive_strength?.emissiveStrength,metallicFactor:a.metallicFactor,roughnessFactor:a.roughnessFactor,metallicRoughnessTexture:_,hasVertexColors:i,ESRI_externalColorMixMode:s.extras.ESRI_externalColorMixMode,colorTextureTransform:a?.baseColorTexture?.extensions?.KHR_texture_transform,normalTextureTransform:s.normalTexture?.extensions?.KHR_texture_transform,occlusionTextureTransform:s.occlusionTexture?.extensions?.KHR_texture_transform,emissiveTextureTransform:s.emissiveTexture?.extensions?.KHR_texture_transform,metallicRoughnessTextureTransform:a?.metallicRoughnessTexture?.extensions?.KHR_texture_transform,receiveAmbientOcclusion:s.extras.ESRI_receiveAmbientOcclusion,receiveShadows:s.extras.ESRI_receiveShadows,unlit:!!s.extensions?.KHR_materials_unlit}}return o}async decode(e,t){let r=e.extensions?.KHR_draco_mesh_compression;if(!r)return;if(null==e.indices)throw new a.A("gltf-loader-error","Found Draco compressed primitive without indices.");let n=this.json.bufferViews[r.bufferView],o=await this.getBuffer(n.buffer,t),s=(await g()).decode(new Uint8Array(o.buffer,o.byteOffset+(n.byteOffset||0),n.byteLength));this._bufferLoaders.delete(n.buffer);let i=new Map([[e.indices,s.indices],[e.attributes.POSITION,s.positions]]);return e.attributes.TEXCOORD_0&&i.set(e.attributes.TEXCOORD_0,s.uvs),e.attributes.NORMAL&&i.set(e.attributes.NORMAL,s.normals),e.attributes.COLOR_0&&i.set(e.attributes.COLOR_0,s.colors),e.attributes.TANGENT&&i.set(e.attributes.TANGENT,s.tangents),this._dracoBuffersSize+=s.buffer.byteLength,{data:s.buffer,accessorInfos:i}}async getTexture(e,t){if(!e)return;if(0!==(e.texCoord||0))throw new a.A("gltf-loader-unsupported-feature","Only TEXCOORD with index 0 is supported.");let r=e.index,n=this.json.textures[r],o=A(null==n.sampler?{}:this.json.samplers[n.sampler]),s=U(n),u=this.json.images[s],l=await this._loadTextureImageData(r,n,t);return(0,i.tE)(this._textureCache,r,()=>{let e=e=>33071===e||33648===e||10497===e,t=e=>{throw new a.A("gltf-loader-error",`Unexpected TextureSampler WrapMode: ${e}`)};return{data:l,wrapS:e(o.wrapS)?o.wrapS:t(o.wrapS),wrapT:e(o.wrapT)?o.wrapT:t(o.wrapT),minFilter:o.minFilter,name:u.name,id:r}})}getNodeTransform(e){if(void 0===e)return I;let t=this._nodeTransformCache.get(e);if(!t){let r=this.getNodeTransform(this._getNodeParent(e)),n=this.json.nodes[e];n.matrix?t=(0,c.lw)((0,s.vt)(),r,n.matrix):n.translation||n.rotation||n.scale?(t=(0,s.o8)(r),n.translation&&(0,c.Tl)(t,t,n.translation),n.rotation&&(B[3]=(0,d.Xd)(B,n.rotation),(0,c.e$)(t,t,B[3],B)),n.scale&&(0,c.hs)(t,t,n.scale)):t=(0,s.o8)(r),this._nodeTransformCache.set(e,t)}return t}_resolveUri(e){return(0,l.s2)(e,this._baseUri)}_getNodeParent(e){return this._nodeParentMap.get(e)}_checkVersionSupported(){let e=f.A.parse(this.json.asset.version,"glTF");C.validate(e)}_checkRequiredExtensionsSupported(){let e=this.json;if(e.extensionsRequired&&!e.extensionsRequired.every(e=>this._supportedExtensions.includes(e)))throw new a.A("gltf-loader-unsupported-feature","gltf loader was not able to load unsupported feature. Required extensions: "+e.extensionsRequired.join(", "))}_computeNodeParents(){this.json.nodes.forEach((e,t)=>{e.children&&e.children.forEach(e=>{this._nodeParentMap.set(e,t)})})}async _loadTextureImageData(e,t,r){let n=this._textureLoaders.get(e);if(n)return n;let o=this._createTextureLoader(t,r);return this._textureLoaders.set(e,o),o}async _createTextureLoader(e,t){let r=U(e),n=this.json.images[r];if(n.uri){if(n.uri.endsWith(".ktx2")){let e=await this._context.loadBinary(this._resolveUri(n.uri),t);return new E.Xi(new Uint8Array(e))}return this._context.loadImage(this._resolveUri(n.uri),t)}if(null==n.bufferView)throw new a.A("gltf-loader-unsupported-feature","Image bufferView must be defined.");if(null==n.mimeType)throw new a.A("gltf-loader-unsupported-feature","Image mimeType must be defined.");let o=this.json.bufferViews[n.bufferView],s=await this.getBuffer(o.buffer,t);if(null!=o.byteStride)throw new a.A("gltf-loader-unsupported-feature","byteStride not supported for image buffer");let i=s.byteOffset+(o.byteOffset||0);return(0,E.pn)(new Uint8Array(s.buffer,i,o.byteLength),n.mimeType)}async getLoadedBuffersSize(){if(this._glbBuffer)return this._glbBuffer.byteLength;let e=await(0,u.nA)(Array.from(this._bufferLoaders.values())),t=await(0,u.nA)(Array.from(this._textureLoaders.values()));return e.reduce((e,t)=>e+(t?.byteLength??0),0)+this._dracoBuffersSize+t.reduce((e,t)=>e+(t?(0,E.x3)(t)?t.data.byteLength:t.width*t.height*4:0),0)}}const I=(0,c.hM)((0,s.vt)(),Math.PI/2),C=new f.A(2,0,"glTF"),B=(0,p.vt)(),G={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},L={[O.pe.BYTE]:1,[O.pe.UNSIGNED_BYTE]:1,[O.pe.SHORT]:2,[O.pe.UNSIGNED_SHORT]:2,[O.pe.HALF_FLOAT]:2,[O.pe.FLOAT]:4,[O.pe.INT]:4,[O.pe.UNSIGNED_INT]:4};function M(e,t){return new e(t.raw,t.byteOffset,t.byteStride,t.byteOffset+t.byteStride*(t.entryCount-1)+t.componentByteSize*t.componentCount)}function U(e){if(null!=e.extensions?.KHR_texture_basisu)return e.extensions.KHR_texture_basisu.source;if(null!==e.source)return e.source;throw new a.A("gltf-loader-unsupported-feature","Source is expected to be defined for a texture. It can also be omitted in favour of an KHR_texture_basisu extension tag.")}const D=/\.gltf$/i,F=/\.glb$/i;let P=0;async function H(e,t,r={},a=!0,i=!0){let u=await v.load(e,t,r),l="gltf_"+P++,f={lods:[],materials:new Map,textures:new Map,meta:j(u)},c=!(!u.json.asset.extras||"symbolResource"!==u.json.asset.extras.ESRI_type),d=u.json.asset.extras?.ESRI_webstyleSymbol?.webstyle,p=new Map,m=!1;await $(u,async(e,t,c,d)=>{let h=p.get(c)??0;p.set(c,h+1);let T=void 0===e.mode?O.WR.TRIANGLES:e.mode,_=T===O.WR.TRIANGLES||T===O.WR.TRIANGLE_STRIP||T===O.WR.TRIANGLE_FAN?T:null;if(null==_)return void n.A.getLogger("esri.views.3d.glTF").warn("[Unsupported Feature] Unsupported primitive mode ("+(0,o.i7)(O.WR,T)+"). Skipping primitive.");if(!u.hasPositions(e))return void n.A.getLogger("esri.views.3d.glTF").warn("Skipping primitive without POSITION vertex attribute.");let g=await u.decode(e,r);m||=!!g;let y=u.getPositionData(e,r,g),w=u.getMaterial(e,r,a,i),x=u.hasNormals(e)?u.getNormalData(e,r,g):null,b=u.hasTangents(e)?u.getTangentData(e,r,g):null,S=u.hasTextureCoordinates(e)?u.getTextureCoordinates(e,r,g):null,R=u.hasVertexColors(e)?u.getVertexColors(e,r,g):null,A=u.getIndexData(e,r,g),[E,N,v,I,C,B,G]=await Promise.all([y,x,S,R,b,A,w]),L={name:d,transform:(0,s.o8)(t),attributes:{position:E,normal:N,texCoord0:v,color:I,tangent:C},indices:B,primitiveType:_,material:V(f,G,l)},M=null;null!=f.meta?.ESRI_lod&&"screenSpaceRadius"===f.meta.ESRI_lod.metric&&(M=f.meta.ESRI_lod.thresholds[c]),f.lods[c]=f.lods[c]||{parts:[],name:d,lodThreshold:M},f.lods[c].parts[h]=L});for(let e of f.lods)e.parts=e.parts.filter(e=>!!e);let h=await u.getLoadedBuffersSize();return{model:f,meta:{isEsriSymbolResource:c,uri:u.uri,ESRI_webstyle:d,isDracoDecompressed:m},customMeta:{},usedMemory:h}}function j(e){let t=e.json,r=null;return t.nodes.forEach(e=>{let t=e.extras;null!=t&&(t.ESRI_proxyEllipsoid||t.ESRI_lod)&&(r=t)}),r}async function $(e,t){let r=e.json,o=r.scenes[r.scene||0].nodes,s=o.length>1,a=[];for(let e of o){let t=r.nodes[e];a.push(i(e,0)),k(t)&&!s&&t.extensions.MSFT_lod.ids.forEach((e,t)=>a.push(i(e,t+1)))}async function i(o,s){let u=r.nodes[o],l=e.getNodeTransform(o);if(null!=u.weights&&n.A.getLogger("esri.views.3d.glTF").warn("[Unsupported Feature] Morph targets are not supported."),null!=u.mesh){let e=r.meshes[u.mesh];for(let r of e.primitives)a.push(t(r,l,s,e.name))}for(let e of u.children||[])a.push(i(e,s))}await Promise.all(a)}function k(e){return e.extensions?.MSFT_lod&&Array.isArray(e.extensions.MSFT_lod.ids)}function V(e,t,r){let n=t=>{let n=`${r}_tex_${t&&t.id}${t?.name?"_"+t.name:""}`;if(t&&!e.textures.has(n)){let r=function(e,t={}){return{data:e,parameters:{wrap:{s:10497,t:10497,...t.wrap},noUnpackFlip:!0,mipmap:!1,...t}}}(t.data,{wrap:{s:t.wrapS,t:t.wrapT},mipmap:z.has(t.minFilter),noUnpackFlip:!0});e.textures.set(n,r)}return n},o=`${r}_mat_${t.id}_${t.name}`;if(!e.materials.has(o)){let r=function(e={}){return{color:[1,1,1],opacity:1,alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1,castShadows:!0,receiveShadows:!0,receiveAmbientOcclusion:!0,unlit:!1,colorTexture:null,normalTexture:null,occlusionTexture:null,emissiveTexture:null,emissiveStrengthKHR:null,metallicRoughnessTexture:null,colorTextureTransform:null,normalTextureTransform:null,occlusionTextureTransform:null,emissiveTextureTransform:null,metallicRoughnessTextureTransform:null,emissiveFactor:[0,0,0],metallicFactor:1,roughnessFactor:1,colorMixMode:"multiply",...e}}({color:[t.color[0],t.color[1],t.color[2]],opacity:t.color[3],alphaMode:t.alphaMode,alphaCutoff:t.alphaCutoff,doubleSided:t.doubleSided,colorMixMode:t.ESRI_externalColorMixMode,colorTexture:t.colorTexture?n(t.colorTexture):void 0,normalTexture:t.normalTexture?n(t.normalTexture):void 0,occlusionTexture:t.occlusionTexture?n(t.occlusionTexture):void 0,emissiveTexture:t.emissiveTexture?n(t.emissiveTexture):void 0,metallicRoughnessTexture:t.metallicRoughnessTexture?n(t.metallicRoughnessTexture):void 0,emissiveFactor:[t.emissiveFactor[0],t.emissiveFactor[1],t.emissiveFactor[2]],emissiveStrengthKHR:t.emissiveStrengthKHR,colorTextureTransform:t.colorTextureTransform,normalTextureTransform:t.normalTextureTransform,occlusionTextureTransform:t.occlusionTextureTransform,emissiveTextureTransform:t.emissiveTextureTransform,metallicRoughnessTextureTransform:t.metallicRoughnessTextureTransform,metallicFactor:t.metallicFactor,roughnessFactor:t.roughnessFactor,receiveShadows:t.receiveShadows,receiveAmbientOcclusion:t.receiveAmbientOcclusion,unlit:t.unlit});e.materials.set(o,r)}return o}const z=new Set([9987,9985])},63907(e,t,r){const n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},o={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(o),a={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};r.d(t,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,o,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,n,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3819],{24460(e,t,r){function n(e){let{minValue:t,maxValue:r,numValues:n,nullCount:i,distinctCount:l}=e;return null!=n&&i===n?{type:"null-only",nullCount:i,distinctCount:l}:"number"==typeof t&&Number.isFinite(t)&&"number"==typeof r&&Number.isFinite(r)&&t<=r?{type:"bounds",minValue:t,maxValue:r,nullCount:i,distinctCount:l}:null!=t||null!=r||null!=l||null!=i?{type:"unknown",nullCount:i,distinctCount:l}:null}function i(e){let t=new Map;for(let r of e.files){let e=l(r);t.set(r.name,e)}return t}function l(e){let t=new Map;for(let r of e.statistics??[]){let e=r.column.at(-1);if(null==e)continue;let i=n({minValue:r.minValue,maxValue:r.maxValue,numValues:null,nullCount:r.nullCount??0,distinctCount:r.distinctCount??null});null!=i&&t.set(e,i)}return new o(0,0,t)}function a(e){let t=e.minValue(),r=e.maxValue(),i=e.numValues(),l=e.distinctCount()??null;return n({minValue:t,maxValue:r,numValues:i,nullCount:e.nullCount()??null,distinctCount:l})}r.d(t,{Hk:()=>a,MB:()=>o,t8:()=>i});class o{static fromFile(e){let t=e.numRows(),r=e.byteLength(),n=new Map;for(let t of e.getColumnDescriptors()){let e=a(t);null!=e&&n.set(t.name(),e),t.free()}return new o(t,r,n)}constructor(e,t,r){this.rowCount=e,this.byteSize=t,this.statistics=r}}},95031(e,t,r){r.d(t,{M:()=>v});var n=r(56507),i=r(32198),l=r(49186),a=r(65529),o=r(44208),s=r(563),u=r(84952),c=r(53929),d=r(24460);class y{static async create(e,t,r,n,i){if(!i){let i=await(0,c.DV)(r,{geometryInfo:e,provider:t}),l=d.MB.fromFile(i);return new y(e,t,r,n,l,Promise.resolve(i))}return new y(e,t,r,n,i,null)}constructor(e,t,r,n,i,l){this._geometryInfo=e,this._provider=t,this.url=r,this.id=n,this.statistics=i,this._file=l}destroy(){null!=this._file&&this._file.then(e=>e.free())}get file(){return this._file??=(0,c.DV)(this.url,{geometryInfo:this._geometryInfo,provider:this._provider}),this._file}async getDiagnosticsSnapshot(){return{...(await this.file).diagnosticsSnapshot(),fileId:this.id,fileName:this.url}}async getColumnIndex(e,t){return(await this.file).columnIndex(e,t)}async getOffsetIndex(e,t){return(await this.file).offsetIndex(e,t)}}const m="_spatial.json",p=new s.QueueProcessor({concurrency:12,process:async e=>{let{data:t}=await(0,n.A)(e.url,e.options);return t}});let f=1;class h{constructor(e,t=()=>{}){this._geometryInfo=e,this._getCustomParameters=t,this.events=new a.bk}async destroy(){await this.clear()}async clear(){if(this._infos){let e=await this._infos;for(let t of e.values())t.destroy();e.clear(),this._infos=null}}async getMetadata(){let e={stack:[],error:void 0,hasError:!1};try{let t=(await this._getParquetFileNames()).at(0);if(!t)return null;let r=(0,i.mS)(e,await(0,c.DV)(t,{provider:this}),!1);return(0,c._6)(r)}catch(t){e.error=t,e.hasError=!0}finally{(0,i.hk)(e)}}getGeometryInfo(){return this._geometryInfo}async getFiles(){let e=await this._getInfoMap();return Array.from(e.values())}async updateGeometryInfo(e){if(this._geometryInfo)throw Error("GeometryInfo already set");await this.clear(),this._geometryInfo=e}async fetchLength(e){let{byteLength:t,cacheTag:r}=await this._fetchLengthAndTag(e);if(!(0,o.A)("parquetlayer-cache-enabled"))return t;try{await this._createOrResetCache(e,r)}catch{}return t}async fetchRange(e,t,r,n){let i={fileId:e,requestId:f++,range:{start:t,end:r+1}};this.events.emit("rangeRead",{...i,phase:"start"});try{let l=await this._fetchRangeWithCache(e,t,r,n);return this.events.emit("rangeRead",{...i,phase:"complete"}),l}catch(e){throw this.events.emit("rangeRead",{...i,phase:"error"}),e}}_getCacheFileName(e){return e}async _requestStatistics(e){let{data:t}=await(0,n.A)(e,{responseType:"json",maxUrlLength:0,query:this._getCustomParameters()});return t}async _fetchRange(e,t,r,n){let i={url:e,options:{responseType:"array-buffer",query:this._getCustomParameters()??{},cacheMode:"no-store",maxUrlLength:0,useQueue:!0,headers:{range:`bytes=${t}-${r}`}}},a=await p.push(i),o=r-t+1;if(a.byteLength!==o)throw new l.A("InvalidRangeRequest",`request returned ${a.byteLength} bytes for range ${t}-${r}, expected ${o}.`);return a}async _fetchLengthAndTag(e){if((0,u.w8)(e)){let{data:t}=await(0,n.A)(e,{responseType:"blob"});return{byteLength:t.size,cacheTag:null}}let t=await this._requestHead(e),r=t.headers.get("Content-Length");if(null==r)throw Error("Unable to parse content length");let i=t.headers.get("etag")??t.headers.get("Last-Modified");return{byteLength:parseInt(r,10),cacheTag:i}}async _getInfoMap(){return this._infos||=this._fetchParquetFiles(),this._infos}async _updateParquetFileInfos(e){let t=await this._getInfoMap(),r=new Set(e);for(let e of r)if(!t.get(e)){let r=t.size,n=await y.create(this.getGeometryInfo(),this,e,r,null);t.set(e,n)}for(let e of t.keys())if(!r.has(e))throw Error("Deletion not supported")}async _getFileStatistics(e){this._statistics||=this._fetchStatistics();let t=await this._statistics,r=function(e){return e.split(/[?#]/,1)[0].split("/").at(-1)??e}(e);return t.get(r)}async _fetchParquetFiles(){let e=(await this._getParquetFileNames()).map(async(e,t)=>{let r=t,n=await this._getFileStatistics(e);return y.create(this.getGeometryInfo(),this,e,r,n)}),t=await Promise.all(e),r=new Map;for(let e of t)r.set(e.url,e);return r}async _fetchStatistics(){let e=await this._getStatisticsFileName();if(null==e)return new Map;let t=await this._resolveFileUrl(e),r=await this._requestStatistics(t);return(0,d.t8)(r)}async _requestHead(e){let{data:t}=await(0,n.A)(e,{responseType:"native",method:"head",maxUrlLength:0,query:this._getCustomParameters()});return t}async _openCache(e){return caches.open(this._getCacheName(e))}async _fetchRangeWithCache(e,t,r,n){if(!(0,o.A)("parquetlayer-cache-enabled"))return this._fetchRange(e,t,r,n);let i=new URL(this._getCacheFileName(e));i.searchParams.append("range",`${t}-${r}`);try{let l=await this._openCache(e),a=await l.match(i);if(a)return await a.arrayBuffer();let o=await this._fetchRange(e,t,r,n);return await l.put(i,new Response(o,{headers:{"Content-Type":"application/octet-stream","Content-Length":o.byteLength.toString()}})),o}catch{return this._fetchRange(e,t,r,n)}}_getCacheName(e){return`parquet.v1:${this._getCacheFileName(e)}`}async _createOrResetCache(e,t){let r=this._getCacheName(e),n=new URL(this._getCacheFileName(e));if(n.searchParams.append("metadata","true"),null==t)return void await caches.delete(r);let i=await caches.open(r);(await((await i.match(n))?.json()))?.tag!==t&&(await caches.delete(r),i=await caches.open(r));let l=JSON.stringify({tag:t});await i.put(n,new Response(l,{headers:{"Content-Type":"application/json","Content-Length":l.length.toString()}}))}}function g(e){let t=e.split(/[?#]/,1)[0];return t===m||t.endsWith(m)}var w=r(39131);class _ extends h{constructor(e,t,r){super(t,r),this._schema=e,this._isAgol=!!(0,w.py)(this._schema.itemUrl)}async update(e){throw Error("Unsupported")}async _getParquetFileNames(){return[`${this._baseUrl}/data`]}async _getStatisticsFileName(){return null}_getCacheFileName(e){return`${this._baseUrl}/data`}async _resolveFileUrl(e){return this._resolvedUrl||=this._fetchResolvedUrl(),this._resolvedUrl}async _fetchLengthAndTag(e){let t=await super._fetchLengthAndTag(e);return t.cacheTag=this._schema.modified.getTime().toString(),t}async _fetchRange(e,t,r,n){try{let i=await this._resolveFileUrl(e);return await super._fetchRange(i,t,r,n)}catch{this._resolvedUrl=null}let i=await this._resolveFileUrl(e);return super._fetchRange(i,t,r,n)}get _baseUrl(){return this._schema.itemCdnUrl??this._schema.itemUrl}async _fetchResolvedUrl(){return this._isAgol?(await(0,n.A)(`${this._baseUrl}/data`,{query:{signedurl:!0,expiration:9,f:"json"}})).data.signedUrl:`${this._baseUrl}/data`}}var C=r(47828);class x extends h{constructor(e,t,r){super(t,r),this._schema=e,this._directoryChanged=!1}get _baseUrl(){return this._schema.itemCdnUrl??this._schema.itemUrl}async update(e){throw Error("Unsupported")}async _getParquetFileNames(){let e=await this._getResources();return Array.from(e.keys()).filter(e=>e.endsWith(".parquet"))}async _getStatisticsFileName(){let e=await this._getResources();return Array.from(e.keys()).find(g)??null}_getCacheFileName(e){return`${this._baseUrl}/resources/${e}`}async _resolveFileUrl(e){let t=await this._getResource(e);return t.signedUrl?t.signedUrl:`${this._baseUrl}/resources/${e}`}async _fetchLengthAndTag(e){let t=await this._getResource(e),r=this._schema.itemMetadata.modified.getTime().toString();return{byteLength:t.size,cacheTag:r}}async _fetchRange(e,t,r,n){if(this._directoryChanged)throw(0,C.O)();try{let i=await this._resolveFileUrl(e);return await super._fetchRange(i,t,r,n)}catch{if("directory-changed"===await this._refetchResources())throw(0,C.O)()}let i=await this._resolveFileUrl(e);return super._fetchRange(i,t,r,n)}_refetchResources(){return this._directoryChanged?Promise.resolve("directory-changed"):(this._updateResourcesPromise||=this._executeRefetchResources().finally(()=>{this._updateResourcesPromise=null}),this._updateResourcesPromise)}async _executeRefetchResources(){return await this._refetchPortalItemMetadata()?(this.events.emit("sourceChanged"),this._directoryChanged=!0,"directory-changed"):(this._resources=this._fetchResources(),"ok")}async _refetchPortalItemMetadata(){let e=this._schema.itemMetadata.url,{modified:t,url:r}=(await(0,n.A)(this._schema.itemUrl,{responseType:"json",query:{f:"json"}})).data;if(null==r)throw Error("Portal item metadata must have a url defined.");if(null==t)throw Error("Portal item metadata must have a modified timestamp defined.");return this._schema.itemMetadata={modified:new Date(t),url:r},e!==r}async _getResources(){return this._resources||=this._fetchResources(),await this._resources}async _getResource(e){let t=(await this._getResources()).get(e);if(!t)throw Error(`Resource ${e} not found.`);return t}async _fetchResources(){let e=new Map,t=1,r=function(e){let t=e.split("/").filter(Boolean),r=t.indexOf("resources");if(-1===r||r===t.length-1)throw Error(`URL does not contain a resources directory name: ${e}`);return`${t.slice(r+1).map(e=>decodeURIComponent(e)).join("/")}/`}(this._schema.itemMetadata.url);for(;-1!==t;){let i=await(0,n.A)(`${this._baseUrl}/resources`,{query:{f:"json",start:t,num:100}});for(let t of i.data.resources)t.resource.startsWith(r)&&e.set(t.resource,t);t=i.data.nextStart}return e}}class S extends h{constructor(e,t=null,r=()=>{}){super(t,r),this._schema=e}async update(e){await this._updateParquetFileInfos(await this._getParquetFileNames()),this._schema=e}async _resolveFileUrl(e){return e}async _getParquetFileNames(){return this._schema.urls.filter(e=>!e.endsWith(".json"))}async _getStatisticsFileName(){return this._schema.urls.find(g)??null}}function v(e,t,r){switch(e.type){case"urls":return new S(e,t,r);case"portal-parquet-file":return new _(e,t,r);case"portal-parquet-layer":return new x(e,t,r)}}},47828(e,t,r){r.d(t,{O:()=>l,c:()=>i});var n=r(49186);function i(e){return"object"==typeof e&&!!e&&"name"in e&&"FileProviderChangedError"===e.name}function l(e=""){return new n.A("FileProviderChangedError",e)}},53929(e,t,r){r.d(t,{DV:()=>y,FG:()=>f,LC:()=>g,_6:()=>q,ae:()=>h});var n=r(49186),i=r(53966),l=r(54625),a=r(76248);const o=()=>i.A.getLogger("esri.layers.ParquetLayer"),s=new Set(["uncompressed","snappy","gzip"]),u=new TextDecoder,c=new Set(["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong"]);function d(e,t){switch(t){case"esriGeometryPoint":return e.GeometryType.Point;case"esriGeometryPolygon":case"polygon":return e.GeometryType.Polygon;case"esriGeometryPolyline":case"polyline":return e.GeometryType.Polyline;case"esriGeometryMultipoint":case"multipoint":return e.GeometryType.Multipoint;default:throw new n.A("parquet",`Found unexpected GeometryType: ${t}`)}}async function y(e,t){let r=await(0,a.N)(),i=t.geometryInfo?function(e,t){let r=e.GeometryInfo.new();t.geometry&&r.setGeometry(function(e,t){let r=t.encoding,n=d(e,t.geometryType),i=t.spatialReference.wkid;if(null==i)throw Error("InternalError: Wkid must be defined.");switch(r.type){case"wkb":return e.GeometryField.fromWkb(r.field,i,n);case"location":{let{yField:t,xField:l}=r;return e.GeometryField.fromLocation(t,l,i,n)}}}(e,t.geometry));let n=t.displayOptimization;if(n){let{index:t}=n;if("z"===t.type){let n=e.DisplayOptimizationZBuilder.new();n.setCodeField(f(t.code)),n.setXColumn(f(t.xColumn)),n.setYColumn(f(t.yColumn)),null!=t.zColumn&&n.setZColumn(f(t.zColumn)),null!=t.mColumn&&n.setMColumn(f(t.mColumn)),n.setCooordinatePrecision(t.coordinatePrecision),n.setFullExtent(t.fullExtent),n.setSpatialReference(t.wkid,null==t.wkid?t.wkt:void 0),n.setHasZ(!!t.zColumn),n.setHasM(!!t.mColumn),t.zColumn&&n.setZColumn(f(t.zColumn)),t.mColumn&&n.setMColumn(f(t.mColumn)),r.setOptmizationZ(n)}if("xz"===t.type){let n=d(e,t.geometryType),i=e.DisplayOptimizationXZBuilder.new();i.setCodeField(f(t.code)),i.setEncoding(t.encoding),i.setFullExtent(t.fullExtent),i.setGeometryType(n),i.setSpatialReference(t.wkid,null==t.wkid?t.wkt:void 0),i.setMaxLevel(t.maxLevel),i.setHasZ(t.hasZ??!1),i.setHasM(t.hasM??!1);for(let r of t.levels??[]){let t=new Float64Array(r.transform.translate),n=new Float64Array(r.transform.scale),l=f(r.column);i.addLevel(e.MultiscaleGeometryField.new(r.level,r.resolution,l,t,n))}r.setOptmizationXZ(i)}}return r}(r,t.geometryInfo):null,l=t.provider.fetchRange.bind(t.provider),o=t.provider.fetchLength.bind(t.provider);try{return await r.ParquetFile.fromUrl(e,l,o,i)}catch(e){throw new n.A("parquet","Failed to parse file",{error:e})}}function m(e){if(e.keyValueMetadata("esri"))throw new n.A("parquet:unsupported","File was created using an unsupported experimental display index. Please regenerate the file.");let t=e.keyValueMetadata("geodisplay");if(null!=t)return{present:!0,optimization:p({index:JSON.parse(t)})};let r=e.keyValueMetadata("org.apache.spark.sql.parquet.row.metadata");if(null!=r){let e=JSON.parse(r);for(let t of e.fields)if(null!=t.metadata&&C(t.metadata)){if(!x(t.metadata))return o().warn("parquet:protocol-violation","Ignoring display optimization, found invalid column path",{index:t.metadata}),{present:!0,optimization:null};let e=w(t.metadata,t.name);return null==e?(o().warn("parquet:protocol-violation","Ignoring display optimization, Spark display column paths must be non-empty strings",{index:t.metadata}),{present:!0,optimization:null}):{present:!0,optimization:p({index:e})}}}return{present:!1,optimization:null}}function p(e){if(!x(e.index))return o().warn("parquet:protocol-violation","Ignoring display optimization, found invalid column path",{index:e.index}),null;if("xz"===e.index.type&&(e.index.geometryType=function(e){switch(e.toLowerCase()){case"polygon":return"polygon";case"polyline":return"polyline";case"multipoint":return"multipoint";default:throw new n.A("parquet:unsupported",`Geometry type ${e} is unsupported`)}}(e.index.geometryType),"esri-pbf"===e.index.encoding&&(e.index.encoding="esriPBF"),"esriPBF"!==e.index.encoding))return o().warn("parquet:unsupported",`Encoding for display index must be of type esriPBF, but found ${e.index.encoding}`),null;let{xmin:t,ymin:r,xmax:i,ymax:l}=e.index.fullExtent;return Number.isFinite(t)&&Number.isFinite(r)&&Number.isFinite(i)&&Number.isFinite(l)?e:(o().warn("parquet:protocol-violation","Ignoring display optimization, found bad extent",{index:e.index}),null)}function f(e){return Array.isArray(e)?e.join("."):e}function h(e,t,r,n,i){let l=A(e.readAttribute(t,r),n);return i&&null!=l&&"esriFieldTypeDate"===n?new Date(l):l}function g(e,t,r,n,i){return A(e.readAttribute(t,r,n),i)}function w(e,t){if("z"===e.type){let r=_(e.code,t),n=_(e.xColumn,t),i=_(e.yColumn,t),l=null==e.zColumn?e.zColumn:_(e.zColumn,t),a=null==e.mColumn?e.mColumn:_(e.mColumn,t);return null==r||null==n||null==i||null===l||null===a?null:{...e,code:r,xColumn:n,yColumn:i,...null==l?{}:{zColumn:l},...null==a?{}:{mColumn:a}}}let r=_(e.code,t),n=[];for(let r of e.levels){let e=_(r.column,t);if(null==e)return null;n.push({...r,column:e})}return null==r?null:{...e,code:r,levels:n}}function _(e,t){return"string"==typeof e&&e.length>0?[t,e]:null}function C(e){return"object"==typeof e&&!!e&&"type"in e&&("z"===e.type||"xz"===e.type)}function x(e){return"z"===e.type?S(e.code)&&S(e.xColumn)&&S(e.yColumn)&&(null==e.zColumn||S(e.zColumn))&&(null==e.mColumn||S(e.mColumn)):S(e.code)&&Array.isArray(e.levels)&&e.levels.every(e=>"object"==typeof e&&!!e&&"column"in e&&S(e.column))}function S(e){return"string"==typeof e&&e.length>0||Array.isArray(e)&&2===e.length&&e.every(e=>"string"==typeof e&&e.length>0)}function v(e,t){return o().warn("parquet:protocol-violation",`Ignoring GeoParquet ordering and LOD extensions: ${t}`,{lod:e.lod,ordering:e.ordering}),null}function F(e){return Array.isArray(e)&&2===e.length&&"geolod"===e[0]&&"string"==typeof e[1]&&e[1].length>0}function b(e){return M(e?.scale,!0)&&M(e?.translate,!1)}function M(e,t){return Array.isArray(e)&&4===e.length&&e.every(e=>"number"==typeof e&&Number.isFinite(e)&&(!t||e>0))}function q(e){R(e);let t,r,i=function(e){return Array.from(e.fields(!1),e=>({name:e.name,alias:e.name,type:e.type}))}(e),l=function(e){let t=e.keyValueMetadata("geo");return null==t?null:JSON.parse(t)}(e),a=m(e),o=a.present?a.optimization:function(e){if(null==e)return null;let t=e.ordering,r=e.lod;if(null==t&&null==r)return null;if("xz"!==t?.type||null==r||t.geometry_column!==e.primary_column||r.geometry_column!==e.primary_column||t.geometry_column!==r.geometry_column||20!==t.max_level||!function(e){return M(e,!1)&&e[0]<e[2]&&e[1]<e[3]}(t.extent)||"pbf"!==r.encoding)return v(e,"ordering and lod must form a valid primary-column XZ pair");let n=e.columns[e.primary_column],i=function(e){if(null==e||0===e.geometry_types.length)return null;let t,r;for(let n of e.geometry_types){let e=/^(LineString|MultiLineString|Polygon|MultiPolygon)(?: (Z|M|ZM))?$/.exec(n);if(null==e)return null;let i="LineString"===e[1]||"MultiLineString"===e[1]?"polyline":"polygon";if(null!=t&&t!==i||null!=r&&r!==(e[2]??""))return null;t=i,r=e[2]??""}return null==t||null==r?null:{geometryType:t,hasZ:"Z"===r||"ZM"===r,hasM:"M"===r||"ZM"===r}}(n);if(null==i||!function(e,t){return"polygon"===t?"clockwise"===e:null==e}(r.orientation,i.geometryType))return v(e,"geometry type, dimensions, or LOD orientation is invalid");let l=function(e){if(!Array.isArray(e)||0===e.length)return null;let t=new Set,r=e.slice().sort((e,t)=>t.resolution-e.resolution),n=[];for(let[e,i]of r.entries()){if(!F(i.column)||!Number.isFinite(i.resolution)||i.resolution<=0||t.has(i.resolution)||!b(i.transform))return null;t.add(i.resolution),n.push({column:i.column,level:e,resolution:i.resolution,transform:i.transform})}return n}(r.levels),a=T(n)?.wkid;if(null==l||null==a)return v(e,"LOD levels or spatial reference is invalid");let[o,s,u,c]=t.extent;return{index:{type:"xz",code:"geokey",wkid:a,wkt:null,encoding:"esriPBF",fullExtent:{xmin:o,ymin:s,xmax:u,ymax:c},geometryType:i.geometryType,maxLevel:t.max_level,hasZ:i.hasZ,hasM:i.hasM,levels:l}}}(l),s=P(l,i),{hasZ:u,hasM:c}=function(e,t){let r=t?.index;if("z"===r?.type)return{hasZ:null!=r.zColumn,hasM:null!=r.mColumn};if("xz"===r?.type)return{hasZ:!0===r.hasZ,hasM:!0===r.hasM};let n=e?.columns[e.primary_column]?.geometry_types??[];return{hasZ:n.some(e=>/ (?:Z|ZM)$/u.test(e)),hasM:n.some(e=>/ (?:M|ZM)$/u.test(e))}}(l,o);if(s)switch(s.type){case"location":r={wkid:4326},t="esriGeometryPoint";break;case"wkb":if(l){let e=l.primary_column,i=l.columns[e];t=function(e){let{geometry_types:t}=e,r=new Set;for(let e of t){let t=z(e);t&&r.add(t)}if(r.size>1)throw new n.A("parquet:unsupported","Parquet mixed geometry types are not supported",{geometryTypes:r});return 1===r.size?r.values().next().value:void 0}(i),r=T(i)}}if(o){let e=o.index;!r&&e.wkid&&(r={wkid:e.wkid}),t||="z"===e.type?"esriGeometryPoint":function(e){switch(e){case"polygon":return"esriGeometryPolygon";case"polyline":return"esriGeometryPolyline";case"multipoint":return"esriGeometryMultipoint"}}(e.geometryType)}return{geoMetadata:l,displayOptimization:o,hasZ:u,hasM:c,geometryEncoding:s,geometryInfo:r&&t?{geometry:s?{geometryType:t,spatialReference:r,encoding:s}:null,displayOptimization:o}:null,geometryType:t,spatialReference:r,extent:L(l,o,r),fields:i}}function R(e){for(let t of e.compressionCodecs())if(!s.has(t))throw new n.A("parquet:unsupported",`Compression codec ${t} is unsupported. Must be of type ${Array.from(s).join(",")}`)}function A(e,t){return null==e?e:"esriFieldTypeDateOnly"===t?function(e){return new Date(864e5*e).toISOString().slice(0,10)}(e):"esriFieldTypeTimeOnly"===t?function(e){let t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=e%60;return`${t.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`}(e):"esriFieldTypeString"===t||"esriFieldTypeTimestampOffset"===t?u.decode(e):e}function P(e,t){if(null!=e){let t=e.primary_column;return{type:"wkb",field:t,orientation:"counterclockwise"===e.columns[t].orientation?"counter-clockwise":null}}let r=function(e){let t=e.map(e=>e.toLowerCase());return{longitudeFieldName:e[t.indexOf(l.A0.find(e=>t.includes(e)))],latitudeFieldName:e[t.indexOf(l.bD.find(e=>t.includes(e)))]}}(t.filter(e=>c.has(e.type)).map(e=>e.name));return r.latitudeFieldName&&r.longitudeFieldName?{type:"location",xField:r.longitudeFieldName,yField:r.latitudeFieldName}:null}function z(e){switch(e.replace(/ (?:Z|M|ZM)$/u,"")){case"Point":return"esriGeometryPoint";case"Polygon":case"MultiPolygon":return"esriGeometryPolygon";case"LineString":case"MultiLineString":return"esriGeometryPolyline";case"MultiPoint":return"esriGeometryMultipoint";default:return null}}function T(e){let t=e.crs?.id?.code;return"number"==typeof t?{wkid:t}:"OGC"===e.crs?.id?.authority&&"CRS84"===t?{wkid:4326}:void 0}function L(e,t,r){if(!r)return null;let n=(e?e.columns[e.primary_column]:null)?.bbox;if(n?.every(e=>Number.isFinite(e)))switch(n.length){case 4:return{xmin:n[0],ymin:n[1],xmax:n[2],ymax:n[3],spatialReference:r};case 6:return{xmin:n[0],ymin:n[1],xmax:n[3],ymax:n[4],spatialReference:r};default:o().warn("parquet:protocol-violation","Invalid Geoparquet file. BoundingBox size must be 4 or 6.",{geoMetadata:e})}let i=t?.index.fullExtent;return i?{...i,spatialReference:r}:null}},9075(e,t,r){r.d(t,{A:()=>o});var n=r(32198),i=r(69540),l=r(25482),a=r(91429);let o=class extends((0,i.OU)(l.o)){constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,n.Cg)([(0,a.MZ)({type:["location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],o.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],o.prototype,"xField",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],o.prototype,"yField",void 0),o=(0,n.Cg)([(0,a.$K)("esri.layers.support.GeometryEncodingLocation")],o)},34582(e,t,r){r.d(t,{A:()=>o});var n=r(32198),i=r(69540),l=r(25482),a=r(91429);let o=class extends((0,i.OU)(l.o)){constructor(e){super(e),this.type="wkb",this.field=null}};(0,n.Cg)([(0,a.MZ)({type:["wkb"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],o.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({type:["counter-clockwise"],json:{write:!0}})],o.prototype,"orientation",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],o.prototype,"field",void 0),o=(0,n.Cg)([(0,a.$K)("esri.layers.support.GeometryEncodingWkb")],o)},56370(e,t,r){r.d(t,{A:()=>y});var n=r(32198),i=r(69540),l=r(7762),a=r(49186),o=r(25482),s=r(91429),u=r(64108),c=r(97159),d=r(43937);let y=class extends((0,o.T)(i.Pw)){constructor(e){super(e),this.type="files",this.urls=new l.A}writeUrls(e,t,r,n){let i=e.toArray().map(e=>(0,c.t)(e,n)).filter(e=>!!e);i.length?t.urls=i:n.messages?.push(new a.A("parquet-layer:missing-urls","Missing or empty 'urls'",{data:this}))}};(0,n.Cg)([(0,s.MZ)({type:["files"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],y.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A.ofType(String),json:{write:{isRequired:!0}}})],y.prototype,"urls",void 0),(0,n.Cg)([(0,d.K)("urls")],y.prototype,"writeUrls",null),y=(0,n.Cg)([(0,u.$K)("esri.layers.support.ParquetFilesData")],y)},54625(e,t,r){r.d(t,{i_:()=>i});var n=r(30524);function i(e,t,r){t=(0,n.rS)(t)?.toLowerCase(),r=(0,n.rS)(r)?.toLowerCase();let i=e.map(e=>e.toLowerCase()),o=t?e[i.indexOf(t)]:null,s=r?e[i.indexOf(r)]:null;return{longitudeFieldName:o||e[i.indexOf(a.find(e=>i.includes(e)))],latitudeFieldName:s||e[i.indexOf(l.find(e=>i.includes(e)))]}}const l=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],a=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"];r.d(t,["A0",0,a,"bD",0,l])},50639(e,t,r){r.d(t,{G:()=>l});var n=r(9075),i=r(34582);function l(e){switch(e.type){case"wkb":return i.A.fromJSON(e);case"location":return n.A.fromJSON(e)}}},42760(e,t,r){r.d(t,{Dt:()=>p,hG:()=>y,nc:()=>m,sA:()=>d}),r(7762);var n=r(49186),i=r(44208),l=r(66552),a=r(16930),o=(r(95031),r(20437)),s=r(30524),u=r(50639);r(56370);const c=new l.J({esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint"});function d(e){return c.toJSON(e)}function y(e){return c.fromJSON(e)}async function m(e,t){if(t.geometryType&&t.spatialReference&&t.geometryEncoding&&t.fields&&t.displayOptimization)return t;if(!e)throw new n.A("parquet:bad-input","No metadata found");let r={...t},l=e.fields.map(e=>o.A.fromJSON(e));if(null==r.fields)r.fields=l;else{let e=new Set(r.fields.map(e=>e.name));if(!(0,i.A)("parquetlayer-legacy-field-overrides-enabled"))for(let t of l)e.has(t.name)||r.fields.push(t)}if(null!=r.geometryEncoding){let e=r.geometryEncoding;switch(e.type){case"wkb":{let t=l.find(t=>t.name===e.field);if(!t)throw new n.A("parquet:unsupported",`Geometry encoding references field ${e.field} which does not exist`);if("blob"!==t.type)throw new n.A("parquet:unsupported",`Invalid field type for geometry encoding. Found ${t.type} but expected 'blob'`);break}case"location":for(let t of[e.xField,e.yField])if(null!=t){let e=l.find(e=>e.name===t);if(!e)throw new n.A("parquet:unsupported",`Geometry encoding references field ${t} which does not exist`);if(!(0,s.WA)(e))throw new n.A("parquet:unsupported",`Invalid field type for location geometry encoding. Found ${e.type} but expected a numeric`)}}}return r.geometryEncoding??=e.geometryEncoding?(0,u.G)(e.geometryEncoding):null,r.fields=function(e,t){let r=t.geoMetadata;if(null==r)return e;let n=new Set(Object.keys(r.columns));return e.filter(e=>!n.has(e.name))}(r.fields,e),!r.displayOptimization&&e.displayOptimization&&(r.displayOptimization=e.displayOptimization),!r.geometryType&&e.geometryType&&(r.geometryType=y(e.geometryType)),!r.spatialReference&&e.spatialReference&&(r.spatialReference=a.A.fromJSON(e.spatialReference)),r}async function p(e,t){switch(e.type){case"files":return{type:"urls",urls:e.urls.toArray()};case"portal-item":{let r=await e.portalItem.load(t);switch(r.type){case"Apache Parquet":return{type:"portal-parquet-file",itemUrl:r.itemUrl,itemCdnUrl:r.itemCdnUrl,modified:r.modified,size:r.size};case"Parquet layer":case"Parquet Layer":case"Parquet feature layer":case"Parquet Feature Layer":if(!r.url)throw new n.A("parquet:bad-item",`Item of type ${r.type} must have a url defined`,r);return{type:"portal-parquet-layer",itemUrl:r.itemUrl,itemCdnUrl:r.itemCdnUrl,itemMetadata:{modified:r.modified,url:r.url}};default:throw new n.A("parquet:bad-item",`Item of type ${r.type} is not supported`,r)}}}}r.d(t,["ye",0,c])},76248(e,t,r){r.d(t,{N:()=>l});var n=r(2741);let i=null;async function l(){return i||=async function(){let e=await r.e(1773).then(()=>r(61773));return await e.default({module_or_path:(0,n.s)("esri/libs/librust-parquet/pkg/parquet_bg.wasm")}),e}(),i}},93470(e,t,r){const n=[252,146,31,255],i={type:"esriSMS",style:"esriSMSCircle",size:6,color:n,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},l={type:"esriSLS",style:"esriSLSSolid",width:.75,color:n};r.d(t,["Cb",0,i,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,n,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,l])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[31],{70031(e,t,r){r.d(t,{OperatorIntersects:()=>n});var s=r(39117);class n extends s._{getOperatorType(){return 4}execute(e,t,r,n){return!(0,s.$)(e,t,r,4,n)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,1550,1666,1948,6671,7992,8125],{61691(e,t,r){r.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,r){r.d(t,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},69397(e,t,r){r.d(t,{Qf:()=>l,Qh:()=>a,lM:()=>i,ro:()=>h,rq:()=>u});var s=r(44208),n=r(34275);function i(e){if(!e)return 0;let t=f;for(let r in e)e.hasOwnProperty(r)&&(t+=o(e[r],!1));return t}function a(e){if(!e)return 0;if("number"==typeof e[0])return l(e);if(Array.isArray(e))return function(e){let t=e.length;if(0===t||"number"==typeof e[0])return u(e,8);let r=g;for(let s=0;s<t;s++)r+=o(e[s]);return r}(e);let t=f;for(let r in e)e.hasOwnProperty(r)&&(t+=o(e[r]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?a(e):f;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function l(...e){return e.reduce((e,t)=>e+h(t),0)}function h(e,t=16){return e?(0,n.iu)(e)?e.byteLength+c:Array.isArray(e)?u(e,t):0:0}function u(e,t){return g+e.length*t}const f=32,g=16,m=(0,s.A)("ios")||!(0,s.A)("chrome")&&!(0,s.A)("opr")?8:4,c=145;r.d(t,["JY",0,m])},87992(e,t,r){r.d(t,{JR:()=>Z,ME:()=>M,MY:()=>A,NO:()=>C,Nh:()=>P,V2:()=>_,_s:()=>Y,e6:()=>F,gh:()=>E,jm:()=>V,tr:()=>X,uX:()=>p});var s=r(32198),n=(r(69397),r(16930)),i=r(19419),a=r(60408),o=r(21325),l=r(513),h=r(50954),u=r(79567),f=r(52006),g=r(49663),m=r(46068),c=r(92722);class p{constructor({type:e,spatialReference:t,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:l,segmentFlags:h,segmentIndices:u,segmentParams:f,segmentCountArc:g,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=l,this.segmentFlags=h,this.segmentIndices=u,this.segmentParams=f,this.segmentCountArc=g,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){let{segmentCount:e,segmentCountArc:t,segmentCountBezier:r}=this;return e&&e-t-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function e(e){return e?64+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){let{type:e,vertexCount:t,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(e,t,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;let{vertexXY:l,vertexZ:h,vertexM:u}=this;if(o.vertexXY.set(l.subarray(0,2*t),0),o.vertexZ?.set(h.subarray(0,t),0),o.vertexM?.set(u.subarray(0,t),0),this.isMultipart()){let{partOffsets:e,partFlags:t}=this;o.partFlags.set(t.subarray(0,r+1)),o.partOffsets.set(e.subarray(0,r+1))}if(this.hasCurves()){let{segmentFlags:e,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(e.subarray(0,t),0),o.segmentIndices.set(r.subarray(0,t),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,o.aI)(this.spatialReference,e.spatialReference)||this.vertexCount!==e.vertexCount||this.partCount!==e.partCount||this.hasZ!==e.hasZ||this.hasM!==e.hasM||this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;let r=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,r)=>Math.abs(e-r)>t||isNaN(e)!==isNaN(r);for(let t=0;t<this.vertexCount;++t)if(r(this.vertexXY[2*t],e.vertexXY[2*t])||r(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(r(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return this.isMultipart()?new x(this):[][Symbol.iterator]()}}class x{constructor(e){this.geometry=e,this.value=new d(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(e){this.geometry=e,this.index=-1,this._readVertex=w(e),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){let e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class y{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this.value=new v(e.geometry)}get _partIsClosed(){return!!(1&this._part.geometry.partFlags?.[this._part.index])}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;let e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._partIsClosed?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){let{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._partIsClosed?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(e)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){let e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;let t=this.geometry.segmentParams,r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){let e=t[r++],s=t[r++],n=t[r++],i=t[r++];return{b:[this.end,[e,s],[n,i]]}}let s=t[r++],n=t[r++],i=t[r++],a=t[r++],o=t[r++],l=t[r++];r++,r++;let h=t[r++],u=t[r++];if(!(4&s)&&1===i)return{c:[this.end,[h,u]]};let f=2&s?0:1,g=1&s?0:1;return{a:[this.end,[o,l],f,g,a,n,i]}}}function C(e,t){let r={stack:[],error:void 0,hasError:!1};try{return t??=(0,i.Ie)(),(0,s.mS)(r,new O(e,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(t,function(e){let t,{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=e,l=R(e);if(e.hasCurves()){let r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new O(e,["vertexZ","vertexM"]),!1);let n=(0,i.Ie)();for(let t of e.parts){let e=t.startVertex;for(let{curve:r}of t.segments)(0,u.e)(n,e,r),e=(0,f.yP)(r)}let[a,o,h,g]=n;t={xmin:a,ymin:o,xmax:h,ymax:g,spatialReference:l}}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}else{let e,s,i,a;e=s=1/0,i=a=-1/0;for(let t=0;t<r;++t){let r=n[2*t],o=n[2*t+1];e=Math.min(e,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}t={xmin:e,ymin:s,xmax:i,ymax:a,spatialReference:l}}if(a){let e=1/0,r=-1/0;for(let t of a)e=Math.min(e,t),r=Math.max(r,t);t.zmin=e,t.zmax=r}if(o){let e=1/0,r=-1/0;for(let t of o)e=Math.min(e,t),r=Math.max(r,t);t.mmin=e,t.mmax=r}return t}(e)),t}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}function M(e){let t,r,s;if((0,a.fT)(e)){s="point";let{x:n,y:i,z:a,m:o}=e,l=[n,i];null!=a&&l.push(a),null!=o&&l.push(o),r=[[l]],t=1}else(0,a.U9)(e)?(s="multipoint",r=[e.points],t=e.points.length):(0,a.Rg)(e)?(s="polyline",r=e.curvePaths??e.paths,t=r.reduce((e,t)=>e+t.length,0)):(s="polygon",r=e.curveRings??e.rings,t=r.reduce((e,t)=>(0===t.length||(e+=t.length,S(t[0],(0,f.yP)(t.at(-1)))&&--e),e),0));let n=_(s,t,s.includes("point")?0:r.length,(0,a.Pv)(e),(0,a.W0)(e),(0,f.Ed)(e)),{hasZ:i,hasM:o,vertexXY:l,vertexZ:h,vertexM:u}=n;function g(e){l[2*c]=e[0],l[2*c+1]=e[1],i&&(h[c]=e[2]),o&&(u[c]=e[m]),++c}n.spatialReference=e.spatialReference??void 0;let m=n.hasZ?3:2,c=0;if(!n.isMultipart()){if(!i&&!o){for(let[e,t]of r[0])l[2*c]=e,l[2*c+1]=t,++c;return n}for(let e of r[0])g(e);return n}let p="polygon"===s,{partOffsets:x}=n,d=0;if(!(0,f.Ed)(e)){for(let e of r){if(x[d++]=c,0===e.length)continue;let t=e.length;if(p&&S(e[0],e.at(-1))&&--t,i||o)for(let r=0;r<t;++r)g(e[r]);else for(let r=0;r<t;++r){let[t,s]=e[r];l[2*c]=t,l[2*c+1]=s,++c}}return x[d]=c,n}function y(e){let t=v+e;if(t<=(n.segmentParams?.length??0))return;let r=t*G;r=20*Math.ceil(r/20);let s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(let e of r){if(n.partOffsets[d++]=c,0===e.length)continue;let t=e[0],r=t;for(let t=1;t<e.length;++t){let s=e[t];g(r);let i=c-1;(0,f.wY)(s)?(y(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(y(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(y(10),++n.segmentCountArc,v=F(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(y(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&S(t,r)||g(r)}return n.partOffsets[d]=c,n}function E(e){let t=w(e),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=e,a=R(e),o=0;if(!e.isMultipart()){if("point"===e.type){let[t,r]=e.vertexXY;return{x:t,y:r,z:e.vertexZ?.[0],m:e.vertexM?.[0],spatialReference:a}}let s=[];for(;o<r;)s.push(t(o++));return{points:s,spatialReference:a,hasZ:n,hasM:i}}if(!e.hasCurves()){let r=[];for(let n=0;n<s;++n){let s=!!(1&e.partFlags[n]),i=e.partOffsets[n+1],a=[];for(;o<i;)a.push(t(o++));s&&a.length>0&&a.push([...a[0]]),r.push(a)}return"polygon"===e.type?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}let l=[];for(let{segments:t,startVertex:r}of e.parts){let e=[r];for(let{curve:r}of t)e.push(r);l.push(e)}return"polygon"===e.type?{rings:[],curveRings:l,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:l,hasZ:n,hasM:i,spatialReference:a}}function P(e,{lengths:t,coords:r,hasZ:s,hasM:n},i){let a=e.includes("point")?0:t.length,o="polygon"===e,l="point"===e?1:t.reduce((e,t)=>e+t,0)-(o?a:0);s??=!1,n??=!1;let h=_(e,l,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let e=0,t=0;e<l;++e)h.vertexXY[2*e]=r[t++],h.vertexXY[2*e+1]=r[t++],s&&(h.vertexZ[e]=r[t++]),n&&(h.vertexM[e]=r[t++]);return h}let u=2+Number(s)+Number(n),f=0,g=0;h.partOffsets[0]=0;for(let e of t){let t=h.partOffsets[g],i=t+e-Number(o);h.partOffsets[++g]=i;for(let e=t;e<i;++e)h.vertexXY[2*e]=r[f++],h.vertexXY[2*e+1]=r[f++],s&&(h.vertexZ[e]=r[f++]),n&&(h.vertexM[e]=r[f++]);o&&(f+=u)}return h}function Z({type:e,vertexCount:t,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,partFlags:o,hasZ:l,hasM:h}){let u=new c.A([],[],l,h);i=Math.max(i,1);let f=0;for(let e=0;e<i;++e){let i=a?.[e+1]??t,g=u.coords.length;for(let e=f;e<i;++e)u.coords.push(r[2*e],r[2*e+1]),l&&u.coords.push(s[e]),h&&u.coords.push(n[e]);if(o&&1&o[e]){let e=f;u.coords.push(r[2*e],r[2*e+1]),l&&u.coords.push(s[e]),h&&u.coords.push(n[e])}u.lengths.push((u.coords.length-g)/u.stride),f=i}return"point"===e&&(u.lengths.length=0),u}function V(...e){let t=new Set;for(let r of e){if(!r)continue;let e=[r.vertexXY,r.vertexZ,r.vertexM,r.partOffsets,r.partFlags,r.segmentFlags,r.segmentIndices,r.segmentParams];for(let r of e){let e=r?.buffer;e&&t.add(e)}}return Array.from(t)}function A(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;let t=e.getText()||void 0,r=e.isCustomWkid()?0:e.getOldID();if(r<=0)return{wkt:t};let s=e.getLatestID();(s<=0||s===r)&&(s=void 0);let n=e.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:t};let i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:t};let a=e.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:t,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(e.getSpatialReference()),e=e.getGeometry()),new p({...e.toFlatGeometry(),spatialReference:t})}class O{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(let r of t)e[r]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function R({spatialReference:e}){return e instanceof n.A?e.toJSON():e}function w({vertexXY:e,vertexZ:t,vertexM:r}){return t?r?s=>[e[2*s],e[2*s+1],t[s],r[s]]:r=>[e[2*r],e[2*r+1],t[r]]:r?t=>[e[2*t],e[2*t+1],r[t]]:t=>[e[2*t],e[2*t+1]]}function S(e,t){return e.every((e,r)=>e===t[r])}function _(e,t,r,s,n,i,a,o){a??=0,o??=0;let l=new p({type:e,vertexCount:t,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o}),h=2*Float64Array.BYTES_PER_ELEMENT*t;s&&(h+=Float64Array.BYTES_PER_ELEMENT*t),n&&(h+=Float64Array.BYTES_PER_ELEMENT*t),l.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=t*Int8Array.BYTES_PER_ELEMENT,h+=t*Int32Array.BYTES_PER_ELEMENT,h+=l.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);let u=new ArrayBuffer(h),f=0;return l.vertexXY=new Float64Array(u,f,2*t),f+=l.vertexXY.byteLength,s&&(l.vertexZ=new Float64Array(u,f,t),f+=l.vertexZ.byteLength),n&&(l.vertexM=new Float64Array(u,f,t),f+=l.vertexM.byteLength),i&&(l.segmentParams=new Float64Array(u,f,l.segmentParamCount),f+=l.segmentParams.byteLength,l.segmentIndices=new Int32Array(u,f,t),l.segmentIndices.fill(z),f+=l.segmentIndices.byteLength),l.isMultipart()&&(l.partOffsets=new Int32Array(u,f,r+1),f+=l.partOffsets.byteLength,l.partFlags=new Int8Array(u,f,r+1),f+=l.partFlags.byteLength,"polygon"===l.type&&l.partFlags.subarray(0,r).fill(1)),i&&(l.segmentFlags=new Int8Array(u,f,t),l.segmentFlags.fill(1),f+=l.segmentFlags.byteLength),l}function Y(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;let[o,[l,h],u,f,g,c,p]=t.a,x=4;f||(x|=1),u||(x|=2);let d=(0,m.SW)(e,t),[y,v]=(0,m.Uk)(d,.5);return n[a++]=x,n[a++]=c,n[a++]=p,n[a++]=g,n[a++]=l,n[a++]=h,n[a++]=d.u2-d.u1,n[a++]=d.u1,n[a++]=y,n[a++]=v,a}function I(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;let o=(0,g.io)(e,t);return b(o,4,...(0,l.mq)(o,.5),n,a)}function F(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,b((0,h.pM)(e,t),0,...t.c[1],n,a)}function b(e,t,r,s,n,i){let{cx:a,cy:o,thetaStart:l,thetaEnd:h,radius:u}=e;return l>h||(t|=1),Math.abs(h-l)<=Math.PI||(t|=2),n[i++]=t,n[i++]=u,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-l,n[i++]=l,n[i++]=r,n[i++]=s,i}function X(e,{b:[t,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:l},h,u){return a[h]=2,o[h]=u,l[u++]=r,l[u++]=s,l[u++]=n,l[u++]=i,u}const G=1.61803,z=-1},30912(e,t,r){r.d(t,{containsExecute:()=>i});var s=r(5764),n=r(78125);function i(e,t){let r=(0,n.getSpatialReference)(e);return(0,s.g7)((0,n.fromGeometry)(e),(0,n.fromGeometry)(t),(0,n.fromSpatialReference)(r))}r(85036),(0,s.fz)()},5764(e,t,r){r.d(t,{fz:()=>i,g7:()=>n});const s=new(r(39117).x);function n(e,t,r){return s.execute(e,t,r,null)}function i(){return s.supportsCurves()}},78125(e,t,r){r.r(t),r.d(t,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>d,fromPoint:()=>y,fromPolygon:()=>v,fromPolyline:()=>C,fromPolylineUsingImportOperator:()=>M,fromSpatialReference:()=>E,getSpatialReference:()=>c,toExtent:()=>Z,toGeometry:()=>P,toMultipoint:()=>V,toPoint:()=>A,toPolygon:()=>O,toPolyline:()=>R});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),l=r(48526),h=r(86738),u=r(39829),f=r(82799),g=(r(90293),r(83299));const m="_gxVersion";function c(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function p(e){switch(e.type){case"point":return y(e);case"multipoint":return d(e);case"polyline":return C(e);case"polygon":return v(e);case"extent":return x(e);default:throw Error(`Unsupported geometry type: ${e.type}`)}}function x(e){if(!e.getCacheValue(m)){let t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function d(e){if(!e.getCacheValue(m)){let t=new a.M,r=new i.P,s=e.points,n=e.hasM,o=e.hasZ,l=o?3:2;for(let e=0,i=s.length;e<i;e++){let i=s[e];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[l]??NaN),t.add(r)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function y(e){if(!e.getCacheValue(m)){let t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function v(e){if(!e.getCacheValue(m)){let{curveRings:t,hasM:r,hasZ:s,rings:n}=e,i=(0,g.fromGeometryToGXGeometry)({curveRings:t,hasM:r,hasZ:s,rings:n});e.setCacheValue(m,i)}return e.getCacheValue(m)}function C(e){if(!e.getCacheValue(m)){let{curvePaths:t,hasM:r,hasZ:s,paths:n}=e,i=(0,g.fromGeometryToGXGeometry)({curvePaths:t,hasM:r,hasZ:s,paths:n});e.setCacheValue(m,i)}return e.getCacheValue(m)}function M(e){if(!e.getCacheValue(m)){let{curvePaths:t,hasM:r,hasZ:s,paths:n}=e,i=(0,g.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:r,hasZ:s,paths:n});e.setCacheValue(m,i)}return e.getCacheValue(m)}function E(e){return e.cache?(e.cache[m]??=(0,g.fromSpatialReference)(e),e.cache[m]):(0,g.fromSpatialReference)(e)}function P(e,t){if(e)switch(e.getGeometryType()){case n.G.enumPoint:return A(e,t);case n.G.enumEnvelope:return Z(e,t);case n.G.enumMultiPoint:return V(e,t);case n.G.enumPolyline:return R(e,t);case n.G.enumPolygon:return O(e,t)}return null}function Z(e,t){if(e.isEmpty())return null;let r=new o.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),s=e.getDescription();if(s.hasM()){let t=e.queryInterval(2,0);r.mmin=t.vmin,r.mmax=t.vmax}if(s.hasZ()){let t=e.queryInterval(1,0);r.zmin=t.vmin,r.zmax=t.vmax}return r.setCacheValue(m,e),r}function V(e,t){if(e.isEmpty())return null;let r=e.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let t=0,r=e.getPointCount();t<r;t++){e.getPointByVal(t,o);let r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}let h=new l.A({hasM:s,hasZ:n,points:a,spatialReference:t});return h.setCacheValue(m,e),h}function A(e,t){if(e instanceof s.P)return new h.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;let r=new h.A({x:e.getX(),y:e.getY(),spatialReference:t}),n=e.getDescription();return n.hasM()&&(r.m=e.getM()),n.hasZ()&&(r.z=e.getZ()),r.setCacheValue(m,e),r}function O(e,t){if(e.isEmpty())return null;let r=u.A.fromJSON({...(0,g.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(m,e),r}function R(e,t){if(e.isEmpty())return null;let r=f.A.fromJSON({...(0,g.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(m,e),r}},85036(e,t,r){r.d(t,{Q:()=>i});var s=r(51447),n=r(53966);function i(e,t,r){(0,s.io)(n.A.getLogger(`esri.geometry.operators.${e}`),`${t} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${r} instead.`,{replacement:r,warnOnce:!0})}},92722(e,t,r){r.d(t,{A:()=>n});var s=r(69397);class n{constructor(e=[],t=[],r=!1,s=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:e,coords:t,hasZ:r,hasM:s}){return new n(e,t,r||!1,s||!1)}static fromRect([e,t,r,s]){let i=r-e,a=s-t;return new n([5],[e,t,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return+!!this.hasZ+2+ +!!this.hasM}area(){if(this.isPoint)return 0;let e=0,t=0;for(let r of this.lengths){if(r<3)continue;let{stride:s}=this,n=this.coords[s*t],i=this.coords[s*t+1];for(let a=1;a<r;a+=1){let r=s*(t+a),o=this.coords[r],l=this.coords[r+1];e+=-.5*(o-n)*(l+i),n=o,i=l}t+=r}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);let{stride:r}=this;for(let s of this.lengths){for(let n=0;n<s;n++){let s=r*(t+n);e(this.coords[s],this.coords[s+1])}t+=s}}deltaDecode(){let e=this.clone(),{coords:t,lengths:r}=e,s=0,{stride:n}=this;for(let e of r){for(let r=1;r<e;r++){let e=n*(s+r);t[e]+=t[e-n],t[e+1]+=t[e+1-n]}s+=e}return e}clone(e){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);let t=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return e?(e.set(i),new n(t,e,this.hasZ,this.hasM)):new n(t,Array.from(i),this.hasZ,this.hasM)}justXY(){let{stride:e,size:t}=this;if(2===e)return this;let r=Array(t*e);for(let t=0,s=0;t<r.length;t+=e)r[s++]=this.coords[t],r[s++]=this.coords[t+1];return new n(this.lengths,r,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4314],{32198(t,e,i){function s(t,e,i,s){var r,n=arguments.length,l=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(l=(n<3?r(l):n>3?r(e,i,l):r(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l}function r(t,e,i){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var s,r;if(i){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=e[Symbol.asyncDispose]}if(void 0===s){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=e[Symbol.dispose],i&&(r=s)}if("function"!=typeof s)throw new TypeError("Object not disposable.");r&&(s=function(){try{r.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:s,async:i})}else i&&t.stack.push({async:!0});return e}i.d(e,{Cg:()=>s,hk:()=>l,mS:()=>r}),Object.create,Object.create;var n="function"==typeof SuppressedError?SuppressedError:function(t,e,i){var s=new Error(i);return s.name="SuppressedError",s.error=t,s.suppressed=e,s};function l(t){function e(e){t.error=t.hasError?new n(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var i,s=0;return function r(){for(;i=t.stack.pop();)try{if(!i.async&&1===s)return s=0,t.stack.push(i),Promise.resolve().then(r);if(i.dispose){var n=i.dispose.call(i.value);if(i.async)return s|=2,Promise.resolve(n).then(r,function(t){return e(t),r()})}else s|=1}catch(t){e(t)}if(1===s)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},91869(t,e,i){function s(t,e){for(let i of t.values())if(e(i))return!0;return!1}function r(t,e,i){let s=t.get(e);if(void 0!==s)return s;let r=i();return t.set(e,r),r}function n(t){let e=new Map;return i=>(e.has(i)||e.set(i,t(i)),e.get(i))}i.d(e,{Bj:()=>n,Bs:()=>s,tE:()=>r})},34727(t,e,i){i.d(e,{$8:()=>M,Cc:()=>l,Hx:()=>d,Io:()=>x,KJ:()=>u,OS:()=>B,Sp:()=>c,XM:()=>h,YN:()=>f,ZH:()=>g,b6:()=>k,cU:()=>r,gg:()=>p,hs:()=>a,kU:()=>o,or:()=>C,pF:()=>T,qE:()=>n});const s=new Float32Array(1);function r(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function n(t,e,i){return Math.min(Math.max(t,e),i)}function l(t,e,i){return t+(e-t)*i}function a(t,e,i,s,r){return l(s,r,(t-e)/(i-e))}function o(t){return t*Math.PI/180}function u(t){return 180*t/Math.PI}function h(t){return Math.acos(n(t,-1,1))}function f(t){return Math.asin(n(t,-1,1))}function c(t,e,i=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=i}function p(t,e,i=1e-6){return!c(t,e,i)&&t>e}function g(t,e,i=1e-6){return!c(t,e,i)&&t<e}function d(t,e,i=1e-6){return c(t,e,i)||t>e}const m=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function y(t){return m.setFloat64(0,t),m.getBigInt64(0)}const b=1000000n,A=w(1);function w(t){let e=y(t=Math.abs(t)),i=function(t){return m.setBigInt64(0,t),m.getFloat64(0)}(e<=b?b:e-b);return Math.abs(t-i)}function x(t,e,i=A){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=i&&w(Math.min(Math.abs(t),Math.abs(e)))<i)return Math.abs(t-e)<=i;let s=y(t),r=y(e);return!(s<0!=r<0||(s<r?r-s:s-r)>b)}function k(t,e,i=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;let s=Math.abs(t-e),r=Math.abs(t),n=Math.abs(e);if(0===t||0===e||r<1e-12&&n<1e-12){if(s>.01*i)return!1}else if(s/(r+n)>i)return!1;return!0}function M(t){return v(Math.max(-F,Math.min(t,F)))}function v(t){return s[0]=t,s[0]}function C(t){let e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],i=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],s=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(c(e,1)&&c(i,1)&&c(s,1))}function B(t,e){return(t%e+e)%e}const F=v(34028234663852886e22);function T(t,e,i){if(void 0===i||0==+i)return Math[t](e);if(e=+e,i=+i,isNaN(e)||"number"!=typeof i||i%1!=0)return NaN;let s=e.toString().split("e");return s=(e=Math[t](+(s[0]+"e"+(s[1]?+s[1]-i:-i)))).toString().split("e"),+(s[0]+"e"+(s[1]?+s[1]+i:i))}i.d(e,["pq",0,F])},94778(t,e,i){i.d(e,{$p:()=>h,Qd:()=>l,Sp:()=>f,X1:()=>a,hP:()=>r,yM:()=>u,zw:()=>o});const s={u1:[0,1],u2:[0,3],u4:[0,15],u8:[0,255],s8:[-128,127],u16:[0,65535],s16:[-32768,32767],u32:[0,4294967295],s32:[-2147483648,2147483647],f16:[-65504,65504],f32:[-34028234663852886e22,34028234663852886e22],f64:[-Number.MAX_VALUE,Number.MAX_VALUE],unknown:void 0,c64:void 0,c128:void 0};function r(t){return s[t]??[-34028234663852886e22,34028234663852886e22]}const n={u1:1,u2:1,u4:1,u8:1,s8:1,u16:2,s16:2,u32:4,s32:4,f32:4,f64:8,unknown:4,c64:16,c128:32};function l(t){return n[t]}function a(t,e){return null==t||null==e?"s32":t<0?t>=-128&&e<128?"s8":t>=-32768&&e<32768?"s16":"s32":e<256?"u8":e<65536?"u16":"u32"}function o(t){return(t?.startsWith("s")||t?.startsWith("u"))??!1}function u(t,e,i,s){let[n,l]=r(i),a=o(i);return a&&(n-=1e-5,l+=1e-5),a?i.startsWith("u")?function(t,e,i,s){let[r,n]=s;for(let s=0;s<e.length;s++)if(e[s]){let l=t[s];l<r||l>n?e[s]=0:i[s]=l+.5|0}}(t,e,s,[n,l]):function(t,e,i,s){let[r,n]=s;for(let s=0;s<e.length;s++)if(e[s]){let l=t[s];l<r||l>n?e[s]=0:i[s]=l+(l>0?.5:-.5)|0}}(t,e,s,[n,l]):function(t,e,i,s){let[r,n]=s;for(let s=0;s<e.length;s++)if(e[s]){let l=t[s];l<r||l>n?e[s]=0:i[s]=l}}(t,e,s,[n,l])}function h(t,e){for(let i=0;i<e.length;i++)e[i]&&isNaN(t[i])&&(e[i]=0,t[i]=0)}function f(t,e,i){if(t.depthCount&&t.depthCount>1)return;let{pixels:s,statistics:n,pixelType:l}=t,a=s[0].length,o=t.bandMasks??[],u=t.mask??new Uint8Array(a).fill(255),h="f32"===l||"f64"===l,f=r(l),c=!1;for(let t=0;t<s.length;t++){let r="number"==typeof e?e:e[t];if(null==r)continue;let a=n?.[t]?.minValue??f[0],p=n?.[t]?.maxValue??f[1];if(a>r+2**-52||p<r-2**-52)continue;let g=o[t]||u.slice(),d=s[t],m=i?.customFloatTolerance;if(h&&0!==m){let t=m;t||=Math.abs(r)>=9999999e31?2e-7*Math.abs(r):"f32"===l?2**-23:2**-52;for(let e=0;e<d.length;e++)g[e]&&Math.abs(d[e]-r)<t&&(d[e]=0,g[e]=0,u[e]=0,c=!0)}else for(let t=0;t<d.length;t++)g[t]&&d[t]===r&&(d[t]=0,g[t]=0,u[t]=0,c=!0);o[t]=g}if(c){let e=t.bandMasks||t.pixels.length>1?o:null;i?.matchAllNoData?t.mask=e&&e.length>1?function(t){if(t.length<2)return t[0];let e=t[0].length,i=new Uint8Array(e).fill(0);for(let s=0;s<t.length;s++){let r=t[s];for(let t=0;t<e;t++)r[t]&&(i[t]=255)}return i}(e):u:(t.bandMasks=e,t.mask=u)}c&&"updateStatistics"in t&&t.updateStatistics()}},14140(t,e,i){i.d(e,{A:()=>c});var s,r=i(32198),n=i(49186),l=i(25482),a=i(4718),o=i(53966),u=i(91429),h=i(94778),f=i(4151);let c=class extends l.o{static{s=this}static createEmptyBand(t,e){return new(s.getPixelArrayConstructor(t))(e)}static combineBandMasks(t){if(t.length<2)return t[0];let e=t[0].length,i=new Uint8Array(e).fill(255);for(let s=0;s<t.length;s++){let r=t[s];for(let t=0;t<e;t++)r[t]||(i[t]=0)}return i}static getPixelArrayConstructor(t){let e;switch(t){case"u1":case"u2":case"u4":case"u8":e=Uint8Array;break;case"u16":e=Uint16Array;break;case"u32":e=Uint32Array;break;case"s8":e=Int8Array;break;case"s16":e=Int16Array;break;case"s32":e=Int32Array;break;case"f32":case"c64":case"c128":case"unknown":e=Float32Array;break;case"f64":e=Float64Array}return e}constructor(t){super(t),this.width=null,this.height=null,this.pixelType="f32",this.validPixelCount=null,this.mask=null,this.maskIsAlpha=!1,this.premultiplyAlpha=!1,this.statistics=null,this.depthCount=1}castPixelType(t){if(!t)return"f32";let e=t.toLowerCase();return["u1","u2","u4"].includes(e)?e="u8":["unknown","u8","s8","u16","s16","u32","s32","f32","f64"].includes(e)||(e="f32"),e}getPlaneCount(){return this.pixels?.length}addData(t){if(!t.pixels||t.pixels.length!==this.width*this.height)throw new n.A("pixelblock:invalid-or-missing-pixels","add data requires valid pixels array that has same length defined by pixel block width * height");this.pixels||=[],this.statistics||=[],this.pixels.push(t.pixels),this.statistics.push(t.statistics??new f.A)}getAsRGBA(){let t=new ArrayBuffer(this.width*this.height*4);switch(this.pixelType){case"s8":case"s16":case"u16":case"s32":case"u32":case"f32":case"f64":this._fillFromNon8Bit(t);break;default:this._fillFrom8Bit(t)}return new Uint8ClampedArray(t)}getAsRGBAFloat(){let t=new Float32Array(this.width*this.height*4);return this._fillFrom32Bit(t),t}updateStatistics(){if(!this.pixels)return;this.statistics=this.pixels.map(t=>function(t,e){let i,s=1/0,r=-1/0,n=t.length,l=0;if(null!=e)for(i=0;i<n;i++)e[i]&&(l=t[i],s=l<s?l:s,r=l>r?l:r);else for(i=0;i<n;i++)l=t[i],s=l<s?l:s,r=l>r?l:r;return new f.A(s,r)}(t,this.mask));let t=this.mask,e=0;if(null!=t)for(let i=0;i<t.length;i++)t[i]&&e++;else e=this.width*this.height;this.validPixelCount=e}clamp(t){if(!t||"f64"===t||"f32"===t||!this.pixels)return;let e,i,r,[n,l]=(0,h.hP)(t),a=this.pixels,o=this.width*this.height,u=a.length,f=[];for(let h=0;h<u;h++){r=s.createEmptyBand(t,o),e=a[h];for(let t=0;t<o;t++)i=e[t],r[t]=i>l?l:i<n?n:i;f.push(r)}this.pixels=f,this.pixelType=t}extractBands(t){let{pixels:e,statistics:i}=this;if(null==t||0===t.length||!e||0===e.length)return this;let r=e.length,n=t.some(t=>t>=e.length),l=r===t.length&&!t.some((t,e)=>t!==e);if(n||l)return this;let a=this.bandMasks?.length===r?t.map(t=>this.bandMasks[t]):void 0,{mask:o,validPixelCount:u}=this,{width:h,height:f}=this;return a?.length&&(o=s.combineBandMasks(a),u=o.filter(t=>!!t).length),new s({pixelType:this.pixelType,width:h,height:f,mask:o,bandMasks:a,validPixelCount:u,maskIsAlpha:this.maskIsAlpha,pixels:t.map(t=>e[t]),statistics:i&&t.map(t=>i[t])})}clone(){let t=new s({width:this.width,height:this.height,pixelType:this.pixelType,maskIsAlpha:this.maskIsAlpha,validPixelCount:this.validPixelCount,premultiplyAlpha:this.premultiplyAlpha,depthCount:this.depthCount});null!=this.mask&&(t.mask=new Uint8Array(this.mask)),this.noDataValues&&(t.noDataValues=[...this.noDataValues]),this.bandMasks&&(t.bandMasks=this.bandMasks.map(t=>new Uint8Array(t)));let e,i=s.getPixelArrayConstructor(this.pixelType);if(this.pixels&&this.pixels.length>0){t.pixels=[];let s=!!this.pixels[0].slice;for(e=0;e<this.pixels.length;e++)t.pixels[e]=s?this.pixels[e].slice():new i(this.pixels[e])}if(this.statistics)for(t.statistics=[],e=0;e<this.statistics.length;e++)t.statistics[e]=(0,a.o8)(this.statistics[e]);return t}getTransferableObject(){let{pixels:t,bandMasks:e,mask:i}=this;this.pixels=[],this.bandMasks=void 0,this.mask=void 0;let s=this.toJSON();this.pixels=t,this.bandMasks=e,this.mask=i,s.pixels=t&&[...t],s.bandMasks=e&&[...e],s.mask=i;let r=[];return[...t??[],i,...e??[]].filter(t=>null!=t&&ArrayBuffer.isView(t)).forEach(t=>{t&&!r.includes(t.buffer)&&r.push(t.buffer)}),{pixelBlock:s,transferList:r}}_fillFrom8Bit(t){let e,i,s,r,{mask:n,maskIsAlpha:l,premultiplyAlpha:a,pixels:u}=this;if(!t||!u?.length)return void o.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The input pixel block is empty.");e=i=s=u[0],u.length>=3?(i=u[1],s=u[2]):2===u.length&&(i=u[1]);let h=new Uint32Array(t),f=this.width*this.height;if(e.length!==f)o.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The pixelblock is invalid.");else if(null!=n&&n.length===f)if(l)for(r=0;r<f;r++){let t=n[r];if(t){let n=t/255;h[r]=a?t<<24|s[r]*n<<16|i[r]*n<<8|e[r]*n:t<<24|s[r]<<16|i[r]<<8|e[r]}}else for(r=0;r<f;r++)n[r]&&(h[r]=255<<24|s[r]<<16|i[r]<<8|e[r]);else for(r=0;r<f;r++)h[r]=255<<24|s[r]<<16|i[r]<<8|e[r]}_fillFromNon8Bit(t){let{pixels:e,mask:i,statistics:s}=this;if(!t||!e?.length)return void o.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The input pixel block is empty.");let r=this.pixelType,n=1,l=0,a=1;if(s&&s.length>0){for(let t of s)if(null!=t.minValue&&(l=Math.min(l,t.minValue)),null!=t.maxValue&&null!=t.minValue){let e=t.maxValue-t.minValue;a=Math.max(a,e)}n=255/a}else{let t=255;"s8"===r?(l=-128,t=127):"u16"===r?t=65535:"s16"===r?(l=-32768,t=32767):"u32"===r?t=4294967295:"s32"===r?(l=-2147483648,t=2147483647):"f32"===r?(l=-34e38,t=34e38):"f64"===r&&(l=-Number.MAX_VALUE,t=Number.MAX_VALUE),n=255/(t-l)}let u,h,f,c,p,g=new Uint32Array(t),d=this.width*this.height;if(u=h=f=e[0],u.length!==d)return o.A.getLogger(this).error("getAsRGBA()","Unable to convert to RGBA. The pixelblock is invalid.");if(e.length>=2)if(h=e[1],e.length>=3&&(f=e[2]),null!=i&&i.length===d)for(c=0;c<d;c++)i[c]&&(g[c]=255<<24|(f[c]-l)*n<<16|(h[c]-l)*n<<8|(u[c]-l)*n);else for(c=0;c<d;c++)g[c]=255<<24|(f[c]-l)*n<<16|(h[c]-l)*n<<8|(u[c]-l)*n;else if(null!=i&&i.length===d)for(c=0;c<d;c++)p=(u[c]-l)*n,i[c]&&(g[c]=255<<24|p<<16|p<<8|p);else for(c=0;c<d;c++)p=(u[c]-l)*n,g[c]=255<<24|p<<16|p<<8|p}_fillFrom32Bit(t){let e,i,s,r,{pixels:n,mask:l}=this;if(!t||!n?.length)return o.A.getLogger(this).error("getAsRGBAFloat()","Unable to convert to RGBA. The input pixel block is empty.");e=i=s=n[0],n.length>=3?(i=n[1],s=n[2]):2===n.length&&(i=n[1]);let a=this.width*this.height;if(e.length!==a)return o.A.getLogger(this).error("getAsRGBAFloat()","Unable to convert to RGBA. The pixelblock is invalid.");let u=0;if(null!=l&&l.length===a)for(r=0;r<a;r++)t[u++]=e[r],t[u++]=i[r],t[u++]=s[r],t[u++]=1&l[r];else for(r=0;r<a;r++)t[u++]=e[r],t[u++]=i[r],t[u++]=s[r],t[u++]=1}};(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"width",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"height",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"pixelType",void 0),(0,r.Cg)([(0,u.wg)("pixelType")],c.prototype,"castPixelType",null),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"validPixelCount",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"mask",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"maskIsAlpha",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"pixels",void 0),(0,r.Cg)([(0,u.MZ)()],c.prototype,"premultiplyAlpha",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"statistics",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"depthCount",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"noDataValues",void 0),(0,r.Cg)([(0,u.MZ)({json:{write:!0}})],c.prototype,"bandMasks",void 0),c=s=(0,r.Cg)([(0,u.$K)("esri.layers.support.PixelBlock")],c)},4151(t,e,i){i.d(e,{A:()=>s});class s{constructor(t=null,e=null,i=null){this.minValue=t,this.maxValue=e,this.noDataValue=i}}},96982(t,e,i){i.r(e),i.d(e,{convertPixelBlockToImageData:()=>l,getFacesWithVertexAttributes:()=>n,recomputePositions:()=>a});var s=i(34727),r=i(14140);function n({distance:t,yaw:e,horizontalFieldOfView:i,pitch:r,verticalFieldOfView:n,origin:l=[0,0,0],positionLength:a=25}){let o=a-1,u=a*a,h=new Float32Array(2*u),f=new Float64Array(3*u),c=new Float32Array(3*u).fill(0),p=new Uint32Array(o**2*6);for(let g=0,d=0;g<u;g++){let u=Math.floor(g/a),m=g%a,y=1-m/o,b=u/o,A=2*g,w=3*g;h[A]=y,h[A+1]=b;let x=e-i/2+y*i,k=r+n/2-b*n,M=(0,s.kU)(x),v=(0,s.kU)(k),C=Math.sin(v),B=Math.cos(v),F=[C*Math.sin(M),Math.cos(M)*C,-B];f[w]=l[0]+t*F[0],f[w+1]=l[1]+t*F[1],f[w+2]=l[2]+t*F[2],c[w]=-F[0],c[w+1]=-F[1],c[w+2]=-F[2],u!==o&&m!==o&&(p[d++]=g,p[d++]=g+a,p[d++]=g+a+1,p[d++]=g,p[d++]=g+a+1,p[d++]=g+1)}return{result:{position:f,uv:h,normal:c,faces:p},transferList:[f.buffer,h.buffer,c.buffer,p?.buffer]}}function l(t){let e=r.A.fromJSON(t);e.premultiplyAlpha=!0;let i=e.getAsRGBA(),s=e.width,n=e.height,l=new ImageData(i,s,n);return{result:l,transferList:[l.data.buffer]}}function a({oldDistance:t,newDistance:e,position:i,origin:s=[0,0,0]}){let r=i.length/3;for(let n=0;n<r;n+=3){let r=3*n;i[r]=s[0]+(i[r]-s[0])*(e/t),i[r+1]=s[1]+(i[r+1]-s[1])*(e/t),i[r+2]=s[2]+(i[r+2]-s[2])*(e/t)}return{result:i,transferList:[i.buffer]}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[944,6553],{76553(e,t,r){function i(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>i})},36003(e,t,r){function i(e,t){let r=e.startField===t.startField||!e.startField&&!t.startField,i=e.endField===t.endField||!e.endField&&!t.endField;return r&&i}r.d(t,{L:()=>i})},96520(e,t,r){r.d(t,{u:()=>a});var i=r(86211),l=r(21325),n=r(52006);function o(e,t,r){if(null==e.hasM||e.hasZ)for(let e of t)for(let t of e)t.length>2&&(t[2]*=r)}function s(e,t,r){if(null==e.hasM||e.hasZ)for(let e of t)for(let t of e){let e=(0,n.yP)(t);e.length>2&&(e[2]*=r)}}function a(e,t,r){if(!e&&!t||!r)return;let l=(0,i.G9)(r);f(e,r,l),f(t,r,l)}function f(e,t,r){if(e)for(let i of e)u(i.geometry,t,r)}function u(e,t,r){if(!e?.spatialReference||(0,l.aI)(e.spatialReference,t))return;let n=(0,i.G9)(e.spatialReference)/r;if(1!==n)if("x"in e)null!=e.z&&(e.z*=n);else if("curveRings"in e)s(e,e.curveRings,n);else if("curvePaths"in e)s(e,e.curvePaths,n);else if("rings"in e)o(e,e.rings,n);else if("paths"in e)o(e,e.paths,n);else if("points"in e&&(null==e.hasM||e.hasZ))for(let t of e.points)t.length>2&&(t[2]*=n)}},22671(e,t,r){r.d(t,{A:()=>R});var i,l=r(32198),n=r(52106),o=r(66552),s=r(25482),a=r(4718),f=r(91429),u=r(16930),p=r(60408),y=r(65864),m=r(50498),h=r(20437),g=r(36005),d=r(43937);const c=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let R=i=class extends s.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,n.A)}writeGeometryType(e,t,r,i){if(e)return void c.write(e,t,r,i);let{features:l}=this;if(l)for(let e of l)if(null!=e?.geometry)return void c.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,i=(0,y.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let i=t.features[r];i.geometry&&=(e?.[r])?.toJSON()||i.geometry}return t}quantize(e){let{scale:[t,r],translate:[i,l]}=e,n=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((l-e)/r));for(let e=0,t=n.length;e<t;e++)o?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[i,l],scale:[n,o]}=r,s=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;s=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}let f=this._getHydrationFunction(e,e=>e*n+i,e=>l-e*o,s,a);for(let{geometry:e}of t)null!=e&&f&&f(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let i=u.A.fromJSON(t.spatialReference),l=[];for(let t=0;t<e.length;t++){let n=e[t],o=r.fromJSON(n),s=n.geometry?.spatialReference;null!=o.geometry&&!s&&(o.geometry.spatialReference=i);let a=n.aggregateGeometries,f=o.aggregateGeometries;if(a&&null!=f)for(let e in f){let t=f[e],r=a[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=i)}l.push(o)}return l}_quantizePoints(e,t,r){let i,l,n=[];for(let o=0,s=e.length;o<s;o++){let s=e[o];if(o>0){let e=t(s[0]),o=r(s[1]);(e!==i||o!==l)&&(n.push([e-i,o-l]),i=e,l=o)}else i=t(s[0]),l=r(s[1]),n.push([i,l])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let i=(0,p.Bi)(e)?e.rings:e.paths,l=[];for(let e=0,n=i.length;e<n;e++){let n=i[e],o=this._quantizePoints(n,t,r);o&&l.push(o)}return l.length>0?((0,p.Bi)(e)?e.rings=l:e.paths=l,e):null}:"multipoint"===e?e=>{let i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,l){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{let n,o,s=(0,p.Bi)(e)?e.rings:e.paths;for(let e=0,i=s.length;e<i;e++){let i=s[e];for(let e=0,l=i.length;e<l;e++){let l=i[e];e>0?(n+=l[0],o+=l[1]):(n=l[0],o=l[1]),l[0]=t(n),l[1]=r(o)}}if(i&&l)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2]),r[3]=l(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}else if(l)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=l(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),l&&null!=e.mmax&&null!=e.mmin&&(e.mmax=l(e.mmax),e.mmin=l(e.mmin))}:"multipoint"===e?e=>{let n,o,s=e.points;for(let e=0,i=s.length;e<i;e++){let i=s[e];e>0?(n+=i[0],o+=i[1]):(n=i[0],o=i[1]),i[0]=t(n),i[1]=r(o)}if(i&&l)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=i(t[2]),t[3]=l(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=i(t[2])}else if(l)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=l(t[2])}}:null}};(0,l.Cg)([(0,f.MZ)({type:String,json:{write:!0}})],R.prototype,"displayFieldName",void 0),(0,l.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"exceededTransferLimit",void 0),(0,l.Cg)([(0,f.MZ)({type:[n.A],json:{write:!0}})],R.prototype,"features",void 0),(0,l.Cg)([(0,g.w)("features")],R.prototype,"readFeatures",null),(0,l.Cg)([(0,f.MZ)({type:[h.A],json:{write:!0}})],R.prototype,"fields",void 0),(0,l.Cg)([(0,f.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:c.read}}})],R.prototype,"geometryType",void 0),(0,l.Cg)([(0,d.K)("geometryType")],R.prototype,"writeGeometryType",null),(0,l.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"hasM",void 0),(0,l.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"hasZ",void 0),(0,l.Cg)([(0,f.MZ)({types:m.yR,json:{write:!0}})],R.prototype,"queryGeometry",void 0),(0,l.Cg)([(0,g.w)("queryGeometry")],R.prototype,"readQueryGeometry",null),(0,l.Cg)([(0,f.MZ)({type:u.A,json:{write:!0}})],R.prototype,"spatialReference",void 0),(0,l.Cg)([(0,d.K)("spatialReference")],R.prototype,"writeSpatialReference",null),(0,l.Cg)([(0,f.MZ)({json:{write:!0}})],R.prototype,"transform",void 0),R=i=(0,l.Cg)([(0,f.$K)("esri.rest.support.FeatureSet")],R),R.prototype.toJSON.isDefaultToJSON=!0},2991(e,t,r){r.d(t,{G9:()=>f,RZ:()=>a});var i=r(39516);const l="=",n=">=",o="<=";function s(e,t,r,l){let n=l.get(e)?.type,o=l.getTimeZone(e);return`${(0,i.iA)(e)} ${t} ${(0,i.YG)(r,{type:"date"},{type:n,timeZone:o})}`}function a(e,t,r,a){if(!t||!r)return;let{startField:f,endField:u}=t,{start:p,end:y}=e;if(!p&&!y||!f&&!u)return;let m=f??u,h=u??f;if(m&&h){if(p&&y){if(p.getTime()===y.getTime())return(0,i.mA)(a,s(m,l,p,r));if(!f||!u){let e=s(m,n,p,r),t=s(m,o,y,r);return(0,i.mA)(a,(0,i.mA)(e,t))}let e=s(f,n,p,r),t=s(u,o,y,r);return(0,i.mA)(a,(0,i.mA)(e,t))}if(p)return(0,i.mA)(a,s(m,n,p,r));if(y)return(0,i.mA)(a,s(h,o,y,r))}}function f(e){let{start:t,end:r}=e;if(t||r){if(!t&&r)return`null,${r.getTime()}`;if(!r&&t)return`${t.getTime()},null`;if(r&&t)return t.getTime()===r.getTime()?`${t.getTime()}`:`${t.getTime()},${r.getTime()}`}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1088],{31088(e,t,r){r.r(t),r.d(t,{OperatorGeodeticDensifyByLength:()=>a,OperatorGeodeticDensifyCursor:()=>u});var s=r(61691),n=r(55537),i=r(39117),m=r(76061);class a{getOperatorType(){return 10310}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r,s,n){return new u(e,r,s,t,-1,-1,n)}execute(e,t,r,s,i){let a=new m.S([e]),u=this.executeMany(a,t,r,s,i).next();return u||(0,n.d)("null output"),u}}class u extends s.G{m_inputGeoms;m_spatialReference;m_curveType;m_maxLengthMeters;m_maxDeviationMeters;m_maxAngle;m_progressTracker;m_index;constructor(e,t,r,s,i,m,a){super(),this.m_progressTracker=a,m>0&&(0,n.a)(""),4!==r&&i>0&&(0,n.a)(""),t||(0,n.t)(""),0===t.getCoordinateSystemType()&&(0,n.t)(""),!(s>0)&&!(i>0)&&(0,n.t)(""),this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=t,this.m_curveType=r,this.m_maxLengthMeters=s,this.m_maxDeviationMeters=i,this.m_maxAngle=m}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,n.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.geodeticDensify(e);return null}}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}geodeticDensify(e){return(0,i.ar)(e,this.m_spatialReference,this.m_curveType,this.m_maxLengthMeters,this.m_maxDeviationMeters,this.m_progressTracker)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6247,8628],{69052(e,t,r){r.d(t,{hr:()=>n});var a=r(34727);class n{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,r=!1){return i(this.range,this.min,this.max,e,t,r)}clamp(e,t=0){return(0,a.qE)(e-t,this.min,this.max)+t}monotonic(e,t,r){return e<t?t:t+s(this.range,e-t,r)}minimalMonotonic(e,t,r){return i(this.range,e,e+this.range,t,r)}center(e,t,r){return t=this.monotonic(e,t,r),this.normalize((e+t)/2,r)}diff(e,t,r){return this.monotonic(e,t,r)-e}shortestSignedDiff(e,t){e=this.normalize(e);let r=(t=this.normalize(t))-e,a=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(r)<Math.abs(a)?r:a}contains(e,t,r){return t=this.minimalMonotonic(e,t),(r=this.minimalMonotonic(e,r))>e&&r<t}}function i(e,t,r,a,n=0,i=!1){return(a-=n)<t?a+=s(e,t-a):a>r&&(a-=s(e,a-r)),i&&a===r&&(a=t),a+n}function s(e,t,r=0){return Math.ceil((t-r)/e)*e+r}const o=new n(0,2*Math.PI),l=(new n(-Math.PI,Math.PI),new n(0,360));r.d(t,["ie",0,l,"uC",0,o])},18370(e,t,r){r.d(t,{z:()=>n});class a{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return this._promise??=this._import().then(async e=>(this.module=e,e)),this._promise}}function n(e){return new a(e)}},56512(e,t,r){function a(e){let t,r,a=[],n=!1;return function(...i){return n&&t===this&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}(i,a)||(r=e.apply(this,i),t=this,a=i,n=!0),r}}r.d(t,{B:()=>a})},31411(e,t,r){r.d(t,{GS:()=>E,gh:()=>I});var a=r(49186),n=r(56512),i=r(65864),s=r(4305),o=r(50954),l=r(52006),u=r(49663),d=r(46068),h=r(15507);const c=1e-6,p=[0,0];function f(e){return{maxSegmentLength:e.maxSegmentLength??0,maxDeviation:e.maxDeviation??0,maxSegmentsPerCurve:e.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(e.minSegmentsPerCurve??1,1)}}class m{constructor(e,t){this.curveStart=e,this.curveEnd=t,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(e,t){this.tStart=0,this.arcStart=e,this.tEndStack.push(1),this.arcEndStack.push(t)}splitAt(e){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(e),this.arcEndStack.push(this.interpolate(e))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(e,{maxDeviation:t,maxSegmentLength:r,maxSegmentsPerCurve:a,minSegmentsPerCurve:n}){let i=r*r,s=t*t,o=1/a,l=this.interpolate(0),u=this.interpolate(1);(0,h.kb)(this.curveStart,l)>c&&e.push(l),this.initialize(l,u);let d=1/n;for(let e=n-1;e>0;e--){let t=e*d;this.pop(),this.splitAt(t)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<o||(0===i||!isFinite(i)||(0,h.kb)(this.arcStart,this.arcEnd)<i)&&(0===s||!isFinite(s)||this.getDeviation2()<s)?(e.push(this.arcEnd),this.next()):this.splitInHalf();return(0,h.kb)(this.curveEnd,u)>c&&e.push([...this.curveEnd]),e}}class g extends m{constructor(e,t){let[r,a,n]=t.b;super(e,r),this._controlPointsStack=[],this._curveControlPoints=[a,n],this._arcControlPoints=[a,n],this._controlPointsStack.push(this._arcControlPoints)}splitAt(e){let{arcStart:t,arcEnd:r,tStart:a,tEnd:n}=this,[i,s]=this._arcControlPoints,o=(e-a)/(n-a),l=(0,h.RS)([],t,i,o),u=(0,h.RS)(p,i,s,o),d=(0,h.RS)([],s,r,o),c=(0,h.RS)([],l,u,o),f=(0,h.RS)([],u,d,o),m=(0,h.RS)([],c,f,o);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([f,d]),this.tEndStack.push(e),this.arcEndStack.push(m),this._arcControlPoints[0]=l,this._arcControlPoints[1]=c,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(e){let{curveStart:t,curveEnd:r}=this,[a,n]=this._curveControlPoints;return(0,s.B4)(t,a,n,r,e)}getDeviation2(){let{arcStart:e,arcEnd:t}=this,[r,a]=this._arcControlPoints;return Math.max((0,h.yE)(r,e,t),(0,h.yE)(a,e,t))}}class y extends m{constructor(e,t){let[r]=t.a;super(e,r),this._derivedEllipse=(0,d.SW)(e,t)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(e){return(0,d.Uk)(this._derivedEllipse,e)}getDeviation2(){return(0,h.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function b(e,t,r,{cx:a,cy:n,radius:i,thetaStart:s,thetaEnd:o,isInvalid:l},{maxDeviation:u,maxSegmentLength:d,maxSegmentsPerCurve:p,minSegmentsPerCurve:f}){if(l)return e.push([...r]),e;let m=2*i,g=[a+i*Math.cos(s),n+i*Math.sin(s)],y=[a+i*Math.cos(o),n+i*Math.sin(o)];(0,h.kb)(t,g)>c&&e.push(g);let b=Math.abs(o-s),w=d>0&&d<m?2*Math.asin(d/m):b,S=u>0&&u<=i?2*Math.acos(1-u/i):b,v=Math.min(p,Math.max(f,Math.ceil(Math.abs(b/Math.min(w,S))))),F=1/v;for(let t=1;t<v;t++){let r=t*F,l=s*(1-r)+o*r;e.push([a+i*Math.cos(l),n+i*Math.sin(l)])}return e.push(y),(0,h.kb)(r,y)>c&&e.push([...r]),e}function w(e,t,r,a){return new g(t,r).densify(e,a)}function S(e,t,r,a){let n=(0,o.pM)(t,r),[i]=r.c;return b(e,t,i,n,a)}function v(e,t,r,a){let n=(0,u.io)(t,r),[i]=r.a;return b(e,t,i,n,a)}function F(e,t,r,a){let[n,i,s,o,l,u,d]=r.a;return 0===u||0===d?(e.push([...n]),e):new y(t,r).densify(e,a)}function A(e,t,r,a){return(0,l.Xq)(r)?(e.push([...r]),e):(0,l.n1)(r)?w(e,t,r,a):(0,l.aO)(r)?S(e,t,r,a):(0,l.DA)(r)?v(e,t,r,a):F(e,t,r,a)}function E(e,t={}){if(!(0,l.Ed)(e))return e;let r=f(t),a=(0,l.FD)(e),n=[];for(let e of a){let t=[];for(let a=0;a<e.length-1;a++){let n=a+1,i=[...(0,l.yP)(e[a])];0===a&&t.push(i),A(t,i,e[n],r)}n.push(t)}return"curvePaths"in e?{...void 0===e.hasZ?{}:{hasZ:e.hasZ},...void 0===e.hasM?{}:{hasM:e.hasM},paths:n,spatialReference:e.spatialReference}:{...void 0===e.hasZ?{}:{hasZ:e.hasZ},...void 0===e.hasM?{}:{hasM:e.hasM},rings:n,spatialReference:e.spatialReference}}const M=(0,n.B)(e=>({maxDeviation:0,maxSegmentLength:100*e,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function I(e,t,n){return await async function(e,t,n){let i=null;for(let s of e)if(s&&(0,l.Ed)(s)&&null==s.spatialReference.xyTolerance&&(0,l.V8)(s,t)){let e=s.spatialReference;if(!e)throw new a.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");let t=k(e);if(n.has(t))s.spatialReference=n.get(t);else{i||=await Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(1550)]).then(()=>r(78125));let o=i.fromSpatialReference(e)?.getTolerance();if(null==o)throw new a.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");let l=s.spatialReference.clone();l.read({xyTolerance:o}),s.spatialReference=l,n.set(t,l)}}}(e,new Set(t),n),e.map(e=>{if(!e||!(0,l.Ed)(e))return e;let r=e.spatialReference.xyTolerance;if(null==r)return e;let a=M(r);return(0,i.rS)(function(e,t,r){if(!(0,l.Ed)(e))return e;let a=new Set(t),n=f(r),i=(0,l.FD)(e),s=[],o=!1;for(let e of i){let t=[];for(let r=0;r<e.length-1;r++){let i=r+1,s=[...(0,l.yP)(e[r])];0===r&&t.push(s);let u=e[i];(0,l.Xq)(u)?t.push([...u]):(0,l.n1)(u)&&!a.has("cubic-bezier")?w(t,s,u,n):(0,l.aO)(u)&&!a.has("circular-arc")?S(t,s,u,n):(0,l.DA)(u)&&!a.has("elliptic-arc")?v(t,s,u,n):(0,l.wY)(u)&&!a.has("elliptic-arc")?F(t,s,u,n):(t.push((0,l.tk)(u)),o=!0)}s.push(t)}return"curvePaths"in e?{...void 0===e.hasZ?{}:{hasZ:e.hasZ},...void 0===e.hasM?{}:{hasM:e.hasM},spatialReference:e.spatialReference,...o?{curvePaths:s}:{paths:s}}:{hasZ:e.hasZ,hasM:e.hasM,spatialReference:e.spatialReference,...o?{curveRings:s}:{rings:s}}}(e,t,a))})}function k(e){if(null!=e.wkid)return`${e.wkid}`;if(null!=e.wkt)return e.wkt;let t="toJSON"in e&&"function"==typeof e.toJSON?e.toJSON():e;return JSON.stringify(t)}},52039(e,t,r){r.d(t,{O7:()=>c,el:()=>u});var a=r(69052),n=(r(49186),r(18370)),i=r(17676),s=(r(5443),r(39829)),o=(r(82799),r(16930)),l=(r(80754),r(21325));async function u(e,t,r){Array.isArray(e)||(e=[e]),"object"==typeof t&&t&&"authMode"in t&&(r=t);let a=null;for(let t of e)a??=t?.spatialReference;if(!a)return e;let n=(0,l.Vp)(a);if(!n)return e;if(1===e.length&&"extent"===e[0]?.type){let t=e[0].clone().normalizeAsSingleGeometry(n);return["xmin"in t?t:new s.A(t)]}let[o,u]=n.valid,c=!1;for(let t of e){if(!t)continue;if("point"===t.type){c||=t.x>=u,c||=t.x<=o;continue}let{extent:e}=t;if(null==e){c=!0;break}c||=e.xmin>=u,c||=e.xmin<=o,c||=e.xmax>=u,c||=e.xmax<=o}if(!c)return e;let[{foldInto360Range:p},f]=await(0,i.qr)(Promise.all([d.getImportPromise(),h.getImportPromise()]),r),m=f.fromSpatialReference(a);return e.map(e=>{if(null==e||"mesh"===e.type)return e;let t=f.fromGeometry(e),r=f.toGeometry(p(t,m),a);return"extent"===e.type&&1===r?.rings.length?r.extent:r})}const d=(0,n.z)(()=>r.e(4144).then(()=>r(4144)).then(e=>e.load().then(()=>e))),h=(0,n.z)(()=>Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(1550)]).then(()=>r(78125)));function c(e,t,r){let a=(0,l.Vp)(r);if(null==a)return e;let[n,i]=a.valid,s=2*i,o=0,u=0;t>i?o=Math.ceil(Math.abs(t-i)/s):t<n&&(o=-Math.ceil(Math.abs(t-n)/s)),e>i?u=Math.ceil(Math.abs(e-i)/s):e<n&&(u=-Math.ceil(Math.abs(e-n)/s));let d=e+(o-u)*s,h=d-t;return h>i?d-=s:h<n&&(d+=s),d}function p(e){let t=(0,l.Vp)(e);if(null==t)return null;let[r,n]=t.valid;return new a.hr(r,n)}const f=p(o.A.WGS84);p(o.A.WebMercator),r.d(t,["Y_",0,f])},80754(e,t,r){r.d(t,{kS:()=>u,kd:()=>l});var a=r(82799),n=r(16930),i=r(60408),s=r(52006);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new a.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator}),minus180Line:new a.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new a.A({paths:[[[180,-180],[180,180]]],spatialReference:n.A.WGS84}),minus180Line:new a.A({paths:[[[-180,-180],[-180,180]]],spatialReference:n.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,s.Ed)(e))for(let r of function(e){return(0,i.Bi)(e)?e.curveRings:e.curvePaths}(e))for(let e of r)if((0,s.aO)(e)){let[r,a]=e.c;r[0]+=t,a[0]+=t}else if((0,s.FG)(e)){let[r,a]=e.a;r[0]+=t,a[0]+=t}else if((0,s.n1)(e)){let[r,a,n]=e.b;r[0]+=t,a[0]+=t,n[0]+=t}else e[0]+=t;for(let r of function(e){return(0,i.Bi)(e)?e.rings:e.paths}(e))for(let e of r)e[0]+=t;return e}r.d(t,["j7",0,o])},78628(e,t,r){r.d(t,{applyEdits:()=>S,uploadAssets:()=>k});var a=r(52106),n=r(7762),i=r(49186),s=r(4718),o=r(53966),l=r(91869),u=r(84952),d=r(13069),h=r(52039),c=r(21325),p=r(31411),f=r(47685),m=r(30524),g=r(20557),y=r(77548);function b(e){return null!=e?.applyEdits}const w=new WeakMap;async function S(e,t,r,a={}){let u,h="gdbVersion"in e?e.gdbVersion:null,c=a.gdbVersion??h;if((0,f.Mk)(e)&&e.url)u=(0,f.Zk)(e.url,e.layerId,c,"original-and-current-features"===a.returnServiceEditsOption);else{u=Promise.withResolvers(),u.promise.then(t=>{(t.addedFeatures.length||t.updatedFeatures.length||t.deletedFeatures.length||t.addedAttachments.length||t.updatedAttachments.length||t.deletedAttachments.length)&&e.emit("edits",t)},()=>{});let t={result:u.promise};e.emit("apply-edits",t)}try{let{results:h,edits:c}=await async function(e,t,r,a){if(await e.load(),!b(t))throw new i.A(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!(0,y.tk)(e))throw new i.A(`${e.type}-layer:editing-disabled`,"Editing is disabled for layer",{layer:e});let{edits:s,options:u}=await async function(e,t,r){let a=(0,y.BR)(e),s=t&&(t.addFeatures||t.updateFeatures||t.deleteFeatures),u=t&&(t.addAttachments||t.updateAttachments||t.deleteAttachments),h=null!=e.infoFor3D;if(function(e,t,r,a,n,s){if(!(e&&(a||n)||r?.usingTelecomOperations))throw new i.A(`${s}:missing-parameters`,"'addFeatures', 'updateFeatures', 'deleteFeatures', 'addAttachments', 'updateAttachments' or 'deleteAttachments' parameter is required");let o=t.editing.supportsGlobalId||r?.usingFeatureServiceEndpoint;if(!o&&r?.globalIdUsed)throw new i.A(`${s}:invalid-parameter`,"This layer does not support 'globalIdUsed' parameter. See: 'capabilities.editing.supportsGlobalId'");if(!o&&n)throw new i.A(`${s}:invalid-parameter`,"'addAttachments', 'updateAttachments' and 'deleteAttachments' are applicable only if the layer supports global ids. See: 'capabilities.editing.supportsGlobalId'");if(!r?.globalIdUsed&&n)throw new i.A(`${s}:invalid-parameter`,"When 'addAttachments', 'updateAttachments' or 'deleteAttachments' is specified, globalIdUsed should be set to true")}(t,a,r,!!s,!!u,`${e.type}-layer`),!a.data.isVersioned&&r?.gdbVersion)throw new i.A(`${e.type}-layer:invalid-parameter`,"'gdbVersion' is applicable only if the layer supports versioned data. See: 'capabilities.data.isVersioned'");if(!a.editing.supportsRollbackOnFailure&&r?.rollbackOnFailureEnabled)throw new i.A(`${e.type}-layer:invalid-parameter`,"This layer does not support 'rollbackOnFailureEnabled' parameter. See: 'capabilities.editing.supportsRollbackOnFailure'");let c={...r};if(null==c.rollbackOnFailureEnabled&&!a.editing.supportsRollbackOnFailure&&(c.rollbackOnFailureEnabled=!0),!c.rollbackOnFailureEnabled&&"original-and-current-features"===c.returnServiceEditsOption&&(!1===c.rollbackOnFailureEnabled&&o.A.getLogger("esri.layers.graphics.editingSupport").warn(`${e.type}-layer:invalid-parameter`,"'original-and-current-features' is valid for 'returnServiceEditsOption' only when 'rollBackOnFailure' is true, but 'rollBackOnFailure' was set to false. 'rollBackOnFailure' has been overwritten and set to true."),c.rollbackOnFailureEnabled=!0),!a.editing.supportsReturnServiceEditsInSourceSpatialReference&&c.returnServiceEditsInSourceSR)throw new i.A(`${e.type}-layer:invalid-parameter`,"This layer does not support 'returnServiceEditsInSourceSR' parameter. See: 'capabilities.editing.supportsReturnServiceEditsInSourceSpatialReference'");if(c.returnServiceEditsInSourceSR&&"original-and-current-features"!==c.returnServiceEditsOption)throw new i.A(`${e.type}-layer:invalid-parameter`,"'returnServiceEditsInSourceSR' is valid only when 'returnServiceEditsOption' is set to 'original-and-current-features'");let p=function(e,t,r){let a=function(e){return{addFeatures:Array.from(e?.addFeatures??[]),updateFeatures:Array.from(e?.updateFeatures??[]),deleteFeatures:e&&n.A.isCollection(e.deleteFeatures)?e.deleteFeatures.toArray():e.deleteFeatures||[],addAttachments:e.addAttachments||[],updateAttachments:e.updateAttachments||[],deleteAttachments:e.deleteAttachments||[]}}(e);if(a.addFeatures?.length&&!t.operations.supportsAdd)throw new i.A(`${r}:unsupported-operation`,"Layer does not support adding features.");if(a.updateFeatures?.length&&!t.operations.supportsUpdate)throw new i.A(`${r}:unsupported-operation`,"Layer does not support updating features.");if(a.deleteFeatures?.length&&!t.operations.supportsDelete)throw new i.A(`${r}:unsupported-operation`,"Layer does not support deleting features.");return a.addFeatures=a.addFeatures.map(M),a.updateFeatures=a.updateFeatures.map(M),a.addAssetFeatures=[],a}(t,a,`${e.type}-layer`),f=r?.globalIdUsed||h,m=e.fields.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(f){let{globalIdField:t}=e;if(null==t)throw new i.A(`${e.type}-layer:invalid-parameter`,"Layer does not specify a global id field.");p.addFeatures.forEach(e=>function(e,t){let{attributes:r}=e;r[t]??(r[t]=(0,d.yS)())}(e,t))}p.addFeatures.forEach(t=>function(e,t,r,a){v(e,t,r,a),F(e,t)}(t,e,f,m)),p.updateFeatures.forEach(t=>function(e,t,r,a){v(e,t,r,a),F(e,t);let n=(0,y.BR)(t);if("geometry"in e&&null!=e.geometry&&!n?.editing.supportsGeometryUpdate)throw new i.A(`${t.type}-layer:unsupported-operation`,"Layer does not support geometry updates.")}(t,e,f,m)),p.deleteFeatures.forEach(t=>function(e,t,r,a){v(e,t,r,a)}(t,e,f,m)),p.addAttachments.forEach(t=>A(t,e)),p.updateAttachments.forEach(t=>A(t,e)),h&&await async function(e,t){let{infoFor3D:r}=t;if(null==r)return;if(!(0,g.JQ)(r))throw new i.A(`${t.type}-layer:binary-gltf-asset-not-supported`,"3DObjectFeatureLayer requires binary glTF (.glb) support for updating mesh geometry.");e.addAssetFeatures??=[];let{addAssetFeatures:a}=e;for(let t of e.addFeatures??[])I(t)&&a.push(t);for(let t of e.updateFeatures??[])I(t)&&a.push(t)}(p,e);let b=(0,l.tE)(w,e,()=>new Map);return{edits:await E(p,a.data.supportedCurveTypes??[],b),options:c}}(e,r,a);return s.addFeatures?.length||s.updateFeatures?.length||s.deleteFeatures?.length||s.addAttachments?.length||s.updateAttachments?.length||s.deleteAttachments?.length?{edits:s,results:await t.applyEdits(s,u)}:{edits:s,results:{addFeatureResults:[],updateFeatureResults:[],deleteFeatureResults:[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}}(e,t,r,a),p=e=>e.filter(e=>!e.error).map(s.o8),f={edits:c,addedFeatures:p(h.addFeatureResults),updatedFeatures:p(h.updateFeatureResults),deletedFeatures:p(h.deleteFeatureResults),addedAttachments:p(h.addAttachmentResults),updatedAttachments:p(h.updateAttachmentResults),deletedAttachments:p(h.deleteAttachmentResults),exceededTransferLimit:!1,historicMoment:h.editMoment?new Date(h.editMoment):null,globalIdToObjectId:a.globalIdToObjectId};return h.editedFeatureResults?.length&&(f.editedFeatures=h.editedFeatureResults),u.resolve(f),h}catch(e){throw u.reject(e),e}}function v(e,t,r,a){if(r){if("attributes"in e&&!e.attributes[t.globalIdField])throw new i.A(`${t.type}-layer:invalid-parameter`,`Feature should have '${t.globalIdField}' when 'globalIdUsed' is true`);if(!("attributes"in e)&&!e.globalId)throw new i.A(`${t.type}-layer:invalid-parameter`,"`'globalId' of the feature should be passed when 'globalIdUsed' is true")}if(a.length&&"attributes"in e)for(let r of a){let a=e.attributes[r.name];if(void 0!==a&&!(0,m.OG)(r,a))throw new i.A(`${t.type}-layer:invalid-parameter`,`Big-integer field '${r.name}' of the feature must be less than ${2**53-1}`,{feature:e})}if("geometry"in e&&null!=e.geometry){if(e.geometry.hasZ&&!1===t.capabilities?.data.supportsZ)throw new i.A(`${t.type}-layer:z-unsupported`,"Layer does not support z values while feature has z values.");if(e.geometry.hasM&&!1===t.capabilities?.data.supportsM)throw new i.A(`${t.type}-layer:m-unsupported`,"Layer does not support m values while feature has m values.")}}function F(e,t){if("geometry"in e&&"mesh"===e.geometry?.type&&null!=t.infoFor3D&&null!=t.spatialReference){let{geometry:r}=e,{spatialReference:a,vertexSpace:n}=r,s=t.spatialReference,o="local"===n.type,l=(0,c.EA)(s),u=(0,c.aI)(s,a),d=u||(0,c.oT)(s)&&((0,c.oT)(a)||(0,c.K8)(a));if(!(o&&l&&d||!o&&!l&&u))throw new i.A(`${t.type}-layer:mesh-unsupported`,`Uploading a mesh with a ${n.type} vertex space and a spatial reference wkid:${a.wkid} to a layer with a spatial reference wkid:${s.wkid} is not supported.`)}}function A(e,t){let{feature:r,attachment:a}=e;if(!r||"attributes"in r&&!r.attributes[t.globalIdField])throw new i.A(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to a feature with 'globalId'");if(!("attributes"in r)&&!r.globalId)throw new i.A(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to 'globalId' of the parent feature");if(!a.globalId)throw new i.A(`${t.type}-layer:invalid-parameter`,"Attachment should have 'globalId'");if(!a.data&&!a.uploadId)throw new i.A(`${t.type}-layer:invalid-parameter`,"Attachment should have 'data' or 'uploadId'");if(!(a.data instanceof File&&a.data.name||a.name))throw new i.A(`${t.type}-layer:invalid-parameter`,"'name' is required when attachment is specified as Base64 encoded string using 'data'");if(!t.capabilities?.editing.supportsUploadWithItemId&&a.uploadId)throw new i.A(`${t.type}-layer:invalid-parameter`,"This layer does not support 'uploadId' parameter. See: 'capabilities.editing.supportsUploadWithItemId'");if("string"==typeof a.data){let e=(0,u.r$)(a.data);if(e&&!e.isBase64)throw new i.A(`${t.type}-layer:invalid-parameter`,"Attachment 'data' should be a Blob, File or Base64 encoded string")}}async function E(e,t,r){let a=e.addFeatures??[],n=e.updateFeatures??[],i=a.concat(n).map(e=>e.geometry),s=await(0,p.gh)(i,t,r),o=await(0,h.el)(s),l=a.length,u=n.length;return o.slice(0,l).forEach((e,t)=>a[t].geometry=e),o.slice(l,l+u).forEach((e,t)=>n[t].geometry=e),e}function M(e){let t=new a.A;return e.attributes||={},t.geometry=e.geometry,t.attributes=e.attributes,t}function I(e){return"mesh"===e?.geometry?.type}function k(e,t,r,a){if(!b(t))throw new i.A(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!t.uploadAssets)throw new i.A(`${e.type}-layer:no-asset-upload-support`,"Layer source does not support uploadAssets capability",{layer:e});return t.uploadAssets(r,a)}},47685(e,t,r){r.d(t,{Mk:()=>p,Zk:()=>h});var a=r(32198),n=r(65529),i=r(4718),s=r(91429),o=r(20816);const l=new n.bk;function u(e){return l.on("apply-edits",new WeakRef(e))}function d(e){return l.on("update-moment",new WeakRef(e))}function h(e,t,r=null,a=!1){let n=Promise.withResolvers();return a=null==t||a,l.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:r,mayReceiveServiceEdits:a,result:n.promise}),n}const c=Symbol();function p(e){return"object"==typeof e&&!!e&&c in e}function f(e){return"object"==typeof e&&!!e&&"gdbVersion"in e}function m(e,t,r){let a=new URL(e).host,n=o.Z3.get(a),i=e=>!e||e===n;return i(t)&&i(r)||t===r}r.d(t,["w6",0,e=>{var t;let r=e,n=class extends r{static{t=c}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{let{serviceUrl:t,layerId:r,gdbVersion:a,mayReceiveServiceEdits:n,result:s}=e,o=t===this.url,l=null!=r&&null!=this.layerId&&r===this.layerId,u=null!=r&&this.relationships?.some(e=>e.relatedTableId===r),d=f(this),h=f(this)&&m(t,a,this.gdbVersion);if(!o||d&&!h||!l&&!u&&!n)return;let c=s.then(e=>{if(this.lastEditsEventDate=new Date,l&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,i.o8)(e)),e;let r=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(r){let{adds:t,updates:a,deletes:n}=r.editedFeatures,s={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:n?n.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:a?a.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,i.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,i.o8)(e.historicMoment)};return this.emit("edits",s),s}let n={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,i.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,i.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,a,n.historicMoment)&&this.emit("edits",n),n}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,a,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));c.catch(()=>{}),this.emit("apply-edits",{result:c})},this._updateMomentHandler=e=>{let{serviceUrl:t,gdbVersion:r,moment:a}=e,n=t===this.url,i=f(this),s=f(this)&&m(t,r,this.gdbVersion),o=f(this)&&!m(t,this.gdbVersion,null);n&&i&&s&&o&&"historicMoment"in this&&this.historicMoment!==a&&(this.historicMoment=a)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(d(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,r){return"historicMoment"in this&&this.historicMoment!==r&&(0,o.w5)(e,t)}};return(0,a.Cg)([(0,s.MZ)()],n.prototype,"lastEditsEventDate",void 0),n=(0,a.Cg)([(0,s.$K)("esri.layers.mixins.EditBusLayer")],n),n}])},20557(e,t,r){r.d(t,{Fm:()=>l,Hz:()=>g,JQ:()=>m,JZ:()=>M,ND:()=>b,R_:()=>s,U9:()=>f,_h:()=>S,be:()=>h,fE:()=>p,fu:()=>n,nr:()=>y,oF:()=>i,qv:()=>E,rP:()=>c,rq:()=>u,z$:()=>d});const a=[["binary","application/octet-stream","bin",""]];function n(e,t){return null!=v(t.name,e?.supportedFormats??[])}function i(e,t){if(!e)return!1;let r=u(t,e.supportedFormats??[]);return null!=r&&e.editFormats.includes(r)}function s(e,t){return F(function(e,t){let r=e.toLowerCase();return w(t).find(e=>A(e)===r)}(e,t))}function o(e,t){return F(v(e,t))}function l(e,t){return A(S(e,t))}function u(e,t){return o(e.name,t)??s(e.type,t)}function d(e,t,r){return s(e,r)??o(t,r)}function h(e,t){if(!e||!S(e,t))return;let r=/^3d_(.+)$/iu.exec(e)?.[1]?.toLowerCase();return r||void 0}function c(e,t){return(e??[]).map(e=>h(e,t)).filter(e=>!!e)}function p(e,t){return F(t.find(r=>h(F(r),t)===e))}function f({supportedFormats:e}){return d("model/gltf-binary","glb",e)}function m(e){let t=f(e);return null!=t&&e.editFormats.includes(t)}function g(e){if(!e)return null;let t=f(e),r=function({supportedFormats:e}){return d("model/gltf+json","gltf",e)}(e),a=null;for(let n of e.queryFormats){if(n===t)return n;n===r&&(a=n)}return a}function y({supportedFormats:e}){return d("application/esri3do-SR_world","wld",e)}function b({supportedFormats:e}){return d("application/esri3do-SR_prj","prj",e)}function w(e){return[...a,...e]}function S(e,t){return w(t).find(t=>F(t)===e)}function v(e,t){let r=e.toLowerCase();return w(t).find(e=>E(e).some(e=>r.endsWith(e)))}function F(e){return e?.[0]}function A(e){return e?.[1].toLowerCase()}function E(e){return e?.[2].split(",").map(e=>e.toLowerCase())??[]}function M(e){return e.tables?.find(e=>"assetMaps"===e.role)}},20816(e,t,r){r.d(t,{We:()=>o,ZJ:()=>l,w5:()=>u});var a=r(56507);const n=(0,r(13069).vD)(),i=new Map,s=new Map;async function o(e,t,r){if(!e||!r)return!1;if(!t)return!0;let n=new URL(e).host,s=i.get(n);if(!s){let t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");s=(await(0,a.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return s===t}async function l(e,t,a=!1){if(!e||!t)return!0;let i=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),o=s.get(i)?.entries();if(o)for(let[e,s]of o)if(s.name===t){let t=!s.stack?.hasForwardEdits();if(!t&&a){let[{deleteForwardEdits:t},{default:a}]=await Promise.all([r.e(2186).then(()=>r(32186)),r.e(2558).then(()=>r(32558))]),o=await t(i,e,new a({sessionId:n,moment:s.moment}));return o.success&&s.stack?.clearForwardEdits(),o.success}return t}return!0}function u(e,t){if(!e)return!1;let r=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=s.get(r)?.entries();if(a)for(let[e,r]of a)if(r.name===t)return"edit"===r.lockType;return!1}new Map,r.d(t,["TA",0,n,"Z3",0,i])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[820],{10820(e,t,r){r.d(t,{isAnimatedGIF:()=>I,parseGif:()=>A});var n,i=r(78659),a={},o={},d={};function s(){return n||(n=1,Object.defineProperty(d,"__esModule",{value:!0}),d.loop=d.conditional=d.parse=void 0,d.parse=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;if(Array.isArray(r))r.forEach(function(r){return e(t,r,n,i)});else if("function"==typeof r)r(t,n,i,e);else{var a=Object.keys(r)[0];Array.isArray(r[a])?(i[a]={},e(t,r[a],n,i[a])):i[a]=r[a](t,n,i,e)}return n},d.conditional=function(e,t){return function(r,n,i,a){t(r,n,i)&&a(r,e,n,i)}},d.loop=function(e,t){return function(r,n,i,a){for(var o=[],d=r.pos;t(r,n,i);){var s={};if(a(r,e,n,s),r.pos===d)break;d=r.pos,o.push(s)}return o}}),d}var u,c,l={};function f(){if(u)return l;u=1,Object.defineProperty(l,"__esModule",{value:!0}),l.readBits=l.readArray=l.readUnsigned=l.readString=l.peekBytes=l.readBytes=l.peekByte=l.readByte=l.buildStream=void 0,l.buildStream=function(e){return{data:e,pos:0}};l.readByte=function(){return function(e){return e.data[e.pos++]}},l.peekByte=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(t){return t.data[t.pos+e]}};var e=function(e){return function(t){return t.data.subarray(t.pos,t.pos+=e)}};return l.readBytes=e,l.peekBytes=function(e){return function(t){return t.data.subarray(t.pos,t.pos+e)}},l.readString=function(t){return function(r){return Array.from(e(t)(r)).map(function(e){return String.fromCharCode(e)}).join("")}},l.readUnsigned=function(t){return function(r){var n=e(2)(r);return t?(n[1]<<8)+n[0]:(n[0]<<8)+n[1]}},l.readArray=function(t,r){return function(n,i,a){for(var o="function"==typeof r?r(n,i,a):r,d=e(t),s=Array(o),u=0;u<o;u++)s[u]=d(n);return s}},l.readBits=function(e){return function(t){for(var r=function(e){return e.data[e.pos++]}(t),n=Array(8),i=0;i<8;i++)n[7-i]=!!(r&1<<i);return Object.keys(e).reduce(function(t,r){var i=e[r];return t[r]=i.length?function(e,t,r){for(var n=0,i=0;i<r;i++)n+=e[t+i]&&2**(r-i-1);return n}(n,i.index,i.length):n[i.index],t},{})}},l}function p(){return c||(c=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(),r=f(),n={blocks:function(e){for(var t=[],n=e.data.length,i=0,a=(0,r.readByte)()(e);0!==a&&a;a=(0,r.readByte)()(e)){if(e.pos+a>=n){var o=n-e.pos;t.push((0,r.readBytes)(o)(e)),i+=o;break}t.push((0,r.readBytes)(a)(e)),i+=a}for(var d=new Uint8Array(i),s=0,u=0;u<t.length;u++)d.set(t[u],s),s+=t[u].length;return d}},i=(0,t.conditional)({gce:[{codes:(0,r.readBytes)(2)},{byteSize:(0,r.readByte)()},{extras:(0,r.readBits)({future:{index:0,length:3},disposal:{index:3,length:3},userInput:{index:6},transparentColorGiven:{index:7}})},{delay:(0,r.readUnsigned)(!0)},{transparentColorIndex:(0,r.readByte)()},{terminator:(0,r.readByte)()}]},function(e){var t=(0,r.peekBytes)(2)(e);return 33===t[0]&&249===t[1]}),a=(0,t.conditional)({image:[{code:(0,r.readByte)()},{descriptor:[{left:(0,r.readUnsigned)(!0)},{top:(0,r.readUnsigned)(!0)},{width:(0,r.readUnsigned)(!0)},{height:(0,r.readUnsigned)(!0)},{lct:(0,r.readBits)({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},(0,t.conditional)({lct:(0,r.readArray)(3,function(e,t,r){return 2**(r.descriptor.lct.size+1)})},function(e,t,r){return r.descriptor.lct.exists}),{data:[{minCodeSize:(0,r.readByte)()},n]}]},function(e){return 44===(0,r.peekByte)()(e)}),o=(0,t.conditional)({text:[{codes:(0,r.readBytes)(2)},{blockSize:(0,r.readByte)()},{preData:function(e,t,n){return(0,r.readBytes)(n.text.blockSize)(e)}},n]},function(e){var t=(0,r.peekBytes)(2)(e);return 33===t[0]&&1===t[1]}),d=(0,t.conditional)({application:[{codes:(0,r.readBytes)(2)},{blockSize:(0,r.readByte)()},{id:function(e,t,n){return(0,r.readString)(n.blockSize)(e)}},n]},function(e){var t=(0,r.peekBytes)(2)(e);return 33===t[0]&&255===t[1]}),u=(0,t.conditional)({comment:[{codes:(0,r.readBytes)(2)},n]},function(e){var t=(0,r.peekBytes)(2)(e);return 33===t[0]&&254===t[1]});e.default=[{header:[{signature:(0,r.readString)(3)},{version:(0,r.readString)(3)}]},{lsd:[{width:(0,r.readUnsigned)(!0)},{height:(0,r.readUnsigned)(!0)},{gct:(0,r.readBits)({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:(0,r.readByte)()},{pixelAspectRatio:(0,r.readByte)()}]},(0,t.conditional)({gct:(0,r.readArray)(3,function(e,t){return 2**(t.lsd.gct.size+1)})},function(e,t){return t.lsd.gct.exists}),{frames:(0,t.loop)([i,d,u,a,o],function(e){var t=(0,r.peekByte)()(e);return 33===t||44===t})}]}(o)),o}var g,y={};function h(){return g||(g=1,Object.defineProperty(y,"__esModule",{value:!0}),y.deinterlace=void 0,y.deinterlace=function(e,t){for(var r=Array(e.length),n=e.length/t,i=function(n,i){var a=e.slice(i*t,(i+1)*t);r.splice.apply(r,[n*t,t].concat(a))},a=[0,4,2,1],o=[8,8,4,2],d=0,s=0;s<4;s++)for(var u=a[s];u<n;u+=o[s])i(u,d),d++;return r}),y}var m,v,B={},x=function(){if(v)return a;v=1,Object.defineProperty(a,"__esModule",{value:!0}),a.decompressFrames=a.decompressFrame=a.parseGIF=void 0;var e=function(e){return e&&e.__esModule?e:{default:e}}(p()),t=s(),r=f(),n=h(),i=(m||(m=1,Object.defineProperty(B,"__esModule",{value:!0}),B.lzw=void 0,B.lzw=function(e,t,r){var n,i,a,o,d,s,u,c,l,f,p=4096,g=r,y=Array(r),h=Array(p),m=Array(p),v=Array(p+1);for(d=1+(i=1<<(f=e)),n=i+2,u=-1,a=(1<<(o=f+1))-1,c=0;c<i;c++)h[c]=0,m[c]=c;var B,x,b,k,w,A=B=x=b=k=w=0;for(l=0;l<g;){if(0===b){if(B<o){A+=t[w]<<B,B+=8,w++;continue}if(c=A&a,A>>=o,B-=o,c>n||c==d)break;if(c==i){a=(1<<(o=f+1))-1,n=i+2,u=-1;continue}if(-1==u){v[b++]=m[c],u=c,x=c;continue}for(s=c,c==n&&(v[b++]=x,c=u);c>i;)v[b++]=m[c],c=h[c];x=255&m[c],v[b++]=x,n<p&&(h[n]=u,m[n]=x,0===(++n&a)&&n<p&&(o++,a+=n)),u=s}b--,y[k++]=v[b],l++}for(l=k;l<g;l++)y[l]=0;return y}),B);a.parseGIF=function(n){var i=new Uint8Array(n);return(0,t.parse)((0,r.buildStream)(i),e.default)};var o=function(e,t,r){if(e.image){var a=e.image,o=a.descriptor.width*a.descriptor.height,d=(0,i.lzw)(a.data.minCodeSize,a.data.blocks,o);a.descriptor.lct.interlaced&&(d=(0,n.deinterlace)(d,a.descriptor.width));var s={pixels:d,dims:{top:e.image.descriptor.top,left:e.image.descriptor.left,width:e.image.descriptor.width,height:e.image.descriptor.height}};return s.colorTable=a.descriptor.lct&&a.descriptor.lct.exists?a.lct:t,e.gce&&(s.delay=10*(e.gce.delay||10),s.disposalType=e.gce.extras.disposal,e.gce.extras.transparentColorGiven&&(s.transparentIndex=e.gce.transparentColorIndex)),r&&(s.patch=function(e){for(var t=e.pixels.length,r=new Uint8ClampedArray(4*t),n=0;n<t;n++){var i=4*n,a=e.pixels[n],o=e.colorTable[a]||[0,0,0];r[i]=o[0],r[i+1]=o[1],r[i+2]=o[2],r[i+3]=a===e.transparentIndex?0:255}return r}(s)),s}console.warn("gif frame does not have associated image.")};return a.decompressFrame=o,a.decompressFrames=function(e,t){return e.frames.filter(function(e){return e.image}).map(function(r){return o(r,e.gct,t)})},a}();let b,k,w;async function A(e,t){let r=x.parseGIF(e),n=x.decompressFrames(r,!0),{width:a,height:o}=r.lsd,d=function(e,t){return b??=document.createElement("canvas"),b.width=e,b.height=t,b.getContext("2d",{willReadFrequently:!0})}(a,o),s=[],u=[],c=0;for(let e of n){let t=(0,i.l5)(e.delay||100);u.push(t),c+=t;let r=U(new ImageData(e.patch,e.dims.width,e.dims.height)),n=3===e.disposalType?d.getImageData(e.dims.left,e.dims.top,e.dims.width,e.dims.height):void 0;d.drawImage(r,e.dims.left,e.dims.top);let l=d.getImageData(0,0,a,o);s.push(l),1===e.disposalType||(2===e.disposalType?d.clearRect(e.dims.left,e.dims.top,e.dims.width,e.dims.height):3===e.disposalType&&d.putImageData(n,e.dims.left,e.dims.top))}return{frameCount:n.length,duration:c,frameDurations:u,getFrame:e=>s[e],width:a,height:o}}function U(e){return k??=document.createElement("canvas"),w??=k.getContext("2d",{willReadFrequently:!0}),k.width=e.width,k.height=e.height,w.putImageData(e,0,0),k}const C=[71,73,70];function I(e){if(!function(e){let t=new Uint8Array(e);return!C.some((e,r)=>e!==t[r])}(e))return!1;let t=new DataView(e),r=t.getUint8(10),n=13+(128&r?3*2**(1+(7&r)):0),i=0,a=!1;for(;!a;){switch(t.getUint8(n++)){case 33:if(!o())return!1;break;case 44:d();break;case 59:a=!0;break;default:return!1}if(i>1)return!0}function o(){switch(t.getUint8(n++)){case 249:n++,n+=4,s();break;case 1:i++,n++,n+=12,s();break;case 254:s();break;case 255:n++,n+=8,n+=3,s();break;default:return!1}return!0}function d(){i++,n+=8;let e=t.getUint8(n++);n+=128&e?3*2**(1+(7&e)):0,n++,s()}function s(){let e;for(;e=t.getUint8(n++);)n+=e}return!1}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4144],{61691(e,t,n){n.d(t,{G:()=>r});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,n){n.d(t,{S:()=>o});var r=n(61691);class o extends r.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},4144(e,t,n){n.r(t),n.d(t,{clipToSpatialReference:()=>s,execute:()=>a,executeMany:()=>m,foldInto360Range:()=>c,foldInto360RangeGeodetic:()=>f,isLoaded:()=>l,load:()=>u,normalizeGeometry:()=>h,supportsCurves:()=>G,transform:()=>d});var r=n(76061),o=n(83290);let i;function l(){return!!i&&(0,o.i)()}async function u(){if(!l()){let[e,t]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(9192)]).then(()=>n(9192)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(5756)]).then(()=>n(15756)).then(({injectPe:e})=>e),(0,o.l)()]);i=new e.OperatorProject,t(o.p)}}function s(e,t,n){return i.clipToSpatialReference(e,t,null,n)}function a(e,t){return i.execute(e,t,null)}function m(e,t){let n=i.executeMany(new r.S(e),t,null);return Array.from(n)}function c(e,t){return i.foldInto360Range(e,t)}function f(e,t,n){return i.foldInto360RangeGeodetic(e,t,n)}function h(e,t,n){return i.normalizeGeometry(e,t,n)}function G(){return i.supportsCurves()}function d(e,t,n,r,o){return i.transform(e,t,n,r,o)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[895,4144],{61691(e,t,r){r.d(t,{G:()=>n});class n{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,r){r.d(t,{S:()=>o});var n=r(61691);class o extends n.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},4144(e,t,r){r.r(t),r.d(t,{clipToSpatialReference:()=>c,execute:()=>s,executeMany:()=>l,foldInto360Range:()=>m,foldInto360RangeGeodetic:()=>p,isLoaded:()=>i,load:()=>u,normalizeGeometry:()=>f,supportsCurves:()=>d,transform:()=>h});var n=r(76061),o=r(83290);let a;function i(){return!!a&&(0,o.i)()}async function u(){if(!i()){let[e,t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(9192)]).then(()=>r(9192)),Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(5756)]).then(()=>r(15756)).then(({injectPe:e})=>e),(0,o.l)()]);a=new e.OperatorProject,t(o.p)}}function c(e,t,r){return a.clipToSpatialReference(e,t,null,r)}function s(e,t){return a.execute(e,t,null)}function l(e,t){let r=a.executeMany(new n.S(e),t,null);return Array.from(r)}function m(e,t){return a.foldInto360Range(e,t)}function p(e,t,r){return a.foldInto360RangeGeodetic(e,t,r)}function f(e,t,r){return a.normalizeGeometry(e,t,r)}function d(){return a.supportsCurves()}function h(e,t,r,n,o){return a.transform(e,t,r,n,o)}},83276(e,t,r){r.r(t),r.d(t,{execute:()=>G,executeMany:()=>j,isLoaded:()=>d,load:()=>y,projectExecute:()=>x,projectExecuteMany:()=>g,projectIsLoaded:()=>f,projectLoad:()=>h,projectSupportsCurves:()=>m,supportsCurves:()=>p});var n=r(4144),o=r(85036),a=r(17499);let i,u,c,s,l,m,p;function f(){return!!i&&(0,n.isLoaded)()}function d(){return(0,o.Q)("projectOperator","isLoaded","projectIsLoaded"),f()}async function h(){if(!f()){let[e,t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(1666)]).then(()=>r(78125)),Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(6129)]).then(()=>r(86129)),(0,n.load)()]);i=e.fromGeometry,u=e.fromSpatialReference,c=e.getSpatialReference,s=e.toGeometry,l=t.createProjectionTransformation,m=(0,n.supportsCurves)(),p=m}}function y(){return(0,o.Q)("projectOperator","load","projectLoad"),h()}function x(e,t,r){let o=c(e),m=l(u(o),u(t),r),p=s((0,n.execute)(i(e),m),t);return!r?.zConversionDisabled&&p?.hasZ&&(0,a.g)([p],o,t),p}function G(e,t,r){return(0,o.Q)("projectOperator","execute","projectExecute"),x(e,t,r)}function g(e,t,r){let o=e.map(i),m=c(e),p=l(u(m),u(t),r),f=(0,n.executeMany)(o,p).map(e=>s(e,t));return!r?.zConversionDisabled&&f&&(0,a.g)(f,m,t),f}function j(e,t,r){return(0,o.Q)("projectOperator","executeMany","projectExecuteMany"),g(e,t,r)}},85036(e,t,r){r.d(t,{Q:()=>a});var n=r(51447),o=r(53966);function a(e,t,r){(0,n.io)(o.A.getLogger(`esri.geometry.operators.${e}`),`${t} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${r} instead.`,{replacement:r,warnOnce:!0})}},17499(e,t,r){r.d(t,{g:()=>a});var n=r(60408),o=r(62815);function a(e,t,r){let a;for(let i of e)if(i&&(0,n.Pv)(i)&&!("vertexAttributes"in i)){if(!a){let e="type"in i?i.type:(0,n.$B)(i);if(a=(0,o.N)(e,t,r),!a)return}a(i)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3394],{61691(e,t,r){r.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},12764(e,t,r){r.r(t),r.d(t,{OperatorGeodeticDistance:()=>n,makeOutput:()=>i.m});var s=r(32198),o=r(55537),i=r(22024);class n{getOperatorType(){return 10316}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}execute(e,t,r,s,o){return this.executeEx(e,t,r,s,o,null,null,NaN)}executeEx(e,t,r,n,m,u,a,l){let c={stack:[],error:void 0,hasError:!1};try{if(0===r.getCoordinateSystemType()&&(0,o.t)(""),(0,o.c)(e),(0,o.c)(t),e.isEmpty()||t.isEmpty())return NaN;Number.isNaN(l)&&(l=Number.MAX_VALUE);let h=(0,s.mS)(c,new i.G(r,n,m,l,1),!1),G=(0,i.m)(),p=(0,i.m)(),y=h.calculate(e,t,G,p);return u&&u.outPoint.assign(G.outPoint),a&&a.outPoint.assign(p.outPoint),y}catch(e){c.error=e,c.hasError=!0}finally{(0,s.hk)(c)}}}},76061(e,t,r){r.d(t,{S:()=>o});var s=r(61691);class o extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3518],{32198(e,t,r){function i(e,t,r,i){var n,s=arguments.length,o=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(o=(s<3?n(o):s>3?n(t,r,o):n(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function n(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var i,n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],r&&(n=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");n&&(i=function(){try{n.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:i,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>i,hk:()=>o,mS:()=>n}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var i=new Error(r);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};function o(e){function t(t){e.error=e.hasError?new s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,i=0;return function n(){for(;r=e.stack.pop();)try{if(!r.async&&1===i)return i=0,e.stack.push(r),Promise.resolve().then(n);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(s).then(n,function(e){return t(e),n()})}else i|=1}catch(e){t(e)}if(1===i)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},68197(e,t,r){r.d(t,{A:()=>p});var i=r(40876),n=r(4576),s=r(34727),o=r(78888);function l(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function a(e,t){let r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}function u(e){return.2126*(0,i.Q6)(e.r)+.7152*(0,i.Q6)(e.g)+.0722*(0,i.Q6)(e.b)}class p{static blendColors(e,t,r,i=new p){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){let r=(0,i.lT)(e);return r?p.fromArray(r,t):null}static fromHex(e,t=new p){let r=(0,i.oW)(e);return r?p.fromArray(r,t):null}static fromArray(e,t=new p){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){let r=(0,i.Eq)(e);return r?p.fromArray(r,t):null}static fromJSON(e){return null==e?void 0:new p([e[0],e[1],e[2],(e[3]??255)/255])}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null==this.a?1:this.a,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return this.toYiq()>=127}isLowContrastBlend(e,t=3){let r=e instanceof p?e:new p(e),i=u(this),n=u(r);return(Math.max(i,n)+.05)/(Math.min(i,n)+.05)<t}setColor(e){if("string"==typeof e)p.fromString(e,this);else if((0,n.yc)(e))p.fromArray(e,this);else{let t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof p||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){let t=e?.capitalize??!1,r=e?.digits??6,i=3===r||4===r,n=4===r||8===r,s=`#${a(this.r,i)}${a(this.g,i)}${a(this.b,i)}${n?a(Math.round(255*this.a),i):""}`;return t?s.toUpperCase():s}toYiq(){return.299*this.r+.587*this.g+.114*this.b}toCss(e=!1){let t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){let t=l(this.r),r=l(this.g),i=l(this.b);return 0===e||1!==this.a?[t,r,i,l(255*this.a)]:[t,r,i]}clone(){return new p(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}p.prototype.declaredClass="esri.Color"},40876(e,t,r){r.d(t,{Eq:()=>f,G1:()=>m,Q6:()=>w,TS:()=>s,V6:()=>n,Vm:()=>d,ay:()=>a,c1:()=>y,c4:()=>o,j5:()=>u,lT:()=>h,oW:()=>p,xV:()=>b});const i={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 n(e){return!!i[e]||!!i[e.toLowerCase()]}function s(e){return i[e]??i[e.toLowerCase()]}function o(e){return[...s(e)]}function l(e,t,r){r<0&&++r,r>1&&--r;let i=6*r;return i<1?e+(t-e)*i:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,i=1){let n=(e%360+360)%360/360,s=r<=.5?r*(t+1):r+t-r*t,o=2*r-s;return[Math.round(255*l(o,s,n+1/3)),Math.round(255*l(o,s,n)),Math.round(255*l(o,s,n-1/3)),i]}function u(e){let t=e.length>5,r=t?8:4,i=(1<<r)-1,n=t?1:17,s=t?9===e.length:5===e.length,o=Number("0x"+e.slice(1));if(isNaN(o))return null;let l,a=[0,0,0,1];return s&&(l=o&i,o>>=r,a[3]=n*l/255),l=o&i,o>>=r,a[2]=n*l,l=o&i,o>>=r,a[1]=n*l,l=o&i,o>>=r,a[0]=n*l,a}function p(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{let t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,i+16*i,(n+16*n)/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 h(e){let t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){let e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){let t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),c(t)}return c(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function c(e){return e[0]=y(e[0]),e[1]=y(e[1]),e[2]=y(e[2]),e[3]=4===e.length?m(e[3]):1,e}function f(e){let t=n(e)?s(e):null;return t??=h(e),t??=p(e),t}function d(e){let t=f(e);return null==t?null:[t[0]/255,t[1]/255,t[2]/255,t[3]]}function m(e){return g(e,0,1)}function y(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=1/2.2;function w(e){return e**2.2}function b(e){return e**v}r.d(t,["iw",0,v])},69540(e,t,r){var i=r(32198),n=r(56372),s=(r(44208),r(4718)),o=(r(53966),r(97768)),l=r(88620),a=r(64108);const u=Symbol("ClonableMixin"),p=e=>{var t;let r=e,n=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){let t=(0,l.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");let r=t.metadata,i=t.store,n={},a=new Map;for(let t in r){let o=r[t],l=i?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;let p=this[t],h=null;if("function"==typeof u)h=u(p,e);else if("reference"===u)h=p;else if(h=(0,s.TU)(p,e),null!=p&&null==h)continue;0===l?a.set(t,h):n[t]=h}let u=new(Object.getPrototypeOf(this).constructor)(n);if(a.size){let e=(0,l.oY)(u)?.store;if(e)for(let[t,r]of a)e.set(t,r,0)}return u}};return n=(0,i.Cg)([(0,a.$K)("esri.core.Clonable")],n),n},h=p(n.A);r.d(t,["OU",0,p,"Pw",0,h])},95488(e,t,r){r.d(t,{I:()=>n});var i=r(11406);class n extends i.T{notify(){let e=this._observers;if(e&&e.length>0){let t=e.slice();for(let e of t)e.onInvalidated(),e.onCommitted()}}}},48526(e,t,r){r.d(t,{A:()=>y});var i,n=r(32198),s=r(4576),o=r(4718),l=r(91429),a=r(5443),u=r(91075),p=r(86738),h=r(16930),c=r(90634),f=r(47610),d=r(56993),m=r(43937);let y=i=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:i,spatialReference:n}=e;switch(t??=[],t?.at(0)?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return n??=h.A.WGS84,{...e,hasM:r,hasZ:i,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){let e=(0,c.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){let{points:e,spatialReference:t,hasM:r,hasZ:n}=this;return new i({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:n})}equals(e){if(this===e)return!0;if(null==e)return!1;let t=this.spatialReference,r=e.spatialReference;return!(null!=t!=(null!=r)||null!=t&&null!=r&&!t.equals(r))&&(0,s.aI)(this.points,e.points,f.v6)}addPoint(e){return(0,d.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;let t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference},i=2;return this.hasZ&&(r.z=t[2],i=3),this.hasM&&(r.m=t[i]),new p.A(r)}removePoint(e){if(!this._validateInputs(e))return null;let[t,r,i,n]=this.points.splice(e,1)[0],s=new p.A({x:t,y:r,z:i,m:n,spatialReference:this.spatialReference});return this.notifyChange("points"),s}setPoint(e,t){return this._validateInputs(e)&&((0,d.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points")),this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,n.Cg)([(0,l.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,n.Cg)([(0,l.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,n.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=i=(0,n.Cg)([(0,l.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>d});var i,n=r(32198),s=r(4718),o=r(91429),l=r(5443),a=r(91075),u=r(86738),p=r(16930),h=r(90634),c=r(56993),f=r(43937);let d=i=class extends a.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:i,spatialReference:n}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return n??=p.A.WGS84,{...e,hasM:r,hasZ:i,paths:t,spatialReference:n}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){let e=(0,h.Z3)(this),{spatialReference:t}=this;return e?new l.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;let t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){let i=[];for(let t=0,r=e.length;t<r;t++)i[t]=e[t].toArray();t[r]=i}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){let e=new i;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;let r=this.paths[e][t],i=this.hasZ,n=this.hasM;return i&&!n?new u.A({x:r[0],y:r[1],z:r[2],spatialReference:this.spatialReference}):n&&!i?new u.A({x:r[0],y:r[1],m:r[2],spatialReference:this.spatialReference}):i&&n?new u.A({x:r[0],y:r[1],z:r[2],m:r[3],spatialReference:this.spatialReference}):new u.A({x:r[0],y:r[1],spatialReference:this.spatialReference})}insertPoint(e,t,r){return this._validateInputs(e,t,!0)&&((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths")),this}removePath(e){if(!this._validateInputs(e,null))return null;let t=this.paths.splice(e,1)[0],r=this.spatialReference,i=t.map(e=>new u.A({x:e[0],y:e[1],z:e[2],m:e[3],spatialReference:r}));return this.notifyChange("paths"),i}removePoint(e,t){if(!this._validateInputs(e,t))return null;let[r,i,n,s]=this.paths[e].splice(t,1)[0],o=new u.A({x:r,y:i,z:n,m:s,spatialReference:this.spatialReference});return this.notifyChange("paths"),o}setPoint(e,t,r){return this._validateInputs(e,t)&&((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths")),this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){let i=this.paths[e];if(r&&(t<0||t>i.length)||!r&&(t<0||t>=i.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,n.Cg)([(0,f.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,n.Cg)([(0,f.K)("paths")],d.prototype,"writePaths",null),d=i=(0,n.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,r){function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function p(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>p,Rg:()=>o,U9:()=>n,W0:()=>h,ZC:()=>i,fT:()=>s,uW:()=>a})},65864(e,t,r){r.d(t,{rS:()=>p,xD:()=>c});var i=r(5443),n=r(91075),s=r(48526),o=r(86738),l=r(39829),a=r(82799),u=r(60408);function p(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?i.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function c(e){return e&&h[e]||null}},50498(e,t,r){var i=r(66552),n=r(5443),s=r(91075),o=r(48526),l=r(86738),a=r(39829),u=r(82799);const p=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),c={base:s.A,key:"type",typeMap:{extent:n.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},f=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});r.d(t,["Ye",0,h,"gy",0,p,"iI",0,f,"yR",0,c])},43163(e,t,r){r.d(t,{A:()=>d});var i,n=r(32198),s=r(91429),o=r(5443),l=r(86738),a=r(10333),u=r(36005),p=r(43937),h=r(93223);function c(e,t,r){let{x:i,y:n}=t;if(r<2)return{x:e[0]+i*e[2]+n*e[4],y:e[1]+i*e[3]+n*e[5]};if(2===r){let t=i*i,r=n*n,s=i*n;return{x:e[0]+i*e[2]+n*e[4]+t*e[6]+s*e[8]+r*e[10],y:e[1]+i*e[3]+n*e[5]+t*e[7]+s*e[9]+r*e[11]}}let s=i*i,o=n*n,l=i*n,a=s*i,u=s*n,p=i*o,h=n*o;return{x:e[0]+i*e[2]+n*e[4]+s*e[6]+l*e[8]+o*e[10]+a*e[12]+u*e[14]+p*e[16]+h*e[18],y:e[1]+i*e[3]+n*e[5]+s*e[7]+l*e[9]+o*e[11]+a*e[13]+u*e[15]+p*e[17]+h*e[19]}}function f(e,t,r){let{xmin:i,ymin:n,xmax:s,ymax:l,spatialReference:a}=t,u=[];if(r<2)u.push({x:i,y:l}),u.push({x:s,y:l}),u.push({x:i,y:n}),u.push({x:s,y:n});else{let e=10;for(let t=0;t<e;t++)u.push({x:i,y:n+(l-n)*t/(e-1)}),u.push({x:s,y:n+(l-n)*t/(e-1)});e=8;for(let t=1;t<=e;t++)u.push({x:i+(s-i)*t/e,y:n}),u.push({x:i+(s-i)*t/e,y:l})}u=u.map(t=>c(e,t,r));let p=u.map(e=>e.x),h=u.map(e=>e.y);return new o.A({xmin:Math.min.apply(null,p),xmax:Math.max.apply(null,p),ymin:Math.min.apply(null,h),ymax:Math.max.apply(null,h),spatialReference:a})}let d=i=class extends a.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){let{coeffX:r,coeffY:i}=t;if(!r?.length||!i?.length||r.length!==i.length)return null;let n=[];for(let e=0;e<r.length;e++)n.push(r[e]),n.push(i[e]);return n}writeForwardCoefficients(e,t,r){let i=[],n=[];for(let t=0;t<e?.length;t++)t%2==0?i.push(e[t]):n.push(e[t]);t.coeffX=i,t.coeffY=n}get inverseCoefficients(){let e=this._get("inverseCoefficients"),t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){let[t,r,i,n,s,o]=e,l=i*o-s*n,a=s*n-i*o;return[(s*r-t*o)/l,(i*r-t*n)/a,o/l,n/a,-s/l,-i/a]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){let{inverseCoeffX:r,inverseCoeffY:i}=t;if(!r?.length||!i?.length||r.length!==i.length)return null;let n=[];for(let e=0;e<r.length;e++)n.push(r[e]),n.push(i[e]);return n}writeInverseCoefficients(e,t,r){let i=[],n=[];for(let t=0;t<e?.length;t++)t%2==0?i.push(e[t]):n.push(e[t]);t.inverseCoeffX=i,t.inverseCoeffY=n}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){let t=c(this.forwardCoefficients,e,this.polynomialOrder);return new l.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){let t=c(this.inverseCoefficients,e,this.polynomialOrder);return new l.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new i({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"polynomialOrder",void 0),(0,n.Cg)([(0,s.MZ)()],d.prototype,"forwardCoefficients",void 0),(0,n.Cg)([(0,u.w)("forwardCoefficients",["coeffX","coeffY"])],d.prototype,"readForwardCoefficients",null),(0,n.Cg)([(0,p.K)("forwardCoefficients")],d.prototype,"writeForwardCoefficients",null),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"inverseCoefficients",null),(0,n.Cg)([(0,u.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],d.prototype,"readInverseCoefficients",null),(0,n.Cg)([(0,p.K)("inverseCoefficients")],d.prototype,"writeInverseCoefficients",null),(0,n.Cg)([(0,s.MZ)()],d.prototype,"affectsPixelSize",null),(0,n.Cg)([(0,h.e)({PolynomialXform:"polynomial"})],d.prototype,"type",void 0),d=i=(0,n.Cg)([(0,s.$K)("esri.layers.raster.transforms.PolynomialTransform")],d)},39357(e,t,r){r.d(t,{A:()=>l});var i,n=r(32198),s=r(25482),o=r(91429);let l=i=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new i({name:this.name,code:this.code})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=i=(0,n.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],l)},53177(e,t,r){r.d(t,{A:()=>p});var i,n=r(32198),s=r(4718),o=r(91429),l=r(39357),a=r(76357),u=r(93223);let p=class extends a.A{static{i=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){let r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new i({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,n.Cg)([(0,o.MZ)({type:[l.A],json:{write:{isRequired:!0}}})],p.prototype,"codedValues",void 0),(0,n.Cg)([(0,u.e)({codedValue:"coded-value"})],p.prototype,"type",void 0),p=i=(0,n.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],p)},76357(e,t,r){r.d(t,{A:()=>u});var i=r(32198),n=r(66552),s=r(25482),o=r(91429),l=r(93223);const a=new n.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.e)(a),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},20437(e,t,r){r.d(t,{A:()=>d});var i,n=r(32198),s=r(66552),o=r(25482),l=r(91429),a=r(78888),u=r(8631),p=r(98453),h=r(36005),c=r(93223);const f=new s.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",marginOfError:"margin-of-error",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let d=class extends o.o{static{i=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch{}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch{}return r?f.fromJSON(r.fieldValueType):null}clone(){return new i({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,n.Cg)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"description",void 0),(0,n.Cg)([(0,h.w)("description")],d.prototype,"readDescription",null),(0,n.Cg)([(0,l.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],d.prototype,"domain",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,n.Cg)([(0,l.MZ)({type:a.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,n.Cg)([(0,c.e)(p.m)],d.prototype,"type",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"valueType",void 0),(0,n.Cg)([(0,h.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.Field")],d)},41628(e,t,r){r.d(t,{A:()=>a});var i,n=r(32198),s=r(91429),o=r(76357),l=r(93223);let a=class extends o.A{static{i=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new i({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,n.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],a.prototype,"maxValue",void 0),(0,n.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],a.prototype,"minValue",void 0),(0,n.Cg)([(0,l.e)({range:"range"})],a.prototype,"type",void 0),a=i=(0,n.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],a)},63966(e,t,r){r.r(t),r.d(t,{default:()=>O});var i=r(5443),n=r(86738),s=r(159),o=r(40951),l=r(94778),a=r(47520),u=r(14140);var p,h=r(99235),c=r(37373),f=r(51927),d=r(34251),m=r(75414),y=r(32198),g=r(91429),v=r(10333),w=r(93223);let b=p=class extends v.A{constructor(){super(...arguments),this.type="identity"}clone(){return new p}};(0,y.Cg)([(0,w.e)({IdentityXform:"identity"})],b.prototype,"type",void 0),b=p=(0,y.Cg)([(0,g.$K)("esri.layers.raster.transforms.IdentityTransform")],b);var C=r(43163);const x={GCSShiftXform:m.A,IdentityXform:b,PolynomialXform:C.A};var A=r(85676),S=r(491);function k(e){if(!e)return{result:null,transferList:[]};let{pixelBlock:t,transferList:r}=e.getTransferableObject();return{result:t,transferList:r}}class O{convertVectorFieldData(e){let t=u.A.fromJSON(e.pixelBlock),r=k((0,d.FI)(t,e.type));return Promise.resolve(r)}convertPixelBlockToFeatures(e){let t=(0,a.L)({pixelBlock:u.A.fromJSON(e.pixelBlock),extent:i.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}sampleVectorFieldData(e){let t=u.A.fromJSON(e.pixelBlock),r=k((0,d.Wu)(t,e.srcDataType,e.tileSize,e.offset,e.maximumVoidPercentage));return Promise.resolve(r)}transformPixels(e){let t=function(e,t,r){let{width:i,height:n,pixels:s}=e,o=[];o=e.bandMasks?e.bandMasks.map(e=>new Uint8Array(e)):s.map(()=>e.mask?new Uint8Array(e.mask):new Uint8Array(i*n).fill(255));let p=s.map((e,i)=>{switch(t){case"log":return function(e,t){let r=e.length,i=u.A.createEmptyBand("f32",r);for(let n=0;n<r;n++)if(t[n]){let r=e[n];r<=0?t[n]=0:i[n]=Math.log(r)}return i}(e,o[i]);case"sqrt":return function(e,t){let r=e.length,i=u.A.createEmptyBand("f32",r);for(let n=0;n<r;n++)if(t[n]){let r=e[n];r<0?t[n]=0:i[n]=Math.sqrt(r)}return i}(e,o[i]);case"inverse":return function(e,t){let r=e.length,i=u.A.createEmptyBand("f32",r),[n,s]=(0,l.hP)("f32");for(let o=0;o<r;o++)if(!t||t[o]){let t=1/e[o];i[o]=i[o]=Math.max(n,Math.min(t,s))}return i}(e,o[i]);case"box-cox":return function(e,t,r,i){let n=e.length,s=u.A.createEmptyBand("f32",n),[o,a]=(0,l.hP)("f32"),p=i?.lambda??0,h=i?.shift??0,c=0===p;for(let r=0;r<n;r++)if(t[r]){let i=e[r];if(i<=0)t[r]=0;else if(c)s[r]=Math.log(i+h);else{let e=((i+h)**p-1)/p;s[r]=Math.max(o,Math.min(e,a))}}return s}(e,o[i],0,r);default:return e}}),h="inverse"===t,c=h?e.mask:1===o.length?o[0]:(0,a.YD)(o),f=h?e.bandMasks:1===o.length?void 0:o;return new u.A({width:i,height:n,pixelType:"f32",bandMasks:f,mask:c,pixels:p})}(u.A.fromJSON(e.pixelBlock),e.transformType,e.transformParameters);return Promise.resolve(k(t))}computeStatisticsHistograms(e){let t=u.A.fromJSON(e.pixelBlock),r=(0,f.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(r)}compositeBands(e){let t=e.pixelBlocks.map(e=>e&&u.A.fromJSON(e)),r=k((0,a.Wy)(t));return Promise.resolve(r)}async decode(e,t){return k(await(0,o.D)(e.data,e.options,{signal:t?.signal}))}symbolize(e){let t=e.pixelBlock?u.A.fromJSON(e.pixelBlock):null,r=e.extent?i.A.fromJSON(e.extent):null,n=k(this.symbolizer.symbolize({...e,pixelBlock:t,extent:r}));return Promise.resolve(n)}highlightPixels(e){let t=u.A.fromJSON(e.pixelBlock),r=u.A.fromJSON(e.renderedPixelBlock);return(0,a._F)({pixelBlock:t,renderedPixelBlock:r,highlightOptions:e.highlightOptions}),Promise.resolve(r.toJSON())}async updateSymbolizer(e){this.symbolizer=A.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,h.vt)(e.rasterFunctionJSON)}async process(e){return k(this.rasterFunction.process({extent:i.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null==e?null:u.A.fromJSON(e)),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null==e?null:n.A.fromJSON(e)),primaryRasterIds:e.primaryRasterIds},e.parameters))}stretch(e){let t=k(this.symbolizer.simpleStretch(u.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){let t=(0,f.f4)(u.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){let t,r=(0,a.lD)(u.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),i=[];return r&&(t=new Map,r.forEach((e,r)=>{if(e){let{pixelBlock:n,transferList:s}=e.getTransferableObject();t.set(r,n),s.forEach(e=>{i.includes(e)||i.push(e)})}})),Promise.resolve({result:t,transferList:i})}clipTile(e){let t=u.A.fromJSON(e.pixelBlock),r=k((0,a.J$)({...e,pixelBlock:t}));return Promise.resolve(r)}mosaicPixelData(e){let t=e.pixelData.map(e=>({extent:i.A.fromJSON(e.extent),pixelBlock:e.pixelBlock?u.A.fromJSON(e.pixelBlock):null})),r=i.A.fromJSON(e.destExtent),n=k((0,a.LY)(t,r)?.pixelBlock);return Promise.resolve(n)}async mosaicAndTransform(e){let t,r=e.srcPixelBlocks.map(e=>e?new u.A(e):null),i=(0,a.z7)(r,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize}),n=i;e.coefs&&(n=(0,a.$i)(i,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(t=(0,a.QF)(e.destDimension,e.gcsGrid),n=(0,d.Y2)(n,e.isUV?"vector-uv":"vector-magdir",t));let{result:s,transferList:o}=k(n);return{result:{pixelBlock:s,localNorthDirections:t},transferList:o}}async createFlowMesh(e,t){let r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:i,indexData:n,pathData:s}=await(0,S.CW)(e.meshType,e.simulationSettings,r,e.startInfo,t.signal);return{result:{vertexBuffer:i.buffer,indexBuffer:n.buffer,pathBuffer:s.buffer},transferList:[i.buffer,n.buffer]}}async getProjectionOffsetGrid(e){let t=i.A.fromJSON(e.projectedExtent),r=i.A.fromJSON(e.srcBufferExtent),n=null;e.datumTransformationSteps?.length&&(n=new s.A({steps:e.datumTransformationSteps})),await(0,c.Hh)();let o=e.rasterTransform?function(e){if(!e?.type)return null;let t=x[e?.type];if(t){let r=new t;return r.read(e),r}return null}(e.rasterTransform):null;return(0,c.l0)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:n,rasterTransform:o})}}},8631(e,t,r){r.d(t,{r:()=>c,g:()=>h});var i,n=r(53177),s=r(76357),o=r(32198),l=r(91429),a=r(93223);let u=class extends s.A{static{i=this}constructor(e){super(e),this.type="inherited"}clone(){return new i}};(0,o.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.InheritedDomain")],u);var p=r(41628);const h={key:"type",base:s.A,typeMap:{range:p.A,"coded-value":n.A,inherited:u}};function c(e){if(!e?.type)return null;switch(e.type){case"range":return p.A.fromJSON(e);case"codedValue":return n.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},98453(e,t,r){const i=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,i])},2485(e,t,r){r.d(t,{A:()=>h});var i,n=r(32198),s=r(68197),o=r(4718),l=r(91429),a=r(78888),u=r(72606),p=r(93223);let h=i=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new i({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,n.Cg)([(0,p.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],h.prototype,"algorithm",void 0),(0,n.Cg)([(0,l.MZ)({type:s.A,json:{type:[a.jz],write:{isRequired:!0}}})],h.prototype,"fromColor",void 0),(0,n.Cg)([(0,l.MZ)({type:s.A,json:{type:[a.jz],write:{isRequired:!0}}})],h.prototype,"toColor",void 0),(0,n.Cg)([(0,l.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),h=i=(0,n.Cg)([(0,l.$K)("esri.rest.support.AlgorithmicColorRamp")],h)},72606(e,t,r){r.d(t,{A:()=>o});var i=r(32198),n=r(25482),s=r(91429);let o=class extends n.o{constructor(e){super(e),this.type=null}};(0,i.Cg)([(0,s.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,i.Cg)([(0,s.$K)("esri.rest.support.ColorRamp")],o)},1626(e,t,r){r.d(t,{A:()=>h});var i,n=r(32198),s=r(4718),o=r(91429),l=r(2485),a=r(72606),u=r(43937),p=r(36005);let h=i=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,r,i){let n=e?.map(e=>e.toJSON(i)),{weights:s}=this;if(n&&s?.length&&n.length===s?.length){let e=100/s.reduce((e,t)=>e+t),t=0;n.forEach((r,i)=>{r.start=t,t+=s[i]*e,r.stop=t})}t.colorRamps=n}readWeights(e,t){let r=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!r?.some(e=>e<0))return r}clone(){return new i({colorRamps:(0,s.o8)(this.colorRamps)})}};(0,n.Cg)([(0,o.MZ)({type:[l.A],json:{write:{isRequired:!0}}})],h.prototype,"colorRamps",void 0),(0,n.Cg)([(0,u.K)("colorRamps")],h.prototype,"writeColorRamps",null),(0,n.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:[Number]})],h.prototype,"weights",void 0),(0,n.Cg)([(0,p.w)("weights",["colorRamps"])],h.prototype,"readWeights",null),h=i=(0,n.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],h)},95349(e,t,r){r.d(t,{r:()=>l});var i=r(2485),n=r(72606),s=r(1626);const o={key:"type",base:n.A,typeMap:{algorithmic:i.A,multipart:s.A}};function l(e){return e?.type?"algorithmic"===e.type?i.A.fromJSON(e):"multipart"===e.type?s.A.fromJSON(e):null:null}r.d(t,["g",0,o])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5856],{69397(e,t,r){r.d(t,{Qf:()=>a,Qh:()=>l,lM:()=>s,ro:()=>u,rq:()=>f});var n=r(44208),i=r(34275);function s(e){if(!e)return 0;let t=d;for(let r in e)e.hasOwnProperty(r)&&(t+=o(e[r],!1));return t}function l(e){if(!e)return 0;if("number"==typeof e[0])return a(e);if(Array.isArray(e))return function(e){let t=e.length;if(0===t||"number"==typeof e[0])return f(e,8);let r=c;for(let n=0;n<t;n++)r+=o(e[n]);return r}(e);let t=d;for(let r in e)e.hasOwnProperty(r)&&(t+=o(e[r]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?l(e):d;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...e){return e.reduce((e,t)=>e+u(t),0)}function u(e,t=16){return e?(0,i.iu)(e)?e.byteLength+g:Array.isArray(e)?f(e,t):0:0}function f(e,t){return c+e.length*t}const d=32,c=16,h=(0,n.A)("ios")||!(0,n.A)("chrome")&&!(0,n.A)("opr")?8:4,g=145;r.d(t,["JY",0,h])},35856(e,t,r){r.r(t),r.d(t,{SplatSortWorkerInput:()=>i,SplatSortWorkerOutput:()=>s,clear:()=>v,destroy:()=>A,sort:()=>b});var n=r(69397);class i{constructor({addedTiles:e,removedTileHandles:t,visibleTileHandles:r,sortedAtlasIndices:n,numGaussians:i,directionX:s,directionY:l,directionZ:o,preciseSort:a=!1}){this.addedTiles=e,this.removedTileHandles=t,this.visibleTileHandles=r,this.sortedAtlasIndices=n,this.numGaussians=i,this.directionX=s,this.directionY=l,this.directionZ=o,this.preciseSort=a}}class s{constructor(e,t){this.sortedAtlasIndices=e,this.usedMemory=t}}let l=null,o=0,a=null,u=0,f=null,d=0;const c=new Map;function h(){let e=(0,n.Qf)(l,a,f);for(let t of c.values())e+=(0,n.Qh)(t);return e}function g(e,t){let r=Math.max(1,e);for(;r<t;)r=Math.ceil(1.5*r);return r}function p(e){e>o&&(o=g(o,e),l=new Uint32Array(o)),l.fill(0,0,e)}function m(e){e<=u||(u=g(u,e),a=new Float64Array(u))}function w(e){return e>d&&(d=g(d,e),f=new Uint32Array(d)),f}function y(e,t,r,n,i){let s=e.length,o=Math.max(10,Math.min(20,Math.round(Math.log2(s/.25)))),a=1+(1<<o);p(a);let u=l,f=i-n,d=f>=1e-6,h=d?(1<<o)/f:0;if(d)for(let t=0;t<s;t++)u[(e[t]-n)*h>>>0]++;else u[0]=s;let g=u[0];for(let e=1;e<a;e++)g+=u[e],u[e]=g;let m=0;for(let i=0;i<t.length;i++){let s=c.get(t[i]);if(null==s)throw Error("Gaussian splat sort worker is missing resident tile data");let l=m+s.gaussianCount;for(let t=0;t<s.pageIds.length&&m<l;t++){let i=1024*s.pageIds[t],o=Math.min(l-m,1024);for(let t=0;t<o;t++,m++)r[--u[d?(e[m]-n)*h>>>0:0]]=i+t}}if(m!==s)throw Error("Gaussian splat sort worker received inconsistent resident tile data")}async function b(e){let{addedTiles:t,removedTileHandles:r,visibleTileHandles:n,sortedAtlasIndices:i,numGaussians:l,directionX:o,directionY:u,directionZ:f,preciseSort:d}=e;for(let e=0;e<r.length;e++)c.delete(r[e]);for(let e=0;e<t.length;e++){let r=t[e];c.set(r.handle,r)}if(0===l)return{result:new s(i,h()),transferList:[i.buffer]};m(l);let g=a.subarray(0,l),p=i.subarray(0,l),b=0,A=1/0,v=-1/0;for(let e=0;e<n.length;e++){let t=c.get(n[e]);if(null==t)throw Error("Gaussian splat sort worker is missing resident tile data");let{relativePositions:r,gaussianCount:i,originX:s,originY:l,originZ:a}=t,d=b+i,h=o*s+u*l+f*a;for(let e=0;b<d;b++,e+=3){let t=r[e]*o+r[e+1]*u+r[e+2]*f+h;g[b]=t,A=Math.min(A,t),v=Math.max(v,t)}}if(b!==l)throw Error("Gaussian splat sort worker received inconsistent resident tile data");if(d){let e=w(l).subarray(0,l);!function(e,t){let r=0;for(let n=0;n<e.length;n++){let i=c.get(e[n]);if(null==i)throw Error("Gaussian splat sort worker is missing resident tile data");let s=r+i.gaussianCount;for(let e=0;e<i.pageIds.length&&r<s;e++){let n=1024*i.pageIds[e],l=Math.min(s-r,1024);for(let e=0;e<l;e++,r++)t[r]=n+e}}if(r!==t.length)throw Error("Gaussian splat sort worker received inconsistent resident tile data")}(n,e);let t=Array(l);for(let e=0;e<l;e++)t[e]=e;t.sort((e,t)=>g[e]-g[t]||e-t);for(let r=0;r<l;r++)p[r]=e[t[r]]}else l>0&&y(g,n,p,A,v);return{result:new s(i,h()),transferList:[i.buffer]}}function A(){v()}function v(){c.clear(),a=null,u=0,f=null,d=0,l=null,o=0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5227],{15227(e,t,n){n.d(t,{execute:()=>o,yv:()=>f});var r=n(76061),i=n(61691),s=n(55537),u=n(39117),m=n(79187),a=n(86870);class c extends i.G{m_inputGeoms;m_spatialReference;m_progressTracker;m_bufferer;m_distances;m_maxDeviation;m_maxVerticesInFullCircle;m_currentUnionEnvelope2D=new m.Envelope2D;m_index=-1;m_dindex=-1;constructor(e,t,n,r,i,s,u){super(),this.m_progressTracker=u,this.m_bufferer=new a.B(u),this.m_inputGeoms=e,this.m_spatialReference=t,this.m_distances=n,this.m_maxDeviation=r,this.m_maxVerticesInFullCircle=i}tock(){return!0}getRank(){return 1}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,s.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(e,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(e,t){return this.m_bufferer.buffer(e,t,this.m_spatialReference,0,0,4,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const l=new class{getOperatorType(){return 10004}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,r,i){return this.executeManyEx(e,t,n,NaN,96,r,i)}execute(e,t,n,i){Number.isFinite(n)||(0,s.t)("Invalid distance for buffer operation");let u=new r.S([e]),m=[n],a=this.executeMany(u,t,m,!1,i).next();return a||(0,s.d)("null buffer output"),a}executeManyEx(e,t,n,r,i,m,a){if(void 0!==n.find(e=>!Number.isFinite(e))&&(0,s.t)("Invalid distance for buffer operation"),m){let s=new c(e,t,n,r,i,!1,a);return(new u.a5).executeMany(s,t,a,2)}return new c(e,t,n,r,i,!1,a)}};function o(e,t,n){return l.execute(e,t,n,null)}function f(e,t,n,i,s,u){let m=l.executeManyEx(new r.S(e),t,n,i,s,u,null);return Array.from(m)}}}]);