@arcgis/core 5.0.0-next.83 → 5.0.0-next.84

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 (865) hide show
  1. package/WebDocument2D.d.ts +3 -2
  2. package/WebDocument2D.js +1 -1
  3. package/WebScene.d.ts +3 -2
  4. package/WebScene.js +1 -1
  5. package/applications/SceneViewer/layerUtils.d.ts +3 -2
  6. package/applications/SceneViewer/layerUtils.js +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/0057d3a9522188090536.js +1 -0
  9. package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js +2 -0
  10. package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +1 -0
  11. package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +1 -0
  12. package/assets/esri/core/workers/chunks/04fddd41a8e6a4c1bc57.js +1 -0
  13. package/assets/esri/core/workers/chunks/05a75878baca3a04fee9.js +1 -0
  14. package/assets/esri/core/workers/chunks/05aa22778a85624cfa55.js +1 -0
  15. package/assets/esri/core/workers/chunks/06493efc57cbfbda050a.js +1 -0
  16. package/assets/esri/core/workers/chunks/0674ae3741bc99325879.js +1 -0
  17. package/assets/esri/core/workers/chunks/07c5a9e8f48b3c806ac7.js +1 -0
  18. package/assets/esri/core/workers/chunks/0abb084b8a137f4fcdfc.js +1 -0
  19. package/assets/esri/core/workers/chunks/0b0545538ce355cace52.js +1 -0
  20. package/assets/esri/core/workers/chunks/0c13591347d51d684561.js +1 -0
  21. package/assets/esri/core/workers/chunks/0e7daf348c3e4681dd44.js +1 -0
  22. package/assets/esri/core/workers/chunks/10a5bf887132821beaf0.js +1 -0
  23. package/assets/esri/core/workers/chunks/10b32aff749d3459ddcd.js +1 -0
  24. package/assets/esri/core/workers/chunks/114aecdbd2bd92b24de2.js +1 -0
  25. package/assets/esri/core/workers/chunks/14f8215ab716c6d9d5f8.js +1 -0
  26. package/assets/esri/core/workers/chunks/156c73a948bde11f0d53.js +1 -0
  27. package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +1 -0
  28. package/assets/esri/core/workers/chunks/1779e6eabc299831fc9f.js +1 -0
  29. package/assets/esri/core/workers/chunks/181fab86394f1f912490.js +1 -0
  30. package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +1 -0
  31. package/assets/esri/core/workers/chunks/18cdd268fc921ffd92e2.js +1 -0
  32. package/assets/esri/core/workers/chunks/1a13b472e0cf9f88e8de.js +1 -0
  33. package/assets/esri/core/workers/chunks/1a41c9127ca5a260d5ef.js +1 -0
  34. package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +1 -0
  35. package/assets/esri/core/workers/chunks/1c05906d1b5b92441c9b.js +1 -0
  36. package/assets/esri/core/workers/chunks/1cf289446619645487b6.js +1 -0
  37. package/assets/esri/core/workers/chunks/1e318e5cf417c8f13bc7.js +1 -0
  38. package/assets/esri/core/workers/chunks/1eb6f210ae69c317e1f6.js +1 -0
  39. package/assets/esri/core/workers/chunks/1facc1b45345a095b9a7.js +1 -0
  40. package/assets/esri/core/workers/chunks/1fe1a131be1d5e1e23ed.js +1 -0
  41. package/assets/esri/core/workers/chunks/21ac84b5c7dedcfd747d.js +2 -0
  42. package/assets/esri/core/workers/chunks/22503abc06354741d28a.js +1 -0
  43. package/assets/esri/core/workers/chunks/22b1543b1a39db9acfc3.js +1 -0
  44. package/assets/esri/core/workers/chunks/249bc4abaa6482aaf288.js +1 -0
  45. package/assets/esri/core/workers/chunks/25a9ae17dc2ef44a4481.js +1 -0
  46. package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +1 -0
  47. package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +1 -0
  48. package/assets/esri/core/workers/chunks/286a45e9aec0b2bf32ef.js +1 -0
  49. package/assets/esri/core/workers/chunks/289681e94e93dc1d3512.js +1 -0
  50. package/assets/esri/core/workers/chunks/2a1898c5b8d7757e39e3.js +1 -0
  51. package/assets/esri/core/workers/chunks/2a81f08de9d642485669.js +1 -0
  52. package/assets/esri/core/workers/chunks/2b2283f1ee4bfc1baa18.js +1 -0
  53. package/assets/esri/core/workers/chunks/2bb82ae3ada57c066fdf.js +1 -0
  54. package/assets/esri/core/workers/chunks/2bdd28b4b5ef2c1e111f.js +1 -0
  55. package/assets/esri/core/workers/chunks/2c8b4d54ecf6ea2fecb1.js +1 -0
  56. package/assets/esri/core/workers/chunks/2ce845c990bb4d701362.js +1 -0
  57. package/assets/esri/core/workers/chunks/2f20cca2c5c058afc9af.js +1 -0
  58. package/assets/esri/core/workers/chunks/304ea784c28dc78e5e65.js +1 -0
  59. package/assets/esri/core/workers/chunks/3087910d19959fdc546b.js +1 -0
  60. package/assets/esri/core/workers/chunks/30cfa41017c2d434a89f.js +1 -0
  61. package/assets/esri/core/workers/chunks/33257fbd724ae188e259.js +1 -0
  62. package/assets/esri/core/workers/chunks/338768f94cc49559b209.js +1 -0
  63. package/assets/esri/core/workers/chunks/34073c8e4fc825f060f1.js +1 -0
  64. package/assets/esri/core/workers/chunks/34503f9b26c81e631174.js +1 -0
  65. package/assets/esri/core/workers/chunks/348560f083350ad0bf2e.js +1 -0
  66. package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +1 -0
  67. package/assets/esri/core/workers/chunks/3628e82707e7720c9e4c.js +1 -0
  68. package/assets/esri/core/workers/chunks/36b053decb87c9d32cd2.js +1 -0
  69. package/assets/esri/core/workers/chunks/37f5687dc1147b0a7bc1.js +1 -0
  70. package/assets/esri/core/workers/chunks/380a9b6d75992d6311c3.js +1 -0
  71. package/assets/esri/core/workers/chunks/3849dc35941e569fae5f.js +1 -0
  72. package/assets/esri/core/workers/chunks/388bd41c305d5a11f739.js +1 -0
  73. package/assets/esri/core/workers/chunks/389e2263a540f819d842.js +1 -0
  74. package/assets/esri/core/workers/chunks/38ca539f33e2d977771c.js +1 -0
  75. package/assets/esri/core/workers/chunks/3909217130048b5feeae.js +301 -0
  76. package/assets/esri/core/workers/chunks/39e1b04444389d2987be.js +1 -0
  77. package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +1 -0
  78. package/assets/esri/core/workers/chunks/3aeb3e8220e7d9869652.js +1 -0
  79. package/assets/esri/core/workers/chunks/3afc221b3a9e209cceea.js +1 -0
  80. package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +1 -0
  81. package/assets/esri/core/workers/chunks/3b6fc34b6d92eef030e5.js +1 -0
  82. package/assets/esri/core/workers/chunks/3bb28b59614fc36b2c50.js +1 -0
  83. package/assets/esri/core/workers/chunks/3eeaec74871e20b433d2.js +1 -0
  84. package/assets/esri/core/workers/chunks/418a778a4cbbb9dabecd.js +1 -0
  85. package/assets/esri/core/workers/chunks/42444285fd79a8d8e564.js +1 -0
  86. package/assets/esri/core/workers/chunks/428ca5900d882d7be499.js +1 -0
  87. package/assets/esri/core/workers/chunks/436c15ac34a205a13a37.js +1 -0
  88. package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +1 -0
  89. package/assets/esri/core/workers/chunks/4487cf21fa9f0466450d.js +1 -0
  90. package/assets/esri/core/workers/chunks/45dbdf2ff95f7be1eb88.js +1 -0
  91. package/assets/esri/core/workers/chunks/4756f0dbbda129c760b1.js +1 -0
  92. package/assets/esri/core/workers/chunks/4a0760571ce536fbd8c8.js +1 -0
  93. package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +1 -0
  94. package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +1 -0
  95. package/assets/esri/core/workers/chunks/4bb0c3b009493ea44632.js +1 -0
  96. package/assets/esri/core/workers/chunks/4c0e0beb1534d81ff648.js +1 -0
  97. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +1 -0
  98. package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +1 -0
  99. package/assets/esri/core/workers/chunks/4db259316b193fcc4541.js +1 -0
  100. package/assets/esri/core/workers/chunks/4f132d758f8b4795c43f.js +1 -0
  101. package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +1 -0
  102. package/assets/esri/core/workers/chunks/4f53071b5eb23d4478c4.js +1 -0
  103. package/assets/esri/core/workers/chunks/4f8895eb57ec6ab4b318.js +1 -0
  104. package/assets/esri/core/workers/chunks/4ff3c03cfbec928c0720.js +1 -0
  105. package/assets/esri/core/workers/chunks/504ab6bf7bfbfd4c4211.js +1 -0
  106. package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +1 -0
  107. package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +1 -0
  108. package/assets/esri/core/workers/chunks/5298f99c197c8607a690.js +1 -0
  109. package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +1 -0
  110. package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +1 -0
  111. package/assets/esri/core/workers/chunks/534ed6574e4a1613ba05.js +2 -0
  112. package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +1 -0
  113. package/assets/esri/core/workers/chunks/53d0b870c080236d82d1.js +1 -0
  114. package/assets/esri/core/workers/chunks/55bf39611ae6028131a3.js +1 -0
  115. package/assets/esri/core/workers/chunks/5659e221e8805bb81210.js +1 -0
  116. package/assets/esri/core/workers/chunks/568fc92333a9ab1c06e6.js +1 -0
  117. package/assets/esri/core/workers/chunks/56bbd86b804cb2a59031.js +1 -0
  118. package/assets/esri/core/workers/chunks/57a749804da9a2b1fae9.js +1 -0
  119. package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +1 -0
  120. package/assets/esri/core/workers/chunks/59e7a0215791b2b51180.js +1 -0
  121. package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +1 -0
  122. package/assets/esri/core/workers/chunks/5aee84e827e6fcc9c4c4.js +2 -0
  123. package/assets/esri/core/workers/chunks/5b0ca8d2154ef59da600.js +1 -0
  124. package/assets/esri/core/workers/chunks/5b278b9980752ef495a2.js +1 -0
  125. package/assets/esri/core/workers/chunks/5b3bb636e3bec625e515.js +1 -0
  126. package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +1 -0
  127. package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +1 -0
  128. package/assets/esri/core/workers/chunks/5e3dd05f1ecfdb21350e.js +1 -0
  129. package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +1 -0
  130. package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +1 -0
  131. package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +1 -0
  132. package/assets/esri/core/workers/chunks/63e930e76a181d54786d.js +1 -0
  133. package/assets/esri/core/workers/chunks/63ee7aa1b169dbec1e37.js +1 -0
  134. package/assets/esri/core/workers/chunks/6440d78ed2af2e7265aa.js +1 -0
  135. package/assets/esri/core/workers/chunks/645e086291b04bc036d7.js +1 -0
  136. package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +1 -0
  137. package/assets/esri/core/workers/chunks/6610d23d8539f06e64ca.js +1 -0
  138. package/assets/esri/core/workers/chunks/681d9a923c0d1ace86e8.js +1 -0
  139. package/assets/esri/core/workers/chunks/68abe4e70ea48e978642.js +1 -0
  140. package/assets/esri/core/workers/chunks/6a083fde0e207625fd0b.js +1 -0
  141. package/assets/esri/core/workers/chunks/6bc7bacf01328ef10ff1.js +1 -0
  142. package/assets/esri/core/workers/chunks/6bcf5d6792e4f09cbc7b.js +1 -0
  143. package/assets/esri/core/workers/chunks/6d7eb784988ee9a33473.js +1 -0
  144. package/assets/esri/core/workers/chunks/6de843d1809cba61ded3.js +1 -0
  145. package/assets/esri/core/workers/chunks/6e04303500a9fbc3f14a.js +1 -0
  146. package/assets/esri/core/workers/chunks/6edcae8ec128c2e86a05.js +1 -0
  147. package/assets/esri/core/workers/chunks/6eeee6e278b5f516d1d2.js +1 -0
  148. package/assets/esri/core/workers/chunks/701775be0dad640a72b4.js +1 -0
  149. package/assets/esri/core/workers/chunks/70df4331ed29d823bf38.js +1 -0
  150. package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +1 -0
  151. package/assets/esri/core/workers/chunks/72f0e2e5dcddafa2a642.js +1 -0
  152. package/assets/esri/core/workers/chunks/73c87eb9bd8f0f848481.js +1 -0
  153. package/assets/esri/core/workers/chunks/746190bb70aa78ba0bfc.js +1039 -0
  154. package/assets/esri/core/workers/chunks/75d7290c73bb59f2c856.js +1 -0
  155. package/assets/esri/core/workers/chunks/76d6843d56bff0d4c45e.js +1 -0
  156. package/assets/esri/core/workers/chunks/780a1eba9a7f1ca690ce.js +1 -0
  157. package/assets/esri/core/workers/chunks/7815dbf49ef5a06705f3.js +1 -0
  158. package/assets/esri/core/workers/chunks/7892daeed58778453639.js +1 -0
  159. package/assets/esri/core/workers/chunks/7990c828447bc3a29965.js +1 -0
  160. package/assets/esri/core/workers/chunks/799829d0ae17c146196b.js +1 -0
  161. package/assets/esri/core/workers/chunks/7a31717dafbd820bc2bf.js +1 -0
  162. package/assets/esri/core/workers/chunks/7b2f848947b296c7c785.js +1 -0
  163. package/assets/esri/core/workers/chunks/7d76a2245ac973efe1ed.js +1 -0
  164. package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +1 -0
  165. package/assets/esri/core/workers/chunks/8008bca4ef04c9424579.js +1 -0
  166. package/assets/esri/core/workers/chunks/815a25a5a8dba7921f8b.js +1 -0
  167. package/assets/esri/core/workers/chunks/8184c34b2c4969f14f3d.js +1 -0
  168. package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +1 -0
  169. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +1 -0
  170. package/assets/esri/core/workers/chunks/83ddc0f6bfe68756f26f.js +1 -0
  171. package/assets/esri/core/workers/chunks/841058de8bc6e328fd68.js +1 -0
  172. package/assets/esri/core/workers/chunks/84a4390b1c277c415d44.js +1 -0
  173. package/assets/esri/core/workers/chunks/854adab6a06af861c104.js +1 -0
  174. package/assets/esri/core/workers/chunks/8765fe036d9664c25b1d.js +37 -0
  175. package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +1 -0
  176. package/assets/esri/core/workers/chunks/8a0a13f398ab488dbbe9.js +1 -0
  177. package/assets/esri/core/workers/chunks/8cb13b3776f07536c79f.js +1 -0
  178. package/assets/esri/core/workers/chunks/{51093e552e31344cefa5.js → 8d9ec752136cbc5cb29a.js} +1 -1
  179. package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +1 -0
  180. package/assets/esri/core/workers/chunks/8f4ca0dfd9635eb10e02.js +1 -0
  181. package/assets/esri/core/workers/chunks/8faa0122d0a6e2e39153.js +1 -0
  182. package/assets/esri/core/workers/chunks/90a53bfe95ed687c28c1.js +2 -0
  183. package/assets/esri/core/workers/chunks/911912b0ef7ffed875be.js +1 -0
  184. package/assets/esri/core/workers/chunks/913c417ad278ce1caaf9.js +1 -0
  185. package/assets/esri/core/workers/chunks/9184089e72c24d91d23b.js +1 -0
  186. package/assets/esri/core/workers/chunks/91e307ca0d11804a7a1d.js +2 -0
  187. package/assets/esri/core/workers/chunks/9279a5361bf6a54784ef.js +1 -0
  188. package/assets/esri/core/workers/chunks/92a42bbb8b9b39f3211c.js +1 -0
  189. package/assets/esri/core/workers/chunks/934ce3f004c54d542d2c.js +1 -0
  190. package/assets/esri/core/workers/chunks/93caf6fb8afab3dd8a46.js +1 -0
  191. package/assets/esri/core/workers/chunks/97148a9966f55e69421e.js +1 -0
  192. package/assets/esri/core/workers/chunks/9748b8c35d56a5ee9c64.js +1 -0
  193. package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +1 -0
  194. package/assets/esri/core/workers/chunks/982e709d2cef971ecd82.js +1 -0
  195. package/assets/esri/core/workers/chunks/98e04c2382fa5ba382fc.js +1 -0
  196. package/assets/esri/core/workers/chunks/9919b3c345785e910c38.js +1 -0
  197. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +1 -0
  198. package/assets/esri/core/workers/chunks/9cd7205bbc711914d74b.js +1 -0
  199. package/assets/esri/core/workers/chunks/9d17524f5f935b7b60bf.js +1 -0
  200. package/assets/esri/core/workers/chunks/9de8149ae0a0726a4ab2.js +1 -0
  201. package/assets/esri/core/workers/chunks/9fac9eda0a41f7f4c2c6.js +1 -0
  202. package/assets/esri/core/workers/chunks/9ff1e650ce0912afa780.js +1 -0
  203. package/assets/esri/core/workers/chunks/a0d52a819302ed6f401e.js +1 -0
  204. package/assets/esri/core/workers/chunks/a1908b3fa61f02425a94.js +1 -0
  205. package/assets/esri/core/workers/chunks/a2046f85b9964693f053.js +1 -0
  206. package/assets/esri/core/workers/chunks/a24627400b3b9fe8431d.js +1 -0
  207. package/assets/esri/core/workers/chunks/a27c74fd2029583de933.js +1 -0
  208. package/assets/esri/core/workers/chunks/a2c0c1bb5e775abefc90.js +1 -0
  209. package/assets/esri/core/workers/chunks/a3184fb1ac7ce9af1a7e.js +1 -0
  210. package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +1 -0
  211. package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +1 -0
  212. package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +1 -0
  213. package/assets/esri/core/workers/chunks/a9521578c0e21aaddbc7.js +1 -0
  214. package/assets/esri/core/workers/chunks/a9b30c3b604e314f1706.js +1 -0
  215. package/assets/esri/core/workers/chunks/aa0c648bd37787f62b1f.js +1 -0
  216. package/assets/esri/core/workers/chunks/aa1b8c06bdf8453a02d7.js +1 -0
  217. package/assets/esri/core/workers/chunks/aaac4eee709cd6d24910.js +1 -0
  218. package/assets/esri/core/workers/chunks/aafa33f661462f5afd2b.js +1 -0
  219. package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +1 -0
  220. package/assets/esri/core/workers/chunks/ac0949ea3d2cf3eb7383.js +1 -0
  221. package/assets/esri/core/workers/chunks/ac5da65af5da254acb16.js +1 -0
  222. package/assets/esri/core/workers/chunks/ae5798399607cb043ed2.js +1 -0
  223. package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +1 -0
  224. package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +1 -0
  225. package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +1 -0
  226. package/assets/esri/core/workers/chunks/b12dc8fd3f2a2ff8073d.js +1 -0
  227. package/assets/esri/core/workers/chunks/b1c6a1759febad66927f.js +1 -0
  228. package/assets/esri/core/workers/chunks/b482a24c9567d8926897.js +1 -0
  229. package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +1 -0
  230. package/assets/esri/core/workers/chunks/b586d7e608e8ba8b88fe.js +1 -0
  231. package/assets/esri/core/workers/chunks/b599c6d4fa3189ed1762.js +1 -0
  232. package/assets/esri/core/workers/chunks/b6acf67316107902e31d.js +1 -0
  233. package/assets/esri/core/workers/chunks/b7576a5195615c465ea7.js +1 -0
  234. package/assets/esri/core/workers/chunks/b7e40118b4d645e9f8e1.js +1 -0
  235. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +1 -0
  236. package/assets/esri/core/workers/chunks/b91a157fb5f729de6597.js +1 -0
  237. package/assets/esri/core/workers/chunks/b9226dd0342cfd30ece0.js +1 -0
  238. package/assets/esri/core/workers/chunks/b977b9f5f50ae8027443.js +1 -0
  239. package/assets/esri/core/workers/chunks/bab6dee8f4715d05d984.js +1 -0
  240. package/assets/esri/core/workers/chunks/bbb409e54db77bfabdee.js +1 -0
  241. package/assets/esri/core/workers/chunks/bc4f513ea3a8f344c8da.js +1 -0
  242. package/assets/esri/core/workers/chunks/be26f8175a76e7dc8f7a.js +1 -0
  243. package/assets/esri/core/workers/chunks/befedcb6d8d1ff88125f.js +1 -0
  244. package/assets/esri/core/workers/chunks/bf73352b3366de82abbe.js +1 -0
  245. package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +1 -0
  246. package/assets/esri/core/workers/chunks/c133e57f2201b9bc6cbc.js +1 -0
  247. package/assets/esri/core/workers/chunks/c16115cfbca879dd6717.js +1 -0
  248. package/assets/esri/core/workers/chunks/c2d7b32f0c8eb965fcf7.js +1 -0
  249. package/assets/esri/core/workers/chunks/c45a5bcf26659daf02a1.js +1 -0
  250. package/assets/esri/core/workers/chunks/c46a4681cbba638b58c1.js +1 -0
  251. package/assets/esri/core/workers/chunks/c477b0ce55211339c4cb.js +1 -0
  252. package/assets/esri/core/workers/chunks/c500b59cd7da54fe72ec.js +1 -0
  253. package/assets/esri/core/workers/chunks/c5c1b189b91e199e8b82.js +1 -0
  254. package/assets/esri/core/workers/chunks/c65a138c14a4c540cd3b.js +1 -0
  255. package/assets/esri/core/workers/chunks/c66a9477e1c30a5ca03f.js +1 -0
  256. package/assets/esri/core/workers/chunks/{d79d29b52a65fb6bf94d.js → c71fe727224da0aba6ca.js} +1 -1
  257. package/assets/esri/core/workers/chunks/c741f7bc5693ae7e5019.js +1 -0
  258. package/assets/esri/core/workers/chunks/c75a41a5c8c5bd40ae91.js +1 -0
  259. package/assets/esri/core/workers/chunks/c825ca22894bdb4d01ba.js +1 -0
  260. package/assets/esri/core/workers/chunks/c8f1075c45ecf9fef00f.js +1 -0
  261. package/assets/esri/core/workers/chunks/ca06811e636f1d96f3cb.js +1 -0
  262. package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +1 -0
  263. package/assets/esri/core/workers/chunks/cbab45550b06bcc38524.js +1 -0
  264. package/assets/esri/core/workers/chunks/cc2606b8e600eeaf4bc8.js +1 -0
  265. package/assets/esri/core/workers/chunks/cdf711afbaaf345101f0.js +1 -0
  266. package/assets/esri/core/workers/chunks/ce87a6e24e9c64d90da3.js +1 -0
  267. package/assets/esri/core/workers/chunks/ce9467dc1ff695d795e5.js +1 -0
  268. package/assets/esri/core/workers/chunks/d0c831a473642d1bd9d1.js +1 -0
  269. package/assets/esri/core/workers/chunks/d0d6f818851d9a2d7938.js +1 -0
  270. package/assets/esri/core/workers/chunks/d1dd1787b3bf27834a9e.js +1 -0
  271. package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +1 -0
  272. package/assets/esri/core/workers/chunks/d2d4bce67c711a404b73.js +1 -0
  273. package/assets/esri/core/workers/chunks/d31f62ecbb54bffc54f2.js +1 -0
  274. package/assets/esri/core/workers/chunks/d37f03714c9591fb2b06.js +1 -0
  275. package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +1 -0
  276. package/assets/esri/core/workers/chunks/d436e1694f4b5bf05a90.js +1 -0
  277. package/assets/esri/core/workers/chunks/d4770dddfbfdc3845749.js +1 -0
  278. package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +1 -0
  279. package/assets/esri/core/workers/chunks/d4c4dad52da5dcf4432c.js +1 -0
  280. package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +1 -0
  281. package/assets/esri/core/workers/chunks/d525b3fa719a688d4899.js +1 -0
  282. package/assets/esri/core/workers/chunks/d6e11f05db698d14f21d.js +1 -0
  283. package/assets/esri/core/workers/chunks/d7c275717a2405b6ff87.js +1 -0
  284. package/assets/esri/core/workers/chunks/d8c8f54532714d4db2cd.js +1 -0
  285. package/assets/esri/core/workers/chunks/d9d2178d436597b1afaf.js +1 -0
  286. package/assets/esri/core/workers/chunks/da808dfb22c6de29e560.js +1 -0
  287. package/assets/esri/core/workers/chunks/db9a9712038df76e3eda.js +1 -0
  288. package/assets/esri/core/workers/chunks/dc57400b835724204909.js +2 -0
  289. package/assets/esri/core/workers/chunks/dd0e65b18c634b64582e.js +1 -0
  290. package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +1 -0
  291. package/assets/esri/core/workers/chunks/de216922b36267ab4aa1.js +1 -0
  292. package/assets/esri/core/workers/chunks/de6b3f80070abdd61d0f.js +1 -0
  293. package/assets/esri/core/workers/chunks/dea2e8caaf6e53ec56f8.js +1 -0
  294. package/assets/esri/core/workers/chunks/ded589862c22ea12d47a.js +1 -0
  295. package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +1 -0
  296. package/assets/esri/core/workers/chunks/df40be5a050b8d20617a.js +1 -0
  297. package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +1 -0
  298. package/assets/esri/core/workers/chunks/e1b677a135e164a29605.js +1 -0
  299. package/assets/esri/core/workers/chunks/e201bfe3158c025edc99.js +1 -0
  300. package/assets/esri/core/workers/chunks/e337b8d69d89f597cb58.js +1 -0
  301. package/assets/esri/core/workers/chunks/e370d213c307ad8bfaec.js +1 -0
  302. package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +1 -0
  303. package/assets/esri/core/workers/chunks/e3d3fc87789fd711f161.js +2 -0
  304. package/assets/esri/core/workers/chunks/e43c6058c793d43fa5f3.js +1 -0
  305. package/assets/esri/core/workers/chunks/e462b167841fddaa80b8.js +1 -0
  306. package/assets/esri/core/workers/chunks/e51e35b5cef89b0e0db1.js +1 -0
  307. package/assets/esri/core/workers/chunks/e58ec49a5cd852cb46cb.js +1 -0
  308. package/assets/esri/core/workers/chunks/e7d28ebf684db4ecb8cb.js +1 -0
  309. package/assets/esri/core/workers/chunks/e881629bf230a148963d.js +1 -0
  310. package/assets/esri/core/workers/chunks/e8f6305744f87bbed961.js +1 -0
  311. package/assets/esri/core/workers/chunks/e9f8115c049f168d3c2b.js +1 -0
  312. package/assets/esri/core/workers/chunks/ea32a8478f3ccb19aced.js +1 -0
  313. package/assets/esri/core/workers/chunks/ea734de7d5271c487171.js +1 -0
  314. package/assets/esri/core/workers/chunks/eb765db525f4e2e2bda2.js +1 -0
  315. package/assets/esri/core/workers/chunks/ebbcd6196ef5c5ab233d.js +1 -0
  316. package/assets/esri/core/workers/chunks/ec00fa313794f177d9d3.js +1 -0
  317. package/assets/esri/core/workers/chunks/ec03d59984782529031a.js +1 -0
  318. package/assets/esri/core/workers/chunks/ec7f4e459c7466805f72.js +1 -0
  319. package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +1 -0
  320. package/assets/esri/core/workers/chunks/ed1c92a24a167e57e36e.js +1 -0
  321. package/assets/esri/core/workers/chunks/ed69b19366e3ce5805ac.js +1 -0
  322. package/assets/esri/core/workers/chunks/ee25d1eae52c8be82898.js +1 -0
  323. package/assets/esri/core/workers/chunks/ee905e24320241959965.js +1 -0
  324. package/assets/esri/core/workers/chunks/eea91681bae00819a5e9.js +1 -0
  325. package/assets/esri/core/workers/chunks/eed24607e9b5312b417f.js +1 -0
  326. package/assets/esri/core/workers/chunks/ef519984fa691aad8d87.js +2 -0
  327. package/assets/esri/core/workers/chunks/f0eb2bfe5a8607b251f5.js +1 -0
  328. package/assets/esri/core/workers/chunks/f370e60dc81d41368e0c.js +1 -0
  329. package/assets/esri/core/workers/chunks/f3fdf9970b3c7acd071d.js +1 -0
  330. package/assets/esri/core/workers/chunks/f40e413c68d99cf54d42.js +1 -0
  331. package/assets/esri/core/workers/chunks/f5b32bc3f7ee911e3c59.js +1 -0
  332. package/assets/esri/core/workers/chunks/f5dbffd5e8b3c16336a1.js +1 -0
  333. package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js +2 -0
  334. package/assets/esri/core/workers/chunks/f627017adc9469144507.js +1 -0
  335. package/assets/esri/core/workers/chunks/f7ad285944e0e5164384.js +1 -0
  336. package/assets/esri/core/workers/chunks/f872d34d4236f8bedbd9.js +1 -0
  337. package/assets/esri/core/workers/chunks/f88adc930506ac2d5c90.js +1 -0
  338. package/assets/esri/core/workers/chunks/f890cfa4932955ecd4e7.js +1 -0
  339. package/assets/esri/core/workers/chunks/fd4bd04f85458cad849c.js +1 -0
  340. package/assets/esri/core/workers/chunks/fe98a068536e904ce257.js +1 -0
  341. package/assets/esri/core/workers/chunks/ffa9cc09e82f2e515993.js +1 -0
  342. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  343. package/assets/esri/themes/base/widgets/_Compass.scss +1 -1
  344. package/assets/esri/themes/base/widgets/_Feature.scss +1 -1
  345. package/assets/esri/themes/base/widgets/_Features.scss +1 -1
  346. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -4
  347. package/assets/esri/themes/base/widgets/_Widget.scss +1 -1
  348. package/assets/esri/themes/dark/main.css +1 -1
  349. package/assets/esri/themes/light/main.css +1 -1
  350. package/assets/esri/themes/light/view.css +1 -1
  351. package/config.js +1 -1
  352. package/core/MultiOriginJSONSupport.d.ts +8 -0
  353. package/core/MultiOriginJSONSupport.js +1 -1
  354. package/core/ReadOnlyMultiOriginJSONSupport.d.ts +40 -0
  355. package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
  356. package/core/WriteableMultiOriginJSONMixin.js +1 -1
  357. package/core/accessorSupport/decorators/subclass.js +1 -1
  358. package/core/accessorSupport/types.d.ts +2 -0
  359. package/kernel.js +1 -1
  360. package/layers/BingMapsLayer.d.ts +3 -2
  361. package/layers/BingMapsLayer.js +1 -1
  362. package/layers/BuildingSceneLayer.d.ts +3 -2
  363. package/layers/BuildingSceneLayer.js +1 -1
  364. package/layers/CSVLayer.js +1 -1
  365. package/layers/CatalogLayer.d.ts +3 -2
  366. package/layers/CatalogLayer.js +1 -1
  367. package/layers/DimensionLayer.d.ts +3 -2
  368. package/layers/DimensionLayer.js +1 -1
  369. package/layers/ElevationLayer.d.ts +3 -2
  370. package/layers/ElevationLayer.js +1 -1
  371. package/layers/FeatureLayer.d.ts +3 -2
  372. package/layers/FeatureLayer.js +1 -1
  373. package/layers/GaussianSplatLayer.d.ts +3 -2
  374. package/layers/GaussianSplatLayer.js +1 -1
  375. package/layers/GeoJSONLayer.d.ts +3 -2
  376. package/layers/GeoJSONLayer.js +1 -1
  377. package/layers/GeoRSSLayer.d.ts +3 -2
  378. package/layers/GeoRSSLayer.js +1 -1
  379. package/layers/GroupLayer.d.ts +3 -2
  380. package/layers/GroupLayer.js +1 -1
  381. package/layers/ImageryLayer.d.ts +3 -2
  382. package/layers/ImageryLayer.js +1 -1
  383. package/layers/ImageryTileLayer.d.ts +3 -2
  384. package/layers/ImageryTileLayer.js +1 -1
  385. package/layers/IntegratedMesh3DTilesLayer.d.ts +3 -2
  386. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  387. package/layers/IntegratedMeshLayer.d.ts +3 -2
  388. package/layers/IntegratedMeshLayer.js +1 -1
  389. package/layers/KMLLayer.d.ts +3 -2
  390. package/layers/KMLLayer.js +1 -1
  391. package/layers/KnowledgeGraphLayer.d.ts +3 -2
  392. package/layers/KnowledgeGraphLayer.js +1 -1
  393. package/layers/LineOfSightLayer.d.ts +3 -2
  394. package/layers/LineOfSightLayer.js +1 -1
  395. package/layers/LinkChartLayer.d.ts +3 -2
  396. package/layers/LinkChartLayer.js +1 -1
  397. package/layers/MapImageLayer.d.ts +3 -2
  398. package/layers/MapImageLayer.js +1 -1
  399. package/layers/MapNotesLayer.d.ts +3 -2
  400. package/layers/MapNotesLayer.js +1 -1
  401. package/layers/MediaLayer.d.ts +3 -2
  402. package/layers/MediaLayer.js +1 -1
  403. package/layers/OGCFeatureLayer.d.ts +3 -2
  404. package/layers/OGCFeatureLayer.js +1 -1
  405. package/layers/ParquetLayer.d.ts +3 -2
  406. package/layers/ParquetLayer.js +1 -1
  407. package/layers/PointCloudLayer.d.ts +3 -2
  408. package/layers/PointCloudLayer.js +1 -1
  409. package/layers/RouteLayer.d.ts +3 -2
  410. package/layers/RouteLayer.js +1 -1
  411. package/layers/SceneLayer.d.ts +6 -2
  412. package/layers/SceneLayer.js +1 -1
  413. package/layers/StreamLayer.d.ts +3 -2
  414. package/layers/StreamLayer.js +1 -1
  415. package/layers/SubtypeGroupLayer.d.ts +3 -2
  416. package/layers/SubtypeGroupLayer.js +1 -1
  417. package/layers/TileLayer.d.ts +3 -2
  418. package/layers/TileLayer.js +1 -1
  419. package/layers/UnknownLayer.d.ts +3 -2
  420. package/layers/UnknownLayer.js +1 -1
  421. package/layers/UnsupportedLayer.d.ts +3 -2
  422. package/layers/UnsupportedLayer.js +1 -1
  423. package/layers/VectorTileLayer.d.ts +3 -2
  424. package/layers/VectorTileLayer.js +1 -1
  425. package/layers/VideoLayer.d.ts +3 -2
  426. package/layers/VideoLayer.js +1 -1
  427. package/layers/ViewshedLayer.d.ts +3 -2
  428. package/layers/ViewshedLayer.js +1 -1
  429. package/layers/VoxelLayer.d.ts +3 -2
  430. package/layers/VoxelLayer.js +1 -1
  431. package/layers/WCSLayer.d.ts +3 -2
  432. package/layers/WCSLayer.js +1 -1
  433. package/layers/WFSLayer.d.ts +3 -2
  434. package/layers/WFSLayer.js +1 -1
  435. package/layers/WMSLayer.d.ts +3 -2
  436. package/layers/WMSLayer.js +1 -1
  437. package/layers/WMTSLayer.d.ts +3 -2
  438. package/layers/WMTSLayer.js +1 -1
  439. package/layers/WebTileLayer.d.ts +3 -2
  440. package/layers/WebTileLayer.js +1 -1
  441. package/layers/buildingSublayers/BuildingSublayer.d.ts +3 -2
  442. package/layers/buildingSublayers/BuildingSublayer.js +1 -1
  443. package/layers/catalog/CatalogDynamicGroupLayer.d.ts +3 -2
  444. package/layers/catalog/CatalogDynamicGroupLayer.js +1 -1
  445. package/layers/catalog/CatalogFootprintLayer.d.ts +3 -2
  446. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  447. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +3 -2
  448. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  449. package/layers/media/types.d.ts +31 -5
  450. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  451. package/layers/support/ElevationQuery.js +1 -1
  452. package/layers/support/MediaElementBase.d.ts +5 -3
  453. package/layers/support/MediaElementBase.js +1 -1
  454. package/layers/support/Sublayer.d.ts +3 -2
  455. package/layers/support/Sublayer.js +1 -1
  456. package/layers/support/SubtypeSublayer.d.ts +3 -2
  457. package/layers/support/SubtypeSublayer.js +1 -1
  458. package/layers/support/WMSSublayer.d.ts +3 -2
  459. package/layers/support/WMSSublayer.js +1 -1
  460. package/layers/support/layerOriginUtils.js +1 -1
  461. package/linkChart/LinkChartProperties.d.ts +5 -3
  462. package/linkChart/LinkChartProperties.js +1 -1
  463. package/networks/Network.d.ts +4 -2
  464. package/networks/Network.js +1 -1
  465. package/networks/support/NamedTraceConfiguration.d.ts +5 -3
  466. package/networks/support/NamedTraceConfiguration.js +1 -1
  467. package/package.json +3 -3
  468. package/support/revision.js +1 -1
  469. package/views/2d/engine/BitmapTileContainer.js +1 -1
  470. package/views/2d/engine/DisplayObject.js +1 -1
  471. package/views/2d/engine/Stage.js +1 -1
  472. package/views/2d/engine/imagery/RasterTileContainer.js +1 -1
  473. package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
  474. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  475. package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
  476. package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
  477. package/views/2d/engine/webgl/RenderingDevice.js +1 -1
  478. package/views/2d/engine/webgl/TileContainer.js +1 -1
  479. package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
  480. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
  481. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  482. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
  483. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
  484. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  485. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  486. package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
  487. package/views/2d/layers/TileLayerView2D.js +1 -1
  488. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  489. package/views/2d/layers/features/FeatureContainer.js +1 -1
  490. package/views/2d/layers/features/Processor.js +1 -1
  491. package/views/2d/layers/features/support/Tile.js +1 -1
  492. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  493. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  494. package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
  495. package/views/2d/layers/support/imageUtils.js +1 -1
  496. package/views/2d/tiling/TileCache.js +1 -1
  497. package/views/2d/tiling/TileInfoView.js +1 -1
  498. package/views/2d/tiling/TileInfoViewPOT.js +1 -1
  499. package/views/3d/FocusAreasView.js +1 -1
  500. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  501. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  502. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  503. package/views/3d/layers/graphics/ElevationQuery.js +1 -1
  504. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  505. package/views/3d/layers/graphics/extrudeUtils.js +5 -0
  506. package/widgets/Attribution.d.ts +1 -0
  507. package/widgets/FeatureForm.js +1 -1
  508. package/widgets/FeatureTable/FieldColumn.js +1 -1
  509. package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
  510. package/widgets/FeatureTable/support/tableUtils.js +1 -1
  511. package/widgets/FeatureTable.js +1 -1
  512. package/widgets/Legend/LegendViewModel.d.ts +6 -0
  513. package/widgets/Legend/styles/card/CardView.d.ts +19 -3
  514. package/widgets/Legend/styles/classic/ClassicView.d.ts +1 -0
  515. package/widgets/Legend.d.ts +15 -0
  516. package/widgets/smartMapping/BinaryColorSizeSlider.js +1 -1
  517. package/widgets/smartMapping/ClassedColorSlider.js +1 -1
  518. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  519. package/widgets/smartMapping/ClassedSizeSlider.js +1 -1
  520. package/widgets/smartMapping/ColorSizeSlider.js +1 -1
  521. package/widgets/smartMapping/ColorSlider.js +1 -1
  522. package/widgets/smartMapping/OpacitySlider.js +1 -1
  523. package/widgets/smartMapping/SizeSlider.js +1 -1
  524. package/assets/esri/core/workers/chunks/00c77f03dd511c6dbff2.js +0 -1
  525. package/assets/esri/core/workers/chunks/015492d609c28077d66c.js +0 -1
  526. package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +0 -1
  527. package/assets/esri/core/workers/chunks/0429ca6ba562ae29897e.js +0 -1
  528. package/assets/esri/core/workers/chunks/04958494022f82dca473.js +0 -1
  529. package/assets/esri/core/workers/chunks/049c125085028ffdd0dd.js +0 -1
  530. package/assets/esri/core/workers/chunks/05e3bfd07a7a227862fd.js +0 -1
  531. package/assets/esri/core/workers/chunks/095c1b88cdcb91ab837e.js +0 -1
  532. package/assets/esri/core/workers/chunks/09b77f82c22530b44daa.js +0 -1
  533. package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +0 -1
  534. package/assets/esri/core/workers/chunks/0b679d5a1bfdbd006d6e.js +0 -1
  535. package/assets/esri/core/workers/chunks/0b7bbdc0d71ee6721751.js +0 -2
  536. package/assets/esri/core/workers/chunks/0d9e1ccc3ba8b5ed3287.js +0 -1
  537. package/assets/esri/core/workers/chunks/0f4e9846d074864b39c2.js +0 -1
  538. package/assets/esri/core/workers/chunks/0fc22ad791d3ec0a9c5e.js +0 -1
  539. package/assets/esri/core/workers/chunks/1037b38aade2a847bf24.js +0 -1
  540. package/assets/esri/core/workers/chunks/108a4ab28b6586e281d9.js +0 -1
  541. package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +0 -1
  542. package/assets/esri/core/workers/chunks/13137f35b9ab299d07e3.js +0 -1
  543. package/assets/esri/core/workers/chunks/13839d220e5c62404923.js +0 -1
  544. package/assets/esri/core/workers/chunks/1484a7ef4fcbd748b197.js +0 -1
  545. package/assets/esri/core/workers/chunks/14dedd80fb797303f91f.js +0 -1
  546. package/assets/esri/core/workers/chunks/1694b9154df3eccf602e.js +0 -1
  547. package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +0 -1
  548. package/assets/esri/core/workers/chunks/16cfa7031d6dbf5aa09b.js +0 -1
  549. package/assets/esri/core/workers/chunks/18ab5959ebf8689f8fe8.js +0 -1
  550. package/assets/esri/core/workers/chunks/18b0ce0bc2a9737ffb1b.js +0 -1
  551. package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +0 -1
  552. package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +0 -1
  553. package/assets/esri/core/workers/chunks/1c58bd3275c849d44b13.js +0 -1
  554. package/assets/esri/core/workers/chunks/1c742018eb7dfd5d23e3.js +0 -1
  555. package/assets/esri/core/workers/chunks/1dfa949cc4f4c18ed4cf.js +0 -1
  556. package/assets/esri/core/workers/chunks/1e848d9da1c61a27cf18.js +0 -1
  557. package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +0 -1
  558. package/assets/esri/core/workers/chunks/218b2b767b40d85fb713.js +0 -1
  559. package/assets/esri/core/workers/chunks/22c115ec003351c7d8ee.js +0 -1
  560. package/assets/esri/core/workers/chunks/23545a9adc75564ecf6e.js +0 -1
  561. package/assets/esri/core/workers/chunks/23cf4cbc389d2b50e968.js +0 -1
  562. package/assets/esri/core/workers/chunks/24527b61c8c216becbc4.js +0 -1
  563. package/assets/esri/core/workers/chunks/24dab877047369de13e2.js +0 -1
  564. package/assets/esri/core/workers/chunks/25f3ee666f545a7a7993.js +0 -2
  565. package/assets/esri/core/workers/chunks/29471e0b3f7296dee096.js +0 -1
  566. package/assets/esri/core/workers/chunks/2b27499fa9de22970b7a.js +0 -1
  567. package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +0 -1
  568. package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +0 -1
  569. package/assets/esri/core/workers/chunks/2d8b8880e6bff4414e95.js +0 -1
  570. package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +0 -1
  571. package/assets/esri/core/workers/chunks/2e6ae1ca07df442fc966.js +0 -1
  572. package/assets/esri/core/workers/chunks/2e6bd743b88e83d43137.js +0 -1
  573. package/assets/esri/core/workers/chunks/3001568a99fdd14aada9.js +0 -1
  574. package/assets/esri/core/workers/chunks/30dd4a7c93b33988a270.js +0 -1
  575. package/assets/esri/core/workers/chunks/312b3cc1c91d5b419faf.js +0 -1
  576. package/assets/esri/core/workers/chunks/31fa3dd983e9e73fcb65.js +0 -1
  577. package/assets/esri/core/workers/chunks/33a13e80badd20ed8de2.js +0 -1
  578. package/assets/esri/core/workers/chunks/355c8d0eadfff9f62dfb.js +0 -1
  579. package/assets/esri/core/workers/chunks/35c98ea99000f411175f.js +0 -1
  580. package/assets/esri/core/workers/chunks/35e1d0cfc3c5a484422f.js +0 -1
  581. package/assets/esri/core/workers/chunks/360f263f32aa2342a897.js +0 -1
  582. package/assets/esri/core/workers/chunks/369f37060608342a4262.js +0 -1
  583. package/assets/esri/core/workers/chunks/36ecf951c0c7dad84b69.js +0 -1
  584. package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js +0 -2
  585. package/assets/esri/core/workers/chunks/37258b702fe06bbcf748.js +0 -1
  586. package/assets/esri/core/workers/chunks/37a3e91791a18ed8b8da.js +0 -1
  587. package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +0 -1
  588. package/assets/esri/core/workers/chunks/3b1982bf7b44ff897a35.js +0 -1
  589. package/assets/esri/core/workers/chunks/3b25f5d9c8f78bb6e011.js +0 -1
  590. package/assets/esri/core/workers/chunks/3c5f07ebe1b09dcdc958.js +0 -1
  591. package/assets/esri/core/workers/chunks/3c66dd52ad156711a6a2.js +0 -1
  592. package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +0 -1
  593. package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +0 -1
  594. package/assets/esri/core/workers/chunks/41f487713c6278d389a1.js +0 -1
  595. package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +0 -1
  596. package/assets/esri/core/workers/chunks/43e2c1d72cd9c8beed2f.js +0 -2
  597. package/assets/esri/core/workers/chunks/44c228388a95fa958827.js +0 -1
  598. package/assets/esri/core/workers/chunks/45a9cd722e98dd1548ae.js +0 -1
  599. package/assets/esri/core/workers/chunks/46daa1ff5b412a97edc9.js +0 -1
  600. package/assets/esri/core/workers/chunks/46e547691bca424f2bc9.js +0 -1
  601. package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +0 -1
  602. package/assets/esri/core/workers/chunks/47d2103b876b01bc26fd.js +0 -1
  603. package/assets/esri/core/workers/chunks/495af366ec1defd89a72.js +0 -1
  604. package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +0 -1
  605. package/assets/esri/core/workers/chunks/4bcd74951477e8977ba1.js +0 -1
  606. package/assets/esri/core/workers/chunks/4cbe78d6a5ff617e15d6.js +0 -1
  607. package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +0 -1
  608. package/assets/esri/core/workers/chunks/4d5591c1b4ef37075921.js +0 -1
  609. package/assets/esri/core/workers/chunks/4ef97eb67dc42e0052d6.js +0 -1
  610. package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +0 -1
  611. package/assets/esri/core/workers/chunks/4fcf035582fa6e93d264.js +0 -1
  612. package/assets/esri/core/workers/chunks/509307a2ef990ad1da8f.js +0 -301
  613. package/assets/esri/core/workers/chunks/50eb381b18b84b9c75a3.js +0 -1
  614. package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +0 -1
  615. package/assets/esri/core/workers/chunks/52a14266fe239b95c5ce.js +0 -1
  616. package/assets/esri/core/workers/chunks/52bcfb3ea563c1a301d4.js +0 -1
  617. package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +0 -1
  618. package/assets/esri/core/workers/chunks/558822b700e8bd844052.js +0 -1
  619. package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +0 -1
  620. package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +0 -1
  621. package/assets/esri/core/workers/chunks/56569d0c2cf5c5167651.js +0 -1
  622. package/assets/esri/core/workers/chunks/575a33924ec900f9e537.js +0 -1
  623. package/assets/esri/core/workers/chunks/584c4602d97a008afb83.js +0 -1
  624. package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +0 -1
  625. package/assets/esri/core/workers/chunks/590a7fd4f5476224ec89.js +0 -1
  626. package/assets/esri/core/workers/chunks/59a45533e96cedf1c480.js +0 -1
  627. package/assets/esri/core/workers/chunks/5a66b7f1f4da75da8e7f.js +0 -1
  628. package/assets/esri/core/workers/chunks/5b9f2aa3ba1bf12c3240.js +0 -2
  629. package/assets/esri/core/workers/chunks/5bbf20135c87a1cc8a18.js +0 -1
  630. package/assets/esri/core/workers/chunks/5cc217f188fd56006158.js +0 -1
  631. package/assets/esri/core/workers/chunks/5dc2f2e28c30386efadf.js +0 -1
  632. package/assets/esri/core/workers/chunks/5df49e1f283e2e83de46.js +0 -1
  633. package/assets/esri/core/workers/chunks/60764ea501a3a1aacc63.js +0 -1
  634. package/assets/esri/core/workers/chunks/6087d5dc40bb62ec48c8.js +0 -1
  635. package/assets/esri/core/workers/chunks/6094bba52ddada48c7ed.js +0 -1
  636. package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +0 -1
  637. package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +0 -1
  638. package/assets/esri/core/workers/chunks/6387308c4add226e5b83.js +0 -1
  639. package/assets/esri/core/workers/chunks/63b8193ad90b2ebe6884.js +0 -1
  640. package/assets/esri/core/workers/chunks/657602e6a84e8b4576fb.js +0 -1
  641. package/assets/esri/core/workers/chunks/65fd971d0574d69cbc26.js +0 -1
  642. package/assets/esri/core/workers/chunks/679cd6424e0e2d7f372b.js +0 -1
  643. package/assets/esri/core/workers/chunks/6800647240b7968be225.js +0 -1
  644. package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +0 -1
  645. package/assets/esri/core/workers/chunks/680f9c29ca96ea8e01da.js +0 -1
  646. package/assets/esri/core/workers/chunks/68cb43f2fa8cc826e99b.js +0 -1
  647. package/assets/esri/core/workers/chunks/69a68a6d6736c4b97a27.js +0 -1
  648. package/assets/esri/core/workers/chunks/6a3d66d7c92f90cc2a17.js +0 -1
  649. package/assets/esri/core/workers/chunks/6a544fb44f7da0e80f43.js +0 -1
  650. package/assets/esri/core/workers/chunks/6a782e8475bff4d56dbc.js +0 -1
  651. package/assets/esri/core/workers/chunks/6b85a8776ec2beff63cb.js +0 -1
  652. package/assets/esri/core/workers/chunks/6be530ab81291745485b.js +0 -2
  653. package/assets/esri/core/workers/chunks/6d3ae7969ea86a2e0b13.js +0 -1
  654. package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +0 -1
  655. package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +0 -1
  656. package/assets/esri/core/workers/chunks/6ffc1a0400298fca00ee.js +0 -1
  657. package/assets/esri/core/workers/chunks/729c2d26ae23d9c86547.js +0 -1
  658. package/assets/esri/core/workers/chunks/73bee5659414b3687cfc.js +0 -1
  659. package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js +0 -2
  660. package/assets/esri/core/workers/chunks/74b825d4f0e7ab567b10.js +0 -1
  661. package/assets/esri/core/workers/chunks/75c66e38bdc1c786c599.js +0 -1
  662. package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +0 -1
  663. package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +0 -1
  664. package/assets/esri/core/workers/chunks/77509bd20ac5bc190c94.js +0 -1039
  665. package/assets/esri/core/workers/chunks/7763cf4a9a4343c28591.js +0 -1
  666. package/assets/esri/core/workers/chunks/7972954801b82e7afc72.js +0 -1
  667. package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +0 -1
  668. package/assets/esri/core/workers/chunks/7bc09e80bf45fe137055.js +0 -1
  669. package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +0 -1
  670. package/assets/esri/core/workers/chunks/7bf30c254228f9b7f224.js +0 -1
  671. package/assets/esri/core/workers/chunks/7bf491b468cd74a4166c.js +0 -1
  672. package/assets/esri/core/workers/chunks/7d631ebf8f79225cf0f6.js +0 -1
  673. package/assets/esri/core/workers/chunks/7d744554d14057d9b2b1.js +0 -1
  674. package/assets/esri/core/workers/chunks/7d8664aeff66e34138bd.js +0 -1
  675. package/assets/esri/core/workers/chunks/7db52d2451494835c160.js +0 -1
  676. package/assets/esri/core/workers/chunks/818b5b8027d6fe8999d6.js +0 -1
  677. package/assets/esri/core/workers/chunks/8195310b4c53db902fc1.js +0 -1
  678. package/assets/esri/core/workers/chunks/82ace0195b63790b22c9.js +0 -1
  679. package/assets/esri/core/workers/chunks/83117d2747bdaf480c7b.js +0 -1
  680. package/assets/esri/core/workers/chunks/83c5dea24e36ac2e3497.js +0 -1
  681. package/assets/esri/core/workers/chunks/84440efe2cc337dab81f.js +0 -1
  682. package/assets/esri/core/workers/chunks/84ec8ea3e40e0864798f.js +0 -1
  683. package/assets/esri/core/workers/chunks/852007720e3bc29532db.js +0 -1
  684. package/assets/esri/core/workers/chunks/85c92726121cb43a2216.js +0 -1
  685. package/assets/esri/core/workers/chunks/86832d94190150c70c11.js +0 -1
  686. package/assets/esri/core/workers/chunks/873008572c1f21cea122.js +0 -2
  687. package/assets/esri/core/workers/chunks/87c6470ee295d736b06d.js +0 -1
  688. package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +0 -1
  689. package/assets/esri/core/workers/chunks/88cbaa91c495d86f4bb0.js +0 -1
  690. package/assets/esri/core/workers/chunks/89853fccdf2bfcc290c0.js +0 -1
  691. package/assets/esri/core/workers/chunks/8c1f1eb36198ce40ef13.js +0 -1
  692. package/assets/esri/core/workers/chunks/8d58e59ea13ecafdd45c.js +0 -1
  693. package/assets/esri/core/workers/chunks/8db723b8468e408dda46.js +0 -1
  694. package/assets/esri/core/workers/chunks/8dca61f8ba6689379f86.js +0 -1
  695. package/assets/esri/core/workers/chunks/8e354c7b4858db5880a9.js +0 -1
  696. package/assets/esri/core/workers/chunks/8e556ff730ae96290a69.js +0 -1
  697. package/assets/esri/core/workers/chunks/8e62a5fcc4c7e83a903a.js +0 -1
  698. package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +0 -1
  699. package/assets/esri/core/workers/chunks/91d9ade78854f40a962d.js +0 -1
  700. package/assets/esri/core/workers/chunks/91fba3bebd78cb956941.js +0 -1
  701. package/assets/esri/core/workers/chunks/920b4def081c78c0d586.js +0 -1
  702. package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +0 -1
  703. package/assets/esri/core/workers/chunks/92a4f56232f81ca457fa.js +0 -1
  704. package/assets/esri/core/workers/chunks/92ef6071ea87b7f940e2.js +0 -1
  705. package/assets/esri/core/workers/chunks/9319d57494482668ab19.js +0 -1
  706. package/assets/esri/core/workers/chunks/9361834d2c3064eb41fc.js +0 -1
  707. package/assets/esri/core/workers/chunks/9382af94bf6bf1b09c8c.js +0 -1
  708. package/assets/esri/core/workers/chunks/942c80c425b1f13cced5.js +0 -1
  709. package/assets/esri/core/workers/chunks/95cb062cae4c31c07124.js +0 -1
  710. package/assets/esri/core/workers/chunks/968335b28b895e19913b.js +0 -1
  711. package/assets/esri/core/workers/chunks/979bc762ccc0d3fc2467.js +0 -1
  712. package/assets/esri/core/workers/chunks/9828b07b5f8fd9f40935.js +0 -1
  713. package/assets/esri/core/workers/chunks/98739414c107ad78e4d8.js +0 -1
  714. package/assets/esri/core/workers/chunks/988f5e003377d734d282.js +0 -1
  715. package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +0 -1
  716. package/assets/esri/core/workers/chunks/9a6bdcedcb7d2798ba30.js +0 -1
  717. package/assets/esri/core/workers/chunks/9afe220b5b60cfa44c95.js +0 -1
  718. package/assets/esri/core/workers/chunks/9ba8a2e1c0fb4e1efc7c.js +0 -1
  719. package/assets/esri/core/workers/chunks/9c93eadbd19bef1191b4.js +0 -1
  720. package/assets/esri/core/workers/chunks/9c9d359caf8354a8ec52.js +0 -1
  721. package/assets/esri/core/workers/chunks/9cc2832d5f625f81c08d.js +0 -1
  722. package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js +0 -2
  723. package/assets/esri/core/workers/chunks/9cec9d09f3aa5c21660d.js +0 -37
  724. package/assets/esri/core/workers/chunks/9d258f14199181dee424.js +0 -1
  725. package/assets/esri/core/workers/chunks/9e869fd6450cf874783a.js +0 -1
  726. package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +0 -1
  727. package/assets/esri/core/workers/chunks/a1594486177015e8a6c3.js +0 -1
  728. package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +0 -1
  729. package/assets/esri/core/workers/chunks/a1b8722c6acafdf1c2bf.js +0 -1
  730. package/assets/esri/core/workers/chunks/a3407ca77b0ff62c0e75.js +0 -1
  731. package/assets/esri/core/workers/chunks/a41073263af5eba3c16d.js +0 -1
  732. package/assets/esri/core/workers/chunks/a623676c74745e040a2a.js +0 -1
  733. package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +0 -1
  734. package/assets/esri/core/workers/chunks/a6742abe3ebe371e85f1.js +0 -1
  735. package/assets/esri/core/workers/chunks/a6d4256c327f07221117.js +0 -1
  736. package/assets/esri/core/workers/chunks/a6f29d1a6356e2de5a79.js +0 -1
  737. package/assets/esri/core/workers/chunks/a79fad422d41019c8232.js +0 -1
  738. package/assets/esri/core/workers/chunks/a8dfd246c797f3b979f5.js +0 -1
  739. package/assets/esri/core/workers/chunks/ab0275669e28e7a34c38.js +0 -1
  740. package/assets/esri/core/workers/chunks/ab5e2f823960c33cefe4.js +0 -1
  741. package/assets/esri/core/workers/chunks/acdbe0299024d58e1421.js +0 -1
  742. package/assets/esri/core/workers/chunks/ad253136c1e12f733d15.js +0 -1
  743. package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +0 -1
  744. package/assets/esri/core/workers/chunks/adff1791ae44631ad34a.js +0 -1
  745. package/assets/esri/core/workers/chunks/ae16fe50a54b5c0f9811.js +0 -1
  746. package/assets/esri/core/workers/chunks/ae18de425548bb865702.js +0 -1
  747. package/assets/esri/core/workers/chunks/ae6066ea6cb373dc6db3.js +0 -1
  748. package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +0 -1
  749. package/assets/esri/core/workers/chunks/af00081b78fc30ac556c.js +0 -1
  750. package/assets/esri/core/workers/chunks/b211b53aa7616a093b90.js +0 -1
  751. package/assets/esri/core/workers/chunks/b28e0b89603d8b03f9e1.js +0 -1
  752. package/assets/esri/core/workers/chunks/b4349db7155673329432.js +0 -1
  753. package/assets/esri/core/workers/chunks/b48033645091c91e0d88.js +0 -1
  754. package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +0 -1
  755. package/assets/esri/core/workers/chunks/b64cfd86d9204be743c6.js +0 -1
  756. package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.js +0 -1
  757. package/assets/esri/core/workers/chunks/ba6452acee3d6defb37e.js +0 -1
  758. package/assets/esri/core/workers/chunks/bb92a9daa0c5b019561f.js +0 -1
  759. package/assets/esri/core/workers/chunks/bc731ec9d5136f1d9253.js +0 -1
  760. package/assets/esri/core/workers/chunks/bd1d159dce4094694c93.js +0 -1
  761. package/assets/esri/core/workers/chunks/bd2a28b14e5c0a55d783.js +0 -1
  762. package/assets/esri/core/workers/chunks/bdbb5b33f0f49661bf6d.js +0 -1
  763. package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +0 -1
  764. package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +0 -1
  765. package/assets/esri/core/workers/chunks/bf88bd763fd6442a95fd.js +0 -1
  766. package/assets/esri/core/workers/chunks/bfe052b386ec4874f350.js +0 -1
  767. package/assets/esri/core/workers/chunks/c042269586921e337be9.js +0 -1
  768. package/assets/esri/core/workers/chunks/c0b15510a8cab98df77f.js +0 -1
  769. package/assets/esri/core/workers/chunks/c27842a34e73ccb46116.js +0 -1
  770. package/assets/esri/core/workers/chunks/c3272b09bff886b08ce1.js +0 -1
  771. package/assets/esri/core/workers/chunks/c38a07e936226b361b63.js +0 -1
  772. package/assets/esri/core/workers/chunks/c59c1e52acb5ac8f78f9.js +0 -1
  773. package/assets/esri/core/workers/chunks/c5cc0fc652432a9264cc.js +0 -1
  774. package/assets/esri/core/workers/chunks/c605bf7d1e12917ac482.js +0 -1
  775. package/assets/esri/core/workers/chunks/c743e561e7d73a100576.js +0 -1
  776. package/assets/esri/core/workers/chunks/c7838ac0db8570a2d2c1.js +0 -1
  777. package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +0 -1
  778. package/assets/esri/core/workers/chunks/c91ef3814e7f024043cf.js +0 -1
  779. package/assets/esri/core/workers/chunks/c96083838f919a8f64cd.js +0 -1
  780. package/assets/esri/core/workers/chunks/cad1d7e5ce89f51b3ac9.js +0 -1
  781. package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +0 -1
  782. package/assets/esri/core/workers/chunks/cc50f96321a7c12f300b.js +0 -1
  783. package/assets/esri/core/workers/chunks/ccc743e41854eb225c23.js +0 -1
  784. package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +0 -1
  785. package/assets/esri/core/workers/chunks/ce3870db25566cd93d8e.js +0 -1
  786. package/assets/esri/core/workers/chunks/cfbe9993263fa6f69363.js +0 -1
  787. package/assets/esri/core/workers/chunks/d129a5a34e9ad09bd39e.js +0 -1
  788. package/assets/esri/core/workers/chunks/d14e75b160aa432233c6.js +0 -1
  789. package/assets/esri/core/workers/chunks/d21480925a8bc9c7de96.js +0 -1
  790. package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +0 -1
  791. package/assets/esri/core/workers/chunks/d364096493ceeff34c10.js +0 -1
  792. package/assets/esri/core/workers/chunks/d373986588f6b1b8f2d5.js +0 -1
  793. package/assets/esri/core/workers/chunks/d3b1d1c389d70919fb02.js +0 -1
  794. package/assets/esri/core/workers/chunks/d52a0c3a855029c48bd2.js +0 -1
  795. package/assets/esri/core/workers/chunks/d66973e926bc03e2359a.js +0 -1
  796. package/assets/esri/core/workers/chunks/d7cd1d879768df629716.js +0 -1
  797. package/assets/esri/core/workers/chunks/d7df5e4028d502712317.js +0 -1
  798. package/assets/esri/core/workers/chunks/d90564fbafc00df2d56d.js +0 -1
  799. package/assets/esri/core/workers/chunks/d9ca754f51b9812bb179.js +0 -1
  800. package/assets/esri/core/workers/chunks/d9ef0b3341e2744d8f2f.js +0 -1
  801. package/assets/esri/core/workers/chunks/da5ce19ecf3a5e92a2a9.js +0 -1
  802. package/assets/esri/core/workers/chunks/da7685ec2b6eaf00fd2d.js +0 -1
  803. package/assets/esri/core/workers/chunks/dae715b2b0094641e42f.js +0 -1
  804. package/assets/esri/core/workers/chunks/db04b0a30cce9e476551.js +0 -1
  805. package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +0 -1
  806. package/assets/esri/core/workers/chunks/db4661fd82dc61162115.js +0 -1
  807. package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +0 -1
  808. package/assets/esri/core/workers/chunks/dddb6cb44cbe4dc1af97.js +0 -1
  809. package/assets/esri/core/workers/chunks/de60421029fbcebe2950.js +0 -1
  810. package/assets/esri/core/workers/chunks/df33d5a08e1b6dc00f45.js +0 -1
  811. package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +0 -1
  812. package/assets/esri/core/workers/chunks/e03c706e327f4989280a.js +0 -1
  813. package/assets/esri/core/workers/chunks/e0648f5aed9d939928dc.js +0 -1
  814. package/assets/esri/core/workers/chunks/e071b912539304564b69.js +0 -1
  815. package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +0 -1
  816. package/assets/esri/core/workers/chunks/e34b7acc963288ca0f04.js +0 -1
  817. package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +0 -1
  818. package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +0 -1
  819. package/assets/esri/core/workers/chunks/e615a935bbf1168fac43.js +0 -1
  820. package/assets/esri/core/workers/chunks/e8bf362b2631f977b1cb.js +0 -1
  821. package/assets/esri/core/workers/chunks/e8e4d48ab4024e17108d.js +0 -1
  822. package/assets/esri/core/workers/chunks/e97787de88e2992add13.js +0 -1
  823. package/assets/esri/core/workers/chunks/eaadcc43837c465342cc.js +0 -1
  824. package/assets/esri/core/workers/chunks/eb7eb3b3b8800fd73f3e.js +0 -1
  825. package/assets/esri/core/workers/chunks/ecb4c223c0278971cdc9.js +0 -1
  826. package/assets/esri/core/workers/chunks/ed7e353e290b3a272457.js +0 -1
  827. package/assets/esri/core/workers/chunks/ee361690b456c12c30d8.js +0 -1
  828. package/assets/esri/core/workers/chunks/ef639d31c94d2b55b8d4.js +0 -1
  829. package/assets/esri/core/workers/chunks/ef977be20a647aeded0a.js +0 -1
  830. package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +0 -1
  831. package/assets/esri/core/workers/chunks/f0100b34f8b13fb37157.js +0 -1
  832. package/assets/esri/core/workers/chunks/f0914715e90e43466f8c.js +0 -1
  833. package/assets/esri/core/workers/chunks/f0a667d8d33bc51c795d.js +0 -1
  834. package/assets/esri/core/workers/chunks/f1e5d52e550326e49d1e.js +0 -1
  835. package/assets/esri/core/workers/chunks/f25bebd2b6eb0d0f6626.js +0 -2
  836. package/assets/esri/core/workers/chunks/f2b63597ae956db74eb3.js +0 -1
  837. package/assets/esri/core/workers/chunks/f32d4813b450a3eb4262.js +0 -1
  838. package/assets/esri/core/workers/chunks/f3b2c81f5ad26a58a4bd.js +0 -1
  839. package/assets/esri/core/workers/chunks/f54ec21fa67db6fef5a6.js +0 -1
  840. package/assets/esri/core/workers/chunks/f57b5720ce827f5845cd.js +0 -1
  841. package/assets/esri/core/workers/chunks/f5a695dc51793b138b23.js +0 -1
  842. package/assets/esri/core/workers/chunks/f5f584d325f8f2ea825f.js +0 -1
  843. package/assets/esri/core/workers/chunks/f65d26588d2d80680a26.js +0 -1
  844. package/assets/esri/core/workers/chunks/f65f1798f398bc549463.js +0 -1
  845. package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +0 -1
  846. package/assets/esri/core/workers/chunks/f77b93bef06bae03c1c6.js +0 -1
  847. package/assets/esri/core/workers/chunks/f7dfbf24859f4ac2421b.js +0 -1
  848. package/assets/esri/core/workers/chunks/f8438642a9bdd8980b4b.js +0 -1
  849. package/assets/esri/core/workers/chunks/f98689562017583f73ee.js +0 -1
  850. package/assets/esri/core/workers/chunks/fdb5b5d8a7c99a0bf5f9.js +0 -1
  851. package/assets/esri/core/workers/chunks/fdbe16e3b23e01655c0c.js +0 -1
  852. package/assets/esri/core/workers/chunks/fe07390e27f8cd5e93a8.js +0 -1
  853. package/assets/esri/core/workers/chunks/fe33b11ec3f58a0f541a.js +0 -1
  854. package/assets/esri/core/workers/chunks/ff8e2f998169ca3a7a68.js +0 -1
  855. package/assets/esri/core/workers/chunks/ffdba51e7256ebf8ebd3.js +0 -1
  856. /package/assets/esri/core/workers/chunks/{43e2c1d72cd9c8beed2f.js.LICENSE.txt → 008a555ce169640e2a35.js.LICENSE.txt} +0 -0
  857. /package/assets/esri/core/workers/chunks/{6be530ab81291745485b.js.LICENSE.txt → 21ac84b5c7dedcfd747d.js.LICENSE.txt} +0 -0
  858. /package/assets/esri/core/workers/chunks/{5b9f2aa3ba1bf12c3240.js.LICENSE.txt → 534ed6574e4a1613ba05.js.LICENSE.txt} +0 -0
  859. /package/assets/esri/core/workers/chunks/{37002a46f03a9fc5f644.js.LICENSE.txt → 5aee84e827e6fcc9c4c4.js.LICENSE.txt} +0 -0
  860. /package/assets/esri/core/workers/chunks/{73c416ae0ec5a1815591.js.LICENSE.txt → 90a53bfe95ed687c28c1.js.LICENSE.txt} +0 -0
  861. /package/assets/esri/core/workers/chunks/{873008572c1f21cea122.js.LICENSE.txt → 91e307ca0d11804a7a1d.js.LICENSE.txt} +0 -0
  862. /package/assets/esri/core/workers/chunks/{25f3ee666f545a7a7993.js.LICENSE.txt → dc57400b835724204909.js.LICENSE.txt} +0 -0
  863. /package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js.LICENSE.txt → e3d3fc87789fd711f161.js.LICENSE.txt} +0 -0
  864. /package/assets/esri/core/workers/chunks/{0b7bbdc0d71ee6721751.js.LICENSE.txt → ef519984fa691aad8d87.js.LICENSE.txt} +0 -0
  865. /package/assets/esri/core/workers/chunks/{9ccabf8142fb5de4d3e2.js.LICENSE.txt → f5ed6953a9255f0bed6a.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1197,4342,5681,7694,9247,9481],{159:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),o=r(69622),s=r(91429),a=r(99157);let l=n=class extends o.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},4197:(e,t,r)=>{r.d(t,{Vj:()=>u,cj:()=>l,jh:()=>o,l5:()=>a,xm:()=>s});var n=r(34275),i=r(9093);function o(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6797:(e,t,r)=>{r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),o=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof n.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=l(e),i=l(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),f=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(o,d).sort(),h=c(e);if(h&&s.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const g=a(e)&&a(t);for(const n of f){const i=u(e,n),o=u(t,n);let s;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(r&&r[n]&&"function"==typeof r[n])s=r[n]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[n]=s:y={type:"partial",diff:{[n]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093:(e,t,r)=>{function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:n,fromValues:function(e,t,r,n,i,o,s,a,l,u,c,p,d,f,h,y){return[e,t,r,n,i,o,s,a,l,u,c,p,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},9762:(e,t,r)=>{r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,o,s,a=Math.floor(e.length/3)){const l=(0,n.jd)(t,o);if(null==l)return!1;if(l===n.pO){if(e===i&&r===s)return!0;const t=r+3*a;for(let n=r,o=s;n<t;n++,o++)i[o]=e[n]??0;return!0}const u=r+3*a;for(let t=r,n=s;t<u;t+=3,n+=3)l(e,t,i,n);return!0}},13069:(e,t,r)=>{r.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},16494:(e,t,r)=>{r.d(t,{Nd:()=>a,W5:()=>s});var n=r(37330);const i=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],s=new n.I({whiteList:i,onTagAttr:(e,t,r)=>{const n=`${t}="${r}"`;if(o.includes(t))return n},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new n.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(31635),i=r(69622),o=r(4576),s=r(60999),a=r(7762),l=r(16494),u=r(91429),c=r(30524),p=r(43668);const d=/<br\s*\/*>/gi;let f=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??r.e(9926).then(r.bind(r,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),n=this.fieldsIndex.get(r.at(-1)??"");n&&e.add(n.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const n=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(n)??""}async getTitles(e,t,r){const n=new Map,i=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:a}=this,u=a&&s;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:a}):"";r?.removeHTML&&(p=l.Nd.sanitize(p).replaceAll(d," ")),n.set(c,p)})}catch{}return n}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const n=e.createQuery();n.where="1=1",n.outFields=[...this.requiredFields],n.objectIds=r;const i=await e.queryFeatures(n);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),n=e?.name??r.fieldName;r.fieldName=n,t.set(n.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const n=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:n,attributes:o,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,n.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,n.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,n.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},22671:(e,t,r)=>{r.d(t,{A:()=>v});var n,i=r(31635),o=r(52106),s=r(66552),a=r(25482),l=r(4718),u=r(91429),c=r(16930),p=r(60408),d=r(65864),f=r(50498),h=r(20437),y=r(36005),g=r(43937);const m=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,n){if(e)return void m.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=c.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[o,s]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*o+n,e=>i-e*s,a,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const o=e[t],s=r.fromJSON(o),a=o.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=n);const l=o.aggregateGeometries,u=s.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(s)}return i}_quantizePoints(e,t,r){let n,i;const o=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===n&&s===i||(o.push([e-n,s-i]),n=e,i=s)}else n=t(a[0]),i=r(a[1]),o.push([n,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,p.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=n.length;e<o;e++){const o=n[e],s=this._quantizePoints(o,t,r);s&&i.push(s)}return i.length>0?((0,p.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,p.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=r(a)}}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,a;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],a+=n[1]):(s=n[0],a=n[1]),n[0]=t(s),n[1]=r(a)}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,g.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(31635),i=r(69540),o=r(66552),s=r(25482),a=r(91429);const l=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},32730:(e,t,r)=>{r.d(t,{BI:()=>g,D3:()=>h,XJ:()=>y,lc:()=>f,mX:()=>v,rU:()=>m,tH:()=>T});var n=r(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i"),c='"',p=c+" + ",d=" + "+c;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function y(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function g(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function m(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return T(t.expression)}return null}function v(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(s,p).replaceAll(a,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,x=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,M=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function T(e){if(!e)return null;let t=b.exec(e)||x.exec(e);return t?t[1]||t[3]:(t=M.exec(e),t?t[2]:null)}},32756:(e,t,r)=>{r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>l});var n=r(31635),i=r(93637),o=r(91429),s=r(91880);function a(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new s.A;return i.read(n,r),[i]}const l={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,n){const o=e.find(e=>!!e.field);o&&(0,i.sM)(r,[o.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,o.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(31635),i=r(69540),o=r(25482),s=r(91429),a=r(8631),l=r(29005),u=r(36005),c=r(43937);let p=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,a.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],p.prototype,"domains",void 0),(0,n.Cg)([(0,u.w)("domains")],p.prototype,"readDomains",null),(0,n.Cg)([(0,c.K)("domains")],p.prototype,"writeDomains",null),(0,n.Cg)([(0,s.MZ)({type:[l.A],json:{write:!0}})],p.prototype,"templates",void 0),p=(0,n.Cg)([(0,s.$K)("esri.layers.support.FeatureType")],p)},37352:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),o=r(7762),s=r(25482),a=r(91429);let l=n=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new n({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},37539:(e,t,r)=>{r.d(t,{pO:()=>y,jd:()=>d,Tp:()=>f,w5:()=>p});var n=r(34727),i=r(86211),o=r(73941),s=r(79258);Math.PI;const a=s.$O.radius,l=s.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=r(21325);const p={2:{5:y,7:null,9:null,10:y,1:T,6:null,8:null,0:null,3:m,11:v,2:y,4:F},5:{5:y,7:null,9:null,10:y,1:T,6:null,8:null,0:null,3:m,11:v,2:y,4:F},7:{5:null,7:y,9:null,10:y,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:y,10:y,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(e,t,r,n){const i=e[t]/P,o=Z-2*Math.atan(Math.exp(-e[t+1]/P)),s=P+(e[t+2]??0),a=Math.cos(o)*s;r[n]=Math.cos(i)*a,r[n+1]=Math.sin(i)*a,r[n+2]=Math.sin(o)*s},6:null,8:null,0:null,3:y,11:function(e,t,r,n){g(e,t,r,n),v(r,n,r,n)},2:g,4:function(e,t,r,n){g(e,t,r,n),F(r,n,r,n)}},4:{5:S,7:null,9:null,10:S,1:function(e,t,r,n){S(e,t,r,n),T(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),v(r,n,r,n)},2:S,4:y},1:{5:A,7:null,9:null,10:A,1:y,6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),v(r,n,r,n)},2:A,4:function(e,t,r,n){A(e,t,r,n),F(r,n,r,n)}},6:{5:null,7:_,9:null,10:_,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:y,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:y,3:null,11:null,2:null,4:null},10:{5:y,7:y,9:y,10:y,1:T,6:M,8:x,0:null,3:m,11:v,2:y,4:F},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),T(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),m(r,n,r,n)},11:y,2:w,4:function(e,t,r,n){w(e,t,r,n),F(r,n,r,n)}}};function d(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(R.source.spatialReference===e&&R.dest.spatialReference===t)return R;const r=h(e,R.source),n=h(t,R.dest);return 0===r&&0===n?(0,c.aI)(e,t)?R.projector=y:R.projector=null:R.projector=p[r][n],R}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function y(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function g(e,t,r,n){r[n]=O*(e[t]/P),r[n+1]=O*(Z-2*Math.atan(Math.exp(-e[t+1]/P))),r[n+2]=e[t+2]??0}function m(e,t,r,i){!function(e,t,r,i,o){const s=.4999999*Math.PI,a=(0,n.qE)(j*e[t+1],-s,s),l=Math.sin(a);r[i++]=j*e[t]*o.radius,r[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[i]=e[t+2]??0}(e,t,r,i,s.$O)}function v(e,t,r,n){r[n]=e[t]*N,r[n+1]=e[t+1]*N,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*E,r[n+1]=e[t+1]*E,r[n+2]=e[t+2]??0}function b(e,t,r,n,i){const o=i+(e[t+2]??0),s=j*e[t],a=j*e[t+1],l=Math.cos(a)*o;r[n]=Math.cos(s)*l,r[n+1]=Math.sin(s)*l,r[n+2]=Math.sin(a)*o}function x(e,t,r,n){b(e,t,r,n,s.Sw.radius)}function M(e,t,r,n){b(e,t,r,n,s.sH.radius)}function T(e,t,r,n){b(e,t,r,n,s.$O.radius)}function I(e,t,r,i,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,n.YN)(l/(0===u?1:u)),p=Math.atan2(a,s);r[i++]=O*p,r[i++]=O*c,r[i]=u-o}function C(e,t,r,n){I(e,t,r,n,s.Sw.radius)}function _(e,t,r,n){I(e,t,r,n,s.sH.radius)}function A(e,t,r,n){I(e,t,r,n,s.$O.radius)}function F(e,t,r,n){!function(e,t,r,n,i){const o=j*e[t],s=j*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);r[n++]=(c+a)*u*Math.cos(o),r[n++]=(c+a)*u*Math.sin(o),r[n++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,r,n,s.$O)}function S(e,t,r,n){const i=u,o=e[t],a=e[t+1],l=e[t+2]??0;let c,p,d,f,h,y,g,m,v,w,b,x,M,T,I,C,_,A,F,S,R;c=Math.abs(l),p=o*o+a*a,d=Math.sqrt(p),f=p+l*l,h=Math.sqrt(f),S=Math.atan2(a,o),y=l*l/f,g=p/f,T=i.a2/h,I=i.a3-i.a4/h,g>.3?(m=c/h*(1+g*(i.a1+T+y*I)/h),F=Math.asin(m),w=m*m,v=Math.sqrt(1-w)):(v=d/h*(1-y*(i.a5-T-g*I)/h),F=Math.acos(v),w=1-v*v,m=Math.sqrt(w)),b=1-s.$O.eccentricitySquared*w,x=s.$O.radius/Math.sqrt(b),M=i.a6*x,T=d-x*v,I=c-M*m,_=v*T+m*I,C=v*I-m*T,A=C/(M/b+_),F+=A,R=_+C*A/2,l<0&&(F=-F),r[n++]=O*S,r[n++]=O*F,r[n]=R}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},j=(0,n.kU)(1),O=(0,n.KJ)(1),Z=.5*Math.PI,P=s.$O.radius,N=P*Math.PI/180,E=180/(P*Math.PI)},41366:(e,t,r)=>{r.d(t,{K:()=>p,Q:()=>l});var n=r(31635),i=r(66552),o=r(53966),s=r(91429),a=r(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let r=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");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560:(e,t,r)=>{r.d(t,{Ch:()=>s,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],p(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const s=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(c(i.minScale),p(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(e,t,r,i){return e=c(e),r=c(r),t=p(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},45067:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(31635),i=r(69540),o=r(66552),s=r(25482),a=r(91429);const l=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.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,n.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,n.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,n.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},46140:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(49186);let i=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[i,o]=t.split("."),s=/^\s*\d+\s*$/;if(!i?.match||!s.test(i))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!o?.match||!s.test(o))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(i,10),l=parseInt(o,10);return new e(a,l,r)}}},52106:(e,t,r)=>{r.d(t,{A:()=>x});var n,i=r(31635),o=r(37838),s=r(69540),a=r(51447),l=r(25482),u=r(53966),c=r(36708),p=r(24326),d=r(91429),f=r(12195),h=r(65864),y=r(50498),g=r(55156),m=r(60950),v=r(54339),w=r(33910);function b(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,s.OU)(l.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,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;const t=(0,m.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,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){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.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,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&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",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,h.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],x.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:h.rS}})],x.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:o.A,value:null})],x.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:w.Es})],x.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],x)},52136:(e,t,r)=>{r.d(t,{p:()=>o});var n=r(31635),i=r(91429);const o=e=>{const t=e;let r=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._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,n.Cg)([(0,i.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},54339:(e,t,r)=>{function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},55156:(e,t,r)=>{r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},55674:(e,t,r)=>{r.d(t,{Ad:()=>f,Gj:()=>g,QY:()=>d,lL:()=>m,xR:()=>h});var n=r(66131),i=r(49186),o=(r(44208),r(44729)),s=r(15032),a=r(65864),l=r(95466),u=r(43668),c=r(98623);const p=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of p)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return y.create(e,t,null,["$feature","$view"])}function h(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:o,Dictionary:s}=await(0,u.l)();let a;try{a=o.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=o.scriptUsesGeometryEngine(a);l&&await o.enableGeometrySupport(),await o.loadDependentModules(new Set,a,null,!1,l);const c={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},p=o.compileScript(a,c);let d=null;null!=r&&(d=new s(r),d.immutable=!0);const f=new s;return f.immutable=!1,f.setField("scale",0),new y(e,o,a,p,t,f,d,s)}constructor(e,t,r,n,i,o,s,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=o,this._configDict=s,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new g,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:o}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=o?null!=r?n.lY.epochToArcadeDate(o,r):n.lY.unknownEpochToArcadeDate(o):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class g{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new l.A(m(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===c.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??c.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function m(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},58501:(e,t,r)=>{r.d(t,{q:()=>i});var n=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,n.N)(r.geometryType,t,e.outSpatialReference);if(i)for(const e of r.features)i(e.geometry)}},62815:(e,t,r)=>{r.d(t,{N:()=>s});var n=r(86211),i=r(73941),o=r(21325);function s(e,t,r){if(null==t||null==r||r.vcsWkid||(0,o.aI)(t,r)||(0,i.xP)(t)||(0,i.xP)(r))return;const s=(0,n.G9)(t)/(0,n.G9)(r);if(1!==s)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,s);default:return}}},64714:(e,t,r)=>{r.d(t,{F0:()=>a,Vx:()=>c,e2:()=>d,f:()=>f});var n=r(44208),i=r(4718),o=r(99352),s=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function c(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${p(t)} = null;`;for(const t in e)r+=`this${p(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>({[t]:null,...e})}}function p(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:o.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:o.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},68695:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Z});var n=r(31635),i=r(49186),o=r(74887),s=r(84952),a=r(91429),l=r(16930),u=r(55156),c=r(60950),p=r(89808),d=r(99959);const f=Symbol("isCSVGraphicOrigin");var h;class y extends d.A{get[(h=f,c.ym)](){return this.layer}get[u.e](){return this.layer}get[p.Q](){return this.layer}constructor(e){super(),this[h]=!0,this.type="csv",this.layer=e}get id(){return this.layer.id}}var g=r(68654),m=r(44208),v=r(92474),w=r(83027),b=r(5443),x=r(22671);let M=class extends v.x_{constructor(e){super(e),this.type="csv",this.refresh=(0,o.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(this.sourceJSON.extent=t),r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return x.A.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:b.A.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?e.toJSON():null,t)}async _startWorker(e){this._connection=await(0,w.h)("CSVSourceWorker",{strategy:(0,m.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{url:t,delimiter:r,fields:n,latitudeField:i,longitudeField:o,spatialReference:s,timeInfo:a}=this.loadOptions,l=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:n?.map(e=>e.toJSON()),latitudeField:i,longitudeField:o,spatialReference:s?.toJSON(),timeInfo:a?.toJSON()}},{signal:e});this.locationInfo=l.locationInfo,this.sourceJSON=l.layerDefinition,this.delimiter=l.delimiter}};(0,n.Cg)([(0,a.MZ)()],M.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)()],M.prototype,"loadOptions",void 0),(0,n.Cg)([(0,a.MZ)()],M.prototype,"customParameters",void 0),(0,n.Cg)([(0,a.MZ)()],M.prototype,"locationInfo",void 0),(0,n.Cg)([(0,a.MZ)()],M.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,a.MZ)()],M.prototype,"delimiter",void 0),M=(0,n.Cg)([(0,a.$K)("esri.layers.graphics.sources.CSVSource")],M);var T=r(64714),I=r(10873),C=r(20437),_=r(61956),A=r(97159),F=r(88625),S=r(36005),R=r(43937);function j(e,t){throw new i.A(t,`CSVLayer (title: ${e.title}, id: ${e.id}) cannot be saved to a portal item`)}let O=class extends g.default{constructor(...e){super(...e),this.geometryType="point",this.capabilities=(0,T.f)(!1,!1),this.delimiter=null,this.editingEnabled=!1,this.fields=null,this.graphicOrigin=new y(this),this.latitudeField=null,this.locationType="coordinates",this.longitudeField=null,this.operationalLayerType="CSV",this.outFields=["*"],this.path=null,this.spatialReference=l.A.WGS84,this.source=null,this.type="csv"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(o.QP).then(async()=>this.initLayerProperties(await this.createGraphicsSource(t)));return this.addResolvingPromise(r),Promise.resolve(this)}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}set fieldConfigurations(e){}get fieldConfigurations(){}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return null!=t.showLabels?t.showLabels:!!t.layerDefinition?.drawingInfo?.labelingInfo}writePopupTemplate(e,t,r,n){e&&(t[r]=e.toJSON(n))}set url(e){if(!e)return void this._set("url",e);const t=(0,s.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async createGraphicsSource(e){const t=new M({loadOptions:{delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},customParameters:this.customParameters??void 0});return this._set("source",t),await t.load({signal:e}),this.read({locationInfo:t.locationInfo,columnDelimiter:t.delimiter},{origin:"service",url:this.parsedUrl}),t}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(_.A.from(e)||this.createQuery())).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(_.A.from(e)||this.createQuery())}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(_.A.from(e)||this.createQuery()))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(_.A.from(e)||this.createQuery()))}read(e,t){super.read(e,t),"service"===t?.origin&&this.revert(["latitudeField","longitudeField"],"service")}write(e,t){return super.write(e,{...t,writeLayerSchema:!0})}clone(){throw new i.A("csv-layer:clone",`CSVLayer (title: ${this.title}, id: ${this.id}) cannot be cloned`)}async save(e){return j(this,"csv-layer:save")}async saveAs(e,t){return j(this,"csv-layer:save-as")}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}_verifyFields(){}_verifySource(){}_hasMemorySource(){return!1}};(0,n.Cg)([(0,a.MZ)(I.zQ)],O.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,a.MZ)({type:F.A})],O.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],O.prototype,"capabilities",void 0),(0,n.Cg)([(0,a.MZ)({type:[","," ",";","|","\t"],json:{read:{source:"columnDelimiter"},write:{target:"columnDelimiter",ignoreOrigin:!0}}})],O.prototype,"delimiter",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0,type:Boolean,json:{origins:{"web-scene":{read:!1,write:!1}}}})],O.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!1}})],O.prototype,"fieldConfigurations",null),(0,n.Cg)([(0,a.MZ)({type:[C.A],json:{read:{source:"layerDefinition.fields"},write:{target:"layerDefinition.fields"}}})],O.prototype,"fields",void 0),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],O.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,readOnly:!0})],O.prototype,"isTable",null),(0,n.Cg)([(0,S.w)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],O.prototype,"readWebMapLabelsVisible",null),(0,n.Cg)([(0,a.MZ)({type:String,json:{read:{source:"locationInfo.latitudeFieldName"},write:{target:"locationInfo.latitudeFieldName",ignoreOrigin:!0}}})],O.prototype,"latitudeField",void 0),(0,n.Cg)([(0,a.MZ)({type:["show","hide"]})],O.prototype,"listMode",void 0),(0,n.Cg)([(0,a.MZ)({type:["coordinates"],json:{read:{source:"locationInfo.locationType"},write:{target:"locationInfo.locationType",ignoreOrigin:!0,isRequired:!0}}})],O.prototype,"locationType",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{read:{source:"locationInfo.longitudeFieldName"},write:{target:"locationInfo.longitudeFieldName",ignoreOrigin:!0}}})],O.prototype,"longitudeField",void 0),(0,n.Cg)([(0,a.MZ)({type:["CSV"]})],O.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,a.MZ)()],O.prototype,"outFields",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{read:!1,write:!1}},read:!1,write:!1}})],O.prototype,"path",void 0),(0,n.Cg)([(0,R.K)("popupTemplate")],O.prototype,"writePopupTemplate",null),(0,n.Cg)([(0,a.MZ)({type:l.A})],O.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},cast:null,type:M,readOnly:!0})],O.prototype,"source",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1},value:"csv",readOnly:!0})],O.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:A.r,write:{isRequired:!0,ignoreOrigin:!0,writer:A.w}}})],O.prototype,"url",null),O=(0,n.Cg)([(0,a.$K)("esri.layers.CSVLayer")],O);const Z=O},70328:(e,t,r)=>{r.d(t,{BI:()=>w,DC:()=>p,Ej:()=>f,Ie:()=>m,Jt:()=>v,Ne:()=>h,RF:()=>c,aI:()=>x,fA:()=>s,gE:()=>l,hZ:()=>g,iT:()=>d,is:()=>b,qv:()=>M,vI:()=>y,vY:()=>a,v_:()=>T,vt:()=>o,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function o(e=T){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,n,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,r,n=o()){return g(n,M),function(e,t,r=0,n=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[r,n,o,s,a,l]=e;return t[0]=r,t[1]=n,t[2]=o,t[3]=r,t[4]=n,t[5]=l,t[6]=r,t[7]=a,t[8]=o,t[9]=r,t[10]=a,t[11]=l,t[12]=s,t[13]=n,t[14]=o,t[15]=s,t[16]=n,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?g(e,M):o(M)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function x(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const M=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];o()},73681:(e,t,r)=>{r.d(t,{n:()=>l});var n=r(49186),i=r(53966),o=r(46140),s=r(95466),a=r(55674);class l{static async from(e,t,r){const s=e.dictionary_version?o.A.parse(e.dictionary_version):null,c=new Set(e.itemsNames),p={};if(t)for(const e in t)p[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)p.hasOwnProperty(t.name)||(p[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const f=await(0,a.xR)(e.expression,null,p);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!s||!s.greaterEqual(4,0);h&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const y=new u(r,h);return new l(h,c,f,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class u extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},91218:(e,t,r)=>{r.r(t),r.d(t,{canProjectWithoutEngine:()=>L,initializeProjection:()=>U,isEqualBaseGCS:()=>J,isLoaded:()=>S,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>j,load:()=>Z,project:()=>P,projectAsync:()=>G,projectExtent:()=>te,projectMany:()=>N,projectMultipoint:()=>Q,projectOrLoad:()=>k,projectOrLoadMany:()=>$,projectPoint:()=>B,projectPolygon:()=>X,projectPolyline:()=>H,projectWithoutEngine:()=>V,requiresLoad:()=>O,test:()=>z,tryProject:()=>E,unload:()=>D});var n=r(49186),i=r(74887),o=r(62788),s=r(95488),a=r(51850),l=r(21276),u=r(73941),c=r(5443),p=r(91075),d=r(48526),f=r(86738),h=r(39829),y=r(82799),g=r(16930),m=r(159),v=r(9762),w=r(37539);function b(e,t,r,n,i,o){return x[0]=e,x[1]=t,x[2]=r,(0,v.projectBuffer)(x,n,0,i,o,0)}const x=(0,a.vt)();var M=r(21325);let T=null,I=null,C=null,_=null,A={};const F=new s.I;function S(){return!!(I?.isLoaded()&&C?.isLoaded()&&_?.isLoaded())}function R(){return!!S()||((0,o.gc)(F),Z(),!1)}function j(e,t){return!e||!t||L(e,t)||R()}function O(e,t){return!L(e,t)&&!S()}async function Z(e){null==T&&(T=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(I=e,I.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(C=e,C.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(_=e,_.load()))])),await T,(0,i.Te)(e),F.notify()}function P(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),N(e,e[0].spatialReference,t,r)):((0,l.f)(e),N([e],e.spatialReference,t,r)[0])}function N(e,t,r,n){if(null==t||null==r)return e;if(L(t,r,n))return e.map(e=>V(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>V(e,t,g.A.WGS84)),g.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return N(e,t,g.A.WGS84).map(e=>V(e,g.A.WGS84,r));if(!S())throw new q;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:_.getTransformation(t,r,n.areaOfInterestExtent)||new m.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=A[e];i||(i=_.getTransformation(t,r)||new m.A,A[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?I.executeMany(e,r,n):C.executeMany(e,r,n)}function E(e,t,r){try{return P(e,t,r)}catch(e){return null}}function k(e,t){const r=$([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function $(e,t,r){if(!S())for(const r of e)if(null!=r&&!(0,M.aI)(r.spatialReference,t)&&(0,M.fn)(r.spatialReference)&&(0,M.fn)(t)&&!L(r.spatialReference,t))return(0,o.gc)(F),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,M.aI)(e.spatialReference,t)?e:(0,M.fn)(e.spatialReference)&&(0,M.fn)(t)?P(e,t,r):null)}}class q extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function D(){T=null,I=null,C=null,_=null,A={}}const z={get loadPromise(){return T}};async function G(e,t,r){if((0,i.Te)(r),!e)return e;const n=$(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),G(e,t,r);const o=n.geometries??[];return Array.isArray(e)?o:o[0]}function L(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,M.aI)(e,t)||(0,M.fn)(e)&&(0,M.fn)(t)&&!!(0,w.jd)(e,t))}function J(e,t){if((0,M.aI)(e,t))return!0;if(!(0,M.fn)(e)||!(0,M.fn)(t))return!1;const r=(0,M.oT)(e)||(0,M.K8)(e)||(0,M.x1)(e),n=(0,M.oT)(t)||(0,M.K8)(t)||(0,M.x1)(t);return r&&n}async function U(e,t,r,n){if(S())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!L(t,r,i))return Z(n)}else if(e&&t&&!L(e,t,r))return Z(n);return(0,i.NO)(n)}function V(e,t,r){return e?"x"in e?K(e,t,new f.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new h.A,r,0):"paths"in e?Y(e,t,new y.A,r,0):"points"in e?W(e,t,new d.A,r,0):null:null}function B(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,r,n)}function K(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const o=e.z;return ie[2]=void 0!==o?o:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==o||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){const{points:o,hasZ:s,hasM:a}=e,l=[],c=o.length,p=[];for(const e of o)p.push(e[0],e[1],s?e[2]:i);if(!(0,v.projectBuffer)(p,t,0,p,n,0,c))return null;const d=s||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];d&&a?l.push([r,n,p[t+2],o[e][3]]):d?l.push([r,n,p[t+2]]):a?l.push([r,n,o[e][2]]):l.push([r,n])}return r.points=l,r.spatialReference=n,r.hasZ=s,r.hasM=a,r}function H(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){const{paths:o,hasZ:s,hasM:a}=e,l=[];if(!ne(o,s??!1,a??!1,t,l,n,i))return null;const c=s||(0,u.xP)(n);return r.paths=l,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:o,hasZ:s,hasM:a}=e,l=[];if(!ne(o,s??!1,a??!1,t,l,n,i))return null;const c=s||(0,u.xP)(n);return r.rings=l,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:c,hasM:p}=e;if(!b(o,s,c?e.zmin:i,t,ie,n))return null;const d=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],d&&(r.zmin=ie[2]),b(a,l,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],d&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,o,s=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:s);if(!(0,v.projectBuffer)(a,n,0,a,o,0))return!1;let l=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([a[l++],a[l++],a[l++],n[3]]):c?e.push([a[l++],a[l++],a[l++]]):r?(e.push([a[l++],a[l++],n[2]]),l++):(e.push([a[l++],a[l++]]),l++);i.push(e)}return!0}const ie=(0,a.vt)()},91880:(e,t,r)=>{r.d(t,{A:()=>u});var n,i=r(31635),o=r(66552),s=r(25482),a=r(91429);const l=new o.J({asc:"ascending",desc:"descending"});let u=class extends s.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],u)},99157:(e,t,r)=>{r.d(t,{A:()=>a});var n,i=r(31635),o=r(69622),s=r(91429);let a=n=class extends o.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},99352:(e,t,r)=>{r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={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}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7694],{16494:(e,t,s)=>{s.d(t,{Nd:()=>l,W5:()=>n});var i=s(37330);const r=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),a=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],n=new i.I({whiteList:r,onTagAttr:(e,t,s)=>{const i=`${t}="${s}"`;if(a.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311:(e,t,s)=>{s.d(t,{A:()=>f});var i=s(31635),r=s(69622),a=s(4576),n=s(60999),l=s(7762),o=s(16494),c=s(91429),d=s(30524),u=s(43668);const p=/<br\s*\/*>/gi;let f=class extends r.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,n.UT)(()=>(0,u.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??s.e(9926).then(s.bind(s,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const s=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(s.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:s,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(s,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const s=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of s){const s=t.split("."),i=this.fieldsIndex.get(s.at(-1)??"");i&&e.add(i.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const s of t){const t=this.fieldsIndex.get(s);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,s){const i=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],s)).get(i)??""}async getTitles(e,t,s){const i=new Map,r=s?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:a}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);s?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:n,workingTitle:l}=this,c=l&&n;t.forEach(t=>{const d=t.getObjectId()??t.attributes[e.objectIdField];let u=c?a({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,r).global,layer:e,text:l}):"";s?.removeHTML&&(u=o.Nd.sanitize(u).replaceAll(p," ")),i.set(d,u)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const s=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(a.Ru);if(s.length!==t.length)return t;if(t.some(e=>!(0,d.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=s;const r=await e.queryFeatures(i);if(r?.features.length===t.length)return r.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const s of e){if(!s.fieldName)continue;const e=this.fieldsIndex.get(s.fieldName),i=e?.name??s.fieldName;s.fieldName=i,t.set(i.toLowerCase(),s)}return t}_createFormattedAttributes(e,t,s="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],r={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const s=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{r[`expression/${e.name}`]=e.func({vars:{$feature:s}})}catch{}}const a={...t.attributes,...r};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:a,graphic:t,timeZone:s,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,d.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,c.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,i.Cg)([(0,c.MZ)()],f.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,c.MZ)()],f.prototype,"displayField",void 0),(0,i.Cg)([(0,c.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,c.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,c.MZ)()],f.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)()],f.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,c.MZ)()],f.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)()],f.prototype,"objectIdField",void 0),(0,i.Cg)([(0,c.MZ)()],f.prototype,"requiredFields",null),f=(0,i.Cg)([(0,c.$K)("esri.layers.support.TitleCreator")],f)},41560:(e,t,s)=>{s.d(t,{Ch:()=>n,mW:()=>a});var i=s(34727),r=s(39516);function a(e,t){return{...t,filterMode:e.mode}}function n(e,t,s){const a=function(e){if("manual"===c(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:s,maxScale:i}of e.filters)t[0]=Math.max(t[0],d(s)),t[1]=Math.min(t[1],u(i));return t}(e);if(a&&((0,i.gg)(t,a[0])||(0,i.ZH)(s,a[1])))return"";const n=Array.from(l(e,t,s)),o=function(e,t,s){if(0===e.length)return!0;const r=d(e.at(0)?.minScale),a=u(e.at(-1)?.maxScale);if((0,i.ZH)(r,t)||(0,i.gg)(a,s))return!0;for(let t=0;t<e.length-1;t++){const s=e[t],r=e[t+1];if((0,i.ZH)(d(r.minScale),u(s.maxScale)))return!0}return!1}(n,t,s)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,r.IW)(e,t),"");return o&&"1=1"!==o?o:""}function*l(e,t,s){if("manual"===c(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)o(i.minScale,i.maxScale,t,s)&&(yield i)}}function o(e,t,s,r){return e=d(e),s=d(s),t=u(t),!(!(0,i.Sp)(s,e)&&(r??s)>e||(0,i.Hx)(t,s)||void 0!==r&&(0,i.Sp)(r,e))}function c(e){return"mode"in e?e.mode:e.filterMode}function d(e){return e||Number.POSITIVE_INFINITY}function u(e){return e||0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5859],{6774:(t,s,i)=>{i.d(s,{O3:()=>h,Ox:()=>_,bR:()=>e});class e{constructor(t,s){this.x=t,this.y=s}static fromArray(t){return new e(t[0],t[1])}clone(){return new e(this.x,this.y)}equals(t,s){return t===this.x&&s===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,s){return this.x=t,this.y=s,this}normalize(){const t=this.x,s=this.y,i=Math.sqrt(t*t+s*s);return this.x/=i,this.y/=i,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,s){return this.x+=t,this.y+=s,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,s){return this.x=t.x+s.x,this.y=t.y+s.y,this}assignSub(t,s){return this.x=t.x-s.x,this.y=t.y-s.y,this}rotate(t,s){const i=this.x,e=this.y;return this.x=i*t-e*s,this.y=i*s+e*t,this}rotateReverse(t,s){const i=this.x,e=this.y;return this.x=i*t+e*s,this.y=-i*s+e*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,s=this.y;return Math.sqrt(t*t+s*s)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,s){const i=s.x-t.x,e=s.y-t.y;return Math.sqrt(i*i+e*e)}static add(t,s){return new e(t.x+s.x,t.y+s.y)}static sub(t,s){return new e(t.x-s.x,t.y-s.y)}}class n{constructor(t,s,i){this.ratio=t,this.x=s,this.y=i}}class h{constructor(t,s,i,e=8,n=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=e,this._pixelMargin=n,this._tileSize=512*e,this._dz=t,this._yPos=s,this._xPos=i}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let s=this._pixelRatio*this._pixelMargin;s/=this._finalRatio;const i=t>>this._dz;s>i&&(s=i),this._margin=s,this._xmin=i*this._xPos-s,this._ymin=i*this._yPos-s,this._xmax=this._xmin+i+2*s,this._ymax=this._ymin+i+2*s}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,s){this._pushLine(),this._prevIsIn=this._isIn(t,s),this._moveTo(t,s,this._prevIsIn),this._prevPt=new e(t,s),this._firstPt=new e(t,s),this._dist=0}lineTo(t,s){const i=this._isIn(t,s),h=new e(t,s),_=e.distance(this._prevPt,h);let r,a,o,l,x,u,y,c;if(i)this._prevIsIn?this._lineTo(t,s,!0):(r=this._prevPt,a=h,o=this._intersect(a,r),this._start=this._dist+_*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(a.x,a.y,!0));else if(this._prevIsIn)a=this._prevPt,r=h,o=this._intersect(a,r),this._lineTo(o.x,o.y,!0),this._lineTo(r.x,r.y,!1);else{const t=this._prevPt,s=h;if(t.x<=this._xmin&&s.x<=this._xmin||t.x>=this._xmax&&s.x>=this._xmax||t.y<=this._ymin&&s.y<=this._ymin||t.y>=this._ymax&&s.y>=this._ymax)this._lineTo(s.x,s.y,!1);else{const i=[];if((t.x<this._xmin&&s.x>this._xmin||t.x>this._xmin&&s.x<this._xmin)&&(l=(this._xmin-t.x)/(s.x-t.x),c=t.y+l*(s.y-t.y),c<=this._ymin?u=!1:c>=this._ymax?u=!0:i.push(new n(l,this._xmin,c))),(t.x<this._xmax&&s.x>this._xmax||t.x>this._xmax&&s.x<this._xmax)&&(l=(this._xmax-t.x)/(s.x-t.x),c=t.y+l*(s.y-t.y),c<=this._ymin?u=!1:c>=this._ymax?u=!0:i.push(new n(l,this._xmax,c))),(t.y<this._ymin&&s.y>this._ymin||t.y>this._ymin&&s.y<this._ymin)&&(l=(this._ymin-t.y)/(s.y-t.y),y=t.x+l*(s.x-t.x),y<=this._xmin?x=!1:y>=this._xmax?x=!0:i.push(new n(l,y,this._ymin))),(t.y<this._ymax&&s.y>this._ymax||t.y>this._ymax&&s.y<this._ymax)&&(l=(this._ymax-t.y)/(s.y-t.y),y=t.x+l*(s.x-t.x),y<=this._xmin?x=!1:y>=this._xmax?x=!0:i.push(new n(l,y,this._ymax))),0===i.length)x?u?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):u?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(i.length>1&&i[0].ratio>i[1].ratio)this._start=this._dist+_*i[1].ratio,this._lineTo(i[1].x,i[1].y,!0),this._lineTo(i[0].x,i[0].y,!0);else{this._start=this._dist+_*i[0].ratio;for(let t=0;t<i.length;t++)this._lineTo(i[t].x,i[t].y,!0)}this._lineTo(s.x,s.y,!1)}}this._dist+=_,this._prevIsIn=i,this._prevPt=h}close(){if(this._line.length>2){const t=this._firstPt,s=this._prevPt;t.x===s.x&&t.y===s.y||this.lineTo(t.x,t.y);const i=this._line;let e=i.length;for(;e>=4&&(i[0].x===i[1].x&&i[0].x===i[e-2].x||i[0].y===i[1].y&&i[0].y===i[e-2].y);)i.pop(),i[0].x=i[e-2].x,i[0].y=i[e-2].y,--e}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&r.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,s=t.length;if(0===s)return null;const i=[];for(let e=0;e<s;e++)i.push({line:t[e],start:this._starts[e]||0});return i}_isIn(t,s){return t>=this._xmin&&t<=this._xmax&&s>=this._ymin&&s<=this._ymax}_intersect(t,s){let i,n,h;if(s.x>=this._xmin&&s.x<=this._xmax)n=s.y<=this._ymin?this._ymin:this._ymax,h=(n-t.y)/(s.y-t.y),i=t.x+h*(s.x-t.x);else if(s.y>=this._ymin&&s.y<=this._ymax)i=s.x<=this._xmin?this._xmin:this._xmax,h=(i-t.x)/(s.x-t.x),n=t.y+h*(s.y-t.y);else{n=s.y<=this._ymin?this._ymin:this._ymax,i=s.x<=this._xmin?this._xmin:this._xmax;const e=(i-t.x)/(s.x-t.x),_=(n-t.y)/(s.y-t.y);e<_?(h=e,n=t.y+e*(s.y-t.y)):(h=_,i=t.x+_*(s.x-t.x))}return this._r=h,new e(i,n)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,s,i){3!==this._type?i&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),s=Math.round((s-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,s))):(i||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),s<this._ymin&&(s=this._ymin),s>this._ymax&&(s=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),s=Math.round((s-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,s)),this._isH=!1,this._isV=!1)}_lineTo(t,s,i){let n,h;if(3!==this._type)if(i){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),s=Math.round((s-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(n=this._line[this._line.length-1],n.equals(t,s)))return;this._line.push(new e(t,s))}else this._line&&this._line.length>0&&this._pushLine();else if(i||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),s<this._ymin&&(s=this._ymin),s>this._ymax&&(s=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),s=Math.round((s-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){n=this._line[this._line.length-1];const i=n.x===t,_=n.y===s;if(i&&_)return;this._isH&&i||this._isV&&_?(n.x=t,n.y=s,h=this._line[this._line.length-2],h.x===t&&h.y===s?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(h=this._line[this._line.length-2],this._isH=h.x===t,this._isV=h.y===s)):(this._isH=h.x===t,this._isV=h.y===s)):(this._line.push(new e(t,s)),this._isH=i,this._isV=_)}else this._line.push(new e(t,s))}}class _{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,s){this._line&&this._lines.push(this._line),this._line=[];const i=this._ratio;this._line.push(new e(t*i,s*i))}lineTo(t,s){const i=this._ratio;this._line.push(new e(t*i,s*i))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class r{static simplify(t,s,i){if(!i)return;const e=-s,n=t+s,h=-s,_=t+s,a=[],o=[],l=i.length;for(let t=0;t<l;++t){const s=i[t];if(!s||s.length<2)continue;let r,l=s[0];const x=s.length;for(let i=1;i<x;++i)r=s[i],l.x===r.x&&(l.x<=e&&(l.y>r.y?(a.push(t),a.push(i),a.push(0),a.push(-1)):(o.push(t),o.push(i),o.push(0),o.push(-1))),l.x>=n&&(l.y<r.y?(a.push(t),a.push(i),a.push(1),a.push(-1)):(o.push(t),o.push(i),o.push(1),o.push(-1)))),l.y===r.y&&(l.y<=h&&(l.x<r.x?(a.push(t),a.push(i),a.push(2),a.push(-1)):(o.push(t),o.push(i),o.push(2),o.push(-1))),l.y>=_&&(l.x>r.x?(a.push(t),a.push(i),a.push(3),a.push(-1)):(o.push(t),o.push(i),o.push(3),o.push(-1)))),l=r}if(0===a.length||0===o.length)return;r.fillParent(i,o,a),r.fillParent(i,a,o);const x=[];r.calcDeltas(x,o,a),r.calcDeltas(x,a,o),r.addDeltas(x,i)}static fillParent(t,s,i){const e=i.length,n=s.length;for(let h=0;h<n;h+=4){const n=s[h],_=s[h+1],r=s[h+2],o=t[n][_-1],l=t[n][_];let x=8092,u=-1;for(let s=0;s<e;s+=4){if(i[s+2]!==r)continue;const e=i[s],n=i[s+1],h=t[e][n-1],_=t[e][n];switch(r){case 0:case 1:if(a(o.y,h.y,_.y)&&a(l.y,h.y,_.y)){const t=Math.abs(_.y-h.y);t<x&&(x=t,u=s)}break;case 2:case 3:if(a(o.x,h.x,_.x)&&a(l.x,h.x,_.x)){const t=Math.abs(_.x-h.x);t<x&&(x=t,u=s)}}}s[h+3]=u}}static calcDeltas(t,s,i){const e=s.length;for(let n=0;n<e;n+=4){const e=[],h=r.calcDelta(n,s,i,e);t.push(s[n]),t.push(s[n+1]),t.push(s[n+2]),t.push(h)}}static calcDelta(t,s,i,e){const n=s[t+3];if(-1===n)return 0;const h=e.length;return h>1&&e[h-2]===n?0:(e.push(n),r.calcDelta(n,i,s,e)+1)}static addDeltas(t,s){const i=t.length;let e=0;for(let s=0;s<i;s+=4){const i=t[s+3];i>e&&(e=i)}for(let n=0;n<i;n+=4){const i=s[t[n]],h=t[n+1],_=e-t[n+3];switch(t[n+2]){case 0:i[h-1].x-=_,i[h].x-=_,1===h&&(i[i.length-1].x-=_),h===i.length-1&&(i[0].x-=_);break;case 1:i[h-1].x+=_,i[h].x+=_,1===h&&(i[i.length-1].x+=_),h===i.length-1&&(i[0].x+=_);break;case 2:i[h-1].y-=_,i[h].y-=_,1===h&&(i[i.length-1].y-=_),h===i.length-1&&(i[0].y-=_);break;case 3:i[h-1].y+=_,i[h].y+=_,1===h&&(i[i.length-1].y+=_),h===i.length-1&&(i[0].y+=_)}}}}const a=(t,s,i)=>t>=s&&t<=i||t>=i&&t<=s},13195:(t,s,i)=>{i.d(s,{GW:()=>p,IU:()=>E,Jo:()=>_,MG:()=>h,Wh:()=>u,cP:()=>N,os:()=>l,p6:()=>m,pJ:()=>r,ru:()=>S,s3:()=>I,wV:()=>c,yM:()=>G,z0:()=>y});var e=i(95108),n=i(6774);const h=Number.POSITIVE_INFINITY,_=Math.PI,r=2*_,a=128/_,o=256/360,l=_/180,x=1/Math.LN2;function u(t,s){return(t%=s)>=0?t:t+s}function y(t){return u(t*a,256)}function c(t){return u(t*o,256)}function m(t){return Math.log(t)*x}function p(t,s,i){return t*(1-i)+s*i}const f=8,R=14,T=16;function E(t){return f+Math.max((t-R)*T,0)}function I(t,s,i){let e,n,h,_=0;for(const r of i){e=r.length;for(let i=1;i<e;++i)n=r[i-1],h=r[i],n.y>s!=h.y>s&&((h.x-n.x)*(s-n.y)-(h.y-n.y)*(t-n.x)>0?_++:_--)}return 0!==_}function S(t,s,i,n){let h,_,r,a;const o=n*n;for(const n of i){const i=n.length;if(!(i<2)){h=n[0].x,_=n[0].y;for(let l=1;l<i;++l){if(r=n[l].x,a=n[l].y,(0,e.Ng)(t,s,h,_,r,a)<o)return!0;h=r,_=a}}}return!1}function N(t,s){if(0===s||Number.isNaN(s))return t;const i=[],e=new n.bR(0,0),h=new n.bR(0,0),_=new n.bR(0,0);for(let r=0;r<t.length;r++){const a=t[r],o=[];for(let t=0;t<a.length;t++){const i=a[t-1],r=a[t],l=a[t+1];0===t?e.setCoords(0,0):e.assignSub(r,i).normalize().rightPerpendicular(),t===a.length-1?h.setCoords(0,0):h.assignSub(l,r).normalize().rightPerpendicular(),_.assignAdd(e,h).normalize();const x=_.x*h.x+_.y*h.y;0!==x&&_.scale(1/x),o.push(n.bR.add(r,_.scale(s)))}i.push(o)}return i}function G(t,s,i,e){const h=new n.bR(t[0],t[1]);if(h.scale(e),"viewport"===s){const t=-i*(Math.PI/180),s=Math.cos(t),e=Math.sin(t);h.rotate(s,e)}return h}},23304:(t,s,i)=>{i.d(s,{Ph:()=>h,Z0:()=>r,hU:()=>n});var e=i(799);function n(t){const s=t.map(({name:t,count:s,type:i})=>`${t}.${s}.${i}`).join(",");return(0,e.Wm)(s)}function h(t,s,i,e,n,_,r){if(t.primitiveName===s){let s=e?.readWithDefault(n,_,t[i]&&r);return"text"===t.type&&(s=s.toString()),void(t[i]=s)}if("type"in t&&null!=t.type){if(t.effects)for(const a of t.effects)h(a,s,i,e,n,_,r);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const a of t.symbolLayers)h(a,s,i,e,n,_,r);break;case"CIMTextSymbol":t.symbol&&h(t.symbol,s,i,e,n,_,r);break;case"CIMHatchFill":t.lineSymbol&&h(t.lineSymbol,s,i,e,n,_,r);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&h(t.markerPlacement,s,i,e,n,_,r),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const a of t.markerGraphics)h(a,s,i,e,n,_,r),h(a.symbol,s,i,e,n,_,r)}}}const _=400;function r(t){const s=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?_:s}},63907:(t,s,i)=>{i.d(s,{$0:()=>x,CQ:()=>p,Fq:()=>c,H0:()=>h,SB:()=>a,WR:()=>e,XN:()=>_,iE:()=>r,ld:()=>o,nI:()=>m,pe:()=>n,r6:()=>u,vt:()=>l,yI:()=>y});const e={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},h={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},_=Object.values(h),r={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},a={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},o={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},l={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},x=0,u=36064,y=36065,c=36066,m=33306,p={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},68572:(t,s,i)=>{i.d(s,{H:()=>_,q:()=>r}),i(44208);var e=i(23304),n=i(63907);function h(t){switch(t){case n.pe.BYTE:case n.pe.UNSIGNED_BYTE:return 1;case n.pe.SHORT:case n.pe.UNSIGNED_SHORT:case n.pe.HALF_FLOAT:return 2;case n.pe.FLOAT:case n.pe.INT:case n.pe.UNSIGNED_INT:return 4}}function _(t){const s=[],i=[],e=[];for(const n of t){const t=h(n.type)*n.count;switch(t%2||t%4||4){case 4:s.push(n);continue;case 2:i.push(n);continue;case 1:e.push(n);continue;default:throw new Error("Found unexpected dataType byte count")}}return s.push(...i),s.push(...e),s}class r{static fromVertexSpec(t,s){const{attributes:i,optionalAttributes:e}=t;let n,a,o;const l=[];for(const t in i){if(i[t].otherSource)continue;const s=i[t];"position"===s.pack?n={...s,name:t,offset:0}:"id"===s.pack?a={...s,name:t,offset:4}:"bitset"===t?o={...s,name:t,offset:7}:l.push({...s,name:t})}for(const t in e)if(!0===s[t]){const s=e[t];l.push({...s,name:t})}const x=_(l),u=[];let y=8,c=1;for(const t of x)u.push({...t,offset:y}),y+=h(t.type)*t.count,t.packAlternating&&(c=Math.max(t.packAlternating.count,c));const m=Uint32Array.BYTES_PER_ELEMENT,p=y%m;return new r(n,a,o,u,y+(p?m-p:0),c)}constructor(t,s,i,e,n,h){this.position=t,this.id=s,this.bitset=i,this.standardAttributes=e,this.stride=n,this.packVertexCount=h,e.push(i),this._attributes=[t,s,i,...e]}get attributeLayout(){if(!this._attributeLayout){const t=(0,e.hU)(this._attributes),s=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:s,hash:t,stride:this.stride}}return this._attributeLayout}}},76213:(t,s,i)=>{i.d(s,{C2:()=>_,CQ:()=>e,DY:()=>n,GR:()=>m,Gh:()=>a,MZ:()=>u,TB:()=>c,U5:()=>r,_M:()=>o,cp:()=>p,eG:()=>h,fq:()=>y,hM:()=>x,ie:()=>l});const e=512,n=29,h=24,_=4,r=6,a=1.05,o=3,l=3,x=4,u=1,y=10,c=256,m=32,p=512},89518:(t,s,i)=>{i.d(s,{M9:()=>_,Ss:()=>r,fw:()=>o,ws:()=>a});const e=new Float32Array(1),n=new Uint32Array(e.buffer);function h(t){return e[0]=t,n[0]}function _(t,s){return 65535&t|s<<16}function r(t,s,i,e){return 255&t|(255&s)<<8|(255&i)<<16|e<<24}function a(t,s){return 255&t|(255&s)<<8}function o(t){const s=h(t),i=s>>>31;let e=s>>>23&255,n=8388607&s;return e-=127,e>15?i<<15|31744:e<-25?0:(e<-14&&(n+=8388608,n/=2**(-14-e),e=-15),e+=15,n/=8192,n=function(t){const s=Math.floor(t),i=t-s;return s<1023&&(i>.5||.5===i&&s%2==1)?s+1:s}(n),i<<15|e<<10|n)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1698,5841],{21015:(e,t,r)=>{r.d(t,{R:()=>u});var n=r(11254),o=r(60999),s=r(49186),a=r(74887),i=r(84952);class u{constructor(e=e=>e){this._resolveURI=e}async loadJSON(e,t){return this._load("json",e,t)}async loadBinary(e,t){return(0,i.DB)(e)?((0,a.Te)(t),(0,i.lJ)(e)):this._load("array-buffer",e,t)}async loadImage(e,t){return this._load("image",e,t)}async _load(e,t,r){t=this._resolveURI(t);const i=await(0,o.Ke)((0,n.A)(t,{responseType:e,...r}));if(i.ok)return i.value.data;throw(0,a.QP)(i.error),new s.A("gltf-loader-request-error",`Request for resource failed: ${i.error}`)}}},24045:(e,t,r)=>{function n(e,t){const r=e.count;t||(t=new e.TypedArrayConstructor(r));for(let n=0;n<r;n++)t[n]=e.get(n);return t}r.d(t,{m:()=>n}),Object.freeze(Object.defineProperty({__proto__:null,makeDense:n},Symbol.toStringTag,{value:"Module"}))},35841:(e,t,r)=>{r.r(t),r.d(t,{loadGLTFMesh:()=>G});var n=r(68197),o=r(40876),s=r(49186),a=r(91869),i=r(34727),u=r(77690),l=r(29242),c=r(51850),f=r(91829),d=r(16939),p=r(80882),m=r(35063),h=r(51147),T=r(1193),_=r(27615),g=r(13030),y=r(73354),w=r(65686),x=r(90239);Object.freeze(Object.defineProperty({__proto__:null,copy:function(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,a=t.typedBufferStride,i=r?r.count:t.count;let u=(r?.dstIndex??0)*o,l=(r?.srcIndex??0)*a;for(let e=0;e<i;++e){for(let e=0;e<9;++e)n[u+e]=s[l+e];u+=o,l+=a}}},Symbol.toStringTag,{value:"Module"})),Object.freeze(Object.defineProperty({__proto__:null,copy:function(e,t,r){const n=e.typedBuffer,o=e.typedBufferStride,s=t.typedBuffer,a=t.typedBufferStride,i=r?r.count:t.count;let u=(r?.dstIndex??0)*o,l=(r?.srcIndex??0)*a;for(let e=0;e<i;++e){for(let e=0;e<16;++e)n[u+e]=s[l+e];u+=o,l+=a}}},Symbol.toStringTag,{value:"Module"})),r(24045);var b=r(43609);function S(e,t,r=3,n=r){const o=t.length/n;let s=0,a=0;for(let i=0;i<o;++i)e[s]=t[a],e[s+1]=t[a+1],e[s+2]=t[a+2],s+=r,a+=n}function R(e,t,r,n,o){const s=e.typedBuffer,a=e.typedBufferStride,i=o?.count??e.count;let u=(o?.dstIndex??0)*a;for(let e=0;e<i;++e)s[u]=t,s[u+1]=r,s[u+2]=n,u+=a}function A(e,t,r=4){const n=t.typedBuffer,o=t.typedBufferStride,s=t.count;let a=0,i=0;for(let t=0;t<s;++t)e[a]=n[i],e[a+1]=n[i+1],e[a+2]=n[i+2],e[a+3]=n[i+3],a+=r,i+=o}function E(e,t,r,n,o,s){const a=e.typedBuffer,i=e.typedBufferStride,u=s?.count??e.count;let l=(s?.dstIndex??0)*i;for(let e=0;e<u;++e)a[l]=t,a[l+1]=r,a[l+2]=n,a[l+3]=o,l+=i}function O(e,t){return new e(new ArrayBuffer(t*e.ElementCount*(0,x.GJ)(e.ElementType)))}Object.freeze(Object.defineProperty({__proto__:null,copy:S,copyView:function(e,t){S(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)},fill:R},Symbol.toStringTag,{value:"Module"})),Object.freeze(Object.defineProperty({__proto__:null,copy:A,copyView:function(e,t){A(e.typedBuffer,t,e.typedBufferStride)},fill:E},Symbol.toStringTag,{value:"Module"}));var N=r(72258),v=r(21015),I=r(51698),C=r(84498),B=r(51530);async function G(e,t,r){const o=new v.R(r?.resolveFile),u=await(0,I.loadGLTF)(o,t,r),l=u.model,d=l.lods.shift(),y=new Map,w=new Map;l.textures.forEach((e,t)=>y.set(t,function(e){return new m.A({data:((0,B.x3)(e.data),e.data),wrap:F(e.parameters.wrap)})}(e))),l.materials.forEach((e,t)=>w.set(t,function(e,t){const r=new n.A(function(e,t){return(0,f.fA)(H(e[0]),H(e[1]),H(e[2]),t)}(e.color,e.opacity)),o=e.emissiveFactor?new n.A(function(e){return(0,c.fA)(H(e[0]),H(e[1]),H(e[2]))}(e.emissiveFactor)):null,s=e=>e?new h.A({scale:e.scale?[e.scale[0],e.scale[1]]:[1,1],rotation:(0,i.KJ)(e.rotation??0),offset:e.offset?[e.offset[0],e.offset[1]]:[0,0]}):null;return new p.A({color:r,colorTexture:t.get(e.colorTexture),normalTexture:t.get(e.normalTexture),emissiveColor:o,emissiveStrength:e.emissiveStrengthKHR,emissiveTexture:t.get(e.emissiveTexture),occlusionTexture:t.get(e.occlusionTexture),alphaMode:D(e.alphaMode),alphaCutoff:e.alphaCutoff,doubleSided:e.doubleSided,metallic:e.metallicFactor,roughness:e.roughnessFactor,metallicRoughnessTexture:t.get(e.metallicRoughnessTexture),colorTextureTransform:s(e.colorTextureTransform),normalTextureTransform:s(e.normalTextureTransform),occlusionTextureTransform:s(e.occlusionTextureTransform),emissiveTextureTransform:s(e.emissiveTextureTransform),metallicRoughnessTextureTransform:s(e.metallicRoughnessTextureTransform)})}(e,y)));const x=function(e){let t=0;const r={color:!1,tangent:!1,normal:!1,texCoord0:!1},n=new Map,o=new Map,s=[];for(const i of e.parts){const{position:e,normal:u,color:l,tangent:c,texCoord0:f}=i.attributes,d=`\n ${L(e,n)}/\n ${L(u,n)}/\n ${L(l,n)}/\n ${L(c,n)}/\n ${L(f,n)}/\n ${M(i.transform)}\n `;let p=!1;const m=(0,a.tE)(o,d,()=>(p=!0,{start:t,length:e.count}));p&&(t+=e.count),u&&(r.normal=!0),l&&(r.color=!0),c&&(r.tangent=!0),f&&(r.texCoord0=!0),s.push({gltf:i,writeVertices:p,region:m})}return{vertexAttributes:{position:O(g.Xm,t),normal:r.normal?O(g.xs,t):null,tangent:r.tangent?O(g.Eq,t):null,color:r.color?O(g.XP,t):null,texCoord0:r.texCoord0?O(g.gH,t):null},parts:s,components:[]}}(d);for(const e of x.parts)U(x,e,w);const{position:b,normal:S,tangent:R,color:A,texCoord0:E}=x.vertexAttributes,C=(0,_.TE)(e,r),G=e.spatialReference.isGeographic?(0,_.TE)(e):C,P=(0,N.UR)({vertexAttributes:{position:b.typedBuffer,normal:S?.typedBuffer,tangent:R?.typedBuffer},vertexSpace:G,spatialReference:e.spatialReference},C,{allowBufferReuse:!0,sourceUnit:r?.unitConversionDisabled?void 0:"meters"});if(!P)throw new s.A("load-gltf-mesh:vertex-space-projection",`Failed to load mesh from glTF because we could not convert the vertex space from ${G.type} to ${C.type}`);return{mesh:{transform:null,vertexSpace:C,components:x.components,spatialReference:e.spatialReference,vertexAttributes:new T.A({...P,color:A?.typedBuffer,uv:E?.typedBuffer})},meta:u.meta}}function L(e,t){if(null==e)return"-";const r=e.typedBuffer;return`${(0,a.tE)(t,r.buffer,()=>t.size)}/${r.byteOffset}/${r.byteLength}`}function M(e){return null!=e?e.toString():"-"}function U(e,t,r){t.writeVertices&&function(e,t){const{position:r,normal:n,tangent:o,color:s,texCoord0:a}=e.vertexAttributes,c=t.region.start,{attributes:f,transform:d}=t.gltf,p=f.position.count;if((0,y.d)(r.slice(c,p),f.position,d),null!=f.normal&&null!=n){const e=(0,u.Ge)((0,l.vt)(),d),t=n.slice(c,p);(0,y.c)(t,f.normal,e),(0,i.or)(e)&&(0,y.e)(t,t)}else null!=n&&R(n,0,0,1,{dstIndex:c,count:p});if(null!=f.tangent&&null!=o){const e=(0,u.z0)((0,l.vt)(),d),t=o.slice(c,p);(0,w.a)(t,f.tangent,e),(0,i.or)(e)&&(0,w.n)(t,t)}else null!=o&&E(o,0,0,1,1,{dstIndex:c,count:p});if(null!=f.texCoord0&&null!=a?(0,b.n)(a.slice(c,p),f.texCoord0):null!=a&&(0,b.f)(a,0,0,{dstIndex:c,count:p}),null!=f.color&&null!=s){const e=f.color,t=s.slice(c,p);if(4===e.elementCount)e instanceof g.Eq?(0,w.l)(t,e,1,255):(e instanceof g.XP||e instanceof g.Uz)&&(0,w.l)(t,e,1/255,255);else{E(t,255,255,255,255);const r=g.eI.fromTypedArray(t.typedBuffer,t.typedBufferStride);e instanceof g.xs?(0,y.l)(r,e,1,255):(e instanceof g.eI||e instanceof g.nS)&&(0,y.l)(r,e,1/255,255)}}else null!=s&&E(s.slice(c,p),255,255,255,255)}(e,t);const{indices:n,attributes:o,primitiveType:s,material:a}=t.gltf;let c=(0,C.x)(n||o.position.count,s);const f=t.region.start;if(f){const e=new Uint32Array(c);for(let t=0;t<c.length;t++)e[t]+=f;c=e}e.components.push(new d.A({name:t.gltf.name,faces:c,material:r.get(a),shading:o.normal?"source":"flat",trustSourceNormals:!0}))}function D(e){switch(e){case"OPAQUE":return"opaque";case"MASK":return"mask";case"BLEND":return"blend"}}function F(e){return{horizontal:P(e.s),vertical:P(e.t)}}function P(e){switch(e){case 33071:return"clamp";case 33648:return"mirror";case 10497:return"repeat"}}function H(e){return e**(1/o.Tf)*255}},43609:(e,t,r)=>{r.d(t,{a:()=>s,f:()=>a,n:()=>o});var n=r(34275);function o(e,t){s(e.typedBuffer,t.typedBuffer,e.typedBufferStride,t.typedBufferStride)}function s(e,t,r=2,o=r){const s=t.length/2;let a=0,i=0;if(!(0,n.iu)(t)||(0,n.dk)(t)){for(let n=0;n<s;++n)e[a]=t[i],e[a+1]=t[i+1],a+=r,i+=o;return}const u=(0,n.a3)(t);if((0,n.JI)(t))for(let n=0;n<s;++n)e[a]=Math.max(t[i]/u,-1),e[a+1]=Math.max(t[i+1]/u,-1),a+=r,i+=o;else for(let n=0;n<s;++n)e[a]=t[i]/u,e[a+1]=t[i+1]/u,a+=r,i+=o}function a(e,t,r,n){const o=e.typedBuffer,s=e.typedBufferStride,a=n?.count??e.count;let i=(n?.dstIndex??0)*s;for(let e=0;e<a;++e)o[i]=t,o[i+1]=r,i+=s}Object.freeze(Object.defineProperty({__proto__:null,fill:a,normalizeIntegerBuffer:s,normalizeIntegerBufferView:o},Symbol.toStringTag,{value:"Module"}))},46140:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(49186);let o=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[o,s]=t.split("."),a=/^\s*\d+\s*$/;if(!o?.match||!a.test(o))throw new n.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!a.test(s))throw new n.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const i=parseInt(o,10),u=parseInt(s,10);return new e(i,u,r)}}},51530:(e,t,r)=>{r.d(t,{KB:()=>a,Xi:()=>o,pn:()=>i,x3:()=>s});var n=r(44208);class o{constructor(e){this.data=e,this.type="encoded-mesh-texture",this.encoding="image/ktx2"}}function s(e){return"encoded-mesh-texture"===e?.type}async function a(e){const t=new Blob([e]),r=await t.text();return JSON.parse(r)}async function i(e,t){if("image/ktx2"===t)return new o(e);const r=new Blob([e],{type:t});let s=URL.createObjectURL(r);switch(t){case"image/jpeg":s+="#.jpg";break;case"image/png":s+="#.png"}const a=new Image;if((0,n.A)("esri-iPhone"))return new Promise((e,t)=>{const r=()=>{o(),e(a)},n=e=>{o(),t(e)},o=()=>{URL.revokeObjectURL(s),a.removeEventListener("load",r),a.removeEventListener("error",n)};a.addEventListener("load",r),a.addEventListener("error",n),a.src=s});try{a.src=s,await a.decode()}catch(e){console.warn("Failed decoding HTMLImageElement")}return URL.revokeObjectURL(s),a}},51698:(e,t,r)=>{r.d(t,{loadGLTF:()=>P});var n=r(53966),o=r(93637),s=r(9093),a=r(49186),i=r(91869),u=r(74887),l=r(84952),c=r(46140),f=r(58083),d=r(67026),p=r(82534),m=r(13030),h=r(24045),T=r(2741);let _;function g(){return _??=(async()=>{const{default:e}=await r.e(2423).then(r.bind(r,2423));return await e({locateFile:e=>(0,T.s)(`esri/libs/dracoMeshDecoder/${e}`)})})(),_}class y{constructor(e){this._data=e,this._offset4=0,this._dataUint32=new Uint32Array(this._data,0,Math.floor(this._data.byteLength/4))}readUint32(){const e=this._offset4;return this._offset4+=1,this._dataUint32[e]}readUint8Array(e){const t=4*this._offset4;return this._offset4+=e/4,new Uint8Array(this._data,t,e)}remainingBytes(){return this._data.byteLength-4*this._offset4}}const w={baseColorFactor:[1,1,1,1],metallicFactor:1,roughnessFactor:1},x={pbrMetallicRoughness:w,emissiveFactor:[0,0,0],alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1},b={ESRI_externalColorMixMode:"tint",ESRI_receiveShadows:!0,ESRI_receiveAmbientOcclusion:!0},S=(e={})=>{const t={...w,...e.pbrMetallicRoughness},r=function(e){switch(e.ESRI_externalColorMixMode){case"multiply":case"tint":case"ignore":case"replace":break;default:e.ESRI_externalColorMixMode,e.ESRI_externalColorMixMode="tint"}return e}({...b,...e.extras});return{...x,...e,pbrMetallicRoughness:t,extras:r}},R={magFilter:9729,minFilter:9987,wrapS:10497,wrapT:10497};var A=r(51530),E=r(63907);const O=1179937895;class N{constructor(e,t,r,n){if(this._context=e,this.uri=t,this.json=r,this._glbBuffer=n,this._bufferLoaders=new Map,this._textureLoaders=new Map,this._dracoBuffersSize=0,this._textureCache=new Map,this._materialCache=new Map,this._nodeParentMap=new Map,this._nodeTransformCache=new Map,this._supportedExtensions=["KHR_texture_basisu","KHR_texture_transform","KHR_draco_mesh_compression","KHR_materials_emissive_strength"],this._baseUri=function(e){let t,r;return e.replace(/^(.*\/)?([^/]*)$/,(e,n,o)=>(t=n||"",r=o||"","")),{dirPart:t,filePart:r}}(this.uri).dirPart,this._checkVersionSupported(),this._checkRequiredExtensionsSupported(),null==r.scenes)throw new a.A("gltf-loader-unsupported-feature","Scenes must be defined.");if(null==r.meshes)throw new a.A("gltf-loader-unsupported-feature","Meshes must be defined");if(null==r.nodes)throw new a.A("gltf-loader-unsupported-feature","Nodes must be defined.");this._computeNodeParents()}static async load(e,t,r){if((0,l.DB)(t)){const r=(0,l.r$)(t);if(r&&"model/gltf-binary"!==r.mediaType)try{const n=JSON.parse(r.isBase64?atob(r.data):r.data);return new N(e,t,n)}catch{}const n=(0,l.lJ)(t);if(N._isGLBData(n))return this._fromGLBData(e,t,n)}if(U.test(t)||"gltf"===r?.expectedType){const n=await e.loadJSON(t,r);return new N(e,t,n)}const n=await e.loadBinary(t,r);if(N._isGLBData(n))return this._fromGLBData(e,t,n);if(D.test(t)||"glb"===r?.expectedType)throw new a.A("gltf-loader-invalid-glb","This is not a valid glb file.");const o=await e.loadJSON(t,r);return new N(e,t,o)}static _isGLBData(e){if(null==e)return!1;const t=new y(e);return t.remainingBytes()>=4&&t.readUint32()===O}static async _fromGLBData(e,t,r){const n=await N._parseGLBData(r);return new N(e,t,n.json,n.binaryData)}static async _parseGLBData(e){const t=new y(e);if(t.remainingBytes()<12)throw new a.A("gltf-loader-error","glb binary data is insufficiently large.");const r=t.readUint32(),o=t.readUint32(),s=t.readUint32();if(r!==O)throw new a.A("gltf-loader-error","Magic first 4 bytes do not fit to expected glb value.");if(e.byteLength<s)throw new a.A("gltf-loader-error","glb binary data is smaller than header specifies.");if(2!==o)throw new a.A("gltf-loader-unsupported-feature","An unsupported glb container version was detected. Only version 2 is supported.");let i,u,l=0;for(;t.remainingBytes()>=8;){const e=t.readUint32(),r=t.readUint32();if(0===l){if(1313821514!==r)throw new a.A("gltf-loader-error","First glb chunk must be JSON.");if(e<0)throw new a.A("gltf-loader-error","No JSON data found.");i=await(0,A.KB)(t.readUint8Array(e))}else if(1===l){if(5130562!==r)throw new a.A("gltf-loader-unsupported-feature","Second glb chunk expected to be BIN.");u=t.readUint8Array(e)}else n.A.getLogger("esri.views.3d.glTF").warn("[Unsupported Feature] More than 2 glb chunks detected. Skipping.");l+=1}if(!i)throw new a.A("gltf-loader-error","No glb JSON chunk detected.");return{json:i,binaryData:u}}async getBuffer(e,t){const r=this.json.buffers[e];if(null==r.uri){if(null==this._glbBuffer)throw new a.A("gltf-loader-error","glb buffer not present");return this._glbBuffer}const n=await this._getBufferLoader(e,t);if(n.byteLength!==r.byteLength)throw new a.A("gltf-loader-error","Buffer byte lengths should match.");return n}async _getBufferLoader(e,t){const r=this._bufferLoaders.get(e);if(r)return r;const n=this.json.buffers[e].uri,o=this._context.loadBinary(this._resolveUri(n),t).then(e=>new Uint8Array(e));return this._bufferLoaders.set(e,o),o}_validateAccessor(e){if(!this.json.accessors)throw new a.A("gltf-loader-unsupported-feature","Accessors missing.");const t=this.json.accessors[e];if(t.type in["MAT2","MAT3","MAT4"])throw new a.A("gltf-loader-unsupported-feature",`AttributeType ${t.type} is not supported`);return t}_getComponentInfo(e,t){const r=B[e.type],n=t?.componentType||e.componentType,o=G[n];return{componentType:n,componentCount:r,componentByteSize:o,denseByteStride:r*o}}getDracoAccessor(e,t){const r=this._validateAccessor(e),n=t.accessorInfos.get(e),{componentType:o,componentCount:s,componentByteSize:a,denseByteStride:i}=this._getComponentInfo(r,n);return{raw:t.data.buffer,byteStride:i,byteOffset:t.data.byteOffset+(n?.byteOffset||0),entryCount:n?.count??r.count,isDenselyPacked:!0,componentCount:s,componentByteSize:a,componentType:o,min:r.min,max:r.max,normalized:!!r.normalized}}async getAccessor(e,t){const r=this._validateAccessor(e);if(null==r?.bufferView)throw new a.A("gltf-loader-unsupported-feature","Some accessor does not specify a bufferView.");const{componentCount:n,componentByteSize:o,denseByteStride:s}=this._getComponentInfo(r),i=this.json.bufferViews[r.bufferView],u=await this.getBuffer(i.buffer,t),l=i.byteStride||s;return{raw:u.buffer,byteStride:l,byteOffset:u.byteOffset+(i.byteOffset||0)+(r.byteOffset||0),entryCount:r.count,isDenselyPacked:l===s,componentCount:n,componentByteSize:o,componentType:r.componentType,min:r.min,max:r.max,normalized:!!r.normalized}}async getIndexData(e,t,r){if(null==e.indices)return;const n=e.indices,o=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(o.isDenselyPacked)switch(o.componentType){case E.pe.UNSIGNED_BYTE:return new Uint8Array(o.raw,o.byteOffset,o.entryCount);case E.pe.UNSIGNED_SHORT:return new Uint16Array(o.raw,o.byteOffset,o.entryCount);case E.pe.UNSIGNED_INT:return new Uint32Array(o.raw,o.byteOffset,o.entryCount)}else switch(o.componentType){case E.pe.UNSIGNED_BYTE:return(0,h.m)(L(m.SL,o));case E.pe.UNSIGNED_SHORT:return(0,h.m)(L(m.h,o));case E.pe.UNSIGNED_INT:return(0,h.m)(L(m.P,o))}}async getPositionData(e,t,r){if(null==e.attributes.POSITION)throw new a.A("gltf-loader-unsupported-feature","No POSITION vertex data found.");const n=e.attributes.POSITION,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(s.componentType!==E.pe.FLOAT)throw new a.A("gltf-loader-unsupported-feature","Expected type FLOAT for POSITION vertex attribute, but found "+(0,o.i7)(E.pe,s.componentType));if(3!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","POSITION vertex attribute must have 3 components, but found "+s.componentCount.toFixed());return L(m.xs,s)}async getNormalData(e,t,r){if(null==e.attributes.NORMAL)throw new a.A("gltf-loader-error","No NORMAL vertex data found.");const n=e.attributes.NORMAL,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(s.componentType!==E.pe.FLOAT)throw new a.A("gltf-loader-unsupported-feature","Expected type FLOAT for NORMAL vertex attribute, but found "+(0,o.i7)(E.pe,s.componentType));if(3!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","NORMAL vertex attribute must have 3 components, but found "+s.componentCount.toFixed());return L(m.xs,s)}async getTangentData(e,t,r){if(null==e.attributes.TANGENT)throw new a.A("gltf-loader-error","No TANGENT vertex data found.");const n=e.attributes.TANGENT,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(s.componentType!==E.pe.FLOAT)throw new a.A("gltf-loader-unsupported-feature","Expected type FLOAT for TANGENT vertex attribute, but found "+(0,o.i7)(E.pe,s.componentType));if(4!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","TANGENT vertex attribute must have 4 components, but found "+s.componentCount.toFixed());return L(m.Eq,s)}async getTextureCoordinates(e,t,r){if(null==e.attributes.TEXCOORD_0)throw new a.A("gltf-loader-error","No TEXCOORD_0 vertex data found.");const n=e.attributes.TEXCOORD_0,o=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(2!==o.componentCount)throw new a.A("gltf-loader-unsupported-feature","TEXCOORD_0 vertex attribute must have 2 components, but found "+o.componentCount.toFixed());if(o.componentType===E.pe.FLOAT)return L(m.gH,o);if(!o.normalized)throw new a.A("gltf-loader-unsupported-feature","Integer component types are only supported for a normalized accessor for TEXCOORD_0.");return function(e){switch(e.componentType){case E.pe.BYTE:return new m.D6(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case E.pe.UNSIGNED_BYTE:return new m.LC(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case E.pe.SHORT:return new m.mJ(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case E.pe.UNSIGNED_SHORT:return new m.Yi(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case E.pe.UNSIGNED_INT:return new m.An(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount);case E.pe.FLOAT:return new m.gH(e.raw,e.byteOffset,e.byteStride,e.byteOffset+e.byteStride*e.entryCount)}}(o)}async getVertexColors(e,t,r){if(null==e.attributes.COLOR_0)throw new a.A("gltf-loader-error","No COLOR_0 vertex data found.");const n=e.attributes.COLOR_0,s=r?this.getDracoAccessor(n,r):await this.getAccessor(n,t);if(4!==s.componentCount&&3!==s.componentCount)throw new a.A("gltf-loader-unsupported-feature","COLOR_0 attribute must have 3 or 4 components, but found "+s.componentCount.toFixed());if(4===s.componentCount){if(s.componentType===E.pe.FLOAT)return L(m.Eq,s);if(s.componentType===E.pe.UNSIGNED_BYTE)return L(m.XP,s);if(s.componentType===E.pe.UNSIGNED_SHORT)return L(m.Uz,s)}else if(3===s.componentCount){if(s.componentType===E.pe.FLOAT)return L(m.xs,s);if(s.componentType===E.pe.UNSIGNED_BYTE)return L(m.eI,s);if(s.componentType===E.pe.UNSIGNED_SHORT)return L(m.nS,s)}throw new a.A("gltf-loader-unsupported-feature","Unsupported component type for COLOR_0 attribute: "+(0,o.i7)(E.pe,s.componentType))}hasPositions(e){return void 0!==e.attributes.POSITION}hasNormals(e){return void 0!==e.attributes.NORMAL}hasVertexColors(e){return void 0!==e.attributes.COLOR_0}hasTextureCoordinates(e){return void 0!==e.attributes.TEXCOORD_0}hasTangents(e){return void 0!==e.attributes.TANGENT}async getMaterial(e,t,r,n){let o=e.material?this._materialCache.get(e.material):void 0;if(!o){const s=null!=e.material?S(this.json.materials[e.material]):S(),a=s.pbrMetallicRoughness,i=this.hasVertexColors(e),u=this.getTexture(a.baseColorTexture,t),l=this.getTexture(s.normalTexture,t),c=r?this.getTexture(s.occlusionTexture,t):void 0,f=n?this.getTexture(s.emissiveTexture,t):void 0,d=r?this.getTexture(a.metallicRoughnessTexture,t):void 0,p=null!=e.material?e.material:-1;o={alphaMode:s.alphaMode,alphaCutoff:s.alphaCutoff,color:a.baseColorFactor,doubleSided:!!s.doubleSided,colorTexture:await u,normalTexture:await l,name:s.name,id:p,occlusionTexture:await c,emissiveTexture:await f,emissiveFactor:s.emissiveFactor,emissiveStrengthKHR:s.extensions?.KHR_materials_emissive_strength?.emissiveStrength,metallicFactor:a.metallicFactor,roughnessFactor:a.roughnessFactor,metallicRoughnessTexture:await d,hasVertexColors:i,ESRI_externalColorMixMode:s.extras.ESRI_externalColorMixMode,colorTextureTransform:a?.baseColorTexture?.extensions?.KHR_texture_transform,normalTextureTransform:s.normalTexture?.extensions?.KHR_texture_transform,occlusionTextureTransform:s.occlusionTexture?.extensions?.KHR_texture_transform,emissiveTextureTransform:s.emissiveTexture?.extensions?.KHR_texture_transform,metallicRoughnessTextureTransform:a?.metallicRoughnessTexture?.extensions?.KHR_texture_transform,receiveAmbientOcclusion:s.extras.ESRI_receiveAmbientOcclusion,receiveShadows:s.extras.ESRI_receiveShadows}}return o}async decode(e,t){const r=e.extensions?.KHR_draco_mesh_compression;if(!r)return;if(null==e.indices)throw new a.A("gltf-loader-error","Found Draco compressed primitive without indices.");const n=this.json.bufferViews[r.bufferView],o=await this.getBuffer(n.buffer,t),s=(await g()).decode(new Uint8Array(o.buffer,o.byteOffset+(n.byteOffset||0),n.byteLength));this._bufferLoaders.delete(n.buffer);const i=new Map([[e.indices,s.indices],[e.attributes.POSITION,s.positions]]);return e.attributes.TEXCOORD_0&&i.set(e.attributes.TEXCOORD_0,s.uvs),e.attributes.NORMAL&&i.set(e.attributes.NORMAL,s.normals),e.attributes.COLOR_0&&i.set(e.attributes.COLOR_0,s.colors),e.attributes.TANGENT&&i.set(e.attributes.TANGENT,s.tangents),this._dracoBuffersSize+=s.buffer.byteLength,{data:s.buffer,accessorInfos:i}}async getTexture(e,t){if(!e)return;if(0!==(e.texCoord||0))throw new a.A("gltf-loader-unsupported-feature","Only TEXCOORD with index 0 is supported.");const r=e.index,n=this.json.textures[r],o=(e=>({...R,...e}))(null!=n.sampler?this.json.samplers[n.sampler]:{}),s=M(n),u=this.json.images[s],l=await this._loadTextureImageData(r,n,t);return(0,i.tE)(this._textureCache,r,()=>{const e=e=>33071===e||33648===e||10497===e,t=e=>{throw new a.A("gltf-loader-error",`Unexpected TextureSampler WrapMode: ${e}`)};return{data:l,wrapS:e(o.wrapS)?o.wrapS:t(o.wrapS),wrapT:e(o.wrapT)?o.wrapT:t(o.wrapT),minFilter:o.minFilter,name:u.name,id:r}})}getNodeTransform(e){if(void 0===e)return v;let t=this._nodeTransformCache.get(e);if(!t){const r=this.getNodeTransform(this._getNodeParent(e)),n=this.json.nodes[e];n.matrix?t=(0,f.lw)((0,s.vt)(),r,n.matrix):n.translation||n.rotation||n.scale?(t=(0,s.o8)(r),n.translation&&(0,f.Tl)(t,t,n.translation),n.rotation&&(C[3]=(0,d.Xd)(C,n.rotation),(0,f.e$)(t,t,C[3],C)),n.scale&&(0,f.hs)(t,t,n.scale)):t=(0,s.o8)(r),this._nodeTransformCache.set(e,t)}return t}_resolveUri(e){return(0,l.s2)(e,this._baseUri)}_getNodeParent(e){return this._nodeParentMap.get(e)}_checkVersionSupported(){const e=c.A.parse(this.json.asset.version,"glTF");I.validate(e)}_checkRequiredExtensionsSupported(){const e=this.json;if(e.extensionsRequired&&!e.extensionsRequired.every(e=>this._supportedExtensions.includes(e)))throw new a.A("gltf-loader-unsupported-feature","gltf loader was not able to load unsupported feature. Required extensions: "+e.extensionsRequired.join(", "))}_computeNodeParents(){this.json.nodes.forEach((e,t)=>{e.children&&e.children.forEach(e=>{this._nodeParentMap.set(e,t)})})}async _loadTextureImageData(e,t,r){const n=this._textureLoaders.get(e);if(n)return n;const o=this._createTextureLoader(t,r);return this._textureLoaders.set(e,o),o}async _createTextureLoader(e,t){const r=M(e),n=this.json.images[r];if(n.uri){if(n.uri.endsWith(".ktx2")){const e=await this._context.loadBinary(this._resolveUri(n.uri),t);return new A.Xi(new Uint8Array(e))}return this._context.loadImage(this._resolveUri(n.uri),t)}if(null==n.bufferView)throw new a.A("gltf-loader-unsupported-feature","Image bufferView must be defined.");if(null==n.mimeType)throw new a.A("gltf-loader-unsupported-feature","Image mimeType must be defined.");const o=this.json.bufferViews[n.bufferView],s=await this.getBuffer(o.buffer,t);if(null!=o.byteStride)throw new a.A("gltf-loader-unsupported-feature","byteStride not supported for image buffer");const i=s.byteOffset+(o.byteOffset||0);return(0,A.pn)(new Uint8Array(s.buffer,i,o.byteLength),n.mimeType)}async getLoadedBuffersSize(){if(this._glbBuffer)return this._glbBuffer.byteLength;const e=await(0,u.nA)(Array.from(this._bufferLoaders.values())),t=await(0,u.nA)(Array.from(this._textureLoaders.values()));return e.reduce((e,t)=>e+(t?.byteLength??0),0)+this._dracoBuffersSize+t.reduce((e,t)=>e+(t?(0,A.x3)(t)?t.data.byteLength:t.width*t.height*4:0),0)}}const v=(0,f.hM)((0,s.vt)(),Math.PI/2),I=new c.A(2,0,"glTF"),C=(0,p.vt)(),B={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},G={[E.pe.BYTE]:1,[E.pe.UNSIGNED_BYTE]:1,[E.pe.SHORT]:2,[E.pe.UNSIGNED_SHORT]:2,[E.pe.HALF_FLOAT]:2,[E.pe.FLOAT]:4,[E.pe.INT]:4,[E.pe.UNSIGNED_INT]:4};function L(e,t){return new e(t.raw,t.byteOffset,t.byteStride,t.byteOffset+t.byteStride*(t.entryCount-1)+t.componentByteSize*t.componentCount)}function M(e){if(null!=e.extensions?.KHR_texture_basisu)return e.extensions.KHR_texture_basisu.source;if(null!==e.source)return e.source;throw new a.A("gltf-loader-unsupported-feature","Source is expected to be defined for a texture. It can also be omitted in favour of an KHR_texture_basisu extension tag.")}const U=/\.gltf$/i,D=/\.glb$/i;let F=0;async function P(e,t,r={},a=!0,i=!0){const u=await N.load(e,t,r),l="gltf_"+F++,c={lods:[],materials:new Map,textures:new Map,meta:H(u)},f=!(!u.json.asset.extras||"symbolResource"!==u.json.asset.extras.ESRI_type),d=u.json.asset.extras?.ESRI_webstyleSymbol?.webstyle,p=new Map;let m=!1;await j(u,async(e,t,f,d)=>{const h=p.get(f)??0;p.set(f,h+1);const T=void 0!==e.mode?e.mode:E.WR.TRIANGLES,_=T===E.WR.TRIANGLES||T===E.WR.TRIANGLE_STRIP||T===E.WR.TRIANGLE_FAN?T:null;if(null==_)return void n.A.getLogger("esri.views.3d.glTF").warn("[Unsupported Feature] Unsupported primitive mode ("+(0,o.i7)(E.WR,T)+"). Skipping primitive.");if(!u.hasPositions(e))return void n.A.getLogger("esri.views.3d.glTF").warn("Skipping primitive without POSITION vertex attribute.");const g=await u.decode(e,r);m||=!!g;const y=u.getPositionData(e,r,g),w=u.getMaterial(e,r,a,i),x=u.hasNormals(e)?u.getNormalData(e,r,g):null,b=u.hasTangents(e)?u.getTangentData(e,r,g):null,S=u.hasTextureCoordinates(e)?u.getTextureCoordinates(e,r,g):null,R=u.hasVertexColors(e)?u.getVertexColors(e,r,g):null,A=u.getIndexData(e,r,g),O={name:d,transform:(0,s.o8)(t),attributes:{position:await y,normal:x?await x:null,texCoord0:S?await S:null,color:R?await R:null,tangent:b?await b:null},indices:await A,primitiveType:_,material:k(c,await w,l)};let N=null;null!=c.meta?.ESRI_lod&&"screenSpaceRadius"===c.meta.ESRI_lod.metric&&(N=c.meta.ESRI_lod.thresholds[f]),c.lods[f]=c.lods[f]||{parts:[],name:d,lodThreshold:N},c.lods[f].parts[h]=O});for(const e of c.lods)e.parts=e.parts.filter(e=>!!e);const h=await u.getLoadedBuffersSize();return{model:c,meta:{isEsriSymbolResource:f,uri:u.uri,ESRI_webstyle:d,isDracoDecompressed:m},customMeta:{},usedMemory:h}}function H(e){const t=e.json;let r=null;return t.nodes.forEach(e=>{const t=e.extras;null!=t&&(t.ESRI_proxyEllipsoid||t.ESRI_lod)&&(r=t)}),r}async function j(e,t){const r=e.json,o=r.scenes[r.scene||0].nodes,s=o.length>1,a=[];for(const e of o){const t=r.nodes[e];a.push(i(e,0)),$(t)&&!s&&t.extensions.MSFT_lod.ids.forEach((e,t)=>i(e,t+1))}async function i(o,s){const u=r.nodes[o],l=e.getNodeTransform(o);if(null!=u.weights&&n.A.getLogger("esri.views.3d.glTF").warn("[Unsupported Feature] Morph targets are not supported."),null!=u.mesh){const e=r.meshes[u.mesh];for(const r of e.primitives)a.push(t(r,l,s,e.name))}for(const e of u.children||[])a.push(i(e,s))}await Promise.all(a)}function $(e){return e.extensions?.MSFT_lod&&Array.isArray(e.extensions.MSFT_lod.ids)}function k(e,t,r){const n=t=>{const n=`${r}_tex_${t&&t.id}${t?.name?"_"+t.name:""}`;if(t&&!e.textures.has(n)){const r=function(e,t={}){return{data:e,parameters:{wrap:{s:10497,t:10497,...t.wrap},noUnpackFlip:!0,mipmap:!1,...t}}}(t.data,{wrap:{s:t.wrapS,t:t.wrapT},mipmap:V.has(t.minFilter),noUnpackFlip:!0});e.textures.set(n,r)}return n},o=`${r}_mat_${t.id}_${t.name}`;if(!e.materials.has(o)){const r=function(e={}){return{color:[1,1,1],opacity:1,alphaMode:"OPAQUE",alphaCutoff:.5,doubleSided:!1,castShadows:!0,receiveShadows:!0,receiveAmbientOcclusion:!0,colorTexture:null,normalTexture:null,occlusionTexture:null,emissiveTexture:null,emissiveStrengthKHR:null,metallicRoughnessTexture:null,colorTextureTransform:null,normalTextureTransform:null,occlusionTextureTransform:null,emissiveTextureTransform:null,metallicRoughnessTextureTransform:null,emissiveFactor:[0,0,0],metallicFactor:1,roughnessFactor:1,colorMixMode:"multiply",...e}}({color:[t.color[0],t.color[1],t.color[2]],opacity:t.color[3],alphaMode:t.alphaMode,alphaCutoff:t.alphaCutoff,doubleSided:t.doubleSided,colorMixMode:t.ESRI_externalColorMixMode,colorTexture:t.colorTexture?n(t.colorTexture):void 0,normalTexture:t.normalTexture?n(t.normalTexture):void 0,occlusionTexture:t.occlusionTexture?n(t.occlusionTexture):void 0,emissiveTexture:t.emissiveTexture?n(t.emissiveTexture):void 0,metallicRoughnessTexture:t.metallicRoughnessTexture?n(t.metallicRoughnessTexture):void 0,emissiveFactor:[t.emissiveFactor[0],t.emissiveFactor[1],t.emissiveFactor[2]],emissiveStrengthKHR:t.emissiveStrengthKHR,colorTextureTransform:t.colorTextureTransform,normalTextureTransform:t.normalTextureTransform,occlusionTextureTransform:t.occlusionTextureTransform,emissiveTextureTransform:t.emissiveTextureTransform,metallicRoughnessTextureTransform:t.metallicRoughnessTextureTransform,metallicFactor:t.metallicFactor,roughnessFactor:t.roughnessFactor,receiveShadows:t.receiveShadows,receiveAmbientOcclusion:t.receiveAmbientOcclusion});e.materials.set(o,r)}return o}const V=new Set([9987,9985])},63907:(e,t,r)=>{r.d(t,{$0:()=>f,CQ:()=>T,Fq:()=>m,H0:()=>s,SB:()=>u,WR:()=>n,XN:()=>a,iE:()=>i,ld:()=>l,nI:()=>h,pe:()=>o,r6:()=>d,vt:()=>c,yI:()=>p});const n={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},o={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},s={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},a=Object.values(s),i={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},u={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},l={FLOAT:o.FLOAT,UNSIGNED_BYTE:o.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:o.BYTE,UNSIGNED_SHORT:o.UNSIGNED_SHORT,SHORT:o.SHORT,UNSIGNED_INT:o.UNSIGNED_INT,INT:o.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},c={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},f=0,d=36064,p=36065,m=36066,h=33306,T={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},84498:(e,t,r)=>{r.d(t,{x:()=>a});var n=r(34275),o=r(97146),s=r(63907);function a(e,t){switch(t){case s.WR.TRIANGLES:return function(e){return"number"==typeof e?(0,o.tM)(e):(0,n.mg)(e)?new Uint16Array(e):e}(e);case s.WR.TRIANGLE_STRIP:return function(e){const t="number"==typeof e?e:e.length;if(t<3)return[];const r=t-2,n=(0,o.my)(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;t+=1)t%2==0?(n[e++]=t,n[e++]=t+1,n[e++]=t+2):(n[e++]=t+1,n[e++]=t,n[e++]=t+2)}else{let t=0;for(let o=0;o<r;o+=1)o%2==0?(n[t++]=e[o],n[t++]=e[o+1],n[t++]=e[o+2]):(n[t++]=e[o+1],n[t++]=e[o],n[t++]=e[o+2])}return n}(e);case s.WR.TRIANGLE_FAN:return function(e){const t="number"==typeof e?e:e.length;if(t<3)return new Uint16Array(0);const r=t-2,n=r<=65536?new Uint16Array(3*r):new Uint32Array(3*r);if("number"==typeof e){let e=0;for(let t=0;t<r;++t)n[e++]=0,n[e++]=t+1,n[e++]=t+2;return n}const o=e[0];let s=e[1],a=0;for(let t=0;t<r;++t){const r=e[t+2];n[a++]=o,n[a++]=s,n[a++]=r,s=r}return n}(e)}}},90239:(e,t,r)=>{function n(e){switch(e){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}r.d(t,{GJ:()=>n})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1384],{31384:(e,s,t)=>{t.d(s,{uploadAssets:()=>C});var o=t(11254),r=t(44208),n=t(53966),a=t(74887),i=t(78659),c=t(84952),l=t(13069),u=t(91218),p=t(16930),d=t(63579),f=t(55726);const m={upload:{createFromFiles:.8,loadMesh:.2},uploadAssetBlobs:{prepareAssetItems:.9,uploadAssetItems:.1},uploadConvertibleSource:{uploadEditSource:.5,serviceAssetsToGlb:.5},uploadLocalMesh:{meshToAssetBlob:.5,uploadAssetBlobs:.5}};var g=t(60694),h=t(36563),w=t(91869);function y(e,s=e=>{},t){return new A(e,s,t)}class A{constructor(e,s=e=>{},t){if(this.onProgress=s,this.taskName=t,this._progressMap=new Map,this._startTime=void 0,this._timingsMap=new Map,"number"==typeof e){this._weights={};for(let s=0;s<e;s++){const t=s,o=1/e;this._weights[t]=o,this._progressMap.set(t,0)}}else this._weights=e;this.emitProgress()}emitProgress(){let e=0;for(const[s,t]of this._progressMap.entries())e+=t*this._weights[s];if(1===e&&(0,r.A)("enable-feature:esri-3dofl-upload-timings")){const e=Math.round(performance.now()-(this._startTime??0))/1e3;console.log(`${this.taskName} done in ${e} sec`);for(const[s,t]of this._timingsMap){const o=Math.round(t.end-t.start)/1e3,r=Math.round(o/e*100);console.log(this.taskName??"Task",{stepKey:s,stepTime:o,relativeTime:r})}}this.onProgress(e)}setProgress(e,s){if(this._progressMap.set(e,s),(0,r.A)("enable-feature:esri-3dofl-upload-timings")){const t=performance.now();this._startTime??=t;const o=(0,w.tE)(this._timingsMap,e,()=>({start:t,end:0}));1===s&&(o.end=t)}this.emitProgress()}simulate(e,s){return T(s=>this.setProgress(e,s),s)}makeOnProgress(e){return s=>this.setProgress(e,s)}}function T(e=e=>{},s=F){const t=performance.now();e(0);const o=setInterval(()=>{const o=performance.now()-t,r=1-Math.exp(-o/s);e(r)},j);return(0,h.hA)(()=>{clearInterval(o),e(1)})}function v(e,s=P){return(0,i.gr)((0,i.Kp)(e*x/s))}const P=10,b=10,x=8e-6,j=(0,i.l5)(50),F=(0,i.l5)(1e3),$=1e6,D=20*$,M=2e9,N=3;async function S({data:e,name:s,description:t},r,n){let i=null;try{const u=(0,c.fj)(r,"uploads"),p=(0,c.fj)(u,"info"),{data:d}=await(0,o.A)(p,{query:{f:"json"},responseType:"json"});(0,a.Te)(n);const f=(0,g.Wo)(r),m=d.maxUploadFileSize*$,h=f?M:m,w=f?Math.min(D,m):D;if(e.size>h)throw new Error("Data too large");const A=(0,c.fj)(u,"register"),{data:T}=await(0,o.A)(A,{query:{f:"json",itemName:(l=s,l.replaceAll("/","_").replaceAll("\\","_")),description:t},responseType:"json",method:"post"});if((0,a.Te)(n),!T.success)throw new Error("Registration failed");const{itemID:P}=T.item;i=(0,c.fj)(u,P);const b=(0,c.fj)(i,"uploadPart"),x=Math.ceil(e.size/w),j=new Array;for(let s=0;s<x;++s)j.push(e.slice(s*w,Math.min((s+1)*w,e.size)));const F=j.slice().reverse(),S=new Array,E=y(x,n?.onProgress,"uploadItem"),k=async()=>{for(;0!==F.length;){const e=j.length-F.length,s=F.pop(),t=new FormData,r=E.simulate(e,v(s.size));try{t.append("f","json"),t.append("file",s),t.append("partId",`${e}`);const{data:r}=await(0,o.A)(b,{timeout:0,body:t,responseType:"json",method:"post"});if((0,a.Te)(n),!r.success)throw new Error("Part upload failed")}finally{r.remove()}}};for(let e=0;e<N&&0!==F.length;++e)S.push(k());await Promise.all(S);const R=(0,c.fj)(i,"commit"),{data:C}=await(0,o.A)(R,{query:{f:"json",parts:j.map((e,s)=>s).join(",")},responseType:"json",method:"post"});if((0,a.Te)(n),!C.success)throw new Error("Commit failed");return C.item}catch(e){if(null!=i){const e=(0,c.fj)(i,"delete");await(0,o.A)(e,{query:{f:"json"},responseType:"json",method:"post"})}throw e}var l}var E=t(20557),k=t(86390),R=t(77793);async function C(e,s,t){const o=e.length;if(!o)return t?.onProgress?.(1),[];const r=y(o,t?.onProgress,"uploadAssets");return Promise.all(e.map((e,o)=>async function(e,{layer:s,ongoingUploads:t},o){const r=t.get(e);if(r)return r;if(!function(e){return!!e.infoFor3D&&!!e.url}(s))throw new f.Wt;if(function(e,s){const{parsedUrl:t}=s;return null!=t&&e.metadata.externalSources.some(e=>(0,d.eN)(e,t))}(e,s))return o?.onProgress?.(1),{mesh:e};const n=async function(e,s,t){const{metadata:o}=e,{displaySource:r}=o,n=I(r?.source,s,{checkForConversionRequired:!0}),g=null!=n?async function(e,s,t,o){return{external:{source:{type:"service",assets:await U(s,t,o)},original:!0,unitConversionDisabled:!0},info:{mesh:e}}}(e,n,s,t):o.externalSources.length>0?async function(e,s,t){const o=O(s),{externalSources:r}=e.metadata,n=function(e,s){for(const t of e){const e=I(t.source,s);if(e)return e}return null}(r,s);if(!n)throw new f.xY;const a=y(m.uploadConvertibleSource,t?.onProgress,"uploadConvertibleSource"),l={type:"service",assets:await U(n,s,{onProgress:a.makeOnProgress("uploadEditSource")})};e.addExternalSources([{source:l,original:!0}]);const g=n.reduce((e,{asset:s})=>s instanceof File?e+s.size:e,0),h=a.simulate("serviceAssetsToGlb",function(e,s=b){return(0,i.gr)((0,i.Kp)(e*x/s))}(g));try{const{source:r,transform:n,origin:a}=await async function({assets:e},s,t){const o=e.map(({assetName:e,parts:s})=>({assetName:e,assetHash:s[0].partHash}));let r;try{const e=(0,c.fj)(s.parsedUrl.path,"convert3D"),n=s.capabilities?.operations.supportsAsyncConvert3D;r=(await(n?q:Z)(e,{query:{f:"json",assets:JSON.stringify(o),transportType:"esriTransportTypeUrl",targetFormat:t,async:n},responseType:"json",timeout:0})).data}catch(e){throw new f.MT}return function(e,s){const t={source:{type:"service",assets:s.assets.map(s=>{const t=(0,E.R_)(s.contentType,e.infoFor3D.supportedFormats);if(!t)throw new f.H2(t);return new d.Qp(s.assetName,s.contentType,[new d.Bq(s.assetURL,s.assetHash)])})},origin:void 0,transform:void 0};if(s.transform){if(t.transform=(0,R.f)(s.transform),s.spatialReference){const e=p.A.fromJSON(s.spatialReference);t.origin=(0,R.V)(s.transform,e)}}else t.transform=(0,k.Z)(e.spatialReference);return t}(s,r)}(l,s,o);if(e.transform=n,a&&t?.useAssetOrigin){const s=await(0,u.projectAsync)(a,e.spatialReference,t);e.vertexSpace.origin=[s.x,s.y,s.z??0]}return{external:{source:r,unitConversionDisabled:!0},info:{mesh:e,georeferenceInfo:a?{origin:a}:void 0}}}finally{h.remove()}}(e,s,t):async function(e,s,t){const o=y(m.uploadLocalMesh,t?.onProgress,"uploadLocalMesh"),r=async function(e,s,t){const o=O(s),r=await e.load(t),n=await r.toBinaryGLTF({origin:r.origin,signal:t?.signal,ignoreLocalTransform:!0,unitConversionDisabled:!0});return(0,a.Te)(t),{blob:new Blob([n],{type:"model/gltf-binary"}),assetName:`${(0,l.yS)()}.glb`,assetType:o}}(e,s,{...t,onProgress:o.makeOnProgress("meshToAssetBlob")});return{external:{source:{type:"service",assets:await B([r],s,{...t,onProgress:o.makeOnProgress("uploadAssetBlobs")})},extent:e.extent.clone(),original:!0},info:{mesh:e}}}(e,s,t),{external:h,info:w}=await g;return(0,a.Te)(t),e.addExternalSources([h]),w}(e,s,o);t.set(e,n);try{return await n}finally{t.delete(e)}}(e,s,{...t,onProgress:r.makeOnProgress(o)})))}function I(e,{infoFor3D:s},t={}){if(!e)return null;const o=(0,d.WN)(e);if(!o)return null;const{supportedFormats:r,editFormats:n}=s,a=new Array,i=(0,E.ND)(s),c=(0,E.nr)(s);let l=!1;for(const e of o){const s=_(e,r);if(!s)return null;const{assetType:o}=s;if(t.checkForConversionRequired&&(o===i||o===c))return null;n.includes(o)&&(l=!0),a.push(s)}return l?a:null}function _(e,s){const t=(0,d.fH)(e,s);return t?{asset:e,assetType:t}:null}async function U(e,s,t){return B(e.map(e=>async function(e,s){const{asset:t,assetType:o}=e;if(t instanceof File)return{blob:t,assetName:t.name,assetType:o};const r=await t.toBlob(s);return(0,a.Te)(s),{blob:r,assetName:t.assetName,assetType:o}}(e,t)),s,t)}async function B(e,s,t){const o=y(m.uploadAssetBlobs,t?.onProgress,"uploadAssetBlobs"),r=await function(e,s,t){const o=y(e.length,t?.onProgress,"prepareAssetItems");return Promise.all(e.map(async(e,r)=>{const i=async function(e,s,t){const{blob:o,assetType:r,assetName:i}=e;let l=null;try{const e=await S({data:o,name:i},s.url,t);(0,a.Te)(t),l={assetType:r,assetUploadId:e.itemID}}catch(e){(0,a.QP)(e),n.A.getLogger("esri.layers.graphics.sources.support.uploadAssets").warnOnce(`Service ${s.url} does not support the REST Uploads API.`)}if(!l){const e=await(0,c._0)(o);if((0,a.Te)(t),!e.isBase64)throw new f.$1;l={assetType:r,assetData:e.data}}if(!l)throw new f.WF;return{item:l,assetName:i}}(await e,s,{...t,onProgress:o.makeOnProgress(r)});return(0,a.Te)(t),i}))}(e,s,{...t,onProgress:o.makeOnProgress("prepareAssetItems")});(0,a.Te)(t);const i=r.map(({item:e})=>e),{uploadResults:l}=await Y(i,s,{...t,onProgress:o.makeOnProgress("uploadAssetItems")});return(0,a.Te)(t),e.map((e,t)=>function(e,s,t){const{success:o}=s;if(!o){const{error:t}=s;throw new f.hK(e.assetName,t)}const{assetHash:r}=s,{assetName:n,item:{assetType:a}}=e,{infoFor3D:{supportedFormats:i}}=t,c=(0,E.Fm)(a,i);if(!c)throw new f.H2(a);return new d.Qp(n,c,[new d.Bq(`${t.parsedUrl.path}/assets/${r}`,r)])}(r[t],l[t],s))}async function Y(e,s,t){const r=T(t?.onProgress);try{const r=await(0,o.A)((0,c.fj)(s.parsedUrl.path,"uploadAssets"),{timeout:0,query:{f:"json",assets:JSON.stringify(e)},method:"post",responseType:"json"});if((0,a.Te)(t),r.data.uploadResults.length!==e.length)throw new f.nS(e.length,r.data.uploadResults.length);return r.data}finally{r.remove()}}function Z(e,s){return(0,o.A)(e,s)}async function q(e,s){const t=(await(0,o.A)(e,s)).data.statusUrl;for(;;){const e=(await(0,o.A)(t,{query:{f:"json"},responseType:"json"})).data;switch(e.status){case"Completed":return(0,o.A)(e.resultUrl,{query:{f:"json"},responseType:"json"});case"CompletedWithErrors":throw new Error(e.status);case"Failed ImportChanges":case"InProgress":case"Pending":case"ExportAttachments":case"ExportChanges":case"ExportingData":case"ExportingSnapshot":case"ImportAttachments":case"ProvisioningReplica":case"UnRegisteringReplica":break;default:throw new Error}await(0,a.Pl)(X)}}function O({infoFor3D:e}){const s=(0,E.U9)(e);if(!s)throw new f.uh;return s}const X=(0,i.l5)(1e3)},55726:(e,s,t)=>{t.d(s,{$1:()=>l,H2:()=>f,MT:()=>m,VP:()=>g,WF:()=>u,Wt:()=>a,XQ:()=>h,hK:()=>d,nS:()=>p,uh:()=>i,xY:()=>c});var o=t(49186);const r="upload-assets",n=()=>new Error;class a extends o.A{constructor(){super(`${r}:unsupported`,"Layer does not support asset uploads.",n())}}class i extends o.A{constructor(){super(`${r}:no-glb-support`,"Layer does not support glb.",n())}}class c extends o.A{constructor(){super(`${r}:no-supported-source`,"No supported external source found",n())}}class l extends o.A{constructor(){super(`${r}:not-base-64`,"Expected gltf data in base64 format after conversion.",n())}}class u extends o.A{constructor(){super(`${r}:unable-to-prepare-options`,"Unable to prepare uploadAsset request options.",n())}}class p extends o.A{constructor(e,s){super(`${r}:bad-response`,`Bad response. Uploaded ${e} items and received ${s} results.`,n())}}class d extends o.A{constructor(e,s){super(`${r}-layer:upload-failed`,`Failed to upload mesh file ${e}. Error code: ${s?.code??"-1"}. Error message: ${s?.messages??"unknown"}`,n())}}class f extends o.A{constructor(e){super(`${r}-layer:unsupported-format`,`The service allowed us to upload an asset of FormatID ${e}, but it does not list it in its supported formats.`,n())}}class m extends o.A{constructor(){super(`${r}:convert3D-failed`,"convert3D failed.")}}class g extends o.A{constructor(){super("invalid-input:no-model","No supported model found")}}class h extends o.A{constructor(){super("invalid-input:multiple-models","Multiple supported models found")}}},77793:(e,s,t)=>{t.d(s,{V:()=>n,f:()=>a});var o=t(86738),r=t(73836);function n(e,s,t=i){return new o.A({x:e[t.originX],y:e[t.originY],z:e[t.originZ],spatialReference:s})}function a(e,s=i){return new r.A({translation:[e[s.translationX],-e[s.translationZ],e[s.translationY]],rotationAxis:[e[s.rotationX],-e[s.rotationZ],e[s.rotationY]],rotationAngle:e[s.rotationDeg],scale:[e[s.scaleX],e[s.scaleZ],e[s.scaleY]]})}const i={originX:"originX",originY:"originY",originZ:"originZ",translationX:"translationX",translationY:"translationY",translationZ:"translationZ",scaleX:"scaleX",scaleY:"scaleY",scaleZ:"scaleZ",rotationX:"rotationX",rotationY:"rotationY",rotationZ:"rotationZ",rotationDeg:"rotationDeg"}},86390:(e,s,t)=>{t.d(s,{Z:()=>n});var o=t(86211),r=t(73836);function n(e){const s=1/(0,o.GA)(e,1);return 1!==s?new r.A({scale:[s,s,s]}):void 0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,547,3169,4161,6061,6225,8125,9698],{4197:(t,e,s)=>{s.d(e,{Vj:()=>u,cj:()=>c,jh:()=>i,l5:()=>a,xm:()=>o});var n=s(34275),r=s(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function a(t,e,s){return Array.isArray(t)?t.slice(e,e+s):t.subarray(e,e+s)}function c(t){return[...t]}function u(t){const e=(0,r.vt)();for(let s=0;s<16;++s)e[s]=t[s];return e}},9093:(t,e,s)=>{function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}s.d(e,{o8:()=>r,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:r,create:n,fromValues:function(t,e,s,n,r,i,o,a,c,u,l,h,m,f,d,y){return[t,e,s,n,r,i,o,a,c,u,l,h,m,f,d,y]}},Symbol.toStringTag,{value:"Module"}))},40547:(t,e,s)=>{s.d(e,{convert:()=>M,convertFromSpatialReferenceUnit:()=>x,convertToSpatialReferenceUnit:()=>b,meters:()=>i.L2,squareMeters:()=>i.A7,toAreaUnit:()=>_,toLengthUnit:()=>P});var n=s(59534),r=s(85935),i=s(71409);const o=[];function a(t){return 0===t.length?'""':t.startsWith('"')||t.startsWith(".")||t[0]>="0"&&t[0]<="9"?t:'"'+t.trim()+'"'}function c(t){let e="",s="",n=!1;for(let r=0;r<t.length;r++){const i=t[r];n?'"'===i?'"'===t[r+1]?(e+=`\\${i}`,r+=1):n=!1:e+=i:/\s/.test(i)||(","===i?(s+=""!==e?a(e)+",":",",e=""):")"===i||"]"===i?(s+=""!==e?a(e)+"]}":"]}",e=""):"("===i||"["===i?(s+='{ "entity": "'+e.toUpperCase().trim()+'", "values":[',e=""):'"'===i?(n=!0,e=""):e+=i)}return JSON.parse(s)}function u(t){try{for(let e=0;e<o.length;e++)if(o[e].spatialReferenceWkt===t)return o[e].unit;const e=l(c(t));if(null===e)return null;let s=null;for(const t of e.values)if("object"==typeof t&&("UNIT"===t.entity||"ANGLEUNIT"===t.entity||"LENGTHUNIT"===t.entity)){s=t;break}if(null===s)return null;const n=function(t,e,s){if(null!=s)try{if("EPSG"===s.values[0])return{type:t,wkid:Number.parseInt(s.values[1],10),factor:e}}catch(t){}return{type:t,factor:e}}("GEOGCS"===e.entity||"GEOGCRS"===e.entity?"angular":"linear",s.values[1],s.values[2]);return o.push({spatialReferenceWkt:t,unit:n}),o.length>10&&o.shift(),n}catch(t){return null}}function l(t){if(null===t)return null;switch(t.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return t}const e=[];for(const s of t.values)if("object"==typeof s&&void 0!==s.entity)switch(s.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return s;default:e.push(s)}for(const t of e){const e=l(t);if(null!=e)return e}return null}var h=s(86211),m=s(22530);const f=-1;function d(t,e){let s;switch(t){case"linear":s=i.s9;break;case"angular":s=i.zD;break;case"area":s=i.y6;break;default:return null}return s.get(e)}function y(t){const e=t.wkid;if(null!=e){const t=m.A.units[m.A[e]];if(null!=t)switch(t){case"Meter":return d("linear",9001);case"Foot":return d("linear",9002);case"Foot_US":return d("linear",9003);case"Foot_Clarke":return d("linear",9005);case"Yard_Clarke":return d("linear",9037);case"Link_Clarke":return d("linear",9039);case"Yard_Sears":return d("linear",9040);case"Foot_Sears":return d("linear",9041);case"Chain_Sears":return d("linear",9042);case"Chain_Benoit_1895_B":return d("linear",9062);case"Yard_Indian":return d("linear",9084);case"Yard_Indian_1937":return d("linear",9085);case"Foot_Gold_Coast":return d("linear",9094);case"Chain":return d("linear",9097);case"Chain_Sears_1922_Truncated":return d("linear",9301);case"50_Kilometers":return d("linear",109030);case"150_Kilometers":return d("linear",109031);default:throw new Error(`Unknown unit name: ${t}`)}return h.yD.has(e)?d("angular",9105):d("angular",9102)}const s=t.wkt2||t.wkt;if(null!=s){const t=u(s);if(null!=t){if(null!=t.wkid){const e=d(t.type,t.wkid);if(null!=e)return e}return{type:t.type,wkid:f,factor:t.factor}}}return null}function p(t){if("linear"!==t.type)return null;if(t.wkid===f)return{type:"area",wkid:f,factor:t.factor**2};const e=i.SQ.get(t.wkid);return null==e?null:d("area",e)}function _(t){if(null!=t){if("number"==typeof t)return i.y6.get(t)??i.s9.get(t)??i.zD.get(t);if("string"!=typeof t)throw new r.D$(null,"InvalidParameter",null);switch((0,n.B)(t)){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":return i.y6.get(109404);case"miles":case"mile":case"squaremile":case"squaremiles":return i.y6.get(109439);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return i.y6.get(109414);case"acres":case"acre":case"ac":return i.y6.get(109402);case"hectares":case"hectare":case"ha":return i.y6.get(109401);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":return i.y6.get(109442);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return i.y6.get(109405);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return i.y6.get(109409);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return i.y6.get(109452);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return i.y6.get(109451);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return i.y6.get(109450);case"inch":case"inches":case"squareinch":case"squareinches":return i.y6.get(109453);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return i.y6.get(109406);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return i.y6.get(109413)}}}function P(t){if(null!=t){if("number"==typeof t)return i.s9.get(t)??i.zD.get(t)??i.y6.get(t);if("string"!=typeof t)throw new r.D$(null,"InvalidParameter",null);switch((0,n.B)(t)){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":case"hectares":case"hectare":case"ha":return i.s9.get(9001);case"miles":case"mile":case"squaremile":case"squaremiles":return i.s9.get(9093);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return i.s9.get(9036);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":case"acres":case"acre":case"ac":return i.s9.get(9096);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return i.s9.get(9002);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return i.s9.get(9030);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return i.s9.get(109007);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return i.s9.get(109006);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return i.s9.get(109005);case"inch":case"inches":case"squareinch":case"squareinches":return i.s9.get(109008);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return i.s9.get(9003);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return i.s9.get(9035)}}}function g(t,e,s){if(t.type!==e.type)throw new Error(`Incompatible unit types. src=${t.type} dest=${e.type}`);return s*(t.factor/e.factor)}function x(t,e,s){if(null==t||null==e)return s;const n=y(t);if(null==n)throw new Error("Unknown spatial reference unit.");const r="area"===e.type&&"linear"===n.type?p(n):n;if(null==r)throw new Error(`Unknown spatial reference ${e.type} unit.`);return g(r,e,s)}function b(t,e,s){if(null==t||null==e)return s;const n=y(e);if(null==n)throw new Error("Unknown spatial reference unit.");const r="area"===t.type&&"linear"===n.type?p(n):n;if(null==r)throw new Error(`Unknown spatial reference ${t.type} unit.`);return g(t,r,s)}function M(t,e,s){return null==t||null==e?s:g(t,e,s)}},59534:(t,e,s)=>{s.d(e,{B:()=>r,b:()=>i});var n=s(85935);function r(t){return t.toLowerCase().replaceAll(/[\s-]+/g,"")}class i{constructor(t,e){const s=new Map;for(const e of t){const t=r(e);if(s.has(t))throw new Error(`${e} already added as ${s.get(t)}`);s.set(t,e)}if(null!=e)for(const[t,n]of e){const e=r(t);if(s.has(e))throw new Error(`${t} already associated with ${s.get(e)}`);s.set(e,n)}this._enumMap=s}lookup(t){return this._enumMap.get(r(t))}get(t){const e=this.lookup(t);if(null==e)throw new n.D$(null,"InvalidParameter",null);return e}}},66070:(t,e,s)=>{s.d(e,{g7:()=>p,zo:()=>_});var n=s(76061),r=s(95213),i=s(55537),o=s(88885),a=s(83661);const c=1.4142135623730951,u=.017453292519943295,l=256,h=1024;class m{static construct(t,e,s){const n=new m;return n.x=t.x,n.y=t.y,n.m_next=-1,n.m_prev=-1,n.z=e,n.m=s,n.type=0,n}clone(){const t=new m;return t.x=this.x,t.y=this.y,t.m_next=this.m_next,t.m_prev=this.m_prev,t.z=this.z,t.m=this.m,t.type=this.type,t}asPoint2D(){return new a.P(this.x,this.y)}}class f{constructor(t){this.m_distance=-1,this.m_tolerance=-1,this.m_miterLimit=10,this.m_joins=0,this.m_progressCounter=0,this.m_bUseZ=!1,this.m_bUseM=!1,this.m_srcPts=[],this.m_srcPtCount=0,this.m_offsetPts=[],this.m_offsetPtCount=0,this.m_a1=0,this.m_a2=0,this.m_progressTracker=t}constructOffset(){const t=this.m_inputGeometry.getGeometryType();if(t===i.G.enumLine)return this.offsetLine();if(t===i.G.enumEnvelope)return this.offsetEnvelope();if((0,i.f)(t)){const t=new o.P;return t.addSegment(this.m_inputGeometry,!0),this.m_inputGeometry=t,this.constructOffset()}if(t===i.G.enumPolyline){const t=new o.P;return this.offsetMultiPath(t),t}if(t===i.G.enumPolygon){const t=new o.a;return this.offsetMultiPath(t),t}(0,i.t)("")}offsetLine(){const t=this.m_inputGeometry,e=t.getStartXY(),s=t.getEndXY(),n=new a.P;n.setSub(s,e),n.normalize(),n.leftPerpendicularThis(),n.scale(this.m_distance),e.addThis(n),s.addThis(n);const r=t.clone();return r.setStartXY(e),r.setEndXY(s),r}offsetEnvelope(){const t=this.m_inputGeometry;if(this.m_distance>0&&2!==this.m_joins){const e=new o.a;return e.addEnvelope(t,!1),this.m_inputGeometry=e,this.constructOffset()}const e=t.clone();return e.inflateCoords(this.m_distance,this.m_distance),e}progress(){}static buildPoint(t,e,s,n){n.x=t.x+e*Math.cos(s),n.y=t.y+e*Math.sin(s),n.type=t.type,n.z=t.z,n.m=t.m,n.m_next=-1,n.m_prev=-1}addPoint(t){this.m_offsetPts.push(t.clone()),this.m_offsetPtCount++}addPointEx(t,e){if(0===this.m_offsetPtCount)return void this.addPoint(t);const s=this.m_srcPtCount,n=this.m_srcPts[0===e?s-1:e-1],r=this.m_srcPts[e],i=f.dotSign(n,r,this.m_offsetPts[this.m_offsetPtCount-1],t);if(i>0)this.addPoint(t);else if(i<0)if(f.dotSign(n,r,r,this.m_offsetPts[this.m_offsetPtCount-1])>0){const r=new m;let i;i=0===e?s-2:1===e?s-1:e-2;const o=this.m_srcPts[i],c=Math.atan2(n.y-o.y,n.x-o.x);if(f.buildPoint(n,this.m_distance,c-a.o,r),this.m_offsetPts[this.m_offsetPtCount-1]=r.clone(),1===this.m_joins||2===this.m_joins){r.x=.5*(r.x+n.x),r.y=.5*(r.y+n.y),this.addPoint(r),f.buildPoint(n,this.m_distance,this.m_a1+a.o,r);const t=r.clone();t.x=.5*(t.x+n.x),t.y=.5*(t.y+n.y),t.type|=l,this.addPoint(t),this.addPoint(r)}else f.buildPoint(n,this.m_distance,this.m_a1+a.o,r),r.type|=l,this.addPoint(r);this.addPointEx(t,e)}else{const t=new m;if(f.buildPoint(r,this.m_distance,this.m_a1+a.o,t),this.addPoint(t),1===this.m_joins||2===this.m_joins){t.x=.5*(t.x+r.x),t.y=.5*(t.y+r.y),this.addPoint(t),f.buildPoint(r,this.m_distance,this.m_a2-a.o,t);const e=t.clone();e.x=.5*(e.x+r.x),e.y=.5*(e.y+r.y),e.type|=l,this.addPoint(e),this.addPoint(t)}else f.buildPoint(r,this.m_distance,this.m_a2-a.o,t),t.type|=l,this.addPoint(t)}}buildOffset(){const t=new m,e=this.m_srcPtCount;this.m_offsetPtCount=0;const s=.5*this.m_tolerance;let n=0,r=0;for(let i=0;i<e;i++){const o=this.m_srcPts[i],m=0===i?this.m_srcPts[e-1]:this.m_srcPts[i-1],d=i===e-1?this.m_srcPts[0]:this.m_srcPts[i+1];let y,p,_=0;{const t=m.x-o.x,e=m.y-o.y,s=d.x-o.x,c=d.y-o.y;y=Math.atan2(e,t),p=Math.atan2(c,s),this.m_a1=y,this.m_a2=p,0===i&&(n=y,r=p),_=a.P.orientationRobust(o.asPoint2D(),m.asPoint2D(),d.asPoint2D())}const P=p;if(p<y&&(p+=a.p),!(Math.abs(Math.abs(y-p)-Math.PI)<1e-8))if(_*this.m_distance>0)if(1===this.m_joins||2===this.m_joins){f.buildPoint(o,this.m_distance,y+a.o,t),this.addPoint(t);const e=.001;t.x=o.x+(t.x-o.x)*e,t.y=o.y+(t.y-o.y)*e,this.addPoint(t),f.buildPoint(o,this.m_distance,p-a.o,t);const s=t.clone();s.x=o.x+(s.x-o.x)*e,s.y=o.y+(s.y-o.y)*e,s.type|=l,this.addPoint(s),this.addPoint(t)}else{const e=.5*(p-y),s=0===e?this.m_distance:this.m_distance/Math.abs(Math.sin(e));f.buildPoint(o,s,.5*(y+p),t),this.addPointEx(t,i)}else{if(512&o.type){const e=1-s/Math.abs(this.m_distance);let n=1,r=this.m_distance<0?-Math.PI:Math.PI;if(e>-1&&e<1){let t=2*Math.acos(e);t<u&&(t=u),n=Math.trunc(Math.PI/t+1.5),n>1&&(r/=n)}n<=1&&(n=2,r/=2);let c=y+a.o;f.buildPoint(o,this.m_distance,c,t),0===i&&(t.type|=h),this.addPointEx(t,i);const l=this.m_distance/Math.cos(r/2);for(c+=r/2,f.buildPoint(o,l,c,t),t.type|=h,this.addPoint(t);--n>0;)c+=r,f.buildPoint(o,l,c,t),t.type|=h,this.addPoint(t);f.buildPoint(o,this.m_distance,p-a.o,t),t.type|=h,this.addPoint(t);continue}if(1!==this.m_joins){if(0===this.m_joins){const e=1-s/Math.abs(this.m_distance);let n=1,r=p-a.o-(y+a.o);if(e>-1&&e<1){let t=2*Math.acos(e);t<u&&(t=u),n=Math.trunc(Math.abs(r)/t+1.5),n>1&&(r/=n)}const c=this.m_distance/Math.cos(.5*r);let l=y+a.o+.5*r;for(f.buildPoint(o,c,l,t),this.addPointEx(t,i);--n>0;)l+=r,f.buildPoint(o,c,l,t),this.addPoint(t);continue}if(2===this.m_joins){const e=m.x-o.x,s=m.y-o.y,n=d.x-o.x,r=d.y-o.y;let u=(e*n+s*r)/Math.sqrt(e*e+s*s)/Math.sqrt(n*n+r*r);if(u=Math.max(u,-1),u>1-1e-8){f.buildPoint(o,c*this.m_distance,p-.25*Math.PI,t),this.addPointEx(t,i),f.buildPoint(o,c*this.m_distance,p+.25*Math.PI,t),this.addPoint(t);continue}const l=Math.abs(this.m_distance/Math.sin(.5*Math.acos(u))),h=Math.abs(this.m_miterLimit*this.m_distance);if(l>h){const e=.5*(p-y),s=this.m_distance/Math.abs(Math.sin(e));f.buildPoint(o,s,.5*(y+p),t);const n=a.P.construct(t.x,t.y),r=a.P.construct(o.x,o.y),c=new a.P;c.setSub(n,r);const u=new a.P;u.setScaleAdd(h/c.length(),c,r);const m=Math.sqrt(l*l-this.m_distance*this.m_distance),d=(l-h)*Math.abs(this.m_distance)/m;this.m_distance>0?c.rightPerpendicularThis():c.leftPerpendicularThis(),c.scale(d/c.length());const _=new a.P;_.setAdd(u,c);const P=new a.P;P.setSub(u,c),t.x=_.x,t.y=_.y,this.addPointEx(t,i),t.x=P.x,t.y=P.y,this.addPoint(t);continue}const _=.5*(p-y),P=this.m_distance/Math.abs(Math.sin(_));f.buildPoint(o,P,.5*(y+p),t),this.addPointEx(t,i);continue}{let e;if(p=P,this.m_distance>0?(p>y&&(p-=a.p),e=y-p<a.o):(p<y&&(p+=a.p),e=p-y<a.o),e){const e=this.m_distance*c;let s;s=e<0?y+.25*Math.PI:y+3*Math.PI*.25,f.buildPoint(o,e,s,t),this.addPointEx(t,i),s=e<0?p-.25*Math.PI:p-3*Math.PI*.25,f.buildPoint(o,e,s,t),this.addPoint(t)}else{const e=.5*(p-y),s=this.m_distance/Math.abs(Math.sin(e));p<y&&(p+=a.p),f.buildPoint(o,s,(y+p)/2,t),this.addPointEx(t,i)}}}else f.buildPoint(o,this.m_distance,y+a.o,t),this.addPointEx(t,i),f.buildPoint(o,this.m_distance,p-a.o,t),this.addPoint(t)}}return this.m_a1=n,this.m_a2=r,this.addPointEx(this.m_offsetPts[0],0),this.m_offsetPts[0]=this.m_offsetPts[this.m_offsetPtCount-1].clone(),this.removeBadSegsFast()}removeBadSegsFast(){let t=!1;for(let t=0;t<this.m_offsetPtCount;t++){const e=this.m_offsetPts[t];e.m_next=t+1,e.m_prev=t-1}this.m_offsetPts[0].m_prev=this.m_offsetPtCount-2,this.m_offsetPts[this.m_offsetPtCount-2].m_next=0;let e=0;for(let s=0;s<this.m_offsetPtCount;s++)if(this.m_offsetPts[e].type&l){const s=this.deleteClosedSeg(e);if(-1===s){t=!0;break}e=s}else e=this.m_offsetPts[e].m_next;return!t&&(this.compressOffsetArray(e),!0)}deleteClosedSeg(t){const e=this.m_offsetPtCount-1;let s,n,r=t;for(let i=1;i<=e-2;i++){r=this.m_offsetPts[r].m_next,s=r,n=t;for(let t=1;t<=i;t++){if(n=this.m_offsetPts[n].m_prev,0===(this.m_offsetPts[n].type&l)&&0===(this.m_offsetPts[s].type&l)){const t=this.handleClosedIntersection(n,s);if(-1!==t)return t}s=this.m_offsetPts[s].m_prev}}return-1}handleClosedIntersection(t,e){const s=this.m_offsetPts[this.m_offsetPts[t].m_prev],n=this.m_offsetPts[t],r=this.m_offsetPts[this.m_offsetPts[e].m_prev],i=this.m_offsetPts[e];if(!this.sectGraphicRect(s,n,r,i))return-1;const o={pt:new m,bAtExistingPt:!1};if(((n.x-s.x)*(i.y-r.y)-(n.y-s.y)*(i.x-r.x))*this.m_distance<0&&this.findIntersection(s,n,r,i,o)&&!o.bAtExistingPt){const a=1e-8,c=Math.sqrt((n.x-s.x)*(n.x-s.x)+(n.y-s.y)*(n.y-s.y)),u=(n.x-s.x)/c,l=(n.y-s.y)/c,h=Math.sqrt((i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y)),m=(i.x-r.x)/h,f=(i.y-r.y)/h;let d=!1;const y=o.pt.clone();y.x+=(u+m)*a,y.y+=(l+f)*a;let p=r,_=o.pt,P=this.m_offsetPts[t].m_prev;for(;_.y>y.y!=p.y>y.y&&y.x<(p.x-_.x)*(y.y-_.y)/(p.y-_.y)+_.x&&(d=!d),p=_,P=this.m_offsetPts[P].m_next,P!==e;)_=this.m_offsetPts[P];if(d)return-1;const g=this.m_offsetPts[t].m_prev;return o.pt.type=n.type,o.pt.m_next=e,o.pt.m_prev=g,this.m_offsetPts[t]=o.pt,this.m_offsetPts[e].m_prev=t,e}return-1}sectGraphicRect(t,e,s,n){return Math.max(t.x,e.x)>=Math.min(s.x,n.x)&&Math.max(s.x,n.x)>=Math.min(t.x,e.x)&&Math.max(t.y,e.y)>=Math.min(s.y,n.y)&&Math.max(s.y,n.y)>=Math.min(t.y,e.y)}findIntersection(t,e,s,n,r){let i,o,a,c;return r.bAtExistingPt=!1,i=(e.y-t.y)*(n.x-s.x)-(e.x-t.x)*(n.y-s.y),o=(s.y-t.y)*(e.x-t.x)-(s.x-t.x)*(e.y-t.y),a=0===i?2:o/i,a>=0&&a<=1&&(c=a,i=(n.y-s.y)*(e.x-t.x)-(n.x-s.x)*(e.y-t.y),o=(t.y-s.y)*(n.x-s.x)-(t.x-s.x)*(n.y-s.y),a=0===i?2:o/i,a>=0&&a<=1)&&(r.pt.x=t.x+a*(e.x-t.x),r.pt.y=t.y+a*(e.y-t.y),this.m_bUseZ&&(r.pt.z=s.z+c*(n.z-s.z)),this.m_bUseM&&(r.pt.m=s.m+c*(n.m-s.m)),0!==c&&1!==c||0!==a&&1!==a||(r.bAtExistingPt=!0),!((0===c||1===c)&&a>0&&a<1||(0===a||1===a)&&c>0&&c<1))}compressOffsetArray(t){for(;this.m_offsetPts[t].m_prev<t;)t=this.m_offsetPts[t].m_prev;let e=0,s=t;do{const t=this.m_offsetPts[s].clone();this.m_offsetPts[e]=t,s=t.m_next,e++}while(s!==t);this.m_offsetPts[e]=this.m_offsetPts[0].clone(),this.m_offsetPtCount=e+1}addPart(t,e){if(!(e<2))for(let s=0;s<e;s++){const e=this.m_offsetPts[t+s];if(s?this.m_bUseZ?this.m_resultPath.lineTo3DCoords(e.x,e.y,e.z):this.m_resultPath.lineToCoords(e.x,e.y):this.m_bUseZ?this.m_resultPath.startPath3DCoords(e.x,e.y,e.z):this.m_resultPath.startPathCoords(e.x,e.y),this.m_bUseM){const t=this.m_resultPath.getPointCount()-1;this.m_resultPath.setAttribute(2,t,0,e.m)}}}offsetMultiPath(t){const e=(0,o.d)(this.m_inputGeometry,0,this.m_tolerance,0,this.m_progressTracker,12e3),s=e.querySegmentIterator();s.resetToFirstPath();let n=-1;for(;s.nextPath();)n++,this.offsetPath(e,n,t)}offsetPath(t,e,s){let n=t.getPathStart(e),r=t.getPathEnd(e);if(this.m_resultPath=s,t.isClosedPath(e)){const e=t.getXY(n);for(;r>n&&t.getXY(r-1).equals(e);)r--;if(r-n>=2){this.m_srcPtCount=r-n,this.m_srcPts.length=this.m_srcPtCount;for(let e=n;e<r;e++)this.progress(),this.m_srcPts[e-n]=m.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0);this.buildOffset()&&this.addPart(0,this.m_offsetPtCount-1)}}else{const e=t.getXY(n);for(;n<r-1&&t.getXY(n+1).equals(e);)n++;const s=t.getXY(r-1);for(;n<r-1&&t.getXY(r-2).equals(s);)r--;if(r-n>=2){this.m_srcPtCount=2*(r-n)-2,this.m_srcPts.length=this.m_srcPtCount;let s=m.construct(e,this.m_bUseZ?t.getAttributeAsDbl(1,n,0):0,this.m_bUseM?t.getAttributeAsDbl(2,n,0):0);s.type|=1536,this.m_srcPts[0]=s;let i=1,o=this.m_srcPtCount-1;for(let e=n+1;e<r-1;e++,i++,o--)this.progress(),s=m.construct(t.getXY(e),this.m_bUseZ?t.getAttributeAsDbl(1,e,0):0,this.m_bUseM?t.getAttributeAsDbl(2,e,0):0),this.m_srcPts[i]=s.clone(),s.type|=h,this.m_srcPts[o]=s.clone();if(s=m.construct(t.getXY(r-1),this.m_bUseZ?t.getAttributeAsDbl(1,r-1,0):0,this.m_bUseM?t.getAttributeAsDbl(2,r-1,0):0),s.type|=512,this.m_srcPts[i]=s.clone(),this.buildOffset())if(this.m_offsetPts.length>=2){let t=-1,e=-1,s=0!==(this.m_offsetPts[this.m_offsetPtCount-1].type&h);s||(t=0);for(let n=1;n<this.m_offsetPtCount;n++){this.progress();const r=0!==(this.m_offsetPts[n].type&h);r?s||(e=n-1,e-t+1>1&&this.addPart(t,e-t+1)):s&&(t=n-1),s=r}s||(e=this.m_offsetPtCount-1,e-t+1>1&&this.addPart(t,e-t+1))}else{const t=0,e=this.m_offsetPtCount-1;e-t>=1&&this.addPart(t,e-t+1)}}}this.m_srcPts.length=0,this.m_srcPtCount=0,this.m_offsetPts.length=0,this.m_offsetPtCount=0}static dotSign(t,e,s,n){const r=e.x-t.x,i=e.y-t.y,o=n.x-s.x,c=n.y-s.y,u=(0,a.t)(r,i,o,c);return(0,a.e)(u)}}class d extends n.G{constructor(t,e,s,n,r,i,o){super(),this.m_progressTracker=o,this.m_index=-1,this.m_inputGeoms=t,this.m_spatialReference=e,this.m_distance=s,this.m_joins=n,this.m_miterLimit=r,this.m_flattenError=i}tock(){return!0}getRank(){return 1}next(){if(!this.m_inputGeoms)return null;let t;for(;t=this.m_inputGeoms.next();)return this.m_index=this.m_inputGeoms.getGeometryID(),this.offset(t);return null}getGeometryID(){return this.m_index}offset(t){let e;return(0,i.c)(t),e=this.m_flattenError<=0?(0,r.b)(this.m_spatialReference,t,!0).total():this.m_flattenError,function(t,e,s,n,r,o){if(null===t&&(0,i.a)(""),t.getDimension()<1&&(0,i.a)(""),r>0||(0,i.a)(""),(0,i.c)(t),0===e||t.isEmpty())return t;const a=new f(o);return a.m_bUseZ=t.hasAttribute(1),a.m_bUseM=t.hasAttribute(2),a.m_inputGeometry=t,a.m_distance=e,a.m_tolerance=r,a.m_joins=s,a.m_miterLimit=n>1?n:1,a.m_progressCounter=0,a.constructOffset()}(t,this.m_distance,this.m_joins,this.m_miterLimit,e,this.m_progressTracker)}}const y=new class{getOperatorType(){return 10108}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}executeMany(t,e,s,n,r,i,o){return new d(t,e,s,n,r,i,o)}execute(t,e,s,n,r,i,o){return new d(null,e,s,n,r,i,o).offset(t)}};function p(t,e,s,n,r,i){return y.execute(t,e,s,n,r,i,null)}function _(t,e,s,r,i,o){const a=y.executeMany(new n.S(t),e,s,r,i,o,null);return Array.from(a)}},69397:(t,e,s)=>{s.d(e,{$B:()=>r,Qf:()=>u,Qh:()=>a,RS:()=>i,Ul:()=>d,ez:()=>m,lM:()=>o,qK:()=>h});var n=s(34275);function r(t){return 32+t.length}const i=16;function o(t){if(!t)return 0;let e=h;for(const s in t)t.hasOwnProperty(s)&&(e+=c(t[s],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return l(t,8);let s=m;for(let n=0;n<e;n++)s+=c(t[n]);return s}(t);let e=h;for(const s in t)t.hasOwnProperty(s)&&(e+=c(t[s]));return e}function c(t,e=!0){switch(typeof t){case"object":return e?a(t):h;case"string":return r(t);case"number":return i;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?l(e,i):0:0),0)}function l(t,e){return m+t.length*e}const h=32,m=16,f=145,d=64},70328:(t,e,s)=>{s.d(e,{BI:()=>g,DC:()=>h,Ej:()=>f,Ie:()=>_,Jt:()=>P,Ne:()=>d,RF:()=>l,aI:()=>b,fA:()=>o,gE:()=>c,hZ:()=>p,iT:()=>m,is:()=>x,qv:()=>M,vI:()=>y,vY:()=>a,v_:()=>C,vt:()=>i,w1:()=>u});var n=s(5443),r=(s(19419),s(4197));function i(t=C){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,s,n,r,o,a=i()){return a[0]=t,a[1]=e,a[2]=s,a[3]=n,a[4]=r,a[5]=o,a}function a(t,e=i()){return function(t,e,s,n=i()){return p(n,M),function(t,e,s=0,n=e.length/3){let r=t[0],i=t[1],o=t[2],a=t[3],c=t[4],u=t[5];for(let t=0;t<n;t++)r=Math.min(r,e[s+3*t]),i=Math.min(i,e[s+3*t+1]),o=Math.min(o,e[s+3*t+2]),a=Math.max(a,e[s+3*t]),c=Math.max(c,e[s+3*t+1]),u=Math.max(u,e[s+3*t+2]);t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=c,t[5]=u}(n,t,e,s),n}(t,0,t.length/3,e)}function c(t,e=(0,r.jh)(24)){const[s,n,i,o,a,c]=t;return e[0]=s,e[1]=n,e[2]=i,e[3]=s,e[4]=n,e[5]=c,e[6]=s,e[7]=a,e[8]=i,e[9]=s,e[10]=a,e[11]=c,e[12]=o,e[13]=n,e[14]=i,e[15]=o,e[16]=n,e[17]=c,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=c,e}function u(t,e){const s=isFinite(t[2])||isFinite(t[5]);return new n.A(s?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function d(t,e,s=t){return s[0]=e[0],s[1]=e[1],s[2]=e[2],s!==t&&(s[3]=t[3],s[4]=t[4],s[5]=t[5]),s}function y(t,e,s=t){return s[3]=e[0],s[4]=e[1],s[5]=e[2],s!==t&&(s[0]=t[0],s[1]=t[1],s[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function _(t){return t?p(t,M):i(M)}function P(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function g(t,e,s,n,r){return t[0]=e,t[1]=s,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=r,t[5]=Number.POSITIVE_INFINITY,t}function x(t){return 6===t.length}function b(t,e,s){if(null==t||null==e)return t===e;if(!x(t)||!x(e))return!1;if(s){for(let n=0;n<t.length;n++)if(!s(t[n],e[n]))return!1}else for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}const M=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];i()},71409:(t,e,s)=>{s.d(e,{A7:()=>m,L2:()=>u,SQ:()=>n,s9:()=>c,y6:()=>h,zD:()=>o});const n=new Map([[1025,109452],[1033,109451],[9001,109404],[9002,109405],[9003,109406],[9005,109407],[9014,109408],[9030,109409],[9031,109410],[9033,109411],[9034,109412],[9035,109413],[9036,109414],[9037,109415],[9038,109416],[9039,109417],[9040,109418],[9041,109419],[9042,109420],[9043,109421],[9050,109422],[9051,109423],[9052,109424],[9053,109425],[9060,109426],[9061,109427],[9062,109428],[9063,109429],[9070,109430],[9080,109431],[9081,109432],[9082,109433],[9083,109434],[9084,109435],[9085,109436],[9086,109437],[9087,109438],[9093,109439],[9094,109440],[9095,109441],[9096,109442],[9097,109444],[9098,109445],[9099,109446],[9300,109447],[9301,109448],[9302,109449],[109001,109442],[109002,109443],[109003,109444],[109004,109445],[109005,109450],[109006,109451],[109007,109452],[109008,109453],[109009,109454],[109010,109455],[109011,109456],[109012,109457],[109013,109458],[109014,109459],[109015,109462],[109016,109464],[109017,109465],[109018,109466],[109030,109460],[109031,109461]]);function r(t){return(e,s)=>[e,{type:t,wkid:e,factor:s}]}const i=r("angular"),o=new Map([i(1031,4.84813681109536e-9),i(9101,1),i(9102,.017453292519943295),i(9103,.0002908882086657216),i(9104,484813681109536e-20),i(9105,.015707963267948967),i(9106,.015707963267948967),i(9109,1e-6),i(9112,.00015707963267948965),i(9113,15707963267948967e-22),i(9114,.0009817477042468104)]),a=r("linear"),c=new Map([a(1025,.001),a(1033,.01),a(9001,1),a(9002,.3048),a(9003,.30480060960121924),a(9005,.3047972654),a(9014,1.8288),a(9030,1852),a(9031,1.0000135965),a(9033,20.11684023368047),a(9034,.2011684023368047),a(9035,1609.3472186944375),a(9036,1e3),a(9037,.9143917962),a(9038,20.1166195164),a(9039,.201166195164),a(9040,.9143984146160287),a(9041,.3047994715386762),a(9042,20.116765121552632),a(9043,.2011676512155263),a(9050,.9143992),a(9051,.3047997333333333),a(9052,20.1167824),a(9053,.201167824),a(9060,.9143992042898124),a(9061,.30479973476327077),a(9062,20.116782494375872),a(9063,.2011678249437587),a(9070,.30480083333333335),a(9080,.30479951024814694),a(9081,.30479841),a(9082,.3047996),a(9083,.3047995),a(9084,.9143985307444408),a(9085,.91439523),a(9086,.9143988),a(9087,.9143985),a(9093,1609.344),a(9094,.3047997101815088),a(9095,.3048007491),a(9096,.9144),a(9097,20.1168),a(9098,.201168),a(9099,.914398),a(9300,.30479933333333337),a(9301,20.116756),a(9302,.20116756),a(109001,.9144),a(109002,.9144018288036576),a(109003,20.1168),a(109004,.201168),a(109005,.1),a(109006,.01),a(109007,.001),a(109008,.0254),a(109009,.025400050800101603),a(109010,5.0292),a(109011,5.029210058420118),a(109012,1853.248),a(109013,1853.184),a(109014,1.7018),a(109015,.8466683600033867),a(109016,.00035277777777777776),a(109017,1e-6),a(109018,1e-9),a(109030,5e4),a(109031,15e4)]),u=c.get(9001),l=r("area"),h=new Map([l(109401,1e4),l(109402,4046.8564224),l(109403,4046.872609874252),l(109404,1),l(109405,.09290304),l(109406,.09290341161327487),l(109407,.09290137299531805),l(109408,3.34450944),l(109409,3429904),l(109410,1.000027193184865),l(109411,404.6872609874253),l(109412,.04046872609874252),l(109413,2589998.470319522),l(109414,1e6),l(109415,.8361123569578626),l(109416,404.6783807676053),l(109417,.04046783807676053),l(109418,.8361244606523066),l(109419,.09290271785025629),l(109420,404.6842389557165),l(109421,.04046842389557164),l(109422,.83612589696064),l(109423,.0929028774400711),l(109424,404.6849341289498),l(109425,.04046849341289498),l(109426,.836125904805842),l(109427,.09290287831176021),l(109428,404.6849379260275),l(109429,.04046849379260275),l(109430,.09290354800069446),l(109431,.09290274144751023),l(109432,.09290207073852812),l(109433,.09290279616016),l(109434,.09290273520025),l(109435,.836124673027592),l(109436,.8361186366467529),l(109437,.8361251654414399),l(109438,.83612461680225),l(109439,2589988.110336),l(109440,.09290286332673177),l(109441,.09290349665192114),l(109442,.83612736),l(109443,.8361307045194736),l(109444,404.68564224),l(109445,.040468564224),l(109446,.836123702404),l(109447,.09290263360044447),l(109448,404.683871963536),l(109449,.0404683871963536),l(109450,.01),l(109451,1e-4),l(109452,1e-6),l(109453,64516e-8),l(109454,.0006451625806477421),l(109455,25.29285264),l(109456,25.29295381171408),l(109457,3434528.149504),l(109458,3434290.937856),l(109459,2.89612324),l(109460,25e8),l(109461,225e8),l(109462,.7168473118308245),l(109463,100),l(109464,1.244521604938271e-7),l(109465,1e-12),l(109466,1e-18)]),m=h.get(109404)},76061:(t,e,s)=>{s.d(e,{G:()=>n,S:()=>r});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class r extends n{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(t,e,s)=>{s.r(e),s.d(e,{fromExtent:()=>P,fromGeometry:()=>_,fromMultipoint:()=>g,fromPoint:()=>x,fromPolygon:()=>b,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>w,getSpatialReference:()=>p,toExtent:()=>v,toGeometry:()=>E,toMultipoint:()=>A,toPoint:()=>G,toPolygon:()=>S,toPolyline:()=>I});var n=s(83661),r=(s(79187),s(55537)),i=s(95213),o=s(88885),a=s(5443),c=s(48526),u=s(86738),l=s(39829),h=s(82799),m=(s(90293),s(83299));const f="_gxVersion",d=2,y=1;function p(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function _(t){switch(t.type){case"point":return x(t);case"multipoint":return g(t);case"polyline":return M(t);case"polygon":return b(t);case"extent":return P(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function P(t){if(!t.getCacheValue(f)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(d,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(y,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function g(t){if(!t.getCacheValue(f)){const e=new o.M,s=new i.P,n=t.points,r=t.hasM,a=t.hasZ,c=a?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];s.setXYCoords(i[0],i[1]),a&&s.setZ(i[2]??0),r&&s.setM(i[c]??NaN),e.add(s)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function x(t){if(!t.getCacheValue(f)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function b(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:s,hasZ:n,rings:r}=t,i=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:s,hasZ:n,rings:r});t.setCacheValue(f,i)}return t.getCacheValue(f)}function M(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:s,hasZ:n,paths:r}=t,i=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:s,hasZ:n,paths:r});t.setCacheValue(f,i)}return t.getCacheValue(f)}function C(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:s,hasZ:n,paths:r}=t,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:s,hasZ:n,paths:r});t.setCacheValue(f,i)}return t.getCacheValue(f)}function w(t){return(0,m.fromSpatialReference)(t)}function E(t,e){if(t)switch(t.getGeometryType()){case r.G.enumPoint:return G(t,e);case r.G.enumEnvelope:return v(t,e);case r.G.enumMultiPoint:return A(t,e);case r.G.enumPolyline:return I(t,e);case r.G.enumPolygon:return S(t,e)}return null}function v(t,e){if(t.isEmpty())return null;const s=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(d,0);s.mmin=e.vmin,s.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(y,0);s.zmin=e.vmin,s.zmax=e.vmax}return s.setCacheValue(f,t),s}function A(t,e){if(t.isEmpty())return null;const s=t.getDescription(),n=s.hasM(),r=s.hasZ(),o=[],a=new i.P;for(let e=0,s=t.getPointCount();e<s;e++){t.getPointByVal(e,a);const s=[a.getX(),a.getY()];r&&s.push(a.getZ()),n&&s.push(a.getM()),o.push(s)}const u=new c.A({hasM:n,hasZ:r,points:o,spatialReference:e});return u.setCacheValue(f,t),u}function G(t,e){if(t instanceof n.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const s=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),r=t.getDescription();return r.hasM()&&(s.m=t.getM()),r.hasZ()&&(s.z=t.getZ()),s.setCacheValue(f,t),s}function S(t,e){if(t.isEmpty())return null;const s=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return s.setCacheValue(f,t),s}function I(t,e){if(t.isEmpty())return null;const s=h.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return s.setCacheValue(f,t),s}},85549:(t,e,s)=>{s.d(e,{executeOffsetJson:()=>u,r:()=>c});var n=s(40547),r=s(66070),i=s(78125),o=s(83299);const a={round:0,bevel:1,miter:2,square:3};function c(t,e,s,r,o,a){e=(0,n.convertToSpatialReferenceUnit)((0,n.toLengthUnit)(s),t.spatialReference,e);const c=(0,i.fromGeometry)(t),u=(0,i.getSpatialReference)(t),h=l(c,(0,i.fromSpatialReference)(u),e,r,o,a);return(0,i.toGeometry)(h,u)}function u(t,e,s,r,i,a){e=(0,n.convertToSpatialReferenceUnit)((0,n.toLengthUnit)(s),t.spatialReference,e);const c=(0,o.fromGeometry)(t),u=c.getGeometry(),h=c.getSpatialReference(),m=l(u,h,e,r,i,a);return(0,o.toGeometry)(m,h)}function l(t,e,s,n,i,o){const c=(0,r.g7)(t,e,s,a[n],i,o);if(!c.isEmpty())return c;{const c=t.clone();c.reverseAllPaths();const u=(0,r.g7)(c,e,-s,a[n],i,o);if(!u.isEmpty())return u.reverseAllPaths(),u}const u=Math.abs(s)/10,l=u/10;let h=o;if("round"===n&&(h+=l),"bevel"===n||"square"===n){const c=(0,r.g7)(t,e,s,a[n="miter"],i,o);if(!c.isEmpty())return c}if("miter"===n){const c=(0,r.g7)(t,e,s,a[n="round"],i,o);if(!c.isEmpty())return c}if("round"===n)for(;h<=u;h+=l){const o=(0,r.g7)(t,e,s,a[n],i,h);if(!o.isEmpty())return o}return null}},85935:(t,e,s)=>{s.d(e,{D$:()=>a,Nh:()=>h,O$:()=>l,mT:()=>u,ps:()=>f});var n=s(799);const r={TypeNotAllowedInFeature:"Feature attributes only support dates, numbers, strings, guids.",LogicError:"Logic error - {reason}",CannotCompareDateAndTime:"Cannot compare date or dateonly with timeonly types",NeverReach:"Encountered unreachable logic",AsyncNotEnabled:"Async Arcade must be enabled for this script",ModuleAccessorMustBeString:"Module accessor must be a string",ModuleExportNotFound:"Module has no export with provided identifier",ModulesNotSupported:"Current profile does not support modules",ArrayAccessMustBeNumber:"Array accessor must be a number",FunctionNotFound:"Function not found",FieldNotFound:"Key not found - {key}",CircularModules:"Circular module dependencies are not allowed",Cancelled:"Execution cancelled",UnsupportedHashType:"Type not supported in hash function",IllegalResult:"Value is not a supported return type",PortalRequired:"Portal is required",InvalidParameter:"Invalid parameter",WrongNumberOfParameters:"Call with wrong number of parameters",Unrecognized:"Unrecognized code structure",UnrecognizedType:"Unrecognized type",WrongSpatialReference:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",BooleanConditionRequired:"Conditions must use booleans",NoFunctionInDictionary:"Dictionaries cannot contain functions.",NoFunctionInArray:"Arrays cannot contain functions.",NoFunctionInTemplateLiteral:"Template Literals do not expect functions by value.",KeyAccessorMustBeString:"Accessor must be a string",KeyMustBeString:"Object keys must be a string",Immutable:"Object is immutable",UnexpectedToken:"Unexpected token",MemberOfNull:"Cannot access property of null object",MaximumCallDepth:"Exceeded maximum function depth",OutOfBounds:"Out of bounds",InvalidIdentifier:"Identifier not recognized",CallNonFunction:"Expression is not a function",InvalidMemberAccessKey:"Cannot access value using a key of this type",AssignModuleFunction:"Cannot assign function to module variable",UnsupportUnaryOperator:"Unsupported unary operator",UnsupportedOperator:"Unsupported operator",LogicalExpressionOnlyBoolean:"Logical expressions must be boolean",LogicExpressionOrAnd:"Logical expression can only be combined with || or &&",CannotChangeTimeZoneTime:"Cannot change the timezone of a Time",CannotChangeTimeZoneDateOnly:"Cannot change the timezone of a DateOnly",FeatureSetDoesNotHaveSubtypes:"FeatureSet does not have subtypes"};class i extends Error{constructor(...t){super(...t)}}class o extends i{constructor(t,e){super(c(e)+t.message,{cause:t}),this.loc=null,Error.captureStackTrace&&Error.captureStackTrace(this,o),e?.loc&&(this.loc=e.loc)}}class a extends Error{constructor(t,e,s,i){super("Execution error - "+c(s)+(0,n.HC)(r[e],i)),this.loc=null,this.declaredRootClass="esri.arcade.arcadeexecutionerror",Error.captureStackTrace&&Error.captureStackTrace(this,a),s?.loc&&(this.loc=s.loc)}}function c(t){return t&&t.loc?`Line : ${t.loc.start?.line}, ${t.loc.start?.column}: `:""}class u extends Error{constructor(t,e,s,i){super("Compilation error - "+c(s)+(0,n.HC)(r[e],i)),this.loc=null,this.declaredRootClass="esri.arcade.arcadecompilationerror",Error.captureStackTrace&&Error.captureStackTrace(this,u),s?.loc&&(this.loc=s.loc)}}class l extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror",Error.captureStackTrace&&Error.captureStackTrace(this,l)}}function h(t,e,s){return"esri.arcade.arcadeexecutionerror"===s.declaredRootClass||"esri.arcade.arcadecompilationerror"===s.declaredRootClass?null===s.loc&&e?.loc?new o(s,{cause:s}):s:("esri.arcade.featureset.support.featureseterror"===s.declaredRootClass||"esri.arcade.featureset.support.sqlerror"===s.declaredRootClass||s.declaredRootClass,e?.loc?new o(s,{cause:s}):s)}const m={UnrecognizedUri:"Unrecognized uri - {uri}",UnsupportedUriProtocol:"Unrecognized uri protocol"};class f extends Error{constructor(t,e){super((0,n.HC)(m[t],e)),this.declaredRootClass="esri.arcade.arcademoduleerror",Error.captureStackTrace&&Error.captureStackTrace(this,f)}}},92722:(t,e,s)=>{s.d(e,{A:()=>r});var n=s(69397);class r{constructor(t=[],e=[],s=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=s,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:s,hasM:n}){return new r(t,e,s||!1,n||!1)}static fromRect([t,e,s,n]){const i=s-t,o=n-e;return new r([5],[t,e,i,0,0,o,-i,0,0,-o])}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((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const s of this.lengths){if(s<3)continue;const{stride:n}=this;let r=this.coords[n*e],i=this.coords[n*e+1];for(let o=1;o<s;o+=1){const s=n*(e+o),a=this.coords[s],c=this.coords[s+1];t+=-.5*(a-r)*(c+i),r=a,i=c}e+=s}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:s}=this;for(const n of this.lengths){for(let r=0;r<n;r++){const n=s*(e+r);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:s}=t;let n=0;const{stride:r}=this;for(const t of s){for(let s=1;s<t;s++){const t=r*(n+s);e[t]+=e[t-r],e[t+1]+=e[t+1-r]}n+=t}return t}clone(t){if(this.isPoint)return new r([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:s,size:n}=this,i=this.coords.slice(0,n*s);return t?(t.set(i),new r(e,t)):new r(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const s=new Array(e*t);for(let e=0,n=0;e<s.length;e+=t)s[n++]=this.coords[e],s[n++]=this.coords[e+1];return new r(this.lengths,s,!1,!1)}}}}]);