@arcgis/core 5.2.0-next.87 → 5.2.0-next.89

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 (679) hide show
  1. package/Graphic.js +1 -1
  2. package/arcade/Dictionary.js +1 -1
  3. package/arcade/Feature.js +1 -1
  4. package/arcade/ImmutablePointArray.js +1 -1
  5. package/arcade/Pixel.js +1 -1
  6. package/arcade/Voxel.js +1 -1
  7. package/arcade/arcadeAsyncRuntime.js +1 -1
  8. package/arcade/arcadeCompiler.js +1 -1
  9. package/arcade/arcadeRuntime.js +1 -1
  10. package/arcade/containerUtils.js +1 -1
  11. package/arcade/debug.js +1 -1
  12. package/arcade/deepClone.js +1 -1
  13. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  14. package/arcade/featureset/support/FeatureSet.js +1 -1
  15. package/arcade/functions/centroid.js +1 -1
  16. package/arcade/functions/date.js +1 -1
  17. package/arcade/functions/feature.js +1 -1
  18. package/arcade/functions/featuresetbase.js +1 -1
  19. package/arcade/functions/featuresetgeom.js +1 -1
  20. package/arcade/functions/featuresetstats.js +1 -1
  21. package/arcade/functions/featuresetstring.js +1 -1
  22. package/arcade/functions/fieldStats.js +1 -1
  23. package/arcade/functions/geomasync.js +1 -1
  24. package/arcade/functions/geometry.js +1 -1
  25. package/arcade/functions/geomsync.js +1 -1
  26. package/arcade/functions/knowledgegraph.js +1 -1
  27. package/arcade/functions/maths.js +1 -1
  28. package/arcade/functions/stats.js +1 -1
  29. package/arcade/functions/string.js +1 -1
  30. package/arcade/functions/track.js +1 -1
  31. package/arcade/geometry/adapters/accessor.js +2 -0
  32. package/arcade/geometry/adapters/dehydrated.js +2 -0
  33. package/arcade/geometry/adapters/gx.js +2 -0
  34. package/arcade/geometry/adapters/json.js +2 -0
  35. package/arcade/geometry/adapters/optimized.js +2 -0
  36. package/arcade/geometry/adapters/tuple.js +2 -0
  37. package/arcade/geometry/adapters/utils.js +2 -0
  38. package/arcade/geometry/arrayOfPointsConversions.js +2 -0
  39. package/arcade/geometry/constructors.js +1 -1
  40. package/arcade/geometry/functions.js +1 -1
  41. package/arcade/geometry/isSelfIntersecting.js +2 -0
  42. package/arcade/geometry/nearestCoordinate.js +2 -0
  43. package/arcade/geometry/nearestVertex.js +1 -1
  44. package/arcade/geometry/operators.js +1 -1
  45. package/arcade/geometry/operatorsWorker.js +1 -1
  46. package/arcade/geometry/rotate.js +1 -1
  47. package/arcade/geometry.js +2 -0
  48. package/arcade/languageUtils.js +1 -1
  49. package/arcade.js +1 -1
  50. package/arcgisGlobal.d.ts +1 -0
  51. package/assets/esri/core/workers/RemoteClient.js +1 -1
  52. package/assets/esri/core/workers/chunks/{0b8c9657975388f1e4c8.js → 00181785a180e934bf7c.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{01e648b258efa6408070.js → 0336f4f8498a22347720.js} +1 -1
  54. package/assets/esri/core/workers/chunks/05393b23ab24126d4236.js +1 -0
  55. package/assets/esri/core/workers/chunks/07613ecf13c38ad58b79.js +1 -0
  56. package/assets/esri/core/workers/chunks/08263c07d92c48806834.js +1 -0
  57. package/assets/esri/core/workers/chunks/090ea7a131f8f60203ed.js +1 -0
  58. package/assets/esri/core/workers/chunks/09e01fd1c199be0c8e03.js +1 -0
  59. package/assets/esri/core/workers/chunks/{12d6d73ca1fa55640a4f.js → 0b4a7209b99227a842ad.js} +1 -1
  60. package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +1 -0
  61. package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +1 -0
  62. package/assets/esri/core/workers/chunks/0f15468ffefd3e9a17b8.js +29 -0
  63. package/assets/esri/core/workers/chunks/13e92f6a9573a2818fb7.js +1 -0
  64. package/assets/esri/core/workers/chunks/159b16f47665f94a0305.js +1 -0
  65. package/assets/esri/core/workers/chunks/15f4f7e34e14e3cf52e6.js +1 -0
  66. package/assets/esri/core/workers/chunks/19e93d4d37018e3ee849.js +1 -0
  67. package/assets/esri/core/workers/chunks/{911f3a1b8dd4bc5c9782.js → 1bf5c0a4bc5a960a3fa2.js} +1 -1
  68. package/assets/esri/core/workers/chunks/1bf967c68d0c795d3fb4.js +1 -0
  69. package/assets/esri/core/workers/chunks/1c378d489c5402888f76.js +1 -0
  70. package/assets/esri/core/workers/chunks/1d1e8d8b1fcf2d9f3dfc.js +1 -0
  71. package/assets/esri/core/workers/chunks/{e5c8f9fef88ca33624e9.js → 1e087fb13b7b0a5d6fec.js} +1 -1
  72. package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +1 -0
  73. package/assets/esri/core/workers/chunks/1f9d6180a96d557838e9.js +1 -0
  74. package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +1 -0
  75. package/assets/esri/core/workers/chunks/20f6e681ccd8bf884b77.js +1 -0
  76. package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +1 -0
  77. package/assets/esri/core/workers/chunks/22c94f9a69b2157f8dbd.js +1 -0
  78. package/assets/esri/core/workers/chunks/23addf8b11938e0c96e9.js +1 -0
  79. package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +1 -0
  80. package/assets/esri/core/workers/chunks/26ecc841396e5e719b6a.js +1 -0
  81. package/assets/esri/core/workers/chunks/27c0bed59626c7f64125.js +1 -0
  82. package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +1 -0
  83. package/assets/esri/core/workers/chunks/2c9783e3b44986e86797.js +1 -0
  84. package/assets/esri/core/workers/chunks/2ceb07b125c84b51f02a.js +1 -0
  85. package/assets/esri/core/workers/chunks/2cf2f2842c19be84ab4d.js +1 -0
  86. package/assets/esri/core/workers/chunks/2d07d5a9ec67c39ef10c.js +1 -0
  87. package/assets/esri/core/workers/chunks/{a7c715648a07ed70b122.js → 2ec44ebc48beeba11201.js} +1 -1
  88. package/assets/esri/core/workers/chunks/2f2d699b072472fa710e.js +1 -0
  89. package/assets/esri/core/workers/chunks/2f3bbc1f7d4abbbeec2f.js +1 -0
  90. package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +1 -0
  91. package/assets/esri/core/workers/chunks/30d816bdeea00f6fa1ca.js +1 -0
  92. package/assets/esri/core/workers/chunks/{39c0a3eb6a870953d530.js → 31a0620a6028e94c7532.js} +3 -3
  93. package/assets/esri/core/workers/chunks/32f11b4aeae1ef00e466.js +1 -0
  94. package/assets/esri/core/workers/chunks/37adb55d9f83faad1712.js +1 -0
  95. package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +1 -0
  96. package/assets/esri/core/workers/chunks/39b6a5222f45cb8dbc94.js +1 -0
  97. package/assets/esri/core/workers/chunks/3a9c6f58a1a065c14017.js +1 -0
  98. package/assets/esri/core/workers/chunks/3aceedec9abfb2fdfa18.js +1 -0
  99. package/assets/esri/core/workers/chunks/3b552afffaa78bf4fe18.js +1 -0
  100. package/assets/esri/core/workers/chunks/{fe06cc2f90b2d551e4c1.js → 3bbd2d4a19c3b7ad82e4.js} +1 -1
  101. package/assets/esri/core/workers/chunks/3de07326da4c47cd2aab.js +1 -0
  102. package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +1 -0
  103. package/assets/esri/core/workers/chunks/3f82410d9f701e7ad8eb.js +1 -0
  104. package/assets/esri/core/workers/chunks/{dbd6bbd3e834ff9d220e.js → 41cf6163758d28fb1968.js} +1 -1
  105. package/assets/esri/core/workers/chunks/45858d1c6487f4a98e40.js +1 -0
  106. package/assets/esri/core/workers/chunks/45c1c90ac6c14657f3ff.js +1 -0
  107. package/assets/esri/core/workers/chunks/46f8c7ae7fb356c3410d.js +1 -0
  108. package/assets/esri/core/workers/chunks/486f1a3b7269ce6c3911.js +1 -0
  109. package/assets/esri/core/workers/chunks/497c5a9c95e9a89ac217.js +1 -0
  110. package/assets/esri/core/workers/chunks/49d36e54644dc2966128.js +1 -0
  111. package/assets/esri/core/workers/chunks/4aefe6fd4d725a107758.js +1 -0
  112. package/assets/esri/core/workers/chunks/4b6f433022a6822706cb.js +1 -0
  113. package/assets/esri/core/workers/chunks/4c7264e3f4156f92d613.js +1 -0
  114. package/assets/esri/core/workers/chunks/4ee99e654dad6f09abee.js +1 -0
  115. package/assets/esri/core/workers/chunks/50525b617ef78086d3c7.js +1 -0
  116. package/assets/esri/core/workers/chunks/{a7727a2377470d586ff9.js → 51c9bd7c03d780fadebc.js} +1 -1
  117. package/assets/esri/core/workers/chunks/5235b9c21ac4156c2375.js +1 -0
  118. package/assets/esri/core/workers/chunks/52422500ca3d6cf2e596.js +1 -0
  119. package/assets/esri/core/workers/chunks/527b87fddf33bb5d519e.js +1 -0
  120. package/assets/esri/core/workers/chunks/{a4bae2396fae48b57047.js → 595edbc1e9bba47d5676.js} +1 -1
  121. package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +1 -0
  122. package/assets/esri/core/workers/chunks/5bf65dbfd9c7a5ea187d.js +1 -0
  123. package/assets/esri/core/workers/chunks/5d7a5aa608ed6192b016.js +1 -0
  124. package/assets/esri/core/workers/chunks/5d9c92c4e60a4696fdad.js +1 -0
  125. package/assets/esri/core/workers/chunks/5ed7bc9e6cb7cdee92e2.js +1 -0
  126. package/assets/esri/core/workers/chunks/{272c8ccdbd3dcc14e99b.js → 5ed89c862eee1345e3af.js} +1 -1
  127. package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +1 -0
  128. package/assets/esri/core/workers/chunks/607acd9f615f87e14075.js +1 -0
  129. package/assets/esri/core/workers/chunks/62ee6c247f783acabb74.js +1 -0
  130. package/assets/esri/core/workers/chunks/64ce2d060ae7cdd412cf.js +1 -0
  131. package/assets/esri/core/workers/chunks/65f4ca7201e7267bfc81.js +1 -0
  132. package/assets/esri/core/workers/chunks/67efdd296007a809586c.js +1 -0
  133. package/assets/esri/core/workers/chunks/680557b8832fbdab7f46.js +1 -0
  134. package/assets/esri/core/workers/chunks/691434d4c6a38e63d819.js +1 -0
  135. package/assets/esri/core/workers/chunks/{ba67aaa08e4f11e1140a.js → 696cb3bf167327d5b0b9.js} +1 -1
  136. package/assets/esri/core/workers/chunks/69700ed16727ed0c4e3a.js +1 -0
  137. package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +1 -0
  138. package/assets/esri/core/workers/chunks/6b84982dfaf084a61b93.js +1 -0
  139. package/assets/esri/core/workers/chunks/{7343a44a2382a1d68497.js → 6b9dbf43c0659e55c539.js} +1 -1
  140. package/assets/esri/core/workers/chunks/6de5c6af62776e1b9776.js +1 -0
  141. package/assets/esri/core/workers/chunks/71308dca3fd05687e7bd.js +1 -0
  142. package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +1 -0
  143. package/assets/esri/core/workers/chunks/777f2fdf1f4b9f243893.js +1 -0
  144. package/assets/esri/core/workers/chunks/78085f804969c9282700.js +1 -0
  145. package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +1 -0
  146. package/assets/esri/core/workers/chunks/7c56446184abcd14678b.js +1 -0
  147. package/assets/esri/core/workers/chunks/7e41cee4a0ae75e1490d.js +1 -0
  148. package/assets/esri/core/workers/chunks/7f55a150e4da02786311.js +1 -0
  149. package/assets/esri/core/workers/chunks/847b02d188ece9b563ad.js +1 -0
  150. package/assets/esri/core/workers/chunks/86c3d3c7015f1cd55fac.js +1 -0
  151. package/assets/esri/core/workers/chunks/87e0ceb1a64ab08e679a.js +1 -0
  152. package/assets/esri/core/workers/chunks/903c7bd079888f65fef1.js +1 -0
  153. package/assets/esri/core/workers/chunks/9226205850e35b7fc610.js +1 -0
  154. package/assets/esri/core/workers/chunks/94453d075ce02eff4844.js +1 -0
  155. package/assets/esri/core/workers/chunks/9474c913e53f69679197.js +1 -0
  156. package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +1 -0
  157. package/assets/esri/core/workers/chunks/{75a2c43311f5f9058f62.js → 94f62ff81cc6fb83e73f.js} +1 -1
  158. package/assets/esri/core/workers/chunks/95ccac3734ac70387b03.js +1 -0
  159. package/assets/esri/core/workers/chunks/97c7dfd29ad4c2966cb4.js +1 -0
  160. package/assets/esri/core/workers/chunks/{1354b8442c2c501238f1.js → 986c5024f22bbfc49aba.js} +1 -1
  161. package/assets/esri/core/workers/chunks/9b81bd62a2c72f592db1.js +1 -0
  162. package/assets/esri/core/workers/chunks/{62596065747abce1964d.js → 9b8e33985310f281f084.js} +1 -1
  163. package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +1 -0
  164. package/assets/esri/core/workers/chunks/a03e7333e3328036f478.js +1 -0
  165. package/assets/esri/core/workers/chunks/a0565137027c83108953.js +1 -0
  166. package/assets/esri/core/workers/chunks/a176727a1148ca4fb432.js +1 -0
  167. package/assets/esri/core/workers/chunks/a3b403f8acb90af19adb.js +1 -0
  168. package/assets/esri/core/workers/chunks/a4596f028758649da099.js +1 -0
  169. package/assets/esri/core/workers/chunks/a46ac0be9aabc4cfedc7.js +1 -0
  170. package/assets/esri/core/workers/chunks/a4a22149077c7780481c.js +1 -0
  171. package/assets/esri/core/workers/chunks/a6ab627e965fe7e5bd52.js +1 -0
  172. package/assets/esri/core/workers/chunks/a6d4132a16c51323a38a.js +1 -0
  173. package/assets/esri/core/workers/chunks/a7954ad55a241af9064f.js +1 -0
  174. package/assets/esri/core/workers/chunks/a7e6382ecc91c876117f.js +1 -0
  175. package/assets/esri/core/workers/chunks/a88bf8ae93077e1b48cf.js +1 -0
  176. package/assets/esri/core/workers/chunks/a8b878c12cb1a6ea012b.js +1 -0
  177. package/assets/esri/core/workers/chunks/{ec0803cfa5051c4d300d.js → aa0ef4493a7e9bed159f.js} +1 -1
  178. package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +1 -0
  179. package/assets/esri/core/workers/chunks/add834f867900a7091d2.js +1 -0
  180. package/assets/esri/core/workers/chunks/{bbf4c2ee4d56bb0f1a81.js → afa6b74d9ca9ed0154af.js} +1 -1
  181. package/assets/esri/core/workers/chunks/b0e25ccb5a1e57a82628.js +1 -0
  182. package/assets/esri/core/workers/chunks/b17a9853250ab626d58d.js +1 -0
  183. package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +1 -0
  184. package/assets/esri/core/workers/chunks/b2e2234fdf8e05bc3312.js +1 -0
  185. package/assets/esri/core/workers/chunks/b6063d1755def00d4889.js +1 -0
  186. package/assets/esri/core/workers/chunks/bb56ab53c5a10c9518a6.js +1 -0
  187. package/assets/esri/core/workers/chunks/bd1a7e95a797e1ed4a7b.js +1 -0
  188. package/assets/esri/core/workers/chunks/bd2602195e265f8fdb15.js +1 -0
  189. package/assets/esri/core/workers/chunks/bdfffa5f88b559a4b42d.js +1 -0
  190. package/assets/esri/core/workers/chunks/{f762f0f6c83748d8e328.js → bee411f08e2a9499f8f5.js} +1 -1
  191. package/assets/esri/core/workers/chunks/bf11319138facf44752c.js +1 -0
  192. package/assets/esri/core/workers/chunks/bf357afbabaa8dec4d75.js +1 -0
  193. package/assets/esri/core/workers/chunks/bf7875fda48b15271a10.js +1 -0
  194. package/assets/esri/core/workers/chunks/bfa59005a9b191d18546.js +1 -0
  195. package/assets/esri/core/workers/chunks/bfb8fc6b940bd5510e29.js +1 -0
  196. package/assets/esri/core/workers/chunks/{b311658b8a223efe35d6.js → c0e073a77484b0dfd383.js} +1 -1
  197. package/assets/esri/core/workers/chunks/c13aa45ccd5efb662f88.js +1 -0
  198. package/assets/esri/core/workers/chunks/c176df477bbbbc9c6922.js +1 -0
  199. package/assets/esri/core/workers/chunks/{073224c6ac77dc9e97af.js → c23943e51734254d31e8.js} +1 -1
  200. package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +1 -0
  201. package/assets/esri/core/workers/chunks/c4fef90cf08bbe4f0bb5.js +1 -0
  202. package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +1 -0
  203. package/assets/esri/core/workers/chunks/c80277a313205853a857.js +1 -0
  204. package/assets/esri/core/workers/chunks/c88bfa51d2a8a024fc24.js +1 -0
  205. package/assets/esri/core/workers/chunks/c91042f8bf886056a29c.js +1 -0
  206. package/assets/esri/core/workers/chunks/ca204c110438f7315790.js +1 -0
  207. package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +1 -0
  208. package/assets/esri/core/workers/chunks/cb6fb04fe5c8d90d4196.js +1 -0
  209. package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +1 -0
  210. package/assets/esri/core/workers/chunks/{85f459297b0214141d43.js → cd02a6078443b8f63927.js} +1 -1
  211. package/assets/esri/core/workers/chunks/{3a36c132ceddef3d15c8.js → cdbcc4cd9145dd93db49.js} +1 -1
  212. package/assets/esri/core/workers/chunks/{e90feee1756a2209f93f.js → ce9fe1a89b474f9e7ee7.js} +1 -1
  213. package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +1 -0
  214. package/assets/esri/core/workers/chunks/d119671a32a050517cca.js +1 -0
  215. package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +1 -0
  216. package/assets/esri/core/workers/chunks/d270b49c037085503016.js +1 -0
  217. package/assets/esri/core/workers/chunks/{f5eee6e548bb24b5a003.js → d30a7fc8dab4ebb8893b.js} +1 -1
  218. package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +1 -0
  219. package/assets/esri/core/workers/chunks/d36bbda9b7261534568f.js +1 -0
  220. package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +1 -0
  221. package/assets/esri/core/workers/chunks/d58d6b55b2749a535eb3.js +1 -0
  222. package/assets/esri/core/workers/chunks/d6f7aa280f1bd201d4ef.js +1 -0
  223. package/assets/esri/core/workers/chunks/{60f490afdbe299f89669.js → d871572997600930e017.js} +1 -1
  224. package/assets/esri/core/workers/chunks/da9aacdb0b4a04f42fb8.js +1 -0
  225. package/assets/esri/core/workers/chunks/daf7b647bd960d8bad56.js +1 -0
  226. package/assets/esri/core/workers/chunks/{10ac92dcd3738ec23dfb.js → db04c1bad40d068306ba.js} +1 -1
  227. package/assets/esri/core/workers/chunks/{3427f0c026301bcf7272.js → db180f8d25471cfa48af.js} +1 -1
  228. package/assets/esri/core/workers/chunks/ddf284648a73b6993737.js +1 -0
  229. package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +1 -0
  230. package/assets/esri/core/workers/chunks/e1682e94cc714197ebb4.js +1 -0
  231. package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +1 -0
  232. package/assets/esri/core/workers/chunks/e370a3337b3c90240e73.js +1 -0
  233. package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +1 -0
  234. package/assets/esri/core/workers/chunks/e40e08029325f43452d0.js +1 -0
  235. package/assets/esri/core/workers/chunks/e50adcfb392adfb3f79c.js +1 -0
  236. package/assets/esri/core/workers/chunks/{0d7d54e74b5639a0be6e.js → e707534a700a2de687ca.js} +1 -1
  237. package/assets/esri/core/workers/chunks/e823c9ccb7bc348d8824.js +1 -0
  238. package/assets/esri/core/workers/chunks/e88eee4c2fc4229c2a8b.js +1 -0
  239. package/assets/esri/core/workers/chunks/e9f29019aa78f07ace66.js +1 -0
  240. package/assets/esri/core/workers/chunks/ea75c23c44452f45a949.js +1 -0
  241. package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +1 -0
  242. package/assets/esri/core/workers/chunks/eda04911553cf99fb99b.js +1 -0
  243. package/assets/esri/core/workers/chunks/ee77999df3785468b2b6.js +1 -0
  244. package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +1 -0
  245. package/assets/esri/core/workers/chunks/f106cc7f559856f69b9f.js +1 -0
  246. package/assets/esri/core/workers/chunks/f247f3c5148fa0237a7c.js +1 -0
  247. package/assets/esri/core/workers/chunks/{a26dc2647a15b830390e.js → f253875feb11883deb84.js} +1 -1
  248. package/assets/esri/core/workers/chunks/f3716ce04d09af31cfb1.js +1 -0
  249. package/assets/esri/core/workers/chunks/f3d57c5b9dffd12e45b4.js +1 -0
  250. package/assets/esri/core/workers/chunks/f3e53be08ab9dbdf17ae.js +1 -0
  251. package/assets/esri/core/workers/chunks/f43ae1c2f89e1c4396cc.js +1 -0
  252. package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +1 -0
  253. package/assets/esri/core/workers/chunks/{147d1e7e2852a4197e5f.js → f665fb4c5633e0a459d8.js} +1 -1
  254. package/assets/esri/core/workers/chunks/f66e597e524b26e61cd3.js +1 -0
  255. package/assets/esri/core/workers/chunks/{bec140a69cfdb0519680.js → f74c7cbe4bd12f73ae90.js} +1 -1
  256. package/assets/esri/core/workers/chunks/{e6f6b38eda34708d61c5.js → f7f2102b16d201e5f531.js} +1 -1
  257. package/assets/esri/core/workers/chunks/f82ae237452b97cfc024.js +1 -0
  258. package/assets/esri/core/workers/chunks/f83c3597e9332bd991eb.js +1 -0
  259. package/assets/esri/core/workers/chunks/f8a6d8cdcabcd1d511b6.js +1 -0
  260. package/assets/esri/core/workers/chunks/f8f7b86bbd62106bc3d4.js +1 -0
  261. package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +1 -0
  262. package/assets/esri/core/workers/chunks/fbc7576ed12964059da6.js +1 -0
  263. package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +1 -0
  264. package/assets/esri/core/workers/chunks/fddcb8be714ad18ad0c8.js +1 -0
  265. package/assets/esri/core/workers/chunks/{baa46edd87e97f922128.js → ffe749d790320dddfa74.js} +1 -1
  266. package/chunks/Bufferer-CclWhXVb.js +1 -1
  267. package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
  268. package/chunks/Envelope.js +1 -1
  269. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  270. package/chunks/GeodeticUtils.js +1 -1
  271. package/chunks/GeographicTransformation.js +1 -1
  272. package/chunks/Geometry.js +1 -1
  273. package/chunks/GlowComposite.glsl.js +9 -7
  274. package/chunks/MultiPathImpl.js +1 -1
  275. package/chunks/OperatorCentroid2D.js +1 -1
  276. package/chunks/OperatorContains.js +2 -0
  277. package/chunks/OperatorCrosses.js +1 -1
  278. package/chunks/OperatorCut.js +1 -1
  279. package/chunks/OperatorDisjoint.js +2 -0
  280. package/chunks/OperatorDistance.js +2 -0
  281. package/chunks/OperatorEquals.js +2 -0
  282. package/chunks/OperatorGeodesicBuffer.js +1 -1
  283. package/chunks/OperatorGeodeticArea.js +1 -1
  284. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  285. package/chunks/OperatorGeodeticLength.js +1 -1
  286. package/chunks/OperatorGraphicBuffer.js +1 -1
  287. package/chunks/OperatorIntegrate.js +1 -1
  288. package/chunks/OperatorIntersects.js +1 -1
  289. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  290. package/chunks/OperatorOverlaps.js +1 -1
  291. package/chunks/OperatorProximity.js +1 -1
  292. package/chunks/OperatorProximityGeodesic.js +1 -1
  293. package/chunks/OperatorRelate.js +2 -0
  294. package/chunks/OperatorShapePreservingLength.js +1 -1
  295. package/chunks/OperatorShapePreservingProject.js +1 -1
  296. package/chunks/OperatorSimplifyOGC.js +1 -1
  297. package/chunks/OperatorTouches.js +1 -1
  298. package/chunks/OperatorWithin.js +1 -1
  299. package/chunks/Point2D.js +1 -1
  300. package/chunks/ProjectionTransformation.js +1 -1
  301. package/chunks/SideCalculator2D-DX0718xq.js +1 -1
  302. package/chunks/UnitFactory.js +1 -1
  303. package/chunks/aiServices.js +1 -1
  304. package/chunks/array.js +1 -1
  305. package/chunks/boundedPlane.js +1 -1
  306. package/chunks/cameraUtilsSpherical.js +1 -1
  307. package/chunks/languageUtils.js +1 -1
  308. package/config.js +1 -1
  309. package/core/accessorSupport/Property.js +1 -1
  310. package/core/sql/TimeOnly.js +1 -1
  311. package/core/units.js +1 -1
  312. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  313. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  314. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  315. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  316. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  317. package/form/elements/inputs/inputUtils.js +1 -1
  318. package/geometry/operators/areaOperator.js +1 -1
  319. package/geometry/operators/bufferOperator.js +1 -1
  320. package/geometry/operators/centroidOperator.js +1 -1
  321. package/geometry/operators/clipOperator.js +1 -1
  322. package/geometry/operators/containsOperator.js +1 -1
  323. package/geometry/operators/convexHullOperator.js +1 -1
  324. package/geometry/operators/crossesOperator.js +1 -1
  325. package/geometry/operators/cutOperator.js +1 -1
  326. package/geometry/operators/densifyOperator.js +1 -1
  327. package/geometry/operators/differenceOperator.js +1 -1
  328. package/geometry/operators/disjointOperator.js +1 -1
  329. package/geometry/operators/distanceOperator.js +1 -1
  330. package/geometry/operators/equalsOperator.js +1 -1
  331. package/geometry/operators/generalizeOperator.js +1 -1
  332. package/geometry/operators/geodesicBufferOperator.js +1 -1
  333. package/geometry/operators/geodeticAreaOperator.js +1 -1
  334. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  335. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  336. package/geometry/operators/geodeticLengthOperator.js +1 -1
  337. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  338. package/geometry/operators/gx/operatorBuffer.js +1 -1
  339. package/geometry/operators/gx/operatorDifference.js +1 -1
  340. package/geometry/operators/gx/operatorIntersection.js +1 -1
  341. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  342. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  343. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  344. package/geometry/operators/gx/operatorSimplify.js +1 -1
  345. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  346. package/geometry/operators/gx/operatorUnion.js +1 -1
  347. package/geometry/operators/intersectionOperator.js +1 -1
  348. package/geometry/operators/intersectsOperator.js +1 -1
  349. package/geometry/operators/json/containsOperator.js +1 -1
  350. package/geometry/operators/json/crossesOperator.js +1 -1
  351. package/geometry/operators/json/disjointOperator.js +1 -1
  352. package/geometry/operators/json/intersectsOperator.js +1 -1
  353. package/geometry/operators/json/overlapsOperator.js +1 -1
  354. package/geometry/operators/json/touchesOperator.js +1 -1
  355. package/geometry/operators/json/unionOperator.js +1 -1
  356. package/geometry/operators/json/withinOperator.js +1 -1
  357. package/geometry/operators/labelPointOperator.js +1 -1
  358. package/geometry/operators/lengthOperator.js +1 -1
  359. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  360. package/geometry/operators/offsetOperator.js +1 -1
  361. package/geometry/operators/overlapsOperator.js +1 -1
  362. package/geometry/operators/proximityOperator.js +1 -1
  363. package/geometry/operators/relateOperator.js +1 -1
  364. package/geometry/operators/reshapeOperator.js +1 -1
  365. package/geometry/operators/simplifyOGCOperator.js +1 -1
  366. package/geometry/operators/simplifyOperator.js +1 -1
  367. package/geometry/operators/support/apiConverter.js +1 -1
  368. package/geometry/operators/support/jsonConverter.js +1 -1
  369. package/geometry/operators/support/projectionTransformation.js +1 -1
  370. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  371. package/geometry/operators/touchesOperator.js +1 -1
  372. package/geometry/operators/unionOperator.js +1 -1
  373. package/geometry/operators/withinOperator.js +1 -1
  374. package/geometry/support/convexPolyhedron.js +1 -1
  375. package/geometry/support/curves/circleUtils.js +1 -1
  376. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  377. package/geometry/support/frustum.js +1 -1
  378. package/geometry/support/plane.js +1 -1
  379. package/geometry/support/webMercatorUtils.js +1 -1
  380. package/kernel.js +1 -1
  381. package/layers/VectorTileLayer.js +1 -1
  382. package/layers/graphics/data/FlatFeatureStore.js +1 -1
  383. package/layers/graphics/data/QueryEngine.js +1 -1
  384. package/layers/graphics/hydratedFeatures.js +1 -1
  385. package/layers/mixins/DataSeriesLayer.js +1 -1
  386. package/layers/support/csvUtils.js +1 -1
  387. package/layers/support/fieldUtils.js +1 -1
  388. package/layers/video/VideoController.js +1 -1
  389. package/package.json +4 -4
  390. package/support/ArcadeExpression.js +1 -1
  391. package/support/arcadeUtils.js +1 -1
  392. package/support/loadArcade.js +1 -1
  393. package/support/revision.js +1 -1
  394. package/support/tests/serviceMockDependencies.js +1 -1
  395. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  396. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  397. package/views/2d/engine/vectorTiles/TileManager.js +1 -1
  398. package/views/2d/engine/webgl/util/Fader.js +1 -1
  399. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  400. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  401. package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
  402. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  403. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  404. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  405. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  406. package/views/3d/input/SceneInputManager.js +1 -1
  407. package/views/3d/input/handlers/RopePullNavigation.js +2 -0
  408. package/views/3d/layers/I3SMeshView3D.js +1 -1
  409. package/views/3d/layers/IntegratedMeshNormals.js +1 -1
  410. package/views/3d/layers/TiledLayerView3D.js +1 -1
  411. package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
  412. package/views/3d/layers/i3s/I3SNode.js +1 -1
  413. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  414. package/views/3d/layers/i3s/SweptSphereVolume.js +1 -1
  415. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  416. package/views/3d/layers/support/IntegratedMesh3DTilesVertexProcessing.js +1 -1
  417. package/views/3d/state/Frustum.js +1 -1
  418. package/views/3d/state/controllers/RopePullController.js +2 -0
  419. package/views/3d/state/utils/ropePullUtils.js +1 -1
  420. package/views/3d/support/ElevationAgnosticVisibility.js +1 -1
  421. package/views/3d/support/sphericalTileUtils.js +1 -1
  422. package/views/3d/terrain/PlanarPatch.js +1 -1
  423. package/views/3d/terrain/SphericalPatch.js +1 -1
  424. package/views/3d/terrain/Tile.js +1 -1
  425. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  426. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  427. package/views/3d/webgl-engine/lib/LineMaterial.js +2 -0
  428. package/views/3d/webgl-engine/lib/Material.js +1 -1
  429. package/views/3d/webgl-engine/lib/PointMaterial.js +2 -0
  430. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  431. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  432. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  433. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  434. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  435. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  436. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  437. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  438. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  439. package/views/SelectionManager.js +1 -1
  440. package/views/draw/DrawTool.js +1 -1
  441. package/views/draw/support/createUtils.js +1 -1
  442. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  443. package/views/interactive/sketch/constraints.js +1 -1
  444. package/views/popupAdapter.js +1 -1
  445. package/views/support/GeometryWorker.js +1 -1
  446. package/views/support/geometry3dUtils.js +1 -1
  447. package/views/support/selectionUtils.js +1 -1
  448. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  449. package/widgets/BatchAttributeForm/expressions/ArcadeExecutorProvider.js +1 -1
  450. package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
  451. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  452. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  453. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  454. package/widgets/FeatureTable/support/types.d.ts +3 -1
  455. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  456. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  457. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  458. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  459. package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
  460. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  461. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  462. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  463. package/widgets/support/SelectionList/selectionListUtils.d.ts +58 -0
  464. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  465. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  466. package/arcade/kernel.js +0 -2
  467. package/assets/esri/core/workers/chunks/01b7babaefe6500fd6eb.js +0 -1
  468. package/assets/esri/core/workers/chunks/06e109e92de7fa0956e3.js +0 -1
  469. package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +0 -1
  470. package/assets/esri/core/workers/chunks/0993e51d3a9701ed2198.js +0 -1
  471. package/assets/esri/core/workers/chunks/09a0a1e794ddff65aa08.js +0 -1
  472. package/assets/esri/core/workers/chunks/0e57d33bd202d0972207.js +0 -1
  473. package/assets/esri/core/workers/chunks/114ba901fd319ce87dc6.js +0 -1
  474. package/assets/esri/core/workers/chunks/12a3b55195ce3244259d.js +0 -1
  475. package/assets/esri/core/workers/chunks/151bac9e519a3b821baf.js +0 -1
  476. package/assets/esri/core/workers/chunks/156f85ac1885464f0072.js +0 -1
  477. package/assets/esri/core/workers/chunks/180eebd8b7badc2840c9.js +0 -1
  478. package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +0 -1
  479. package/assets/esri/core/workers/chunks/19d4ecee1c161ac0f33c.js +0 -1
  480. package/assets/esri/core/workers/chunks/19ece9f5313f53384cac.js +0 -1
  481. package/assets/esri/core/workers/chunks/1d770e8f0fe57d937daa.js +0 -1
  482. package/assets/esri/core/workers/chunks/1dd22b8df6a52277c64b.js +0 -1
  483. package/assets/esri/core/workers/chunks/1ede298ab815e9ad625c.js +0 -1
  484. package/assets/esri/core/workers/chunks/208bc524bd1e0d3aab79.js +0 -1
  485. package/assets/esri/core/workers/chunks/20a4ae83542c7d39cf0f.js +0 -1
  486. package/assets/esri/core/workers/chunks/21071ab3d7b2771406ae.js +0 -1
  487. package/assets/esri/core/workers/chunks/21bfa89363104f041101.js +0 -1
  488. package/assets/esri/core/workers/chunks/21d0a4d6639d32278f11.js +0 -1
  489. package/assets/esri/core/workers/chunks/22a75fdc6ba60213a870.js +0 -1
  490. package/assets/esri/core/workers/chunks/22e004ed97e06536ecef.js +0 -1
  491. package/assets/esri/core/workers/chunks/23942712a3f6290e0fdb.js +0 -1
  492. package/assets/esri/core/workers/chunks/242287de82586d42f0a4.js +0 -1
  493. package/assets/esri/core/workers/chunks/25cb5086eaa412f6820b.js +0 -1
  494. package/assets/esri/core/workers/chunks/26c8ed0aef59ed6d5267.js +0 -1
  495. package/assets/esri/core/workers/chunks/2742d62fceaf0736aef0.js +0 -1
  496. package/assets/esri/core/workers/chunks/276eba546dc8774076ee.js +0 -1
  497. package/assets/esri/core/workers/chunks/28e02b213da9e682d3dc.js +0 -29
  498. package/assets/esri/core/workers/chunks/2d8195231cb16247f198.js +0 -1
  499. package/assets/esri/core/workers/chunks/2db1227ecd421728630d.js +0 -1
  500. package/assets/esri/core/workers/chunks/2ddc9c9ff6ec243d85e2.js +0 -1
  501. package/assets/esri/core/workers/chunks/2e712154ebb895d96ba1.js +0 -1
  502. package/assets/esri/core/workers/chunks/2f2df51d4976ae65edae.js +0 -1
  503. package/assets/esri/core/workers/chunks/32d31fd4cffdf5a80acb.js +0 -1
  504. package/assets/esri/core/workers/chunks/33aaa5a49e396a0aca47.js +0 -1
  505. package/assets/esri/core/workers/chunks/35622088727e120c93b9.js +0 -1
  506. package/assets/esri/core/workers/chunks/3714cc26f446c4d9cc2c.js +0 -1
  507. package/assets/esri/core/workers/chunks/3722d40d161d60370936.js +0 -1
  508. package/assets/esri/core/workers/chunks/3ac4cfeb1af12a9dc27d.js +0 -1
  509. package/assets/esri/core/workers/chunks/3b009c05eaec5a7048a8.js +0 -1
  510. package/assets/esri/core/workers/chunks/3b376318df4ff8519370.js +0 -1
  511. package/assets/esri/core/workers/chunks/3bf37fd3280f4891c76b.js +0 -1
  512. package/assets/esri/core/workers/chunks/3d18a10a1ecfabe92db3.js +0 -1
  513. package/assets/esri/core/workers/chunks/3de20165796fa4f76728.js +0 -1
  514. package/assets/esri/core/workers/chunks/3fbd4c7e25440c4713f2.js +0 -1
  515. package/assets/esri/core/workers/chunks/407dba2be21255eb47fc.js +0 -1
  516. package/assets/esri/core/workers/chunks/414093fa4957d17bf551.js +0 -1
  517. package/assets/esri/core/workers/chunks/44b1a4e8a65221ad3808.js +0 -1
  518. package/assets/esri/core/workers/chunks/48b31b8534e7bfe42976.js +0 -1
  519. package/assets/esri/core/workers/chunks/48f6af09436723f2d861.js +0 -1
  520. package/assets/esri/core/workers/chunks/49e37f653b81f9e4f7cc.js +0 -1
  521. package/assets/esri/core/workers/chunks/4b4221a869b3f0d517fa.js +0 -1
  522. package/assets/esri/core/workers/chunks/4b86bcde5992eb752ab0.js +0 -1
  523. package/assets/esri/core/workers/chunks/4b9095e2bd060efd47c4.js +0 -1
  524. package/assets/esri/core/workers/chunks/5084de4d0d4961b63ab7.js +0 -1
  525. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +0 -1
  526. package/assets/esri/core/workers/chunks/5324e4feb78203204c0c.js +0 -1
  527. package/assets/esri/core/workers/chunks/5536cee0dfc183584a9b.js +0 -1
  528. package/assets/esri/core/workers/chunks/58d10928959ae1e2e8d9.js +0 -1
  529. package/assets/esri/core/workers/chunks/597a8e3d9e458298fdd3.js +0 -1
  530. package/assets/esri/core/workers/chunks/5a006ff759fad9fc25cb.js +0 -1
  531. package/assets/esri/core/workers/chunks/60be6de19c5659091d8f.js +0 -1
  532. package/assets/esri/core/workers/chunks/61a38237e163b39520e5.js +0 -1
  533. package/assets/esri/core/workers/chunks/61fcdba6f2097378dce5.js +0 -1
  534. package/assets/esri/core/workers/chunks/6561c01c67db1f4c546e.js +0 -1
  535. package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +0 -1
  536. package/assets/esri/core/workers/chunks/67452ba9e87962b9e01e.js +0 -1
  537. package/assets/esri/core/workers/chunks/68195277046861ed39a7.js +0 -1
  538. package/assets/esri/core/workers/chunks/68705692335d57522030.js +0 -1
  539. package/assets/esri/core/workers/chunks/6a2a4da3a1cd64ff576f.js +0 -1
  540. package/assets/esri/core/workers/chunks/6af1680771fd8ae8c7dc.js +0 -1
  541. package/assets/esri/core/workers/chunks/6c367de583e0e657ca3a.js +0 -1
  542. package/assets/esri/core/workers/chunks/6d2021a0f0c9a3c6a0e6.js +0 -1
  543. package/assets/esri/core/workers/chunks/6db4a4f9a9ce7cc738d0.js +0 -1
  544. package/assets/esri/core/workers/chunks/6f2a9259240769c7cd6e.js +0 -1
  545. package/assets/esri/core/workers/chunks/724260e36efea90585f4.js +0 -1
  546. package/assets/esri/core/workers/chunks/74ae1222787389d5fcaa.js +0 -1
  547. package/assets/esri/core/workers/chunks/74bfaa98da6c5d375f05.js +0 -1
  548. package/assets/esri/core/workers/chunks/7a68a16f7fea712b9fd6.js +0 -1
  549. package/assets/esri/core/workers/chunks/7b2174b19d06c16715f0.js +0 -1
  550. package/assets/esri/core/workers/chunks/7d8e59ad438fb34b476d.js +0 -1
  551. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
  552. package/assets/esri/core/workers/chunks/80795118467fb31ea4ed.js +0 -1
  553. package/assets/esri/core/workers/chunks/820c530b8765ecb1f36e.js +0 -1
  554. package/assets/esri/core/workers/chunks/830daaca32352da6eebe.js +0 -1
  555. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  556. package/assets/esri/core/workers/chunks/85c538bf1209f0da1f8e.js +0 -1
  557. package/assets/esri/core/workers/chunks/8c2921081ca3e7fd0385.js +0 -1
  558. package/assets/esri/core/workers/chunks/8db3fd97e8eccd3ba1db.js +0 -1
  559. package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +0 -1
  560. package/assets/esri/core/workers/chunks/8e79a84e224d05204e7d.js +0 -1
  561. package/assets/esri/core/workers/chunks/8e9aff66a2d4e2cc102b.js +0 -1
  562. package/assets/esri/core/workers/chunks/917318f8e186f466dc52.js +0 -1
  563. package/assets/esri/core/workers/chunks/9267f6a65c2245696eac.js +0 -1
  564. package/assets/esri/core/workers/chunks/9407db0584c730591161.js +0 -1
  565. package/assets/esri/core/workers/chunks/958e161634b5bfd50625.js +0 -1
  566. package/assets/esri/core/workers/chunks/9658b46a7111cda53b0d.js +0 -1
  567. package/assets/esri/core/workers/chunks/974bcaf2a059b8cfb153.js +0 -1
  568. package/assets/esri/core/workers/chunks/99881d0a6c2490a16268.js +0 -1
  569. package/assets/esri/core/workers/chunks/99980c944acb8ff88d6a.js +0 -1
  570. package/assets/esri/core/workers/chunks/9c227785f4454d3966ea.js +0 -1
  571. package/assets/esri/core/workers/chunks/9d61d9136f3d00aab530.js +0 -1
  572. package/assets/esri/core/workers/chunks/9df2685583393a87df2d.js +0 -1
  573. package/assets/esri/core/workers/chunks/9e840a71906c4deef776.js +0 -1
  574. package/assets/esri/core/workers/chunks/9ee6e8a6b9bfda758c21.js +0 -1
  575. package/assets/esri/core/workers/chunks/a03f4605bde69bfb6d41.js +0 -1
  576. package/assets/esri/core/workers/chunks/a327843cee2057ee76c0.js +0 -1
  577. package/assets/esri/core/workers/chunks/a557347fb313df6fcc79.js +0 -1
  578. package/assets/esri/core/workers/chunks/a8da0728a12fc46dca23.js +0 -1
  579. package/assets/esri/core/workers/chunks/a9ea28e0f22cfe3ccf92.js +0 -1
  580. package/assets/esri/core/workers/chunks/aae92f23b38ae22dd8bf.js +0 -1
  581. package/assets/esri/core/workers/chunks/ad3714da9c90d7471385.js +0 -1
  582. package/assets/esri/core/workers/chunks/b047f9e9ba26037657ed.js +0 -1
  583. package/assets/esri/core/workers/chunks/b1323800119bd5c1759b.js +0 -1
  584. package/assets/esri/core/workers/chunks/b18c35f25da18a3219d7.js +0 -1
  585. package/assets/esri/core/workers/chunks/b1f68ee65cce457d7b5b.js +0 -1
  586. package/assets/esri/core/workers/chunks/b2d6fd436981c890152f.js +0 -1
  587. package/assets/esri/core/workers/chunks/b3c518ca8679fbe16ece.js +0 -1
  588. package/assets/esri/core/workers/chunks/b4b4fe06364bea9b0750.js +0 -1
  589. package/assets/esri/core/workers/chunks/b61b7005edd9ced925e9.js +0 -1
  590. package/assets/esri/core/workers/chunks/b661aae7e3ce955a783e.js +0 -1
  591. package/assets/esri/core/workers/chunks/b66ebe53bd879aa9de57.js +0 -1
  592. package/assets/esri/core/workers/chunks/b8ca80134abfcc692244.js +0 -1
  593. package/assets/esri/core/workers/chunks/bbdf10d76d852072c878.js +0 -1
  594. package/assets/esri/core/workers/chunks/bbeb61d9302323bae9fb.js +0 -1
  595. package/assets/esri/core/workers/chunks/bbfd2b4af8e498b61af9.js +0 -1
  596. package/assets/esri/core/workers/chunks/bdafd4f03585351cecc3.js +0 -1
  597. package/assets/esri/core/workers/chunks/bddd5aa7a14cd45ff91c.js +0 -1
  598. package/assets/esri/core/workers/chunks/be31c2cb97f664a54306.js +0 -1
  599. package/assets/esri/core/workers/chunks/be4319827db91aa71bf5.js +0 -1
  600. package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +0 -1
  601. package/assets/esri/core/workers/chunks/c1568bcd3f04014152e1.js +0 -1
  602. package/assets/esri/core/workers/chunks/c1a7c475ce0c59ffa75a.js +0 -1
  603. package/assets/esri/core/workers/chunks/c229a4eedda468c914a9.js +0 -1
  604. package/assets/esri/core/workers/chunks/c2b2942456f1b10d0e96.js +0 -1
  605. package/assets/esri/core/workers/chunks/c308d8f419ba63c583e6.js +0 -1
  606. package/assets/esri/core/workers/chunks/c5dc2743c7116d0bc0d8.js +0 -1
  607. package/assets/esri/core/workers/chunks/c68cc3b9c170b8de22dc.js +0 -1
  608. package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +0 -1
  609. package/assets/esri/core/workers/chunks/c71368cd64f240da1743.js +0 -1
  610. package/assets/esri/core/workers/chunks/cb2f27e5d465124b9868.js +0 -1
  611. package/assets/esri/core/workers/chunks/cee2f7f3b3f84688e49d.js +0 -1
  612. package/assets/esri/core/workers/chunks/d0942860a53b02371e94.js +0 -1
  613. package/assets/esri/core/workers/chunks/d13eeff678972a245d5d.js +0 -1
  614. package/assets/esri/core/workers/chunks/d3d7b4cd28a0dc2720d4.js +0 -1
  615. package/assets/esri/core/workers/chunks/d3ea7ac6fe71c95faa75.js +0 -1
  616. package/assets/esri/core/workers/chunks/d41e4498aaf4970f48b0.js +0 -1
  617. package/assets/esri/core/workers/chunks/d56603e1d0031f3c5f3b.js +0 -1
  618. package/assets/esri/core/workers/chunks/d7c8725ffb175cec5f8a.js +0 -1
  619. package/assets/esri/core/workers/chunks/d96fa373dcb621c2a869.js +0 -1
  620. package/assets/esri/core/workers/chunks/da233362b06b6db375f1.js +0 -1
  621. package/assets/esri/core/workers/chunks/dbc8f15a6be835f4897d.js +0 -1
  622. package/assets/esri/core/workers/chunks/e00d0036974aaec7d876.js +0 -1
  623. package/assets/esri/core/workers/chunks/e0c75ae3a211a8da10f7.js +0 -1
  624. package/assets/esri/core/workers/chunks/e474106292834633e7d4.js +0 -1
  625. package/assets/esri/core/workers/chunks/e557043f90c051e93925.js +0 -1
  626. package/assets/esri/core/workers/chunks/e5cbed6f19c743915c8e.js +0 -1
  627. package/assets/esri/core/workers/chunks/e5ecd93bd32e99bc99d1.js +0 -1
  628. package/assets/esri/core/workers/chunks/e64ccdb8328eb6514e59.js +0 -1
  629. package/assets/esri/core/workers/chunks/eb8c4f194bb66a27d418.js +0 -1
  630. package/assets/esri/core/workers/chunks/ebd8c77df5df63bd3efe.js +0 -1
  631. package/assets/esri/core/workers/chunks/f14347f5d63f5d102617.js +0 -1
  632. package/assets/esri/core/workers/chunks/f3c0280b6c87f2383a60.js +0 -1
  633. package/assets/esri/core/workers/chunks/f42c4dcb8f413ca1c6fd.js +0 -1
  634. package/assets/esri/core/workers/chunks/f5773321487ec248fa3b.js +0 -1
  635. package/assets/esri/core/workers/chunks/f76911f71540b058a881.js +0 -1
  636. package/assets/esri/core/workers/chunks/f988d5a6dcc15fe34797.js +0 -1
  637. package/assets/esri/core/workers/chunks/fa29b5064d6626cfc019.js +0 -1
  638. package/assets/esri/core/workers/chunks/fa882d0f4a9826533421.js +0 -1
  639. package/assets/esri/core/workers/chunks/fb2d43608006f588e3cb.js +0 -1
  640. package/assets/esri/core/workers/chunks/fbd02e8277fe2252ecd2.js +0 -1
  641. package/assets/esri/core/workers/chunks/fc1aeea22f8c9d63864a.js +0 -1
  642. package/assets/esri/core/workers/chunks/fc3c03cfa3d6bf3b37dc.js +0 -1
  643. package/assets/esri/core/workers/chunks/fcf7299e2ee904ab9882.js +0 -1
  644. package/assets/esri/core/workers/chunks/ff07d351553deb70b889.js +0 -1
  645. package/assets/esri/core/workers/chunks/ffee66699f5d26569baf.js +0 -1
  646. package/chunks/OperatorDefinitions.js +0 -2
  647. package/chunks/areaOperator.js +0 -2
  648. package/chunks/bufferOperator.js +0 -2
  649. package/chunks/centroidOperator.js +0 -2
  650. package/chunks/clipOperator.js +0 -2
  651. package/chunks/containsOperator.js +0 -2
  652. package/chunks/convexHullOperator.js +0 -2
  653. package/chunks/crossesOperator.js +0 -2
  654. package/chunks/cutOperator.js +0 -2
  655. package/chunks/densifyOperator.js +0 -2
  656. package/chunks/differenceOperator.js +0 -2
  657. package/chunks/disjointOperator.js +0 -2
  658. package/chunks/distanceOperator.js +0 -2
  659. package/chunks/equalsOperator.js +0 -2
  660. package/chunks/generalizeOperator.js +0 -2
  661. package/chunks/geodesicBufferOperator.js +0 -2
  662. package/chunks/geodeticAreaOperator.js +0 -2
  663. package/chunks/geodeticDensifyOperator.js +0 -2
  664. package/chunks/geodeticDistanceOperator.js +0 -2
  665. package/chunks/geodeticLengthOperator.js +0 -2
  666. package/chunks/intersectionOperator.js +0 -2
  667. package/chunks/intersectsOperator.js +0 -2
  668. package/chunks/labelPointOperator.js +0 -2
  669. package/chunks/lengthOperator.js +0 -2
  670. package/chunks/multiPartToSinglePartOperator.js +0 -2
  671. package/chunks/offsetOperator.js +0 -2
  672. package/chunks/overlapsOperator.js +0 -2
  673. package/chunks/proximityOperator.js +0 -2
  674. package/chunks/relateOperator.js +0 -2
  675. package/chunks/simplifyOperator.js +0 -2
  676. package/chunks/symmetricDifferenceOperator.js +0 -2
  677. package/chunks/touchesOperator.js +0 -2
  678. package/chunks/unionOperator.js +0 -2
  679. package/chunks/withinOperator.js +0 -2
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1735],{91735(e,t,n){n.d(t,{execute:()=>s,f:()=>c}),n(76061);const u=new(n(5247).O);function s(e,t,n,s){return u.execute(e,t,n,s,null)}function c(){return u.supportsCurves()}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1150],{81150(e,n,u){u.d(n,{execute:()=>s,f:()=>o,isSimpleAsFeature:()=>i,z:()=>c});var t=u(76061),r=(u(55537),u(88885),u(39117));u(95213);const l=new r.J;function s(e,n,u){return l.execute(e,n,u,null)}function c(e,n,u){const r=l.executeMany(new t.S(e),n,u,null);return Array.from(r)}function i(e,n,u){return l.isSimpleAsFeature(e,n,u,null,null)}function o(){return l.supportsCurves()}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5223],{35223(e,n,t){t.d(n,{execute:()=>o,f:()=>s,load:()=>r,s:()=>c});var u=t(83290);let i;function c(){return!!i&&(0,u.i)()}async function r(){if(!c()){const[e,n]=await Promise.all([t.e(8879).then(t.bind(t,28879)),t.e(3375).then(t.bind(t,15756)).then(({injectPe:e})=>e),(0,u.l)()]);i=new e.OperatorGeodeticLength,n(u.p)}}function o(e,n,t){return i.execute(e,n,t,null)}function s(){return i.supportsCurves()}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4250],{32198(t,n,e){function r(t,n,e,r){var o,a=arguments.length,u=a<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(u=(a<3?o(u):a>3?o(n,e,u):o(n,e))||u);return a>3&&u&&Object.defineProperty(n,e,u),u}function o(t,n,e){if(null!=n){if("object"!=typeof n&&"function"!=typeof n)throw new TypeError("Object expected.");var r,o;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose],e&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:n,dispose:r,async:e})}else e&&t.stack.push({async:!0});return n}e.d(n,{Cg:()=>r,hk:()=>u,mS:()=>o}),Object.create,Object.create;var a="function"==typeof SuppressedError?SuppressedError:function(t,n,e){var r=new Error(e);return r.name="SuppressedError",r.error=t,r.suppressed=n,r};function u(t){function n(n){t.error=t.hasError?new a(n,t.error,"An error was suppressed during disposal."):n,t.hasError=!0}var e,r=0;return function o(){for(;e=t.stack.pop();)try{if(!e.async&&1===r)return r=0,t.stack.push(e),Promise.resolve().then(o);if(e.dispose){var a=e.dispose.call(e.value);if(e.async)return r|=2,Promise.resolve(a).then(o,function(t){return n(t),o()})}else r|=1}catch(t){n(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},69540(t,n,e){var r=e(32198),o=e(69622),a=(e(44208),e(4718)),u=(e(53966),e(97768)),i=e(88620),s=e(64108);const c=Symbol("ClonableMixin"),l=t=>{var n;const e=t;let o=class extends e{constructor(){super(...arguments),this[n]=!0}static{n=c}clone(t){const n=(0,i.oY)(this);(0,u.Lw)(n,"unable to clone instance of non-accessor class");const e=n.metadata,r=n.store,o={},s=new Map;for(const n in e){const u=e[n],i=r?.originOf(n),c=u.clonable;if(u.readOnly||!1===c||7!==i&&0!==i&&5!==i&&4!==i)continue;const l=this[n];let f=null;if("function"==typeof c)f=c(l,t);else if("reference"===c)f=l;else if(f=(0,a.TU)(l,t),null!=l&&null==f)continue;0===i?s.set(n,f):o[n]=f}const c=new(0,Object.getPrototypeOf(this).constructor)(o);if(s.size){const t=(0,i.oY)(c)?.store;if(t)for(const[n,e]of s)t.set(n,e,0)}return c}};return o=(0,r.Cg)([(0,s.$)("esri.core.Clonable")],o),o},f=l(o.A);e.d(n,["OU",0,l,"Pw",0,f])},29242(t,n,e){function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,n,e,r,o,a,u,i,s){return[t,n,e,r,o,a,u,i,s]}e.d(n,{fA:()=>o,vt:()=>r});const a=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,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:o},Symbol.toStringTag,{value:"Module"})),e.d(n,["zK",0,a])},9093(t,n,e){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(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]]}e.d(n,{o8:()=>o,vt:()=>r});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:o,create:r,fromValues:function(t,n,e,r,o,a,u,i,s,c,l,f,h,d,M,b){return[t,n,e,r,o,a,u,i,s,c,l,f,h,d,M,b]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["zK",0,a])},51850(t,n,e){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function a(t,n,e){return[t,n,e]}function u(t,n,e){return[t,n,e]}function i(t,n=[0,0,0]){const e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function s(){return a(1,1,1)}function c(){return a(1,0,0)}function l(){return a(0,1,0)}function f(){return a(0,0,1)}e.d(n,{CN:()=>u,ci:()=>i,fA:()=>a,o8:()=>o,vt:()=>r});const h=[0,0,0],d=s(),M=c(),b=l(),p=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:M,UNIT_Y:b,UNIT_Z:p,ZEROS:h,clone:o,create:r,freeze:u,fromArray:i,fromValues:a,ones:s,unitX:c,unitY:l,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Cb",0,p,"Cw",0,M,"JP",0,b,"Un",0,d,"uY",0,h])},91829(t,n,e){function r(){return[0,0,0,0]}function o(t,n,e,r){return[t,n,e,r]}function a(){return o(1,1,1,1)}function u(){return o(1,0,0,0)}function i(){return o(0,1,0,0)}function s(){return o(0,0,1,0)}function c(){return o(0,0,0,1)}e.d(n,{_Y:()=>c,fA:()=>o,vt:()=>r});const l=[0,0,0,0],f=a(),h=u(),d=i(),M=s(),b=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_W:b,UNIT_X:h,UNIT_Y:d,UNIT_Z:M,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,n,e,r){return[t,n,e,r]},fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:a,unitW:c,unitX:u,unitY:i,unitZ:s,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Un",0,f,"uY",0,l])},34304(t,n,e){e.d(n,{DF:()=>s,FD:()=>o,ct:()=>c});let r=1e-6;function o(){return r}const a=Math.random,u=Math.PI/180,i=180/Math.PI;function s(t){return t*u}function c(t){return t*i}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:a,equals:function(t,n){return Math.abs(t-n)<=r*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:o,setEpsilon:function(t){r=t},toDegree:c,toRadian:s},Symbol.toStringTag,{value:"Module"})),e.d(n,["Ov",0,a])},77690(t,n,e){e.d(n,{B8:()=>i,Ge:()=>d,I0:()=>h,KC:()=>s,a4:()=>c,hZ:()=>a,hs:()=>f,lw:()=>l,mg:()=>u,z0:()=>o});var r=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function a(t,n,e,r,o,a,u,i,s,c){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t[4]=a,t[5]=u,t[6]=i,t[7]=s,t[8]=c,t}function u(t,n){if(t===n){const e=n[1],r=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=e,t[5]=n[7],t[6]=r,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function i(t,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=n[4],i=n[5],s=n[6],c=n[7],l=n[8],f=l*u-i*c,h=-l*a+i*s,d=c*a-u*s;let M=e*f+r*h+o*d;return M?(M=1/M,t[0]=f*M,t[1]=(-l*r+o*c)*M,t[2]=(i*r-o*u)*M,t[3]=h*M,t[4]=(l*e-o*s)*M,t[5]=(-i*e+o*a)*M,t[6]=d*M,t[7]=(-c*e+r*s)*M,t[8]=(u*e-r*a)*M,t):null}function s(t,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=n[4],i=n[5],s=n[6],c=n[7],l=n[8];return t[0]=u*l-i*c,t[1]=o*c-r*l,t[2]=r*i-o*u,t[3]=i*s-a*l,t[4]=e*l-o*s,t[5]=o*a-e*i,t[6]=a*c-u*s,t[7]=r*s-e*c,t[8]=e*u-r*a,t}function c(t){const n=t[0],e=t[1],r=t[2],o=t[3],a=t[4],u=t[5],i=t[6],s=t[7],c=t[8];return n*(c*a-u*s)+e*(-c*o+u*i)+r*(s*o-a*i)}function l(t,n,e){const r=n[0],o=n[1],a=n[2],u=n[3],i=n[4],s=n[5],c=n[6],l=n[7],f=n[8],h=e[0],d=e[1],M=e[2],b=e[3],p=e[4],m=e[5],y=e[6],g=e[7],w=e[8];return t[0]=h*r+d*u+M*c,t[1]=h*o+d*i+M*l,t[2]=h*a+d*s+M*f,t[3]=b*r+p*u+m*c,t[4]=b*o+p*i+m*l,t[5]=b*a+p*s+m*f,t[6]=y*r+g*u+w*c,t[7]=y*o+g*i+w*l,t[8]=y*a+g*s+w*f,t}function f(t,n,e){const r=e[0],o=e[1],a=e[2];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=a*n[6],t[7]=a*n[7],t[8]=a*n[8],t}function h(t,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=e+e,i=r+r,s=o+o,c=e*u,l=r*u,f=r*i,h=o*u,d=o*i,M=o*s,b=a*u,p=a*i,m=a*s;return t[0]=1-f-M,t[3]=l-m,t[6]=h+p,t[1]=l+m,t[4]=1-c-M,t[7]=d-b,t[2]=h-p,t[5]=d+b,t[8]=1-c-f,t}function d(t,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=n[4],i=n[5],s=n[6],c=n[7],l=n[8],f=n[9],h=n[10],d=n[11],M=n[12],b=n[13],p=n[14],m=n[15],y=e*i-r*u,g=e*s-o*u,w=e*c-a*u,v=r*s-o*i,A=r*c-a*i,I=o*c-a*s,O=l*b-f*M,S=l*p-h*M,U=l*m-d*M,C=f*p-h*b,x=f*m-d*b,T=h*m-d*p;let q=y*T-g*x+w*C+v*U-A*S+I*O;return q?(q=1/q,t[0]=(i*T-s*x+c*C)*q,t[1]=(s*U-u*T-c*S)*q,t[2]=(u*x-i*U+c*O)*q,t[3]=(o*x-r*T-a*C)*q,t[4]=(e*T-o*U+a*S)*q,t[5]=(r*U-e*x-a*O)*q,t[6]=(b*I-p*A+m*v)*q,t[7]=(p*w-M*I-m*g)*q,t[8]=(M*A-b*w+m*y)*q,t):null}function M(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t}const b=l,p=M;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t},adjoint:s,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:c,equals:function(t,n){const e=t[0],o=t[1],a=t[2],u=t[3],i=t[4],s=t[5],c=t[6],l=t[7],f=t[8],h=n[0],d=n[1],M=n[2],b=n[3],p=n[4],m=n[5],y=n[6],g=n[7],w=n[8],v=(0,r.FD)();return Math.abs(e-h)<=v*Math.max(1,Math.abs(e),Math.abs(h))&&Math.abs(o-d)<=v*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(a-M)<=v*Math.max(1,Math.abs(a),Math.abs(M))&&Math.abs(u-b)<=v*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(i-p)<=v*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(s-m)<=v*Math.max(1,Math.abs(s),Math.abs(m))&&Math.abs(c-y)<=v*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(l-g)<=v*Math.max(1,Math.abs(l),Math.abs(g))&&Math.abs(f-w)<=v*Math.max(1,Math.abs(f),Math.abs(w))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:o,fromQuat:h,fromRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=-e,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:i,isOrthoNormal:function(t){const n=(0,r.FD)(),e=t[0],o=t[1],a=t[2],u=t[3],i=t[4],s=t[5],c=t[6],l=t[7],f=t[8];return Math.abs(1-(e*e+u*u+c*c))<=n&&Math.abs(1-(o*o+i*i+l*l))<=n&&Math.abs(1-(a*a+s*s+f*f))<=n},mul:b,multiply:l,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t},normalFromMat4:d,normalFromMat4Legacy:function(t,n){const e=n[0],r=n[1],o=n[2],a=n[4],u=n[5],i=n[6],s=n[8],c=n[9],l=n[10],f=l*u-i*c,h=-l*a+i*s,d=c*a-u*s,M=e*f+r*h+o*d;if(!M)return null;const b=1/M;return t[0]=f*b,t[1]=(-l*r+o*c)*b,t[2]=(i*r-o*u)*b,t[3]=h*b,t[4]=(l*e-o*s)*b,t[5]=(-i*e+o*a)*b,t[6]=d*b,t[7]=(-c*e+r*s)*b,t[8]=(u*e-r*a)*b,t},projection:function(t,n,e){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/e,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,e){const r=n[0],o=n[1],a=n[2],u=n[3],i=n[4],s=n[5],c=n[6],l=n[7],f=n[8],h=Math.sin(e),d=Math.cos(e);return t[0]=d*r+h*u,t[1]=d*o+h*i,t[2]=d*a+h*s,t[3]=d*u-h*r,t[4]=d*i-h*o,t[5]=d*s-h*a,t[6]=c,t[7]=l,t[8]=f,t},scale:f,scaleByVec2:function(t,n,e){const r=e[0],o=e[1];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},set:a,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:p,subtract:M,translate:function(t,n,e){const r=n[0],o=n[1],a=n[2],u=n[3],i=n[4],s=n[5],c=n[6],l=n[7],f=n[8],h=e[0],d=e[1];return t[0]=r,t[1]=o,t[2]=a,t[3]=u,t[4]=i,t[5]=s,t[6]=h*r+d*u+c,t[7]=h*o+d*i+l,t[8]=h*a+d*s+f,t},transpose:u},Symbol.toStringTag,{value:"Module"}))},58083(t,n,e){e.d(n,{$0:()=>m,$h:()=>C,B8:()=>l,C:()=>a,D_:()=>i,N9:()=>g,O7:()=>U,Qw:()=>c,Tl:()=>h,X_:()=>I,e$:()=>M,eL:()=>b,hM:()=>y,hZ:()=>u,hs:()=>d,kN:()=>p,l:()=>O,lw:()=>f,mg:()=>s,o1:()=>S,sC:()=>A,t2:()=>q,t5:()=>x,tZ:()=>D,ut:()=>_});var r=e(51850),o=e(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function u(t,n,e,r,o,a,u,i,s,c,l,f,h,d,M,b,p){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t[4]=a,t[5]=u,t[6]=i,t[7]=s,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=d,t[13]=M,t[14]=b,t[15]=p,t}function i(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 s(t,n){if(t===n){const e=n[1],r=n[2],o=n[3],a=n[6],u=n[7],i=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=e,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=a,t[11]=n[14],t[12]=o,t[13]=u,t[14]=i}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){return l(t,n)||i(t),t}function l(t,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=n[4],i=n[5],s=n[6],c=n[7],l=n[8],f=n[9],h=n[10],d=n[11],M=n[12],b=n[13],p=n[14],m=n[15],y=e*i-r*u,g=e*s-o*u,w=e*c-a*u,v=r*s-o*i,A=r*c-a*i,I=o*c-a*s,O=l*b-f*M,S=l*p-h*M,U=l*m-d*M,C=f*p-h*b,x=f*m-d*b,T=h*m-d*p;let q=y*T-g*x+w*C+v*U-A*S+I*O;return q?(q=1/q,t[0]=(i*T-s*x+c*C)*q,t[1]=(o*x-r*T-a*C)*q,t[2]=(b*I-p*A+m*v)*q,t[3]=(h*A-f*I-d*v)*q,t[4]=(s*U-u*T-c*S)*q,t[5]=(e*T-o*U+a*S)*q,t[6]=(p*w-M*I-m*g)*q,t[7]=(l*I-h*w+d*g)*q,t[8]=(u*x-i*U+c*O)*q,t[9]=(r*U-e*x-a*O)*q,t[10]=(M*A-b*w+m*y)*q,t[11]=(f*w-l*A-d*y)*q,t[12]=(i*S-u*C-s*O)*q,t[13]=(e*C-r*S+o*O)*q,t[14]=(b*g-M*v-p*y)*q,t[15]=(l*v-f*g+h*y)*q,t):null}function f(t,n,e){const r=n[0],o=n[1],a=n[2],u=n[3],i=n[4],s=n[5],c=n[6],l=n[7],f=n[8],h=n[9],d=n[10],M=n[11],b=n[12],p=n[13],m=n[14],y=n[15];let g=e[0],w=e[1],v=e[2],A=e[3];return t[0]=g*r+w*i+v*f+A*b,t[1]=g*o+w*s+v*h+A*p,t[2]=g*a+w*c+v*d+A*m,t[3]=g*u+w*l+v*M+A*y,g=e[4],w=e[5],v=e[6],A=e[7],t[4]=g*r+w*i+v*f+A*b,t[5]=g*o+w*s+v*h+A*p,t[6]=g*a+w*c+v*d+A*m,t[7]=g*u+w*l+v*M+A*y,g=e[8],w=e[9],v=e[10],A=e[11],t[8]=g*r+w*i+v*f+A*b,t[9]=g*o+w*s+v*h+A*p,t[10]=g*a+w*c+v*d+A*m,t[11]=g*u+w*l+v*M+A*y,g=e[12],w=e[13],v=e[14],A=e[15],t[12]=g*r+w*i+v*f+A*b,t[13]=g*o+w*s+v*h+A*p,t[14]=g*a+w*c+v*d+A*m,t[15]=g*u+w*l+v*M+A*y,t}function h(t,n,e){const r=e[0],o=e[1],a=e[2];if(n===t)t[12]=n[0]*r+n[4]*o+n[8]*a+n[12],t[13]=n[1]*r+n[5]*o+n[9]*a+n[13],t[14]=n[2]*r+n[6]*o+n[10]*a+n[14],t[15]=n[3]*r+n[7]*o+n[11]*a+n[15];else{const e=n[0],u=n[1],i=n[2],s=n[3],c=n[4],l=n[5],f=n[6],h=n[7],d=n[8],M=n[9],b=n[10],p=n[11];t[0]=e,t[1]=u,t[2]=i,t[3]=s,t[4]=c,t[5]=l,t[6]=f,t[7]=h,t[8]=d,t[9]=M,t[10]=b,t[11]=p,t[12]=e*r+c*o+d*a+n[12],t[13]=u*r+l*o+M*a+n[13],t[14]=i*r+f*o+b*a+n[14],t[15]=s*r+h*o+p*a+n[15]}return t}function d(t,n,e){const r=e[0],o=e[1],a=e[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*o,t[5]=n[5]*o,t[6]=n[6]*o,t[7]=n[7]*o,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=n[11]*a,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function M(t,n,e,r){let u=r[0],i=r[1],s=r[2],c=Math.sqrt(u*u+i*i+s*s);if(c<=(0,o.FD)())return void a(t,n);c=1/c,u*=c,i*=c,s*=c;const l=Math.sin(e),f=Math.cos(e),h=1-f,d=n[0],M=n[1],b=n[2],p=n[3],m=n[4],y=n[5],g=n[6],w=n[7],v=n[8],A=n[9],I=n[10],O=n[11],S=u*u*h+f,U=i*u*h+s*l,C=s*u*h-i*l,x=u*i*h-s*l,T=i*i*h+f,q=s*i*h+u*l,_=u*s*h+i*l,D=i*s*h-u*l,F=s*s*h+f;t[0]=d*S+m*U+v*C,t[1]=M*S+y*U+A*C,t[2]=b*S+g*U+I*C,t[3]=p*S+w*U+O*C,t[4]=d*x+m*T+v*q,t[5]=M*x+y*T+A*q,t[6]=b*x+g*T+I*q,t[7]=p*x+w*T+O*q,t[8]=d*_+m*D+v*F,t[9]=M*_+y*D+A*F,t[10]=b*_+g*D+I*F,t[11]=p*_+w*D+O*F,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function b(t,n,e){const r=Math.sin(e),o=Math.cos(e),a=n[4],u=n[5],i=n[6],s=n[7],c=n[8],l=n[9],f=n[10],h=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=a*o+c*r,t[5]=u*o+l*r,t[6]=i*o+f*r,t[7]=s*o+h*r,t[8]=c*o-a*r,t[9]=l*o-u*r,t[10]=f*o-i*r,t[11]=h*o-s*r,t}function p(t,n){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]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function m(t,n,e){if(0===n)return i(t);let r=e[0],a=e[1],u=e[2],s=Math.sqrt(r*r+a*a+u*u);if(s<=(0,o.FD)())return null;s=1/s,r*=s,a*=s,u*=s;const c=Math.sin(n),l=Math.cos(n),f=1-l;return t[0]=r*r*f+l,t[1]=a*r*f+u*c,t[2]=u*r*f-a*c,t[3]=0,t[4]=r*a*f-u*c,t[5]=a*a*f+l,t[6]=u*a*f+r*c,t[7]=0,t[8]=r*u*f+a*c,t[9]=a*u*f-r*c,t[10]=u*u*f+l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=e,t[7]=0,t[8]=0,t[9]=-e,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=0,t[4]=-e,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 w(t,n,e){const r=n[0],o=n[1],a=n[2],u=n[3],i=r+r,s=o+o,c=a+a,l=r*i,f=r*s,h=r*c,d=o*s,M=o*c,b=a*c,p=u*i,m=u*s,y=u*c;return t[0]=1-(d+b),t[1]=f+y,t[2]=h-m,t[3]=0,t[4]=f-y,t[5]=1-(l+b),t[6]=M+p,t[7]=0,t[8]=h+m,t[9]=M-p,t[10]=1-(l+d),t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}const v=(0,r.vt)();function A(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function I(t,n){const e=n[0],r=n[1],o=n[2],a=n[4],u=n[5],i=n[6],s=n[8],c=n[9],l=n[10];return t[0]=Math.sqrt(e*e+r*r+o*o),t[1]=Math.sqrt(a*a+u*u+i*i),t[2]=Math.sqrt(s*s+c*c+l*l),t}function O(t,n){const e=n[0]+n[5]+n[10];let r=0;return e>0?(r=2*Math.sqrt(e+1),t[3]=.25*r,t[0]=(n[6]-n[9])/r,t[1]=(n[8]-n[2])/r,t[2]=(n[1]-n[4])/r):n[0]>n[5]&&n[0]>n[10]?(r=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/r,t[0]=.25*r,t[1]=(n[1]+n[4])/r,t[2]=(n[8]+n[2])/r):n[5]>n[10]?(r=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/r,t[0]=(n[1]+n[4])/r,t[1]=.25*r,t[2]=(n[6]+n[9])/r):(r=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/r,t[0]=(n[8]+n[2])/r,t[1]=(n[6]+n[9])/r,t[2]=.25*r),t}function S(t,n,e,r){const o=n[0],a=n[1],u=n[2],i=n[3],s=o+o,c=a+a,l=u+u,f=o*s,h=o*c,d=o*l,M=a*c,b=a*l,p=u*l,m=i*s,y=i*c,g=i*l,w=r[0],v=r[1],A=r[2];return t[0]=(1-(M+p))*w,t[1]=(h+g)*w,t[2]=(d-y)*w,t[3]=0,t[4]=(h-g)*v,t[5]=(1-(f+p))*v,t[6]=(b+m)*v,t[7]=0,t[8]=(d+y)*A,t[9]=(b-m)*A,t[10]=(1-(f+M))*A,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function U(t,n,e,r,o){const a=n[0],u=n[1],i=n[2],s=n[3],c=a+a,l=u+u,f=i+i,h=a*c,d=a*l,M=a*f,b=u*l,p=u*f,m=i*f,y=s*c,g=s*l,w=s*f,v=r[0],A=r[1],I=r[2],O=o[0],S=o[1],U=o[2],C=(1-(b+m))*v,x=(d+w)*v,T=(M-g)*v,q=(d-w)*A,_=(1-(h+m))*A,D=(p+y)*A,F=(M+g)*I,R=(p-y)*I,j=(1-(h+b))*I;return t[0]=C,t[1]=x,t[2]=T,t[3]=0,t[4]=q,t[5]=_,t[6]=D,t[7]=0,t[8]=F,t[9]=R,t[10]=j,t[11]=0,t[12]=e[0]+O-(C*O+q*S+F*U),t[13]=e[1]+S-(x*O+_*S+R*U),t[14]=e[2]+U-(T*O+D*S+j*U),t[15]=1,t}function C(t,n,e,r,o,a,u){const i=1/(e-n),s=1/(o-r),c=1/(a-u);return t[0]=2*a*i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*s,t[6]=0,t[7]=0,t[8]=(e+n)*i,t[9]=(o+r)*s,t[10]=(u+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*a*2*c,t[15]=0,t}function x(t,n,e,r){const a=n[0],u=n[1],s=n[2];let c=a-e[0],l=u-e[1],f=s-e[2];const h=(0,o.FD)();if(Math.abs(c)<h&&Math.abs(l)<h&&Math.abs(f)<h)return void i(t);let d=1/Math.sqrt(c*c+l*l+f*f);c*=d,l*=d,f*=d;const M=r[0],b=r[1],p=r[2];let m=b*f-p*l,y=p*c-M*f,g=M*l-b*c;d=Math.sqrt(m*m+y*y+g*g),d?(d=1/d,m*=d,y*=d,g*=d):(m=0,y=0,g=0);let w=l*g-f*y,v=f*m-c*g,A=c*y-l*m;d=Math.sqrt(w*w+v*v+A*A),d?(d=1/d,w*=d,v*=d,A*=d):(w=0,v=0,A=0),t[0]=m,t[1]=w,t[2]=c,t[3]=0,t[4]=y,t[5]=v,t[6]=l,t[7]=0,t[8]=g,t[9]=A,t[10]=f,t[11]=0,t[12]=-(m*a+y*u+g*s),t[13]=-(w*a+v*u+A*s),t[14]=-(c*a+l*u+f*s),t[15]=1}function T(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t[9]=n[9]-e[9],t[10]=n[10]-e[10],t[11]=n[11]-e[11],t[12]=n[12]-e[12],t[13]=n[13]-e[13],t[14]=n[14]-e[14],t[15]=n[15]-e[15],t}function q(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function _(t){const n=(0,o.FD)(),e=t[0],r=t[1],a=t[2],u=t[4],i=t[5],s=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(e*e+u*u+c*c))<=n&&Math.abs(1-(r*r+i*i+l*l))<=n&&Math.abs(1-(a*a+s*s+f*f))<=n}function D(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 F=f,R=T;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t[9]=n[9]+e[9],t[10]=n[10]+e[10],t[11]=n[11]+e[11],t[12]=n[12]+e[12],t[13]=n[13]+e[13],t[14]=n[14]+e[14],t[15]=n[15]+e[15],t},adjoint:function(t,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=n[4],i=n[5],s=n[6],c=n[7],l=n[8],f=n[9],h=n[10],d=n[11],M=n[12],b=n[13],p=n[14],m=n[15];return t[0]=i*(h*m-d*p)-f*(s*m-c*p)+b*(s*d-c*h),t[1]=-(r*(h*m-d*p)-f*(o*m-a*p)+b*(o*d-a*h)),t[2]=r*(s*m-c*p)-i*(o*m-a*p)+b*(o*c-a*s),t[3]=-(r*(s*d-c*h)-i*(o*d-a*h)+f*(o*c-a*s)),t[4]=-(u*(h*m-d*p)-l*(s*m-c*p)+M*(s*d-c*h)),t[5]=e*(h*m-d*p)-l*(o*m-a*p)+M*(o*d-a*h),t[6]=-(e*(s*m-c*p)-u*(o*m-a*p)+M*(o*c-a*s)),t[7]=e*(s*d-c*h)-u*(o*d-a*h)+l*(o*c-a*s),t[8]=u*(f*m-d*b)-l*(i*m-c*b)+M*(i*d-c*f),t[9]=-(e*(f*m-d*b)-l*(r*m-a*b)+M*(r*d-a*f)),t[10]=e*(i*m-c*b)-u*(r*m-a*b)+M*(r*c-a*i),t[11]=-(e*(i*d-c*f)-u*(r*d-a*f)+l*(r*c-a*i)),t[12]=-(u*(f*p-h*b)-l*(i*p-s*b)+M*(i*h-s*f)),t[13]=e*(f*p-h*b)-l*(r*p-o*b)+M*(r*h-o*f),t[14]=-(e*(i*p-s*b)-u*(r*p-o*b)+M*(r*s-o*i)),t[15]=e*(i*h-s*f)-u*(r*h-o*f)+l*(r*s-o*i),t},copy:a,determinant:function(t){const n=t[0],e=t[1],r=t[2],o=t[3],a=t[4],u=t[5],i=t[6],s=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],M=t[13],b=t[14],p=t[15];return(n*u-e*a)*(f*p-h*b)-(n*i-r*a)*(l*p-h*M)+(n*s-o*a)*(l*b-f*M)+(e*i-r*u)*(c*p-h*d)-(e*s-o*u)*(c*b-f*d)+(r*s-o*i)*(c*M-l*d)},equals:function(t,n){if(t===n)return!0;const e=t[0],r=t[1],a=t[2],u=t[3],i=t[4],s=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],M=t[11],b=t[12],p=t[13],m=t[14],y=t[15],g=n[0],w=n[1],v=n[2],A=n[3],I=n[4],O=n[5],S=n[6],U=n[7],C=n[8],x=n[9],T=n[10],q=n[11],_=n[12],D=n[13],F=n[14],R=n[15],j=(0,o.FD)();return Math.abs(e-g)<=j*Math.max(1,Math.abs(e),Math.abs(g))&&Math.abs(r-w)<=j*Math.max(1,Math.abs(r),Math.abs(w))&&Math.abs(a-v)<=j*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(u-A)<=j*Math.max(1,Math.abs(u),Math.abs(A))&&Math.abs(i-I)<=j*Math.max(1,Math.abs(i),Math.abs(I))&&Math.abs(s-O)<=j*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(c-S)<=j*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(l-U)<=j*Math.max(1,Math.abs(l),Math.abs(U))&&Math.abs(f-C)<=j*Math.max(1,Math.abs(f),Math.abs(C))&&Math.abs(h-x)<=j*Math.max(1,Math.abs(h),Math.abs(x))&&Math.abs(d-T)<=j*Math.max(1,Math.abs(d),Math.abs(T))&&Math.abs(M-q)<=j*Math.max(1,Math.abs(M),Math.abs(q))&&Math.abs(b-_)<=j*Math.max(1,Math.abs(b),Math.abs(_))&&Math.abs(p-D)<=j*Math.max(1,Math.abs(p),Math.abs(D))&&Math.abs(m-F)<=j*Math.max(1,Math.abs(m),Math.abs(F))&&Math.abs(y-R)<=j*Math.max(1,Math.abs(y),Math.abs(R))},exactEquals:q,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,n){const e=n[0],r=n[1],o=n[2],a=n[3],u=e+e,i=r+r,s=o+o,c=e*u,l=r*u,f=r*i,h=o*u,d=o*i,M=o*s,b=a*u,p=a*i,m=a*s;return t[0]=1-f-M,t[1]=l+m,t[2]=h-p,t[3]=0,t[4]=l-m,t[5]=1-c-M,t[6]=d+b,t[7]=0,t[8]=h+p,t[9]=d-b,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const e=v,r=-n[0],o=-n[1],a=-n[2],u=n[3],i=n[4],s=n[5],c=n[6],l=n[7],f=r*r+o*o+a*a+u*u;return f>0?(e[0]=2*(i*u+l*r+s*a-c*o)/f,e[1]=2*(s*u+l*o+c*r-i*a)/f,e[2]=2*(c*u+l*a+i*o-s*r)/f):(e[0]=2*(i*u+l*r+s*a-c*o),e[1]=2*(s*u+l*o+c*r-i*a),e[2]=2*(c*u+l*a+i*o-s*r)),w(t,n,e),t},fromRotation:m,fromRotationTranslation:w,fromRotationTranslationScale:S,fromRotationTranslationScaleOrigin:U,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:p,fromXRotation:y,fromYRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=0,t[2]=-e,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=e,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:C,getRotation:O,getScale:I,getTranslation:A,hasIdentityRotation:D,identity:i,invert:l,invertOrIdentity:c,isOrthoNormal:_,lookAt:x,mul:F,multiply:f,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t[9]=n[9]*e,t[10]=n[10]*e,t[11]=n[11]*e,t[12]=n[12]*e,t[13]=n[13]*e,t[14]=n[14]*e,t[15]=n[15]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t[9]=n[9]+e[9]*r,t[10]=n[10]+e[10]*r,t[11]=n[11]+e[11]*r,t[12]=n[12]+e[12]*r,t[13]=n[13]+e[13]*r,t[14]=n[14]+e[14]*r,t[15]=n[15]+e[15]*r,t},ortho:function(t,n,e,r,o,a,u){const i=1/(n-e),s=1/(r-o),c=1/(a-u);return t[0]=-2*i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*s,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+e)*i,t[13]=(o+r)*s,t[14]=(u+a)*c,t[15]=1,t},perspective:function(t,n,e,r,o){const a=1/Math.tan(n/2);let u;return t[0]=a/e,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,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!=o&&o!==1/0?(u=1/(r-o),t[10]=(o+r)*u,t[14]=2*o*r*u):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,n,e,r){const o=Math.tan(n.upDegrees*Math.PI/180),a=Math.tan(n.downDegrees*Math.PI/180),u=Math.tan(n.leftDegrees*Math.PI/180),i=Math.tan(n.rightDegrees*Math.PI/180),s=2/(u+i),c=2/(o+a);return t[0]=s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(u-i)*s*.5,t[9]=(o-a)*c*.5,t[10]=r/(e-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*e/(e-r),t[15]=0,t},rotate:M,rotateX:b,rotateY:function(t,n,e){const r=Math.sin(e),o=Math.cos(e),a=n[0],u=n[1],i=n[2],s=n[3],c=n[8],l=n[9],f=n[10],h=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=a*o-c*r,t[1]=u*o-l*r,t[2]=i*o-f*r,t[3]=s*o-h*r,t[8]=a*r+c*o,t[9]=u*r+l*o,t[10]=i*r+f*o,t[11]=s*r+h*o,t},rotateZ:function(t,n,e){const r=Math.sin(e),o=Math.cos(e),a=n[0],u=n[1],i=n[2],s=n[3],c=n[4],l=n[5],f=n[6],h=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=a*o+c*r,t[1]=u*o+l*r,t[2]=i*o+f*r,t[3]=s*o+h*r,t[4]=c*o-a*r,t[5]=l*o-u*r,t[6]=f*o-i*r,t[7]=h*o-s*r,t},scale:d,set:u,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:R,subtract:T,targetTo:function(t,n,e,r){const o=n[0],a=n[1],u=n[2],i=r[0],s=r[1],c=r[2];let l=o-e[0],f=a-e[1],h=u-e[2],d=l*l+f*f+h*h;d>0&&(d=1/Math.sqrt(d),l*=d,f*=d,h*=d);let M=s*h-c*f,b=c*l-i*h,p=i*f-s*l;return d=M*M+b*b+p*p,d>0&&(d=1/Math.sqrt(d),M*=d,b*=d,p*=d),t[0]=M,t[1]=b,t[2]=p,t[3]=0,t[4]=f*p-h*b,t[5]=h*M-l*p,t[6]=l*b-f*M,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=o,t[13]=a,t[14]=u,t[15]=1,t},translate:h,transpose:s},Symbol.toStringTag,{value:"Module"}))},35522(t,n,e){e.d(n,{$A:()=>S,Bw:()=>a,C:()=>u,Cc:()=>U,DI:()=>A,Io:()=>y,Ln:()=>m,Om:()=>O,Qr:()=>f,Re:()=>c,S8:()=>I,T9:()=>b,WQ:()=>s,Z0:()=>C,_S:()=>d,aI:()=>R,ei:()=>x,fw:()=>q,gL:()=>T,hG:()=>g,hZ:()=>i,hs:()=>p,jk:()=>M,lw:()=>l,m3:()=>w,oW:()=>j,t2:()=>F,tn:()=>h,ze:()=>v});var r=e(51850),o=e(34304);function a(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function u(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function i(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function s(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function c(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function l(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function f(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t}function h(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function d(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function M(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t}function b(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t}function p(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function m(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t}function y(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(e*e+r*r+o*o)}function g(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return e*e+r*r+o*o}function w(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function v(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function A(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function I(t,n){const e=n[0],r=n[1],o=n[2];let a=e*e+r*r+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a),t}function O(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function S(t,n,e){const r=n[0],o=n[1],a=n[2],u=e[0],i=e[1],s=e[2];return t[0]=o*s-a*i,t[1]=a*u-r*s,t[2]=r*i-o*u,t}function U(t,n,e,r){const o=n[0],a=n[1],u=n[2];return t[0]=o+r*(e[0]-o),t[1]=a+r*(e[1]-a),t[2]=u+r*(e[2]-u),t}function C(t,n,e){const r=n[0],o=n[1],a=n[2];return t[0]=e[0]*r+e[4]*o+e[8]*a+e[12],t[1]=e[1]*r+e[5]*o+e[9]*a+e[13],t[2]=e[2]*r+e[6]*o+e[10]*a+e[14],t}function x(t,n,e){const r=n[0],o=n[1],a=n[2];return t[0]=r*e[0]+o*e[3]+a*e[6],t[1]=r*e[1]+o*e[4]+a*e[7],t[2]=r*e[2]+o*e[5]+a*e[8],t}function T(t,n,e){return q(t,n,e[0],e[1],e[2],e[3])}function q(t,n,e,r,o,a){const u=n[0],i=n[1],s=n[2],c=r*s-o*i,l=o*u-e*s,f=e*i-r*u,h=r*f-o*l,d=o*c-e*f,M=e*l-r*c,b=2*a;return t[0]=u+c*b+2*h,t[1]=i+l*b+2*d,t[2]=s+f*b+2*M,t}const _=(0,r.vt)(),D=(0,r.vt)();function F(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function R(t,n){if(t===n)return!0;const e=t[0],r=t[1],a=t[2],u=n[0],i=n[1],s=n[2],c=(0,o.FD)();return Math.abs(e-u)<=c*Math.max(1,Math.abs(e),Math.abs(u))&&Math.abs(r-i)<=c*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(a-s)<=c*Math.max(1,Math.abs(a),Math.abs(s))}function j(t,n,e){const r=e[0]-n[0],o=e[1]-n[1],a=e[2]-n[2];let u=r*r+o*o+a*a;return u>0?(u=1/Math.sqrt(u),t[0]=r*u,t[1]=o*u,t[2]=a*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const P=c,E=l,k=f,z=y,B=g,L=a,N=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:function(t,n){I(_,t),I(D,n);const e=O(_,D);return e>1?0:e<-1?Math.PI:Math.acos(e)},bezier:function(t,n,e,r,o,a){const u=1-a,i=u*u,s=a*a,c=i*u,l=3*a*i,f=3*s*u,h=s*a;return t[0]=n[0]*c+e[0]*l+r[0]*f+o[0]*h,t[1]=n[1]*c+e[1]*l+r[1]*f+o[1]*h,t[2]=n[2]*c+e[2]*l+r[2]*f+o[2]*h,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,e=1){return t[0]=Math.min(Math.max(t[0],n),e),t[1]=Math.min(Math.max(t[1],n),e),t[2]=Math.min(Math.max(t[2],n),e),t},copy:u,cross:S,crossAndNormalize:function(t,n,e){const r=n[0],o=n[1],a=n[2],u=e[0],i=e[1],s=e[2],c=o*s-a*i,l=a*u-r*s,f=r*i-o*u,h=Math.sqrt(c*c+l*l+f*f);return t[0]=c/h,t[1]=l/h,t[2]=f/h,t},direction:j,dist:z,distance:y,div:k,divide:f,dot:O,equals:R,exactEquals:F,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,e,r,o,a){const u=a*a,i=u*(2*a-3)+1,s=u*(a-2)+a,c=u*(a-1),l=u*(3-2*a);return t[0]=n[0]*i+e[0]*s+r[0]*c+o[0]*l,t[1]=n[1]*i+e[1]*s+r[1]*c+o[1]*l,t[2]=n[2]*i+e[2]*s+r[2]*c+o[2]*l,t},inverse:A,len:L,length:a,lerp:U,max:b,min:M,mul:E,multiply:l,negate:v,normalize:I,random:function(t,n=1){const e=o.Ov,r=2*e()*Math.PI,a=2*e()-1,u=Math.sqrt(1-a*a)*n;return t[0]=Math.cos(r)*u,t[1]=Math.sin(r)*u,t[2]=a*n,t},rotateX:function(t,n,e,r){const o=[],a=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],a[0]=o[0],a[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),a[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=a[0]+e[0],t[1]=a[1]+e[1],t[2]=a[2]+e[2],t},rotateY:function(t,n,e,r){const o=[],a=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],a[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),a[1]=o[1],a[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=a[0]+e[0],t[1]=a[1]+e[1],t[2]=a[2]+e[2],t},rotateZ:function(t,n,e,r){const o=[],a=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],a[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),a[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),a[2]=o[2],t[0]=a[0]+e[0],t[1]=a[1]+e[1],t[2]=a[2]+e[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:p,scaleAndAdd:m,scaleTo:function(t,n){return p(t,t,n/L(t))},set:i,sign:d,sqrDist:B,sqrLen:N,squaredDistance:g,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:P,subtract:c,transformMat3:x,transformMat4:C,transformMat4Z:function(t,n){return n[2]*t[0]+n[6]*t[1]+n[10]*t[2]+n[14]},transformQuat:T,transformQuatValues:q},Symbol.toStringTag,{value:"Module"})),e.d(n,["Il",0,L,"jb",0,P,"lo",0,B,"uE",0,N])},78955(t,n,e){e.d(n,{Bw:()=>p,C:()=>o,Cc:()=>w,LI:()=>h,Om:()=>g,S8:()=>y,T9:()=>f,WQ:()=>u,Z0:()=>v,aI:()=>I,hG:()=>b,hZ:()=>a,hs:()=>d,jk:()=>l,m3:()=>m,t2:()=>A});var r=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function a(t,n,e,r,o){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t}function u(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t}function i(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t}function s(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t[3]=n[3]*e[3],t}function c(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t[3]=n[3]/e[3],t}function l(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t[3]=Math.min(n[3],e[3]),t}function f(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t[3]=Math.max(n[3],e[3]),t}function h(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function d(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t}function M(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2],a=n[3]-t[3];return Math.sqrt(e*e+r*r+o*o+a*a)}function b(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2],a=n[3]-t[3];return e*e+r*r+o*o+a*a}function p(t){const n=t[0],e=t[1],r=t[2],o=t[3];return Math.sqrt(n*n+e*e+r*r+o*o)}function m(t){const n=t[0],e=t[1],r=t[2],o=t[3];return n*n+e*e+r*r+o*o}function y(t,n){const e=n[0],r=n[1],o=n[2],a=n[3];let u=e*e+r*r+o*o+a*a;return u>0&&(u=1/Math.sqrt(u),t[0]=e*u,t[1]=r*u,t[2]=o*u,t[3]=a*u),t}function g(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function w(t,n,e,r){const o=n[0],a=n[1],u=n[2],i=n[3];return t[0]=o+r*(e[0]-o),t[1]=a+r*(e[1]-a),t[2]=u+r*(e[2]-u),t[3]=i+r*(e[3]-i),t}function v(t,n,e){const r=n[0],o=n[1],a=n[2],u=n[3];return t[0]=e[0]*r+e[4]*o+e[8]*a+e[12]*u,t[1]=e[1]*r+e[5]*o+e[9]*a+e[13]*u,t[2]=e[2]*r+e[6]*o+e[10]*a+e[14]*u,t[3]=e[3]*r+e[7]*o+e[11]*a+e[15]*u,t}function A(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function I(t,n){const e=t[0],o=t[1],a=t[2],u=t[3],i=n[0],s=n[1],c=n[2],l=n[3],f=(0,r.FD)();return Math.abs(e-i)<=f*Math.max(1,Math.abs(e),Math.abs(i))&&Math.abs(o-s)<=f*Math.max(1,Math.abs(o),Math.abs(s))&&Math.abs(a-c)<=f*Math.max(1,Math.abs(a),Math.abs(c))&&Math.abs(u-l)<=f*Math.max(1,Math.abs(u),Math.abs(l))}const O=i,S=s,U=c,C=M,x=b,T=p,q=m;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:o,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:C,distance:M,div:U,divide:c,dot:g,equals:I,exactEquals:A,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:T,length:p,lerp:w,max:f,min:l,mul:S,multiply:s,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:y,random:function(t,n=1){const e=r.Ov;let o,a,u,i,s,c;do{o=2*e()-1,a=2*e()-1,s=o*o+a*a}while(s>=1);do{u=2*e()-1,i=2*e()-1,c=u*u+i*i}while(c>=1);const l=Math.sqrt((1-s)/c);return t[0]=n*o,t[1]=n*a,t[2]=n*u*l,t[3]=n*i*l,t},round:h,scale:d,scaleAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t},set:a,sqrDist:x,sqrLen:q,squaredDistance:b,squaredLength:m,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:O,subtract:i,transformMat4:v,transformQuat:function(t,n,e){const r=n[0],o=n[1],a=n[2],u=e[0],i=e[1],s=e[2],c=e[3],l=c*r+i*a-s*o,f=c*o+s*r-u*a,h=c*a+u*o-i*r,d=-u*r-i*o-s*a;return t[0]=l*c+d*-u+f*-s-h*-i,t[1]=f*c+d*-i+h*-u-l*-s,t[2]=h*c+d*-s+l*-i-f*-u,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},9762(t,n,e){e.r(n),e.d(n,{projectBuffer:()=>o});var r=e(49208);function o(t,n,e,o,a,u,i=Math.floor(t.length/3)){const s=(0,r.jd)(n,a);if(null==s)return!1;if(s===r.pO){if(t===o&&e===u)return!0;const n=e+3*i;for(let r=e,a=u;r<n;r++,a++)o[a]=t[r]??0;return!0}const c=e+3*i;for(let n=e,r=u;n<c;n+=3,r+=3)s(t,n,o,r);return!0}},49208(t,n,e){e.d(n,{Tp:()=>f,jd:()=>l,pO:()=>d});var r=e(34727),o=e(86211),a=e(73941),u=e(79258),i=e(34403),s=e(21325);const c={2:{5:d,7:null,9:null,10:d,1:v,6:null,8:null,0:null,3:b,11:p,2:d,4:U},5:{5:d,7:null,9:null,10:d,1:v,6:null,8:null,0:null,3:b,11:p,2:d,4:U},7:{5:null,7:d,9:null,10:d,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},3:{5:M,7:null,9:null,10:M,1:function(t,n,e,r){const o=t[n]/D,a=_-2*Math.atan(Math.exp(-t[n+1]/D)),u=D+(t[n+2]??0),i=Math.cos(a)*u;e[r]=Math.cos(o)*i,e[r+1]=Math.sin(o)*i,e[r+2]=Math.sin(a)*u},6:null,8:null,0:null,3:d,11:function(t,n,e,r){M(t,n,e,r),p(e,r,e,r)},2:M,4:function(t,n,e,r){M(t,n,e,r),U(e,r,e,r)}},4:{5:C,7:null,9:null,10:C,1:function(t,n,e,r){C(t,n,e,r),v(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){C(t,n,e,r),b(e,r,e,r)},11:function(t,n,e,r){C(t,n,e,r),p(e,r,e,r)},2:C,4:d},1:{5:S,7:null,9:null,10:S,1:d,6:null,8:null,0:null,3:function(t,n,e,r){S(t,n,e,r),b(e,r,e,r)},11:function(t,n,e,r){S(t,n,e,r),p(e,r,e,r)},2:S,4:function(t,n,e,r){S(t,n,e,r),U(e,r,e,r)}},6:{5:null,7:O,9:null,10:O,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:v,6:w,8:g,0:null,3:b,11:p,2:d,4:U},11:{5:m,7:null,9:null,10:m,1:function(t,n,e,r){m(t,n,e,r),v(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){m(t,n,e,r),b(e,r,e,r)},11:d,2:m,4:function(t,n,e,r){m(t,n,e,r),U(e,r,e,r)}}};function l(t,n){return f(t,n)?.projector}function f(t,n){if(null==t||null==n)return null;if(x.source.spatialReference===t&&x.dest.spatialReference===n)return x;const e=h(t,x.source),r=h(n,x.dest);return 0===e&&0===r?(0,s.aI)(t,n)?x.projector=d:x.projector=null:x.projector=c[e][r],x}function h(t,n){return t?n.spatialReference===t?n.spatialReferenceId:(n.spatialReference=t,"metersPerUnit"in n&&(n.metersPerUnit=(0,o.GA)(t,1)),(0,a.jA)(t)?n.spatialReferenceId=1:(0,s.oT)(t)?n.spatialReferenceId=2:(0,s.K8)(t)?n.spatialReferenceId=3:(0,s.r1)(t)?n.spatialReferenceId=11:t.wkt===a.Ro.wkt?n.spatialReferenceId=4:4490===t.wkid?n.spatialReferenceId=5:t.wkt===a.FY.wkt?n.spatialReferenceId=6:t.wkt===a.LJ.wkt?n.spatialReferenceId=8:(0,a.q8)(t)?n.spatialReferenceId=7:(0,a.KQ)(t)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function d(t,n,e,r){t!==e&&(e[r++]=t[n++],e[r++]=t[n++],e[r]=t[n]??0)}function M(t,n,e,r){e[r]=q*(t[n]/D),e[r+1]=q*(_-2*Math.atan(Math.exp(-t[n+1]/D))),e[r+2]=t[n+2]??0}function b(t,n,e,o){!function(t,n,e,o,a){const u=.4999999*Math.PI,i=(0,r.qE)(T*t[n+1],-u,u),s=Math.sin(i);e[o++]=T*t[n]*a.radius,e[o++]=a.halfSemiMajorAxis*Math.log((1+s)/(1-s)),e[o]=t[n+2]??0}(t,n,e,o,u.$O)}function p(t,n,e,r){e[r]=t[n]*F,e[r+1]=t[n+1]*F,e[r+2]=t[n+2]??0}function m(t,n,e,r){e[r]=t[n]*R,e[r+1]=t[n+1]*R,e[r+2]=t[n+2]??0}function y(t,n,e,r,o){const a=o+(t[n+2]??0),u=T*t[n],i=T*t[n+1],s=Math.cos(i)*a;e[r]=Math.cos(u)*s,e[r+1]=Math.sin(u)*s,e[r+2]=Math.sin(i)*a}function g(t,n,e,r){y(t,n,e,r,u.Sw.radius)}function w(t,n,e,r){y(t,n,e,r,u.sH.radius)}function v(t,n,e,r){y(t,n,e,r,u.$O.radius)}function A(t,n,e,o,a){const u=t[n],i=t[n+1],s=t[n+2]??0,c=Math.sqrt(u*u+i*i+s*s),l=(0,r.YN)(s/(0===c?1:c)),f=Math.atan2(i,u);e[o++]=q*f,e[o++]=q*l,e[o]=c-a}function I(t,n,e,r){A(t,n,e,r,u.Sw.radius)}function O(t,n,e,r){A(t,n,e,r,u.sH.radius)}function S(t,n,e,r){A(t,n,e,r,u.$O.radius)}function U(t,n,e,r){!function(t,n,e,r,o){const a=T*t[n],u=T*t[n+1],i=t[n+2]??0,s=Math.sin(u),c=Math.cos(u),l=o.radius/Math.sqrt(1-o.eccentricitySquared*s*s);e[r++]=(l+i)*c*Math.cos(a),e[r++]=(l+i)*c*Math.sin(a),e[r++]=(l*(1-o.eccentricitySquared)+i)*s}(t,n,e,r,u.$O)}function C(t,n,e,r){const o=i.TP,a=t[n],s=t[n+1],c=t[n+2]??0;let l,f,h,d,M,b,p,m,y,g,w,v,A,I,O,S,U,C,x,T,_;l=Math.abs(c),f=a*a+s*s,h=Math.sqrt(f),d=f+c*c,M=Math.sqrt(d),T=Math.atan2(s,a),b=c*c/d,p=f/d,I=o.a2/M,O=o.a3-o.a4/M,p>.3?(m=l/M*(1+p*(o.a1+I+b*O)/M),x=Math.asin(m),g=m*m,y=Math.sqrt(1-g)):(y=h/M*(1-b*(o.a5-I-p*O)/M),x=Math.acos(y),g=1-y*y,m=Math.sqrt(g)),w=1-u.$O.eccentricitySquared*g,v=u.$O.radius/Math.sqrt(w),A=o.a6*v,I=h-v*y,O=l-A*m,U=y*I+m*O,S=y*O-m*I,C=S/(A/w+U),x+=C,_=U+S*C/2,c<0&&(x=-x),e[r++]=q*T,e[r++]=q*x,e[r]=_}const x={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},T=(0,r.kU)(1),q=(0,r.KJ)(1),_=.5*Math.PI,D=u.$O.radius,F=D*Math.PI/180,R=180/(D*Math.PI);e.d(n,["w5",0,c])},98764(t,n,e){e.d(n,{lO:()=>l});var r=e(73941),o=e(16930),a=e(21325);const u=new o.A(r.fv),i=new o.A(r.FY),s=new o.A(r.LJ),c=new o.A(r.Ro);function l(t){const n=f.get(t);if(n)return n;let e=u;if(t)if(t===i)e=i;else if(t===s)e=s;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,a.tl)(n)||(0,a.tl)(r)?e=i:((0,a.ZL)(n)||(0,a.ZL)(r))&&(e=s);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?e=i:t===d&&(e=s)}}}return f.set(t,e),e}const f=new Map,h=i.wkt.toUpperCase(),d=s.wkt.toUpperCase();e.d(n,["GD",0,u,"Y0",0,c])},34403(t,n,e){var r=e(79258);Math.PI;const o=r.$O.radius,a=r.$O.eccentricitySquared,u={a1:o*a,a2:o*a*o*a,a3:o*a*a/2,a4:o*a*o*a*2.5,a5:o*a+o*a*a/2,a6:1-a};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,e.d(n,["TP",0,u])},64798(t,n,e){e.r(n),e.d(n,{default:()=>j});var r=e(4576),o=e(34275),a=e(82534),u=e(35522);function i(){return new Float32Array(3)}function s(t){const n=new Float32Array(3);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function c(t,n,e){const r=new Float32Array(3);return r[0]=t,r[1]=n,r[2]=e,r}function l(){return i()}function f(){return c(1,1,1)}function h(){return c(1,0,0)}function d(){return c(0,1,0)}function M(){return c(0,0,1)}const b=l(),p=f(),m=h(),y=d(),g=M();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:b,clone:s,create:i,fromValues:c,ones:f,unitX:h,unitY:d,unitZ:M,zeros:l},Symbol.toStringTag,{value:"Module"}));var w=e(51850),v=e(16930),A=e(9762),I=e(63531),O=e(69846),S=e(48425),U=e(59418),C=e(37203);function x(t,n,e){return t?.attributeInfo.useElevation?n?function(t,n){const e=new Float64Array(n);for(let r=0;r<n;r++)e[r]=t[3*r+2];return e}(n,e):null:t?.attributeInfo.storageInfo?(0,U.m0)(t.attributeInfo.storageInfo,t.buffer,e,!0):null}function T(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function q(t){let n=0;for(const e of t||[])n|=1<<e;return n}var _=e(57005);class D{transform(t){const n=this._transform(t),e=[n.points.buffer,n.rgb.buffer];null!=n.pointIdFilterMap&&e.push(n.pointIdFilterMap.buffer);for(const t of n.attributes)"buffer"in t.values&&(0,o.mw)(t.values.buffer)&&t.values.buffer!==n.rgb.buffer&&e.push(t.values.buffer);return Promise.resolve({result:n,transferList:e})}_transform(t){const n=function(t,n){if(null==t.encoding||""===t.encoding){const e=(0,U.wH)(n,t);if(null==e.vertexAttributes.position)return;const r=(0,U.MA)(n,e.vertexAttributes.position),o=e.header.fields,a=[o.offsetX,o.offsetY,o.offsetZ],u=[o.scaleX,o.scaleY,o.scaleZ],i=r.length/3,s=new Float64Array(3*i);for(let t=0;t<i;t++)s[3*t]=r[3*t]*u[0]+a[0],s[3*t+1]=r[3*t+1]*u[1]+a[1],s[3*t+2]=r[3*t+2]*u[2]+a[2];return s}if("lepcc-xyz"===t.encoding)return(0,C.Me)(n).result}(t.schema,t.geometryBuffer);let e=n.length/3,o=null;const a=new Array,u=x(t.primaryAttributeData,n,e);null!=t.primaryAttributeData&&u&&a.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:u});const i=x(t.modulationAttributeData,n,e);null!=t.modulationAttributeData&&i&&a.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:i});let s=function(t,n,e,r){const{rendererJSON:o,isRGBRenderer:a}=t;let u=null,i=null;if(n&&a)u=n;else if(n&&"pointCloudUniqueValueRenderer"===o?.type){i=S.A.fromJSON(o);const t=i.colorUniqueValueInfos;u=new Uint8Array(3*r);const e=T(i.fieldTransformType);for(let o=0;o<r;o++){const r=(e?e(n[o]):n[o])+"";for(let n=0;n<t.length;n++)if(t[n].values.includes(r)){u[3*o]=t[n].color.r,u[3*o+1]=t[n].color.g,u[3*o+2]=t[n].color.b;break}}}else if(n&&"pointCloudStretchRenderer"===o?.type){i=O.A.fromJSON(o);const t=i.stops;u=new Uint8Array(3*r);const e=T(i.fieldTransformType);for(let o=0;o<r;o++){const r=e?e(n[o]):n[o],a=t.length-1;if(r<t[0].value)u[3*o]=t[0].color.r,u[3*o+1]=t[0].color.g,u[3*o+2]=t[0].color.b;else if(r>=t[a].value)u[3*o]=t[a].color.r,u[3*o+1]=t[a].color.g,u[3*o+2]=t[a].color.b;else for(let n=1;n<t.length;n++)if(r<t[n].value){const e=(r-t[n-1].value)/(t[n].value-t[n-1].value);u[3*o]=t[n].color.r*e+t[n-1].color.r*(1-e),u[3*o+1]=t[n].color.g*e+t[n-1].color.g*(1-e),u[3*o+2]=t[n].color.b*e+t[n-1].color.b*(1-e);break}}}else if(n&&"pointCloudClassBreaksRenderer"===o?.type){i=I.A.fromJSON(o);const t=i.colorClassBreakInfos;u=new Uint8Array(3*r);const e=T(i.fieldTransformType);for(let o=0;o<r;o++){const r=e?e(n[o]):n[o];for(let n=0;n<t.length;n++)if(r>=t[n].minValue&&r<=t[n].maxValue){u[3*o]=t[n].color.r,u[3*o+1]=t[n].color.g,u[3*o+2]=t[n].color.b;break}}}else u=new Uint8Array(3*r).fill(255);if(e&&i?.colorModulation){const t=i.colorModulation.minValue,n=i.colorModulation.maxValue,o=.3;for(let a=0;a<r;a++){const r=e[a],i=r>=n?1:r<=t?o:o+(1-o)*(r-t)/(n-t);u[3*a]=i*u[3*a],u[3*a+1]=i*u[3*a+1],u[3*a+2]=i*u[3*a+2]}}return u}(t.rendererInfo,u,i,e);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const u=t.filterAttributesData.filter(r.Ru).map(t=>{const r=x(t,n,e),o={attributeInfo:t.attributeInfo,values:r};return a.push(o),o});o=new Uint32Array(e),e=function(t,n,e,r,o){const a=t.length/3,u=function(t){return t.map(t=>{const{filterJSON:n}=t;switch(n.type){case"pointCloudValueFilter":return{...t,valuesSet:new Set(n.values)};case"pointCloudBitfieldFilter":return{...t,clearMask:q(n.requiredClearBits),requiredMask:q(n.requiredSetBits)};default:return t}})}(r);let i=0;for(let r=0;r<a;r++){let a=!0;for(let t=0;t<u.length&&a;t++){const{clearMask:n,filterJSON:e,requiredMask:i,valuesSet:s}=u[t],c=o[t].values[r];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;s.has(c)===t&&(a=!1);break}case"pointCloudBitfieldFilter":(c&i)===i&&0===(c&n)||(a=!1);break;case"pointCloudReturnFilter":{const t=15&c,n=c>>>4&15,r=n>1,o=1===t,u=t===n;let i=!1;for(const t of e.includedReturns)if("last"===t&&u||"firstOfMany"===t&&o&&r||"lastOfMany"===t&&u&&r||"single"===t&&!r){i=!0;break}i||(a=!1);break}}}a&&(e[i]=r,t[3*i]=t[3*r],t[3*i+1]=t[3*r+1],t[3*i+2]=t[3*r+2],n[3*i]=n[3*r],n[3*i+1]=n[3*r+1],n[3*i+2]=n[3*r+2],i++)}return i}(n,s,o,t.filterInfo,u)}for(const r of t.userAttributesData){const t=x(r,n,e);a.push({attributeInfo:r.attributeInfo,values:t})}3*e<s.length&&(s=s.slice(0,3*e)),function(t,n,e){if(0!==e)for(let r=0;r<n;r++)t[3*r+2]+=e}(n,e,t.elevationOffset);const c=F(n,e,_.ab.fromData(t.obbData),v.A.fromJSON(t.inSR),v.A.fromJSON(t.outSR));return{obbData:t.obbData,points:c,rgb:s,attributes:a,pointIdFilterMap:o}}}function F(t,n,e,r,o){if(!(0,A.projectBuffer)(t,r,0,t,o,0,n))throw new Error("Can't reproject");const a=s(e.getCenter((0,w.vt)())),l=i(),f=i(),h=c(e.halfSizeX,e.halfSizeY,e.halfSizeZ);e.getQuaternionConjugate(R);const d=new Float32Array(3*n);for(let e=0;e<n;e++){let n=3*e;l[0]=t[n]-a[0],l[1]=t[n+1]-a[1],l[2]=t[n+2]-a[2],(0,u.gL)(f,l,R),h[0]=Math.max(h[0],Math.abs(f[0])),h[1]=Math.max(h[1],Math.abs(f[1])),h[2]=Math.max(h[2],Math.abs(f[2])),d[n++]=l[0],d[n++]=l[1],d[n]=l[2]}return e.setHalfSize(h),d}const R=(0,a.vt)();function j(){return new D}},59418(t,n,e){e.d(n,{wH:()=>b,MA:()=>h,E5:()=>d,m0:()=>m});var r=e(49186),o=e(4718),a=e(53966),u=e(34275),i=e(37203);const s=()=>a.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function c(t,n,e){let o="",a=0;for(;a<e;){const u=t[n+a];if(u<128)o+=String.fromCharCode(u),a++;else if(u>=192&&u<224){if(a+1>=e)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const i=(31&u)<<6|63&t[n+a+1];o+=String.fromCharCode(i),a+=2}else if(u>=224&&u<240){if(a+2>=e)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const i=(15&u)<<12|(63&t[n+a+1])<<6|63&t[n+a+2];o+=String.fromCharCode(i),a+=3}else{if(!(u>=240&&u<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(a+3>=e)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const i=(7&u)<<18|(63&t[n+a+1])<<12|(63&t[n+a+2])<<6|63&t[n+a+3];if(i>=65536){const t=55296+(i-65536>>10),n=56320+(1023&i);o+=String.fromCharCode(t,n)}else o+=String.fromCharCode(i);a+=4}}}return o}function l(t,n){const e={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<n.length;o++){const a=n[o],u=a.valueType||a.type,i=g[u];e.fields[a.property]=i(t,r),r+=y[u].BYTES_PER_ELEMENT}return e.byteCount=r,e}function f(t,n,e){const o=[];let a,u,i=0;for(u=0;u<t;u+=1){if(a=n[u],a>0){if(o.push(c(e,i,a-1)),0!==e[i+a-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);i+=a}return o}function h(t,n){return new(0,y[n.valueType])(t,n.byteOffset,n.count*n.valuesPerElement)}function d(t,n){if(!t)return null;const e=t[n];return(0,u.IY)(t)?-32768===e?null:e:(0,u._G)(t)?e===u.h2?null:e:e!=e?null:e}function M(t,n,e){if(n!==t&&s().error(`Invalid ${e} buffer size\n expected: ${t}, actual: ${n})`),n<t)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:n})}function b(t,n){const e=l(t,n&&n.header);let r=e.byteCount;const o={isDraco:!1,header:e,byteOffset:e.byteCount,byteCount:0,vertexAttributes:{}},a=e.fields,u=null!=a.vertexCount?a.vertexCount:a.count;for(const t of n.ordering){if(!n.vertexAttributes[t])continue;const e={...n.vertexAttributes[t],byteOffset:r,count:u},a=p[t]||"_"+t;o.vertexAttributes[a]=e,r+=v(e.valueType)*e.valuesPerElement*u}const i=a.faceCount;if(n.faces&&i){o.faces={};for(const t of n.ordering){if(!n.faces[t])continue;const e={...n.faces[t],byteOffset:r,count:i};o.faces[t]=e,r+=v(e.valueType)*e.valuesPerElement*i}}const s=a.featureCount;if(n.featureAttributes&&n.featureAttributeOrder&&s){o.featureAttributes={};for(const t of n.featureAttributeOrder){if(!n.featureAttributes[t])continue;const e={...n.featureAttributes[t],byteOffset:r,count:s};o.featureAttributes[t]=e,r+=("UInt64"===e.valueType?8:v(e.valueType))*e.valuesPerElement*s}}return M(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const p={position:"position",normal:"normal",color:"color",uv0:"uv0",region:"uvRegion"};function m(t,n,e,a=!1){if("lepcc-rgb"===t.encoding)return a?(0,i.mb)(n):function(t){return Array.isArray(t)?t.length<1024?t:new Uint8Array(t):t.length<1024?Array.from(t):t}((0,i.mb)(n));if("lepcc-intensity"===t.encoding)return a?(0,i.Ax)(n):function(t){return Array.isArray(t)?t.length<1024?t:new Uint16Array(t):t.length<1024?Array.from(t):t}((0,i.Ax)(n));if(null!=t.encoding&&""!==t.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(s().warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(s().warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const u=function(t,n,e){const a=null!=n.header?l(t,n.header):{byteOffset:0,byteCount:0,fields:{count:e}},u={header:a,byteOffset:a.byteCount,byteCount:0,entries:Object.create(null)};let i=a.byteCount;for(let t=0;t<n.ordering.length;t++){const e=n.ordering[t],s=(0,o.o8)(n[e]);if(s.count=a.fields.count??0,"String"===s.valueType){if(s.byteOffset=i,s.byteCount=a.fields[e+"ByteCount"],"UTF-8"!==s.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:s.encoding});if(s.timeEncoding&&"ECMA_ISO8601"!==s.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:s.timeEncoding})}else{if(!w(s.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:s.valueType});{const t=v(s.valueType);i+=i%t!==0?t-i%t:0,s.byteOffset=i,s.byteCount=t*s.valuesPerElement*s.count}}i+=s.byteCount??0,u.entries[e]=s}return u.byteCount=i-u.byteOffset,u}(n,t,e);M(u.byteOffset+u.byteCount,n.byteLength,"attribute");const c=u.entries.attributeValues||u.entries.objectIds;if(c){if("String"===c.valueType){const t=u.entries.attributeByteCounts,e=h(n,t),r=function(t,n){return new Uint8Array(t,n.byteOffset,n.byteCount)}(n,c);return c.timeEncoding?function(t,n,e){return f(t,n,e).map(t=>{const n=t?Date.parse(t):null;return null==n||Number.isNaN(n)?null:n})}(t.count,e,r):f(t.count,e,r)}return a?h(n,c):function(t,n){const e=h(t,n);if(e.length>=1024)return e;const r=new Array;return e.forEach((t,n)=>r.push(d(e,n))),r}(n,c)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const y={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},g={Float32:(t,n)=>new DataView(t,0).getFloat32(n,!0),Float64:(t,n)=>new DataView(t,0).getFloat64(n,!0),UInt8:(t,n)=>new DataView(t,0).getUint8(n),Int8:(t,n)=>new DataView(t,0).getInt8(n),UInt16:(t,n)=>new DataView(t,0).getUint16(n,!0),Int16:(t,n)=>new DataView(t,0).getInt16(n,!0),UInt32:(t,n)=>new DataView(t,0).getUint32(n,!0),Int32:(t,n)=>new DataView(t,0).getInt32(n,!0)};function w(t){return y.hasOwnProperty(t)}function v(t){return w(t)?y[t].BYTES_PER_ELEMENT:0}},37203(t,n,e){e.d(n,{Ax:()=>d,Me:()=>i,mb:()=>f});var r=e(49186);const o=!0;function a(t,n,e){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,e+0,10)),version:n.getUint16(e+10,o),checksum:n.getUint32(e+12,o)}}function u(t,n){return{sizeLo:t.getUint32(n+0,o),sizeHi:t.getUint32(n+4,o),minX:t.getFloat64(n+8,o),minY:t.getFloat64(n+16,o),minZ:t.getFloat64(n+24,o),maxX:t.getFloat64(n+32,o),maxY:t.getFloat64(n+40,o),maxZ:t.getFloat64(n+48,o),errorX:t.getFloat64(n+56,o),errorY:t.getFloat64(n+64,o),errorZ:t.getFloat64(n+72,o),count:t.getUint32(n+80,o),reserved:t.getUint32(n+84,o)}}function i(t){const n=new DataView(t,0);let e=0;const{identifier:o,version:i}=a(t,n,e);if(e+=16,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(i>1)throw new r.A("lepcc-decode-error","Unknown version");const c=u(n,e);if(e+=88,c.sizeHi*2**32+c.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const l=new Float64Array(3*c.count),f=[],h=[],d=[],M=[];if(e=s(t,e,f),e=s(t,e,h),e=s(t,e,d),e=s(t,e,M),e!==t.byteLength)throw new r.A("lepcc-decode-error","Bad length");let b=0,p=0;for(let t=0;t<f.length;t++){p+=f[t];let n=0;for(let e=0;e<h[t];e++){n+=d[b];const t=M[b];l[3*b]=Math.min(c.maxX,c.minX+2*c.errorX*n),l[3*b+1]=Math.min(c.maxY,c.minY+2*c.errorY*p),l[3*b+2]=Math.min(c.maxZ,c.minZ+2*c.errorZ*t),b++}}return{errorX:c.errorX,errorY:c.errorY,errorZ:c.errorZ,result:l}}function s(t,n,e){const r=[];n=c(t,n,r);const o=[];for(let a=0;a<r.length;a++){o.length=0,n=c(t,n,o);for(let t=0;t<o.length;t++)e.push(o[t]+r[a])}return n}function c(t,n,e){const a=new DataView(t,n),u=a.getUint8(0),i=31&u,s=!!(32&u),c=(192&u)>>6;let l=0;if(0===c)l=a.getUint32(1,o),n+=5;else if(1===c)l=a.getUint16(1,o),n+=3;else{if(2!==c)throw new r.A("lepcc-decode-error","Bad count type");l=a.getUint8(1),n+=2}if(s)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(l*i/8),h=new Uint8Array(t,n,f);let d=0,M=0,b=0;const p=-1>>>32-i;for(let t=0;t<l;t++){for(;M<i;)d|=h[b]<<M,M+=8,b+=1;e[t]=d&p,d>>>=i,M-=i,M+i>32&&(d|=h[b-1]>>8-M)}return n+b}function l(t,n){return{sizeLo:t.getUint32(n+0,o),sizeHi:t.getUint32(n+4,o),count:t.getUint32(n+8,o),colorMapCount:t.getUint16(n+12,o),lookupMethod:t.getUint8(n+14),compressionMethod:t.getUint8(n+15)}}function f(t){const n=new DataView(t,0);let e=0;const{identifier:o,version:u}=a(t,n,e);if(e+=16,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const i=l(n,e);if(e+=16,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===i.lookupMethod||1===i.lookupMethod)&&0===i.compressionMethod){if(3*i.colorMapCount+i.count+e!==t.byteLength||i.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const n=new Uint8Array(t,e,3*i.colorMapCount),o=new Uint8Array(t,e+3*i.colorMapCount,i.count),a=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++){const e=o[t];a[3*t]=n[3*e],a[3*t+1]=n[3*e+1],a[3*t+2]=n[3*e+2]}return a}if(0===i.lookupMethod&&0===i.compressionMethod){if(3*i.count+e!==t.byteLength||0!==i.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(t,e).slice()}if(i.lookupMethod<=2&&1===i.compressionMethod){if(e+3!==t.byteLength||1!==i.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=n.getUint8(e),a=n.getUint8(e+1),u=n.getUint8(e+2),s=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++)s[3*t]=o,s[3*t+1]=a,s[3*t+2]=u;return s}throw new r.A("lepcc-decode-error","Bad method "+i.lookupMethod+","+i.compressionMethod)}function h(t,n){return{sizeLo:t.getUint32(n+0,o),sizeHi:t.getUint32(n+4,o),count:t.getUint32(n+8,o),scaleFactor:t.getUint16(n+12,o),bitsPerPoint:t.getUint8(n+14),reserved:t.getUint8(n+15)}}function d(t){const n=new DataView(t,0);let e=0;const{identifier:o,version:u}=a(t,n,e);if(e+=16,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const i=h(n,e);if(e+=16,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const s=new Uint16Array(i.count);if(8===i.bitsPerPoint){if(i.count+e!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const n=new Uint8Array(t,e,i.count);for(let t=0;t<i.count;t++)s[t]=n[t]*i.scaleFactor}else if(16===i.bitsPerPoint){if(2*i.count+e!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const n=new Uint16Array(t,e,i.count);for(let t=0;t<i.count;t++)s[t]=n[t]*i.scaleFactor}else{const n=[];if(c(t,e,n)!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let t=0;t<i.count;t++)s[t]=n[t]*i.scaleFactor}return s}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3268,9397],{69540(t,e,i){var s=i(32198),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),h=i(88620),a=i(64108);const l=Symbol("ClonableMixin"),u=t=>{var e;const i=t;let n=class extends i{constructor(){super(...arguments),this[e]=!0}static{e=l}clone(t){const e=(0,h.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const i=e.metadata,s=e.store,n={},a=new Map;for(const e in i){const o=i[e],h=s?.originOf(e),l=o.clonable;if(o.readOnly||!1===l||7!==h&&0!==h&&5!==h&&4!==h)continue;const u=this[e];let c=null;if("function"==typeof l)c=l(u,t);else if("reference"===l)c=u;else if(c=(0,r.TU)(u,t),null!=u&&null==c)continue;0===h?a.set(e,c):n[e]=c}const l=new(0,Object.getPrototypeOf(this).constructor)(n);if(a.size){const t=(0,h.oY)(l)?.store;if(t)for(const[e,i]of a)t.set(e,i,0)}return l}};return n=(0,s.Cg)([(0,a.$)("esri.core.Clonable")],n),n},c=u(n.A);i.d(e,["OU",0,u,"Pw",0,c])},67482(t,e,i){function s(t){return null!==n(t)}function n(t){return function(t){const e=r.exec(t);if(!e?.groups)return null;const i=e.groups,s=+i.year,n=+i.month-1,o=+i.day,h=+(i.hours??"0"),a=+(i.minutes??"0"),l=+(i.seconds??"0");if(h>23)return null;if(a>59)return null;if(l>59)return null;const u=i.ms??"0",c=u?+u.padEnd(3,"0").slice(0,3):0;let _;if(i.isUTC||!i.offsetSign)_=Date.UTC(s,n,o,h,a,l,c);else{const t=+i.offsetHours,e=+i.offsetMinutes;_=6e4*("+"===i.offsetSign?-1:1)*(60*t+e)+Date.UTC(s,n,o,h,a,l,c)}return Number.isNaN(_)?null:_}(t)??function(t){const e=new Date(t),i=e.getTime();return Number.isNaN(i)?null:t.toLowerCase()===e.toUTCString().toLowerCase()?i:null}(t)??function(t){if(!o.test(t))return null;const e=new Date(t);return Number.isNaN(e.getTime())?null:e.getTime()-6e4*e.getTimezoneOffset()}(t)}i.d(e,{C:()=>s,_:()=>n});const r=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,o=/^((\d{1,2}[/-]\d{1,2}[/-]\d{4})|(\d{4}[/-]\d{1,2}[/-]\d{1,2}))( \d{1,2}:\d{1,2}:\d{1,2}( ((AM)|(PM)))?)?$/i},75503(t,e,i){i.d(e,{wq:()=>h});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class h{constructor(t=9,e){this._compareMinX=_,this._compareMinY=d,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),b.prune(),M.prune(),I.prune(),T.prune()}all(t){a(this._data,t)}search(t,e){let i=this._data;const s=this._toBBox;if(p(t,i))for(b.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;p(t,o)&&(i.leaf?e(r):g(t,o)?a(r,e):b.push(r))}i=b.pop()}}collides(t){let e=this._data;const i=this._toBBox;if(!p(t,e))return!1;for(b.clear();e;){for(let s=0,n=e.children.length;s<n;s++){const n=e.children[s],r=e.leaf?i(n):n;if(p(t,r)){if(e.leaf||g(t,r))return!0;b.push(n)}}e=b.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,i=t.length;e<i;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new S([]),this}remove(t){if(!t)return this;let e,i=this._data,r=null,o=0,h=!1;const a=this._toBBox(t);for(I.clear(),T.clear();i||I.length>0;){if(i||(i=I.pop(),r=I.data[I.length-1],o=T.pop()??0,h=!0),i.leaf&&(e=(0,s.qh)(i.children,(0,n.z)(t),i.children.length,i.indexHint),-1!==e))return i.children.splice(e,1),I.push(i),this._condense(I),this;h||i.leaf||!g(i,a)?r?(o++,i=r.children[o],h=!1):i=null:(I.push(i),T.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,i,s){const n=i-e+1;let r=this._maxEntries;if(n<=r){const s=new S(t.slice(e,i+1));return l(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new F([]);o.height=s;const h=Math.ceil(n/r),a=h*Math.ceil(Math.sqrt(r));w(t,e,i,a,this._compareMinX);for(let n=e;n<=i;n+=a){const e=Math.min(n+a-1,i);w(t,n,e,h,this._compareMinY);for(let i=n;i<=e;i+=h){const n=Math.min(i+h-1,e);o.children.push(this._build(t,i,n,s-1))}}return l(o,this._toBBox),o}_insert(t,e,i){const s=this._toBBox,n=i?t:s(t);I.clear();const r=function(t,e,i,s){for(;s.push(e),!0!==e.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=e.children.length;r<o;r++){const o=e.children[r],h=y(o),a=m(t,o)-h;a<n?(n=a,s=h<s?h:s,i=o):a===n&&h<s&&(s=h,i=o)}e=i||e.children[0]}return e}(n,this._data,e,I);for(r.children.push(t),c(r,n);e>=0&&I.data[e].children.length>this._maxEntries;)this._split(I,e),e--;!function(t,e,i){for(let s=i;s>=0;s--)c(e.data[s],t)}(n,I,e)}_split(t,e){const i=t.data[e],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),h=i.leaf?new S(o):new F(o);h.height=i.height,l(i,this._toBBox),l(h,this._toBBox),e?t.data[e-1].children.push(h):this._splitRoot(i,h)}_splitRoot(t,e){this._data=new F([t,e]),this._data.height=t.height+1,l(this._data,this._toBBox)}_chooseSplitIndex(t,e,i){let s,n,r;s=n=1/0;for(let o=e;o<=i-e;o++){const e=u(t,0,o,this._toBBox),h=u(t,o,i,this._toBBox),a=x(e,h),l=y(e)+y(h);a<s?(s=a,r=o,n=l<n?l:n):a===s&&l<n&&(n=l,r=o)}return r}_chooseSplitAxis(t,e,i){const s=t.leaf?this._compareMinX:_,n=t.leaf?this._compareMinY:d;this._allDistMargin(t,e,i,s)<this._allDistMargin(t,e,i,n)&&t.children.sort(s)}_allDistMargin(t,e,i,s){t.children.sort(s);const n=this._toBBox,r=u(t,0,e,n),o=u(t,i-e,i,n);let h=f(r)+f(o);for(let s=e;s<i-e;s++){const e=t.children[s];c(r,t.leaf?n(e):e),h+=f(r)}for(let s=i-e-1;s>=e;s--){const e=t.children[s];c(o,t.leaf?n(e):e),h+=f(o)}return h}_condense(t){for(let e=t.length-1;e>=0;e--){const i=t.data[e];if(0===i.children.length)if(e>0){const n=t.data[e-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.indexHint),1)}else this.clear();else l(i,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function a(t,e){let i=t;for(M.clear();i;){if(!0===i.leaf)for(const t of i.children)e((0,n.z)(t));else M.pushArray(i.children);i=M.pop()??null}}function l(t,e){u(t,0,t.children.length,e,t)}function u(t,e,i,s,n){n||(n=new S([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=e;o<i;o++)r=t.children[o],c(n,t.leaf?s(r):r);return n}function c(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function _(t,e){return t.minX-e.minX}function d(t,e){return t.minY-e.minY}function y(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function f(t){return t.maxX-t.minX+(t.maxY-t.minY)}function m(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function x(t,e){const i=Math.max(t.minX,e.minX),s=Math.max(t.minY,e.minY),n=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function g(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function p(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,i,s,n){const r=[e,i];for(;r.length;){const e=r.pop(),i=r.pop();if(e-i<=s)continue;const h=i+Math.ceil((e-i)/s/2)*s;(0,o.q)(t,h,i,e,n),r.push(i,h,h,e)}}const b=new r.A,M=new r.A,I=new r.A,T=new r.A({deallocator:void 0});class B{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class v extends B{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class S extends v{constructor(t){super(),this.children=t,this.leaf=!0}}class F extends v{constructor(t){super(),this.children=t,this.leaf=!1}}},69397(t,e,i){i.d(e,{Qf:()=>h,Qh:()=>r,lM:()=>n});var s=i(34275);function n(t){if(!t)return 0;let e=l;for(const i in t)t.hasOwnProperty(i)&&(e+=o(t[i],!1));return e}function r(t){if(!t)return 0;if("number"==typeof t[0])return h(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return a(t,8);let i=u;for(let s=0;s<e;s++)i+=o(t[s]);return i}(t);let e=l;for(const i in t)t.hasOwnProperty(i)&&(e+=o(t[i]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?r(t):l;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+c:Array.isArray(e)?a(e,16):0:0),0)}function a(t,e){return u+t.length*e}const l=32,u=16,c=145},6774(t,e,i){i.d(e,{O3:()=>r,Ox:()=>o,bR:()=>s});class s{constructor(t,e){this.x=t,this.y=e}static fromArray(t){return new s(t[0],t[1])}clone(){return new s(this.x,this.y)}equals(t,e){return t===this.x&&e===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,e){return this.x=t,this.y=e,this}normalize(){const t=this.x,e=this.y,i=Math.sqrt(t*t+e*e);return this.x/=i,this.y/=i,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,e){return this.x+=t,this.y+=e,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}assignSub(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}rotate(t,e){const i=this.x,s=this.y;return this.x=i*t-s*e,this.y=i*e+s*t,this}rotateReverse(t,e){const i=this.x,s=this.y;return this.x=i*t+s*e,this.y=-i*e+s*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,e=this.y;return Math.sqrt(t*t+e*e)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,e){const i=e.x-t.x,s=e.y-t.y;return Math.sqrt(i*i+s*s)}static add(t,e){return new s(t.x+e.x,t.y+e.y)}static sub(t,e){return new s(t.x-e.x,t.y-e.y)}}class n{constructor(t,e,i){this.ratio=t,this.x=e,this.y=i}}class r{constructor(t,e,i,s=8,n=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=s,this._pixelMargin=n,this._tileSize=512*s,this._dz=t,this._yPos=e,this._xPos=i}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let e=this._pixelRatio*this._pixelMargin;e/=this._finalRatio;const i=t>>this._dz;e>i&&(e=i),this._margin=e,this._xmin=i*this._xPos-e,this._ymin=i*this._yPos-e,this._xmax=this._xmin+i+2*e,this._ymax=this._ymin+i+2*e}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,e){this._pushLine(),this._prevIsIn=this._isIn(t,e),this._moveTo(t,e,this._prevIsIn),this._prevPt=new s(t,e),this._firstPt=new s(t,e),this._dist=0}lineTo(t,e){const i=this._isIn(t,e),r=new s(t,e),o=s.distance(this._prevPt,r);let h,a,l,u,c,_,d,y;if(i)this._prevIsIn?this._lineTo(t,e,!0):(h=this._prevPt,a=r,l=this._intersect(a,h),this._start=this._dist+o*(1-this._r),this._lineTo(l.x,l.y,!0),this._lineTo(a.x,a.y,!0));else if(this._prevIsIn)a=this._prevPt,h=r,l=this._intersect(a,h),this._lineTo(l.x,l.y,!0),this._lineTo(h.x,h.y,!1);else{const t=this._prevPt,e=r;if(t.x<=this._xmin&&e.x<=this._xmin||t.x>=this._xmax&&e.x>=this._xmax||t.y<=this._ymin&&e.y<=this._ymin||t.y>=this._ymax&&e.y>=this._ymax)this._lineTo(e.x,e.y,!1);else{const i=[];if((t.x<this._xmin&&e.x>this._xmin||t.x>this._xmin&&e.x<this._xmin)&&(u=(this._xmin-t.x)/(e.x-t.x),y=t.y+u*(e.y-t.y),y<=this._ymin?_=!1:y>=this._ymax?_=!0:i.push(new n(u,this._xmin,y))),(t.x<this._xmax&&e.x>this._xmax||t.x>this._xmax&&e.x<this._xmax)&&(u=(this._xmax-t.x)/(e.x-t.x),y=t.y+u*(e.y-t.y),y<=this._ymin?_=!1:y>=this._ymax?_=!0:i.push(new n(u,this._xmax,y))),(t.y<this._ymin&&e.y>this._ymin||t.y>this._ymin&&e.y<this._ymin)&&(u=(this._ymin-t.y)/(e.y-t.y),d=t.x+u*(e.x-t.x),d<=this._xmin?c=!1:d>=this._xmax?c=!0:i.push(new n(u,d,this._ymin))),(t.y<this._ymax&&e.y>this._ymax||t.y>this._ymax&&e.y<this._ymax)&&(u=(this._ymax-t.y)/(e.y-t.y),d=t.x+u*(e.x-t.x),d<=this._xmin?c=!1:d>=this._xmax?c=!0:i.push(new n(u,d,this._ymax))),0===i.length)c?_?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):_?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(i.length>1&&i[0].ratio>i[1].ratio)this._start=this._dist+o*i[1].ratio,this._lineTo(i[1].x,i[1].y,!0),this._lineTo(i[0].x,i[0].y,!0);else{this._start=this._dist+o*i[0].ratio;for(let t=0;t<i.length;t++)this._lineTo(i[t].x,i[t].y,!0)}this._lineTo(e.x,e.y,!1)}}this._dist+=o,this._prevIsIn=i,this._prevPt=r}close(){if(this._line.length>2){const t=this._firstPt,e=this._prevPt;t.x===e.x&&t.y===e.y||this.lineTo(t.x,t.y);const i=this._line;let s=i.length;for(;s>=4&&(i[0].x===i[1].x&&i[0].x===i[s-2].x||i[0].y===i[1].y&&i[0].y===i[s-2].y);)i.pop(),i[0].x=i[s-2].x,i[0].y=i[s-2].y,--s}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&h.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,e=t.length;if(0===e)return null;const i=[];for(let s=0;s<e;s++)i.push({line:t[s],start:this._starts[s]||0});return i}_isIn(t,e){return t>=this._xmin&&t<=this._xmax&&e>=this._ymin&&e<=this._ymax}_intersect(t,e){let i,n,r;if(e.x>=this._xmin&&e.x<=this._xmax)n=e.y<=this._ymin?this._ymin:this._ymax,r=(n-t.y)/(e.y-t.y),i=t.x+r*(e.x-t.x);else if(e.y>=this._ymin&&e.y<=this._ymax)i=e.x<=this._xmin?this._xmin:this._xmax,r=(i-t.x)/(e.x-t.x),n=t.y+r*(e.y-t.y);else{n=e.y<=this._ymin?this._ymin:this._ymax,i=e.x<=this._xmin?this._xmin:this._xmax;const s=(i-t.x)/(e.x-t.x),o=(n-t.y)/(e.y-t.y);s<o?(r=s,n=t.y+s*(e.y-t.y)):(r=o,i=t.x+o*(e.x-t.x))}return this._r=r,new s(i,n)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,e,i){3!==this._type?i&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line.push(new s(t,e))):(i||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),e<this._ymin&&(e=this._ymin),e>this._ymax&&(e=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line.push(new s(t,e)),this._isH=!1,this._isV=!1)}_lineTo(t,e,i){let n,r;if(3!==this._type)if(i){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(n=this._line[this._line.length-1],n.equals(t,e)))return;this._line.push(new s(t,e))}else this._line&&this._line.length>0&&this._pushLine();else if(i||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),e<this._ymin&&(e=this._ymin),e>this._ymax&&(e=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),e=Math.round((e-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){n=this._line[this._line.length-1];const i=n.x===t,o=n.y===e;if(i&&o)return;this._isH&&i||this._isV&&o?(n.x=t,n.y=e,r=this._line[this._line.length-2],r.x===t&&r.y===e?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(r=this._line[this._line.length-2],this._isH=r.x===t,this._isV=r.y===e)):(this._isH=r.x===t,this._isV=r.y===e)):(this._line.push(new s(t,e)),this._isH=i,this._isV=o)}else this._line.push(new s(t,e))}}class o{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,e){this._line&&this._lines.push(this._line),this._line=[];const i=this._ratio;this._line.push(new s(t*i,e*i))}lineTo(t,e){const i=this._ratio;this._line.push(new s(t*i,e*i))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class h{static simplify(t,e,i){if(!i)return;const s=-e,n=t+e,r=-e,o=t+e,a=[],l=[],u=i.length;for(let t=0;t<u;++t){const e=i[t];if(!e||e.length<2)continue;let h,u=e[0];const c=e.length;for(let i=1;i<c;++i)h=e[i],u.x===h.x&&(u.x<=s&&(u.y>h.y?(a.push(t),a.push(i),a.push(0),a.push(-1)):(l.push(t),l.push(i),l.push(0),l.push(-1))),u.x>=n&&(u.y<h.y?(a.push(t),a.push(i),a.push(1),a.push(-1)):(l.push(t),l.push(i),l.push(1),l.push(-1)))),u.y===h.y&&(u.y<=r&&(u.x<h.x?(a.push(t),a.push(i),a.push(2),a.push(-1)):(l.push(t),l.push(i),l.push(2),l.push(-1))),u.y>=o&&(u.x>h.x?(a.push(t),a.push(i),a.push(3),a.push(-1)):(l.push(t),l.push(i),l.push(3),l.push(-1)))),u=h}if(0===a.length||0===l.length)return;h.fillParent(i,l,a),h.fillParent(i,a,l);const c=[];h.calcDeltas(c,l,a),h.calcDeltas(c,a,l),h.addDeltas(c,i)}static fillParent(t,e,i){const s=i.length,n=e.length;for(let r=0;r<n;r+=4){const n=e[r],o=e[r+1],h=e[r+2],l=t[n][o-1],u=t[n][o];let c=8092,_=-1;for(let e=0;e<s;e+=4){if(i[e+2]!==h)continue;const s=i[e],n=i[e+1],r=t[s][n-1],o=t[s][n];switch(h){case 0:case 1:if(a(l.y,r.y,o.y)&&a(u.y,r.y,o.y)){const t=Math.abs(o.y-r.y);t<c&&(c=t,_=e)}break;case 2:case 3:if(a(l.x,r.x,o.x)&&a(u.x,r.x,o.x)){const t=Math.abs(o.x-r.x);t<c&&(c=t,_=e)}}}e[r+3]=_}}static calcDeltas(t,e,i){const s=e.length;for(let n=0;n<s;n+=4){const s=[],r=h.calcDelta(n,e,i,s);t.push(e[n]),t.push(e[n+1]),t.push(e[n+2]),t.push(r)}}static calcDelta(t,e,i,s){const n=e[t+3];if(-1===n)return 0;const r=s.length;return r>1&&s[r-2]===n?0:(s.push(n),h.calcDelta(n,i,e,s)+1)}static addDeltas(t,e){const i=t.length;let s=0;for(let e=0;e<i;e+=4){const i=t[e+3];i>s&&(s=i)}for(let n=0;n<i;n+=4){const i=e[t[n]],r=t[n+1],o=s-t[n+3];switch(t[n+2]){case 0:i[r-1].x-=o,i[r].x-=o,1===r&&(i[i.length-1].x-=o),r===i.length-1&&(i[0].x-=o);break;case 1:i[r-1].x+=o,i[r].x+=o,1===r&&(i[i.length-1].x+=o),r===i.length-1&&(i[0].x+=o);break;case 2:i[r-1].y-=o,i[r].y-=o,1===r&&(i[i.length-1].y-=o),r===i.length-1&&(i[0].y-=o);break;case 3:i[r-1].y+=o,i[r].y+=o,1===r&&(i[i.length-1].y+=o),r===i.length-1&&(i[0].y+=o)}}}}const a=(t,e,i)=>t>=e&&t<=i||t>=i&&t<=e},6518(t,e,i){i.d(e,{F:()=>h});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class h{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?t=>({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const t=new Array(this._idByBounds.size);let e=0;this._idByBounds.forEach((i,s)=>{t[e++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(t)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(t=>this._idByBounds.has(t))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const t=(0,r.Ie)();for(const e of this._boundsById.values())e&&(t[0]=Math.min(e[0],t[0]),t[1]=Math.min(e[1],t[1]),t[2]=Math.max(e[2],t[2]),t[3]=Math.max(e[3],t[3]));return t}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(t){const e=this._boundsById.get(t);this._boundsById.delete(t),e&&(this._idByBounds.delete(e),this._indexInvalid||this._index.remove(e))}forEachInBounds(t,e){this._loadIndex(),function(t,e,i){(function(t){o.minX=t[0],o.minY=t[1],o.maxX=t[2],o.maxY=t[3]})(e),t.search(o,i)}(this._index,t,t=>e(this._idByBounds.get(t)))}get(t){return this._boundsById.get(t)}has(t){return this._boundsById.has(t)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(t,e){if(!this._indexInvalid){const e=this._boundsById.get(t);e&&(this._index.remove(e),this._idByBounds.delete(e))}this._boundsById.set(t,e),e&&(this._idByBounds.set(e,t),this._indexInvalid||(this._boundsToLoad.push(e),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(t,e,i){i.d(e,{A:()=>y});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),h=i(70328),a=i(19419),l=i(90708),u=i(6518),c=i(51441),_=i(37730);const d=(0,h.vt)();class y{constructor(t){this.geometryInfo=t,this._boundsStore=new u.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=_.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let t=0;return this._featuresById.forEach(e=>{null!=e.geometry&&e.geometry.coords&&(t+=e.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:t/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(t){if(null==this.fullBounds)return null;const[e,i,s,n]=this.fullBounds;return{xmin:e,ymin:i,xmax:s,ymax:n,spatialReference:(0,c.ag)(t)}}add(t){this._add(t),this._emitChanged()}addMany(t){for(const e of t)this._add(e);this._emitChanged()}upsertMany(t){const e=t.map(t=>this._upsert(t));return this._emitChanged(),e.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(t){const e=this._featuresById.get(t);return e?(this._remove(e),this._emitChanged(),e):null}removeManyById(t){this._boundsStore.invalidateIndex();for(const e of t){const t=this._featuresById.get(e);t&&this._remove(t)}this._emitChanged()}forEachBounds(t,e){for(const i of t){const t=this._boundsStore.get(i.objectId);t&&e((0,h.Jt)(d,t))}}getFeature(t){return this._featuresById.get(t)}has(t){return this._featuresById.has(t)}forEach(t){this._featuresById.forEach(e=>t(e))}forEachInBounds(t,e){this._boundsStore.forEachInBounds(t,t=>{e(this._featuresById.get(t))})}_emitChanged(){this.events.emit("changed",void 0)}_add(t){if(!t)return;const e=t.objectId;if(null==e)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:t}));const i=this._featuresById.get(e);let s;if(i?(t.displayId=i.displayId,s=this._boundsStore.get(e),this._boundsStore.delete(e),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(t),!t.geometry?.coords?.length)return this._boundsStore.set(e,null),void this._featuresById.set(e,t);s=(0,l.jQ)(null!=s?s:(0,a.vt)(),t.geometry),null!=s&&this._boundsStore.set(e,s),this._featuresById.set(e,t),this._usedMemory+=this.estimateFeatureUsedMemory?.(t)??0}_upsert(t){const e=t?.objectId;if(null==e)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:t})),null;const i=this._featuresById.get(e);if(!i)return this._add(t),t;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=t;for(const t in r)i.attributes[t]=r[t];return s&&(i.geometry=s,this._boundsStore.set(e,(0,l.jQ)((0,a.vt)(),s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(t){null!=this.onFeatureRemove&&this.onFeatureRemove(t);const e=t.objectId;return this._boundsStore.delete(e),this._featuresById.delete(e),this._usedMemory-=this.estimateFeatureUsedMemory?.(t)??0,t}}},37730(t,e,i){var s=i(43334);const n={getObjectId:t=>t.objectId,getAttributes:t=>t.attributes,getAttribute:(t,e)=>t.attributes[e],cloneWithGeometry:(t,e,i)=>new s.Om(e,t.attributes,null,t.objectId,t.displayId,t.distance,t.vertexCount),getGeometry:t=>t.geometry,getCentroid:(t,e)=>t.ensureCentroid(e)};i.d(e,["T",0,n])},85113(t,e,i){i.d(e,{BM:()=>B,bd:()=>v,sO:()=>T,xD:()=>c});var s=i(67482),n=i(49186),r=i(21325),o=i(90708),h=i(43334),a=i(92722),l=i(30524);const u={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function c(t){return u[t]}function*_(t){switch(t.type){case"Feature":yield t;break;case"FeatureCollection":for(const e of t.features)e&&(yield e)}}function*d(t){if(t)switch(t.type){case"Point":yield t.coordinates;break;case"LineString":case"MultiPoint":yield*t.coordinates;break;case"MultiLineString":case"Polygon":for(const e of t.coordinates)yield*e;break;case"MultiPolygon":for(const e of t.coordinates)for(const t of e)yield*t}}function y(t){for(const e of t)if(e.length>2)return!0;return!1}function f(t){let e=0;for(let i=0;i<t.length;i++){const s=t[i],n=t[(i+1)%t.length];e+=s[0]*n[1]-n[0]*s[1]}return e<=0}function m(t){const e=t[0],i=t[t.length-1];e[0]===i[0]&&e[1]===i[1]&&e[2]===i[2]||t.push(e)}function x(t,e){const{coordinates:i,type:s}=t,n=e.hasZ??!1,r=!0;switch(s){case"Point":return new a.A([],[...i],n,!1);case"LineString":return(0,o.Ap)({paths:[i],hasZ:r},n,!1);case"MultiLineString":return(0,o.Ap)({paths:i,hasZ:r},n,!1);case"MultiPoint":return(0,o.PR)({points:i,hasZ:r},n,!1);case"Polygon":case"MultiPolygon":{const t=new a.A([],[],n,!1);for(const e of"Polygon"===s?[i]:i){g(t,e[0],n);for(let i=1;i<e.length;i++)p(t,e[i],n)}return t}}}function g(t,e,i){m(e),function(t){return!f(t)}(e)?b(t,e,i):w(t,e,i)}function p(t,e,i){m(e),function(t){return f(t)}(e)?b(t,e,i):w(t,e,i)}function w(t,e,i){for(const s of e)M(t,s,i);t.lengths.push(e.length)}function b(t,e,i){for(let s=e.length-1;s>=0;s--)M(t,e[s],i);t.lengths.push(e.length)}function M(t,[e,i,s],n){t.coords.push(e,i),n&&t.coords.push(s||0)}function I(t){switch(typeof t){case"string":return(0,s.C)(t)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function T(t,e=4326){if(!t)throw new n.A("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==t.type&&"FeatureCollection"!==t.type)throw new n.A("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:t});const{crs:i}=t;if(!i)return;const s="string"==typeof i?i:"name"===i.type?i.properties.name:"EPSG"===i.type?i.properties.code:null,o=(0,r.oT)({wkid:e})?new RegExp(".*(CRS84H?|4326)$","i"):new RegExp(`.*(${e})$`,"i");if(!s||!o.test(s))throw new n.A("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:i})}function B(t,e={}){const i=[],s=new Set,n=new Set;let r,o=!1,h=null,a=!1,{geometryType:u=null}=e;for(const e of _(t)){const{geometry:t,properties:_,id:f}=e;if((!t||(u||(u=c(t.type)),c(t.type)===u))&&(o||(o=y(d(t))),a||(a=null!=f,a&&(r=typeof f,_&&(h=Object.keys(_).filter(t=>_[t]===f)))),_&&h&&a&&null!=f&&(h.length>1?h=h.filter(t=>_[t]===f):1===h.length&&(h=_[h[0]]===f?h:[])),_))for(const t in _){if(s.has(t))continue;const e=I(_[t]);if("unknown"===e){n.add(t);continue}n.delete(t),s.add(t);const r=(0,l.rS)(t);r&&i.push({name:r,alias:t,type:e})}}const f=(0,l.rS)(1===h?.length&&h[0]||null)??void 0;if(f)for(const t of i)if(t.name===f&&(0,l.WA)(t)){t.type="esriFieldTypeOID";break}return{fields:i,geometryType:u,hasZ:o,objectIdFieldName:f,objectIdFieldType:r,unknownFields:Array.from(n)}}function v(t,e){return Array.from(function*(t,e={}){const{geometryType:i,objectIdField:s}=e;for(const n of t){const{geometry:t,properties:r,id:o}=n;if(t&&c(t.type)!==i)continue;const a=r||{};let l;s&&(l=a[s],null==o||l||(a[s]=l=o)),yield new h.Om(t&&x(t,e),a,null,l)}}(_(t),e))}},14289(t,e,i){i.r(e),i.d(e,{default:()=>F});var s=i(11254),n=i(17676),r=i(19419),o=i(21325),h=i(6774),a=i(90708),l=i(92722),u=i(83221),c=i(31464),_=i(85113);const d=new TextEncoder;class y{constructor(){this._bytes=[]}finish(){return new Uint8Array(this._bytes)}writeBooleanField(t,e){this._writeTag(t,0),this.writeVarint(e?1:0)}writeDoubleField(t,e){this._writeTag(t,1);const i=new ArrayBuffer(8);new DataView(i).setFloat64(0,e,!0),this._writeBytes(new Uint8Array(i))}writeMessage(t,e,i){this._writeTag(t,2);const s=this._bytes.length;for(let t=0;t<5;t++)this._bytes.push(0);const n=this._bytes.length;e(i,this),this._writeMessageLength(s,this._bytes.length-n)}writeStringField(t,e){const i=d.encode(e);this._writeTag(t,2),this.writeVarint(i.byteLength),this._writeBytes(i)}writeSVarintField(t,e){this._writeTag(t,0),this.writeVarint(e<0?2*-e-1:2*e)}writeVarint(t){for(;t>127;)this._bytes.push(127&t|128),t=Math.floor(t/128);this._bytes.push(t)}writeVarintField(t,e){this._writeTag(t,0),this.writeVarint(e)}_writeBytes(t){for(const e of t)this._bytes.push(e)}_writeMessageLength(t,e){let i=0;for(;e>127;)this._bytes[t+i++]=127&e|128,e=Math.floor(e/128);this._bytes[t+i++]=e,this._bytes.splice(t+i,5-i)}_writeTag(t,e){this.writeVarint(t<<3|e)}}function f(t,e,i){const s=new y;return s.writeMessage(3,m,{cursor:e,extent:i,keyIndices:new Map,keys:[],name:t,valueIndices:new Map,values:[]}),Uint8Array.from(s.finish()).buffer}function m(t,e){for(e.writeVarintField(15,1),e.writeStringField(1,t.name),e.writeVarintField(5,t.extent);t.cursor.next();)e.writeMessage(2,x,t);for(const i of t.keys)e.writeStringField(3,i);for(const i of t.values)e.writeMessage(4,w,i)}function x(t,e){const i=t.cursor.getId();"number"==typeof i&&e.writeVarintField(1,i),e.writeMessage(2,g,t),e.writeVarintField(3,t.cursor.getType()),e.writeMessage(4,p,t.cursor)}function g(t,e){const i=t.cursor.getAttributes();if(i)for(const s of Object.keys(i)){const n=b(i[s]);if(null==n)continue;let r=t.keyIndices.get(s);null==r&&(r=t.keys.length,t.keyIndices.set(s,r),t.keys.push(s));const o=`${typeof n}:${n}`;let h=t.valueIndices.get(o);null==h&&(h=t.values.length,t.valueIndices.set(o,h),t.values.push(n)),e.writeVarint(r),e.writeVarint(h)}}function p(t,e){const i=t.getType();let s=0,n=0;for(let r=0;r<t.getPathCount();r++){const o=t.getPathLength(r),h=1===i?o:1;e.writeVarint(M(1,h));const a=3===i?o-1:o;for(let o=0;o<a;o++){1===o&&1!==i&&e.writeVarint(M(2,a-1));const h=t.getX(r,o),l=t.getY(r,o);e.writeVarint(I(h-s)),e.writeVarint(I(l-n)),s=h,n=l}3===i&&e.writeVarint(M(7,1))}}function w(t,e){"string"==typeof t?e.writeStringField(1,t):"boolean"==typeof t?e.writeBooleanField(7,t):Number.isInteger(t)?t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t):e.writeDoubleField(3,t)}function b(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t?t:null==t?null:JSON.stringify(t)??null}function M(t,e){return(e<<3)+(7&t)}function I(t){return t<<1^t>>31}const T=4096,B=20037508.342787,v=2*B,S=[{geometryType:"esriGeometryPolygon",vectorTileGeometryType:3},{geometryType:"esriGeometryPolyline",vectorTileGeometryType:2},{geometryType:"esriGeometryPoint",vectorTileGeometryType:1},{geometryType:"esriGeometryMultipoint",vectorTileGeometryType:1}];class F{constructor(){this._buffer=128,this._featureIds=new Map,this._name="",this._stores=[],this._tolerance=.375}destroy(){for(const{store:t}of this._stores)t.clear();this._featureIds.clear(),this._stores.length=0}async initialize({definition:t,name:e,requestOptions:i},r={}){if(null==t.data)throw new Error(`GeoJSON source '${e}' must define a data property.`);if(!0===t.lineMetrics)throw new Error("GeoJSON lineMetrics are not supported.");if(t.promoteId&&t.generateId)throw new Error("GeoJSON promoteId and generateId cannot be used together.");const o="string"==typeof t.data?(await(0,s.A)(t.data,{...i,responseType:"json",signal:r.signal})).data:t.data;(0,n.Te)(r),(0,_.sO)(o),this.destroy(),this._buffer=t.buffer??128,this._name=e,this._tolerance=t.tolerance??.375;let h=0;for(const{geometryType:e,vectorTileGeometryType:i}of S){const s=(0,_.bd)(o,{geometryType:e,hasZ:!1}),n=P(o,e,t);if(0===s.length)continue;const r=new u.A({geometryType:e,hasM:!1,hasZ:!1}),a=[];let l=0;for(const t of s){const i=A(t.geometry,e);i&&(t.objectId=h++,t.geometry=i,this._featureIds.set(t.objectId,n[l++]??null),a.push(t))}a.length>0&&(r.addMany(a),this._stores.push({geometryType:e,store:r,vectorTileGeometryType:i}))}return(0,n.Te)(r),{geometryTypes:["polygon","line","point"].filter(t=>this._stores.some(({vectorTileGeometryType:e})=>e===function(t){switch(t){case"polygon":return 3;case"line":return 2;case"point":return 1}}(t)))}}requestTile({col:t,level:e,row:i},s={}){(0,n.Te)(s);const r=this._getTileFeatures(e,i,t),o=r.length>0?f(this._name,new X(r),T):new ArrayBuffer(0);return(0,n.Te)(s),{result:o,transferList:[o]}}_getTileFeatures(t,e,i){const s=v/2**t,n=i*s-B,o=B-e*s,h=s/T,a=this._buffer*h,l=this._tolerance*h,u=[];for(const t of[-v,0,v]){const e=(0,r.fA)(n-a-t,o-s-a,n+s+a-t,o+a),i={scale:[h,-h,1,1],translate:[n-t,o,0,0]};for(const{geometryType:t,store:s,vectorTileGeometryType:n}of this._stores)s.forEachInBounds(e,e=>{const s=Y(e,t,n,i,l,this._buffer);s&&u.push({attributes:e.attributes,geometry:s,id:this._featureIds.get(e.objectId),type:n})})}return u}}function P(t,e,i){const s=[],n="FeatureCollection"===t.type?t.features:[t];for(let t=0;t<n.length;t++){const r=n[t];if(!r.geometry||(0,_.xD)(r.geometry.type)!==e)continue;const o=i.promoteId?r.properties?.[i.promoteId]:!0===i.generateId?t:r.id;s.push("number"==typeof o||"string"==typeof o?o:null)}return s}function A(t,e){return t?(0,a.Ux)((0,c.Cv)((0,a.zv)(t,e,!1,!1),o.KK,o.ch))??null:null}function Y(t,e,i,s,n,r){if(!t.geometry)return null;const o=n>0?(0,a.kz)(t.geometry,e,n,!1,!1):t.geometry;return function(t,e,i){if(!t)return null;const s=new h.O3(0,0,0,8,i/8);if(s.setExtent(T),s.reset(e),1===e)for(let e=0;e<t.size;e++){const i=e*t.stride;s.moveTo(t.coords[i],t.coords[i+1])}else{let i=0;for(const n of t.lengths){s.moveTo(t.coords[i],t.coords[i+1]);for(let e=1;e<n;e++){const n=i+e*t.stride;s.lineTo(t.coords[n],t.coords[n+1])}3===e&&s.close(),i+=n*t.stride}}const n=s.result();if(!n)return null;const r=1===e?[n.length]:n.map(t=>t.length),o=[];for(const t of n)for(const e of t)o.push(e.x,e.y);return new l.A(r,o)}((0,a.Nl)(o,e,s,!1,!1,!0),i,r)}class X{constructor(t){this._features=t,this._index=-1,this._pathOffsets=[]}get _feature(){return this._features[this._index]}destroy(){}getAttributes(){return this._feature.attributes}getId(){return this._feature.id}getPathCount(){return 1===this._feature.type?1:this._feature.geometry.lengths.length}getPathLength(t){return 1===this._feature.type?this._feature.geometry.size:this._feature.geometry.lengths[t]}getType(){return this._feature.type}getX(t,e){return this._feature.geometry.coords[this._getCoordinateIndex(t,e)]}getY(t,e){return this._feature.geometry.coords[this._getCoordinateIndex(t,e)+1]}next(){return!(++this._index>=this._features.length||(this._pathOffsets=function(t){const e=new Array(t.lengths.length);let i=0;for(let s=0;s<t.lengths.length;s++)e[s]=i,i+=t.lengths[s];return e}(this._feature.geometry),0))}_getCoordinateIndex(t,e){return(1===this._feature.type?e:this._pathOffsets[t]+e)*this._feature.geometry.stride}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,8366],{73354(t,n,e){e.d(n,{a:()=>l,b:()=>u,c:()=>o,d:()=>s,e:()=>h,f:()=>f,l:()=>c,n:()=>p,t:()=>i}),e(44208);var r=e(72727);function o(t,n,e){i(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function i(t,n,e,o=3,i=o){const s=(0,r.k)(t.length,o,3),u=(0,r.k)(n.length,i,3),a=Math.min(s,u),c=e[0],f=e[1],l=e[2],h=e[4],p=e[5],M=e[6],d=e[8],m=e[9],g=e[10],y=e[12],v=e[13],S=e[14];let _=0,w=0;for(let e=0;e<a;e++){const e=n[_],r=n[_+1],s=n[_+2];t[w]=c*e+h*r+d*s+y,t[w+1]=f*e+p*r+m*s+v,t[w+2]=l*e+M*r+g*s+S,_+=i,w+=o}return t}function s(t,n,e){u(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function u(t,n,e,o=3,i=o){const s=(0,r.k)(t.length,o,3),u=(0,r.k)(n.length,i,3),a=Math.min(s,u),c=e[0],f=e[1],l=e[2],h=e[3],p=e[4],M=e[5],d=e[6],m=e[7],g=e[8];let y=0,v=0;for(let e=0;e<a;e++){const e=n[y],r=n[y+1],s=n[y+2];t[v]=c*e+h*r+d*s,t[v+1]=f*e+p*r+m*s,t[v+2]=l*e+M*r+g*s,y+=i,v+=o}}function a(t,n,e,r=3,o=r){const i=Math.min(t.length/r,n.length/o);let s=0,u=0;for(let a=0;a<i;a++)t[u]=e*n[s],t[u+1]=e*n[s+1],t[u+2]=e*n[s+2],s+=o,u+=r;return t}function c(t,n,e,r){f(t.typedBuffer,n.typedBuffer,e,r,t.typedBufferStride,n.typedBufferStride)}function f(t,n,e,r,o=3,i=o){const s=Math.min(t.length/o,n.length/i);let u=0,a=0;const c=1/2.2;for(let f=0;f<s;f++)t[a]=r*(e*n[u])**c,t[a+1]=r*(e*n[u+1])**c,t[a+2]=r*(e*n[u+2])**c,u+=i,a+=o}function l(t,n,e,o=3,i=o){const s=(0,r.k)(t.length,o,3),u=(0,r.k)(n.length,i,3),a=Math.min(s,u);let c=0,f=0;for(let r=0;r<a;r++)t[f]=n[c]+e[0],t[f+1]=n[c+1]+e[1],t[f+2]=n[c+2]+e[2],c+=i,f+=o;return t}function h(t,n){p(t.typedBuffer,n.typedBuffer,t.typedBufferStride,n.typedBufferStride)}function p(t,n,e=3,r=e){const o=Math.min(t.length/e,n.length/r);let i=0,s=0;for(let u=0;u<o;u++){const o=n[i],u=n[i+1],a=n[i+2],c=o*o+u*u+a*a;if(c>0){const n=1/Math.sqrt(c);t[s]=n*o,t[s+1]=n*u,t[s+2]=n*a}i+=r,s+=e}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:c,normalize:p,normalizeView:h,scale:a,scaleView:function(t,n,e){a(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)},shiftRight:function(t,n,e){const r=Math.min(t.count,n.count),o=t.typedBuffer,i=t.typedBufferStride,s=n.typedBuffer,u=n.typedBufferStride;let a=0,c=0;for(let t=0;t<r;t++)o[c]=s[a]>>e,o[c+1]=s[a+1]>>e,o[c+2]=s[a+2]>>e,a+=u,c+=i},transformMat3:u,transformMat3View:s,transformMat4:i,transformMat4View:o,translate:l},Symbol.toStringTag,{value:"Module"}))},82534(t,n,e){function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}e.d(n,{o8:()=>o,vt:()=>r});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,n,e,r){return[t,n,e,r]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["zK",0,i])},48163(t,n,e){function r(){return[0,0]}function o(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function s(){return i(1,1)}function u(){return i(-1,-1)}function a(){return i(1,0)}function c(){return i(0,1)}e.d(n,{fA:()=>i,o8:()=>o,vt:()=>r});const f=s(),l=u(),h=a(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:f,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:o,create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:i,negativeOnes:u,ones:s,unitX:a,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["IA",0,l,"Un",0,f])},91829(t,n,e){function r(){return[0,0,0,0]}function o(t,n,e,r){return[t,n,e,r]}function i(){return o(1,1,1,1)}function s(){return o(1,0,0,0)}function u(){return o(0,1,0,0)}function a(){return o(0,0,1,0)}function c(){return o(0,0,0,1)}e.d(n,{_Y:()=>c,fA:()=>o,vt:()=>r});const f=[0,0,0,0],l=i(),h=s(),p=u(),M=a(),d=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:d,UNIT_X:h,UNIT_Y:p,UNIT_Z:M,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,n,e,r){return[t,n,e,r]},fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:i,unitW:c,unitX:s,unitY:u,unitZ:a,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Un",0,l,"uY",0,f])},67026(t,n,e){e.d(n,{A6:()=>d,Xd:()=>f,Xr:()=>p,lw:()=>l,x8:()=>c});var r=e(29242),o=e(82534),i=e(51850),s=e(34304),u=e(35522),a=e(78955);function c(t,n,e){e*=.5;const r=Math.sin(e);return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=Math.cos(e),t}function f(t,n){const e=2*Math.acos(n[3]),r=Math.sin(e/2);return r>(0,s.FD)()?(t[0]=n[0]/r,t[1]=n[1]/r,t[2]=n[2]/r):(t[0]=1,t[1]=0,t[2]=0),e}function l(t,n,e){const r=n[0],o=n[1],i=n[2],s=n[3],u=e[0],a=e[1],c=e[2],f=e[3];return t[0]=r*f+s*u+o*c-i*a,t[1]=o*f+s*a+i*u-r*c,t[2]=i*f+s*c+r*a-o*u,t[3]=s*f-r*u-o*a-i*c,t}function h(t,n,e,r){const o=n[0],i=n[1],u=n[2],a=n[3];let c,f,l,h,p,M=e[0],d=e[1],m=e[2],g=e[3];return f=o*M+i*d+u*m+a*g,f<0&&(f=-f,M=-M,d=-d,m=-m,g=-g),1-f>(0,s.FD)()?(c=Math.acos(f),l=Math.sin(c),h=Math.sin((1-r)*c)/l,p=Math.sin(r*c)/l):(h=1-r,p=r),t[0]=h*o+p*M,t[1]=h*i+p*d,t[2]=h*u+p*m,t[3]=h*a+p*g,t}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function M(t,n){const e=n[0]+n[4]+n[8];let r;if(e>0)r=Math.sqrt(e+1),t[3]=.5*r,r=.5/r,t[0]=(n[5]-n[7])*r,t[1]=(n[6]-n[2])*r,t[2]=(n[1]-n[3])*r;else{let e=0;n[4]>n[0]&&(e=1),n[8]>n[3*e+e]&&(e=2);const o=(e+1)%3,i=(e+2)%3;r=Math.sqrt(n[3*e+e]-n[3*o+o]-n[3*i+i]+1),t[e]=.5*r,r=.5/r,t[3]=(n[3*o+i]-n[3*i+o])*r,t[o]=(n[3*o+e]+n[3*e+o])*r,t[i]=(n[3*i+e]+n[3*e+i])*r}return t}function d(t,n,e,r){const o=.5*Math.PI/180;n*=o,e*=o,r*=o;const i=Math.sin(n),s=Math.cos(n),u=Math.sin(e),a=Math.cos(e),c=Math.sin(r),f=Math.cos(r);return t[0]=i*a*f-s*u*c,t[1]=s*u*f+i*a*c,t[2]=s*a*c-i*u*f,t[3]=s*a*f+i*u*c,t}const m=a.C,g=a.hZ,y=a.WQ,v=l,S=a.hs,_=a.Om,w=a.Cc,A=a.Bw,b=A,B=a.m3,O=B,x=a.S8,I=a.t2,N=a.aI,T=(0,i.vt)(),Z=(0,i.fA)(1,0,0),C=(0,i.fA)(0,1,0),q=(0,o.vt)(),P=(0,o.vt)(),R=(0,r.vt)();Object.freeze(Object.defineProperty({__proto__:null,add:y,calculateW:function(t,n){const e=n[0],r=n[1],o=n[2];return t[0]=e,t[1]=r,t[2]=o,t[3]=Math.sqrt(Math.abs(1-e*e-r*r-o*o)),t},conjugate:p,copy:m,dot:_,equals:N,exactEquals:I,fromEuler:d,fromMat3:M,getAxisAngle:f,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],s=e*e+r*r+o*o+i*i,u=s?1/s:0;return t[0]=-e*u,t[1]=-r*u,t[2]=-o*u,t[3]=i*u,t},len:b,length:A,lerp:w,mul:v,multiply:l,normalize:x,random:function(t){const n=s.Ov,e=n(),r=n(),o=n(),i=Math.sqrt(1-e),u=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*r),t[1]=i*Math.cos(2*Math.PI*r),t[2]=u*Math.sin(2*Math.PI*o),t[3]=u*Math.cos(2*Math.PI*o),t},rotateX:function(t,n,e){e*=.5;const r=n[0],o=n[1],i=n[2],s=n[3],u=Math.sin(e),a=Math.cos(e);return t[0]=r*a+s*u,t[1]=o*a+i*u,t[2]=i*a-o*u,t[3]=s*a-r*u,t},rotateY:function(t,n,e){e*=.5;const r=n[0],o=n[1],i=n[2],s=n[3],u=Math.sin(e),a=Math.cos(e);return t[0]=r*a-i*u,t[1]=o*a+s*u,t[2]=i*a+r*u,t[3]=s*a-o*u,t},rotateZ:function(t,n,e){e*=.5;const r=n[0],o=n[1],i=n[2],s=n[3],u=Math.sin(e),a=Math.cos(e);return t[0]=r*a+o*u,t[1]=o*a-r*u,t[2]=i*a+s*u,t[3]=s*a-i*u,t},rotationTo:function(t,n,e){const r=(0,u.Om)(n,e);return r<-.999999?((0,u.$A)(T,Z,n),(0,u.Il)(T)<1e-6&&(0,u.$A)(T,C,n),(0,u.S8)(T,T),c(t,T,Math.PI),t):r>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,u.$A)(T,n,e),t[0]=T[0],t[1]=T[1],t[2]=T[2],t[3]=1+r,x(t,t))},scale:S,set:g,setAxes:function(t,n,e,r){const o=R;return o[0]=e[0],o[3]=e[1],o[6]=e[2],o[1]=r[0],o[4]=r[1],o[7]=r[2],o[2]=-n[0],o[5]=-n[1],o[8]=-n[2],x(t,M(t,o))},setAxisAngle:c,slerp:h,sqlerp:function(t,n,e,r,o,i){return h(q,n,o,i),h(P,e,r,i),h(t,q,P,2*i*(1-i)),t},sqrLen:O,squaredLength:B,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"})),e.d(n,["hZ",0,g,"t2",0,I])},48353(t,n,e){e.d(n,{l:()=>c});var r=e(34727),o=e(58083),i=e(51850);function s(t,n,e){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(n),s=Math.cos(n),u=e;return u[0]=-r,u[4]=-i*o,u[8]=s*o,u[12]=0,u[1]=o,u[5]=-i*r,u[9]=s*r,u[13]=0,u[2]=0,u[6]=s,u[10]=i,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=e(49208),a=e(21325);function c(t,n,e,r){const i=(0,u.Tp)(t,r);if(null==i)return!1;const c=i.source.spatialReferenceId,M=i.dest.spatialReferenceId;if(c===M&&!f(M)&&(0!==c||(0,a.aI)(t,r)))return(0,o.kN)(e,n),!0;if(f(M)){const t=u.w5[c][10],r=u.w5[10][M];return null!=t&&null!=r&&(t(n,0,h,0),r(h,0,p,0),s(l*h[0],l*h[1],e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}const d=f(c);if((3===M||11===M||2===M||5===M)&&(2===c||d||3===c||5===c)){const t=u.w5[c][10],r=u.w5[10][M];return null!=t&&null!=r&&(t(n,0,h,0),r(h,0,p,0),d?function(t,n,e){s(t,n,e),(0,o.mg)(e,e)}(l*h[0],l*h[1],e):(0,o.D_)(e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}return!1}function f(t){return 1===t||6===t||8===t||4===t}const l=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},65806(t,n,e){e.d(n,{g:()=>s});var r=e(51850),o=e(99917),i=e(9762);function s(t,n,e,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,e))return u[0]=t.x,u[1]=t.y,u[2]=t.z??0,(0,i.projectBuffer)(u,t.spatialReference,0,n,e,0);const s=(0,o.tryProject)(t,e,r);return!!s&&(n[0]=s.x,n[1]=s.y,n[2]=s.z??0,!0)}const u=(0,r.vt)()},73836(t,n,e){e.d(n,{A:()=>p});var r=e(32198),o=e(69540),i=e(25482),s=e(91429),u=e(58083),a=e(9093),c=e(67026),f=e(82534),l=e(51850),h=e(24770);let p=class extends((0,o.OU)(i.o)){constructor(t){super(t),this.translation=(0,l.vt)(),this.rotationAxis=(0,l.ci)(h.up),this.rotationAngle=0,this.scale=(0,l.fA)(1,1,1)}get rotation(){return(0,h.i4)(this.rotationAxis,this.rotationAngle)}set rotation(t){this.rotationAxis=(0,l.o8)((0,h.yo)(t)),this.rotationAngle=(0,h.g7)(t)}get localMatrix(){const t=(0,a.vt)();return(0,c.x8)(M,(0,h.yo)(this.rotation),(0,h.$I)(this.rotation)),(0,u.o1)(t,M,this.translation,this.scale),t}get localMatrixInverse(){return(0,u.B8)((0,a.vt)(),this.localMatrix)}equals(t){return this===t||null!=t&&(0,u.t2)(this.localMatrix,t.localMatrix)}};(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"translation",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"rotationAxis",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],p.prototype,"rotationAngle",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"scale",void 0),(0,r.Cg)([(0,s.MZ)()],p.prototype,"rotation",null),(0,r.Cg)([(0,s.MZ)()],p.prototype,"localMatrix",null),(0,r.Cg)([(0,s.MZ)()],p.prototype,"localMatrixInverse",null),p=(0,r.Cg)([(0,s.$K)("esri.geometry.support.MeshTransform")],p);const M=(0,f.vt)()},24770(t,n,e){e.d(n,{$I:()=>m,AU:()=>p,g7:()=>d,i4:()=>f,ui:()=>l,vt:()=>c,yo:()=>M});var r=e(34727),o=e(58083),i=e(67026),s=e(82534),u=e(35522),a=e(51850);function c(t=y){return[t[0],t[1],t[2],t[3]]}function f(t,n,e=c()){return(0,u.C)(e,t),e[3]=n,e}function l(t,n=c()){const e=(0,o.l)(v,t);return g(n,(0,r.KJ)((0,i.Xd)(n,e))),n}function h(t,n,e=c()){return(0,i.x8)(v,t,m(t)),(0,i.x8)(S,n,m(n)),(0,i.lw)(v,S,v),g(e,(0,r.KJ)((0,i.Xd)(e,v)))}function p(t,n,e,r=c()){return f(a.Cw,t,_),f(a.JP,n,w),f(a.Cb,e,A),h(_,w,_),h(_,A,r),r}function M(t){return t}function d(t){return t[3]}function m(t){return(0,r.kU)(t[3])}function g(t,n){return t[3]=n,t}const y=[0,0,1,0],v=(0,s.vt)(),S=(0,s.vt)(),_=(c(),c()),w=c(),A=c();e.d(n,["up",0,y])},72727(t,n,e){function r(t,n,e){if(n<=0)return 0;const r=t-e;return r<0?0:Math.floor(r/n)+1}e.d(n,{k:()=>r}),e(53966)},27921(t,n,e){e.d(n,{$Q:()=>S,C:()=>u,Cr:()=>f,H:()=>w,O_:()=>c,Qj:()=>a,T7:()=>y,Tj:()=>v,lU:()=>l,mN:()=>A,vE:()=>b,vt:()=>s});var r=e(34727),o=e(35522),i=e(51850);function s(t=B){return[t[0],t[1],t[2],t[3]]}function u(t,n){return function(t,n,e,r,o=s()){return o[0]=t,o[1]=n,o[2]=e,o[3]=r,o}(n[0],n[1],n[2],n[3],t)}function a(t){return t}function c(t,n,e){const r=n[0]*n[0]+n[1]*n[1]+n[2]*n[2],o=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return e[0]=n[0]*o,e[1]=n[1]*o,e[2]=n[2]*o,e[3]=-(e[0]*t[0]+e[1]*t[1]+e[2]*t[2]),e}function f(t,n,e,r=s()){const o=e[0]-n[0],i=e[1]-n[1],u=e[2]-n[2],a=t[0]-n[0],c=t[1]-n[1],f=t[2]-n[2],l=i*f-u*c,h=u*a-o*f,p=o*c-i*a,M=l*l+h*h+p*p,d=Math.abs(M-1)>1e-5&&M>1e-12?1/Math.sqrt(M):1;return r[0]=l*d,r[1]=h*d,r[2]=p*d,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function l(t,n,e,r=0,i=Math.floor(e*(1/3)),s=Math.floor(e*(2/3))){if(e<3)return!1;n(p,r);let u=i,a=!1;for(;u<e-1&&!a;)n(M,u),u++,a=!(0,o.t2)(p,M);if(!a)return!1;for(u=Math.max(u,s),a=!1;u<e&&!a;)n(d,u),u++,(0,o.Re)(m,p,M),(0,o.S8)(m,m),(0,o.Re)(g,M,d),(0,o.S8)(g,g),a=!(0,o.t2)(p,d)&&!(0,o.t2)(M,d)&&Math.abs((0,o.Om)(m,g))<h;return a?(f(p,M,d,t),!0):(0!==r||1!==i||2!==s)&&l(t,n,e,0,1,2)}e(78955),e(44280),e(32114),e(32728);const h=.99619469809,p=(0,i.vt)(),M=(0,i.vt)(),d=(0,i.vt)(),m=(0,i.vt)(),g=(0,i.vt)();function y(t,n,e){return function(t){return 0===t||1===t}(b(t,n.origin,n.vector,0,e))}function v(t,n){return A(t,n)>=0}function S(t,n){return function(t,n,e,r,i,s,u){const a=(0,o.Om)(t,e),c=A(t,n);if(a>-1e-6&&a<1e-6)return _(c,i,s);const f=-c/a,l=_(a,i,!1);return!(u&&!l&&!_(c,i,s))&&(l?f>r.c0&&(r.c0=f):f<r.c1&&(r.c1=f),r.c0<=r.c1)}(t,n.ray.origin,n.ray.direction,n,!1,!1,!0)}function _(t,n,e){return e?n?t>=0:t<=0:n?t>0:t<0}function w(t,n,e,r=!1){let i=n.at(-1),s=A(t,i),u=r?s>0:s<=0;for(let a=0;a<n.length;a++){const c=n.at(a),f=A(t,c),l=r?f>0:f<=0;u!==l&&(0,o.Cc)(e(),i,c,s/(s-f)),l&&(0,o.C)(e(),c),i=c,s=f,u=l}}function A(t,n){return(0,o.Om)(t,n)+t[3]}function b(t,n,e,i,s){const u=(0,o.Om)(t,e),a=A(t,n);if(0===u)return a>=0?2:3;let c=-a/u;return 1&i&&(c=(0,r.qE)(c,0,1)),!(4&i)&&c<0||!(8&i)&&c>1?a>=0?2:3:((0,o.WQ)(s,n,(0,o.hs)(s,e,c)),a>=0?0:1)}const B=[0,0,1,0];(0,i.vt)()},44280(t,n,e){e.d(n,{g7:()=>u,gr:()=>s});var r=e(34727),o=e(35522),i=e(51850);function s(t,n){return(0,o.Om)(t,n)/(0,o.Bw)(t)}function u(t,n){const e=(0,o.Om)(t,n)/((0,o.Bw)(t)*(0,o.Bw)(n));return-(0,r.XM)(e)}(0,i.vt)(),(0,i.vt)()},32114(t,n,e){e.d(n,{Rc:()=>p,rq:()=>l,Km:()=>h}),e(44208);var r=e(26390),o=e(29242),i=e(9093),s=e(82534),u=e(48163),a=e(51850),c=e(91829);class f{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 f(u.vt)}static createVec3f64(){return new f(a.vt)}static createVec4f64(){return new f(c.vt)}static createMat3f64(){return new f(o.vt)}static createMat4f64(){return new f(i.vt)}static createQuatf64(){return new f(s.vt)}get test(){}}f.createVec2f64();const l=f.createVec3f64(),h=f.createVec4f64(),p=(f.createMat3f64(),f.createMat4f64());f.createQuatf64()},77793(t,n,e){e.d(n,{V:()=>i,f:()=>s});var r=e(86738),o=e(73836);function i(t,n,e=u){return new r.A({x:t[e.originX],y:t[e.originY],z:t[e.originZ],spatialReference:n})}function s(t,n=u){return new o.A({translation:[t[n.translationX],-t[n.translationZ],t[n.translationY]],rotationAxis:[t[n.rotationX],-t[n.rotationZ],t[n.rotationY]],rotationAngle:t[n.rotationDeg],scale:[t[n.scaleX],t[n.scaleZ],t[n.scaleY]]})}const u={originX:"originX",originY:"originY",originZ:"originZ",translationX:"translationX",translationY:"translationY",translationZ:"translationZ",scaleX:"scaleX",scaleY:"scaleY",scaleZ:"scaleZ",rotationX:"rotationX",rotationY:"rotationY",rotationZ:"rotationZ",rotationDeg:"rotationDeg"}},40050(t,n,e){e.r(n),e.d(n,{assetMapFromAssetMapsJSON:()=>m,extractMesh:()=>d,meshFeatureSetFromJSON:()=>M});var r=e(52106),o=e(53966),i=e(91869),s=e(5443),u=e(16930),a=e(40118),c=e(63579),f=e(20557),l=e(22671),h=e(77793);const p=()=>o.A.getLogger("esri.rest.support.meshFeatureSet");function M(t,n,e){const o=e.features;e.features=[],delete e.geometryType;const i=l.A.fromJSON(e);if(i.geometryType="mesh",!e.assetMaps)return i;const s=m(n,e.assetMaps),a=t.sourceSpatialReference??u.A.WGS84,c=e.globalIdFieldName,{outFields:f}=t,h=null!=f&&f.length>0?(p=f.includes("*")?null:new Set(f),({attributes:t})=>{if(!t)return{};if(!p)return t;for(const n in t)p.has(n)||delete t[n];return t}):()=>({});var p;for(const t of o){const e=d(t,c,a,n,s);i.features.push(new r.A({geometry:e,attributes:h(t)}))}return i}function d(t,n,e,r,o){const i=t.attributes[n],u=o.get(i);if(null==u||!t.geometry)return null;const f=(0,h.V)(t.attributes,e,r.transformFieldRoles),l=s.A.fromJSON(t.geometry);l.spatialReference=e;const p=(0,h.f)(t.attributes,r.transformFieldRoles),M=e.isGeographic?"local":"georeferenced",d=function(t){const n=Array.from(t.files.values()),e=new Array;for(const t of n){if(2!==t.status)return null;const n=new Array;for(const e of t.parts){if(!e)return null;n.push(new c.Bq(e.url,e.hash))}e.push(new c.Qp(t.name,t.mimeType,n))}return{type:"service",assets:e}}(u);return d?(0,a.createWithExternalSource)(f,d,{extent:l,transform:p,vertexSpace:M,unitConversionDisabled:!0}):(0,a.H5)(f,{transform:p,vertexSpace:M})}function m(t,n){const e=new Map;for(const r of n){const n=r.parentGlobalId;if(null==n)continue;const o=r.assetName,s=r.assetType,u=r.assetHash,a=r.assetURL,c=r.conversionStatus,l=r.seqNo,h=(0,f.Fm)(s,t.supportedFormats);if(!h){p().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${s}, but it does not list it as a supported type`);continue}const M=(0,i.tE)(e,n,()=>({files:new Map}));(0,i.tE)(M.files,o,()=>({name:o,type:s,mimeType:h,status:g(c),parts:[]})).parts[l]={hash:u,url:a}}return e}function g(t){switch(t){case"COMPLETED":case"SUBMITTED":return 2;case"INPROGRESS":return 1;default:return 0}}},32728(t,n,e){e.d(n,{YH:()=>s,nu:()=>u,wp:()=>i}),e(34727);var r=e(35522),o=e(51850);function i(t,n){const e=Math.sqrt(n[0]*n[0]+n[4]*n[4]+n[8]*n[8]),o=Math.sqrt(n[1]*n[1]+n[5]*n[5]+n[9]*n[9]),i=Math.sqrt(n[2]*n[2]+n[6]*n[6]+n[10]*n[10]);return(0,r.hZ)(t,e,o,i),t}function s(t,n,e){e=e||t;const o=(0,r.Om)(t,n);(0,r.hZ)(e,t[0]-o*n[0],t[1]-o*n[1],t[2]-o*n[2]),(0,r.S8)(e,e)}function u(t,n,e,i=(0,o.vt)()){const s=(0,r.Bw)(t),u=(0,r.Bw)(n),f=(0,r.Om)(t,n)/(s*u);if(f<.9999999999999999){const o=Math.acos(f),l=((1-e)*s+e*u)/Math.sin(o),h=l/s*Math.sin((1-e)*o),p=l/u*Math.sin(e*o);return(0,r.hs)(a,t,h),(0,r.hs)(c,n,p),(0,r.WQ)(i,a,c)}return(0,r.Cc)(i,t,n,e)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const a=(0,o.vt)(),c=(0,o.vt)()}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,8366],{73354(t,n,e){e.d(n,{a:()=>l,b:()=>u,c:()=>o,d:()=>s,e:()=>h,f:()=>f,l:()=>c,n:()=>p,t:()=>i}),e(44208);var r=e(72727);function o(t,n,e){i(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function i(t,n,e,o=3,i=o){const s=(0,r.k)(t.length,o,3),u=(0,r.k)(n.length,i,3),a=Math.min(s,u),c=e[0],f=e[1],l=e[2],h=e[4],p=e[5],M=e[6],d=e[8],m=e[9],g=e[10],y=e[12],v=e[13],S=e[14];let _=0,w=0;for(let e=0;e<a;e++){const e=n[_],r=n[_+1],s=n[_+2];t[w]=c*e+h*r+d*s+y,t[w+1]=f*e+p*r+m*s+v,t[w+2]=l*e+M*r+g*s+S,_+=i,w+=o}return t}function s(t,n,e){u(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function u(t,n,e,o=3,i=o){const s=(0,r.k)(t.length,o,3),u=(0,r.k)(n.length,i,3),a=Math.min(s,u),c=e[0],f=e[1],l=e[2],h=e[3],p=e[4],M=e[5],d=e[6],m=e[7],g=e[8];let y=0,v=0;for(let e=0;e<a;e++){const e=n[y],r=n[y+1],s=n[y+2];t[v]=c*e+h*r+d*s,t[v+1]=f*e+p*r+m*s,t[v+2]=l*e+M*r+g*s,y+=i,v+=o}}function a(t,n,e,r=3,o=r){const i=Math.min(t.length/r,n.length/o);let s=0,u=0;for(let a=0;a<i;a++)t[u]=e*n[s],t[u+1]=e*n[s+1],t[u+2]=e*n[s+2],s+=o,u+=r;return t}function c(t,n,e,r){f(t.typedBuffer,n.typedBuffer,e,r,t.typedBufferStride,n.typedBufferStride)}function f(t,n,e,r,o=3,i=o){const s=Math.min(t.length/o,n.length/i);let u=0,a=0;const c=1/2.2;for(let f=0;f<s;f++)t[a]=r*(e*n[u])**c,t[a+1]=r*(e*n[u+1])**c,t[a+2]=r*(e*n[u+2])**c,u+=i,a+=o}function l(t,n,e,o=3,i=o){const s=(0,r.k)(t.length,o,3),u=(0,r.k)(n.length,i,3),a=Math.min(s,u);let c=0,f=0;for(let r=0;r<a;r++)t[f]=n[c]+e[0],t[f+1]=n[c+1]+e[1],t[f+2]=n[c+2]+e[2],c+=i,f+=o;return t}function h(t,n){p(t.typedBuffer,n.typedBuffer,t.typedBufferStride,n.typedBufferStride)}function p(t,n,e=3,r=e){const o=Math.min(t.length/e,n.length/r);let i=0,s=0;for(let u=0;u<o;u++){const o=n[i],u=n[i+1],a=n[i+2],c=o*o+u*u+a*a;if(c>0){const n=1/Math.sqrt(c);t[s]=n*o,t[s+1]=n*u,t[s+2]=n*a}i+=r,s+=e}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:c,normalize:p,normalizeView:h,scale:a,scaleView:function(t,n,e){a(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)},shiftRight:function(t,n,e){const r=Math.min(t.count,n.count),o=t.typedBuffer,i=t.typedBufferStride,s=n.typedBuffer,u=n.typedBufferStride;let a=0,c=0;for(let t=0;t<r;t++)o[c]=s[a]>>e,o[c+1]=s[a+1]>>e,o[c+2]=s[a+2]>>e,a+=u,c+=i},transformMat3:u,transformMat3View:s,transformMat4:i,transformMat4View:o,translate:l},Symbol.toStringTag,{value:"Module"}))},82534(t,n,e){function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}e.d(n,{o8:()=>o,vt:()=>r});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,n,e,r){return[t,n,e,r]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["zK",0,i])},48163(t,n,e){function r(){return[0,0]}function o(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function s(){return i(1,1)}function u(){return i(-1,-1)}function a(){return i(1,0)}function c(){return i(0,1)}e.d(n,{fA:()=>i,o8:()=>o,vt:()=>r});const f=s(),l=u(),h=a(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:f,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:o,create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:i,negativeOnes:u,ones:s,unitX:a,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["IA",0,l,"Un",0,f])},91829(t,n,e){function r(){return[0,0,0,0]}function o(t,n,e,r){return[t,n,e,r]}function i(){return o(1,1,1,1)}function s(){return o(1,0,0,0)}function u(){return o(0,1,0,0)}function a(){return o(0,0,1,0)}function c(){return o(0,0,0,1)}e.d(n,{_Y:()=>c,fA:()=>o,vt:()=>r});const f=[0,0,0,0],l=i(),h=s(),p=u(),M=a(),d=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:d,UNIT_X:h,UNIT_Y:p,UNIT_Z:M,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,n,e,r){return[t,n,e,r]},fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:i,unitW:c,unitX:s,unitY:u,unitZ:a,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Un",0,l,"uY",0,f])},67026(t,n,e){e.d(n,{A6:()=>d,Xd:()=>f,Xr:()=>p,lw:()=>l,x8:()=>c});var r=e(29242),o=e(82534),i=e(51850),s=e(34304),u=e(35522),a=e(78955);function c(t,n,e){e*=.5;const r=Math.sin(e);return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=Math.cos(e),t}function f(t,n){const e=2*Math.acos(n[3]),r=Math.sin(e/2);return r>(0,s.FD)()?(t[0]=n[0]/r,t[1]=n[1]/r,t[2]=n[2]/r):(t[0]=1,t[1]=0,t[2]=0),e}function l(t,n,e){const r=n[0],o=n[1],i=n[2],s=n[3],u=e[0],a=e[1],c=e[2],f=e[3];return t[0]=r*f+s*u+o*c-i*a,t[1]=o*f+s*a+i*u-r*c,t[2]=i*f+s*c+r*a-o*u,t[3]=s*f-r*u-o*a-i*c,t}function h(t,n,e,r){const o=n[0],i=n[1],u=n[2],a=n[3];let c,f,l,h,p,M=e[0],d=e[1],m=e[2],g=e[3];return f=o*M+i*d+u*m+a*g,f<0&&(f=-f,M=-M,d=-d,m=-m,g=-g),1-f>(0,s.FD)()?(c=Math.acos(f),l=Math.sin(c),h=Math.sin((1-r)*c)/l,p=Math.sin(r*c)/l):(h=1-r,p=r),t[0]=h*o+p*M,t[1]=h*i+p*d,t[2]=h*u+p*m,t[3]=h*a+p*g,t}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function M(t,n){const e=n[0]+n[4]+n[8];let r;if(e>0)r=Math.sqrt(e+1),t[3]=.5*r,r=.5/r,t[0]=(n[5]-n[7])*r,t[1]=(n[6]-n[2])*r,t[2]=(n[1]-n[3])*r;else{let e=0;n[4]>n[0]&&(e=1),n[8]>n[3*e+e]&&(e=2);const o=(e+1)%3,i=(e+2)%3;r=Math.sqrt(n[3*e+e]-n[3*o+o]-n[3*i+i]+1),t[e]=.5*r,r=.5/r,t[3]=(n[3*o+i]-n[3*i+o])*r,t[o]=(n[3*o+e]+n[3*e+o])*r,t[i]=(n[3*i+e]+n[3*e+i])*r}return t}function d(t,n,e,r){const o=.5*Math.PI/180;n*=o,e*=o,r*=o;const i=Math.sin(n),s=Math.cos(n),u=Math.sin(e),a=Math.cos(e),c=Math.sin(r),f=Math.cos(r);return t[0]=i*a*f-s*u*c,t[1]=s*u*f+i*a*c,t[2]=s*a*c-i*u*f,t[3]=s*a*f+i*u*c,t}const m=a.C,g=a.hZ,y=a.WQ,v=l,S=a.hs,_=a.Om,w=a.Cc,A=a.Bw,b=A,B=a.m3,O=B,x=a.S8,I=a.t2,N=a.aI,T=(0,i.vt)(),Z=(0,i.fA)(1,0,0),C=(0,i.fA)(0,1,0),X=(0,o.vt)(),q=(0,o.vt)(),P=(0,r.vt)();Object.freeze(Object.defineProperty({__proto__:null,add:y,calculateW:function(t,n){const e=n[0],r=n[1],o=n[2];return t[0]=e,t[1]=r,t[2]=o,t[3]=Math.sqrt(Math.abs(1-e*e-r*r-o*o)),t},conjugate:p,copy:m,dot:_,equals:N,exactEquals:I,fromEuler:d,fromMat3:M,getAxisAngle:f,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],s=e*e+r*r+o*o+i*i,u=s?1/s:0;return t[0]=-e*u,t[1]=-r*u,t[2]=-o*u,t[3]=i*u,t},len:b,length:A,lerp:w,mul:v,multiply:l,normalize:x,random:function(t){const n=s.Ov,e=n(),r=n(),o=n(),i=Math.sqrt(1-e),u=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*r),t[1]=i*Math.cos(2*Math.PI*r),t[2]=u*Math.sin(2*Math.PI*o),t[3]=u*Math.cos(2*Math.PI*o),t},rotateX:function(t,n,e){e*=.5;const r=n[0],o=n[1],i=n[2],s=n[3],u=Math.sin(e),a=Math.cos(e);return t[0]=r*a+s*u,t[1]=o*a+i*u,t[2]=i*a-o*u,t[3]=s*a-r*u,t},rotateY:function(t,n,e){e*=.5;const r=n[0],o=n[1],i=n[2],s=n[3],u=Math.sin(e),a=Math.cos(e);return t[0]=r*a-i*u,t[1]=o*a+s*u,t[2]=i*a+r*u,t[3]=s*a-o*u,t},rotateZ:function(t,n,e){e*=.5;const r=n[0],o=n[1],i=n[2],s=n[3],u=Math.sin(e),a=Math.cos(e);return t[0]=r*a+o*u,t[1]=o*a-r*u,t[2]=i*a+s*u,t[3]=s*a-i*u,t},rotationTo:function(t,n,e){const r=(0,u.Om)(n,e);return r<-.999999?((0,u.$A)(T,Z,n),(0,u.Il)(T)<1e-6&&(0,u.$A)(T,C,n),(0,u.S8)(T,T),c(t,T,Math.PI),t):r>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,u.$A)(T,n,e),t[0]=T[0],t[1]=T[1],t[2]=T[2],t[3]=1+r,x(t,t))},scale:S,set:g,setAxes:function(t,n,e,r){const o=P;return o[0]=e[0],o[3]=e[1],o[6]=e[2],o[1]=r[0],o[4]=r[1],o[7]=r[2],o[2]=-n[0],o[5]=-n[1],o[8]=-n[2],x(t,M(t,o))},setAxisAngle:c,slerp:h,sqlerp:function(t,n,e,r,o,i){return h(X,n,o,i),h(q,e,r,i),h(t,X,q,2*i*(1-i)),t},sqrLen:O,squaredLength:B,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"})),e.d(n,["hZ",0,g,"t2",0,I])},48353(t,n,e){e.d(n,{l:()=>c});var r=e(34727),o=e(58083),i=e(51850);function s(t,n,e){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(n),s=Math.cos(n),u=e;return u[0]=-r,u[4]=-i*o,u[8]=s*o,u[12]=0,u[1]=o,u[5]=-i*r,u[9]=s*r,u[13]=0,u[2]=0,u[6]=s,u[10]=i,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=e(49208),a=e(21325);function c(t,n,e,r){const i=(0,u.Tp)(t,r);if(null==i)return!1;const c=i.source.spatialReferenceId,M=i.dest.spatialReferenceId;if(c===M&&!f(M)&&(0!==c||(0,a.aI)(t,r)))return(0,o.kN)(e,n),!0;if(f(M)){const t=u.w5[c][10],r=u.w5[10][M];return null!=t&&null!=r&&(t(n,0,h,0),r(h,0,p,0),s(l*h[0],l*h[1],e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}const d=f(c);if((3===M||11===M||2===M||5===M)&&(2===c||d||3===c||5===c)){const t=u.w5[c][10],r=u.w5[10][M];return null!=t&&null!=r&&(t(n,0,h,0),r(h,0,p,0),d?function(t,n,e){s(t,n,e),(0,o.mg)(e,e)}(l*h[0],l*h[1],e):(0,o.D_)(e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}return!1}function f(t){return 1===t||6===t||8===t||4===t}const l=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},65806(t,n,e){e.d(n,{g:()=>s});var r=e(51850),o=e(99917),i=e(9762);function s(t,n,e,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,e))return u[0]=t.x,u[1]=t.y,u[2]=t.z??0,(0,i.projectBuffer)(u,t.spatialReference,0,n,e,0);const s=(0,o.tryProject)(t,e,r);return!!s&&(n[0]=s.x,n[1]=s.y,n[2]=s.z??0,!0)}const u=(0,r.vt)()},73836(t,n,e){e.d(n,{A:()=>p});var r=e(32198),o=e(69540),i=e(25482),s=e(91429),u=e(58083),a=e(9093),c=e(67026),f=e(82534),l=e(51850),h=e(24770);let p=class extends((0,o.OU)(i.o)){constructor(t){super(t),this.translation=(0,l.vt)(),this.rotationAxis=(0,l.ci)(h.up),this.rotationAngle=0,this.scale=(0,l.fA)(1,1,1)}get rotation(){return(0,h.i4)(this.rotationAxis,this.rotationAngle)}set rotation(t){this.rotationAxis=(0,l.o8)((0,h.yo)(t)),this.rotationAngle=(0,h.g7)(t)}get localMatrix(){const t=(0,a.vt)();return(0,c.x8)(M,(0,h.yo)(this.rotation),(0,h.$I)(this.rotation)),(0,u.o1)(t,M,this.translation,this.scale),t}get localMatrixInverse(){return(0,u.B8)((0,a.vt)(),this.localMatrix)}equals(t){return this===t||null!=t&&(0,u.t2)(this.localMatrix,t.localMatrix)}};(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"translation",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"rotationAxis",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],p.prototype,"rotationAngle",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],p.prototype,"scale",void 0),(0,r.Cg)([(0,s.MZ)()],p.prototype,"rotation",null),(0,r.Cg)([(0,s.MZ)()],p.prototype,"localMatrix",null),(0,r.Cg)([(0,s.MZ)()],p.prototype,"localMatrixInverse",null),p=(0,r.Cg)([(0,s.$K)("esri.geometry.support.MeshTransform")],p);const M=(0,f.vt)()},24770(t,n,e){e.d(n,{$I:()=>m,AU:()=>p,g7:()=>d,i4:()=>f,ui:()=>l,vt:()=>c,yo:()=>M});var r=e(34727),o=e(58083),i=e(67026),s=e(82534),u=e(35522),a=e(51850);function c(t=y){return[t[0],t[1],t[2],t[3]]}function f(t,n,e=c()){return(0,u.C)(e,t),e[3]=n,e}function l(t,n=c()){const e=(0,o.l)(v,t);return g(n,(0,r.KJ)((0,i.Xd)(n,e))),n}function h(t,n,e=c()){return(0,i.x8)(v,t,m(t)),(0,i.x8)(S,n,m(n)),(0,i.lw)(v,S,v),g(e,(0,r.KJ)((0,i.Xd)(e,v)))}function p(t,n,e,r=c()){return f(a.Cw,t,_),f(a.JP,n,w),f(a.Cb,e,A),h(_,w,_),h(_,A,r),r}function M(t){return t}function d(t){return t[3]}function m(t){return(0,r.kU)(t[3])}function g(t,n){return t[3]=n,t}const y=[0,0,1,0],v=(0,s.vt)(),S=(0,s.vt)(),_=(c(),c()),w=c(),A=c();e.d(n,["up",0,y])},72727(t,n,e){function r(t,n,e){if(n<=0)return 0;const r=t-e;return r<0?0:Math.floor(r/n)+1}e.d(n,{k:()=>r}),e(53966)},27921(t,n,e){e.d(n,{$Q:()=>S,BX:()=>v,C:()=>u,Cr:()=>f,H:()=>w,O_:()=>c,Qj:()=>a,T7:()=>y,lU:()=>l,mN:()=>A,vE:()=>b,vt:()=>s});var r=e(34727),o=e(35522),i=e(51850);function s(t=B){return[t[0],t[1],t[2],t[3]]}function u(t,n){return function(t,n,e,r,o=s()){return o[0]=t,o[1]=n,o[2]=e,o[3]=r,o}(n[0],n[1],n[2],n[3],t)}function a(t){return t}function c(t,n,e){const r=n[0]*n[0]+n[1]*n[1]+n[2]*n[2],o=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return e[0]=n[0]*o,e[1]=n[1]*o,e[2]=n[2]*o,e[3]=-(e[0]*t[0]+e[1]*t[1]+e[2]*t[2]),e}function f(t,n,e,r=s()){const o=e[0]-n[0],i=e[1]-n[1],u=e[2]-n[2],a=t[0]-n[0],c=t[1]-n[1],f=t[2]-n[2],l=i*f-u*c,h=u*a-o*f,p=o*c-i*a,M=l*l+h*h+p*p,d=Math.abs(M-1)>1e-5&&M>1e-12?1/Math.sqrt(M):1;return r[0]=l*d,r[1]=h*d,r[2]=p*d,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function l(t,n,e,r=0,i=Math.floor(e*(1/3)),s=Math.floor(e*(2/3))){if(e<3)return!1;n(p,r);let u=i,a=!1;for(;u<e-1&&!a;)n(M,u),u++,a=!(0,o.t2)(p,M);if(!a)return!1;for(u=Math.max(u,s),a=!1;u<e&&!a;)n(d,u),u++,(0,o.Re)(m,p,M),(0,o.S8)(m,m),(0,o.Re)(g,M,d),(0,o.S8)(g,g),a=!(0,o.t2)(p,d)&&!(0,o.t2)(M,d)&&Math.abs((0,o.Om)(m,g))<h;return a?(f(p,M,d,t),!0):(0!==r||1!==i||2!==s)&&l(t,n,e,0,1,2)}e(78955),e(44280),e(32114),e(32728);const h=.99619469809,p=(0,i.vt)(),M=(0,i.vt)(),d=(0,i.vt)(),m=(0,i.vt)(),g=(0,i.vt)();function y(t,n,e){return function(t){return 0===t||1===t}(b(t,n.origin,n.vector,0,e))}function v(t,n){return A(t,n)>=0}function S(t,n){return function(t,n,e,r,i,s,u){const a=(0,o.Om)(t,e),c=A(t,n);if(a>-1e-6&&a<1e-6)return _(c,i,s);const f=-c/a,l=_(a,i,!1);return!(u&&!l&&!_(c,i,s))&&(l?f>r.c0&&(r.c0=f):f<r.c1&&(r.c1=f),r.c0<=r.c1)}(t,n.ray.origin,n.ray.direction,n,!1,!1,!0)}function _(t,n,e){return e?n?t>=0:t<=0:n?t>0:t<0}function w(t,n,e,r=!1){let i=n.at(-1),s=A(t,i),u=r?s>0:s<=0;for(let a=0;a<n.length;a++){const c=n.at(a),f=A(t,c),l=r?f>0:f<=0;u!==l&&(0,o.Cc)(e(),i,c,s/(s-f)),l&&(0,o.C)(e(),c),i=c,s=f,u=l}}function A(t,n){return(0,o.Om)(t,n)+t[3]}function b(t,n,e,i,s){const u=(0,o.Om)(t,e),a=A(t,n);if(0===u)return a>=0?2:3;let c=-a/u;return 1&i&&(c=(0,r.qE)(c,0,1)),!(4&i)&&c<0||!(8&i)&&c>1?a>=0?2:3:((0,o.WQ)(s,n,(0,o.hs)(s,e,c)),a>=0?0:1)}const B=[0,0,1,0];(0,i.vt)()},44280(t,n,e){e.d(n,{g7:()=>u,gr:()=>s});var r=e(34727),o=e(35522),i=e(51850);function s(t,n){return(0,o.Om)(t,n)/(0,o.Bw)(t)}function u(t,n){const e=(0,o.Om)(t,n)/((0,o.Bw)(t)*(0,o.Bw)(n));return-(0,r.XM)(e)}(0,i.vt)(),(0,i.vt)()},32114(t,n,e){e.d(n,{Rc:()=>p,rq:()=>l,Km:()=>h}),e(44208);var r=e(26390),o=e(29242),i=e(9093),s=e(82534),u=e(48163),a=e(51850),c=e(91829);class f{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 f(u.vt)}static createVec3f64(){return new f(a.vt)}static createVec4f64(){return new f(c.vt)}static createMat3f64(){return new f(o.vt)}static createMat4f64(){return new f(i.vt)}static createQuatf64(){return new f(s.vt)}get test(){}}f.createVec2f64();const l=f.createVec3f64(),h=f.createVec4f64(),p=(f.createMat3f64(),f.createMat4f64());f.createQuatf64()},77793(t,n,e){e.d(n,{V:()=>i,f:()=>s});var r=e(86738),o=e(73836);function i(t,n,e=u){return new r.A({x:t[e.originX],y:t[e.originY],z:t[e.originZ],spatialReference:n})}function s(t,n=u){return new o.A({translation:[t[n.translationX],-t[n.translationZ],t[n.translationY]],rotationAxis:[t[n.rotationX],-t[n.rotationZ],t[n.rotationY]],rotationAngle:t[n.rotationDeg],scale:[t[n.scaleX],t[n.scaleZ],t[n.scaleY]]})}const u={originX:"originX",originY:"originY",originZ:"originZ",translationX:"translationX",translationY:"translationY",translationZ:"translationZ",scaleX:"scaleX",scaleY:"scaleY",scaleZ:"scaleZ",rotationX:"rotationX",rotationY:"rotationY",rotationZ:"rotationZ",rotationDeg:"rotationDeg"}},40050(t,n,e){e.r(n),e.d(n,{assetMapFromAssetMapsJSON:()=>m,extractMesh:()=>d,meshFeatureSetFromJSON:()=>M});var r=e(52106),o=e(53966),i=e(91869),s=e(5443),u=e(16930),a=e(40118),c=e(63579),f=e(20557),l=e(22671),h=e(77793);const p=()=>o.A.getLogger("esri.rest.support.meshFeatureSet");function M(t,n,e){const o=e.features;e.features=[],delete e.geometryType;const i=l.A.fromJSON(e);if(i.geometryType="mesh",!e.assetMaps)return i;const s=m(n,e.assetMaps),a=t.sourceSpatialReference??u.A.WGS84,c=e.globalIdFieldName,{outFields:f}=t,h=null!=f&&f.length>0?(p=f.includes("*")?null:new Set(f),({attributes:t})=>{if(!t)return{};if(!p)return t;for(const n in t)p.has(n)||delete t[n];return t}):()=>({});var p;for(const t of o){const e=d(t,c,a,n,s);i.features.push(new r.A({geometry:e,attributes:h(t)}))}return i}function d(t,n,e,r,o){const i=t.attributes[n],u=o.get(i);if(null==u||!t.geometry)return null;const f=(0,h.V)(t.attributes,e,r.transformFieldRoles),l=s.A.fromJSON(t.geometry);l.spatialReference=e;const p=(0,h.f)(t.attributes,r.transformFieldRoles),M=e.isGeographic?"local":"georeferenced",d=function(t){const n=Array.from(t.files.values()),e=new Array;for(const t of n){if(2!==t.status)return null;const n=new Array;for(const e of t.parts){if(!e)return null;n.push(new c.Bq(e.url,e.hash))}e.push(new c.Qp(t.name,t.mimeType,n))}return{type:"service",assets:e}}(u);return d?(0,a.createWithExternalSource)(f,d,{extent:l,transform:p,vertexSpace:M,unitConversionDisabled:!0}):(0,a.H5)(f,{transform:p,vertexSpace:M})}function m(t,n){const e=new Map;for(const r of n){const n=r.parentGlobalId;if(null==n)continue;const o=r.assetName,s=r.assetType,u=r.assetHash,a=r.assetURL,c=r.conversionStatus,l=r.seqNo,h=(0,f.Fm)(s,t.supportedFormats);if(!h){p().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${s}, but it does not list it as a supported type`);continue}const M=(0,i.tE)(e,n,()=>({files:new Map}));(0,i.tE)(M.files,o,()=>({name:o,type:s,mimeType:h,status:g(c),parts:[]})).parts[l]={hash:u,url:a}}return e}function g(t){switch(t){case"COMPLETED":case"SUBMITTED":return 2;case"INPROGRESS":return 1;default:return 0}}},32728(t,n,e){e.d(n,{YH:()=>s,nu:()=>u,wp:()=>i}),e(34727);var r=e(35522),o=e(51850);function i(t,n){const e=Math.sqrt(n[0]*n[0]+n[4]*n[4]+n[8]*n[8]),o=Math.sqrt(n[1]*n[1]+n[5]*n[5]+n[9]*n[9]),i=Math.sqrt(n[2]*n[2]+n[6]*n[6]+n[10]*n[10]);return(0,r.hZ)(t,e,o,i),t}function s(t,n,e){e=e||t;const o=(0,r.Om)(t,n);(0,r.hZ)(e,t[0]-o*n[0],t[1]-o*n[1],t[2]-o*n[2]),(0,r.S8)(e,e)}function u(t,n,e,i=(0,o.vt)()){const s=(0,r.Bw)(t),u=(0,r.Bw)(n),f=(0,r.Om)(t,n)/(s*u);if(f<.9999999999999999){const o=Math.acos(f),l=((1-e)*s+e*u)/Math.sin(o),h=l/s*Math.sin((1-e)*o),p=l/u*Math.sin(e*o);return(0,r.hs)(a,t,h),(0,r.hs)(c,n,p),(0,r.WQ)(i,a,c)}return(0,r.Cc)(i,t,n,e)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const a=(0,o.vt)(),c=(0,o.vt)()}}]);