@arcgis/core 5.1.0-next.70 → 5.1.0-next.71

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 (479) hide show
  1. package/assets/components/assets/combobox/t9n/messages.ar.json +1 -1
  2. package/assets/components/assets/combobox/t9n/messages.bg.json +1 -1
  3. package/assets/components/assets/combobox/t9n/messages.bs.json +1 -1
  4. package/assets/components/assets/combobox/t9n/messages.ca.json +1 -1
  5. package/assets/components/assets/combobox/t9n/messages.cs.json +1 -1
  6. package/assets/components/assets/combobox/t9n/messages.da.json +1 -1
  7. package/assets/components/assets/combobox/t9n/messages.de.json +1 -1
  8. package/assets/components/assets/combobox/t9n/messages.el.json +1 -1
  9. package/assets/components/assets/combobox/t9n/messages.en.json +1 -1
  10. package/assets/components/assets/combobox/t9n/messages.es.json +1 -1
  11. package/assets/components/assets/combobox/t9n/messages.et.json +1 -1
  12. package/assets/components/assets/combobox/t9n/messages.fi.json +1 -1
  13. package/assets/components/assets/combobox/t9n/messages.fr.json +1 -1
  14. package/assets/components/assets/combobox/t9n/messages.he.json +1 -1
  15. package/assets/components/assets/combobox/t9n/messages.hr.json +1 -1
  16. package/assets/components/assets/combobox/t9n/messages.hu.json +1 -1
  17. package/assets/components/assets/combobox/t9n/messages.id.json +1 -1
  18. package/assets/components/assets/combobox/t9n/messages.it.json +1 -1
  19. package/assets/components/assets/combobox/t9n/messages.ja.json +1 -1
  20. package/assets/components/assets/combobox/t9n/messages.json +1 -1
  21. package/assets/components/assets/combobox/t9n/messages.ko.json +1 -1
  22. package/assets/components/assets/combobox/t9n/messages.lt.json +1 -1
  23. package/assets/components/assets/combobox/t9n/messages.lv.json +1 -1
  24. package/assets/components/assets/combobox/t9n/messages.nl.json +1 -1
  25. package/assets/components/assets/combobox/t9n/messages.no.json +1 -1
  26. package/assets/components/assets/combobox/t9n/messages.pl.json +1 -1
  27. package/assets/components/assets/combobox/t9n/messages.pt-BR.json +1 -1
  28. package/assets/components/assets/combobox/t9n/messages.pt-PT.json +1 -1
  29. package/assets/components/assets/combobox/t9n/messages.ro.json +1 -1
  30. package/assets/components/assets/combobox/t9n/messages.ru.json +1 -1
  31. package/assets/components/assets/combobox/t9n/messages.sk.json +1 -1
  32. package/assets/components/assets/combobox/t9n/messages.sl.json +1 -1
  33. package/assets/components/assets/combobox/t9n/messages.sr.json +1 -1
  34. package/assets/components/assets/combobox/t9n/messages.sv.json +1 -1
  35. package/assets/components/assets/combobox/t9n/messages.th.json +1 -1
  36. package/assets/components/assets/combobox/t9n/messages.tr.json +1 -1
  37. package/assets/components/assets/combobox/t9n/messages.uk.json +1 -1
  38. package/assets/components/assets/combobox/t9n/messages.vi.json +1 -1
  39. package/assets/components/assets/combobox/t9n/messages.zh-CN.json +1 -1
  40. package/assets/components/assets/combobox/t9n/messages.zh-HK.json +1 -1
  41. package/assets/components/assets/combobox/t9n/messages.zh-TW.json +1 -1
  42. package/assets/components/assets/icon/addToLivestreamVideoLayer16.json +1 -0
  43. package/assets/components/assets/icon/addToLivestreamVideoLayer24.json +1 -0
  44. package/assets/components/assets/icon/addToLivestreamVideoLayer32.json +1 -0
  45. package/assets/components/assets/icon/addToVideoLayer16.json +1 -0
  46. package/assets/components/assets/icon/addToVideoLayer24.json +1 -0
  47. package/assets/components/assets/icon/addToVideoLayer32.json +1 -0
  48. package/assets/components/assets/icon/arcgisQuickcapture16.json +1 -0
  49. package/assets/components/assets/icon/arcgisQuickcapture24.json +1 -0
  50. package/assets/components/assets/icon/arcgisQuickcapture32.json +1 -0
  51. package/assets/components/assets/icon/arcgisSurvey12316.json +1 -0
  52. package/assets/components/assets/icon/arcgisSurvey12324.json +1 -0
  53. package/assets/components/assets/icon/arcgisSurvey12332.json +1 -0
  54. package/assets/components/assets/icon/bicycleTravelMode16.json +1 -0
  55. package/assets/components/assets/icon/bicycleTravelMode16F.json +1 -0
  56. package/assets/components/assets/icon/bicycleTravelMode24.json +1 -0
  57. package/assets/components/assets/icon/bicycleTravelMode24F.json +1 -0
  58. package/assets/components/assets/icon/bicycleTravelMode32.json +1 -0
  59. package/assets/components/assets/icon/bicycleTravelMode32F.json +1 -0
  60. package/assets/components/assets/icon/busTravelMode16.json +1 -0
  61. package/assets/components/assets/icon/busTravelMode16F.json +1 -0
  62. package/assets/components/assets/icon/busTravelMode24.json +1 -0
  63. package/assets/components/assets/icon/busTravelMode24F.json +1 -0
  64. package/assets/components/assets/icon/busTravelMode32.json +1 -0
  65. package/assets/components/assets/icon/busTravelMode32F.json +1 -0
  66. package/assets/components/assets/icon/carTravelMode16.json +1 -0
  67. package/assets/components/assets/icon/carTravelMode16F.json +1 -0
  68. package/assets/components/assets/icon/carTravelMode24.json +1 -0
  69. package/assets/components/assets/icon/carTravelMode24F.json +1 -0
  70. package/assets/components/assets/icon/carTravelMode32.json +1 -0
  71. package/assets/components/assets/icon/carTravelMode32F.json +1 -0
  72. package/assets/components/assets/icon/conditionalRulesDown16.json +1 -0
  73. package/assets/components/assets/icon/conditionalRulesDown24.json +1 -0
  74. package/assets/components/assets/icon/conditionalRulesDown32.json +1 -0
  75. package/assets/components/assets/icon/emergency16.json +1 -0
  76. package/assets/components/assets/icon/emergency16F.json +1 -0
  77. package/assets/components/assets/icon/emergency24.json +1 -0
  78. package/assets/components/assets/icon/emergency24F.json +1 -0
  79. package/assets/components/assets/icon/emergency32.json +1 -0
  80. package/assets/components/assets/icon/emergency32F.json +1 -0
  81. package/assets/components/assets/icon/eyedropper16.json +1 -1
  82. package/assets/components/assets/icon/eyedropper24.json +1 -1
  83. package/assets/components/assets/icon/eyedropper32.json +1 -1
  84. package/assets/components/assets/icon/featureDetailsSet16.json +1 -0
  85. package/assets/components/assets/icon/featureDetailsSet24.json +1 -0
  86. package/assets/components/assets/icon/featureDetailsSet32.json +1 -0
  87. package/assets/components/assets/icon/fileBim16.json +1 -0
  88. package/assets/components/assets/icon/fileBim24.json +1 -0
  89. package/assets/components/assets/icon/fileBim32.json +1 -0
  90. package/assets/components/assets/icon/fileDwg16.json +1 -0
  91. package/assets/components/assets/icon/fileDwg24.json +1 -0
  92. package/assets/components/assets/icon/fileDwg32.json +1 -0
  93. package/assets/components/assets/icon/fileRvt16.json +1 -0
  94. package/assets/components/assets/icon/fileRvt24.json +1 -0
  95. package/assets/components/assets/icon/fileRvt32.json +1 -0
  96. package/assets/components/assets/icon/gradient16.json +1 -0
  97. package/assets/components/assets/icon/gradient24.json +1 -0
  98. package/assets/components/assets/icon/gradient32.json +1 -0
  99. package/assets/components/assets/icon/layerStreamSetting16.json +1 -0
  100. package/assets/components/assets/icon/layerStreamSetting24.json +1 -0
  101. package/assets/components/assets/icon/layerStreamSetting32.json +1 -0
  102. package/assets/components/assets/icon/mopedTravelMode16.json +1 -0
  103. package/assets/components/assets/icon/mopedTravelMode16F.json +1 -0
  104. package/assets/components/assets/icon/mopedTravelMode24.json +1 -0
  105. package/assets/components/assets/icon/mopedTravelMode24F.json +1 -0
  106. package/assets/components/assets/icon/mopedTravelMode32.json +1 -0
  107. package/assets/components/assets/icon/mopedTravelMode32F.json +1 -0
  108. package/assets/components/assets/icon/motorcycleTravelMode16.json +1 -0
  109. package/assets/components/assets/icon/motorcycleTravelMode16F.json +1 -0
  110. package/assets/components/assets/icon/motorcycleTravelMode24.json +1 -0
  111. package/assets/components/assets/icon/motorcycleTravelMode24F.json +1 -0
  112. package/assets/components/assets/icon/motorcycleTravelMode32.json +1 -0
  113. package/assets/components/assets/icon/motorcycleTravelMode32F.json +1 -0
  114. package/assets/components/assets/icon/publish16.json +1 -0
  115. package/assets/components/assets/icon/publish24.json +1 -0
  116. package/assets/components/assets/icon/publish32.json +1 -0
  117. package/assets/components/assets/icon/scooterTravelMode16.json +1 -0
  118. package/assets/components/assets/icon/scooterTravelMode16F.json +1 -0
  119. package/assets/components/assets/icon/scooterTravelMode24.json +1 -0
  120. package/assets/components/assets/icon/scooterTravelMode24F.json +1 -0
  121. package/assets/components/assets/icon/scooterTravelMode32.json +1 -0
  122. package/assets/components/assets/icon/scooterTravelMode32F.json +1 -0
  123. package/assets/components/assets/icon/shuttleTravelMode16.json +1 -0
  124. package/assets/components/assets/icon/shuttleTravelMode16F.json +1 -0
  125. package/assets/components/assets/icon/shuttleTravelMode24.json +1 -0
  126. package/assets/components/assets/icon/shuttleTravelMode24F.json +1 -0
  127. package/assets/components/assets/icon/shuttleTravelMode32.json +1 -0
  128. package/assets/components/assets/icon/shuttleTravelMode32F.json +1 -0
  129. package/assets/components/assets/icon/strollerTravelMode16.json +1 -0
  130. package/assets/components/assets/icon/strollerTravelMode16F.json +1 -0
  131. package/assets/components/assets/icon/strollerTravelMode24.json +1 -0
  132. package/assets/components/assets/icon/strollerTravelMode24F.json +1 -0
  133. package/assets/components/assets/icon/strollerTravelMode32.json +1 -0
  134. package/assets/components/assets/icon/strollerTravelMode32F.json +1 -0
  135. package/assets/components/assets/icon/trainTravelMode16.json +1 -0
  136. package/assets/components/assets/icon/trainTravelMode16F.json +1 -0
  137. package/assets/components/assets/icon/trainTravelMode24.json +1 -0
  138. package/assets/components/assets/icon/trainTravelMode24F.json +1 -0
  139. package/assets/components/assets/icon/trainTravelMode32.json +1 -0
  140. package/assets/components/assets/icon/trainTravelMode32F.json +1 -0
  141. package/assets/components/assets/icon/tramTravelMode16.json +1 -0
  142. package/assets/components/assets/icon/tramTravelMode16F.json +1 -0
  143. package/assets/components/assets/icon/tramTravelMode24.json +1 -0
  144. package/assets/components/assets/icon/tramTravelMode24F.json +1 -0
  145. package/assets/components/assets/icon/tramTravelMode32.json +1 -0
  146. package/assets/components/assets/icon/tramTravelMode32F.json +1 -0
  147. package/assets/components/assets/icon/truckTravelMode16.json +1 -0
  148. package/assets/components/assets/icon/truckTravelMode16F.json +1 -0
  149. package/assets/components/assets/icon/truckTravelMode24.json +1 -0
  150. package/assets/components/assets/icon/truckTravelMode24F.json +1 -0
  151. package/assets/components/assets/icon/truckTravelMode32.json +1 -0
  152. package/assets/components/assets/icon/truckTravelMode32F.json +1 -0
  153. package/assets/components/assets/icon/velocityServer16.json +1 -0
  154. package/assets/components/assets/icon/velocityServer24.json +1 -0
  155. package/assets/components/assets/icon/velocityServer32.json +1 -0
  156. package/assets/components/assets/icon/walkingTravelMode16.json +1 -0
  157. package/assets/components/assets/icon/walkingTravelMode16F.json +1 -0
  158. package/assets/components/assets/icon/walkingTravelMode24.json +1 -0
  159. package/assets/components/assets/icon/walkingTravelMode24F.json +1 -0
  160. package/assets/components/assets/icon/walkingTravelMode32.json +1 -0
  161. package/assets/components/assets/icon/walkingTravelMode32F.json +1 -0
  162. package/assets/components/assets/icon/wheelchairTravelMode16.json +1 -0
  163. package/assets/components/assets/icon/wheelchairTravelMode16F.json +1 -0
  164. package/assets/components/assets/icon/wheelchairTravelMode24.json +1 -0
  165. package/assets/components/assets/icon/wheelchairTravelMode24F.json +1 -0
  166. package/assets/components/assets/icon/wheelchairTravelMode32.json +1 -0
  167. package/assets/components/assets/icon/wheelchairTravelMode32F.json +1 -0
  168. package/assets/esri/core/workers/RemoteClient.js +1 -1
  169. package/assets/esri/core/workers/chunks/09ecb36e44096e577af8.js +1 -0
  170. package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +2 -0
  171. package/assets/esri/core/workers/chunks/{d82b543c96f09ded3bf9.js.LICENSE.txt → 0b1454a77a6a682541dc.js.LICENSE.txt} +6 -1
  172. package/assets/esri/core/workers/chunks/0ca06ea649bbdb93ff49.js +1 -0
  173. package/assets/esri/core/workers/chunks/10308c9f3f0d709d96bc.js +1 -0
  174. package/assets/esri/core/workers/chunks/{03e20ac54d6f141b5001.js → 11241781baaed346af52.js} +1 -1
  175. package/assets/esri/core/workers/chunks/123e920e4460124ec3bb.js +288 -0
  176. package/assets/esri/core/workers/chunks/{fc64ae69581e4c38fa8a.js → 141edf5ed890105a079b.js} +1 -1
  177. package/assets/esri/core/workers/chunks/160b9a76b75875507c86.js +1 -0
  178. package/assets/esri/core/workers/chunks/16dfdee05704df249e95.js +1 -0
  179. package/assets/esri/core/workers/chunks/17ef955dc48e329aa184.js +1 -0
  180. package/assets/esri/core/workers/chunks/18001536ed345955121a.js +1 -0
  181. package/assets/esri/core/workers/chunks/1c7183551f5269bdcf13.js +30 -0
  182. package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +1 -0
  183. package/assets/esri/core/workers/chunks/{b364ec104dd59faa41b6.js → 1f82a0f134ea912fc686.js} +1 -1
  184. package/assets/esri/core/workers/chunks/231f502cd15f30d12be2.js +1 -0
  185. package/assets/esri/core/workers/chunks/238f51d0b36f998017b8.js +1 -0
  186. package/assets/esri/core/workers/chunks/2cee6d751c5e73fe09d4.js +1 -0
  187. package/assets/esri/core/workers/chunks/31071a43e2c03984d619.js +1 -0
  188. package/assets/esri/core/workers/chunks/36031cb53c486630f3c9.js +1 -0
  189. package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +1 -0
  190. package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +1 -0
  191. package/assets/esri/core/workers/chunks/3b1446286a9b87f34761.js +1 -0
  192. package/assets/esri/core/workers/chunks/3b7cda16e656db450f11.js +1 -0
  193. package/assets/esri/core/workers/chunks/3e972ae291df1844017d.js +1 -0
  194. package/assets/esri/core/workers/chunks/{73e000cc3c4da10e9937.js → 3f7fd58ee7d71989fc83.js} +1 -1
  195. package/assets/esri/core/workers/chunks/416e031bafc0189544fa.js +1 -0
  196. package/assets/esri/core/workers/chunks/427dec43ef2d67467699.js +1 -0
  197. package/assets/esri/core/workers/chunks/{746b3e98bad32c366a27.js → 444f0f51b3ee0b9845a5.js} +1 -1
  198. package/assets/esri/core/workers/chunks/4d51261d6131c07402cd.js +1 -0
  199. package/assets/esri/core/workers/chunks/{8ccf2f65d8ed3c48ffff.js → 4d8670f6fa8952b7bab6.js} +1 -1
  200. package/assets/esri/core/workers/chunks/{f209a7076d67cbf4d205.js → 4e676e888a935c507d90.js} +1 -1
  201. package/assets/esri/core/workers/chunks/50d5d6654ada9f28345d.js +1 -0
  202. package/assets/esri/core/workers/chunks/54c6e870262469d0d702.js +1 -0
  203. package/assets/esri/core/workers/chunks/55ee78923987ed17ea8c.js +1 -0
  204. package/assets/esri/core/workers/chunks/58b3c888c8bfedbe6443.js +1 -0
  205. package/assets/esri/core/workers/chunks/58c79e15ca95238a4b43.js +1 -0
  206. package/assets/esri/core/workers/chunks/6118706b9a038e9a06b8.js +1 -0
  207. package/assets/esri/core/workers/chunks/628f56c09838eb9c573b.js +1 -0
  208. package/assets/esri/core/workers/chunks/{f11ea0d3de93ec0392af.js → 6ac5ec3ecbca8860338b.js} +1 -1
  209. package/assets/esri/core/workers/chunks/6d15229b3fa84a7acf4d.js +599 -0
  210. package/assets/esri/core/workers/chunks/6dac8dfcd63fc757ae2d.js +1 -0
  211. package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +1 -0
  212. package/assets/esri/core/workers/chunks/6f67c9f68101a084b683.js +30 -0
  213. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  214. package/assets/esri/core/workers/chunks/7314c0131403cac84ad7.js +1 -0
  215. package/assets/esri/core/workers/chunks/73545bb13c70f6a347a4.js +1 -0
  216. package/assets/esri/core/workers/chunks/74be994d789c57031631.js +1 -0
  217. package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +2 -0
  218. package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +1 -0
  219. package/assets/esri/core/workers/chunks/7ca32806e47be15109a4.js +1 -0
  220. package/assets/esri/core/workers/chunks/7cb6d8f7eaf762279632.js +1 -0
  221. package/assets/esri/core/workers/chunks/7d6ed65bbcd279448191.js +1 -0
  222. package/assets/esri/core/workers/chunks/7e6ccf9f3e756186e93e.js +1 -0
  223. package/assets/esri/core/workers/chunks/81f149e45c79b9b086fb.js +1 -0
  224. package/assets/esri/core/workers/chunks/824051af00e7a1f05ed0.js +1 -0
  225. package/assets/esri/core/workers/chunks/84fa25f66a6949290221.js +1 -0
  226. package/assets/esri/core/workers/chunks/852aabbf671d2ca9cd33.js +1 -0
  227. package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +2 -0
  228. package/assets/esri/core/workers/chunks/{2d2c10c31cc1460dd96a.js → 88827e23f8938342781c.js} +1 -1
  229. package/assets/esri/core/workers/chunks/{bc2c7cb99e227ddbd3a6.js → 89345a682dea60ef1643.js} +1 -1
  230. package/assets/esri/core/workers/chunks/8985402c328b90af5724.js +1 -0
  231. package/assets/esri/core/workers/chunks/89fdf9ad10ca8fbb08a5.js +1 -0
  232. package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +1 -0
  233. package/assets/esri/core/workers/chunks/8b094330323d9b16fb5d.js +1 -0
  234. package/assets/esri/core/workers/chunks/8b73f4d2f99c0b54cced.js +1 -0
  235. package/assets/esri/core/workers/chunks/90aed8c4b266832f84ca.js +1 -0
  236. package/assets/esri/core/workers/chunks/916a8f3eed1fafdc7242.js +1 -0
  237. package/assets/esri/core/workers/chunks/9187d1caca1fd2d713e0.js +1 -0
  238. package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +1 -0
  239. package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +1 -0
  240. package/assets/esri/core/workers/chunks/967758a05170545cd371.js +1 -0
  241. package/assets/esri/core/workers/chunks/9776c2db337222ceceef.js +1 -0
  242. package/assets/esri/core/workers/chunks/990853e9df38fdfc58b5.js +1 -0
  243. package/assets/esri/core/workers/chunks/9a21ba0c45a96b94c05e.js +1 -0
  244. package/assets/esri/core/workers/chunks/{e0a63b5861e8c975097e.js → 9aaf78b831f8739bc127.js} +1 -1
  245. package/assets/esri/core/workers/chunks/9b56162ac67c992193ce.js +1 -0
  246. package/assets/esri/core/workers/chunks/{4d378d4e021a33b0047e.js → 9be4438ce2c7180adadf.js} +1 -1
  247. package/assets/esri/core/workers/chunks/a169d9fe66b5865911d9.js +1 -0
  248. package/assets/esri/core/workers/chunks/a1e6187c239fdc7553ed.js +1 -0
  249. package/assets/esri/core/workers/chunks/a5a46d0a0831497cf1b4.js +1 -0
  250. package/assets/esri/core/workers/chunks/a5afcd633b32e6ee31a7.js +1 -0
  251. package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +1 -0
  252. package/assets/esri/core/workers/chunks/a65d576e90179a2b5400.js +1 -0
  253. package/assets/esri/core/workers/chunks/a760be8fa6c6ea6b745c.js +1 -0
  254. package/assets/esri/core/workers/chunks/a8782286ce3c0d6c20e6.js +1 -0
  255. package/assets/esri/core/workers/chunks/{38328a785365c4783b1e.js → a994a3c912a33b2f4100.js} +1 -1
  256. package/assets/esri/core/workers/chunks/{678c9f15712cf3d3bb9e.js → aa1a3a849aba84cf585b.js} +1 -1
  257. package/assets/esri/core/workers/chunks/abcc5fb71be2bd94878c.js +1 -0
  258. package/assets/esri/core/workers/chunks/ae0a572cbbdd9815ee2e.js +1 -0
  259. package/assets/esri/core/workers/chunks/aecb05df4ad1454f5435.js +1 -0
  260. package/assets/esri/core/workers/chunks/aecb105db7cec2c9c4c5.js +1 -0
  261. package/assets/esri/core/workers/chunks/b19f33e026a2a43b17c4.js +1 -0
  262. package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +1 -0
  263. package/assets/esri/core/workers/chunks/b2983f521d8c96becd8a.js +1 -0
  264. package/assets/esri/core/workers/chunks/b5922991d2f450e6a9d9.js +1 -0
  265. package/assets/esri/core/workers/chunks/b8643976a7f984552d94.js +1 -0
  266. package/assets/esri/core/workers/chunks/ba4259aa050169c1d523.js +1 -0
  267. package/assets/esri/core/workers/chunks/bc53ce9a643f82d516c2.js +1 -0
  268. package/assets/esri/core/workers/chunks/{81b2985b83be8f8f1090.js → c06d021180418f2014de.js} +1 -1
  269. package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +1 -0
  270. package/assets/esri/core/workers/chunks/{0e2e4cb34ac6aac88ebf.js → c178e2cfc34603661b1d.js} +1 -1
  271. package/assets/esri/core/workers/chunks/c3e80c0e29ac6a7a6f80.js +1 -0
  272. package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +1 -0
  273. package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +1 -0
  274. package/assets/esri/core/workers/chunks/c9065cee85eb8dde6a42.js +1 -0
  275. package/assets/esri/core/workers/chunks/c92352b0e39576ca317a.js +1 -0
  276. package/assets/esri/core/workers/chunks/c92b40a532e708e506cc.js +1 -0
  277. package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +1 -0
  278. package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +1 -0
  279. package/assets/esri/core/workers/chunks/ce2aa75e084ee56f5e29.js +1 -0
  280. package/assets/esri/core/workers/chunks/ce44e172e2847fd8df14.js +1 -0
  281. package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +1 -0
  282. package/assets/esri/core/workers/chunks/cff7e921649aef715c78.js +1 -0
  283. package/assets/esri/core/workers/chunks/d05a7ce6c1d4b883ed4c.js +30 -0
  284. package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +2 -0
  285. package/assets/esri/core/workers/chunks/{478879ba965798f61bf3.js → d69110ec4078c583a05e.js} +1 -1
  286. package/assets/esri/core/workers/chunks/d8c0d18f0132872decd3.js +1 -0
  287. package/assets/esri/core/workers/chunks/db0061a6d5bf454cc509.js +1 -0
  288. package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +1 -0
  289. package/assets/esri/core/workers/chunks/dcfafcf4386f2940d000.js +1 -0
  290. package/assets/esri/core/workers/chunks/deb8a0b306d7b9c86b97.js +1 -0
  291. package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +1 -0
  292. package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +1 -0
  293. package/assets/esri/core/workers/chunks/e2b034c391c603f7f825.js +1 -0
  294. package/assets/esri/core/workers/chunks/e77d958cb62536b8eebc.js +1 -0
  295. package/assets/esri/core/workers/chunks/e797d45eba0884dc7e6f.js +1 -0
  296. package/assets/esri/core/workers/chunks/{453280ea87a696a4df81.js → e81a3da05fcff97b4752.js} +1 -1
  297. package/assets/esri/core/workers/chunks/e957d52cb9643961a843.js +1127 -0
  298. package/assets/esri/core/workers/chunks/{915a5e8aecf25f3bc72b.js → eb3cdc4ff45243fc3cc5.js} +1 -1
  299. package/assets/esri/core/workers/chunks/eb9982bc866976fef960.js +1 -0
  300. package/assets/esri/core/workers/chunks/{edc2e87968c958bc852b.js → ec4669a0edeca94710e0.js} +1 -1
  301. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +1 -0
  302. package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +2 -0
  303. package/assets/esri/core/workers/chunks/f52443cd203e687551da.js +1 -0
  304. package/assets/esri/core/workers/chunks/f653970d983f17fb764b.js +1 -0
  305. package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +1 -0
  306. package/assets/esri/core/workers/chunks/f6d5dd2eef0d9918096e.js +1 -0
  307. package/assets/esri/core/workers/chunks/f89976ec97938bf86996.js +1 -0
  308. package/assets/esri/core/workers/chunks/f9edc685099f51363f41.js +1 -0
  309. package/assets/esri/core/workers/chunks/fa687ba2d66fcc2501da.js +1 -0
  310. package/assets/esri/core/workers/chunks/fe68c28d3c61f116ff23.js +1 -0
  311. package/assets/esri/core/workers/chunks/fef5dc19736f12dfa99a.js +1 -0
  312. package/assets/esri/core/workers/chunks/ffcd4fca7f67e1f943f1.js +1 -0
  313. package/assets/esri/themes/dark/main.css +1 -1
  314. package/assets/esri/themes/light/main.css +1 -1
  315. package/assets/esri/themes/light/view.css +1 -1
  316. package/chunks/OITDim.glsl.js +3 -4
  317. package/config.js +1 -1
  318. package/core/workers/WorkerHandle.js +1 -1
  319. package/geometry/Mesh.js +1 -1
  320. package/geometry/support/DoubleArray.js +1 -1
  321. package/geometry/support/triangulationUtilsDeprecated.js +1 -1
  322. package/kernel.js +1 -1
  323. package/package.json +3 -3
  324. package/popup/Feature.d.ts +2 -0
  325. package/popup/Feature.js +1 -1
  326. package/popup/actions.js +1 -1
  327. package/support/revision.js +1 -1
  328. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  329. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  330. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  331. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  332. package/views/2d/layers/imagery/ImageryView2D.js +1 -1
  333. package/views/2d/layers/imagery/VectorFieldView2D.js +1 -1
  334. package/views/3d/FocusAreasView.js +1 -1
  335. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementController.js +1 -1
  336. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  337. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  338. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  339. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  340. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  341. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  342. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  343. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  344. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  345. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  346. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  347. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  348. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  349. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  350. package/views/3d/support/renderInfoUtils/polygonDeprecated.js +1 -1
  351. package/views/3d/terrain/PatchRenderData.js +1 -1
  352. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  353. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  354. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  355. package/views/3d/webgl-engine/lib/SamplerRepository.js +2 -0
  356. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  357. package/views/ViewAnimation.d.ts +2 -21
  358. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  359. package/views/support/rasterHitTestUtils.js +2 -0
  360. package/views/webgl/Sampler.js +1 -1
  361. package/widgets/support/widgetUtils.js +1 -1
  362. package/assets/esri/core/workers/chunks/01be1315c60810651783.js +0 -1
  363. package/assets/esri/core/workers/chunks/0dd12d6af0cf7707109c.js +0 -2
  364. package/assets/esri/core/workers/chunks/155f57fe9886ef322e2a.js +0 -1
  365. package/assets/esri/core/workers/chunks/170f4d83555d238e365b.js +0 -1
  366. package/assets/esri/core/workers/chunks/171cca726a763c770469.js +0 -1
  367. package/assets/esri/core/workers/chunks/1761dc5799850ca7b66c.js +0 -1
  368. package/assets/esri/core/workers/chunks/17d54e77001ccb48a258.js +0 -1
  369. package/assets/esri/core/workers/chunks/19afacc9a741038e4bfb.js +0 -1
  370. package/assets/esri/core/workers/chunks/1a198c9e17f7a058669e.js +0 -1
  371. package/assets/esri/core/workers/chunks/1ae4e43a399e1974f106.js +0 -1
  372. package/assets/esri/core/workers/chunks/1c742bfe3b0aa51823d1.js +0 -1
  373. package/assets/esri/core/workers/chunks/1d8777266fb1c5cfca55.js +0 -1
  374. package/assets/esri/core/workers/chunks/1f76c06af4682c85bc21.js +0 -1
  375. package/assets/esri/core/workers/chunks/205e957ffd7e95f530f7.js +0 -1
  376. package/assets/esri/core/workers/chunks/210629f3c28d4339c655.js +0 -1
  377. package/assets/esri/core/workers/chunks/21a8e2a11ffacc226e2b.js +0 -1
  378. package/assets/esri/core/workers/chunks/27643750dce502fedef3.js +0 -1
  379. package/assets/esri/core/workers/chunks/29b1a4ce7646b403008e.js +0 -1
  380. package/assets/esri/core/workers/chunks/2a65bbe6c63c384cbf5f.js +0 -1
  381. package/assets/esri/core/workers/chunks/2fa69ca3ba8c442dd7d6.js +0 -1
  382. package/assets/esri/core/workers/chunks/35217befc8f9882d139e.js +0 -1
  383. package/assets/esri/core/workers/chunks/3a2ecb883fdb5c598544.js +0 -30
  384. package/assets/esri/core/workers/chunks/3eef3c2e94aa2a00d76a.js +0 -1
  385. package/assets/esri/core/workers/chunks/40d6ad030614099155cd.js +0 -1414
  386. package/assets/esri/core/workers/chunks/41e59d75ccb51a238739.js +0 -1
  387. package/assets/esri/core/workers/chunks/44016e1176629c36bc11.js +0 -1
  388. package/assets/esri/core/workers/chunks/499b899bf88aaf29230d.js +0 -1
  389. package/assets/esri/core/workers/chunks/4b0d6309abf273f1f79f.js +0 -1
  390. package/assets/esri/core/workers/chunks/4e07827ab870c65377d3.js +0 -1
  391. package/assets/esri/core/workers/chunks/51852ef71ac04954fdae.js +0 -1
  392. package/assets/esri/core/workers/chunks/53b797e384be9628fc94.js +0 -1
  393. package/assets/esri/core/workers/chunks/549a51dedcc49f366e53.js +0 -1
  394. package/assets/esri/core/workers/chunks/54c0306082d30d59cba2.js +0 -1
  395. package/assets/esri/core/workers/chunks/57cdd5d4ae073d5ca725.js +0 -1
  396. package/assets/esri/core/workers/chunks/5b9257c5359fa05f4f28.js +0 -1
  397. package/assets/esri/core/workers/chunks/5d574079f0e96e883aab.js +0 -1
  398. package/assets/esri/core/workers/chunks/5d967bcf71c05ddb1ab6.js +0 -1
  399. package/assets/esri/core/workers/chunks/60d0f8a949b130baff81.js +0 -1
  400. package/assets/esri/core/workers/chunks/61778185d702da468b00.js +0 -1
  401. package/assets/esri/core/workers/chunks/61b49cdaf288f36f9288.js +0 -1
  402. package/assets/esri/core/workers/chunks/621ea864e2774f160d1c.js +0 -1
  403. package/assets/esri/core/workers/chunks/679086351352756b33c9.js +0 -1
  404. package/assets/esri/core/workers/chunks/681e97ebbf9c69c410c6.js +0 -1
  405. package/assets/esri/core/workers/chunks/69644b8a6ce340ca1159.js +0 -1
  406. package/assets/esri/core/workers/chunks/6a567755b67c06d16f21.js +0 -1
  407. package/assets/esri/core/workers/chunks/6e7bb6d3e739527116a4.js +0 -1
  408. package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +0 -1
  409. package/assets/esri/core/workers/chunks/71326d16b5cc35c3ff7f.js +0 -1
  410. package/assets/esri/core/workers/chunks/78fbfc03d9b827c3f767.js +0 -1
  411. package/assets/esri/core/workers/chunks/7d0350f459844162d3a7.js +0 -1
  412. package/assets/esri/core/workers/chunks/7e39e9d4d68843b60e4c.js +0 -1
  413. package/assets/esri/core/workers/chunks/823127b23bec07e1f9d0.js +0 -2
  414. package/assets/esri/core/workers/chunks/84eb889b9cce35dac2e5.js +0 -1
  415. package/assets/esri/core/workers/chunks/888f6387e795d45a7ad3.js +0 -2
  416. package/assets/esri/core/workers/chunks/891d97d0da6361d63679.js +0 -1
  417. package/assets/esri/core/workers/chunks/8969788c57bcc11bf77b.js +0 -1
  418. package/assets/esri/core/workers/chunks/8d6da6573d07385f4ed5.js +0 -1
  419. package/assets/esri/core/workers/chunks/8ede12f54b215c52cf3c.js +0 -1
  420. package/assets/esri/core/workers/chunks/8fb336c2066113300d0d.js +0 -1
  421. package/assets/esri/core/workers/chunks/8fed6becd107d2ed9bbd.js +0 -1
  422. package/assets/esri/core/workers/chunks/97062996e1e4196cfa7c.js +0 -1
  423. package/assets/esri/core/workers/chunks/97210bcb5e3cf3ac961b.js +0 -1
  424. package/assets/esri/core/workers/chunks/9c819ebdc98ed8b6afcf.js +0 -1
  425. package/assets/esri/core/workers/chunks/9d7ffd83f69d6e639f09.js +0 -1
  426. package/assets/esri/core/workers/chunks/9dfd00972c12a4adc15d.js +0 -1
  427. package/assets/esri/core/workers/chunks/9fab410b9fa668dc498b.js +0 -1
  428. package/assets/esri/core/workers/chunks/a061a17b62686f945e81.js +0 -1
  429. package/assets/esri/core/workers/chunks/a30815a0155a3b8790b4.js +0 -1
  430. package/assets/esri/core/workers/chunks/a43decc8ede8b4910553.js +0 -1
  431. package/assets/esri/core/workers/chunks/a462aa1c7b68efad6906.js +0 -1
  432. package/assets/esri/core/workers/chunks/a520f83ae0c3c3e78858.js +0 -1
  433. package/assets/esri/core/workers/chunks/a5d9dbb1fef8c4465943.js +0 -1
  434. package/assets/esri/core/workers/chunks/a73e8b80760dc88f926f.js +0 -1
  435. package/assets/esri/core/workers/chunks/b014f0b2385dc82dc683.js +0 -2
  436. package/assets/esri/core/workers/chunks/b2120c4c56656be941ae.js +0 -1
  437. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +0 -1
  438. package/assets/esri/core/workers/chunks/b85c9ceeece1bae67a16.js +0 -1
  439. package/assets/esri/core/workers/chunks/b8e85b7d5eed6e7c79b5.js +0 -1
  440. package/assets/esri/core/workers/chunks/bbdf27bc34fadbe8e6fe.js +0 -1
  441. package/assets/esri/core/workers/chunks/bc85bb82cfcbc216fa31.js +0 -1
  442. package/assets/esri/core/workers/chunks/be42fe0b7ba0e27030b2.js +0 -1
  443. package/assets/esri/core/workers/chunks/be4d13088a557b7de4b1.js +0 -1
  444. package/assets/esri/core/workers/chunks/be61ea8e1883b915bbb1.js +0 -1
  445. package/assets/esri/core/workers/chunks/bf758d57091fa534c1f8.js +0 -1
  446. package/assets/esri/core/workers/chunks/bfd516c37fb717e14d71.js +0 -1
  447. package/assets/esri/core/workers/chunks/c22945637a40355fbe61.js +0 -1
  448. package/assets/esri/core/workers/chunks/c25a58d9f94aaa96957d.js +0 -1
  449. package/assets/esri/core/workers/chunks/c6a43f748dbf8bac4bb5.js +0 -1
  450. package/assets/esri/core/workers/chunks/c7ca47f5d4b2f3885239.js +0 -1
  451. package/assets/esri/core/workers/chunks/d024278a1c2aa7d22be3.js +0 -1
  452. package/assets/esri/core/workers/chunks/d264aed5dbe09e34040f.js +0 -1
  453. package/assets/esri/core/workers/chunks/d4e55eb75fa4d3ac1e84.js +0 -1
  454. package/assets/esri/core/workers/chunks/d5c7ebfd5c2ca635a7a8.js +0 -1
  455. package/assets/esri/core/workers/chunks/d635f97b7b82a37482d6.js +0 -1
  456. package/assets/esri/core/workers/chunks/d7b92bd9198dd3b27eb5.js +0 -1
  457. package/assets/esri/core/workers/chunks/d816d1a4220d827faf63.js +0 -1
  458. package/assets/esri/core/workers/chunks/d82b543c96f09ded3bf9.js +0 -2
  459. package/assets/esri/core/workers/chunks/d8dde0d1759e009b8373.js +0 -1
  460. package/assets/esri/core/workers/chunks/da0a61f73d45ea9e71fc.js +0 -1
  461. package/assets/esri/core/workers/chunks/e305ced975d885c28e7e.js +0 -1
  462. package/assets/esri/core/workers/chunks/e3c60b7df2740e600066.js +0 -1
  463. package/assets/esri/core/workers/chunks/e5801b0f3893d4d4f5b0.js +0 -1
  464. package/assets/esri/core/workers/chunks/e59f5dc8c85bcea66e98.js +0 -1
  465. package/assets/esri/core/workers/chunks/e611cd03eee4fae7c413.js +0 -1
  466. package/assets/esri/core/workers/chunks/e62d08f5488a74cbda82.js +0 -1
  467. package/assets/esri/core/workers/chunks/e64a92b6f4075616f40f.js +0 -1
  468. package/assets/esri/core/workers/chunks/e78b442417f6a903b9b1.js +0 -1
  469. package/assets/esri/core/workers/chunks/ef0fe4e1a9e960a74c60.js +0 -1
  470. package/assets/esri/core/workers/chunks/efbbcf467b2a27a92b85.js +0 -1
  471. package/assets/esri/core/workers/chunks/f201edf9b68717a6106d.js +0 -1
  472. package/assets/esri/core/workers/chunks/f59f1db572be1f19887f.js +0 -1
  473. package/assets/esri/core/workers/chunks/f9cde38cb56c547e87e5.js +0 -1
  474. package/assets/esri/core/workers/chunks/fd6bbe47773bbd9f7dd9.js +0 -1
  475. package/assets/esri/core/workers/chunks/fe3b42eadcdd9ba54f05.js +0 -1
  476. /package/assets/esri/core/workers/chunks/{0dd12d6af0cf7707109c.js.LICENSE.txt → 7bacdd65a6cc4d284e0a.js.LICENSE.txt} +0 -0
  477. /package/assets/esri/core/workers/chunks/{823127b23bec07e1f9d0.js.LICENSE.txt → 85edbb072a2ce6c1bb30.js.LICENSE.txt} +0 -0
  478. /package/assets/esri/core/workers/chunks/{888f6387e795d45a7ad3.js.LICENSE.txt → d4a9eb4470cc6a1f67fc.js.LICENSE.txt} +0 -0
  479. /package/assets/esri/core/workers/chunks/{b014f0b2385dc82dc683.js.LICENSE.txt → f09a41ad239d467d9438.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3456,3637,5611,6061,7992],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{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}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(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]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return i(1,1,1)}function h(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>d,Cw:()=>g,JP:()=>x,Un:()=>m,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>l,vt:()=>r});const l=[0,0,0],m=u(),g=h(),x=c(),d=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:g,UNIT_Y:x,UNIT_Z:d,ZEROS:l,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:u,unitX:h,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>A,DI:()=>E,Il:()=>k,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>S,_S:()=>m,aI:()=>Y,ei:()=>O,fw:()=>w,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>V,jk:()=>g,lo:()=>L,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>R,tn:()=>l,uE:()=>G,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function b(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function A(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function O(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function P(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,f=n*a-r*o,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}const Z=(0,r.vt)(),F=(0,r.vt)();function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const V=h,T=c,z=f,X=M,L=y,k=i,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:function(t,e){b(Z,t),b(F,e);const n=_(Z,F);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,f=r*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:N,dist:X,distance:M,div:z,divide:f,dot:_,equals:Y,exactEquals:R,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:k,length:i,lerp:A,max:x,min:g,mul:T,multiply:c,negate:C,normalize:b,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:p,set:a,sign:m,sqrDist:L,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:V,subtract:h,transformMat3:O,transformMat4:S,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(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 h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>A,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>Y,gh:()=>b,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=P(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=O(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new S(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let p=0;if(!s.hasCurves()){for(const t of n){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(M(10),++s.segmentCountArc,y=F(n,r,s,i,y),n=r.a[0]):(0,l.DA)(r)?(M(10),++s.segmentCountArc,y=R(n,r,s,i,y),n=r.a[0]):(0,l.aO)(r)?(M(10),++s.segmentCountArc,y=Y(n,r,s,i,y),n=r.c[0]):(0,l.n1)(r)?(M(4),++s.segmentCountBezier,y=V(0,r,s,i,y),n=r.b[0]):n=r}x&&w(e,n)||f(n)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=O(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const h=Z(t,u,o,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return N(a,4,...(0,h.mq)(a,.5),s,o)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,N((0,c.pM)(t,e),0,...e.c[1],s,o)}function N(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},81150(t,e,n){n.d(e,{Pg:()=>u,fz:()=>h,g7:()=>o,zo:()=>a});var r=n(76061),s=(n(55537),n(88885),n(15756));n(95213);const i=new s.f;function o(t,e,n){return i.execute(t,e,n,null)}function a(t,e,n){const s=i.executeMany(new r.S(t),e,n,null);return Array.from(s)}function u(t,e,n){return i.isSimpleAsFeature(t,e,n,null,null)}function h(){return i.supportsCurves()}},3637(t,e,n){n.r(e),n.d(e,{execute:()=>i,executeMany:()=>o,isSimple:()=>a});var r=n(81150),s=n(83299);function i(t){const e=(0,s.fromGeometry)(t),n=e.getSpatialReference();return(0,s.toGeometry)((0,r.g7)(e.getGeometry(),n,!1),n)}function o(t){const[e,n]=(0,s.fromGeometries)(t);return(0,r.zo)(e,n,!1).map(t=>(0,s.toGeometry)(t,n))}function a(t){const e=(0,s.fromGeometry)(t);return(0,r.Pg)(e.getGeometry(),e.getSpatialReference(),!1)}},4197(t,e,n){n.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{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 c(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 f(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 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[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(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 g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(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 p(t){return t?d(t,E):i(E)}function M(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 y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([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,r.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 n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9535],{5482(t,e,n){function r(t,e,n,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,n,o):s(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o}function s(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function o(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function s(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(t){return e(t),s()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},91869(t,e,n){function r(t,e){for(const n of t.values())if(e(n))return!0;return!1}function s(t,e,n){const r=t.get(e);if(void 0!==r)return r;const s=n();return t.set(e,s),s}function i(t){const e=new Map;return n=>(e.has(n)||e.set(n,t(n)),e.get(n))}n.d(e,{Bj:()=>i,Bs:()=>r,tE:()=>s})},4341(t,e,n){n.d(e,{I:()=>s});var r=n(26390);class s{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*i);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,i));t++)this._items.push(this._allocator())}}const i=1024},29242(t,e,n){function r(){return[1,0,0,0,1,0,0,0,1]}function s(t,e,n,r,s,i,o,a,c){return[t,e,n,r,s,i,o,a,c]}n.d(e,{fA:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:s},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(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]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,c,u,h,l,f,d,m,M){return[t,e,n,r,s,i,o,a,c,u,h,l,f,d,m,M]}},Symbol.toStringTag,{value:"Module"}))},82534(t,e,n){function r(){return[0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},77690(t,e,n){n.d(e,{B8:()=>a,Ge:()=>d,I0:()=>f,KC:()=>c,a4:()=>u,hZ:()=>i,hs:()=>l,lw:()=>h,mg:()=>o,z0:()=>s});var r=n(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function i(t,e,n,r,s,i,o,a,c,u){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=a,t[7]=c,t[8]=u,t}function o(t,e){if(t===e){const n=e[1],r=e[2],s=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=s}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function a(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=h*o-a*u,f=-h*i+a*c,d=u*i-o*c;let m=n*l+r*f+s*d;return m?(m=1/m,t[0]=l*m,t[1]=(-h*r+s*u)*m,t[2]=(a*r-s*o)*m,t[3]=f*m,t[4]=(h*n-s*c)*m,t[5]=(-a*n+s*i)*m,t[6]=d*m,t[7]=(-u*n+r*c)*m,t[8]=(o*n-r*i)*m,t):null}function c(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8];return t[0]=o*h-a*u,t[1]=s*u-r*h,t[2]=r*a-s*o,t[3]=a*c-i*h,t[4]=n*h-s*c,t[5]=s*i-n*a,t[6]=i*u-o*c,t[7]=r*c-n*u,t[8]=n*o-r*i,t}function u(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],a=t[6],c=t[7],u=t[8];return e*(u*i-o*c)+n*(-u*s+o*a)+r*(c*s-i*a)}function h(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=n[0],d=n[1],m=n[2],M=n[3],b=n[4],_=n[5],g=n[6],p=n[7],v=n[8];return t[0]=f*r+d*o+m*u,t[1]=f*s+d*a+m*h,t[2]=f*i+d*c+m*l,t[3]=M*r+b*o+_*u,t[4]=M*s+b*a+_*h,t[5]=M*i+b*c+_*l,t[6]=g*r+p*o+v*u,t[7]=g*s+p*a+v*h,t[8]=g*i+p*c+v*l,t}function l(t,e,n){const r=n[0],s=n[1],i=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=s*e[3],t[4]=s*e[4],t[5]=s*e[5],t[6]=i*e[6],t[7]=i*e[7],t[8]=i*e[8],t}function f(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,a=r+r,c=s+s,u=n*o,h=r*o,l=r*a,f=s*o,d=s*a,m=s*c,M=i*o,b=i*a,_=i*c;return t[0]=1-l-m,t[3]=h-_,t[6]=f+b,t[1]=h+_,t[4]=1-u-m,t[7]=d-M,t[2]=f-b,t[5]=d+M,t[8]=1-u-l,t}function d(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=e[9],f=e[10],d=e[11],m=e[12],M=e[13],b=e[14],_=e[15],g=n*a-r*o,p=n*c-s*o,v=n*u-i*o,y=r*c-s*a,S=r*u-i*a,x=s*u-i*c,w=h*M-l*m,A=h*b-f*m,j=h*_-d*m,O=l*b-f*M,T=l*_-d*M,C=f*_-d*b;let E=g*C-p*T+v*O+y*j-S*A+x*w;return E?(E=1/E,t[0]=(a*C-c*T+u*O)*E,t[1]=(c*j-o*C-u*A)*E,t[2]=(o*T-a*j+u*w)*E,t[3]=(s*T-r*C-i*O)*E,t[4]=(n*C-s*j+i*A)*E,t[5]=(r*j-n*T-i*w)*E,t[6]=(M*x-b*S+_*y)*E,t[7]=(b*v-m*x-_*p)*E,t[8]=(m*S-M*v+_*g)*E,t):null}function m(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}const M=h,b=m;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:c,copy:function(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[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:u,equals:function(t,e){const n=t[0],s=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],h=t[7],l=t[8],f=e[0],d=e[1],m=e[2],M=e[3],b=e[4],_=e[5],g=e[6],p=e[7],v=e[8],y=(0,r.FD)();return Math.abs(n-f)<=y*Math.max(1,Math.abs(n),Math.abs(f))&&Math.abs(s-d)<=y*Math.max(1,Math.abs(s),Math.abs(d))&&Math.abs(i-m)<=y*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(o-M)<=y*Math.max(1,Math.abs(o),Math.abs(M))&&Math.abs(a-b)<=y*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(c-_)<=y*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(u-g)<=y*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(h-p)<=y*Math.max(1,Math.abs(h),Math.abs(p))&&Math.abs(l-v)<=y*Math.max(1,Math.abs(l),Math.abs(v))},exactEquals:function(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[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:s,fromQuat:f,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:a,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],s=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],h=t[7],l=t[8];return Math.abs(1-(n*n+o*o+u*u))<=e&&Math.abs(1-(s*s+a*a+h*h))<=e&&Math.abs(1-(i*i+c*c+l*l))<=e},mul:M,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},normalFromMat4:d,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],a=e[6],c=e[8],u=e[9],h=e[10],l=h*o-a*u,f=-h*i+a*c,d=u*i-o*c,m=n*l+r*f+s*d;if(!m)return null;const M=1/m;return t[0]=l*M,t[1]=(-h*r+s*u)*M,t[2]=(a*r-s*o)*M,t[3]=f*M,t[4]=(h*n-s*c)*M,t[5]=(-a*n+s*i)*M,t[6]=d*M,t[7]=(-u*n+r*c)*M,t[8]=(o*n-r*i)*M,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=Math.sin(n),d=Math.cos(n);return t[0]=d*r+f*o,t[1]=d*s+f*a,t[2]=d*i+f*c,t[3]=d*o-f*r,t[4]=d*a-f*s,t[5]=d*c-f*i,t[6]=u,t[7]=h,t[8]=l,t},scale:l,scaleByVec2:function(t,e,n){const r=n[0],s=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=s*e[3],t[4]=s*e[4],t[5]=s*e[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:b,subtract:m,translate:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=n[0],d=n[1];return t[0]=r,t[1]=s,t[2]=i,t[3]=o,t[4]=a,t[5]=c,t[6]=f*r+d*o+u,t[7]=f*s+d*a+h,t[8]=f*i+d*c+l,t},transpose:o},Symbol.toStringTag,{value:"Module"}))},58083(t,e,n){n.d(e,{$0:()=>b,$h:()=>j,B8:()=>u,C:()=>i,D_:()=>a,N9:()=>g,O7:()=>A,Tl:()=>l,X_:()=>S,aI:()=>E,e$:()=>d,eL:()=>m,hM:()=>_,hZ:()=>o,hs:()=>f,kN:()=>M,l:()=>x,lw:()=>h,mg:()=>c,o1:()=>w,sC:()=>y,t2:()=>C,t5:()=>O,tZ:()=>q,ut:()=>P});var r=n(51850),s=n(34304);function i(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[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(t,e,n,r,s,i,o,a,c,u,h,l,f,d,m,M,b){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=a,t[7]=c,t[8]=u,t[9]=h,t[10]=l,t[11]=f,t[12]=d,t[13]=m,t[14]=M,t[15]=b,t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function c(t,e){if(t===e){const n=e[1],r=e[2],s=e[3],i=e[6],o=e[7],a=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=s,t[13]=o,t[14]=a}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=e[9],f=e[10],d=e[11],m=e[12],M=e[13],b=e[14],_=e[15],g=n*a-r*o,p=n*c-s*o,v=n*u-i*o,y=r*c-s*a,S=r*u-i*a,x=s*u-i*c,w=h*M-l*m,A=h*b-f*m,j=h*_-d*m,O=l*b-f*M,T=l*_-d*M,C=f*_-d*b;let E=g*C-p*T+v*O+y*j-S*A+x*w;return E?(E=1/E,t[0]=(a*C-c*T+u*O)*E,t[1]=(s*T-r*C-i*O)*E,t[2]=(M*x-b*S+_*y)*E,t[3]=(f*S-l*x-d*y)*E,t[4]=(c*j-o*C-u*A)*E,t[5]=(n*C-s*j+i*A)*E,t[6]=(b*v-m*x-_*p)*E,t[7]=(h*x-f*v+d*p)*E,t[8]=(o*T-a*j+u*w)*E,t[9]=(r*j-n*T-i*w)*E,t[10]=(m*S-M*v+_*g)*E,t[11]=(l*v-h*S-d*g)*E,t[12]=(a*A-o*O-c*w)*E,t[13]=(n*O-r*A+s*w)*E,t[14]=(M*p-m*y-b*g)*E,t[15]=(h*y-l*p+f*g)*E,t):null}function h(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=e[9],d=e[10],m=e[11],M=e[12],b=e[13],_=e[14],g=e[15];let p=n[0],v=n[1],y=n[2],S=n[3];return t[0]=p*r+v*a+y*l+S*M,t[1]=p*s+v*c+y*f+S*b,t[2]=p*i+v*u+y*d+S*_,t[3]=p*o+v*h+y*m+S*g,p=n[4],v=n[5],y=n[6],S=n[7],t[4]=p*r+v*a+y*l+S*M,t[5]=p*s+v*c+y*f+S*b,t[6]=p*i+v*u+y*d+S*_,t[7]=p*o+v*h+y*m+S*g,p=n[8],v=n[9],y=n[10],S=n[11],t[8]=p*r+v*a+y*l+S*M,t[9]=p*s+v*c+y*f+S*b,t[10]=p*i+v*u+y*d+S*_,t[11]=p*o+v*h+y*m+S*g,p=n[12],v=n[13],y=n[14],S=n[15],t[12]=p*r+v*a+y*l+S*M,t[13]=p*s+v*c+y*f+S*b,t[14]=p*i+v*u+y*d+S*_,t[15]=p*o+v*h+y*m+S*g,t}function l(t,e,n){const r=n[0],s=n[1],i=n[2];if(e===t)t[12]=e[0]*r+e[4]*s+e[8]*i+e[12],t[13]=e[1]*r+e[5]*s+e[9]*i+e[13],t[14]=e[2]*r+e[6]*s+e[10]*i+e[14],t[15]=e[3]*r+e[7]*s+e[11]*i+e[15];else{const n=e[0],o=e[1],a=e[2],c=e[3],u=e[4],h=e[5],l=e[6],f=e[7],d=e[8],m=e[9],M=e[10],b=e[11];t[0]=n,t[1]=o,t[2]=a,t[3]=c,t[4]=u,t[5]=h,t[6]=l,t[7]=f,t[8]=d,t[9]=m,t[10]=M,t[11]=b,t[12]=n*r+u*s+d*i+e[12],t[13]=o*r+h*s+m*i+e[13],t[14]=a*r+l*s+M*i+e[14],t[15]=c*r+f*s+b*i+e[15]}return t}function f(t,e,n){const r=n[0],s=n[1],i=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function d(t,e,n,r){let o=r[0],a=r[1],c=r[2],u=Math.sqrt(o*o+a*a+c*c);if(u<=(0,s.FD)())return void i(t,e);u=1/u,o*=u,a*=u,c*=u;const h=Math.sin(n),l=Math.cos(n),f=1-l,d=e[0],m=e[1],M=e[2],b=e[3],_=e[4],g=e[5],p=e[6],v=e[7],y=e[8],S=e[9],x=e[10],w=e[11],A=o*o*f+l,j=a*o*f+c*h,O=c*o*f-a*h,T=o*a*f-c*h,C=a*a*f+l,E=c*a*f+o*h,P=o*c*f+a*h,q=a*c*f-o*h,R=c*c*f+l;t[0]=d*A+_*j+y*O,t[1]=m*A+g*j+S*O,t[2]=M*A+p*j+x*O,t[3]=b*A+v*j+w*O,t[4]=d*T+_*C+y*E,t[5]=m*T+g*C+S*E,t[6]=M*T+p*C+x*E,t[7]=b*T+v*C+w*E,t[8]=d*P+_*q+y*R,t[9]=m*P+g*q+S*R,t[10]=M*P+p*q+x*R,t[11]=b*P+v*q+w*R,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function m(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[4],o=e[5],a=e[6],c=e[7],u=e[8],h=e[9],l=e[10],f=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*s+u*r,t[5]=o*s+h*r,t[6]=a*s+l*r,t[7]=c*s+f*r,t[8]=u*s-i*r,t[9]=h*s-o*r,t[10]=l*s-a*r,t[11]=f*s-c*r,t}function M(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function b(t,e,n){if(0===e)return a(t);let r=n[0],i=n[1],o=n[2],c=Math.sqrt(r*r+i*i+o*o);if(c<=(0,s.FD)())return null;c=1/c,r*=c,i*=c,o*=c;const u=Math.sin(e),h=Math.cos(e),l=1-h;return t[0]=r*r*l+h,t[1]=i*r*l+o*u,t[2]=o*r*l-i*u,t[3]=0,t[4]=r*i*l-o*u,t[5]=i*i*l+h,t[6]=o*i*l+r*u,t[7]=0,t[8]=r*o*l+i*u,t[9]=i*o*l-r*u,t[10]=o*o*l+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function _(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function p(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=r+r,c=s+s,u=i+i,h=r*a,l=r*c,f=r*u,d=s*c,m=s*u,M=i*u,b=o*a,_=o*c,g=o*u;return t[0]=1-(d+M),t[1]=l+g,t[2]=f-_,t[3]=0,t[4]=l-g,t[5]=1-(h+M),t[6]=m+b,t[7]=0,t[8]=f+_,t[9]=m-b,t[10]=1-(h+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const v=(0,r.vt)();function y(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function S(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],a=e[6],c=e[8],u=e[9],h=e[10];return t[0]=Math.sqrt(n*n+r*r+s*s),t[1]=Math.sqrt(i*i+o*o+a*a),t[2]=Math.sqrt(c*c+u*u+h*h),t}function x(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function w(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=e[3],c=s+s,u=i+i,h=o+o,l=s*c,f=s*u,d=s*h,m=i*u,M=i*h,b=o*h,_=a*c,g=a*u,p=a*h,v=r[0],y=r[1],S=r[2];return t[0]=(1-(m+b))*v,t[1]=(f+p)*v,t[2]=(d-g)*v,t[3]=0,t[4]=(f-p)*y,t[5]=(1-(l+b))*y,t[6]=(M+_)*y,t[7]=0,t[8]=(d+g)*S,t[9]=(M-_)*S,t[10]=(1-(l+m))*S,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function A(t,e,n,r,s){const i=e[0],o=e[1],a=e[2],c=e[3],u=i+i,h=o+o,l=a+a,f=i*u,d=i*h,m=i*l,M=o*h,b=o*l,_=a*l,g=c*u,p=c*h,v=c*l,y=r[0],S=r[1],x=r[2],w=s[0],A=s[1],j=s[2],O=(1-(M+_))*y,T=(d+v)*y,C=(m-p)*y,E=(d-v)*S,P=(1-(f+_))*S,q=(b+g)*S,R=(m+p)*x,z=(b-g)*x,I=(1-(f+M))*x;return t[0]=O,t[1]=T,t[2]=C,t[3]=0,t[4]=E,t[5]=P,t[6]=q,t[7]=0,t[8]=R,t[9]=z,t[10]=I,t[11]=0,t[12]=n[0]+w-(O*w+E*A+R*j),t[13]=n[1]+A-(T*w+P*A+z*j),t[14]=n[2]+j-(C*w+q*A+I*j),t[15]=1,t}function j(t,e,n,r,s,i,o){const a=1/(n-e),c=1/(s-r),u=1/(i-o);return t[0]=2*i*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*c,t[6]=0,t[7]=0,t[8]=(n+e)*a,t[9]=(s+r)*c,t[10]=(o+i)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*u,t[15]=0,t}function O(t,e,n,r){const i=e[0],o=e[1],c=e[2];let u=i-n[0],h=o-n[1],l=c-n[2];const f=(0,s.FD)();if(Math.abs(u)<f&&Math.abs(h)<f&&Math.abs(l)<f)return void a(t);let d=1/Math.sqrt(u*u+h*h+l*l);u*=d,h*=d,l*=d;const m=r[0],M=r[1],b=r[2];let _=M*l-b*h,g=b*u-m*l,p=m*h-M*u;d=Math.sqrt(_*_+g*g+p*p),d?(d=1/d,_*=d,g*=d,p*=d):(_=0,g=0,p=0);let v=h*p-l*g,y=l*_-u*p,S=u*g-h*_;d=Math.sqrt(v*v+y*y+S*S),d?(d=1/d,v*=d,y*=d,S*=d):(v=0,y=0,S=0),t[0]=_,t[1]=v,t[2]=u,t[3]=0,t[4]=g,t[5]=y,t[6]=h,t[7]=0,t[8]=p,t[9]=S,t[10]=l,t[11]=0,t[12]=-(_*i+g*o+p*c),t[13]=-(v*i+y*o+S*c),t[14]=-(u*i+h*o+l*c),t[15]=1}function T(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function C(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[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function E(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],h=t[7],l=t[8],f=t[9],d=t[10],m=t[11],M=t[12],b=t[13],_=t[14],g=t[15],p=e[0],v=e[1],y=e[2],S=e[3],x=e[4],w=e[5],A=e[6],j=e[7],O=e[8],T=e[9],C=e[10],E=e[11],P=e[12],q=e[13],R=e[14],z=e[15],I=(0,s.FD)();return Math.abs(n-p)<=I*Math.max(1,Math.abs(n),Math.abs(p))&&Math.abs(r-v)<=I*Math.max(1,Math.abs(r),Math.abs(v))&&Math.abs(i-y)<=I*Math.max(1,Math.abs(i),Math.abs(y))&&Math.abs(o-S)<=I*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(a-x)<=I*Math.max(1,Math.abs(a),Math.abs(x))&&Math.abs(c-w)<=I*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(u-A)<=I*Math.max(1,Math.abs(u),Math.abs(A))&&Math.abs(h-j)<=I*Math.max(1,Math.abs(h),Math.abs(j))&&Math.abs(l-O)<=I*Math.max(1,Math.abs(l),Math.abs(O))&&Math.abs(f-T)<=I*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(d-C)<=I*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(m-E)<=I*Math.max(1,Math.abs(m),Math.abs(E))&&Math.abs(M-P)<=I*Math.max(1,Math.abs(M),Math.abs(P))&&Math.abs(b-q)<=I*Math.max(1,Math.abs(b),Math.abs(q))&&Math.abs(_-R)<=I*Math.max(1,Math.abs(_),Math.abs(R))&&Math.abs(g-z)<=I*Math.max(1,Math.abs(g),Math.abs(z))}function P(t){const e=(0,s.FD)(),n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],c=t[6],u=t[8],h=t[9],l=t[10];return Math.abs(1-(n*n+o*o+u*u))<=e&&Math.abs(1-(r*r+a*a+h*h))<=e&&Math.abs(1-(i*i+c*c+l*l))<=e}function q(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const R=h,z=T;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=e[9],f=e[10],d=e[11],m=e[12],M=e[13],b=e[14],_=e[15];return t[0]=a*(f*_-d*b)-l*(c*_-u*b)+M*(c*d-u*f),t[1]=-(r*(f*_-d*b)-l*(s*_-i*b)+M*(s*d-i*f)),t[2]=r*(c*_-u*b)-a*(s*_-i*b)+M*(s*u-i*c),t[3]=-(r*(c*d-u*f)-a*(s*d-i*f)+l*(s*u-i*c)),t[4]=-(o*(f*_-d*b)-h*(c*_-u*b)+m*(c*d-u*f)),t[5]=n*(f*_-d*b)-h*(s*_-i*b)+m*(s*d-i*f),t[6]=-(n*(c*_-u*b)-o*(s*_-i*b)+m*(s*u-i*c)),t[7]=n*(c*d-u*f)-o*(s*d-i*f)+h*(s*u-i*c),t[8]=o*(l*_-d*M)-h*(a*_-u*M)+m*(a*d-u*l),t[9]=-(n*(l*_-d*M)-h*(r*_-i*M)+m*(r*d-i*l)),t[10]=n*(a*_-u*M)-o*(r*_-i*M)+m*(r*u-i*a),t[11]=-(n*(a*d-u*l)-o*(r*d-i*l)+h*(r*u-i*a)),t[12]=-(o*(l*b-f*M)-h*(a*b-c*M)+m*(a*f-c*l)),t[13]=n*(l*b-f*M)-h*(r*b-s*M)+m*(r*f-s*l),t[14]=-(n*(a*b-c*M)-o*(r*b-s*M)+m*(r*c-s*a)),t[15]=n*(a*f-c*l)-o*(r*f-s*l)+h*(r*c-s*a),t},copy:i,determinant:function(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],a=t[6],c=t[7],u=t[8],h=t[9],l=t[10],f=t[11],d=t[12],m=t[13],M=t[14],b=t[15];return(e*o-n*i)*(l*b-f*M)-(e*a-r*i)*(h*b-f*m)+(e*c-s*i)*(h*M-l*m)+(n*a-r*o)*(u*b-f*d)-(n*c-s*o)*(u*M-l*d)+(r*c-s*a)*(u*m-h*d)},equals:E,exactEquals:C,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,a=r+r,c=s+s,u=n*o,h=r*o,l=r*a,f=s*o,d=s*a,m=s*c,M=i*o,b=i*a,_=i*c;return t[0]=1-l-m,t[1]=h+_,t[2]=f-b,t[3]=0,t[4]=h-_,t[5]=1-u-m,t[6]=d+M,t[7]=0,t[8]=f+b,t[9]=d-M,t[10]=1-u-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=v,r=-e[0],s=-e[1],i=-e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=r*r+s*s+i*i+o*o;return l>0?(n[0]=2*(a*o+h*r+c*i-u*s)/l,n[1]=2*(c*o+h*s+u*r-a*i)/l,n[2]=2*(u*o+h*i+a*s-c*r)/l):(n[0]=2*(a*o+h*r+c*i-u*s),n[1]=2*(c*o+h*s+u*r-a*i),n[2]=2*(u*o+h*i+a*s-c*r)),p(t,e,n),t},fromRotation:b,fromRotationTranslation:p,fromRotationTranslationScale:w,fromRotationTranslationScaleOrigin:A,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:M,fromXRotation:_,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:j,getRotation:x,getScale:S,getTranslation:y,hasIdentityRotation:q,identity:a,invert:u,invertOrIdentity:function(t,e){return u(t,e)||a(t),t},isOrthoNormal:P,lookAt:O,mul:R,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:function(t,e,n,r,s,i,o){const a=1/(e-n),c=1/(r-s),u=1/(i-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(s+r)*c,t[14]=(o+i)*u,t[15]=1,t},perspective:function(t,e,n,r,s){const i=1/Math.tan(e/2);let o;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=s&&s!==1/0?(o=1/(r-s),t[10]=(s+r)*o,t[14]=2*s*r*o):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),a=Math.tan(e.rightDegrees*Math.PI/180),c=2/(o+a),u=2/(s+i);return t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(o-a)*c*.5,t[9]=(s-i)*u*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:d,rotateX:m,rotateY:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],c=e[3],u=e[8],h=e[9],l=e[10],f=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s-u*r,t[1]=o*s-h*r,t[2]=a*s-l*r,t[3]=c*s-f*r,t[8]=i*r+u*s,t[9]=o*r+h*s,t[10]=a*r+l*s,t[11]=c*r+f*s,t},rotateZ:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],c=e[3],u=e[4],h=e[5],l=e[6],f=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s+u*r,t[1]=o*s+h*r,t[2]=a*s+l*r,t[3]=c*s+f*r,t[4]=u*s-i*r,t[5]=h*s-o*r,t[6]=l*s-a*r,t[7]=f*s-c*r,t},scale:f,set:o,str:function(t){return"mat4("+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]+")"},sub:z,subtract:T,targetTo:function(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=r[0],c=r[1],u=r[2];let h=s-n[0],l=i-n[1],f=o-n[2],d=h*h+l*l+f*f;d>0&&(d=1/Math.sqrt(d),h*=d,l*=d,f*=d);let m=c*f-u*l,M=u*h-a*f,b=a*l-c*h;return d=m*m+M*M+b*b,d>0&&(d=1/Math.sqrt(d),m*=d,M*=d,b*=d),t[0]=m,t[1]=M,t[2]=b,t[3]=0,t[4]=l*b-f*M,t[5]=f*m-h*b,t[6]=h*M-l*m,t[7]=0,t[8]=h,t[9]=l,t[10]=f,t[11]=0,t[12]=s,t[13]=i,t[14]=o,t[15]=1,t},translate:l,transpose:c},Symbol.toStringTag,{value:"Module"}))},82919(t,e,n){n.d(e,{DV:()=>_,C:()=>M,vt:()=>d,Qy:()=>m,ui:()=>b,ST:()=>v,bU:()=>y,pw:()=>p,m7:()=>g,c8:()=>x});var r=n(4341),s=n(58083),i=n(35522),o=n(51850),a=n(78955),c=n(91829),u=n(71351);function h(t){return t?{ray:(0,u.vt)(t.ray),c0:t.c0,c1:t.c1}:{ray:(0,u.vt)(),c0:0,c1:Number.MAX_VALUE}}new r.I(()=>h());var l=n(27921),f=n(32114);function d(t){return t?[(0,l.vt)(t[0]),(0,l.vt)(t[1]),(0,l.vt)(t[2]),(0,l.vt)(t[3]),(0,l.vt)(t[4]),(0,l.vt)(t[5])]:[(0,l.vt)(),(0,l.vt)(),(0,l.vt)(),(0,l.vt)(),(0,l.vt)(),(0,l.vt)()]}function m(){return[(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)()]}function M(t,e){for(let n=0;n<w;n++)(0,l.C)(t[n],e[n]);return t}function b(t,e,n,r=T){const o=(0,s.lw)(f.Rc.get(),e,t);(0,s.B8)(o,o);for(let t=0;t<A;++t){const e=(0,a.Z0)(f.Km.get(),j[t],o);(0,i.hZ)(r[t],e[0]/e[3],e[1]/e[3],e[2]/e[3])}_(n,r)}function _(t,e){(0,l.Cr)(e[4],e[0],e[3],t[0]),(0,l.Cr)(e[1],e[5],e[6],t[1]),(0,l.Cr)(e[4],e[5],e[1],t[2]),(0,l.Cr)(e[3],e[2],e[6],t[3]),(0,l.Cr)(e[0],e[1],e[2],t[4]),(0,l.Cr)(e[5],e[4],e[7],t[5])}function g(t,e){for(let n=0;n<w;n++){const r=t[n];if(r[0]*e.center[0]+r[1]*e.center[1]+r[2]*e.center[2]+r[3]>=e.radius)return!1}return!0}function p(t,e){return S(t,function(t,e=h()){return(0,u.C)(t,e.ray),e.c0=0,e.c1=Number.MAX_VALUE,e}(e,O.get()))}function v(t,e,n){return S(t,function(t,e,n=h()){const r=(0,i.Bw)(t.vector);return(0,u.fA)(t.origin,e,n.ray),n.c0=0,n.c1=r,n}(e,n,O.get()))}function y(t,e){for(let n=0;n<w;n++)if((0,l.mN)(t[n],e)>0)return!1;return!0}function S(t,e){for(let n=0;n<w;n++)if(!(0,l.$Q)(t[n],e))return!1;return!0}const x={bottom:[5,1,0,4],near:[0,1,2,3],far:[5,4,7,6],right:[1,5,6,2],left:[4,0,3,7],top:[7,3,2,6]},w=6,A=8,j=[(0,c.fA)(-1,-1,-1,1),(0,c.fA)(1,-1,-1,1),(0,c.fA)(1,1,-1,1),(0,c.fA)(-1,1,-1,1),(0,c.fA)(-1,-1,1,1),(0,c.fA)(1,-1,1,1),(0,c.fA)(1,1,1,1),(0,c.fA)(-1,1,1,1)],O=new r.I(h),T=m()},11964(t,e,n){n.d(e,{Cr:()=>h,LV:()=>u,_I:()=>l,vt:()=>c});var r=n(34727),s=n(4341),i=n(35522),o=n(51850),a=n(32114);function c(t){return t?{origin:(0,o.o8)(t.origin),vector:(0,o.o8)(t.vector)}:{origin:(0,o.vt)(),vector:(0,o.vt)()}}function u(t,e){const n=f.get();return n.origin=t,n.vector=e,n}function h(t,e,n=c()){return(0,i.C)(n.origin,t),(0,i.Re)(n.vector,e,t),n}function l(t,e,n){return function(t,e,n,s,o){const{vector:c,origin:u}=t,h=(0,i.Re)(a.rq.get(),e,u),l=(0,i.Om)(c,h)/(0,i.m3)(c);return(0,i.hs)(o,c,(0,r.qE)(l,0,1)),(0,i.WQ)(o,o,t.origin)}(t,e,0,0,n)}(0,o.vt)(),(0,o.vt)();const f=new s.I(()=>c())},27921(t,e,n){n.d(e,{$Q:()=>v,C:()=>a,Cr:()=>h,O_:()=>u,Qj:()=>c,T7:()=>g,Tj:()=>p,lU:()=>l,mN:()=>y,vE:()=>S,vt:()=>o});var r=n(34727),s=n(35522),i=n(51850);function o(t=x){return[t[0],t[1],t[2],t[3]]}function a(t,e){return function(t,e,n,r,s=o()){return s[0]=t,s[1]=e,s[2]=n,s[3]=r,s}(e[0],e[1],e[2],e[3],t)}function c(t){return t}function u(t,e,n){const r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],s=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return n[0]=e[0]*s,n[1]=e[1]*s,n[2]=e[2]*s,n[3]=-(n[0]*t[0]+n[1]*t[1]+n[2]*t[2]),n}function h(t,e,n,r=o()){const s=n[0]-e[0],i=n[1]-e[1],a=n[2]-e[2],c=t[0]-e[0],u=t[1]-e[1],h=t[2]-e[2],l=i*h-a*u,f=a*c-s*h,d=s*u-i*c,m=l*l+f*f+d*d,M=Math.abs(m-1)>1e-5&&m>1e-12?1/Math.sqrt(m):1;return r[0]=l*M,r[1]=f*M,r[2]=d*M,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function l(t,e,n,r=0,i=Math.floor(n*(1/3)),o=Math.floor(n*(2/3))){if(n<3)return!1;e(d,r);let a=i,c=!1;for(;a<n-1&&!c;)e(m,a),a++,c=!(0,s.t2)(d,m);if(!c)return!1;for(a=Math.max(a,o),c=!1;a<n&&!c;)e(M,a),a++,(0,s.Re)(b,d,m),(0,s.S8)(b,b),(0,s.Re)(_,m,M),(0,s.S8)(_,_),c=!(0,s.t2)(d,M)&&!(0,s.t2)(m,M)&&Math.abs((0,s.Om)(b,_))<f;return c?(h(d,m,M,t),!0):(0!==r||1!==i||2!==o)&&l(t,e,n,0,1,2)}n(78955),n(44280),n(32114),n(32728);const f=.99619469809,d=(0,i.vt)(),m=(0,i.vt)(),M=(0,i.vt)(),b=(0,i.vt)(),_=(0,i.vt)();function g(t,e,n){return function(t){return 0===t||1===t}(S(t,e.origin,e.vector,0,n))}function p(t,e){return y(t,e)>=0}function v(t,e){const n=(0,s.Om)(t,e.ray.direction),r=-y(t,e.ray.origin);if(r<0&&n>=0)return!1;if(n>-1e-6&&n<1e-6)return r>0;if((r<0||n<0)&&!(r<0&&n<0))return!0;const i=r/n;return n>0?i<e.c1&&(e.c1=i):i>e.c0&&(e.c0=i),e.c0<=e.c1}function y(t,e){return(0,s.Om)(t,e)+t[3]}function S(t,e,n,i,o){const a=(0,s.Om)(t,n),c=y(t,e);if(0===a)return c>=0?2:3;let u=-c/a;return 1&i&&(u=(0,r.qE)(u,0,1)),!(4&i)&&u<0||!(8&i)&&u>1?c>=0?2:3:((0,s.WQ)(o,e,(0,s.hs)(o,n,u)),c>=0?0:1)}const x=[0,0,1,0]},71351(t,e,n){n.d(e,{C:()=>h,Cr:()=>l,LV:()=>u,fA:()=>f,oC:()=>d,vt:()=>a}),n(4576);var r=n(4341),s=(n(77690),n(29242)),i=n(35522),o=n(51850);function a(t){return t?c((0,o.o8)(t.origin),(0,o.o8)(t.direction)):c((0,o.vt)(),(0,o.vt)())}function c(t,e){return{origin:t,direction:e}}function u(t,e){const n=m.get();return n.origin=t,n.direction=e,n}function h(t,e=a()){return f(t.origin,t.direction,e)}function l(t,e,n=a()){return(0,i.C)(n.origin,t),(0,i.Re)(n.direction,e,t),n}function f(t,e,n=a()){return(0,i.C)(n.origin,t),(0,i.C)(n.direction,e),n}function d(t,e,n){const r=(0,i.Om)(t.direction,(0,i.Re)(n,e,t.origin));return(0,i.WQ)(n,t.origin,(0,i.hs)(n,t.direction,r)),n}n(32114);const m=new r.I(()=>a());(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,s.vt)()},94008(t,e,n){n.d(e,{iy:()=>d}),n(44208),n(53966);var r=n(34727),s=n(34304),i=n(58083),o=n(35522),a=n(51850),c=n(91829),u=n(34275);var h=n(71351),l=n(44280),f=n(32114);class d{constructor(t=0,e=0,n=0,r=0){this.radius=r,"number"==typeof t?this._center=(0,a.fA)(t,e,n):function(t){return e=t,(0,u.vZ)(e)&&e.length>=3||function(t){return((0,u.aI)(t)||Array.isArray(t))&&t.length>=3}(t);var e}(t)||function(t){return(e=t)instanceof Float32Array&&e.length>=4||function(t){return Array.isArray(t)&&t.length>=4}(t);var e}(t)?(this._center=(0,a.ci)(t),this.radius=4===t.length?t[3]:e):(this._center=(0,a.o8)(t.center),this.radius=t.radius)}get isValid(){return this.radius>=0}invalidate(){this.radius=-1}get center(){return this._center}set center(t){(0,o.C)(this.center,t)}exactEquals(t){return(0,o.aI)(this._center,t.center)&&this.radius===t.radius}copyFrom(t){return t!==this&&((0,o.C)(this._center,t.center),this.radius=t.radius),this}clone(){return new d(this.center,this.radius)}toVec4(){return(0,c.fA)(this.center[0],this.center[1],this.center[2],this.radius)}contains(t){return(0,o.hG)(this.center,t)<=this.radius**2}intersectRay(t,e){if(null==t)return!1;if(!this._intersect(t,m))return!1;let{t0:n,t1:r}=m;if((n<0||r<n&&r>0)&&(n=r),n<0)return!1;if(e){const{origin:r,direction:s}=t;e[0]=r[0]+s[0]*n,e[1]=r[1]+s[1]*n,e[2]=r[2]+s[2]*n}return!0}intersectLine(t,e){const n=(0,h.Cr)(t,e);if(!this._intersect(n,m))return[];const{origin:r,direction:i}=n,{t0:c,t1:u}=m,l=t=>{const e=(0,a.vt)();return(0,o.Ln)(e,r,i,t),this.projectPoint(e,e)};return Math.abs(c-u)<(0,s.FD)()?[l(c)]:[l(c),l(u)]}_intersect(t,e){const{origin:n,direction:r}=t,s=M;s[0]=n[0]-this.center[0],s[1]=n[1]-this.center[1],s[2]=n[2]-this.center[2];const i=r[0]*r[0]+r[1]*r[1]+r[2]*r[2];if(0===i)return!1;const o=2*(r[0]*s[0]+r[1]*s[1]+r[2]*s[2]),a=o*o-4*i*(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]-this.radius**2);if(a<0)return!1;const c=Math.sqrt(a);return e.t0=(-o-c)/(2*i),e.t1=(-o+c)/(2*i),!0}projectPoint(t,e){const n=(0,o.Re)(f.rq.get(),t,this.center),r=(0,o.hs)(f.rq.get(),n,this.radius/(0,o.Bw)(n));return(0,o.WQ)(e,r,this.center)}closestPointOnSilhouette(t,e){const n=f.rq.get(),r=f.Rc.get();(0,o.$A)(n,t.origin,t.direction),(0,o.$A)(e,n,t.origin),(0,o.hs)(e,e,1/(0,o.Bw)(e)*this.radius);const s=this._angleToSilhouette(t.origin),a=(0,l.g7)(t.origin,e);return(0,i.$0)(r,a+s,n),(0,o.Z0)(e,e,r),e}frustumCoverage(t,e,n){const r=this.radius,s=r*r,i=t+.5*Math.PI,o=e*e+s-2*Math.cos(i)*e*r,a=Math.sqrt(o),c=o-s;if(c<=0)return.5;const u=Math.sqrt(c),h=Math.acos(u/a)-Math.asin(r/(a/Math.sin(i)));return Math.min(1,(h+.5*n)/n)}_angleToSilhouette(t){const e=(0,o.Re)(f.rq.get(),t,this.center),n=(0,o.Bw)(e),s=this.radius,i=s+Math.abs(s-n);return(0,r.XM)(s/i)}union(t){const e=(0,o.Io)(this._center,t.center),n=this.radius,r=t.radius;return e+r<n?this:e+n<r?(this.copyFrom(t),this):((0,o.Cc)(this._center,this._center,t.center,(e+r-n)/(2*e)),this.radius=(e+n+r)/2,this)}toJSON(){return{center:this.center,radius:this.radius}}signedDistanceToPlane(t){const{center:e,radius:n}=this,r=t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3];return r<0?Math.min(r+n,0):Math.max(r-n,0)}}new d;const m={t0:0,t1:0},M=(0,a.vt)();(0,a.vt)(),(0,a.vt)()},44280(t,e,n){n.d(e,{g7:()=>a,gr:()=>o});var r=n(34727),s=n(35522),i=n(51850);function o(t,e){return(0,s.Om)(t,e)/(0,s.Bw)(t)}function a(t,e){const n=(0,s.Om)(t,e)/((0,s.Bw)(t)*(0,s.Bw)(e));return-(0,r.XM)(n)}(0,i.vt)(),(0,i.vt)()},32114(t,e,n){n.d(e,{Rc:()=>d,J8:()=>m,rq:()=>l,Km:()=>f}),n(44208);var r=n(26390),s=n(29242),i=n(9093),o=n(82534),a=n(48163),c=n(51850),u=n(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(a.vt)}static createVec3f64(){return new h(c.vt)}static createVec4f64(){return new h(u.vt)}static createMat3f64(){return new h(s.vt)}static createMat4f64(){return new h(i.vt)}static createQuatf64(){return new h(o.vt)}get test(){}}h.createVec2f64();const l=h.createVec3f64(),f=h.createVec4f64(),d=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},32728(t,e,n){n.d(e,{YH:()=>o,nu:()=>a,wp:()=>i}),n(34727);var r=n(35522),s=n(51850);function i(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),s=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.hZ)(t,n,s,i),t}function o(t,e,n){n=n||t;const s=(0,r.Om)(t,e);(0,r.hZ)(n,t[0]-s*e[0],t[1]-s*e[1],t[2]-s*e[2]),(0,r.S8)(n,n)}function a(t,e,n,i=(0,s.vt)()){const o=(0,r.Bw)(t),a=(0,r.Bw)(e),h=(0,r.Om)(t,e)/(o*a);if(h<.9999999999999999){const s=Math.acos(h),l=((1-n)*o+n*a)/Math.sin(s),f=l/o*Math.sin((1-n)*s),d=l/a*Math.sin(n*s);return(0,r.hs)(c,t,f),(0,r.hs)(u,e,d),(0,r.WQ)(i,c,u)}return(0,r.Cc)(i,t,e,n)}(0,s.vt)(),(0,s.vt)(),(0,s.vt)();const c=(0,s.vt)(),u=(0,s.vt)()},70491(t,e,n){n.r(e),n.d(e,{default:()=>G});var r=n(5482),s=n(17676),i=n(24326),o=n(91429),a=n(35522),c=n(51850),u=n(11964),h=n(94008),l=n(93687),f=n(15142),d=n(82919),m=n(71351),M=n(620);class b{get bounds(){return this._root.bounds}get halfSize(){return this._root.halfSize}get root(){return this._root.node}get maximumObjectsPerNode(){return this._maximumObjectsPerNode}get maximumDepth(){return this._maximumDepth}get objectCount(){return this._objectCount}constructor(t,e){this.objectToBoundingSphere=t,this._maximumObjectsPerNode=10,this._maximumDepth=20,this._degenerateObjects=new Set,this._root=new _,this._objectCount=0,e&&(void 0!==e.maximumObjectsPerNode&&(this._maximumObjectsPerNode=e.maximumObjectsPerNode),void 0!==e.maximumDepth&&(this._maximumDepth=e.maximumDepth))}destroy(){this._degenerateObjects.clear(),_.clearPool(),R[0]=null,B.prune(),Q.prune()}add(t){const e=Array.from(t);this._grow(e);const n=_.acquire();for(const t of e)++this._objectCount,this._isDegenerate(t)?this._degenerateObjects.add(t):(n.init(this._root),this._add(t,n));_.release(n)}remove(t,e=null){this._objectCount-=t.length;const n=_.acquire();for(const r of t){const t=e??this.objectToBoundingSphere(r);C(t.radius)?(n.init(this._root),v(r,t,n)):this._degenerateObjects.delete(r)}_.release(n),this._shrink()}update(t,e){if(!C(e.radius)&&this._isDegenerate(t))return;const n=function(t){return R[0]=t,R}(t);this.remove(n,e),this.add(n)}forEachAlongRay(t,e,n){const r=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e){return A(e.bounds.center,2*-e.halfSize,D),A(e.bounds.center,2*e.halfSize,N),(0,M.O_)(t.origin,t.direction,D,N)}(r,t))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),!0})}forEachAlongRayWithVerticalOffset(t,e,n,r){const s=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e,n){return A(e.bounds.center,2*-e.halfSize,D),A(e.bounds.center,2*e.halfSize,N),n.applyToMinMax(D,N),(0,M.O_)(t.origin,t.direction,D,N)}(s,t,r))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObjectWithOffset(s,t,r)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObjectWithOffset(s,t,r)&&n(t)}),!0})}forEach(t){g(this._root,e=>{const n=e.node;return n.terminals.forAll(t),null!==n.residents&&n.residents.forAll(t),!0}),this._degenerateObjects.forEach(t)}forEachDegenerateObject(t){this._degenerateObjects.forEach(t)}findClosest(t,e,n,r=()=>!0,s=1/0){let i=1/0,o=1/0,c=null;const u=O(t,e),h=a=>{if(--s,!r(a))return;const u=this.objectToBoundingSphere(a);if(!(0,d.m7)(n,u))return;const h=T(t,e,u.center),l=h-u.radius,f=h+u.radius;l<i&&(i=l,o=f,c=a)};return p(this._root,r=>{if(s<=0||!(0,d.m7)(n,r.bounds))return!1;if((0,a.hs)(I,u,r.halfSize),(0,a.WQ)(I,I,r.bounds.center),T(t,e,I)>o)return!1;const i=r.node;return i.terminals.forAll(t=>h(t)),null!==i.residents&&i.residents.forAll(t=>h(t)),!0},t,e),c}forEachInDepthRange(t,e,n,r,s,i,o){let c=-1/0,u=1/0;const h={setRange:t=>{1===n?(c=Math.max(c,t.near),u=Math.min(u,t.far)):(c=Math.max(c,-t.far),u=Math.min(u,-t.near))}};h.setRange(r);const l=T(e,n,t),f=O(e,n),m=O(e,-n),M=t=>{if(!o(t))return;const r=this.objectToBoundingSphere(t),a=T(e,n,r.center)-l,f=a-r.radius,m=a+r.radius;f>u||m<c||!(0,d.m7)(i,r)||s(t,h)};p(this._root,t=>{if(!(0,d.m7)(i,t.bounds))return!1;if((0,a.hs)(I,f,t.halfSize),(0,a.WQ)(I,I,t.bounds.center),T(e,n,I)-l>u)return!1;if((0,a.hs)(I,m,t.halfSize),(0,a.WQ)(I,I,t.bounds.center),T(e,n,I)-l<c)return!1;const r=t.node;return r.terminals.forAll(t=>M(t)),null!==r.residents&&r.residents.forAll(t=>M(t)),!0},e,n)}forEachNode(t){g(this._root,e=>t(e.node,e.bounds,e.halfSize,e.depth))}forEachNeighbor(t,e){const n=e.radius,r=e.center,s=e=>{const s=this.objectToBoundingSphere(e),i=s.radius,o=n+i;return!((0,a.hG)(s.center,r)-o*o<=0)||t(e)};let i=!0;const o=t=>{i&&(i=s(t))};g(this._root,t=>{const e=t.bounds.radius,s=n+e;if((0,a.hG)(t.bounds.center,r)-s*s>0)return!1;const c=t.node;return c.terminals.forAll(o),i&&null!==c.residents&&c.residents.forAll(o),i}),i&&this.forEachDegenerateObject(o)}_intersectsObject(t,e){const n=this.objectToBoundingSphere(e);return!(n.radius>0)||n.intersectRay(t)}_intersectsObjectWithOffset(t,e,n){const r=this.objectToBoundingSphere(e);return!(r.radius>0)||n.applyToBoundingSphere(r).intersectRay(t)}_add(t,e){e.advanceTo(this.objectToBoundingSphere(t))?e.node.terminals.push(t):(e.node.residents.push(t),e.node.residents.length>this._maximumObjectsPerNode&&e.depth<this._maximumDepth&&this._split(e))}_split(t){const e=t.node.residents;t.node.residents=null;for(let n=0;n<e.length;n++){const r=_.acquire().init(t);this._add(e.at(n),r),_.release(r)}}_grow(t){if(j(t,t=>this.objectToBoundingSphere(t),F),C(F.radius)&&!this._fitsInsideTree(F))if(S(this._root.node))this._root.bounds.copyFrom(F),this._root.halfSize=1.25*this._root.bounds.radius,this._root.updateBoundsRadiusFromHalfSize();else{const t=this._rootBoundsForRootAsSubNode(F);this._placingRootViolatesMaxDepth(t)?this._rebuildTree(F,t):this._growRootAsSubNode(t),_.release(t)}}_rebuildTree(t,e){V.center=e.bounds.center,V.radius=e.halfSize,j([t,V],t=>t,L);const n=_.acquire().init(this._root);this._root.initFrom(null,L,L.radius),this._root.increaseHalfSize(1.25),g(n,t=>(this.add(t.node.terminals.data),null!==t.node.residents&&this.add(t.node.residents.data),!0)),_.release(n)}_placingRootViolatesMaxDepth(t){const e=Math.log(t.halfSize/this._root.halfSize)*Math.LOG2E;let n=0;return g(this._root,t=>(n=Math.max(n,t.depth),n+e<=this._maximumDepth)),n+e>this._maximumDepth}_rootBoundsForRootAsSubNode(t){const e=t.radius,n=t.center;let r=-1/0;const s=this._root.bounds.center,i=this._root.halfSize;for(let t=0;t<3;t++){const o=s[t]-i-(n[t]-e),a=n[t]+e-(s[t]+i),c=Math.max(0,Math.ceil(o/(2*i))),u=Math.max(0,Math.ceil(a/(2*i)))+1,h=2**Math.ceil(Math.log(c+u)*Math.LOG2E);r=Math.max(r,h),k[t].min=c,k[t].max=u}for(let t=0;t<3;t++){let e=k[t].min,n=k[t].max;const o=(r-(e+n))/2;e+=Math.ceil(o),n+=Math.floor(o);const a=s[t]-i-e*i*2;z.center[t]=a+(n+e)*i}const o=r*i;return z.radius=o*q,_.acquire().initFrom(null,z,o,0)}_growRootAsSubNode(t){const e=this._root.node;F.center=this._root.bounds.center,F.radius=this._root.halfSize,this._root.init(t),t.advanceTo(F,null,!0),t.node.children=e.children,t.node.residents=e.residents,t.node.terminals=e.terminals}_shrink(){for(;;){const t=this._findShrinkIndex();if(-1===t)break;this._root.advance(t),this._root.depth=0}}_findShrinkIndex(){if(0!==this._root.node.terminals.length||this._root.isLeaf())return-1;let t=null;const e=this._root.node.children;let n=0,r=0;for(;r<e.length&&null==t;)n=r++,t=e[n];for(;r<e.length;)if(e[r++])return-1;return n}_isDegenerate(t){return!C(this.objectToBoundingSphere(t).radius)}_fitsInsideTree(t){const e=this._root.bounds,n=this._root.halfSize;return t.radius<=n&&t.center[0]>=e.center[0]-n&&t.center[0]<=e.center[0]+n&&t.center[1]>=e.center[1]-n&&t.center[1]<=e.center[1]+n&&t.center[2]>=e.center[2]-n&&t.center[2]<=e.center[2]+n}_nodeToJSON(t){const e=t.children.map(t=>t?this._nodeToJSON(t):null),n=t.residents?.map(t=>this.objectToBoundingSphere(t)),r=t.terminals?.map(t=>this.objectToBoundingSphere(t));return{children:e,residents:n,terminals:r}}}class _{constructor(){this.bounds=new h.iy,this.halfSize=0,this.initFrom(null,null,0,0)}init(t){return this.initFrom(t.node,t.bounds,t.halfSize,t.depth)}initFrom(t,e,n,r=this.depth){return this.node=null!=t?t:_.createEmptyNode(),e&&this.bounds.copyFrom(e),this.halfSize=n,this.depth=r,this}increaseHalfSize(t){this.halfSize*=t,this.updateBoundsRadiusFromHalfSize()}updateBoundsRadiusFromHalfSize(){this.bounds.radius=this.halfSize*q}advance(t){let e=this.node.children[t];e||(e=_.createEmptyNode(),this.node.children[t]=e),this.node=e,this.halfSize/=2,this.depth++;const n=E[t];return this.bounds.center[0]+=n[0]*this.halfSize,this.bounds.center[1]+=n[1]*this.halfSize,this.bounds.center[2]+=n[2]*this.halfSize,this.updateBoundsRadiusFromHalfSize(),this}advanceTo(t,e,n=!1){for(;;){if(this.isTerminalFor(t))return e?.(this,-1),!0;if(this.isLeaf()){if(!n)return e?.(this,-1),!1;this.node.residents=null}const r=this._childIndex(t);e?.(this,r),this.advance(r)}}isLeaf(){return null!=this.node.residents}isTerminalFor(t){return t.radius>this.halfSize/2}_childIndex(t){const e=this.bounds.center;return(e[0]<t.center[0]?1:0)+(e[1]<t.center[1]?2:0)+(e[2]<t.center[2]?4:0)}static createEmptyNode(){return{children:[null,null,null,null,null,null,null,null],terminals:new f.A({shrink:!0}),residents:new f.A({shrink:!0})}}static{this._pool=new l.A(()=>new _)}static acquire(){return _._pool.acquire()}static release(t){_._pool.release(t)}static clearPool(){_._pool.prune()}}function g(t,e){let n=_.acquire().init(t);const r=[n];for(;0!==r.length;){if(n=r.pop(),e(n)&&!n.isLeaf())for(let t=0;t<n.node.children.length;t++)n.node.children[t]&&r.push(_.acquire().init(n).advance(t));_.release(n)}}function p(t,e,n,r=1){let s=_.acquire().init(t);const i=[s];for(function(t,e,n){if(!Q.length)for(let t=0;t<8;++t)Q.push({index:0,distance:0});for(let n=0;n<8;++n){const r=E[n];Q.data[n].index=n,Q.data[n].distance=T(t,e,r)}Q.sort((t,e)=>t.distance-e.distance);for(let t=0;t<8;++t)n[t]=Q.data[t].index}(n,r,W);0!==i.length;){if(s=i.pop(),e(s)&&!s.isLeaf())for(let t=7;t>=0;--t){const e=W[t];s.node.children[e]&&i.push(_.acquire().init(s).advance(e))}_.release(s)}}function v(t,e,n){B.clear();const r=n.advanceTo(e,(t,e)=>{B.push(t.node),B.push(e)})?n.node.terminals:n.node.residents;if(r.removeUnordered(t),0===r.length)for(let t=B.length-2;t>=0&&y(B.data[t],B.data[t+1]);t-=2);}function y(t,e){return e>=0&&(t.children[e]=null),!!S(t)&&(null===t.residents&&(t.residents=new f.A({shrink:!0})),!0)}function S(t){if(0!==t.terminals.length)return!1;if(null!==t.residents)return 0===t.residents.length;for(let e=0;e<t.children.length;e++)if(t.children[e])return!1;return!0}function x(t,e){t[0]=Math.min(t[0],e.center[0]-e.radius),t[1]=Math.min(t[1],e.center[1]-e.radius),t[2]=Math.min(t[2],e.center[2]-e.radius)}function w(t,e){t[0]=Math.max(t[0],e.center[0]+e.radius),t[1]=Math.max(t[1],e.center[1]+e.radius),t[2]=Math.max(t[2],e.center[2]+e.radius)}function A(t,e,n){n[0]=t[0]+e,n[1]=t[1]+e,n[2]=t[2]+e}function j(t,e,n){D[0]=1/0,D[1]=1/0,D[2]=1/0,N[0]=-1/0,N[1]=-1/0,N[2]=-1/0;for(const n of t){const t=e(n);C(t.radius)&&(x(D,t),w(N,t))}(0,a.Cc)(n.center,D,N,.5),n.radius=Math.max(N[0]-D[0],N[1]-D[1],N[2]-D[2])/2}function O(t,e){let n,r=1/0;for(let s=0;s<8;++s){const i=T(t,e,P[s]);i<r&&(r=i,n=P[s])}return n}function T(t,e,n){return e*(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])}function C(t){return!isNaN(t)&&t!==-1/0&&t!==1/0&&t>0}const E=[(0,c.fA)(-1,-1,-1),(0,c.fA)(1,-1,-1),(0,c.fA)(-1,1,-1),(0,c.fA)(1,1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(1,-1,1),(0,c.fA)(-1,1,1),(0,c.fA)(1,1,1)],P=[(0,c.fA)(-1,-1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(-1,1,-1),(0,c.fA)(-1,1,1),(0,c.fA)(1,-1,-1),(0,c.fA)(1,-1,1),(0,c.fA)(1,1,-1),(0,c.fA)(1,1,1)],q=Math.sqrt(3),R=[null],z=new h.iy,I=(0,c.vt)(),D=(0,c.vt)(),N=(0,c.vt)(),B=new f.A,F=new h.iy,V=new h.iy,L=new h.iy,k=[{min:0,max:0},{min:0,max:0},{min:0,max:0}],Q=new f.A,W=[0,0,0,0,0,0,0,0];var Z=n(7380);function $(t,e,n){const r=new h.iy;return(0,a.hs)(r.center,t,.5),(0,a.Ln)(r.center,r.center,e,.5),r.radius=(0,a.Io)(r.center,t),(0,a.WQ)(r.center,r.center,n),r}class H{constructor(t,e,n){this.objectId=t,this.target=e,this.distance=n}}class K extends H{constructor(t,e,n){super(t,e,n),this.type="vertex"}}class X extends H{constructor(t,e,n,r,s){super(t,e,n),this.start=r,this.end=s,this.type="edge"}}let Y=class{constructor(){this._idToComponent=new Map,this._components=new b(t=>t.bounds),this._edges=new b(t=>t.bounds),this._tmpLineSegment=(0,u.vt)(),this._tmpP1=(0,c.vt)(),this._tmpP2=(0,c.vt)(),this._tmpP3=(0,c.vt)(),this.remoteClient=null}async fetchCandidates(t,e){await Promise.resolve(),(0,s.Te)(e);const n=t;n.mbs=new h.iy(t.mbsJSON),await this._ensureEdgeLocations(n,e);const r=[];return this._edges.forEachNeighbor(t=>(this._addCandidates(n,t,r),r.length<1e3),n.mbs),{result:{candidates:r}}}async _ensureEdgeLocations(t,e){const n=[];if(this._components.forEachNeighbor(t=>{if(null==t.info){const{id:e,uid:r}=t;n.push({id:e,uid:r})}return!0},t.mbs),!n.length)return;const r={components:n},s=await this.remoteClient.invoke("fetchAllEdgeLocations",r,e??{});for(const t of s.components)this._setFetchEdgeLocations(t)}async add(t){const e=new U(t.id,new h.iy(t.bounds));return this._idToComponent.set(e.id,e),this._components.add([e]),{result:{}}}async remove(t){const e=this._idToComponent.get(t.id);if(e){const t=[];this._edges.forEachNeighbor(n=>(n.component===e&&t.push(n),!0),e.bounds),this._edges.remove(t),this._components.remove([e]),this._idToComponent.delete(e.id)}return{result:{}}}_setFetchEdgeLocations(t){const e=this._idToComponent.get(t.id);if(null==e||t.uid!==e.uid)return;const n=Z.HY.createView(t.locations),r=new Array(n.count),s=(0,c.vt)(),i=(0,c.vt)();for(let o=0;o<n.count;o++){n.position0.getVec(o,s),n.position1.getVec(o,i);const a=$(s,i,t.origin),c=new tt(e,o,a);r[o]=c}this._edges.add(r);const{objectIds:o,origin:a}=t;e.info={locations:n,objectIds:o,origin:a}}_addCandidates(t,e,n){const{info:r}=e.component,{origin:s,objectIds:i}=r,o=r.locations,c=o.position0.getVec(e.index,this._tmpP1),u=o.position1.getVec(e.index,this._tmpP2);(0,a.WQ)(c,c,s),(0,a.WQ)(u,u,s);const h=i[o.componentIndex.get(e.index)];this._addEdgeCandidate(t,h,c,u,n),J(t,h,c,n),J(t,h,u,n)}_addEdgeCandidate(t,e,n,r,s){if(!t.returnEdge)return;const i=t.mbs.center,o=(0,u.Cr)(n,r,this._tmpLineSegment),h=(0,u._I)(o,i,this._tmpP3);t.mbs.contains(h)&&s.push(new X(e,(0,c.o8)(h),(0,a.Io)(i,h),(0,c.o8)(n),(0,c.o8)(r)))}};Y=(0,r.Cg)([(0,o.$K)("esri.views.interactive.snapping.featureSources.sceneLayerSource.SceneLayerSnappingSourceWorker")],Y);const G=Y;function J(t,e,n,r){t.returnVertex&&t.mbs.contains(n)&&r.push(new K(e,(0,c.o8)(n),(0,a.Io)(t.mbs.center,n)))}class U{constructor(t,e){this.id=t,this.bounds=e,this.info=null,this.uid=(0,i.c)()}}class tt{constructor(t,e,n){this.component=t,this.index=e,this.bounds=n}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2369],{35982(e,t,i){i.d(t,{B:()=>c});var s=i(4576),r=i(71511),n=i(36563),l=i(53966),o=i(97768),a=i(17676),h=i(83027);class c{constructor(e,t,i,s,r={}){this._mainMethod=t,this._transferLists=i,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,h.h)(e,{...r,schedule:s}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{r.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>l.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const i=new u(e,t);return this._listeners.push(i),this._connectListener(i),(0,n.hA)(()=>{(0,s.TF)(this._listeners,i),i.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,o.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,i){return this.invokeMethod(this._mainMethod,e,t,i)}invokeMethod(e,t,i,s){if(this._thread){const r=this._transferLists[e],n=r?r(t):[];return this._thread.invoke(e,t,{transferList:n,signal:i,jobPriority:s})}return this._promise?this._promise.then(()=>((0,a.Te)(i),this.invokeMethod(e,t,i))):Promise.reject(null)}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(d):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject()}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class u{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new r.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function d(){}},54239(e,t,i){i.d(t,{A:()=>m});var s,r=i(5482),n=i(4576),l=i(66552),o=i(25482),a=i(86211),h=i(67076),c=i(91429),u=i(43937),d=i(36005);const p=(0,l.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),g=p.jsonValues.slice();(0,n.Xy)(g,"orthometric");const v=(0,l.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=s=class extends o.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,i){return p.write(e,t,i)}readHeightModel(e,t,i){return p.read(e)||(i?.messages&&i.messages.push(function(e,t){return new h.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:i})),null)}readHeightUnit(e,t,i){return v.read(e)||(i?.messages&&i.messages.push(y(e,{context:i})),null)}readHeightUnitService(e,t,i){return(0,a.LA)(e)||v.read(e)||(i?.messages&&i.messages.push(y(e,{context:i})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new s({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const i=(0,a.k1)(t);return new s({heightModel:e.heightModel,heightUnit:i??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new s;return t.read(e,{origin:"web-scene"}),t}};function y(e,t){return new h.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,r.Cg)([(0,c.MZ)({type:p.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,r.Cg)([(0,u.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,r.Cg)([(0,d.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,r.Cg)([(0,c.MZ)({type:v.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:v.jsonValues,write:{writer:v.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,r.Cg)([(0,d.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,r.Cg)([(0,d.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,r.Cg)([(0,c.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,r.Cg)([(0,d.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=s=(0,r.Cg)([(0,c.$K)("esri.geometry.HeightModelInfo")],m)},62369(e,t,i){i.r(t),i.d(t,{default:()=>j});var s=i(5482),r=i(11254),n=i(49186),l=i(97768),o=i(25728),a=i(17676),h=i(84952),c=i(91429),u=i(54239),d=i(4146),p=i(89186),g=i(18768),v=i(34287),m=i(8303),y=i(10873),f=i(87378),w=i(35982);class _ extends w.B{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,i){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},i):Promise.resolve(null)}release(){--this.ref<=0&&(M.forEach((e,t)=>{e===this&&M.delete(t)}),this.destroy())}}const M=new Map;var S=i(34727),C=i(19419),x=(i(44208),i(86211)),b=i(5443),A=i(86738),T=i(16930),k=i(21325),L=i(28735),R=i(91806),V=i(87045);class z{constructor(e){const t=z.checkUnsupported(e);if(null!=t)throw t;const i=e;this.spatialReference=i.spatialReference,this._isWebMercator=this.spatialReference.isWebMercator,this._isGCS=(0,k.EA)(this.spatialReference),this.origin=[i.origin.x,i.origin.y],this.pixelSize=i.size[0],this.dpi=i.dpi;const s=i.lods.reduce((e,t)=>(t.level<e.minLod.level&&(e.minLod=t),e.max=Math.max(e.max,t.level),e),{minLod:i.lods[0],max:-1/0}),r=s.minLod,n=2**r.level;let l=r.resolution*n,o=r.scale*n;this.levels=new Array(s.max+1);for(let e=0;e<this.levels.length;e++)this.levels[e]={resolution:l,scale:o,tileSize:[l*i.size[0],l*i.size[1]]},l/=2,o/=2}clone(){return new z(this.toTileInfo())}toTileInfo(){return new V.A({dpi:this.dpi,origin:new A.A({x:this.origin[0],y:this.origin[1],spatialReference:this.spatialReference}),size:[this.pixelSize,this.pixelSize],spatialReference:this.spatialReference,lods:this.levels.map((e,t)=>new R.A({level:t,scale:e.scale,resolution:e.resolution}))})}getExtent(e,t,i,s){const r=this.levels[e],n=r.tileSize[0],l=r.tileSize[1];s[0]=this.origin[0]+i*n,s[2]=this.origin[0]+(i+1)*n,s[3]=this.origin[1]-t*l,s[1]=this.origin[1]-(t+1)*l}convertExtentToRadians(e,t){this._isWebMercator?(t[0]=(0,L.yw)(e[0]),t[1]=(0,L.jg)(e[1]),t[2]=(0,L.yw)(e[2]),t[3]=(0,L.jg)(e[3])):this._isGCS&&(t[0]=(0,S.kU)(e[0]),t[1]=(0,S.kU)(e[1]),t[2]=(0,S.kU)(e[2]),t[3]=(0,S.kU)(e[3]))}getExtentGeometry(e,t,i,s=new b.A){return this.getExtent(e,t,i,U),s.spatialReference=this.spatialReference,s.xmin=U[0],s.ymin=U[1],s.xmax=U[2],s.ymax=U[3],s.zmin=void 0,s.zmax=void 0,s}ensureMaxLod(e){if(null==e)return!1;let t=!1;for(;this.levels.length<=e;){const{resolution:e,scale:i}=this.levels[this.levels.length-1],s=e/2*this.pixelSize;this.levels.push({resolution:e/2,scale:i/2,tileSize:[s,s]}),t=!0}return t}capMaxLod(e){this.levels.length>e+1&&(this.levels.length=e+1)}getMaxLod(){return this.levels.length-1}scaleAtLevel(e){return this.levels[0].scale/2**e}levelAtScale(e){const t=this.levels[0].scale;return e>=t?0:Math.log(t/e)*Math.LOG2E}resolutionAtLevel(e){return this.levels[0].resolution/2**e}compatibleWith(e,t=1/0){if(z.checkUnsupported(e))return!1;const i=new z(e);if(!i.spatialReference.equals(this.spatialReference))return!1;if(i.pixelSize!==this.pixelSize)return!1;const s=Math.min(this.levels.length-1,i.levels.length-1,t),r=this.levels[s].resolution;let n=.5*r;return!(!(0,S.Sp)(i.origin[0],this.origin[0],n)||!(0,S.Sp)(i.origin[1],this.origin[1],n))&&(n=.5*r/2**s/this.pixelSize*12,(0,S.Sp)(r,i.levels[s].resolution,n))}rootTilesInExtent(e,t=null,i=1/0){const s=new Array,r=this.levels[0].tileSize;if(null==e||0===r[0]||0===r[1])return s;z.computeRowColExtent(e,r,this.origin,U);let n=U[1],l=U[3],o=U[0],a=U[2];const h=a-o,c=l-n;if(h*c>i){const e=Math.floor(Math.sqrt(i));c>e&&(n=n+Math.floor(.5*c)-Math.floor(.5*e),l=n+e),h>e&&(o=o+Math.floor(.5*h)-Math.floor(.5*e),a=o+e)}for(let e=n;e<l;e++)for(let t=o;t<a;t++)s.push([0,e,t]);return null!=t&&(t[0]=this.origin[0]+o*r[0],t[1]=this.origin[1]-l*r[1],t[2]=this.origin[0]+a*r[0],t[3]=this.origin[1]-n*r[1]),s}static computeRowColExtent(e,t,i,s){const r=.001*(e[2]-e[0]+(e[3]-e[1]));s[0]=Math.max(0,Math.floor((e[0]+r-i[0])/t[0])),s[2]=Math.max(0,Math.ceil((e[2]-r-i[0])/t[0])),s[1]=Math.max(0,Math.floor((i[1]-e[3]+r)/t[1])),s[3]=Math.max(0,Math.ceil((i[1]-e[1]-r)/t[1]))}static isPowerOfTwo(e){const t=e.lods,i=t[0].resolution*2**t[0].level;return!t.some(e=>!(0,S.b6)(e.resolution,i/2**e.level))}static hasGapInLevels(e){const t=e.lods.map(e=>e.level);t.sort((e,t)=>e-t);for(let e=1;e<t.length;e++)if(t[e]!==t[0]+e)return!0;return!1}static tileSizeSupported(e){const t=e.size[1];return t===e.size[0]&&!(t&t-1)&&t>=128&&t<=512}static hasOriginPerLODs(e){const t=e.origin;return e.lods.some(e=>null!=e.origin&&(e.origin[0]!==t.x||e.origin[1]!==t.y))}static getMissingTileInfoError(){return new n.A("tilingscheme:tile-info-missing","Tiling scheme must have tiling information")}static checkUnsupported(e){return null==e?new n.A("tilingscheme:tile-info-missing","Tiling scheme must have tiling information"):e.lods.length<1?new n.A("tilingscheme:generic","Tiling scheme must have at least one level"):z.isPowerOfTwo(e)?z.hasGapInLevels(e)?new n.A("tilingscheme:gaps","Tiling scheme levels must not have gaps between min and max level"):z.tileSizeSupported(e)?z.hasOriginPerLODs(e)?new n.A("tilingscheme:multiple-origin","Tiling scheme levels must not have their own origin"):null:new n.A("tilingscheme:tile-size","Tiles must be square and size must be one of [128, 256, 512]"):new n.A("tilingscheme:power-of-two","Tiling scheme must be power of two")}static fromExtent(e,t){const i=e[2]-e[0],s=e[3]-e[1],r=(0,x.GA)(t),n=1.2*Math.max(i,s),l=n/256,o=l*r*(96/.0254),a=new z(new V.A({size:[256,256],origin:new A.A({x:e[0]-.5*(n-i),y:e[3]+.5*(n-s)}),lods:[new R.A({level:0,resolution:l,scale:o})],spatialReference:t}));return a.ensureMaxLod(20),a}static makeWebMercatorAuxiliarySphere(e){const t=new z(z.WebMercatorAuxiliarySphereTileInfo);return t.ensureMaxLod(e),t}static makeGCSWithTileSize(e,t=256,i=16){const s=256/t,r=new z(new V.A({size:[t,t],origin:new A.A({x:-180,y:90,spatialReference:e}),spatialReference:e,lods:[new R.A({level:0,resolution:.703125*s,scale:295497598.570834*s})]}));return r.ensureMaxLod(i),r}static{this.WebMercatorAuxiliarySphereTileInfo=new V.A({size:[256,256],origin:new A.A({x:-20037508.342787,y:20037508.342787,spatialReference:T.A.WebMercator}),spatialReference:T.A.WebMercator,lods:[new R.A({level:0,resolution:156543.03392800014,scale:591657527.591555})]})}static{this.WebMercatorAuxiliarySphere=z.makeWebMercatorAuxiliarySphere(19)}get test(){}}const U=(0,C.vt)(),D=(0,S.$8)(S.pq/10),O=(0,C.vt)();z.WebMercatorAuxiliarySphere.getExtent(0,0,0,O),(0,C.vt)([-180,-90,180,90]);var I=i(36005);let E=class extends((0,p.f)((0,g.b)((0,v.q)((0,m.A)((0,o.M)(d.A)))))){constructor(...e){super(...e),this.capabilities={operations:{supportsTileMap:!1}},this.copyright=null,this.heightModelInfo=null,this.path=null,this.minScale=void 0,this.maxScale=void 0,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=M.get(e);return t||(null!=e?(t=new _(t=>e.immediate.schedule(t)),M.set(e,t)):(t=new _,M.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,l.Gz)(this._lercDecoder)}readCapabilities(e,t){const i=t.capabilities&&t.capabilities.split(",").map(e=>e.toLowerCase().trim());return i?{operations:{supportsTileMap:i.includes("tilemap")}}:{operations:{supportsTileMap:!1}}}readVersion(e,t){let i=t.currentVersion;return i||(i=9.3),i}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{if(e.typeKeywords)for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new n.A("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(a.QP).then(()=>this._fetchImageService(t))),Promise.resolve(this)}fetchTile(e,t,i,s){const n=s?.signal,l={responseType:"array-buffer",signal:n},o={noDataValue:s?.noDataValue,returnFileInfo:!0};return this.load().then(()=>this._fetchTileAvailability(e,t,i,s)).then(()=>(0,r.A)(this.getTileUrl(e,t,i),l)).then(e=>this._lercDecoder.decode(e.data,o,n)).then(e=>new f.A(e?new f.A({values:e.pixelData,width:e.width,height:e.height,noDataValue:e.noDataValue}):{values:[],width:0,height:0,noDataValue:s?.noDataValue??D}))}getTileUrl(e,t,i){const s=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,r=(0,h.x0)({...this.parsedUrl.query,blankTile:!s&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${i}${r?"?"+r:""}`}async queryElevation(e,t){const{query:s}=await i.e(91).then(i.bind(i,90091));return(0,a.Te)(t),s(this,e,t)}async createElevationSampler(e,t){const{createSampler:s}=await i.e(91).then(i.bind(i,90091));return(0,a.Te)(t),s(this,e,t)}_fetchTileAvailability(e,t,i,s){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,i,s):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},i=await(0,r.A)(this.parsedUrl.path,t);i.ssl&&(this.url=this.url?.replace(/^http:/i,"https:")),this.sourceJSON=i.data,this.read(i.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile[Z]}};(0,s.Cg)([(0,c.MZ)({readOnly:!0})],E.prototype,"capabilities",void 0),(0,s.Cg)([(0,I.w)("service","capabilities",["capabilities"])],E.prototype,"readCapabilities",null),(0,s.Cg)([(0,c.MZ)({json:{read:{source:"copyrightText"}}})],E.prototype,"copyright",void 0),(0,s.Cg)([(0,c.MZ)({readOnly:!0,type:u.A})],E.prototype,"heightModelInfo",void 0),(0,s.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],E.prototype,"path",void 0),(0,s.Cg)([(0,c.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],E.prototype,"minScale",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],E.prototype,"maxScale",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],E.prototype,"opacity",void 0),(0,s.Cg)([(0,c.MZ)({type:["ArcGISTiledElevationServiceLayer"]})],E.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,c.MZ)()],E.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1},value:"elevation",readOnly:!0})],E.prototype,"type",void 0),(0,s.Cg)([(0,c.MZ)(y.OZ)],E.prototype,"url",void 0),(0,s.Cg)([(0,c.MZ)()],E.prototype,"version",void 0),(0,s.Cg)([(0,I.w)("version",["currentVersion"])],E.prototype,"readVersion",null),E=(0,s.Cg)([(0,c.$K)("esri.layers.ElevationLayer")],E);const Z=Symbol("default-fetch-tile");E.prototype.fetchTile[Z]=!0;const j=E},18768(e,t,i){i.d(t,{b:()=>o});var s=i(5482),r=i(53966),n=i(91429),l=i(60694);const o=e=>{const t=e;let i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Jf)(e,r.A.getLogger(this)))}};return(0,s.Cg)([(0,n.MZ)()],i.prototype,"title",null),(0,s.Cg)([(0,n.MZ)({type:String})],i.prototype,"url",null),i=(0,s.Cg)([(0,n.$K)("esri.layers.mixins.ArcGISService")],i),i}},87378(e,t,i){i.d(t,{A:()=>o});var s,r=i(34275),n=i(56507);const l=Symbol("ElevationTileDataClass");class o{static{s=l}constructor({values:e,width:t,height:i,noDataValue:n}){this[s]=!0,this._hasNoDataValues=null,this._minValue=null,this._maxValue=null,this.values=(0,r.vZ)(e)?e:new Float32Array(e),this.width=t,this.height=i,this.noDataValue=n}get hasNoDataValues(){if(null==this._hasNoDataValues){const e=this.noDataValue;this._hasNoDataValues=this.values.includes(e)}return this._hasNoDataValues}get minValue(){return this._ensureBounds(),this._minValue}get maxValue(){return this._ensureBounds(),this._maxValue}get usedMemory(){return this.values.byteLength+256}_ensureBounds(){if(null!=this._minValue)return;const{noDataValue:e,values:t}=this;let i=1/0,s=-1/0,r=!0;for(const n of t)n===e?this._hasNoDataValues=!0:(i=n<i?n:i,s=n>s?n:s,r=!1);r?(this._minValue=0,this._maxValue=0):(this._minValue=i,this._maxValue=s>-3e38?s:0)}static{this.from=(0,n.qf)(o)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3443],{32488(t,e,r){r.d(e,{A:()=>v});const i=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],n=["آ","أ","إ","ا"],s=["ﻵ","ﻷ","ﻹ","ﻻ"],o=["ﻶ","ﻸ","ﻺ","ﻼ"],a=["ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ی","ئ","ؤ"],l=["ﺍ","ﺏ","ﺕ","ﺙ","ﺝ","ﺡ","ﺥ","ﺩ","ﺫ","ﺭ","ﺯ","ﺱ","ﺵ","ﺹ","ﺽ","ﻁ","ﻅ","ﻉ","ﻍ","ﻑ","ﻕ","ﻙ","ﻝ","ﻡ","ﻥ","ﻩ","ﻭ","ﻱ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯼ","ﺉ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺉ","ﺅ"],h=["ﺎ","ﺐ","ﺖ","ﺚ","ﺞ","ﺢ","ﺦ","ﺪ","ﺬ","ﺮ","ﺰ","ﺲ","ﺶ","ﺺ","ﺾ","ﻂ","ﻆ","ﻊ","ﻎ","ﻒ","ﻖ","ﻚ","ﻞ","ﻢ","ﻦ","ﻪ","ﻮ","ﻲ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯽ","ﺊ","ﺆ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺊ","ﺆ"],c=["ﺎ","ﺒ","ﺘ","ﺜ","ﺠ","ﺤ","ﺨ","ﺪ","ﺬ","ﺮ","ﺰ","ﺴ","ﺸ","ﺼ","ﻀ","ﻄ","ﻈ","ﻌ","ﻐ","ﻔ","ﻘ","ﻜ","ﻠ","ﻤ","ﻨ","ﻬ","ﻮ","ﻴ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯿ","ﺌ","ﺆ","ﹱ","ﹲ","ﹴ","ﹷ","ﹹ","ﹻ","ﹽ","ﹿ","ﺀ","ﺌ","ﺆ"],u=["ﺍ","ﺑ","ﺗ","ﺛ","ﺟ","ﺣ","ﺧ","ﺩ","ﺫ","ﺭ","ﺯ","ﺳ","ﺷ","ﺻ","ﺿ","ﻃ","ﻇ","ﻋ","ﻏ","ﻓ","ﻗ","ﻛ","ﻟ","ﻣ","ﻧ","ﻫ","ﻭ","ﻳ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯾ","ﺋ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺋ","ﺅ"],y=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],x=["ً","ً","ٌ","؟","ٍ","؟","َ","َ","ُ","ُ","ِ","ِ","ّ","ّ","ْ","ْ","ء","آ","آ","أ","أ","ؤ","ؤ","إ","إ","ئ","ئ","ئ","ئ","ا","ا","ب","ب","ب","ب","ة","ة","ت","ت","ت","ت","ث","ث","ث","ث","ج","ج","ج","ج","ح","ح","ح","ح","خ","خ","خ","خ","د","د","ذ","ذ","ر","ر","ز","ز","س","س","س","س","ش","ش","ش","ش","ص","ص","ص","ص","ض","ض","ض","ض","ط","ط","ط","ط","ظ","ظ","ظ","ظ","ع","ع","ع","ع","غ","غ","غ","غ","ف","ف","ف","ف","ق","ق","ق","ق","ك","ك","ك","ك","ل","ل","ل","ل","م","م","م","م","ن","ن","ن","ن","ه","ه","ه","ه","و","و","ى","ى","ي","ي","ي","ي","ﻵ","ﻶ","ﻷ","ﻸ","ﻹ","ﻺ","ﻻ","ﻼ","؟","؟","؟"],f=["ء","ف"],_=["غ","ي"],d=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],T=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],g=10,A=11,w=12,m=18,L=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],b=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],p=[[m,m,m,m,m,m,m,m,m,6,5,6,8,5,m,m,m,m,m,m,m,m,m,m,m,m,m,m,5,5,5,6,8,4,4,A,A,A,4,4,4,4,4,g,9,g,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,m,m,m,m,m,m,5,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,9,4,A,A,A,A,4,4,4,4,0,4,4,m,4,4,A,A,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,1,w,1,w,w,1,w,w,1,w,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,A,A,7,9,7,4,4,w,w,w,w,w,w,w,w,w,w,w,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,3,3,3,3,3,3,3,3,3,3,A,3,3,7,7,7,w,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,w,w,w,w,w,w,w,3,4,w,w,w,w,w,w,7,7,w,w,4,w,w,w,w,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,w,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,w,w,w,w,w,w,w,w,w,w,w,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,w,w,w,w,w,w,w,w,w,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,m,m,m,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,A,A,A,A,A,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,m,m,m,m,m,4,4,4,4,4,m,m,m,m,m,m,2,0,4,4,2,2,2,2,2,2,g,g,4,4,4,0,2,2,2,2,2,2,2,2,2,2,g,g,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,w,1,1,1,1,1,1,1,1,1,1,g,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,w,w,w,w,w,w,w,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,A,4,4,g,g,4,4,4,4,4,A,A,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,m],[4,4,4,A,A,A,4,4,4,4,4,g,9,g,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,A,A,4,4,4,A,A,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class v{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,r){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,r){H=[],G=[];for(let i=0;i<r;i++)t[i]=i,e[i]=i,H[i]=i}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,r))return t;e=this.inputFormat,r=this.outputFormat;let i=t;const a=Q,c=Y(e.charAt(1)),y=Y(r.charAt(1)),f=(e.startsWith("I")?"L":e.charAt(0))+c,_=(r.startsWith("I")?"L":r.charAt(0))+y,d=e.charAt(2)+r.charAt(2);a.defInFormat=f,a.defOutFormat=_,a.defSwap=d;const T=U(t,f,_,d,a);let g=!1;return"R"===r.charAt(1)?g=!0:"C"!==r.charAt(1)&&"D"!==r.charAt(1)||(g="rtl"===this.checkContextual(T)),this.sourceToTarget=H,this.targetToSource=function(t){const e=new Array(t.length);for(let r=0;r<t.length;r++)e[t[r]]=r;return e}(this.sourceToTarget),X=this.targetToSource,i=e.charAt(3)===r.charAt(3)?T:"S"===r.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);const r=(e=String(e)).split("");let i=0,n=1,a=r.length;t||(i=r.length-1,n=-1,a=1);const c=function(t,e,r,i){let n=0;const a=[];let c=0;for(let y=e;y*r<i;y+=r)if(E(t[y])||W(t[y])){if("ل"===t[y]&&k(t,y+r,r,i)){t[y]=$(t[y+r],0===n?s:o),y+=r,z(t,y,r,i),a[c]=y,c++,n=0;continue}const e=t[y];1===n?t[y]=C(t,y+r,r,i)?j(t[y]):D(t[y],h):!0===C(t,y+r,r,i)?t[y]=D(t[y],u):t[y]=D(t[y],l),W(e)||(n=1),!0===I(e)&&(n=0)}else n=0;return a}(r,i,n,a);let y="";for(let e=0;e<r.length;e++)V(c,c.length,e)>-1?(q(X,e,!t,-1),H.splice(e,1)):y+=r[e];return y}(g,T):function(t,e){if(0===t.length)return"";void 0===e&&(e=!0);let r="";const i=(t=String(t)).split("");for(let s=0;s<t.length;s++){let o=!1;if(i[s]>="ﹰ"&&i[s]<"\ufeff"){const a=t.charCodeAt(s);i[s]>="ﻵ"&&i[s]<="ﻼ"?(e?(s>0&&" "===i[s-1]?r=r.slice(0,-1)+"ل":(r+="ل",o=!0),r+=n[(a-65269)/2]):(r+=n[(a-65269)/2],r+="ل",s+1<t.length&&" "===i[s+1]?s++:o=!0),o&&(q(X,s,!0,1),H.splice(s,0,H[s]))):r+=x[a-65136]}else r+=i[s]}return r}(T,g),this.sourceToTarget=H,this.targetToSource=X,this.levels=G,i}_inputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=B(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch(t){}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return rt.test(t)}}function U(t,e,r,i,n){const s=function(t,e,r){if(void 0===e.inFormat&&(e.inFormat=r.defInFormat),void 0===e.outFormat&&(e.outFormat=r.defOutFormat),void 0===e.swap&&(e.swap=r.defSwap),e.inFormat===e.outFormat)return e;const i=e.inFormat.slice(0,1),n=e.outFormat.slice(0,1);let s,o=e.inFormat.slice(1,4),a=e.outFormat.slice(1,4);return o.startsWith("C")&&(s=B(t),o="ltr"===s||"rtl"===s?s.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=i+o),a.startsWith("C")&&(s=B(t),"rtl"===s?a="RTL":"ltr"===s?(s=function(t){const e=t.split("");return e.reverse(),B(e.join(""))}(t),a=s.toUpperCase()):a="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=n+a),e}(t,{inFormat:e,outFormat:r,swap:i},n);if(s.inFormat===s.outFormat)return t;e=s.inFormat,r=s.outFormat,i=s.swap;const o=e.slice(0,1),a=e.slice(1,4),l=r.slice(0,1),h=r.slice(1,4);if(n.inFormat=e,n.outFormat=r,n.swap=i,"L"===o&&"VLTR"===r){if("LTR"===a)return n.dir=K,R(t,n);if("RTL"===a)return n.dir=tt,R(t,n)}if("V"===o&&"V"===l)return n.dir="RTL"===a?tt:K,S(t,n);if("L"===o&&"VRTL"===r)return"LTR"===a?(n.dir=K,t=R(t,n)):(n.dir=tt,t=R(t,n)),S(t);if("VLTR"===e&&"LLTR"===r)return n.dir=K,R(t,n);if("V"===o&&"L"===l&&a!==h)return t=S(t),"RTL"===a?U(t,"LLTR","VLTR",i,n):U(t,"LRTL","VRTL",i,n);if("VRTL"===e&&"LRTL"===r)return U(t,"LRTL","VRTL",i,n);if("L"===o&&"L"===l){const e=n.swap;return n.swap=e.slice(0,1)+"N","RTL"===a?(n.dir=tt,t=R(t,n),n.swap="N"+e.slice(1,3),n.dir=K,t=R(t,n)):(n.dir=K,t=R(t,n),n.swap="N"+e.slice(1,3),t=U(t,"VLTR","LRTL",n.swap,n)),t}return t}function B(t){const e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function R(t,e){const r=t.split(""),i=[];return F(r,i,e),function(t,e,r){if(0!==r.hiLevel&&r.swap[0]!==r.swap[1])for(let r=0;r<t.length;r++)1===e[r]&&(t[r]=O(t[r]))}(r,i,e),M(2,r,i,e),M(1,r,i,e),G=i,r.join("")}function F(t,e,r){const i=t.length,n=r.dir?T:d;let s=0,o=-1;const a=[],l=[];r.hiLevel=r.dir,r.lastArabic=!1,r.hasUbatAl=!1,r.hasUbatB=!1,r.hasUbatS=!1;for(let e=0;e<i;e++)a[e]=N(t[e]);for(let h=0;h<i;h++){const i=s,c=P(t,a,l,h,r);l[h]=c,s=n[i][c];const u=240&s;s&=15;const y=n[s][Z];if(e[h]=y,u>0)if(16===u){for(let t=o;t<h;t++)e[t]=1;o=-1}else o=-1;if(n[s][J])-1===o&&(o=h);else if(o>-1){for(let t=o;t<h;t++)e[t]=y;o=-1}5===a[h]&&(e[h]=0),r.hiLevel|=y}r.hasUbatS&&function(t,e,r,i){for(let n=0;n<r;n++)if(6===t[n]){e[n]=i.dir;for(let r=n-1;r>=0&&8===t[r];r--)e[r]=i.dir}}(a,e,i,r)}function N(t){const e=t.charCodeAt(0),r=b[e>>8];return r<100?r:p[r-100][255&e]}function S(t,e){const r=t.split("");if(e){const t=[];F(r,t,e),G=t}return r.reverse(),H.reverse(),r.join("")}function V(t,e,r){for(let i=0;i<e;i++)if(t[i]===r)return i;return-1}function E(t){for(let e=0;e<f.length;e++)if(t>=f[e]&&t<=_[e])return!0;return!1}function C(t,e,r,i){for(;e*r<i&&W(t[e]);)e+=r;return!!(e*r<i&&E(t[e]))}function k(t,e,r,i){for(;e*r<i&&W(t[e]);)e+=r;let s=" ";if(!(e*r<i))return!1;s=t[e];for(let t=0;t<n.length;t++)if(n[t]===s)return!0;return!1}function M(t,e,r,i){if(i.hiLevel<t)return;if(1===t&&i.dir===tt&&!i.hasUbatB)return e.reverse(),void H.reverse();const n=e.length;let s,o,a,l,h,c=0;for(;c<n;){if(r[c]>=t){for(s=c+1;s<n&&r[s]>=t;)s++;for(o=c,a=s-1;o<a;o++,a--)l=e[o],e[o]=e[a],e[a]=l,h=H[o],H[o]=H[a],H[a]=h;c=s}c++}}function P(t,e,r,i,n){const s=e[i];return{UBAT_L:()=>(n.lastArabic=!1,0),UBAT_R:()=>(n.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>n.lastArabic?3:2,UBAT_AL:()=>(n.lastArabic=!0,n.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,s;return i<1||i+1>=e.length||2!==(t=r[i-1])&&3!==t||2!==(s=e[i+1])&&3!==s?4:(n.lastArabic&&(s=3),s===t?s:4)},UBAT_ES:()=>2===(i>0?r[i-1]:5)&&i+1<e.length&&2===e[i+1]?2:4,UBAT_ET:()=>{if(i>0&&2===r[i-1])return 2;if(n.lastArabic)return 4;let t=i+1;const s=e.length;for(;t<s&&e[t]===A;)t++;return t<s&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===n.inFormat){const r=e.length;let n=i+1;for(;n<r&&e[n]===w;)n++;if(n<r){const r=t[i].charCodeAt(0),s=r>=1425&&r<=2303||64286===r,o=e[n];if(s&&(1===o||7===o))return 1}}return i<1||5===e[i-1]?4:r[i-1]},UBAT_B:()=>(n.lastArabic=!0,n.hasUbatB=!0,n.dir),UBAT_S:()=>(n.hasUbatS=!0,4),UBAT_LRE:()=>(n.lastArabic=!1,4),UBAT_RLE:()=>(n.lastArabic=!1,4),UBAT_LRO:()=>(n.lastArabic=!1,4),UBAT_RLO:()=>(n.lastArabic=!1,4),UBAT_PDF:()=>(n.lastArabic=!1,4),UBAT_BN:()=>4}[L[s]]()}function O(t){let e,r=0,n=i.length-1;for(;r<=n;)if(e=Math.floor((r+n)/2),t<i[e][0])n=e-1;else{if(!(t>i[e][0]))return i[e][1];r=e+1}return t}function I(t){for(let e=0;e<y.length;e++)if(y[e]===t)return!0;return!1}function j(t){for(let e=0;e<a.length;e++)if(t===a[e])return c[e];return t}function D(t,e){for(let r=0;r<a.length;r++)if(t===a[r])return e[r];return t}function W(t){return t>="ً"&&t<="ٕ"}function Y(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function z(t,e,r,i){for(;e*r<i&&W(t[e]);)e+=r;return e*r<i&&(t[e]=" ",!0)}function $(t,e){for(let r=0;r<n.length;r++)if(t===n[r])return e[r];return t}function q(t,e,r,i){for(let n=0;n<t.length;n++)(t[n]>e||!r&&t[n]===e)&&(t[n]+=i)}let H=[],X=[],G=[];const Q={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},Z=5,J=6,K=0,tt=1,et=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,rt=/[\u0591-\u06ff\ufb1d-\ufefc]/},15585(t,e,r){r.d(e,{If:()=>h,QT:()=>c});var i=r(5482),n=r(2741),s=r(49186),o=r(44208);r(34727);let a=null,l=null;async function h(){return a??=async function(){const t=await r.e(2997).then(r.bind(r,42997)),e=await t.default({locateFile:t=>(0,n.s)(`esri/core/libs/libtess/${t}`)});l=e}(),a}function c(t,e,r=2){const n={stack:[],error:void 0,hasError:!1};try{const a=l;if(!a)throw new s.A("libtess:not-loaded","libtessF32 not loaded");const h=(0,i.mS)(n,x.from(a,t),!1),c=(0,i.mS)(n,f.from(a,e),!1),u=t.length/r*4,y=(0,i.mS)(n,new x(a,u*r),!1),_=a.triangulate(h.ptr,c.ptr,c.size,r,y.ptr,u);if((0,o.A)("esri-tessellation-debug")){const t=a.getError();0!==t&&console.warn("libtess:triangulation",function(t){switch(t){case 100903:return"Insufficient output buffer";case 100902:return"Out of memory";case 100151:return"Missing begin polygon";case 100152:return"Missing begin contour";case 100153:return"Missing end polygon";case 100154:return"Missing end countour";case 100155:return"Coordinates too large";case 100156:return"Missing combine callback";default:return`Unknown: ${t}`}}(t))}return{buffer:y.slice(0,_*r),vertexCount:_}}catch(t){n.error=t,n.hasError=!0}finally{(0,i.hk)(n)}}function u(t){return t.HEAPF32}function y(t){return t.HEAP32}new Float32Array(0),new Uint32Array(0),new Uint32Array(0),new Uint32Array(0),new Float64Array(0),new Uint32Array(0),new Uint32Array(0),new Uint32Array(0);class x{static from(t,e){const r=new x(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateCoordinateArray(e)}destroy(){this._libtess.destroyCoordinateArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Float32Array.BYTES_PER_ELEMENT}set(t){u(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return u(this._libtess).slice(r+t,r+e)}}Symbol.dispose;class f{static from(t,e){const r=new f(t,e.length);return r.set(e),r}constructor(t,e){this._libtess=t,this.size=e,this.ptr=t.allocateLengthsArray(e)}destroy(){this._libtess.destroyLengthsArray(this.ptr)}[Symbol.dispose](){this.destroy()}get bytesPerCoordinate(){return Int32Array.BYTES_PER_ELEMENT}set(t){y(this._libtess).set(t,this.ptr/this.bytesPerCoordinate)}slice(t,e){const r=this.ptr/this.bytesPerCoordinate;return function(t){const e=y(t);return new Uint32Array(e.buffer,e.byteOffset,e.length)}(this._libtess).slice(r+t,r+e)}}},18989(t,e,r){r.d(e,{A:()=>i});class i{constructor(t=0,e=0,r=0,i=0){this.x=t,this.y=e,this.width=r,this.height=i}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}},83773(t,e,r){r.d(e,{i:()=>f});var i=r(76213);function n(t,e){return t.x===e.x&&t.y===e.y}function s(t){if(!t)return;const e=t.length;if(e<=1)return;let r=0;for(let i=1;i<e;i++)n(t[i],t[r])||++r===i||(t[r]=t[i]);t.length=r+1}function o(t,e){return t.x=e.y,t.y=-e.x,t}function a(t,e){return t.x=-e.y,t.y=e.x,t}function l(t,e){return t.x=e.x,t.y=e.y,t}function h(t,e){return t.x=-e.x,t.y=-e.y,t}function c(t){return Math.sqrt(t.x*t.x+t.y*t.y)}function u(t,e){return t.x*e.y-t.y*e.x}function y(t,e){return t.x*e.x+t.y*e.y}function x(t,e,r,i){return t.x=e.x*r+e.y*i,t.y=e.x*i-e.y*r,t}class f{constructor(t,e,r){this._writeVertex=t,this._writeTriangle=e,this._canUseThinTessellation=r,this._prevNormal={x:void 0,y:void 0},this._nextNormal={x:void 0,y:void 0},this._textureNormalLeft={x:0,y:1},this._textureNormalRight={x:0,y:-1},this._textureNormal={x:void 0,y:void 0},this._joinNormal={x:void 0,y:void 0},this._inner={x:void 0,y:void 0},this._outer={x:void 0,y:void 0},this._roundStart={x:void 0,y:void 0},this._roundEnd={x:void 0,y:void 0},this._startBreak={x:void 0,y:void 0},this._endBreak={x:void 0,y:void 0},this._innerPrev={x:void 0,y:void 0},this._innerNext={x:void 0,y:void 0},this._bevelStart={x:void 0,y:void 0},this._bevelEnd={x:void 0,y:void 0},this._bevelMiddle={x:void 0,y:void 0}}tessellate(t,e,r=this._canUseThinTessellation){s(t),r&&e.halfWidth<i.Gh&&!e.offset?this._tessellateThin(t,e):this._tessellate(t,e)}_tessellateThin(t,e){if(t.length<2)return;const r=e.wrapDistance||65535;let i=e.initialDistance||0,n=!1,s=t[0].x,o=t[0].y;const a=t.length;for(let e=1;e<a;++e){n&&(n=!1,i=0);let a=t[e].x,l=t[e].y,h=a-s,c=l-o,u=Math.sqrt(h*h+c*c);if(h/=u,c/=u,i+u>r){n=!0;const t=(r-i)/u;u=r-i,a=(1-t)*s+t*a,l=(1-t)*o+t*l,--e}const y=this._writeVertex(s,o,0,0,h,c,c,-h,0,-1,i),x=this._writeVertex(s,o,0,0,h,c,-c,h,0,1,i);i+=u;const f=this._writeVertex(a,l,0,0,h,c,c,-h,0,-1,i),_=this._writeVertex(a,l,0,0,h,c,-c,h,0,1,i);this._writeTriangle(y,x,f),this._writeTriangle(x,f,_),s=a,o=l}}_tessellate(t,e){const r=t[0],i=t[t.length-1],s=n(r,i),f=s?3:2;if(t.length<f)return;const _=e.pixelCoordRatio,d=null!=e.capType?e.capType:0,T=null!=e.joinType?e.joinType:2,g=null!=e.miterLimit?Math.min(e.miterLimit,4):2,A=null!=e.roundLimit?Math.min(e.roundLimit,1.05):1.05,w=null!=e.halfWidth?e.halfWidth:2,m=!!e.textured;let L,b,p,v=null;const U=this._prevNormal,B=this._nextNormal;let R=-1,F=-1;const N=this._joinNormal;let S,V;const E=this._textureNormalLeft,C=this._textureNormalRight,k=this._textureNormal;let M=-1,P=-1;const O=e.wrapDistance||65535;let I=e.initialDistance||0;const j=this._writeVertex,D=this._writeTriangle,W=(t,e,r,i,n,s)=>{const o=j(b,p,S,V,r,i,t,e,n,s,I);return M>=0&&P>=0&&o>=0&&D(M,P,o),M=P,P=o,o};s&&(L=t[t.length-2],B.x=i.x-L.x,B.y=i.y-L.y,F=c(B),B.x/=F,B.y/=F);let Y=!1;for(let e=0;e<t.length;++e){if(Y&&(Y=!1,I=0),L&&(U.x=-B.x,U.y=-B.y,R=F,I+R>O&&(Y=!0)),Y){const r=(O-I)/R;R=O-I,L={x:(1-r)*L.x+r*t[e].x,y:(1-r)*L.y+r*t[e].y},--e}else L=t[e];b=L.x,p=L.y;const r=e<=0&&!Y,i=e===t.length-1;if(r||(I+=R),v=i?s?t[1]:null:t[e+1],v?(B.x=v.x-b,B.y=v.y-p,F=c(B),B.x/=F,B.y/=F):(B.x=void 0,B.y=void 0),!s){if(r){a(N,B),S=N.x,V=N.y,2===d&&(W(-B.y-B.x,B.x-B.y,B.x,B.y,0,-1),W(B.y-B.x,-B.x-B.y,B.x,B.y,0,1)),1===d&&(W(-B.y-B.x,B.x-B.y,B.x,B.y,-1,-1),W(B.y-B.x,-B.x-B.y,B.x,B.y,-1,1)),1!==d&&0!==d||(W(-B.y,B.x,B.x,B.y,0,-1),W(B.y,-B.x,B.x,B.y,0,1));continue}if(i){o(N,U),S=N.x,V=N.y,1!==d&&0!==d||(W(U.y,-U.x,-U.x,-U.y,0,-1),W(-U.y,U.x,-U.x,-U.y,0,1)),2===d&&(W(U.y-U.x,-U.x-U.y,-U.x,-U.y,0,-1),W(-U.y-U.x,U.x-U.y,-U.x,-U.y,0,1)),1===d&&(W(U.y-U.x,-U.x-U.y,-U.x,-U.y,1,-1),W(-U.y-U.x,U.x-U.y,-U.x,-U.y,1,1));continue}}let n,f,j=-u(U,B);if(Math.abs(j)<.01)y(U,B)>0?(N.x=U.x,N.y=U.y,j=1,n=Number.MAX_VALUE,f=!0):(a(N,B),j=1,n=1,f=!1);else{N.x=(U.x+B.x)/j,N.y=(U.y+B.y)/j,n=c(N);const t=(n-1)*w*_;f=n>4||t>R&&t>F}S=N.x,V=N.y;let D=T;switch(T){case 0:n<1.05&&(D=2);break;case 1:n<A&&(D=2);break;case 2:n>g&&(D=0)}switch(D){case 2:if(W(N.x,N.y,-U.x,-U.y,0,-1),W(-N.x,-N.y,-U.x,-U.y,0,1),i)break;if(m){const t=Y?0:I;M=this._writeVertex(b,p,S,V,B.x,B.y,N.x,N.y,0,-1,t),P=this._writeVertex(b,p,S,V,B.x,B.y,-N.x,-N.y,0,1,t)}break;case 0:{const t=j<0;let e,r,n,s;if(t){const t=M;M=P,P=t,e=E,r=C}else e=C,r=E;if(f)n=t?a(this._innerPrev,U):o(this._innerPrev,U),s=t?o(this._innerNext,B):a(this._innerNext,B);else{const e=t?h(this._inner,N):l(this._inner,N);n=e,s=e}const c=t?o(this._bevelStart,U):a(this._bevelStart,U);W(n.x,n.y,-U.x,-U.y,e.x,e.y);const u=W(c.x,c.y,-U.x,-U.y,r.x,r.y);if(i)break;const y=t?a(this._bevelEnd,B):o(this._bevelEnd,B);if(f){const t=this._writeVertex(b,p,S,V,-U.x,-U.y,0,0,0,0,I);M=this._writeVertex(b,p,S,V,B.x,B.y,s.x,s.y,e.x,e.y,I),P=this._writeVertex(b,p,S,V,B.x,B.y,y.x,y.y,r.x,r.y,I),this._writeTriangle(u,t,P)}else{if(m){const t=this._bevelMiddle;t.x=(c.x+y.x)/2,t.y=(c.y+y.y)/2,x(k,t,-U.x,-U.y),W(t.x,t.y,-U.x,-U.y,k.x,k.y),x(k,t,B.x,B.y),M=this._writeVertex(b,p,S,V,B.x,B.y,t.x,t.y,k.x,k.y,I),P=this._writeVertex(b,p,S,V,B.x,B.y,s.x,s.y,e.x,e.y,I)}else{const t=M;M=P,P=t}W(y.x,y.y,B.x,B.y,r.x,r.y)}if(t){const t=M;M=P,P=t}break}case 1:{const t=j<0;let e,r;if(t){const t=M;M=P,P=t,e=E,r=C}else e=C,r=E;const s=t?h(this._inner,N):l(this._inner,N);let c,u;f?(c=t?a(this._innerPrev,U):o(this._innerPrev,U),u=t?o(this._innerNext,B):a(this._innerNext,B)):(c=s,u=s);const _=t?o(this._roundStart,U):a(this._roundStart,U),d=t?a(this._roundEnd,B):o(this._roundEnd,B),T=W(c.x,c.y,-U.x,-U.y,e.x,e.y),g=W(_.x,_.y,-U.x,-U.y,r.x,r.y);if(i)break;const A=this._writeVertex(b,p,S,V,-U.x,-U.y,0,0,0,0,I);f||this._writeTriangle(M,P,A);const w=h(this._outer,s),L=this._writeVertex(b,p,S,V,B.x,B.y,d.x,d.y,r.x,r.y,I);let v,R;const F=n>2;if(F){let e;n!==Number.MAX_VALUE?(w.x/=n,w.y/=n,e=y(U,w),e=(n*(e*e-1)+1)/e):e=-1,v=t?o(this._startBreak,U):a(this._startBreak,U),v.x+=U.x*e,v.y+=U.y*e,R=t?a(this._endBreak,B):o(this._endBreak,B),R.x+=B.x*e,R.y+=B.y*e}x(k,w,-U.x,-U.y);const O=this._writeVertex(b,p,S,V,-U.x,-U.y,w.x,w.y,k.x,k.y,I);x(k,w,B.x,B.y);const D=m?this._writeVertex(b,p,S,V,B.x,B.y,w.x,w.y,k.x,k.y,I):O,Y=A,z=m?this._writeVertex(b,p,S,V,B.x,B.y,0,0,0,0,I):A;let $=-1,q=-1;if(F&&(x(k,v,-U.x,-U.y),$=this._writeVertex(b,p,S,V,-U.x,-U.y,v.x,v.y,k.x,k.y,I),x(k,R,B.x,B.y),q=this._writeVertex(b,p,S,V,B.x,B.y,R.x,R.y,k.x,k.y,I)),m?F?(this._writeTriangle(Y,g,$),this._writeTriangle(Y,$,O),this._writeTriangle(z,D,q),this._writeTriangle(z,q,L)):(this._writeTriangle(Y,g,O),this._writeTriangle(z,D,L)):F?(this._writeTriangle(A,g,$),this._writeTriangle(A,$,q),this._writeTriangle(A,q,L)):(this._writeTriangle(A,g,O),this._writeTriangle(A,D,L)),f?(M=this._writeVertex(b,p,S,V,B.x,B.y,u.x,u.y,e.x,e.y,I),P=L):(M=m?this._writeVertex(b,p,S,V,B.x,B.y,u.x,u.y,e.x,e.y,I):T,this._writeTriangle(M,z,L),P=L),t){const t=M;M=P,P=t}break}}}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[883],{90883(e,t,i){i.r(t),i.d(t,{Notice:()=>u}),i(20107),i(7659);var o=i(50917),c=i(34857),n=i(11758),a=i(67145),l=i(25971),r=i(27617);const s={danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"};var d=i(31910),h=i(53250),g=i(9223),p=i(5918);const v=c.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class u extends a.WF{constructor(){super(...arguments),this.closeButtonRef=(0,n._)(),this.transitionProp="opacity",this.transitionRef=(0,n._)(),this.messages=(0,g.u)(),this.focusSetter=(0,p.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,l.c)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,l.c)({cancelable:!1}),this.calciteNoticeClose=(0,l.c)({cancelable:!1}),this.calciteNoticeOpen=(0,l.c)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:a.pf,type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=v}async setFocus(e){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,e)}async load(){this.kindIcons={...s,brand:"lightbulb"},this.requestedIcon=(0,r.d)(this.kindIcons,this.icon,this.kind)}willUpdate(e){e.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(e.has("icon")||e.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,r.d)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(e){this.hasActionEnd=(0,r.s)(e)}render(){const e=c.qy`<calcite-action class=${(0,a.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,n.K)(this.closeButtonRef)}></calcite-action>`;return c.qy`<div class=${(0,a.CP)("container")} ${(0,n.K)(this.transitionRef)}>${this.requestedIcon?c.qy`<div class=${(0,a.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,a.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,a.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?e:null}</div>`}}(0,o.c)("calcite-notice",u)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1132,3931,5611,6061,6312,8125,9169,9285],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},70031(t,e,n){n.d(e,{O:()=>s});var r=n(15756);class s extends r.n{getOperatorType(){return 4}execute(t,e,n,s){return!(0,r.r)(t,e,n,4,s)}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{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}}},10767(t,e,n){n.d(e,{a:()=>i,e:()=>o,i:()=>h,s:()=>u});var r=n(70031),s=n(78125);const a=new r.O;function i(t){const e=(0,s.getSpatialReference)(t);return a.accelerateGeometry((0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e),1)}function o(t,e){return a.execute((0,s.fromGeometry)(t),(0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t.spatialReference),null)}const u=a.supportsCurves(),h=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:o,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(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]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x){return[t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>a,C:()=>i,Cc:()=>A,DI:()=>E,Il:()=>L,Io:()=>d,Ln:()=>y,Om:()=>b,Qr:()=>l,Re:()=>h,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>V,_S:()=>m,aI:()=>Y,ei:()=>_,fw:()=>S,gL:()=>O,hG:()=>M,hZ:()=>o,hs:()=>p,jb:()=>N,jk:()=>g,lo:()=>z,lw:()=>c,m3:()=>v,oW:()=>F,t2:()=>R,tn:()=>f,uE:()=>k,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function P(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2];return t[0]=s*u-a*o,t[1]=a*i-r*u,t[2]=r*o-s*i,t}function A(t,e,n,r){const s=e[0],a=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function V(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function _(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function O(t,e,n){return S(t,e,n[0],n[1],n[2],n[3])}function S(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],h=r*u-s*o,c=s*i-n*u,l=n*o-r*i,f=r*l-s*c,m=s*h-n*l,g=n*c-r*h,x=2*a;return t[0]=i+h*x+2*f,t[1]=o+c*x+2*m,t[2]=u+l*x+2*g,t}const Z=(0,r.vt)(),w=(0,r.vt)();function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],o=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-i)<=h*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=h*Math.max(1,Math.abs(a),Math.abs(u))}function F(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let i=r*r+s*s+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const N=h,G=c,T=l,X=d,z=M,L=a,k=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(t,e){P(Z,t),P(w,e);const n=b(Z,w);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,h=o*i,c=3*a*o,l=3*u*i,f=u*a;return t[0]=e[0]*h+n[0]*c+r[0]*l+s[0]*f,t[1]=e[1]*h+n[1]*c+r[1]*l+s[1]*f,t[2]=e[2]*h+n[2]*c+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],h=s*u-a*o,c=a*i-r*u,l=r*o-s*i,f=Math.sqrt(h*h+c*c+l*l);return t[0]=h/f,t[1]=c/f,t[2]=l/f,t},direction:F,dist:X,distance:d,div:T,divide:l,dot:b,equals:Y,exactEquals:R,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const i=a*a,o=i*(2*a-3)+1,u=i*(a-2)+a,h=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:L,length:a,lerp:A,max:x,min:g,mul:G,multiply:c,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:y,set:o,sign:m,sqrDist:z,sqrLen:k,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:h,transformMat3:_,transformMat4:V,transformQuat:O,transformQuatValues:S},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>c});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function i(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 h(t,8);let n=l;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>A,NO:()=>C,Nh:()=>b,V2:()=>Z,_s:()=>w,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),h=n(513),c=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:i,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=i,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:i}=this,o=Z(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new M(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=O(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],i=e[n++],o=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[h,c]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[o,u],l,f,i,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new V(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:o}=t,u=_(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new V(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[a,o,h,c]=s;e={xmin:a,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,i;t=r=1/0,a=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,o),i=Math.max(i,o)}e={xmin:t,ymin:r,xmax:a,ymax:i,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,o.fT)(t)){r="point";const{x:s,y:a,z:i,m:o}=t,u=[s,a];null!=i&&u.push(i),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:a,hasM:i,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(h[g]=t[2]),i&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!i){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const x="polygon"===r,{partOffsets:p}=s;let y=0;if(!s.hasCurves()){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&S(t[0],t.at(-1))&&--e,a||i)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[y]=g,s}function d(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*G;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const a=g-1;(0,f.wY)(r)?(d(10),++s.segmentCountArc,M=w(n,r,s,a,M),n=r.a[0]):(0,f.DA)(r)?(d(10),++s.segmentCountArc,M=R(n,r,s,a,M),n=r.a[0]):(0,f.aO)(r)?(d(10),++s.segmentCountArc,M=Y(n,r,s,a,M),n=r.c[0]):(0,f.n1)(r)?(d(4),++s.segmentCountBezier,M=N(0,r,s,a,M),n=r.b[0]):n=r}x&&S(e,n)||l(n)}return s.partOffsets[y]=g,s}function P(t){const e=O(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=_(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:i}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:i,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;o<r;)a.push(e(o++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:i}:{paths:n,hasZ:s,hasM:a,spatialReference:i}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:a,spatialReference:i}:{paths:[],curvePaths:h,hasZ:s,hasM:a,spatialReference:i}}function b(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const i=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?i:0);r??=!1,s??=!1;const h=Z(t,u,i,r,s,!1,0,0);if(h.spatialReference=a??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],a=e+t-Number(o);h.partOffsets[++f]=a;for(let t=e;t<a;++t)h.vertexXY[2*t]=n[l++],h.vertexXY[2*t+1]=n[l++],r&&(h.vertexZ[t]=n[l++]),s&&(h.vertexM[t]=n[l++]);o&&(l+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);a=Math.max(a,1);const c="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,f=h.coords.length;for(let t=l;t<a;++t)h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=a}return"point"===t&&(h.lengths.length=0),h}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class V{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function _({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function O({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function S(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,a,i,o){i??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:i,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(T),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function w(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,M]=(0,g.Uk)(y,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=f,s[i++]=u,s[i++]=h,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=d,s[i++]=M,i}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const o=(0,m.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,F((0,c.pM)(t,e),0,...e.c[1],s,i)}function F(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=c,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=h-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function N(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},h,c){return i[h]=2,o[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=a,c}const G=1.61803,T=-1},25275(t,e,n){n.r(e),n.d(e,{accelerateGeometry:()=>r.a,execute:()=>r.e,supportsCurves:()=>r.s}),n(70031),n(78125);var r=n(10767)},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>P,toMultipoint:()=>I,toPoint:()=>A,toPolygon:()=>V,toPolyline:()=>_});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),h=n(86738),c=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new i.M,n=new a.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),o&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return A(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return I(t,e);case s.G.enumPolyline:return _(t,e);case s.G.enumPolygon:return V(t,e)}return null}function b(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function I(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],o=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),i.push(n)}const h=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return h.setCacheValue(m,t),h}function A(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function V(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function _(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>h,cj:()=>u,jh:()=>a,l5:()=>o,xm:()=>i});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=i,o}function o(t,e=a()){return function(t,e,n,r=a()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],i=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),o=Math.max(o,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=i,t[3]=o,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,i,o,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=a,e[9]=n,e[10]=o,e[11]=u,e[12]=i,e[13]=r,e[14]=a,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=o,e[20]=a,e[21]=i,e[22]=o,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{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 c(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 l(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 f(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 m(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 g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[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 y(t){return t?p(t,E):a(E)}function d(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 M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];a()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const a=n-t,i=r-e;return new s([5],[t,e,a,0,0,i,-a,0,0,-i])}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,r.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 n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],a=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+a),s=o,a=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);