@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([[146],{25728(e,t,r){r.d(t,{M:()=>_});var i=r(32198),s=r(56372),l=r(76953),a=r(4718);class o{constructor(){this._propertyOriginMap=new Map,this._originStores=Array(8),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){let t=new o,r=this._originStores[0];r&&r.forEach((e,r)=>{t.set(r,(0,a.o8)(e),0)});for(let r=2;r<8;r++){let i=this._originStores[r];i&&i.forEach((i,s)=>{e&&e.has(s)||t.set(s,(0,a.o8)(i),r)})}return t}get(e,t){let r=void 0===t?this._values:this._originStores[t];return r?r.get(e):void 0}keys(e){let t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,r=7){let i=this._originStores[r];if(i||(i=new Map,this._originStores[r]=i),i.set(e,t),!this._values.has(e)||this._propertyOriginMap.get(e)<=r){let i=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,r),i!==t}return!1}delete(e,t=7){let r=this._originStores[t];if(!r)return;let i=r.get(e);if(r.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let r=t-1;r>=0;r--){let t=this._originStores[r];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,r);break}}}return i}has(e,t){let r=void 0===t?this._values:this._originStores[t];return!!r&&r.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;let r=this._originStores[t]?.get(e),i=this._values.get(e);return this._values.set(e,r),this._propertyOriginMap.set(e,t),i!==r}originOf(e){return this._propertyOriginMap.get(e)||0}isAtOrigin(e,t){return this.has(e,t)&&this.originOf(e)===t}isBelowOrigin(e,t){return!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(e)}}var n=r(35666),u=r(45917),p=r(88620),h=r(64108);const d=e=>{let t=e,r=class extends t{constructor(...e){super(...e);let t=(0,p.oY)(this),r=t.store,i=new o;t.store=i,(0,l.k)(t,r,i)}read(e,t){(0,u.L)(this,e,t)}getAtOrigin(e,t){let r=c(this),i=(0,n.aB)(t);return r.get(e,i)}originOf(e){return(0,n.OL)(this.originIdOf(e))}originIdOf(e){return c(this).originOf(e)}revertToOrigin(e,t){let r=c(this),i=(0,n.aB)(t),s=(0,p.oY)(this);"*"===e&&r.keys(i).forEach(e=>this.revertToOrigin(e,t)),s.invalidate(e),r.revert(e,i),s.commit(e)}revertAllToOrigin(e){let t=c(this),r=(0,n.aB)(e);t.keys(r).forEach(t=>this.revertToOrigin(t,e))}};return r=(0,i.Cg)([(0,h.$K)("esri.core.ReadOnlyMultiOriginJSONSupport")],r),r};function c(e){return(0,p.oY)(e).store}d(s.A);var g=r(91429),f=r(16649),y=r(49422);const m=e=>{let t=e,r=class extends t{constructor(...e){super(...e)}clear(e,t="user"){(0,p.oY)(this).clearOrigin(e,(0,n.aB)(t))}write(e,t){return e||={},(0,y.M)(this,e,t),e}setAtOrigin(e,t,r){(0,p.oY)(this).setAtOrigin(e,t,(0,n.aB)(r))}removeOrigin(e){let t=v(this),r=(0,n.aB)(e),i=t.keys(r);for(let e of i)t.originOf(e)===r&&t.set(e,t.get(e,r),7)}updateOrigin(e,t){let r=v(this),i=(0,n.aB)(t),s=(0,f.Jt)(this,e);for(let t=i+1;t<8;++t)r.delete(e,t);r.set(e,s,i)}toJSON(e){return this.write({},e)}};return r=(0,i.Cg)([(0,g.$K)("esri.core.WriteableMultiOriginJSONMixin")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function v(e){return(0,p.oY)(e).store}const _=e=>{let t=m(d(e)),r=class extends t{};return r=(0,i.Cg)([(0,h.$K)("esri.core.MultiOriginJSONSupport")],r),r};_(s.A)},60999(e,t,r){r.d(t,{DZ:()=>g,Ke:()=>c,QA:()=>f,Tj:()=>p,UT:()=>y,aD:()=>v,jJ:()=>u});var i=r(32198),s=r(56372),l=r(97768),a=r(17676),o=r(10107),n=r(64108);function u(e,t,r){return(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function p(e,t,r){return(await(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function c(e){if(null==e)return{ok:!1,error:Error("no promise provided")};try{return h(await e)}catch(e){return d(e)}}async function g(e){try{return h(await e)}catch(e){return(0,a.QP)(e),d(e)}}function f(e){if(!0===e.ok)return e.value;throw e.error}function y(e,t){return new m(e,t)}let m=class extends s.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super(),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,l.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,a.u7)(t,this.abort)}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,l.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,o.MZ)()],m.prototype,"value",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"error",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"finished",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"promise",void 0),(0,i.Cg)([(0,o.MZ)()],m.prototype,"_result",void 0),m=(0,i.Cg)([(0,n.$K)("esri.core.asyncUtils.ReactiveTask")],m);class v{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});let t=await e;return{[Symbol.dispose]:t}}async run(e){let t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},146(e,t,r){r.r(t);var i=r(32198),s=r(49186),l=r(25728),a=r(76030),o=r(91429),n=r(4146),u=r(8303);let p=class extends((0,u.A)((0,l.M)(n.A))){constructor(e){super(e),this.resourceInfo=null,this.type="unknown"}initialize(){this.addResolvingPromise(new Promise((e,t)=>{(0,a._)(()=>{let e=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type),r="Unknown layer type";e&&(r+=" "+e),t(new s.A("layer:unknown-layer-type",r,{layerType:e}))})}))}read(e,t){super.read({resourceInfo:e},t)}write(e,t){return null}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"resourceInfo",void 0),(0,i.Cg)([(0,o.MZ)({type:["show","hide"]})],p.prototype,"listMode",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!1},readOnly:!0,value:"unknown"})],p.prototype,"type",void 0),p=(0,i.Cg)([(0,o.$K)("esri.layers.UnknownLayer")],p);const h=p;r.d(t,["default",0,h])},8303(e,t,r){var i=r(32198),s=r(92602),l=r(70333),a=r(56507),o=r(60999),n=r(49186),u=r(36563),p=r(53966),h=r(97768),d=r(17676),c=r(84952),g=r(91429),f=r(77548),y=r(20655),m=r(80812),v=r(41318),_=r(10407),w=r(26121),I=r(36005),E=r(43937);const O={credential:null,user:null};r.d(t,["A",0,e=>{let t=e,P=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,h.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{let{load:i}=await r.e(1204).then(()=>r(41204));return(0,d.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||p.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e,t){if(!this.loaded||!this.portalItem?.id)return!1;let i=t?.signal?null:new AbortController;try{let{reload:s}=await r.e(1204).then(()=>r(41204));return i&&this.addHandles((0,u.rE)(i),"reloadFromPortal"),await s({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t?.signal?t:{signal:i.signal})}catch(e){throw(0,d.zf)(e)||p.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{i&&this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!s.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{let{features:{edit:r,fullEdit:i},content:{updateItem:s}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",s)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);let i,s,a=!l.id?.findCredential(this.url),o=e===r.id;if(o&&r.portal.user)return this._getUserPrivileges(r,a);if(o)i=r.portal.url;else try{i=await(0,f.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!i||!(0,c.b8)(i,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{let e=null==t?null:t.signal;s=await(l.id?.getCredential(`${i}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}if(!s)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(o?await r.reload():(r=new m.default({id:e,portal:{url:i}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,a)}catch(e){(0,d.QP)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}_getUserPrivileges(e,t){let r=(0,_.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){let t=this.url?l.id?.findCredential(this.url):null;if(!t)return!0;let r=O.credential===t?O.user:await this._fetchEditingUser(e);return O.credential=t,O.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){let t=this.portalItem?.portal?.user;if(t)return t;let r=l.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;let i=`${r.owningSystemUrl}/sharing/rest`,s=y.A.getDefault();if(s&&s.loaded&&(0,c.S8)(s.restUrl)===(0,c.S8)(i))return s.user;let n=`${i}/community/self`,u=null==e?null:e.signal,p=await(0,o.Ke)((0,a.A)(n,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?v.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){return(0,w.wN)(this.portalItem,t)?(t?.messages?.push(new n.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,g.MZ)({type:m.default})],P.prototype,"portalItem",null),(0,i.Cg)([(0,I.w)("web-document","portalItem",["itemId"])],P.prototype,"readPortalItem",null),(0,i.Cg)([(0,E.K)("web-document","portalItem",{itemId:{type:String}})],P.prototype,"writePortalItem",null),(0,i.Cg)([(0,g.MZ)({clonable:!1})],P.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasUpdateItemPrivileges",void 0),P=(0,i.Cg)([(0,g.$K)("esri.layers.mixins.PortalLayer")],P),P}])},10407(e,t,r){r.d(t,{It:()=>c,LG:()=>a,OM:()=>u,Sm:()=>p,Y:()=>o,bK:()=>n,sQ:()=>h});var i=r(99917),s=r(16930),l=r(28735);function a(e,t){if(!o(e,t)){let r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function n(e){return o(e,d.HOSTED_SERVICE)}function u(e,t){let r=e.typeKeywords;if(r){let e=r.indexOf(t);e>-1&&r.splice(e,1)}}function p(e,t,r){r?a(e,t):u(e,t)}async function h(e){let t,r=e.clone().normalize();if(r.length>1)for(let e of r)t?e.width>t.width&&(t=e):t=e;else t=r[0];return async function(e){let t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,l.ci)(e);let r=s.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(t)}const d={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function c(e){let{portal:t,isOrgItem:r,itemControl:i}=e,s=t.user?.privileges,l=!s||s.includes("features:user:edit"),a=!!r&&!!s?.includes("features:user:fullEdit"),o="update"===i||"admin"===i;return o?a=l=!0:a&&(l=!0),{features:{edit:l,fullEdit:a},content:{updateItem:o}}}r.d(t,["mm",0,d])},26121(e,t,r){r.d(t,{I6:()=>p,ci:()=>u,dL:()=>n,wN:()=>h});var i=r(49186),s=r(84952),l=r(77548),a=r(20655),o=r(59923);async function n(e){let t=[];for(let r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){let e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function u(e,t,r){let s=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new i.A(e,t,r));if(e.blockedRelativeUrls&&(s=s.concat(e.blockedRelativeUrls.map(e=>(0,o.GL)("url",`Relative url '${e}' is not supported`)))),r){let{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:i}=r;e&&(s=s.filter(({name:e})=>!(o.MG.has(e)||t.includes(e)))),i&&(s=s.filter(e=>"web-document-write:property-required"!==e.name))}if(s.length>0)throw new i.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:s})}function p(e){return(0,l.qd)(e).some(e=>!!e.charts?.length)}function h(e,t){let r=t?.portal,i=e?.id&&(e.portal||a.A.getDefault());return!!r&&!!i&&!(0,s.ut)(i.restUrl,r.restUrl)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8169],{52106(e,t,i){i.d(t,{A:()=>w});var r,o,l=i(32198),s=i(40124),n=i(69540),a=i(51447),u=i(25482),p=i(53966),d=i(36708),g=i(24326),y=i(91429),h=i(12195),c=i(65864),m=i(50498),f=i(55156),b=i(60950),v=i(54339),M=i(94128),S=i(33910);const C=Symbol("meshGeometryHandles");function T(e){if(null==e)return null;let t={};for(let i in e){let r=e[i];r&&(t[i]=r.toJSON())}return 0===Object.keys(t).length?null:t}let w=class extends((0,n.OU)(u.o)){static{r=M.Z}static{o=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperties(this,{uid:{value:(0,g.c)(),configurable:!0},_lastMeshTransform:{value:{},configurable:!0,writable:!0,enumerable:!1}}),arguments.length>1&&(0,a.eF)(p.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){let t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){let t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){let t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){let t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){let t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){let t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new o({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;let t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;let i=this.origin&&"layer"in this.origin?this.origin.layer:null;for(let t of[i,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){let i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t}}getObjectId(){let e=(0,f.I)(this.origin);if(e)return(0,v.r)(this,e);let t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){let e=(0,f.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);let t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){let e={aggregateGeometries:T(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){let{geometry:t}=this;if("mesh"===t?.type){let i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;let o={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(o.action=r),"attributes"===e&&(o.attributeName=r),this.layer.graphicChanged(o)}_watchMeshGeometryChanges(){this.removeHandles(C);let e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,d.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{(this._lastMeshTransform.localMatrix!==e||this._lastMeshTransform.origin!==t)&&(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,d.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],C)}};(0,l.Cg)([(0,y.MZ)({value:null,json:{read:function(e){if(!e)return null;let t={};for(let i in e){let r=(0,c.rS)(e[i]);r&&(t[i]=r)}return 0===Object.keys(t).length?null:t}}})],w.prototype,"aggregateGeometries",null),(0,l.Cg)([(0,y.MZ)({value:null})],w.prototype,"attributes",null),(0,l.Cg)([(0,y.MZ)({value:null,types:m.yR,json:{read:c.rS}})],w.prototype,"geometry",null),(0,l.Cg)([(0,y.MZ)()],w.prototype,"distance",void 0),(0,l.Cg)([(0,y.MZ)({type:Boolean})],w.prototype,"isAggregate",void 0),(0,l.Cg)([(0,y.MZ)({clonable:!1})],w.prototype,"layer",void 0),(0,l.Cg)([(0,y.MZ)({clonable:"reference"})],w.prototype,"origin",void 0),(0,l.Cg)([(0,y.MZ)({type:s.A,value:null})],w.prototype,"popupTemplate",null),(0,l.Cg)([(0,y.MZ)({clonable:"reference"})],w.prototype,"sourceLayer",void 0),(0,l.Cg)([(0,y.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],w.prototype,"statisticsAggregatedIds",void 0),(0,l.Cg)([(0,y.MZ)({value:null,types:S.Es})],w.prototype,"symbol",null),(0,l.Cg)([(0,y.MZ)({clonable:!1,json:{read:!1,write:!1}})],w.prototype,"_version",void 0),(0,l.Cg)([(0,y.MZ)({type:Boolean,value:!0})],w.prototype,"visible",null),w=o=(0,l.Cg)([(0,y.$K)("esri.Graphic")],w)},6797(e,t,i){i.d(t,{Ui:()=>g});var r=i(56372),o=i(7762),l=i(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function n(e){return e instanceof r.A}function a(e){return e instanceof o.A?Object.keys(e.items):n(e)?(0,l.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof o.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function d(e,t){let i=e.diff;if(i&&"function"==typeof i)return i(e,t);let r=a(e),o=a(t);if(0===r.length&&0===o.length)return;if(!r.length||!o.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};let l=o.filter(e=>!r.includes(e)),g=r.filter(e=>!o.includes(e)),y=r.filter(i=>o.includes(i)&&u(e,i)!==u(t,i)).concat(l,g).sort(),h=p(e);if(h&&s.has(h)&&y.length)return{type:"complete",oldValue:e,newValue:t};let c,m=n(e)&&n(t);for(let r of y){let o,l=u(e,r),s=u(t,r);if((m||"function"!=typeof l&&"function"!=typeof s)&&l!==s&&(null!=l||null!=s)){if(i&&i[r]&&"function"==typeof i[r])o=i[r]?.(l,s);else if(l instanceof Date&&s instanceof Date){if(l.getTime()===s.getTime())continue;o={type:"complete",oldValue:l,newValue:s}}else o="object"==typeof l&&"object"==typeof s&&p(l)===p(s)?d(l,s):{type:"complete",oldValue:l,newValue:s};null!=o&&(null==c?c={type:"partial",diff:{[r]:o}}:c.diff[r]=o)}}return c}function g(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},55156(e,t,i){i.d(t,{I:()=>o});const r=Symbol("idFieldsProviderSymbol");function o(e){return(t=e)&&r in t?e[r]:void 0;var t}i.d(t,["e",0,r])},54339(e,t,i){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let i=[];for(let r of t.fieldNames)i.push(e.attributes[r]??null);return JSON.stringify(i)}}}function o(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>r,r:()=>o})},52136(e,t,i){var r=i(32198),o=i(91429);i.d(t,["p",0,e=>{let t=e,i=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null==e?(this._clearOverride("apiKey"),this.clear("apiKey","user")):this._override("apiKey",e)}};return(0,r.Cg)([(0,o.MZ)({type:String})],i.prototype,"apiKey",null),i=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.APIKeyMixin")],i),i}])},28032(e,t,i){i.d(t,{A:()=>a});var r=i(32198),o=i(69540),l=i(25482),s=i(91429),n=i(56400);let a=class extends((0,o.OU)(l.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,s.MZ)()],a.prototype,"creatorField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"creationDateField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"editorField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"editDateField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"realm",void 0),(0,r.Cg)([(0,s.MZ)((0,n.P6)("dateFieldsTimeReference",!0))],a.prototype,"timeZone",void 0),a=(0,r.Cg)([(0,s.$K)("esri.layers.support.EditFieldsInfo")],a)},37352(e,t,i){i.d(t,{A:()=>a});var r,o=i(32198),l=i(7762),s=i(25482),n=i(91429);let a=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new l.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o.Cg)([(0,n.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,o.Cg)([(0,n.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,o.Cg)([(0,n.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=r=(0,o.Cg)([(0,n.$K)("esri.layers.support.LayerFloorInfo")],a)},45067(e,t,i){i.d(t,{A:()=>p});var r=i(32198),o=i(69540),l=i(66552),s=i(25482),n=i(91429);const a=new l.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new l.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let p=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,n.MZ)({json:{read:a.read,write:a.write}})],p.prototype,"cardinality",void 0),(0,r.Cg)([(0,n.MZ)({json:{name:"catalogID"}})],p.prototype,"catalogId",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"composite",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"id",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"keyField",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"name",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:!0,write:!0}})],p.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,n.MZ)({json:{read:u.read,write:u.write}})],p.prototype,"role",void 0),p=(0,r.Cg)([(0,n.$K)("esri.layers.support.Relationship")],p)},41366(e,t,i){var r=i(32198),o=i(66552),l=i(53966),s=i(91429),n=i(93223);const a=(0,o.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",p="field";i.d(t,["K",0,e=>{let t=e,i=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&p||i&&u||null,t&&i&&l.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===p||e===u)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,n.e)(a,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),i=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],i),i},"Q",0,a])},93470(e,t,i){const r=[252,146,31,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},l={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};i.d(t,["Cb",0,o,"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,r,"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([[2158],{12158(e,t,n){n.r(t),n.d(t,{getTransformation:()=>p,getTransformations:()=>w,isLoaded:()=>m,isTransformationUsable:()=>b,load:()=>h});var r=n(83290),s=n(159),i=n(99157);let a,l,o,c,u,f;function m(){return!!o&&(0,r.i)()}async function h(){if(!m()){let[e,t,s,i,m]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(1491)]).then(()=>n(37091)).then(({create:e,createFromWKT:t})=>({create:e,createFromWKT:t})),n.e(9187).then(()=>n(79187)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(353)]).then(()=>n(12189)).then(({queryTransformationList:e})=>e),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(8344)]).then(()=>n(15756)).then(({injectPe:e})=>e),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1550)]).then(()=>n(78125)),(0,r.l)()]);a=e.create,l=e.createFromWKT,u=t.Envelope2D.construct,f=t.Envelope2D.constructEmpty(),o=s,i(r.p),c=m.fromSpatialReference}}function p(e,t,n=null,r=!1){let s=n?d(n):f,i=o(0,c(e),c(t),s,1,!r);return i.length>0?k(i[0]):null}function w(e,t,n=null,r=!1){let s=n?d(n):f;return o(0,c(e),c(t),s,0,!r).map(e=>k(e))}function b(e){if(null!=e.isUsable)return e.isUsable;let t=!0,n=e instanceof s.A?e.steps:[e];for(let e of n)e.isUsable??=!(e.wkid?a(e.wkid,e.isInverse):l(e.wkt,e.isInverse)).referencesMissingData(),t&&=e.isUsable;return t}function d(e){return u(e.xmin,e.ymin,e.xmax,e.ymax)}function k(e){let t=new s.A;for(let n=0;n<e.count();n++){let r=e.getStep(n);t.steps.push(new i.A({wkid:r.getID(),isInverse:r.isInverted(),isUsable:!r.referencesMissingData()}))}return t}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2772,9940],{80200(e,t,i){i.d(t,{d:()=>u});const n={Base64:0,Hex:1,String:2,Raw:3};function s(e,t){let i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}function r(e,t,i,n,r,o){return s(function(e,t){return e<<t|e>>>32-t}(s(s(t,e),s(n,o)),r),i)}function o(e,t,i,n,s,o,l){return r(t&i|~t&n,e,t,s,o,l)}function l(e,t,i,n,s,o,l){return r(t&n|i&~n,e,t,s,o,l)}function a(e,t,i,n,s,o,l){return r(t^i^n,e,t,s,o,l)}function h(e,t,i,n,s,o,l){return r(i^(t|~n),e,t,s,o,l)}function c(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;let i=1732584193,n=-271733879,r=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){let u=i,p=n,f=r,m=c;i=o(i,n,r,c,e[t],7,-680876936),c=o(c,i,n,r,e[t+1],12,-389564586),r=o(r,c,i,n,e[t+2],17,606105819),n=o(n,r,c,i,e[t+3],22,-1044525330),i=o(i,n,r,c,e[t+4],7,-176418897),c=o(c,i,n,r,e[t+5],12,1200080426),r=o(r,c,i,n,e[t+6],17,-1473231341),n=o(n,r,c,i,e[t+7],22,-45705983),i=o(i,n,r,c,e[t+8],7,1770035416),c=o(c,i,n,r,e[t+9],12,-1958414417),r=o(r,c,i,n,e[t+10],17,-42063),n=o(n,r,c,i,e[t+11],22,-1990404162),i=o(i,n,r,c,e[t+12],7,1804603682),c=o(c,i,n,r,e[t+13],12,-40341101),r=o(r,c,i,n,e[t+14],17,-1502002290),n=o(n,r,c,i,e[t+15],22,1236535329),i=l(i,n,r,c,e[t+1],5,-165796510),c=l(c,i,n,r,e[t+6],9,-1069501632),r=l(r,c,i,n,e[t+11],14,643717713),n=l(n,r,c,i,e[t],20,-373897302),i=l(i,n,r,c,e[t+5],5,-701558691),c=l(c,i,n,r,e[t+10],9,38016083),r=l(r,c,i,n,e[t+15],14,-660478335),n=l(n,r,c,i,e[t+4],20,-405537848),i=l(i,n,r,c,e[t+9],5,568446438),c=l(c,i,n,r,e[t+14],9,-1019803690),r=l(r,c,i,n,e[t+3],14,-187363961),n=l(n,r,c,i,e[t+8],20,1163531501),i=l(i,n,r,c,e[t+13],5,-1444681467),c=l(c,i,n,r,e[t+2],9,-51403784),r=l(r,c,i,n,e[t+7],14,1735328473),n=l(n,r,c,i,e[t+12],20,-1926607734),i=a(i,n,r,c,e[t+5],4,-378558),c=a(c,i,n,r,e[t+8],11,-2022574463),r=a(r,c,i,n,e[t+11],16,1839030562),n=a(n,r,c,i,e[t+14],23,-35309556),i=a(i,n,r,c,e[t+1],4,-1530992060),c=a(c,i,n,r,e[t+4],11,1272893353),r=a(r,c,i,n,e[t+7],16,-155497632),n=a(n,r,c,i,e[t+10],23,-1094730640),i=a(i,n,r,c,e[t+13],4,681279174),c=a(c,i,n,r,e[t],11,-358537222),r=a(r,c,i,n,e[t+3],16,-722521979),n=a(n,r,c,i,e[t+6],23,76029189),i=a(i,n,r,c,e[t+9],4,-640364487),c=a(c,i,n,r,e[t+12],11,-421815835),r=a(r,c,i,n,e[t+15],16,530742520),n=a(n,r,c,i,e[t+2],23,-995338651),i=h(i,n,r,c,e[t],6,-198630844),c=h(c,i,n,r,e[t+7],10,1126891415),r=h(r,c,i,n,e[t+14],15,-1416354905),n=h(n,r,c,i,e[t+5],21,-57434055),i=h(i,n,r,c,e[t+12],6,1700485571),c=h(c,i,n,r,e[t+3],10,-1894986606),r=h(r,c,i,n,e[t+10],15,-1051523),n=h(n,r,c,i,e[t+1],21,-2054922799),i=h(i,n,r,c,e[t+8],6,1873313359),c=h(c,i,n,r,e[t+15],10,-30611744),r=h(r,c,i,n,e[t+6],15,-1560198380),n=h(n,r,c,i,e[t+13],21,1309151649),i=h(i,n,r,c,e[t+4],6,-145523070),c=h(c,i,n,r,e[t+11],10,-1120210379),r=h(r,c,i,n,e[t+2],15,718787259),n=h(n,r,c,i,e[t+9],21,-343485551),i=s(i,u),n=s(n,p),r=s(r,f),c=s(c,m)}return[i,n,r,c]}function u(e,t=n.Hex){let i=t||n.Base64,s=c(function(e){let t=[];for(let i=0,n=8*e.length;i<n;i+=8)t[i>>5]|=(255&e.charCodeAt(i/8))<<i%32;return t}(e),8*e.length);switch(i){case n.Raw:return s;case n.Hex:return function(e){let t="0123456789abcdef",i=[];for(let n=0,s=4*e.length;n<s;n++)i.push(t.charAt(e[n>>2]>>n%4*8+4&15)+t.charAt(e[n>>2]>>n%4*8&15));return i.join("")}(s);case n.String:return function(e){let t=[];for(let i=0,n=32*e.length;i<n;i+=8)t.push(String.fromCharCode(e[i>>5]>>>i%32&255));return t.join("")}(s);case n.Base64:return function(e){let t=[];for(let i=0,n=4*e.length;i<n;i+=3){let n=(e[i>>2]>>i%4*8&255)<<16|(e[i+1>>2]>>(i+1)%4*8&255)<<8|e[i+2>>2]>>(i+2)%4*8&255;for(let s=0;s<4;s++)8*i+6*s>32*e.length?t.push("="):t.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>6*(3-s)&63))}return t.join("")}(s)}}i.d(t,["T",0,n])},87024(e,t,i){i.d(t,{P:()=>f});var n=i(49186),s=i(80200),r=i(76553),o=i(84952),l=i(13069),a=i(96156),h=i(35666),c=i(10107),u=i(85648),p=i(97159);function f(e){let t=e?.origins??[void 0];return(i,n)=>{let s=function(e,t,i){if("resource"===e?.type)return function(e,t,i){let n=(0,a.z4)(t,i);return{type:String,read:(e,t,i)=>{let s=(0,p.r)(e,t,i);return n.type===String?s:"function"==typeof n.type?new n.type({url:s}):void 0},write:{isRequired:n.json?.write?.isRequired,writer(t,s,l,a){if(!a?.resources)return"string"==typeof t?void(s[l]=(0,p.t)(t,a)):void(s[l]=t.write({},a));let c=function(e){return null==e?null:"string"==typeof e?e:e.url}(t),f=(0,p.t)(c,{...a,verifyItemRelativeUrls:a?.verifyItemRelativeUrls?{writtenUrls:a.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},1),g=n.type!==String&&(!(0,r.H)(this)||a?.origin&&this.originIdOf(i)>(0,h.aB)(a.origin)),_={object:this,propertyName:i,value:t,targetUrl:f,dest:s,targetPropertyName:l,context:a,params:e};a?.portalItem&&f&&!(0,o.oP)(f)?g&&e?.contentAddressed?m(_):g?function(e){let{context:t,targetUrl:i,params:n,value:s,dest:r,targetPropertyName:l}=e;if(!t.portalItem)return;let a=t.portalItem.resourceFromPath(i),h=y(s,i,t),c=(0,u.n)(h),p=(0,o.Zo)(a.path),f=n?.compress??!1;c===p?(t.resources&&d({...e,resource:a,content:h,compress:f,updates:t.resources.toUpdate}),r[l]=i):m(e)}(_):function({context:e,targetUrl:t,dest:i,targetPropertyName:n}){e.portalItem&&e.resources&&(e.resources.toKeep.push({resource:e.portalItem.resourceFromPath(t),compress:!1}),i[n]=t)}(_):a?.portalItem&&(null==f||null!=(0,p.i)(f)||(0,o.w8)(f)||g)?m(_):s[l]=f}}}}(e,t,i);switch(e?.type??"other"){case"other":return{read:!0,write:!0};case"url":{let{read:e,write:t}=p.b;return{read:e,write:t}}}}(e,i,n);for(let e of t){let t=(0,c.rM)(i,e,n);for(let e in s)t[e]=s[e]}}}function m(e){let{targetUrl:t,params:i,value:r,context:a,dest:h,targetPropertyName:c}=e;if(!a.portalItem)return;let f=(0,p.p)(t),m=y(r,t,a);if(i?.contentAddressed&&"json"!==m.type)return void a.messages?.push(new n.A("persistable:contentAddressingUnsupported",`Property "${c}" is trying to serializing a resource with content of type ${m.type} with content addressing. Content addressing is only supported for json resources.`,{content:m}));let g=i?.contentAddressed&&"json"===m.type?(0,s.d)(m.jsonString):f?.filename??(0,l.lk)(),_=i?.prefix??f?.prefix,x=(0,o.fj)(_,g),w=`${x}.${(0,u.n)(m)}`;if(i?.contentAddressed&&a.resources&&"json"===m.type){let e=a.resources.toKeep.find(({resource:e})=>e.path===w)??a.resources.toAdd.find(({resource:e})=>e.path===w);if(e)return void(h[c]=e.resource.itemRelativeUrl)}let v=a.portalItem.resourceFromPath(w);(0,o.w8)(t)&&a.resources&&a.resources.pendingOperations.push((0,o.tk)(t).then(e=>{v.path=`${x}.${(0,u.n)({type:"blob",blob:e})}`,h[c]=v.itemRelativeUrl}).catch(()=>{}));let C=i?.compress??!1;a.resources&&d({...e,resource:v,content:m,compress:C,updates:a.resources.toAdd}),h[c]=v.itemRelativeUrl}function d({object:e,propertyName:t,updates:i,resource:n,content:s,compress:r}){i.push({resource:n,content:s,compress:r,finish:i=>{!function(e,t,i){"string"==typeof e[t]?e[t]=i.url:e[t].url=i.url}(e,t,i)}})}function y(e,t,i){return"string"==typeof e?{type:"url",url:t}:{type:"json",jsonString:JSON.stringify(e.toJSON(i))}}},83027(e,t,i){const n=i(29953).ho;i.d(t,["h",0,n])},35982(e,t,i){i.d(t,{B:()=>c});var n=i(4576),s=i(71511),r=i(36563),o=i(53966),l=i(97768),a=i(17676),h=i(83027);class c{constructor(e,t,i,n,s={}){this._mainMethod=t,this._transferLists=i,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,h.h)(e,{...s,schedule:n}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{s.hasInitialize&&e.invoke("initialize",{}).catch(()=>{});for(let t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>o.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){let i=new u(e,t);return this._listeners.push(i),this._connectListener(i),(0,r.hA)(()=>{(0,n.TF)(this._listeners,i),i.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,l.xt)(this._onClientConnectedHandle),this._thread&&=(this._thread.close(),null),this._promise=null;for(let e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,i){return this.invokeMethod(this._mainMethod,e,t,i)}invokeMethod(e,t,i,n){return this._invokeMethod(e,[t],i,n)}invokeMethodWithArgs(e,t,i,n){return this._invokeMethod(e,t,i,n)}_invokeMethod(e,t,i,n){if(this._thread){let s=this._transferLists[e],r=s?s(...t):[];return this._thread.apply(e,t,{transferList:r,signal:i,jobPriority:n})}return this._promise?this._promise.then(()=>((0,a.Te)(i),this._invokeMethod(e,t,i,n))):Promise.reject((0,a.NK)())}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(p):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject((0,a.NK)())}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class u{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new s.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function p(){}},89056(e,t,i){i.d(t,{b3:()=>u,jZ:()=>c});var n=i(12195),s=i(19419),r=i(537),o=i(95108),l=i(60408),a=i(80754),h=i(21325);function c(e){return p(e,!0)}function u(e){return p(e,!1)}function p(e,t){if(null==e)return null;let i=e.spatialReference,s=(0,h.Vp)(i),o=(0,n.W)(e)?e.toJSON():e;if(!s)return o;let c=(0,h.K8)(i)?102100:4326,u=a.j7[c].maxX,p=a.j7[c].minX;if((0,l.fT)(o))return m(o,u,p);if((0,l.U9)(o))return o.points=o.points.map(e=>m(e,u,p)),o;if((0,l.ZC)(o))return f(o,s);if((0,l.Bi)(o)||(0,l.Rg)(o)){let e=(0,r.Rg)(w,o),i={xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3]},n=(0,a.kd)(i.xmin,p),s=2*u*n,l=0===s?o:(0,a.kS)(o,s);return i.xmin+=s,i.xmax+=s,i.xmax>u?_(l,u,t):i.xmin<p?_(l,p,t):l}return o}function f(e,t){if(!t)return e;let i=function(e,t){let i=[],{ymin:n,ymax:s,xmin:r,xmax:o}=e,l=e.xmax-e.xmin,[a,h]=t.valid,{x:c,frameId:u}=d(e.xmin,t),{x:p,frameId:f}=d(e.xmax,t),m=c===p&&l>0;if(l>2*h){let e={xmin:r<o?c:p,ymin:n,xmax:h,ymax:s},t={xmin:a,ymin:n,xmax:r<o?p:c,ymax:s},l={xmin:0,ymin:n,xmax:h,ymax:s},m={xmin:a,ymin:n,xmax:0,ymax:s},d=[],g=[];y(e,l)&&d.push(u),y(e,m)&&g.push(u),y(t,l)&&d.push(f),y(t,m)&&g.push(f);for(let e=u+1;e<f;e++)d.push(e),g.push(e);i.push(new x(e,[u]),new x(t,[f]),new x(l,d),new x(m,g))}else c>p||m?i.push(new x({xmin:c,ymin:n,xmax:h,ymax:s},[u]),new x({xmin:a,ymin:n,xmax:p,ymax:s},[f])):i.push(new x({xmin:c,ymin:n,xmax:p,ymax:s},[u]));return i}(e,t).map(e=>e.extent);return i.length<2?i[0]||e:i.length>2?(e.xmin=t.valid[0],e.xmax=t.valid[1],e):{rings:i.map(e=>[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]])}}function m(e,t,i){if(Array.isArray(e)){let n=e[0];if(n>t){let i=(0,a.kd)(n,t);e[0]=n+-2*t*i}else if(n<i){let t=(0,a.kd)(n,i);e[0]=n+-2*i*t}}else{let n=e.x;if(n>t){let i=(0,a.kd)(n,t);e.x+=-2*t*i}else if(n<i){let t=(0,a.kd)(n,i);e.x+=-2*i*t}}return e}function d(e,t){let i,[n,s]=t.valid,r=2*s,o=0;return e>s?(i=Math.ceil(Math.abs(e-s)/r),e-=i*r,o=i):e<n&&(i=Math.ceil(Math.abs(e-n)/r),e+=i*r,o=-i),{x:e,frameId:o}}function y(e,t){let{xmin:i,ymin:n,xmax:s,ymax:r}=t;return g(e,i,n)&&g(e,i,r)&&g(e,s,r)&&g(e,s,n)}function g(e,t,i){return t>=e.xmin&&t<=e.xmax&&i>=e.ymin&&i<=e.ymax}function _(e,t,i=!0){let n=!(0,l.Rg)(e);if(n&&(0,o.m3)(e),i)return(new v).cut(e,t);let s=n?e.rings:e.paths,r=n?4:2,a=s.length,h=-2*t;for(let e=0;e<a;e++){let t=s[e];if(t&&t.length>=r){let e=[];for(let[i,...n]of t)e.push([i+h,...n]);s.push(e)}}return n?e.rings=s:e.paths=s,e}class x{constructor(e,t){this.extent=e,this.frameIds=t}}const w=(0,s.vt)();class v{constructor(){this._linesIn=[],this._linesOut=[]}cut(e,t){let i;if(this._xCut=t,e.rings)this._closed=!0,i=e.rings,this._minPts=4;else{if(!e.paths)return null;this._closed=!1,i=e.paths,this._minPts=2}for(let e of i){if(!e||e.length<this._minPts)continue;let t=!0;for(let i of e)t?(this.moveTo(i),t=!1):this.lineTo(i);this._closed&&this.close()}this._pushLineIn(),this._pushLineOut(),i=[];for(let e of this._linesIn)e&&e.length>=this._minPts&&i.push(e);let n=-2*this._xCut;for(let e of this._linesOut)if(e&&e.length>=this._minPts){for(let t of e)t[0]+=n;i.push(e)}return this._closed?e.rings=i:e.paths=i,e}moveTo(e){this._pushLineIn(),this._pushLineOut(),this._prevSide=this._side(e[0]),this._moveTo(e,this._prevSide),this._prevPt=e,this._firstPt=e}lineTo(e){let t=this._side(e[0]);if(t*this._prevSide===-1){let i=this._intersect(this._prevPt,e);this._lineTo(i,0),this._prevSide=0,this._lineTo(e,t)}else this._lineTo(e,t);this._prevSide=t,this._prevPt=e}close(){let e=this._firstPt,t=this._prevPt;(e[0]!==t[0]||e[1]!==t[1])&&this.lineTo(e),this._checkClosingPt(this._lineIn),this._checkClosingPt(this._lineOut)}_moveTo(e,t){this._closed?(this._lineIn.push(C(e,t<=0?e[0]:this._xCut)),this._lineOut.push(C(e,t>=0?e[0]:this._xCut))):(t<=0&&this._lineIn.push(e.slice()),t>=0&&this._lineOut.push(e.slice()))}_lineTo(e,t){this._closed?(S(this._lineIn,e,t<=0?e[0]:this._xCut),S(this._lineOut,e,t>=0?e[0]:this._xCut)):t<0?(0===this._prevSide&&this._pushLineOut(),this._lineIn.push(e.slice())):t>0?(0===this._prevSide&&this._pushLineIn(),this._lineOut.push(e.slice())):this._prevSide<0?(this._lineIn.push(e.slice()),this._lineOut.push(e.slice())):this._prevSide>0&&(this._lineOut.push(e.slice()),this._lineIn.push(e.slice()))}_checkClosingPt(e){let t=e.length;t>3&&e[0][0]===this._xCut&&e[t-2][0]===this._xCut&&e[1][0]===this._xCut&&(e[0]=e[t-2].slice(),e.pop())}_side(e){return e<this._xCut?-1:+(e>this._xCut)}_intersect(e,t){let i=(this._xCut-e[0])/(t[0]-e[0]),n=[this._xCut,e[1]+i*(t[1]-e[1])],s=Math.min(e.length,t.length);for(let r=2;r<s;r++)n.push(e[r]+i*(t[r]-e[r]));return n}_pushLineIn(){this._lineIn&&this._lineIn.length>=this._minPts&&this._linesIn.push(this._lineIn),this._lineIn=[]}_pushLineOut(){this._lineOut&&this._lineOut.length>=this._minPts&&this._linesOut.push(this._lineOut),this._lineOut=[]}}function C(e,t){let i=e.slice();return i[0]=t,i}function S(e,t,i){let n=e.length;n>1&&e[n-1][0]===i&&e[n-2][0]===i?e[n-1]=C(t,i):e.push(C(t,i))}},10292(e,t,i){i.d(t,{q:()=>l});var n=i(48526),s=i(86738),r=i(82799),o=i(99917);class l{constructor(e){this.geometry=e,this.spatialReference=e.spatialReference}export(){return this._exporter(this.coordinates,this.spatialReference)}clone(e){let t=new l(this.geometry);return t.spatialReference=this.spatialReference,t.coordinates=e??this.coordinates.map(e=>e.clone()),t._exporter=this._exporter,t}async project(e,t){if(this.spatialReference.equals(e))return this.clone();await(0,o.initializeProjection)([{source:this.spatialReference,dest:e}],{signal:t});let i=new n.A({spatialReference:this.spatialReference,points:this.coordinates.map(e=>[e.x,e.y])}),s=(0,o.project)(i,e);if(!s)return null;let r=this.coordinates.map((e,t)=>{let i=e.clone(),n=s.points[t];return i.x=n[0],i.y=n[1],i}),l=this.clone(r);return l.spatialReference=e,l}projectSync(e){if(this.spatialReference.equals(e))return this.clone();let t=new n.A({spatialReference:this.spatialReference,points:this.coordinates.map(e=>[e.x,e.y])}),i=(0,o.project)(t,e);if(!i)return null;let s=this.coordinates.map((e,t)=>{let n=e.clone(),s=i.points[t];return n.x=s[0],n.y=s[1],n}),r=this.clone(s);return r.spatialReference=e,r}static fromGeometry(e){let t=new l(e);if(e instanceof l)return t.coordinates=e.coordinates.map(e=>e.clone()),t._exporter=(t,i)=>{let n=e.clone(t);return n.spatialReference=i,n},t;switch(e.type){case"point":{let i=e,{hasZ:n,hasM:r}=i;return t.coordinates=n&&r?[new a(i.x,i.y,i.z,i.m)]:n?[new a(i.x,i.y,i.z)]:r?[new a(i.x,i.y,null,i.m)]:[new a(i.x,i.y)],t._exporter=(t,i)=>e.hasM?new s.A({x:t[0].x,y:t[0].y,z:t[0].z,m:t[0].m,spatialReference:i}):new s.A({x:t[0].x,y:t[0].y,z:t[0].z,spatialReference:i}),t}case"multipoint":{let i=e,{hasZ:s,hasM:r}=i;return t.coordinates=s&&r?i.points.map(e=>new a(e[0],e[1],e[2],e[3])):s?i.points.map(e=>new a(e[0],e[1],e[2])):r?i.points.map(e=>new a(e[0],e[1],null,e[2])):i.points.map(e=>new a(e[0],e[1])),t._exporter=(t,i)=>e.hasM?new n.A({points:t.map(e=>[e.x,e.y,e.z??0,e.m??0]),hasZ:!0,hasM:!0,spatialReference:i}):new n.A({points:t.map(e=>[e.x,e.y,e.z??0]),spatialReference:i}),t}case"polyline":{let i=e,n=[],s=[],{hasZ:o,hasM:l}=e,h=0;for(let e of i.paths)if(s.push([h,h+e.length]),h+=e.length,o&&l)for(let t of e)n.push(new a(t[0],t[1],t[2],t[3]));else if(o)for(let t of e)n.push(new a(t[0],t[1],t[2]));else if(l)for(let t of e)n.push(new a(t[0],t[1],null,t[2]));else for(let t of e)n.push(new a(t[0],t[1]));return t.coordinates=n,t._exporter=(t,i)=>{let n=e.hasM?t.map(e=>[e.x,e.y,e.z??0,e.m??0]):t.map(e=>[e.x,e.y,e.z??0]),o=s.map(e=>n.slice(e[0],e[1]));return new r.A({paths:o,hasM:e.hasM,hasZ:!0,spatialReference:i})},t}}}}class a{constructor(e,t,i=null,n=null,s=null,r=null){this.x=e,this.y=t,this.z=i,this.m=n,this.tile=s,this.elevationTile=r}clone(){return new a(this.x,this.y,this.z,this.m)}}},58325(e,t,i){i.d(t,{A:()=>S});var n,s=i(32198),r=i(56507),o=i(7762),l=i(25482),a=i(84952),h=i(91429),c=i(4718),u=i(67076),p=i(87024),f=i(39829),m=i(99917),d=i(16930),y=i(21325),g=i(88546),_=i(72772),x=i(98697),w=i(43937);let v=n=class extends l.o{constructor(e){super(e),this.geometry=null,this.type="clip"}writeGeometry(e,t,i,n){if(this._needWGS84Conversion(n))this._doWGS84Conversion(t,i,n);else if(n.layer?.spatialReference&&!n.layer.spatialReference.equals(this.geometry.spatialReference)){if(!(0,m.canProjectWithoutEngine)(e.spatialReference,n.layer.spatialReference))return void(n?.messages&&n.messages.push(new u.A("scenemodification:unsupported","Scene modifications with incompatible spatial references are not supported",{modification:this,spatialReference:n.layer.spatialReference,context:n})));let s=new f.A;(0,m.projectPolygon)(e,s,n.layer.spatialReference),t[i]=s.toJSON(n)}else t[i]=e.toJSON(n)}_needWGS84Conversion(e){if("integrated-mesh-3dtiles"===e.layer?.type){let t=e.layer;return!t.esriCrsSpatialReference||!(0,y.aI)(t.esriCrsSpatialReference,this.geometry.spatialReference)}return!1}_doWGS84Conversion(e,t,i){let n=!0;if((0,_.isInitialized)()){let s=[this],r=(0,x.Ir)(null,s,d.A.WGS84);if(r.length>1){let s=(0,_.switchMeshModificationPolygonVCSSync)({modifications:r,inVCS:5773});if(s.success&&s.modifications){let r=[this.clone()];(0,x.H1)(s.modifications,r),1===r.length&&r[0].geometry&&(r[0].geometry.spatialReference=g.Zx,e[t]=r[0].geometry.toJSON(i),n=!1)}}}n&&i?.messages&&i.messages.push(new u.A("scenemodification:unsupported","Scene modifications with incompatible spatial references are not supported",{modification:this,spatialReference:this.geometry.spatialReference,context:i}))}clone(){return new n({geometry:(0,c.o8)(this.geometry),type:this.type})}};var C;(0,s.Cg)([(0,h.MZ)({type:f.A}),(0,p.P)()],v.prototype,"geometry",void 0),(0,s.Cg)([(0,w.K)(["web-scene","portal-item"],"geometry")],v.prototype,"writeGeometry",null),(0,s.Cg)([(0,h.MZ)({type:["clip","mask","replace"],nonNullable:!0}),(0,p.P)()],v.prototype,"type",void 0),v=n=(0,s.Cg)([(0,h.$K)("esri.layers.support.SceneModification")],v);let S=C=class extends((0,l.T)(o.A.ofType(v))){constructor(e){super(e),this.url=null}clone(){let e=new C(this.items.map(e=>e.clone()));return e.url=this.url,e}toJSON(e){return this.toArray().map(t=>t.toJSON(e)).filter(e=>!!e.geometry)}static fromJSON(e,t){let i=new C;for(let n of e)i.add(v.fromJSON(n,t));return i}static async fromUrl(e,t,i,n=!1){let s={url:(0,a.An)(e),origin:"service"},o=await(0,r.A)(e,{responseType:"json",signal:i?.signal}),l=t.toJSON(),h=[];for(let e of o.data){let t=l;n&&e.geometry.spatialReference&&(t=e.geometry.spatialReference),h.push(v.fromJSON({...e,geometry:{spatialReference:t,...e.geometry}},s))}let c=new C(h);return c.url=e,c}};(0,s.Cg)([(0,h.MZ)({type:String})],S.prototype,"url",void 0),S=C=(0,s.Cg)([(0,h.$K)("esri.layers.support.SceneModifications")],S)},85648(e,t,i){i.d(t,{n:()=>s});var n=i(84952);function s(e){return r[function(e){return"json"===e.type?"application/json":"blob"===e.type?e.blob.type:function(e){let t=(0,n.Zo)(e);return a[t]||o}(e.url)}(e)]||l}const r={},o="text/plain",l=r[o],a={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(let e in a)r[a[e]]=e},80215(e,t,i){i.d(t,{Q:()=>s});const n=Symbol("GroundInstance");function s(e){return"object"==typeof e&&!!e&&n in e}},72772(e,t,i){i.r(t),i.d(t,{addSpatialReferenceInfo:()=>a,destroyWasm:()=>c,initialize:()=>u,isInitialized:()=>p,process:()=>l,switchMeshModificationPolygonVCSSync:()=>h});var n=i(2741);function s(e){return(0,n.s)(`esri/libs/lyr3d/${e}`)}i(49186),new Map;let r,o=null;async function l(e){await u();let t={status:1,error:"",jobDescJson:"",data:new Uint8Array,missingInputs:[]};if(e.inputs.length<1)return{result:t,transferList:[]};let i={ptrs:[],sizes:[]};for(let t of e.inputs){let e=o._malloc(t.byteLength);new Uint8Array(o.HEAPU8.buffer,e,t.byteLength).set(new Uint8Array(t)),i.ptrs.push(e),i.sizes.push(t.byteLength)}let n=o.process(e.jobDescJson,e.id,i,e.isMissingResourceCase);t.status=n.status,t.missingInputs=n.missingInputs.slice();let s=0===n.status&&n.data,r=2===t.status&&t.missingInputs.length>0;t.jobDescJson=n.jobDescJson.slice(),t.error=n.error.slice(),s?t.data=n.data.slice():r&&(t.originalInputs=e.inputs.slice());for(let e=0;e<i.ptrs.length;++e)o._free(i.ptrs[e]);let l=[];if(s)l.push(t.data.buffer);else if(r)for(let t of e.inputs)l.push(t);return{result:t,transferList:l}}async function a(e){await u(),o.add_spatial_reference_info(e.sr,e.isGCS,e.toMetersXY,e.toMetersZ)}function h(e){if(!o)return{success:!1,modifications:null};let t=o._malloc(8*e.modifications.length),i=new Float64Array(o.HEAPF64.buffer,t,e.modifications.length);i.set(e.modifications);let n=o.switch_mesh_modification_polygon_vcs(t,e.modifications.length,e.inVCS),s=null;return n&&(s=i.slice()),o._free(t),{success:n,modifications:s}}function c(){o&&=(o.uninitialize_lyr3d_worker_wasm(),null)}function u(){return p()?Promise.resolve():(r||=async function(){let{default:e}=await i.e(2343).then(()=>i(2343));return async function(e,t){return t({locateFile:s})}(0,e)}().then(e=>{o=e,o.initialize_lyr3d_worker_wasm(),r=null}),r)}function p(){return null!==o}},98697(e,t,i){i.d(t,{Cm:()=>f,H1:()=>x,Ir:()=>y,_b:()=>u,sQ:()=>p});var n=i(53966),s=i(15142),r=i(51850),o=i(35982),l=i(39829),a=i(99917),h=i(27993),c=i(89056);class u{constructor(e,t,i,n,s,r){this.layout=e,this.interleavedVertexData=t,this.indices=i,this.hasColors=n,this.hasModifications=s,this.positionData=r}}class p{constructor(e,t,i,n,s,r,o,l,a){this.componentOffsets=e,this.featureIds=t,this.anchorIds=i,this.anchors=n,this.transformedGeometry=s,this.globalTrafo=r,this.obb=o,this.geometryMinElevation=l,this.geometryMaxElevation=a}}class f extends o.B{constructor(e){super("SceneLayerWorker","process",{process:e=>[e.geometryBuffer],project:e=>[e.positions.buffer],transformNormals:e=>[e.normals.buffer]},e,{hasInitialize:!0}),this._schemasByContext=new Map,this._modificationsByContext=new Map}_onClientConnected(e){for(let[t,i]of this._schemasByContext)e.invoke("setLegacySchema",{context:t,jsonSchema:i}).catch(()=>{});for(let t of this._modificationsByContext.values())e.invoke("setModifications",t).catch(()=>{})}setModifications(e,t,i){let n={context:e,modifications:t,isGeodetic:i};return this._modificationsByContext.set(e,n),this.broadcast(n,"setModifications")}setLegacySchema(e,t){let i=JSON.stringify(t);return this._schemasByContext.set(e,i),this.broadcast({context:e,jsonSchema:i},"setLegacySchema")}destroyContext(e){return this._schemasByContext.delete(e),this._modificationsByContext.delete(e),this.broadcast(e,"destroyContext")}async destroyContextAndSelf(e){await this.destroyContext(e),this.destroy()}project(e,t){return this.invokeMethod("project",e,t)}transformNormals(e,t){return this.invokeMethod("transformNormals",e,t)}}const m=new s.A({deallocator:null}),d=(0,r.vt)();function y(e,t,i,s=!1){m.clear();let r=1/0,o=1/0,h=-1/0,u=-1/0,p=!1;for(let e of t){let t="clip"===e.type?2:+("mask"===e.type),f=e.geometry,d=f.spatialReference??i;if(d!==i&&!(0,a.canProjectWithoutEngine)(d,i)){n.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:f});continue}let y=f.rings;if(d!==i){let e=g(f.rings,d,i);if(null==e){n.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:f});continue}y=e}let x=y;if(s){let e=(0,c.jZ)(new l.A({rings:y,spatialReference:i}));null!=e&&(y=e.rings)}let w=1===x.length&&y.length>1?[...y.map(e=>[e]),x]:[y];if(w.some(e=>0===e.length||e.some(e=>e.length<3||e.some(e=>!_(e)))))n.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (empty ring, fewer than 3 vertices, or non-finite coordinates).",{polygon:f});else{p||=1===t;for(let e of w){m.push(t),m.push(e.length);for(let t of e){m.push(t.length);for(let e of t){let t=e[2]??0;m.push(e[0]),m.push(e[1]),m.push(t),r=Math.min(r,e[0]),o=Math.min(o,e[1]),h=Math.max(h,e[0]),u=Math.max(u,e[1])}}}}}if(null!=e)if(p){let t=1e-4;m.push(2),m.push(2),m.push(4),m.push(r-t),m.push(o-t),m.push(0),m.push(h+t),m.push(o-t),m.push(0),m.push(h+t),m.push(u+t),m.push(0),m.push(r-t),m.push(u+t),m.push(0),m.push(4),m.push(e[0]),m.push(e[1]),m.push(0),m.push(e[2]),m.push(e[1]),m.push(0),m.push(e[2]),m.push(e[3]),m.push(0),m.push(e[0]),m.push(e[3]),m.push(0)}else m.push(1),m.push(1),m.push(4),m.push(e[0]),m.push(e[1]),m.push(0),m.push(e[2]),m.push(e[1]),m.push(0),m.push(e[2]),m.push(e[3]),m.push(0),m.push(e[0]),m.push(e[3]),m.push(0);m.push(3);let f=new Float64Array(m.length);for(let e=0;e<m.length;++e)f[e]=m.at(e);return f}function g(e,t,i){let n=[];for(let s of e){let e=[];for(let n of s){if(!(0,h.F)(n,t,d,i)||!_(d))return null;e.push([d[0],d[1],d[2]])}n.push(e)}return n}function _(e){return Number.isFinite(e[0])&&Number.isFinite(e[1])&&(null==e[2]||Number.isFinite(e[2]))}function x(e,t){let i=0;for(let n of t){let t=n.geometry,s=t.rings.length,r=t.rings.some(e=>e.length<3);if(0!==s&&!r){i+=1,i+=1;for(let n=0;n<t.rings.length;++n){let s=t.rings[n];i+=1;for(let r=0;r<s.length;++r){let s=[e[i+0],e[i+1],e[i+2]];i+=3,t.setPoint(n,r,s)}}}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4988,9159],{61691(e,t,r){r.d(t,{G:()=>o});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,r){r.d(t,{S:()=>i});var o=r(61691);class i extends o.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}}},24988(e,t,r){r.d(t,{execute:()=>a,load:()=>n,s1:()=>s}),r(76061);var o=r(83290);let i;function s(){return!!i&&(0,o.i)()}async function n(){if(!s()){let[e,t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(7444)]).then(()=>r(37444)),Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(5756)]).then(()=>r(15756)).then(({injectPe:e})=>e),(0,o.l)()]);i=new e.OperatorGeodesicBuffer,t(o.p)}}function a(e,t,r,o,s){return i.execute(e,t,r,o,s,!1,null)}},49159(e,t,r){r.d(t,{geodesicBufferExecute:()=>c,geodesicBufferLoad:()=>m}),r(4576);var o=r(86211),i=r(24988),s=(r(85036),r(5808));let n,a,l;async function m(){if(!n||!(0,i.s1)()){let[e]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(9117),r.e(3299),r.e(7992)]).then(()=>r(83299)),(0,i.load)()]);n=e.fromGeometries,a=e.fromGeometry,l=e.toGeometry}}function c(e,t,r={}){let{curveType:n="geodesic",maxDeviation:m=NaN,unit:c}=r;c&&(t=(0,o.oU)(t,c,"meters"),m&&=(0,o.oU)(m,c,"meters"));let u=a(e),d=u.getSpatialReference();return l((0,i.execute)(u.getGeometry(),d,s.O[n],t,m),d)}},85036(e,t,r){r.d(t,{Q:()=>s});var o=r(51447),i=r(53966);function s(e,t,r){(0,o.io)(i.A.getLogger(`esri.geometry.operators.${e}`),`${t} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${r} instead.`,{replacement:r,warnOnce:!0})}},5808(e,t,r){r.d(t,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8245],{11006(e,t,i){function r(e,t,i,r,s){n(e,t,i||0,r||e.length-1,s||a)}function n(e,t,i,r,a){for(;r>i;){if(r-i>600){var l=r-i+1,o=t-i+1,u=Math.log(l),d=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*d*(l-d)/l)*(o-l/2<0?-1:1);n(e,t,Math.max(i,Math.floor(t-o*d/l+c)),Math.min(r,Math.floor(t+(l-o)*d/l+c)),a)}var h=e[t],f=i,p=r;for(s(e,i,t),a(e[r],h)>0&&s(e,i,r);f<p;){for(s(e,f,p),f++,p--;a(e[f],h)<0;)f++;for(;a(e[p],h)>0;)p--}0===a(e[i],h)?s(e,i,p):s(e,++p,r),p<=t&&(i=p+1),t<=p&&(r=p-1)}}function s(e,t,i){var r=e[t];e[t]=e[i],e[i]=r}function a(e,t){return e<t?-1:+(e>t)}i.d(t,{q:()=>r})},69052(e,t,i){i.d(t,{hr:()=>n});var r=i(34727);class n{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,i=!1){return s(this.range,this.min,this.max,e,t,i)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,i){return e<t?t:t+a(this.range,e-t,i)}minimalMonotonic(e,t,i){return s(this.range,e,e+this.range,t,i)}center(e,t,i){return t=this.monotonic(e,t,i),this.normalize((e+t)/2,i)}diff(e,t,i){return this.monotonic(e,t,i)-e}shortestSignedDiff(e,t){e=this.normalize(e);let i=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(i)<Math.abs(r)?i:r}contains(e,t,i){return t=this.minimalMonotonic(e,t),(i=this.minimalMonotonic(e,i))>e&&i<t}}function s(e,t,i,r,n=0,s=!1){return(r-=n)<t?r+=a(e,t-r):r>i&&(r-=a(e,r-i)),s&&r===i&&(r=t),r+n}function a(e,t,i=0){return Math.ceil((t-i)/e)*e+i}const l=new n(0,2*Math.PI),o=(new n(-Math.PI,Math.PI),new n(0,360));i.d(t,["ie",0,o,"uC",0,l])},18370(e,t,i){i.d(t,{z:()=>n});class r{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 r(e)}},44123(e,t,i){i.d(t,{WhereClauseCache:()=>s});var r=i(66344),n=i(89696);class s{constructor(e,t){this._cache=new r.q(e),this._invalidCache=new r.q(t)}get(e,t){let i=`${t?.uid}:${e}`,r=this._cache.get(i);if(r)return r;if(null!=this._invalidCache.get(i))return null;try{let r=n.A.create(e,{fieldsIndex:t});return this._cache.put(i,r),r}catch(e){return this._invalidCache.put(i,e),null}}getError(e,t){let i=`${t?.uid}:${e}`;return this._invalidCache.get(i)??null}}},52039(e,t,i){i.d(t,{O7:()=>h,el:()=>u});var r=i(69052),n=(i(49186),i(18370)),s=i(17676),a=(i(5443),i(39829)),l=(i(82799),i(16930)),o=(i(80754),i(21325));async function u(e,t,i){Array.isArray(e)||(e=[e]),"object"==typeof t&&t&&"authMode"in t&&(i=t);let r=null;for(let t of e)r??=t?.spatialReference;if(!r)return e;let n=(0,o.Vp)(r);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 a.A(t)]}let[l,u]=n.valid,h=!1;for(let t of e){if(!t)continue;if("point"===t.type){h||=t.x>=u,h||=t.x<=l;continue}let{extent:e}=t;if(null==e){h=!0;break}h||=e.xmin>=u,h||=e.xmin<=l,h||=e.xmax>=u,h||=e.xmax<=l}if(!h)return e;let[{foldInto360Range:f},p]=await(0,s.qr)(Promise.all([d.getImportPromise(),c.getImportPromise()]),i),m=p.fromSpatialReference(r);return e.map(e=>{if(null==e||"mesh"===e.type)return e;let t=p.fromGeometry(e),i=p.toGeometry(f(t,m),r);return"extent"===e.type&&1===i?.rings.length?i.extent:i})}const d=(0,n.z)(()=>i.e(4144).then(()=>i(4144)).then(e=>e.load().then(()=>e))),c=(0,n.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(1550)]).then(()=>i(78125)));function h(e,t,i){let r=(0,o.Vp)(i);if(null==r)return e;let[n,s]=r.valid,a=2*s,l=0,u=0;t>s?l=Math.ceil(Math.abs(t-s)/a):t<n&&(l=-Math.ceil(Math.abs(t-n)/a)),e>s?u=Math.ceil(Math.abs(e-s)/a):e<n&&(u=-Math.ceil(Math.abs(e-n)/a));let d=e+(l-u)*a,c=d-t;return c>s?d-=a:c<n&&(d+=a),d}function f(e){let t=(0,o.Vp)(e);if(null==t)return null;let[i,n]=t.valid;return new r.hr(i,n)}const p=f(l.A.WGS84);f(l.A.WebMercator),i.d(t,["Y_",0,p])},80754(e,t,i){i.d(t,{kS:()=>u,kd:()=>o});var r=i(82799),n=i(16930),s=i(60408),a=i(52006);const l={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:n.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:n.A.WGS84})}};function o(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,a.Ed)(e))for(let i of function(e){return(0,s.Bi)(e)?e.curveRings:e.curvePaths}(e))for(let e of i)if((0,a.aO)(e)){let[i,r]=e.c;i[0]+=t,r[0]+=t}else if((0,a.FG)(e)){let[i,r]=e.a;i[0]+=t,r[0]+=t}else if((0,a.n1)(e)){let[i,r,n]=e.b;i[0]+=t,r[0]+=t,n[0]+=t}else e[0]+=t;for(let i of function(e){return(0,s.Bi)(e)?e.rings:e.paths}(e))for(let e of i)e[0]+=t;return e}i.d(t,["j7",0,l])},62577(e,t,i){function r(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null==e.extent?[0,0,0,0]:[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]}:null}function n(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;let{originPosition:t,scale:i,translate:r}=e,n=i[0]??1,s=i[1]??1;return{originPosition:"lowerLeft",scale:[n,"lowerLeft"===t?s:-s,i[2]??1,i[3]??1],translate:[r[0]??0,r[1]??0,r[2]??0,r[3]??0]}}function s({scale:e,translate:t},i){return Math.round((i-t[0])/e[0])}function a({scale:e,translate:t},i){return Math.round((i-t[1])/e[1])}function l({scale:e,translate:t},i){return i*e[0]+t[0]}function o({scale:e,translate:t},i){return i*e[1]+t[1]}function u({scale:e,translate:t},i){return(i??0)*e[2]+t[2]}function d({scale:e,translate:t},i){return i?i*e[3]+t[3]:0}function c(e,t){return e&&t?m:e&&!t?f:!e&&t?p:h}i.d(t,{$X:()=>v,B2:()=>a,Gy:()=>g,IE:()=>s,P5:()=>T,Q1:()=>n,SW:()=>x,Tr:()=>_,VV:()=>r});const h=(e,t)=>{let i=Array(t.length);if(!t.length)return i;let r=t[0],n=l(e,r[0]),s=o(e,r[1]);i[0]=[n,s];let{scale:a,originPosition:u}=e,d=a[0],c="lowerLeft"===u?a[1]:-a[1];for(let e=1;e<t.length;e++){let[r,a]=t[e];n+=d*r,s+=c*a,i[e]=[n,s]}return i},f=(e,t)=>{let i=Array(t.length);if(!t.length)return i;let r=t[0],n=l(e,r[0]),s=o(e,r[1]);i[0]=[n,s,u(e,r[2])];let{scale:a,originPosition:d}=e,c=a[0],h="lowerLeft"===d?a[1]:-a[1];for(let r=1;r<t.length;r++){let[a,l,o]=t[r];n+=c*a,s+=h*l,i[r]=[n,s,u(e,o)]}return i},p=(e,t)=>{let i=Array(t.length);if(!t.length)return i;let r=t[0],n=l(e,r[0]),s=o(e,r[1]);i[0]=[n,s,d(e,r[2])];let{scale:a,originPosition:u}=e,c=a[0],h="lowerLeft"===u?a[1]:-a[1];for(let r=1;r<t.length;r++){let[a,l,o]=t[r];n+=c*a,s+=h*l,i[r]=[n,s,d(e,o)]}return i},m=(e,t)=>{let i=Array(t.length);if(!t.length)return i;let r=t[0],n=l(e,r[0]),s=o(e,r[1]);i[0]=[n,s,u(e,r[2]),d(e,r[3])];let{scale:a,originPosition:c}=e,h=a[0],f="lowerLeft"===c?a[1]:-a[1];for(let r=1;r<t.length;r++){let[a,l,o,c]=t[r];n+=h*a,s+=f*l,i[r]=[n,s,u(e,o),d(e,c)]}return i};function y(e,t,i){let r=Array(i.length);for(let n=0;n<i.length;n++)r[n]=t(e,i[n]);return r}function g(e,t,i){let r=n(e);return t.x=s(r,i.x),t.y=a(r,i.y),null!=i.z&&(t.z=function({scale:e,translate:t},i){return Math.round(((i??0)-t[2])/e[2])}(r,i.z)),null!=i.m&&(t.m=function({scale:e,translate:t},i){return i?Math.round((i-t[3])/e[3]):0}(r,i.m)),t}function x(e,t,i,r=i?.hasZ??!1,s=i?.hasM??!1){if(null!=i){let a=n(e);t.points=c(r,s)(a,i.points),t.hasZ=r,t.hasM=s}return t}function _(e,t,i,r=null!=i?.z,s=null!=i?.m){if(null==i)return t;let a=n(e);return t.x=l(a,i.x),t.y=o(a,i.y),r&&(t.z=u(a,i.z)),s&&(t.m=d(a,i.m)),t}function v(e,t,i,r=i?.hasZ??!1,s=i?.hasM??!1){return null!=i&&(t.rings=y(n(e),c(r,s),i.rings),t.hasZ=r,t.hasM=s),t}function T(e,t,i,r=i?.hasZ??!1,s=i?.hasM??!1){return null!=i&&(t.paths=y(n(e),c(r,s),i.paths),t.hasZ=r,t.hasM=s),t}},43334(e,t,i){i.d(t,{N3:()=>l,Om:()=>a});var r=i(69397),n=i(27647),s=i(92722);class a{constructor(e,t,i,r,n=0,s=null,a=null){this.geometry=e,this.attributes=t,this.centroid=i,this.objectId=r,this.displayId=n,this.distance=s,this.vertexCount=a}static fromJSON(e){let t=e.geometry?s.A.fromJSON(e.geometry):null,i=e.centroid?s.A.fromJSON(e.centroid):null,r=e.objectId;return new a(t,e.attributes,i,r,void 0,e.distance,e.vertexCount)}weakClone(){return new a(this.geometry,this.attributes,this.centroid,this.objectId,this.displayId,this.distance,this.vertexCount)}clone(){return new a(this.geometry?.clone(),{...this.attributes},this.centroid?.clone(),this.objectId,this.displayId,this.distance,this.vertexCount)}ensureCentroid(e){return this.centroid??=(0,n.Q)(this.geometry),this.centroid}get usedMemory(){return 128+(0,r.lM)(this.attributes)+(this.geometry?.usedMemory??0)}}function l(e){return!!e.geometry?.coords?.length}},58512(e,t,i){i.d(t,{A:()=>r});class r{constructor(){this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){let e=new r;return e.globalIdFieldName=this.globalIdFieldName,e.geohashFieldName=this.geohashFieldName,e.geometryProperties=this.geometryProperties,e.geometryType=this.geometryType,e.spatialReference=this.spatialReference,e.hasZ=this.hasZ,e.hasM=this.hasM,e.features=this.features,e.fields=this.fields,e.transform=this.transform,e.exceededTransferLimit=this.exceededTransferLimit,e.uniqueIdField=this.uniqueIdField,e.queryGeometry=this.queryGeometry,e.queryGeometryType=this.queryGeometryType,e}}},92722(e,t,i){i.d(t,{A:()=>n});var r=i(69397);class n{constructor(e=[],t=[],i=!1,r=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=i,this.hasM=r}static fromJSON({lengths:e,coords:t,hasZ:i,hasM:r}){return new n(e,t,i||!1,r||!1)}static fromRect([e,t,i,r]){let s=i-e,a=r-t;return new n([5],[e,t,s,0,0,a,-s,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,r.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 i of this.lengths){if(i<3)continue;let{stride:r}=this,n=this.coords[r*t],s=this.coords[r*t+1];for(let a=1;a<i;a+=1){let i=r*(t+a),l=this.coords[i],o=this.coords[i+1];e+=-.5*(l-n)*(o+s),n=l,s=o}t+=i}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);let{stride:i}=this;for(let r of this.lengths){for(let n=0;n<r;n++){let r=i*(t+n);e(this.coords[r],this.coords[r+1])}t+=r}}deltaDecode(){let e=this.clone(),{coords:t,lengths:i}=e,r=0,{stride:n}=this;for(let e of i){for(let i=1;i<e;i++){let e=n*(r+i);t[e]+=t[e-n],t[e+1]+=t[e+1-n]}r+=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:i,size:r}=this,s=this.coords.slice(0,r*i);return e?(e.set(s),new n(t,e,this.hasZ,this.hasM)):new n(t,Array.from(s),this.hasZ,this.hasM)}justXY(){let{stride:e,size:t}=this;if(2===e)return this;let i=Array(t*e);for(let t=0,r=0;t<i.length;t+=e)i[r++]=this.coords[t],i[r++]=this.coords[t+1];return new n(this.lengths,i,!1,!1)}}},27647(e,t,i){i.d(t,{Q:()=>s});var r=i(92722);function n(e,t){return e?t?4:3:t?3:2}function s(e){if(null==e||!e?.lengths.length)return null;let{lengths:t,coords:i,stride:n,hasZ:s,hasM:o}=e,u=new r.A([],[],s,!1),d=u.coords,c=[],h=s?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0],f=0;for(let e of t){let t=a(h,i,f,e,s,o);t&&c.push(t),f+=e*n}if(c.sort((e,t)=>{let i=e[2]-t[2];return 0===i&&s&&(i=e[4]-t[4]),i}),c.length){let e=6*c[0][2];d[0]=c[0][0]/e,d[1]=c[0][1]/e,s&&(e=6*c[0][4],d[2]=0===e?0:c[0][3]/e),(d[0]<h[0]||d[0]>h[1]||d[1]<h[2]||d[1]>h[3]||s&&(d[2]<h[4]||d[2]>h[5]))&&(d.length=0)}if(!d.length){let r=e.lengths[0]?l(i,0,t[0],s,o):null;if(!r)return null;d[0]=r[0],d[1]=r[1],s&&(d[2]=r[2]??0)}return u}function a(e,t,i,r,s,a){let l=n(s,a),o=i,u=i+l,d=0,c=0,h=0,f=0,p=0;for(let i=0,n=r-1;i<n;i++,o+=l,u+=l){let i=t[o],r=t[o+1],n=t[o+2],a=t[u],l=t[u+1],m=t[u+2],y=i*l-a*r;f+=y,d+=(i+a)*y,c+=(r+l)*y,s&&(y=i*m-a*n,h+=(n+m)*y,p+=y),i<e[0]&&(e[0]=i),i>e[1]&&(e[1]=i),r<e[2]&&(e[2]=r),r>e[3]&&(e[3]=r),s&&(n<e[4]&&(e[4]=n),n>e[5]&&(e[5]=n))}if(f>0&&(f*=-1),p>0&&(p*=-1),!f)return null;let m=[d,c,.5*f];return s&&(m[3]=h,m[4]=.5*p),m}function l(e,t,i,r,s){let a=n(r,s),l=t,h=t+a,f=0,p=0,m=0,y=0;for(let t=0,n=i-1;t<n;t++,l+=a,h+=a){let t=e[l],i=e[l+1],n=e[l+2],s=e[h],a=e[h+1],g=e[h+2],x=r?u(t,i,n,s,a,g):o(t,i,s,a);if(x)if(f+=x,r){let e=c(t,i,n,s,a,g);p+=x*e[0],m+=x*e[1],y+=x*e[2]}else{let e=d(t,i,s,a);p+=x*e[0],m+=x*e[1]}}return f>0?r?[p/f,m/f,y/f]:[p/f,m/f]:i>0?r?[e[t],e[t+1],e[t+2]]:[e[t],e[t+1]]:null}function o(e,t,i,r){let n=i-e,s=r-t;return Math.sqrt(n*n+s*s)}function u(e,t,i,r,n,s){let a=r-e,l=n-t,o=s-i;return Math.sqrt(a*a+l*l+o*o)}function d(e,t,i,r){return[e+.5*(i-e),t+.5*(r-t)]}function c(e,t,i,r,n,s){return[e+.5*(r-e),t+.5*(n-t),i+.5*(s-i)]}},75752(e,t,i){i.d(t,{do:()=>B,qo:()=>L,Wc:()=>q});var r=i(4576),n=i(21818),s=i(49186),a=(i(44208),i(4718)),l=i(97768),o=i(17676),u=i(86211),d=i(12195),c=i(99917),h=i(70328),f=i(19419),p=i(537),m=i(60408),y=i(65864),g=i(52039),x=i(21325),_=i(90708),v=i(29441),T=i(51441),F=i(31464);class S{constructor(){this._storage=new Map,this._purgeInterval=5,this._sweep=()=>{if(this._timer=void 0,!this._storage)return;let e=1e3*this._purgeInterval,t=performance.now()-e;for(let[i,r]of this._storage){if(!(r.time<t))return void(this._storage.size>0&&(this._timer=setTimeout(this._sweep,e)));this._storage.delete(i)}}}destroy(){this._storage?.clear(),this._storage=null,clearTimeout(this._timer)}put(e,t){this._storage?.set(e,new w(t)),this._scheduleSweep()}get(e){let t=this._storage?.get(e);if(t)return this._storage?.delete(e),t.time=performance.now(),this._storage?.set(e,t),t.items}clear(){this._storage?.clear()}_scheduleSweep(){this._storage&&(this._timer??=setTimeout(this._sweep,1e3*this._purgeInterval))}get test(){}}let I=0;class w{constructor(e){this.items=e,this.time=performance.now(),this.id=I++}}var R=i(99352),E=i(8384),A=i(58727),M=i(62660),b=i(43668);const C="unsupported-query";async function O(e,{fieldsIndex:t,geometryType:i,spatialReference:r,availableFields:n}){if(null!=e.geometryPrecision||e.multipatchOption&&"xyFootprint"!==e.multipatchOption||e.pixelSize||e.relationParam||e.text)throw new s.A(C,"Unsupported query options",{query:e});return N(t,n,e),function(e,t,i){let{outStatistics:r,groupByFieldsForStatistics:n,having:a}=i,l=n?.length,o=r?.length;if(a){if(!l||!o)throw new s.A(C,"outStatistics and groupByFieldsForStatistics should be specified with having",{query:i});(0,v.eD)(e,t,a,r,i)}if(o){if(!(0,v._d)(r))return;let a=(0,v.g9)(e,r,n);(0,v.MG)(e,t,a,{expressionName:"statistics",query:i});for(let n of r){let{onStatisticField:r,statisticType:a}=n;if("percentile_disc"!==a&&"percentile_cont"!==a||!("statisticParameters"in n))e.get(r)&&"count"!==a&&"min"!==a&&"max"!==a&&(0,v.MG)(e,t,[r],{expressionName:`outStatistics with '${a}' statistic type`,allowedFieldTypes:V,query:i});else{let{statisticParameters:e}=n;if(!e)throw new s.A(C,"statisticParameters should be set for percentile type",{definition:n,query:i})}}}}(t,n,e),Promise.all([(0,M.c0)(e,i,r),(0,F.Nk)(r,e.outSR)]).then(()=>e)}function N(e,t,i){let{returnDistinctValues:r,outStatistics:n}=i,a=n?n.map(e=>e.outStatisticFieldName&&e.outStatisticFieldName.toLowerCase()).filter(Boolean):[];if("orderByFields"in i&&i.orderByFields&&i.orderByFields.length>0){let r=" asc",n=" desc",s=i.orderByFields.map(e=>{let t=e.toLowerCase();return t.includes(r)?t.split(r)[0]:t.includes(n)?t.split(n)[0]:e}).filter(e=>!a.includes(e));(0,v.MG)(e,t,s,{expressionName:"orderByFields",query:i})}if("outFields"in i)if(i.outFields?.length)(0,v.MG)(e,t,i.outFields,{expressionName:"outFields",query:i,allowedFieldTypes:"all"});else if(r)throw new s.A(C,"outFields should be specified for returnDistinctValues",{query:i});(0,v.SN)(e,t,i.where,i)}const V=new Set([...v.vl,...v.VW]);async function z(e,t,i,r){let n=[];if(i.valueExpression){let{arcadeUtils:e}=await(0,b.l)();n=e.extractFieldNames(i.valueExpression)}if(i.field&&n.push(i.field),i.field2&&n.push(i.field2),i.field3&&n.push(i.field3),i.normalizationField&&n.push(i.normalizationField),!n.length&&!i.valueExpression)throw new s.A(C,"field or valueExpression is required",{params:i});(0,v.MG)(e,t,n,{expressionName:"statistics",query:r})}var P=i(86420),G=i(95466),D=i(92359);class B{constructor(e){this._changeHandle=null,this.capabilities={query:R.F},this.geometryType=e.geometryType,this.hasM=!!e.hasM,this.hasZ=!!e.hasZ,this.spatialReference=e.spatialReference,this.definitionExpression=e.definitionExpression,this.featureStore=e.featureStore,this.aggregateAdapter=e.aggregateAdapter,this._cache=e.cache??new S,this.timeInfo=e.timeInfo,this.featureIdInfo=e.featureIdInfo,this._changeHandle=this.featureStore.events.on("changed",()=>this._clearCache()),this.fieldsIndex=(0,d.W)(e.fieldsIndex)?e.fieldsIndex:G.A.fromJSON(e.fieldsIndex),this.availableFields=!e.availableFields||1===e.availableFields.length&&"*"===e.availableFields[0]?new Set(this.fieldsIndex.fields.map(e=>e.name)):new Set(e.availableFields.map(e=>this.fieldsIndex.get(e)?.name).filter(e=>null!=e)),this._frameTask=e.scheduler&&e.priority?e.scheduler.registerTask(e.priority):D.nu}destroy(){this._changeHandle=(0,l.xt)(this._changeHandle),this._frameTask=(0,l.xt)(this._frameTask),this._clearCache(),(0,l.pR)(this._cache)}get featureAdapter(){return this.featureStore.featureAdapter}async executeQuery(e,t){let i=(0,o.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryFeatureSet(e),i)}async executeQueryForCount(e={},t){let i=(0,o.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForCount(e),i)}async executeQueryForExtent(e,t){let i=(0,o.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForExtent(e),i)}async executeQueryForIds(e,t){return Array.from(await this.executeQueryForIdSet(e,t))}async executeQueryForIdSet(e,t){let i=(0,o.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForIdSet(e),i)}async executeQueryForLatestObservations(e,t){let i=(0,o.Mq)(t);if(!this.timeInfo?.trackIdField)throw new s.A("unsupported-query","Missing timeInfo or timeInfo.trackIdField",{query:e,timeInfo:this.timeInfo});return await this._frameTask.scheduleGenerator(()=>this._executeQueryForLatestObservations(e),i)}async executeQueryForOpaqueFeatures(e,t){let i=(0,o.Mq)(t);return(await this._frameTask.scheduleGenerator(()=>this._executeQuery(e,{}),i)).items}async executeAttributeBinsQuery(e,t){let i=(0,o.Mq)(t);return e=(0,a.o8)(e),await this._frameTask.scheduleGenerator(()=>this._executeAttributeBinsQuery(e),i)}async executeQueryForSummaryStatistics(e={},t,i){let r=(0,o.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForSummaryStatistics(e,t),r)}async executeQueryForUniqueValues(e={},t,i){let r=(0,o.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForUniqueValues(e,t),r)}async executeQueryForClassBreaks(e={},t,i){let r=(0,o.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForClassBreaks(e,t),r)}async executeQueryForHistogram(e={},t,i){let r=(0,o.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForHistogram(e,t),r)}async executeQueryForSnapping(e,t){let i=(0,o.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForSnapping(e,i),i)}async fetchRecomputedExtents(e){let t=(0,o.Mq)(e);this._timeExtentPromise||=(0,P.W)(this.timeInfo,this.featureStore);let[i,r]=await Promise.all([this._getFullExtent(),this._timeExtentPromise]);return(0,o.Te)(t),{fullExtent:i,timeExtent:r}}_clearCache(){this._cache.clear(),this._allFeaturesPromise=null,this._timeExtentPromise=null,this._fullExtentPromise=null}async*_executeQueryFeatureSet(e){try{let t=yield*this._executeQuery(e,{});return yield,await t.createQueryResponse()}catch(t){if(t!==A.v8)throw t;return await new E.G([],e,this).createQueryResponse()}}async*_executeQueryForCount(e){try{let t=yield*this._executeQuery(e,{returnGeometry:!1,returnCentroid:!1,outSR:null});return yield,t.createQueryResponseForCount()}catch(e){if(e!==A.v8)throw e;return 0}}async*_executeQueryForExtent(e){let t=e.outSR;try{let i=yield*this._executeQuery(e,{returnGeometry:!0,returnCentroid:!1,outSR:null});yield;let r=i.size;if(!r)return{count:0,extent:null};let n=await this._getBounds(i.items,i.spatialReference,t??this.spatialReference);return yield,{count:r,extent:n}}catch(e){if(e===A.v8)return{count:0,extent:null};throw e}}async*_executeQueryForIdSet(e){try{let t=yield*this._executeQuery(e,{returnGeometry:!0,returnCentroid:!1,outSR:null});yield;let i=t.items,r=new Set;for(let e of i)r.add(t.featureAdapter.getObjectId(e));return r}catch(e){if(e===A.v8)return new Set;throw e}}async*_executeQueryForLatestObservations(e){try{let t=yield*this._executeQuery(e,{});return yield,this._filterLatest(t),yield,await t.createQueryResponse()}catch(t){if(t!==A.v8)throw t;return await new E.G([],e,this).createQueryResponse()}}async*_executeAttributeBinsQuery(e){let t;try{e=await(0,A.iJ)(e,this.definitionExpression,this.spatialReference),yield,e=await async function(e,t){let i=e.bin;if(!i.onField&&!i.onExpression?.value||"autoIntervalBin"===i.type&&null==i.parameters.numberOfBins||"dateBin"===i.type&&(null==i.parameters.number||null==i.parameters.unit)||"fixedBoundariesBin"===i.type&&null==i.parameters.boundaries||"fixedIntervalBin"===i.type&&null==i.parameters.interval)throw new s.A(C,"Unsupported query options",{query:e});return O(e,t)}(e,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield;let i=yield*this._executeSceneFilterQuery(e);yield,t=yield*this._executeGeometryQuery(e,i),yield,this._executeAggregateIdsQuery(t),yield,this._executeObjectIdsQuery(t),yield,this._executeTimeQuery(t),yield,this._executeAttributesQuery(t),yield}catch(i){if(i!==A.v8)throw i;t=new E.G([],e,this)}return await t.createQueryBinsResponse(e)}async*_executeQueryForSummaryStatistics(e={},t){let{field:i,normalizationField:r,valueExpression:n}=t,s=yield*this._executeQueryForStatistics(e,{field:i,normalizationField:r,valueExpression:n});return yield,await s.createSummaryStatisticsResponse(t)}async*_executeQueryForUniqueValues(e={},t){let{field:i,field2:r,field3:n,valueExpression:s}=t,a=yield*this._executeQueryForStatistics(e,{field:i,field2:r,field3:n,valueExpression:s});return yield,await a.createUniqueValuesResponse(t)}async*_executeQueryForClassBreaks(e,t){let{field:i,normalizationField:r,valueExpression:n}=t,s=yield*this._executeQueryForStatistics(e,{field:i,normalizationField:r,valueExpression:n});return yield,await s.createClassBreaksResponse(t)}async*_executeQueryForHistogram(e,t){let{field:i,normalizationField:r,valueExpression:n}=t,s=yield*this._executeQueryForStatistics(e,{field:i,normalizationField:r,valueExpression:n});return yield,await s.createHistogramResponse(t)}async*_executeQueryForSnapping(e,t){let{point:i,distance:r,returnEdge:n,vertexMode:s}=e;if(!n&&"none"===s)return{candidates:[]};let l=(0,a.o8)(e.query);l=await(0,A.T2)(l,this.definitionExpression,this.spatialReference),yield,l=await O(l,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield;let o=!(0,x.aI)(i.spatialReference,this.spatialReference);o&&(await(0,F.Nk)(i.spatialReference,this.spatialReference),yield);let u="number"==typeof r?r:r.x,d="number"==typeof r?r:r.y,c={xmin:i.x-u,xmax:i.x+u,ymin:i.y-d,ymax:i.y+d,spatialReference:i.spatialReference},h=o?(0,F.Cv)(c,this.spatialReference):c;if(!h)return{candidates:[]};let[f]=await(0,g.el)((0,y.rS)(i),{signal:t});yield;let[p]=await(0,g.el)((0,y.rS)(h),{signal:t});if(yield,null==f||null==p)return{candidates:[]};let m=await this._searchFeatures(L(p.toJSON()));yield;let _=new E.G(m,l,this);this._executeObjectIdsQuery(_),yield,this._executeTimeQuery(_),yield,this._executeAttributesQuery(_),yield,yield*this._executeGeometryQueryForSnapping(_),yield;let v=f.toJSON(),T=o?(0,F.Cv)(v,this.spatialReference):v,S=o?Math.max(h.xmax-h.xmin,h.ymax-h.ymin)/2:r;return _.createSnappingResponse({...e,point:T,distance:S},l.returnZ,i.spatialReference)}async _getBounds(e,t,i){let r=(0,h.hZ)((0,h.vt)(),h.qv);return await this.featureStore.forEachBounds(e,e=>(0,h.RF)(r,e)),q(r,t,i,this.spatialReference,this.hasZ)}_getFullExtent(){return this._fullExtentPromise||="getFullExtent"in this.featureStore&&this.featureStore.getFullExtent?Promise.resolve(this.featureStore.getFullExtent(this.spatialReference)):this._getAllFeatures().then(e=>this._getBounds(e,this.spatialReference,this.spatialReference)),this._fullExtentPromise}async _getAllFeaturesQueryEngineResult(e){return new E.G(await this._getAllFeatures(),e,this)}async _getAllFeatures(){if(null==this._allFeaturesPromise){let e=[];this._allFeaturesPromise=(async()=>await this.featureStore.forEach(t=>e.push(t)))().then(()=>(0,n.z)(e))}let e=this._allFeaturesPromise,t=await e;return e===this._allFeaturesPromise?t.slice():this._getAllFeatures()}async*_executeQuery(e,t){e=(0,a.o8)(e),e=await(0,A.GC)(e,this.definitionExpression,this.spatialReference),yield,e=await O(e,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield,e={...e,...t};let i=yield*this._executeSceneFilterQuery(e);yield;let r=yield*this._executeGeometryQuery(e,i);return yield,this._executeAggregateIdsQuery(r),yield,this._executeObjectIdsQuery(r),yield,this._executeTimeQuery(r),yield,this._executeAttributesQuery(r),r}async*_executeSceneFilterQuery(e){if(null==e.sceneFilter)return null;let{outSR:t,returnGeometry:i,returnCentroid:r}=e,n=this.featureStore.featureSpatialReference,s=e.sceneFilter.geometry,a=null==n||(0,x.aI)(n,s.spatialReference)?s:(0,F.Cv)(s,n);if(!a)return null;let l=i||r,o=(0,x.fn)(t)&&!(0,x.aI)(this.spatialReference,t)&&l?async e=>this._project(e,t):e=>e;yield;let u=this.featureAdapter,d=await this._searchFeatures(L(a));if(yield,"disjoint"===e.sceneFilter.spatialRelationship){if(!d.length)return null;let t=new Set;for(let e of d)t.add(u.getObjectId(e));let i=await this._getAllFeatures();yield;let r=await(0,M.xt)("esriSpatialRelDisjoint",a,this.geometryType);yield;let n=yield*this._runSpatialFilter(i,e=>!t.has(u.getObjectId(e))||r(u.getGeometry(e)));return yield,await o(new E.G(n,e,this))}if(!d.length)return new E.G([],e,this);if(this._canExecuteSinglePass(a,e))return await o(new E.G(d,e,this));let c=await(0,M.xt)("esriSpatialRelContains",a,this.geometryType);yield;let h=yield*this._runSpatialFilter(d,e=>c(u.getGeometry(e)));return yield,await o(new E.G(h,e,this))}async*_executeGeometryQuery(e,t){if(null!=t&&0===t.items.length)return t;let{geometry:i,outSR:n,returnGeometry:s,returnCentroid:a}=e,l=t?null:this._getCacheKey(e),o=l?this._cache.get(l):null;if(o)return new E.G(o,e,this);let u=(0,x.fn)(n)&&!(0,x.aI)(this.spatialReference,n),d=s||a,c=async e=>(u&&d&&await this._project(e,n),l&&this._cache.put(l,e.items),e),h=this.featureStore.featureSpatialReference,f=!i||null==h||(0,x.aI)(h,i.spatialReference)?i:(0,F.Cv)(i,h);if(!f)return await c(t??await this._getAllFeaturesQueryEngineResult(e));yield;let p=this.featureAdapter,m=await this._searchFeatures(L(i));yield;let y=e.spatialRel??"esriSpatialRelIntersects";if("esriSpatialRelDisjoint"===y){if(!m.length)return await c(t??await this._getAllFeaturesQueryEngineResult(e));let i,r=new Set;for(let e of m)r.add(p.getObjectId(e));null==t?(yield,i=await this._getAllFeatures(),yield):i=t.items;let n=await(0,M.xt)(y,f,this.geometryType);yield;let s=yield*this._runSpatialFilter(i,e=>!r.has(p.getObjectId(e))||n(p.getGeometry(e)));return yield,await c(new E.G(s,e,this))}if(null!=t){let e=new r.vW;m=m.filter(i=>(0,r.qh)(t.items,i,t.items.length,e)>=0)}if(!m.length){let t=new E.G([],e,this);return l&&this._cache.put(l,t.items),t}if(this._canExecuteSinglePass(f,e))return await c(new E.G(m,e,this));let g=await(0,M.xt)(y,f,this.geometryType);yield;let _=yield*this._runSpatialFilter(m,e=>g(p.getGeometry(e)));return yield,await c(new E.G(_,e,this))}_executeAggregateIdsQuery(e){if(0===e.items.length||!e.query.aggregateIds?.length||null==this.aggregateAdapter)return;let t=new Set;for(let i of e.query.aggregateIds)this.aggregateAdapter.getFeatureObjectIds(i).forEach(e=>t.add(e));let i=this.featureAdapter.getObjectId;e.items=e.items.filter(e=>t.has(i(e)))}_executeObjectIdsQuery(e){if(0===e.items.length||!e.query.objectIds?.length)return;let t=new Set(e.query.objectIds),i=this.featureAdapter.getObjectId;e.items=e.items.filter(e=>t.has(i(e)))}_executeTimeQuery(e){if(0===e.items.length)return;let t=(0,P.I)(this.timeInfo,e.query.timeExtent,this.featureAdapter);null!=t&&(e.items=e.items.filter(t))}_executeAttributesQuery(e){if(0===e.items.length)return;let t=(0,v.j4)(e.query.where,this.fieldsIndex);if(t){if(!t.isStandardized)throw TypeError("Where clause is not standardized");e.items=e.items.filter(e=>t.testFeature(e,this.featureAdapter))}}async*_executeGeometryQueryForSnapping(e){let{query:t}=e,{spatialRel:i}=t;if(!e?.items?.length||!t.geometry||!i)return;let r=await(0,M.xt)(i,t.geometry,this.geometryType);yield;let n=this.featureAdapter;e.items=yield*this._runSpatialFilter(e.items,e=>r(n.getGeometry(e)))}*_runSpatialFilter(e,t){if(!t)return e;if(null==this._frameTask)return e.filter(e=>t(e));let i=yield,r=[];for(let n of e)t(n)&&r.push(n),i.madeProgress(),i.done&&(i=yield);return r}_filterLatest(e){let{trackIdField:t,startTimeField:i,endTimeField:r}=this.timeInfo,n=r||i,s=new Map,a=this.featureAdapter.getAttribute;for(let i of e.items){let e=a(i,t),r=a(i,n),l=s.get(e);(!l||r>a(l,n))&&s.set(e,i)}e.items=Array.from(s.values())}_getCacheKey(e){let{geometry:t,spatialRel:i,returnGeometry:r,returnCentroid:n,outSR:s,resultType:a,cacheHint:l}=e;if("tile"!==a&&!l)return null;let o=r||n,u=(0,x.fn)(s)&&!(0,x.aI)(this.spatialReference,s);return JSON.stringify(u&&o?[t,i,s]:[t,i])}_canExecuteSinglePass(e,t){let{spatialRel:i}=t;return(0,M.tC)(e)&&("esriSpatialRelEnvelopeIntersects"===i||"esriGeometryPoint"===this.geometryType&&("esriSpatialRelIntersects"===i||"esriSpatialRelContains"===i))}async _project(e,t){if(!t||(0,x.aI)(this.spatialReference,t))return e;let i=this.featureAdapter,r=(0,c.isLoaded)()?await this._getFullExtent():void 0,s=await(0,F.lK)(e.items.map(e=>(0,T.p)(this.geometryType,i.getGeometry(e))),this.spatialReference,t,{areaOfInterestExtent:r});return e.items=(0,n.z)(s.map((t,r)=>i.cloneWithGeometry(e.items[r],(0,_.Ux)(t,this.hasZ,this.hasM),this.geometryType))),e}async _searchFeatures(e){let t=new Set;await Promise.all(e.map(e=>this.featureStore.forEachInBounds(e,e=>t.add(e))));let i=Array.from(t.values());return t.clear(),i}async*_executeQueryForStatistics(e,t){e=(0,a.o8)(e);try{e=await(0,A.GC)(e,this.definitionExpression,this.spatialReference),yield,e=await async function(e,t,{fieldsIndex:i,geometryType:r,spatialReference:n,availableFields:a}){if(null!=e.geometryPrecision||e.multipatchOption||e.pixelSize||e.relationParam||e.text||e.outStatistics||e.groupByFieldsForStatistics||e.having||e.orderByFields)throw new s.A(C,"Unsupported query options",{query:e});return N(i,a,e),Promise.all([z(i,a,t,e),(0,M.c0)(e,r,n),(0,F.Nk)(n,e.outSR)]).then(()=>e)}(e,t,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield;let i=yield*this._executeSceneFilterQuery(e);yield;let r=yield*this._executeGeometryQuery(e,i);return yield,this._executeAggregateIdsQuery(r),yield,this._executeObjectIdsQuery(r),yield,this._executeTimeQuery(r),yield,this._executeAttributesQuery(r),yield,r}catch(t){if(t!==A.v8)throw t;return new E.G([],e,this)}}get test(){}}function L(e){if((0,M.tC)(e)){if((0,m.ZC)(e))return[(0,f.fA)(Math.min(e.xmin,e.xmax),Math.min(e.ymin,e.ymax),Math.max(e.xmin,e.xmax),Math.max(e.ymin,e.ymax))];if((0,m.Bi)(e))return e.rings.map(e=>(0,f.fA)(Math.min(e[0][0],e[2][0]),Math.min(e[0][1],e[2][1]),Math.max(e[0][0],e[2][0]),Math.max(e[0][1],e[2][1])))}return[(0,p.Rg)((0,f.vt)(),e)]}function q(e,t,i,r,n){let s={xmin:e[0],ymin:e[1],xmax:e[3],ymax:e[4],spatialReference:r};n&&isFinite(e[2])&&isFinite(e[5])&&(s.zmin=e[2],s.zmax=e[5],s.hasZ=!0);let a=(0,F.Cv)(s,t,i);if(a.spatialReference=i,a.xmax-a.xmin===0){let e=(0,u.GA)(a.spatialReference);a.xmin-=e,a.xmax+=e}if(a.ymax-a.ymin===0){let e=(0,u.GA)(a.spatialReference);a.ymin-=e,a.ymax+=e}if(n&&null!=a.zmin&&null!=a.zmax&&a.zmax-a.zmin===0){let e=(0,u.GA)(a.spatialReference);a.zmin-=e,a.zmax+=e}return a}},99352(e,t,i){i.d(t,["F",0,{supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:{envelope:!0,centroid:!0,convexHull:!0},supportsStatisticsAggregatedIds:!0,supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsReturnExceededLimitGeometries:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsFormatPBFWithCurves:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,standardMaxRecordCountNoGeometry:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},"P",0,{supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}])},8384(e,t,i){i.d(t,{G:()=>O});var r=i(4576),n=i(18370),s=i(4718),a=i(16930),l=i(12359),o=i(90634),u=i(62577),d=i(21325),c=i(46329),h=i(52006),f=i(88930),p=i(29441),m=i(51441),y=i(30524),g=i(1873),x=i(43668);class _{constructor(e,t,i){this._fieldDataCache=new Map,this._returnDistinctMap=new Map,this.returnDistinctValues=e.returnDistinctValues??!1,this.fieldsIndex=i,this.featureAdapter=t;let r=e.outFields;if(r&&!r.includes("*")){this.outFields=r;let e=0;for(let t of r){let r=(0,p.Wq)(t),n=this.fieldsIndex.get(r),s=n?null:(0,p.j4)(r,i),a=n?n.name:(0,p.SY)(t)||"FIELD_EXP_"+e++;this._fieldDataCache.set(t,{alias:a,clause:s})}}}countDistinctValues(e){return this.returnDistinctValues?(e.forEach(e=>this.getAttributes(e)),this._returnDistinctMap.size):e.length}getAttributes(e){let t=this._processAttributesForOutFields(e);return this._processAttributesForDistinctValues(t)}getFieldValue(e,t,i){if(i)return this.featureAdapter.getAttribute(e,i.name);let r=t,n=null;return this._fieldDataCache.has(r)?n=this._fieldDataCache.get(r)?.clause:i||(n=(0,p.j4)(t,this.fieldsIndex),this._fieldDataCache.set(r,{alias:r,clause:n})),n?.calculateValue(e,this.featureAdapter)}getDataValues(e,t,i=!0){let r=t.normalizationType,n=t.normalizationTotal,s=this.fieldsIndex.get(t.field),a=(0,y.zD)(s)||(0,y.Ah)(s),l=(0,y.OH)(s);return e.map(e=>{let s=t.field&&this.getFieldValue(e,t.field,this.fieldsIndex.get(t.field));if(t.field2?(s=`${(0,g.gJ)(s)}${t.fieldDelimiter}${(0,g.gJ)(this.getFieldValue(e,t.field2,this.fieldsIndex.get(t.field2)))}`,t.field3&&(s=`${s}${t.fieldDelimiter}${(0,g.gJ)(this.getFieldValue(e,t.field3,this.fieldsIndex.get(t.field3)))}`)):"string"==typeof s&&i&&(a?s=s?new Date(s).getTime():null:l&&(s=s?(0,f.rb)(s):null)),r&&Number.isFinite(s)){let i="field"===r&&t.normalizationField?this.getFieldValue(e,t.normalizationField,this.fieldsIndex.get(t.normalizationField)):null;s=(0,g.zS)(s,r,i,n)}return s})}async getExpressionValues(e,t,i,r,n){let{arcadeUtils:s}=await(0,x.l)(),a=s.hasGeometryOperations(t);a&&await s.enableGeometryOperations();let l=s.createFunction(t),o=s.getViewInfo(i),u={fields:this.fieldsIndex.fields};return e.map(e=>{let t={attributes:this.featureAdapter.getAttributes(e),layer:u,geometry:a?{...(0,m.p)(r.geometryType,this.featureAdapter.getGeometry(e)),spatialReference:i.spatialReference}:null},d=s.createExecContext(t,o,n);return s.executeFunction(l,d)})}validateItem(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:(0,p.j4)(t,this.fieldsIndex)}),this._fieldDataCache.get(t)?.clause?.testFeature(e,this.featureAdapter)??!1}validateItems(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:(0,p.j4)(t,this.fieldsIndex)}),this._fieldDataCache.get(t)?.clause?.testSet(e,this.featureAdapter)??!1}_processAttributesForOutFields(e){let t=this.outFields;if(!t?.length)return this.featureAdapter.getAttributes(e);let i={};for(let r of t){let{alias:t,clause:n}=this._fieldDataCache.get(r);i[t]=n?n.calculateValue(e,this.featureAdapter):this.featureAdapter.getAttribute(e,t)}return i}_processAttributesForDistinctValues(e){if(null==e||!this.returnDistinctValues)return e;let t=this.outFields,i=[];if(t)for(let r of t){let{alias:t}=this._fieldDataCache.get(r);i.push(e[t])}else for(let t in e)i.push(e[t]);let r=`${(t||["*"]).join(",")}=${i.join(",")}`,n=this._returnDistinctMap.get(r)||0;return this._returnDistinctMap.set(r,++n),n>1?null:e}}var v=i(31464),T=i(58727);class F{constructor(e,t,i){this.objectId=e,this.target=t,this.distance=i}}class S extends F{constructor(e,t,i){super(e,t,i),this.type="vertex"}}class I extends F{constructor(e,t,i,r,n,s=!1,a=null){super(e,t,i),this.start=r,this.end=n,this.draped=s,this.curve=a,this.type="edge"}}var w=i(5834),R=i(59977),E=i(57231),A=i(11440),M=i(60909),b=(i(98623),i(34747));const C=(0,n.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(6491)]).then(()=>i(55666)));class O{constructor(e,t,i){this.items=e,this.query=t,this.geometryType=i.geometryType,this.hasZ=!!t.returnZ&&i.hasZ,this.hasM=!!t.returnM&&i.hasM,this.fieldsIndex=i.fieldsIndex,this.spatialReference=i.spatialReference,this.featureAdapter=i.featureAdapter,this.featureIdInfo=i.featureIdInfo}get size(){return this.items.length}createQueryResponseForCount(){let e=new _(this.query,this.featureAdapter,this.fieldsIndex);if(!this.query.outStatistics)return e.countDistinctValues(this.items);let{groupByFieldsForStatistics:t,having:i,outStatistics:r}=this.query;if(!t?.length)return 1;let n=new Map,s=new Map,a=new Set;for(let l of r){let{statisticType:r}=l,o="exceedslimit"===r?void 0:l.onStatisticField;if(!s.has(o)){let i=[];for(let r of t){let t=this._getAttributeValues(e,r,this.items,n);i.push(t)}s.set(o,this._calculateUniqueValues(i,this.items,e.returnDistinctValues))}let u=s.get(o);for(let t in u){let{data:r,items:n}=u[t],s=r.join(",");(!i||e.validateItems(n,i))&&a.add(s)}}return a.size}async createQueryResponse(){let e;if(e=this.query.outStatistics?this.query.outStatistics.some(e=>"exceedslimit"===e.statisticType)?this._createExceedsLimitQueryResponse():await this._createStatisticsQueryResponse(this.query,this.items):this._createFeatureQueryResponse(this.query),this.query.returnQueryGeometry){let t=this.query.geometry;e.queryGeometry={spatialReference:this.query.outSR,...(0,d.fn)(this.query.outSR)&&!(0,d.aI)(t.spatialReference,this.query.outSR)?(0,v.Cv)(t,t.spatialReference,this.query.outSR):t}}return e}createSnappingResponse(e,t,i){let r=this.featureAdapter,{point:n}=e,s="number"==typeof e.distance?e.distance:e.distance.x,a="number"==typeof e.distance?e.distance:e.distance.y;function l(e,t){let i=(e-n.x)/s,r=(t-n.y)/a;return i*i+r*r}let o={candidates:[]},u="esriGeometryPolygon"===this.geometryType,d="esriGeometryPolyline"===this.geometryType||"esriGeometryPoint"===this.geometryType,f=this._getPointCreator(t,this.spatialReference,i),p=new z(null,0),m=new z(null,0),y={x:0,y:0,z:0};for(let e of this.items){let t=r.getObjectId(e),i=r.getGeometryWithCurves?.(e);if(null!=i){x(i,t);continue}let n=r.getGeometry(e);null!=n&&g(n,t)}return o.candidates.sort((e,t)=>e.distance-t.distance),o;function g(t,i){let{coords:r,stride:s}=t,a=t.isPoint?P:t.lengths;if(p.coords=r,m.coords=r,e.returnEdge){let e=0;for(let t=0;t<a.length;t++){let r=a[t],d=e;for(let t=0;t<r;t++,e+=s){if(!u&&t===r-1||(p.coordsIndex=e,m.coordsIndex=t===r-1?d:e+s,!V(y,n,p,m)))continue;let a=l(y.x,y.y);a<=1&&o.candidates.push(new I(i,f(y),Math.sqrt(a),f(p),f(m)))}}}if("all"===e.vertexMode){let e=0;for(let t=0;t<a.length;t++){let r=a[t],n=e,d=m;d.coordsIndex=n;for(let t=0;t<r;t++,e+=s){if(p.coordsIndex=e,u&&t===r-1&&p.x===d.x&&p.y===d.y)continue;let n=l(p.x,p.y);n<=1&&o.candidates.push(new S(i,f(p),Math.sqrt(n)))}}}else if(d&&"ends"===e.vertexMode){let e=0,t=[];for(let i=0;i<a.length;i++){t.push(e);let r=a[i];e+=r*s,r>1&&t.push(e-s)}for(let e of t){p.coordsIndex=e;let t=l(p.x,p.y);t<=1&&o.candidates.push(new S(i,f(p),Math.sqrt(t)))}}}function x(t,i){let{candidates:r}=o,s={x:0,y:0,z:0};if(e.returnEdge){let e=[n.x,n.y],a=new z(e,0),o=new z(e,0);for(let{segments:n}of t.parts)for(let{start:t,curve:u}of n){let{curvePoint:n}=(0,c.y)(t,u,e),d=l(...n);if(d>1)continue;[s.x,s.y]=n,a.coords=t,o.coords=(0,h.yP)(u);let p=(0,h.Xq)(u)?null:(0,h.tk)(u);r.push(new I(i,f(s),Math.sqrt(d),f(a),f(o),!1,p))}}function a(e){s.x=t.vertexXY[2*e],s.y=t.vertexXY[2*e+1];let n=l(s.x,s.y);n>1||(s.z=t.vertexZ?.[e]??0,r.push(new S(i,f(s),Math.sqrt(n))))}if("all"===e.vertexMode){let{vertexCount:e}=t;for(let t=0;t<e;++t)a(t)}else if("ends"===e.vertexMode)switch(t.type){case"point":a(0);break;case"polyline":for(let e=0;e<t.partCount;++e){let i=t.partOffsets[e],r=t.partOffsets[e+1]-1;a(i),r!==i&&a(r)}}}}_getPointCreator(e,t,i){let r=null==i||(0,d.aI)(t,i)?e=>e:e=>(0,v.Cv)(e,t,i),{hasZ:n}=this;return n&&e?({x:e,y:t,z:i})=>r({x:e,y:t,z:i}):({x:e,y:t})=>r({x:e,y:t,z:0})}async createSummaryStatisticsResponse(e){let{field:t,valueExpression:i,normalizationField:r,normalizationType:n,normalizationTotal:s,minValue:a,maxValue:l,scale:o,timeZone:u,outStatisticTypes:d}=e,c=this.fieldsIndex.get(t),h=(0,y.vE)(c)||(0,y.zD)(c)||(0,y.Ah)(c),f=await this._getDataValues({field:t,valueExpression:i,normalizationField:r,normalizationType:n,normalizationTotal:s,scale:o,timeZone:u},this.items),p=(0,g.Vb)({normalizationType:n,normalizationField:r,minValue:a,maxValue:l}),m={value:.5,fieldType:c?.type},x=(0,y.yM)(c)?(0,g.z9)({values:f,supportsNullCount:p,percentileParams:m,outStatisticTypes:d}):(0,g.G_)({values:f,minValue:a,maxValue:l,useSampleStdDev:!n,supportsNullCount:p,percentileParams:m,outStatisticTypes:d});return(0,g.oZ)(x,d,h)}async createUniqueValuesResponse(e){let{field:t,valueExpression:i,domains:r,returnAllCodedValues:n,scale:s,timeZone:a}=e,l=await this._getDataValues({field:t,field2:e.field2,field3:e.field3,fieldDelimiter:e.fieldDelimiter,valueExpression:i,scale:s,timeZone:a},this.items,!1),o=(0,g.b3)(l);return(0,g.lv)(o,r,n,e.fieldDelimiter)}async createClassBreaksResponse(e){let{field:t,valueExpression:i,normalizationField:r,normalizationType:n,normalizationTotal:s,classificationMethod:a,standardDeviationInterval:l,minValue:o,maxValue:u,numClasses:d,scale:c,timeZone:h}=e,f=await this._getDataValues({field:t,valueExpression:i,normalizationField:r,normalizationType:n,normalizationTotal:s,scale:c,timeZone:h},this.items),p=(0,g.Rw)(f,{field:t,normalizationField:r,normalizationType:n,normalizationTotal:s,classificationMethod:a,standardDeviationInterval:l,minValue:o,maxValue:u,numClasses:d});return(0,g.jM)(p,a)}async createHistogramResponse(e){let{field:t,valueExpression:i,normalizationField:r,normalizationType:n,normalizationTotal:s,classificationMethod:a,standardDeviationInterval:l,minValue:o,maxValue:u,numBins:d,scale:c,timeZone:h}=e,f=await this._getDataValues({field:t,valueExpression:i,normalizationField:r,normalizationType:n,normalizationTotal:s,scale:c,timeZone:h},this.items);return(0,g.$y)(f,{field:t,normalizationField:r,normalizationType:n,normalizationTotal:s,classificationMethod:a,standardDeviationInterval:l,minValue:o,maxValue:u,numBins:d})}_sortFeatures(e,t,i){if(e.length>1&&t?.length)for(let r of t.slice().reverse()){let{compare:t,fieldOrExpression:n,fieldInfo:s}=G(r,this.fieldsIndex);e.sort((e,r)=>t(i(e,n,s),i(r,n,s)))}}_topNFeatures(e,t,i,n){if(e.length>1&&t?.length){let s=t.map(e=>{let{compare:t,fieldOrExpression:i,fieldInfo:r}=G(e,this.fieldsIndex);return(e,s)=>t(n(e,i,r),n(s,i,r))}).reduceRight((e,t)=>(i,r)=>{let n=t(i,r);return 0===n||Number.isNaN(n)?e(i,r):n}),a=[];for(let t of e)(0,r.HX)(a,t,i,s);return a}return e.slice(0,i)}_createFeatureQueryResponse(e){let{items:t,geometryType:i,hasM:r,hasZ:n,featureIdInfo:s,spatialReference:a}=this,{outFields:l,outSR:o,quantizationParameters:d,resultRecordCount:c,resultOffset:h,returnZ:f,returnM:p}=e,m=null!=c&&t.length>(h||0)+c,y=l&&(l.includes("*")?[...this.fieldsIndex.fields]:l.map(e=>this.fieldsIndex.get(e)));return{exceededTransferLimit:m,features:this._createFeatures(e,t),fields:y,geometryType:i,hasM:r&&p,hasZ:n&&f,objectIdFieldName:"object-id"===s.type?s.fieldName:null,spatialReference:o||a,transform:d&&(0,u.VV)(d)||null}}_createFeatures(e,t){let i,r=new _(e,this.featureAdapter,this.fieldsIndex),{hasM:n,hasZ:s}=this,{orderByFields:a,quantizationParameters:l,returnGeometry:o,returnCentroid:d,maxAllowableOffset:c,resultOffset:h,resultRecordCount:f,returnZ:p=!1,returnM:y=!1}=e,g=s&&p,x=n&&y,v=h||0,T=null==f?null:v+f;null!=T&&T<=5e3&&T<t.length?i=this._topNFeatures(t,a,T,(e,t,i)=>r.getFieldValue(e,t,i)):(i=[...t],this._sortFeatures(i,a,(e,t,i)=>r.getFieldValue(e,t,i))),(v>0||null!=T)&&(i=i.slice(v,T??void 0));let F=[],S=0;if(this.geometryType&&(o||d)){let e=(0,u.VV)(l)??void 0,t="esriGeometryPolygon"===this.geometryType||"esriGeometryPolyline"===this.geometryType;if(o&&!d)for(let n of i){let i=this.featureAdapter.getGeometry(n),s=this._addFeatureJSONMetadata(n,{attributes:r.getAttributes(n),geometry:(0,m.p)(this.geometryType,i,c,e,g,x)});t&&i&&!s.geometry&&(s.centroid=(0,m.L)(this,this.featureAdapter.getCentroid(n,this),e)),F[S++]=s}else if(!o&&d)for(let t of i)F[S++]=this._addFeatureJSONMetadata(t,{attributes:r.getAttributes(t),centroid:(0,m.L)(this,this.featureAdapter.getCentroid(t,this),e)});else for(let t of i)F[S++]=this._addFeatureJSONMetadata(t,{attributes:r.getAttributes(t),centroid:(0,m.L)(this,this.featureAdapter.getCentroid(t,this),e),geometry:(0,m.p)(this.geometryType,this.featureAdapter.getGeometry(t),c,e,g,x)})}else for(let e of i){let t=r.getAttributes(e);t&&(F[S++]=this._addFeatureJSONMetadata(e,{attributes:t}))}return F}_addFeatureJSONMetadata(e,t){let i=this.featureAdapter.getMetadata?.(e);return void 0!==i&&(t.metadata=i),t}_createExceedsLimitQueryResponse(){let e=!1,t=1/0,i=1/0,r=1/0;for(let e of this.query.outStatistics??[])if("exceedslimit"===e.statisticType){t=null==e.maxPointCount?1/0:e.maxPointCount,i=null==e.maxRecordCount?1/0:e.maxRecordCount,r=null==e.maxVertexCount?1/0:e.maxVertexCount;break}return e="esriGeometryPoint"===this.geometryType?this.items.length>t:this.items.length>i||this.items.reduce((e,t)=>e+(this.featureAdapter.getGeometry(t)?.size??0),0)>r,{fields:[{name:"exceedslimit",type:"esriFieldTypeInteger",alias:"exceedslimit",sqlType:"sqlTypeInteger",domain:null,defaultValue:null}],features:[{attributes:{exceedslimit:Number(e)}}]}}async _createStatisticsQueryResponse(e,t,i={attributes:{}}){let r=[],n=new Map,s=new Map,a=new Map,l=new Map,o=new _(e,this.featureAdapter,this.fieldsIndex),u=e.outStatistics,{groupByFieldsForStatistics:d,having:c,orderByFields:h,resultRecordCount:f}=e,p=d?.length,m=!!p,g=m?d[0]:null,x=m&&!this.fieldsIndex.get(g);for(let h of u??[]){let{outStatisticFieldName:u,statisticType:f}=h,_=h,v="exceedslimit"===f?void 0:h.onStatisticField,T="percentile_disc"===f||"percentile_cont"===f,F="EnvelopeAggregate"===f||"CentroidAggregate"===f||"ConvexHullAggregate"===f,S=m&&1===p&&(v===g||x)&&"count"===f;if(m){if(!a.has(v)){let e=[];for(let i of d){let r=this._getAttributeValues(o,i,t,n);e.push(r)}a.set(v,this._calculateUniqueValues(e,t,!F&&o.returnDistinctValues))}let i=a.get(v);if(!i)continue;let r=Object.keys(i);for(let s of r){let{count:r,data:a,items:h,itemPositions:f}=i[s],p=a.join(",");if(!c||o.validateItems(h,c)){let i=l.get(p)||{attributes:{}};if(e.returnAggIds&&(i.aggregateIds=h.map(e=>this.featureAdapter.getObjectId(e)).filter(e=>null!=e)),F){i.aggregateGeometries||={};let{aggregateGeometries:e,outStatisticFieldName:t}=await this._getAggregateGeometry(_,h);i.aggregateGeometries[t]=e}else{let e=null;if(S)e=r;else{let i=this._getAttributeValues(o,v,t,n),r=f.map(e=>i[e]);e=T&&"statisticParameters"in _?this._getPercentileValue(_,r):this._getStatisticValue(_,r,null,o.returnDistinctValues)}i.attributes[u]=e}let s=0;d.forEach((e,t)=>i.attributes[this.fieldsIndex.get(e)?e:"EXPR_"+ ++s]=a[t]),l.set(p,i)}}}else if(F){i.aggregateGeometries||={};let{aggregateGeometries:e,outStatisticFieldName:r}=await this._getAggregateGeometry(_,t);i.aggregateGeometries[r]=e}else{let e=this._getAttributeValues(o,v,t,n);i.attributes[u]=T&&"statisticParameters"in _?this._getPercentileValue(_,e):this._getStatisticValue(_,e,s,o.returnDistinctValues)}let I="min"!==f&&"max"!==f||!(0,y.yM)(this.fieldsIndex.get(v))&&!this._isAnyDateField(v)?null:this.fieldsIndex.get(v)?.type;r.push({name:u,alias:u,type:I||"esriFieldTypeDouble"})}let v=m?Array.from(l.values()):[i];return this._sortFeatures(v,h,(e,t)=>e.attributes[t]),f&&(v.length=Math.min(f,v.length)),{fields:r,features:v}}_isAnyDateField(e){let t=this.fieldsIndex.get(e);return(0,y.vE)(t)||(0,y.zD)(t)||(0,y.Ah)(t)||(0,y.OH)(t)}async _getAggregateGeometry(e,t){let{statisticType:i,outStatisticFieldName:r}=e,{featureAdapter:n,spatialReference:s,geometryType:a}=this,u=t.map(e=>(0,m.p)(a,n.getGeometry(e))),d={aggregateGeometries:null,outStatisticFieldName:null},{convexHullExecuteMany:c}=await C.getImportPromise(),[h]=c(u,{merge:!0});if(h&&h.rings[0].length<=3&&(h=null),"EnvelopeAggregate"===i)d.aggregateGeometries={...h?(0,o.v)(h):N(u),spatialReference:s},d.outStatisticFieldName=r||"extent";else if("CentroidAggregate"===i){let[e,t]=h?(0,l.l8)(h):(0,l.Z4)(N(u));d.aggregateGeometries={x:e,y:t,spatialReference:s},d.outStatisticFieldName=r||"centroid"}else"ConvexHullAggregate"===i&&(d.aggregateGeometries=h&&{...h,spatialReference:s},d.outStatisticFieldName=r||"convexHull");return d}_getStatisticValue(e,t,i,r){let{onStatisticField:n,statisticType:s}=e,a=null;return a=i?.has(n)?i.get(n):(0,y.yM)(this.fieldsIndex.get(n))||this._isAnyDateField(n)?(0,g.z9)({values:t,returnDistinct:r}):(0,g.G_)({values:r?[...new Set(t)]:t,minValue:null,maxValue:null,useSampleStdDev:!0}),i&&i.set(n,a),a["var"===s?"variance":s]}_getPercentileValue(e,t){let{onStatisticField:i,statisticParameters:r,statisticType:n}=e,{value:s,orderBy:a}=r,l={value:s,orderBy:a,fieldType:this.fieldsIndex.get(i)?.type,isDiscrete:"percentile_disc"===n};return(0,g.qg)(t,l)}_getAttributeValues(e,t,i,r){if(r.has(t))return r.get(t);let n=this.fieldsIndex.get(t),s=i.map(i=>e.getFieldValue(i,t,n));return r.set(t,s),s}_calculateUniqueValues(e,t,i){let r={},n=t.length;for(let s=0;s<n;s++){let n=t[s],a=Array.from(e,e=>e[s]),l=a.join(",");null==r[l]?r[l]={count:1,data:a,items:[n],itemPositions:[s]}:(i||r[l].count++,r[l].items.push(n),r[l].itemPositions.push(s))}return r}async _getDataValues(e,t,i=!0){let r=new _(this.query,this.featureAdapter,this.fieldsIndex),{valueExpression:n,scale:l,timeZone:o}=e,u=a.A.fromJSON(this.query.outSR||this.spatialReference);return n?r.getExpressionValues(t,n,{viewingMode:"map",scale:l,spatialReference:u},{geometryType:this.geometryType,hasZ:this.hasZ,hasM:this.hasM},o):r.getDataValues(t,(0,s.o8)(e),i)}_calculateHistogramBins(e,t,i){if(null==t.min&&null==t.max)return[];let r=t.intervals,n=t.min??0,s=t.max??0,a=r.map(([e,t])=>({minValue:e,maxValue:t,count:0,items:[]}));for(let t=0;t<e.length;t++){let l=e[t],o=i[t];if(null!=l&&l>=n&&l<=s){let e=(0,g.Ak)(r,l);e>-1&&(a[e].count++,a[e].items.push(o))}}return a}async createQueryBinsResponse(e){let t=e.bin?.splitBy;if(!t)return this._createBinsResponse(e);let{value:i,outAlias:r,valueType:n}=t,s=[],a=[{name:r??i,alias:r??i,type:n??"esriFieldTypeString"},{name:"bin",alias:"bin",type:"esriFieldTypeInteger"}],l=new _(e,this.featureAdapter,this.fieldsIndex),o=new Map,u=[...this.items];this._sortFeatures(u,[i],(e,t,i)=>l.getFieldValue(e,t,i));let d=this._getAttributeValues(l,i,u,o),c=this._calculateUniqueValues([d],u,l.returnDistinctValues);for(let t in c){let{items:n}=c[t],l=await this._createBinsResponse(e,n);if(s.push(...l.features.map(e=>({...e,attributes:{...e.attributes,[r??i]:t}}))),l.fields)for(let e of l.fields)a.some(t=>t.name===e.name)||a.push(e)}return{fields:a,features:s}}async _createBinsResponse(e,t){let i=e.bin;switch(t??=this.items,i.type){case"autoIntervalBin":return this._createAutoIntervalBinsResponse(w.A.fromJSON(i),e,t);case"dateBin":return this._createDateBinsResponse(R.A.fromJSON(i),e,t);case"fixedBoundariesBin":return this._createFixedBoundariesBinsResponse(A.A.fromJSON(i),e,t);case"fixedIntervalBin":return this._createFixedIntervalBinsResponse(M.A.fromJSON(i),e,t)}}async _createAutoIntervalBinsResponse(e,t,i){let{field:r,normalizationField:n,numBins:s,normalizationType:a,normalizationTotal:l,start:o,end:u}=e,d=await this._getDataValues({field:e.field||e.expression,normalizationField:e.normalizationField,normalizationType:e.normalizationType,normalizationTotal:e.normalizationTotal,timeZone:t.outTimeReference?.ianaTimeZone},i),c=(0,g.sU)(d,{field:r,normalizationField:n,normalizationType:a,normalizationTotal:l,numBins:s,minValue:(0,T.dO)(a?e.normalizationMinValue:o,!1),maxValue:(0,T.dO)(a?e.normalizationMaxValue:u,!1)}),h=this._calculateHistogramBins(d,c,i);return this._createFeaturesFromHistogramBins(h,t)}async _createDateBinsResponse(e,t,i){let{field:r,interval:n,start:s,end:a,snapToData:l,returnFullIntervalBin:o,offset:u,firstDayOfWeek:d}=e,c=n.unit,h=await this._getDataValues({field:r||e.expression,timeZone:t.outTimeReference?.ianaTimeZone},i),f=(0,y.OH)(this.fieldsIndex.get(r)),p=E.g.toJSON(c),m=h.filter(Boolean).sort((e,t)=>e-t),g=null==s?m[0]:(0,T.dO)(s,f),x=null==a?m[m.length-1]:(0,T.dO)(a,f),_=[];if(null!=g&&null!=x){let e={zone:t.outTimeReference?.ianaTimeZone??"UTC"},i={[u?.unit?E.g.toJSON(u.unit):"milliseconds"]:u?.value||0},r=b.c9.fromMillis(g,e).minus(i),s=b.c9.fromMillis(x,e).minus(i),a="number"==typeof d&&d>=1&&d<=7?d:7,c=(e,t)=>{let i=(e.weekday-t+7)%7;return e.minus({days:i}).startOf("day")},h=(e,t)=>c(e,t).plus({days:7});if("last"===l){let e="week"===p?h(s,a):s;for(;e>r;){let t=e.minus({[p]:n.value});if(t<r){_.unshift([o?t.plus(i).toMillis():r.plus(i).toMillis(),e.plus(i).toMillis()]);break}_.unshift([t.plus(i).toMillis(),e.plus(i).toMillis()]),e=t}}else{let e="first"===l?r:"week"===p?c(r,a):r.startOf(p);for(;e<=s;){let t=e.plus({[p]:n.value});if(t>s){_.push([e.plus(i).toMillis(),o?t.plus(i).toMillis():s.plus(i).toMillis()]);break}_.push([e.plus(i).toMillis(),t.plus(i).toMillis()]),e=t}}}let v=this._calculateHistogramBins(h,{intervals:_,min:g,max:x},i);return this._createFeaturesFromHistogramBins(v,t)}async _createFixedBoundariesBinsResponse(e,t,i){let{field:r}=e,n=await this._getDataValues({field:r||e.expression,timeZone:t.outTimeReference?.ianaTimeZone},i),s=(0,y.OH)(this.fieldsIndex.get(r)),a=e.boundaries.map(e=>(0,T.dO)(e,s)).sort((e,t)=>e-t),l=[];for(let e=0;e<a.length-1;e++)l.push([a[e],a[e+1]]);let o={intervals:l,min:a.at(0),max:a.at(-1)},u=this._calculateHistogramBins(n,o,i);return this._createFeaturesFromHistogramBins(u,t)}async _createFixedIntervalBinsResponse(e,t,i){let{field:r,interval:n,normalizationType:s,start:a,end:l}=e,o=await this._getDataValues({field:r||e.expression,normalizationField:e.normalizationField,normalizationType:s,normalizationTotal:e.normalizationTotal,timeZone:t.outTimeReference?.ianaTimeZone},i),u=(0,y.OH)(this.fieldsIndex.get(r)),d=(0,g.sU)(o,{field:r,classificationMethod:"defined-interval",definedInterval:n,minValue:(0,T.dO)(s?e.normalizationMinValue:a,u),maxValue:(0,T.dO)(s?e.normalizationMaxValue:l,u)},!0),c=this._calculateHistogramBins(o,d,i);return this._createFeaturesFromHistogramBins(c,t)}async _createFeaturesFromHistogramBins(e,t){let{upperBoundaryAlias:i,lowerBoundaryAlias:r}=t,n=r||"lowerBoundary",s=i||"upperBoundary",a=[],l=[{name:n,alias:n,type:"esriFieldTypeDouble"},{name:s,alias:s,type:"esriFieldTypeDouble"}],o=t.bin?.stackBy?.value,u=t.bin?.stackBy?.outAlias;o&&l.push({name:"bin",alias:"bin",type:"esriFieldTypeInteger"},{name:u??o,alias:u??o,type:"esriFieldTypeString"});let d=0,c="dateBin"===t.bin.type,h=t.outTimeReference?.ianaTimeZone;for(let i of e){let e,{minValue:r,maxValue:f,items:p}=i,m={attributes:{}};if(m.attributes[n]=c&&h&&null!=r?b.c9.fromMillis(r,{zone:h}).toISO():r,t.bin.hideUpperBound||(m.attributes[s]=c&&h&&null!=f?b.c9.fromMillis(f,{zone:h}).toISO():f),t.returnAggIds&&(m.aggregateIds=p.map(e=>this.featureAdapter.getObjectId(e)).filter(e=>null!=e)),o?(e=await this._createStatisticsQueryResponse({...t,groupByFieldsForStatistics:[o],orderByFields:[o]},p),m.attributes.bin=++d,"flat"===t.bin.jsonStyle?a.push(...e.features.map(({attributes:{EXPR_1:e,...t},...i})=>({...i,attributes:u??e?{...t,[u??e]:e,...m.attributes}:{...t,...m.attributes}}))):(m.stackedAttributes=e.features.map(({attributes:{EXPR_1:e,...t}})=>u??e?{...t,[u??e]:e}:t),a.push(m))):(t.bin?.splitBy&&(m.attributes.bin=++d),e=await this._createStatisticsQueryResponse(t,p,m),a.push(m)),e.fields)for(let t of e.fields)l.some(e=>e.name===t.name)||l.push(t)}return"desc"===t.binOrder&&a.reverse(),{fields:l,features:a}}}function N(e){let t=(0,o.HA)(e[0]);for(let i of e.slice(1))(0,o.JM)(t,(0,o.HA)(i));return t}function V(e,t,i,r){let n=r.x-i.x,s=r.y-i.y,a=t.x-i.x,l=t.y-i.y,o=n*n+s*s;if(0===o)return!1;let u=a*n+l*s,d=Math.min(1,Math.max(0,u/o));return e.x=i.x+n*d,e.y=i.y+s*d,!0}class z{constructor(e,t){this.coords=e,this.coordsIndex=t}get x(){return this.coords[this.coordsIndex]}get y(){return this.coords[this.coordsIndex+1]}get z(){return this.coords[this.coordsIndex+2]}}const P=[1];function G(e,t){let i=e.split(" "),r=i[0],n=t.get(r),s=!!i[1]&&"desc"===i[1].toLowerCase();return{compare:(0,g.FM)(n?.type,s,"case-insensitive"),fieldOrExpression:r,fieldInfo:n}}},29441(e,t,i){i.d(t,{MG:()=>_,SN:()=>f,SY:()=>g,Wq:()=>y,_d:()=>F,eD:()=>p,g9:()=>x,j4:()=>m});var r=i(49186),n=i(44123),s=i(98453);const a=new n.WhereClauseCache(50,500),l="unsupported-query",o=" as ",u=new Set(["esriFieldTypeOID","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong"]),d=new Set(["esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]),c=new Set(["esriFieldTypeString","esriFieldTypeGUID","esriFieldTypeGlobalID",...u,...d]);function h(e,t,i={}){let n=m(t,e);if(!n){let i=a.getError(t,e);throw new r.A(l,"invalid SQL expression",{expression:t,error:i})}let s=i.expressionName||"expression";if(i.validateStandardized&&!n.isStandardized)throw new r.A(l,`${s} is not standard`,{expression:t});if(i.validateAggregate&&!n.isAggregate)throw new r.A(l,`${s} does not contain a valid aggregate function`,{expression:t});return n.fieldNames}function f(e,t,i,r){if(!i)return!0;let n="where clause";return _(e,t,h(e,i,{validateStandardized:!0,expressionName:n}),{expressionName:n,query:r}),!0}function p(e,t,i,n,s){if(!i)return!0;let a="having clause";if(_(e,t,h(e,i,{validateAggregate:!0,expressionName:a}),{expressionName:a,query:s}),!m(i,e)?.getExpressions().every(t=>{let{aggregateType:i,field:r}=t,s=e.get(r)?.name;return n.some(t=>{let{onStatisticField:r,statisticType:n}=t;return e.get(r)?.name===s&&n.toLowerCase().trim()===i})}))throw new r.A(l,"expressions in having clause should also exist in outStatistics",{having:i});return!0}function m(e,t){return e?a.get(e,t):null}function y(e){return/\((.*?)\)/.test(e)?e:e.split(o)[0]}function g(e){return e.split(o)[1]}function x(e,t,i){if(!F(t))return[];let r=new Set,n=t=>{if(t&&"*"!==t)for(let i of v(e,t))r.add(i)};for(let e of t)n(e.onStatisticField);for(let e of i??[])n(e);return Array.from(r)}function _(e,t,i,n={}){let s=new Map;if(function(e,t,i,r,n){let s=n.includes("*")?[...i,...n.filter(e=>"*"!==e)]:n;for(let n of s)if(t.get(n))T(e,t,i,r,n);else try{for(let s of v(t,n))T(e,t,i,r,s)}catch(t){e.set(n,{type:"expression-error",expression:n,error:t})}}(s,e,t,n.allowedFieldTypes??c,i),s.size){let e=`${n.expressionName??"expression"} contains invalid or missing fields`;throw new r.A(l,e,{errors:Array.from(s.values()),query:n.query})}}function v(e,t){let i=e.get(t);return i?[i.name]:h(e,y(t),{validateStandardized:!0})}function T(e,t,i,r,n){let a=t.get(n);a?i.has(a.name)?"all"!==r&&!1===r?.has(a.type)&&e.set(n,{type:"invalid-type",fieldName:a.name,fieldType:s.m.fromJSON(a.type),allowedFieldTypes:Array.from(r,e=>s.m.fromJSON(e))}):e.set(n,{type:"missing-field",fieldName:a.name}):e.set(n,{type:"invalid-field",fieldName:n})}function F(e){return null!=e&&e.every(e=>"exceedslimit"!==e.statisticType)}i.d(t,["VW",0,d,"vl",0,u])},54339(e,t,i){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let i=[];for(let r of t.fieldNames)i.push(e.attributes[r]??null);return JSON.stringify(i)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>r,r:()=>n})},51441(e,t,i){i.d(t,{L:()=>n,p:()=>s});var r=i(90708);function n(e,t,i,n=e.hasZ,s=e.hasM){if(null==t)return null;let a=e.hasZ&&n,l=e.hasM&&s;if(i){let e=(0,r.Nl)(t,"esriGeometryPoint",i,n,s);return(0,r.DF)(e,a,l)}return(0,r.DF)(t,a,l)}function s(e,t,i,n,s,a){if(null==t)return null;let l="coords"in t?t:t.geometry;if(null==l)return null;let{hasZ:o,hasM:u}=l,d=o&&(s??=o),c=u&&(a??=u);if(i){let t=(0,r.kz)(l,e,i,s,a);return n&&(t=(0,r.Nl)(t,e,n)),(0,r.zv)(t,e,d,c)}if(n){let t=(0,r.Nl)(l,e,n,s,a);return(0,r.zv)(t,e,d,c)}return(0,r.zv)(l,e,d,c)}},31464(e,t,i){i.d(t,{Cv:()=>f,Nk:()=>h,lK:()=>m});var r=i(4576),n=i(99917),s=i(60408),a=i(21325),l=i(28735);const o=[0,0];function u(e,t){let i=(0,a.K8)(e)?l.je:l.tD;if((0,s.fT)(t)){let e={x:0,y:0};return[e.x,e.y]=i(t.x,t.y,o),null!=t.z&&(e.z=t.z),null!=t.m&&(e.m=t.m),e}if((0,s.ZC)(t)){let e={xmin:0,ymin:0,xmax:0,ymax:0};return[e.xmin,e.ymin]=i(t.xmin,t.ymin,o),[e.xmax,e.ymax]=i(t.xmax,t.ymax,o),t.hasZ&&(e.zmin=t.zmin,e.zmax=t.zmax,e.hasZ=!0),t.hasM&&(e.mmin=t.mmin,e.mmax=t.mmax,e.hasM=!0),e}if((0,s.Bi)(t))return{rings:d(t.rings,i),hasM:t.hasM,hasZ:t.hasZ};if((0,s.Rg)(t))return{paths:d(t.paths,i),hasM:t.hasM,hasZ:t.hasZ};if((0,s.U9)(t))return{points:c(t.points,i),hasM:t.hasM,hasZ:t.hasZ};throw Error()}function d(e,t){return Array.from(e,e=>c(e,t))}function c(e,t){let i=[];for(let r of e){let e=t(r[0],r[1],[0,0]);i.push(e),r.length>2&&e.push(r[2]),r.length>3&&e.push(r[3])}return i}async function h(e,t){if(!e||!t)return;let i=Array.isArray(e)?e.map(e=>null==e.geometry?null:e.geometry.spatialReference).filter(r.Ru):[e];await(0,n.initializeProjection)(i.map(e=>({source:e,dest:t})))}function f(e,t,i,r){if(!e)return null;if(i||(i=t,t=e.spatialReference),!(0,a.fn)(t)||!(0,a.fn)(i)||(0,a.aI)(t,i))return e;if((0,l.y7)(t,i)){let t=u(i,e);return t.spatialReference=i,t}let[s]=(0,n.projectMany)([e],t,i,r);return s}const p=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,i,r){if(!e?.length||!t||!i||(0,a.aI)(t,i))return e;let n={geometries:e,inSpatialReference:t,outSpatialReference:i,options:r,resolve:Promise.withResolvers()};return this._jobs.push(n),this._timer??=setTimeout(this._process,10),n.resolve.promise}_process(){this._timer=null;let e=this._jobs.shift();if(!e)return;let t,{geometries:i,inSpatialReference:r,outSpatialReference:s,resolve:a,options:o}=e,d=i.filter(e=>null!=e);t=(0,l.y7)(r,s)&&null==o?.extendedParams?d.map(e=>u(s,e)):(0,n.projectMany)(d,r,s,o);let c=0,h=i.map(e=>null==e?null:t[c++]);a.resolve(h),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function m(e,t,i,r){return p.push(e,t,i,r)}},58727(e,t,i){i.d(t,{GC:()=>g,T2:()=>x,dO:()=>v,iJ:()=>y});var r=i(49186),n=i(66552),s=i(86211),a=i(39829),l=i(99917),o=i(90634),u=i(60408),d=i(65864),c=i(52039),h=i(21325),f=i(31464);const p=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),m=Object.freeze({});async function y(e,t,i){let r=e.bin;return r.onField&&=r.onField.trim(),r.onExpression?.value&&(r.onExpression.value=r.onExpression.value.trim()),r.splitBy&&(r.splitBy.value&&(r.splitBy.value=r.splitBy.value.trim()),r.splitBy.outAlias&&(r.splitBy.outAlias=r.splitBy.outAlias.trim())),r.stackBy&&(r.stackBy.value&&(r.stackBy.value=r.stackBy.value.trim()),r.stackBy.outAlias&&(r.stackBy.outAlias=r.stackBy.outAlias.trim())),"normalizationField"in r.parameters&&r.parameters.normalizationField&&(r.parameters.normalizationField=r.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),g(e,t,i)}async function g(e,t,i){let{outFields:r,orderByFields:n,groupByFieldsForStatistics:s,outStatistics:a}=e;if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(a)for(let e=0;e<a.length;e++)a[e].onStatisticField&&(a[e].onStatisticField=a[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),x(e,t,i)}async function x(e,t,i){if(!e)return null;let{where:r}=e;if(e.where=r=r?.trim(),(!r||/^1 *= *1$/.test(r)||t&&t===r)&&(e.where=null),!e.geometry)return e;let n=await _(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){let{spatialReference:t}=e.geometry;n=(0,o.HA)(n),n.spatialReference=t}if(!n)return e;await(0,f.Nk)(n.spatialReference,i);let[s]=await(0,c.el)((0,d.rS)(n));if(null==s)throw m;let p=!1;((0,u.ZC)(s)||(0,u.Bi)(s)||(0,u.Rg)(s))&&(p=!(0,h.aI)(s.spatialReference,i)&&!(0,l.canProjectWithoutEngine)(s.spatialReference,i)),p&&(0,u.ZC)(s)&&(s=a.A.fromExtent(s));let y="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,g=p&&y?{extendedParams:{densificationStep:8*y}}:void 0,x=s.toJSON(),v=(0,f.Cv)(x,x.spatialReference,i,g);if(!v)throw m;return v.spatialReference=i,e.geometry=v,e}async function _(e){let{distance:t,units:n}=e,a=e.geometry;if(!t||"vertexAttributes"in a)return a;let l=a.spatialReference,o=n?p.fromJSON(n):(0,s.Ij)(l),d=l&&((0,h.EA)(l)||(0,h.K8)(l))?a:await(0,f.Nk)(l,h.KK).then(()=>(0,f.Cv)(a,h.KK)),{geodesicBufferExecute:c,geodesicBufferLoad:m}=await i.e(9159).then(()=>i(49159));await m();let y=c(d,t||1,{unit:o})??void 0;if(!y||!(0,u.Bi)(y)||0===y.rings.length)throw new r.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return y}function v(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}i.d(t,["VY",0,p,"v8",0,m])},62660(e,t,i){i.d(t,{tC:()=>v,c0:()=>_,xt:()=>x});var r=i(49186),n=i(94078),s=i(12176),a=i(60408),l=i(21325);function o(e,t,i){if(!e)return!1;let{coords:r,lengths:n,stride:s}=e,a=!1,l=0;for(let e of n)a=u(a,r,s,l,e,t,i),l+=e*s;return a}function u(e,t,i,r,n,s,a){let l=e,o=r;for(let e=r,u=r+n*i;e<u;e+=i){o=e+i,o===u&&(o=r);let n=t[e],d=t[e+1],c=t[o],h=t[o+1];(d<a&&h>=a||h<a&&d>=a)&&n+(a-d)/(h-d)*(c-n)<s&&(l=!l)}return l}var d=i(90708),c=i(51441),h=i(31464);const f="unsupported-query",p={esriSpatialRelIntersects:!0,esriSpatialRelContains:!0,esriSpatialRelWithin:!0,esriSpatialRelCrosses:!0,esriSpatialRelDisjoint:!0,esriSpatialRelTouches:!0,esriSpatialRelOverlaps:!0,esriSpatialRelEnvelopeIntersects:!0,esriSpatialRelIndexIntersects:!1,esriSpatialRelRelation:!1},m={esriGeometryPoint:!0,esriGeometryMultiPatch:!1,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!0},y={esriGeometryPoint:!0,esriGeometryMultiPatch:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!1},g={esriSpatialRelIntersects:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(6033)]).then(()=>i(55284)).then(e=>e.intersectsExecute),esriSpatialRelContains:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(2990)]).then(()=>i(29127)).then(e=>e.containsExecute),esriSpatialRelCrosses:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(919)]).then(()=>i(87778)).then(e=>e.crossesExecute),esriSpatialRelDisjoint:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(9722)]).then(()=>i(3157)).then(e=>e.disjointExecute),esriSpatialRelEnvelopeIntersects:null,esriSpatialRelIndexIntersects:null,esriSpatialRelOverlaps:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(8740)]).then(()=>i(83371)).then(e=>e.overlapsExecute),esriSpatialRelTouches:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(8307)]).then(()=>i(67658)).then(e=>e.touchesExecute),esriSpatialRelWithin:()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(100)]).then(()=>i(65487)).then(e=>e.withinExecute),esriSpatialRelRelation:null};async function x(e,t,i){if((0,a.Bi)(t)){if("esriGeometryPoint"===i&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e)){let e=(0,d.Ye)(t,!1,!1);return t=>function(e,t){return o(e,t.coords[0],t.coords[1])}(e,t)}if("esriGeometryMultipoint"===i){let i=(0,d.Ye)(t,!1,!1);if("esriSpatialRelContains"===e)return e=>function(e,t){let{coords:i,lengths:r,stride:n}=t;if(!r)return!1;for(let t=0,s=0;t<r.length;t++,s+=n)if(!o(e,i[s],i[s+1]))return!1;return!0}(i,e)}}if((0,a.ZC)(t)){if("esriGeometryPoint"===i&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e))return e=>(0,n.qz)(t,(0,c.p)(i,e));if("esriGeometryMultipoint"===i&&"esriSpatialRelContains"===e)return e=>(0,n.rL)(t,(0,c.p)(i,e));if("esriSpatialRelIntersects"===e){let e="mesh"===(r=i)?s.xB:(0,s.xK)(r);return r=>e(t,(0,c.p)(i,r))}}var r;"esriSpatialRelEnvelopeIntersects"===e&&(e="esriSpatialRelIntersects");let l=await function(e){let t=g[e];if(null==t)throw Error(`Cannot load unsupported spatial operator: ${e}`);return t()}(e);return e=>l(t,(0,c.p)(i,e))}async function _(e,t,i){let{spatialRel:n,geometry:s}=e;if(s){if(null==(o=n)||!0!==p[o])throw new r.A(f,"Unsupported query spatial relationship",{query:e});if((0,l.fn)(s.spatialReference)&&(0,l.fn)(i)){if(!function(e){return null!=e&&!0===m[(0,a.$B)(e)]}(s))throw new r.A(f,"Unsupported query geometry type",{query:e});if(!function(e){return null!=e&&!0===y[e]}(t))throw new r.A(f,"Unsupported layer geometry type",{query:e});if(e.outSR)return(0,h.Nk)(e.geometry?.spatialReference,e.outSR)}}var o}function v(e){if((0,a.ZC)(e))return!0;if((0,a.Bi)(e)){for(let t of e.rings)if(5!==t.length||t[0][0]!==t[1][0]||t[0][0]!==t[4][0]||t[2][0]!==t[3][0]||t[0][1]!==t[3][1]||t[0][1]!==t[4][1]||t[1][1]!==t[2][1])return!1;return!0}return!1}},86420(e,t,i){i.d(t,{I:()=>s,W:()=>n});var r=i(21818);async function n(e,t){if(!e)return null;let i=t.featureAdapter,{startTimeField:n,endTimeField:s}=e,a=1/0,l=-1/0;if(n&&s)await t.forEach(e=>{let t=i.getAttribute((0,r.z)(e),n),o=i.getAttribute((0,r.z)(e),s);null!=t&&!isNaN(t)&&(a=Math.min(a,t)),null!=o&&!isNaN(o)&&(l=Math.max(l,o))});else{let e=n||s;await t.forEach(t=>{let n=i.getAttribute((0,r.z)(t),e);null!=n&&!isNaN(n)&&(a=Math.min(a,n),l=Math.max(l,n))})}return{start:a,end:l}}function s(e,t,i){if(!t||!e)return null;let{startTimeField:r,endTimeField:n}=e;if(!r&&!n)return null;let{start:s,end:a}=t;if(null===s&&null===a)return null;if(void 0===s&&void 0===a)return()=>!1;let l=i.getAttributeAsTimestamp?.bind(i)??i.getAttribute.bind(i);return r&&n?function(e,t,i,r,n){return null!=r&&null!=n?s=>{let a=e(s,t),l=e(s,i);return(null==a||a<=n)&&(null==l||l>=r)}:null!=r?t=>{let n=e(t,i);return null==n||n>=r}:null!=n?i=>{let r=e(i,t);return null==r||r<=n}:void 0}(l,r,n,s,a):function(e,t,i,r){return null!=i&&null!=r&&i===r?r=>e(r,t)===i:null!=i&&null!=r?n=>{let s=e(n,t);return null!=s&&s>=i&&s<=r}:null!=i?r=>{let n=e(r,t);return null!=n&&n>=i}:null!=r?i=>{let n=e(i,t);return null!=n&&n<=r}:void 0}(l,r||n,s,a)}},90708(e,t,i){i.d(t,{Ap:()=>E,B2:()=>y,DF:()=>F,Di:()=>N,E2:()=>O,IE:()=>m,Nl:()=>q,PR:()=>w,Rk:()=>W,Ux:()=>z,Ye:()=>M,ZF:()=>D,aQ:()=>j,jH:()=>L,jQ:()=>k,kz:()=>Q,oN:()=>V,q3:()=>B,qN:()=>S,zv:()=>P});var r=i(49186),n=i(53966),s=i(97768),a=i(70328),l=i(19419),o=i(60408),u=i(43334),d=i(58512),c=i(92722),h=i(54339);const f=()=>n.A.getLogger("esri.layers.graphics.featureConversionUtils"),p={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0,esriGeometryMultiPatch:3,esriGeometryEnvelope:0};function m({scale:e,translate:t},i){return Math.round((i-t[0])/e[0])}function y({scale:e,translate:t},i){return Math.round((t[1]-i)/e[1])}function g({scale:e,translate:t},i){return Math.round((i-t[0])/e[0])}function x({scale:e,translate:t},i){return Math.round((i-t[1])/e[1])}function _({scale:e,translate:t},i,r){return i*e[r]+t[r]}function v(e,t,i){return t&&(e.hasZ=!0),i&&(e.hasM=!0),e}function T(e,t,i,r){if(t&&r&&e!==i)return(t,i,r,n)=>{r[n++]=t[i++],r[n++]=t[i++],e?i++:r[n++]=0,r[n++]=t[i++]??0};let n=+!!i+2+ +!!r,s=n-((!e&&i?1:0)+(!t&&r?1:0));return(e,t,i,r)=>{for(let a=0;a<n;++a)i[r++]=a<s?e[t++]??0:0}}function F(e,t,i){if(!e)return null;let{coords:r,hasZ:n,hasM:s}=e,[a,l]=r,o=n?r[2]:0,u=s?r[+!!n+2]:0;return{x:a,y:l,z:t?o:void 0,m:i?u:void 0}}function S(e,t=(0,o.Pv)(e),i=(0,o.W0)(e)){let{x:r,y:n,z:s,m:a}=e,l=[r,n];return t&&l.push(s??0),i&&l.push(a??0),new c.A([],l,t,i)}function I(e,t,i){if(null==e)return null;let{coords:r,stride:n,hasZ:s,hasM:a}=e,l=T(s,a,t,i),o=[];for(let e=0;e<r.length;e+=n){let t=[];l(r,e,t,0),o.push(t)}return v({points:o},t,i)}function w(e,t=(0,o.Pv)(e),i=(0,o.W0)(e)){let{points:r,hasZ:n,hasM:s}=e,a=new c.A([r.length],[],t,i),{coords:l,stride:u}=a,d=0,h=T(n??!1,s??!1,t,i);for(let e of r)h(e,0,l,d),d+=u;return a}function R(e,t,i){if(!e)return null;let{coords:r,lengths:n,stride:s,hasZ:a,hasM:l}=e,o=0,u=T(a,l,t,i),d=[];for(let e of n){let t=[];for(let i=0;i<e;i++){let e=[];u(r,o,e,0),o+=s,t.push(e)}d.push(t)}return v({paths:d},t,i)}function E(e,t=(0,o.Pv)(e),i=(0,o.W0)(e)){let{paths:r,hasZ:n,hasM:s}=e,a=T(n??!1,s??!1,t,i),l=new c.A([],[],t,i),{lengths:u,coords:d,stride:h}=l,f=0;for(let e of r){for(let t of e)a(t,0,d,f),f+=h;u.push(e.length)}return l}function A(e,t,i){if(!e)return null;let{coords:r,lengths:n,stride:s,hasZ:a,hasM:l}=e,o=0,u=T(a,l,t,i),d=[];for(let e of n){let t=[];for(let i=0;i<e;i++){let e=[];u(r,o,e,0),o+=s,t.push(e)}d.push(t)}return v({rings:d},t,i)}function M(e,t=(0,o.Pv)(e),i=(0,o.W0)(e)){let{rings:r,hasZ:n,hasM:s}=e,a=new c.A([],[],t,i),{lengths:l,coords:u,stride:d}=a,h=0,f=T(n??!1,s??!1,t,i);for(let e of r){for(let t of e)f(t,0,u,h),h+=d;l.push(e.length)}return a}const b=[],C=[];function O(e,t,i,r,n){b[0]=e;let[s]=N(C,b,t,i,r,n);return $(b),$(C),s}function N(e,t,i,n,s,a){if($(e),!i){for(let i of t){let t=(0,h.W)(i,a);e.push(new u.Om(null,i.attributes,null,t,void 0,i.distance,i.vertexCount))}return e}switch(i){case"esriGeometryPoint":return function(e,t,i,r,n){for(let s of t){let{geometry:t,attributes:a,centroid:l}=s,d=(0,o.Pv)(t),c=(0,o.W0)(t);e.push(new u.Om(t?S(t,i&&d,r&&c):null,a,l?S(l,!1,!1):null,(0,h.W)(s,n),s.displayId,s.distance,s.vertexCount))}return e}(e,t,n,s,a);case"esriGeometryMultipoint":return function(e,t,i,r,n){for(let s of t){let{geometry:t,attributes:a}=s,l=(0,o.Pv)(t),d=(0,o.W0)(t);e.push(new u.Om(t?w(t,i&&l,r&&d):null,a,null,(0,h.W)(s,n),s.displayId,s.distance,s.vertexCount))}return e}(e,t,n,s,a);case"esriGeometryPolyline":return function(e,t,i,r,n){for(let s of t){let{geometry:t,attributes:a,centroid:l}=s,d=(0,o.Pv)(t),c=(0,o.W0)(t);e.push(new u.Om(t?E(t,i&&d,r&&c):null,a,l?S(l,!1,!1):null,(0,h.W)(s,n),s.displayId,s.distance,s.vertexCount))}return e}(e,t,n,s,a);case"esriGeometryPolygon":case"esriGeometryMultiPatch":return function(e,t,i,r,n){for(let s of t){let{geometry:t,attributes:a,centroid:l}=s,d=(0,o.Pv)(t),c=(0,o.W0)(t);e.push(new u.Om(t?M(t,i&&d,r&&c):null,a,l?S(l,!1,!1):null,(0,h.W)(s,n),s.displayId,s.distance,s.vertexCount))}return e}(e,t,n,s,a);default:f().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${i}'`)),$(e)}return e}function V(e,t,i,r){C[0]=e,G(b,C,t,i,r);let n=b[0];return $(b),$(C),n}function z(e,t=(0,o.Pv)(e),i=(0,o.W0)(e)){return null==e?null:(0,o.fT)(e)?S(e,t,i):(0,o.Bi)(e)?M(e,t,i):(0,o.Rg)(e)?E(e,t,i):(0,o.U9)(e)?w(e,t,i):void f().error("convertFromGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${e}'`))}function P(e,t,i,n){if(null==e)return null;let s="coords"in e?e:e.geometry;if(null==s)return null;switch(t){case"esriGeometryPoint":return F(s,i,n);case"esriGeometryMultipoint":return I(s,i,n);case"esriGeometryPolyline":return R(s,i,n);case"esriGeometryPolygon":return A(s,i,n);default:return f().error("convertToGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${t}'`)),null}}function G(e,t,i,n,s){if($(e),null==i)return function(e,t){for(let i of t)e.push({attributes:i.attributes});return e}(e,t);switch(i){case"esriGeometryPoint":return function(e,t,i,r){for(let{geometry:n,attributes:s}of t)e.push({attributes:s,geometry:F(n,i,r)});return e}(e,t,n,s);case"esriGeometryMultipoint":return function(e,t,i,r){for(let{geometry:n,attributes:s}of t)e.push({geometry:n&&I(n,i,r),attributes:s});return e}(e,t,n,s);case"esriGeometryPolyline":return function(e,t,i,r){for(let{geometry:n,attributes:s}of t)e.push({geometry:n&&R(n,i,r),attributes:s});return e}(e,t,n,s);case"esriGeometryPolygon":return function(e,t,i,r){for(let{geometry:n,attributes:s,centroid:a}of t){let t=A(n,i,r),l=F(a,!1,!1);e.push(a?{geometry:t,attributes:s,centroid:l}:{geometry:t,attributes:s})}return e}(e,t,n,s);default:f().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${i}'`))}return e}function D(e){let{spatialReference:t,transform:i,fields:r,hasM:n,hasZ:s,features:a,geometryType:l,exceededTransferLimit:o,queryGeometry:u,queryGeometryType:d}=e,c={features:G([],a,l,s,n),fields:r,geometryType:l,spatialReference:t,queryGeometry:P(u,d,s,n)};return i&&(c.transform=i),o&&(c.exceededTransferLimit=o),n&&(c.hasM=n),s&&(c.hasZ=s),c}function B(e,t){let i=new d.A,{hasM:r,hasZ:n,features:s,spatialReference:a,geometryType:l,exceededTransferLimit:o,transform:u,fields:c,globalIdFieldName:h}=e;return c&&(i.fields=c),i.geometryType=l??null,i.spatialReference=a??null,s&&N(i.features,s,l,n,r,t),o&&(i.exceededTransferLimit=o),r&&(i.hasM=r),n&&(i.hasZ=n),u&&(i.transform=u),h&&(i.globalIdFieldName=h),i}function L(e,t){let{geometryType:i,features:r}=t;if(!e)return t;for(let t=0;t<r.length;t++){let n=r[t],s=n.weakClone();s.geometry=q(n.geometry,i,e),s.centroid=q(n.centroid,"esriGeometryPoint",e),r[t]=s}return t.transform=e,t}function q(e,t,i,r,n,s=!1){if(null==e||!e?.coords.length)return null;let a=p[t],{coords:l,lengths:o,stride:u,hasZ:d,hasM:h}=e;r??=d,n??=h;let f=new c.A([],[],r,n),_=f.stride,v=T(d,h,r,n),F=0,S=[0,0,0,0].slice(_),I=s?g:m,w=s?x:y;function R(){v(l,F,S,0),F+=u,S[0]=I(i,S[0]),S[1]=w(i,S[1])}if(e.isPoint)return R(),f.coords.push(...S),f;let E=0;for(let e of o){if(e<a)continue;let t=1;R(),f.coords.push(...S);let[i,r]=S;for(let n=1;n<e;n++){R();let[e,n]=S;(i!==e||r!==n)&&(s||(S[0]-=i,S[1]-=r),f.coords.push(...S),i=e,r=n,t++)}t>=a?(f.lengths.push(t),E=f.coords.length):$(f.coords,E)}return $(f.coords,E),f.coords.length?f:null}function Q(e,t,i,r=e.hasZ,n=e.hasM){if(!e.coords.length)return null;let s=p[t],{coords:a,lengths:l,stride:o,hasZ:u,hasM:d}=e,h=new c.A([],[],r,n),f=h.stride,m=T(u,d,r,n);if(e.isPoint)return m(a,0,h.coords,0),h;let y=0,g=i*i;for(let e of l){if(e<s){y+=e*o;continue}let t=h.coords.length/f,i=y,r=y+(e-1)*o;m(a,i,h.coords,h.coords.length),U(h.coords,a,o,g,m,i,r),m(a,r,h.coords,h.coords.length);let n=h.coords.length/f-t;n>=s?h.lengths.push(n):$(h.coords,t*f),y+=e*o}return h.coords.length?h:null}function Z(e,t,i,r){let n=e[t],s=e[t+1],a=e[i],l=e[i+1],o=e[r],u=e[r+1],d=a,c=l,h=o-d,f=u-c;if(0!==h||0!==f){let e=((n-d)*h+(s-c)*f)/(h*h+f*f);e>1?(d=o,c=u):e>0&&(d+=h*e,c+=f*e)}return h=n-d,f=s-c,h*h+f*f}function U(e,t,i,r,n,s,a){let l,o=r,u=0;for(let e=s+i;e<a;e+=i)l=Z(t,e,s,a),l>o&&(u=e,o=l);o>r&&(u-s>i&&U(e,t,i,r,n,s,u),n(t,u,e,e.length),a-u>i&&U(e,t,i,r,n,u,a))}function k(e,t){if(!t?.coords?.length)return null;let i=1/0,r=1/0,n=-1/0,s=-1/0,{coords:o,stride:u}=t;for(let e=0;e<o.length;e+=u){let t=o[e],a=o[e+1];i=Math.min(i,t),n=Math.max(n,t),r=Math.min(r,a),s=Math.max(s,a)}return(0,a.is)(e)?(0,a.BI)(e,i,r,n,s):(0,l.fA)(i,r,n,s,e),e}function j(e,t){let{coords:i,lengths:r,stride:n,hasZ:a,hasM:l}=e;if(!i.length)return void(r.length=0);(0,s.Lw)(t);let{originPosition:o,scale:u,translate:d}=t,c=J;c.originPosition=o;let h=c.scale;h[0]=u[0]??1,h[1]=-(u[1]??1),h[2]=u[2]??1,h[3]=u[3]??1;let f=c.translate;if(f[0]=d[0]??0,f[1]=d[1]??0,f[2]=d[2]??0,f[3]=d[3]??0,l&&!a&&(h[2]=h[3],f[2]=f[3]),!r.length){for(let e=0;e<n;++e)i[e]=_(c,i[e],e);return void(r.length=0)}let p=0;for(let e=0;e<r.length;e++){let t=r[e];r[e]=t;for(let e=0;e<n;++e)i[p+e]=_(c,i[p+e],e);let s=i[p],a=i[p+1];p+=n;for(let e=1;e<t;e++,p+=n){s+=i[p]*h[0],a+=i[p+1]*h[1],i[p]=s,i[p+1]=a;for(let e=2;e<n;++e)i[p+e]=_(c,i[p+e],e)}}}function H(e,t,i,r){let n=0,s=e[r*t],a=e[r*(t+1)];for(let l=1;l<i;l++){let i=s+e[r*(t+l)],o=a+e[r*(t+l)+1],u=(i-s)*(o+a);s=i,a=o,n+=u}return.5*n}function W(e,t){let{coords:i,lengths:r}=e,n=0,s=0;for(let e=0;e<r.length;e++){let a=r[e];s+=H(i,n,a,t),n+=a}return Math.abs(s)}function $(e,t=0){e.length!==t&&(e.length=t)}const J={originPosition:"lowerLeft",scale:[1,1,1,1],translate:[0,0,0,0]}},5834(e,t,i){i.d(t,{A:()=>c});var r=i(32198),n=i(93637),s=i(91429),a=i(78888),l=i(41266),o=i(41366),u=i(93223);function d(e,t,i){(0,n.sM)(i,e instanceof Date?e.getTime():e,t)}let c=class extends((0,o.K)(l.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],c.prototype,"numBins",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:d}}})],c.prototype,"end",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:d}}})],c.prototype,"start",void 0),(0,r.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,r.Cg)([(0,s.$K)("esri.rest.support.AutoIntervalBinParameters")],c),c.from=(0,a.dp)(c)},41266(e,t,i){i.d(t,{A:()=>m});var r=i(32198),n=i(69540),s=i(66552),a=i(25482),l=i(91429),o=i(78888),u=i(93223);const d=new s.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let c=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"outAlias",write:!0}})],c.prototype,"alias",void 0),(0,r.Cg)([(0,l.MZ)({type:String})],c.prototype,"responseType",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"value",void 0),(0,r.Cg)([(0,u.e)(d)],c.prototype,"valueType",void 0),c=(0,r.Cg)([(0,l.$K)("esri.rest.support.AttributeBinsGrouping")],c);const h=c;c.from=(0,o.dp)(c);const f=new s.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),p=new s.J({naturalLog:"natural-log",squareRoot:"square-root"});let m=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],m.prototype,"expression",void 0),(0,r.Cg)([(0,u.e)(f,{name:"onExpression.valueType"})],m.prototype,"expressionValueType",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"onField",write:!0}})],m.prototype,"field",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],m.prototype,"firstDayOfWeek",void 0),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hideUpperBound",void 0),(0,r.Cg)([(0,l.MZ)({type:h,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],m.prototype,"splitBy",void 0),(0,r.Cg)([(0,l.MZ)({type:h,json:{write:{target:{stackBy:{type:h},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>h.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],m.prototype,"stackBy",void 0),(0,r.Cg)([(0,u.e)(p)],m.prototype,"transformation",void 0),m=(0,r.Cg)([(0,l.$K)("esri.rest.support.BinParametersBase")],m)},9760(e,t,i){i.d(t,{A:()=>d});var r=i(32198),n=i(66552),s=i(25482),a=i(91429),l=i(93223);const o=new n.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new n.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let d=class extends s.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,r.Cg)([(0,l.e)({classBreaksDef:"class-breaks-definition"})],d.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"breakCount",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"classificationField",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{read:o.read,write:o.write}})],d.prototype,"classificationMethod",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"normalizationType",void 0),(0,r.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],d.prototype,"standardDeviationInterval",null),(0,r.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],d.prototype,"definedInterval",null),d=(0,r.Cg)([(0,a.$K)("esri.rest.support.ClassBreaksDefinition")],d)},59977(e,t,i){i.d(t,{A:()=>y});var r=i(32198),n=i(93637),s=i(91429),a=i(78888),l=i(41266),o=i(69540),u=i(25482),d=i(57231),c=i(93223);let h=class extends((0,o.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"number",write:!0}})],h.prototype,"value",void 0),(0,r.Cg)([(0,c.e)(d.g)],h.prototype,"unit",void 0),h=(0,r.Cg)([(0,s.$K)("esri.rest.support.DateBinTimeInterval")],h);const f=h;function p(e,t,i){(0,n.sM)(i,"string"==typeof e?e:e?.getTime(),t)}function m(e,t){let i=e.parameters[t];return i?"string"==typeof i?i:new Date(i):null}h.from=(0,a.dp)(h);let y=class extends l.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,r.Cg)([(0,s.MZ)({cast:e=>null==e?null:"string"==typeof e?e:new Date(e),json:{name:"parameters.end",read:{reader:(e,t)=>m(t,"end")},write:{writer:p}}})],y.prototype,"end",void 0),(0,r.Cg)([(0,s.MZ)({type:f,json:{name:"parameters",write:!0}})],y.prototype,"interval",void 0),(0,r.Cg)([(0,s.MZ)({type:f,json:{name:"parameters.offset",write:!0}})],y.prototype,"offset",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],y.prototype,"returnFullIntervalBin",void 0),(0,r.Cg)([(0,s.MZ)({cast:e=>null==e?null:"string"==typeof e?e:new Date(e),json:{name:"parameters.start",read:{reader:(e,t)=>m(t,"start")},write:{writer:p}}})],y.prototype,"start",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],y.prototype,"snapToData",void 0),(0,r.Cg)([(0,c.e)({dateBin:"date"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,r.Cg)([(0,s.$K)("esri.rest.support.DateBinParameters")],y),y.from=(0,a.dp)(y)},57231(e,t,i){const r=(0,i(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"});i.d(t,["g",0,r])},11440(e,t,i){i.d(t,{A:()=>u});var r=i(32198),n=i(93637),s=i(91429),a=i(78888),l=i(41266),o=i(93223);let u=class extends l.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,i){(0,n.sM)(i,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,r.Cg)([(0,o.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,r.Cg)([(0,s.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,a.dp)(u)},60909(e,t,i){i.d(t,{A:()=>c});var r=i(32198),n=i(93637),s=i(91429),a=i(78888),l=i(41266),o=i(41366),u=i(93223);function d(e,t,i){(0,n.sM)(i,e instanceof Date?e.getTime():e,t)}let c=class extends((0,o.K)(l.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:d}}})],c.prototype,"end",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],c.prototype,"interval",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:d}}})],c.prototype,"start",void 0),(0,r.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,r.Cg)([(0,s.$K)("esri.rest.support.FixedIntervalBinParameters")],c),c.from=(0,a.dp)(c)},41366(e,t,i){var r=i(32198),n=i(66552),s=i(53966),a=i(91429),l=i(93223);const o=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",d="field";i.d(t,["K",0,e=>{let t=e,i=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&d||i&&u||null,t&&i&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===d||e===u)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,a.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,l.e)(o,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),i=(0,r.Cg)([(0,a.$K)("esri.rest.support.NormalizationBinParametersMixin")],i),i},"Q",0,o])},84892(e,t,i){i.d(t,{t:()=>s});var r=i(53966);function n(e,t){return Number(e.toFixed(t))}function s(e,t){let{normalizationTotal:i}=e;return{classBreaks:a(e,t),normalizationTotal:i}}function a(e,t){let i=e.definition,{classificationMethod:r,normalizationType:s,definedInterval:a}=i,u=i.breakCount??1,d=[],c=e.values;if(0===c.length)return[];c=c.sort((e,t)=>e-t);let[h,f]=t??[c.at(0),c.at(-1)];if("equal-interval"===r)if(c.length>=u){let e=(f-h)/u,t=h;for(let i=1;i<u;i++){let r=n(h+i*e,6);d.push({minValue:t,maxValue:r,label:l(t,r,s)}),t=r}d.push({minValue:t,maxValue:f,label:l(t,f,s)})}else c.forEach(e=>{d.push({minValue:e,maxValue:e,label:l(e,e,s)})});else if("natural-breaks"===r){let t=function(e){let t=[],i=[],r=Number.MIN_VALUE,n=1,s=-1;for(let a=0;a<e.length;a++){let l=e[a];l===r?(n++,i[s]=n):null!==l&&(t.push(l),r=l,n=1,i.push(n),s++)}return{uniqueValues:t,valueFrequency:i}}(c),i=e.valueFrequency||t.valueFrequency,r=o(t.uniqueValues,i,u),a=h;for(let e=1;e<u;e++)if(t.uniqueValues.length>e){let i=n(t.uniqueValues[r[e]],6);d.push({minValue:a,maxValue:i,label:l(a,i,s)}),a=i}d.push({minValue:a,maxValue:f,label:l(a,f,s)})}else if("quantile"===r)if(c.length>=u&&h!==f){let e=h,t=Math.ceil(c.length/u),i=0;for(let r=1;r<u;r++){let n=t+i-1;n>c.length&&(n=c.length-1),n<0&&(n=0),d.push({minValue:e,maxValue:c[n],label:l(e,c[n],s)}),e=c[n],i+=t,t=Math.ceil((c.length-i)/(u-r))}d.push({minValue:e,maxValue:f,label:l(e,f,s)})}else{let e=-1;for(let t=0;t<c.length;t++){let i=c[t];i!==e&&(e=i,d.push({minValue:e,maxValue:i,label:l(e,i,s)}),e=i)}}else if("standard-deviation"===r){let e=function(e){let t=0;for(let i=0;i<e.length;i++)t+=e[i];return t/=e.length,t}(c),t=function(e,t){let i=0;for(let r=0;r<e.length;r++){let n=e[r];i+=(n-t)*(n-t)}return i/=e.length,Math.sqrt(i)}(c,e);if(0===t)d.push({minValue:c[0],maxValue:c[0],label:l(c[0],c[0],s)});else{let i=function(e,t,i,r,n){let s=Math.max(r-e,t-r)/n/i;return s=s>=1?1:s>=.5?.5:.25,s}(h,f,u,e,t)*t,r=0,a=h;for(let t=u;t>=1;t--){let o=n(e-(t-.5)*i,6);d.push({minValue:a,maxValue:o,label:l(a,o,s)}),a=o,r++}let o=n(e+.5*i,6);d.push({minValue:a,maxValue:o,label:l(a,o,s)}),a=o,r++;for(let t=1;t<=u;t++)o=r===2*u?f:n(e+(t+.5)*i,6),d.push({minValue:a,maxValue:o,label:l(a,o,s)}),a=o,r++}}else if("defined-interval"===r){if(!a)return d;let[e,i]=t??[c.at(0),c.at(-1)],r=Math.ceil((i-e)/a),o=e;for(let t=1;t<r;t++){let i=n(e+t*a,6);d.push({minValue:o,maxValue:i,label:l(o,i,s)}),o=i}d.push({minValue:o,maxValue:i,label:l(o,i,s)})}return d}function l(e,t,i){let r=null;return r=e===t?i&&"percent-of-total"===i?e+"%":e.toString():i&&"percent-of-total"===i?e+"% - "+t+"%":e+" - "+t,r}function o(e,t,i){let r=e.length,n=[];i>r&&(i=r);for(let e=0;e<i;e++)n.push(Math.round(e*r/i-1));n.push(r-1);let s=u(n,e,t,i);return function(e,t,i,r,n,s){let a=0,l=0,o=0,u=0,c=!0;for(let h=0;h<2&&c;h++){0===h&&(c=!1);for(let h=0;h<s-1;h++)for(;i[h+1]+1!==i[h+2];){i[h+1]=i[h+1]+1;let s=d(h,i,r,n);o=s.sbMean,a=s.sbSdcm;let f=d(h+1,i,r,n);if(u=f.sbMean,l=f.sbSdcm,!(a+l<t[h]+t[h+1])){i[h+1]=i[h+1]-1;break}t[h]=a,t[h+1]=l,e[h]=o,e[h+1]=u,c=!0}for(let h=s-1;h>0;h--)for(;i[h]!==i[h-1]+1;){i[h]=i[h]-1;let s=d(h-1,i,r,n);o=s.sbMean,a=s.sbSdcm;let f=d(h,i,r,n);if(u=f.sbMean,l=f.sbSdcm,!(a+l<t[h-1]+t[h])){i[h]=i[h]+1;break}t[h-1]=a,t[h]=l,e[h-1]=o,e[h]=u,c=!0}}return c}(s.mean,s.sdcm,n,e,t,i)&&(s=u(n,e,t,i)),n}function u(e,t,i,r){let n=[],s=[],a=[],l=0,o=[],u=[];for(let n=0;n<r;n++){let r=d(n,e,t,i);o.push(r.sbMean),u.push(r.sbSdcm),l+=u[n]}let c,h=l,f=!0;for(;f||l<h;){f=!1,n=[];for(let t=0;t<r;t++)n.push(e[t]);for(let i=0;i<r;i++)for(let n=e[i]+1;n<=e[i+1];n++)if(c=t[n],i>0&&n!==e[i+1]&&Math.abs(c-o[i])>Math.abs(c-o[i-1]))e[i]=n;else if(i<r-1&&e[i]!==n-1&&Math.abs(c-o[i])>Math.abs(c-o[i+1])){e[i+1]=n-1;break}h=l,l=0,s=[],a=[];for(let n=0;n<r;n++){s.push(o[n]),a.push(u[n]);let r=d(n,e,t,i);o[n]=r.sbMean,u[n]=r.sbSdcm,l+=u[n]}}if(l>h){for(let t=0;t<r;t++)e[t]=n[t],o[t]=s[t],u[t]=a[t];l=h}return{mean:o,sdcm:u}}function d(e,t,i,n){let s=0,a=0;for(let r=t[e]+1;r<=t[e+1];r++){let e=n[r];s+=i[r]*e,a+=e}a<=0&&r.A.getLogger("esri.rest.support.generateRendererUtils").warn("Exception in Natural Breaks calculation");let l=s/a,o=0;for(let r=t[e]+1;r<=t[e+1];r++)o+=n[r]*(i[r]-l)**2;return{sbMean:l,sbSdcm:o}}},1873(e,t,i){i.d(t,{$y:()=>V,Ak:()=>P,FM:()=>p,G_:()=>h,Rw:()=>O,Vb:()=>d,b3:()=>A,gJ:()=>u,jM:()=>N,lv:()=>b,oZ:()=>E,qg:()=>f,sU:()=>z,z9:()=>c,zS:()=>C});var r=i(9760),n=i(84892);const s=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,a=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),l=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),o=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function d(e){let t=null!=e.normalizationField||null!=e.normalizationType,i=null!=e.minValue||null!=e.maxValue,r=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!i&&!r}function c(e){let{outStatisticTypes:t}=e,i=e.returnDistinct?[...new Set(e.values)]:e.values,r=i.filter(e=>null!=e).sort(),n=r.length,s={count:n,min:r[0],max:r[n-1]};return e.supportsNullCount&&(s.nullcount=i.length-n),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=f(i,e.percentileParams)),s}function h(e){let{values:t,useSampleStdDev:i,supportsNullCount:r,outStatisticTypes:n}=e,s=1/0,a=-1/0,l=null,o=null,u=null,d=null,c=0,h=null==e.minValue?-1/0:e.minValue,p=null==e.maxValue?1/0:e.maxValue;for(let e of t)Number.isFinite(e)?e>=h&&e<=p&&(l=null===l?e:l+e,s=Math.min(s,e),a=Math.max(a,e),c++):"string"==typeof e&&c++;if(c&&null!=l){o=l/c;let e=0;for(let i of t)Number.isFinite(i)&&i>=h&&i<=p&&(e+=(i-o)**2);d=i?c>1?e/(c-1):0:c>0?e/c:0,u=Math.sqrt(d)}else s=null,a=null;let m={avg:o,count:c,max:a,min:s,stddev:u,sum:l,variance:d};return r&&(m.nullcount=t.length-c),!e.percentileParams||n?.include?.length&&!n.include.includes("median")||n?.exclude?.length&&n.exclude.includes("median")||(m.median=f(t,e.percentileParams)),m}function f(e,t){let{fieldType:i,value:r,orderBy:n,isDiscrete:s}=t,a=p(i,"desc"===n,"case-insensitive");if(e=[...e].filter(e=>null!=e).sort((e,t)=>a(e,t)),0===e.length)return null;if(r<=0)return e[0];if(r>=1)return e[e.length-1];let l=(e.length-1)*r,o=Math.floor(l),u=o+1,d=l%1,c=e[o],h=e[u];return u>=e.length||s||"string"==typeof c||"string"==typeof h?c:c*(1-d)+h*d}function p(e,t,i="case-sensitive"){if(e){if(a.has(e))return w(t);if(l.has(e))return F(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?_:x}(t);let r=F(t,"case-sensitive"===i);if("esriFieldTypeString"===e)return r;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>r(R(e),R(t))}let r=t?1:-1,n=w(t),s=F(t,"case-sensitive"===i),o=g(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?n(e,t):"string"==typeof e&&"string"==typeof t?s(e,t):o(e,t)??r}const m=(e,t)=>null==e?null==t?0:1:null==t?-1:null,y=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function g(e){return e?m:y}const x=(e,t)=>y(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),_=(e,t)=>m(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),v=(e,t)=>y(e,t)??(e===t?0:e<t?-1:1),T=(e,t)=>m(e,t)??(e===t?0:e<t?1:-1);function F(e,t){if(t)return e?T:v;let i=g(e);return e?(e,t)=>i(e,t)??((e=e.toUpperCase())>(t=t.toUpperCase())?-1:+(e<t)):(e,t)=>i(e,t)??((e=e.toUpperCase())<(t=t.toUpperCase())?-1:+(e>t))}const S=(e,t)=>m(e,t)??t-e,I=(e,t)=>y(e,t)??e-t;function w(e){return e?S:I}function R(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function E(e,t,i){let r;for(r in e)t?.include?.length&&!t.include.includes(r)||t?.exclude?.length&&t.exclude.includes(r)?delete e[r]:o.includes(r)&&(Number.isFinite(e[r])||(e[r]=null));return i&&["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e}function A(e){let t={};for(let i of e)(null==i||"string"==typeof i&&""===i.trim())&&(i=null),null==t[i]?t[i]={count:1,data:i}:t[i].count++;return{count:t}}function M(e){return"coded-value"===e?.type?e.codedValues.map(e=>e.code):[]}function b(e,t,i,r){let n=e.count,s=[];if(i&&t){let e=[],i=M(t[0]);for(let n of i)if(t[1]){let i=M(t[1]);for(let s of i)if(t[2]){let i=M(t[2]);for(let t of i)e.push(`${u(n)}${r}${u(s)}${r}${u(t)}`)}else e.push(`${u(n)}${r}${u(s)}`)}else e.push(n);for(let t of e)n.hasOwnProperty(t)||(n[t]={data:t,count:0})}for(let e in n){let t=n[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function C(e,t,i,r){let n=null;switch(t){case"log":0!==e&&(n=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(r)&&0!==r&&(n=e/r*100);break;case"field":Number.isFinite(i)&&0!==i&&(n=e/i);break;case"natural-log":e>0&&(n=Math.log(e));break;case"square-root":e>0&&(n=e**.5)}return n}function O(e,t,i){let s=function(e){let{breakCount:t,field:i,normalizationField:n,normalizationType:s}=e,a=e.classificationMethod||"equal-interval",l="standard-deviation"===a?e.standardDeviationInterval||1:void 0,o="defined-interval"===a?e.definedInterval:void 0;return new r.A({breakCount:t,classificationField:i,classificationMethod:a,normalizationField:"field"===s?n:void 0,normalizationType:s,standardDeviationInterval:l,definedInterval:o})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,i){let r=t??-1/0,n=i??1/0;return e.filter(e=>Number.isFinite(e)&&e>=r&&e<=n)}(e,t.minValue,t.maxValue),(0,n.t)({definition:s,values:e,normalizationTotal:t.normalizationTotal},i)}function N(e,t){let i=e.classBreaks,r=i.length,n=i[0]?.minValue,a=i[r-1]?.maxValue,l="standard-deviation"===t,o=s;return i=i.map(e=>{let t=e.label,i={minValue:e.minValue,maxValue:e.maxValue,label:t};if(l&&t){let e=t.match(o)?.map(e=>+e.trim())??[];2===e.length?(i.minStdDev=e[0],i.maxStdDev=e[1],e[0]<0&&e[1]>0&&(i.hasAvg=!0)):1===e.length&&(t.includes("<")?(i.minStdDev=null,i.maxStdDev=e[0]):t.includes(">")&&(i.minStdDev=e[0],i.maxStdDev=null))}return i}),{minValue:n,maxValue:a,classBreakInfos:i,normalizationTotal:e.normalizationTotal}}function V(e,t){let i=z(e,t);if(null==i.min&&null==i.max)return{bins:[],minValue:i.min,maxValue:i.max,normalizationTotal:t.normalizationTotal};let r=i.intervals,n=i.min??0,s=i.max??0,a=r.map((e,t)=>({minValue:r[t][0],maxValue:r[t][1],count:0}));for(let t of e)if(null!=t&&t>=n&&t<=s){let e=P(r,t);e>-1&&a[e].count++}return{bins:a,minValue:n,maxValue:s,normalizationTotal:t.normalizationTotal}}function z(e,t,i=!1){let{field:r,classificationMethod:n,standardDeviationInterval:s,definedInterval:a,normalizationType:l,normalizationField:o,normalizationTotal:u,minValue:c,maxValue:f}=t,p=t.numBins||10,m=null,y=null,g=null;if(n&&"equal-interval"!==n||l){let{classBreaks:t}=O(e,{field:r,normalizationType:l,normalizationField:o,normalizationTotal:u,classificationMethod:n,standardDeviationInterval:s,definedInterval:a,minValue:c,maxValue:f,numClasses:p},null!=c&&null!=f?[c,f]:void 0);m=t[0]?.minValue,y=t[t.length-1]?.maxValue,g=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=c&&null!=f)m=c,y=f;else{let t=h({values:e,minValue:c,maxValue:f,useSampleStdDev:!l,supportsNullCount:d({normalizationType:l,normalizationField:o,minValue:c,maxValue:f})});m=t.min??null,y=t.max??null}g=function(e,t,i){let r,n=(t-e)/i,s=[],a=e;for(let e=1;e<=i;e++)r=a+n,r=Number(r.toFixed(16)),s.push([a,e===i?t:r]),a=r;return s}(m??0,y??0,p)}if(i&&g.length){let e=g.at(-1)[1];g.push([e,e])}return{min:m,max:y,intervals:g}}function P(e,t){let i=-1;for(let r=e.length-1;r>=0;r--)if(t>=e[r][0]){i=r;break}return i}},92359(e,t,i){i.d(t,{nu:()=>h,W6:()=>u}),i(4576),i(71511),i(44208),i(53966);var r=i(17676),n=(i(36708),i(44794),i(78659)),s=i(32198),a=i(56372),l=i(91429);let o=class extends a.A{constructor(){super(...arguments),this.SCHEDULER_LOG_SLOW_TASKS=!1,this.FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES=!1}};(0,s.Cg)([(0,l.MZ)()],o.prototype,"SCHEDULER_LOG_SLOW_TASKS",void 0),(0,s.Cg)([(0,l.MZ)()],o.prototype,"FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES",void 0),o=(0,s.Cg)([(0,l.$K)("esri.views.support.debugFlags")],o),new o,i(49186),Symbol("Yield");const u={RESOURCE_CONTROLLER_IMMEDIATE:"immediate",RESOURCE_CONTROLLER:"schedule",SLIDE:"slide",STREAM_DATA_LOADER:"stream loader",ELEVATION_QUERY:"elevation query",TERRAIN_SURFACE:"terrain",SURFACE_GEOMETRY_UPDATES:"surface geometry updates",LOD_RENDERER:"LoD renderer",GRAPHICS_CORE:"Graphics3D",I3S:"I3S",LYR3D:"Lyr3D",TILES3D:"3DTiles",POINT_CLOUD_LAYER:"point cloud",FEATURE_TILE_FETCHER:"feature fetcher",STREAM_CONTROLLER:"stream controller",SCREEN_POLYGON_INTERSECTION:"screen polygon intersection",OCCLUSION_QUERY:"occlusion query",OVERLAY:"overlay",OVERLAY_RENDERER:"overlay renderer",STAGE:"stage",GRAPHICS_DECONFLICTOR:"graphics deconflictor",FILTER_VISIBILITY:"graphics filter visibility",SCALE_VISIBILITY:"graphics scale visibility",FRUSTUM_VISIBILITY:"graphics frustum visibility",POINT_OF_INTEREST_FREQUENT:"POI frequent",POINT_OF_INTEREST_INFREQUENT:"POI infrequent",LABELER:"labeler",FEATURE_FILTER_HIGHLIGHT:"feature filter highlight",FEATURE_QUERY_ENGINE:"feature query",FEATURE_TILE_TREE:"feature tile tree",FEATURE_TILE_TREE_ACTIVE:"fast feature tile tree",ELEVATION_ALIGNMENT:"elevation alignment",ELEVATION_ALIGNMENT_SCENE:"elevation alignment scene",TEXT_TEXTURE_ATLAS:"text texture atlas",TEXTURE_UNLOAD:"texture unload",LINE_OF_SIGHT_TOOL:"line of sight tool",LINE_OF_SIGHT_TOOL_INTERACTIVE:"interactive line of sight tool",VOLUME_MEASUREMENT:"volume measurement",ELEVATION_PROFILE:"elevation profile",SNAPPING:"snapping",SHADOW_ACCUMULATOR:"shadow accumulator",CLOUDS_GENERATOR:"clouds generator",FLOW_GENERATOR:"flow generator",GAUSSIAN_SPLAT_SORTING:"gaussian splat sorting",GAUSSIAN_SPLAT_TEXTURE_ATLAS:"gaussian splat texture atlas",MAPVIEW_FETCH_QUEUE:"mapview fetch queue",MAPVIEW_LAYERVIEW_UPDATE:"mapview layerview update",MAPVIEW_VECTOR_TILE_PARSING_QUEUE:"mapview vector tile parsing queue",NONE:0,TEST_PRIO:1};new Map([[u.RESOURCE_CONTROLLER_IMMEDIATE,0],[u.RESOURCE_CONTROLLER,4],[u.SLIDE,0],[u.STREAM_DATA_LOADER,0],[u.ELEVATION_QUERY,0],[u.TERRAIN_SURFACE,1],[u.SURFACE_GEOMETRY_UPDATES,1],[u.LOD_RENDERER,2],[u.GRAPHICS_CORE,2],[u.I3S,2],[u.LYR3D,2],[u.TILES3D,3],[u.POINT_CLOUD_LAYER,2],[u.FEATURE_TILE_FETCHER,2],[u.STREAM_CONTROLLER,2],[u.SCREEN_POLYGON_INTERSECTION,0],[u.CLOUDS_GENERATOR,2],[u.OCCLUSION_QUERY,2],[u.OVERLAY,4],[u.OVERLAY_RENDERER,4],[u.STAGE,4],[u.GRAPHICS_DECONFLICTOR,4],[u.FILTER_VISIBILITY,4],[u.SCALE_VISIBILITY,4],[u.FRUSTUM_VISIBILITY,4],[u.POINT_OF_INTEREST_FREQUENT,6],[u.POINT_OF_INTEREST_INFREQUENT,30],[u.LABELER,8],[u.FEATURE_FILTER_HIGHLIGHT,2],[u.FEATURE_QUERY_ENGINE,8],[u.FEATURE_TILE_TREE,16],[u.FEATURE_TILE_TREE_ACTIVE,0],[u.ELEVATION_ALIGNMENT,12],[u.ELEVATION_ALIGNMENT_SCENE,14],[u.TEXT_TEXTURE_ATLAS,12],[u.TEXTURE_UNLOAD,12],[u.LINE_OF_SIGHT_TOOL,16],[u.LINE_OF_SIGHT_TOOL_INTERACTIVE,0],[u.VOLUME_MEASUREMENT,4],[u.SNAPPING,0],[u.SHADOW_ACCUMULATOR,30],[u.FLOW_GENERATOR,12],[u.GAUSSIAN_SPLAT_SORTING,2],[u.GAUSSIAN_SPLAT_TEXTURE_ATLAS,12],[u.MAPVIEW_FETCH_QUEUE,0],[u.MAPVIEW_LAYERVIEW_UPDATE,2],[u.MAPVIEW_VECTOR_TILE_PARSING_QUEUE,0]]),(0,n.l5)(6.5),(0,n.l5)(1),(0,n.l5)(30),(0,n.l5)(1e3/30),(0,n.l5)(100),Symbol.dispose;const d=new class{constructor(){this._begin=performance?.now()??0,this._budget=0,this._done=!1,this._progressed=!1,this._enabled=!0}run(e){return!this.done&&(!0===e()&&this.madeProgress(),!0)}get done(){return this._done}get budget(){return this._budget}madeProgress(){return this._progressed=!0,this._done=this._enabled&&this._budget!==1/0&&this.elapsed>=this._budget,this._done}get enabled(){return this._enabled}set enabled(e){this._enabled=e}reset(e){this._begin=this.now(),this._budget=e,this.resetProgress()}get remaining(){return Math.max(this._budget-this.elapsed,0)}now(){return performance.now()}get elapsed(){return this.now()-this._begin}resetProgress(){this._progressed=!1,this._done=!1}get hasProgressed(){return this._progressed}};d.enabled=!1;class c{remove(){}[Symbol.dispose](){this.remove()}processQueue(){}schedule(e,t,i){try{if((0,r.G4)(t)){let e=(0,r.NK)();return i?Promise.resolve(i(e)):Promise.reject(e)}return(0,r.z7)(e(d))}catch(e){return Promise.reject(e)}}reschedule(e,t,i){return this.schedule(e,t,i)}async scheduleGenerator(e,t,i){if((0,r.G4)(t)){let e=(0,r.NK)();if(i)return i(e);throw e}let n=e(d);for(;;){let e=n.next(d),s=(0,r.$X)(e)?await e:e;if((0,r.G4)(t)){let e=(0,r.NK)();if(i){let t=i(e),s=n.return(null);return(0,r.$X)(s)&&await(0,r.QZ)(s),t}let t=n.throw(e);throw(0,r.$X)(t)&&await(0,r.QZ)(t),e}if(s.done)return s.value}}}const h=new c}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[468],{70468(e,t,r){r.d(t,{OperatorEquals:()=>u});var s=r(39117);class u extends s._{getOperatorType(){return 2}execute(e,t,r,u){return(0,s.$)(e,t,r,3,u)}}}}]);