@arcgis/core 5.2.0-next.94 → 5.2.0-next.96

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 (604) hide show
  1. package/applications/WebEditor/geometryUtils.d.ts +1 -1
  2. package/arcade/arcadeAsyncRuntime.js +1 -1
  3. package/arcade/arcadeCompiler.js +1 -1
  4. package/arcade/arcadeRuntime.js +1 -1
  5. package/arcade/containerUtils.js +1 -1
  6. package/arcade/functions/track.js +1 -1
  7. package/arcgisGlobal.d.ts +2 -0
  8. package/assets/components/assets/icon/aiAgent16.json +1 -0
  9. package/assets/components/assets/icon/aiAgent24.json +1 -0
  10. package/assets/components/assets/icon/aiAgent32.json +1 -0
  11. package/assets/components/assets/icon/aiAgents16.json +1 -0
  12. package/assets/components/assets/icon/aiAgents24.json +1 -0
  13. package/assets/components/assets/icon/aiAgents32.json +1 -0
  14. package/assets/components/assets/icon/explodeGeometry16.json +1 -0
  15. package/assets/components/assets/icon/explodeGeometry24.json +1 -0
  16. package/assets/components/assets/icon/explodeGeometry32.json +1 -0
  17. package/assets/components/assets/icon/integration16.json +1 -0
  18. package/assets/components/assets/icon/integration24.json +1 -0
  19. package/assets/components/assets/icon/integration32.json +1 -0
  20. package/assets/components/assets/icon/spatiotemporalCatalog16.json +1 -0
  21. package/assets/components/assets/icon/spatiotemporalCatalog24.json +1 -0
  22. package/assets/components/assets/icon/spatiotemporalCatalog32.json +1 -0
  23. package/assets/components/assets/input-time-zone/t9n/messages.de.json +1 -1
  24. package/assets/esri/core/workers/RemoteClient.js +1 -1
  25. package/assets/esri/core/workers/chunks/000f91a18c22377f8525.js +1 -0
  26. package/assets/esri/core/workers/chunks/{c4a0d3149947a1d2c484.js → 006146ad6d4a5cbf1a1f.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{bd1a7e95a797e1ed4a7b.js → 013c17e07756fa465845.js} +1 -1
  28. package/assets/esri/core/workers/chunks/014eaccf2c2d357981f0.js +1 -0
  29. package/assets/esri/core/workers/chunks/{f253875feb11883deb84.js → 04d4cd66485b622403d0.js} +1 -1
  30. package/assets/esri/core/workers/chunks/05eb064f9b543890ae24.js +1 -0
  31. package/assets/esri/core/workers/chunks/05fbd1f373cfa3724f0c.js +1 -0
  32. package/assets/esri/core/workers/chunks/0809a55a2f9be07cc5a9.js +1 -0
  33. package/assets/esri/core/workers/chunks/0930738f43ce09b2ed2d.js +1 -0
  34. package/assets/esri/core/workers/chunks/{691434d4c6a38e63d819.js → 0a242e76bc293b0ad04b.js} +1 -1
  35. package/assets/esri/core/workers/chunks/0a4092578dc7578bcf76.js +1 -0
  36. package/assets/esri/core/workers/chunks/0e11bee9b56a7f51b012.js +1 -0
  37. package/assets/esri/core/workers/chunks/0e65869a5dd5a3917da7.js +1 -0
  38. package/assets/esri/core/workers/chunks/0ffb5a1275d07dcd9115.js +1 -0
  39. package/assets/esri/core/workers/chunks/{e370a3337b3c90240e73.js → 105da965fc90604eb6bf.js} +1 -1
  40. package/assets/esri/core/workers/chunks/1082bb0858585bd4fa21.js +2 -0
  41. package/assets/esri/core/workers/chunks/10c13c36c42c5ac41d12.js +1 -0
  42. package/assets/esri/core/workers/chunks/{5235b9c21ac4156c2375.js → 10f4c5533f50c3693318.js} +1 -1
  43. package/assets/esri/core/workers/chunks/1201bb22a2bfd7d7ecba.js +1 -0
  44. package/assets/esri/core/workers/chunks/16f55c5d642a23c2547e.js +1 -0
  45. package/assets/esri/core/workers/chunks/{09e01fd1c199be0c8e03.js → 16ffbe484f6cd4736f79.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{1bf967c68d0c795d3fb4.js → 19a4907fc93ae8b817e9.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{f74c7cbe4bd12f73ae90.js → 19d7339f20f3008c4893.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{9226205850e35b7fc610.js → 1a9f17781e0a3bc5106f.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{bf7875fda48b15271a10.js → 1bef7097fe5e402539ea.js} +1 -1
  50. package/assets/esri/core/workers/chunks/1d7f633f158062eb3f64.js +1 -0
  51. package/assets/esri/core/workers/chunks/{fa377112ef3b78f6ed18.js → 1de1cc0ed0f169a58aff.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{0549e2badf511e27aa54.js → 1e3b07cf0e608431a277.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{8a87e1a89a0d8c6203a7.js → 20feca2fdd304b3e9664.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{4c73c2f4331351e2a50c.js → 22ff018342860249b3eb.js} +1 -1
  55. package/assets/esri/core/workers/chunks/248df6fda489a9de5852.js +1 -0
  56. package/assets/esri/core/workers/chunks/2524e2385f61a6898411.js +1 -0
  57. package/assets/esri/core/workers/chunks/279b16727d4b515eca44.js +1 -0
  58. package/assets/esri/core/workers/chunks/2b10d6597af3eeec5396.js +1 -0
  59. package/assets/esri/core/workers/chunks/2bd4b536e329112591c4.js +1 -0
  60. package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +1 -0
  61. package/assets/esri/core/workers/chunks/2e2349387a2b9903f13c.js +2 -0
  62. package/assets/esri/core/workers/chunks/{e594b6db9caee1f7b9fc.js → 32aa1529e84b839d051d.js} +1 -1
  63. package/assets/esri/core/workers/chunks/33041e50ea02d99480b0.js +1 -0
  64. package/assets/esri/core/workers/chunks/{5d7a5aa608ed6192b016.js → 349982635e921e838030.js} +1 -1
  65. package/assets/esri/core/workers/chunks/35d0a7597473d46866de.js +1 -0
  66. package/assets/esri/core/workers/chunks/374d726fdd0a9848cea5.js +1 -0
  67. package/assets/esri/core/workers/chunks/379f5ca5372d834af497.js +1 -0
  68. package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +1 -0
  69. package/assets/esri/core/workers/chunks/{05393b23ab24126d4236.js → 38bc5d09ae07f486d457.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{d270b49c037085503016.js → 3a9435569ba460ff7e3d.js} +1 -1
  71. package/assets/esri/core/workers/chunks/3bafa01ca01a67d09432.js +1 -0
  72. package/assets/esri/core/workers/chunks/3c7901ea007c9615ba54.js +1 -0
  73. package/assets/esri/core/workers/chunks/4047208f9559e06d7102.js +1 -0
  74. package/assets/esri/core/workers/chunks/4049e9b86c8e27a7ff12.js +1 -0
  75. package/assets/esri/core/workers/chunks/411bbdecba340df11d95.js +2 -0
  76. package/assets/esri/core/workers/chunks/42b5533f94ebcdc4befe.js +1 -0
  77. package/assets/esri/core/workers/chunks/44ca13c874b5aa0ed5a0.js +1 -0
  78. package/assets/esri/core/workers/chunks/{e488e5c62cb375c87a39.js → 471027e4280bd51167b0.js} +1 -1
  79. package/assets/esri/core/workers/chunks/4717831effb1ac6d5f5d.js +1 -0
  80. package/assets/esri/core/workers/chunks/{a89dbef8155d7c4354da.js → 476535cfb06ced74d611.js} +2 -2
  81. package/assets/esri/core/workers/chunks/486f1277fe834c0fc4c1.js +1 -0
  82. package/assets/esri/core/workers/chunks/48ade66f1685a1aaffba.js +1 -0
  83. package/assets/esri/core/workers/chunks/4c088c26d5d546c95c90.js +1 -0
  84. package/assets/esri/core/workers/chunks/4d13c1a04788e5222678.js +1 -0
  85. package/assets/esri/core/workers/chunks/{a46ac0be9aabc4cfedc7.js → 4d7f6c92041d52cc8732.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{595edbc1e9bba47d5676.js → 4f89da01b67b66a92c01.js} +1 -1
  87. package/assets/esri/core/workers/chunks/507bbcde2b39321b50a4.js +1 -0
  88. package/assets/esri/core/workers/chunks/{9b8e33985310f281f084.js → 56a5b65961e722f5cae9.js} +1 -1
  89. package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +1 -0
  90. package/assets/esri/core/workers/chunks/{19e93d4d37018e3ee849.js → 58a52adc42fbe5cd12c6.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{b0e25ccb5a1e57a82628.js → 58b93f13316196d2e97d.js} +1 -1
  92. package/assets/esri/core/workers/chunks/58f98bd89b644cfdafae.js +1 -0
  93. package/assets/esri/core/workers/chunks/5a8658e4ef5163e8ab3b.js +1 -0
  94. package/assets/esri/core/workers/chunks/5aa3e1e9c701c7fef6e4.js +1 -0
  95. package/assets/esri/core/workers/chunks/5bb8d9d887dd4211afd2.js +1 -0
  96. package/assets/esri/core/workers/chunks/5d7625eb9997cd0dff09.js +1 -0
  97. package/assets/esri/core/workers/chunks/5e56a004b4407b8066eb.js +1 -0
  98. package/assets/esri/core/workers/chunks/5efc66be4576c6f67064.js +1 -0
  99. package/assets/esri/core/workers/chunks/60b1af54e7fc20fd9588.js +1 -0
  100. package/assets/esri/core/workers/chunks/6134a2c6983792787184.js +1 -0
  101. package/assets/esri/core/workers/chunks/6319413b89e23f671487.js +1 -0
  102. package/assets/esri/core/workers/chunks/{e50adcfb392adfb3f79c.js → 633454b27c34f9ec7940.js} +1 -1
  103. package/assets/esri/core/workers/chunks/63c43ebf46964c283b4d.js +1 -0
  104. package/assets/esri/core/workers/chunks/65d3638ded62c5606ae3.js +1 -0
  105. package/assets/esri/core/workers/chunks/{aa0ef4493a7e9bed159f.js → 662f4b39ec44c68e0733.js} +1 -1
  106. package/assets/esri/core/workers/chunks/680bef5e8237cc3bdd84.js +1 -0
  107. package/assets/esri/core/workers/chunks/6835f959952f70972fce.js +1 -0
  108. package/assets/esri/core/workers/chunks/{ddf284648a73b6993737.js → 68d823697c298122ee08.js} +1 -1
  109. package/assets/esri/core/workers/chunks/6aaefd61505027267c9b.js +1 -0
  110. package/assets/esri/core/workers/chunks/6ceb17eada151230abf7.js +1 -0
  111. package/assets/esri/core/workers/chunks/6df29716f75696434807.js +1 -0
  112. package/assets/esri/core/workers/chunks/6e804bd6bb4b0ee44fa9.js +1 -0
  113. package/assets/esri/core/workers/chunks/{ee77999df3785468b2b6.js → 6f6e8b7e6e2c856e4ed1.js} +1 -1
  114. package/assets/esri/core/workers/chunks/{8ea28a4b1afe8bb2d313.js → 7091bbdc36f1f03f14b3.js} +1 -1
  115. package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +1 -0
  116. package/assets/esri/core/workers/chunks/{4b6f433022a6822706cb.js → 762817d30474c15142b4.js} +1 -1
  117. package/assets/esri/core/workers/chunks/762e9a15b2638475a2b4.js +1 -0
  118. package/assets/esri/core/workers/chunks/79088d5c9c2e6a780929.js +1 -0
  119. package/assets/esri/core/workers/chunks/7bb3411a86cdd736d555.js +1 -0
  120. package/assets/esri/core/workers/chunks/{f3d57c5b9dffd12e45b4.js → 7c3a89c12ea32a071ad4.js} +1 -1
  121. package/assets/esri/core/workers/chunks/7c67596c0792282afdfc.js +1 -0
  122. package/assets/esri/core/workers/chunks/7cef6e5f39137e74bbc3.js +1 -0
  123. package/assets/esri/core/workers/chunks/7efc51324cfc8e08c756.js +1 -0
  124. package/assets/esri/core/workers/chunks/{87e0ceb1a64ab08e679a.js → 7fd54fa2f91cdab44ab3.js} +1 -1
  125. package/assets/esri/core/workers/chunks/822a5020afbca21df7f7.js +1 -0
  126. package/assets/esri/core/workers/chunks/8599d2f2eb0fbb4a8bf5.js +1 -0
  127. package/assets/esri/core/workers/chunks/862f7090ba4a56c07093.js +1 -0
  128. package/assets/esri/core/workers/chunks/{97c7dfd29ad4c2966cb4.js → 88252899a5291ad29710.js} +1 -1
  129. package/assets/esri/core/workers/chunks/8837fbcc0d484659b79c.js +1 -0
  130. package/assets/esri/core/workers/chunks/8dcc7749de3391710864.js +1 -0
  131. package/assets/esri/core/workers/chunks/900dad076347443b3ad9.js +1 -0
  132. package/assets/esri/core/workers/chunks/{f8f7b86bbd62106bc3d4.js → 925f83be3c1eb4b5c6af.js} +1 -1
  133. package/assets/esri/core/workers/chunks/{a4a22149077c7780481c.js → 9378ce457b02717304e6.js} +1 -1
  134. package/assets/esri/core/workers/chunks/93a7cf23f73b23fc7802.js +1 -0
  135. package/assets/esri/core/workers/chunks/93c1d1e7c0935242071e.js +1 -0
  136. package/assets/esri/core/workers/chunks/{fddcb8be714ad18ad0c8.js → 970b33947bf61fccd461.js} +1 -1
  137. package/assets/esri/core/workers/chunks/97aaff86e06380a68df8.js +1 -0
  138. package/assets/esri/core/workers/chunks/9bc7df2b8ae0ed443d13.js +1 -0
  139. package/assets/esri/core/workers/chunks/9cc14a41d4a90f6d626e.js +1 -0
  140. package/assets/esri/core/workers/chunks/9e514a58b1165e273202.js +1 -0
  141. package/assets/esri/core/workers/chunks/9fe1db0762ab3326eab4.js +1 -0
  142. package/assets/esri/core/workers/chunks/{a5bb19d2b7d7db22222b.js → a10188c4d1904965898a.js} +1 -1
  143. package/assets/esri/core/workers/chunks/a2288d44cba34d947613.js +1 -0
  144. package/assets/esri/core/workers/chunks/a26916de4c105859621e.js +1 -0
  145. package/assets/esri/core/workers/chunks/a322afbb48898ce35851.js +1 -0
  146. package/assets/esri/core/workers/chunks/a34cadd486e7fcc79063.js +1 -0
  147. package/assets/esri/core/workers/chunks/{cefb70d633c220cbedf9.js → a4dc1a80ed6604d71722.js} +1 -1
  148. package/assets/esri/core/workers/chunks/{20f6e681ccd8bf884b77.js → a72983c3621810d4b1af.js} +1 -1
  149. package/assets/esri/core/workers/chunks/a8e9aa5461c71c88e2e5.js +1 -0
  150. package/assets/esri/core/workers/chunks/{32f11b4aeae1ef00e466.js → a8f70cece5ce2b095cdd.js} +1 -1
  151. package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +1 -0
  152. package/assets/esri/core/workers/chunks/{777f2fdf1f4b9f243893.js → ab3a6ce7bc2a27b92469.js} +1 -1
  153. package/assets/esri/core/workers/chunks/{15f4f7e34e14e3cf52e6.js → abd2f8fae6b918fbdd6d.js} +1 -1
  154. package/assets/esri/core/workers/chunks/{b13d2da33ec07e9d41ff.js → b0da2b089a89d643df1e.js} +1 -1
  155. package/assets/esri/core/workers/chunks/{65f4ca7201e7267bfc81.js → b5fcf4165ac72654742d.js} +1 -1
  156. package/assets/esri/core/workers/chunks/b82b523b6837ed1f28d3.js +2 -0
  157. package/assets/esri/core/workers/chunks/{527b87fddf33bb5d519e.js → ba77a8892cb23c7a297d.js} +1 -1
  158. package/assets/esri/core/workers/chunks/bb8089929ded0613d8e7.js +1 -0
  159. package/assets/esri/core/workers/chunks/bc7ca87d3bfe8a4aec81.js +1 -0
  160. package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +1 -0
  161. package/assets/esri/core/workers/chunks/{2d07d5a9ec67c39ef10c.js → bd4f29d2681e5596591a.js} +1 -1
  162. package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +1 -0
  163. package/assets/esri/core/workers/chunks/{903c7bd079888f65fef1.js → c3fbd81bb5820e48038f.js} +1 -1
  164. package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +1 -0
  165. package/assets/esri/core/workers/chunks/ca8061e0a6d78d646ebf.js +1 -0
  166. package/assets/esri/core/workers/chunks/cc73ac8404615dc392d2.js +1 -0
  167. package/assets/esri/core/workers/chunks/{e823c9ccb7bc348d8824.js → ccb26860518dce6d01c0.js} +1 -1
  168. package/assets/esri/core/workers/chunks/cded34b161fcc790e672.js +1 -0
  169. package/assets/esri/core/workers/chunks/{1bf5c0a4bc5a960a3fa2.js → d1d4979e9dcabe5e4619.js} +1 -1
  170. package/assets/esri/core/workers/chunks/d2865c604849ce79183f.js +1 -0
  171. package/assets/esri/core/workers/chunks/{9b81bd62a2c72f592db1.js → d826f6d32b4c5885276a.js} +1 -1
  172. package/assets/esri/core/workers/chunks/d92540d3ffc4af980dd8.js +1 -0
  173. package/assets/esri/core/workers/chunks/dc7853795439ae77ace9.js +1 -0
  174. package/assets/esri/core/workers/chunks/dd55737fba0a8fe68101.js +1684 -0
  175. package/assets/esri/core/workers/chunks/dd8d19eb6b8e955c8067.js +1 -0
  176. package/assets/esri/core/workers/chunks/dda269a088275c823b40.js +1 -0
  177. package/assets/esri/core/workers/chunks/{97e41500fc2d24a88938.js → de95dee8db92cf8f796f.js} +1 -1
  178. package/assets/esri/core/workers/chunks/e1c8767143f9f9d1f049.js +1 -0
  179. package/assets/esri/core/workers/chunks/e5b6fa57cc4028fbd401.js +1 -0
  180. package/assets/esri/core/workers/chunks/{2cf2f2842c19be84ab4d.js → e6cb31c727f799c1297c.js} +1 -1
  181. package/assets/esri/core/workers/chunks/e7fdad0c07beb3614b60.js +1 -0
  182. package/assets/esri/core/workers/chunks/e934ef66d130c212c05b.js +1 -0
  183. package/assets/esri/core/workers/chunks/{7c56446184abcd14678b.js → ea77654c8964cc39b9a6.js} +1 -1
  184. package/assets/esri/core/workers/chunks/eb167f9f6132a6348d2e.js +1 -0
  185. package/assets/esri/core/workers/chunks/ed5ac1efd3cba49be756.js +1 -0
  186. package/assets/esri/core/workers/chunks/ef24fd6c0322e5de9fdf.js +2 -0
  187. package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +1 -0
  188. package/assets/esri/core/workers/chunks/f331c24247d132589859.js +1 -0
  189. package/assets/esri/core/workers/chunks/fbf2d90240d36f8b423f.js +1 -0
  190. package/assets/esri/core/workers/chunks/{4ee99e654dad6f09abee.js → fc042b9936686785c39e.js} +1 -1
  191. package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +1 -0
  192. package/assets/esri/core/workers/chunks/{1ab8307ba9981124f669.js → fd4d124c5bf810d9e352.js} +1 -1
  193. package/assets/esri/core/workers/chunks/ffa35ecc681ec1c4739a.js +1 -0
  194. package/assets/esri/core/workers/chunks/ffca0b2333e760b66d3a.js +1 -0
  195. package/chunks/{GlowBlur.glsl.js → BlurEmission.glsl.js} +1 -1
  196. package/chunks/EmissionComposite.glsl.js +3 -3
  197. package/chunks/Fog.glsl.js +5 -3
  198. package/chunks/RibbonLine.glsl.js +52 -52
  199. package/config.js +1 -1
  200. package/core/timeUtils.d.ts +62 -0
  201. package/core/timeUtils.js +1 -1
  202. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  203. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  204. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  205. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  206. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  207. package/editing/sharedTemplates/executor/support/createPresetServiceEdit.js +1 -1
  208. package/geometry/Polygon.js +1 -1
  209. package/geometry/geometryEngine.d.ts +36 -36
  210. package/geometry/operators/affineTransformOperator.d.ts +30 -1
  211. package/geometry/operators/affineTransformOperator.js +1 -1
  212. package/geometry/operators/alphaShapeOperator.d.ts +49 -5
  213. package/geometry/operators/alphaShapeOperator.js +1 -1
  214. package/geometry/operators/areaOperator.d.ts +28 -4
  215. package/geometry/operators/areaOperator.js +1 -1
  216. package/geometry/operators/autoCompleteOperator.d.ts +25 -2
  217. package/geometry/operators/autoCompleteOperator.js +1 -1
  218. package/geometry/operators/boundaryOperator.d.ts +40 -2
  219. package/geometry/operators/boundaryOperator.js +1 -1
  220. package/geometry/operators/bufferOperator.d.ts +51 -6
  221. package/geometry/operators/bufferOperator.js +1 -1
  222. package/geometry/operators/centroidOperator.d.ts +23 -2
  223. package/geometry/operators/centroidOperator.js +1 -1
  224. package/geometry/operators/clipOperator.d.ts +34 -2
  225. package/geometry/operators/clipOperator.js +1 -1
  226. package/geometry/operators/containsOperator.d.ts +32 -2
  227. package/geometry/operators/containsOperator.js +1 -1
  228. package/geometry/operators/convexHullOperator.d.ts +47 -4
  229. package/geometry/operators/convexHullOperator.js +1 -1
  230. package/geometry/operators/crossesOperator.d.ts +35 -2
  231. package/geometry/operators/crossesOperator.js +1 -1
  232. package/geometry/operators/cutOperator.d.ts +23 -2
  233. package/geometry/operators/cutOperator.js +1 -1
  234. package/geometry/operators/densifyOperator.d.ts +61 -6
  235. package/geometry/operators/densifyOperator.js +1 -1
  236. package/geometry/operators/differenceOperator.d.ts +34 -2
  237. package/geometry/operators/differenceOperator.js +1 -1
  238. package/geometry/operators/disjointOperator.d.ts +33 -2
  239. package/geometry/operators/disjointOperator.js +1 -1
  240. package/geometry/operators/distanceOperator.d.ts +29 -4
  241. package/geometry/operators/distanceOperator.js +1 -1
  242. package/geometry/operators/equalsOperator.d.ts +32 -2
  243. package/geometry/operators/equalsOperator.js +1 -1
  244. package/geometry/operators/extendOperator.d.ts +29 -3
  245. package/geometry/operators/extendOperator.js +1 -1
  246. package/geometry/operators/generalizeOperator.d.ts +46 -5
  247. package/geometry/operators/generalizeOperator.js +1 -1
  248. package/geometry/operators/geodesicBufferOperator.d.ts +71 -7
  249. package/geometry/operators/geodesicBufferOperator.js +1 -1
  250. package/geometry/operators/geodesicProximityOperator.d.ts +106 -14
  251. package/geometry/operators/geodesicProximityOperator.js +1 -1
  252. package/geometry/operators/geodeticAreaOperator.d.ts +51 -5
  253. package/geometry/operators/geodeticAreaOperator.js +1 -1
  254. package/geometry/operators/geodeticDensifyOperator.d.ts +65 -6
  255. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  256. package/geometry/operators/geodeticDistanceOperator.d.ts +52 -5
  257. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  258. package/geometry/operators/geodeticLengthOperator.d.ts +51 -5
  259. package/geometry/operators/geodeticLengthOperator.js +1 -1
  260. package/geometry/operators/geodeticUtilsOperator.d.ts +79 -9
  261. package/geometry/operators/geodeticUtilsOperator.js +1 -1
  262. package/geometry/operators/graphicBufferOperator.d.ts +47 -4
  263. package/geometry/operators/graphicBufferOperator.js +1 -1
  264. package/geometry/operators/integrateOperator.d.ts +24 -2
  265. package/geometry/operators/integrateOperator.js +1 -1
  266. package/geometry/operators/intersectionOperator.d.ts +88 -3
  267. package/geometry/operators/intersectionOperator.js +1 -1
  268. package/geometry/operators/intersectsOperator.d.ts +32 -2
  269. package/geometry/operators/intersectsOperator.js +1 -1
  270. package/geometry/operators/isNearOperator.d.ts +31 -4
  271. package/geometry/operators/isNearOperator.js +1 -1
  272. package/geometry/operators/json/bufferOperator.js +1 -1
  273. package/geometry/operators/json/containsOperator.js +1 -1
  274. package/geometry/operators/json/convexHullOperator.js +1 -1
  275. package/geometry/operators/json/crossesOperator.js +1 -1
  276. package/geometry/operators/json/disjointOperator.js +1 -1
  277. package/geometry/operators/json/generalizeOperator.js +1 -1
  278. package/geometry/operators/json/geodesicBufferOperator.js +1 -1
  279. package/geometry/operators/json/graphicBufferOperator.js +1 -1
  280. package/geometry/operators/json/intersectionOperator.js +1 -1
  281. package/geometry/operators/json/intersectsOperator.js +1 -1
  282. package/geometry/operators/json/lengthOperator.js +1 -1
  283. package/geometry/operators/json/offsetOperator.js +1 -1
  284. package/geometry/operators/json/overlapsOperator.js +1 -1
  285. package/geometry/operators/json/projectOperator.js +1 -1
  286. package/geometry/operators/json/simplifyOperator.js +1 -1
  287. package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
  288. package/geometry/operators/json/touchesOperator.js +1 -1
  289. package/geometry/operators/json/unionOperator.js +1 -1
  290. package/geometry/operators/json/withinOperator.js +1 -1
  291. package/geometry/operators/labelPointOperator.d.ts +32 -2
  292. package/geometry/operators/labelPointOperator.js +1 -1
  293. package/geometry/operators/lengthOperator.d.ts +28 -4
  294. package/geometry/operators/lengthOperator.js +1 -1
  295. package/geometry/operators/linesToPolygonsOperator.d.ts +23 -2
  296. package/geometry/operators/linesToPolygonsOperator.js +1 -1
  297. package/geometry/operators/locateBetweenOperator.d.ts +28 -2
  298. package/geometry/operators/locateBetweenOperator.js +1 -1
  299. package/geometry/operators/minimumBoundingCircleOperator.d.ts +38 -4
  300. package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
  301. package/geometry/operators/multiPartToSinglePartOperator.d.ts +33 -4
  302. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  303. package/geometry/operators/offsetOperator.d.ts +50 -5
  304. package/geometry/operators/offsetOperator.js +1 -1
  305. package/geometry/operators/overlapsOperator.d.ts +33 -2
  306. package/geometry/operators/overlapsOperator.js +1 -1
  307. package/geometry/operators/polygonOverlayOperator.d.ts +31 -5
  308. package/geometry/operators/polygonOverlayOperator.js +1 -1
  309. package/geometry/operators/polygonSlicerOperator.d.ts +72 -10
  310. package/geometry/operators/polygonSlicerOperator.js +1 -1
  311. package/geometry/operators/projectOperator.d.ts +63 -3
  312. package/geometry/operators/projectOperator.js +1 -1
  313. package/geometry/operators/proximityOperator.d.ts +71 -9
  314. package/geometry/operators/proximityOperator.js +1 -1
  315. package/geometry/operators/relateOperator.d.ts +41 -2
  316. package/geometry/operators/relateOperator.js +1 -1
  317. package/geometry/operators/reshapeOperator.d.ts +28 -2
  318. package/geometry/operators/reshapeOperator.js +1 -1
  319. package/geometry/operators/shapePreservingProjectOperator.d.ts +64 -6
  320. package/geometry/operators/shapePreservingProjectOperator.js +1 -1
  321. package/geometry/operators/simplifyOGCOperator.d.ts +72 -6
  322. package/geometry/operators/simplifyOGCOperator.js +1 -1
  323. package/geometry/operators/simplifyOperator.d.ts +72 -4
  324. package/geometry/operators/simplifyOperator.js +1 -1
  325. package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
  326. package/geometry/operators/support/Transformation.d.ts +17 -11
  327. package/geometry/operators/support/jsonConverter.js +1 -1
  328. package/geometry/operators/symmetricDifferenceOperator.d.ts +33 -2
  329. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  330. package/geometry/operators/touchesOperator.d.ts +32 -2
  331. package/geometry/operators/touchesOperator.js +1 -1
  332. package/geometry/operators/types.d.ts +4 -1
  333. package/geometry/operators/unionOperator.d.ts +33 -2
  334. package/geometry/operators/unionOperator.js +1 -1
  335. package/geometry/operators/withinOperator.d.ts +32 -2
  336. package/geometry/operators/withinOperator.js +1 -1
  337. package/geometry/projectionUtils.js +1 -1
  338. package/geometry/support/geometryUtils.js +1 -1
  339. package/geometry/support/normalizeUtils.d.ts +5 -3
  340. package/geometry/support/normalizeUtils.js +1 -1
  341. package/interfaces.d.ts +202 -202
  342. package/kernel.js +1 -1
  343. package/layers/AnnotationFeatureLayer.d.ts +0 -1
  344. package/layers/graphics/data/QueryEngineResult.js +1 -1
  345. package/layers/graphics/data/queryUtils.js +1 -1
  346. package/layers/graphics/data/spatialQuerySupport.js +1 -1
  347. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  348. package/layers/mixins/ArcGISImageService.js +1 -1
  349. package/layers/mixins/TiledImagery.js +1 -1
  350. package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
  351. package/layers/raster/datasets/FunctionRaster.js +1 -1
  352. package/layers/raster/datasets/pixelReader.js +1 -1
  353. package/layers/raster/functions/clipUtils.js +1 -1
  354. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  355. package/layers/support/Sublayer.js +1 -1
  356. package/layers/video/videoUtils.js +1 -1
  357. package/package.json +4 -4
  358. package/popup/FeatureContentCollection.d.ts +3 -3
  359. package/popup/FeatureContentCollection.js +1 -1
  360. package/rest/imageService/fetchRasterInfo.js +1 -1
  361. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  362. package/support/revision.js +1 -1
  363. package/support/tests/serviceMockDependencies.js +1 -1
  364. package/support/tests/setupServiceMocksMesh.js +1 -1
  365. package/symbols/cim/CIMEffects.js +1 -1
  366. package/symbols/cim/effects/EffectBuffer.js +1 -1
  367. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  368. package/symbols/cim/effects/EffectDonut.js +1 -1
  369. package/symbols/cim/effects/EffectEnclosingPolygon.js +1 -1
  370. package/symbols/cim/effects/EffectOffset.js +1 -1
  371. package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
  372. package/symbols/cim/types.d.ts +2 -1
  373. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  374. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  375. package/views/2d/engine/webgl/Overlay.js +1 -1
  376. package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
  377. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
  378. package/views/2d/layers/TileLayerView2D.js +1 -1
  379. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  380. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  381. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  382. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  383. package/views/3d/layers/ElevationLayerView3DModifications.js +1 -1
  384. package/views/3d/layers/I3SMeshView3D.js +1 -1
  385. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  386. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  387. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  388. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  389. package/views/3d/state/ViewStateManager.js +1 -1
  390. package/views/3d/support/buffer/InterleavedLayout.js +1 -1
  391. package/views/3d/webgl/RenderCamera.js +1 -1
  392. package/views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js +1 -5
  393. package/views/3d/webgl-engine/effects/fog/Fog.glsl.js +1 -1
  394. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  395. package/views/3d/webgl-engine/effects/fog/FogTechnique.js +1 -1
  396. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  397. package/views/3d/webgl-engine/effects/glow/{GlowBlur.glsl.js → BlurEmission.glsl.js} +1 -1
  398. package/views/3d/webgl-engine/effects/glow/BlurEmission.js +2 -0
  399. package/views/3d/webgl-engine/effects/glow/BlurEmissionTechnique.js +2 -0
  400. package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +37 -0
  401. package/views/3d/webgl-engine/lib/BufferGeometry.js +2 -0
  402. package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
  403. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  404. package/views/3d/webgl-engine/lib/EmissionCompositeTechnique.js +1 -1
  405. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  406. package/views/3d/webgl-engine/lib/GeometryBaseInstance.js +1 -1
  407. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  408. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  409. package/views/3d/webgl-engine/lib/rendererUtils.js +1 -1
  410. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  411. package/views/3d/webgl-engine/materials/renderers/Instance.js +1 -1
  412. package/views/3d/webgl-engine/materials/renderers/MergedBuffer.js +1 -1
  413. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  414. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  415. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  416. package/views/3d/webgl-engine/shaders/EmissiveTechniqueConfiguration.js +1 -1
  417. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  418. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  419. package/views/3d/webgl-engine/shaders/floatBlendScale.glsl.js +1 -1
  420. package/views/MapView.d.ts +3 -3
  421. package/views/SceneView.d.ts +1 -0
  422. package/views/SceneView.js +1 -1
  423. package/views/VideoView.js +1 -1
  424. package/views/View2D.d.ts +22 -22
  425. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  426. package/views/draw/DrawTool.js +1 -1
  427. package/views/draw/support/createUtils.js +1 -1
  428. package/views/layers/SceneLayerView.js +1 -1
  429. package/views/support/GeometryWorker.js +1 -1
  430. package/views/support/imageReprojection.js +1 -1
  431. package/views/video/VideoOperationalDataView.js +1 -1
  432. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  433. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  434. package/widgets/BatchAttributeForm/expressions/expressionUtils.js +1 -1
  435. package/widgets/BatchAttributeForm/inputs/support/DynamicChoiceController.js +1 -1
  436. package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
  437. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  438. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  439. package/widgets/Editor/support/mergeFeaturesUtils.js +1 -1
  440. package/widgets/Editor/support/splitFeatureUtils.js +1 -1
  441. package/widgets/ElevationProfile/support/ElevationProfileView.js +1 -1
  442. package/widgets/ElevationProfile/support/InputRepresentation2D.js +1 -1
  443. package/widgets/ElevationProfile/support/InputRepresentation3D.js +1 -1
  444. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  445. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  446. package/widgets/Features/FeaturesViewModel.js +1 -1
  447. package/widgets/Features.js +1 -1
  448. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  449. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  450. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  451. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  452. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  453. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  454. package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
  455. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  456. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  457. package/widgets/Print.js +1 -1
  458. package/widgets/Search/SearchViewModel.js +1 -1
  459. package/widgets/Search/support/layerSearchUtils.js +1 -1
  460. package/widgets/Search/support/locatorUtils.js +1 -1
  461. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  462. package/widgets/support/FilterBuilder/FilterBuilderViewModel.d.ts +104 -0
  463. package/widgets/support/FilterBuilder/FilterBuilderViewModel.js +1 -1
  464. package/widgets/support/FilterBuilder.js +1 -1
  465. package/widgets/support/FilterCondition/FilterConditionViewModel.d.ts +145 -0
  466. package/widgets/support/FilterCondition/FilterConditionViewModel.js +1 -1
  467. package/widgets/support/FilterCondition/types.d.ts +20 -0
  468. package/widgets/support/ItemList.js +1 -1
  469. package/widgets/support/SelectionList/FeatureItem.d.ts +17 -68
  470. package/widgets/support/SelectionList/FeatureItem.js +1 -1
  471. package/widgets/support/SelectionList/GroupLayerItem.d.ts +12 -50
  472. package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
  473. package/widgets/support/SelectionList/ItemBase.d.ts +14 -44
  474. package/widgets/support/SelectionList/ItemBase.js +1 -1
  475. package/widgets/support/SelectionList/LayerItem.d.ts +10 -56
  476. package/widgets/support/SelectionList/LayerItem.js +1 -1
  477. package/widgets/support/SelectionList/types.d.ts +4 -4
  478. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  479. package/assets/esri/core/workers/chunks/0336f4f8498a22347720.js +0 -1
  480. package/assets/esri/core/workers/chunks/090ea7a131f8f60203ed.js +0 -1
  481. package/assets/esri/core/workers/chunks/0b4a7209b99227a842ad.js +0 -1
  482. package/assets/esri/core/workers/chunks/0be98adfef79fc5036f0.js +0 -1
  483. package/assets/esri/core/workers/chunks/0d2e2d90a4e4a28e2c0c.js +0 -1
  484. package/assets/esri/core/workers/chunks/0d7763d39a5a8586a0ae.js +0 -1
  485. package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +0 -1
  486. package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +0 -1
  487. package/assets/esri/core/workers/chunks/104d74bc36c28c519396.js +0 -1
  488. package/assets/esri/core/workers/chunks/1554feab934e8e1bcd28.js +0 -1
  489. package/assets/esri/core/workers/chunks/1670e9867efde4d7a6d6.js +0 -1
  490. package/assets/esri/core/workers/chunks/188c6ff5f4664827c254.js +0 -2
  491. package/assets/esri/core/workers/chunks/19ab024f6f732fd6c69b.js +0 -1
  492. package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +0 -1
  493. package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +0 -1
  494. package/assets/esri/core/workers/chunks/20f7b5fe64a217cb3d3d.js +0 -1
  495. package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +0 -1
  496. package/assets/esri/core/workers/chunks/22c94f9a69b2157f8dbd.js +0 -1
  497. package/assets/esri/core/workers/chunks/24944b625ed8dcd904f0.js +0 -1
  498. package/assets/esri/core/workers/chunks/24c44541046576fee7e0.js +0 -2
  499. package/assets/esri/core/workers/chunks/2754ba5cc094028a7a3c.js +0 -1
  500. package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +0 -1
  501. package/assets/esri/core/workers/chunks/2ec44ebc48beeba11201.js +0 -1
  502. package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +0 -1
  503. package/assets/esri/core/workers/chunks/30d816bdeea00f6fa1ca.js +0 -1
  504. package/assets/esri/core/workers/chunks/349b0c7febc46267441d.js +0 -1684
  505. package/assets/esri/core/workers/chunks/35d46c2f658a8e92d913.js +0 -1
  506. package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +0 -1
  507. package/assets/esri/core/workers/chunks/3a65693964e3976d8035.js +0 -1
  508. package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +0 -1
  509. package/assets/esri/core/workers/chunks/45c1c90ac6c14657f3ff.js +0 -1
  510. package/assets/esri/core/workers/chunks/48726010778d6004e347.js +0 -2
  511. package/assets/esri/core/workers/chunks/4a40b894ec89b0a4f9bf.js +0 -1
  512. package/assets/esri/core/workers/chunks/5165d367328ac7badf47.js +0 -1
  513. package/assets/esri/core/workers/chunks/545bec045167c433af8f.js +0 -1
  514. package/assets/esri/core/workers/chunks/5782c0362a1799ceef41.js +0 -1
  515. package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +0 -1
  516. package/assets/esri/core/workers/chunks/59f0a2bd40b033ce77e4.js +0 -1
  517. package/assets/esri/core/workers/chunks/5aa23b0f4521ba9a07ad.js +0 -1
  518. package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +0 -1
  519. package/assets/esri/core/workers/chunks/5bf2ce280ea35ea4c96b.js +0 -1
  520. package/assets/esri/core/workers/chunks/607acd9f615f87e14075.js +0 -1
  521. package/assets/esri/core/workers/chunks/62ee6c247f783acabb74.js +0 -1
  522. package/assets/esri/core/workers/chunks/6564f17c4700dc8d9c0e.js +0 -2
  523. package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +0 -1
  524. package/assets/esri/core/workers/chunks/6b84982dfaf084a61b93.js +0 -1
  525. package/assets/esri/core/workers/chunks/6b9dbf43c0659e55c539.js +0 -1
  526. package/assets/esri/core/workers/chunks/6cbc30b31f0bb39c73ca.js +0 -1
  527. package/assets/esri/core/workers/chunks/75b90fb05e4a2d32b7bb.js +0 -1
  528. package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +0 -1
  529. package/assets/esri/core/workers/chunks/76e7d3cde2da4bdd7820.js +0 -1
  530. package/assets/esri/core/workers/chunks/7cf903db44f3647c8fd4.js +0 -1
  531. package/assets/esri/core/workers/chunks/7e41cee4a0ae75e1490d.js +0 -1
  532. package/assets/esri/core/workers/chunks/7eae9053065d3d38e54e.js +0 -1
  533. package/assets/esri/core/workers/chunks/87e9f7e85221bc7e6709.js +0 -1
  534. package/assets/esri/core/workers/chunks/88f03352a4dc6184ea1f.js +0 -1
  535. package/assets/esri/core/workers/chunks/909ee7d2a0eec773037a.js +0 -1
  536. package/assets/esri/core/workers/chunks/91ac9328afff8a51bd96.js +0 -1
  537. package/assets/esri/core/workers/chunks/91de343844ac578e7c93.js +0 -1
  538. package/assets/esri/core/workers/chunks/9246e2468528650bdc7c.js +0 -1
  539. package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +0 -1
  540. package/assets/esri/core/workers/chunks/9509bef285929c52c244.js +0 -1
  541. package/assets/esri/core/workers/chunks/95a3f09751bff63f4fab.js +0 -1
  542. package/assets/esri/core/workers/chunks/98d614d6fc9de8ebaf94.js +0 -1
  543. package/assets/esri/core/workers/chunks/99966339b061eb9945b8.js +0 -1
  544. package/assets/esri/core/workers/chunks/99f627938dbf0152fc02.js +0 -1
  545. package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +0 -1
  546. package/assets/esri/core/workers/chunks/a0565137027c83108953.js +0 -1
  547. package/assets/esri/core/workers/chunks/a0eb882a5a81d25b9153.js +0 -1
  548. package/assets/esri/core/workers/chunks/a785e827f0215a73103d.js +0 -1
  549. package/assets/esri/core/workers/chunks/abe7670db06b27c0c8c8.js +0 -1
  550. package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +0 -1
  551. package/assets/esri/core/workers/chunks/b6af90be328ebda26b8d.js +0 -1
  552. package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +0 -1
  553. package/assets/esri/core/workers/chunks/bdfffa5f88b559a4b42d.js +0 -1
  554. package/assets/esri/core/workers/chunks/c30b6bbabd05e4976fba.js +0 -1
  555. package/assets/esri/core/workers/chunks/c352696478b48a2090d5.js +0 -1
  556. package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +0 -1
  557. package/assets/esri/core/workers/chunks/c4fef90cf08bbe4f0bb5.js +0 -1
  558. package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +0 -1
  559. package/assets/esri/core/workers/chunks/c88bfa51d2a8a024fc24.js +0 -1
  560. package/assets/esri/core/workers/chunks/c91042f8bf886056a29c.js +0 -1
  561. package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +0 -1
  562. package/assets/esri/core/workers/chunks/cd02a6078443b8f63927.js +0 -1
  563. package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +0 -1
  564. package/assets/esri/core/workers/chunks/d1304d414b1fa725168a.js +0 -1
  565. package/assets/esri/core/workers/chunks/d24125a791247019e2ca.js +0 -1
  566. package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +0 -1
  567. package/assets/esri/core/workers/chunks/d2cb3d5ef0a9285afb78.js +0 -1
  568. package/assets/esri/core/workers/chunks/d44338bf5edafa3ca926.js +0 -1
  569. package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +0 -1
  570. package/assets/esri/core/workers/chunks/d58d6b55b2749a535eb3.js +0 -1
  571. package/assets/esri/core/workers/chunks/d7d5275d8b3c9430de1f.js +0 -1
  572. package/assets/esri/core/workers/chunks/da8a314800944706511b.js +0 -1
  573. package/assets/esri/core/workers/chunks/e018cbd97e6e0e4ca5c4.js +0 -1
  574. package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +0 -1
  575. package/assets/esri/core/workers/chunks/e4380706b629729f2212.js +0 -1
  576. package/assets/esri/core/workers/chunks/e90076ac1cf88a83a7f9.js +0 -1
  577. package/assets/esri/core/workers/chunks/ea1877ce00da3b585a30.js +0 -1
  578. package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +0 -1
  579. package/assets/esri/core/workers/chunks/ec77222776f755dc372c.js +0 -1
  580. package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +0 -1
  581. package/assets/esri/core/workers/chunks/f3e53be08ab9dbdf17ae.js +0 -1
  582. package/assets/esri/core/workers/chunks/f53010adb70463b75bb9.js +0 -1
  583. package/assets/esri/core/workers/chunks/f5a058a0ce006bce2a2a.js +0 -1
  584. package/assets/esri/core/workers/chunks/f5f5b54cab722abe88e0.js +0 -1
  585. package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +0 -1
  586. package/assets/esri/core/workers/chunks/f6f56f3e011dcef90bbb.js +0 -1
  587. package/assets/esri/core/workers/chunks/f83c3597e9332bd991eb.js +0 -1
  588. package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +0 -1
  589. package/assets/esri/core/workers/chunks/fbc7576ed12964059da6.js +0 -1
  590. package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +0 -1
  591. package/assets/esri/core/workers/chunks/ff83d0337ac489ab08de.js +0 -2
  592. package/chunks/GlowComposite.glsl.js +0 -2
  593. package/geometry/operators/importUtils.js +0 -2
  594. package/views/3d/webgl-engine/effects/glow/Glow.js +0 -2
  595. package/views/3d/webgl-engine/effects/glow/GlowBlurTechnique.js +0 -2
  596. package/views/3d/webgl-engine/effects/glow/GlowComposite.glsl.js +0 -2
  597. package/views/3d/webgl-engine/effects/glow/GlowCompositeTechnique.js +0 -2
  598. package/views/3d/webgl-engine/effects/glow/blurEmission.glsl.js +0 -38
  599. /package/assets/esri/core/workers/chunks/{188c6ff5f4664827c254.js.LICENSE.txt → 1082bb0858585bd4fa21.js.LICENSE.txt} +0 -0
  600. /package/assets/esri/core/workers/chunks/{24c44541046576fee7e0.js.LICENSE.txt → 2e2349387a2b9903f13c.js.LICENSE.txt} +0 -0
  601. /package/assets/esri/core/workers/chunks/{ff83d0337ac489ab08de.js.LICENSE.txt → 411bbdecba340df11d95.js.LICENSE.txt} +0 -0
  602. /package/assets/esri/core/workers/chunks/{a89dbef8155d7c4354da.js.LICENSE.txt → 476535cfb06ced74d611.js.LICENSE.txt} +0 -0
  603. /package/assets/esri/core/workers/chunks/{6564f17c4700dc8d9c0e.js.LICENSE.txt → b82b523b6837ed1f28d3.js.LICENSE.txt} +0 -0
  604. /package/assets/esri/core/workers/chunks/{48726010778d6004e347.js.LICENSE.txt → ef24fd6c0322e5de9fdf.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1214],{86162(e,t,s){s.d(t,{A:()=>_});var i,r=s(32198),o=s(66552),n=s(4718),l=s(53966),a=s(91429),u=s(56507),p=s(30524),y=s(92438),c=s(63988),d=s(88542),h=s(49849),g=s(20061),m=s(80911),f=s(43668),b=s(33910),v=s(36005),x=s(43937),w=s(93223);const C="percent-of-total",S="field",I=new o.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:C,esriNormalizeByField:S}),M=(0,u.dp)(d.A);let _=i=class extends((0,c.h)(y.A)){constructor(e){super(e),this._compiledValueExpression={valueExpression:null,compiledFunction:null},this.backgroundFillSymbol=null,this.classBreakInfos=null,this.defaultLabel=null,this.defaultSymbol=null,this.field=null,this.isMaxInclusive=!0,this.legendOptions=null,this.normalizationField=null,this.normalizationTotal=null,this.type="class-breaks",this.valueExpression=null,this.valueExpressionTitle=null,this._set("classBreakInfos",[])}readClassBreakInfos(e,t,s){if(!Array.isArray(e))return;let i=t.minValue;return e.map(e=>{const t=new d.A;return t.read(e,s),null==t.minValue&&(t.minValue=i),null==t.maxValue&&(t.maxValue=t.minValue),i=t.maxValue,t})}writeClassBreakInfos(e,t,s,i){const r=e.map(e=>e.write({},i));this._areClassBreaksConsecutive()&&r.forEach(e=>delete e.classMinValue),t[s]=r}castField(e){return null==e?e:"function"==typeof e?(l.A.getLogger(this).error(".field: field must be a string value"),null):(0,u.GX)(e)}get minValue(){return this.classBreakInfos&&this.classBreakInfos[0]&&this.classBreakInfos[0].minValue||0}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,s=null!=this.normalizationTotal;return t||s?(e=t&&S||s&&C||null,t&&s&&l.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==S&&e!==C||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}addClassBreakInfo(e,t,s){let i=null;i="number"==typeof e?new d.A({minValue:e,maxValue:t,symbol:(0,b.dp)(s)}):M((0,n.o8)(e)),this.classBreakInfos.push(i),1===this.classBreakInfos.length&&this.notifyChange("minValue")}removeClassBreakInfo(e,t){const s=this.classBreakInfos.length;for(let i=0;i<s;i++){const s=[this.classBreakInfos[i].minValue,this.classBreakInfos[i].maxValue];if(s[0]===e&&s[1]===t){this.classBreakInfos.splice(i,1);break}}}getBreakIndex(e,t){return this.valueExpression&&null==t?.arcade&&l.A.getLogger(this).warn(""),this.valueExpression?this._getBreakIndexForExpression(e,t):this._getBreakIndexForField(e)}async getClassBreakInfo(e,t){let s=t;this.valueExpression&&null==t?.arcade&&(s={...s,arcade:await(0,f.l)()});const i=this.getBreakIndex(e,s);return-1!==i?this.classBreakInfos[i]:null}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void l.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const s=this.getBreakIndex(e,t);return-1===s?this.defaultSymbol:(0,m.c)(this.classBreakInfos[s],t?.scale)??this.defaultSymbol}async getSymbolAsync(e,t){let s=t;if(this.valueExpression&&null==t?.arcade){const e=await(0,f.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),s={...s,arcade:e}}const i=this.getBreakIndex(e,s);return-1===i?this.defaultSymbol:(0,m.c)(this.classBreakInfos[i],s?.scale)??this.defaultSymbol}get symbols(){const e=[];return this.classBreakInfos.forEach(t=>{t.symbol&&e.push(t.symbol),e.push(...t.alternateSymbols??[])}),this.defaultSymbol&&e.push(this.defaultSymbol),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}clone(){return new i({field:this.field,backgroundFillSymbol:this.backgroundFillSymbol?.clone(),defaultLabel:this.defaultLabel,defaultSymbol:this.defaultSymbol?.clone(),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,classBreakInfos:(0,n.o8)(this.classBreakInfos),isMaxInclusive:this.isMaxInclusive,normalizationField:this.normalizationField,normalizationTotal:this.normalizationTotal,normalizationType:this.normalizationType,visualVariables:(0,n.o8)(this.visualVariables),legendOptions:(0,n.o8)(this.legendOptions),authoringInfo:(0,n.o8)(this.authoringInfo)})}async collectRequiredFields(e,t){const s=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(s)}async collectSymbolFields(e,t){const s=[...this.symbols.map(s=>s.collectRequiredFields(e,t)),(0,p.Dx)(e,t,null,this.valueExpression)];(0,p.rq)(e,t,this.field),(0,p.rq)(e,t,this.normalizationField),await Promise.all(s)}_getBreakIndexForExpression(e,t){const{viewingMode:s,scale:i,spatialReference:r,arcade:o,timeZone:n}=t??{},{valueExpression:l}=this;let a=this._compiledValueExpression.valueExpression===l?this._compiledValueExpression.compiledFunction:null;const u=o.arcadeUtils;if(!a){const e=u.createSyntaxTree(l);a=u.createFunction(e),this._compiledValueExpression.compiledFunction=a}this._compiledValueExpression.valueExpression=l;const p=u.executeFunction(a,u.createExecContext(e,u.getViewInfo({viewingMode:s,scale:i,spatialReference:r}),n));return this._getBreakIndexfromInfos(p)}_getBreakIndexForField(e){const t=this.field,s=e.attributes,i=this.normalizationType;let r=parseFloat(s[t]);if(i){const e=this.normalizationTotal,t=parseFloat(this.normalizationField?s[this.normalizationField]:void 0);if("log"===i)r=Math.log(r)*Math.LOG10E;else if(i!==C||null==e||isNaN(e)){if(i===S&&!isNaN(t)){if(isNaN(r)||isNaN(t))return-1;r/=t}}else r=r/e*100}return this._getBreakIndexfromInfos(r)}_getBreakIndexfromInfos(e){const t=this.isMaxInclusive;if(null!=e&&"number"==typeof e&&!isNaN(e))for(let s=0;s<this.classBreakInfos.length;s++){const i=[this.classBreakInfos[s].minValue,this.classBreakInfos[s].maxValue];if(i[0]<=e&&(t?e<=i[1]:e<i[1]))return s}return-1}_areClassBreaksConsecutive(){const e=this.classBreakInfos,t=e.length;for(let s=1;s<t;s++)if(e[s-1].maxValue!==e[s].minValue)return!1;return!0}};(0,r.Cg)([(0,a.MZ)(h.As)],_.prototype,"backgroundFillSymbol",void 0),(0,r.Cg)([(0,a.MZ)({type:[d.A],json:{write:{isRequired:!0}}})],_.prototype,"classBreakInfos",void 0),(0,r.Cg)([(0,v.w)("classBreakInfos")],_.prototype,"readClassBreakInfos",null),(0,r.Cg)([(0,x.K)("classBreakInfos")],_.prototype,"writeClassBreakInfos",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"defaultLabel",void 0),(0,r.Cg)([(0,a.MZ)(h.z4)],_.prototype,"defaultSymbol",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"field",void 0),(0,r.Cg)([(0,a.wg)("field")],_.prototype,"castField",null),(0,r.Cg)([(0,a.MZ)({type:Boolean})],_.prototype,"isMaxInclusive",void 0),(0,r.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],_.prototype,"legendOptions",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,readOnly:!0,value:null,json:{read:!1,write:{overridePolicy(){return 0!==this.classBreakInfos.length&&this._areClassBreaksConsecutive()?{enabled:!0}:{enabled:!1}}}}})],_.prototype,"minValue",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.MZ)({type:I.apiValues,value:null,json:{type:I.jsonValues,read:I.read,write:I.write}})],_.prototype,"normalizationType",null),(0,r.Cg)([(0,w.e)({classBreaks:"class-breaks"})],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"valueExpression",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"valueExpressionTitle",void 0),_=i=(0,r.Cg)([(0,a.$K)("esri.renderers.ClassBreaksRenderer")],_)},88542(e,t,s){s.d(t,{A:()=>u});var i,r=s(32198),o=s(25482),n=s(91429),l=s(49849),a=s(40863);let u=i=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}get alternateSymbols(){return this._get("alternateSymbols")??null}set alternateSymbols(e){e?this._set("alternateSymbols",e.map(e=>e instanceof a.A?e:(delete e.type,new a.A(e)))):this._set("alternateSymbols",null)}clone(){return new i({alternateSymbols:this.alternateSymbols?.map(e=>e.clone()),description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?.clone()??null})}};(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],u.prototype,"minValue",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],u.prototype,"maxValue",void 0),(0,r.Cg)([(0,n.MZ)(l.Wp)],u.prototype,"symbol",void 0),(0,r.Cg)([(0,n.MZ)({type:[a.A],useTypeForAutocast:!1,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"alternateSymbols",null),u=i=(0,r.Cg)([(0,n.$K)("esri.renderers.support.ClassBreakInfo")],u)},61760(e,t,s){s.d(t,{PU:()=>o,YW:()=>l,hv:()=>n,zp:()=>r}),s(34727);var i=s(90629);function r(e){return(0,i.PN)(2.4*e)}function o(e){return(0,i.Lz)(e)/2.4}function n(e,t,s){const i=Math.sqrt(e**2+t**2)/s;return i>1?0:3/(Math.PI*s**2)*(1-i**2)**2}function l(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}s(78955),s(91829)},41214(e,t,s){s.d(t,{Hg:()=>pe,XJ:()=>ye});var i=s(53966),r=s(86162),o=s(32198),n=s(11254),l=s(4718),a=s(91429),u=s(30524),p=s(92438),y=s(63988),c=s(66344),d=s(60408),h=s(68197);class g{static parse(e,t,s){const i=[],r=[],o=e.split(";");for(let e=0;e<o.length;e++){const n=o[e];if(n){if(n.includes("po:")){const e=n.slice(3).split("|");if(3===e.length){const[t,s,i]=e,o=f(t,s,i);o&&r.push(o)}continue}if(n.includes("|")){for(const e of n.split("|"))if(t.has(e)){i.push(e);break}}else if(t.has(n))i.push(n);else if(0===e){i.length=0,i.push(b(s));break}}}return new g(i,r)}constructor(e,t){this.partNames=e,this.overrides=t}}function m(e,t){if("DashTemplate"===e)return t.split(" ").map(e=>Number(e));if("Color"===e){const e=new h.A(t).toRgba();return[e[0],e[1],e[2],255*e[3]]}return Number(t)}function f(e,t,s){return{type:"CIMPrimitiveOverride",primitiveName:e,propertyName:t,value:m(t,s),defaultValue:null}}function b(e){switch(e){case"esriGeometryPolyline":return"Invalid_L";case"esriGeometryPolygon":return"Invalid_A";default:return"Invalid_P"}}var v=s(73681),x=s(55674),w=s(40863),C=s(93397);const S={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,width:.5,color:[0,0,0,255]}]}};class I{constructor(e,t,s,i){this.url=e,this.fieldMap=s,this.dictionaryInfo=i,this._symbolPartCache=new c.q(100),this._evaluator=(async()=>v.n.from(await i,t,s))()}async getSymbolAsync(e,t,s=!0){const i=await this._evaluator,r=t?.fields??(0,x.lL)(e.attributes),o=i.createDictionaryFieldsIndex(r),n=i.evaluate(e,t?.scale??0,o,t?.spatialReference);if(null==n)return null;const l=(0,d.$B)(e.geometry),a=g.parse(n,i.itemNames,l),u="esriGeometryPoint"===l&&!e.geometry?.hasZ;return await this._cimPartsToCIMSymbol(e,a.partNames,a.overrides,u,t,s,o)}async getSymbolForControlString(e,t,s){const i=await this._evaluator,r=g.parse(e,i.itemNames,t),o="esriGeometryPoint"===t&&!s,n=M(await Promise.all(r.partNames.map(e=>this._getSymbolPart(e))),r.overrides,o);return new w.A({data:n})}async _cimPartsToCIMSymbol(e,t,i,r,o,n,a){const u=t.map(e=>this._getSymbolPart(e,o));let p=await Promise.all(u);if(n&&this.fieldMap&&p.length>0){const{OverrideHelper:t}=await s.e(3650).then(s.bind(s,23650));p=(0,l.o8)(p);for(const s of p)t.applyDictionaryTextOverrides(s,e,this.fieldMap,a,(0,C.bs)(s))}const y=M(p,i,r);return new w.A({data:y})}async _fetchSymbolPart(e,t){const s=await this.dictionaryInfo,i=(this.url+"/"+s.cimRefTemplateUrl).replaceAll(/\{itemName\}/gi,e),{data:r}=await(0,n.A)(i,{responseType:"json",query:{f:"json"},...t});return r}async _getSymbolPart(e,t){let s=this._symbolPartCache.get(e);return s||(s=this._fetchSymbolPart(e,t),this._symbolPartCache.put(e,s)),s}}function M(e,t,s){if(!e||0===e.length)return null;const i={...e[0]};if(e.length>1){i.effects=null,i.symbolLayers=[];for(const t of e){const e=t;if(null!=e.effects)for(const t of e.symbolLayers)null==t.effects?t.effects=e.effects:t.effects.unshift(...e.effects);i.symbolLayers.unshift(...e.symbolLayers)}}return s&&(i.callout=S),{type:"CIMSymbolReference",symbol:i,primitiveOverrides:t}}var _,V=s(43937);let Z=_=class extends((0,y.h)(p.A)){constructor(e){super(e),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this._styleName=null,this._styleVersion=null,this._styleSymbolFields=null,this._styleTextFields=null,this._styleConfigProperties=null,this._styleUISchema=null,this.type="dictionary"}get _loader(){const e=this.getDictionaryInfo();return e.then(e=>{this._styleName=e.dictionary_name,this._styleVersion=e.dictionary_version,this._styleConfigProperties=e.authoringInfo.configuration,this._styleSymbolFields=e.authoringInfo.symbol,this._styleTextFields=e.authoringInfo.text,this._styleUISchema=e.dictionary_ui_schema?JSON.parse(e.dictionary_ui_schema):null}),new I(this.url,this.config,this.fieldMap??{},e)}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}get styleName(){return this._styleName}get styleVersion(){return this._styleVersion}get styleSymbolFields(){return this._styleSymbolFields}get styleTextFields(){return this._styleTextFields}get styleConfigProperties(){return this._styleConfigProperties}get styleUISchema(){return this._styleUISchema}writeVisualVariables(e,t,s,i){i?.origin||super.writeVisualVariables(e,t,s,i)}clone(){return new _({config:(0,l.o8)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.o8)(this.fieldMap),url:(0,l.o8)(this.url),visualVariables:(0,l.o8)(this.visualVariables)})}async getSymbolAsync(e,t,s=!0){return this._loader.getSymbolAsync(e,t,s)}async getSymbolForControlString(e,t,s){return this._loader.getSymbolForControlString(e,t,s)}getDictionaryInfo(){return this._dictionaryInfoPromise||(this._dictionaryInfoPromise=this._fetchDictionaryInfo()),this._dictionaryInfoPromise}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,u.Dx)(e,t,null,this.scaleExpression);for(const s in this.fieldMap){const i=this.fieldMap[s];t.has(i)&&e.add(i)}}get arcadeRequired(){return!0}getSymbol(){return null}get symbols(){return[]}async _fetchDictionaryInfo(){const{data:e}=await(0,n.A)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"}});return e}};(0,o.Cg)([(0,a.MZ)({type:I})],Z.prototype,"_loader",null),(0,o.Cg)([(0,a.MZ)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],Z.prototype,"config",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:{write:!0}})],Z.prototype,"fieldMap",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],Z.prototype,"scaleExpression",void 0),(0,o.Cg)([(0,V.K)("scaleExpression")],Z.prototype,"writeData",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],Z.prototype,"scaleExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"url",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Z.prototype,"styleName",null),(0,o.Cg)([(0,a.MZ)({type:String})],Z.prototype,"styleVersion",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],Z.prototype,"styleSymbolFields",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],Z.prototype,"styleTextFields",null),(0,o.Cg)([(0,a.MZ)({type:[Object]})],Z.prototype,"styleConfigProperties",null),(0,o.Cg)([(0,a.MZ)({type:Object})],Z.prototype,"styleUISchema",null),(0,o.Cg)([(0,V.K)("visualVariables")],Z.prototype,"writeVisualVariables",null),Z=_=(0,o.Cg)([(0,a.$K)("esri.renderers.DictionaryRenderer")],Z);var k,j=s(25482),A=s(56507);let E=k=class extends j.o{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(i.A.getLogger(this).error(".field: field must be a string value"),null):(0,A.GX)(e)}clone(){return new k({color:this.color?.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[Number],write:!0}})],E.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"field",void 0),(0,o.Cg)([(0,a.wg)("field")],E.prototype,"castField",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpressionTitle",void 0),E=k=(0,o.Cg)([(0,a.$K)("esri.renderers.support.AttributeColorInfo")],E);const F=E;var B;let T=B=class extends j.o{constructor(e){super(e),this.unit=null}clone(){return new B({unit:this.unit})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"unit",void 0),T=B=(0,o.Cg)([(0,a.$K)("esri.renderers.support.DotDensityLegendOptions")],T);const N=T;var P,z=s(94985),D=s(31593),R=s(93223);let O=P=class extends((0,y.h)(p.A)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new h.A([0,0,0,0]),this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new D.A,this.dotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new z.A({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}get visualVariables(){return super.visualVariables}set visualVariables(e){super.visualVariables=e}clone(){return new P({attributes:(0,l.o8)(this.attributes),backgroundColor:(0,l.o8)(this.backgroundColor),dotBlendingEnabled:(0,l.o8)(this.dotBlendingEnabled),dotShape:(0,l.o8)(this.dotShape),dotSize:(0,l.o8)(this.dotSize),dotValue:(0,l.o8)(this.dotValue),legendOptions:(0,l.o8)(this.legendOptions),outline:(0,l.o8)(this.outline),referenceScale:(0,l.o8)(this.referenceScale),seed:(0,l.o8)(this.seed),visualVariables:(0,l.o8)(this.visualVariables),authoringInfo:(0,l.o8)(this.authoringInfo)})}getControllerHash(){const e=this.attributes?.map(e=>e.field||e.valueExpression||"");return`${e}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const s of this.attributes??[])s.valueExpression&&await(0,u.Dx)(e,t,null,s.valueExpression),s.field&&e.add(s.field)}};(0,o.Cg)([(0,a.MZ)({type:[F],json:{write:!0}})],O.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],O.prototype,"backgroundColor",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"dotBlendingEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!1}})],O.prototype,"dotShape",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"dotSize",void 0),(0,o.Cg)([(0,a.MZ)({type:N,json:{write:!0}})],O.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:D.A,json:{default:null,write:!0}})],O.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"dotValue",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"referenceScale",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"seed",void 0),(0,o.Cg)([(0,R.e)({dotDensity:"dot-density"})],O.prototype,"type",void 0),O=P=(0,o.Cg)([(0,a.$K)("esri.renderers.DotDensityRenderer")],O);var L,q=s(90629),$=s(30943);let K=L=class extends j.o{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new L({color:this.color&&this.color.clone(),ratio:this.ratio})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[A.jz],default:null,write:{isRequired:!0}}})],K.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:{isRequired:!0}}})],K.prototype,"ratio",void 0),K=L=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapColorStop")],K);var U=s(69540);let G=class extends((0,U.OU)(j.o)){constructor(e){super(e),this.minLabel=null,this.maxLabel=null,this.title=null}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],G.prototype,"minLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],G.prototype,"maxLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],G.prototype,"title",void 0),G=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapLegendOptions")],G);const H=G;var J,X=s(61760),W=s(53930);function Y(e){if(null!=e){const{maxDensity:t,minDensity:s,radius:i}=e;if(null!=t||null!=s||null!=i){const{blurRadius:t,maxPixelIntensity:s,minPixelIntensity:i,...r}=e;return r}}return e}let Q=J=class extends p.A{constructor(e){super(e),this.authoringInfo=null,this.colorStops=[new K({ratio:0,color:new h.A("rgba(255, 140, 0, 0)")}),new K({ratio:.75,color:new h.A("rgba(255, 140, 0, 1)")}),new K({ratio:.9,color:new h.A("rgba(255, 0, 0, 1)")})],this.field=null,this.legendOptions=null,this.maxDensity=.04,this.minDensity=0,this.referenceScale=0,this.type="heatmap",this.valueExpression=null,this.valueExpressionTitle=null}normalizeCtorArgs(e){return Y(e)}get blurRadius(){return(0,X.PU)(this.radius)}set blurRadius(e){const t=this.maxPixelIntensity,s=this.minPixelIntensity;this._set("radius",(0,X.zp)(e)),this._set("maxDensity",t*this._pixelIntensityToDensity),this._set("minDensity",s*this._pixelIntensityToDensity)}get maxPixelIntensity(){return this.maxDensity/this._pixelIntensityToDensity}set maxPixelIntensity(e){this._set("maxDensity",e*this._pixelIntensityToDensity)}get minPixelIntensity(){return this.minDensity/this._pixelIntensityToDensity}set minPixelIntensity(e){this._set("minDensity",e*this._pixelIntensityToDensity)}get radius(){return this._get("radius")??18}set radius(e){this._set("radius",e)}get _pixelIntensityToDensity(){return 24/(5.76*this.blurRadius**4)}read(e,t){e=Y(e),super.read(e,t)}getSymbol(){return new W.A}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}async collectRequiredFields(e,t){const s=this.field,i=this.valueExpression;s&&"string"==typeof s&&(0,u.rq)(e,t,s),i&&"string"==typeof i&&await(0,u.Dx)(e,t,null,i)}clone(){return new J({authoringInfo:this.authoringInfo&&this.authoringInfo.clone(),colorStops:(0,l.o8)(this.colorStops),field:this.field,legendOptions:(0,l.o8)(this.legendOptions),maxDensity:this.maxDensity,minDensity:this.minDensity,radius:this.radius,referenceScale:this.referenceScale,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:$.A,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],Q.prototype,"authoringInfo",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"blurRadius",null),(0,o.Cg)([(0,a.MZ)({type:[K],json:{write:{isRequired:!0}}})],Q.prototype,"colorStops",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Q.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:H,json:{write:!0}})],Q.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"maxDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"maxPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"minDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"minPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,cast:q.cr,json:{write:!0}})],Q.prototype,"radius",null),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0},json:{default:0,write:!0}})],Q.prototype,"referenceScale",void 0),(0,o.Cg)([(0,R.e)({heatmap:"heatmap"})],Q.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-document":{write:!1},"portal-item":{write:!1}}}})],Q.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Q.prototype,"valueExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],Q.prototype,"_pixelIntensityToDensity",null),Q=J=(0,o.Cg)([(0,a.$K)("esri.renderers.HeatmapRenderer")],Q);var ee=s(4576),te=s(49849);let se=class extends((0,U.OU)(j.o)){constructor(e){super(e),this.color=new h.A([0,0,0,0]),this.label=null,this.threshold=0}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],se.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],se.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],se.prototype,"threshold",void 0),se=(0,o.Cg)([(0,a.$K)("esri.renderers.support.OthersCategory")],se);var ie=s(20061),re=s(62724),oe=s(48940);const ne={base:s(2795).A,key:"type",typeMap:{size:oe.A,opacity:re.A}};let le=class extends((0,y.h)((0,U.OU)(p.A))){constructor(e){super(e),this.attributes=null,this.backgroundFillSymbol=null,this.defaultColor=new h.A([0,0,0,0]),this.defaultLabel=null,this.holePercentage=0,this.othersCategory=new se,this.legendOptions=null,this.outline=null,this.type="pie-chart",this.visualVariables=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}getSymbol(){return new W.A({size:this.size?this.size/2+(this.outline?.width||0):0})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol(),this.backgroundFillSymbol].filter(ee.Ru)}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const s of this.attributes)s.valueExpression&&await(0,u.Dx)(e,t,null,s.valueExpression),s.field&&e.add(s.field)}};(0,o.Cg)([(0,a.MZ)({type:[F],json:{write:!0}})],le.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)(te.As)],le.prototype,"backgroundFillSymbol",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],le.prototype,"defaultColor",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],le.prototype,"defaultLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],le.prototype,"holePercentage",void 0),(0,o.Cg)([(0,a.MZ)({type:se,json:{write:!0}})],le.prototype,"othersCategory",void 0),(0,o.Cg)([(0,a.MZ)({type:ie.A,json:{write:!0}})],le.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:D.A,json:{default:null,write:!0}})],le.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:q.cr,json:{write:!0}})],le.prototype,"size",null),(0,o.Cg)([(0,R.e)({pieChart:"pie-chart"})],le.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({types:[ne]})],le.prototype,"visualVariables",void 0),le=(0,o.Cg)([(0,a.$K)("esri.renderers.PieChartRenderer")],le);var ae=s(96576),ue=s(93618);const pe={key:"type",base:p.A,typeMap:{heatmap:Q,simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,"dot-density":O,dictionary:Z,"pie-chart":le},errorContext:"renderer"},ye={key:"type",base:p.A,typeMap:{simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,heatmap:Q},errorContext:"renderer",validate:function(e){switch(e.type){case"simple":return function(e){if(e.symbol)return e;i.A.getLogger("esri.renderers.support.types").error("Removed invalid 'simple' renderer without a symbol from web scene.")}(e);case"unique-value":return function(e){const t=e.uniqueValueInfos,s=t?.filter(({symbol:e,label:t},s)=>(e||i.A.getLogger("esri.renderers.support.types").error(`Removed invalid unique value info ([${s}] ${t}) without a symbol from web scene.`),!!e));return s?.length!==t?.length&&(e.uniqueValueInfos=s),e}(e);case"class-breaks":return function(e){const t=e.classBreakInfos,s=t?.filter(({symbol:e,label:t},s)=>(e||i.A.getLogger("esri.renderers.support.types").error(`Removed invalid class break info ([${s}] ${t}) without a symbol from web scene.`),!!e));return s?.length!==t?.length&&(e.classBreakInfos=s),e}(e);case"heatmap":return e}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1150,2994,4294,5223,5360,6742,9397,9447,9716],{32198(t,e,n){function r(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},57694(t,e,n){n.d(e,{a:()=>s,c:()=>i});var r=n(55537),o=n(83661);function i(t,e){if(!t.isEmpty())switch(t.getGeometryType()){case r.G.enumPolygon:return a(t);case r.G.enumPolyline:return h(t.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(t){const e=t.calculateLength2D();return 0===e?t.getStartXY():t.calculateWeightedCentroid2D().mul(1/e)}(t);case r.G.enumMultiPoint:return function(t){const e=new o.K(0),n=new o.K(0),r=t.getImpl(),i=r.getAttributeStreamRef(0),s=r.getPointCount(),a=new o.P;for(let t=0;t<s;t++)i.queryPoint2D(2*t,a),e.add(a.x),n.add(a.y);const u=new o.P;return u.setCoords(e.getResult(),n.getResult()),u.divThis(s)}(t);case r.G.enumEnvelope:return t.getCenterXY();case r.G.enumPoint:return t.getXY();default:return o.P.construct(Number.NaN,Number.NaN)}return o.P.construct(Number.NaN,Number.NaN)}function s(t,e){return a(t,e)}function a(t,e=-1){const n=new o.K(0),r=new o.K(0),i=t.getImpl();let s;const a=i.hasNonLinearSegments();let h;const m=i.getXY(0);if(-1===e){if(h=i.calculateArea2D(),0===h)return l(t);a&&(s=i.querySegmentIterator());for(let t=0,e=i.getPathCount();t<e;t++)u(m,i,t,n,r),a&&c(m,s,n,r)}else{if(h=i.calculateRingArea2D(e),0===h)return l(t,e);a&&(s=i.querySegmentIterator(),s.resetToPath(e)),u(m,i,e,n,r),a&&c(m,s,n,r)}const f=new o.P,p=new o.P;return f.setCoords(n.getResult(),r.getResult()),p.assign(f.mul(1/h).add(m)),p}function u(t,e,n,r,i){const s=e.getPathStart(n),a=e.getPathEnd(n);if(a-s<3)return;const u=e.getAttributeStreamRef(0),c=u.readPoint2D(2*s),l=u.readPoint2D(2*(s+1));l.subThis(c);const h=new o.K(0),m=e.hasNonLinearSegments(),f=1/3,p=new o.P;for(let t=s+2;t<a;t++){u.queryPoint2D(2*t,p),p.subThis(c);const e=.5*p.crossProduct(l);m&&h.add(e);const n=f*e;r.add((l.x+p.x)*n),i.add((l.y+p.y)*n),l.setCoordsPoint2D(p)}const g=m?h.getResult():e.calculateRingArea2D(n),y=c.sub(t).mul(g);r.add(y.x),i.add(y.y)}function c(t,e,n,o){let i;for(e.nextPath()||(0,r.d)("centroid");null!==(i=e.nextCurve());){const e=i.calculateWeightedAreaCentroid2D(t);n.add(e.x),o.add(e.y)}}function l(t,e=-1){return h(t.getImpl(),e)}function h(t,e=-1){const n=-1===e?t.calculateLength2D():t.calculatePathLength2D(e);if(0===n)return function(t,e=-1){if(-1!==e)return t.getXY(t.getPathStart(e));const n=new o.K(0),r=new o.K(0);for(let e=0;e<t.getPathCount();++e){const o=t.getXY(t.getPathStart(e));n.add(o.x),r.add(o.y)}return o.P.construct(n.getResult(),r.getResult()).mul(1/t.getPathCount())}(t,e);const r=new o.K(0),i=new o.K(0),s=t.querySegmentIterator();for(-1!==e&&s.resetToPath(e);s.nextPath();){const n=s.getPathIndex(),o=t.getXY(t.getPathStart(n));for(;s.hasNextSegment();){const t=s.nextSegment(),e=t.calculateLength2D();if(0===e)continue;const n=t.calculateWeightedCentroid2D().sub(o.mul(e));r.add(n.x),i.add(n.y)}const a=o.mul(t.calculatePathLength2D(n));if(r.add(a.x),i.add(a.y),-1!==e)break}const a=new o.P;return a.setCoords(r.getResult(),i.getResult()),a.mul(1/n)}},30921(t,e,n){n.d(e,{D:()=>N,m:()=>l,s:()=>d,w:()=>y});var r=n(32198),o=n(55537),i=n(88885),s=n(39117),a=n(83661),u=n(79187),c=n(95213);function l(){return{outPoint:new a.P,index:-1,t:Number.NaN}}function h(t,e,n){return{outPoint:t.clone(),index:e,t:n}}function m(t,e,n,r){t.outPoint.assign(e),t.index=n,t.t=r}function f(t,e){t.outPoint.assign(e.outPoint),t.index=e.index,t.t=e.t}function p(t,e,n,r){t.index=n,t.t=r,e.queryCoord2D(t.t,t.outPoint)}function g(t,e){const n=l();f(n,t),f(t,e),f(e,n)}function y(t,e,n,r,i,a){if(t.getGeometryType()===o.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const e=r.nextSegment();if(0!==(0,s.K)(t,e.getEndXY(),0))return m(i,e.getEndXY(),-1,Number.NaN),m(a,e.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(e.getGeometryType()===o.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const t=n.nextSegment();if(0!==(0,s.K)(e,t.getEndXY(),0))return m(i,t.getEndXY(),-1,Number.NaN),m(a,t.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function d(t){const e=t.getPathCount(),n=(0,a.d)(t.getSegmentCount(),0);let r=0;for(let o=0;o<e;++o){const e=r+t.getSegmentCountPath(o);for(let i=r,s=t.getPathStart(o);i<e;++i,++s)n[i]=s;r=e}return(0,i.s)(t.getPointCount(),n),n}function v(t,e){return!!Number.isNaN(e)||t<=e}function P(t){const e=new i.P;return e.addEnvelope(t,!1),e}class N{m_progressTracker;m_env2DgeometryA=null;m_env2DgeometryB=null;m_maxSqrDistance;m_maxDistance;m_progressCounter=0;m_bIsNearCalc;constructor(t,e){if(this.m_progressTracker=e,this.m_maxSqrDistance=t*t,this.m_maxDistance=t,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=t,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let t=Math.sqrt(this.m_maxSqrDistance);for(;t<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,t=Math.sqrt(this.m_maxSqrDistance)}}calculate(t,e,n,r){if((t.getGeometryType()!==c.P.type||e.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,t.queryEnvelope(this.m_env2DgeometryA),e.queryEnvelope(this.m_env2DgeometryB),!v(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const o=h(new a.P,(0,a.j)(),Number.NaN),i=h(new a.P,(0,a.j)(),Number.NaN),s=this._ExecuteBruteForce(t,e,o,i);return v(s,this.m_maxDistance)?(null!==n&&f(n,o),null!==r&&f(r,i),s):Number.POSITIVE_INFINITY}isNear(t,e){if(this.m_bIsNearCalc=!0,t.isEmpty()||e.isEmpty())return!1;if(t===e)return!0;let n=!0;if(t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,t.queryEnvelope(this.m_env2DgeometryA),e.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=h(new a.P,(0,a.j)(),Number.NaN),o=h(new a.P,(0,a.j)(),Number.NaN);return this._ExecuteBruteForce(t,e,r,o)<=this.m_maxDistance}progress_(t=!1){}_ExecuteBruteForce(t,e,n,r){switch(t.getGeometryType()){case o.G.enumPoint:return this.distancePointGeometry(t,e,n,r);case o.G.enumMultiPoint:return this.distanceMultipointGeometry(t,e,n,r);case o.G.enumEnvelope:return this.distanceEnvelopeGeometry(t,e,n,r);case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipathGeometry(t,e,n,r);default:return Number.NaN}}distancePointGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:return this.distancePointPoint(t,e,n,r);case o.G.enumMultiPoint:return this.distancePointMultipoint(t,e,n,r);case o.G.enumPolyline:case o.G.enumPolygon:return this.distancePointMultipath(t,e,n,r);case o.G.enumEnvelope:return this.distancePointEnvelope(t,e,n,r);default:return Number.NaN}}distancePointPoint(t,e,n,r){const o=t.getXY(),i=e.getXY();return m(n,o,0,0),m(r,i,0,0),Math.sqrt(a.P.sqrDistance(o,i))}distancePointMultipoint(t,e,n,r){const o=t.getXY();let i=this.m_maxSqrDistance,s=i,u=!1;const c=e.getPointCount(),l=new a.P;for(let t=0;t<c;++t)if(e.queryXY(t,l),s=a.P.sqrDistance(o,l),this.m_bIsNearCalc){if(s<=i)return 0}else if(!(s>i)&&(!u&&s===i||s<i)&&(i=s,m(n,o,0,0),m(r,l,t,0),u=!0,0===i))return 0;return u?Math.sqrt(i):Number.POSITIVE_INFINITY}distancePointMultipath(t,e,n,r){const i=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=t.getXY();if(!i&&e.getGeometryType()===o.G.enumPolygon&&0!==(0,s.K)(e,c,0))return m(n,c,0,0),m(r,c,-1,Number.NaN),0;e.getImpl().getAccelerators();let l=this.m_maxSqrDistance,h=l,f=-1;const p=new u.Envelope2D,g=e.querySegmentIterator();let y=!1;for(;g.nextPath();)for(;g.hasNextSegment();){const t=g.nextSegment();t.queryEnvelope(p);const e=p.sqrDistance(c);if(e>l)continue;if(!this.m_bIsNearCalc&&y&&e===l)continue;f=t.getClosestCoordinate(c,!1);const o=t.getCoord2D(f);if(h=a.P.sqrDistance(c,o),this.m_bIsNearCalc){if(h<=l)return 0}else if(!(h>l)&&(!y||h<l)&&(l=h,m(n,c,0,0),m(r,o,g.getStartPointIndex(),f),y=!0,0===l))return 0}return y?Math.sqrt(l):Number.POSITIVE_INFINITY}distancePointEnvelope(t,e,n,r){const o=t.getXY();m(n,o,0,0),m(r,o,-1,Number.NaN);const i=e.asEnvelope2D();return i.contains(o)?0:Math.sqrt(i.sqrDistance(o,r.outPoint))}distanceMultipointGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distancePointMultipoint(e,t,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumMultiPoint:return this.distanceMultipointMultipoint(t,e,n,r,1,1);case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipointMultipath(t,e,n,r);case o.G.enumEnvelope:return this.distanceMultipointMultipath(t,P(e),n,r);default:return Number.NaN}}distanceMultipointMultipoint(t,e,n,o,i,s){const u={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===i&&1===s){const r=Math.trunc((0,a.s)(Math.sqrt(t.getPointCount())+1,1,(0,a.i)())),i=Math.trunc((0,a.s)(Math.sqrt(e.getPointCount())+1,1,(0,a.i)()));if((r>=4||i>=4)&&this.distanceMultipointMultipoint(t,e,n,o,r,i)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const l=[t],h=[e],f=this.swapGeometriesIfBGtA(l,h);f&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s=(0,a.c)(i,i=s),g(n,o)),(0,r.mS)(u,(0,a.h)(()=>{g(n,o),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!f),!1);const p=l[0].getImpl(),y=h[0].getImpl(),d=p.getPointCount(),v=y.getPointCount(),P=v>1;let N=!1;const D=new a.P,M=new a.P;for(let t=0;t<d;t+=i){if(p.queryXY(t,D),P){const t=this.m_env2DgeometryB.sqrDistance(D);if(this.m_bIsNearCalc){if(t>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(D)<=c)return 0}else if(t>=c)continue}for(let e=0;e<v;e+=s){y.queryXY(e,M);const r=a.P.sqrDistance(D,M);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||N&&r===c)&&(!N||r<c)&&(m(n,D,t,0),m(o,M,e,0),N=!0,c=r,0===c))return N?Math.sqrt(c):Number.POSITIVE_INFINITY}}return N?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(t){u.error=t,u.hasError=!0}finally{(0,r.hk)(u)}}distanceMultipointMultipath(t,e,n,r){let i=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&e.getGeometryType()===o.G.enumPolygon;const c=e.querySegmentIterator();c.stripAttributes();const l=new u.Envelope2D,h=new a.P;let f=this.m_maxSqrDistance;const p=t.getImpl(),g=p.getPointCount(),y=g>1;let d=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const t=c.nextSegment();if(t.queryLooseEnvelope(l),y){const t=l.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(t>f)continue}else if(t>f||d&&t===f)continue}for(let o=0;o<g;o++){if(p.queryXY(o,h),i&&0!==(0,s.K)(e,h,0))return m(n,h,-1,Number.NaN),m(r,h,o,0),0;{const t=l.sqrDistance(h);if(this.m_bIsNearCalc){if(t>f)continue}else if(t>f)continue}const a=t.getClosestCoordinate(h,!1),u=t.getCoord2D(a);h.subThis(u);const g=h.sqrLength();if(this.m_bIsNearCalc){if(g<=f)return 0}else if(!(g>f)&&(!d||g<f)&&(f=g,m(n,p.getXY(o),o,0),m(r,u,c.getStartPointIndex(),a),d=!0,0===f))return 0}i=!1}return d?Math.sqrt(f):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:return this.distancePointEnvelope(e,t,r,n);case o.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distanceMultipointMultipath(e,P(t),r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipathMultipath(P(t),e,n,r);case o.G.enumEnvelope:return this.distanceEnvelopeEnvelope(t,e,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(t,e,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const o=t.asEnvelope2D(),i=e.asEnvelope2D();return Math.sqrt(o.sqrDistanceEnvelope(i,n.outPoint,r.outPoint))}distanceMultipathGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distancePointMultipath(e,t,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distanceMultipointMultipath(e,t,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipathMultipath(t,e,n,r);case o.G.enumEnvelope:return this.distanceMultipathMultipath(t,P(e),n,r);default:return Number.NaN}}distanceMultipathMultipath(t,e,n,o){const s={stack:[],error:void 0,hasError:!1};try{const c=[t],h=[e],m=this.swapGeometriesIfAGtB(c,h);m&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),g(n,o)),(0,r.mS)(s,(0,a.h)(()=>{g(n,o),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!m),!1);const v=c[0],P=h[0],N=v.querySegmentIterator();N.stripAttributes();const D=P.querySegmentIterator();if(D.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const t=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)())),e=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)()));if(this.distanceMultipointMultipoint(v,P,n,o,t,e)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const t=l(),e=l();if(y(v,P,N,D,t,e))return f(n,t),f(o,e),0}const M=d(v),_=[],S=new i.S,b=new u.Envelope2D,w=new u.Envelope2D,x=new u.Envelope2D;let A=this.m_maxSqrDistance,I=!0,E=!1;for(let t=0,e=M.length;t<e;++t){v.querySegment(M[t],S,!0);const e=S.get();if(e.queryEnvelope(b),!(b.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>A)){if(this.m_bIsNearCalc&&b.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=A)return 0;for(;D.nextPath();){if(this.progress_(),I)P.queryPathEnvelope(D.getPathIndex(),x),_[D.getPathIndex()]=x.clone();else if(b.sqrDistanceEnvelope(_[D.getPathIndex()],null,null)>A)continue;for(;D.hasNextSegment();){const r=D.nextSegment();if(r.queryEnvelope(w),b.sqrDistanceEnvelope(w,null,null)<=A){const i=!b.isIntersecting(w),s=[0],a=[0];let u=e.distance(r,i,s,a);if(u*=u,this.m_bIsNearCalc&&u<=this.m_maxSqrDistance)return 0;if(u<A||u===A&&M[t]<n.index){if(E=!0,p(n,e,M[t],s[0]),p(o,r,D.getStartPointIndex(),a[0]),0===u)return 0;A=u}}}}D.resetToFirstPath(),I=!1}}return E?Math.sqrt(A):Number.POSITIVE_INFINITY}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}swapGeometriesIfAGtB(t,e){return(0,o.v)(t[0])>(0,o.v)(e[0])&&(e[0]=(0,a.c)(t[0],t[0]=e[0]),!0)}swapGeometriesIfBGtA(t,e){return this.swapGeometriesIfAGtB(e,t)}}},9447(t,e,n){n.d(e,{OperatorCentroid2D:()=>o});var r=n(57694);class o{getOperatorType(){return 10205}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e){return(0,r.c)(t)}}},22994(t,e,n){n.d(e,{OperatorDistance:()=>i});var r=n(55537),o=n(30921);class i{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}execute(t,e,n){return this.executeEx(t,e,n,null,null,Number.NaN)}executeEx(t,e,n,i,s,a){if(t.isEmpty()||e.isEmpty())return Number.NaN;(0,r.c)(t),(0,r.c)(e);const u=t,c=e;Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY);const l=new o.D(a,n).calculate(u,c,i,s);return Number.isFinite(l)?l:Number.NaN}}},69540(t,e,n){var r=n(32198),o=n(69622),i=(n(44208),n(4718)),s=(n(53966),n(97768)),a=n(88620),u=n(64108);const c=Symbol("ClonableMixin"),l=t=>{var e;const n=t;let o=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=c}clone(t){const e=(0,a.oY)(this);(0,s.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,o={},u=new Map;for(const e in n){const s=n[e],a=r?.originOf(e),c=s.clonable;if(s.readOnly||!1===c||7!==a&&0!==a&&5!==a&&4!==a)continue;const l=this[e];let h=null;if("function"==typeof c)h=c(l,t);else if("reference"===c)h=l;else if(h=(0,i.TU)(l,t),null!=l&&null==h)continue;0===a?u.set(e,h):o[e]=h}const c=new(0,Object.getPrototypeOf(this).constructor)(o);if(u.size){const t=(0,a.oY)(c)?.store;if(t)for(const[e,n]of u)t.set(e,n,0)}return c}};return o=(0,r.Cg)([(0,u.$)("esri.core.Clonable")],o),o},h=l(o.A);n.d(e,["OU",0,l,"Pw",0,h])},95488(t,e,n){n.d(e,{I:()=>o});var r=n(11406);class o extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},51850(t,e,n){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function s(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function l(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(e,{CN:()=>s,ci:()=>a,fA:()=>i,o8:()=>o,vt:()=>r});const m=[0,0,0],f=u(),p=c(),g=l(),y=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:m,clone:o,create:r,freeze:s,fromArray:a,fromValues:i,ones:u,unitX:c,unitY:l,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Cb",0,y,"Cw",0,p,"JP",0,g,"Un",0,f,"uY",0,m])},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>i,C:()=>s,Cc:()=>w,DI:()=>M,Io:()=>v,Ln:()=>d,Om:()=>S,Qr:()=>h,Re:()=>c,S8:()=>_,T9:()=>g,WQ:()=>u,Z0:()=>x,_S:()=>f,aI:()=>q,ei:()=>A,fw:()=>E,gL:()=>I,hG:()=>P,hZ:()=>a,hs:()=>y,jk:()=>p,lw:()=>l,m3:()=>N,oW:()=>R,t2:()=>C,tn:()=>m,ze:()=>D});var r=n(51850),o=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function l(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function m(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function f(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function g(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function y(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function d(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function v(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function P(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function N(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function D(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function M(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],r=e[1],o=e[2];let i=n*n+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],o=e[1],i=e[2],s=n[0],a=n[1],u=n[2];return t[0]=o*u-i*a,t[1]=i*s-r*u,t[2]=r*a-o*s,t}function w(t,e,n,r){const o=e[0],i=e[1],s=e[2];return t[0]=o+r*(n[0]-o),t[1]=i+r*(n[1]-i),t[2]=s+r*(n[2]-s),t}function x(t,e,n){const r=e[0],o=e[1],i=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*i+n[12],t[1]=n[1]*r+n[5]*o+n[9]*i+n[13],t[2]=n[2]*r+n[6]*o+n[10]*i+n[14],t}function A(t,e,n){const r=e[0],o=e[1],i=e[2];return t[0]=r*n[0]+o*n[3]+i*n[6],t[1]=r*n[1]+o*n[4]+i*n[7],t[2]=r*n[2]+o*n[5]+i*n[8],t}function I(t,e,n){return E(t,e,n[0],n[1],n[2],n[3])}function E(t,e,n,r,o,i){const s=e[0],a=e[1],u=e[2],c=r*u-o*a,l=o*s-n*u,h=n*a-r*s,m=r*h-o*l,f=o*c-n*h,p=n*l-r*c,g=2*i;return t[0]=s+c*g+2*m,t[1]=a+l*g+2*f,t[2]=u+h*g+2*p,t}const O=(0,r.vt)(),G=(0,r.vt)();function C(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function q(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],s=e[0],a=e[1],u=e[2],c=(0,o.FD)();return Math.abs(n-s)<=c*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function R(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],i=n[2]-e[2];let s=r*r+o*o+i*i;return s>0?(s=1/Math.sqrt(s),t[0]=r*s,t[1]=o*s,t[2]=i*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=c,B=l,J=h,Y=v,Z=P,j=i,L=N;Object.freeze(Object.defineProperty({__proto__:null,abs:m,add:u,angle:function(t,e){_(O,t),_(G,e);const n=S(O,G);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,o,i){const s=1-i,a=s*s,u=i*i,c=a*s,l=3*i*a,h=3*u*s,m=u*i;return t[0]=e[0]*c+n[0]*l+r[0]*h+o[0]*m,t[1]=e[1]*c+n[1]*l+r[1]*h+o[1]*m,t[2]=e[2]*c+n[2]*l+r[2]*h+o[2]*m,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=n[0],a=n[1],u=n[2],c=o*u-i*a,l=i*s-r*u,h=r*a-o*s,m=Math.sqrt(c*c+l*l+h*h);return t[0]=c/m,t[1]=l/m,t[2]=h/m,t},direction:R,dist:Y,distance:v,div:J,divide:h,dot:S,equals:q,exactEquals:C,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,i){const s=i*i,a=s*(2*i-3)+1,u=s*(i-2)+i,c=s*(i-1),l=s*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*c+o[0]*l,t[1]=e[1]*a+n[1]*u+r[1]*c+o[1]*l,t[2]=e[2]*a+n[2]*u+r[2]*c+o[2]*l,t},inverse:M,len:j,length:i,lerp:w,max:g,min:p,mul:B,multiply:l,negate:D,normalize:_,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,i=2*n()-1,s=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*s,t[1]=Math.sin(r)*s,t[2]=i*e,t},rotateX:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:y,scaleAndAdd:d,scaleTo:function(t,e){return y(t,t,e/j(t))},set:a,sign:f,sqrDist:Z,sqrLen:L,squaredDistance:P,squaredLength:N,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:c,transformMat3:A,transformMat4:x,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:I,transformQuatValues:E},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,j,"jb",0,T,"lo",0,Z,"uE",0,L])},69397(t,e,n){n.d(e,{Qf:()=>a,Qh:()=>i,lM:()=>o});var r=n(34275);function o(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=s(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return a(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return u(t,8);let n=l;for(let r=0;r<e;r++)n+=s(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=s(t[n]));return e}function s(t,e=!0){switch(typeof t){case"object":return e?i(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+h:Array.isArray(e)?u(e,16):0:0),0)}function u(t,e){return l+t.length*e}const c=32,l=16,h=145},17799(t,e,n){n.d(e,{T9:()=>a,d_:()=>o,gT:()=>i});var r=n(86211);function o(t,e){return{type:(0,r.t$)(e),value:t,unit:e}}function i(t,e){return{type:(0,r.t$)(e),value:t,unit:e}}function s(t,e,n="arithmetic"){return{type:(0,r.t$)(e),value:t,unit:e,rotationType:n}}function a(t,e){return null==t?e:null==e||t.value>(0,r.oU)(e.value,e.unit,t.unit)?t:e}o(0,"meters"),i(0,"square-meters"),s(0,"radians"),s(0,"degrees"),s(0,"degrees","geographic")},48526(t,e,n){n.d(e,{A:()=>y});var r,o=n(32198),i=n(4576),s=n(4718),a=n(91429),u=n(5443),c=n(91075),l=n(86738),h=n(16930),m=n(90634),f=n(47610),p=n(56993),g=n(43937);let y=r=class extends c.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=h.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:o}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,m.ge)(this);return t?new u.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,s.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:o}=this;return new r({points:(0,s.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:o})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,i.aI)(this.points,t.points,f.v6)}addPoint(t){return(0,p.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new l.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new l.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,p.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,o.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,o.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,o.Cg)([(0,g.K)("points")],y.prototype,"writePoints",null),y=r=(0,o.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>p});var r,o=n(32198),i=n(4718),s=n(91429),a=n(5443),u=n(91075),c=n(86738),l=n(16930),h=n(90634),m=n(56993),f=n(43937);let p=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=l.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:o}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,i.o8)(t)}get extent(){const t=(0,h.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,i.o8)(this.paths),t.curvePaths=(0,i.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,o=this.hasM;return r&&!o?new c.A(n[0],n[1],n[2],void 0,this.spatialReference):o&&!r?new c.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&o?new c.A(n[0],n[1],n[2],n[3],this.spatialReference):new c.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,m.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new c.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new c.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,m.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,o.Cg)([(0,s.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,o.Cg)([(0,s.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,o.Cg)([(0,f.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,o.Cg)([(0,s.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,o.Cg)([(0,s.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,o.Cg)([(0,f.K)("paths")],p.prototype,"writePaths",null),p=r=(0,o.Cg)([(0,s.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},95624(t,e,n){n.d(e,{g:()=>i});var r=n(86211),o=n(78125);function i(t,e={}){const{unit:n}=e;let i=(0,o.fromGeometry)(t).calculateArea2D();if(i&&n){const e=(0,o.getSpatialReference)(t);if(e.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const s=(0,r.B5)(e);s!==n&&(s?i=(0,r.oU)(i,s,n):(i=Math.sqrt(i),i*=(0,r.GA)(e),i**=2,i=(0,r.oU)(i,"square-meters",n)))}return i}},89506(t,e,n){n.d(e,{Hh:()=>l,g7:()=>h});var r=n(86211),o=n(86742),i=n(5808);let s,a,u,c;async function l(){if(!s||!(0,o.s)()){const[t]=await Promise.all([Promise.resolve().then(n.bind(n,78125)),(0,o.load)()]);s=t.fromGeometry,a=t.fromSpatialReference,u=t.getSpatialReference,c=(0,o.f)()}}function h(t,e={}){const{curveType:n="geodesic",unit:c}=e,l=u(t);let h=(0,o.execute)(s(t),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"square-meters",c)),h}},95360(t,e,n){n.r(e),n.d(e,{execute:()=>m,isLoaded:()=>l,load:()=>h,supportsCurves:()=>c});var r=n(86211),o=n(29716),i=n(5808);let s,a,u,c;function l(){return!!s&&(0,o.s)()}async function h(){if(!l()){const[t]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,o.load)()]);s=t.fromGeometry,a=t.fromSpatialReference,u=t.getSpatialReference,c=(0,o.f)()}}function m(t,e,n={}){const{curveType:c="geodesic",unit:l}=n,h=u(t);let m=(0,o.execute)(s(t),s(e),a(h),i.O[c]);return m&&l&&(m=(0,r.oU)(m,"meters",l)),m}},40427(t,e,n){n.d(e,{Hh:()=>l,g7:()=>h});var r=n(86211),o=n(35223),i=n(5808);let s,a,u,c;async function l(){if(!s||!(0,o.s)()){const[t]=await Promise.all([Promise.resolve().then(n.bind(n,78125)),(0,o.load)()]);s=t.fromGeometry,a=t.fromSpatialReference,u=t.getSpatialReference,c=(0,o.f)()}}function h(t,e={}){const{curveType:n="geodesic",unit:c}=e,l=u(t);let h=(0,o.execute)(s(t),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"meters",c)),h}},86742(t,e,n){n.d(e,{execute:()=>a,f:()=>u,load:()=>s,s:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[t,e]=await Promise.all([Promise.all([n.e(2024),n.e(6558)]).then(n.bind(n,6558)),n.e(3375).then(n.bind(n,15756)).then(({injectPe:t})=>t),(0,r.l)()]);o=new t.OperatorGeodeticArea,e(r.p)}}function a(t,e,n){return o.execute(t,e,n,null)}function u(){return o.supportsCurves()}},29716(t,e,n){n.d(e,{execute:()=>a,f:()=>u,load:()=>s,s:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[t,e]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(2024),n.e(3394)]).then(n.bind(n,12764)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(8344)]).then(n.bind(n,15756)).then(({injectPe:t})=>t),(0,r.l)()]);o=new t.OperatorGeodeticDistance,e(r.p)}}function a(t,e,n,r){return o.execute(t,e,n,r,null)}function u(){return o.supportsCurves()}},35223(t,e,n){n.d(e,{execute:()=>a,f:()=>u,load:()=>s,s:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[t,e]=await Promise.all([n.e(8879).then(n.bind(n,28879)),n.e(3375).then(n.bind(n,15756)).then(({injectPe:t})=>t),(0,r.l)()]);o=new t.OperatorGeodeticLength,e(r.p)}}function a(t,e,n){return o.execute(t,e,n,null)}function u(){return o.supportsCurves()}},81150(t,e,n){n.d(e,{execute:()=>s,f:()=>c,isSimpleAsFeature:()=>u,z:()=>a});var r=n(76061),o=(n(55537),n(88885),n(39117));n(95213);const i=new o.J;function s(t,e,n){return i.execute(t,e,n,null)}function a(t,e,n){const o=i.executeMany(new r.S(t),e,n,null);return Array.from(o)}function u(t,e,n){return i.isSimpleAsFeature(t,e,n,null,null)}function c(){return i.supportsCurves()}},23914(t,e,n){n.d(e,{g7:()=>i});var r=n(81150),o=n(78125);function i(t){const e=(0,o.getSpatialReference)(t);return(0,o.toGeometry)((0,r.execute)((0,o.fromGeometry)(t),(0,o.fromSpatialReference)(e),!1),e)}(0,r.f)()},5808(t,e,n){n.d(e,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])},65806(t,e,n){n.d(e,{g:()=>s});var r=n(51850),o=n(99917),i=n(9762);function s(t,e,n,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,i.projectBuffer)(a,t.spatialReference,0,e,n,0);const s=(0,o.tryProject)(t,n,r);return!!s&&(e[0]=s.x,e[1]=s.y,e[2]=s.z??0,!0)}const a=(0,r.vt)()},27993(t,e,n){n.d(e,{F:()=>a});var r=n(99917),o=n(16930),i=n(9762),s=n(65806);function a(t,e,n,o){return!(null==e||null==o||t.length<2)&&((0,r.canProjectWithoutEngine)(e,o)?(0,i.projectBuffer)(t,e,0,n,o,0,1):(u.x=t[0],u.y=t[1],u.z=t[2],u.spatialReference=e,(0,s.g)(u,n,o)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:o.A.WGS84,type:"point"}},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function i(t){return void 0!==t.x&&void 0!==t.y}function s(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function u(t){return"object"==typeof t&&"vertexAttributes"in t}function c(t){return t?i(t)?"esriGeometryPoint":s(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function l(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function h(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>c,Bi:()=>a,Pv:()=>l,Rg:()=>s,U9:()=>o,W0:()=>h,ZC:()=>r,fT:()=>i,uW:()=>u})},65864(t,e,n){n.d(e,{rS:()=>l,xD:()=>m});var r=n(5443),o=n(91075),i=n(48526),s=n(86738),a=n(39829),u=n(82799),c=n(60408);function l(t){return null==t?null:t instanceof o.A?t:(0,c.fT)(t)?s.A.fromJSON(t):(0,c.Rg)(t)?u.A.fromJSON(t):(0,c.Bi)(t)?a.A.fromJSON(t):(0,c.U9)(t)?i.A.fromJSON(t):(0,c.ZC)(t)?r.A.fromJSON(t):null}const h={esriGeometryPoint:s.A,esriGeometryPolyline:u.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:i.A,esriGeometryMultiPatch:a.A};function m(t){return t&&h[t]||null}},32728(t,e,n){n.d(e,{YH:()=>s,nu:()=>a,wp:()=>i}),n(34727);var r=n(35522),o=n(51850);function i(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),o=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.hZ)(t,n,o,i),t}function s(t,e,n){n=n||t;const o=(0,r.Om)(t,e);(0,r.hZ)(n,t[0]-o*e[0],t[1]-o*e[1],t[2]-o*e[2]),(0,r.S8)(n,n)}function a(t,e,n,i=(0,o.vt)()){const s=(0,r.Bw)(t),a=(0,r.Bw)(e),l=(0,r.Om)(t,e)/(s*a);if(l<.9999999999999999){const o=Math.acos(l),h=((1-n)*s+n*a)/Math.sin(o),m=h/s*Math.sin((1-n)*o),f=h/a*Math.sin(n*o);return(0,r.hs)(u,t,m),(0,r.hs)(c,e,f),(0,r.WQ)(i,u,c)}return(0,r.Cc)(i,t,e,n)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const u=(0,o.vt)(),c=(0,o.vt)()},15554(t,e,n){n.r(e),n.d(e,{area2D:()=>Z,areaHorizontal:()=>V,autoArea2D:()=>k,autoDistance2DBetweenPoints:()=>K,autoLength2D:()=>z,autoSize2D:()=>W,distance2DBetweenPoints:()=>F,geodeticArea:()=>G,geodeticDistanceBetweenPoints:()=>J,geodeticDistanceBetweenPointsMany:()=>Y,geodeticLength:()=>B,length2D:()=>X,preloadGeodetic:()=>C,simplify:()=>Q});var r=n(17799),o=n(86211),i=n(35522),s=n(51850),a=n(73941),u=n(48526),c=n(86738),l=n(39829),h=n(82799),m=n(99917),f=n(16930),p=n(98764),g=n(95624),y=n(9447),d=n(78125);const v=new y.OperatorCentroid2D;v.supportsCurves();const P=new(n(22994).OperatorDistance);P.supportsCurves();var N=n(89506),D=n(95360),M=n(40427),_=n(965),S=n(23914),b=n(27993);function w(t,e,n,r,o){(0,i.C)(x,t),(0,i.WQ)(A,t,e),(0,b.F)(x,n,x,o),(0,b.F)(A,n,A,o),(0,i.Re)(r,A,x),(0,i.S8)(r,r)}const x=(0,s.vt)(),A=(0,s.vt)();var I=n(65864),E=n(21325),O=n(32728);async function G({geometryJSON:t,options:e}){await Promise.allSettled([(0,N.Hh)(),e?.returnLength?(0,M.Hh)():void 0]);const n=q(t,e),i=e?.unit??"square-meters",s=(0,S.g7)(n)??n,a=(0,N.g7)(s,{unit:i,...e}),u=(0,r.gT)(a,i),c=e?.lengthUnit??(0,o.Bd)(i);return{area:u,centroid:e?.returnCentroid?R(s).toJSON():void 0,length:e?.returnLength?await T(s,{unit:c}):void 0}}function C(){(0,N.Hh)(),(0,M.Hh)(),(0,D.load)()}function q(t,e){const n="rings"in t?l.A.fromJSON(t):h.A.fromJSON(t);if(e?.stagedPoint){const t=c.A.fromJSON(e.stagedPoint),r=("rings"in n?n.rings:n.paths).at(-1);if(r){const{x:e,y:o,z:i,m:s}=t,a=n.hasZ&&n.hasM?[e,o,i??0,s??0]:n.hasZ?[e,o,i??0]:n.hasM?[e,o,s??0]:[e,o];r.push(a)}}return n}function R(t){return function(t){const e=v.execute((0,d.fromGeometry)(t),null);return(0,d.toPoint)(e,(0,d.getSpatialReference)(t))}(t)}async function T(t,e){await(0,M.Hh)();const n=e?.unit??"meters";return(0,r.d_)((0,M.g7)(t,{...e,unit:n}),n)}function B({geometryJSON:t,options:e}){return T(q(t,e),e)}async function J({geometry1JSON:t,geometry2JSON:e,options:n}){await(0,D.load)();const o=c.A.fromJSON(t),i=c.A.fromJSON(e),s=n?.unit??"meters";return(0,r.d_)((0,D.execute)(o,i,{...n,unit:s}),s)}async function Y({geometry1JSON:t,geometry2JSON:e,options:n}){await(0,D.load)();const o=u.A.fromJSON(t),i=u.A.fromJSON(e);if(o.points.length!==i.points.length)throw new Error("Input multipoints must have the same number of points.");const s=o.points.length,a=n?.unit??"meters",c=[],l={...n,unit:a};for(let t=0;t<s;t++){const e=o.getPoint(t),n=i.getPoint(t);c.push(null!=e&&null!=n?(0,r.d_)((0,D.execute)(e,n,l),a):null)}return c}function Z({geometryJSON:t,options:e}){return j(q(t,e),e)}function j(t,e){const n=e?.unit??"square-meters",i=e?.lengthUnit??(0,o.Bd)(n),s=(0,S.g7)(t)??t,a=(0,g.g)(s,{unit:n,...e});return{area:(0,r.gT)(a,n),centroid:e?.returnCentroid?R(s).toJSON():void 0,length:e?.returnLength?L(s,{unit:i}):void 0}}function L(t,e){const n=e?.unit??"meters";return(0,r.d_)((0,_.execute)(t,{...e,unit:n}),n)}function X({geometryJSON:t,options:e}){return L(q(t,e),e)}function F({geometry1JSON:t,geometry2JSON:e,options:n}){const i=c.A.fromJSON(t),s=c.A.fromJSON(e),a=n?.unit??"meters";return(0,r.d_)(function(t,e,n={}){const{unit:r}=n;let i=P.execute((0,d.fromGeometry)(t),(0,d.fromGeometry)(e),null);if(i&&r){const e=(0,d.getSpatialReference)(t);i=(0,o.PQ)(i,e,r)}return i}(i,s,{...n,unit:a}),a)}async function k(t){return U(t.geometryJSON.spatialReference,G,Z)(t)}async function z(t){return U(t.geometryJSON.spatialReference,B,X)(t)}async function K(t){return U(t.geometry1JSON.spatialReference,J,F)(t)}async function W(t){const e=U(t.topLeftJSON.spatialReference,J,F),{topLeftJSON:n,topRightJSON:o,bottomRightJSON:i,bottomLeftJSON:s,options:a}=t,[u,c,l,h]=await Promise.all([e({geometry1JSON:s,geometry2JSON:i,options:a}),e({geometry1JSON:n,geometry2JSON:o,options:a}),e({geometry1JSON:i,geometry2JSON:o,options:a}),e({geometry1JSON:s,geometry2JSON:n,options:a})]);return{width:(0,r.T9)(u,c),height:(0,r.T9)(h,l)}}function U(t,e,n){switch(r=t,(0,E.EA)(r)||(0,E.K8)(r)?0:1){case 0:return e;case 1:return n}var r}function V(t){const{geometryJSON:e}=t,n=function(t){return t?(0,a.B3)(t)?(0,E.oT)(t)||(0,E.K8)(t)||(0,E.x1)(t)||(0,a.jA)(t)||(0,E.aI)(t,p.Y0)?{mode:1,spatialReference:p.Y0}:{mode:0,spatialReference:t}:{mode:1,spatialReference:(0,p.lO)(t)}:null}(e.spatialReference);if(!n)throw new Error("Cannot compute horizontal area without a valid spatial reference.");switch(n.mode){case 0:return Z(t);case 1:return function(t,{geometryJSON:e,options:n}){const r=q(e,n),o=nt,i=tt,s=et,a=(0,E.aI)(r.spatialReference,t.spatialReference)?r.clone():(0,m.projectWithoutEngine)(r,r.spatialReference,t.spatialReference);if(!a)throw new Error(`Cannot project geometry from ${r.spatialReference?.wkid??"unknown"} to ${t.spatialReference.wkid}.`);H(a,o,i,s);const{area:u,centroid:c,length:l}=j(a,n);return{area:u,centroid:$(c,o,i,s,t.spatialReference,r.spatialReference),length:l}}(n,t)}}function Q({geometryJSON:t}){const e=(0,I.rS)(t);if(!e)return null;const n=(0,S.g7)(e);return n?n.toJSON():null}function $(t,e,n,r,o,s){if(!t)return t;(0,i.hs)(n,n,t.x),(0,i.hs)(r,r,t.y);const a=rt;return(0,i.WQ)(a,n,r),(0,i.WQ)(a,a,e),t.x=a[0],t.y=a[1],t.z=a[2],t.spatialReference=o,(0,m.projectWithoutEngine)(t,t.spatialReference,s)?.toJSON()??void 0}function H(t,e,n,r){let o=0;(0,i.hZ)(e,0,0,0);for(const n of t.rings)for(const t of n)e[0]+=t[0],e[1]+=t[1],e[2]+=t[2],o++;(0,i.hs)(e,e,1/o);const s=ot;(0,i.S8)(s,e);const a=it,u=Math.atan2(s[1],s[0]);(0,i.hZ)(a,-Math.sin(u),Math.cos(u),0),(0,E.aI)(t.spatialReference,p.Y0)&&(w(e,s,p.GD,s,t.spatialReference),w(e,a,p.GD,a,t.spatialReference)),(0,O.YH)(a,s,n),(0,i.$A)(r,n,s);const c=rt;for(const o of t.rings)for(const t of o){(0,i.hZ)(c,t[0],t[1],t[2]),(0,i.Re)(c,c,e);const o=(0,i.Om)(n,c),s=(0,i.Om)(r,c);t[0]=o,t[1]=s}t.hasZ=!1,t.spatialReference=f.A.WebMercator}const tt=(0,s.vt)(),et=(0,s.vt)(),nt=(0,s.vt)(),rt=(0,s.vt)(),ot=(0,s.vt)(),it=(0,s.vt)()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7367],{87367(n,e,t){t.r(e),t.d(e,{registerFunctions:()=>g});var r=t(47609),a=t(67862),i=t(66395),s=t(85935),o=t(54639),l=t(78878),c=t(80672),u=t(38222),f=t(98919),d=t(71163),y=t(36983),w=t(70333),m=t(11254);async function p(n,e,t){const r=w.id?.findCredential(n.restUrl);if(!r)return null;if("loaded"===n.loadStatus&&""===e&&n.user?.sourceJSON&&!1===t)return n.user.sourceJSON;const a={responseType:"json",query:{f:"json"}};if(t&&(a.query.returnUserLicenseTypeExtensions=!0),""===e){const e=await(0,m.A)(n.restUrl+"/community/self",a);if(e.data){const n=e.data;if(n?.username)return n}return null}const i=await(0,m.A)(n.restUrl+"/community/users/"+e,a);if(i.data){const n=i.data;return n.error?null:n}return null}var h=t(54218);function R(n){if(null==n)return n;switch(typeof n){case"string":case"number":return n;default:throw new s.D$("InvalidParameter",null)}}function g(n){"async"===n.mode&&(n.functions.disjoint=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]||(0,d.C)("disjoint",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.intersects=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("intersects",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.touches=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("touches",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.crosses=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("crosses",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.within=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("within",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.contains=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("contains",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.overlaps=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("overlaps",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.equals=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>((0,l.E)(r,2,2,t),r[0]===r[1]||((0,l.d)(r[0])&&(0,l.d)(r[1])?(0,d.C)("equals",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]):((0,l.f)(r[0])&&(0,l.f)(r[1])||!!((0,l.r)(r[0])&&(0,l.r)(r[1])||(0,l.q)(r[0])&&(0,l.q)(r[1])))&&r[0].equals(r[1]))))},n.functions.relate=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,3,3,t),(0,l.d)(r[0])&&(0,l.d)(r[1]))return(0,d.C)("relate",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference),(0,l.w)(r[2])]);if((0,l.d)(r[0])&&null===r[1])return!1;if((0,l.d)(r[1])&&null===r[0])return!1;if(null===r[0]&&null===r[1])return!1;throw new s.D$("InvalidParameter",t)})},n.functions.intersection=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]?null:(0,y.R)(await(0,d.C)("intersection",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)))},n.functions.union=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(0===(r=(0,l.H)(r)).length)throw new s.D$("WrongNumberOfParameters",t);const a=[];if(1===r.length)if((0,h.cy)(r[0])){for(const n of(0,l.H)(r[0]))if(null!==n){if(!(0,l.d)(n))throw new s.D$("InvalidParameter",t);a.push(n)}}else{if(!(0,l.g)(r[0])){if((0,l.d)(r[0]))return r[0].clone();if(null===r[0])return null;throw new s.D$("InvalidParameter",t)}for(const n of(0,l.H)(r[0].toArray()))if(null!==n){if(!(0,l.d)(n))throw new s.D$("InvalidParameter",t);a.push(n)}}else for(const n of r)if(null!==n){if(!(0,l.d)(n))throw new s.D$("InvalidParameter",t);a.push(n)}if(0===a.length)return null;const i=a[0].spatialReference;return(0,y.R)(await(0,d.C)("union",[a.map(n=>n.asJsonGeometry()),(0,o.b)(i)]),i)})},n.functions.difference=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]?null:null===r[1]?r[0].clone():(0,y.R)(await(0,d.C)("difference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)))},n.functions.symmetricdifference=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>(r=(0,l.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,y.R)(await(0,d.C)("symmetricDifference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)))},n.functions.clip=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),!(0,l.J)(r[1])&&null!==r[1])throw new s.D$("InvalidParameter",t);if(null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return null===r[1]?null:(0,y.R)(await(0,d.C)("clip",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)})},n.functions.cut=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),!(0,l.K)(r[1])&&null!==r[1])throw new s.D$("InvalidParameter",t);if(null===r[0])return[];if(!(0,l.d)(r[0]))throw new s.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,o.b)(r[0].spatialReference)])).map(n=>(0,y.R)(n,a)).filter(n=>null!=n)})},n.functions.area=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{if((0,l.E)(a,1,2,t),a=(0,l.H)(a),(0,l.k)(a[0])){const n=await a[0].sumArea(R(a[1]),null,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}let i=a[0];if(((0,h.cy)(i)||(0,l.g)(i))&&(i=(0,u.zt)(a[0],e.spatialReference)),null===i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("area",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),R(a[1])])})},n.functions.areageodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{(0,l.E)(a,1,3,t);let i=(a=(0,l.H)(a))[0];((0,h.cy)(i)||(0,l.g)(i))&&(i=(0,u.zt)(i,e.spatialReference));const c=R(a[1]),y=(0,f.qr)(a[2]);if((0,l.k)(i)){const n=await i.sumArea(c,y,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}if(null==i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("geodeticArea",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),c,y])})},n.functions.length=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{if((0,l.E)(a,1,2,t),a=(0,l.H)(a),(0,l.k)(a[0])){const n=await a[0].sumLength(R(a[1]),null,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}let i=a[0];if(((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(i=(0,u.X1)(a[0],e.spatialReference)),null===i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("length",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),R(a[1])])})},n.functions.length3d=function(e,r){return n.standardFunctionAsync(e,r,async(n,a,i)=>{if((0,l.E)(i,1,2,r),null===(i=(0,l.H)(i))[0])return 0;let c=i[0];if(((0,h.cy)(i[0])||(0,l.g)(i[0]))&&(c=(0,u.X1)(i[0],e.spatialReference)),null===c)return 0;if(!(0,l.d)(c))throw new s.D$("InvalidParameter",r);if(!0===c.hasZ){const{convertFromSpatialReferenceUnit:n,toLengthUnit:e}=await Promise.resolve().then(t.bind(t,40547)),r=(0,f.UI)(c);return n(c.spatialReference,e(i[1]),r)}return(0,d.C)("length",[c.asJsonGeometry(),(0,o.b)(c.spatialReference),R(i[1])])})},n.functions.lengthgeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{(0,l.E)(a,1,3,t);let i=(a=(0,l.H)(a))[0];((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(i=(0,u.X1)(a[0],e.spatialReference));const c=R(a[1]),y=(0,f.qr)(a[2]);if((0,l.k)(i)){const n=await i.sumLength(c,y,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}if(null===i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("geodeticLength",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),c,y])})},n.functions.distance=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{a=(0,l.H)(a),(0,l.E)(a,2,3,t);let i=a[0];if(((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(i=(0,u.yg)(a[0],e.spatialReference)),!(0,l.d)(i))throw new s.D$("InvalidParameter",t);let c=a[1];if(((0,h.cy)(a[1])||(0,l.g)(a[1]))&&(c=(0,u.yg)(a[1],e.spatialReference)),!(0,l.d)(c))throw new s.D$("InvalidParameter",t);return(0,d.C)("distance",[i.asJsonGeometry(),c.asJsonGeometry(),(0,o.b)(i.spatialReference),R(a[2])])})},n.functions.distancegeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,t);const a=r[0];if(!(0,l.L)(a))throw new s.D$("InvalidParameter",t);const i=r[1];if(!(0,l.L)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("geodeticDistance",[a.asJsonGeometry(),i.asJsonGeometry(),(0,o.b)(a.spatialReference),R(r[2]),(0,f.qr)(r[3])])})},n.functions.densify=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,3,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=(0,l.v)(r[1]);if(isNaN(a))throw new s.D$("InvalidParameter",t);if(a<=0)throw new s.D$("InvalidParameter",t);switch(r[0].type){case"polygon":case"polyline":case"extent":return(0,y.R)(await(0,d.C)("densify",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference),a,R(r[2])]),r[0].spatialReference);default:return r[0]}})},n.functions.densifygeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,l.d)(a))throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(isNaN(i))throw new s.D$("InvalidParameter",t);if(i<=0)throw new s.D$("InvalidParameter",t);const c=R(r[2]),u=(0,f.qr)(r[3]);switch(a.type){case"polygon":case"polyline":case"extent":return(0,y.R)(await(0,d.C)("geodeticDensify",[a.asJsonGeometry(),(0,o.b)(a.spatialReference),i,c,u]),a.spatialReference);default:return a}})},n.functions.generalize=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,4,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=(0,l.v)(r[1]);if(isNaN(a))throw new s.D$("InvalidParameter",t);const i=(0,l.M)((0,l.N)(r[2],!0));return(0,y.R)(await(0,d.C)("generalize",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference),a,R(r[3]),i]),r[0].spatialReference)})},n.functions.buffer=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,3,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=(0,l.v)(r[1]);if(isNaN(a))throw new s.D$("InvalidParameter",t);return 0===a?r[0].clone():(0,y.R)(await(0,d.C)("buffer",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference),a,R(r[2])]),r[0].spatialReference)})},n.functions.buffergeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,l.d)(a))throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(isNaN(i))throw new s.D$("InvalidParameter",t);if(0===i)return a.clone();const c=R(r[2]),u=(0,f.qr)(r[3]);return(0,y.R)(await(0,d.C)("geodesicBuffer",[a.asJsonGeometry(),(0,o.b)(a.spatialReference),i,c,u]),a.spatialReference)})},n.functions.offset=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,6,t);const a=r[0];if(null===a)return null;if(!(0,l.d)(a)||"polygon"!==a.type&&"polyline"!==a.type)throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(isNaN(i))throw new s.D$("InvalidParameter",t);const c=r[2],u=(0,f.ug)(r[3]),w=(0,l.v)((0,l.N)(r[4],10));if(isNaN(w))throw new s.D$("InvalidParameter",t);const m=(0,l.v)((0,l.N)(r[5],0));if(isNaN(m))throw new s.D$("InvalidParameter",t);return(0,y.R)(await(0,d.C)("offset",[a.asJsonGeometry(),(0,o.b)(a.spatialReference),i,R(c),u,w,m]),a.spatialReference)})},n.functions.rotate=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,3,t);const a=r[0];if(null===a)return null;if(!(0,l.d)(a))throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(!Number.isFinite(i))throw new s.D$("InvalidParameter",t);const o=r[2];if(null!=o&&!(0,l.L)(o))throw new s.D$("InvalidParameter",t);const c=o?.asJsonLikeGeometry();return(0,y.R)(await(0,d.C)("rotate",[a.asJsonGeometry(),i,c?.x,c?.y]),a.spatialReference)})},n.functions.centroid=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{if(a=(0,l.H)(a),(0,l.E)(a,1,2,t),null===a[0])return null;const i=(0,f.Hz)(a[1]);let o=a[0];if(((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(o="geometric"===i?(0,u.yg)(a[0],e.spatialReference):(0,u.zt)(a[0],e.spatialReference),null===o))return null;if(!(0,l.d)(o))throw new s.D$("InvalidParameter",t);return(0,y.p)("point","geometric"===i?await(0,d.C)("centroid",[o.asJsonGeometry()]):await(0,d.C)("labelPoint",[o.asJsonGeometry()]),o.spatialReference)})},n.functions.measuretocoordinate=function(e,t){return n.standardFunctionAsync(e,t,f.Cd)},n.functions.pointtocoordinate=function(e,t){return n.standardFunctionAsync(e,t,f.kr)},n.functions.distancetocoordinate=function(e,t){return n.standardFunctionAsync(e,t,f.Bn)},n.functions.multiparttosinglepart=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=r[0].spatialReference;return(await(0,d.C)("multiPartToSinglePart",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])).map(n=>(0,y.R)(n,a)).filter(n=>null!=n)})},n.functions.isselfintersecting=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,t)=>{(0,l.E)(t,1,1,e);let r=(t=(0,l.H)(t))[0];return((0,h.cy)(t[0])||(0,l.g)(t[0]))&&(r=(0,u.X1)(t[0],n.spatialReference)),!!(0,l.d)(r)&&await(0,d.C)("isSelfIntersecting",[r.asJsonGeometry(),(0,o.b)(r.spatialReference)])})},n.functions.issimple=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return!0;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return(0,d.C)("isSimple",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])})},n.functions.simplify=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return(0,y.R)(await(0,d.C)("simplify",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)})},n.functions.convexhull=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return(0,y.R)(await(0,d.C)("convexHull",[r[0].asJsonGeometry()]),r[0].spatialReference)})},n.functions.getuser=function(e,t){return n.standardFunctionAsync(e,t,async(n,i,o)=>{(0,l.E)(o,0,2,t);let u=(0,l.N)(o[1],""),f=!0===u;if(u=!0===u||!1===u?"":(0,l.w)(u),0===o.length||o[0]instanceof r.A){const n=(0,c.RI)(e,o.length>0?o[0]:null),t=await p(n,u,f);return null!=t?(0,a.Tg)(JSON.parse(JSON.stringify(t))):null}let d=null;if((0,l.k)(o[0])&&(d=o[0]),d){if(f=!1,u)return null;await d.load();const n=await d.getOwningSystemUrl();if(!n){if(!u){const n=await d.getIdentityUser();return null!=n?(0,a.Tg)({username:n}):null}return null}const t=(0,c.RI)(e,new r.A(n)),i=await p(t,u,f);return null!=i?(0,a.Tg)(JSON.parse(JSON.stringify(i))):null}throw new s.D$("InvalidParameter",t)})},n.functions.nearestcoordinate=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);if(!(0,l.L)(r[1]))throw new s.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestCoordinate",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:i.A.createMutable({__proto__:null,coordinate:(0,y.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})},n.functions.nearestvertex=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);if(!(0,l.L)(r[1]))throw new s.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestVertex",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:i.A.createMutable({__proto__:null,coordinate:(0,y.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})})}},71163(n,e,t){t.d(e,{C:()=>l});var r=t(29953);let a,i,s=!1;function o(){return a??=(0,r.ho)("arcadeGeometryOperatorsWorker").then(n=>{i=n,s=!0,a=void 0})}async function l(n,e){return s?i.apply("invokeGeometryOp",[n,e]):(await o(),l(n,e))}}}]);