@arcgis/core 5.2.0-next.7 → 5.2.0-next.8

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 (446) hide show
  1. package/arcgisGlobal.d.ts +4 -0
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/07cc5743cb6a9fd68adb.js +1 -0
  4. package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +1 -0
  5. package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +1 -0
  6. package/assets/esri/core/workers/chunks/0f75c19d8e296a32e329.js +1 -0
  7. package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +1 -0
  8. package/assets/esri/core/workers/chunks/18f980465db5a86153d1.js +1 -0
  9. package/assets/esri/core/workers/chunks/1996f0a930abdd97b855.js +1 -0
  10. package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +1 -0
  11. package/assets/esri/core/workers/chunks/1cb1f125dccbf8c8cac9.js +1 -0
  12. package/assets/esri/core/workers/chunks/1dd06335bb2d35c66339.js +1 -0
  13. package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +1 -0
  14. package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +1 -0
  15. package/assets/esri/core/workers/chunks/{da29cf0e64065631a470.js → 24810c36ae09bb4e83dc.js} +1 -1
  16. package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +1 -0
  17. package/assets/esri/core/workers/chunks/274b82cb183ddd0042f3.js +1 -0
  18. package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +1 -0
  19. package/assets/esri/core/workers/chunks/2c9ba638d1f31c82f9f5.js +1 -0
  20. package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +1 -0
  21. package/assets/esri/core/workers/chunks/2dbc2fd0f2dde505c465.js +1 -0
  22. package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +1 -0
  23. package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +1 -0
  24. package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +1 -0
  25. package/assets/esri/core/workers/chunks/31918a0d9886dedf385f.js +1 -0
  26. package/assets/esri/core/workers/chunks/{1c029b03ed836f393a50.js → 3248001d9dfb9153699e.js} +1 -1
  27. package/assets/esri/core/workers/chunks/3297658ccd8d4b9ce733.js +1 -0
  28. package/assets/esri/core/workers/chunks/{716a4d7e8b908b81870b.js → 32f26757e36704923286.js} +1 -1
  29. package/assets/esri/core/workers/chunks/3529afab0c2444275d91.js +1 -0
  30. package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +1 -0
  31. package/assets/esri/core/workers/chunks/390fda094fa8695d98cf.js +1 -0
  32. package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +30 -0
  33. package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +1 -0
  34. package/assets/esri/core/workers/chunks/{b23009d9f8eb7c20ce45.js → 3b15933f65f59625a650.js} +1 -1
  35. package/assets/esri/core/workers/chunks/3b3f91a61e3f29af1fb2.js +1 -0
  36. package/assets/esri/core/workers/chunks/{f815106d439ff1f76e51.js → 3b837b512999e6ab24bc.js} +1 -1
  37. package/assets/esri/core/workers/chunks/3d20c86f1fe877bf884b.js +1 -0
  38. package/assets/esri/core/workers/chunks/3dc5fbecc427df1fd827.js +1 -0
  39. package/assets/esri/core/workers/chunks/3e65b4b18760bde8ceee.js +1 -0
  40. package/assets/esri/core/workers/chunks/3ff7aa216cd794d951e8.js +1 -0
  41. package/assets/esri/core/workers/chunks/{8e1865392681d390ab2e.js → 401ee7fa500adad77db1.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{60915a3708a34da1977e.js → 426156137f279d979ddd.js} +1 -1
  43. package/assets/esri/core/workers/chunks/4517630bf869205bab87.js +1 -0
  44. package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +1 -0
  45. package/assets/esri/core/workers/chunks/{cfd28eba44cf5a296c6d.js → 49308bdc36373555f1af.js} +1 -1
  46. package/assets/esri/core/workers/chunks/5075e85e1eafd431a8c0.js +1 -0
  47. package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +1 -0
  48. package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +1 -0
  49. package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +1 -0
  50. package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +1 -0
  51. package/assets/esri/core/workers/chunks/538537f9bc866d9caa75.js +1 -0
  52. package/assets/esri/core/workers/chunks/58a7cdebc3d182c15ec6.js +1 -0
  53. package/assets/esri/core/workers/chunks/58ac245ff7fb57c1004f.js +1 -0
  54. package/assets/esri/core/workers/chunks/58acc18b92533166135d.js +1 -0
  55. package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +1 -0
  56. package/assets/esri/core/workers/chunks/5bfae465872760e7af6d.js +1 -0
  57. package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +1 -0
  58. package/assets/esri/core/workers/chunks/5d3ddbf94539cb4f493e.js +1 -0
  59. package/assets/esri/core/workers/chunks/{542f5469f7b42026b24f.js → 5d62d1920e3e35fc0192.js} +1 -1
  60. package/assets/esri/core/workers/chunks/5dd441db1e74dc9b56e9.js +1 -0
  61. package/assets/esri/core/workers/chunks/630ad47857de3cf726d1.js +1 -0
  62. package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +1 -0
  63. package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +1 -0
  64. package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +1 -0
  65. package/assets/esri/core/workers/chunks/686c51fd2144e132783e.js +1 -0
  66. package/assets/esri/core/workers/chunks/68f9b2da1fd08785320f.js +2 -0
  67. package/assets/esri/core/workers/chunks/69e98de578f467a35054.js +1 -0
  68. package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +1 -0
  69. package/assets/esri/core/workers/chunks/6aabde21b0b376d95888.js +1 -0
  70. package/assets/esri/core/workers/chunks/6c6396bfcdab12e68deb.js +1 -0
  71. package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +1 -0
  72. package/assets/esri/core/workers/chunks/{bcb021a167580bb1619f.js → 6ef3b8d67b498d655a99.js} +1 -1
  73. package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +1 -0
  74. package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +1 -0
  75. package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +1 -0
  76. package/assets/esri/core/workers/chunks/{fce7995c26953bfd8d3d.js → 70229007d594536ba6a3.js} +1 -1
  77. package/assets/esri/core/workers/chunks/71e55381fdff3fc2542e.js +1 -0
  78. package/assets/esri/core/workers/chunks/{90953a827bc89d0e6bd5.js → 72cfb186e50537bcdd19.js} +1 -1
  79. package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +1 -0
  80. package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +1 -0
  81. package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +1 -0
  82. package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +1 -0
  83. package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +1 -0
  84. package/assets/esri/core/workers/chunks/7e89cb9ff615742e0894.js +1 -0
  85. package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +1 -0
  86. package/assets/esri/core/workers/chunks/{8477b5fdd99c6ac5c27b.js → 851705cf276eae8d4d37.js} +1 -1
  87. package/assets/esri/core/workers/chunks/89e09276086745aa21fa.js +1 -0
  88. package/assets/esri/core/workers/chunks/{4894997bfa438f66da36.js → 8a8c5e5ce457ca004687.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{b79428c5093614174e76.js → 8b0a01ebc86ab226f01f.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{452c01cecbbd1e370098.js → 8f93e6fc11a158d4f1ee.js} +1 -1
  91. package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +1 -0
  92. package/assets/esri/core/workers/chunks/{359d3acb3953e64e5a78.js → 93ceb74ac88ef460fe5f.js} +1 -1
  93. package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +1 -0
  94. package/assets/esri/core/workers/chunks/{875cce0be4f6c89f80f3.js → 9629601de5e44ffe90ea.js} +2 -2
  95. package/assets/esri/core/workers/chunks/976ab2be6c244768c08a.js +1 -0
  96. package/assets/esri/core/workers/chunks/{e785f76c1a75cb1d1e1f.js → 99101789035f1787c630.js} +1 -1
  97. package/assets/esri/core/workers/chunks/99e5296192ab98fd0d99.js +1 -0
  98. package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +1 -0
  99. package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +1 -0
  100. package/assets/esri/core/workers/chunks/a2247f4c3116efb16c4f.js +1 -0
  101. package/assets/esri/core/workers/chunks/a4245bd4e67a428fd835.js +1 -0
  102. package/assets/esri/core/workers/chunks/a442534ac0956a68b769.js +1 -0
  103. package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +1 -0
  104. package/assets/esri/core/workers/chunks/{8bdca6f06c8b5fedd917.js → a5abba59e738c3240c22.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{62dfbdc847be4800e833.js → a9a1293b1d5302fb3b54.js} +8 -12
  106. package/assets/esri/core/workers/chunks/a9fc53ae040320e49834.js +1 -0
  107. package/assets/esri/core/workers/chunks/aa118c1bcd922b8ac328.js +1 -0
  108. package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +1 -0
  109. package/assets/esri/core/workers/chunks/ac33b10fe65f9e9e824f.js +1 -0
  110. package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +1 -0
  111. package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +1 -0
  112. package/assets/esri/core/workers/chunks/b22a1c98271c2e4d8808.js +1 -0
  113. package/assets/esri/core/workers/chunks/{9f4681713f03365a2a53.js → b666027b9022fa346a79.js} +1 -1
  114. package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +1 -0
  115. package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +1 -0
  116. package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +1 -0
  117. package/assets/esri/core/workers/chunks/c357c0a08b99c1e7f290.js +1 -0
  118. package/assets/esri/core/workers/chunks/{4a23b27bfbcfa08fd9a7.js → c3cf9e6e91f71c9cc5f3.js} +1 -1
  119. package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +1 -0
  120. package/assets/esri/core/workers/chunks/{e545df5ea7c0ced92cee.js → c424a66f1546275e2bcb.js} +1 -1
  121. package/assets/esri/core/workers/chunks/c60b4f2dd5fccdf362a7.js +1 -0
  122. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +1 -0
  123. package/assets/esri/core/workers/chunks/c911f0b5bdd43b66b731.js +1 -0
  124. package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +1 -0
  125. package/assets/esri/core/workers/chunks/ccffaba50674adba7a0f.js +1 -0
  126. package/assets/esri/core/workers/chunks/{24646a1176ce34039155.js → cdf6ad970dc1893dac58.js} +1 -1
  127. package/assets/esri/core/workers/chunks/d13e003c9293cb7e2852.js +1 -0
  128. package/assets/esri/core/workers/chunks/d24e027bb8b2c09f25c8.js +1 -0
  129. package/assets/esri/core/workers/chunks/d2df8c328054dc6cb7b7.js +1 -0
  130. package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +1 -0
  131. package/assets/esri/core/workers/chunks/{5e3e0d7b85dfd52d1c7d.js → d78b7cac322755e87eb8.js} +1 -1
  132. package/assets/esri/core/workers/chunks/d7be278aed1fb37ad5ec.js +1 -0
  133. package/assets/esri/core/workers/chunks/d9695794cfaa014a55b1.js +1 -0
  134. package/assets/esri/core/workers/chunks/da1e8b338ab9fe9e0a8e.js +1 -0
  135. package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +1 -0
  136. package/assets/esri/core/workers/chunks/e279bcbe4f10e87bde6c.js +1 -0
  137. package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +1 -0
  138. package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +1 -0
  139. package/assets/esri/core/workers/chunks/{e178cd0e9178d6716410.js → e5837e5ac6ef761f26a2.js} +1 -1
  140. package/assets/esri/core/workers/chunks/e6a7272b59a4c2e34dca.js +1 -0
  141. package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +1 -0
  142. package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +1 -0
  143. package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +1 -0
  144. package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +1 -0
  145. package/assets/esri/core/workers/chunks/ee07f54bc77fe9f8575a.js +1 -0
  146. package/assets/esri/core/workers/chunks/{e094364e54981c91e1b4.js → eeea5710275c967e8d51.js} +1 -1
  147. package/assets/esri/core/workers/chunks/ef46ef4f0ee9f2aeaa4a.js +1 -0
  148. package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +1 -0
  149. package/assets/esri/core/workers/chunks/{485d20152495c27b8074.js → f2a268c69f2a5566381b.js} +1 -1
  150. package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +1 -0
  151. package/assets/esri/core/workers/chunks/f69df22a5c64389ebe28.js +1 -0
  152. package/assets/esri/core/workers/chunks/{f60292d97bcdbf19165b.js → f6d047358d14328f3622.js} +1 -1
  153. package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +1 -0
  154. package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +1 -0
  155. package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +1 -0
  156. package/assets/esri/core/workers/chunks/f98118127469449ca145.js +1 -0
  157. package/assets/esri/core/workers/chunks/f9ed05d4ad1f44d033bb.js +1 -0
  158. package/assets/esri/core/workers/chunks/fb6605be0c5e36785543.js +1 -0
  159. package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +1 -0
  160. package/assets/esri/core/workers/chunks/fc4d9be62cf5e9758842.js +1 -0
  161. package/assets/esri/core/workers/chunks/fd70a25ffdf2cc6c5be2.js +1 -0
  162. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  163. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  164. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  165. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  166. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +38 -8
  167. package/assets/esri/themes/dark/main.css +1 -1
  168. package/assets/esri/themes/light/main.css +1 -1
  169. package/assets/esri/themes/light/view.css +1 -1
  170. package/chunks/GlowComposition.glsl.js +2 -2
  171. package/chunks/bundle2.js +1 -1
  172. package/chunks/lyr3DMain.js +1 -1
  173. package/chunks/lyr3DWorker.js +1 -1
  174. package/chunks/vxlLayer.js +1 -1
  175. package/config.js +1 -1
  176. package/core/screenUtils.js +1 -1
  177. package/core/sql.d.ts +1 -1
  178. package/geometry/Extent.d.ts +0 -13
  179. package/geometry/Geometry.d.ts +10 -8
  180. package/geometry/Multipoint.d.ts +9 -0
  181. package/geometry/Multipoint.js +1 -1
  182. package/geometry/Point.d.ts +15 -71
  183. package/geometry/Polygon.js +1 -1
  184. package/geometry/support/geometryUtils.js +1 -1
  185. package/graphic/AnnotationGraphicOrigin.d.ts +34 -0
  186. package/graphic/AnnotationGraphicOrigin.js +2 -0
  187. package/graphic/DimensionFeatureGraphicOrigin.d.ts +34 -0
  188. package/graphic/DimensionFeatureGraphicOrigin.js +2 -0
  189. package/identity/IdentityManagerBase.js +1 -1
  190. package/interfaces.d.ts +10 -0
  191. package/kernel.js +1 -1
  192. package/layers/AnnotationLayer.d.ts +263 -32
  193. package/layers/AnnotationLayer.js +1 -1
  194. package/layers/DimensionFeatureLayer.d.ts +263 -32
  195. package/layers/DimensionFeatureLayer.js +1 -1
  196. package/layers/FeatureLayer.d.ts +1 -1
  197. package/layers/GeoJSONLayer.d.ts +7 -7
  198. package/layers/SceneLayer.d.ts +4 -2
  199. package/layers/VideoLayer.d.ts +7 -1
  200. package/layers/VideoLayer.js +1 -1
  201. package/layers/catalog/CatalogFootprintLayer.d.ts +40 -10
  202. package/layers/graphics/sources/parquet/FileProvider.js +1 -1
  203. package/layers/graphics/sources/parquet/ParquetFileInfo.js +2 -0
  204. package/layers/graphics/sources/parquet/ParquetFileStatistics.js +2 -0
  205. package/layers/graphics/sources/parquet/PortalParquetFileProvider.js +1 -1
  206. package/layers/graphics/sources/parquet/PortalParquetLayerFileProvider.js +1 -1
  207. package/layers/graphics/sources/parquet/UrlsFileProvider.js +1 -1
  208. package/layers/graphics/sources/parquet/createFileProvider.js +1 -1
  209. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  210. package/layers/mixins/FeatureLayerBase.d.ts +40 -16
  211. package/layers/mixins/TemporalLayer.d.ts +4 -2
  212. package/layers/support/AnnotationSublayer.d.ts +44 -0
  213. package/layers/support/AnnotationSublayer.js +2 -0
  214. package/layers/support/commonProperties.js +1 -1
  215. package/layers/support/featureLayerUtils.js +1 -1
  216. package/layers/support/layerUtils.js +1 -1
  217. package/layers/support/parquetUtils.js +1 -1
  218. package/layers/support/tiles3DUtils.js +1 -1
  219. package/layers/support/timeSeriesUtils.js +1 -1
  220. package/layers/video/types.d.ts +61 -1
  221. package/libs/parquet/parquet.js +1 -1
  222. package/package.json +1 -1
  223. package/request/types.d.ts +18 -20
  224. package/support/revision.js +1 -1
  225. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  226. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
  227. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
  228. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  229. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexOutlineFillShader.js +1 -1
  230. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
  231. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
  232. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  233. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  234. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  235. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  236. package/views/2d/layers/GeoRSSLayerView2D.js +1 -1
  237. package/views/2d/layers/GraphicsLayerView2D.js +1 -1
  238. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  239. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  240. package/views/2d/layers/KMLLayerView2D.js +1 -1
  241. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  242. package/views/2d/layers/MediaLayerView2D.js +1 -1
  243. package/views/2d/layers/RouteLayerView2D.js +1 -1
  244. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  245. package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
  246. package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
  247. package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
  248. package/views/2d/layers/graphics/GraphicStore.js +1 -1
  249. package/views/2d/support/hitTestUtils.js +1 -1
  250. package/views/3d/analysis/LineOfSight/LineOfSightAggregateManipulatedObject3D.js +2 -0
  251. package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
  252. package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
  253. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  254. package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
  255. package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +2 -0
  256. package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +1 -1
  257. package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +2 -0
  258. package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
  259. package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
  260. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  261. package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
  262. package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +1 -1
  263. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  264. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  265. package/views/3d/interactive/editingTools/reshape/ReshapeTool3D.js +1 -1
  266. package/views/3d/interactive/editingTools/reshape/isSupportedObject.js +1 -1
  267. package/views/3d/interactive/editingTools/reshape/reshapeTooltipUtils3D.js +1 -1
  268. package/views/3d/interactive/editingTools/visualElementUtils.js +1 -1
  269. package/views/3d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles3D.js +1 -1
  270. package/views/3d/layers/FlowSubView3D.js +1 -1
  271. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  272. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  273. package/views/3d/terrain/OverlayManager.js +1 -1
  274. package/views/3d/webgl/RenderNode.d.ts +25 -4
  275. package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +6 -10
  276. package/views/draw/plugins/PolygonPlugin.js +1 -1
  277. package/views/interactive/interactiveToolUtils.js +1 -1
  278. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  279. package/views/interactive/snapping/LineSnapper.js +1 -1
  280. package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
  281. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  282. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  283. package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
  284. package/views/interactive/snapping/SnappingManager.js +1 -1
  285. package/views/interactive/snapping/snappingUtils.js +1 -1
  286. package/views/layers/FeatureLikeLayerView.d.ts +25 -1
  287. package/views/layers/FeatureLikeLayerView.js +1 -1
  288. package/views/types.d.ts +4 -4
  289. package/webdoc/support/webdocSaveUtils.js +1 -1
  290. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -2
  291. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  292. package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +1 -1
  293. package/widgets/BatchAttributeForm/attachmentUtils.d.ts +14 -0
  294. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  295. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  296. package/widgets/BatchAttributeForm/css.js +1 -1
  297. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +8 -6
  298. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  299. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  300. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  301. package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +5 -0
  302. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  303. package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
  304. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  305. package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +1 -1
  306. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  307. package/widgets/BatchAttributeForm.d.ts +9 -1
  308. package/widgets/BatchAttributeForm.js +1 -1
  309. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  310. package/widgets/FeatureTable/Grid/Column.js +1 -1
  311. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  312. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  313. package/widgets/FeatureTable/Grid/GroupColumn.js +1 -1
  314. package/widgets/FeatureTable.js +1 -1
  315. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  316. package/widgets/Print/PrintViewModel.js +1 -1
  317. package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +7 -1
  318. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  319. package/widgets/support/ContingentValuesManager.js +1 -1
  320. package/assets/esri/core/workers/chunks/02aaeaa988e9e7d65a7f.js +0 -1
  321. package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +0 -1
  322. package/assets/esri/core/workers/chunks/09a4139fc6d069ab6928.js +0 -1
  323. package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +0 -1
  324. package/assets/esri/core/workers/chunks/0a780a883abfcdf0b900.js +0 -1
  325. package/assets/esri/core/workers/chunks/0fbf9bf52ecb4cd8293b.js +0 -1
  326. package/assets/esri/core/workers/chunks/119d352dd586f2bb61ec.js +0 -1
  327. package/assets/esri/core/workers/chunks/130784a27661de6b52a5.js +0 -1
  328. package/assets/esri/core/workers/chunks/145364aa20b4435294c2.js +0 -1
  329. package/assets/esri/core/workers/chunks/1595dc499a06b23b6a96.js +0 -1
  330. package/assets/esri/core/workers/chunks/16713986893adfbc9331.js +0 -1
  331. package/assets/esri/core/workers/chunks/179c9fe4ac83b42e5976.js +0 -1
  332. package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +0 -1
  333. package/assets/esri/core/workers/chunks/1c64e10f966e26af6fed.js +0 -1
  334. package/assets/esri/core/workers/chunks/1eabe746481e0b228498.js +0 -1
  335. package/assets/esri/core/workers/chunks/201007cf1a91e2b126fc.js +0 -1
  336. package/assets/esri/core/workers/chunks/20d0adc678f11981059c.js +0 -1
  337. package/assets/esri/core/workers/chunks/227eff8aa4a6f5f03bc2.js +0 -1
  338. package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +0 -1
  339. package/assets/esri/core/workers/chunks/238478cfe493fd4a6100.js +0 -1
  340. package/assets/esri/core/workers/chunks/24647e7424798dccdaf5.js +0 -1
  341. package/assets/esri/core/workers/chunks/249616ea2d90d40a8299.js +0 -1
  342. package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +0 -1
  343. package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +0 -1
  344. package/assets/esri/core/workers/chunks/2bcd4d395bfe6a19ccc8.js +0 -1
  345. package/assets/esri/core/workers/chunks/2c8584ec1c3c9fd5aba2.js +0 -1
  346. package/assets/esri/core/workers/chunks/2d374cc8c54a722a7afe.js +0 -1
  347. package/assets/esri/core/workers/chunks/2e11b4e9d66474a60064.js +0 -1
  348. package/assets/esri/core/workers/chunks/2fa080539d039c92ce08.js +0 -1
  349. package/assets/esri/core/workers/chunks/3109b05fe4fc40d4f25b.js +0 -1
  350. package/assets/esri/core/workers/chunks/31442f25d550ead58fc4.js +0 -1
  351. package/assets/esri/core/workers/chunks/32323b0e0fcecd8f640e.js +0 -1
  352. package/assets/esri/core/workers/chunks/330da3828eefd8d72d3f.js +0 -1
  353. package/assets/esri/core/workers/chunks/33e0130e6a40fc768978.js +0 -1
  354. package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +0 -1
  355. package/assets/esri/core/workers/chunks/388e71e8f2ec41bfa5a9.js +0 -1
  356. package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +0 -1
  357. package/assets/esri/core/workers/chunks/3aacaa1be5efeac23a37.js +0 -1
  358. package/assets/esri/core/workers/chunks/3b765a8cac9e92f644f2.js +0 -1
  359. package/assets/esri/core/workers/chunks/3bf6d55511cd7722eb93.js +0 -1
  360. package/assets/esri/core/workers/chunks/3e012cd3ca4451f89f59.js +0 -1
  361. package/assets/esri/core/workers/chunks/3fbb6ff940156a981983.js +0 -1
  362. package/assets/esri/core/workers/chunks/40910c69307e2d2d3f28.js +0 -1
  363. package/assets/esri/core/workers/chunks/40c4e14e7bb505ef10a3.js +0 -1
  364. package/assets/esri/core/workers/chunks/4104fa1ede36bcee9be5.js +0 -1
  365. package/assets/esri/core/workers/chunks/423a9882abd4a6dadf86.js +0 -1
  366. package/assets/esri/core/workers/chunks/428561df7ba6f02e2d80.js +0 -1
  367. package/assets/esri/core/workers/chunks/45323491f9005629c602.js +0 -1
  368. package/assets/esri/core/workers/chunks/46d0a25d33b5b328cfce.js +0 -1
  369. package/assets/esri/core/workers/chunks/47dd2bfecc5c4b5f10f0.js +0 -1
  370. package/assets/esri/core/workers/chunks/4845df00f6ebcce6ea3e.js +0 -1
  371. package/assets/esri/core/workers/chunks/48fcc10768d93e95a04e.js +0 -1
  372. package/assets/esri/core/workers/chunks/4a9dd9f8aa98882218f3.js +0 -1
  373. package/assets/esri/core/workers/chunks/4bfffdfbe6d467f143a4.js +0 -1
  374. package/assets/esri/core/workers/chunks/518046d2b95a7590a092.js +0 -1
  375. package/assets/esri/core/workers/chunks/54dad475dc806a38c287.js +0 -1
  376. package/assets/esri/core/workers/chunks/552945a73a95cd2a9f54.js +0 -1
  377. package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +0 -1
  378. package/assets/esri/core/workers/chunks/58155f24f8ed6aca7a21.js +0 -1
  379. package/assets/esri/core/workers/chunks/5838f46d341d2fde42ee.js +0 -1
  380. package/assets/esri/core/workers/chunks/592a599f514de373dead.js +0 -1
  381. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
  382. package/assets/esri/core/workers/chunks/5f9bacee6fbf9ac1bca0.js +0 -1
  383. package/assets/esri/core/workers/chunks/62206d5d497b95fc4caf.js +0 -1
  384. package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +0 -1
  385. package/assets/esri/core/workers/chunks/62fc3c367f736c73b0d7.js +0 -1
  386. package/assets/esri/core/workers/chunks/643c33a98f2d30a92001.js +0 -1
  387. package/assets/esri/core/workers/chunks/64daa2a714e59d22bbd4.js +0 -1
  388. package/assets/esri/core/workers/chunks/65621650a53f69f7b05a.js +0 -1
  389. package/assets/esri/core/workers/chunks/6a5356ebed70e0f8f979.js +0 -1
  390. package/assets/esri/core/workers/chunks/6c9933f948efd7923aa1.js +0 -1
  391. package/assets/esri/core/workers/chunks/6cab67fc7044ee9b863b.js +0 -1
  392. package/assets/esri/core/workers/chunks/7014e73dfd3c8baa704c.js +0 -1
  393. package/assets/esri/core/workers/chunks/75839240022b280929f7.js +0 -1
  394. package/assets/esri/core/workers/chunks/76589434d573111a8fb4.js +0 -1
  395. package/assets/esri/core/workers/chunks/767ea5b455b3823afd09.js +0 -1
  396. package/assets/esri/core/workers/chunks/77859a61d059738d057f.js +0 -1
  397. package/assets/esri/core/workers/chunks/78aa5bc6af2758da20d0.js +0 -1
  398. package/assets/esri/core/workers/chunks/7b564226def99fcf79d8.js +0 -1
  399. package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +0 -1
  400. package/assets/esri/core/workers/chunks/7cadfd7444a2a05cf2fb.js +0 -1
  401. package/assets/esri/core/workers/chunks/7df94cb985db41815fad.js +0 -2
  402. package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +0 -1
  403. package/assets/esri/core/workers/chunks/8419934bec7723b0feef.js +0 -1
  404. package/assets/esri/core/workers/chunks/84b0b6e099d949e0fea5.js +0 -1
  405. package/assets/esri/core/workers/chunks/9133c1b7cc1c9da27deb.js +0 -1
  406. package/assets/esri/core/workers/chunks/92ab5886aa2d8b9b179f.js +0 -1
  407. package/assets/esri/core/workers/chunks/9a6e62ef984e9c5babc4.js +0 -1
  408. package/assets/esri/core/workers/chunks/9b676606bf839b7aa433.js +0 -1
  409. package/assets/esri/core/workers/chunks/9d27cc631bab8aa7479e.js +0 -1
  410. package/assets/esri/core/workers/chunks/9dcfaca1f4fa8c8026ac.js +0 -1
  411. package/assets/esri/core/workers/chunks/9f23a61c60949459c14f.js +0 -30
  412. package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +0 -1
  413. package/assets/esri/core/workers/chunks/a0fa60a24e58f7a47e41.js +0 -1
  414. package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +0 -1
  415. package/assets/esri/core/workers/chunks/a2ac139d0975085279a6.js +0 -1
  416. package/assets/esri/core/workers/chunks/a806ac351ef5da04c250.js +0 -1
  417. package/assets/esri/core/workers/chunks/ab94c9f62462d7a98f6a.js +0 -1
  418. package/assets/esri/core/workers/chunks/abdb05754c50776c3edd.js +0 -1
  419. package/assets/esri/core/workers/chunks/ad488985824fbb830ed6.js +0 -1
  420. package/assets/esri/core/workers/chunks/b0ac4b0b7aec70cfe6eb.js +0 -1
  421. package/assets/esri/core/workers/chunks/bfbd1ca28ed2f263e58f.js +0 -1
  422. package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +0 -1
  423. package/assets/esri/core/workers/chunks/c44be4aaba829e6d149d.js +0 -1
  424. package/assets/esri/core/workers/chunks/ca6907e14b1dde4d5c07.js +0 -1
  425. package/assets/esri/core/workers/chunks/cbbd94c53e75efc99876.js +0 -1
  426. package/assets/esri/core/workers/chunks/ce0e627a5e1cb78adce8.js +0 -1
  427. package/assets/esri/core/workers/chunks/cf7acf5acb6d322fd996.js +0 -1
  428. package/assets/esri/core/workers/chunks/d21480b078ec9680d4c4.js +0 -1
  429. package/assets/esri/core/workers/chunks/d81291dac1932350eccd.js +0 -1
  430. package/assets/esri/core/workers/chunks/da3c54e27a808f4fcc18.js +0 -1
  431. package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +0 -1
  432. package/assets/esri/core/workers/chunks/dd58286dde3b20356f84.js +0 -1
  433. package/assets/esri/core/workers/chunks/dfeddb7b17fa9eaae64c.js +0 -1
  434. package/assets/esri/core/workers/chunks/e4e0c5a45cf32973d5d5.js +0 -1
  435. package/assets/esri/core/workers/chunks/e638391801ad83fe4a68.js +0 -1
  436. package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +0 -1
  437. package/assets/esri/core/workers/chunks/e7712467db46e1385cf4.js +0 -1
  438. package/assets/esri/core/workers/chunks/ed2cb60e4f17f46fb78d.js +0 -1
  439. package/assets/esri/core/workers/chunks/edb55329305becdb204f.js +0 -1
  440. package/assets/esri/core/workers/chunks/f02fe24177e56a7e42b2.js +0 -1
  441. package/assets/esri/core/workers/chunks/f1fb2f12371f4c562079.js +0 -1
  442. package/assets/esri/core/workers/chunks/f3dfe1bd1146a6927407.js +0 -1
  443. package/assets/esri/core/workers/chunks/ff48334528d2554db4fe.js +0 -1
  444. package/views/3d/analysis/LineOfSight/LineOfSightAuthoringStore.js +0 -2
  445. /package/assets/esri/core/workers/chunks/{7df94cb985db41815fad.js.LICENSE.txt → 68f9b2da1fd08785320f.js.LICENSE.txt} +0 -0
  446. /package/assets/esri/core/workers/chunks/{875cce0be4f6c89f80f3.js.LICENSE.txt → 9629601de5e44ffe90ea.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6247],{69052(e,t,n){n.d(t,{hr:()=>s,ie:()=>l,uC:()=>o});var a=n(34727);class s{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return r(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,a.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+i(this.range,e-t,n)}minimalMonotonic(e,t,n){return r(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,a=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(a)?n:a}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function r(e,t,n,a,s=0,r=!1){return(a-=s)<t?a+=i(e,t-a):a>n&&(a-=i(e,a-n)),r&&a===n&&(a=t),a+s}function i(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const o=new s(0,2*Math.PI),l=(new s(-Math.PI,Math.PI),new s(0,360))},31411(e,t,n){n.d(t,{GS:()=>F,gh:()=>R});var a=n(49186),s=n(56512),r=n(65864),i=n(4305),o=n(50954),l=n(52006),u=n(49663),c=n(46068),d=n(15507);const p=1e-6,h=[0,0];function f(e){return{maxSegmentLength:e.maxSegmentLength??0,maxDeviation:e.maxDeviation??0,maxSegmentsPerCurve:e.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(e.minSegmentsPerCurve??1,1)}}class m{constructor(e,t){this.curveStart=e,this.curveEnd=t,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(e,t){this.tStart=0,this.arcStart=e,this.tEndStack.push(1),this.arcEndStack.push(t)}splitAt(e){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(e),this.arcEndStack.push(this.interpolate(e))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(e,{maxDeviation:t,maxSegmentLength:n,maxSegmentsPerCurve:a,minSegmentsPerCurve:s}){const r=n*n,i=t*t,o=1/a,l=this.interpolate(0),u=this.interpolate(1);(0,d.kb)(this.curveStart,l)>p&&e.push(l),this.initialize(l,u);const c=1/s;for(let e=s-1;e>0;e--){const t=e*c;this.pop(),this.splitAt(t)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<o||(0===r||!isFinite(r)||(0,d.kb)(this.arcStart,this.arcEnd)<r)&&(0===i||!isFinite(i)||this.getDeviation2()<i)?(e.push(this.arcEnd),this.next()):this.splitInHalf();return(0,d.kb)(this.curveEnd,u)>p&&e.push([...this.curveEnd]),e}}class g extends m{constructor(e,t){const[n,a,s]=t.b;super(e,n),this._controlPointsStack=[],this._curveControlPoints=[a,s],this._arcControlPoints=[a,s],this._controlPointsStack.push(this._arcControlPoints)}splitAt(e){const{arcStart:t,arcEnd:n,tStart:a,tEnd:s}=this,[r,i]=this._arcControlPoints,o=(e-a)/(s-a),l=(0,d.RS)([],t,r,o),u=(0,d.RS)(h,r,i,o),c=(0,d.RS)([],i,n,o),p=(0,d.RS)([],l,u,o),f=(0,d.RS)([],u,c,o),m=(0,d.RS)([],p,f,o);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([f,c]),this.tEndStack.push(e),this.arcEndStack.push(m),this._arcControlPoints[0]=l,this._arcControlPoints[1]=p,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(e){const{curveStart:t,curveEnd:n}=this,[a,s]=this._curveControlPoints;return(0,i.B4)(t,a,s,n,e)}getDeviation2(){const{arcStart:e,arcEnd:t}=this,[n,a]=this._arcControlPoints;return Math.max((0,d.yE)(n,e,t),(0,d.yE)(a,e,t))}}class y extends m{constructor(e,t){const[n]=t.a;super(e,n),this._derivedEllipse=(0,c.SW)(e,t)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(e){return(0,c.Uk)(this._derivedEllipse,e)}getDeviation2(){return(0,d.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function w(e,t,n,{cx:a,cy:s,radius:r,thetaStart:i,thetaEnd:o,isInvalid:l},{maxDeviation:u,maxSegmentLength:c,maxSegmentsPerCurve:h,minSegmentsPerCurve:f}){if(l)return e.push([...n]),e;const m=2*r,g=[a+r*Math.cos(i),s+r*Math.sin(i)],y=[a+r*Math.cos(o),s+r*Math.sin(o)];(0,d.kb)(t,g)>p&&e.push(g);const w=Math.abs(o-i),S=c>0&&c<m?2*Math.asin(c/m):w,b=u>0&&u<=r?2*Math.acos(1-u/r):w,A=Math.min(S,b),v=Math.min(h,Math.max(f,Math.ceil(Math.abs(w/A)))),E=1/v;for(let t=1;t<v;t++){const n=t*E,l=i*(1-n)+o*n;e.push([a+r*Math.cos(l),s+r*Math.sin(l)])}return e.push(y),(0,d.kb)(n,y)>p&&e.push([...n]),e}function S(e,t,n,a){return new g(t,n).densify(e,a)}function b(e,t,n,a){const s=(0,o.pM)(t,n),[r]=n.c;return w(e,t,r,s,a)}function A(e,t,n,a){const s=(0,u.io)(t,n),[r]=n.a;return w(e,t,r,s,a)}function v(e,t,n,a){const[s,r,i,o,l,u,c]=n.a;return 0===u||0===c?(e.push([...s]),e):new y(t,n).densify(e,a)}function E(e,t,n,a){return(0,l.Xq)(n)?(e.push([...n]),e):(0,l.n1)(n)?S(e,t,n,a):(0,l.aO)(n)?b(e,t,n,a):(0,l.DA)(n)?A(e,t,n,a):v(e,t,n,a)}function F(e,t={}){if(!(0,l.Ed)(e))return e;const n=f(t),a=(0,l.FD)(e),s=[];for(const e of a){const t=[];for(let a=0;a<e.length-1;a++){const s=a+1,r=[...(0,l.yP)(e[a])];0===a&&t.push(r),E(t,r,e[s],n)}s.push(t)}return"curvePaths"in e?{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},paths:s,spatialReference:e.spatialReference}:{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},rings:s,spatialReference:e.spatialReference}}const k=(0,s.B)(e=>({maxDeviation:0,maxSegmentLength:100*e,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function R(e,t,s){const i=new Set(t);return await async function(e,t,s){let r=null;for(const i of e)if(i&&(0,l.Ed)(i)&&null==i.spatialReference.xyTolerance&&(0,l.V8)(i,t)){const e=i.spatialReference;if(!e)throw new a.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const t=M(e);if(s.has(t))i.spatialReference=s.get(t);else{r||(r=await Promise.all([n.e(6042),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(6312)]).then(n.bind(n,78125)));const o=r.fromSpatialReference(e),l=o?.getTolerance();if(null==l)throw new a.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const u=i.spatialReference.clone();u.read({xyTolerance:l}),i.spatialReference=u,s.set(t,u)}}}(e,i,s),e.map(e=>{if(!e||!(0,l.Ed)(e))return e;const n=e.spatialReference.xyTolerance;if(null==n)return e;const a=k(n);return(0,r.rS)(function(e,t,n){if(!(0,l.Ed)(e))return e;const a=new Set(t),s=f(n),r=(0,l.FD)(e),i=[];let o=!1;for(const e of r){const t=[];for(let n=0;n<e.length-1;n++){const r=n+1,i=[...(0,l.yP)(e[n])];0===n&&t.push(i);const u=e[r];(0,l.Xq)(u)?t.push([...u]):(0,l.n1)(u)&&!a.has("cubic-bezier")?S(t,i,u,s):(0,l.aO)(u)&&!a.has("circular-arc")?b(t,i,u,s):(0,l.DA)(u)&&!a.has("elliptic-arc")?A(t,i,u,s):(0,l.wY)(u)&&!a.has("elliptic-arc")?v(t,i,u,s):(t.push((0,l.tk)(u)),o=!0)}i.push(t)}return"curvePaths"in e?{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},spatialReference:e.spatialReference,...o?{curvePaths:i}:{paths:i}}:{hasZ:e.hasZ,hasM:e.hasM,spatialReference:e.spatialReference,...o?{curveRings:i}:{rings:i}}}(e,t,a))})}function M(e){if(null!=e.wkid)return`${e.wkid}`;if(null!=e.wkt)return e.wkt;const t="toJSON"in e&&"function"==typeof e.toJSON?e.toJSON():e;return JSON.stringify(t)}},17136(e,t,n){n.d(t,{Y_:()=>$,O7:()=>x,el:()=>M});var a=n(92602),s=n(69052),r=n(49186),i=n(53966),o=n(39829),l=n(82799),u=n(16930),c=n(80754),d=n(21325),p=n(28735),h=n(52006),f=n(31411),m=n(11254),g=n(60408),y=n(65864),w=n(2272),S=n(84952),b=n(92300);const A=()=>i.A.getLogger("esri.geometry.support.normalizeUtils");function v(e){return"polygon"===e[0].type}function E(e){return"polyline"===e[0].type}function F(e,t,n){const a=1e6;if(t){const t=(0,h.Ed)(e)?(0,f.GS)(e,{maxSegmentLength:a}):function(e,t){if(!(e instanceof l.A||e instanceof o.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw A().error(e),new r.A("internal:geometry",e)}const n=(0,c.r8)(e),a=[];for(const e of n){const n=[];a.push(n),n.push([e[0][0],e[0][1]]);for(let a=0;a<e.length-1;a++){const s=e[a][0],r=e[a][1],i=e[a+1][0],o=e[a+1][1],l=Math.sqrt((i-s)*(i-s)+(o-r)*(o-r)),u=(o-r)/l,c=(i-s)/l,d=l/t;if(d>1){for(let e=1;e<=d-1;e++){const a=e*t,i=c*a+s,o=u*a+r;n.push([i,o])}const e=(l+Math.floor(d-1)*t)/2,a=c*e+s,i=u*e+r;n.push([a,i])}n.push([i,o])}}return function(e){return"polygon"===e.type}(e)?new o.A({rings:a,spatialReference:e.spatialReference}):new l.A({paths:a,spatialReference:e.spatialReference})}(e,a);e=(0,p.ci)(t,!0)}return n&&(e=(0,c.kS)(e,n)),e}function k(e,t,n){if(Array.isArray(e)){const a=e[0];if(a>t){const n=(0,c.kd)(a,t);e[0]=a+n*(-2*t)}else if(a<n){const t=(0,c.kd)(a,n);e[0]=a+t*(-2*n)}}else{const a=e.x;if(a>t){const n=(0,c.kd)(a,t);e=e.clone().offset(n*(-2*t),0)}else if(a<n){const t=(0,c.kd)(a,n);e=e.clone().offset(t*(-2*n),0)}}return e}function R(e,t){let n=-1;for(let a=0;a<t.cutIndexes.length;a++){const s=t.cutIndexes[a],r=t.geometries[a],i=(0,c.r8)(r);for(let e=0;e<i.length;e++){const t=i[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const a=t[e][0];n=a>n?a:n}n=Number(n.toFixed(9));const a=-360*(0,c.kd)(n,180);for(let n=0;n<t.length;n++){const t=r.getPoint(e,n);r.setPoint(e,n,t.clone().offset(a,0))}return!0}})}if(s===n){if(v(e))for(const t of(0,c.r8)(r))e[s]=e[s].addRing(t);else if(E(e))for(const t of(0,c.r8)(r))e[s]=e[s].addPath(t)}else n=s,e[s]=r}return e}async function M(e,t,n){if(!Array.isArray(e))return M([e],t);t&&"string"!=typeof t&&A().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const s="string"==typeof t?t:t?.url??a.A.geometryServiceUrl;let r,i,u,h,f,v,E,x,I=0;const $=[],P=[];for(const t of e)if(null!=t)if(r||(r=t.spatialReference,i=(0,d.Vp)(r),u=r.isWebMercator,v=u?102100:4326,h=c.j7[v].maxX,f=c.j7[v].minX,E=c.j7[v].plus180Line,x=c.j7[v].minus180Line),i)if("mesh"===t.type)P.push(t);else if("point"===t.type)P.push(k(t.clone(),h,f));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>k(e,h,f)),P.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,i);P.push(e.rings?new o.A(e):e)}else if(t.extent){const e=t.extent,n=(0,c.kd)(e.xmin,f)*(2*h);let a=0===n?t.clone():(0,c.kS)(t.clone(),n);e.offset(n,0);let{xmin:s,xmax:r}=e;s=Number(s.toFixed(9)),r=Number(r.toFixed(9)),e.intersects(E)&&r!==h?(I=r>I?r:I,a=F(a,u),$.push(a),P.push("cut")):e.intersects(x)&&s!==f?(I=r*(2*h)>I?r*(2*h):I,a=F(a,u,360),$.push(a),P.push("cut")):P.push(a)}else P.push(t.clone());else P.push(t);else P.push(t);let O=(0,c.kd)(I,h),C=-90;const L=O,_=new l.A;for(;O>0;){const e=360*O-180;_.addPath([[e,C],[e,-1*C]]),C*=-1,O--}if($.length>0&&L>0){const t=R($,await async function(e,t,n,a){const s=(0,w.Dl)(e),r=t[0].spatialReference,i={...a,responseType:"json",query:{...s.query,f:"json",sr:(0,d.YX)(r),target:JSON.stringify({geometryType:(0,g.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},o=await(0,m.A)(s.path+"/cut",i),{cutIndexes:l,geometries:u=[]}=o.data;return{cutIndexes:l,geometries:u.map(e=>{const t=(0,y.rS)(e);return t.spatialReference=r,t})}}(s,$,_,n)),a=[],r=[];for(let n=0;n<P.length;n++){const s=P[n];if("cut"!==s)r.push(s);else{const s=t.shift(),i=e[n];null!=i&&"polygon"===i.type&&i.rings&&i.rings.length>1&&s.rings.length>=i.rings.length?(a.push(s),r.push("simplify")):r.push(u?(0,p.Gh)(s):s)}}if(!a.length)return r;const i=await async function(e,t,n){const a="string"==typeof e?(0,S.An)(e):e,s=t[0].spatialReference,r=(0,g.$B)(t[0]),i={...n,query:{...a.query,f:"json",sr:(0,d.YX)(s),geometries:JSON.stringify((0,b.X)(t))}},{data:o}=await(0,m.A)(a.path+"/simplify",i);return(0,b.V)(o.geometries,r,s)}(s,a,n),o=[];for(let e=0;e<r.length;e++){const t=r[e];"simplify"!==t?o.push(t):o.push(u?(0,p.Gh)(i.shift()):i.shift())}return o}const D=[];for(let e=0;e<P.length;e++){const t=P[e];if("cut"!==t)D.push(t);else{const e=$.shift();D.push(!0===u?(0,p.Gh)(e):e)}}return D}function x(e,t,n){const a=(0,d.Vp)(n);if(null==a)return e;const[s,r]=a.valid,i=2*r;let o=0,l=0;t>r?o=Math.ceil(Math.abs(t-r)/i):t<s&&(o=-Math.ceil(Math.abs(t-s)/i)),e>r?l=Math.ceil(Math.abs(e-r)/i):e<s&&(l=-Math.ceil(Math.abs(e-s)/i));let u=e+(o-l)*i;const c=u-t;return c>r?u-=i:c<s&&(u+=i),u}function I(e){const t=(0,d.Vp)(e);if(null==t)return null;const[n,a]=t.valid;return new s.hr(n,a)}const $=I(u.A.WGS84);I(u.A.WebMercator)},80754(e,t,n){n.d(t,{j7:()=>o,kS:()=>u,kd:()=>l,r8:()=>c});var a=n(82799),s=n(16930),r=n(60408),i=n(52006);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new a.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator}),minus180Line:new a.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new a.A({paths:[[[180,-180],[180,180]]],spatialReference:s.A.WGS84}),minus180Line:new a.A({paths:[[[-180,-180],[-180,180]]],spatialReference:s.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,i.Ed)(e))for(const n of function(e){return(0,r.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,i.aO)(e)){const[n,a]=e.c;n[0]+=t,a[0]+=t;continue}if((0,i.FG)(e)){const[n,a]=e.a;n[0]+=t,a[0]+=t;continue}if((0,i.n1)(e)){const[n,a,s]=e.b;n[0]+=t,a[0]+=t,s[0]+=t;continue}e[0]+=t}for(const n of c(e))for(const e of n)e[0]+=t;return e}function c(e){return(0,r.Bi)(e)?e.rings:e.paths}},78628(e,t,n){n.d(t,{applyEdits:()=>b,uploadAssets:()=>M});var a=n(52106),s=n(7762),r=n(49186),i=n(4718),o=n(53966),l=n(91869),u=n(84952),c=n(13069),d=n(17136),p=n(21325),h=n(31411),f=n(47685),m=n(30524),g=n(20557),y=n(77548);function w(e){return null!=e?.applyEdits}const S=new WeakMap;async function b(e,t,n,a={}){let u;const d="gdbVersion"in e?e.gdbVersion:null,p=a.gdbVersion??d;if((0,f.Mk)(e)&&e.url)u=(0,f.Zk)(e.url,e.layerId,p,"original-and-current-features"===a.returnServiceEditsOption);else{u=Promise.withResolvers(),u.promise.then(t=>{(t.addedFeatures.length||t.updatedFeatures.length||t.deletedFeatures.length||t.addedAttachments.length||t.updatedAttachments.length||t.deletedAttachments.length)&&e.emit("edits",t)});const t={result:u.promise};e.emit("apply-edits",t)}try{const{results:d,edits:p}=await async function(e,t,n,a){if(await e.load(),!w(t))throw new r.A(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!(0,y.tk)(e))throw new r.A(`${e.type}-layer:editing-disabled`,"Editing is disabled for layer",{layer:e});const{edits:i,options:u}=await async function(e,t,n){const a=(0,y.BR)(e),i=t&&(t.addFeatures||t.updateFeatures||t.deleteFeatures),u=t&&(t.addAttachments||t.updateAttachments||t.deleteAttachments),d=null!=e.infoFor3D;if(function(e,t,n,a,s,i){if(!(e&&(a||s)||n?.usingTelecomOperations))throw new r.A(`${i}:missing-parameters`,"'addFeatures', 'updateFeatures', 'deleteFeatures', 'addAttachments', 'updateAttachments' or 'deleteAttachments' parameter is required");const o=t.editing.supportsGlobalId||n?.usingFeatureServiceEndpoint;if(!o&&n?.globalIdUsed)throw new r.A(`${i}:invalid-parameter`,"This layer does not support 'globalIdUsed' parameter. See: 'capabilities.editing.supportsGlobalId'");if(!o&&s)throw new r.A(`${i}:invalid-parameter`,"'addAttachments', 'updateAttachments' and 'deleteAttachments' are applicable only if the layer supports global ids. See: 'capabilities.editing.supportsGlobalId'");if(!n?.globalIdUsed&&s)throw new r.A(`${i}:invalid-parameter`,"When 'addAttachments', 'updateAttachments' or 'deleteAttachments' is specified, globalIdUsed should be set to true")}(t,a,n,!!i,!!u,`${e.type}-layer`),!a.data.isVersioned&&n?.gdbVersion)throw new r.A(`${e.type}-layer:invalid-parameter`,"'gdbVersion' is applicable only if the layer supports versioned data. See: 'capabilities.data.isVersioned'");if(!a.editing.supportsRollbackOnFailure&&n?.rollbackOnFailureEnabled)throw new r.A(`${e.type}-layer:invalid-parameter`,"This layer does not support 'rollbackOnFailureEnabled' parameter. See: 'capabilities.editing.supportsRollbackOnFailure'");const p={...n};if(null!=p.rollbackOnFailureEnabled||a.editing.supportsRollbackOnFailure||(p.rollbackOnFailureEnabled=!0),p.rollbackOnFailureEnabled||"original-and-current-features"!==p.returnServiceEditsOption||(!1===p.rollbackOnFailureEnabled&&o.A.getLogger("esri.layers.graphics.editingSupport").warn(`${e.type}-layer:invalid-parameter`,"'original-and-current-features' is valid for 'returnServiceEditsOption' only when 'rollBackOnFailure' is true, but 'rollBackOnFailure' was set to false. 'rollBackOnFailure' has been overwritten and set to true."),p.rollbackOnFailureEnabled=!0),!a.editing.supportsReturnServiceEditsInSourceSpatialReference&&p.returnServiceEditsInSourceSR)throw new r.A(`${e.type}-layer:invalid-parameter`,"This layer does not support 'returnServiceEditsInSourceSR' parameter. See: 'capabilities.editing.supportsReturnServiceEditsInSourceSpatialReference'");if(p.returnServiceEditsInSourceSR&&"original-and-current-features"!==p.returnServiceEditsOption)throw new r.A(`${e.type}-layer:invalid-parameter`,"'returnServiceEditsInSourceSR' is valid only when 'returnServiceEditsOption' is set to 'original-and-current-features'");const h=function(e,t,n){const a=function(e){return{addFeatures:Array.from(e?.addFeatures??[]),updateFeatures:Array.from(e?.updateFeatures??[]),deleteFeatures:e&&s.A.isCollection(e.deleteFeatures)?e.deleteFeatures.toArray():e.deleteFeatures||[],addAttachments:e.addAttachments||[],updateAttachments:e.updateAttachments||[],deleteAttachments:e.deleteAttachments||[]}}(e);if(a.addFeatures?.length&&!t.operations.supportsAdd)throw new r.A(`${n}:unsupported-operation`,"Layer does not support adding features.");if(a.updateFeatures?.length&&!t.operations.supportsUpdate)throw new r.A(`${n}:unsupported-operation`,"Layer does not support updating features.");if(a.deleteFeatures?.length&&!t.operations.supportsDelete)throw new r.A(`${n}:unsupported-operation`,"Layer does not support deleting features.");return a.addFeatures=a.addFeatures.map(k),a.updateFeatures=a.updateFeatures.map(k),a.addAssetFeatures=[],a}(t,a,`${e.type}-layer`),f=n?.globalIdUsed||d,m=e.fields.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(f){const{globalIdField:t}=e;if(null==t)throw new r.A(`${e.type}-layer:invalid-parameter`,"Layer does not specify a global id field.");h.addFeatures.forEach(e=>function(e,t){const{attributes:n}=e;null==n[t]&&(n[t]=(0,c.yS)())}(e,t))}h.addFeatures.forEach(t=>function(e,t,n,a){A(e,t,n,a),v(e,t)}(t,e,f,m)),h.updateFeatures.forEach(t=>function(e,t,n,a){A(e,t,n,a),v(e,t);const s=(0,y.BR)(t);if("geometry"in e&&null!=e.geometry&&!s?.editing.supportsGeometryUpdate)throw new r.A(`${t.type}-layer:unsupported-operation`,"Layer does not support geometry updates.")}(t,e,f,m)),h.deleteFeatures.forEach(t=>function(e,t,n,a){A(e,t,n,a)}(t,e,f,m)),h.addAttachments.forEach(t=>E(t,e)),h.updateAttachments.forEach(t=>E(t,e)),d&&await async function(e,t){const{infoFor3D:n}=t;if(null==n)return;if(!(0,g.JQ)(n))throw new r.A(`${t.type}-layer:binary-gltf-asset-not-supported`,"3DObjectFeatureLayer requires binary glTF (.glb) support for updating mesh geometry.");e.addAssetFeatures??=[];const{addAssetFeatures:a}=e;for(const t of e.addFeatures??[])R(t)&&a.push(t);for(const t of e.updateFeatures??[])R(t)&&a.push(t)}(h,e);const w=(0,l.tE)(S,e,()=>new Map);return{edits:await F(h,a.data.supportedCurveTypes??[],w),options:p}}(e,n,a);return i.addFeatures?.length||i.updateFeatures?.length||i.deleteFeatures?.length||i.addAttachments?.length||i.updateAttachments?.length||i.deleteAttachments?.length?{edits:i,results:await t.applyEdits(i,u)}:{edits:i,results:{addFeatureResults:[],updateFeatureResults:[],deleteFeatureResults:[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}}(e,t,n,a),h=e=>e.filter(e=>!e.error).map(i.o8),f={edits:p,addedFeatures:h(d.addFeatureResults),updatedFeatures:h(d.updateFeatureResults),deletedFeatures:h(d.deleteFeatureResults),addedAttachments:h(d.addAttachmentResults),updatedAttachments:h(d.updateAttachmentResults),deletedAttachments:h(d.deleteAttachmentResults),exceededTransferLimit:!1,historicMoment:d.editMoment?new Date(d.editMoment):null,globalIdToObjectId:a.globalIdToObjectId};return d.editedFeatureResults?.length&&(f.editedFeatures=d.editedFeatureResults),u.resolve(f),d}catch(e){throw u.reject(e),e}}function A(e,t,n,a){if(n){if("attributes"in e&&!e.attributes[t.globalIdField])throw new r.A(`${t.type}-layer:invalid-parameter`,`Feature should have '${t.globalIdField}' when 'globalIdUsed' is true`);if(!("attributes"in e)&&!e.globalId)throw new r.A(`${t.type}-layer:invalid-parameter`,"`'globalId' of the feature should be passed when 'globalIdUsed' is true")}if(a.length&&"attributes"in e)for(const n of a){const a=e.attributes[n.name];if(void 0!==a&&!(0,m.OG)(n,a))throw new r.A(`${t.type}-layer:invalid-parameter`,`Big-integer field '${n.name}' of the feature must be less than ${Number.MAX_SAFE_INTEGER}`,{feature:e})}if("geometry"in e&&null!=e.geometry){if(e.geometry.hasZ&&!1===t.capabilities?.data.supportsZ)throw new r.A(`${t.type}-layer:z-unsupported`,"Layer does not support z values while feature has z values.");if(e.geometry.hasM&&!1===t.capabilities?.data.supportsM)throw new r.A(`${t.type}-layer:m-unsupported`,"Layer does not support m values while feature has m values.")}}function v(e,t){if("geometry"in e&&"mesh"===e.geometry?.type&&null!=t.infoFor3D&&null!=t.spatialReference){const{geometry:n}=e,{spatialReference:a,vertexSpace:s}=n,i=t.spatialReference,o="local"===s.type,l=(0,p.EA)(i),u=(0,p.aI)(i,a),c=u||(0,p.oT)(i)&&((0,p.oT)(a)||(0,p.K8)(a));if(!(o&&l&&c||!o&&!l&&u))throw new r.A(`${t.type}-layer:mesh-unsupported`,`Uploading a mesh with a ${s.type} vertex space and a spatial reference wkid:${a.wkid} to a layer with a spatial reference wkid:${i.wkid} is not supported.`)}}function E(e,t){const{feature:n,attachment:a}=e;if(!n||"attributes"in n&&!n.attributes[t.globalIdField])throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to a feature with 'globalId'");if(!("attributes"in n)&&!n.globalId)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to 'globalId' of the parent feature");if(!a.globalId)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have 'globalId'");if(!a.data&&!a.uploadId)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have 'data' or 'uploadId'");if(!(a.data instanceof File&&a.data.name||a.name))throw new r.A(`${t.type}-layer:invalid-parameter`,"'name' is required when attachment is specified as Base64 encoded string using 'data'");if(!t.capabilities?.editing.supportsUploadWithItemId&&a.uploadId)throw new r.A(`${t.type}-layer:invalid-parameter`,"This layer does not support 'uploadId' parameter. See: 'capabilities.editing.supportsUploadWithItemId'");if("string"==typeof a.data){const e=(0,u.r$)(a.data);if(e&&!e.isBase64)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment 'data' should be a Blob, File or Base64 encoded string")}}async function F(e,t,n){const a=e.addFeatures??[],s=e.updateFeatures??[],r=a.concat(s).map(e=>e.geometry),i=await(0,h.gh)(r,t,n),o=await(0,d.el)(i),l=a.length,u=s.length;return o.slice(0,l).forEach((e,t)=>a[t].geometry=e),o.slice(l,l+u).forEach((e,t)=>s[t].geometry=e),e}function k(e){const t=new a.A;return e.attributes||(e.attributes={}),t.geometry=e.geometry,t.attributes=e.attributes,t}function R(e){return"mesh"===e?.geometry?.type}function M(e,t,n,a){if(!w(t))throw new r.A(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!t.uploadAssets)throw new r.A(`${e.type}-layer:no-asset-upload-support`,"Layer source does not support uploadAssets capability",{layer:e});return t.uploadAssets(n,a)}},92300(e,t,n){n.d(t,{V:()=>i,X:()=>r});var a=n(60408),s=n(65864);function r(e){return{geometryType:(0,a.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function i(e,t,n){const a=(0,s.xD)(t);return e.map(e=>{const t=a.fromJSON(e);return t.spatialReference=n,t})}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6247],{69052(e,t,n){n.d(t,{hr:()=>s,ie:()=>l,uC:()=>o});var a=n(34727);class s{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return r(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,a.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+i(this.range,e-t,n)}minimalMonotonic(e,t,n){return r(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,a=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(a)?n:a}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function r(e,t,n,a,s=0,r=!1){return(a-=s)<t?a+=i(e,t-a):a>n&&(a-=i(e,a-n)),r&&a===n&&(a=t),a+s}function i(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const o=new s(0,2*Math.PI),l=(new s(-Math.PI,Math.PI),new s(0,360))},31411(e,t,n){n.d(t,{GS:()=>F,gh:()=>R});var a=n(49186),s=n(56512),r=n(65864),i=n(4305),o=n(50954),l=n(52006),u=n(49663),c=n(46068),d=n(15507);const p=1e-6,h=[0,0];function f(e){return{maxSegmentLength:e.maxSegmentLength??0,maxDeviation:e.maxDeviation??0,maxSegmentsPerCurve:e.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(e.minSegmentsPerCurve??1,1)}}class m{constructor(e,t){this.curveStart=e,this.curveEnd=t,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(e,t){this.tStart=0,this.arcStart=e,this.tEndStack.push(1),this.arcEndStack.push(t)}splitAt(e){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(e),this.arcEndStack.push(this.interpolate(e))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(e,{maxDeviation:t,maxSegmentLength:n,maxSegmentsPerCurve:a,minSegmentsPerCurve:s}){const r=n*n,i=t*t,o=1/a,l=this.interpolate(0),u=this.interpolate(1);(0,d.kb)(this.curveStart,l)>p&&e.push(l),this.initialize(l,u);const c=1/s;for(let e=s-1;e>0;e--){const t=e*c;this.pop(),this.splitAt(t)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<o||(0===r||!isFinite(r)||(0,d.kb)(this.arcStart,this.arcEnd)<r)&&(0===i||!isFinite(i)||this.getDeviation2()<i)?(e.push(this.arcEnd),this.next()):this.splitInHalf();return(0,d.kb)(this.curveEnd,u)>p&&e.push([...this.curveEnd]),e}}class g extends m{constructor(e,t){const[n,a,s]=t.b;super(e,n),this._controlPointsStack=[],this._curveControlPoints=[a,s],this._arcControlPoints=[a,s],this._controlPointsStack.push(this._arcControlPoints)}splitAt(e){const{arcStart:t,arcEnd:n,tStart:a,tEnd:s}=this,[r,i]=this._arcControlPoints,o=(e-a)/(s-a),l=(0,d.RS)([],t,r,o),u=(0,d.RS)(h,r,i,o),c=(0,d.RS)([],i,n,o),p=(0,d.RS)([],l,u,o),f=(0,d.RS)([],u,c,o),m=(0,d.RS)([],p,f,o);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([f,c]),this.tEndStack.push(e),this.arcEndStack.push(m),this._arcControlPoints[0]=l,this._arcControlPoints[1]=p,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(e){const{curveStart:t,curveEnd:n}=this,[a,s]=this._curveControlPoints;return(0,i.B4)(t,a,s,n,e)}getDeviation2(){const{arcStart:e,arcEnd:t}=this,[n,a]=this._arcControlPoints;return Math.max((0,d.yE)(n,e,t),(0,d.yE)(a,e,t))}}class y extends m{constructor(e,t){const[n]=t.a;super(e,n),this._derivedEllipse=(0,c.SW)(e,t)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(e){return(0,c.Uk)(this._derivedEllipse,e)}getDeviation2(){return(0,d.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function w(e,t,n,{cx:a,cy:s,radius:r,thetaStart:i,thetaEnd:o,isInvalid:l},{maxDeviation:u,maxSegmentLength:c,maxSegmentsPerCurve:h,minSegmentsPerCurve:f}){if(l)return e.push([...n]),e;const m=2*r,g=[a+r*Math.cos(i),s+r*Math.sin(i)],y=[a+r*Math.cos(o),s+r*Math.sin(o)];(0,d.kb)(t,g)>p&&e.push(g);const w=Math.abs(o-i),S=c>0&&c<m?2*Math.asin(c/m):w,b=u>0&&u<=r?2*Math.acos(1-u/r):w,A=Math.min(S,b),v=Math.min(h,Math.max(f,Math.ceil(Math.abs(w/A)))),E=1/v;for(let t=1;t<v;t++){const n=t*E,l=i*(1-n)+o*n;e.push([a+r*Math.cos(l),s+r*Math.sin(l)])}return e.push(y),(0,d.kb)(n,y)>p&&e.push([...n]),e}function S(e,t,n,a){return new g(t,n).densify(e,a)}function b(e,t,n,a){const s=(0,o.pM)(t,n),[r]=n.c;return w(e,t,r,s,a)}function A(e,t,n,a){const s=(0,u.io)(t,n),[r]=n.a;return w(e,t,r,s,a)}function v(e,t,n,a){const[s,r,i,o,l,u,c]=n.a;return 0===u||0===c?(e.push([...s]),e):new y(t,n).densify(e,a)}function E(e,t,n,a){return(0,l.Xq)(n)?(e.push([...n]),e):(0,l.n1)(n)?S(e,t,n,a):(0,l.aO)(n)?b(e,t,n,a):(0,l.DA)(n)?A(e,t,n,a):v(e,t,n,a)}function F(e,t={}){if(!(0,l.Ed)(e))return e;const n=f(t),a=(0,l.FD)(e),s=[];for(const e of a){const t=[];for(let a=0;a<e.length-1;a++){const s=a+1,r=[...(0,l.yP)(e[a])];0===a&&t.push(r),E(t,r,e[s],n)}s.push(t)}return"curvePaths"in e?{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},paths:s,spatialReference:e.spatialReference}:{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},rings:s,spatialReference:e.spatialReference}}const k=(0,s.B)(e=>({maxDeviation:0,maxSegmentLength:100*e,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function R(e,t,s){const i=new Set(t);return await async function(e,t,s){let r=null;for(const i of e)if(i&&(0,l.Ed)(i)&&null==i.spatialReference.xyTolerance&&(0,l.V8)(i,t)){const e=i.spatialReference;if(!e)throw new a.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const t=M(e);if(s.has(t))i.spatialReference=s.get(t);else{r||(r=await Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(6312)]).then(n.bind(n,78125)));const o=r.fromSpatialReference(e),l=o?.getTolerance();if(null==l)throw new a.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const u=i.spatialReference.clone();u.read({xyTolerance:l}),i.spatialReference=u,s.set(t,u)}}}(e,i,s),e.map(e=>{if(!e||!(0,l.Ed)(e))return e;const n=e.spatialReference.xyTolerance;if(null==n)return e;const a=k(n);return(0,r.rS)(function(e,t,n){if(!(0,l.Ed)(e))return e;const a=new Set(t),s=f(n),r=(0,l.FD)(e),i=[];let o=!1;for(const e of r){const t=[];for(let n=0;n<e.length-1;n++){const r=n+1,i=[...(0,l.yP)(e[n])];0===n&&t.push(i);const u=e[r];(0,l.Xq)(u)?t.push([...u]):(0,l.n1)(u)&&!a.has("cubic-bezier")?S(t,i,u,s):(0,l.aO)(u)&&!a.has("circular-arc")?b(t,i,u,s):(0,l.DA)(u)&&!a.has("elliptic-arc")?A(t,i,u,s):(0,l.wY)(u)&&!a.has("elliptic-arc")?v(t,i,u,s):(t.push((0,l.tk)(u)),o=!0)}i.push(t)}return"curvePaths"in e?{...void 0!==e.hasZ?{hasZ:e.hasZ}:{},...void 0!==e.hasM?{hasM:e.hasM}:{},spatialReference:e.spatialReference,...o?{curvePaths:i}:{paths:i}}:{hasZ:e.hasZ,hasM:e.hasM,spatialReference:e.spatialReference,...o?{curveRings:i}:{rings:i}}}(e,t,a))})}function M(e){if(null!=e.wkid)return`${e.wkid}`;if(null!=e.wkt)return e.wkt;const t="toJSON"in e&&"function"==typeof e.toJSON?e.toJSON():e;return JSON.stringify(t)}},17136(e,t,n){n.d(t,{Y_:()=>$,O7:()=>x,el:()=>M});var a=n(92602),s=n(69052),r=n(49186),i=n(53966),o=n(39829),l=n(82799),u=n(16930),c=n(80754),d=n(21325),p=n(28735),h=n(52006),f=n(31411),m=n(11254),g=n(60408),y=n(65864),w=n(2272),S=n(84952),b=n(92300);const A=()=>i.A.getLogger("esri.geometry.support.normalizeUtils");function v(e){return"polygon"===e[0].type}function E(e){return"polyline"===e[0].type}function F(e,t,n){const a=1e6;if(t){const t=(0,h.Ed)(e)?(0,f.GS)(e,{maxSegmentLength:a}):function(e,t){if(!(e instanceof l.A||e instanceof o.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw A().error(e),new r.A("internal:geometry",e)}const n=(0,c.r8)(e),a=[];for(const e of n){const n=[];a.push(n),n.push([e[0][0],e[0][1]]);for(let a=0;a<e.length-1;a++){const s=e[a][0],r=e[a][1],i=e[a+1][0],o=e[a+1][1],l=Math.sqrt((i-s)*(i-s)+(o-r)*(o-r)),u=(o-r)/l,c=(i-s)/l,d=l/t;if(d>1){for(let e=1;e<=d-1;e++){const a=e*t,i=c*a+s,o=u*a+r;n.push([i,o])}const e=(l+Math.floor(d-1)*t)/2,a=c*e+s,i=u*e+r;n.push([a,i])}n.push([i,o])}}return function(e){return"polygon"===e.type}(e)?new o.A({rings:a,spatialReference:e.spatialReference}):new l.A({paths:a,spatialReference:e.spatialReference})}(e,a);e=(0,p.ci)(t,!0)}return n&&(e=(0,c.kS)(e,n)),e}function k(e,t,n){if(Array.isArray(e)){const a=e[0];if(a>t){const n=(0,c.kd)(a,t);e[0]=a+n*(-2*t)}else if(a<n){const t=(0,c.kd)(a,n);e[0]=a+t*(-2*n)}}else{const a=e.x;if(a>t){const n=(0,c.kd)(a,t);e=e.clone().offset(n*(-2*t),0)}else if(a<n){const t=(0,c.kd)(a,n);e=e.clone().offset(t*(-2*n),0)}}return e}function R(e,t){let n=-1;for(let a=0;a<t.cutIndexes.length;a++){const s=t.cutIndexes[a],r=t.geometries[a],i=(0,c.r8)(r);for(let e=0;e<i.length;e++){const t=i[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const a=t[e][0];n=a>n?a:n}n=Number(n.toFixed(9));const a=-360*(0,c.kd)(n,180);for(let n=0;n<t.length;n++){const t=r.getPoint(e,n);r.setPoint(e,n,t.clone().offset(a,0))}return!0}})}if(s===n){if(v(e))for(const t of(0,c.r8)(r))e[s]=e[s].addRing(t);else if(E(e))for(const t of(0,c.r8)(r))e[s]=e[s].addPath(t)}else n=s,e[s]=r}return e}async function M(e,t,n){if(!Array.isArray(e))return M([e],t);t&&"string"!=typeof t&&A().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const s="string"==typeof t?t:t?.url??a.A.geometryServiceUrl;let r,i,u,h,f,v,E,x,I=0;const $=[],P=[];for(const t of e)if(null!=t)if(r||(r=t.spatialReference,i=(0,d.Vp)(r),u=r.isWebMercator,v=u?102100:4326,h=c.j7[v].maxX,f=c.j7[v].minX,E=c.j7[v].plus180Line,x=c.j7[v].minus180Line),i)if("mesh"===t.type)P.push(t);else if("point"===t.type)P.push(k(t.clone(),h,f));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>k(e,h,f)),P.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,i);P.push(e.rings?new o.A(e):e)}else if(t.extent){const e=t.extent,n=(0,c.kd)(e.xmin,f)*(2*h);let a=0===n?t.clone():(0,c.kS)(t.clone(),n);e.offset(n,0);let{xmin:s,xmax:r}=e;s=Number(s.toFixed(9)),r=Number(r.toFixed(9)),e.intersects(E)&&r!==h?(I=r>I?r:I,a=F(a,u),$.push(a),P.push("cut")):e.intersects(x)&&s!==f?(I=r*(2*h)>I?r*(2*h):I,a=F(a,u,360),$.push(a),P.push("cut")):P.push(a)}else P.push(t.clone());else P.push(t);else P.push(t);let O=(0,c.kd)(I,h),C=-90;const L=O,_=new l.A;for(;O>0;){const e=360*O-180;_.addPath([[e,C],[e,-1*C]]),C*=-1,O--}if($.length>0&&L>0){const t=R($,await async function(e,t,n,a){const s=(0,w.Dl)(e),r=t[0].spatialReference,i={...a,responseType:"json",query:{...s.query,f:"json",sr:(0,d.YX)(r),target:JSON.stringify({geometryType:(0,g.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},o=await(0,m.A)(s.path+"/cut",i),{cutIndexes:l,geometries:u=[]}=o.data;return{cutIndexes:l,geometries:u.map(e=>{const t=(0,y.rS)(e);return t.spatialReference=r,t})}}(s,$,_,n)),a=[],r=[];for(let n=0;n<P.length;n++){const s=P[n];if("cut"!==s)r.push(s);else{const s=t.shift(),i=e[n];null!=i&&"polygon"===i.type&&i.rings&&i.rings.length>1&&s.rings.length>=i.rings.length?(a.push(s),r.push("simplify")):r.push(u?(0,p.Gh)(s):s)}}if(!a.length)return r;const i=await async function(e,t,n){const a="string"==typeof e?(0,S.An)(e):e,s=t[0].spatialReference,r=(0,g.$B)(t[0]),i={...n,query:{...a.query,f:"json",sr:(0,d.YX)(s),geometries:JSON.stringify((0,b.X)(t))}},{data:o}=await(0,m.A)(a.path+"/simplify",i);return(0,b.V)(o.geometries,r,s)}(s,a,n),o=[];for(let e=0;e<r.length;e++){const t=r[e];"simplify"!==t?o.push(t):o.push(u?(0,p.Gh)(i.shift()):i.shift())}return o}const D=[];for(let e=0;e<P.length;e++){const t=P[e];if("cut"!==t)D.push(t);else{const e=$.shift();D.push(!0===u?(0,p.Gh)(e):e)}}return D}function x(e,t,n){const a=(0,d.Vp)(n);if(null==a)return e;const[s,r]=a.valid,i=2*r;let o=0,l=0;t>r?o=Math.ceil(Math.abs(t-r)/i):t<s&&(o=-Math.ceil(Math.abs(t-s)/i)),e>r?l=Math.ceil(Math.abs(e-r)/i):e<s&&(l=-Math.ceil(Math.abs(e-s)/i));let u=e+(o-l)*i;const c=u-t;return c>r?u-=i:c<s&&(u+=i),u}function I(e){const t=(0,d.Vp)(e);if(null==t)return null;const[n,a]=t.valid;return new s.hr(n,a)}const $=I(u.A.WGS84);I(u.A.WebMercator)},80754(e,t,n){n.d(t,{j7:()=>o,kS:()=>u,kd:()=>l,r8:()=>c});var a=n(82799),s=n(16930),r=n(60408),i=n(52006);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new a.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator}),minus180Line:new a.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new a.A({paths:[[[180,-180],[180,180]]],spatialReference:s.A.WGS84}),minus180Line:new a.A({paths:[[[-180,-180],[-180,180]]],spatialReference:s.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,i.Ed)(e))for(const n of function(e){return(0,r.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,i.aO)(e)){const[n,a]=e.c;n[0]+=t,a[0]+=t;continue}if((0,i.FG)(e)){const[n,a]=e.a;n[0]+=t,a[0]+=t;continue}if((0,i.n1)(e)){const[n,a,s]=e.b;n[0]+=t,a[0]+=t,s[0]+=t;continue}e[0]+=t}for(const n of c(e))for(const e of n)e[0]+=t;return e}function c(e){return(0,r.Bi)(e)?e.rings:e.paths}},78628(e,t,n){n.d(t,{applyEdits:()=>b,uploadAssets:()=>M});var a=n(52106),s=n(7762),r=n(49186),i=n(4718),o=n(53966),l=n(91869),u=n(84952),c=n(13069),d=n(17136),p=n(21325),h=n(31411),f=n(47685),m=n(30524),g=n(20557),y=n(77548);function w(e){return null!=e?.applyEdits}const S=new WeakMap;async function b(e,t,n,a={}){let u;const d="gdbVersion"in e?e.gdbVersion:null,p=a.gdbVersion??d;if((0,f.Mk)(e)&&e.url)u=(0,f.Zk)(e.url,e.layerId,p,"original-and-current-features"===a.returnServiceEditsOption);else{u=Promise.withResolvers(),u.promise.then(t=>{(t.addedFeatures.length||t.updatedFeatures.length||t.deletedFeatures.length||t.addedAttachments.length||t.updatedAttachments.length||t.deletedAttachments.length)&&e.emit("edits",t)});const t={result:u.promise};e.emit("apply-edits",t)}try{const{results:d,edits:p}=await async function(e,t,n,a){if(await e.load(),!w(t))throw new r.A(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!(0,y.tk)(e))throw new r.A(`${e.type}-layer:editing-disabled`,"Editing is disabled for layer",{layer:e});const{edits:i,options:u}=await async function(e,t,n){const a=(0,y.BR)(e),i=t&&(t.addFeatures||t.updateFeatures||t.deleteFeatures),u=t&&(t.addAttachments||t.updateAttachments||t.deleteAttachments),d=null!=e.infoFor3D;if(function(e,t,n,a,s,i){if(!(e&&(a||s)||n?.usingTelecomOperations))throw new r.A(`${i}:missing-parameters`,"'addFeatures', 'updateFeatures', 'deleteFeatures', 'addAttachments', 'updateAttachments' or 'deleteAttachments' parameter is required");const o=t.editing.supportsGlobalId||n?.usingFeatureServiceEndpoint;if(!o&&n?.globalIdUsed)throw new r.A(`${i}:invalid-parameter`,"This layer does not support 'globalIdUsed' parameter. See: 'capabilities.editing.supportsGlobalId'");if(!o&&s)throw new r.A(`${i}:invalid-parameter`,"'addAttachments', 'updateAttachments' and 'deleteAttachments' are applicable only if the layer supports global ids. See: 'capabilities.editing.supportsGlobalId'");if(!n?.globalIdUsed&&s)throw new r.A(`${i}:invalid-parameter`,"When 'addAttachments', 'updateAttachments' or 'deleteAttachments' is specified, globalIdUsed should be set to true")}(t,a,n,!!i,!!u,`${e.type}-layer`),!a.data.isVersioned&&n?.gdbVersion)throw new r.A(`${e.type}-layer:invalid-parameter`,"'gdbVersion' is applicable only if the layer supports versioned data. See: 'capabilities.data.isVersioned'");if(!a.editing.supportsRollbackOnFailure&&n?.rollbackOnFailureEnabled)throw new r.A(`${e.type}-layer:invalid-parameter`,"This layer does not support 'rollbackOnFailureEnabled' parameter. See: 'capabilities.editing.supportsRollbackOnFailure'");const p={...n};if(null!=p.rollbackOnFailureEnabled||a.editing.supportsRollbackOnFailure||(p.rollbackOnFailureEnabled=!0),p.rollbackOnFailureEnabled||"original-and-current-features"!==p.returnServiceEditsOption||(!1===p.rollbackOnFailureEnabled&&o.A.getLogger("esri.layers.graphics.editingSupport").warn(`${e.type}-layer:invalid-parameter`,"'original-and-current-features' is valid for 'returnServiceEditsOption' only when 'rollBackOnFailure' is true, but 'rollBackOnFailure' was set to false. 'rollBackOnFailure' has been overwritten and set to true."),p.rollbackOnFailureEnabled=!0),!a.editing.supportsReturnServiceEditsInSourceSpatialReference&&p.returnServiceEditsInSourceSR)throw new r.A(`${e.type}-layer:invalid-parameter`,"This layer does not support 'returnServiceEditsInSourceSR' parameter. See: 'capabilities.editing.supportsReturnServiceEditsInSourceSpatialReference'");if(p.returnServiceEditsInSourceSR&&"original-and-current-features"!==p.returnServiceEditsOption)throw new r.A(`${e.type}-layer:invalid-parameter`,"'returnServiceEditsInSourceSR' is valid only when 'returnServiceEditsOption' is set to 'original-and-current-features'");const h=function(e,t,n){const a=function(e){return{addFeatures:Array.from(e?.addFeatures??[]),updateFeatures:Array.from(e?.updateFeatures??[]),deleteFeatures:e&&s.A.isCollection(e.deleteFeatures)?e.deleteFeatures.toArray():e.deleteFeatures||[],addAttachments:e.addAttachments||[],updateAttachments:e.updateAttachments||[],deleteAttachments:e.deleteAttachments||[]}}(e);if(a.addFeatures?.length&&!t.operations.supportsAdd)throw new r.A(`${n}:unsupported-operation`,"Layer does not support adding features.");if(a.updateFeatures?.length&&!t.operations.supportsUpdate)throw new r.A(`${n}:unsupported-operation`,"Layer does not support updating features.");if(a.deleteFeatures?.length&&!t.operations.supportsDelete)throw new r.A(`${n}:unsupported-operation`,"Layer does not support deleting features.");return a.addFeatures=a.addFeatures.map(k),a.updateFeatures=a.updateFeatures.map(k),a.addAssetFeatures=[],a}(t,a,`${e.type}-layer`),f=n?.globalIdUsed||d,m=e.fields.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(f){const{globalIdField:t}=e;if(null==t)throw new r.A(`${e.type}-layer:invalid-parameter`,"Layer does not specify a global id field.");h.addFeatures.forEach(e=>function(e,t){const{attributes:n}=e;null==n[t]&&(n[t]=(0,c.yS)())}(e,t))}h.addFeatures.forEach(t=>function(e,t,n,a){A(e,t,n,a),v(e,t)}(t,e,f,m)),h.updateFeatures.forEach(t=>function(e,t,n,a){A(e,t,n,a),v(e,t);const s=(0,y.BR)(t);if("geometry"in e&&null!=e.geometry&&!s?.editing.supportsGeometryUpdate)throw new r.A(`${t.type}-layer:unsupported-operation`,"Layer does not support geometry updates.")}(t,e,f,m)),h.deleteFeatures.forEach(t=>function(e,t,n,a){A(e,t,n,a)}(t,e,f,m)),h.addAttachments.forEach(t=>E(t,e)),h.updateAttachments.forEach(t=>E(t,e)),d&&await async function(e,t){const{infoFor3D:n}=t;if(null==n)return;if(!(0,g.JQ)(n))throw new r.A(`${t.type}-layer:binary-gltf-asset-not-supported`,"3DObjectFeatureLayer requires binary glTF (.glb) support for updating mesh geometry.");e.addAssetFeatures??=[];const{addAssetFeatures:a}=e;for(const t of e.addFeatures??[])R(t)&&a.push(t);for(const t of e.updateFeatures??[])R(t)&&a.push(t)}(h,e);const w=(0,l.tE)(S,e,()=>new Map);return{edits:await F(h,a.data.supportedCurveTypes??[],w),options:p}}(e,n,a);return i.addFeatures?.length||i.updateFeatures?.length||i.deleteFeatures?.length||i.addAttachments?.length||i.updateAttachments?.length||i.deleteAttachments?.length?{edits:i,results:await t.applyEdits(i,u)}:{edits:i,results:{addFeatureResults:[],updateFeatureResults:[],deleteFeatureResults:[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}}(e,t,n,a),h=e=>e.filter(e=>!e.error).map(i.o8),f={edits:p,addedFeatures:h(d.addFeatureResults),updatedFeatures:h(d.updateFeatureResults),deletedFeatures:h(d.deleteFeatureResults),addedAttachments:h(d.addAttachmentResults),updatedAttachments:h(d.updateAttachmentResults),deletedAttachments:h(d.deleteAttachmentResults),exceededTransferLimit:!1,historicMoment:d.editMoment?new Date(d.editMoment):null,globalIdToObjectId:a.globalIdToObjectId};return d.editedFeatureResults?.length&&(f.editedFeatures=d.editedFeatureResults),u.resolve(f),d}catch(e){throw u.reject(e),e}}function A(e,t,n,a){if(n){if("attributes"in e&&!e.attributes[t.globalIdField])throw new r.A(`${t.type}-layer:invalid-parameter`,`Feature should have '${t.globalIdField}' when 'globalIdUsed' is true`);if(!("attributes"in e)&&!e.globalId)throw new r.A(`${t.type}-layer:invalid-parameter`,"`'globalId' of the feature should be passed when 'globalIdUsed' is true")}if(a.length&&"attributes"in e)for(const n of a){const a=e.attributes[n.name];if(void 0!==a&&!(0,m.OG)(n,a))throw new r.A(`${t.type}-layer:invalid-parameter`,`Big-integer field '${n.name}' of the feature must be less than ${Number.MAX_SAFE_INTEGER}`,{feature:e})}if("geometry"in e&&null!=e.geometry){if(e.geometry.hasZ&&!1===t.capabilities?.data.supportsZ)throw new r.A(`${t.type}-layer:z-unsupported`,"Layer does not support z values while feature has z values.");if(e.geometry.hasM&&!1===t.capabilities?.data.supportsM)throw new r.A(`${t.type}-layer:m-unsupported`,"Layer does not support m values while feature has m values.")}}function v(e,t){if("geometry"in e&&"mesh"===e.geometry?.type&&null!=t.infoFor3D&&null!=t.spatialReference){const{geometry:n}=e,{spatialReference:a,vertexSpace:s}=n,i=t.spatialReference,o="local"===s.type,l=(0,p.EA)(i),u=(0,p.aI)(i,a),c=u||(0,p.oT)(i)&&((0,p.oT)(a)||(0,p.K8)(a));if(!(o&&l&&c||!o&&!l&&u))throw new r.A(`${t.type}-layer:mesh-unsupported`,`Uploading a mesh with a ${s.type} vertex space and a spatial reference wkid:${a.wkid} to a layer with a spatial reference wkid:${i.wkid} is not supported.`)}}function E(e,t){const{feature:n,attachment:a}=e;if(!n||"attributes"in n&&!n.attributes[t.globalIdField])throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to a feature with 'globalId'");if(!("attributes"in n)&&!n.globalId)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have reference to 'globalId' of the parent feature");if(!a.globalId)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have 'globalId'");if(!a.data&&!a.uploadId)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment should have 'data' or 'uploadId'");if(!(a.data instanceof File&&a.data.name||a.name))throw new r.A(`${t.type}-layer:invalid-parameter`,"'name' is required when attachment is specified as Base64 encoded string using 'data'");if(!t.capabilities?.editing.supportsUploadWithItemId&&a.uploadId)throw new r.A(`${t.type}-layer:invalid-parameter`,"This layer does not support 'uploadId' parameter. See: 'capabilities.editing.supportsUploadWithItemId'");if("string"==typeof a.data){const e=(0,u.r$)(a.data);if(e&&!e.isBase64)throw new r.A(`${t.type}-layer:invalid-parameter`,"Attachment 'data' should be a Blob, File or Base64 encoded string")}}async function F(e,t,n){const a=e.addFeatures??[],s=e.updateFeatures??[],r=a.concat(s).map(e=>e.geometry),i=await(0,h.gh)(r,t,n),o=await(0,d.el)(i),l=a.length,u=s.length;return o.slice(0,l).forEach((e,t)=>a[t].geometry=e),o.slice(l,l+u).forEach((e,t)=>s[t].geometry=e),e}function k(e){const t=new a.A;return e.attributes||(e.attributes={}),t.geometry=e.geometry,t.attributes=e.attributes,t}function R(e){return"mesh"===e?.geometry?.type}function M(e,t,n,a){if(!w(t))throw new r.A(`${e.type}-layer:no-editing-support`,"Layer source does not support applyEdits capability",{layer:e});if(!t.uploadAssets)throw new r.A(`${e.type}-layer:no-asset-upload-support`,"Layer source does not support uploadAssets capability",{layer:e});return t.uploadAssets(n,a)}},92300(e,t,n){n.d(t,{V:()=>i,X:()=>r});var a=n(60408),s=n(65864);function r(e){return{geometryType:(0,a.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function i(e,t,n){const a=(0,s.xD)(t);return e.map(e=>{const t=a.fromJSON(e);return t.spatialReference=n,t})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1787,1948,4168,5611,6061,7992],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},22802(t,e,n){n.d(e,{O:()=>s});var r=n(15756);class s extends r.v{getOperatorType(){return 7}execute(t,e,n,s){return(0,r.w)(t,e,n,2,s)}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function h(){return i(1,1,1)}function c(){return i(1,0,0)}function f(){return i(0,1,0)}function l(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>p,Cw:()=>x,JP:()=>d,S:()=>h,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=h(),x=c(),d=f(),p=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:d,UNIT_Z:p,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:h,unitX:c,unitY:f,unitZ:l,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>O,DI:()=>E,Il:()=>B,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>R,ei:()=>S,fw:()=>w,g7:()=>Z,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>V,t2:()=>N,tn:()=>l,uE:()=>G,xg:()=>L,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function b(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function O(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function P(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,f=n*a-r*o,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}function Z(t,e){b(F,t),b(Y,e);const n=_(F,Y);return n>1?0:n<-1?Math.PI:Math.acos(n)}const F=(0,r.vt)(),Y=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function R(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function V(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,z=c,X=f,L=M,k=y,B=i,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:Z,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,f=r*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:V,dist:L,distance:M,div:X,divide:f,dot:_,equals:R,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:B,length:i,lerp:O,max:x,min:g,mul:z,multiply:c,negate:C,normalize:b,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:p,set:a,sign:m,sqrDist:k,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:S,transformMat4:A,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>O,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>N,gh:()=>b,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=P(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=S(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let p=0;if(!(0,l.Ed)(t)){for(const t of n){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(M(10),++s.segmentCountArc,y=F(n,r,s,i,y),n=r.a[0]):(0,l.DA)(r)?(M(10),++s.segmentCountArc,y=Y(n,r,s,i,y),n=r.a[0]):(0,l.aO)(r)?(M(10),++s.segmentCountArc,y=N(n,r,s,i,y),n=r.c[0]):(0,l.n1)(r)?(M(4),++s.segmentCountBezier,y=V(0,r,s,i,y),n=r.b[0]):n=r}x&&w(e,n)||f(n)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=S(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const h=Z(t,u,o,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return R(a,4,...(0,h.mq)(a,.5),s,o)}function N(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,R((0,c.pM)(t,e),0,...e.c[1],s,o)}function R(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},85445(t,e,n){n.r(e),n.d(e,{execute:()=>o});var r=n(22802),s=n(83299);const i=new r.O;function o(t,e){const n=(0,s.fromGeometry)(t);return i.execute(n.getGeometry(),(0,s.fromGeometryToGXGeometry)(e),n.getSpatialReference(),null)}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>i,l5:()=>a,yH:()=>u});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=i(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function p(t){return t?d(t,E):i(E)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2158],{12158(e,n,t){t.r(n),t.d(n,{getTransformation:()=>f,getTransformations:()=>h,isLoaded:()=>c,load:()=>m});var i=t(83290),o=t(159),r=t(99157);let s,l,a,u;function c(){return!!s&&(0,i.i)()}async function m(){if(!c()){const[e,n,o,r]=await Promise.all([Promise.all([t.e(6042),t.e(9187)]).then(t.bind(t,79187)),Promise.all([t.e(6042),t.e(1878),t.e(8885),t.e(5756),t.e(353)]).then(t.bind(t,12189)).then(({queryTransformationList:e})=>e),Promise.all([t.e(6042),t.e(1878),t.e(8885),t.e(5756),t.e(6061)]).then(t.bind(t,15756)).then(e=>e.aP).then(({injectPe:e})=>e),Promise.all([t.e(6042),t.e(1878),t.e(8885),t.e(5756),t.e(3299),t.e(9169)]).then(t.bind(t,78125)),(0,i.l)()]);a=e.Envelope2D.construct,u=e.Envelope2D.constructEmpty(),s=n,o(i.p),l=r.fromSpatialReference}}function f(e,n,t=null){const i=t?p(t):u,o=s(0,l(e),l(n),i,1,!0);return o.length>0?d(o[0]):null}function h(e,n,t=null){const i=t?p(t):u;return s(0,l(e),l(n),i,0,!0).map(e=>d(e))}function p(e){return a(e.xmin,e.ymin,e.xmax,e.ymax)}function d(e){const n=new o.A;for(let t=0;t<e.count();t++){const i=e.getStep(t);n.steps.push(new r.A({wkid:i.getID(),isInverse:i.isInverted()}))}return n}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2158],{12158(e,n,t){t.r(n),t.d(n,{getTransformation:()=>f,getTransformations:()=>h,isLoaded:()=>c,load:()=>m});var i=t(83290),o=t(159),r=t(99157);let s,l,a,u;function c(){return!!s&&(0,i.i)()}async function m(){if(!c()){const[e,n,o,r]=await Promise.all([Promise.all([t.e(3661),t.e(9187)]).then(t.bind(t,79187)),Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756),t.e(353)]).then(t.bind(t,12189)).then(({queryTransformationList:e})=>e),Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756),t.e(6061)]).then(t.bind(t,15756)).then(e=>e.aP).then(({injectPe:e})=>e),Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756),t.e(3299),t.e(9169)]).then(t.bind(t,78125)),(0,i.l)()]);a=e.Envelope2D.construct,u=e.Envelope2D.constructEmpty(),s=n,o(i.p),l=r.fromSpatialReference}}function f(e,n,t=null){const i=t?p(t):u,o=s(0,l(e),l(n),i,1,!0);return o.length>0?d(o[0]):null}function h(e,n,t=null){const i=t?p(t):u;return s(0,l(e),l(n),i,0,!0).map(e=>d(e))}function p(e){return a(e.xmin,e.ymin,e.xmax,e.ymax)}function d(e){const n=new o.A;for(let t=0;t<e.count();t++){const i=e.getStep(t);n.steps.push(new r.A({wkid:i.getID(),isInverse:i.isInverted()}))}return n}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1948,2260,3931,5611,6061,6312,7992,8125,9169,9285],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,l,f,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function h(){return i(1,1,1)}function c(){return i(1,0,0)}function l(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>y,Cw:()=>x,JP:()=>p,S:()=>h,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=h(),x=c(),p=l(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:p,UNIT_Z:y,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:h,unitX:c,unitY:l,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>b,DI:()=>E,Il:()=>L,Io:()=>d,Ln:()=>y,Om:()=>P,Qr:()=>l,Re:()=>h,S8:()=>_,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>N,ei:()=>V,fw:()=>O,g7:()=>w,gL:()=>Z,hG:()=>M,hZ:()=>a,hs:()=>p,jb:()=>G,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>F,t2:()=>Y,tn:()=>f,uE:()=>B,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function P(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function b(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function V(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function Z(t,e,n){return O(t,e,n[0],n[1],n[2],n[3])}function O(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,l=n*a-r*o,f=r*l-s*c,m=s*h-n*l,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*f,t[1]=a+c*x+2*m,t[2]=u+l*x+2*g,t}function w(t,e){_(S,t),_(R,e);const n=P(S,R);return n>1?0:n<-1?Math.PI:Math.acos(n)}const S=(0,r.vt)(),R=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function N(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function F(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const G=h,T=c,X=l,z=d,k=M,L=i,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:w,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,l=3*u*o,f=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*l+s[0]*f,t[1]=e[1]*h+n[1]*c+r[1]*l+s[1]*f,t[2]=e[2]*h+n[2]*c+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,l=r*a-s*o,f=Math.sqrt(h*h+c*c+l*l);return t[0]=h/f,t[1]=c/f,t[2]=l/f,t},direction:F,dist:z,distance:d,div:X,divide:l,dot:P,equals:N,exactEquals:Y,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:L,length:i,lerp:b,max:x,min:g,mul:T,multiply:c,negate:C,normalize:_,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:y,set:a,sign:m,sqrDist:k,sqrLen:B,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:G,subtract:h,transformMat3:V,transformMat4:A,transformQuat:Z,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=l;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>b,NO:()=>C,Nh:()=>P,V2:()=>w,_s:()=>S,e6:()=>Y,gh:()=>_,tr:()=>F,uX:()=>p});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=w(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=Z(t),this._segments=new M(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=Z(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[a,u],l,f,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=V(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=w(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const x="polygon"===r,{partOffsets:p}=s;let y=0;if(!(0,f.Ed)(t)){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&O(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[y]=g,s}function d(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*G;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const i=g-1;(0,f.wY)(r)?(d(10),++s.segmentCountArc,M=S(n,r,s,i,M),n=r.a[0]):(0,f.DA)(r)?(d(10),++s.segmentCountArc,M=R(n,r,s,i,M),n=r.a[0]):(0,f.aO)(r)?(d(10),++s.segmentCountArc,M=Y(n,r,s,i,M),n=r.c[0]):(0,f.n1)(r)?(d(4),++s.segmentCountBezier,M=F(0,r,s,i,M),n=r.b[0]):n=r}x&&O(e,n)||l(n)}return s.partOffsets[y]=g,s}function _(t){const e=Z(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=V(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function P(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const h=w(t,u,o,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(a);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[l++],h.vertexXY[2*t+1]=n[l++],r&&(h.vertexZ[t]=n[l++]),s&&(h.vertexM[t]=n[l++]);a&&(l+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function b(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function V({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function Z({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,n)=>t===e[n])}function w(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(T),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function S(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,M]=(0,g.Uk)(y,.5);return s[o++]=p,s[o++]=m,s[o++]=x,s[o++]=f,s[o++]=u,s[o++]=h,s[o++]=y.u2-y.u1,s[o++]=y.u1,s[o++]=d,s[o++]=M,o}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return N(a,4,...(0,h.mq)(a,.5),s,o)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,N((0,c.pM)(t,e),0,...e.c[1],s,o)}function N(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function F(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const G=1.61803,T=-1},50647(t,e,n){n.d(e,{execute:()=>h}),n(4576),n(76061);var r=n(61691),s=n(55537);class i extends r.G{constructor(t,e,n){super(),this.m_index=-1,this.m_transformation=e.clone(),this.m_inputGeometryCursor=t}next(){let t;if(t=this.m_inputGeometryCursor.next()){(0,s.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID();const e=t.clone();return e.applyTransformation(this.m_transformation),e}return null}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}}const o=new class{getOperatorType(){return 10303}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,n){return new i(t,e,n)}execute(t,e,n){const r=t.clone();return r.applyTransformation(e),r}};function a(t,e){return o.execute(t,e,null)}var u=n(78125);function h(t,e){const n=(0,u.getSpatialReference)(t);return(0,u.toGeometry)(a((0,u.fromGeometry)(t),e.transform),n)}o.supportsCurves()},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>P,toGeometry:()=>_,toMultipoint:()=>I,toPoint:()=>b,toPolygon:()=>A,toPolyline:()=>V});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),h=n(86738),c=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new o.M,n=new i.P,r=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,i=r.length;t<i;t++){const i=r[t];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function _(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return b(t,e);case s.G.enumEnvelope:return P(t,e);case s.G.enumMultiPoint:return I(t,e);case s.G.enumPolyline:return V(t,e);case s.G.enumPolygon:return A(t,e)}return null}function P(t,e){if(t.isEmpty())return null;const n=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function I(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const h=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return h.setCacheValue(m,t),h}function b(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function V(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>i,l5:()=>a,yH:()=>u});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=i(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>_,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=_){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):i(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],_=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);