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

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 (632) hide show
  1. package/arcade/Dictionary.js +1 -1
  2. package/arcade/Feature.js +1 -1
  3. package/arcade/ImmutablePointArray.js +1 -1
  4. package/arcade/arcadeAsyncRuntime.js +1 -1
  5. package/arcade/arcadeCompiler.js +1 -1
  6. package/arcade/arcadeRuntime.js +1 -1
  7. package/arcade/containerUtils.js +1 -1
  8. package/arcade/debug.js +1 -1
  9. package/arcade/deepClone.js +1 -1
  10. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  11. package/arcade/featureset/support/FeatureSet.js +1 -1
  12. package/arcade/functions/centroid.js +1 -1
  13. package/arcade/functions/date.js +1 -1
  14. package/arcade/functions/feature.js +1 -1
  15. package/arcade/functions/featuresetbase.js +1 -1
  16. package/arcade/functions/featuresetgeom.js +1 -1
  17. package/arcade/functions/featuresetstats.js +1 -1
  18. package/arcade/functions/featuresetstring.js +1 -1
  19. package/arcade/functions/fieldStats.js +1 -1
  20. package/arcade/functions/geomasync.js +1 -1
  21. package/arcade/functions/geometry.js +1 -1
  22. package/arcade/functions/geomsync.js +1 -1
  23. package/arcade/functions/knowledgegraph.js +1 -1
  24. package/arcade/functions/maths.js +1 -1
  25. package/arcade/functions/stats.js +1 -1
  26. package/arcade/functions/string.js +1 -1
  27. package/arcade/functions/track.js +1 -1
  28. package/arcade/geometry/adapters/accessor.js +2 -0
  29. package/arcade/geometry/adapters/dehydrated.js +2 -0
  30. package/arcade/geometry/adapters/gx.js +2 -0
  31. package/arcade/geometry/adapters/json.js +2 -0
  32. package/arcade/geometry/adapters/optimized.js +2 -0
  33. package/arcade/geometry/adapters/tuple.js +2 -0
  34. package/arcade/geometry/adapters/utils.js +2 -0
  35. package/arcade/geometry/arrayOfPointsConversions.js +2 -0
  36. package/arcade/geometry/constructors.js +1 -1
  37. package/arcade/geometry/functions.js +1 -1
  38. package/arcade/geometry/isSelfIntersecting.js +2 -0
  39. package/arcade/geometry/nearestCoordinate.js +2 -0
  40. package/arcade/geometry/nearestVertex.js +1 -1
  41. package/arcade/geometry/operators.js +1 -1
  42. package/arcade/geometry/operatorsWorker.js +1 -1
  43. package/arcade/geometry/rotate.js +1 -1
  44. package/arcade/geometry.js +2 -0
  45. package/arcade/languageUtils.js +1 -1
  46. package/arcade.js +1 -1
  47. package/arcgisGlobal.d.ts +1 -0
  48. package/assets/esri/core/workers/RemoteClient.js +1 -1
  49. package/assets/esri/core/workers/chunks/{0b8c9657975388f1e4c8.js → 00181785a180e934bf7c.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{01e648b258efa6408070.js → 0336f4f8498a22347720.js} +1 -1
  51. package/assets/esri/core/workers/chunks/0439d4f4dfd6e78be97e.js +1 -0
  52. package/assets/esri/core/workers/chunks/05393b23ab24126d4236.js +1 -0
  53. package/assets/esri/core/workers/chunks/08263c07d92c48806834.js +1 -0
  54. package/assets/esri/core/workers/chunks/09e01fd1c199be0c8e03.js +1 -0
  55. package/assets/esri/core/workers/chunks/{12d6d73ca1fa55640a4f.js → 0b4a7209b99227a842ad.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{073224c6ac77dc9e97af.js → 0b7860a3f18d252b774a.js} +1 -1
  57. package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +1 -0
  58. package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +1 -0
  59. package/assets/esri/core/workers/chunks/0f15468ffefd3e9a17b8.js +29 -0
  60. package/assets/esri/core/workers/chunks/13e92f6a9573a2818fb7.js +1 -0
  61. package/assets/esri/core/workers/chunks/19aa4072764937743bd8.js +1 -0
  62. package/assets/esri/core/workers/chunks/19e93d4d37018e3ee849.js +1 -0
  63. package/assets/esri/core/workers/chunks/{911f3a1b8dd4bc5c9782.js → 1bf5c0a4bc5a960a3fa2.js} +1 -1
  64. package/assets/esri/core/workers/chunks/1c378d489c5402888f76.js +1 -0
  65. package/assets/esri/core/workers/chunks/1d1e8d8b1fcf2d9f3dfc.js +1 -0
  66. package/assets/esri/core/workers/chunks/{e5c8f9fef88ca33624e9.js → 1e087fb13b7b0a5d6fec.js} +1 -1
  67. package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +1 -0
  68. package/assets/esri/core/workers/chunks/1f9d6180a96d557838e9.js +1 -0
  69. package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +1 -0
  70. package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +1 -0
  71. package/assets/esri/core/workers/chunks/22c94f9a69b2157f8dbd.js +1 -0
  72. package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +1 -0
  73. package/assets/esri/core/workers/chunks/26ecc841396e5e719b6a.js +1 -0
  74. package/assets/esri/core/workers/chunks/{fcf7299e2ee904ab9882.js → 2724900f7992a79fc442.js} +1 -1
  75. package/assets/esri/core/workers/chunks/27c0bed59626c7f64125.js +1 -0
  76. package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +1 -0
  77. package/assets/esri/core/workers/chunks/2c9783e3b44986e86797.js +1 -0
  78. package/assets/esri/core/workers/chunks/2ceb07b125c84b51f02a.js +1 -0
  79. package/assets/esri/core/workers/chunks/2cf2f2842c19be84ab4d.js +1 -0
  80. package/assets/esri/core/workers/chunks/2d07d5a9ec67c39ef10c.js +1 -0
  81. package/assets/esri/core/workers/chunks/{a7c715648a07ed70b122.js → 2ec44ebc48beeba11201.js} +1 -1
  82. package/assets/esri/core/workers/chunks/2f2d699b072472fa710e.js +1 -0
  83. package/assets/esri/core/workers/chunks/2f3bbc1f7d4abbbeec2f.js +1 -0
  84. package/assets/esri/core/workers/chunks/304a36e862947fdb05c0.js +1 -0
  85. package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +1 -0
  86. package/assets/esri/core/workers/chunks/32f11b4aeae1ef00e466.js +1 -0
  87. package/assets/esri/core/workers/chunks/35d3e60d15294f268992.js +1 -0
  88. package/assets/esri/core/workers/chunks/37a2be4380796f14fe4e.js +1 -0
  89. package/assets/esri/core/workers/chunks/37adb55d9f83faad1712.js +1 -0
  90. package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +1 -0
  91. package/assets/esri/core/workers/chunks/3a9c6f58a1a065c14017.js +1 -0
  92. package/assets/esri/core/workers/chunks/3b552afffaa78bf4fe18.js +1 -0
  93. package/assets/esri/core/workers/chunks/{fe06cc2f90b2d551e4c1.js → 3bbd2d4a19c3b7ad82e4.js} +1 -1
  94. package/assets/esri/core/workers/chunks/3de07326da4c47cd2aab.js +1 -0
  95. package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +1 -0
  96. package/assets/esri/core/workers/chunks/{dbd6bbd3e834ff9d220e.js → 41cf6163758d28fb1968.js} +1 -1
  97. package/assets/esri/core/workers/chunks/466bb1b69aabaeabad6a.js +1 -0
  98. package/assets/esri/core/workers/chunks/47e60b2acec18ef37b6c.js +1 -0
  99. package/assets/esri/core/workers/chunks/4849849fc8330d05a8e6.js +1 -0
  100. package/assets/esri/core/workers/chunks/497c5a9c95e9a89ac217.js +1 -0
  101. package/assets/esri/core/workers/chunks/49d36e54644dc2966128.js +1 -0
  102. package/assets/esri/core/workers/chunks/4aefe6fd4d725a107758.js +1 -0
  103. package/assets/esri/core/workers/chunks/4b6f433022a6822706cb.js +1 -0
  104. package/assets/esri/core/workers/chunks/4d4ebb4e4d83c1123b63.js +1 -0
  105. package/assets/esri/core/workers/chunks/4ee99e654dad6f09abee.js +1 -0
  106. package/assets/esri/core/workers/chunks/4f0804429d8989aa4c51.js +1 -0
  107. package/assets/esri/core/workers/chunks/50525b617ef78086d3c7.js +1 -0
  108. package/assets/esri/core/workers/chunks/5235b9c21ac4156c2375.js +1 -0
  109. package/assets/esri/core/workers/chunks/52422500ca3d6cf2e596.js +1 -0
  110. package/assets/esri/core/workers/chunks/527b87fddf33bb5d519e.js +1 -0
  111. package/assets/esri/core/workers/chunks/55572cefc752b755cf0a.js +1 -0
  112. package/assets/esri/core/workers/chunks/{a4bae2396fae48b57047.js → 595edbc1e9bba47d5676.js} +1 -1
  113. package/assets/esri/core/workers/chunks/59cf23cc8f91b5bea31a.js +1 -0
  114. package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +1 -0
  115. package/assets/esri/core/workers/chunks/5d7a5aa608ed6192b016.js +1 -0
  116. package/assets/esri/core/workers/chunks/5d9c92c4e60a4696fdad.js +1 -0
  117. package/assets/esri/core/workers/chunks/5ed7bc9e6cb7cdee92e2.js +1 -0
  118. package/assets/esri/core/workers/chunks/{272c8ccdbd3dcc14e99b.js → 5ed89c862eee1345e3af.js} +1 -1
  119. package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +1 -0
  120. package/assets/esri/core/workers/chunks/64ce2d060ae7cdd412cf.js +1 -0
  121. package/assets/esri/core/workers/chunks/65f4ca7201e7267bfc81.js +1 -0
  122. package/assets/esri/core/workers/chunks/67efdd296007a809586c.js +1 -0
  123. package/assets/esri/core/workers/chunks/691434d4c6a38e63d819.js +1 -0
  124. package/assets/esri/core/workers/chunks/{ba67aaa08e4f11e1140a.js → 696cb3bf167327d5b0b9.js} +1 -1
  125. package/assets/esri/core/workers/chunks/69700ed16727ed0c4e3a.js +1 -0
  126. package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +1 -0
  127. package/assets/esri/core/workers/chunks/6a4f007f87d9f2a6fbc4.js +1 -0
  128. package/assets/esri/core/workers/chunks/{7343a44a2382a1d68497.js → 6b9dbf43c0659e55c539.js} +1 -1
  129. package/assets/esri/core/workers/chunks/6de5c6af62776e1b9776.js +1 -0
  130. package/assets/esri/core/workers/chunks/70dc25f721c0ac5f3660.js +1 -0
  131. package/assets/esri/core/workers/chunks/71308dca3fd05687e7bd.js +1 -0
  132. package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +1 -0
  133. package/assets/esri/core/workers/chunks/78085f804969c9282700.js +1 -0
  134. package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +1 -0
  135. package/assets/esri/core/workers/chunks/7c1f989ee3d13dfe7ebd.js +1 -0
  136. package/assets/esri/core/workers/chunks/7c56446184abcd14678b.js +1 -0
  137. package/assets/esri/core/workers/chunks/7ce9c84f90e9dd1deb38.js +1 -0
  138. package/assets/esri/core/workers/chunks/7f55a150e4da02786311.js +1 -0
  139. package/assets/esri/core/workers/chunks/7fc3231768ce79e375ae.js +1 -0
  140. package/assets/esri/core/workers/chunks/7febb434f2de2436435f.js +1 -0
  141. package/assets/esri/core/workers/chunks/847b02d188ece9b563ad.js +1 -0
  142. package/assets/esri/core/workers/chunks/903c7bd079888f65fef1.js +1 -0
  143. package/assets/esri/core/workers/chunks/{bdafd4f03585351cecc3.js → 909a85cb6e0e9a3c8567.js} +1 -1
  144. package/assets/esri/core/workers/chunks/9226205850e35b7fc610.js +1 -0
  145. package/assets/esri/core/workers/chunks/922c24b9bb68f4201b03.js +1 -0
  146. package/assets/esri/core/workers/chunks/9474c913e53f69679197.js +1 -0
  147. package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +1 -0
  148. package/assets/esri/core/workers/chunks/{75a2c43311f5f9058f62.js → 94f62ff81cc6fb83e73f.js} +1 -1
  149. package/assets/esri/core/workers/chunks/95ccac3734ac70387b03.js +1 -0
  150. package/assets/esri/core/workers/chunks/97c7dfd29ad4c2966cb4.js +1 -0
  151. package/assets/esri/core/workers/chunks/{1354b8442c2c501238f1.js → 986c5024f22bbfc49aba.js} +1 -1
  152. package/assets/esri/core/workers/chunks/9b81bd62a2c72f592db1.js +1 -0
  153. package/assets/esri/core/workers/chunks/{62596065747abce1964d.js → 9b8e33985310f281f084.js} +1 -1
  154. package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +1 -0
  155. package/assets/esri/core/workers/chunks/9eb3e6800f5034f1593f.js +1 -0
  156. package/assets/esri/core/workers/chunks/a0300fac6a06e7d89a52.js +1 -0
  157. package/assets/esri/core/workers/chunks/a03e7333e3328036f478.js +1 -0
  158. package/assets/esri/core/workers/chunks/a0565137027c83108953.js +1 -0
  159. package/assets/esri/core/workers/chunks/a3b403f8acb90af19adb.js +1 -0
  160. package/assets/esri/core/workers/chunks/a4596f028758649da099.js +1 -0
  161. package/assets/esri/core/workers/chunks/a46ac0be9aabc4cfedc7.js +1 -0
  162. package/assets/esri/core/workers/chunks/a4a22149077c7780481c.js +1 -0
  163. package/assets/esri/core/workers/chunks/a6ab627e965fe7e5bd52.js +1 -0
  164. package/assets/esri/core/workers/chunks/a7954ad55a241af9064f.js +1 -0
  165. package/assets/esri/core/workers/chunks/a8b878c12cb1a6ea012b.js +1 -0
  166. package/assets/esri/core/workers/chunks/{ec0803cfa5051c4d300d.js → aa0ef4493a7e9bed159f.js} +1 -1
  167. package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +1 -0
  168. package/assets/esri/core/workers/chunks/ab9927a32350063cb5f0.js +1 -0
  169. package/assets/esri/core/workers/chunks/adc2620cbe735532004d.js +1 -0
  170. package/assets/esri/core/workers/chunks/add834f867900a7091d2.js +1 -0
  171. package/assets/esri/core/workers/chunks/{bbf4c2ee4d56bb0f1a81.js → afa6b74d9ca9ed0154af.js} +1 -1
  172. package/assets/esri/core/workers/chunks/b0e25ccb5a1e57a82628.js +1 -0
  173. package/assets/esri/core/workers/chunks/b17a9853250ab626d58d.js +1 -0
  174. package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +1 -0
  175. package/assets/esri/core/workers/chunks/b2e2234fdf8e05bc3312.js +1 -0
  176. package/assets/esri/core/workers/chunks/b6063d1755def00d4889.js +1 -0
  177. package/assets/esri/core/workers/chunks/{39c0a3eb6a870953d530.js → b6f67302d0d5d57add66.js} +1 -1
  178. package/assets/esri/core/workers/chunks/bb56ab53c5a10c9518a6.js +1 -0
  179. package/assets/esri/core/workers/chunks/bd2602195e265f8fdb15.js +1 -0
  180. package/assets/esri/core/workers/chunks/{f762f0f6c83748d8e328.js → bee411f08e2a9499f8f5.js} +1 -1
  181. package/assets/esri/core/workers/chunks/bf357afbabaa8dec4d75.js +1 -0
  182. package/assets/esri/core/workers/chunks/bf7875fda48b15271a10.js +1 -0
  183. package/assets/esri/core/workers/chunks/bfa59005a9b191d18546.js +1 -0
  184. package/assets/esri/core/workers/chunks/bfb8fc6b940bd5510e29.js +1 -0
  185. package/assets/esri/core/workers/chunks/{b311658b8a223efe35d6.js → c0e073a77484b0dfd383.js} +1 -1
  186. package/assets/esri/core/workers/chunks/c13aa45ccd5efb662f88.js +1 -0
  187. package/assets/esri/core/workers/chunks/c176df477bbbbc9c6922.js +1 -0
  188. package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +1 -0
  189. package/assets/esri/core/workers/chunks/c4f582dec07895d3bb93.js +1 -0
  190. package/assets/esri/core/workers/chunks/c4fef90cf08bbe4f0bb5.js +1 -0
  191. package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +1 -0
  192. package/assets/esri/core/workers/chunks/c80277a313205853a857.js +1 -0
  193. package/assets/esri/core/workers/chunks/c91042f8bf886056a29c.js +1 -0
  194. package/assets/esri/core/workers/chunks/ca204c110438f7315790.js +1 -0
  195. package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +1 -0
  196. package/assets/esri/core/workers/chunks/cb6fb04fe5c8d90d4196.js +1 -0
  197. package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +1 -0
  198. package/assets/esri/core/workers/chunks/{85f459297b0214141d43.js → cd02a6078443b8f63927.js} +1 -1
  199. package/assets/esri/core/workers/chunks/{e64ccdb8328eb6514e59.js → cd8b3c2fc27c239f9954.js} +1 -1
  200. package/assets/esri/core/workers/chunks/{3a36c132ceddef3d15c8.js → cdbcc4cd9145dd93db49.js} +1 -1
  201. package/assets/esri/core/workers/chunks/{e90feee1756a2209f93f.js → ce9fe1a89b474f9e7ee7.js} +1 -1
  202. package/assets/esri/core/workers/chunks/d04a01dc1b4947478264.js +1 -0
  203. package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +1 -0
  204. package/assets/esri/core/workers/chunks/d119671a32a050517cca.js +1 -0
  205. package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +1 -0
  206. package/assets/esri/core/workers/chunks/d270b49c037085503016.js +1 -0
  207. package/assets/esri/core/workers/chunks/{f5eee6e548bb24b5a003.js → d30a7fc8dab4ebb8893b.js} +1 -1
  208. package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +1 -0
  209. package/assets/esri/core/workers/chunks/d36bbda9b7261534568f.js +1 -0
  210. package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +1 -0
  211. package/assets/esri/core/workers/chunks/d6b87134e0d120c68d2f.js +1 -0
  212. package/assets/esri/core/workers/chunks/d6f7aa280f1bd201d4ef.js +1 -0
  213. package/assets/esri/core/workers/chunks/da9aacdb0b4a04f42fb8.js +1 -0
  214. package/assets/esri/core/workers/chunks/daf7b647bd960d8bad56.js +1 -0
  215. package/assets/esri/core/workers/chunks/{10ac92dcd3738ec23dfb.js → db04c1bad40d068306ba.js} +1 -1
  216. package/assets/esri/core/workers/chunks/{3427f0c026301bcf7272.js → db180f8d25471cfa48af.js} +1 -1
  217. package/assets/esri/core/workers/chunks/db4c9a9103e979292948.js +1 -0
  218. package/assets/esri/core/workers/chunks/dceaa6b68eee090073b1.js +1 -0
  219. package/assets/esri/core/workers/chunks/ddf284648a73b6993737.js +1 -0
  220. package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +1 -0
  221. package/assets/esri/core/workers/chunks/e1682e94cc714197ebb4.js +1 -0
  222. package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +1 -0
  223. package/assets/esri/core/workers/chunks/e32a14770e036fce79d9.js +1 -0
  224. package/assets/esri/core/workers/chunks/e370a3337b3c90240e73.js +1 -0
  225. package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +1 -0
  226. package/assets/esri/core/workers/chunks/e40e08029325f43452d0.js +1 -0
  227. package/assets/esri/core/workers/chunks/{0d7d54e74b5639a0be6e.js → e707534a700a2de687ca.js} +1 -1
  228. package/assets/esri/core/workers/chunks/e823c9ccb7bc348d8824.js +1 -0
  229. package/assets/esri/core/workers/chunks/e88eee4c2fc4229c2a8b.js +1 -0
  230. package/assets/esri/core/workers/chunks/e9f29019aa78f07ace66.js +1 -0
  231. package/assets/esri/core/workers/chunks/ea75c23c44452f45a949.js +1 -0
  232. package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +1 -0
  233. package/assets/esri/core/workers/chunks/eacf216dcd6397c7bd7f.js +1 -0
  234. package/assets/esri/core/workers/chunks/ee77999df3785468b2b6.js +1 -0
  235. package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +1 -0
  236. package/assets/esri/core/workers/chunks/eff359210893239ecec3.js +1 -0
  237. package/assets/esri/core/workers/chunks/f106cc7f559856f69b9f.js +1 -0
  238. package/assets/esri/core/workers/chunks/f210cd8afb86b6eaf7a2.js +1 -0
  239. package/assets/esri/core/workers/chunks/f247f3c5148fa0237a7c.js +1 -0
  240. package/assets/esri/core/workers/chunks/f250a7aa571889c5ad4b.js +1 -0
  241. package/assets/esri/core/workers/chunks/{a26dc2647a15b830390e.js → f253875feb11883deb84.js} +1 -1
  242. package/assets/esri/core/workers/chunks/f31330d628d7e741bf5b.js +1 -0
  243. package/assets/esri/core/workers/chunks/f3d57c5b9dffd12e45b4.js +1 -0
  244. package/assets/esri/core/workers/chunks/f43ae1c2f89e1c4396cc.js +1 -0
  245. package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +1 -0
  246. package/assets/esri/core/workers/chunks/{147d1e7e2852a4197e5f.js → f665fb4c5633e0a459d8.js} +1 -1
  247. package/assets/esri/core/workers/chunks/f66e597e524b26e61cd3.js +1 -0
  248. package/assets/esri/core/workers/chunks/{bec140a69cfdb0519680.js → f74c7cbe4bd12f73ae90.js} +1 -1
  249. package/assets/esri/core/workers/chunks/{e6f6b38eda34708d61c5.js → f7f2102b16d201e5f531.js} +1 -1
  250. package/assets/esri/core/workers/chunks/f82ae237452b97cfc024.js +1 -0
  251. package/assets/esri/core/workers/chunks/f8f7b86bbd62106bc3d4.js +1 -0
  252. package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +1 -0
  253. package/assets/esri/core/workers/chunks/fbc7576ed12964059da6.js +1 -0
  254. package/assets/esri/core/workers/chunks/fc4a5996fc03f6c32030.js +1 -0
  255. package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +1 -0
  256. package/assets/esri/core/workers/chunks/fddcb8be714ad18ad0c8.js +1 -0
  257. package/assets/esri/core/workers/chunks/{baa46edd87e97f922128.js → ffe749d790320dddfa74.js} +1 -1
  258. package/chunks/Bufferer-CclWhXVb.js +1 -1
  259. package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
  260. package/chunks/Envelope.js +1 -1
  261. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  262. package/chunks/GeodeticUtils.js +1 -1
  263. package/chunks/GeographicTransformation.js +1 -1
  264. package/chunks/Geometry.js +1 -1
  265. package/chunks/GlowComposite.glsl.js +9 -7
  266. package/chunks/MultiPathImpl.js +1 -1
  267. package/chunks/OperatorCentroid2D.js +1 -1
  268. package/chunks/OperatorContains.js +2 -0
  269. package/chunks/OperatorCrosses.js +1 -1
  270. package/chunks/OperatorCut.js +1 -1
  271. package/chunks/OperatorDisjoint.js +2 -0
  272. package/chunks/OperatorDistance.js +2 -0
  273. package/chunks/OperatorEquals.js +2 -0
  274. package/chunks/OperatorGeodesicBuffer.js +1 -1
  275. package/chunks/OperatorGeodeticArea.js +1 -1
  276. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  277. package/chunks/OperatorGeodeticLength.js +1 -1
  278. package/chunks/OperatorGraphicBuffer.js +1 -1
  279. package/chunks/OperatorIntegrate.js +1 -1
  280. package/chunks/OperatorIntersects.js +1 -1
  281. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  282. package/chunks/OperatorOverlaps.js +1 -1
  283. package/chunks/OperatorProximity.js +1 -1
  284. package/chunks/OperatorProximityGeodesic.js +1 -1
  285. package/chunks/OperatorRelate.js +2 -0
  286. package/chunks/OperatorShapePreservingLength.js +1 -1
  287. package/chunks/OperatorShapePreservingProject.js +1 -1
  288. package/chunks/OperatorSimplifyOGC.js +1 -1
  289. package/chunks/OperatorTouches.js +1 -1
  290. package/chunks/OperatorWithin.js +1 -1
  291. package/chunks/Point2D.js +1 -1
  292. package/chunks/ProjectionTransformation.js +1 -1
  293. package/chunks/SideCalculator2D-DX0718xq.js +1 -1
  294. package/chunks/UnitFactory.js +1 -1
  295. package/chunks/aiServices.js +1 -1
  296. package/chunks/array.js +1 -1
  297. package/chunks/languageUtils.js +1 -1
  298. package/config.js +1 -1
  299. package/core/sql/TimeOnly.js +1 -1
  300. package/core/units.js +1 -1
  301. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  302. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  303. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  304. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  305. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  306. package/form/elements/inputs/inputUtils.js +1 -1
  307. package/geometry/operators/areaOperator.js +1 -1
  308. package/geometry/operators/bufferOperator.js +1 -1
  309. package/geometry/operators/centroidOperator.js +1 -1
  310. package/geometry/operators/clipOperator.js +1 -1
  311. package/geometry/operators/containsOperator.js +1 -1
  312. package/geometry/operators/convexHullOperator.js +1 -1
  313. package/geometry/operators/crossesOperator.js +1 -1
  314. package/geometry/operators/cutOperator.js +1 -1
  315. package/geometry/operators/densifyOperator.js +1 -1
  316. package/geometry/operators/differenceOperator.js +1 -1
  317. package/geometry/operators/disjointOperator.js +1 -1
  318. package/geometry/operators/distanceOperator.js +1 -1
  319. package/geometry/operators/equalsOperator.js +1 -1
  320. package/geometry/operators/generalizeOperator.js +1 -1
  321. package/geometry/operators/geodesicBufferOperator.js +1 -1
  322. package/geometry/operators/geodeticAreaOperator.js +1 -1
  323. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  324. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  325. package/geometry/operators/geodeticLengthOperator.js +1 -1
  326. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  327. package/geometry/operators/gx/operatorBuffer.js +1 -1
  328. package/geometry/operators/gx/operatorDifference.js +1 -1
  329. package/geometry/operators/gx/operatorIntersection.js +1 -1
  330. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  331. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  332. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  333. package/geometry/operators/gx/operatorSimplify.js +1 -1
  334. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  335. package/geometry/operators/gx/operatorUnion.js +1 -1
  336. package/geometry/operators/intersectionOperator.js +1 -1
  337. package/geometry/operators/intersectsOperator.js +1 -1
  338. package/geometry/operators/json/containsOperator.js +1 -1
  339. package/geometry/operators/json/crossesOperator.js +1 -1
  340. package/geometry/operators/json/disjointOperator.js +1 -1
  341. package/geometry/operators/json/intersectsOperator.js +1 -1
  342. package/geometry/operators/json/overlapsOperator.js +1 -1
  343. package/geometry/operators/json/touchesOperator.js +1 -1
  344. package/geometry/operators/json/unionOperator.js +1 -1
  345. package/geometry/operators/json/withinOperator.js +1 -1
  346. package/geometry/operators/labelPointOperator.js +1 -1
  347. package/geometry/operators/lengthOperator.js +1 -1
  348. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  349. package/geometry/operators/offsetOperator.js +1 -1
  350. package/geometry/operators/overlapsOperator.js +1 -1
  351. package/geometry/operators/proximityOperator.js +1 -1
  352. package/geometry/operators/relateOperator.js +1 -1
  353. package/geometry/operators/reshapeOperator.js +1 -1
  354. package/geometry/operators/simplifyOGCOperator.js +1 -1
  355. package/geometry/operators/simplifyOperator.js +1 -1
  356. package/geometry/operators/support/apiConverter.js +1 -1
  357. package/geometry/operators/support/jsonConverter.js +1 -1
  358. package/geometry/operators/support/projectionTransformation.js +1 -1
  359. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  360. package/geometry/operators/touchesOperator.js +1 -1
  361. package/geometry/operators/unionOperator.js +1 -1
  362. package/geometry/operators/withinOperator.js +1 -1
  363. package/geometry/support/curves/circleUtils.js +1 -1
  364. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  365. package/geometry/support/webMercatorUtils.js +1 -1
  366. package/kernel.js +1 -1
  367. package/layers/VectorTileLayer.js +1 -1
  368. package/layers/graphics/hydratedFeatures.js +1 -1
  369. package/layers/mixins/DataSeriesLayer.js +1 -1
  370. package/layers/support/csvUtils.js +1 -1
  371. package/layers/support/fieldUtils.js +1 -1
  372. package/layers/video/VideoController.js +1 -1
  373. package/package.json +3 -3
  374. package/support/ArcadeExpression.js +1 -1
  375. package/support/arcadeUtils.js +1 -1
  376. package/support/loadArcade.js +1 -1
  377. package/support/revision.js +1 -1
  378. package/support/tests/serviceMockDependencies.js +1 -1
  379. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  380. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  381. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  382. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  383. package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
  384. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  385. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  386. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  387. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  388. package/views/3d/input/SceneInputManager.js +1 -1
  389. package/views/3d/input/handlers/RopePullNavigation.js +2 -0
  390. package/views/3d/layers/TiledLayerView3D.js +1 -1
  391. package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
  392. package/views/3d/layers/i3s/I3SNode.js +1 -1
  393. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  394. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  395. package/views/3d/state/controllers/RopePullController.js +2 -0
  396. package/views/3d/state/utils/ropePullUtils.js +1 -1
  397. package/views/3d/support/ElevationAgnosticVisibility.js +1 -1
  398. package/views/3d/support/sphericalTileUtils.js +1 -1
  399. package/views/3d/terrain/PlanarPatch.js +1 -1
  400. package/views/3d/terrain/SphericalPatch.js +1 -1
  401. package/views/3d/terrain/Tile.js +1 -1
  402. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  403. package/views/SelectionManager.js +1 -1
  404. package/views/draw/DrawTool.js +1 -1
  405. package/views/draw/support/createUtils.js +1 -1
  406. package/views/support/GeometryWorker.js +1 -1
  407. package/views/support/selectionUtils.js +1 -1
  408. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  409. package/widgets/BatchAttributeForm/expressions/ArcadeExecutorProvider.js +1 -1
  410. package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
  411. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  412. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  413. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  414. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  415. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  416. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  417. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  418. package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
  419. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  420. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  421. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  422. package/widgets/support/SelectionList/selectionListUtils.d.ts +58 -0
  423. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  424. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  425. package/arcade/kernel.js +0 -2
  426. package/assets/esri/core/workers/chunks/01b7babaefe6500fd6eb.js +0 -1
  427. package/assets/esri/core/workers/chunks/06e109e92de7fa0956e3.js +0 -1
  428. package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +0 -1
  429. package/assets/esri/core/workers/chunks/0993e51d3a9701ed2198.js +0 -1
  430. package/assets/esri/core/workers/chunks/09a0a1e794ddff65aa08.js +0 -1
  431. package/assets/esri/core/workers/chunks/0e57d33bd202d0972207.js +0 -1
  432. package/assets/esri/core/workers/chunks/114ba901fd319ce87dc6.js +0 -1
  433. package/assets/esri/core/workers/chunks/151bac9e519a3b821baf.js +0 -1
  434. package/assets/esri/core/workers/chunks/156f85ac1885464f0072.js +0 -1
  435. package/assets/esri/core/workers/chunks/180eebd8b7badc2840c9.js +0 -1
  436. package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +0 -1
  437. package/assets/esri/core/workers/chunks/19d4ecee1c161ac0f33c.js +0 -1
  438. package/assets/esri/core/workers/chunks/19ece9f5313f53384cac.js +0 -1
  439. package/assets/esri/core/workers/chunks/1d770e8f0fe57d937daa.js +0 -1
  440. package/assets/esri/core/workers/chunks/1dd22b8df6a52277c64b.js +0 -1
  441. package/assets/esri/core/workers/chunks/1ede298ab815e9ad625c.js +0 -1
  442. package/assets/esri/core/workers/chunks/208bc524bd1e0d3aab79.js +0 -1
  443. package/assets/esri/core/workers/chunks/20a4ae83542c7d39cf0f.js +0 -1
  444. package/assets/esri/core/workers/chunks/21071ab3d7b2771406ae.js +0 -1
  445. package/assets/esri/core/workers/chunks/21bfa89363104f041101.js +0 -1
  446. package/assets/esri/core/workers/chunks/21d0a4d6639d32278f11.js +0 -1
  447. package/assets/esri/core/workers/chunks/22a75fdc6ba60213a870.js +0 -1
  448. package/assets/esri/core/workers/chunks/22e004ed97e06536ecef.js +0 -1
  449. package/assets/esri/core/workers/chunks/23942712a3f6290e0fdb.js +0 -1
  450. package/assets/esri/core/workers/chunks/242287de82586d42f0a4.js +0 -1
  451. package/assets/esri/core/workers/chunks/25cb5086eaa412f6820b.js +0 -1
  452. package/assets/esri/core/workers/chunks/26c8ed0aef59ed6d5267.js +0 -1
  453. package/assets/esri/core/workers/chunks/2742d62fceaf0736aef0.js +0 -1
  454. package/assets/esri/core/workers/chunks/276eba546dc8774076ee.js +0 -1
  455. package/assets/esri/core/workers/chunks/28e02b213da9e682d3dc.js +0 -29
  456. package/assets/esri/core/workers/chunks/2d8195231cb16247f198.js +0 -1
  457. package/assets/esri/core/workers/chunks/2db1227ecd421728630d.js +0 -1
  458. package/assets/esri/core/workers/chunks/2ddc9c9ff6ec243d85e2.js +0 -1
  459. package/assets/esri/core/workers/chunks/2e712154ebb895d96ba1.js +0 -1
  460. package/assets/esri/core/workers/chunks/2f2df51d4976ae65edae.js +0 -1
  461. package/assets/esri/core/workers/chunks/32d31fd4cffdf5a80acb.js +0 -1
  462. package/assets/esri/core/workers/chunks/33aaa5a49e396a0aca47.js +0 -1
  463. package/assets/esri/core/workers/chunks/35622088727e120c93b9.js +0 -1
  464. package/assets/esri/core/workers/chunks/3714cc26f446c4d9cc2c.js +0 -1
  465. package/assets/esri/core/workers/chunks/3722d40d161d60370936.js +0 -1
  466. package/assets/esri/core/workers/chunks/3ac4cfeb1af12a9dc27d.js +0 -1
  467. package/assets/esri/core/workers/chunks/3b009c05eaec5a7048a8.js +0 -1
  468. package/assets/esri/core/workers/chunks/3b376318df4ff8519370.js +0 -1
  469. package/assets/esri/core/workers/chunks/3bf37fd3280f4891c76b.js +0 -1
  470. package/assets/esri/core/workers/chunks/3d18a10a1ecfabe92db3.js +0 -1
  471. package/assets/esri/core/workers/chunks/3de20165796fa4f76728.js +0 -1
  472. package/assets/esri/core/workers/chunks/3fbd4c7e25440c4713f2.js +0 -1
  473. package/assets/esri/core/workers/chunks/407dba2be21255eb47fc.js +0 -1
  474. package/assets/esri/core/workers/chunks/44b1a4e8a65221ad3808.js +0 -1
  475. package/assets/esri/core/workers/chunks/48b31b8534e7bfe42976.js +0 -1
  476. package/assets/esri/core/workers/chunks/48f6af09436723f2d861.js +0 -1
  477. package/assets/esri/core/workers/chunks/49e37f653b81f9e4f7cc.js +0 -1
  478. package/assets/esri/core/workers/chunks/4b4221a869b3f0d517fa.js +0 -1
  479. package/assets/esri/core/workers/chunks/4b86bcde5992eb752ab0.js +0 -1
  480. package/assets/esri/core/workers/chunks/4b9095e2bd060efd47c4.js +0 -1
  481. package/assets/esri/core/workers/chunks/5084de4d0d4961b63ab7.js +0 -1
  482. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +0 -1
  483. package/assets/esri/core/workers/chunks/5324e4feb78203204c0c.js +0 -1
  484. package/assets/esri/core/workers/chunks/5536cee0dfc183584a9b.js +0 -1
  485. package/assets/esri/core/workers/chunks/58d10928959ae1e2e8d9.js +0 -1
  486. package/assets/esri/core/workers/chunks/597a8e3d9e458298fdd3.js +0 -1
  487. package/assets/esri/core/workers/chunks/5a006ff759fad9fc25cb.js +0 -1
  488. package/assets/esri/core/workers/chunks/60be6de19c5659091d8f.js +0 -1
  489. package/assets/esri/core/workers/chunks/61a38237e163b39520e5.js +0 -1
  490. package/assets/esri/core/workers/chunks/61fcdba6f2097378dce5.js +0 -1
  491. package/assets/esri/core/workers/chunks/6561c01c67db1f4c546e.js +0 -1
  492. package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +0 -1
  493. package/assets/esri/core/workers/chunks/67452ba9e87962b9e01e.js +0 -1
  494. package/assets/esri/core/workers/chunks/68195277046861ed39a7.js +0 -1
  495. package/assets/esri/core/workers/chunks/68705692335d57522030.js +0 -1
  496. package/assets/esri/core/workers/chunks/6a2a4da3a1cd64ff576f.js +0 -1
  497. package/assets/esri/core/workers/chunks/6af1680771fd8ae8c7dc.js +0 -1
  498. package/assets/esri/core/workers/chunks/6c367de583e0e657ca3a.js +0 -1
  499. package/assets/esri/core/workers/chunks/6d2021a0f0c9a3c6a0e6.js +0 -1
  500. package/assets/esri/core/workers/chunks/6db4a4f9a9ce7cc738d0.js +0 -1
  501. package/assets/esri/core/workers/chunks/6f2a9259240769c7cd6e.js +0 -1
  502. package/assets/esri/core/workers/chunks/724260e36efea90585f4.js +0 -1
  503. package/assets/esri/core/workers/chunks/74ae1222787389d5fcaa.js +0 -1
  504. package/assets/esri/core/workers/chunks/74bfaa98da6c5d375f05.js +0 -1
  505. package/assets/esri/core/workers/chunks/7a68a16f7fea712b9fd6.js +0 -1
  506. package/assets/esri/core/workers/chunks/7b2174b19d06c16715f0.js +0 -1
  507. package/assets/esri/core/workers/chunks/7d8e59ad438fb34b476d.js +0 -1
  508. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
  509. package/assets/esri/core/workers/chunks/80795118467fb31ea4ed.js +0 -1
  510. package/assets/esri/core/workers/chunks/820c530b8765ecb1f36e.js +0 -1
  511. package/assets/esri/core/workers/chunks/830daaca32352da6eebe.js +0 -1
  512. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  513. package/assets/esri/core/workers/chunks/85c538bf1209f0da1f8e.js +0 -1
  514. package/assets/esri/core/workers/chunks/8c2921081ca3e7fd0385.js +0 -1
  515. package/assets/esri/core/workers/chunks/8db3fd97e8eccd3ba1db.js +0 -1
  516. package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +0 -1
  517. package/assets/esri/core/workers/chunks/8e79a84e224d05204e7d.js +0 -1
  518. package/assets/esri/core/workers/chunks/8e9aff66a2d4e2cc102b.js +0 -1
  519. package/assets/esri/core/workers/chunks/917318f8e186f466dc52.js +0 -1
  520. package/assets/esri/core/workers/chunks/9267f6a65c2245696eac.js +0 -1
  521. package/assets/esri/core/workers/chunks/958e161634b5bfd50625.js +0 -1
  522. package/assets/esri/core/workers/chunks/9658b46a7111cda53b0d.js +0 -1
  523. package/assets/esri/core/workers/chunks/974bcaf2a059b8cfb153.js +0 -1
  524. package/assets/esri/core/workers/chunks/99881d0a6c2490a16268.js +0 -1
  525. package/assets/esri/core/workers/chunks/99980c944acb8ff88d6a.js +0 -1
  526. package/assets/esri/core/workers/chunks/9c227785f4454d3966ea.js +0 -1
  527. package/assets/esri/core/workers/chunks/9d61d9136f3d00aab530.js +0 -1
  528. package/assets/esri/core/workers/chunks/9df2685583393a87df2d.js +0 -1
  529. package/assets/esri/core/workers/chunks/9e840a71906c4deef776.js +0 -1
  530. package/assets/esri/core/workers/chunks/9ee6e8a6b9bfda758c21.js +0 -1
  531. package/assets/esri/core/workers/chunks/a03f4605bde69bfb6d41.js +0 -1
  532. package/assets/esri/core/workers/chunks/a327843cee2057ee76c0.js +0 -1
  533. package/assets/esri/core/workers/chunks/a557347fb313df6fcc79.js +0 -1
  534. package/assets/esri/core/workers/chunks/a8da0728a12fc46dca23.js +0 -1
  535. package/assets/esri/core/workers/chunks/a9ea28e0f22cfe3ccf92.js +0 -1
  536. package/assets/esri/core/workers/chunks/aae92f23b38ae22dd8bf.js +0 -1
  537. package/assets/esri/core/workers/chunks/ad3714da9c90d7471385.js +0 -1
  538. package/assets/esri/core/workers/chunks/b047f9e9ba26037657ed.js +0 -1
  539. package/assets/esri/core/workers/chunks/b1323800119bd5c1759b.js +0 -1
  540. package/assets/esri/core/workers/chunks/b18c35f25da18a3219d7.js +0 -1
  541. package/assets/esri/core/workers/chunks/b1f68ee65cce457d7b5b.js +0 -1
  542. package/assets/esri/core/workers/chunks/b2d6fd436981c890152f.js +0 -1
  543. package/assets/esri/core/workers/chunks/b3c518ca8679fbe16ece.js +0 -1
  544. package/assets/esri/core/workers/chunks/b4b4fe06364bea9b0750.js +0 -1
  545. package/assets/esri/core/workers/chunks/b61b7005edd9ced925e9.js +0 -1
  546. package/assets/esri/core/workers/chunks/b661aae7e3ce955a783e.js +0 -1
  547. package/assets/esri/core/workers/chunks/b66ebe53bd879aa9de57.js +0 -1
  548. package/assets/esri/core/workers/chunks/b8ca80134abfcc692244.js +0 -1
  549. package/assets/esri/core/workers/chunks/bbdf10d76d852072c878.js +0 -1
  550. package/assets/esri/core/workers/chunks/bbeb61d9302323bae9fb.js +0 -1
  551. package/assets/esri/core/workers/chunks/bbfd2b4af8e498b61af9.js +0 -1
  552. package/assets/esri/core/workers/chunks/bddd5aa7a14cd45ff91c.js +0 -1
  553. package/assets/esri/core/workers/chunks/be31c2cb97f664a54306.js +0 -1
  554. package/assets/esri/core/workers/chunks/be4319827db91aa71bf5.js +0 -1
  555. package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +0 -1
  556. package/assets/esri/core/workers/chunks/c1568bcd3f04014152e1.js +0 -1
  557. package/assets/esri/core/workers/chunks/c1a7c475ce0c59ffa75a.js +0 -1
  558. package/assets/esri/core/workers/chunks/c229a4eedda468c914a9.js +0 -1
  559. package/assets/esri/core/workers/chunks/c2b2942456f1b10d0e96.js +0 -1
  560. package/assets/esri/core/workers/chunks/c308d8f419ba63c583e6.js +0 -1
  561. package/assets/esri/core/workers/chunks/c5dc2743c7116d0bc0d8.js +0 -1
  562. package/assets/esri/core/workers/chunks/c68cc3b9c170b8de22dc.js +0 -1
  563. package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +0 -1
  564. package/assets/esri/core/workers/chunks/c71368cd64f240da1743.js +0 -1
  565. package/assets/esri/core/workers/chunks/cb2f27e5d465124b9868.js +0 -1
  566. package/assets/esri/core/workers/chunks/cee2f7f3b3f84688e49d.js +0 -1
  567. package/assets/esri/core/workers/chunks/d0942860a53b02371e94.js +0 -1
  568. package/assets/esri/core/workers/chunks/d13eeff678972a245d5d.js +0 -1
  569. package/assets/esri/core/workers/chunks/d3d7b4cd28a0dc2720d4.js +0 -1
  570. package/assets/esri/core/workers/chunks/d3ea7ac6fe71c95faa75.js +0 -1
  571. package/assets/esri/core/workers/chunks/d41e4498aaf4970f48b0.js +0 -1
  572. package/assets/esri/core/workers/chunks/d56603e1d0031f3c5f3b.js +0 -1
  573. package/assets/esri/core/workers/chunks/d7c8725ffb175cec5f8a.js +0 -1
  574. package/assets/esri/core/workers/chunks/d96fa373dcb621c2a869.js +0 -1
  575. package/assets/esri/core/workers/chunks/da233362b06b6db375f1.js +0 -1
  576. package/assets/esri/core/workers/chunks/dbc8f15a6be835f4897d.js +0 -1
  577. package/assets/esri/core/workers/chunks/e00d0036974aaec7d876.js +0 -1
  578. package/assets/esri/core/workers/chunks/e0c75ae3a211a8da10f7.js +0 -1
  579. package/assets/esri/core/workers/chunks/e474106292834633e7d4.js +0 -1
  580. package/assets/esri/core/workers/chunks/e557043f90c051e93925.js +0 -1
  581. package/assets/esri/core/workers/chunks/e5cbed6f19c743915c8e.js +0 -1
  582. package/assets/esri/core/workers/chunks/e5ecd93bd32e99bc99d1.js +0 -1
  583. package/assets/esri/core/workers/chunks/eb8c4f194bb66a27d418.js +0 -1
  584. package/assets/esri/core/workers/chunks/ebd8c77df5df63bd3efe.js +0 -1
  585. package/assets/esri/core/workers/chunks/f14347f5d63f5d102617.js +0 -1
  586. package/assets/esri/core/workers/chunks/f3c0280b6c87f2383a60.js +0 -1
  587. package/assets/esri/core/workers/chunks/f42c4dcb8f413ca1c6fd.js +0 -1
  588. package/assets/esri/core/workers/chunks/f5773321487ec248fa3b.js +0 -1
  589. package/assets/esri/core/workers/chunks/f76911f71540b058a881.js +0 -1
  590. package/assets/esri/core/workers/chunks/f988d5a6dcc15fe34797.js +0 -1
  591. package/assets/esri/core/workers/chunks/fa29b5064d6626cfc019.js +0 -1
  592. package/assets/esri/core/workers/chunks/fa882d0f4a9826533421.js +0 -1
  593. package/assets/esri/core/workers/chunks/fb2d43608006f588e3cb.js +0 -1
  594. package/assets/esri/core/workers/chunks/fbd02e8277fe2252ecd2.js +0 -1
  595. package/assets/esri/core/workers/chunks/fc1aeea22f8c9d63864a.js +0 -1
  596. package/assets/esri/core/workers/chunks/fc3c03cfa3d6bf3b37dc.js +0 -1
  597. package/assets/esri/core/workers/chunks/ff07d351553deb70b889.js +0 -1
  598. package/assets/esri/core/workers/chunks/ffee66699f5d26569baf.js +0 -1
  599. package/chunks/OperatorDefinitions.js +0 -2
  600. package/chunks/areaOperator.js +0 -2
  601. package/chunks/bufferOperator.js +0 -2
  602. package/chunks/centroidOperator.js +0 -2
  603. package/chunks/clipOperator.js +0 -2
  604. package/chunks/containsOperator.js +0 -2
  605. package/chunks/convexHullOperator.js +0 -2
  606. package/chunks/crossesOperator.js +0 -2
  607. package/chunks/cutOperator.js +0 -2
  608. package/chunks/densifyOperator.js +0 -2
  609. package/chunks/differenceOperator.js +0 -2
  610. package/chunks/disjointOperator.js +0 -2
  611. package/chunks/distanceOperator.js +0 -2
  612. package/chunks/equalsOperator.js +0 -2
  613. package/chunks/generalizeOperator.js +0 -2
  614. package/chunks/geodesicBufferOperator.js +0 -2
  615. package/chunks/geodeticAreaOperator.js +0 -2
  616. package/chunks/geodeticDensifyOperator.js +0 -2
  617. package/chunks/geodeticDistanceOperator.js +0 -2
  618. package/chunks/geodeticLengthOperator.js +0 -2
  619. package/chunks/intersectionOperator.js +0 -2
  620. package/chunks/intersectsOperator.js +0 -2
  621. package/chunks/labelPointOperator.js +0 -2
  622. package/chunks/lengthOperator.js +0 -2
  623. package/chunks/multiPartToSinglePartOperator.js +0 -2
  624. package/chunks/offsetOperator.js +0 -2
  625. package/chunks/overlapsOperator.js +0 -2
  626. package/chunks/proximityOperator.js +0 -2
  627. package/chunks/relateOperator.js +0 -2
  628. package/chunks/simplifyOperator.js +0 -2
  629. package/chunks/symmetricDifferenceOperator.js +0 -2
  630. package/chunks/touchesOperator.js +0 -2
  631. package/chunks/unionOperator.js +0 -2
  632. package/chunks/withinOperator.js +0 -2
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8878],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},92400(e,t,r){r.d(t,{CU:()=>s,UQ:()=>o,fF:()=>i,o6:()=>l});var n=r(17676);class i{constructor(){}}function l(e,t,r){if(e instanceof i&&!(e instanceof s)){const n=new s;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,u,a)=>{a=a.map(t=>t instanceof i&&!(t instanceof s)?l(t,e,o):t);const c=this.call(r,{args:a});return(0,n.$X)(c)?c.then(e=>l(e,r,o)):c})}}class s extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>f,Qi:()=>m,eB:()=>h,eg:()=>y,f0:()=>p,ke:()=>u,nE:()=>a,rX:()=>d});var n=r(66131),i=r(44729),l=r(15032),o=r(20437),s=r(34747);function u(e){return o.A.fromJSON(e.toJSON())}function a(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof s.c9}function d(e){return e instanceof n.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof l.k}function m(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function h(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},78878(e,t,r){r.d(t,{$:()=>M,A:()=>Fe,B:()=>K,E:()=>U,F:()=>E,G:()=>L,H:()=>he,I:()=>h,J:()=>J,K:()=>k,L:()=>A,M:()=>fe,N:()=>O,O:()=>X,P:()=>be,Q:()=>w,R:()=>g,S:()=>ke,T:()=>ce,U:()=>ee,V:()=>H,W:()=>Ce,X:()=>Ze,Y:()=>Ae,Z:()=>Me,_:()=>De,a:()=>Ne,a0:()=>Z,a1:()=>F,a3:()=>oe,a4:()=>Oe,a5:()=>Se,a6:()=>ye,a7:()=>de,a8:()=>pe,a9:()=>we,b:()=>x,c:()=>ie,d:()=>D,e:()=>ve,f:()=>_,g:()=>$,h:()=>G,i:()=>N,j:()=>R,k:()=>j,l:()=>I,m:()=>P,n:()=>V,o:()=>Y,p:()=>v,q:()=>z,r:()=>q,t:()=>se,u:()=>C,v:()=>ae,w:()=>le,y:()=>re,z:()=>ne});var n=r(66131),i=r(99719),l=r(85935),o=r(92400),s=r(93818),u=r(33325),a=r(14607),c=r(44729),f=r(15032),d=r(73444),p=r(54218),y=r(34747),m=r(94128);class g{constructor(e){this.value=e}}class h{constructor(e){this.value=e}}const b={type:"VOID"},T=Symbol("BREAK"),S=Symbol("CONTINUE");function F(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function N(e){return e instanceof o.fF}function v(e){return e instanceof i.x}function x(e){return!!((0,p.Kg)(e)||(0,p.Et)(e)||_(e)||z(e)||q(e)||(0,p.Lm)(e)||null===e||e===b)}function O(e,t){return void 0===e?t:e}function w(e){if(null==e)return"";if((0,p.cy)(e))return"Array";if($(e))return"Array";if(_(e))return"Date";if(q(e))return"Time";if(z(e))return"DateOnly";if((0,p.Kg)(e))return"String";if((0,p.Lm)(e))return"Boolean";if((0,p.Et)(e))return"Number";if(P(e))return"Attachment";if(V(e))return"Portal";if(I(e))return"Dictionary";if(Y(e))return"KnowledgeGraph";if(v(e))return"Module";if(G(e))return"Feature";if(D(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return N(e)?"Function":j(e)?"FeatureSet":R(e)?"FeatureSetCollection":L(e)?"Voxel":E(e)?"Pixel":e===b?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function C(e){return e===b}function D(e){return"esri.arcade.Geometry"===e?.arcadeDeclaredClass}function A(e){return D(e)&&"point"===e.type}function Z(e){return D(e)&&"multipoint"===e.type}function k(e){return D(e)&&"polyline"===e.type}function M(e){return D(e)&&"polygon"===e.type}function J(e){return D(e)&&"extent"===e.type}function G(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function L(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function E(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function I(e){return"esri.arcade.Dictionary"===e?.declaredClass}function V(e){return"esri.arcade.Portal"===e?.declaredClass}function P(e){return"esri.arcade.Attachment"===e?.declaredClass}function K(e){return I(e)||G(e)||L(e)||E(e)}function R(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function Y(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function $(e){return e instanceof s.A}function _(e){return e instanceof n.lY}function z(e){return e instanceof c.n}function q(e){return e instanceof f.k}function B(e){return null!=e&&"object"==typeof e}function U(e,t,r,n){if(e.length<t||e.length>r)throw new l.D$("WrongNumberOfParameters",n)}function X(e){return null==e||C(e)||""===e}function H(e){return e<0?-Math.round(-e):Math.round(e)}function Q(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.GP)(e,{pattern:t}))}function W(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ee(t),{locale:(0,d.JK)(),numberingSystem:"latn"})}function ee(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function te(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function re(e,t,r){if(null===e){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}if(e===b){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Et)(e)){if((0,p.Et)(t))return te(e,t,r);if((0,p.Lm)(t))return te(e,ae(t),r);if(null===t||t===b)return te(e,0,r);if((0,p.Kg)(t))return te(e,ae(t),r);if(_(t))return te(e,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Kg)(e)){if((0,p.Kg)(t))return te(le(e),le(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if((0,p.Et)(t))return te(ae(e),t,r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Lm)(t))return te(ae(e),ae(t),r)}else if(_(e)){if(_(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if((0,p.Lm)(e)){if((0,p.Lm)(t))return te(e,t,r);if((0,p.Et)(t))return te(ae(e),ae(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Kg)(t))return te(ae(e),ae(t),r)}else if(z(e)){if(_(t))return te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if(q(e)){if(_(t))throw new l.D$("CannotCompareDateAndTime",null);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))return te(e.toNumber(),t.toNumber(),r);if(z(t))throw new l.D$("CannotCompareDateAndTime",null)}return!!ne(e,t)&&("<="===r||">="===r)}function ne(e,t){if(e===t)return!0;if(null===e&&t===b||null===t&&e===b)return!0;if(_(e)&&_(t))return e.equals(t);if(q(e)&&q(t))return e.equals(t);if(z(e)&&z(t))return e.equals(t);if($(e))return e.equalityTest(t);if(A(e)&&A(t)){const r=e.id,n=t.id;if(null!=r)return r===n}return!(!B(e)||!B(t)||e._underlyingGraphic!==t._underlyingGraphic||void 0===e._underlyingGraphic||null===e._underlyingGraphic)}function ie(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,p.Lm)(i)||(0,p.Et)(i)||(0,p.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):D(i)?r+=JSON.stringify(n)+":"+se(i):q(i)||z(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:$(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+se(i,null,t):_(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e))return se(e);if((0,p.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=ue(e[r]);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=ue(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():N(e)?"object, Function":e===b?"":v(e)?"object, Module":""}function oe(e){const t=[];if($(e)){for(let r=0;r<e.length();r++)t[r]=ae(e.get(r));return t}if(!(0,p.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=ae(e[r]);return t}function se(e,t,r=!1){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e)){if("extent"===e.type){const{xmin:t,xmax:r,ymin:n,ymax:i,zmin:l,zmax:o,mmin:s,mmax:u}=e.asJsonLikeGeometry();return'{"xmin":'+t+',"ymin":'+n+","+(e.hasZ?'"zmin":'+l+",":"")+(e.hasM?'"mmin":'+s+",":"")+'"xmax":'+r+',"ymax":'+i+","+(e.hasZ?'"zmax":'+o+",":"")+(e.hasM?'"mmax":'+u+",":"")+'"spatialReference":'+ge(e.spatialReference)+"}"}return ge(e.castAsJson(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0)}if((0,p.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=ue(e[n],r);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=ue(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):N(e)?"object, Function":C(e)?"":v(e)?"object, Module":""}function ue(e,t=!1){if(null===e)return"null";if((0,p.Lm)(e)||(0,p.Kg)(e))return JSON.stringify(e);if((0,p.Et)(e))return e.toString();if(D(e))return se(e,null,t);if($(e))return se(e,null,t);if((0,p.cy)(e))return se(e,null,t);if(_(e))return t?JSON.stringify(e.getTime()):JSON.stringify(W(e,""));if(q(e))return JSON.stringify(e.toString());if(z(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===b)return"null";return"null"}function ae(e,t){return(0,p.Et)(e)?e:null===e||""===e?0:_(e)||z(e)||q(e)?NaN:(0,p.Lm)(e)?e?1:0:(0,p.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,p.Kg)(e)?(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.qg)(e,{pattern:t})):e===b?0:Number(e)}function ce(e,t){if(_(e))return e;if((0,p.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let l=y.c9.fromISO(e,{zone:i});return l.isValid||r.test(e)&&(e=e.replace(r,"T$1"),l=y.c9.fromISO(e,{zone:t}),l.isValid)?l:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function fe(e){return(0,p.Lm)(e)?e:(0,p.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,p.Et)(e)&&0!==e&&!isNaN(e)}function de(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(_(t))r=t.toNumber();else if(z(t))r=t.toString();else if(q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=ae(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function pe(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function ye(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,s=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new l.D$("FieldNotFound",null,{key:e});let u=t.typeIdField,a="id",c=t.types;if(t.subtypeField&&(u=t.subtypeField,a="code",c=t.subtypes??[]),null===n&&r&&u)n=r.hasField(u)?r.field(u):null;else if(u&&null!==n){let e=!1;for(const t of c||[])if(n===t[a]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[a],e=!0;break}e||(n=null,r&&u&&(n=r.hasField(u)?r.field(u):null))}return null!=n&&c.some(e=>e[a]===n&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=me(s.name,t),o=!0),!0)),o||i||(i=me(e,t)),{field:s,domain:i}}function me(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ge(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function he(e){const t=[];for(const r of e)G(r)?t.push(r.geometry()):t.push(r);return t}function be(e,t=!0){if(null==e)return[];if((0,p.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if($(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(x(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let Te=0;function Se(){return Te++,Te%100==0?(Te=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Fe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Ne(e){return null==e?null:(0,p.Lm)(e)||(0,p.Et)(e)||(0,p.Kg)(e)?e:D(e)?e.castAsJson():$(e)?e.toArray().map(e=>Ne(e)):Array.isArray(e)?e.map(e=>Ne(e)):(0,p.$P)(e)?e:_(e)?e.toJSDate():q(e)?e.toString():z(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ve(e,t=null){if($(e)&&(e=e.toArray()),null==e)return null;if(x(e)||D(e)||(0,p.$P)(e)||_(e))return Ne(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||x(i)||D(i)||(0,p.$P)(i)||_(i))n.push(Ne(i));else{const e=n.push(null)-1;r.push(ve(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function xe(e){return Oe(e)?e.parent:e}function Oe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function we(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ce(e,t,r){const n=xe(e.fullSchema());return null===n?null:n.fields?ye(t,n,e,r):null}function De(e){const t=xe(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ae(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const l=ye(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return de(l,r)}function Ze(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return pe(ye(t,i,e,n),r)}function ke(e){return e?.timeZone??"system"}function Me(e){const t=xe(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Je=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:h,ReturnResult:g,absRound:H,arcadeVersion:"1.36",autoCastFeatureToGeometry:he,binaryOperator:Fe,breakResult:T,castAsJson:Ne,castAsJsonAsync:ve,castRecordToText:ie,continueResult:S,defaultTimeZone:ke,defaultUndefined:O,equalityTest:ne,featureDomainCodeLookup:Ze,featureDomainValueLookup:Ae,featureFullDomain:Ce,featureSchema:Me,featureSubtypes:De,getDomain:ye,getDomainCode:pe,getDomainValue:de,getType:w,greaterThanLessThan:re,isArray:p.cy,isAttachment:P,isBoolean:p.Lm,isDate:_,isDateOnly:z,isDictionary:I,isDictionaryLike:K,isEmpty:X,isExtent:J,isFeature:G,isFeatureSet:j,isFeatureSetCollection:R,isFunctionParameter:N,isGeometry:D,isGraphic:m.D,isImmutableArray:$,isInteger:p.Fq,isJsDate:p.$P,isKnowledgeGraph:Y,isModule:v,isMultipoint:Z,isNumber:p.Et,isPixel:E,isPoint:A,isPolygon:M,isPolyline:k,isPortal:V,isSimpleType:x,isString:p.Kg,isSubtypeGrouplayer:we,isSubtypeSublayer:Oe,isTime:q,isVoid:C,isVoxel:L,multiReplace:F,pcCheck:U,standardiseDateFormat:ee,tick:Se,toBoolean:fe,toDate:ce,toNumber:ae,toNumberArray:oe,toString:le,toStringArray:be,toStringExplicit:se,voidOperation:b},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,T,"D",0,S,"s",0,Je,"x",0,b])},14607(e,t,r){r.d(t,{B:()=>a,GP:()=>s,qg:()=>c});var n=r(799),i=r(73444);const l={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in l;if(!t){const r=e.split("-");r.length>1&&r[0]in l&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=l[e];return{decimal:r,group:n,pattern:o}}function s(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,l=t.split(";"),o=l[0];if((t=l[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const s=u,a=o.match(s);if(!a)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(s,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let l=r.places;i?l=r.places.slice(i+1):+l>=0||(l=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(l))));const o=String(Math.abs(e)).split("."),s=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>s.length&&(o[1]=s.padEnd(Number(e),"0")),+l<s.length&&(o[1]=s.slice(0,Math.max(0,Number(l))))}else o[1]&&o.pop();const u=n[0].replace(",","");let a=u.indexOf("0");-1!==a&&(a=u.length-a,a>o[0].length&&(o[0]=o[0].padStart(a,"0")),u.includes("#")||(o[0]=o[0].slice(-a)));let c,f,d=n[0].lastIndexOf(",");if(-1!==d){c=n[0].length-d-1;const e=n[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(r.group||","),o.join(r.decimal||".")}(e,a[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const u=/[#0,]*[#0](?:\.0*#*)?/;function a(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,l=t.decimal;let s=1;if(r.includes("%"))s/=100;else if(r.includes("‰"))s/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const a=r.split(";");1===a.length&&a.push("-"+a[0]);const c=d(a,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(u,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:l,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==s&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const u=n[0].split(",");return u.length>1&&(r.groupSize=u.pop().length,u.length>1&&(r.groupSize2=u.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),r=d(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:l,factor:s}}function c(e,t){const r=a(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const d=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return p(n.join("|"),Boolean(r))},p=(e,t)=>"("+(t?"?:":"")+e+")"},73444(e,t,r){r.d(t,{JK:()=>u,Ml:()=>g,QC:()=>f,lR:()=>c,oQ:()=>y});var n=r(36563);let i;r(44208);const l=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function u(){return void 0===i&&(i=s()),i}const a=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=u()){return d(e)?.language}function f(e=u()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=u()){return a.exec(e)?.groups}const p=[];function y(e){return p.push(e),(0,n.hA)(()=>{p.splice(p.indexOf(e),1)})}new Map;const m=[];function g(e){return m.push(e),(0,n.hA)(()=>m.splice(m.indexOf(e),1))}function h(){const e=s();i!==e&&([...m].forEach(t=>t(e)),i=e,[...p].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",h),o&&new MutationObserver(()=>{h()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>s});var n,i=r(32198),l=r(25482),o=r(91429);let s=n=class extends l.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],s.prototype,"code",void 0),s=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],s)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(32198),l=r(4718),o=r(91429),s=r(39357),u=r(76357),a=r(93223);let c=class extends u.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,l.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[s.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>a});var n=r(32198),i=r(66552),l=r(25482),o=r(91429),s=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let a=class extends l.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"name",void 0),(0,n.Cg)([(0,s.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],a)},20437(e,t,r){r.d(t,{A:()=>y});var n,i=r(32198),l=r(66552),o=r(25482),s=r(91429),u=r(56507),a=r(8631),c=r(98453),f=r(36005),d=r(93223);const p=new l.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let y=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,s.MZ)({types:a.g,json:{read:{reader:a.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,s.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.Field")],y)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(32198),l=r(91429),o=r(76357),s=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,s.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>d,g:()=>f});var n,i=r(53177),l=r(76357),o=r(32198),s=r(91429),u=r(93223);let a=class extends l.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],a.prototype,"type",void 0),a=n=(0,o.Cg)([(0,s.$K)("esri.layers.support.InheritedDomain")],a);var c=r(41628);const f={key:"type",base:l.A,typeMap:{range:c.A,"coded-value":i.A,inherited:a}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return a.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9829],{39829(n,t,e){e.d(t,{A:()=>M});var r,i=e(32198),s=e(4576),o=e(51447),u=e(4718),a=e(53966),l=e(91429),h=e(5443),c=e(91075),f=e(86738),m=e(16930),g=e(12359),x=e(94078),p=e(95108),y=e(90634),I=e(47610),v=e(28735),d=e(56993),N=e(43937);function P(n){return!Array.isArray(n[0])}let M=r=class extends c.A{static fromExtent(n){const t=n.clone().normalize(),{spatialReference:e}=n;let i=!1,s=!1;for(const n of t)n.hasZ&&(i=!0),n.hasM&&(s=!0);const o={rings:t.map(n=>{const t=[[n.xmin,n.ymin],[n.xmin,n.ymax],[n.xmax,n.ymax],[n.xmax,n.ymin],[n.xmin,n.ymin]];if(i&&n.hasZ){const e=n.zmin+.5*(n.zmax-n.zmin);for(let n=0;n<t.length;n++)t[n].push(e)}if(s&&n.hasM){const e=n.mmin+.5*(n.mmax-n.mmin);for(let n=0;n<t.length;n++)t[n].push(e)}return t}),spatialReference:e};return i&&(o.hasZ=!0),s&&(o.hasM=!0),new r(o)}constructor(n){super(function(n){if(!n)return;let{rings:t,hasM:e,hasZ:r,spatialReference:i}=n;switch(t??=[],function(n){return"number"==typeof n[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,e??=!0;break;case 3:r??=!0!==e,e??=!r;break;default:r??=!1,e??=!1}return i??=m.A.WGS84,{...n,hasM:e,hasZ:r,rings:t,spatialReference:i}}(n)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,o.Lx)(a.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const n=(0,g.Ve)(this);return n?f.A.fromJSON(n):null}writeCurveRings(n,t){t.curveRings=(0,u.o8)(n)}get extent(){const n=(0,y.v)(this),{spatialReference:t}=this;return n?new h.A({...n,spatialReference:t}):null}writeRings(n,t){t.rings=(0,u.o8)(this.rings)}addRing(n){if(!n)return;const t=this.rings,e=t.length;if(P(n)){const r=[];for(let t=0,e=n.length;t<e;t++)r[t]=n[t].toArray();t[e]=r}else t[e]=n.slice();return this.notifyChange("rings"),this}clone(){const n=new r;return n.spatialReference=this.spatialReference,n.rings=(0,u.o8)(this.rings),n.curveRings=(0,u.o8)(this.curveRings),n.hasZ=this.hasZ,n.hasM=this.hasM,n}equals(n){if(this===n)return!0;if(null==n)return!1;const t=this.spatialReference,e=n.spatialReference;if(null!=t!=(null!=e))return!1;if(null!=t&&null!=e&&!t.equals(e))return!1;if(this.rings.length!==n.rings.length)return!1;for(let t=0;t<this.rings.length;t++){const e=this.rings[t],r=n.rings[t];if(!(0,s.aI)(e,r,I.v6))return!1}return!0}contains(n){if(!n)return!1;const t=(0,v.Cv)(n,this.spatialReference);return(0,x.m3)(this,null!=t?t:n)}isClockwise(n){const t=P(n)?n.map(n=>this.hasZ?this.hasM?[n.x,n.y,n.z,n.m]:[n.x,n.y,n.z]:[n.x,n.y]):n;return(0,p.$3)(t)}getPoint(n,t){if(!this._validateInputs(n,t))return null;const e=this.rings[n][t],r=this.hasZ,i=this.hasM;return r&&!i?new f.A(e[0],e[1],e[2],void 0,this.spatialReference):i&&!r?new f.A(e[0],e[1],void 0,e[2],this.spatialReference):r&&i?new f.A(e[0],e[1],e[2],e[3],this.spatialReference):new f.A(e[0],e[1],this.spatialReference)}insertPoint(n,t,e){return this._validateInputs(n,t,!0)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.rings[n].splice(t,0,e),this.notifyChange("rings"),this):this}removePoint(n,t){if(!this._validateInputs(n,t))return null;const e=new f.A(this.rings[n].splice(t,1)[0],this.spatialReference);return this.notifyChange("rings"),e}removeRing(n){if(!this._validateInputs(n,null))return null;const t=this.rings.splice(n,1)[0],e=this.spatialReference,r=t.map(n=>new f.A(n,e));return this.notifyChange("rings"),r}setPoint(n,t,e){return this._validateInputs(n,t)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.rings[n][t]=e,this.notifyChange("rings"),this):this}_validateInputs(n,t,e=!1){if(null==n||n<0||n>=this.rings.length)return!1;if(null!=t){const r=this.rings[n];if(e&&(t<0||t>r.length))return!1;if(!e&&(t<0||t>=r.length))return!1}return!0}toJSON(n){return this.write({},n)}};(0,i.Cg)([(0,l.MZ)({readOnly:!0})],M.prototype,"cache",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],M.prototype,"centroid",null),(0,i.Cg)([(0,l.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],M.prototype,"curveRings",void 0),(0,i.Cg)([(0,N.K)("curveRings")],M.prototype,"writeCurveRings",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],M.prototype,"extent",null),(0,i.Cg)([(0,l.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],M.prototype,"rings",void 0),(0,i.Cg)([(0,N.K)("rings")],M.prototype,"writeRings",null),M=r=(0,i.Cg)([(0,l.$K)("esri.geometry.Polygon")],M),M.prototype.toJSON.isDefaultToJSON=!0},51118(n,t,e){function r(n){const t=[];for(n.reset();n.nextPath();){const e=[];for(;n.nextPoint();){const t=[n.x,n.y];n.hasZ&&t.push(n.z),n.hasM&&t.push(n.m),e.push(t)}t.push(e)}return n.reset(),t}function i(n){const t=[];for(;n.nextPoint();)t.push([n.x,n.y]);return n.seekPathStart(),t}e.d(t,{A:()=>i,x:()=>r})},537(n,t,e){e.d(t,{B$:()=>p,LJ:()=>y,Pj:()=>d,Rg:()=>g,Yz:()=>I,z8:()=>x});var r=e(19419),i=e(79567),s=e(52006);function o(n){return void 0!==n.xmin&&void 0!==n.ymin&&void 0!==n.xmax&&void 0!==n.ymax}function u(n){return void 0!==n.points}function a(n){return void 0!==n.x&&void 0!==n.y}function l(n){return void 0!==n.paths}function h(n){return void 0!==n.rings}function c(n){return function(t,e){return null==t?e:null==e?t:n(t,e)}}const f=c(Math.min),m=c(Math.max);function g(n,t){return l(t)?I(n,t.curvePaths??t.paths,!1,!1)??n:h(t)?I(n,t.curveRings??t.rings,!1,!1)??n:u(t)?d(n,t.points,!1,!1,!1,!1):o(t)?v(n,t):(a(t)&&(n[0]=t.x,n[1]=t.y,n[2]=t.x,n[3]=t.y),n)}function x(n){let t,e,i,s;for(n.reset(),t=i=1/0,e=s=-1/0;n.nextPath();){const r=p(n);t=Math.min(r[0],t),i=Math.min(r[1],i),e=Math.max(r[2],e),s=Math.max(r[3],s)}return(0,r.vt)([t,i,e,s])}function p(n){let t,e,i,s;for(t=i=1/0,e=s=-1/0;n.nextPoint();)t=Math.min(n.x,t),i=Math.min(n.y,i),e=Math.max(n.x,e),s=Math.max(n.y,s);return(0,r.vt)([t,i,e,s])}function y(n,t){return l(t)?I(n,t.curvePaths??t.paths,!0,!1)??n:h(t)?I(n,t.curveRings??t.rings,!0,!1)??n:u(t)?d(n,t.points,!0,!1,!0,!1):o(t)?v(n,t,0,0,!0,!1):(a(t)&&(n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.x,n[4]=t.y,n[5]=t.z),n)}function I(n,t,e,o){const u=e?3:2;if(!t.length||!t[0].length)return null;let a,l,h,c,[g,x]=(0,s.yP)(t[0][0]),p=g,y=x;for(let n=0;n<t.length;n++){const I=t[n];for(let n=0;n<I.length;n++){const t=(0,s.yP)(I[n]),[v,d]=t;if(g=f(g,v),x=f(x,d),p=m(p,v),y=m(y,d),e&&t.length>2){const n=t[2];a=f(a,n),l=m(l,n)}if(o&&t.length>u){const n=t[u];h=f(h,n),c=m(c,n)}const N=I[n];if((0,s.Xq)(N)||n<1)continue;const P=(0,s.yP)(I[n-1]),M=(0,r.fA)(g,x,p,y);[g,x,p,y]=(0,i.e)(M,P,N)}}return e?o?(n[0]=g,n[1]=x,n[2]=a,n[3]=h,n[4]=p,n[5]=y,n[6]=l,n[7]=c,n.length=8,n):(n[0]=g,n[1]=x,n[2]=a,n[3]=p,n[4]=y,n[5]=l,n.length=6,n):o?(n[0]=g,n[1]=x,n[2]=h,n[3]=p,n[4]=y,n[5]=c,n.length=6,n):(n[0]=g,n[1]=x,n[2]=p,n[3]=y,n.length=4,n)}function v(n,t,e,r,i,s){const o=t.xmin,u=t.xmax,a=t.ymin,l=t.ymax;let h=t.zmin,c=t.zmax,f=t.mmin,m=t.mmax;return i?(h=h||0,c=c||0,s?(f=f||0,m=m||0,n[0]=o,n[1]=a,n[2]=h,n[3]=f,n[4]=u,n[5]=l,n[6]=c,n[7]=m,n):(n[0]=o,n[1]=a,n[2]=h,n[3]=u,n[4]=l,n[5]=c,n)):s?(f=f||0,m=m||0,n[0]=o,n[1]=a,n[2]=f,n[3]=u,n[4]=l,n[5]=m,n):(n[0]=o,n[1]=a,n[2]=u,n[3]=l,n)}function d(n,t,e,r,i,s){const o=e?3:2,u=r&&s,a=e&&i;if(!t.length||!t[0].length)return null;let l,h,c,g,[x,p]=t[0],[y,I]=t[0];for(let n=0;n<t.length;n++){const e=t[n],[r,i]=e;if(x=f(x,r),p=f(p,i),y=m(y,r),I=m(I,i),a&&e.length>2){const n=e[2];l=f(l,n),h=m(h,n)}if(u&&e.length>o){const n=e[o];c=f(l,n),g=m(h,n)}}return i?(l=l||0,h=h||0,s?(c=c||0,g=g||0,n[0]=x,n[1]=p,n[2]=l,n[3]=c,n[4]=y,n[5]=I,n[6]=h,n[7]=g,n):(n[0]=x,n[1]=p,n[2]=l,n[3]=y,n[4]=I,n[5]=h,n)):s?(c=c||0,g=g||0,n[0]=x,n[1]=p,n[2]=c,n[3]=y,n[4]=I,n[5]=g,n):(n[0]=x,n[1]=p,n[2]=y,n[3]=I,n)}},12359(n,t,e){e.d(t,{IK:()=>h,TP:()=>c,Ve:()=>u,Z4:()=>s,l8:()=>o,w2:()=>l});var r=e(51118),i=e(95108);function s({xmin:n,xmax:t,ymin:e,ymax:r,zmin:i,zmax:s,hasZ:o}){const u=[(n+t)/2,(e+r)/2];return o&&u.push((i+s)/2),u}function o(n){return function(n,t){if(!n?.length)return null;const e=[],r=[],s=t?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let e=0,i=n.length;e<i;e++){const i=a(n[e],t,s);i&&r.push(i)}if(r.sort((n,e)=>{let r=n[2]-e[2];return 0===r&&t&&(r=n[4]-e[4]),r}),r.length&&(e[0]=r[0][0],e[1]=r[0][1],t&&(e[2]=r[0][3]),(e[0]<s[0]||e[0]>s[1]||e[1]<s[2]||e[1]>s[3]||t&&(e[2]<s[4]||e[2]>s[5]))&&(e.length=0)),!e.length){const r=n[0]&&n[0].length?function(n,t){const e=t?[0,0,0]:[0,0],r=t?[0,0,0]:[0,0];let s=0,o=0,u=0,a=0;for(let l=0,h=n.length;l<h-1;l++){const h=n[l],c=n[l+1];if(h&&c){e[0]=h[0],e[1]=h[1],r[0]=c[0],r[1]=c[1],t&&h.length>2&&c.length>2&&(e[2]=h[2],r[2]=c[2]);const n=(0,i.R3)(e,r);if(n){s+=n;const e=(0,i.t9)(h,c);o+=n*e[0],u+=n*e[1],t&&e.length>2&&(a+=n*e[2])}}}return s>0?t?[o/s,u/s,a/s]:[o/s,u/s]:n.length?n[0]:null}(n[0],t):null;if(!r)return null;e[0]=r[0],e[1]=r[1],t&&r.length>2&&(e[2]=r[2])}return e}(n.rings,n.hasZ??!1)}function u(n){const t=o(n);if(!t)return null;const{hasZ:e,spatialReference:r}=n,[i,s,u]=t;return isNaN(i)||isNaN(s)||e&&isNaN(u)?null:{x:i,y:s,z:e?u:void 0,spatialReference:r}}function a(n,t,e){let r=0,i=0,s=0,o=0,u=0;const a=n.length?n[0][0]:0,l=n.length?n[0][1]:0,h=n.length&&t?n[0][2]:0;for(let c=0;c<n.length;c++){const f=n[c],m=n[(c+1)%n.length],[g,x,p]=f,y=g-a,I=x-l,[v,d,N]=m,P=v-a,M=d-l,R=y*M-P*I;if(o+=R,r+=(y+P)*R,i+=(I+M)*R,t&&f.length>2&&m.length>2){const n=p-h,t=N-h,e=y*t-P*n;s+=(n+t)*e,u+=e}g<e[0]&&(e[0]=g),g>e[1]&&(e[1]=g),x<e[2]&&(e[2]=x),x>e[3]&&(e[3]=x),t&&(p<e[4]&&(e[4]=p),p>e[5]&&(e[5]=p))}if(o>0&&(o*=-1),u>0&&(u*=-1),!o)return null;o*=.5,u*=.5;const c=[r/(6*o)+a,i/(6*o)+l,o];return t&&(e[4]===e[5]||0===u?(c[3]=(e[4]+e[5])/2,c[4]=0):(c[3]=s/(6*u)+h,c[4]=u)),c}function l(n,t){let e=0,r=0,i=0;n.nextPoint();const s=n.pathSize?n.x:0,o=n.pathSize?n.y:0;for(let u=0;u<n.pathSize;u++){n.seekInPath(u);const a=[n.x,n.y];n.seekInPath((u+1)%n.pathSize);const l=[n.x,n.y],[h,c]=a,f=h-s,m=c-o,[g,x]=l,p=g-s,y=x-o,I=f*y-p*m;i+=I,e+=(f+p)*I,r+=(m+y)*I,h<t[0]&&(t[0]=h),h>t[1]&&(t[1]=h),c<t[2]&&(t[2]=c),c>t[3]&&(t[3]=c)}return i>0&&(i*=-1),i?(i*=.5,[e/(6*i)+s,r/(6*i)+o,i]):null}function h(n){const{hasZ:t,totalSize:e}=n;if(0===e)return null;const s=[],o=[],u=t?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY];for(n.reset();n.nextPath();){const t=a((0,r.A)(n),n.hasZ,u);t&&o.push(t)}if(o.sort((n,e)=>{let r=n[2]-e[2];return 0===r&&t&&(r=n[4]-e[4]),r}),o.length&&(s[0]=o[0][0],s[1]=o[0][1],t&&(s[2]=o[0][3]),(s[0]<u[0]||s[0]>u[1]||s[1]<u[2]||s[1]>u[3]||t&&(s[2]<u[4]||s[2]>u[5]))&&(s.length=0)),!s.length){n.reset(),n.nextPath();const e=n.pathSize?function(n){const{hasZ:t}=n,e=t?[0,0,0]:[0,0],r=t?[0,0,0]:[0,0];let s=0,o=0,u=0,a=0;if(n.nextPoint()){let l=n.x,h=n.y,c=n.z;for(;n.nextPoint();){const f=n.x,m=n.y,g=n.z;e[0]=l,e[1]=h,r[0]=f,r[1]=m,t&&(e[2]=c,r[2]=g);const x=(0,i.R3)(e,r);if(x){s+=x;const n=(0,i.t9)(e,r);o+=x*n[0],u+=x*n[1],t&&n.length>2&&(a+=x*n[2])}l=f,h=m,c=g}}return s>0?t?[o/s,u/s,a/s]:[o/s,u/s]:n.pathSize?(n.seekPathStart(),n.nextPoint(),[n.x,n.y]):null}(n):null;if(!e)return null;s[0]=e[0],s[1]=e[1],t&&e.length>2&&(s[2]=e[2])}return s}function c(n){let t=0;for(n.reset();n.nextPath();)t+=n.getCurrentRingArea();if(t<1e-6){const t=h(n);return t?[t[0],t[1]]:null}const e=[0,0];if(n.reset(),!n.nextPath()||!n.nextPoint())return null;const r=[n.x,n.y];for(n.reset();n.nextPath();)m(e,r,n);return e[0]*=1/t,e[1]*=1/t,e[0]+=r[0],e[1]+=r[1],e}const f=1/3;function m(n,t,e){if(!n||!e||e.pathSize<3)return null;e.nextPoint();const r=e.x,i=e.y;e.nextPoint();let s,o=e.x-r,u=e.y-i,a=0,l=0;for(;e.nextPoint();)a=e.x-r,l=e.y-i,s=.5*f*(a*u-l*o),n[0]+=s*(o+a),n[1]+=s*(u+l),o=a,u=l;const h=e.getCurrentRingArea(),c=[r,i];return c[0]-=t[0],c[1]-=t[1],c[0]*=h,c[1]*=h,n[0]+=c[0],n[1]+=c[1],n}},95108(n,t,e){e.d(t,{$3:()=>h,Ng:()=>u,R3:()=>i,Xf:()=>o,Yl:()=>l,gR:()=>s,m3:()=>f,t9:()=>a});var r=e(4576);function i(n,t){const e=t[0]-n[0],r=t[1]-n[1];if(n.length>2&&t.length>2){const i=n[2]-t[2];return Math.sqrt(e*e+r*r+i*i)}return Math.sqrt(e*e+r*r)}function s(n,t,e,r){const[i,s]=t,[o,u]=e,[a,l]=r,h=a-o,c=l-u,f=h*h+c*c,m=(i-o)*h+(s-u)*c,g=Math.min(1,Math.max(0,m/f));return n[0]=o+h*g,n[1]=u+c*g,n}function o(n,t,e){let r,i,s,o,a=!1,l=1/0;for(e.reset();e.nextPath();)if(e.nextPoint())for(r=e.x,i=e.y;e.nextPoint();)s=e.x,o=e.y,i>t!=o>t&&n<(s-r)*(t-i)/(o-i)+r&&(a=!a),l=Math.min(l,u(n,t,r,i,s,o)),r=s,i=o;return 0===l?0:(a?1:-1)*Math.sqrt(l)}function u(n,t,e,r,i,s){let o=e,u=r,a=i-o,l=s-u;if(0!==a||0!==l){const e=((n-o)*a+(t-u)*l)/(a*a+l*l);e>1?(o=i,u=s):e>0&&(o+=a*e,u+=l*e)}return a=n-o,l=t-u,a*a+l*l}function a(n,t){return function(n,t,e){const r=n[0]+e*(t[0]-n[0]),i=n[1]+e*(t[1]-n[1]);return n.length>2&&t.length>2?[r,i,n[2]+e*(t[2]-n[2])]:[r,i]}(n,t,.5)}function l(n){const t=n.length;let e=0;for(let r=0;r<t-1;++r)e+=i(n[r],n[r+1]);return e}function h(n,t=0,e=1){let r=0;const i=n.length;let s=n[0];for(let o=1;o<i;o++){const i=n[o];r+=(i[t]-s[t])*(i[e]+s[e]),s=i}if(c(n)){const i=n[0];r+=(i[t]-s[t])*(i[e]+s[e])}return r>=0}function c(n){const t=n.length;return t>0&&!(0,r.aI)(n[0],n[t-1])}function f(n){if("rings"in n)for(const t of n.rings)c(t)&&t.push(t[0].slice())}e(52006)},90634(n,t,e){e.d(t,{HA:()=>h,JM:()=>c,Z3:()=>g,ge:()=>f,v:()=>m});var r=e(537);const i=[];function s(n,t,e,r){return{xmin:n,ymin:t,xmax:e,ymax:r}}function o(n,t,e,r,i,s){return{xmin:n,ymin:t,zmin:e,xmax:r,ymax:i,zmax:s}}function u(n,t,e,r,i,s){return{xmin:n,ymin:t,mmin:e,xmax:r,ymax:i,mmax:s}}function a(n,t,e,r,i,s,o,u){return{xmin:n,ymin:t,zmin:e,mmin:r,xmax:i,ymax:s,zmax:o,mmax:u}}function l(n,t=!1,e=!1){return t?e?a(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]):o(n[0],n[1],n[2],n[3],n[4],n[5]):e?u(n[0],n[1],n[2],n[3],n[4],n[5]):s(n[0],n[1],n[2],n[3])}function h(n){return n?function(n){return void 0!==n.xmin&&void 0!==n.ymin&&void 0!==n.xmax&&void 0!==n.ymax}(n)?n:function(n){return void 0!==n.x&&void 0!==n.y}(n)?function(n){const{x:t,y:e,z:r,m:i}=n,l=null!=i;return null!=r?l?a(t,e,r,i,t,e,r,i):o(t,e,r,t,e,r):l?u(t,e,i,t,e,i):s(t,e,t,e)}(n):function(n){return void 0!==n.rings}(n)?m(n):function(n){return void 0!==n.paths}(n)?g(n):function(n){return void 0!==n.points}(n)?f(n):null:null}function c(n,{xmin:t,ymin:e,zmin:r,mmin:i,xmax:s,ymax:o,zmax:u,mmax:a}){n.xmin=Math.min(n.xmin,t),n.xmax=Math.max(n.xmax,s),n.ymin=Math.min(n.ymin,e),n.ymax=Math.max(n.ymax,o),null!=n.zmin&&(n.zmin=Math.min(n.zmin,r),n.zmax=Math.max(n.zmax,u)),null!=n.mmin&&(n.mmin=Math.min(n.mmin,i),n.mmax=Math.max(n.mmax,a))}function f(n){const{hasZ:t,hasM:e,points:s}=n,o=(0,r.Pj)(i,s,t??!1,e??!1,t??!1,e??!1);return o?l(o,t,e):null}function m(n){const{hasZ:t,hasM:e,rings:s,curveRings:o}=n,u=(0,r.Yz)(i,o??s,t??!1,e??!1);return u?l(u,t,e):null}function g(n){const{hasZ:t,hasM:e,paths:s,curvePaths:o}=n,u=(0,r.Yz)(i,o??s,t??!1,e??!1);return u?l(u,t,e):null}},47610(n,t,e){function r([n,t,e,r],[i,s,o,u]){return n===i&&t===s&&(null==e&&null==o||e===o)&&(null==r&&null==u||r===u)}e.d(t,{v6:()=>r}),e(5443),e(83960)},83960(n,t,e){e.d(t,{X_:()=>s,oW:()=>u,zx:()=>o});var r=e(34727),i=e(86211);function s(n,t){const e=t||n.extent,r=n.width,s=(0,i.GA)(e?.spatialReference);return e&&r?e.width/r*s*39.37*96:0}function o(n,t,e){return function(n,t){return 0===t||(0,r.Sp)(n,t)||n<t}(n,t)&&function(n,t){return 0===t||(0,r.Sp)(n,t)||n>t}(n,e)}function u(n,t){return(0,r.Sp)(n,t)?0:(n||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},56993(n,t,e){function r(n,t,e=!1){let{hasM:r,hasZ:i}=n;Array.isArray(t)?4!==t.length||r||i?3===t.length&&e&&!r?(i=!0,r=!1):3===t.length&&r&&i&&(r=!1,i=!1):(r=!0,i=!0):(i=!i&&t.hasZ&&(!r||t.hasM),r=!r&&t.hasM&&(!i||t.hasZ)),n.hasZ=i,n.hasM=r}e.d(t,{h:()=>r})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3543,7367],{93543(e,n,t){t.r(n),t.d(n,{executeScript:()=>me,extend:()=>we,prepareScript:()=>ye});var r=t(48938),a=t(99719),o=t(72888),i=t(17433),s=t(67862),c=t(11484),l=t(66395),u=t(85935),f=t(93833),d=t(92400),w=t(78878),p=t(19157),y=t(3367),m=t(63680),h=t(81113),g=t(32091),b=t(87367),v=t(21593),D=t(36770),R=t(47346),$=t(29304),x=t(4730),S=t(53966),I=t(16930),C=t(94128),F=t(54218);const A=()=>S.A.getLogger("esri.arcade.arcadeAsyncRuntime"),k=Symbol("debugInfo"),G=Symbol("uninitialized");function N(e){if(e===G)throw new u.D$("InvalidIdentifier",null)}function E(e){return N(e),e}function J(e,n){const t=(0,r.X)(n);if(null!==e.localScope){const n=e.localScope[t];if(void 0!==n)return{scope:e.localScope,id:t,var:n}}const a=e.globalScope[t];if(void 0!==a)return{scope:e.globalScope,id:t,var:a};throw new u.D$("InvalidIdentifier",n)}function P(e,n,t="InvalidIdentifier"){const a=(0,r.X)(n);if(null!==e.localScope){const n=e.localScope[a];if(void 0!==n)return N(n),n.value}const o=e.globalScope[a];if(void 0!==o)return N(o),o.value;throw new u.D$(t,n)}const O=function(){};async function L(e,n){const t=[];for(let r=0;r<n.arguments.length;r++)t.push(await q(e,n.arguments[r]));return t}async function M(e,n,t){return!0===n.preparsed?t(e,null,n.arguments):t(e,n,await L(e,n))}O.prototype=Object.freeze(Object.create(null));class H extends d.fF{constructor(e,n,t,r,a){super(),this.definition=e,this.context=n,this._params=t,this._locals=r,this._debugInfo=a}get debugName(){return this.definition.id.name}createFunction(e){return(...n)=>{const t=new O;t[k]=this._debugInfo;const r={spatialReference:this.context.spatialReference,console:this.context.console,lrucache:this.context.lrucache,timeZone:this.context.timeZone??null,exports:this.context.exports,libraryResolver:this.context.libraryResolver,interceptor:this.context.interceptor,services:this.context.services,abortSignal:this.context.abortSignal,localScope:t,depthCounter:{depth:e.depthCounter.depth+1},globalScope:this.context.globalScope,contextScopeDebugInfo:this.context.contextScopeDebugInfo,track:this.context.track};if(r.depthCounter.depth>64)throw new u.D$("MaximumCallDepth",null);return U(r,this.definition.body,this._params,this._locals,n,null)}}call(e,n){return B(e,n,(t,r,a)=>{const o=new O;o[k]=this._debugInfo;const i={spatialReference:e.spatialReference,services:e.services,console:e.console,libraryResolver:e.libraryResolver,exports:e.exports,lrucache:e.lrucache,timeZone:e.timeZone??null,interceptor:e.interceptor,localScope:o,abortSignal:e.abortSignal,globalScope:e.globalScope,contextScopeDebugInfo:e.contextScopeDebugInfo,depthCounter:{depth:e.depthCounter.depth+1},track:e.track};if(i.depthCounter.depth>64)throw new u.D$("MaximumCallDepth",n);return U(i,this.definition.body,this._params,this._locals,a,n)})}marshalledCall(e,n,t,r){return r(e,n,async(a,o,i)=>{const s=new O;s[k]=this._debugInfo;const c={spatialReference:e.spatialReference,services:e.services,globalScope:t.globalScope,contextScopeDebugInfo:t.contextScopeDebugInfo,depthCounter:{depth:e.depthCounter.depth+1},libraryResolver:e.libraryResolver,exports:e.exports,console:e.console,abortSignal:e.abortSignal,lrucache:e.lrucache,timeZone:e.timeZone??null,interceptor:e.interceptor,localScope:s,track:e.track};return i=i.map(n=>!(0,w.i)(n)||n instanceof d.CU?n:(0,d.o6)(n,e,r)),(0,d.o6)(await U(c,this.definition.body,this._params,this._locals,i,n),t,r)})}}async function U(e,n,t,r,a,o){if(t.length!==a.length)throw new u.D$("WrongNumberOfParameters",o);if(null!=e.localScope){for(let n=0;n<t.length;n++)e.localScope[t[n]]={value:a[n]};for(const n of r)e.localScope[n]=G}const i=await K(e,n);if(i instanceof w.R)return i.value;if(i===w.C)throw new u.D$("UnexpectedToken",o);if(i===w.D)throw new u.D$("UnexpectedToken",o);return i instanceof w.I?i.value:i}class j extends a.x{constructor(e){super(),this.moduleGlobalContext=e}global(e){const n=(0,r.X)(e);if(!this.moduleGlobalContext.exports.has(n))throw new u.D$("ModuleExportNotFound",null);const t=this.moduleGlobalContext.globalScope[n];if(N(t),(0,w.i)(t.value)&&!(t.value instanceof d.CU)){const e=new d.CU;return e.fn=t.value,e.parameterEvaluator=M,e.context=this.moduleGlobalContext,this.moduleGlobalContext.globalScope[n]={value:e},e}return t.value}setGlobal(e,n){if((0,w.i)(n))throw new u.D$("AssignModuleFunction",null);const t=(0,r.X)(e);if(!this.moduleGlobalContext.exports.has(t))throw new u.D$("ModuleExportNotFound",null);this.moduleGlobalContext.globalScope[t]={value:n}}hasGlobal(e){return this.moduleGlobalContext.exports.has((0,r.X)(e))}static async load(e,n){const{globals:t,exports:a}=(0,i.aU)(n),s=new de;null!=e.contextScopeDebugInfo&&(s[k]={declaredNames:t});for(const e of t.keys())e in s||(s[e]=G);const c=e.spatialReference??I.A.WebMercator,l={lrucache:e.lrucache,interceptor:e.interceptor,services:e.services,console:e.console??pe,abortSignal:e.abortSignal??r._,timeZone:e.timeZone??null,spatialReference:c,track:null,depthCounter:{depth:1},libraryResolver:new o.a(e.libraryResolver._moduleSingletons,n.loadedModules),exports:a,localScope:null,globalScope:s,contextScopeDebugInfo:null!=e.contextScopeDebugInfo?{declaredNames:new Map}:null};return await Q(l,n),new j(l)}}async function B(e,n,t){return!0===n.preparsed?t(e,null,n.arguments):t(e,n,await L(e,n))}function _(e,n,t){const r=new Map;if(n)for(const[a,o]of n.declaredNames){const n=e[a];r.set(o,null==n||n===G?null:(0,c.R)(n.value,t))}else for(const n of Object.getOwnPropertyNames(e)){const a=e[n];r.set(n,a===G?null:(0,c.R)(a.value,t))}return r}function Z(e){return e instanceof H?`ƒ ${e.debugName}(${e.definition.params.map(e=>e.name).join(", ")})`:(0,c.h)(e)}function z(e,n){const t=e.services?.debugger;if(null==t)return;const r={renderFunction:Z,defaultTimeZone:e.timeZone??"system"};return t.pause(n,{profile:null!=e.contextScopeDebugInfo?_(e.globalScope,e.contextScopeDebugInfo,r):new Map,globals:_(e.globalScope,e.globalScope[k],r),locals:null==e.localScope?null:_(e.localScope,e.localScope[k],r)})}async function q(e,n){n.breakpoint&&await z(e,n.breakpoint);try{switch(n.type){case"UpdateExpression":return await async function(e,n){const t=n.argument;if("CallExpression"===t.type)throw new u.D$("NeverReach",n);if("MemberExpression"===t.type){const r=await q(e,t.object);let a,o;if(!0===t.computed)a=await q(e,t.property);else{if("Identifier"!==t.property.type)throw new u.D$("Unrecognized",n);a=t.property.name}if((0,F.cy)(r)){if(!(0,F.Et)(a))throw new u.D$("ArrayAccessMustBeNumber",n);if(a<0&&(a=r.length+a),a<0||a>=r.length)throw new u.D$("OutOfBounds",n);o=(0,w.v)(r[a]),r[a]="++"===n.operator?o+1:o-1}else if(r instanceof l.A){if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0!==r.hasField(a))throw new u.D$("FieldNotFound",n,{key:a});o=(0,w.v)(r.field(a)),r.setField(a,"++"===n.operator?o+1:o-1)}else if(r instanceof j){if(!1===(0,F.Kg)(a))throw new u.D$("ModuleAccessorMustBeString",n);if(!0!==r.hasGlobal(a))throw new u.D$("ModuleExportNotFound",n);o=(0,w.v)(r.global(a)),r.setGlobal(a,"++"===n.operator?o+1:o-1)}else{if(!(0,w.h)(r))throw(0,w.g)(r)?new u.D$("Immutable",n):new u.D$("InvalidParameter",n);if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0!==r.hasField(a))throw new u.D$("FieldNotFound",n,{key:a});o=(0,w.v)(r.field(a)),r.setField(a,"++"===n.operator?o+1:o-1)}return!1===n.prefix?o:"++"===n.operator?o+1:o-1}const r=J(e,t),a=(0,w.v)(E(r.var).value),o="++"===n.operator?a+1:a-1;return r.scope[r.id]={value:o},!1===n.prefix?a:"++"===n.operator?a+1:a-1}(e,n);case"AssignmentExpression":return await async function(e,n){const t=n.left;if("MemberExpression"===t.type){const r=await q(e,t.object);let a;if(!0===t.computed)a=await q(e,t.property);else{if("Identifier"!==t.property.type)throw new u.D$("InvalidIdentifier",n);a=t.property.name}const o=await q(e,n.right);if((0,F.cy)(r)){if(!(0,F.Et)(a))throw new u.D$("ArrayAccessMustBeNumber",n);if(a<0&&(a=r.length+a),a<0||a>r.length)throw new u.D$("OutOfBounds",n);if(a===r.length){if("="!==n.operator)throw new u.D$("OutOfBounds",n);r[a]=V(o,n.operator,r[a],n)}else r[a]=V(o,n.operator,r[a],n)}else if(r instanceof l.A){if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0===r.hasField(a))r.setField(a,V(o,n.operator,r.field(a),n));else{if("="!==n.operator)throw new u.D$("FieldNotFound",n,{key:a});r.setField(a,V(o,n.operator,null,n))}}else if(r instanceof j){if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0!==r.hasGlobal(a))throw new u.D$("ModuleExportNotFound",n);r.setGlobal(a,V(o,n.operator,r.global(a),n))}else{if(!(0,w.h)(r))throw(0,w.g)(r)?new u.D$("Immutable",n):new u.D$("InvalidParameter",n);if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0===r.hasField(a))r.setField(a,V(o,n.operator,r.field(a),n));else{if("="!==n.operator)throw new u.D$("FieldNotFound",n,{key:a});r.setField(a,V(o,n.operator,null,n))}}return w.x}const r=J(e,t),a=await q(e,n.right);return r.scope[r.id]={value:V(a,n.operator,"="!==n.operator?E(r.var).value:null,n)},w.x}(e,n);case"TemplateLiteral":return await async function(e,n){let t="",r=0;for(const a of n.quasis)if(t+=a.value?a.value.cooked:"",!1===a.tail){if(n.expressions[r]){const a=await q(e,n.expressions[r]);if((0,w.i)(a))throw new u.D$("NoFunctionInTemplateLiteral",n);t+=(0,w.w)(a)}r++}return t}(e,n);case"Identifier":return ae(e,n);case"MemberExpression":return await async function(e,n){return ne(e,await q(e,n.object),n)}(e,n);case"Literal":return n.value;case"CallExpression":return await async function(e,n){let t;if("Identifier"===n.callee.type){const r=n.callee;r.breakpoint&&await z(e,r.breakpoint),t=P(e,n.callee,"FunctionNotFound")}else t=await q(e,n.callee);return oe(e,t,n)}(e,n);case"UnaryExpression":return await async function(e,n){const t=await q(e,n.argument);if((0,F.Lm)(t)){if("!"===n.operator)return!t;if("-"===n.operator)return-1*(0,w.v)(t);if("+"===n.operator)return 1*(0,w.v)(t);if("~"===n.operator)return~(0,w.v)(t);throw new u.D$("UnsupportUnaryOperator",n)}if("-"===n.operator)return-1*(0,w.v)(t);if("+"===n.operator)return 1*(0,w.v)(t);if("~"===n.operator)return~(0,w.v)(t);throw new u.D$("UnsupportUnaryOperator",n)}(e,n);case"BinaryExpression":return await async function(e,n){const t=await q(e,n.left),r=await q(e,n.right);switch(n.operator){case"|":case"<<":case">>":case">>>":case"^":case"&":return(0,w.A)((0,w.v)(t),(0,w.v)(r),n.operator);case"==":return(0,w.z)(t,r);case"!=":return!(0,w.z)(t,r);case"<":case">":case"<=":case">=":return(0,w.y)(t,r,n.operator);case"+":return(0,F.Kg)(t)||(0,F.Kg)(r)?(0,w.w)(t)+(0,w.w)(r):(0,w.v)(t)+(0,w.v)(r);case"-":return(0,w.v)(t)-(0,w.v)(r);case"*":return(0,w.v)(t)*(0,w.v)(r);case"/":return(0,w.v)(t)/(0,w.v)(r);case"%":return(0,w.v)(t)%(0,w.v)(r);default:throw n.operator,new u.D$("UnsupportedOperator",n)}}(e,n);case"LogicalExpression":return await async function(e,n){const t=await q(e,n.left);if(!(0,F.Lm)(t))throw new u.D$("LogicalExpressionOnlyBoolean",n);switch(n.operator){case"||":{if(!0===t)return t;const r=await q(e,n.right);if((0,F.Lm)(r))return r;throw new u.D$("LogicExpressionOrAnd",n)}case"&&":{if(!1===t)return t;const r=await q(e,n.right);if((0,F.Lm)(r))return r;throw new u.D$("LogicExpressionOrAnd",n)}default:throw n.operator,new u.D$("LogicExpressionOrAnd",n)}}(e,n);case"ArrayExpression":return await async function(e,n){const t=[];for(let r=0;r<n.elements.length;r++)t.push(await q(e,n.elements[r]));for(let e=0;e<t.length;e++){if((0,w.i)(t[e]))throw new u.D$("NoFunctionInArray",n);t[e]===w.x&&(t[e]=null)}return t}(e,n);case"ObjectExpression":return await async function(e,n){const t=[];for(let r=0;r<n.properties.length;r++){const a=n.properties[r],o=await q(e,a.value),i="Identifier"===a.key.type?a.key.name:await q(e,a.key);t[r]={key:i,value:o}}const r=Object.create(null),a=new Map;for(let e=0;e<t.length;e++){const o=t[e];if((0,w.i)(o.value))throw new u.D$("NoFunctionInDictionary",n);if(!1===(0,F.Kg)(o.key))throw new u.D$("KeyMustBeString",n);let i=o.key.toString();const s=i.toLowerCase();a.has(s)?i=a.get(s):a.set(s,i),o.value===w.x?r[i]=null:r[i]=o.value}const o=new l.A(r);return o.immutable=!1,o}(e,n);case"MemberAccessChainExpression":return await async function(e,n){const t=(0,i.YZ)(n);let r=await q(e,t.root);for(const n of t.sections){const t=await re(e,r,n.checked);if(null==t)return null;r=await te(e,t,n.unchecked)}return r}(e,n);case"SafeMemberExpression":throw A().error("SafeMemberExpression outside of MemberAccessChainExpression"),new u.D$("Unrecognized",n);default:throw new u.D$("Unrecognized",n)}}catch(e){throw(0,u.i2)(e,n)}}async function K(e,n){n.breakpoint&&await z(e,n.breakpoint);try{switch(n.type){case"ImportDeclaration":return await async function(e,n){const t=J(e,n.specifiers[0].local),r=e.libraryResolver;if(null==r)throw A().error("Internal error: module loader not initialized"),new u.D$("NeverReach",n);const a=r.loadLibrary(t.id);let o;return r._moduleSingletons?.has(a.uri)?o=r._moduleSingletons.get(a.uri):(o=await j.load(e,a.syntax),r._moduleSingletons?.set(a.uri,o)),t.scope[t.id]={value:o},w.x}(e,n);case"ExportNamedDeclaration":return await async function(e,n){return await K(e,n.declaration),w.x}(e,n);case"VariableDeclaration":return await async function(e,n){for(const t of n.declarations)await ee(e,t);return w.x}(e,n);case"BlockStatement":return await Q(e,n);case"FunctionDeclaration":return await async function(e,n){if(null!=e.localScope)throw A().error("Function declarations are only valid in global scope."),new u.D$("NeverReach",n);const t=(0,r.X)(n.id);if(!(t in e.globalScope))throw A().error(`Function "${t}" not declared.`),new u.D$("NeverReach",n);const a=(0,i.SV)(n),o=n.params.map(e=>(0,r.X)(e)),s=Array.from(a.keys()).filter(e=>!o.includes(e));let c=null;return null!=e.contextScopeDebugInfo&&(c={declaredNames:new Map([...n.params.map(e=>[(0,r.X)(e),e.name]),...a])}),e.globalScope[t]={value:new H(n,e,o,s,c)},w.x}(e,n);case"ReturnStatement":return await async function(e,n){if(null===n.argument)return new w.R(w.x);const t=await q(e,n.argument);return new w.R(t)}(e,n);case"IfStatement":return await async function(e,n){const t=await q(e,n.test);if(!0===t)return K(e,n.consequent);if(!1===t)return null!==n.alternate?K(e,n.alternate):w.x;throw new u.D$("BooleanConditionRequired",n)}(e,n);case"ExpressionStatement":return await async function(e,n){const t=await q(e,n.expression);return t===w.x?w.x:new w.I(t)}(e,n);case"ForStatement":return await async function(e,n){try{for(null!==n.init&&("VariableDeclaration"===n.init.type?await K(e,n.init):await q(e,n.init));;){if(null!==n.test){const t=await q(e,n.test);if(!0===e.abortSignal?.aborted)throw new u.D$("Cancelled",n);if(!1===t)break;if(!0!==t)throw new u.D$("BooleanConditionRequired",n)}const t=await K(e,n.body);if(t===w.C)break;if(t instanceof w.R)return t;null!==n.update&&await q(e,n.update)}return w.x}catch(e){throw e}}(e,n);case"WhileStatement":return await async function(e,n){let t=await q(e,n.test);if(!1===t)return w.x;if(!0!==t)throw new u.D$("BooleanConditionRequired",n);for(;!0===t;){const r=await K(e,n.body);if(r===w.C)break;if(r instanceof w.R)return r;if(t=await q(e,n.test),!0!==t&&!1!==t)throw new u.D$("BooleanConditionRequired",n)}return w.x}(e,n);case"ForInStatement":return await async function(e,n){const t=await q(e,n.right);"VariableDeclaration"===n.left.type&&await K(e,n.left);const r=J(e,"VariableDeclaration"===n.left.type?n.left.declarations[0].id:n.left);return(0,F.cy)(t)||(0,F.Kg)(t)?await X(e,n,t,r):(0,w.g)(t)?await T(e,n,t,r):t instanceof l.A||(0,w.B)(t)?await X(e,n,t.keys(),r,"k"):(0,w.k)(t)?await W(e,n,t,r):(0,w.d)(t)?await X(e,n,(0,s.T)(t),r,"k"):w.x}(e,n);case"ForOfStatement":return await async function(e,n){const t=await q(e,n.right);"VariableDeclaration"===n.left.type&&await K(e,n.left);const r=J(e,"VariableDeclaration"===n.left.type?n.left.declarations[0].id:n.left);return(0,F.cy)(t)||(0,F.Kg)(t)?await X(e,n,t,r,"k"):(0,w.g)(t)?await T(e,n,t,r,"k"):t instanceof l.A||(0,w.B)(t)?await async function(e,n,t,r){for(const a of t.keys()){const o=t.field(a);r.scope[r.id]={value:l.A.containerEntry(a,o)};const i=await K(e,n.body);if(i===w.C)break;if(i instanceof w.R)return i}return w.x}(e,n,t,r):(0,w.k)(t)?await W(e,n,t,r):(0,w.d)(t)?await async function(e,n,t,r){for(const a of(0,s.T)(t)){const o=(0,s.Ny)(t,a);r.scope[r.id]={value:l.A.containerEntry(a,o)};const i=await K(e,n.body);if(i===w.C)break;if(i instanceof w.R)return i}return w.x}(e,n,t,r):w.x}(e,n);case"BreakStatement":return w.C;case"EmptyStatement":return w.x;case"ContinueStatement":return w.D;default:throw new u.D$("Unrecognized",n)}}catch(e){throw(0,u.i2)(e,n)}}async function X(e,n,t,r,a="i"){const o=t.length;for(let i=0;i<o;i++){if("k"===a){if(i>=t.length)throw new u.D$("OutOfBounds",n);r.scope[r.id]={value:t[i]}}else r.scope[r.id]={value:i};const o=await K(e,n.body);if(o===w.C)break;if(o instanceof w.R)return o}return w.x}async function T(e,n,t,r,a="i"){const o=t.length();for(let i=0;i<o;i++){r.scope[r.id]="k"===a?{value:t.get(i)}:{value:i};const o=await K(e,n.body);if(o===w.C)break;if(o instanceof w.R)return o}return w.x}async function W(e,n,t,r){e:for await(const a of await t.queryAll(e.abortSignal))for(const o of a){r.scope[r.id]={value:f.Xj.createFromGraphicLikeObject(o.geometry,o.attributes,t,e.timeZone)};const a=await K(e,n.body);if(a===w.C)break e;if(a instanceof w.R)return a}return w.x}function V(e,n,t,r){switch(n){case"=":return e===w.x?null:e;case"/=":return(0,w.v)(t)/(0,w.v)(e);case"*=":return(0,w.v)(t)*(0,w.v)(e);case"-=":return(0,w.v)(t)-(0,w.v)(e);case"+=":return(0,F.Kg)(t)||(0,F.Kg)(e)?(0,w.w)(t)+(0,w.w)(e):(0,w.v)(t)+(0,w.v)(e);case"%=":return(0,w.v)(t)%(0,w.v)(e);default:throw new u.D$("UnsupportedOperator",r)}}async function Q(e,n){return Y(e,n,0)}async function Y(e,n,t){if(t>=n.body.length)return w.x;const r=await K(e,n.body[t]);return r instanceof w.R||r===w.C||r===w.D||t===n.body.length-1?r:Y(e,n,t+1)}async function ee(e,n){n.breakpoint&&await z(e,n.breakpoint);let t=null;t=null===n.init?null:await q(e,n.init),t===w.x&&(t=null);const r=J(e,n.id);r.scope[r.id]={value:t}}async function ne(e,n,t){const r=t.computed?await q(e,t.property):t.property.name;return(0,s.Xf)(n,r)}async function te(e,n,t){for(const r of t)switch(r.type){case"MemberExpression":n=await ne(e,n,r);break;case"CallExpression":n=await oe(e,n,r);break;default:throw new u.D$("Unrecognized",r)}return n}async function re(e,n,t){const r=t.computed?await q(e,t.property):t.property.name;return(0,s.c$)(n,r)}function ae(e,n){return P(e,n)}async function oe(e,n,t){if((0,w.i)(n))return n.call(e,t);throw new u.D$("CallNonFunction",t)}async function ie(e,n){(0,w.E)(null===n.arguments?[]:n.arguments,3,3,n);const t=await q(e,n.arguments[0]);if(!1===(0,F.Lm)(t))throw new u.D$("BooleanConditionRequired",n);return q(e,t?n.arguments[1]:n.arguments[2])}async function se(e,n){(0,w.E)(null===n.arguments?[]:n.arguments,2,3,n);const t=await q(e,n.arguments[0]);if(3===n.arguments.length){const r=await q(e,n.arguments[1]),a=(0,s.jd)(t,r);return null!=a&&""!==a?a:q(e,n.arguments[2])}return null==t||""===t?q(e,n.arguments[1]):t}async function ce(e,n){if(n.arguments.length<2)throw new u.D$("WrongNumberOfParameters",n);if(2===n.arguments.length)return q(e,n.arguments[1]);if((n.arguments.length-1)%2==0)throw new u.D$("WrongNumberOfParameters",n);return le(e,n,1,await q(e,n.arguments[0]))}async function le(e,n,t,r){const a=await q(e,n.arguments[t]);if((0,w.z)(a,r))return q(e,n.arguments[t+1]);const o=n.arguments.length-t;return 1===o?q(e,n.arguments[t]):2===o?null:3===o?q(e,n.arguments[t+2]):le(e,n,t+2,r)}async function ue(e,n){if(n.arguments.length<3)throw new u.D$("WrongNumberOfParameters",n);if(n.arguments.length%2==0)throw new u.D$("WrongNumberOfParameters",n);const t=await q(e,n.arguments[0]);if(!1===(0,F.Lm)(t))throw new u.D$("BooleanConditionRequired",n.arguments[0]);return fe(e,n,0,t)}async function fe(e,n,t,r){if(!0===r)return q(e,n.arguments[t+1]);if(3===n.arguments.length-t)return q(e,n.arguments[t+2]);const a=await q(e,n.arguments[t+2]);if(!1===(0,F.Lm)(a))throw new u.D$("ModuleExportNotFound",n.arguments[t+2]);return fe(e,n,t+2,a)}const de=function(){const e=Object.create(null);(0,h.d)(e,M),(0,$.d)(e,M),(0,g.d)(e,M,ae),(0,D.d)(e,M),(0,v.d)(e,M),(0,R.d)(e,M),(0,x.dW)(e,M),(0,b.registerFunctions)({functions:e,compiled:!1,signatures:null,evaluateIdentifier:null,mode:"async",standardFunction:M,standardFunctionAsync:B}),e.iif=ie,e.defaultvalue=se,e.decode=ce,e.when=ue;const n=function(){this.textformatting={value:l.A.textFormatting()}};(n.prototype=Object.create(null)).infinity=Object.freeze({value:Number.POSITIVE_INFINITY}),n.prototype.nan=Object.freeze({value:Number.NaN}),n.prototype.pi=Object.freeze({value:Math.PI});for(const[t,r]of Object.entries(e))n.prototype[t]=Object.freeze({value:new d.UQ(r,t)});return n}();function we(e){const n={mode:"async",compiled:!1,functions:Object.create(null),signatures:[],standardFunction:M,standardFunctionAsync:B,evaluateIdentifier:ae};for(let t=0;t<e.length;t++)e[t].registerFunctions(n);for(const[e,t]of Object.entries(n.functions))de.prototype[e]=Object.freeze({value:new d.UQ(t,e)});for(let e=0;e<n.signatures.length;e++)(0,p.WC)(n.signatures[e],"async")}function pe(e){console.log(e)}function ye(e,n){const t=new Set(Object.keys(n?.vars||{}).map(e=>(0,r.X)(e))),a=new Set(Object.keys(n?.customfunctions||{}).map(e=>(0,r.X)(e))),{globals:s,exports:c}=(0,i.aU)(e);let l=null;if(n?.breakpoints){for(const[t,r]of(0,i.ti)(n.breakpoints,e))t.breakpoint=r;l={declaredNames:new Map(Object.keys(n?.vars||{}).map(e=>[(0,r.X)(e),e]).filter(([e])=>!s.has(e)))}}return async n=>{const i=n.spatialReference??I.A.WebMercator;let p=null;e.usesModules&&(p=new o.a(new Map,e.loadedModules));const y=new de;null!=l&&(y[k]={declaredNames:s});for(const e of a)null!=n.customfunctions&&e in n.customfunctions?y[e]={value:new d.UQ(n.customfunctions[e],e)}:y[e]=G;for(const e of t){if(null==n.vars||!(e in n.vars)){e in y||(y[e]=G);continue}const t=n.vars[e]??null;(0,C.D)(t)?y[e]={value:f.Xj.createFromGraphic(t,n.timeZone??null)}:y[e]={value:t}}for(const e of s.keys())e in y||(y[e]=G);const m={lrucache:n.lrucache,interceptor:n.interceptor,services:n.services,console:n.console??pe,abortSignal:n.abortSignal??r._,timeZone:n.timeZone??null,spatialReference:i,track:n.track,depthCounter:{depth:1},libraryResolver:p,exports:c,localScope:null,globalScope:y,contextScopeDebugInfo:l},h=await Q(m,e);if(h instanceof w.R||h instanceof w.I){const e=h.value;if((0,w.u)(e))return null;if((0,w.i)(e))throw new u.D$("IllegalResult",null);return e}if((0,w.u)(h))return null;if(h===w.C)throw new u.D$("IllegalResult",null);if(h===w.D)throw new u.D$("IllegalResult",null);throw new u.D$("NeverReach",null)}}function me(e,n){return ye(e,n)(n)}we([m.A]),we([y.A])},87367(e,n,t){t.r(n),t.d(n,{registerFunctions:()=>b});var r=t(47609),a=t(67862),o=t(66395),i=t(85935),s=t(54639),c=t(78878),l=t(80672),u=t(38222),f=t(98919),d=t(71163),w=t(36983),p=t(70333),y=t(11254);async function m(e,n,t){const r=p.id?.findCredential(e.restUrl);if(!r)return null;if("loaded"===e.loadStatus&&""===n&&e.user?.sourceJSON&&!1===t)return e.user.sourceJSON;const a={responseType:"json",query:{f:"json"}};if(t&&(a.query.returnUserLicenseTypeExtensions=!0),""===n){const n=await(0,y.A)(e.restUrl+"/community/self",a);if(n.data){const e=n.data;if(e?.username)return e}return null}const o=await(0,y.A)(e.restUrl+"/community/users/"+n,a);if(o.data){const e=o.data;return e.error?null:e}return null}var h=t(54218);function g(e){if(null==e)return e;switch(typeof e){case"string":case"number":return e;default:throw new i.D$("InvalidParameter",null)}}function b(e){"async"===e.mode&&(e.functions.disjoint=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]||(0,d.C)("disjoint",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.intersects=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("intersects",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.touches=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("touches",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.crosses=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("crosses",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.within=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("within",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.contains=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("contains",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.overlaps=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("overlaps",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.equals=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>((0,c.E)(r,2,2,t),r[0]===r[1]||((0,c.d)(r[0])&&(0,c.d)(r[1])?(0,d.C)("equals",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]):((0,c.f)(r[0])&&(0,c.f)(r[1])||!!((0,c.r)(r[0])&&(0,c.r)(r[1])||(0,c.q)(r[0])&&(0,c.q)(r[1])))&&r[0].equals(r[1]))))},e.functions.relate=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,3,3,t),(0,c.d)(r[0])&&(0,c.d)(r[1]))return(0,d.C)("relate",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference),(0,c.w)(r[2])]);if((0,c.d)(r[0])&&null===r[1])return!1;if((0,c.d)(r[1])&&null===r[0])return!1;if(null===r[0]&&null===r[1])return!1;throw new i.D$("InvalidParameter",t)})},e.functions.intersection=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]?null:(0,w.R)(await(0,d.C)("intersection",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)))},e.functions.union=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(0===(r=(0,c.H)(r)).length)throw new i.D$("WrongNumberOfParameters",t);const a=[];if(1===r.length)if((0,h.cy)(r[0])){for(const e of(0,c.H)(r[0]))if(null!==e){if(!(0,c.d)(e))throw new i.D$("InvalidParameter",t);a.push(e)}}else{if(!(0,c.g)(r[0])){if((0,c.d)(r[0]))return r[0].clone();if(null===r[0])return null;throw new i.D$("InvalidParameter",t)}for(const e of(0,c.H)(r[0].toArray()))if(null!==e){if(!(0,c.d)(e))throw new i.D$("InvalidParameter",t);a.push(e)}}else for(const e of r)if(null!==e){if(!(0,c.d)(e))throw new i.D$("InvalidParameter",t);a.push(e)}if(0===a.length)return null;const o=a[0].spatialReference;return(0,w.R)(await(0,d.C)("union",[a.map(e=>e.asJsonGeometry()),(0,s.b)(o)]),o)})},e.functions.difference=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]?null:null===r[1]?r[0].clone():(0,w.R)(await(0,d.C)("difference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)))},e.functions.symmetricdifference=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]&&null===r[1]?null:null===r[0]?r[1]?.clone()??null:null===r[1]?r[0]?.clone()??null:(0,w.R)(await(0,d.C)("symmetricDifference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)))},e.functions.clip=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),!(0,c.J)(r[1])&&null!==r[1])throw new i.D$("InvalidParameter",t);if(null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return null===r[1]?null:(0,w.R)(await(0,d.C)("clip",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)})},e.functions.cut=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),!(0,c.K)(r[1])&&null!==r[1])throw new i.D$("InvalidParameter",t);if(null===r[0])return[];if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);if(null===r[1])return[r[0].clone()];const a=r[0].spatialReference;return(await(0,d.C)("cut",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])).map(e=>(0,w.R)(e,a)).filter(e=>null!=e)})},e.functions.area=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{if((0,c.E)(a,1,2,t),a=(0,c.H)(a),(0,c.k)(a[0])){const e=await a[0].sumArea(g(a[1]),null,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}let o=a[0];if(((0,h.cy)(o)||(0,c.g)(o))&&(o=(0,u.zt)(a[0],n.spatialReference)),null===o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("area",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),g(a[1])])})},e.functions.areageodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{(0,c.E)(a,1,3,t);let o=(a=(0,c.H)(a))[0];((0,h.cy)(o)||(0,c.g)(o))&&(o=(0,u.zt)(o,n.spatialReference));const l=g(a[1]),w=(0,f.qr)(a[2]);if((0,c.k)(o)){const e=await o.sumArea(l,w,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}if(null==o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("geodeticArea",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),l,w])})},e.functions.length=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{if((0,c.E)(a,1,2,t),a=(0,c.H)(a),(0,c.k)(a[0])){const e=await a[0].sumLength(g(a[1]),null,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}let o=a[0];if(((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(o=(0,u.X1)(a[0],n.spatialReference)),null===o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("length",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),g(a[1])])})},e.functions.length3d=function(n,r){return e.standardFunctionAsync(n,r,async(e,a,o)=>{if((0,c.E)(o,1,2,r),null===(o=(0,c.H)(o))[0])return 0;let l=o[0];if(((0,h.cy)(o[0])||(0,c.g)(o[0]))&&(l=(0,u.X1)(o[0],n.spatialReference)),null===l)return 0;if(!(0,c.d)(l))throw new i.D$("InvalidParameter",r);if(!0===l.hasZ){const{convertFromSpatialReferenceUnit:e,toLengthUnit:n}=await Promise.resolve().then(t.bind(t,40547)),r=(0,f.UI)(l);return e(l.spatialReference,n(o[1]),r)}return(0,d.C)("length",[l.asJsonGeometry(),(0,s.b)(l.spatialReference),g(o[1])])})},e.functions.lengthgeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{(0,c.E)(a,1,3,t);let o=(a=(0,c.H)(a))[0];((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(o=(0,u.X1)(a[0],n.spatialReference));const l=g(a[1]),w=(0,f.qr)(a[2]);if((0,c.k)(o)){const e=await o.sumLength(l,w,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}if(null===o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("geodeticLength",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),l,w])})},e.functions.distance=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{a=(0,c.H)(a),(0,c.E)(a,2,3,t);let o=a[0];if(((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(o=(0,u.yg)(a[0],n.spatialReference)),!(0,c.d)(o))throw new i.D$("InvalidParameter",t);let l=a[1];if(((0,h.cy)(a[1])||(0,c.g)(a[1]))&&(l=(0,u.yg)(a[1],n.spatialReference)),!(0,c.d)(l))throw new i.D$("InvalidParameter",t);return(0,d.C)("distance",[o.asJsonGeometry(),l.asJsonGeometry(),(0,s.b)(o.spatialReference),g(a[2])])})},e.functions.distancegeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,4,t);const a=r[0];if(!(0,c.L)(a))throw new i.D$("InvalidParameter",t);const o=r[1];if(!(0,c.L)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("geodeticDistance",[a.asJsonGeometry(),o.asJsonGeometry(),(0,s.b)(a.spatialReference),g(r[2]),(0,f.qr)(r[3])])})},e.functions.densify=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,3,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=(0,c.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",t);if(a<=0)throw new i.D$("InvalidParameter",t);switch(r[0].type){case"polygon":case"polyline":case"extent":return(0,w.R)(await(0,d.C)("densify",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference),a,g(r[2])]),r[0].spatialReference);default:return r[0]}})},e.functions.densifygeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,c.d)(a))throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",t);if(o<=0)throw new i.D$("InvalidParameter",t);const l=g(r[2]),u=(0,f.qr)(r[3]);switch(a.type){case"polygon":case"polyline":case"extent":return(0,w.R)(await(0,d.C)("geodeticDensify",[a.asJsonGeometry(),(0,s.b)(a.spatialReference),o,l,u]),a.spatialReference);default:return a}})},e.functions.generalize=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,4,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=(0,c.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",t);const o=(0,c.M)((0,c.N)(r[2],!0));return(0,w.R)(await(0,d.C)("generalize",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference),a,g(r[3]),o]),r[0].spatialReference)})},e.functions.buffer=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,3,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=(0,c.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",t);return 0===a?r[0].clone():(0,w.R)(await(0,d.C)("buffer",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference),a,g(r[2])]),r[0].spatialReference)})},e.functions.buffergeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,c.d)(a))throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",t);if(0===o)return a.clone();const l=g(r[2]),u=(0,f.qr)(r[3]);return(0,w.R)(await(0,d.C)("geodesicBuffer",[a.asJsonGeometry(),(0,s.b)(a.spatialReference),o,l,u]),a.spatialReference)})},e.functions.offset=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,6,t);const a=r[0];if(null===a)return null;if(!(0,c.d)(a)||"polygon"!==a.type&&"polyline"!==a.type)throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",t);const l=r[2],u=(0,f.ug)(r[3]),p=(0,c.v)((0,c.N)(r[4],10));if(isNaN(p))throw new i.D$("InvalidParameter",t);const y=(0,c.v)((0,c.N)(r[5],0));if(isNaN(y))throw new i.D$("InvalidParameter",t);return(0,w.R)(await(0,d.C)("offset",[a.asJsonGeometry(),(0,s.b)(a.spatialReference),o,g(l),u,p,y]),a.spatialReference)})},e.functions.rotate=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,3,t);const a=r[0];if(null===a)return null;if(!(0,c.d)(a))throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(!Number.isFinite(o))throw new i.D$("InvalidParameter",t);const s=r[2];if(null!=s&&!(0,c.L)(s))throw new i.D$("InvalidParameter",t);const l=s?.asJsonLikeGeometry();return(0,w.R)(await(0,d.C)("rotate",[a.asJsonGeometry(),o,l?.x,l?.y]),a.spatialReference)})},e.functions.centroid=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{if(a=(0,c.H)(a),(0,c.E)(a,1,2,t),null===a[0])return null;const o=(0,f.Hz)(a[1]);let s=a[0];if(((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(s="geometric"===o?(0,u.yg)(a[0],n.spatialReference):(0,u.zt)(a[0],n.spatialReference),null===s))return null;if(!(0,c.d)(s))throw new i.D$("InvalidParameter",t);return(0,w.p)("point","geometric"===o?await(0,d.C)("centroid",[s.asJsonGeometry()]):await(0,d.C)("labelPoint",[s.asJsonGeometry()]),s.spatialReference)})},e.functions.measuretocoordinate=function(n,t){return e.standardFunctionAsync(n,t,f.Cd)},e.functions.pointtocoordinate=function(n,t){return e.standardFunctionAsync(n,t,f.kr)},e.functions.distancetocoordinate=function(n,t){return e.standardFunctionAsync(n,t,f.Bn)},e.functions.multiparttosinglepart=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=r[0].spatialReference;return(await(0,d.C)("multiPartToSinglePart",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])).map(e=>(0,w.R)(e,a)).filter(e=>null!=e)})},e.functions.isselfintersecting=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,t)=>{(0,c.E)(t,1,1,n);let r=(t=(0,c.H)(t))[0];return((0,h.cy)(t[0])||(0,c.g)(t[0]))&&(r=(0,u.X1)(t[0],e.spatialReference)),!!(0,c.d)(r)&&await(0,d.C)("isSelfIntersecting",[r.asJsonGeometry(),(0,s.b)(r.spatialReference)])})},e.functions.issimple=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return!0;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return(0,d.C)("isSimple",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])})},e.functions.simplify=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return(0,w.R)(await(0,d.C)("simplify",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)})},e.functions.convexhull=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return(0,w.R)(await(0,d.C)("convexHull",[r[0].asJsonGeometry()]),r[0].spatialReference)})},e.functions.getuser=function(n,t){return e.standardFunctionAsync(n,t,async(e,o,s)=>{(0,c.E)(s,0,2,t);let u=(0,c.N)(s[1],""),f=!0===u;if(u=!0===u||!1===u?"":(0,c.w)(u),0===s.length||s[0]instanceof r.A){const e=(0,l.RI)(n,s.length>0?s[0]:null),t=await m(e,u,f);return null!=t?(0,a.Tg)(JSON.parse(JSON.stringify(t))):null}let d=null;if((0,c.k)(s[0])&&(d=s[0]),d){if(f=!1,u)return null;await d.load();const e=await d.getOwningSystemUrl();if(!e){if(!u){const e=await d.getIdentityUser();return null!=e?(0,a.Tg)({username:e}):null}return null}const t=(0,l.RI)(n,new r.A(e)),o=await m(t,u,f);return null!=o?(0,a.Tg)(JSON.parse(JSON.stringify(o))):null}throw new i.D$("InvalidParameter",t)})},e.functions.nearestcoordinate=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);if(!(0,c.L)(r[1]))throw new i.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestCoordinate",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:o.A.createMutable({__proto__:null,coordinate:(0,w.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})},e.functions.nearestvertex=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);if(!(0,c.L)(r[1]))throw new i.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestVertex",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:o.A.createMutable({__proto__:null,coordinate:(0,w.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})})}},71163(e,n,t){t.d(n,{C:()=>c});var r=t(29953);let a,o,i=!1;function s(){return a??=(0,r.ho)("arcadeGeometryOperatorsWorker").then(e=>{o=e,i=!0,a=void 0})}async function c(e,n){return i?o.apply("invokeGeometryOp",[e,n]):(await s(),c(e,n))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[756],{90756(t,e,s){s.d(e,{execute:()=>a});var n=s(61691),r=s(55537),o=s(88885),c=s(95213),u=s(39117),m=u.U;function i(t,e){return{m_geometry:t,m_side:e}}class l extends n.G{m_bConsiderTouch;m_cuttee;m_cutter;m_tolerance;m_cutIndex=-1;m_cuts=[];m_progressTracker;constructor(t,e,s,n,r){super(),this.m_progressTracker=r,this.m_cuttee=e.clone(),this.m_cutter=new o.a({copy:s}),this.m_bConsiderTouch=t;const u=(0,c.g)(e,s);this.m_tolerance=(0,c.c)(n,u,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case r.G.enumPolyline:this.generatePolylineCuts();break;case r.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const t=new o.a,e=new o.a,s=new o.a;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const n=[];!function(t,e,s,n,r,c){if(e.isEmpty()){const t=i(e,0);return void r.push(t)}if(s.isEmpty()){const t=i(e,0);return void r.push(t)}const l=[],h=new o.E;{const o=h.createGeometryUserIndex(),a=h.addGeometry(e),d=h.addGeometry(s),_=new u.a6(c);let y=0,p=null;if(h.hasCurves()){p=new m;const t=h.getEnvelope2D(c);y=(0,u.N)(n.total());const e=(0,u.M)(n.total(),t);(0,u.Q)(h,e,n.total(),12e3,p,null,c)}h.dbgVerifyCurves(),_.setEditShapeCrackAndCluster(h,n),_.cut(t,o,a,d,l);for(const t of l){null!==p&&p.stitchCurves(h,t,y,!1);const e=i(h.getGeometry(t),(0,u.a7)(h.getGeometryUserIndex(t,o)));r.push(e)}null!==p&&p.clearStitcher(h)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,n,this.m_progressTracker);for(let o=0;o<n.length;o++){const c=n[o];1===c.m_side?t.add(c.m_geometry,!1):2===c.m_side||4===c.m_side?e.add(c.m_geometry,!1):3===c.m_side?this.m_cuts.push(c.m_geometry):0===c.m_side?s.add(c.m_geometry,!1):(0,r.d)("")}s.isEmpty()||t.isEmpty()&&e.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(s),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const t=new o.P,e=new o.P,s=new o.P;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const n=[];!function(t,e,s,n,r,c){if(e.isEmpty()){const t=i(e,0);return void r.push(t)}if(s.isEmpty()){const t=i(e,0);return void r.push(t)}const l=[],h=new o.E;{const t=h.createGeometryUserIndex(),a=h.addGeometry(e),d=h.addGeometry(s),_=new u.a6(c);let y=0,p=null;if(h.hasCurves()){p=new m;const t=h.getEnvelope2D(c);y=(0,u.N)(n.total());const e=(0,u.M)(n.total(),t);(0,u.Q)(h,e,n.total(),12e3,p,null,c)}h.dbgVerifyCurves(),_.setEditShapeCrackAndCluster(h,n),_.cut(!1,t,a,d,l),null!==p&&p.stitchCurves(h,-1,y,!0);let g=h.getGeometry(a);const C=new o.P,E=new o.P,f=[];for(let e=0;e<l.length;e++){let s=null;{const r=new o.E,m=r.addGeometry(g),i=r.addGeometry(h.getGeometry(l[e]));if(r.hasCurves()){const t=r.getEnvelope2D(c);y=(0,u.N)(n.total());const e=(0,u.M)(n.total(),t);(0,u.Q)(r,e,n.total(),12e3,p,null,c)}_.setEditShapeCrackAndCluster(r,n);const a=_.intersection(m,i);if(null!==p&&p.stitchCurves(r,-1,y,!0),s=r.getGeometry(a),s.isEmpty())continue;const d=h.getGeometryUserIndex(l[e],t);2===d?C.add(s,!1):1===d?E.add(s,!1):f.push(s)}{const t=new o.E,s=t.addGeometry(g),r=t.addGeometry(h.getGeometry(l[e]));if(t.hasCurves()){const e=t.getEnvelope2D(c);y=(0,u.N)(n.total());const s=(0,u.M)(n.total(),e);(0,u.Q)(t,s,n.total(),12e3,p,null,c)}_.setEditShapeCrackAndCluster(t,n);const m=_.difference(s,r);null!==p&&p.stitchCurves(t,-1,y,!0),g=t.getGeometry(m)}}if(!g.isEmpty()&&l.length>0&&f.push(g),C.isEmpty()&&E.isEmpty())return;if(!C.isEmpty()){const t=i(C,1);r.push(t)}if(!E.isEmpty()){const t=i(E,2);r.push(t)}for(let t=0,e=f.length;t<e;++t){const e=i(f[t],3);r.push(e)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,n,this.m_progressTracker);for(let o=0;o<n.length;o++){const c=n[o];1===c.m_side?t.add(c.m_geometry,!1):2===c.m_side?e.add(c.m_geometry,!1):3===c.m_side?this.m_cuts.push(c.m_geometry):0===c.m_side?s.add(c.m_geometry,!1):(0,r.d)("")}(0,r.g)(s.isEmpty()||1===n.length),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const h=new class{getOperatorType(){return 10005}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e,s,n,r){return new l(t,e,s,n,r)}};function a(t,e,s){const n=h.execute(!0,t,e,s,null);return Array.from(n)}}}]);
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,5907],{28491(e,t,r){r.d(t,{b:()=>P});var i=r(32680),n=r(49255),o=r(34711),a=r(76597),s=r(72722),l=r(96336),c=r(53466),u=r(72824),h=r(54154),d=r(9169),m=r(12696),f=r(77695),p=r(72233),g=r(42594),v=r(98619),x=r(62602),_=r(22393),y=r(59469),b=r(32482),w=r(51406),M=r(91899),S=r(58614),T=r(20693),C=r(33079),E=r(31821),I=r(63761),A=r(27832),F=r(47630),O=r(14113);function P(e){const t=new O.N5,{attributes:r,vertex:P,fragment:D,varyings:R}=t,{output:B,normalType:N,offsetBackfaces:z,spherical:H,snowCover:L,pbrMode:j,textureAlphaPremultiplied:W,instancedDoublePrecision:U,hasVertexColors:V,hasVertexTangents:G,hasColorTexture:k,hasNormalTexture:$,hasNormalTextureTransform:Z,hasColorTextureTransform:q}=e;if((0,T.NB)(P,e),r.add("position","vec3"),P.inputs.add("position",()=>"position"),R.add("vpos","vec3",{invariant:!0}),t.include(M.A,e),t.include(s.B,e),t.include(h.Ge,e),t.include(w.q2,e),!(0,n._o)(B))return t.include(d.E,e),t;t.include(w.Sx,e),t.include(w.MU,e),t.include(w.O1,e),t.include(w.QM,e),(0,T.yu)(P,e),t.include(l.Y,e),t.include(a.d);const Y=0===N||1===N;return Y&&z&&t.include(i.M),t.include(f.J,e),t.include(u.Mh,e),R.add("vPositionLocal","vec3"),t.include(c.U,e),t.include(m.F,e),t.include(U?b.QH:b.LA,e),P.main.add(E.H`
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,5907,9397],{28491(e,t,r){r.d(t,{b:()=>P});var i=r(32680),n=r(49255),o=r(34711),a=r(76597),s=r(72722),l=r(96336),c=r(53466),u=r(72824),h=r(54154),d=r(9169),m=r(12696),f=r(77695),p=r(72233),g=r(42594),v=r(98619),x=r(62602),_=r(22393),y=r(59469),b=r(32482),w=r(51406),M=r(91899),S=r(58614),T=r(20693),C=r(33079),E=r(31821),I=r(63761),A=r(27832),F=r(47630),O=r(14113);function P(e){const t=new O.N5,{attributes:r,vertex:P,fragment:D,varyings:R}=t,{output:B,normalType:N,offsetBackfaces:z,spherical:H,snowCover:L,pbrMode:j,textureAlphaPremultiplied:W,instancedDoublePrecision:U,hasVertexColors:V,hasVertexTangents:G,hasColorTexture:k,hasNormalTexture:$,hasNormalTextureTransform:Z,hasColorTextureTransform:q}=e;if((0,T.NB)(P,e),r.add("position","vec3"),P.inputs.add("position",()=>"position"),R.add("vpos","vec3",{invariant:!0}),t.include(M.A,e),t.include(s.B,e),t.include(h.Ge,e),t.include(w.q2,e),!(0,n._o)(B))return t.include(d.E,e),t;t.include(w.Sx,e),t.include(w.MU,e),t.include(w.O1,e),t.include(w.QM,e),(0,T.yu)(P,e),t.include(l.Y,e),t.include(a.d);const Y=0===N||1===N;return Y&&z&&t.include(i.M),t.include(f.J,e),t.include(u.Mh,e),R.add("vPositionLocal","vec3"),t.include(c.U,e),t.include(m.F,e),t.include(U?b.QH:b.LA,e),P.main.add(E.H`
2
2
  forwardDefaultMaterialExternalColor();
3
3
 
4
4
  vpos = getVertexInLocalOriginSpace();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2867,5248],{66131(e,t,s){s.d(t,{lY:()=>l,mT:()=>d});var i=s(59534),n=s(799),r=s(3330),o=s(34747);const a={TimeZoneNotRecognized:"Timezone identifier has not been recognized."};class c extends Error{constructor(e,t){super((0,n.HC)(a[e],t)),this.declaredRootClass="esri.arcade.arcadedate.dateerror",Error.captureStackTrace&&Error.captureStackTrace(this,c)}}function u(e,t,s){return e<t?e-t:e>s?e-s:0}function h(e,t,s){return e<t?t:e>s?s:e}class l{constructor(e){this._date=e,this.declaredRootClass="esri.arcade.arcadedate"}static fromParts(e=0,t=1,s=1,i=0,n=0,r=0,a=0,c){if(isNaN(e)||isNaN(t)||isNaN(s)||isNaN(i)||isNaN(n)||isNaN(r)||isNaN(a))return null;const m=o.c9.local(e,t).daysInMonth;let f=o.c9.fromObject({day:h(s,1,m),year:e,month:h(t,1,12),hour:h(i,0,23),minute:h(n,0,59),second:h(r,0,59),millisecond:h(a,0,999)},{zone:d(c)});return f=f.plus({months:u(t,1,12),days:u(s,1,m),hours:u(i,0,23),minutes:u(n,0,59),seconds:u(r,0,59),milliseconds:u(a,0,999)}),new l(f)}static get systemTimeZoneCanonicalName(){return Intl.DateTimeFormat().resolvedOptions().timeZone??"system"}static arcadeDateAndZoneToArcadeDate(e,t){const s=d(t);return e.isUnknownTimeZone||s===r.GB.instance?l.fromParts(e.year,e.monthJS+1,e.day,e.hour,e.minute,e.second,e.millisecond,s):new l(e._date.setZone(s))}static dateJSToArcadeDate(e){return new l(o.c9.fromJSDate(e,{zone:"system"}))}static dateJSAndZoneToArcadeDate(e,t="system"){const s=d(t);return new l(o.c9.fromJSDate(e,{zone:s}))}static unknownEpochToArcadeDate(e){return new l(o.c9.fromMillis(e,{zone:r.GB.instance}))}static unknownDateJSToArcadeDate(e){return new l(o.c9.fromMillis(e.getTime(),{zone:r.GB.instance}))}static epochToArcadeDate(e,t="system"){const s=d(t);return new l(o.c9.fromMillis(e,{zone:s}))}static dateTimeToArcadeDate(e){return new l(e)}clone(){return new l(this._date)}changeTimeZone(e){const t=d(e);return l.dateTimeToArcadeDate(this._date.setZone(t))}static dateTimeAndZoneToArcadeDate(e,t){const s=d(t);return e.zone===r.GB.instance||s===r.GB.instance?l.fromParts(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond,s):new l(e.setZone(s))}static nowToArcadeDate(e){const t=d(e);return new l(o.c9.fromJSDate(new Date,{zone:t}))}static nowUTCToArcadeDate(){return new l(o.c9.utc())}get isSystem(){return"system"===this.timeZone||this.timeZone===l.systemTimeZoneCanonicalName}equals(e){return this.isSystem&&e.isSystem?this.toNumber()===e.toNumber():this.isUnknownTimeZone===e.isUnknownTimeZone&&this._date.equals(e._date)}get isUnknownTimeZone(){return this._date.zone===r.GB.instance}get isValid(){return this._date.isValid}get hour(){return this._date.hour}get second(){return this._date.second}get day(){return this._date.day}get dayOfWeekISO(){return this._date.weekday}get dayOfWeekJS(){let e=this._date.weekday;return e>6&&(e=0),e}get millisecond(){return this._date.millisecond}get monthISO(){return this._date.month}get weekISO(){return this._date.weekNumber}get yearISO(){return this._date.weekYear}get monthJS(){return this._date.month-1}get year(){return this._date.year}get minute(){return this._date.minute}get zone(){return this._date.zone}get timeZoneOffset(){return this.isUnknownTimeZone?0:this._date.offset}get timeZone(){if(this.isUnknownTimeZone)return"unknown";if("system"===this._date.zone.type)return"system";const e=this.zone;return"fixed"===e.type?0===e.fixed?"UTC":e.formatOffset(0,"short"):e.name}stringify(){return JSON.stringify(this.toJSDate())}plus(e){return new l(this._date.plus(e))}diff(e,t){return this._date.diff(e._date,t)[t]}toISODate(){return this._date.toISODate()}toISOString(e){return e?this._date.toISO({suppressMilliseconds:!0,includeOffset:!this.isUnknownTimeZone}):this._date.toISO({includeOffset:!this.isUnknownTimeZone})}toISOTime(e,t){return this._date.toISOTime({suppressMilliseconds:e,includeOffset:t&&!this.isUnknownTimeZone})}toFormat(e,t){return this.isUnknownTimeZone&&(e=e.replaceAll("Z","")),this._date.toFormat(e,t)}toJSDate(){return this._date.toJSDate()}toSQLValue(){return this._date.toFormat("yyyy-LL-dd HH:mm:ss")}toSQLWithKeyword(){return`timestamp '${this.toSQLValue()}'`}toDateTime(){return this._date}toNumber(){return this._date.toMillis()}getTime(){return this._date.toMillis()}toUTC(){return new l(this._date.toUTC())}toLocal(){return new l(this._date.toLocal())}toString(){return this.toISOString(!0)}static fromReaderAsTimeStampOffset(e){if(!e)return null;const t=o.c9.fromISO(e,{setZone:!0});return new l(t)}}function d(e,t=!0){if(e instanceof o.bo)return e;switch((0,i.B)(e)){case"system":return"system";case"utc":return"UTC";case"unknown":return r.GB.instance}if(/^[+-]?[0-9]{1,2}(:[0-9]{2})?$/.test(e)){const t=o.mQ.parseSpecifier("UTC"+(e.startsWith("+")||e.startsWith("-")?"":"+")+e);if(t)return t}const s=o.oh.create(e);if(!s.isValid){if(t)throw new c("TimeZoneNotRecognized");return null}return s}},59534(e,t,s){s.d(t,{B:()=>n,b:()=>r});var i=s(85935);function n(e){return e.toLowerCase().replaceAll(/[\s-]+/g,"")}class r{constructor(e,t){const s=new Map;for(const t of e){const e=n(t);if(s.has(e))throw new Error(`${t} already added as ${s.get(e)}`);s.set(e,t)}if(null!=t)for(const[e,i]of t){const t=n(e);if(s.has(t))throw new Error(`${e} already associated with ${s.get(t)}`);s.set(t,i)}this._enumMap=s}lookup(e){return this._enumMap.get(n(e))}get(e){const t=this.lookup(e);if(null==t)throw new i.D$("InvalidParameter",null);return t}}},85935(e,t,s){s.d(t,{D$:()=>a,O$:()=>h,i2:()=>l,mT:()=>u,ps:()=>m});var i=s(799);const n={TypeNotAllowedInFeature:"Feature attributes only support dates, numbers, strings, guids.",LogicError:"Logic error - {reason}",CannotCompareDateAndTime:"Cannot compare date or dateonly with timeonly types",NeverReach:"Encountered unreachable logic",AsyncNotEnabled:"Async Arcade must be enabled for this script",ModuleAccessorMustBeString:"Module accessor must be a string",ModuleExportNotFound:"Module has no export with provided identifier",ModulesNotSupported:"Current profile does not support modules",ArrayAccessMustBeNumber:"Array accessor must be a number",FunctionNotFound:"Function not found",FieldNotFound:"Key not found - {key}",CircularModules:"Circular module dependencies are not allowed",Cancelled:"Execution cancelled",UnsupportedHashType:"Type not supported in hash function",IllegalResult:"Value is not a supported return type",PortalRequired:"Portal is required",InvalidParameter:"Invalid parameter",WrongNumberOfParameters:"Call with wrong number of parameters",Unrecognized:"Unrecognized code structure",UnrecognizedType:"Unrecognized type",WrongSpatialReference:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",BooleanConditionRequired:"Conditions must use booleans",NoFunctionInDictionary:"Dictionaries cannot contain functions.",NoFunctionInArray:"Arrays cannot contain functions.",NoFunctionInTemplateLiteral:"Template Literals do not expect functions by value.",KeyAccessorMustBeString:"Accessor must be a string",KeyMustBeString:"Object keys must be a string",Immutable:"Object is immutable",UnexpectedToken:"Unexpected token",MemberOfNull:"Cannot access property of null object",MaximumCallDepth:"Exceeded maximum function depth",OutOfBounds:"Out of bounds",InvalidIdentifier:"Identifier not recognized",CallNonFunction:"Expression is not a function",InvalidMemberAccessKey:"Cannot access value using a key of this type",AssignModuleFunction:"Cannot assign function to module variable",UnsupportUnaryOperator:"Unsupported unary operator",UnsupportedOperator:"Unsupported operator",LogicalExpressionOnlyBoolean:"Logical expressions must be boolean",LogicExpressionOrAnd:"Logical expression can only be combined with || or &&",CannotChangeTimeZoneTime:"Cannot change the timezone of a Time",CannotChangeTimeZoneDateOnly:"Cannot change the timezone of a DateOnly",FeatureSetDoesNotHaveSubtypes:"FeatureSet does not have subtypes"};function r(e){return"object"==typeof e&&"line"in e&&"column"in e&&"number"==typeof e.line&&"number"==typeof e.column}class o extends Error{constructor(e,t){super(c(t)+("object"==typeof e&&null!=e&&"message"in e?e.message:""),{cause:e}),this.loc=t?.loc??null}}class a extends Error{constructor(e,t,s){super("Execution error - "+c(t)+(0,i.HC)(n[e],s)),this.declaredRootClass="esri.arcade.arcadeexecutionerror",this.loc=t?.loc??null}}function c(e){return null==e?.loc?"":`Line ${e.loc.start.line}:${e.loc.start.column}: `}class u extends Error{constructor(e,t,s){super("Compilation error - "+c(t)+(0,i.HC)(n[e],s)),this.declaredRootClass="esri.arcade.arcadecompilationerror",this.loc=t?.loc??null}}class h extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror"}}function l(e,t){return!function(e){if(e instanceof Error&&"loc"in e){const t=e.loc;return null==t||"object"==typeof t&&"start"in t&&null!=t.start&&r(t.start)&&(!("end"in t)||null==t.end||r(t.end))}return!1}(e)||null==e.loc&&null!=t?.loc?new o(e,t):e}const d={UnrecognizedUri:"Unrecognized uri - {uri}",UnsupportedUriProtocol:"Unrecognized uri protocol"};class m extends Error{constructor(e,t){super((0,i.HC)(d[e],t)),this.declaredRootClass="esri.arcade.arcademoduleerror"}}},66344(e,t,s){s.d(t,{q:()=>a});const i=!!(0,s(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const s=this._db.get(e.id+t);return s?.size??0}put(e,t,s,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==s&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,s,n,0);if(void 0===s)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return i||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,s,0,0);const c=1+Math.max(o,-4)- -3;this._db.set(t,new r(s,n,c)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const s=this._db.get(t);if(!s)return;this._size-=s.size,e.size-=s.size;let i=s.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,s.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}s.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const s=this._db.get(t);if(s)return this._size-=s.size,e.size-=s.size,this._db.delete(t),++this._hit,s.entry;++this._miss}get(e,t){t=e.id+t;const s=this._db.get(t);if(void 0!==s)return this._db.delete(t),s.lives=s.lifetime,this._db.set(t,s),++this._hit,s.entry;++this._miss}peek(e,t){const s=this._db.get(e.id+t);return s?++this._hit:++this._miss,s?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},s=new Array;this._db.forEach((e,i)=>{const n=e.lifetime;s[n]=(s[n]||0)+e.size,this._clients.forEach(s=>{const{id:n,name:r}=s;if(i.startsWith(n)){const s=t[r]||0;t[r]=s+e.size}})});const i={};this._clients.forEach(e=>{const s=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[s]||0;t[s]=n,i[s]=Math.round(100*e.hitRate)+"%"}else i[s]="0%"});const n=Object.keys(t);n.sort((e,s)=>t[s]-t[e]),n.forEach(s=>e[s]=Math.round(t[s]/2**20)+"MB / "+i[s]);for(let t=s.length-1;t>=0;--t){const i=s[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,s)=>{s.startsWith(t)&&(this._size-=e.size,this._db.delete(s),this._notifyRemove(s,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,s]of this._db)t.startsWith(e.id)&&(yield s.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,s,i){const n=this._clients.get(e.split(o)[0])?.removeFunc,r=n?.(t,i,s);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const s=t??this;if(s.size<=e)return;const i=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!i||r.startsWith(i))){const i=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,a,i),s.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!i||n.startsWith(i)){const i=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,r,i),s.size<=.9*e)return}}_purgeItem(e,t,s){if(this._db.delete(e),t.lives<=1){this._size-=t.size,s&&(s.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,s&&(s.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,s){this.entry=e,this.size=t,this.lifetime=s,this.lives=s}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,s=1){this._storage.put(this,e,t,s,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},44729(e,t,s){s.d(t,{n:()=>c});var i=s(66131),n=s(73444),r=s(34747);function o(e){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let t="";const s=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;for(const i of e.match(s)||[])switch(i){case"D":t+="d";break;case"DD":t+="dd";break;case"DDD":t+="o";break;case"d":t+="c";break;case"ddd":t+="ccc";break;case"dddd":t+="cccc";break;case"M":t+="L";break;case"MM":t+="LL";break;case"MMM":t+="LLL";break;case"MMMM":t+="LLLL";break;case"YY":t+="yy";break;case"Y":case"YYYY":t+="yyyy";break;case"Q":t+="q";break;case"X":case"x":t+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?t+=`'${i.slice(1,-1)}'`:t+=`'${i}'`}return t}const a="esri.core.sql.dateonly";class c{constructor(e,t,s){this._year=e,this._month=t,this._day=s,this.declaredRootClass=a}static isDateOnly(e){return"object"==typeof e&&null!=e&&"declaredRootClass"in e&&e.declaredRootClass===a}get month(){return this._month}get monthJS(){return this._month-1}get year(){return this._year}get day(){return this._day}get isValid(){return this.toDateTime("unknown").isValid}equals(e){return c.isDateOnly(e)&&e.day===this.day&&e.month===this.month&&e.year===this.year}compare(e){return this.year===e.year?this.month===e.month?this.day-e.day:this.month-e.month:this.year-e.year}clone(){return new c(this._year,this._month,this._day)}toDateTime(e){return r.c9.fromObject({day:this.day,month:this.month,year:this.year},{zone:(0,i.mT)(e)})}toDateTimeLuxon(e){return r.c9.fromObject({day:this.day,month:this.month,year:this.year},{zone:(0,i.mT)(e)})}toString(){return`${this.year.toString().padStart(4,"0")}-${this.month.toString().padStart(2,"0")}-${this.day.toString().padStart(2,"0")}`}toFormat(e=null,t=!0){if(null===e||""===e)return this.toString();if(t&&(e=o(e)),!e)return"";const s=this.toDateTime("unknown");return i.lY.dateTimeToArcadeDate(s).toFormat(e,{locale:(0,n.JK)(),numberingSystem:"latn"})}toArcadeDate(){const e=this.toDateTime("unknown");return i.lY.dateTimeToArcadeDate(e)}toNumber(){return this.toDateTime("unknown").toMillis()}toJSDate(){return this.toDateTime("unknown").toJSDate()}toStorageFormat(){return this.toFormat("yyyy-LL-dd",!1)}toSQLValue(){return this.toFormat("yyyy-LL-dd",!1)}toSQLWithKeyword(){return"date '"+this.toFormat("yyyy-LL-dd",!1)+"'"}plus(e,t){return c.fromDateTime(this.toUTCDateTime().plus({[e]:t}))}toUTCDateTime(){return r.c9.utc(this.year,this.month,this.day,0,0,0,0)}difference(e,t){switch(t.toLowerCase()){case"days":case"day":case"d":return this.toUTCDateTime().diff(e.toUTCDateTime(),"days").days;case"months":case"month":return this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months;case"minutes":case"minute":case"m":return"M"===t?this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months:this.toUTCDateTime().diff(e.toUTCDateTime(),"minutes").minutes;case"seconds":case"second":case"s":return this.toUTCDateTime().diff(e.toUTCDateTime(),"seconds").seconds;case"milliseconds":case"millisecond":case"ms":default:return this.toUTCDateTime().diff(e.toUTCDateTime(),"milliseconds").milliseconds;case"hours":case"hour":case"h":return this.toUTCDateTime().diff(e.toUTCDateTime(),"hours").hours;case"years":case"year":case"y":return this.toUTCDateTime().diff(e.toUTCDateTime(),"years").years}}static fromMilliseconds(e){const t=r.c9.fromMillis(e,{zone:r.mQ.utcInstance});return t.isValid?c.fromParts(t.year,t.month,t.day):null}static fromSeconds(e){const t=r.c9.fromSeconds(e,{zone:r.mQ.utcInstance});return t.isValid?c.fromParts(t.year,t.month,t.day):null}static fromReader(e){if(!e)return null;const t=e.indexOf("-");if(t<0)return null;const s=e.indexOf("-",t+1);return s<0?null:new c(parseInt(e.slice(0,t),10),parseInt(e.slice(t+1,s),10),parseInt(e.slice(s+1),10))}static fromParts(e,t,s){const i=new c(e,t,s);return!1===i.isValid?null:i}static fromDateJS(e){return c.fromParts(e.getFullYear(),e.getMonth()+1,e.getDay())}static fromDateTime(e){return c.fromParts(e.year,e.month,e.day)}static fromSqlTimeStampOffset(e){return this.fromDateTime(e.toDateTime())}static fromString(e,t=null){if(""===e)return null;if(null===e)return null;const s=[];if(t)(t=o(t))&&s.push(t);else if(null===t||""===t){const t=r.c9.fromISO(e,{setZone:!0});return t.isValid?c.fromParts(t.year,t.month,t.day):null}for(const i of s){const s=r.c9.fromFormat(e,t??i);if(s.isValid)return new c(s.year,s.month,s.day)}return null}static fromNow(e="system"){const t=r.c9.fromJSDate(new Date).setZone((0,i.mT)(e));return new c(t.year,t.month,t.day)}}},15032(e,t,s){s.d(t,{k:()=>c});var i=s(73444),n=s(54218),r=s(34747);function o(e){if(!e)return"";const t=/(a|A|hh?|HH?|mm?|ss?|SSS|S|.)/g;let s="";for(const i of e.match(t)||[])switch(i){case"SSS":case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":s+=i;break;case"A":case"a":s+="a";break;default:s+=`'${i}'`}return s}const a="esri.core.sql.timeonly";class c{constructor(e,t,s,i){this._hour=e,this._minute=t,this._second=s,this._millisecond=i,this.declaredRootClass=a}static isTimeOnly(e){return"object"==typeof e&&null!=e&&"declaredRootClass"in e&&e.declaredRootClass===a}get hour(){return this._hour}get minute(){return this._minute}get second(){return this._second}get millisecond(){return this._millisecond}equals(e){return c.isTimeOnly(e)&&e.hour===this.hour&&e.minute===this.minute&&e.second===this.second&&e.millisecond===this.millisecond}clone(){return new c(this.hour,this.minute,this.second,this.millisecond)}isValid(){return(0,n.Fq)(this.hour)&&(0,n.Fq)(this.minute)&&(0,n.Fq)(this.second)&&(0,n.Fq)(this.millisecond)&&this.hour>=0&&this.hour<24&&this.minute>=0&&this.minute<60&&this.second>=0&&this.second<60&&this.millisecond>=0&&this.millisecond<1e3}toString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}:${this.second.toString().padStart(2,"0")}`+(this.millisecond>0?"."+this.millisecond.toString().padStart(3,"0"):"")}toSQLValue(){return this.toString()}toSQLWithKeyword(){return`time '${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}:${this.second.toString().padStart(2,"0")}${this.millisecond>0?"."+this.millisecond.toString().padStart(3,"0"):""}'`}toStorageString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}:${this.second.toString().padStart(2,"0")}`}toFormat(e=null){return null===e||""===e?this.toString():(e=o(e))?r.c9.local(1970,1,1,this._hour,this._minute,this._second,this._millisecond).toFormat(e,{locale:(0,i.JK)(),numberingSystem:"latn"}):""}toNumber(){return this.millisecond+1e3*this.second+1e3*this.minute*60+60*this.hour*60*1e3}static fromParts(e,t,s,i){const n=new c(e,t,s,i);return n.isValid()?n:null}static fromReader(e){if(!e)return null;const t=e.indexOf(":");if(t<0)return null;const s=e.indexOf(":",t+1);return s<0?null:new c(parseInt(e.slice(0,t),10),parseInt(e.slice(t+1,s),10),parseInt(e.slice(s+1),10),0)}static fromMilliseconds(e){if(e>864e5||e<0)return null;const t=Math.floor(e/1e3%60),s=Math.floor(e/6e4%60),i=Math.floor(e/36e5%24),n=Math.floor(e%1e3);return new c(i,s,t,n)}static fromDateJS(e){return new c(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}static fromDateTime(e){return new c(e.hour,e.minute,e.second,e.millisecond)}static fromSqlTimeStampOffset(e){return this.fromDateTime(e.toDateTime())}static fromString(e,t=null){if(""===e)return null;if(null===e)return null;const s=[];t?(t=o(t))&&s.push(t):null!==t&&""!==t||(s.push("HH:mm:ss"),s.push("HH:mm:ss.SSS"),s.push("hh:mm:ss a"),s.push("hh:mm:ss.SSS a"),s.push("HH:mm"),s.push("hh:mm a"),s.push("H:mm"),s.push("h:mm a"),s.push("H:mm:ss"),s.push("h:mm:ss a"),s.push("H:mm:ss.SSS"),s.push("h:mm:ss.SSS a"));for(const t of s){const s=r.c9.fromFormat(e,t);if(s.isValid)return new c(s.hour,s.minute,s.second,s.millisecond)}return null}plus(e,t){switch(e){case"days":case"years":case"months":return this.clone();case"hours":case"minutes":case"seconds":case"milliseconds":return c.fromDateTime(this.toUTCDateTime().plus({[e]:t}))}return null}toUTCDateTime(){return r.c9.utc(1970,1,1,this.hour,this.minute,this.second,this.millisecond)}difference(e,t){switch(t.toLowerCase()){case"days":case"day":case"d":return this.toUTCDateTime().diff(e.toUTCDateTime(),"days").days;case"months":case"month":return this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months;case"minutes":case"minute":case"m":return"M"===t?this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months:this.toUTCDateTime().diff(e.toUTCDateTime(),"minutes").minutes;case"seconds":case"second":case"s":return this.toUTCDateTime().diff(e.toUTCDateTime(),"seconds").seconds;case"milliseconds":case"millisecond":case"ms":default:return this.toUTCDateTime().diff(e.toUTCDateTime(),"milliseconds").milliseconds;case"hours":case"hour":case"h":return this.toUTCDateTime().diff(e.toUTCDateTime(),"hours").hours;case"years":case"year":case"y":return this.toUTCDateTime().diff(e.toUTCDateTime(),"years").years}}}},44123(e,t,s){s.d(t,{WhereClauseCache:()=>r});var i=s(66344),n=s(89696);class r{constructor(e,t){this._cache=new i.q(e),this._invalidCache=new i.q(t)}get(e,t){const s=`${t?.uid}:${e}`,i=this._cache.get(s);if(i)return i;if(null!=this._invalidCache.get(s))return null;try{const i=n.A.create(e,{fieldsIndex:t});return this._cache.put(s,i),i}catch(e){return this._invalidCache.put(s,e),null}}getError(e,t){const s=`${t?.uid}:${e}`;return this._invalidCache.get(s)??null}}},73444(e,t,s){s.d(t,{JK:()=>c,Ml:()=>g,QC:()=>l,lR:()=>h,oQ:()=>f});var i=s(36563);let n;s(44208);const r=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return r??e??t??"en"}function c(){return void 0===n&&(n=a()),n}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function h(e=c()){return d(e)?.language}function l(e=c()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=c()){return u.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,i.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const y=[];function g(e){return y.push(e),(0,i.hA)(()=>y.splice(y.indexOf(e),1))}function p(){const e=a();n!==e&&([...y].forEach(t=>t(e)),n=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",p),o&&new MutationObserver(()=>{p()}).observe(o,{attributeFilter:["lang"]})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7982],{27982(e,a,r){r.r(a),r.d(a,{fromUrl:()=>d,isGaussianSplat3DTilesUrl:()=>h});var t=r(49186),n=r(84952),s=r(60694),l=r(92009),i=r(23154),o=r(2976),c=r(77548),u=r(7861);const y={FeatureLayer:!0,SceneLayer:!0,VideoLayer:!0};async function d(e){const{properties:a,url:o}=e,d={...a,url:o},p=await async function(e,a){let r=(0,s.qg)(e);if(null==r&&(r=await async function(e,a){const r=await(0,u.L)(e,{customParameters:a});let t=null,l=null;const i=r.type;if("Feature Layer"===i||"Table"===i?(t="FeatureServer",l=r.id??null):"indexedVector"===i?t="VectorTileServer":r.hasOwnProperty("mapName")?t="MapServer":r.hasOwnProperty("bandCount")&&r.hasOwnProperty("pixelSizeX")?t="ImageServer":r.hasOwnProperty("maxRecordCount")&&r.hasOwnProperty("allowGeometryUpdates")?t="FeatureServer":r.hasOwnProperty("streamUrls")?t="StreamServer":w(r)?(t="SceneServer",l=r.id):r.hasOwnProperty("layers")&&w(r.layers?.[0])&&(t="SceneServer"),!t)return null;const o=null!=l?(0,s.iz)(e):null;return{title:null!=o&&r.name||(0,n.e7)(e),serverType:t,sublayer:l,url:{path:null!=o?o.serviceUrl:(0,n.An)(e).path}}}(e,a)),null==r)throw new t.A("arcgis-layers:url-mismatch","The url '${url}' is not a valid arcgis resource",{url:e});const{serverType:o,sublayer:d}=r;let f;const m={FeatureServer:"FeatureLayer",KnowledgeGraphServer:"KnowledgeGraphLayer",StreamServer:"StreamLayer",VectorTileServer:"VectorTileLayer",VideoServer:"VideoLayer"},p="FeatureServer"===o,b="SceneServer"===o,S={parsedUrl:r,Constructor:null,layerId:p||b?d??void 0:void 0,layers:[],tables:[]};switch(o){case"MapServer":if(null!=d){const{type:r}=await(0,u.L)(e,{customParameters:a});switch(f="FeatureLayer",r){case"Annotation Layer":f="AnnotationFeatureLayer";break;case"Dimension Layer":f="DimensionFeatureLayer";break;case"Catalog Layer":f="CatalogLayer";break;case"Annotation SubLayer":case"Catalog Dynamic Group Layer":throw new t.A("arcgis-layers:unsupported",`fromUrl() does not support "${r}" type`)}}else f=await async function(e,a){return(await(0,u.L)(e,{customParameters:a})).tileInfo}(e,a)?"TileLayer":"MapImageLayer";break;case"ImageServer":{const r=await(0,u.L)(e,{customParameters:a}),{tileInfo:t,cacheType:n}=r;f=t?"LERC"!==t?.format?.toUpperCase()||n&&"elevation"!==n.toLowerCase()?"ImageryTileLayer":"ElevationLayer":"ImageryLayer";break}case"SceneServer":{const e=await(0,u.L)(r.url.path,{customParameters:a});if(f="SceneLayer",e){const a=e?.layers;if("Voxel"===e?.layerType)f="VoxelLayer";else if(a?.length){const e=a[0]?.layerType;null!=e&&null!=c.XX[e]&&(f=c.XX[e])}}break}case"3DTilesServer":f=await h(e,a)?"GaussianSplatLayer":"IntegratedMesh3DTilesLayer";break;case"FeatureServer":if(f="FeatureLayer",null!=d){const r=await(0,u.L)(e,{customParameters:a});S.sourceJSON=r,S.preferredUrl=(0,c.$x)();const n=(0,i.Jo)(r.type);if(!n)throw new t.A("arcgis-layers:unsupported",`fromUrl() does not support "${r.type}" type`);f=n}break;default:f=m[o]}if(y[f]&&null==d){const r=await async function(e,a,r){let t,n,s,o,y;switch(a){case"FeatureServer":{const a=await(0,i.QM)(e,{customParameters:r});s=(0,c.$x)(e,{preferredHost:a.preferredHost});const n=!!a.layersJSON,l=a.layersJSON||a.serviceJSON;o=n?l?.layers:[],y=n?l?.tables:[],t=l;break}case"SceneServer":{const a=await async function(e,a){const r=await(0,u.L)(e,{customParameters:a}),t=r.layers?.[0];if(!t)return{serviceInfo:r};try{const{serverUrl:t}=await(0,l.L)(e),n=await(0,u.L)(t,{customParameters:a}).catch(()=>null);return n&&(r.tables=n.tables),{serviceInfo:r,tableServerUrl:t}}catch{return{serviceInfo:r}}}(e,r);t=a.serviceInfo,n=a.tableServerUrl;break}default:t=await(0,u.L)(e,{customParameters:r})}return{preferredUrl:s,layers:t?.layers?.map(e=>({id:e.id})).reverse()||[],tables:t?.tables?.map(e=>({serverUrl:n,id:e.id})).reverse()||[],layerInfos:o,tableInfos:y}}(e,o,a),n=r.layers.length+r.tables.length;if(p){if(0===n)throw new t.A("arcgis-layers:no-data",`The feature service '${e}' does not have any supported layers or tables`);S.preferredUrl=r.preferredUrl,S.layerInfos=r.layerInfos,S.tableInfos=r.tableInfos}if(1!==n)S.layers=r.layers,S.tables=r.tables,p&&r.layerInfos?.length&&(S.sublayerConstructorProvider=await async function(e){if(!e.length)return;const a=new Set,r=[];for(const{type:t}of e)a.has(t)||(a.add(t),r.push(L((0,i.Jo)(t))));const t=await Promise.all(r),n=new Map;return Array.from(a).forEach((e,a)=>{n.set(e,t[a])}),e=>n.get(e.type)}(r.layerInfos));else if(p||b){const e=r.layerInfos?.[0]??r.tableInfos?.[0];S.layerId=r.layers[0]?.id??r.tables[0]?.id,S.sourceJSON=e,p&&(f=(0,i.Jo)(e?.type))}}return S.Constructor=await L(f),S}(o,a?.customParameters),{Constructor:b,layerId:S,sourceJSON:v,parsedUrl:P,layers:g,tables:I}=p;if(g.length+I.length===0)return null!=S&&(d.layerId=S),null!=v&&(d.sourceJSON=v),new b(d);const T=new(0,(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9866),r.e(6569)]).then(r.bind(r,85989))).default)({title:P.title});return await async function(e,a,r){const t=a.sublayerConstructorProvider;for(const{id:n,serverUrl:s}of a.layers){const l=f(a.layerInfos,n),i=m(s,n,l,(l&&t?.(l))??a.Constructor,r);e.add(i)}if(a.tables.length){const t=await L("FeatureLayer");a.tables.forEach(({id:n,serverUrl:s})=>{const l=m(s,n,f(a.tableInfos,n),t,r);e.tables.add(l)})}}(T,p,d),T}function f(e,a){return e?e.find(({id:e})=>e===a):null}function m(e,a,r,t,n){const s={...n,layerId:a};return null!=e&&(s.url=e),null!=r&&(s.sourceJSON=r),"sublayerTitleMode"in t.prototype&&(s.sublayerTitleMode="service-name"),new t(s)}function w(e){return null!=e&&e.hasOwnProperty("store")&&e.hasOwnProperty("id")&&"number"==typeof e.id}async function L(e){return(0,o.U[e])()}async function h(e,a){const r=await(0,u.L)(e,{customParameters:a}),t=r.extensions?.["3DTILES_content_gltf"];return!0===t?.extensionsRequired?.includes("KHR_gaussian_splatting")}},92009(e,a,r){r.d(a,{L:()=>u});var t=r(70333),n=r(11254),s=r(49186),l=r(17676),i=r(60694),o=r(20655),c=r(80812);async function u(e,a){const r=(0,i.qg)(e);if(!r)throw new s.A("invalid-url","Invalid scene service url");const u={...a,sceneServerUrl:r.url.path,layerId:r.sublayer??void 0};if(u.sceneLayerItem??=await async function(e){const a=(await y(e)).serviceItemId;if(!a)return null;const r=new c.default({id:a,apiKey:e.apiKey}),s=await async function(e){const a=t.id?.findServerInfo(e.sceneServerUrl);if(a?.owningSystemUrl)return a.owningSystemUrl;const r=e.sceneServerUrl.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const a=(await(0,n.A)(r,{query:{f:"json"},responseType:"json",signal:e.signal})).data.owningSystemUrl;if(a)return a}catch(e){(0,l.QP)(e)}return null}(e);null!=s&&(r.portal=new o.A({url:s}));try{return await r.load({signal:e.signal})}catch(e){return(0,l.QP)(e),null}}(u),null==u.sceneLayerItem)return d(u.sceneServerUrl.replace("/SceneServer","/FeatureServer"),u);const f=await async function({sceneLayerItem:e,signal:a}){if(!e)return null;try{const r=(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:a})).find(e=>"Feature Service"===e.type)||null;if(!r)return null;const t=new c.default({portal:r.portal,id:r.id});return await t.load(),t}catch(e){return(0,l.QP)(e),null}}(u);if(!f?.url)throw new s.A("related-service-not-found","Could not find feature service through portal item relationship");u.featureServiceItem=f;const m=await d(f.url,u);return m.portalItem=f,m}async function y(e){if(e.rootDocument)return e.rootDocument;const a={query:{f:"json",...e.customParameters,token:e.apiKey},responseType:"json",signal:e.signal};try{const r=await(0,n.A)(e.sceneServerUrl,a);e.rootDocument=r.data}catch{e.rootDocument={}}return e.rootDocument}async function d(e,a){const r=(0,i.qg)(e);if(!r)throw new s.A("invalid-feature-service-url","Invalid feature service url");const t=r.url.path,l=a.layerId;if(null==l)return{serverUrl:t};const o=y(a),c=a.featureServiceItem?await a.featureServiceItem.fetchData("json"):null,u=(c?.layers?.[0]||c?.tables?.[0])?.customParameters,d=e=>{const r={query:{f:"json",...u},responseType:"json",authMode:e,signal:a.signal};return(0,n.A)(t,r)},f=d("anonymous").catch(()=>d("no-prompt")),[m,w]=await Promise.all([f,o]),L=w?.layers,h=m.data&&m.data.layers;if(!Array.isArray(h))throw new Error("expected layers array");if(Array.isArray(L)){for(let e=0;e<Math.min(L.length,h.length);e++)if(L[e].id===l)return{serverUrl:t,layerId:h[e].id}}else if(null!=l&&l<h.length)return{serverUrl:t,layerId:h[l].id};throw new Error("could not find matching associated sublayer")}},23154(e,a,r){r.d(a,{A6:()=>i,Aq:()=>w,Jo:()=>m,QM:()=>l});var t=r(77548),n=r(7861);const s=new Set(["Annotation Layer","Catalog Layer","Dimension Layer","Feature Layer","Oriented Imagery Layer"]);async function l(e,a){const{serviceJSON:r,layersJSON:t,...n}=await i(e,a);u(r);const s={serviceJSON:r,...n};return t&&(u(t),s.layersJSON=t),s}async function i(e,a){const{loadContext:r,...s}=a||{},l=r?await r.fetchServiceMetadata(e,s):await(0,n.L)(e,s),i=(0,t.G$)();f(l);const o={serviceJSON:l,preferredHost:i};if((l.currentVersion??0)<10.5)return o;const c=`${(0,t.$x)()??e}/layers`,u=r?await r.fetchServiceMetadata(c,s):await(0,n.L)(c,s);return f(u),o.layersJSON={layers:u.layers,tables:u.tables},o}function o(e){return s.has(e.type)}function c(e){return"Table"===e.type}function u(e){e.layers=e.layers?.filter(o),e.tables=e.tables?.filter(c)}function y(e){e.type||="Feature Layer"}function d(e){e.type||="Table"}function f(e){e.layers?.forEach(y),e.tables?.forEach(d)}function m(e){if(!e)return"FeatureLayer";switch(e){case"Feature Layer":case"Table":return"FeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"DimensionFeatureLayer";case"Annotation Layer":return"AnnotationFeatureLayer"}return null}function w(e,a){if(!e)return a?"Table":"ArcGISFeatureLayer";switch(e){case"Annotation Layer":return"ArcGISAnnotationLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"ArcGISDimensionLayer";case"Feature Layer":return"ArcGISFeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Parcel Layer":return"ParcelLayer";case"Table":return"Table";case"Topology Layer":return"TopologyLayer";case"Trace Network Layer":return"TraceNetworkLayer";case"Utility Network Layer":return"UtilityNetworkLayer";default:return null}}},2976(e,a,r){const t={AnnotationFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(2889),r.e(4676),r.e(4674),r.e(2718),r.e(1954)]).then(r.bind(r,20737))).default,BingMapsLayer:async()=>(await Promise.all([r.e(8278),r.e(7865),r.e(6554),r.e(6684)]).then(r.bind(r,17029))).default,BuildingSceneLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(7005),r.e(9918),r.e(1427),r.e(2754),r.e(7120)]).then(r.bind(r,82411))).default,CSVLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(3813)]).then(r.bind(r,68695))).default,CatalogLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(9789),r.e(4674),r.e(893),r.e(2718),r.e(7013),r.e(7067),r.e(7925)]).then(r.bind(r,83508))).default,DimensionFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(2889),r.e(4676),r.e(4674),r.e(2718),r.e(3376)]).then(r.bind(r,25077))).default,DimensionLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(6619)]).then(r.bind(r,71493))).default,ElevationLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(8732),r.e(3885)]).then(r.bind(r,38732))).default,FeatureLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(3075)]).then(r.bind(r,53781))).default,GaussianSplatLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(765),r.e(6475)]).then(r.bind(r,36475))).default,GeoJSONLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(903)]).then(r.bind(r,15481))).default,GeoRSSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2363)]).then(r.bind(r,63201))).default,GroupLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9866),r.e(6569)]).then(r.bind(r,85989))).default,ImageryLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(893),r.e(5130),r.e(3690),r.e(7772),r.e(8768)]).then(r.bind(r,87772))).default,ImageryTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(5130),r.e(373),r.e(3690),r.e(9235),r.e(3500),r.e(1003),r.e(2806),r.e(7870)]).then(r.bind(r,90124))).default,IntegratedMesh3DTilesLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(765),r.e(8325),r.e(9544)]).then(r.bind(r,61528))).default,IntegratedMeshLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(765),r.e(1427),r.e(8325),r.e(7464)]).then(r.bind(r,74660))).default,KMLLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(1214),r.e(5051),r.e(4473),r.e(7339)]).then(r.bind(r,162))).default,KnowledgeGraphLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(9696),r.e(359),r.e(6390),r.e(3902),r.e(4720),r.e(4934),r.e(8692)]).then(r.bind(r,28692))).default,LineOfSightLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(3730),r.e(9695)]).then(r.bind(r,49695))).default,LinkChartLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(9696),r.e(359),r.e(6390),r.e(3902),r.e(4720),r.e(4934),r.e(3309)]).then(r.bind(r,93309))).default,MapImageLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(4674),r.e(893),r.e(8470),r.e(1474)]).then(r.bind(r,7656))).default,MapNotesLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(4720),r.e(2469)]).then(r.bind(r,96299))).default,MediaLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(6963),r.e(182)]).then(r.bind(r,90182))).default,OGCFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9918),r.e(5977)]).then(r.bind(r,65977))).default,OpenStreetMapLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(919),r.e(349)]).then(r.bind(r,40349))).default,OrientedImageryLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(6854)]).then(r.bind(r,16852))).default,ParquetLayer:async()=>(await Promise.all([r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(3819),r.e(7320),r.e(8419)]).then(r.bind(r,99680))).default,PointCloudLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(7984),r.e(7515)]).then(r.bind(r,77885))).default,RouteLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(564),r.e(2869),r.e(3910),r.e(1214),r.e(5051),r.e(4473),r.e(1099)]).then(r.bind(r,39622))).default,SceneLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2292),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(7005),r.e(9918),r.e(1427),r.e(2754),r.e(1086)]).then(r.bind(r,2e4))).default,StreamLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(8593)]).then(r.bind(r,79457))).default,SubtypeGroupLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(2889),r.e(4676),r.e(9789),r.e(4674),r.e(2718),r.e(4451)]).then(r.bind(r,97483))).default,TileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(4674),r.e(893),r.e(8470),r.e(6200)]).then(r.bind(r,71756))).default,UnknownLayer:async()=>(await Promise.all([r.e(9917),r.e(3928)]).then(r.bind(r,146))).default,UnsupportedLayer:async()=>(await Promise.all([r.e(9917),r.e(2819)]).then(r.bind(r,45165))).default,VectorTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(7886),r.e(7821)]).then(r.bind(r,50638))).default,VideoLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(3910),r.e(4674),r.e(6963),r.e(449)]).then(r.bind(r,86875))).default,ViewshedLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(3730),r.e(6650)]).then(r.bind(r,96650))).default,VoxelLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(4443)]).then(r.bind(r,21005))).default,WCSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(5130),r.e(373),r.e(3690),r.e(9235),r.e(3500),r.e(2806),r.e(2061)]).then(r.bind(r,20521))).default,WFSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(5411)]).then(r.bind(r,21901))).default,WMSLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(2869),r.e(3910),r.e(417)]).then(r.bind(r,51904))).default,WMTSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(919),r.e(309)]).then(r.bind(r,20309))).default,WebTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(919)]).then(r.bind(r,47314))).default};r.d(a,["U",0,t])},7861(e,a,r){r.d(a,{L:()=>n});var t=r(11254);async function n(e,a){return(await(0,t.A)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[353],{61691(e,t,s){s.d(t,{G:()=>m});class m{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},12189(e,t,s){s.d(t,{queryTransformationList:()=>m.z}),s(55537),s(83661);var m=s(39117)},76061(e,t,s){s.d(t,{S:()=>i});var m=s(61691);class i extends m.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[353],{61691(e,t,s){s.d(t,{G:()=>m});class m{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},12189(e,t,s){s.d(t,{queryTransformationList:()=>m.B}),s(55537),s(83661);var m=s(39117)},76061(e,t,s){s.d(t,{S:()=>i});var m=s(61691);class i extends m.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7464],{74660(e,t,i){i.r(t);var o=i(32198),r=i(69540),n=i(49186),s=i(53966),a=i(25728),l=i(17676),d=i(36708),p=i(91429),y=i(87024),h=i(4146),c=i(52136),u=i(18768),g=i(69208),f=i(34287),m=i(8303),v=i(25036),w=i(58947),S=i(10873),M=i(50805),_=i(58325),C=i(24212),I=i(97159),b=i(36005);let L=class extends((0,w.w6)((0,u.b)((0,f.q)((0,m.A)((0,v.j)((0,a.M)((0,g.d)((0,c.p)((0,r.OU)(h.A)))))))))){constructor(...e){super(...e),this.geometryType="mesh",this.operationalLayerType="IntegratedMeshLayer",this.type="integrated-mesh",this.nodePages=null,this.materialDefinitions=null,this.textureSetDefinitions=null,this.geometryDefinitions=null,this.serviceUpdateTimeStamp=null,this.profile="mesh-pyramids",this.modifications=null,this._modificationsSource=null,this.path=null,this.definitionExpression=null}initialize(){this.addHandles((0,d.on)(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,d.OH))}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}readModifications(e,t,i){this._modificationsSource={url:(0,I.f)(e,i),context:i}}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const t=e?.signal;try{await this.loadFromPortal({supportedTypes:["Scene Service"]},e)}catch(e){(0,l.QP)(e)}if(await this._fetchService(t),null!=this._modificationsSource){const t=await _.A.fromUrl(this._modificationsSource.url,this.spatialReference,e);this.setAtOrigin("modifications",t,this._modificationsSource.context.origin),this._modificationsSource=null}await this._fetchIndexAndUpdateExtent(this.nodePages,t)}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},()=>{})}async saveAs(e,t){return this._debouncedSaveOperations(1,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"integrated-mesh"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"integrated-mesh"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(e.layerType&&"IntegratedMesh"!==e.layerType)throw new n.A("integrated-mesh-layer:layer-type-not-supported","IntegratedMeshLayer does not support this layer type",{layerType:e.layerType});if(isNaN(this.version.major)||isNaN(this.version.minor))throw new n.A("layer:service-version-not-supported","Service version is not supported.",{serviceVersion:this.version.versionString,supportedVersions:"1.x"});if(this.version.major>1)throw new n.A("layer:service-version-too-new","Service version is too new.",{serviceVersion:this.version.versionString,supportedVersions:"1.x"})}_getTypeKeywords(){return["IntegratedMeshLayer"]}_validateElevationInfo(e){const t="Integrated mesh layers";(0,C.XF)(s.A.getLogger(this),(0,C.B)(t,"absolute-height",e)),(0,C.XF)(s.A.getLogger(this),(0,C.tW)(t,e))}};(0,o.Cg)([(0,p.MZ)({type:String,readOnly:!0})],L.prototype,"geometryType",void 0),(0,o.Cg)([(0,p.MZ)({type:["show","hide"]})],L.prototype,"listMode",void 0),(0,o.Cg)([(0,p.MZ)({type:["IntegratedMeshLayer"]})],L.prototype,"operationalLayerType",void 0),(0,o.Cg)([(0,p.MZ)({json:{read:!1},readOnly:!0})],L.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:M.W4,readOnly:!0,clonable:!1})],L.prototype,"nodePages",void 0),(0,o.Cg)([(0,p.MZ)({type:[M.uV],readOnly:!0,clonable:!1})],L.prototype,"materialDefinitions",void 0),(0,o.Cg)([(0,p.MZ)({type:[M.Ot],readOnly:!0,clonable:!1})],L.prototype,"textureSetDefinitions",void 0),(0,o.Cg)([(0,p.MZ)({type:[M.L0],readOnly:!0,clonable:!1})],L.prototype,"geometryDefinitions",void 0),(0,o.Cg)([(0,p.MZ)({readOnly:!0})],L.prototype,"serviceUpdateTimeStamp",void 0),(0,o.Cg)([(0,p.MZ)({type:_.A,clonable:e=>e?.clone()??e}),(0,y.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],L.prototype,"modifications",void 0),(0,o.Cg)([(0,p.MZ)({clonable:e=>e?{...e}:null})],L.prototype,"_modificationsSource",void 0),(0,o.Cg)([(0,b.w)(["web-scene","portal-item"],"modifications")],L.prototype,"readModifications",null),(0,o.Cg)([(0,p.MZ)(S.Yj)],L.prototype,"elevationInfo",null),(0,o.Cg)([(0,p.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],L.prototype,"path",void 0),L=(0,o.Cg)([(0,p.$K)("esri.layers.IntegratedMeshLayer")],L);const T=L;i.d(t,["default",0,T])},73179(e,t,i){i.d(t,{b:()=>l,h:()=>d});var o=i(4718),r=i(53966),n=i(84952),s=i(60694),a=i(10873);function l(e){const{nonStandardUrlAllowed:t=!1,separator:i}=e??{},n=(0,o.o8)(a.OZ),l=n.json?.write;return"object"==typeof l&&l&&(l.writer=function(e,t,o,r){(0,s.LS)(this,e,i,t,r)}),{...n,set:function(e){if(null==e)return void this._set("url",e);const i=(0,s.HZ)({layer:this,url:e,nonStandardUrlAllowed:t,logger:r.A.getLogger(this)});this._set("url",i.url),null!=i.layerId&&this._set("layerId",i.layerId)}}}function d(e,t){const{separator:i}=t??{},o=(0,n.An)(e.url);return null!=o&&(null!=e.dynamicDataSource?o.path=(0,n.fj)(o.path,"dynamicLayer"):null!=e.layerId&&(o.path=(0,n.fj)(o.path,i??"",e.layerId.toString()))),o}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[368,1948,6810],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},46810(t,e,r){r.d(e,{OperatorTouches:()=>n});var s=r(39117);class n extends s.Z{getOperatorType(){return 5}execute(t,e,r,n){return(0,s._)(t,e,r,8,n)}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,r){r.d(e,{JR:()=>O,ME:()=>M,MY:()=>S,NO:()=>C,Nh:()=>_,V2:()=>F,_s:()=>Y,e6:()=>V,gh:()=>E,tr:()=>w,uX:()=>x});var s=r(32198),n=r(16930),i=r(19419),a=r(60408),o=r(21325),h=r(513),u=r(50954),l=r(79567),g=r(52006),c=r(49663),m=r(46068),f=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:g,segmentCountArc:c,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=g,this.segmentCountArc=c,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=F(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new v(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(t){this.geometry=t,this.index=-1,this._readVertex=Z(t),this._segments=new d(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class d{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new y(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class y{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=Z(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,l]]};const g=2&s?0:1,c=1&s?0:1;return{a:[this.end,[o,h],g,c,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new P(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,h=R(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new P(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,g.yP)(r)}const[a,o,u,c]=n;e={xmin:a,ymin:o,xmax:u,ymax:c,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function M(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,A(e[0],(0,g.yP)(e.at(-1)))&&--t),t),0));const n=F(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,g.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:l}=n;function c(t){h[2*f]=t[0],h[2*f+1]=t[1],i&&(u[f]=t[2]),o&&(l[f]=t[m]),++f}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])h[2*f]=t,h[2*f+1]=e,++f;return n}for(const t of r[0])c(t);return n}const x="polygon"===s,{partOffsets:p}=n;let v=0;if(!(0,g.Ed)(t)){for(const t of r){if(p[v++]=f,0===t.length)continue;let e=t.length;if(x&&A(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)c(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*f]=e,h[2*f+1]=s,++f}}return p[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let y=0;for(const t of r){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];c(r);const i=f-1;(0,g.wY)(s)?(d(10),++n.segmentCountArc,y=Y(r,s,n,i,y),r=s.a[0]):(0,g.DA)(s)?(d(10),++n.segmentCountArc,y=b(r,s,n,i,y),r=s.a[0]):(0,g.aO)(s)?(d(10),++n.segmentCountArc,y=V(r,s,n,i,y),r=s.c[0]):(0,g.n1)(s)?(d(4),++n.segmentCountBezier,y=w(0,s,n,i,y),r=s.b[0]):r=s}x&&A(e,r)||c(r)}return n.partOffsets[v]=f,n}function E(t){const e=Z(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=R(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function _(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=F(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const l=2+Number(s)+Number(n);let g=0,c=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[c],i=e+t-Number(o);u.partOffsets[++c]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[g++],u.vertexXY[2*t+1]=r[g++],s&&(u.vertexZ[t]=r[g++]),n&&(u.vertexM[t]=r[g++]);o&&(g+=l)}return u}function O({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new f.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let g=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,c=u.coords.length;for(let t=g;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(l){const t=g;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-c)/u.stride),g=i}return"point"===t&&(u.lengths.length=0),u}function S(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class P{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function R({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function Z({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function A(t,e){return t.every((t,r)=>t===e[r])}function F(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let g=0;return h.vertexXY=new Float64Array(l,g,2*e),g+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(l,g,e),g+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,g,e),g+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,g,h.segmentParamCount),g+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,g,e),h.segmentIndices.fill(k),g+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,g,r+1),g+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,g,r+1),g+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(l,g,e),h.segmentFlags.fill(1),g+=h.segmentFlags.byteLength),h}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],l,g,c,f,x]=e.a;let p=4;g||(p|=1),l||(p|=2);const v=(0,m.SW)(t,e),[d,y]=(0,m.Uk)(v,.5);return n[a++]=p,n[a++]=f,n[a++]=x,n[a++]=c,n[a++]=h,n[a++]=u,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,c.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function V(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,u.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function w(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=r,h[l++]=s,h[l++]=n,h[l++]=i,l}const X=1.61803,k=-1},83547(t,e,r){r.r(e),r.d(e,{execute:()=>a});var s=r(46810),n=r(83299);const i=new s.OperatorTouches;function a(t,e){const r=(0,n.fromGeometry)(t);return i.execute(r.getGeometry(),(0,n.fromGeometryToGXGeometry)(e),r.getSpatialReference(),null)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9447],{57694(e,t,n){n.d(t,{a:()=>o,c:()=>a});var r=n(55537),u=n(83661);function a(e,t){if(!e.isEmpty())switch(e.getGeometryType()){case r.G.enumPolygon:return c(e);case r.G.enumPolyline:return d(e.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(e){const t=e.calculateLength2D();return 0===t?e.getStartXY():e.calculateWeightedCentroid2D().mul(1/t)}(e);case r.G.enumMultiPoint:return function(e){const t=new u.K(0),n=new u.K(0),r=e.getImpl(),a=r.getAttributeStreamRef(0),o=r.getPointCount(),c=new u.P;for(let e=0;e<o;e++)a.queryPoint2D(2*e,c),t.add(c.x),n.add(c.y);const s=new u.P;return s.setCoords(t.getResult(),n.getResult()),s.divThis(o)}(e);case r.G.enumEnvelope:return e.getCenterXY();case r.G.enumPoint:return e.getXY();default:return u.P.construct(Number.NaN,Number.NaN)}return u.P.construct(Number.NaN,Number.NaN)}function o(e,t){return c(e,t)}function c(e,t=-1){const n=new u.K(0),r=new u.K(0),a=e.getImpl();let o;const c=a.hasNonLinearSegments();let d;const g=a.getXY(0);if(-1===t){if(d=a.calculateArea2D(),0===d)return i(e);c&&(o=a.querySegmentIterator());for(let e=0,t=a.getPathCount();e<t;e++)s(g,a,e,n,r),c&&l(g,o,n,r)}else{if(d=a.calculateRingArea2D(t),0===d)return i(e,t);c&&(o=a.querySegmentIterator(),o.resetToPath(t)),s(g,a,t,n,r),c&&l(g,o,n,r)}const m=new u.P,P=new u.P;return m.setCoords(n.getResult(),r.getResult()),P.assign(m.mul(1/d).add(g)),P}function s(e,t,n,r,a){const o=t.getPathStart(n),c=t.getPathEnd(n);if(c-o<3)return;const s=t.getAttributeStreamRef(0),l=s.readPoint2D(2*o),i=s.readPoint2D(2*(o+1));i.subThis(l);const d=new u.K(0),g=t.hasNonLinearSegments(),m=1/3,P=new u.P;for(let e=o+2;e<c;e++){s.queryPoint2D(2*e,P),P.subThis(l);const t=.5*P.crossProduct(i);g&&d.add(t);const n=m*t;r.add((i.x+P.x)*n),a.add((i.y+P.y)*n),i.setCoordsPoint2D(P)}const h=g?d.getResult():t.calculateRingArea2D(n),f=l.sub(e).mul(h);r.add(f.x),a.add(f.y)}function l(e,t,n,u){let a;for(t.nextPath()||(0,r.d)("centroid");null!==(a=t.nextCurve());){const t=a.calculateWeightedAreaCentroid2D(e);n.add(t.x),u.add(t.y)}}function i(e,t=-1){return d(e.getImpl(),t)}function d(e,t=-1){const n=-1===t?e.calculateLength2D():e.calculatePathLength2D(t);if(0===n)return function(e,t=-1){if(-1!==t)return e.getXY(e.getPathStart(t));const n=new u.K(0),r=new u.K(0);for(let t=0;t<e.getPathCount();++t){const u=e.getXY(e.getPathStart(t));n.add(u.x),r.add(u.y)}return u.P.construct(n.getResult(),r.getResult()).mul(1/e.getPathCount())}(e,t);const r=new u.K(0),a=new u.K(0),o=e.querySegmentIterator();for(-1!==t&&o.resetToPath(t);o.nextPath();){const n=o.getPathIndex(),u=e.getXY(e.getPathStart(n));for(;o.hasNextSegment();){const e=o.nextSegment(),t=e.calculateLength2D();if(0===t)continue;const n=e.calculateWeightedCentroid2D().sub(u.mul(t));r.add(n.x),a.add(n.y)}const c=u.mul(e.calculatePathLength2D(n));if(r.add(c.x),a.add(c.y),-1!==t)break}const c=new u.P;return c.setCoords(r.getResult(),a.getResult()),c.mul(1/n)}},9447(e,t,n){n.d(t,{OperatorCentroid2D:()=>u});var r=n(57694);class u{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[468],{70468(e,t,r){r.d(t,{OperatorEquals:()=>u});var s=r(39117);class u extends s.Z{getOperatorType(){return 2}execute(e,t,r,u){return(0,s._)(e,t,r,3,u)}}}}]);