@arcgis/core 5.2.0-next.95 → 5.2.0-next.97

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 (542) hide show
  1. package/WebScene.d.ts +6 -3
  2. package/WebScene.js +1 -1
  3. package/applications/WebEditor/geometryUtils.d.ts +1 -1
  4. package/arcade/arcadeAsyncRuntime.js +1 -1
  5. package/arcade/arcadeCompiler.js +1 -1
  6. package/arcade/arcadeRuntime.js +1 -1
  7. package/arcade/containerUtils.js +1 -1
  8. package/arcade/functions/track.js +1 -1
  9. package/arcgisGlobal.d.ts +2 -0
  10. package/assets/components/assets/icon/aiAgent16.json +1 -0
  11. package/assets/components/assets/icon/aiAgent24.json +1 -0
  12. package/assets/components/assets/icon/aiAgent32.json +1 -0
  13. package/assets/components/assets/icon/aiAgents16.json +1 -0
  14. package/assets/components/assets/icon/aiAgents24.json +1 -0
  15. package/assets/components/assets/icon/aiAgents32.json +1 -0
  16. package/assets/components/assets/icon/explodeGeometry16.json +1 -0
  17. package/assets/components/assets/icon/explodeGeometry24.json +1 -0
  18. package/assets/components/assets/icon/explodeGeometry32.json +1 -0
  19. package/assets/components/assets/icon/integration16.json +1 -0
  20. package/assets/components/assets/icon/integration24.json +1 -0
  21. package/assets/components/assets/icon/integration32.json +1 -0
  22. package/assets/components/assets/icon/spatiotemporalCatalog16.json +1 -0
  23. package/assets/components/assets/icon/spatiotemporalCatalog24.json +1 -0
  24. package/assets/components/assets/icon/spatiotemporalCatalog32.json +1 -0
  25. package/assets/components/assets/input-time-zone/t9n/messages.de.json +1 -1
  26. package/assets/esri/core/workers/RemoteClient.js +1 -1
  27. package/assets/esri/core/workers/chunks/000f91a18c22377f8525.js +1 -0
  28. package/assets/esri/core/workers/chunks/{05662a663f761dd3dea5.js → 006146ad6d4a5cbf1a1f.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{bd1a7e95a797e1ed4a7b.js → 013c17e07756fa465845.js} +1 -1
  30. package/assets/esri/core/workers/chunks/014eaccf2c2d357981f0.js +1 -0
  31. package/assets/esri/core/workers/chunks/{f253875feb11883deb84.js → 04d4cd66485b622403d0.js} +1 -1
  32. package/assets/esri/core/workers/chunks/05eb064f9b543890ae24.js +1 -0
  33. package/assets/esri/core/workers/chunks/{26737d061c7cfbbab95c.js → 0809a55a2f9be07cc5a9.js} +1 -1
  34. package/assets/esri/core/workers/chunks/0930738f43ce09b2ed2d.js +1 -0
  35. package/assets/esri/core/workers/chunks/{691434d4c6a38e63d819.js → 0a242e76bc293b0ad04b.js} +1 -1
  36. package/assets/esri/core/workers/chunks/0a4092578dc7578bcf76.js +1 -0
  37. package/assets/esri/core/workers/chunks/0e11bee9b56a7f51b012.js +1 -0
  38. package/assets/esri/core/workers/chunks/0e65869a5dd5a3917da7.js +1 -0
  39. package/assets/esri/core/workers/chunks/0ffb5a1275d07dcd9115.js +1 -0
  40. package/assets/esri/core/workers/chunks/{e370a3337b3c90240e73.js → 105da965fc90604eb6bf.js} +1 -1
  41. package/assets/esri/core/workers/chunks/1082bb0858585bd4fa21.js +2 -0
  42. package/assets/esri/core/workers/chunks/{5235b9c21ac4156c2375.js → 10f4c5533f50c3693318.js} +1 -1
  43. package/assets/esri/core/workers/chunks/1201bb22a2bfd7d7ecba.js +1 -0
  44. package/assets/esri/core/workers/chunks/16f55c5d642a23c2547e.js +1 -0
  45. package/assets/esri/core/workers/chunks/{09e01fd1c199be0c8e03.js → 16ffbe484f6cd4736f79.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{1bf967c68d0c795d3fb4.js → 19a4907fc93ae8b817e9.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{f74c7cbe4bd12f73ae90.js → 19d7339f20f3008c4893.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{a8aa8cb60b30f0983e7e.js → 1a9f17781e0a3bc5106f.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{bf7875fda48b15271a10.js → 1bef7097fe5e402539ea.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{fa377112ef3b78f6ed18.js → 1de1cc0ed0f169a58aff.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{0549e2badf511e27aa54.js → 1e3b07cf0e608431a277.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{2e51764c8aa31096cb2a.js → 20feca2fdd304b3e9664.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{4c73c2f4331351e2a50c.js → 22ff018342860249b3eb.js} +1 -1
  54. package/assets/esri/core/workers/chunks/248df6fda489a9de5852.js +1 -0
  55. package/assets/esri/core/workers/chunks/279b16727d4b515eca44.js +1 -0
  56. package/assets/esri/core/workers/chunks/2b10d6597af3eeec5396.js +1 -0
  57. package/assets/esri/core/workers/chunks/2bd4b536e329112591c4.js +1 -0
  58. package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +1 -0
  59. package/assets/esri/core/workers/chunks/2e2349387a2b9903f13c.js +2 -0
  60. package/assets/esri/core/workers/chunks/{4d700cb028f6306b163e.js → 32aa1529e84b839d051d.js} +1 -1
  61. package/assets/esri/core/workers/chunks/33041e50ea02d99480b0.js +1 -0
  62. package/assets/esri/core/workers/chunks/{5d7a5aa608ed6192b016.js → 349982635e921e838030.js} +1 -1
  63. package/assets/esri/core/workers/chunks/35d0a7597473d46866de.js +1 -0
  64. package/assets/esri/core/workers/chunks/374d726fdd0a9848cea5.js +1 -0
  65. package/assets/esri/core/workers/chunks/379f5ca5372d834af497.js +1 -0
  66. package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +1 -0
  67. package/assets/esri/core/workers/chunks/{05393b23ab24126d4236.js → 38bc5d09ae07f486d457.js} +1 -1
  68. package/assets/esri/core/workers/chunks/3bafa01ca01a67d09432.js +1 -0
  69. package/assets/esri/core/workers/chunks/3c7901ea007c9615ba54.js +1 -0
  70. package/assets/esri/core/workers/chunks/4047208f9559e06d7102.js +1 -0
  71. package/assets/esri/core/workers/chunks/4049e9b86c8e27a7ff12.js +1 -0
  72. package/assets/esri/core/workers/chunks/411bbdecba340df11d95.js +2 -0
  73. package/assets/esri/core/workers/chunks/42b5533f94ebcdc4befe.js +1 -0
  74. package/assets/esri/core/workers/chunks/44ca13c874b5aa0ed5a0.js +1 -0
  75. package/assets/esri/core/workers/chunks/4717831effb1ac6d5f5d.js +1 -0
  76. package/assets/esri/core/workers/chunks/{5edf77618ca51819d7c4.js → 476535cfb06ced74d611.js} +2 -2
  77. package/assets/esri/core/workers/chunks/486f1277fe834c0fc4c1.js +1 -0
  78. package/assets/esri/core/workers/chunks/48ade66f1685a1aaffba.js +1 -0
  79. package/assets/esri/core/workers/chunks/4d13c1a04788e5222678.js +1 -0
  80. package/assets/esri/core/workers/chunks/{cc3186dcbbf5edff8b9e.js → 4d7f6c92041d52cc8732.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{595edbc1e9bba47d5676.js → 4f89da01b67b66a92c01.js} +1 -1
  82. package/assets/esri/core/workers/chunks/507bbcde2b39321b50a4.js +1 -0
  83. package/assets/esri/core/workers/chunks/{9b8e33985310f281f084.js → 56a5b65961e722f5cae9.js} +1 -1
  84. package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +1 -0
  85. package/assets/esri/core/workers/chunks/{b102ae764c14d8b32ace.js → 58a52adc42fbe5cd12c6.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{b0e25ccb5a1e57a82628.js → 58b93f13316196d2e97d.js} +1 -1
  87. package/assets/esri/core/workers/chunks/58f98bd89b644cfdafae.js +1 -0
  88. package/assets/esri/core/workers/chunks/5a8658e4ef5163e8ab3b.js +1 -0
  89. package/assets/esri/core/workers/chunks/5bb8d9d887dd4211afd2.js +1 -0
  90. package/assets/esri/core/workers/chunks/5d7625eb9997cd0dff09.js +1 -0
  91. package/assets/esri/core/workers/chunks/5e56a004b4407b8066eb.js +1 -0
  92. package/assets/esri/core/workers/chunks/5efc66be4576c6f67064.js +1 -0
  93. package/assets/esri/core/workers/chunks/60b1af54e7fc20fd9588.js +1 -0
  94. package/assets/esri/core/workers/chunks/6134a2c6983792787184.js +1 -0
  95. package/assets/esri/core/workers/chunks/6319413b89e23f671487.js +1 -0
  96. package/assets/esri/core/workers/chunks/{1b311ff39dede07865df.js → 633454b27c34f9ec7940.js} +1 -1
  97. package/assets/esri/core/workers/chunks/63c43ebf46964c283b4d.js +1 -0
  98. package/assets/esri/core/workers/chunks/65d3638ded62c5606ae3.js +1 -0
  99. package/assets/esri/core/workers/chunks/{aa0ef4493a7e9bed159f.js → 662f4b39ec44c68e0733.js} +1 -1
  100. package/assets/esri/core/workers/chunks/680bef5e8237cc3bdd84.js +1 -0
  101. package/assets/esri/core/workers/chunks/6835f959952f70972fce.js +1 -0
  102. package/assets/esri/core/workers/chunks/{ddf284648a73b6993737.js → 68d823697c298122ee08.js} +1 -1
  103. package/assets/esri/core/workers/chunks/6aaefd61505027267c9b.js +1 -0
  104. package/assets/esri/core/workers/chunks/6ceb17eada151230abf7.js +1 -0
  105. package/assets/esri/core/workers/chunks/6df29716f75696434807.js +1 -0
  106. package/assets/esri/core/workers/chunks/6e804bd6bb4b0ee44fa9.js +1 -0
  107. package/assets/esri/core/workers/chunks/{ee77999df3785468b2b6.js → 6f6e8b7e6e2c856e4ed1.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{8ea28a4b1afe8bb2d313.js → 7091bbdc36f1f03f14b3.js} +1 -1
  109. package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +1 -0
  110. package/assets/esri/core/workers/chunks/{4b6f433022a6822706cb.js → 762817d30474c15142b4.js} +1 -1
  111. package/assets/esri/core/workers/chunks/762e9a15b2638475a2b4.js +1 -0
  112. package/assets/esri/core/workers/chunks/79088d5c9c2e6a780929.js +1 -0
  113. package/assets/esri/core/workers/chunks/{f3d57c5b9dffd12e45b4.js → 7c3a89c12ea32a071ad4.js} +1 -1
  114. package/assets/esri/core/workers/chunks/7c67596c0792282afdfc.js +1 -0
  115. package/assets/esri/core/workers/chunks/7cef6e5f39137e74bbc3.js +1 -0
  116. package/assets/esri/core/workers/chunks/{87e0ceb1a64ab08e679a.js → 7fd54fa2f91cdab44ab3.js} +1 -1
  117. package/assets/esri/core/workers/chunks/822a5020afbca21df7f7.js +1 -0
  118. package/assets/esri/core/workers/chunks/8599d2f2eb0fbb4a8bf5.js +1 -0
  119. package/assets/esri/core/workers/chunks/862f7090ba4a56c07093.js +1 -0
  120. package/assets/esri/core/workers/chunks/{97c7dfd29ad4c2966cb4.js → 88252899a5291ad29710.js} +1 -1
  121. package/assets/esri/core/workers/chunks/8837fbcc0d484659b79c.js +1 -0
  122. package/assets/esri/core/workers/chunks/8dcc7749de3391710864.js +1 -0
  123. package/assets/esri/core/workers/chunks/900dad076347443b3ad9.js +1 -0
  124. package/assets/esri/core/workers/chunks/{f8f7b86bbd62106bc3d4.js → 925f83be3c1eb4b5c6af.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{a4a22149077c7780481c.js → 9378ce457b02717304e6.js} +1 -1
  126. package/assets/esri/core/workers/chunks/93a7cf23f73b23fc7802.js +1 -0
  127. package/assets/esri/core/workers/chunks/93c1d1e7c0935242071e.js +1 -0
  128. package/assets/esri/core/workers/chunks/{fddcb8be714ad18ad0c8.js → 970b33947bf61fccd461.js} +1 -1
  129. package/assets/esri/core/workers/chunks/97aaff86e06380a68df8.js +1 -0
  130. package/assets/esri/core/workers/chunks/9bc7df2b8ae0ed443d13.js +1 -0
  131. package/assets/esri/core/workers/chunks/9cc14a41d4a90f6d626e.js +1 -0
  132. package/assets/esri/core/workers/chunks/9e514a58b1165e273202.js +1 -0
  133. package/assets/esri/core/workers/chunks/9fe1db0762ab3326eab4.js +1 -0
  134. package/assets/esri/core/workers/chunks/{a5bb19d2b7d7db22222b.js → a10188c4d1904965898a.js} +1 -1
  135. package/assets/esri/core/workers/chunks/a2288d44cba34d947613.js +1 -0
  136. package/assets/esri/core/workers/chunks/a26916de4c105859621e.js +1 -0
  137. package/assets/esri/core/workers/chunks/a322afbb48898ce35851.js +1 -0
  138. package/assets/esri/core/workers/chunks/a34cadd486e7fcc79063.js +1 -0
  139. package/assets/esri/core/workers/chunks/{cefb70d633c220cbedf9.js → a4dc1a80ed6604d71722.js} +1 -1
  140. package/assets/esri/core/workers/chunks/{6baae3e856d904fef9b1.js → a8f70cece5ce2b095cdd.js} +1 -1
  141. package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +1 -0
  142. package/assets/esri/core/workers/chunks/{777f2fdf1f4b9f243893.js → ab3a6ce7bc2a27b92469.js} +1 -1
  143. package/assets/esri/core/workers/chunks/abd2f8fae6b918fbdd6d.js +1 -0
  144. package/assets/esri/core/workers/chunks/ad695de9f73b268af139.js +1 -0
  145. package/assets/esri/core/workers/chunks/{b13d2da33ec07e9d41ff.js → b0da2b089a89d643df1e.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{65f4ca7201e7267bfc81.js → b5fcf4165ac72654742d.js} +1 -1
  147. package/assets/esri/core/workers/chunks/b82b523b6837ed1f28d3.js +2 -0
  148. package/assets/esri/core/workers/chunks/{527b87fddf33bb5d519e.js → ba77a8892cb23c7a297d.js} +1 -1
  149. package/assets/esri/core/workers/chunks/bb8089929ded0613d8e7.js +1 -0
  150. package/assets/esri/core/workers/chunks/bc7ca87d3bfe8a4aec81.js +1 -0
  151. package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +1 -0
  152. package/assets/esri/core/workers/chunks/{2d07d5a9ec67c39ef10c.js → bd4f29d2681e5596591a.js} +1 -1
  153. package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +1 -0
  154. package/assets/esri/core/workers/chunks/{903c7bd079888f65fef1.js → c3fbd81bb5820e48038f.js} +1 -1
  155. package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +1 -0
  156. package/assets/esri/core/workers/chunks/ca8061e0a6d78d646ebf.js +1 -0
  157. package/assets/esri/core/workers/chunks/cc73ac8404615dc392d2.js +1 -0
  158. package/assets/esri/core/workers/chunks/{e823c9ccb7bc348d8824.js → ccb26860518dce6d01c0.js} +1 -1
  159. package/assets/esri/core/workers/chunks/cded34b161fcc790e672.js +1 -0
  160. package/assets/esri/core/workers/chunks/{1bf5c0a4bc5a960a3fa2.js → d1d4979e9dcabe5e4619.js} +1 -1
  161. package/assets/esri/core/workers/chunks/d2865c604849ce79183f.js +1 -0
  162. package/assets/esri/core/workers/chunks/{9b81bd62a2c72f592db1.js → d826f6d32b4c5885276a.js} +1 -1
  163. package/assets/esri/core/workers/chunks/d92540d3ffc4af980dd8.js +1 -0
  164. package/assets/esri/core/workers/chunks/dc7853795439ae77ace9.js +1 -0
  165. package/assets/esri/core/workers/chunks/{1f047dd747e7c1916dc7.js → dd55737fba0a8fe68101.js} +3 -3
  166. package/assets/esri/core/workers/chunks/dd8d19eb6b8e955c8067.js +1 -0
  167. package/assets/esri/core/workers/chunks/dda269a088275c823b40.js +1 -0
  168. package/assets/esri/core/workers/chunks/{7b70d6fdfa7a19ffffb0.js → de95dee8db92cf8f796f.js} +1 -1
  169. package/assets/esri/core/workers/chunks/e1c8767143f9f9d1f049.js +1 -0
  170. package/assets/esri/core/workers/chunks/{2cf2f2842c19be84ab4d.js → e6cb31c727f799c1297c.js} +1 -1
  171. package/assets/esri/core/workers/chunks/e934ef66d130c212c05b.js +1 -0
  172. package/assets/esri/core/workers/chunks/{7c56446184abcd14678b.js → ea77654c8964cc39b9a6.js} +1 -1
  173. package/assets/esri/core/workers/chunks/eb167f9f6132a6348d2e.js +1 -0
  174. package/assets/esri/core/workers/chunks/ed5ac1efd3cba49be756.js +1 -0
  175. package/assets/esri/core/workers/chunks/ef24fd6c0322e5de9fdf.js +2 -0
  176. package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +1 -0
  177. package/assets/esri/core/workers/chunks/fbf2d90240d36f8b423f.js +1 -0
  178. package/assets/esri/core/workers/chunks/{4ee99e654dad6f09abee.js → fc042b9936686785c39e.js} +1 -1
  179. package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +1 -0
  180. package/assets/esri/core/workers/chunks/{af6b9fd77b1792fbb66e.js → fd4d124c5bf810d9e352.js} +1 -1
  181. package/assets/esri/core/workers/chunks/ffa35ecc681ec1c4739a.js +1 -0
  182. package/assets/esri/core/workers/chunks/ffca0b2333e760b66d3a.js +1 -0
  183. package/config.js +1 -1
  184. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  185. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  186. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  187. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  188. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  189. package/editing/sharedTemplates/executor/support/createPresetServiceEdit.js +1 -1
  190. package/geometry/Polygon.js +1 -1
  191. package/geometry/geometryEngine.d.ts +36 -36
  192. package/geometry/operators/affineTransformOperator.d.ts +30 -1
  193. package/geometry/operators/affineTransformOperator.js +1 -1
  194. package/geometry/operators/alphaShapeOperator.d.ts +49 -5
  195. package/geometry/operators/alphaShapeOperator.js +1 -1
  196. package/geometry/operators/areaOperator.d.ts +28 -4
  197. package/geometry/operators/areaOperator.js +1 -1
  198. package/geometry/operators/autoCompleteOperator.d.ts +25 -2
  199. package/geometry/operators/autoCompleteOperator.js +1 -1
  200. package/geometry/operators/boundaryOperator.d.ts +40 -2
  201. package/geometry/operators/boundaryOperator.js +1 -1
  202. package/geometry/operators/bufferOperator.d.ts +51 -6
  203. package/geometry/operators/bufferOperator.js +1 -1
  204. package/geometry/operators/centroidOperator.d.ts +23 -2
  205. package/geometry/operators/centroidOperator.js +1 -1
  206. package/geometry/operators/clipOperator.d.ts +34 -2
  207. package/geometry/operators/clipOperator.js +1 -1
  208. package/geometry/operators/containsOperator.d.ts +32 -2
  209. package/geometry/operators/containsOperator.js +1 -1
  210. package/geometry/operators/convexHullOperator.d.ts +47 -4
  211. package/geometry/operators/convexHullOperator.js +1 -1
  212. package/geometry/operators/crossesOperator.d.ts +35 -2
  213. package/geometry/operators/crossesOperator.js +1 -1
  214. package/geometry/operators/cutOperator.d.ts +23 -2
  215. package/geometry/operators/cutOperator.js +1 -1
  216. package/geometry/operators/densifyOperator.d.ts +61 -6
  217. package/geometry/operators/densifyOperator.js +1 -1
  218. package/geometry/operators/differenceOperator.d.ts +34 -2
  219. package/geometry/operators/differenceOperator.js +1 -1
  220. package/geometry/operators/disjointOperator.d.ts +33 -2
  221. package/geometry/operators/disjointOperator.js +1 -1
  222. package/geometry/operators/distanceOperator.d.ts +29 -4
  223. package/geometry/operators/distanceOperator.js +1 -1
  224. package/geometry/operators/equalsOperator.d.ts +32 -2
  225. package/geometry/operators/equalsOperator.js +1 -1
  226. package/geometry/operators/extendOperator.d.ts +29 -3
  227. package/geometry/operators/extendOperator.js +1 -1
  228. package/geometry/operators/generalizeOperator.d.ts +46 -5
  229. package/geometry/operators/generalizeOperator.js +1 -1
  230. package/geometry/operators/geodesicBufferOperator.d.ts +71 -7
  231. package/geometry/operators/geodesicBufferOperator.js +1 -1
  232. package/geometry/operators/geodesicProximityOperator.d.ts +106 -14
  233. package/geometry/operators/geodesicProximityOperator.js +1 -1
  234. package/geometry/operators/geodeticAreaOperator.d.ts +51 -5
  235. package/geometry/operators/geodeticAreaOperator.js +1 -1
  236. package/geometry/operators/geodeticDensifyOperator.d.ts +65 -6
  237. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  238. package/geometry/operators/geodeticDistanceOperator.d.ts +52 -5
  239. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  240. package/geometry/operators/geodeticLengthOperator.d.ts +51 -5
  241. package/geometry/operators/geodeticLengthOperator.js +1 -1
  242. package/geometry/operators/geodeticUtilsOperator.d.ts +79 -9
  243. package/geometry/operators/geodeticUtilsOperator.js +1 -1
  244. package/geometry/operators/graphicBufferOperator.d.ts +47 -4
  245. package/geometry/operators/graphicBufferOperator.js +1 -1
  246. package/geometry/operators/integrateOperator.d.ts +24 -2
  247. package/geometry/operators/integrateOperator.js +1 -1
  248. package/geometry/operators/intersectionOperator.d.ts +88 -3
  249. package/geometry/operators/intersectionOperator.js +1 -1
  250. package/geometry/operators/intersectsOperator.d.ts +32 -2
  251. package/geometry/operators/intersectsOperator.js +1 -1
  252. package/geometry/operators/isNearOperator.d.ts +31 -4
  253. package/geometry/operators/isNearOperator.js +1 -1
  254. package/geometry/operators/json/bufferOperator.js +1 -1
  255. package/geometry/operators/json/containsOperator.js +1 -1
  256. package/geometry/operators/json/convexHullOperator.js +1 -1
  257. package/geometry/operators/json/crossesOperator.js +1 -1
  258. package/geometry/operators/json/disjointOperator.js +1 -1
  259. package/geometry/operators/json/generalizeOperator.js +1 -1
  260. package/geometry/operators/json/geodesicBufferOperator.js +1 -1
  261. package/geometry/operators/json/graphicBufferOperator.js +1 -1
  262. package/geometry/operators/json/intersectionOperator.js +1 -1
  263. package/geometry/operators/json/intersectsOperator.js +1 -1
  264. package/geometry/operators/json/lengthOperator.js +1 -1
  265. package/geometry/operators/json/offsetOperator.js +1 -1
  266. package/geometry/operators/json/overlapsOperator.js +1 -1
  267. package/geometry/operators/json/projectOperator.js +1 -1
  268. package/geometry/operators/json/simplifyOperator.js +1 -1
  269. package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
  270. package/geometry/operators/json/touchesOperator.js +1 -1
  271. package/geometry/operators/json/unionOperator.js +1 -1
  272. package/geometry/operators/json/withinOperator.js +1 -1
  273. package/geometry/operators/labelPointOperator.d.ts +32 -2
  274. package/geometry/operators/labelPointOperator.js +1 -1
  275. package/geometry/operators/lengthOperator.d.ts +28 -4
  276. package/geometry/operators/lengthOperator.js +1 -1
  277. package/geometry/operators/linesToPolygonsOperator.d.ts +23 -2
  278. package/geometry/operators/linesToPolygonsOperator.js +1 -1
  279. package/geometry/operators/locateBetweenOperator.d.ts +28 -2
  280. package/geometry/operators/locateBetweenOperator.js +1 -1
  281. package/geometry/operators/minimumBoundingCircleOperator.d.ts +38 -4
  282. package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
  283. package/geometry/operators/multiPartToSinglePartOperator.d.ts +33 -4
  284. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  285. package/geometry/operators/offsetOperator.d.ts +50 -5
  286. package/geometry/operators/offsetOperator.js +1 -1
  287. package/geometry/operators/overlapsOperator.d.ts +33 -2
  288. package/geometry/operators/overlapsOperator.js +1 -1
  289. package/geometry/operators/polygonOverlayOperator.d.ts +31 -5
  290. package/geometry/operators/polygonOverlayOperator.js +1 -1
  291. package/geometry/operators/polygonSlicerOperator.d.ts +72 -10
  292. package/geometry/operators/polygonSlicerOperator.js +1 -1
  293. package/geometry/operators/projectOperator.d.ts +63 -3
  294. package/geometry/operators/projectOperator.js +1 -1
  295. package/geometry/operators/proximityOperator.d.ts +71 -9
  296. package/geometry/operators/proximityOperator.js +1 -1
  297. package/geometry/operators/relateOperator.d.ts +41 -2
  298. package/geometry/operators/relateOperator.js +1 -1
  299. package/geometry/operators/reshapeOperator.d.ts +28 -2
  300. package/geometry/operators/reshapeOperator.js +1 -1
  301. package/geometry/operators/shapePreservingProjectOperator.d.ts +64 -6
  302. package/geometry/operators/shapePreservingProjectOperator.js +1 -1
  303. package/geometry/operators/simplifyOGCOperator.d.ts +72 -6
  304. package/geometry/operators/simplifyOGCOperator.js +1 -1
  305. package/geometry/operators/simplifyOperator.d.ts +72 -4
  306. package/geometry/operators/simplifyOperator.js +1 -1
  307. package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
  308. package/geometry/operators/support/Transformation.d.ts +17 -11
  309. package/geometry/operators/support/jsonConverter.js +1 -1
  310. package/geometry/operators/symmetricDifferenceOperator.d.ts +33 -2
  311. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  312. package/geometry/operators/touchesOperator.d.ts +32 -2
  313. package/geometry/operators/touchesOperator.js +1 -1
  314. package/geometry/operators/types.d.ts +4 -1
  315. package/geometry/operators/unionOperator.d.ts +33 -2
  316. package/geometry/operators/unionOperator.js +1 -1
  317. package/geometry/operators/withinOperator.d.ts +32 -2
  318. package/geometry/operators/withinOperator.js +1 -1
  319. package/geometry/projectionUtils.js +1 -1
  320. package/geometry/support/geometryUtils.js +1 -1
  321. package/geometry/support/normalizeUtils.d.ts +5 -3
  322. package/geometry/support/normalizeUtils.js +1 -1
  323. package/interfaces.d.ts +202 -202
  324. package/kernel.js +1 -1
  325. package/layers/graphics/data/QueryEngineResult.js +1 -1
  326. package/layers/graphics/data/queryUtils.js +1 -1
  327. package/layers/graphics/data/spatialQuerySupport.js +1 -1
  328. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  329. package/layers/list/Item.d.ts +27 -3
  330. package/layers/list/Item.js +1 -1
  331. package/layers/list/ItemPanel.d.ts +1 -1
  332. package/layers/list/LayerItemCollection.js +1 -1
  333. package/layers/mixins/ArcGISImageService.js +1 -1
  334. package/layers/mixins/TiledImagery.js +1 -1
  335. package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
  336. package/layers/raster/datasets/FunctionRaster.js +1 -1
  337. package/layers/raster/datasets/pixelReader.js +1 -1
  338. package/layers/raster/functions/clipUtils.js +1 -1
  339. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  340. package/layers/support/Sublayer.js +1 -1
  341. package/layers/support/trackInfoUtils.js +2 -0
  342. package/layers/video/videoUtils.js +1 -1
  343. package/package.json +5 -5
  344. package/popup/FeatureContentCollection.d.ts +3 -3
  345. package/popup/FeatureContentCollection.js +1 -1
  346. package/portal/schemas/definitions.js +1 -1
  347. package/portal/schemas/webScene.js +1 -1
  348. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  349. package/support/revision.js +1 -1
  350. package/support/tests/serviceMockDependencies.js +1 -1
  351. package/support/tests/setupServiceMocksMesh.js +1 -1
  352. package/symbols/cim/CIMEffects.js +1 -1
  353. package/symbols/cim/effects/EffectBuffer.js +1 -1
  354. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  355. package/symbols/cim/effects/EffectDonut.js +1 -1
  356. package/symbols/cim/effects/EffectEnclosingPolygon.js +1 -1
  357. package/symbols/cim/effects/EffectOffset.js +1 -1
  358. package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
  359. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  360. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  361. package/views/2d/engine/webgl/Overlay.js +1 -1
  362. package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
  363. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
  364. package/views/2d/layers/TileLayerView2D.js +1 -1
  365. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  366. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  367. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  368. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  369. package/views/3d/layers/ElevationLayerView3DModifications.js +1 -1
  370. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  371. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  372. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  373. package/views/MapView.d.ts +3 -3
  374. package/views/SceneView.js +1 -1
  375. package/views/VideoView.js +1 -1
  376. package/views/View2D.d.ts +22 -22
  377. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  378. package/views/draw/DrawTool.js +1 -1
  379. package/views/draw/support/createUtils.js +1 -1
  380. package/views/layers/SceneLayerView.js +1 -1
  381. package/views/support/GeometryWorker.js +1 -1
  382. package/views/support/imageReprojection.js +1 -1
  383. package/views/video/VideoOperationalDataView.js +1 -1
  384. package/webscene/InitialViewProperties.d.ts +9 -1
  385. package/webscene/InitialViewProperties.js +1 -1
  386. package/webscene/Slide.d.ts +10 -1
  387. package/webscene/Slide.js +1 -1
  388. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  389. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  390. package/widgets/BatchAttributeForm/expressions/expressionUtils.js +1 -1
  391. package/widgets/BatchAttributeForm/inputs/support/DynamicChoiceController.js +1 -1
  392. package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
  393. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  394. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  395. package/widgets/Editor/support/mergeFeaturesUtils.js +1 -1
  396. package/widgets/Editor/support/splitFeatureUtils.js +1 -1
  397. package/widgets/ElevationProfile/support/ElevationProfileView.js +1 -1
  398. package/widgets/ElevationProfile/support/InputRepresentation2D.js +1 -1
  399. package/widgets/ElevationProfile/support/InputRepresentation3D.js +1 -1
  400. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  401. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  402. package/widgets/Features/FeaturesViewModel.js +1 -1
  403. package/widgets/Features.js +1 -1
  404. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  405. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  406. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  407. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  408. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  409. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  410. package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
  411. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  412. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  413. package/widgets/Print.js +1 -1
  414. package/widgets/Search/SearchViewModel.js +1 -1
  415. package/widgets/Search/support/layerSearchUtils.js +1 -1
  416. package/widgets/Search/support/locatorUtils.js +1 -1
  417. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  418. package/widgets/support/FilterBuilder/FilterBuilderViewModel.d.ts +104 -0
  419. package/widgets/support/FilterBuilder/FilterBuilderViewModel.js +1 -1
  420. package/widgets/support/FilterBuilder.js +1 -1
  421. package/widgets/support/FilterCondition/FilterConditionViewModel.d.ts +145 -0
  422. package/widgets/support/FilterCondition/FilterConditionViewModel.js +1 -1
  423. package/widgets/support/FilterCondition/types.d.ts +20 -0
  424. package/widgets/support/ItemList.js +1 -1
  425. package/widgets/support/SelectionList/FeatureItem.d.ts +17 -68
  426. package/widgets/support/SelectionList/FeatureItem.js +1 -1
  427. package/widgets/support/SelectionList/GroupLayerItem.d.ts +12 -50
  428. package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
  429. package/widgets/support/SelectionList/ItemBase.d.ts +14 -44
  430. package/widgets/support/SelectionList/ItemBase.js +1 -1
  431. package/widgets/support/SelectionList/LayerItem.d.ts +10 -56
  432. package/widgets/support/SelectionList/LayerItem.js +1 -1
  433. package/widgets/support/SelectionList/types.d.ts +4 -4
  434. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  435. package/assets/esri/core/workers/chunks/090ea7a131f8f60203ed.js +0 -1
  436. package/assets/esri/core/workers/chunks/0b4a7209b99227a842ad.js +0 -1
  437. package/assets/esri/core/workers/chunks/0be98adfef79fc5036f0.js +0 -1
  438. package/assets/esri/core/workers/chunks/0d2e2d90a4e4a28e2c0c.js +0 -1
  439. package/assets/esri/core/workers/chunks/0d7763d39a5a8586a0ae.js +0 -1
  440. package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +0 -1
  441. package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +0 -1
  442. package/assets/esri/core/workers/chunks/0df9864ecebe6a2b973f.js +0 -1
  443. package/assets/esri/core/workers/chunks/104d74bc36c28c519396.js +0 -1
  444. package/assets/esri/core/workers/chunks/1670e9867efde4d7a6d6.js +0 -1
  445. package/assets/esri/core/workers/chunks/1c803eef9a8fdabc61e3.js +0 -2
  446. package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +0 -1
  447. package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +0 -1
  448. package/assets/esri/core/workers/chunks/20f7b5fe64a217cb3d3d.js +0 -1
  449. package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +0 -1
  450. package/assets/esri/core/workers/chunks/24944b625ed8dcd904f0.js +0 -1
  451. package/assets/esri/core/workers/chunks/2b6d261fe79fe186fb22.js +0 -1
  452. package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +0 -1
  453. package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +0 -1
  454. package/assets/esri/core/workers/chunks/30d816bdeea00f6fa1ca.js +0 -1
  455. package/assets/esri/core/workers/chunks/35d46c2f658a8e92d913.js +0 -1
  456. package/assets/esri/core/workers/chunks/36e35a8067b18f59cc05.js +0 -1
  457. package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +0 -1
  458. package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +0 -1
  459. package/assets/esri/core/workers/chunks/45c1c90ac6c14657f3ff.js +0 -1
  460. package/assets/esri/core/workers/chunks/4a40b894ec89b0a4f9bf.js +0 -1
  461. package/assets/esri/core/workers/chunks/5165d367328ac7badf47.js +0 -1
  462. package/assets/esri/core/workers/chunks/5168bd8ab6233dc9c32a.js +0 -1
  463. package/assets/esri/core/workers/chunks/545bec045167c433af8f.js +0 -1
  464. package/assets/esri/core/workers/chunks/5782c0362a1799ceef41.js +0 -1
  465. package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +0 -1
  466. package/assets/esri/core/workers/chunks/59f0a2bd40b033ce77e4.js +0 -1
  467. package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +0 -1
  468. package/assets/esri/core/workers/chunks/5b8591486f33627f5389.js +0 -1
  469. package/assets/esri/core/workers/chunks/6057a79c68c33ee4a193.js +0 -1
  470. package/assets/esri/core/workers/chunks/607acd9f615f87e14075.js +0 -1
  471. package/assets/esri/core/workers/chunks/62ee6c247f783acabb74.js +0 -1
  472. package/assets/esri/core/workers/chunks/63127e3b22e7eac6003d.js +0 -2
  473. package/assets/esri/core/workers/chunks/6564f17c4700dc8d9c0e.js +0 -2
  474. package/assets/esri/core/workers/chunks/678585509706755c0434.js +0 -2
  475. package/assets/esri/core/workers/chunks/691e9cc541cfaebe1776.js +0 -1
  476. package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +0 -1
  477. package/assets/esri/core/workers/chunks/6b84982dfaf084a61b93.js +0 -1
  478. package/assets/esri/core/workers/chunks/6cbc30b31f0bb39c73ca.js +0 -1
  479. package/assets/esri/core/workers/chunks/6f01bd01b13662eb3bd7.js +0 -1
  480. package/assets/esri/core/workers/chunks/74cd9df85c4560bb8e52.js +0 -1
  481. package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +0 -1
  482. package/assets/esri/core/workers/chunks/7cf903db44f3647c8fd4.js +0 -1
  483. package/assets/esri/core/workers/chunks/7ddb5800777fbecee3a8.js +0 -1
  484. package/assets/esri/core/workers/chunks/7eae9053065d3d38e54e.js +0 -1
  485. package/assets/esri/core/workers/chunks/80f38ab2b7ae61e6f301.js +0 -1
  486. package/assets/esri/core/workers/chunks/854f42f16fdb40000aae.js +0 -1
  487. package/assets/esri/core/workers/chunks/87094044458b0ea5cb0f.js +0 -2
  488. package/assets/esri/core/workers/chunks/88f03352a4dc6184ea1f.js +0 -1
  489. package/assets/esri/core/workers/chunks/909ee7d2a0eec773037a.js +0 -1
  490. package/assets/esri/core/workers/chunks/91ac9328afff8a51bd96.js +0 -1
  491. package/assets/esri/core/workers/chunks/92a6559a6999b26362d7.js +0 -1
  492. package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +0 -1
  493. package/assets/esri/core/workers/chunks/9509bef285929c52c244.js +0 -1
  494. package/assets/esri/core/workers/chunks/99966339b061eb9945b8.js +0 -1
  495. package/assets/esri/core/workers/chunks/99f627938dbf0152fc02.js +0 -1
  496. package/assets/esri/core/workers/chunks/9df38cadebf8e6fd746c.js +0 -1
  497. package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +0 -1
  498. package/assets/esri/core/workers/chunks/a0565137027c83108953.js +0 -1
  499. package/assets/esri/core/workers/chunks/a0eb882a5a81d25b9153.js +0 -1
  500. package/assets/esri/core/workers/chunks/a785e827f0215a73103d.js +0 -1
  501. package/assets/esri/core/workers/chunks/abe7670db06b27c0c8c8.js +0 -1
  502. package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +0 -1
  503. package/assets/esri/core/workers/chunks/b333de4dea14c5db0a4d.js +0 -1
  504. package/assets/esri/core/workers/chunks/b6af90be328ebda26b8d.js +0 -1
  505. package/assets/esri/core/workers/chunks/b7c0da9d255d5e48320d.js +0 -1
  506. package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +0 -1
  507. package/assets/esri/core/workers/chunks/be0417df35a7d99af675.js +0 -1
  508. package/assets/esri/core/workers/chunks/c30b6bbabd05e4976fba.js +0 -1
  509. package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +0 -1
  510. package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +0 -1
  511. package/assets/esri/core/workers/chunks/c88bfa51d2a8a024fc24.js +0 -1
  512. package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +0 -1
  513. package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +0 -1
  514. package/assets/esri/core/workers/chunks/d1304d414b1fa725168a.js +0 -1
  515. package/assets/esri/core/workers/chunks/d24125a791247019e2ca.js +0 -1
  516. package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +0 -1
  517. package/assets/esri/core/workers/chunks/d2cb3d5ef0a9285afb78.js +0 -1
  518. package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +0 -1
  519. package/assets/esri/core/workers/chunks/e018cbd97e6e0e4ca5c4.js +0 -1
  520. package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +0 -1
  521. package/assets/esri/core/workers/chunks/e4380706b629729f2212.js +0 -1
  522. package/assets/esri/core/workers/chunks/ea1877ce00da3b585a30.js +0 -1
  523. package/assets/esri/core/workers/chunks/ea5ee1b12b43594592a0.js +0 -1
  524. package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +0 -1
  525. package/assets/esri/core/workers/chunks/eafc591e1a98000d54ef.js +0 -1
  526. package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +0 -1
  527. package/assets/esri/core/workers/chunks/f3e53be08ab9dbdf17ae.js +0 -1
  528. package/assets/esri/core/workers/chunks/f53010adb70463b75bb9.js +0 -1
  529. package/assets/esri/core/workers/chunks/f5a058a0ce006bce2a2a.js +0 -1
  530. package/assets/esri/core/workers/chunks/f5f5b54cab722abe88e0.js +0 -1
  531. package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +0 -1
  532. package/assets/esri/core/workers/chunks/f6f56f3e011dcef90bbb.js +0 -1
  533. package/assets/esri/core/workers/chunks/f83c3597e9332bd991eb.js +0 -1
  534. package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +0 -1
  535. package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +0 -1
  536. package/geometry/operators/importUtils.js +0 -2
  537. /package/assets/esri/core/workers/chunks/{1c803eef9a8fdabc61e3.js.LICENSE.txt → 1082bb0858585bd4fa21.js.LICENSE.txt} +0 -0
  538. /package/assets/esri/core/workers/chunks/{87094044458b0ea5cb0f.js.LICENSE.txt → 2e2349387a2b9903f13c.js.LICENSE.txt} +0 -0
  539. /package/assets/esri/core/workers/chunks/{678585509706755c0434.js.LICENSE.txt → 411bbdecba340df11d95.js.LICENSE.txt} +0 -0
  540. /package/assets/esri/core/workers/chunks/{5edf77618ca51819d7c4.js.LICENSE.txt → 476535cfb06ced74d611.js.LICENSE.txt} +0 -0
  541. /package/assets/esri/core/workers/chunks/{6564f17c4700dc8d9c0e.js.LICENSE.txt → b82b523b6837ed1f28d3.js.LICENSE.txt} +0 -0
  542. /package/assets/esri/core/workers/chunks/{63127e3b22e7eac6003d.js.LICENSE.txt → ef24fd6c0322e5de9fdf.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8589],{16494(e,t,i){var r=i(75620);const s=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),n=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],o=new r.I({whiteList:s,onTagAttr:(e,t,i)=>{const r=`${t}="${i}"`;if(n.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1);i.d(t,["Nd",0,a,"W5",0,o])},83027(e,t,i){const r=i(29953).ho;i.d(t,["h",0,r])},18589(e,t,i){i.r(t),i.d(t,{default:()=>Je});var r=i(32198),s=i(37838),n=i(11254),o=i(69540),a=i(7762),l=i(49186),d=i(36563),u=i(4718),p=i(53966),c=i(97768),y=i(25728),h=i(93637),f=i(17676),g=i(39516),m=i(91429),b=i(89317),w=i(78247),v=i(16930),F=i(55156),C=i(60950),I=i(89808),T=i(99959);const M=Symbol("isFeatureGraphicOrigin");var _;class S extends T.A{get[(_=M,C.ym)](){return this.layer}get[F.e](){return this.layer}get[I.Q](){return this.layer}constructor(e){super(),this[_]=!0,this.type="feature",this.layer=e}get id(){return this.layer.id}}var E=i(4146),Z=i(52106),j=i(44208),A=i(92474),O=i(61893),x=i(83027),D=i(56507),q=i(5443),L=i(39829),P=i(50498),k=i(54339),R=i(96520),G=i(22671),N=i(7695);let U=0,$=class extends((0,A.WV)((0,O.g)(a.A))){constructor(e){super(e),this._idToClientGeometry=null,this.type="memory"}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}get _workerGeometryType(){const e=this.layer?.geometryType;return e?this._geometryTypeRequiresClientGraphicMapping(e)?"polygon":e:null}applyEdits(e){return this.load().then(()=>this._applyEdits(e))}openPorts(){return this.load().then(()=>this._connection.openPorts())}async queryFeatures(e,t={}){if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();const i=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t),r=G.A.fromJSON(i);if(!this._requiresClientGraphicMapping()||!this._idToClientGeometry)return r;const s=this.layer.objectIdField;for(const e of r.features){const t=e.attributes[s],i=this._idToClientGeometry.get(t);void 0!==i&&(e.geometry=i)}return r.geometryType=this.layer.geometryType,r}async queryFeaturesJSON(e,t={}){if(this._requiresClientGraphicMapping())throw new l.A("query-features-json:unsupported","Cannot query in JSON format for client only geometry types (mesh and extent)");if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();return await this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();return this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();return this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();const i=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:i.count,extent:q.A.fromJSON(i.extent)}}async querySnapping(e,t={}){if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();return this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){if(await this.load(t),(0,f.G4)(t)||null==this._connection)throw(0,f.NK)();const r=await this._connection.invoke("queryAttributeBins",e?.toJSON(),t);return(await i.e(7745).then(i.bind(i,37745))).default.fromJSON(r)}async _applyEdits(e){if(!this._connection)throw new l.A("feature-layer-source:edit-failure","Memory source not loaded");const t=this.layer.objectIdField,i=this.layer.uniqueIdFields;let r=null;const s=[],n=[];await Promise.all([this._prepareClientMapping(e.addFeatures,null),this._prepareClientMapping(e.updateFeatures,null)]);const o=e=>i?.length&&"attributes"in e?(0,k.r)(e,this.layer):"objectId"in e&&null!=e.objectId?e.objectId:"attributes"in e&&null!=e.attributes[t]?e.attributes[t]:null;if(e.addFeatures&&(r=this._prepareAddFeatures(e.addFeatures)),e.deleteFeatures)for(const t of e.deleteFeatures){const e=o(t);null!=e&&s.push(e)}const a=e.updateFeatures&&this._idToClientGeometry?new Map:null;if(e.updateFeatures)for(const t of e.updateFeatures)if(n.push(this._serializeFeature(t)),a&&null!=t.geometry){const e=o(t);null!=e&&a.set(e,t)}(0,R.u)(r?r.features:null,n,this.layer.spatialReference);const{fullExtent:d,featureEditResults:u}=await this._connection.invoke("applyEdits",{adds:r?r.features:[],updates:n,deletes:s});return this.fullExtent=d,r&&r.finish(u.uidToObjectId),this._updateIdToClientGeometries(a,u),this._createEditsResult(u)}async _prepareClientMapping(e,t){if("mesh"!==this._layerOrSourceGeometryType||null==e)return;const i=[];for(const{geometry:r}of e)null==r||"mesh"!==r.type||r.hasExtent||r.loaded||i.push(r.load({signal:t}));i.length&&await Promise.all(i)}_updateIdToClientGeometries(e,t){if(this._idToClientGeometry){if(e)for(const i of t.updateResults){if(!i.success)continue;const t=e.get(i.objectId);null!=t&&this._addIdToClientGeometry(t)}for(const e of t.deleteResults)e.success&&this._idToClientGeometry.delete(e.objectId)}}_createEditsResult(e){return{addFeatureResults:e.addResults?e.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:e.updateResults?e.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:e.deleteResults?e.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}_createFeatureEditResult(e){const t=!0===e.success?null:e.error||{code:void 0,description:""};return{objectId:e.objectId,globalId:e.globalId,error:t?new l.A("feature-layer-source:edit-failure",t.description,{code:t.code}):null}}_prepareAddFeatures(e){const t=new Map,i=new Array(e.length);let r=null;for(let s=0;s<e.length;s++){const n=e[s],o=this._serializeFeature(n);r||null==n.geometry||(r=n.geometry.type),i[s]=o,t.set(`${o.uid}`,n)}const s=this;return{features:i,inferredGeometryType:r,finish(e){const i=s.sourceJSON.objectIdField;for(const r in e){const n=e[r],o=t.get(r);o&&(o.attributes||(o.attributes={}),-1===n?delete o.attributes[i]:o.attributes[i]=n,s._addIdToClientGeometry(o))}}}}_addIdToClientGeometry(e){if(!this._idToClientGeometry)return;const t=this.sourceJSON.objectIdField,i=e.attributes?.[t];null!=i&&this._idToClientGeometry.set(i,e.geometry??null)}get _layerOrSourceGeometryType(){return this.layer?.geometryType??this.sourceJSON?.geometryType}_requiresClientGraphicMapping(){return this._geometryTypeRequiresClientGraphicMapping(this._layerOrSourceGeometryType)}_geometryRequiresClientGraphicMapping(e){return this._geometryTypeRequiresClientGraphicMapping(e.type)}_geometryTypeRequiresClientGraphicMapping(e){return"mesh"===e||"multipatch"===e||"extent"===e}_serializeFeature(e){const{attributes:t}=e,i=this._geometryForSerialization(e),r=(U++).toString();return i?{uid:r,geometry:i.toJSON(),attributes:t}:{uid:r,attributes:t}}_geometryForSerialization(e){const{geometry:t}=e;return null==t?null:this._geometryRequiresClientGraphicMapping(t)?t.extent?L.A.fromExtent(t.extent):null:t}async _startWorker(e){this._connection=await(0,x.h)("MemorySourceWorker",{strategy:(0,j.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{fields:t,spatialReference:i,objectIdField:r,hasM:s,hasZ:n,timeInfo:o,dateFieldsTimeZone:a}=this.layer,l="defaults"===this.layer.originOf("spatialReference");await this._prepareClientMapping(this.items,e);const d=this._prepareAddFeatures(this.items);this.addHandles(this.on("before-changes",e=>{p.A.getLogger(this).error("Source modifications will not propagate after layer has been loaded. Please use .applyEdits() instead"),e.preventDefault()}));const{uniqueIdFields:u}=this.layer,c=u?.length?{type:u.length>1?"composite":"simple",fields:u.slice(),OIDFieldContainsHashValue:!(1===u?.length&&u.at(0)===this.layer.objectIdField)}:void 0,y={features:d.features,fields:t?.map(e=>e.toJSON()),geometryType:P.Ye.toJSON(this._workerGeometryType),hasM:"mesh"!==this._layerOrSourceGeometryType&&s,hasZ:"mesh"===this._layerOrSourceGeometryType||n,objectIdField:r,spatialReference:l?null:i&&i.toJSON(),timeInfo:o?.toJSON()??null,dateFieldsTimeZone:a,uniqueIdInfo:c},h=await this._connection.invoke("load",y,{signal:e});for(const e of h.warnings)p.A.getLogger(this.layer).warn("#load()",`${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});h.featureErrors.length&&p.A.getLogger(this.layer).error("#load()",`Failed to load ${h.featureErrors.length} features due to errors. (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}').`,h.featureErrors.map(e=>"\n\n- "+e.error.description).join(""));const f=h.layerDefinition;this._geometryTypeRequiresClientGraphicMapping(d.inferredGeometryType)&&(f.geometryType=P.Ye.toJSON(d.inferredGeometryType)),this.sourceJSON=f,this._requiresClientGraphicMapping()&&(this._idToClientGeometry=new Map),d.finish(h.assignedObjectIds)}};(0,r.Cg)([(0,N.u)({Type:Z.A,ensureType:(0,D.dp)(Z.A)})],$.prototype,"itemType",void 0),(0,r.Cg)([(0,m.MZ)()],$.prototype,"type",void 0),(0,r.Cg)([(0,m.MZ)({constructOnly:!0})],$.prototype,"layer",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],$.prototype,"_workerGeometryType",null),(0,r.Cg)([(0,m.MZ)()],$.prototype,"sourceJSON",void 0),$=(0,r.Cg)([(0,m.$K)("esri.layers.graphics.sources.MemorySource")],$);var J=i(52136),V=i(18768),K=i(63074),H=i(69208),B=i(90735),Q=i(6455),W=i(47685),z=i(87718),Y=i(10086),X=i(56658),ee=i(34287),te=i(32756),ie=i(8303),re=i(69622);let se=class extends re.A{constructor(e){super(e),this.updating=!1,this.status="unknown"}};(0,r.Cg)([(0,m.MZ)()],se.prototype,"updating",void 0),(0,r.Cg)([(0,m.MZ)()],se.prototype,"status",void 0),se=(0,r.Cg)([(0,m.$K)("esri.layers.support.PublishingInfo")],se);const ne=Symbol(),oe=e=>{var t;const i=e;let s=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=ne}get publishingInfo(){if(this.destroyed)return null;const e=this._get("publishingInfo");if(e)return e;const t=new se;return this._checkPublishingStatus(t),t}_checkPublishingStatus(e){let t=0;const i=async s=>{let n;e.updating=!0;try{n=await this.fetchPublishingStatus()}catch(e){n="unavailable"}"published"!==n&&"unavailable"!==n||("publishing"===e.status&&this.refresh(),r.remove()),e.status=n,e.updating=!1,r.removed||(t=setTimeout(i,s,s+125))},r={removed:!1,remove(){this.removed=!0,clearTimeout(t)}};this.when().catch(()=>r.remove()),i(250),this.addHandles(r)}};return(0,r.Cg)([(0,m.MZ)({readOnly:!0,clonable:!1})],s.prototype,"publishingInfo",null),s=(0,r.Cg)([(0,m.$K)("esri.layers.mixins.PublishableLayer")],s),s};var ae=i(54310),le=i(25036),de=i(82935),ue=i(63396),pe=i(60694),ce=i(10873),ye=i(15426),he=i(29005),fe=i(33143),ge=i(30279),me=i(16194),be=i(17036),we=i(30524),ve=i(46499),Fe=i(39383),Ce=i(6666),Ie=i(25482);let Te=class extends((0,o.OU)(Ie.o)){constructor(e){super(e),this.enabled=!1,this.drawOrder=[]}};(0,r.Cg)([(0,m.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1}}}})],Te.prototype,"enabled",void 0),(0,r.Cg)([(0,m.MZ)({type:[String],json:{write:!0,origins:{"web-scene":{write:!1}}}})],Te.prototype,"drawOrder",void 0),Te=(0,r.Cg)([(0,m.$K)("esri.layers.support.SymbolLayerDrawing")],Te);var Me=i(96184),_e=i(17311),Se=i(91908),Ee=i(65494),Ze=i(8947),je=i(41214),Ae=i(65615),Oe=i(97552),xe=i(54218),De=i(30291),qe=i(33910),Le=i(78553),Pe=i(59923),ke=i(36005),Re=i(43937);const Ge="FeatureLayer";function Ne(e){return e&&e instanceof a.A}const Ue=(0,be.p)();function $e(e,t,i){const r=!!i?.writeLayerSchema;return{enabled:r,ignoreOrigin:r}}let Je=class extends((0,Y.j)((0,X.J)((0,z.F)(oe((0,W.w6)((0,Q.FJ)((0,K.dM)((0,te.fY)((0,de.e)((0,B.z)((0,ue.d)((0,le.j)((0,ae.J)((0,V.b)((0,ee.q)((0,ie.A)((0,y.M)((0,H.d)((0,J.p)((0,o.OU)(E.A))))))))))))))))))))){constructor(...e){super(...e),this._debounceReload=(0,f.sg)(async()=>{if(this.destroyed||!this.loaded||this._hasMemorySource())return!1;const e=new AbortController,t=(0,d.rE)(e);this.addHandles(t,"reload"),this._set("reloading",!0);try{const t=await this.reloadFromPortal({supportedTypes:["Feature Service","Feature Collection","Scene Service"]});return t&&(this.sourceJSON=null,await this.initLayerProperties(await this.createGraphicsSource(e.signal))),e.signal.throwIfAborted(),t}finally{this.removeHandles("reload"),this._set("reloading",!1)}}),this.attributeTableTemplate=null,this.charts=null,this.copyright=null,this.displayField=null,this.dynamicDataSource=null,this.fields=null,this.fieldsIndex=null,this.formTemplate=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new S(this),this.hasM=void 0,this.hasZ=void 0,this.infoFor3D=null,this.isTable=!1,this.labelsVisible=!0,this.labelingInfo=null,this.symbolLayerDrawing=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="ArcGISFeatureLayer",this.outFields=null,this.path=null,this.popupEnabled=!0,this.popupTemplate=null,this.reloading=!1,this.resourceInfo=null,this.screenSizePerspectiveEnabled=!0,this.spatialReference=v.A.WGS84,this.subtypeCode=null,this.subtypeField=null,this.subtypes=null,this.supportedSourceTypes=new Set(["Feature Layer","Oriented Imagery Layer","Table","Catalog Layer"]),this.templates=null,this.timeInfo=null,this.title=null,this.sublayerTitleMode="item-title",this.type="feature",this.typeIdField=null,this.types=null,this.visible=!0,this._debouncedSaveOperations=(0,f.sg)(async(e,t,r)=>{const{save:s,saveAs:n}=await i.e(3359).then(i.bind(i,33359));switch(e){case 0:return s(this,t);case 1:return n(this,r,t)}})}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;if(this.portalItem?.loaded&&this.source)return this.addResolvingPromise(this.createGraphicsSource(t).then(e=>this.initLayerProperties(e))),Promise.resolve(this);const i=this.loadFromPortal({supportedTypes:["Feature Service","Feature Collection","Scene Service"]},e).catch(f.QP).then(async()=>{if(this.url&&null==this.layerId&&/FeatureServer|MapServer\/*$/i.test(this.url)){const e=await this._fetchFirstValidLayerId(t);null!=e&&(this.layerId=e)}if(!this.url&&!this._hasMemorySource())throw new l.A("feature-layer:missing-url-or-source","Feature layer must be created with either a url or a source");return this.initLayerProperties(await this.createGraphicsSource(t))}).then(()=>(0,ye.VA)(this,"load",e));return this.addResolvingPromise(i),Promise.resolve(this)}reload(){return this._debounceReload()}get _titleCreator(){const e=this._get("_titleCreator");return(0,c.pR)(e),new _e.A({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,fields:this.fields,displayField:this.displayField,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}readCapabilities(e,t){return t=t.layerDefinition||t,(0,Ce.S$)(t,this.url)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("dynamicDataSource"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return!(this.loaded&&!this.capabilities?.operations.supportsEditing)&&(this._isOverridden("editingEnabled")?this._get("editingEnabled"):this._hasMemorySource()||this.userHasEditingPrivileges)}set editingEnabled(e){this._overrideIfSome("editingEnabled",e)}readEditingEnabled(e,t){return this._readEditingEnabled(t,!1)}readEditingEnabledFromWebMap(e,t,i){return this._readEditingEnabled(t,!0,i)}writeEditingEnabled(e,t){this._writeEditingEnabled(e,t,!1)}writeEditingEnabledToWebMap(e,t,i,r){this._writeEditingEnabled(e,t,!0,r)}get effectiveEditingEnabled(){return(0,ye.C$)(this)}get featureTitleFields(){return[...this._titleCreator.requiredFields]}set fieldConfigurations(e){if(this._hasMemorySource())return;if(this._override("fieldConfigurations",e),!this.loaded)return;const t=(0,me.sS)(this,e);t&&this._set("popupTemplate",t)}get fieldConfigurations(){if(!this._hasMemorySource())return this._isOverridden("fieldConfigurations")?this._get("fieldConfigurations"):(0,me.QX)(this)||null}readIsTable(e,t){return"Table"===(t=t?.layerDefinition??t).type||!t.geometryType}writeIsTable(e,t,i,r){r?.writeLayerSchema&&(0,h.sM)(i,e?"Table":"Feature Layer",t)}readSymbolLayerDrawing(e,t){const i=t.layerDefinition?.drawingInfo,r=i?.renderer,s=i?.symbolLayerDrawing;return r&&s?new Te(s):null}readGlobalIdField(e,t){return(0,ye.jD)(t.layerDefinition||t)}readObjectIdField(e,t){return(0,ye.Zm)(t.layerDefinition||t)}writePopupTemplate(e,t,i,r){e&&(t[i]=e.toJSON({...r,writeFieldFormat:!r?.writeLayerSchema}))}get defaultPopupTemplate(){return this.createPopupTemplate()}set renderer(e){(0,we.yp)(e,this.fieldsIndex),this._set("renderer",e)}readRenderer(e,t,i){t=t.layerDefinition||t;const r=t.drawingInfo?.renderer;if(r){const e=(0,Ee.L)(r,t,i)??void 0;return e||p.A.getLogger(this).error("Failed to create renderer",{rendererDefinition:t.drawingInfo.renderer,layer:this,context:i}),e}return(0,ye.PD)(t,i)}get source(){return this._get("source")}set source(e){e||(e=null);const t=this._get("source");t!==e&&((Array.isArray(e)||e instanceof a.A)&&(e=new $({layer:this,items:e})),Ne(t)&&this._resetMemorySource(t),Ne(e)&&this._initMemorySource(e),this._set("source",e))}readSource(e,t){const i=G.A.fromJSON(t.featureSet);return new $({layer:this,items:i?.features??[]})}readTemplates(e,t){const i=t.editFieldsInfo,r=i?.creatorField,s=i?.editorField;return e=e?.map(e=>he.A.fromJSON(e)),this._fixTemplates(e,r),this._fixTemplates(e,s),e}readTitle(e,t){const i=t.layerDefinition?.name??t.name,r=t.title||t.layerDefinition?.title;if(i){if("item-title"===this.sublayerTitleMode)return this.url?(0,pe.yG)(this.url,i):i;let e=i;if(!e&&this.url){const t=(0,pe.qg)(this.url);null!=t&&(e=t.title)}if(!e)return;const t=this.portalItem?.title;return"item-title-and-service-name"===this.sublayerTitleMode&&t&&t!==e&&(e=t+" - "+e),(0,pe.cr)(e)}if("item-title"===this.sublayerTitleMode&&r)return r}readTitleFromWebMap(e,t){return t.title||t.layerDefinition?.name}readTypeIdField(e,t){let i=(t=t.layerDefinition||t).typeIdField;if(i&&t.fields){i=i.toLowerCase();const e=t.fields.find(e=>e.name.toLowerCase()===i);e&&(i=e.name)}return i}readTypes(e,t){e=(t=t.layerDefinition||t).types;const i=t.editFieldsInfo,r=i?.creatorField,s=i?.editorField;return e?.map(e=>(e=fe.A.fromJSON(e),this._fixTemplates(e.templates,r),this._fixTemplates(e.templates,s),e))}readVisible(e,t){return null!=t.layerDefinition?.defaultVisibility?!!t.layerDefinition.defaultVisibility:null!=t.visibility?!!t.visibility:void 0}async addAttachment(e,t,i){const r=await(0,ye.Xl)(this,e,t,Ge,i);return this.lastEditsEventDate=new Date,r}async updateAttachment(e,t,i,r){const s=await(0,ye.bt)(this,e,t,i,Ge,r);return this.lastEditsEventDate=new Date,s}async applyEdits(e,t){return(0,ye.ct)(this,e,t)}async uploadAssets(e,t){return(0,ye.rn)(this,e,t)}createFieldConfigurations(){return(0,me.xY)(this)}createPopupTemplate(e){return(0,De.tn)(this,e)}async createGraphicsSource(e){const t={stack:[],error:void 0,hasError:!1};try{if(this._hasMemorySource()&&this.source)return this.source.load({signal:e});const{default:s}=await(0,f.qr)(Promise.all([i.e(893),i.e(7013)]).then(i.bind(i,65515)),e),n=new s({layer:this,supportedSourceTypes:this.supportedSourceTypes});return(0,r.mS)(t,(0,d.Bf)((0,f.u7)(e,()=>n.cancelLoad())??(0,d.hA)()),!1),await n.load({signal:e}),n}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}createQuery(){const e=(0,ye.VZ)(this);e.dynamicDataSource=this.dynamicDataSource;const t=null!=this.subtypeCode?`${this.subtypeField} = ${this.subtypeCode}`:null,i=(0,g.mA)(this.definitionExpression,t);return e.where=i||"1=1",e}async deleteAttachments(e,t,i){const r=await(0,ye.mm)(this,e,t,Ge,i);return this.lastEditsEventDate=new Date,r}async fetchRecomputedExtents(e){return(0,ye.WP)(this,e,Ge)}async getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}async getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getFeatureType(e){return(0,ye.xd)(this.types,this.typeIdField,e)}getFieldAlias(e){const t=this.getField(e);if(t)return this.getFieldConfiguration(t.name)?.alias||t.alias}getFieldConfiguration(e){return e=e.toLowerCase(),this.fieldConfigurations?.find(t=>t.name.toLowerCase()===e)}getFieldDomain(e,t){return(0,ye.Vq)(this,e,t,this.getField(e)?.domain??null)}async queryAttachments(e,t){return(0,ye.lV)(this,e,t,Ge)}async queryFeatures(e,t){const i=await this.load(),r=await i.source.queryFeatures(Oe.A.from(e)??i.createQuery(),t),s=this.graphicOrigin;if(r?.features)for(const e of r.features)e.layer=e.sourceLayer=i,e.origin=s;return r}async queryObjectIds(e,t){return await(0,ye.sg)(this,e,t,Ge)}async queryFeatureCount(e,t){return(0,ye.Ye)(this,e,t,Ge)}async queryExtent(e,t){return(0,ye.B5)(this,e,t,Ge)}async queryRelatedFeatures(e,t){return(0,ye.hM)(this,e,t,Ge)}async queryRelatedFeaturesCount(e,t){return(0,ye.S2)(this,e,t,Ge)}async queryPivot(e,t){const{source:r,capabilities:s}=await this.load();if(!r.queryPivot||!s?.operations?.supportsQueryPivot)throw new l.A(Ge,"Layer source does not support queryPivot capability");const n=await i.e(9958).then(i.bind(i,29958)),o=await r.queryPivot(n.default.from(e),t),a=this.graphicOrigin;if(o?.features)for(const e of o.features)e.layer=e.sourceLayer=this,e.origin=a;return o}async queryTopFeatures(e,t){const{source:r,capabilities:s}=await this.load();if(!r.queryTopFeatures||!s?.query?.supportsTopFeaturesQuery)throw new l.A(Ge,"Layer source does not support queryTopFeatures capability");const n=await i.e(7561).then(i.bind(i,57561)),o=await r.queryTopFeatures(n.default.from(e),t),a=this.graphicOrigin;if(o?.features)for(const e of o.features)e.layer=e.sourceLayer=this,e.origin=a;return o}async queryAttributeBins(e,t){const{source:r,capabilities:s}=await this.load();if(!r.queryAttributeBins)throw new l.A(Ge,"Layer source does not support queryAttributeBins capability");(0,ye.ZJ)(e,s,Ge);const n=await i.e(4575).then(i.bind(i,14575)),o=await r.queryAttributeBins(n.default.from(e),t),a=this.graphicOrigin;if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this,e.origin=a;return o}async queryTopObjectIds(e,t){const{source:r,capabilities:s}=await this.load();if(!r.queryTopObjectIds||!s?.query.supportsTopFeaturesQuery)throw new l.A(Ge,"Layer source does not support queryTopObjectIds capability");const n=await i.e(7561).then(i.bind(i,57561));return(await r.queryTopObjectIds(n.default.from(e),t)).filter(xe.Et)}async queryTopFeaturesExtent(e,t){const{source:r,capabilities:s}=await this.load();if(!r.queryTopExtents||!s?.query?.supportsTopFeaturesQuery)throw new l.A(Ge,"Layer source does not support queryTopExtents capability");const n=await i.e(7561).then(i.bind(i,57561));return r.queryTopExtents(n.default.from(e),t)}async queryTopFeatureCount(e,t){const{source:r,capabilities:s}=await this.load();if(!r.queryTopCount||!s?.query?.supportsTopFeaturesQuery)throw new l.A(Ge,"Layer source does not support queryFeatureCount capability");const n=await i.e(7561).then(i.bind(i,57561));return r.queryTopCount(n.default.from(e),t)}read(e,t){const i=e.featureCollection;if((i||"Feature Collection"===e.type)&&(this.resourceInfo=e),i){const{layers:e,showLegend:r}=i;1===e?.length&&(super.read(e[0],t),null!=r&&super.read({showLegend:r},t))}super.read(e,t),"service"===t?.origin&&(["objectIdField","fields","timeInfo","dateFieldsTimeZone","uniqueIdFields"].forEach(e=>this.revertToOrigin(e,"service")),this.spatialReference||this.revertToOrigin("spatialReference","service"))}write(e,t){t={...t,origin:t?.origin??void 0,writeLayerSchema:t?.writeLayerSchema??this._hasMemorySource()};const{origin:i,layerContainerType:r}=t;if(this.dynamicDataSource)return(0,Pe.U4)(t,this,"a dynamic data source cannot be written to web scenes, web maps and feature service items"),null;if(this.isTable){if(("web-map"===i||"web-scene"===i)&&"tables"!==r)return(0,Pe.U4)(t,this,"a table source can only be written to tables"),null;if(this._hasMemorySource())return(0,Pe.U4)(t,this,"an in-memory table source cannot be written to web scenes and web maps"),null}else if(this.loaded&&("web-map"===i||"web-scene"===i)&&"tables"===r)return(0,Pe.U4)(t,this,"a non-table source cannot be written to tables in web maps or web scenes"),null;return super.write(e,t)}clone(){if(this._hasMemorySource())throw new l.A(Ge,`FeatureLayer (title: ${this.title}, id: ${this.id}) created using in-memory source cannot be cloned`);return super.clone()}serviceSupportsSpatialReference(e){return!!this.loaded&&("memory"===this.source?.type||(0,Se.D)(this,e))}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}_readEditingEnabled(e,t,i){let r=e.layerDefinition?.capabilities;return r?this._hasEditingCapability(r):(r=e.capabilities,t&&"web-map"===i?.origin&&!this._hasMemorySource()&&r?this._hasEditingCapability(r):void 0)}_hasEditingCapability(e){return e.toLowerCase().split(",").map(e=>e.trim()).includes("editing")}_writeEditingEnabled(e,t,i,r){if(!e){const e=this.capabilities?.operations?.supportsSync?"Query,Sync":"Query";(0,h.sM)("layerDefinition.capabilities",e,t),i&&!r?.writeLayerSchema&&(t.capabilities=e)}}_fetchFirstValidLayerId(e){return(0,n.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(e=>{const t=e.data;if(t)return this.applyPreferredHost(t),this.findFirstValidLayerId(t)})}async initLayerProperties(e){return this._set("source",e),e.sourceJSON&&(this.sourceJSON=e.sourceJSON,this.read(e.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl})),this._verifySource(),this._verifyFields(),(0,we.yp)(this.renderer,this.fieldsIndex),(0,we.sv)(this.timeInfo,this.fieldsIndex),this._hasMemorySource()&&"mesh"===this.geometryType&&(this.capabilities.query.supportsReturnMesh=!0),(0,Ze.L)(this,{origin:"service"})}async hasDataChanged(){return(0,ye.jp)(this)}async fetchPublishingStatus(){const e=this.source;return e?.fetchPublishingStatus?e.fetchPublishingStatus():"unavailable"}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("FeatureLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||this._hasMemorySource()||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some(e=>"geometry"===e.type)||console.log("FeatureLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_fixTemplates(e,t){e&&e.forEach(e=>{const i=e.prototype?.attributes;i&&t&&delete i[t]})}_verifySource(){if(this._hasMemorySource()){if(this.url)throw new l.A("feature-layer:mixed-source-and-url","FeatureLayer cannot be created with both an in-memory source and a url")}else if(!this.url)throw new l.A("feature-layer:source-or-url-required","FeatureLayer requires either a url, a valid portal item or a source")}_initMemorySource(e){e.forEach(e=>{e.layer=this,e.sourceLayer=this}),this.addHandles([e.on("after-add",e=>{e.item.layer=this,e.item.sourceLayer=this}),e.on("after-remove",e=>{e.item.layer=null,e.item.sourceLayer=null})],"fl-source")}_resetMemorySource(e){e.forEach(e=>{e.layer=null,e.sourceLayer=null}),this.removeHandles("fl-source")}_hasMemorySource(){return!(this.url||!this.source)}findFirstValidLayerId(e){const t=[...e.layers||[],...e.tables||[]];return t.find(({type:e})=>!e||this.supportedSourceTypes.has(e))?.id}};(0,r.Cg)([(0,m.MZ)({clonable:!1,readOnly:!0})],Je.prototype,"_titleCreator",null),(0,r.Cg)([(0,m.MZ)(ce.zQ)],Je.prototype,"attributeTableTemplate",void 0),(0,r.Cg)([(0,ke.w)("service","capabilities")],Je.prototype,"readCapabilities",null),(0,r.Cg)([(0,m.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],Je.prototype,"charts",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],Je.prototype,"createQueryVersion",null),(0,r.Cg)([(0,m.MZ)({json:{read:{source:"layerDefinition.copyrightText"}}})],Je.prototype,"copyright",void 0),(0,r.Cg)([(0,m.MZ)({json:{read:{source:"layerDefinition.displayField"}}})],Je.prototype,"displayField",void 0),(0,r.Cg)([(0,m.MZ)({types:qe.Es,readOnly:!0})],Je.prototype,"defaultSymbol",void 0),(0,r.Cg)([(0,m.MZ)({type:Ae.A})],Je.prototype,"dynamicDataSource",void 0),(0,r.Cg)([(0,m.MZ)({type:Boolean})],Je.prototype,"editingEnabled",null),(0,r.Cg)([(0,ke.w)(["portal-item","web-scene"],"editingEnabled",["layerDefinition.capabilities"])],Je.prototype,"readEditingEnabled",null),(0,r.Cg)([(0,ke.w)("web-map","editingEnabled",["capabilities","layerDefinition.capabilities"])],Je.prototype,"readEditingEnabledFromWebMap",null),(0,r.Cg)([(0,Re.K)(["portal-item","web-scene"],"editingEnabled",{"layerDefinition.capabilities":{type:String}})],Je.prototype,"writeEditingEnabled",null),(0,r.Cg)([(0,Re.K)("web-map","editingEnabled",{capabilities:{type:String},"layerDefinition.capabilities":{type:String}})],Je.prototype,"writeEditingEnabledToWebMap",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],Je.prototype,"effectiveEditingEnabled",null),(0,r.Cg)([(0,m.MZ)({clonable:!1,readOnly:!0})],Je.prototype,"featureTitleFields",null),(0,r.Cg)([(0,m.MZ)({type:[ge.A],json:{name:"layerDefinition.fieldConfigurations",write:{overridePolicy(e,t,i){return{enabled:!i?.writeLayerSchema,ignoreOrigin:1===this.originIdOf(t)}}}}})],Je.prototype,"fieldConfigurations",null),(0,r.Cg)([(0,m.MZ)({...Ue.fields,json:{read:{source:"layerDefinition.fields"},origins:{service:{name:"fields"},"web-map":{write:{target:"layerDefinition.fields",overridePolicy:$e}}}}})],Je.prototype,"fields",void 0),(0,r.Cg)([(0,m.MZ)(Ue.fieldsIndex)],Je.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,m.MZ)({type:w.A,json:{name:"formInfo",write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],Je.prototype,"formTemplate",void 0),(0,r.Cg)([(0,m.MZ)({json:{read:{source:"layerDefinition.extent"}}})],Je.prototype,"fullExtent",void 0),(0,r.Cg)([(0,m.MZ)({json:{origins:{"web-map":{write:{target:"layerDefinition.geometryType",overridePolicy:$e,writer(e,t,i){const r=e?ye.iX.toJSON(e):null;r&&(0,h.sM)(i,r,t)}}}},read:{source:"layerDefinition.geometryType",reader:ye.iX.read}}})],Je.prototype,"geometryType",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0,clonable:!1})],Je.prototype,"graphicOrigin",void 0),(0,r.Cg)([(0,m.MZ)({json:{read:{source:"layerDefinition.hasM"}}})],Je.prototype,"hasM",void 0),(0,r.Cg)([(0,m.MZ)({json:{read:{source:"layerDefinition.hasZ"}}})],Je.prototype,"hasZ",void 0),(0,r.Cg)([(0,m.MZ)(ce.id)],Je.prototype,"id",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],Je.prototype,"infoFor3D",void 0),(0,r.Cg)([(0,m.MZ)({json:{origins:{"web-map":{write:{target:"layerDefinition.type"}}}}})],Je.prototype,"isTable",void 0),(0,r.Cg)([(0,ke.w)("service","isTable",["type","geometryType"]),(0,ke.w)("isTable",["layerDefinition.type","layerDefinition.geometryType"])],Je.prototype,"readIsTable",null),(0,r.Cg)([(0,Re.K)("web-map","isTable")],Je.prototype,"writeIsTable",null),(0,r.Cg)([(0,m.MZ)(ce.kF)],Je.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,m.MZ)({type:[ve.A],json:{origins:{service:{name:"drawingInfo.labelingInfo",read:Fe.w,write:!1}},name:"layerDefinition.drawingInfo.labelingInfo",read:Fe.w,write:{layerContainerTypes:b.K}}})],Je.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,m.MZ)({type:Te,json:{name:"layerDefinition.drawingInfo.symbolLayerDrawing",write:!0,origins:{"web-scene":{write:!1}}}})],Je.prototype,"symbolLayerDrawing",void 0),(0,r.Cg)([(0,ke.w)(["portal-item","web-map"],"symbolLayerDrawing",["layerDefinition.drawingInfo.renderer","layerDefinition.drawingInfo.symbolLayerDrawing"])],Je.prototype,"readSymbolLayerDrawing",null),(0,r.Cg)([(0,m.MZ)((()=>{const e=(0,u.o8)(ce.Ih);return e.json.origins["portal-item"]={write:{target:"layerDefinition.drawingInfo.transparency",writer(e,t,i){(0,h.sM)(i,(0,Le.p)(e),t)}}},e})())],Je.prototype,"opacity",void 0),(0,r.Cg)([(0,m.MZ)(ce.fV)],Je.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:["show","hide"],json:(()=>{const e=(0,u.o8)(ce.C1.json);return e.origins["portal-item"]={read:!1,write:!1},e})()})],Je.prototype,"listMode",void 0),(0,r.Cg)([(0,ke.w)("globalIdField",["layerDefinition.globalIdField","layerDefinition.fields"])],Je.prototype,"readGlobalIdField",null),(0,r.Cg)([(0,m.MZ)({json:{origins:{"web-map":{write:{target:"layerDefinition.objectIdField",overridePolicy:$e}}}}})],Je.prototype,"objectIdField",void 0),(0,r.Cg)([(0,ke.w)("objectIdField",["layerDefinition.objectIdField","layerDefinition.fields"])],Je.prototype,"readObjectIdField",null),(0,r.Cg)([(0,m.MZ)({type:["ArcGISFeatureLayer"],json:{write:{target:"layerType",ignoreOrigin:!0,layerContainerTypes:b.K}}})],Je.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,m.MZ)(Ue.outFields)],Je.prototype,"outFields",void 0),(0,r.Cg)([(0,m.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],Je.prototype,"path",void 0),(0,r.Cg)([(0,m.MZ)(ce.M6)],Je.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,m.MZ)({type:s.A,json:{name:"popupInfo",write:!0}})],Je.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,Re.K)("popupTemplate")],Je.prototype,"writePopupTemplate",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],Je.prototype,"defaultPopupTemplate",null),(0,r.Cg)([(0,m.MZ)({readOnly:!0})],Je.prototype,"reloading",void 0),(0,r.Cg)([(0,m.MZ)({types:je.Hg,json:{origins:{service:{write:{target:"drawingInfo.renderer",enabled:!1}},"web-scene":{types:je.XJ,name:"layerDefinition.drawingInfo.renderer",write:{layerContainerTypes:b.K,overridePolicy:(e,t,i)=>({ignoreOrigin:i?.writeLayerSchema,layerContainerTypes:b.K})}}},write:{target:"layerDefinition.drawingInfo.renderer",overridePolicy:(e,t,i)=>({ignoreOrigin:i?.writeLayerSchema,layerContainerTypes:b.K})}}})],Je.prototype,"renderer",null),(0,r.Cg)([(0,ke.w)("service","renderer",["drawingInfo.renderer","defaultSymbol"]),(0,ke.w)("renderer",["layerDefinition.drawingInfo.renderer","layerDefinition.defaultSymbol"])],Je.prototype,"readRenderer",null),(0,r.Cg)([(0,m.MZ)()],Je.prototype,"resourceInfo",void 0),(0,r.Cg)([(0,m.MZ)((()=>{const e=(0,u.o8)(ce.PY);return e.json.origins["portal-item"]={read:!1,write:!1},e})())],Je.prototype,"screenSizePerspectiveEnabled",void 0),(0,r.Cg)([(0,m.MZ)({clonable:!1})],Je.prototype,"source",null),(0,r.Cg)([(0,ke.w)("portal-item","source",["featureSet"]),(0,ke.w)("web-map","source",["featureSet"])],Je.prototype,"readSource",null),(0,r.Cg)([(0,m.MZ)({json:{read:{source:"layerDefinition.extent.spatialReference"}}})],Je.prototype,"spatialReference",void 0),(0,r.Cg)([(0,m.MZ)({type:Number})],Je.prototype,"subtypeCode",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!1})],Je.prototype,"subtypeField",void 0),(0,r.Cg)([(0,m.MZ)({readOnly:!1})],Je.prototype,"subtypes",void 0),(0,r.Cg)([(0,m.MZ)({type:[he.A]})],Je.prototype,"templates",void 0),(0,r.Cg)([(0,ke.w)("templates",["editFieldsInfo","creatorField","editorField","templates"])],Je.prototype,"readTemplates",null),(0,r.Cg)([(0,m.MZ)({type:Me.A})],Je.prototype,"timeInfo",void 0),(0,r.Cg)([(0,m.MZ)()],Je.prototype,"title",void 0),(0,r.Cg)([(0,ke.w)("service","title",["name"]),(0,ke.w)("portal-item","title",["layerDefinition.title","layerDefinition.name","title"])],Je.prototype,"readTitle",null),(0,r.Cg)([(0,ke.w)("web-map","title",["layerDefinition.name","title"])],Je.prototype,"readTitleFromWebMap",null),(0,r.Cg)([(0,m.MZ)({type:String})],Je.prototype,"sublayerTitleMode",void 0),(0,r.Cg)([(0,m.MZ)({json:{read:!1}})],Je.prototype,"type",void 0),(0,r.Cg)([(0,m.MZ)({type:String})],Je.prototype,"typeIdField",void 0),(0,r.Cg)([(0,ke.w)("service","typeIdField"),(0,ke.w)("typeIdField",["layerDefinition.typeIdField"])],Je.prototype,"readTypeIdField",null),(0,r.Cg)([(0,m.MZ)({type:[fe.A]})],Je.prototype,"types",void 0),(0,r.Cg)([(0,ke.w)("service","types",["types"]),(0,ke.w)("types",["layerDefinition.types"])],Je.prototype,"readTypes",null),(0,r.Cg)([(0,m.MZ)({type:Boolean,json:{origins:{"portal-item":{write:{target:"layerDefinition.defaultVisibility",layerContainerTypes:b.K}}}}})],Je.prototype,"visible",void 0),(0,r.Cg)([(0,ke.w)("portal-item","visible",["visibility","layerDefinition.defaultVisibility"])],Je.prototype,"readVisible",null),Je=(0,r.Cg)([(0,m.$K)("esri.layers.FeatureLayer")],Je)},90735(e,t,i){i.d(t,{z:()=>c});var r=i(32198),s=i(91429),n=i(89317),o=i(69540),a=i(25482);let l=class extends((0,o.OU)(a.o)){constructor(e){super(e),this.fieldName=null,this.timeValue=null}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"fieldName",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"timeValue",void 0),l=(0,r.Cg)([(0,s.$K)("esri.layers.support.TimeSeriesFieldTimeMapping")],l);const d=l;var u=i(79677);let p=class extends((0,o.OU)(a.o)){constructor(e){super(e),this.name=null,this.fieldTimeMappings=null,this.timeExtent=null,this.timeInterval=null,this.timeIntervalUnits=null,this.timeValueUnits=null,this.title=null,this.type="time-series-fields"}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({type:[d],json:{write:{isRequired:!0}}})],p.prototype,"fieldTimeMappings",void 0),(0,r.Cg)([(0,s.MZ)({type:u.A,json:{write:!0}})],p.prototype,"timeExtent",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{isRequired:!0}}})],p.prototype,"timeInterval",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"timeIntervalUnits",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"timeValueUnits",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),(0,r.Cg)([(0,s.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),p=(0,r.Cg)([(0,s.$K)("esri.layers.support.TimeSeriesInfo")],p);const c=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.dataSeriesInfos=null}};return(0,r.Cg)([(0,s.MZ)({type:[p],json:{read:{source:["layerDefinition.dataSeriesInfos","dataSeriesInfos"],reader:(e,t,i)=>{const r=t?.layerDefinition?.dataSeriesInfos??t.dataSeriesInfos;return r?.filter(e=>"time-series-fields"===e.type).map(e=>p.fromJSON(e,i))}},write:{target:"layerDefinition.dataSeriesInfos",enabled:!0,allowNull:!0,layerContainerTypes:n.K},origins:{"web-scene":{write:!1,read:!1}}}})],i.prototype,"dataSeriesInfos",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.DataSeriesLayer")],i),i}},47685(e,t,i){i.d(t,{Mk:()=>y,Zk:()=>p});var r=i(32198),s=i(65529),n=i(4718),o=i(91429),a=i(20816);const l=new s.bk;function d(e){return l.on("apply-edits",new WeakRef(e))}function u(e){return l.on("update-moment",new WeakRef(e))}function p(e,t,i=null,r=!1){const s=Promise.withResolvers();return r=null==t||r,l.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:i,mayReceiveServiceEdits:r,result:s.promise}),s}const c=Symbol();function y(e){return null!=e&&"object"==typeof e&&c in e}function h(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function f(e,t,i){const r=new URL(e).host,s=a.Z3.get(r),n=e=>!e||e===s;return n(t)&&n(i)||t===i}i.d(t,["w6",0,e=>{var t;const i=e;let s=class extends i{static{t=c}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:i,gdbVersion:r,mayReceiveServiceEdits:s,result:o}=e,a=t===this.url,l=null!=i&&null!=this.layerId&&i===this.layerId,d=null!=i&&this.relationships?.some(e=>e.relatedTableId===i),u=h(this),p=h(this)&&f(t,r,this.gdbVersion);if(!a||u&&!p||!l&&!d&&!s)return;const c=o.then(e=>{if(this.lastEditsEventDate=new Date,l&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,n.o8)(e)),e;const i=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(i){const{adds:t,updates:r,deletes:s}=i.editedFeatures,o={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:s?s.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:r?r.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,n.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,n.o8)(e.historicMoment)};return this.emit("edits",o),o}const s={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,n.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,n.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,s.historicMoment)&&this.emit("edits",s),s}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));c.catch(()=>{}),this.emit("apply-edits",{result:c})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:i,moment:r}=e,s=t===this.url,n=h(this),o=h(this)&&f(t,i,this.gdbVersion),a=h(this)&&!f(t,this.gdbVersion,null);s&&n&&o&&a&&"historicMoment"in this&&this.historicMoment!==r&&(this.historicMoment=r)},this.when().then(()=>{this.addHandles(d(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(u(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,i){return"historicMoment"in this&&this.historicMoment!==i&&(0,a.w5)(e,t)}};return(0,r.Cg)([(0,o.MZ)()],s.prototype,"lastEditsEventDate",void 0),s=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.EditBusLayer")],s),s}])},63396(e,t,i){i.d(t,{d:()=>C});var r=i(32198),s=i(91429),n=i(60950),o=i(99959);class a extends o.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[n.ym](){return this.trackInfoProvider.trackInfo}}var l=i(37838),d=i(69540),u=i(25482),p=i(93637),c=i(50820),y=i(10873),h=i(46499),f=i(41214);let g=class extends((0,d.OU)(u.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,r.Cg)([(0,s.MZ)({type:[h.A],json:{write:!0}})],g.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,s.MZ)(y.kF)],g.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,s.MZ)({types:f.Hg,json:{write:!0}})],g.prototype,"renderer",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"visible",void 0),g=(0,r.Cg)([(0,s.$K)("esri.layers.support.TrackPartInfo")],g);var m=i(96576),b=i(59868),w=i(10184),v=i(43937);let F=class extends((0,d.OU)(u.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new g({renderer:new m.A({symbol:b.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new g({renderer:new m.A({symbol:b.UK.clone()})}),this.trackLines=new g({renderer:new m.A({symbol:b.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,i){const r=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,p.sM)(i,r,t)}};(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"enabled",void 0),(0,r.Cg)([(0,s.MZ)({type:[c.A],json:{write:!0}})],F.prototype,"fields",void 0),(0,r.Cg)([(0,v.K)("fields")],F.prototype,"writeFields",null),(0,r.Cg)([(0,s.MZ)({type:g,json:{write:!0}})],F.prototype,"latestObservations",void 0),(0,r.Cg)([(0,s.MZ)({type:w.A,json:{write:!0}})],F.prototype,"maxDisplayDuration",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],F.prototype,"maxDisplayObservationsPerTrack",void 0),(0,r.Cg)([(0,s.MZ)(y.M6)],F.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{name:"popupInfo",write:!0}})],F.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,s.MZ)({type:g,json:{write:!0}})],F.prototype,"previousObservations",void 0),(0,r.Cg)([(0,s.MZ)({type:g,json:{write:!0}})],F.prototype,"trackLines",void 0),(0,r.Cg)([(0,s.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],F.prototype,"timeField",void 0),F=(0,r.Cg)([(0,s.$K)("esri.layers.support.TrackInfo")],F);const C=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,r.Cg)([(0,s.MZ)({readOnly:!0,clonable:!1})],i.prototype,"trackGraphicOrigin",void 0),(0,r.Cg)([(0,s.MZ)({type:F})],i.prototype,"trackInfo",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.TrackableLayer")],i),i}},17311(e,t,i){i.d(t,{A:()=>y});var r=i(32198),s=i(69622),n=i(4576),o=i(60999),a=i(7762),l=i(16494),d=i(91429),u=i(30524),p=i(43668);const c=/<br\s*\/*>/gi;let y=class extends s.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,o.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([i.e(3281),i.e(9301)]).then(i.bind(i,99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const i=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(i.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:i,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(i,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const i=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of i){const i=t.split("."),r=this.fieldsIndex.get(i.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const i of t){const t=this.fieldsIndex.get(i);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,i){const r=t.getObjectId()??t.attributes?.[e.objectIdField];return(await this.getTitles(e,[t],i)).get(r)??""}async getTitles(e,t,i){const r=new Map,s=i?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:n}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);i?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:o,workingTitle:a}=this,d=a&&o;t.forEach(t=>{const u=t.getObjectId()??t.attributes[e.objectIdField];let p=d?n({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,s).global,layer:e,text:a}):"";i?.removeHTML&&(p=l.Nd.sanitize(p).replaceAll(c," ")),r.set(u,p)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const i=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(n.Ru);if(i.length!==t.length)return t;if(t.some(e=>!(0,u.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=i;const s=await e.queryFeatures(r);if(s?.features.length===t.length)return s.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const i of e){if(!i.fieldName)continue;const e=this.fieldsIndex.get(i.fieldName),r=e?.name??i.fieldName;i.fieldName=r,t.set(r.toLowerCase(),i)}return t}_createFormattedAttributes(e,t,i="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],s={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const i=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{s[`expression/${e.name}`]=e.func({vars:{$feature:i}})}catch{}}const n={...t.attributes,...s};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:n,graphic:t,timeZone:i,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,u.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,d.MZ)({readOnly:!0})],y.prototype,"_arcadeTask",null),(0,r.Cg)([(0,d.MZ)()],y.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],y.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],y.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,d.MZ)()],y.prototype,"displayField",void 0),(0,r.Cg)([(0,d.MZ)()],y.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,d.MZ)()],y.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,d.MZ)()],y.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,d.MZ)()],y.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,d.MZ)()],y.prototype,"fields",void 0),(0,r.Cg)([(0,d.MZ)()],y.prototype,"objectIdField",void 0),(0,r.Cg)([(0,d.MZ)()],y.prototype,"requiredFields",null),y=(0,r.Cg)([(0,d.$K)("esri.layers.support.TitleCreator")],y)},8947(e,t,i){i.d(t,{L:()=>o});var r=i(60999),s=i(17676),n=i(67076);async function o(e,t,i){const o=e&&e.getAtOrigin&&e.getAtOrigin("renderer",t.origin);if(o&&"unique-value"===o.type&&o.styleOrigin){const a=await(0,r.Ke)(o.populateFromStyle());if((0,s.Te)(i),!1===a.ok){const i=a.error;t?.messages&&t.messages.push(new n.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${i.message}`,{error:i,context:t})),e.clear("renderer",t?.origin)}}}},96520(e,t,i){i.d(t,{u:()=>l});var r=i(86211),s=i(21325),n=i(52006);function o(e,t,i){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=i)}function a(e,t,i){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e){const e=(0,n.yP)(t);e.length>2&&(e[2]*=i)}}function l(e,t,i){if(!e&&!t||!i)return;const s=(0,r.G9)(i);d(e,i,s),d(t,i,s)}function d(e,t,i){if(e)for(const r of e)u(r.geometry,t,i)}function u(e,t,i){if(!e?.spatialReference||(0,s.aI)(e.spatialReference,t))return;const n=(0,r.G9)(e.spatialReference)/i;if(1!==n)if("x"in e)null!=e.z&&(e.z*=n);else if("curveRings"in e)a(e,e.curveRings,n);else if("curvePaths"in e)a(e,e.curvePaths,n);else if("rings"in e)o(e,e.rings,n);else if("paths"in e)o(e,e.paths,n);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=n)}},20816(e,t,i){i.d(t,{We:()=>a,ZJ:()=>l,w5:()=>d});var r=i(11254);const s=(0,i(13069).vD)(),n=new Map,o=new Map;async function a(e,t,i){if(!e||!i)return!1;if(!t)return!0;const s=new URL(e).host;let o=n.get(s);if(!o){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");o=(await(0,r.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return o===t}async function l(e,t,r=!1){if(!e||!t)return!0;const n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=o.get(n)?.entries();if(a)for(const[e,o]of a)if(o.name===t){const t=!o.stack?.hasForwardEdits();if(!t&&r){const[{deleteForwardEdits:t},{default:r}]=await Promise.all([i.e(2186).then(i.bind(i,32186)),i.e(2558).then(i.bind(i,32558))]),a=await t(n,e,new r({sessionId:s,moment:o.moment}));return a.success&&o.stack?.clearForwardEdits(),a.success}return t}return!0}function d(e,t){if(!e)return!1;const i=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),r=o.get(i)?.entries();if(r)for(const[e,i]of r)if(i.name===t)return"edit"===i.lockType;return!1}new Map,i.d(t,["TA",0,s,"Z3",0,n])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9716],{29716(e,n,t){t.d(n,{execute:()=>s,f:()=>c,load:()=>r,s:()=>l});var i=t(83290);let u;function l(){return!!u&&(0,i.i)()}async function r(){if(!l()){const[e,n]=await Promise.all([Promise.all([t.e(9187),t.e(8885),t.e(9117),t.e(2024),t.e(3394)]).then(t.bind(t,12764)),Promise.all([t.e(9187),t.e(8885),t.e(9117),t.e(8344)]).then(t.bind(t,15756)).then(({injectPe:e})=>e),(0,i.l)()]);u=new e.OperatorGeodeticDistance,n(i.p)}}function s(e,n,t,i){return u.execute(e,n,t,i,null)}function c(){return u.supportsCurves()}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1214],{86162(e,t,s){s.d(t,{A:()=>_});var i,r=s(32198),o=s(66552),n=s(4718),l=s(53966),a=s(91429),u=s(56507),p=s(30524),y=s(92438),c=s(63988),d=s(88542),h=s(49849),g=s(20061),m=s(80911),f=s(43668),b=s(33910),v=s(36005),x=s(43937),w=s(93223);const C="percent-of-total",S="field",I=new o.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:C,esriNormalizeByField:S}),M=(0,u.dp)(d.A);let _=i=class extends((0,c.h)(y.A)){constructor(e){super(e),this._compiledValueExpression={valueExpression:null,compiledFunction:null},this.backgroundFillSymbol=null,this.classBreakInfos=null,this.defaultLabel=null,this.defaultSymbol=null,this.field=null,this.isMaxInclusive=!0,this.legendOptions=null,this.normalizationField=null,this.normalizationTotal=null,this.type="class-breaks",this.valueExpression=null,this.valueExpressionTitle=null,this._set("classBreakInfos",[])}readClassBreakInfos(e,t,s){if(!Array.isArray(e))return;let i=t.minValue;return e.map(e=>{const t=new d.A;return t.read(e,s),null==t.minValue&&(t.minValue=i),null==t.maxValue&&(t.maxValue=t.minValue),i=t.maxValue,t})}writeClassBreakInfos(e,t,s,i){const r=e.map(e=>e.write({},i));this._areClassBreaksConsecutive()&&r.forEach(e=>delete e.classMinValue),t[s]=r}castField(e){return null==e?e:"function"==typeof e?(l.A.getLogger(this).error(".field: field must be a string value"),null):(0,u.GX)(e)}get minValue(){return this.classBreakInfos&&this.classBreakInfos[0]&&this.classBreakInfos[0].minValue||0}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,s=null!=this.normalizationTotal;return t||s?(e=t&&S||s&&C||null,t&&s&&l.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==S&&e!==C||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}addClassBreakInfo(e,t,s){let i=null;i="number"==typeof e?new d.A({minValue:e,maxValue:t,symbol:(0,b.dp)(s)}):M((0,n.o8)(e)),this.classBreakInfos.push(i),1===this.classBreakInfos.length&&this.notifyChange("minValue")}removeClassBreakInfo(e,t){const s=this.classBreakInfos.length;for(let i=0;i<s;i++){const s=[this.classBreakInfos[i].minValue,this.classBreakInfos[i].maxValue];if(s[0]===e&&s[1]===t){this.classBreakInfos.splice(i,1);break}}}getBreakIndex(e,t){return this.valueExpression&&null==t?.arcade&&l.A.getLogger(this).warn(""),this.valueExpression?this._getBreakIndexForExpression(e,t):this._getBreakIndexForField(e)}async getClassBreakInfo(e,t){let s=t;this.valueExpression&&null==t?.arcade&&(s={...s,arcade:await(0,f.l)()});const i=this.getBreakIndex(e,s);return-1!==i?this.classBreakInfos[i]:null}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void l.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const s=this.getBreakIndex(e,t);return-1===s?this.defaultSymbol:(0,m.c)(this.classBreakInfos[s],t?.scale)??this.defaultSymbol}async getSymbolAsync(e,t){let s=t;if(this.valueExpression&&null==t?.arcade){const e=await(0,f.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),s={...s,arcade:e}}const i=this.getBreakIndex(e,s);return-1===i?this.defaultSymbol:(0,m.c)(this.classBreakInfos[i],s?.scale)??this.defaultSymbol}get symbols(){const e=[];return this.classBreakInfos.forEach(t=>{t.symbol&&e.push(t.symbol),e.push(...t.alternateSymbols??[])}),this.defaultSymbol&&e.push(this.defaultSymbol),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}clone(){return new i({field:this.field,backgroundFillSymbol:this.backgroundFillSymbol?.clone(),defaultLabel:this.defaultLabel,defaultSymbol:this.defaultSymbol?.clone(),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,classBreakInfos:(0,n.o8)(this.classBreakInfos),isMaxInclusive:this.isMaxInclusive,normalizationField:this.normalizationField,normalizationTotal:this.normalizationTotal,normalizationType:this.normalizationType,visualVariables:(0,n.o8)(this.visualVariables),legendOptions:(0,n.o8)(this.legendOptions),authoringInfo:(0,n.o8)(this.authoringInfo)})}async collectRequiredFields(e,t){const s=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(s)}async collectSymbolFields(e,t){const s=[...this.symbols.map(s=>s.collectRequiredFields(e,t)),(0,p.Dx)(e,t,null,this.valueExpression)];(0,p.rq)(e,t,this.field),(0,p.rq)(e,t,this.normalizationField),await Promise.all(s)}_getBreakIndexForExpression(e,t){const{viewingMode:s,scale:i,spatialReference:r,arcade:o,timeZone:n}=t??{},{valueExpression:l}=this;let a=this._compiledValueExpression.valueExpression===l?this._compiledValueExpression.compiledFunction:null;const u=o.arcadeUtils;if(!a){const e=u.createSyntaxTree(l);a=u.createFunction(e),this._compiledValueExpression.compiledFunction=a}this._compiledValueExpression.valueExpression=l;const p=u.executeFunction(a,u.createExecContext(e,u.getViewInfo({viewingMode:s,scale:i,spatialReference:r}),n));return this._getBreakIndexfromInfos(p)}_getBreakIndexForField(e){const t=this.field,s=e.attributes,i=this.normalizationType;let r=parseFloat(s[t]);if(i){const e=this.normalizationTotal,t=parseFloat(this.normalizationField?s[this.normalizationField]:void 0);if("log"===i)r=Math.log(r)*Math.LOG10E;else if(i!==C||null==e||isNaN(e)){if(i===S&&!isNaN(t)){if(isNaN(r)||isNaN(t))return-1;r/=t}}else r=r/e*100}return this._getBreakIndexfromInfos(r)}_getBreakIndexfromInfos(e){const t=this.isMaxInclusive;if(null!=e&&"number"==typeof e&&!isNaN(e))for(let s=0;s<this.classBreakInfos.length;s++){const i=[this.classBreakInfos[s].minValue,this.classBreakInfos[s].maxValue];if(i[0]<=e&&(t?e<=i[1]:e<i[1]))return s}return-1}_areClassBreaksConsecutive(){const e=this.classBreakInfos,t=e.length;for(let s=1;s<t;s++)if(e[s-1].maxValue!==e[s].minValue)return!1;return!0}};(0,r.Cg)([(0,a.MZ)(h.As)],_.prototype,"backgroundFillSymbol",void 0),(0,r.Cg)([(0,a.MZ)({type:[d.A],json:{write:{isRequired:!0}}})],_.prototype,"classBreakInfos",void 0),(0,r.Cg)([(0,v.w)("classBreakInfos")],_.prototype,"readClassBreakInfos",null),(0,r.Cg)([(0,x.K)("classBreakInfos")],_.prototype,"writeClassBreakInfos",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"defaultLabel",void 0),(0,r.Cg)([(0,a.MZ)(h.z4)],_.prototype,"defaultSymbol",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"field",void 0),(0,r.Cg)([(0,a.wg)("field")],_.prototype,"castField",null),(0,r.Cg)([(0,a.MZ)({type:Boolean})],_.prototype,"isMaxInclusive",void 0),(0,r.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],_.prototype,"legendOptions",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,readOnly:!0,value:null,json:{read:!1,write:{overridePolicy(){return 0!==this.classBreakInfos.length&&this._areClassBreaksConsecutive()?{enabled:!0}:{enabled:!1}}}}})],_.prototype,"minValue",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.MZ)({type:I.apiValues,value:null,json:{type:I.jsonValues,read:I.read,write:I.write}})],_.prototype,"normalizationType",null),(0,r.Cg)([(0,w.e)({classBreaks:"class-breaks"})],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"valueExpression",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"valueExpressionTitle",void 0),_=i=(0,r.Cg)([(0,a.$K)("esri.renderers.ClassBreaksRenderer")],_)},88542(e,t,s){s.d(t,{A:()=>u});var i,r=s(32198),o=s(25482),n=s(91429),l=s(49849),a=s(40863);let u=i=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}get alternateSymbols(){return this._get("alternateSymbols")??null}set alternateSymbols(e){e?this._set("alternateSymbols",e.map(e=>e instanceof a.A?e:(delete e.type,new a.A(e)))):this._set("alternateSymbols",null)}clone(){return new i({alternateSymbols:this.alternateSymbols?.map(e=>e.clone()),description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?.clone()??null})}};(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],u.prototype,"minValue",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],u.prototype,"maxValue",void 0),(0,r.Cg)([(0,n.MZ)(l.Wp)],u.prototype,"symbol",void 0),(0,r.Cg)([(0,n.MZ)({type:[a.A],useTypeForAutocast:!1,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"alternateSymbols",null),u=i=(0,r.Cg)([(0,n.$K)("esri.renderers.support.ClassBreakInfo")],u)},61760(e,t,s){s.d(t,{PU:()=>o,YW:()=>l,hv:()=>n,zp:()=>r}),s(34727);var i=s(90629);function r(e){return(0,i.PN)(2.4*e)}function o(e){return(0,i.Lz)(e)/2.4}function n(e,t,s){const i=Math.sqrt(e**2+t**2)/s;return i>1?0:3/(Math.PI*s**2)*(1-i**2)**2}function l(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}s(78955),s(91829)},41214(e,t,s){s.d(t,{Hg:()=>pe,XJ:()=>ye});var i=s(53966),r=s(86162),o=s(32198),n=s(11254),l=s(4718),a=s(91429),u=s(30524),p=s(92438),y=s(63988),c=s(66344),d=s(60408),h=s(68197);class g{static parse(e,t,s){const i=[],r=[],o=e.split(";");for(let e=0;e<o.length;e++){const n=o[e];if(n){if(n.includes("po:")){const e=n.slice(3).split("|");if(3===e.length){const[t,s,i]=e,o=f(t,s,i);o&&r.push(o)}continue}if(n.includes("|")){for(const e of n.split("|"))if(t.has(e)){i.push(e);break}}else if(t.has(n))i.push(n);else if(0===e){i.length=0,i.push(b(s));break}}}return new g(i,r)}constructor(e,t){this.partNames=e,this.overrides=t}}function m(e,t){if("DashTemplate"===e)return t.split(" ").map(e=>Number(e));if("Color"===e){const e=new h.A(t).toRgba();return[e[0],e[1],e[2],255*e[3]]}return Number(t)}function f(e,t,s){return{type:"CIMPrimitiveOverride",primitiveName:e,propertyName:t,value:m(t,s),defaultValue:null}}function b(e){switch(e){case"esriGeometryPolyline":return"Invalid_L";case"esriGeometryPolygon":return"Invalid_A";default:return"Invalid_P"}}var v=s(73681),x=s(55674),w=s(40863),C=s(93397);const S={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,width:.5,color:[0,0,0,255]}]}};class I{constructor(e,t,s,i){this.url=e,this.fieldMap=s,this.dictionaryInfo=i,this._symbolPartCache=new c.q(100),this._evaluator=(async()=>v.n.from(await i,t,s))()}async getSymbolAsync(e,t,s=!0){const i=await this._evaluator,r=t?.fields??(0,x.lL)(e.attributes),o=i.createDictionaryFieldsIndex(r),n=i.evaluate(e,t?.scale??0,o,t?.spatialReference);if(null==n)return null;const l=(0,d.$B)(e.geometry),a=g.parse(n,i.itemNames,l),u="esriGeometryPoint"===l&&!e.geometry?.hasZ;return await this._cimPartsToCIMSymbol(e,a.partNames,a.overrides,u,t,s,o)}async getSymbolForControlString(e,t,s){const i=await this._evaluator,r=g.parse(e,i.itemNames,t),o="esriGeometryPoint"===t&&!s,n=M(await Promise.all(r.partNames.map(e=>this._getSymbolPart(e))),r.overrides,o);return new w.A({data:n})}async _cimPartsToCIMSymbol(e,t,i,r,o,n,a){const u=t.map(e=>this._getSymbolPart(e,o));let p=await Promise.all(u);if(n&&this.fieldMap&&p.length>0){const{OverrideHelper:t}=await s.e(3650).then(s.bind(s,23650));p=(0,l.o8)(p);for(const s of p)t.applyDictionaryTextOverrides(s,e,this.fieldMap,a,(0,C.bs)(s))}const y=M(p,i,r);return new w.A({data:y})}async _fetchSymbolPart(e,t){const s=await this.dictionaryInfo,i=(this.url+"/"+s.cimRefTemplateUrl).replaceAll(/\{itemName\}/gi,e),{data:r}=await(0,n.A)(i,{responseType:"json",query:{f:"json"},...t});return r}async _getSymbolPart(e,t){let s=this._symbolPartCache.get(e);return s||(s=this._fetchSymbolPart(e,t),this._symbolPartCache.put(e,s)),s}}function M(e,t,s){if(!e||0===e.length)return null;const i={...e[0]};if(e.length>1){i.effects=null,i.symbolLayers=[];for(const t of e){const e=t;if(null!=e.effects)for(const t of e.symbolLayers)null==t.effects?t.effects=e.effects:t.effects.unshift(...e.effects);i.symbolLayers.unshift(...e.symbolLayers)}}return s&&(i.callout=S),{type:"CIMSymbolReference",symbol:i,primitiveOverrides:t}}var _,V=s(43937);let Z=_=class extends((0,y.h)(p.A)){constructor(e){super(e),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this._styleName=null,this._styleVersion=null,this._styleSymbolFields=null,this._styleTextFields=null,this._styleConfigProperties=null,this._styleUISchema=null,this.type="dictionary"}get _loader(){const e=this.getDictionaryInfo();return e.then(e=>{this._styleName=e.dictionary_name,this._styleVersion=e.dictionary_version,this._styleConfigProperties=e.authoringInfo.configuration,this._styleSymbolFields=e.authoringInfo.symbol,this._styleTextFields=e.authoringInfo.text,this._styleUISchema=e.dictionary_ui_schema?JSON.parse(e.dictionary_ui_schema):null}),new I(this.url,this.config,this.fieldMap??{},e)}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}get styleName(){return this._styleName}get styleVersion(){return this._styleVersion}get styleSymbolFields(){return this._styleSymbolFields}get styleTextFields(){return this._styleTextFields}get styleConfigProperties(){return this._styleConfigProperties}get styleUISchema(){return this._styleUISchema}writeVisualVariables(e,t,s,i){i?.origin||super.writeVisualVariables(e,t,s,i)}clone(){return new _({config:(0,l.o8)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.o8)(this.fieldMap),url:(0,l.o8)(this.url),visualVariables:(0,l.o8)(this.visualVariables)})}async getSymbolAsync(e,t,s=!0){return this._loader.getSymbolAsync(e,t,s)}async getSymbolForControlString(e,t,s){return this._loader.getSymbolForControlString(e,t,s)}getDictionaryInfo(){return this._dictionaryInfoPromise||(this._dictionaryInfoPromise=this._fetchDictionaryInfo()),this._dictionaryInfoPromise}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,u.Dx)(e,t,null,this.scaleExpression);for(const s in this.fieldMap){const i=this.fieldMap[s];t.has(i)&&e.add(i)}}get arcadeRequired(){return!0}getSymbol(){return null}get symbols(){return[]}async _fetchDictionaryInfo(){const{data:e}=await(0,n.A)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"}});return e}};(0,o.Cg)([(0,a.MZ)({type:I})],Z.prototype,"_loader",null),(0,o.Cg)([(0,a.MZ)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],Z.prototype,"config",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:{write:!0}})],Z.prototype,"fieldMap",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],Z.prototype,"scaleExpression",void 0),(0,o.Cg)([(0,V.K)("scaleExpression")],Z.prototype,"writeData",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],Z.prototype,"scaleExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"url",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Z.prototype,"styleName",null),(0,o.Cg)([(0,a.MZ)({type:String})],Z.prototype,"styleVersion",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],Z.prototype,"styleSymbolFields",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],Z.prototype,"styleTextFields",null),(0,o.Cg)([(0,a.MZ)({type:[Object]})],Z.prototype,"styleConfigProperties",null),(0,o.Cg)([(0,a.MZ)({type:Object})],Z.prototype,"styleUISchema",null),(0,o.Cg)([(0,V.K)("visualVariables")],Z.prototype,"writeVisualVariables",null),Z=_=(0,o.Cg)([(0,a.$K)("esri.renderers.DictionaryRenderer")],Z);var k,j=s(25482),A=s(56507);let E=k=class extends j.o{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(i.A.getLogger(this).error(".field: field must be a string value"),null):(0,A.GX)(e)}clone(){return new k({color:this.color?.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[Number],write:!0}})],E.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"field",void 0),(0,o.Cg)([(0,a.wg)("field")],E.prototype,"castField",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpressionTitle",void 0),E=k=(0,o.Cg)([(0,a.$K)("esri.renderers.support.AttributeColorInfo")],E);const F=E;var B;let T=B=class extends j.o{constructor(e){super(e),this.unit=null}clone(){return new B({unit:this.unit})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"unit",void 0),T=B=(0,o.Cg)([(0,a.$K)("esri.renderers.support.DotDensityLegendOptions")],T);const N=T;var P,z=s(94985),D=s(31593),R=s(93223);let O=P=class extends((0,y.h)(p.A)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new h.A([0,0,0,0]),this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new D.A,this.dotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new z.A({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}get visualVariables(){return super.visualVariables}set visualVariables(e){super.visualVariables=e}clone(){return new P({attributes:(0,l.o8)(this.attributes),backgroundColor:(0,l.o8)(this.backgroundColor),dotBlendingEnabled:(0,l.o8)(this.dotBlendingEnabled),dotShape:(0,l.o8)(this.dotShape),dotSize:(0,l.o8)(this.dotSize),dotValue:(0,l.o8)(this.dotValue),legendOptions:(0,l.o8)(this.legendOptions),outline:(0,l.o8)(this.outline),referenceScale:(0,l.o8)(this.referenceScale),seed:(0,l.o8)(this.seed),visualVariables:(0,l.o8)(this.visualVariables),authoringInfo:(0,l.o8)(this.authoringInfo)})}getControllerHash(){const e=this.attributes?.map(e=>e.field||e.valueExpression||"");return`${e}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const s of this.attributes??[])s.valueExpression&&await(0,u.Dx)(e,t,null,s.valueExpression),s.field&&e.add(s.field)}};(0,o.Cg)([(0,a.MZ)({type:[F],json:{write:!0}})],O.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],O.prototype,"backgroundColor",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"dotBlendingEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!1}})],O.prototype,"dotShape",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"dotSize",void 0),(0,o.Cg)([(0,a.MZ)({type:N,json:{write:!0}})],O.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:D.A,json:{default:null,write:!0}})],O.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"dotValue",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"referenceScale",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"seed",void 0),(0,o.Cg)([(0,R.e)({dotDensity:"dot-density"})],O.prototype,"type",void 0),O=P=(0,o.Cg)([(0,a.$K)("esri.renderers.DotDensityRenderer")],O);var L,q=s(90629),$=s(30943);let K=L=class extends j.o{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new L({color:this.color&&this.color.clone(),ratio:this.ratio})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[A.jz],default:null,write:{isRequired:!0}}})],K.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:{isRequired:!0}}})],K.prototype,"ratio",void 0),K=L=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapColorStop")],K);var U=s(69540);let G=class extends((0,U.OU)(j.o)){constructor(e){super(e),this.minLabel=null,this.maxLabel=null,this.title=null}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],G.prototype,"minLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],G.prototype,"maxLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],G.prototype,"title",void 0),G=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapLegendOptions")],G);const H=G;var J,X=s(61760),W=s(53930);function Y(e){if(null!=e){const{maxDensity:t,minDensity:s,radius:i}=e;if(null!=t||null!=s||null!=i){const{blurRadius:t,maxPixelIntensity:s,minPixelIntensity:i,...r}=e;return r}}return e}let Q=J=class extends p.A{constructor(e){super(e),this.authoringInfo=null,this.colorStops=[new K({ratio:0,color:new h.A("rgba(255, 140, 0, 0)")}),new K({ratio:.75,color:new h.A("rgba(255, 140, 0, 1)")}),new K({ratio:.9,color:new h.A("rgba(255, 0, 0, 1)")})],this.field=null,this.legendOptions=null,this.maxDensity=.04,this.minDensity=0,this.referenceScale=0,this.type="heatmap",this.valueExpression=null,this.valueExpressionTitle=null}normalizeCtorArgs(e){return Y(e)}get blurRadius(){return(0,X.PU)(this.radius)}set blurRadius(e){const t=this.maxPixelIntensity,s=this.minPixelIntensity;this._set("radius",(0,X.zp)(e)),this._set("maxDensity",t*this._pixelIntensityToDensity),this._set("minDensity",s*this._pixelIntensityToDensity)}get maxPixelIntensity(){return this.maxDensity/this._pixelIntensityToDensity}set maxPixelIntensity(e){this._set("maxDensity",e*this._pixelIntensityToDensity)}get minPixelIntensity(){return this.minDensity/this._pixelIntensityToDensity}set minPixelIntensity(e){this._set("minDensity",e*this._pixelIntensityToDensity)}get radius(){return this._get("radius")??18}set radius(e){this._set("radius",e)}get _pixelIntensityToDensity(){return 24/(5.76*this.blurRadius**4)}read(e,t){e=Y(e),super.read(e,t)}getSymbol(){return new W.A}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}async collectRequiredFields(e,t){const s=this.field,i=this.valueExpression;s&&"string"==typeof s&&(0,u.rq)(e,t,s),i&&"string"==typeof i&&await(0,u.Dx)(e,t,null,i)}clone(){return new J({authoringInfo:this.authoringInfo&&this.authoringInfo.clone(),colorStops:(0,l.o8)(this.colorStops),field:this.field,legendOptions:(0,l.o8)(this.legendOptions),maxDensity:this.maxDensity,minDensity:this.minDensity,radius:this.radius,referenceScale:this.referenceScale,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:$.A,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],Q.prototype,"authoringInfo",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"blurRadius",null),(0,o.Cg)([(0,a.MZ)({type:[K],json:{write:{isRequired:!0}}})],Q.prototype,"colorStops",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Q.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:H,json:{write:!0}})],Q.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"maxDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"maxPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"minDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"minPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,cast:q.cr,json:{write:!0}})],Q.prototype,"radius",null),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0},json:{default:0,write:!0}})],Q.prototype,"referenceScale",void 0),(0,o.Cg)([(0,R.e)({heatmap:"heatmap"})],Q.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-document":{write:!1},"portal-item":{write:!1}}}})],Q.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Q.prototype,"valueExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],Q.prototype,"_pixelIntensityToDensity",null),Q=J=(0,o.Cg)([(0,a.$K)("esri.renderers.HeatmapRenderer")],Q);var ee=s(4576),te=s(49849);let se=class extends((0,U.OU)(j.o)){constructor(e){super(e),this.color=new h.A([0,0,0,0]),this.label=null,this.threshold=0}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],se.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],se.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],se.prototype,"threshold",void 0),se=(0,o.Cg)([(0,a.$K)("esri.renderers.support.OthersCategory")],se);var ie=s(20061),re=s(62724),oe=s(48940);const ne={base:s(2795).A,key:"type",typeMap:{size:oe.A,opacity:re.A}};let le=class extends((0,y.h)((0,U.OU)(p.A))){constructor(e){super(e),this.attributes=null,this.backgroundFillSymbol=null,this.defaultColor=new h.A([0,0,0,0]),this.defaultLabel=null,this.holePercentage=0,this.othersCategory=new se,this.legendOptions=null,this.outline=null,this.type="pie-chart",this.visualVariables=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}getSymbol(){return new W.A({size:this.size?this.size/2+(this.outline?.width||0):0})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol(),this.backgroundFillSymbol].filter(ee.Ru)}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const s of this.attributes)s.valueExpression&&await(0,u.Dx)(e,t,null,s.valueExpression),s.field&&e.add(s.field)}};(0,o.Cg)([(0,a.MZ)({type:[F],json:{write:!0}})],le.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)(te.As)],le.prototype,"backgroundFillSymbol",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],le.prototype,"defaultColor",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],le.prototype,"defaultLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],le.prototype,"holePercentage",void 0),(0,o.Cg)([(0,a.MZ)({type:se,json:{write:!0}})],le.prototype,"othersCategory",void 0),(0,o.Cg)([(0,a.MZ)({type:ie.A,json:{write:!0}})],le.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:D.A,json:{default:null,write:!0}})],le.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:q.cr,json:{write:!0}})],le.prototype,"size",null),(0,o.Cg)([(0,R.e)({pieChart:"pie-chart"})],le.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({types:[ne]})],le.prototype,"visualVariables",void 0),le=(0,o.Cg)([(0,a.$K)("esri.renderers.PieChartRenderer")],le);var ae=s(96576),ue=s(93618);const pe={key:"type",base:p.A,typeMap:{heatmap:Q,simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,"dot-density":O,dictionary:Z,"pie-chart":le},errorContext:"renderer"},ye={key:"type",base:p.A,typeMap:{simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,heatmap:Q},errorContext:"renderer",validate:function(e){switch(e.type){case"simple":return function(e){if(e.symbol)return e;i.A.getLogger("esri.renderers.support.types").error("Removed invalid 'simple' renderer without a symbol from web scene.")}(e);case"unique-value":return function(e){const t=e.uniqueValueInfos,s=t?.filter(({symbol:e,label:t},s)=>(e||i.A.getLogger("esri.renderers.support.types").error(`Removed invalid unique value info ([${s}] ${t}) without a symbol from web scene.`),!!e));return s?.length!==t?.length&&(e.uniqueValueInfos=s),e}(e);case"class-breaks":return function(e){const t=e.classBreakInfos,s=t?.filter(({symbol:e,label:t},s)=>(e||i.A.getLogger("esri.renderers.support.types").error(`Removed invalid class break info ([${s}] ${t}) without a symbol from web scene.`),!!e));return s?.length!==t?.length&&(e.classBreakInfos=s),e}(e);case"heatmap":return e}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1150,2994,4294,5223,5360,6742,9397,9447,9716],{32198(t,e,n){function r(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},57694(t,e,n){n.d(e,{a:()=>s,c:()=>i});var r=n(55537),o=n(83661);function i(t,e){if(!t.isEmpty())switch(t.getGeometryType()){case r.G.enumPolygon:return a(t);case r.G.enumPolyline:return h(t.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(t){const e=t.calculateLength2D();return 0===e?t.getStartXY():t.calculateWeightedCentroid2D().mul(1/e)}(t);case r.G.enumMultiPoint:return function(t){const e=new o.K(0),n=new o.K(0),r=t.getImpl(),i=r.getAttributeStreamRef(0),s=r.getPointCount(),a=new o.P;for(let t=0;t<s;t++)i.queryPoint2D(2*t,a),e.add(a.x),n.add(a.y);const u=new o.P;return u.setCoords(e.getResult(),n.getResult()),u.divThis(s)}(t);case r.G.enumEnvelope:return t.getCenterXY();case r.G.enumPoint:return t.getXY();default:return o.P.construct(Number.NaN,Number.NaN)}return o.P.construct(Number.NaN,Number.NaN)}function s(t,e){return a(t,e)}function a(t,e=-1){const n=new o.K(0),r=new o.K(0),i=t.getImpl();let s;const a=i.hasNonLinearSegments();let h;const m=i.getXY(0);if(-1===e){if(h=i.calculateArea2D(),0===h)return l(t);a&&(s=i.querySegmentIterator());for(let t=0,e=i.getPathCount();t<e;t++)u(m,i,t,n,r),a&&c(m,s,n,r)}else{if(h=i.calculateRingArea2D(e),0===h)return l(t,e);a&&(s=i.querySegmentIterator(),s.resetToPath(e)),u(m,i,e,n,r),a&&c(m,s,n,r)}const f=new o.P,p=new o.P;return f.setCoords(n.getResult(),r.getResult()),p.assign(f.mul(1/h).add(m)),p}function u(t,e,n,r,i){const s=e.getPathStart(n),a=e.getPathEnd(n);if(a-s<3)return;const u=e.getAttributeStreamRef(0),c=u.readPoint2D(2*s),l=u.readPoint2D(2*(s+1));l.subThis(c);const h=new o.K(0),m=e.hasNonLinearSegments(),f=1/3,p=new o.P;for(let t=s+2;t<a;t++){u.queryPoint2D(2*t,p),p.subThis(c);const e=.5*p.crossProduct(l);m&&h.add(e);const n=f*e;r.add((l.x+p.x)*n),i.add((l.y+p.y)*n),l.setCoordsPoint2D(p)}const g=m?h.getResult():e.calculateRingArea2D(n),y=c.sub(t).mul(g);r.add(y.x),i.add(y.y)}function c(t,e,n,o){let i;for(e.nextPath()||(0,r.d)("centroid");null!==(i=e.nextCurve());){const e=i.calculateWeightedAreaCentroid2D(t);n.add(e.x),o.add(e.y)}}function l(t,e=-1){return h(t.getImpl(),e)}function h(t,e=-1){const n=-1===e?t.calculateLength2D():t.calculatePathLength2D(e);if(0===n)return function(t,e=-1){if(-1!==e)return t.getXY(t.getPathStart(e));const n=new o.K(0),r=new o.K(0);for(let e=0;e<t.getPathCount();++e){const o=t.getXY(t.getPathStart(e));n.add(o.x),r.add(o.y)}return o.P.construct(n.getResult(),r.getResult()).mul(1/t.getPathCount())}(t,e);const r=new o.K(0),i=new o.K(0),s=t.querySegmentIterator();for(-1!==e&&s.resetToPath(e);s.nextPath();){const n=s.getPathIndex(),o=t.getXY(t.getPathStart(n));for(;s.hasNextSegment();){const t=s.nextSegment(),e=t.calculateLength2D();if(0===e)continue;const n=t.calculateWeightedCentroid2D().sub(o.mul(e));r.add(n.x),i.add(n.y)}const a=o.mul(t.calculatePathLength2D(n));if(r.add(a.x),i.add(a.y),-1!==e)break}const a=new o.P;return a.setCoords(r.getResult(),i.getResult()),a.mul(1/n)}},30921(t,e,n){n.d(e,{D:()=>N,m:()=>l,s:()=>d,w:()=>y});var r=n(32198),o=n(55537),i=n(88885),s=n(39117),a=n(83661),u=n(79187),c=n(95213);function l(){return{outPoint:new a.P,index:-1,t:Number.NaN}}function h(t,e,n){return{outPoint:t.clone(),index:e,t:n}}function m(t,e,n,r){t.outPoint.assign(e),t.index=n,t.t=r}function f(t,e){t.outPoint.assign(e.outPoint),t.index=e.index,t.t=e.t}function p(t,e,n,r){t.index=n,t.t=r,e.queryCoord2D(t.t,t.outPoint)}function g(t,e){const n=l();f(n,t),f(t,e),f(e,n)}function y(t,e,n,r,i,a){if(t.getGeometryType()===o.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const e=r.nextSegment();if(0!==(0,s.K)(t,e.getEndXY(),0))return m(i,e.getEndXY(),-1,Number.NaN),m(a,e.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(e.getGeometryType()===o.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const t=n.nextSegment();if(0!==(0,s.K)(e,t.getEndXY(),0))return m(i,t.getEndXY(),-1,Number.NaN),m(a,t.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function d(t){const e=t.getPathCount(),n=(0,a.d)(t.getSegmentCount(),0);let r=0;for(let o=0;o<e;++o){const e=r+t.getSegmentCountPath(o);for(let i=r,s=t.getPathStart(o);i<e;++i,++s)n[i]=s;r=e}return(0,i.s)(t.getPointCount(),n),n}function v(t,e){return!!Number.isNaN(e)||t<=e}function P(t){const e=new i.P;return e.addEnvelope(t,!1),e}class N{m_progressTracker;m_env2DgeometryA=null;m_env2DgeometryB=null;m_maxSqrDistance;m_maxDistance;m_progressCounter=0;m_bIsNearCalc;constructor(t,e){if(this.m_progressTracker=e,this.m_maxSqrDistance=t*t,this.m_maxDistance=t,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=t,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let t=Math.sqrt(this.m_maxSqrDistance);for(;t<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,t=Math.sqrt(this.m_maxSqrDistance)}}calculate(t,e,n,r){if((t.getGeometryType()!==c.P.type||e.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,t.queryEnvelope(this.m_env2DgeometryA),e.queryEnvelope(this.m_env2DgeometryB),!v(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const o=h(new a.P,(0,a.j)(),Number.NaN),i=h(new a.P,(0,a.j)(),Number.NaN),s=this._ExecuteBruteForce(t,e,o,i);return v(s,this.m_maxDistance)?(null!==n&&f(n,o),null!==r&&f(r,i),s):Number.POSITIVE_INFINITY}isNear(t,e){if(this.m_bIsNearCalc=!0,t.isEmpty()||e.isEmpty())return!1;if(t===e)return!0;let n=!0;if(t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,t.queryEnvelope(this.m_env2DgeometryA),e.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=h(new a.P,(0,a.j)(),Number.NaN),o=h(new a.P,(0,a.j)(),Number.NaN);return this._ExecuteBruteForce(t,e,r,o)<=this.m_maxDistance}progress_(t=!1){}_ExecuteBruteForce(t,e,n,r){switch(t.getGeometryType()){case o.G.enumPoint:return this.distancePointGeometry(t,e,n,r);case o.G.enumMultiPoint:return this.distanceMultipointGeometry(t,e,n,r);case o.G.enumEnvelope:return this.distanceEnvelopeGeometry(t,e,n,r);case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipathGeometry(t,e,n,r);default:return Number.NaN}}distancePointGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:return this.distancePointPoint(t,e,n,r);case o.G.enumMultiPoint:return this.distancePointMultipoint(t,e,n,r);case o.G.enumPolyline:case o.G.enumPolygon:return this.distancePointMultipath(t,e,n,r);case o.G.enumEnvelope:return this.distancePointEnvelope(t,e,n,r);default:return Number.NaN}}distancePointPoint(t,e,n,r){const o=t.getXY(),i=e.getXY();return m(n,o,0,0),m(r,i,0,0),Math.sqrt(a.P.sqrDistance(o,i))}distancePointMultipoint(t,e,n,r){const o=t.getXY();let i=this.m_maxSqrDistance,s=i,u=!1;const c=e.getPointCount(),l=new a.P;for(let t=0;t<c;++t)if(e.queryXY(t,l),s=a.P.sqrDistance(o,l),this.m_bIsNearCalc){if(s<=i)return 0}else if(!(s>i)&&(!u&&s===i||s<i)&&(i=s,m(n,o,0,0),m(r,l,t,0),u=!0,0===i))return 0;return u?Math.sqrt(i):Number.POSITIVE_INFINITY}distancePointMultipath(t,e,n,r){const i=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=t.getXY();if(!i&&e.getGeometryType()===o.G.enumPolygon&&0!==(0,s.K)(e,c,0))return m(n,c,0,0),m(r,c,-1,Number.NaN),0;e.getImpl().getAccelerators();let l=this.m_maxSqrDistance,h=l,f=-1;const p=new u.Envelope2D,g=e.querySegmentIterator();let y=!1;for(;g.nextPath();)for(;g.hasNextSegment();){const t=g.nextSegment();t.queryEnvelope(p);const e=p.sqrDistance(c);if(e>l)continue;if(!this.m_bIsNearCalc&&y&&e===l)continue;f=t.getClosestCoordinate(c,!1);const o=t.getCoord2D(f);if(h=a.P.sqrDistance(c,o),this.m_bIsNearCalc){if(h<=l)return 0}else if(!(h>l)&&(!y||h<l)&&(l=h,m(n,c,0,0),m(r,o,g.getStartPointIndex(),f),y=!0,0===l))return 0}return y?Math.sqrt(l):Number.POSITIVE_INFINITY}distancePointEnvelope(t,e,n,r){const o=t.getXY();m(n,o,0,0),m(r,o,-1,Number.NaN);const i=e.asEnvelope2D();return i.contains(o)?0:Math.sqrt(i.sqrDistance(o,r.outPoint))}distanceMultipointGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distancePointMultipoint(e,t,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumMultiPoint:return this.distanceMultipointMultipoint(t,e,n,r,1,1);case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipointMultipath(t,e,n,r);case o.G.enumEnvelope:return this.distanceMultipointMultipath(t,P(e),n,r);default:return Number.NaN}}distanceMultipointMultipoint(t,e,n,o,i,s){const u={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===i&&1===s){const r=Math.trunc((0,a.s)(Math.sqrt(t.getPointCount())+1,1,(0,a.i)())),i=Math.trunc((0,a.s)(Math.sqrt(e.getPointCount())+1,1,(0,a.i)()));if((r>=4||i>=4)&&this.distanceMultipointMultipoint(t,e,n,o,r,i)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const l=[t],h=[e],f=this.swapGeometriesIfBGtA(l,h);f&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s=(0,a.c)(i,i=s),g(n,o)),(0,r.mS)(u,(0,a.h)(()=>{g(n,o),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!f),!1);const p=l[0].getImpl(),y=h[0].getImpl(),d=p.getPointCount(),v=y.getPointCount(),P=v>1;let N=!1;const D=new a.P,M=new a.P;for(let t=0;t<d;t+=i){if(p.queryXY(t,D),P){const t=this.m_env2DgeometryB.sqrDistance(D);if(this.m_bIsNearCalc){if(t>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(D)<=c)return 0}else if(t>=c)continue}for(let e=0;e<v;e+=s){y.queryXY(e,M);const r=a.P.sqrDistance(D,M);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||N&&r===c)&&(!N||r<c)&&(m(n,D,t,0),m(o,M,e,0),N=!0,c=r,0===c))return N?Math.sqrt(c):Number.POSITIVE_INFINITY}}return N?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(t){u.error=t,u.hasError=!0}finally{(0,r.hk)(u)}}distanceMultipointMultipath(t,e,n,r){let i=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&e.getGeometryType()===o.G.enumPolygon;const c=e.querySegmentIterator();c.stripAttributes();const l=new u.Envelope2D,h=new a.P;let f=this.m_maxSqrDistance;const p=t.getImpl(),g=p.getPointCount(),y=g>1;let d=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const t=c.nextSegment();if(t.queryLooseEnvelope(l),y){const t=l.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(t>f)continue}else if(t>f||d&&t===f)continue}for(let o=0;o<g;o++){if(p.queryXY(o,h),i&&0!==(0,s.K)(e,h,0))return m(n,h,-1,Number.NaN),m(r,h,o,0),0;{const t=l.sqrDistance(h);if(this.m_bIsNearCalc){if(t>f)continue}else if(t>f)continue}const a=t.getClosestCoordinate(h,!1),u=t.getCoord2D(a);h.subThis(u);const g=h.sqrLength();if(this.m_bIsNearCalc){if(g<=f)return 0}else if(!(g>f)&&(!d||g<f)&&(f=g,m(n,p.getXY(o),o,0),m(r,u,c.getStartPointIndex(),a),d=!0,0===f))return 0}i=!1}return d?Math.sqrt(f):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:return this.distancePointEnvelope(e,t,r,n);case o.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distanceMultipointMultipath(e,P(t),r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipathMultipath(P(t),e,n,r);case o.G.enumEnvelope:return this.distanceEnvelopeEnvelope(t,e,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(t,e,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const o=t.asEnvelope2D(),i=e.asEnvelope2D();return Math.sqrt(o.sqrDistanceEnvelope(i,n.outPoint,r.outPoint))}distanceMultipathGeometry(t,e,n,r){switch(e.getGeometryType()){case o.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distancePointMultipath(e,t,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const o=this.distanceMultipointMultipath(e,t,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o}case o.G.enumPolyline:case o.G.enumPolygon:return this.distanceMultipathMultipath(t,e,n,r);case o.G.enumEnvelope:return this.distanceMultipathMultipath(t,P(e),n,r);default:return Number.NaN}}distanceMultipathMultipath(t,e,n,o){const s={stack:[],error:void 0,hasError:!1};try{const c=[t],h=[e],m=this.swapGeometriesIfAGtB(c,h);m&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),g(n,o)),(0,r.mS)(s,(0,a.h)(()=>{g(n,o),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!m),!1);const v=c[0],P=h[0],N=v.querySegmentIterator();N.stripAttributes();const D=P.querySegmentIterator();if(D.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const t=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)())),e=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)()));if(this.distanceMultipointMultipoint(v,P,n,o,t,e)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const t=l(),e=l();if(y(v,P,N,D,t,e))return f(n,t),f(o,e),0}const M=d(v),_=[],S=new i.S,b=new u.Envelope2D,w=new u.Envelope2D,x=new u.Envelope2D;let A=this.m_maxSqrDistance,I=!0,E=!1;for(let t=0,e=M.length;t<e;++t){v.querySegment(M[t],S,!0);const e=S.get();if(e.queryEnvelope(b),!(b.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>A)){if(this.m_bIsNearCalc&&b.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=A)return 0;for(;D.nextPath();){if(this.progress_(),I)P.queryPathEnvelope(D.getPathIndex(),x),_[D.getPathIndex()]=x.clone();else if(b.sqrDistanceEnvelope(_[D.getPathIndex()],null,null)>A)continue;for(;D.hasNextSegment();){const r=D.nextSegment();if(r.queryEnvelope(w),b.sqrDistanceEnvelope(w,null,null)<=A){const i=!b.isIntersecting(w),s=[0],a=[0];let u=e.distance(r,i,s,a);if(u*=u,this.m_bIsNearCalc&&u<=this.m_maxSqrDistance)return 0;if(u<A||u===A&&M[t]<n.index){if(E=!0,p(n,e,M[t],s[0]),p(o,r,D.getStartPointIndex(),a[0]),0===u)return 0;A=u}}}}D.resetToFirstPath(),I=!1}}return E?Math.sqrt(A):Number.POSITIVE_INFINITY}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}swapGeometriesIfAGtB(t,e){return(0,o.v)(t[0])>(0,o.v)(e[0])&&(e[0]=(0,a.c)(t[0],t[0]=e[0]),!0)}swapGeometriesIfBGtA(t,e){return this.swapGeometriesIfAGtB(e,t)}}},9447(t,e,n){n.d(e,{OperatorCentroid2D:()=>o});var r=n(57694);class o{getOperatorType(){return 10205}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e){return(0,r.c)(t)}}},22994(t,e,n){n.d(e,{OperatorDistance:()=>i});var r=n(55537),o=n(30921);class i{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}execute(t,e,n){return this.executeEx(t,e,n,null,null,Number.NaN)}executeEx(t,e,n,i,s,a){if(t.isEmpty()||e.isEmpty())return Number.NaN;(0,r.c)(t),(0,r.c)(e);const u=t,c=e;Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY);const l=new o.D(a,n).calculate(u,c,i,s);return Number.isFinite(l)?l:Number.NaN}}},69540(t,e,n){var r=n(32198),o=n(69622),i=(n(44208),n(4718)),s=(n(53966),n(97768)),a=n(88620),u=n(64108);const c=Symbol("ClonableMixin"),l=t=>{var e;const n=t;let o=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=c}clone(t){const e=(0,a.oY)(this);(0,s.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,o={},u=new Map;for(const e in n){const s=n[e],a=r?.originOf(e),c=s.clonable;if(s.readOnly||!1===c||7!==a&&0!==a&&5!==a&&4!==a)continue;const l=this[e];let h=null;if("function"==typeof c)h=c(l,t);else if("reference"===c)h=l;else if(h=(0,i.TU)(l,t),null!=l&&null==h)continue;0===a?u.set(e,h):o[e]=h}const c=new(0,Object.getPrototypeOf(this).constructor)(o);if(u.size){const t=(0,a.oY)(c)?.store;if(t)for(const[e,n]of u)t.set(e,n,0)}return c}};return o=(0,r.Cg)([(0,u.$)("esri.core.Clonable")],o),o},h=l(o.A);n.d(e,["OU",0,l,"Pw",0,h])},95488(t,e,n){n.d(e,{I:()=>o});var r=n(11406);class o extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},51850(t,e,n){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function s(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function l(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(e,{CN:()=>s,ci:()=>a,fA:()=>i,o8:()=>o,vt:()=>r});const m=[0,0,0],f=u(),p=c(),g=l(),y=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:m,clone:o,create:r,freeze:s,fromArray:a,fromValues:i,ones:u,unitX:c,unitY:l,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Cb",0,y,"Cw",0,p,"JP",0,g,"Un",0,f,"uY",0,m])},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>i,C:()=>s,Cc:()=>w,DI:()=>M,Io:()=>v,Ln:()=>d,Om:()=>S,Qr:()=>h,Re:()=>c,S8:()=>_,T9:()=>g,WQ:()=>u,Z0:()=>x,_S:()=>f,aI:()=>q,ei:()=>A,fw:()=>E,gL:()=>I,hG:()=>P,hZ:()=>a,hs:()=>y,jk:()=>p,lw:()=>l,m3:()=>N,oW:()=>R,t2:()=>C,tn:()=>m,ze:()=>D});var r=n(51850),o=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function l(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function h(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function m(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function f(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function g(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function y(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function d(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function v(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function P(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function N(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function D(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function M(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function _(t,e){const n=e[0],r=e[1],o=e[2];let i=n*n+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],o=e[1],i=e[2],s=n[0],a=n[1],u=n[2];return t[0]=o*u-i*a,t[1]=i*s-r*u,t[2]=r*a-o*s,t}function w(t,e,n,r){const o=e[0],i=e[1],s=e[2];return t[0]=o+r*(n[0]-o),t[1]=i+r*(n[1]-i),t[2]=s+r*(n[2]-s),t}function x(t,e,n){const r=e[0],o=e[1],i=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*i+n[12],t[1]=n[1]*r+n[5]*o+n[9]*i+n[13],t[2]=n[2]*r+n[6]*o+n[10]*i+n[14],t}function A(t,e,n){const r=e[0],o=e[1],i=e[2];return t[0]=r*n[0]+o*n[3]+i*n[6],t[1]=r*n[1]+o*n[4]+i*n[7],t[2]=r*n[2]+o*n[5]+i*n[8],t}function I(t,e,n){return E(t,e,n[0],n[1],n[2],n[3])}function E(t,e,n,r,o,i){const s=e[0],a=e[1],u=e[2],c=r*u-o*a,l=o*s-n*u,h=n*a-r*s,m=r*h-o*l,f=o*c-n*h,p=n*l-r*c,g=2*i;return t[0]=s+c*g+2*m,t[1]=a+l*g+2*f,t[2]=u+h*g+2*p,t}const O=(0,r.vt)(),G=(0,r.vt)();function C(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function q(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],s=e[0],a=e[1],u=e[2],c=(0,o.FD)();return Math.abs(n-s)<=c*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function R(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],i=n[2]-e[2];let s=r*r+o*o+i*i;return s>0?(s=1/Math.sqrt(s),t[0]=r*s,t[1]=o*s,t[2]=i*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=c,B=l,J=h,Y=v,Z=P,j=i,L=N;Object.freeze(Object.defineProperty({__proto__:null,abs:m,add:u,angle:function(t,e){_(O,t),_(G,e);const n=S(O,G);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,o,i){const s=1-i,a=s*s,u=i*i,c=a*s,l=3*i*a,h=3*u*s,m=u*i;return t[0]=e[0]*c+n[0]*l+r[0]*h+o[0]*m,t[1]=e[1]*c+n[1]*l+r[1]*h+o[1]*m,t[2]=e[2]*c+n[2]*l+r[2]*h+o[2]*m,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=n[0],a=n[1],u=n[2],c=o*u-i*a,l=i*s-r*u,h=r*a-o*s,m=Math.sqrt(c*c+l*l+h*h);return t[0]=c/m,t[1]=l/m,t[2]=h/m,t},direction:R,dist:Y,distance:v,div:J,divide:h,dot:S,equals:q,exactEquals:C,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,i){const s=i*i,a=s*(2*i-3)+1,u=s*(i-2)+i,c=s*(i-1),l=s*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*c+o[0]*l,t[1]=e[1]*a+n[1]*u+r[1]*c+o[1]*l,t[2]=e[2]*a+n[2]*u+r[2]*c+o[2]*l,t},inverse:M,len:j,length:i,lerp:w,max:g,min:p,mul:B,multiply:l,negate:D,normalize:_,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,i=2*n()-1,s=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*s,t[1]=Math.sin(r)*s,t[2]=i*e,t},rotateX:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:y,scaleAndAdd:d,scaleTo:function(t,e){return y(t,t,e/j(t))},set:a,sign:f,sqrDist:Z,sqrLen:L,squaredDistance:P,squaredLength:N,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:c,transformMat3:A,transformMat4:x,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:I,transformQuatValues:E},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,j,"jb",0,T,"lo",0,Z,"uE",0,L])},69397(t,e,n){n.d(e,{Qf:()=>a,Qh:()=>i,lM:()=>o});var r=n(34275);function o(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=s(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return a(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return u(t,8);let n=l;for(let r=0;r<e;r++)n+=s(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=s(t[n]));return e}function s(t,e=!0){switch(typeof t){case"object":return e?i(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+h:Array.isArray(e)?u(e,16):0:0),0)}function u(t,e){return l+t.length*e}const c=32,l=16,h=145},17799(t,e,n){n.d(e,{T9:()=>a,d_:()=>o,gT:()=>i});var r=n(86211);function o(t,e){return{type:(0,r.t$)(e),value:t,unit:e}}function i(t,e){return{type:(0,r.t$)(e),value:t,unit:e}}function s(t,e,n="arithmetic"){return{type:(0,r.t$)(e),value:t,unit:e,rotationType:n}}function a(t,e){return null==t?e:null==e||t.value>(0,r.oU)(e.value,e.unit,t.unit)?t:e}o(0,"meters"),i(0,"square-meters"),s(0,"radians"),s(0,"degrees"),s(0,"degrees","geographic")},48526(t,e,n){n.d(e,{A:()=>y});var r,o=n(32198),i=n(4576),s=n(4718),a=n(91429),u=n(5443),c=n(91075),l=n(86738),h=n(16930),m=n(90634),f=n(47610),p=n(56993),g=n(43937);let y=r=class extends c.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=h.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:o}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,m.ge)(this);return t?new u.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,s.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:o}=this;return new r({points:(0,s.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:o})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,i.aI)(this.points,t.points,f.v6)}addPoint(t){return(0,p.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new l.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new l.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,p.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,o.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,o.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,o.Cg)([(0,g.K)("points")],y.prototype,"writePoints",null),y=r=(0,o.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>p});var r,o=n(32198),i=n(4718),s=n(91429),a=n(5443),u=n(91075),c=n(86738),l=n(16930),h=n(90634),m=n(56993),f=n(43937);let p=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=l.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:o}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,i.o8)(t)}get extent(){const t=(0,h.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,i.o8)(this.paths),t.curvePaths=(0,i.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,o=this.hasM;return r&&!o?new c.A(n[0],n[1],n[2],void 0,this.spatialReference):o&&!r?new c.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&o?new c.A(n[0],n[1],n[2],n[3],this.spatialReference):new c.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,m.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new c.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new c.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,m.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,o.Cg)([(0,s.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,o.Cg)([(0,s.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,o.Cg)([(0,f.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,o.Cg)([(0,s.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,o.Cg)([(0,s.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,o.Cg)([(0,f.K)("paths")],p.prototype,"writePaths",null),p=r=(0,o.Cg)([(0,s.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},95624(t,e,n){n.d(e,{g:()=>i});var r=n(86211),o=n(78125);function i(t,e={}){const{unit:n}=e;let i=(0,o.fromGeometry)(t).calculateArea2D();if(i&&n){const e=(0,o.getSpatialReference)(t);if(e.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const s=(0,r.B5)(e);s!==n&&(s?i=(0,r.oU)(i,s,n):(i=Math.sqrt(i),i*=(0,r.GA)(e),i**=2,i=(0,r.oU)(i,"square-meters",n)))}return i}},89506(t,e,n){n.d(e,{Hh:()=>l,g7:()=>h});var r=n(86211),o=n(86742),i=n(5808);let s,a,u,c;async function l(){if(!s||!(0,o.s)()){const[t]=await Promise.all([Promise.resolve().then(n.bind(n,78125)),(0,o.load)()]);s=t.fromGeometry,a=t.fromSpatialReference,u=t.getSpatialReference,c=(0,o.f)()}}function h(t,e={}){const{curveType:n="geodesic",unit:c}=e,l=u(t);let h=(0,o.execute)(s(t),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"square-meters",c)),h}},95360(t,e,n){n.r(e),n.d(e,{execute:()=>m,isLoaded:()=>l,load:()=>h,supportsCurves:()=>c});var r=n(86211),o=n(29716),i=n(5808);let s,a,u,c;function l(){return!!s&&(0,o.s)()}async function h(){if(!l()){const[t]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,o.load)()]);s=t.fromGeometry,a=t.fromSpatialReference,u=t.getSpatialReference,c=(0,o.f)()}}function m(t,e,n={}){const{curveType:c="geodesic",unit:l}=n,h=u(t);let m=(0,o.execute)(s(t),s(e),a(h),i.O[c]);return m&&l&&(m=(0,r.oU)(m,"meters",l)),m}},40427(t,e,n){n.d(e,{Hh:()=>l,g7:()=>h});var r=n(86211),o=n(35223),i=n(5808);let s,a,u,c;async function l(){if(!s||!(0,o.s)()){const[t]=await Promise.all([Promise.resolve().then(n.bind(n,78125)),(0,o.load)()]);s=t.fromGeometry,a=t.fromSpatialReference,u=t.getSpatialReference,c=(0,o.f)()}}function h(t,e={}){const{curveType:n="geodesic",unit:c}=e,l=u(t);let h=(0,o.execute)(s(t),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"meters",c)),h}},86742(t,e,n){n.d(e,{execute:()=>a,f:()=>u,load:()=>s,s:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[t,e]=await Promise.all([Promise.all([n.e(2024),n.e(6558)]).then(n.bind(n,6558)),n.e(3375).then(n.bind(n,15756)).then(({injectPe:t})=>t),(0,r.l)()]);o=new t.OperatorGeodeticArea,e(r.p)}}function a(t,e,n){return o.execute(t,e,n,null)}function u(){return o.supportsCurves()}},29716(t,e,n){n.d(e,{execute:()=>a,f:()=>u,load:()=>s,s:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[t,e]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(2024),n.e(3394)]).then(n.bind(n,12764)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(8344)]).then(n.bind(n,15756)).then(({injectPe:t})=>t),(0,r.l)()]);o=new t.OperatorGeodeticDistance,e(r.p)}}function a(t,e,n,r){return o.execute(t,e,n,r,null)}function u(){return o.supportsCurves()}},35223(t,e,n){n.d(e,{execute:()=>a,f:()=>u,load:()=>s,s:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function s(){if(!i()){const[t,e]=await Promise.all([n.e(8879).then(n.bind(n,28879)),n.e(3375).then(n.bind(n,15756)).then(({injectPe:t})=>t),(0,r.l)()]);o=new t.OperatorGeodeticLength,e(r.p)}}function a(t,e,n){return o.execute(t,e,n,null)}function u(){return o.supportsCurves()}},81150(t,e,n){n.d(e,{execute:()=>s,f:()=>c,isSimpleAsFeature:()=>u,z:()=>a});var r=n(76061),o=(n(55537),n(88885),n(39117));n(95213);const i=new o.J;function s(t,e,n){return i.execute(t,e,n,null)}function a(t,e,n){const o=i.executeMany(new r.S(t),e,n,null);return Array.from(o)}function u(t,e,n){return i.isSimpleAsFeature(t,e,n,null,null)}function c(){return i.supportsCurves()}},23914(t,e,n){n.d(e,{g7:()=>i});var r=n(81150),o=n(78125);function i(t){const e=(0,o.getSpatialReference)(t);return(0,o.toGeometry)((0,r.execute)((0,o.fromGeometry)(t),(0,o.fromSpatialReference)(e),!1),e)}(0,r.f)()},5808(t,e,n){n.d(e,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])},65806(t,e,n){n.d(e,{g:()=>s});var r=n(51850),o=n(99917),i=n(9762);function s(t,e,n,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,i.projectBuffer)(a,t.spatialReference,0,e,n,0);const s=(0,o.tryProject)(t,n,r);return!!s&&(e[0]=s.x,e[1]=s.y,e[2]=s.z??0,!0)}const a=(0,r.vt)()},27993(t,e,n){n.d(e,{F:()=>a});var r=n(99917),o=n(16930),i=n(9762),s=n(65806);function a(t,e,n,o){return!(null==e||null==o||t.length<2)&&((0,r.canProjectWithoutEngine)(e,o)?(0,i.projectBuffer)(t,e,0,n,o,0,1):(u.x=t[0],u.y=t[1],u.z=t[2],u.spatialReference=e,(0,s.g)(u,n,o)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:o.A.WGS84,type:"point"}},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function i(t){return void 0!==t.x&&void 0!==t.y}function s(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function u(t){return"object"==typeof t&&"vertexAttributes"in t}function c(t){return t?i(t)?"esriGeometryPoint":s(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function l(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function h(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>c,Bi:()=>a,Pv:()=>l,Rg:()=>s,U9:()=>o,W0:()=>h,ZC:()=>r,fT:()=>i,uW:()=>u})},65864(t,e,n){n.d(e,{rS:()=>l,xD:()=>m});var r=n(5443),o=n(91075),i=n(48526),s=n(86738),a=n(39829),u=n(82799),c=n(60408);function l(t){return null==t?null:t instanceof o.A?t:(0,c.fT)(t)?s.A.fromJSON(t):(0,c.Rg)(t)?u.A.fromJSON(t):(0,c.Bi)(t)?a.A.fromJSON(t):(0,c.U9)(t)?i.A.fromJSON(t):(0,c.ZC)(t)?r.A.fromJSON(t):null}const h={esriGeometryPoint:s.A,esriGeometryPolyline:u.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:i.A,esriGeometryMultiPatch:a.A};function m(t){return t&&h[t]||null}},32728(t,e,n){n.d(e,{YH:()=>s,nu:()=>a,wp:()=>i}),n(34727);var r=n(35522),o=n(51850);function i(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),o=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.hZ)(t,n,o,i),t}function s(t,e,n){n=n||t;const o=(0,r.Om)(t,e);(0,r.hZ)(n,t[0]-o*e[0],t[1]-o*e[1],t[2]-o*e[2]),(0,r.S8)(n,n)}function a(t,e,n,i=(0,o.vt)()){const s=(0,r.Bw)(t),a=(0,r.Bw)(e),l=(0,r.Om)(t,e)/(s*a);if(l<.9999999999999999){const o=Math.acos(l),h=((1-n)*s+n*a)/Math.sin(o),m=h/s*Math.sin((1-n)*o),f=h/a*Math.sin(n*o);return(0,r.hs)(u,t,m),(0,r.hs)(c,e,f),(0,r.WQ)(i,u,c)}return(0,r.Cc)(i,t,e,n)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const u=(0,o.vt)(),c=(0,o.vt)()},15554(t,e,n){n.r(e),n.d(e,{area2D:()=>Z,areaHorizontal:()=>V,autoArea2D:()=>k,autoDistance2DBetweenPoints:()=>K,autoLength2D:()=>z,autoSize2D:()=>W,distance2DBetweenPoints:()=>F,geodeticArea:()=>G,geodeticDistanceBetweenPoints:()=>J,geodeticDistanceBetweenPointsMany:()=>Y,geodeticLength:()=>B,length2D:()=>X,preloadGeodetic:()=>C,simplify:()=>Q});var r=n(17799),o=n(86211),i=n(35522),s=n(51850),a=n(73941),u=n(48526),c=n(86738),l=n(39829),h=n(82799),m=n(99917),f=n(16930),p=n(98764),g=n(95624),y=n(9447),d=n(78125);const v=new y.OperatorCentroid2D;v.supportsCurves();const P=new(n(22994).OperatorDistance);P.supportsCurves();var N=n(89506),D=n(95360),M=n(40427),_=n(965),S=n(23914),b=n(27993);function w(t,e,n,r,o){(0,i.C)(x,t),(0,i.WQ)(A,t,e),(0,b.F)(x,n,x,o),(0,b.F)(A,n,A,o),(0,i.Re)(r,A,x),(0,i.S8)(r,r)}const x=(0,s.vt)(),A=(0,s.vt)();var I=n(65864),E=n(21325),O=n(32728);async function G({geometryJSON:t,options:e}){await Promise.allSettled([(0,N.Hh)(),e?.returnLength?(0,M.Hh)():void 0]);const n=q(t,e),i=e?.unit??"square-meters",s=(0,S.g7)(n)??n,a=(0,N.g7)(s,{unit:i,...e}),u=(0,r.gT)(a,i),c=e?.lengthUnit??(0,o.Bd)(i);return{area:u,centroid:e?.returnCentroid?R(s).toJSON():void 0,length:e?.returnLength?await T(s,{unit:c}):void 0}}function C(){(0,N.Hh)(),(0,M.Hh)(),(0,D.load)()}function q(t,e){const n="rings"in t?l.A.fromJSON(t):h.A.fromJSON(t);if(e?.stagedPoint){const t=c.A.fromJSON(e.stagedPoint),r=("rings"in n?n.rings:n.paths).at(-1);if(r){const{x:e,y:o,z:i,m:s}=t,a=n.hasZ&&n.hasM?[e,o,i??0,s??0]:n.hasZ?[e,o,i??0]:n.hasM?[e,o,s??0]:[e,o];r.push(a)}}return n}function R(t){return function(t){const e=v.execute((0,d.fromGeometry)(t),null);return(0,d.toPoint)(e,(0,d.getSpatialReference)(t))}(t)}async function T(t,e){await(0,M.Hh)();const n=e?.unit??"meters";return(0,r.d_)((0,M.g7)(t,{...e,unit:n}),n)}function B({geometryJSON:t,options:e}){return T(q(t,e),e)}async function J({geometry1JSON:t,geometry2JSON:e,options:n}){await(0,D.load)();const o=c.A.fromJSON(t),i=c.A.fromJSON(e),s=n?.unit??"meters";return(0,r.d_)((0,D.execute)(o,i,{...n,unit:s}),s)}async function Y({geometry1JSON:t,geometry2JSON:e,options:n}){await(0,D.load)();const o=u.A.fromJSON(t),i=u.A.fromJSON(e);if(o.points.length!==i.points.length)throw new Error("Input multipoints must have the same number of points.");const s=o.points.length,a=n?.unit??"meters",c=[],l={...n,unit:a};for(let t=0;t<s;t++){const e=o.getPoint(t),n=i.getPoint(t);c.push(null!=e&&null!=n?(0,r.d_)((0,D.execute)(e,n,l),a):null)}return c}function Z({geometryJSON:t,options:e}){return j(q(t,e),e)}function j(t,e){const n=e?.unit??"square-meters",i=e?.lengthUnit??(0,o.Bd)(n),s=(0,S.g7)(t)??t,a=(0,g.g)(s,{unit:n,...e});return{area:(0,r.gT)(a,n),centroid:e?.returnCentroid?R(s).toJSON():void 0,length:e?.returnLength?L(s,{unit:i}):void 0}}function L(t,e){const n=e?.unit??"meters";return(0,r.d_)((0,_.execute)(t,{...e,unit:n}),n)}function X({geometryJSON:t,options:e}){return L(q(t,e),e)}function F({geometry1JSON:t,geometry2JSON:e,options:n}){const i=c.A.fromJSON(t),s=c.A.fromJSON(e),a=n?.unit??"meters";return(0,r.d_)(function(t,e,n={}){const{unit:r}=n;let i=P.execute((0,d.fromGeometry)(t),(0,d.fromGeometry)(e),null);if(i&&r){const e=(0,d.getSpatialReference)(t);i=(0,o.PQ)(i,e,r)}return i}(i,s,{...n,unit:a}),a)}async function k(t){return U(t.geometryJSON.spatialReference,G,Z)(t)}async function z(t){return U(t.geometryJSON.spatialReference,B,X)(t)}async function K(t){return U(t.geometry1JSON.spatialReference,J,F)(t)}async function W(t){const e=U(t.topLeftJSON.spatialReference,J,F),{topLeftJSON:n,topRightJSON:o,bottomRightJSON:i,bottomLeftJSON:s,options:a}=t,[u,c,l,h]=await Promise.all([e({geometry1JSON:s,geometry2JSON:i,options:a}),e({geometry1JSON:n,geometry2JSON:o,options:a}),e({geometry1JSON:i,geometry2JSON:o,options:a}),e({geometry1JSON:s,geometry2JSON:n,options:a})]);return{width:(0,r.T9)(u,c),height:(0,r.T9)(h,l)}}function U(t,e,n){switch(r=t,(0,E.EA)(r)||(0,E.K8)(r)?0:1){case 0:return e;case 1:return n}var r}function V(t){const{geometryJSON:e}=t,n=function(t){return t?(0,a.B3)(t)?(0,E.oT)(t)||(0,E.K8)(t)||(0,E.x1)(t)||(0,a.jA)(t)||(0,E.aI)(t,p.Y0)?{mode:1,spatialReference:p.Y0}:{mode:0,spatialReference:t}:{mode:1,spatialReference:(0,p.lO)(t)}:null}(e.spatialReference);if(!n)throw new Error("Cannot compute horizontal area without a valid spatial reference.");switch(n.mode){case 0:return Z(t);case 1:return function(t,{geometryJSON:e,options:n}){const r=q(e,n),o=nt,i=tt,s=et,a=(0,E.aI)(r.spatialReference,t.spatialReference)?r.clone():(0,m.projectWithoutEngine)(r,r.spatialReference,t.spatialReference);if(!a)throw new Error(`Cannot project geometry from ${r.spatialReference?.wkid??"unknown"} to ${t.spatialReference.wkid}.`);H(a,o,i,s);const{area:u,centroid:c,length:l}=j(a,n);return{area:u,centroid:$(c,o,i,s,t.spatialReference,r.spatialReference),length:l}}(n,t)}}function Q({geometryJSON:t}){const e=(0,I.rS)(t);if(!e)return null;const n=(0,S.g7)(e);return n?n.toJSON():null}function $(t,e,n,r,o,s){if(!t)return t;(0,i.hs)(n,n,t.x),(0,i.hs)(r,r,t.y);const a=rt;return(0,i.WQ)(a,n,r),(0,i.WQ)(a,a,e),t.x=a[0],t.y=a[1],t.z=a[2],t.spatialReference=o,(0,m.projectWithoutEngine)(t,t.spatialReference,s)?.toJSON()??void 0}function H(t,e,n,r){let o=0;(0,i.hZ)(e,0,0,0);for(const n of t.rings)for(const t of n)e[0]+=t[0],e[1]+=t[1],e[2]+=t[2],o++;(0,i.hs)(e,e,1/o);const s=ot;(0,i.S8)(s,e);const a=it,u=Math.atan2(s[1],s[0]);(0,i.hZ)(a,-Math.sin(u),Math.cos(u),0),(0,E.aI)(t.spatialReference,p.Y0)&&(w(e,s,p.GD,s,t.spatialReference),w(e,a,p.GD,a,t.spatialReference)),(0,O.YH)(a,s,n),(0,i.$A)(r,n,s);const c=rt;for(const o of t.rings)for(const t of o){(0,i.hZ)(c,t[0],t[1],t[2]),(0,i.Re)(c,c,e);const o=(0,i.Om)(n,c),s=(0,i.Om)(r,c);t[0]=o,t[1]=s}t.hasZ=!1,t.spatialReference=f.A.WebMercator}const tt=(0,s.vt)(),et=(0,s.vt)(),nt=(0,s.vt)(),rt=(0,s.vt)(),ot=(0,s.vt)(),it=(0,s.vt)()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7367],{87367(n,e,t){t.r(e),t.d(e,{registerFunctions:()=>g});var r=t(47609),a=t(67862),i=t(66395),s=t(85935),o=t(54639),l=t(78878),c=t(80672),u=t(38222),f=t(98919),d=t(71163),y=t(36983),w=t(70333),m=t(11254);async function p(n,e,t){const r=w.id?.findCredential(n.restUrl);if(!r)return null;if("loaded"===n.loadStatus&&""===e&&n.user?.sourceJSON&&!1===t)return n.user.sourceJSON;const a={responseType:"json",query:{f:"json"}};if(t&&(a.query.returnUserLicenseTypeExtensions=!0),""===e){const e=await(0,m.A)(n.restUrl+"/community/self",a);if(e.data){const n=e.data;if(n?.username)return n}return null}const i=await(0,m.A)(n.restUrl+"/community/users/"+e,a);if(i.data){const n=i.data;return n.error?null:n}return null}var h=t(54218);function R(n){if(null==n)return n;switch(typeof n){case"string":case"number":return n;default:throw new s.D$("InvalidParameter",null)}}function g(n){"async"===n.mode&&(n.functions.disjoint=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]||(0,d.C)("disjoint",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.intersects=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("intersects",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.touches=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("touches",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.crosses=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("crosses",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.within=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("within",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.contains=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("contains",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.overlaps=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("overlaps",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])))},n.functions.equals=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>((0,l.E)(r,2,2,t),r[0]===r[1]||((0,l.d)(r[0])&&(0,l.d)(r[1])?(0,d.C)("equals",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]):((0,l.f)(r[0])&&(0,l.f)(r[1])||!!((0,l.r)(r[0])&&(0,l.r)(r[1])||(0,l.q)(r[0])&&(0,l.q)(r[1])))&&r[0].equals(r[1]))))},n.functions.relate=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,3,3,t),(0,l.d)(r[0])&&(0,l.d)(r[1]))return(0,d.C)("relate",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference),(0,l.w)(r[2])]);if((0,l.d)(r[0])&&null===r[1])return!1;if((0,l.d)(r[1])&&null===r[0])return!1;if(null===r[0]&&null===r[1])return!1;throw new s.D$("InvalidParameter",t)})},n.functions.intersection=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]?null:(0,y.R)(await(0,d.C)("intersection",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)))},n.functions.union=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(0===(r=(0,l.H)(r)).length)throw new s.D$("WrongNumberOfParameters",t);const a=[];if(1===r.length)if((0,h.cy)(r[0])){for(const n of(0,l.H)(r[0]))if(null!==n){if(!(0,l.d)(n))throw new s.D$("InvalidParameter",t);a.push(n)}}else{if(!(0,l.g)(r[0])){if((0,l.d)(r[0]))return r[0].clone();if(null===r[0])return null;throw new s.D$("InvalidParameter",t)}for(const n of(0,l.H)(r[0].toArray()))if(null!==n){if(!(0,l.d)(n))throw new s.D$("InvalidParameter",t);a.push(n)}}else for(const n of r)if(null!==n){if(!(0,l.d)(n))throw new s.D$("InvalidParameter",t);a.push(n)}if(0===a.length)return null;const i=a[0].spatialReference;return(0,y.R)(await(0,d.C)("union",[a.map(n=>n.asJsonGeometry()),(0,o.b)(i)]),i)})},n.functions.difference=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]?null:null===r[1]?r[0].clone():(0,y.R)(await(0,d.C)("difference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)))},n.functions.symmetricdifference=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>(r=(0,l.H)(r),(0,f.ZL)(r,t),null===r[0]&&null===r[1]?null:null===r[0]?r[1]?.clone()??null:null===r[1]?r[0]?.clone()??null:(0,y.R)(await(0,d.C)("symmetricDifference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)))},n.functions.clip=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),!(0,l.J)(r[1])&&null!==r[1])throw new s.D$("InvalidParameter",t);if(null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return null===r[1]?null:(0,y.R)(await(0,d.C)("clip",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)})},n.functions.cut=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),!(0,l.K)(r[1])&&null!==r[1])throw new s.D$("InvalidParameter",t);if(null===r[0])return[];if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);if(null===r[1])return[r[0].clone()];const a=r[0].spatialReference;return(await(0,d.C)("cut",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])).map(n=>(0,y.R)(n,a)).filter(n=>null!=n)})},n.functions.area=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{if((0,l.E)(a,1,2,t),a=(0,l.H)(a),(0,l.k)(a[0])){const n=await a[0].sumArea(R(a[1]),null,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}let i=a[0];if(((0,h.cy)(i)||(0,l.g)(i))&&(i=(0,u.zt)(a[0],e.spatialReference)),null===i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("area",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),R(a[1])])})},n.functions.areageodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{(0,l.E)(a,1,3,t);let i=(a=(0,l.H)(a))[0];((0,h.cy)(i)||(0,l.g)(i))&&(i=(0,u.zt)(i,e.spatialReference));const c=R(a[1]),y=(0,f.qr)(a[2]);if((0,l.k)(i)){const n=await i.sumArea(c,y,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}if(null==i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("geodeticArea",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),c,y])})},n.functions.length=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{if((0,l.E)(a,1,2,t),a=(0,l.H)(a),(0,l.k)(a[0])){const n=await a[0].sumLength(R(a[1]),null,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}let i=a[0];if(((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(i=(0,u.X1)(a[0],e.spatialReference)),null===i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("length",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),R(a[1])])})},n.functions.length3d=function(e,r){return n.standardFunctionAsync(e,r,async(n,a,i)=>{if((0,l.E)(i,1,2,r),null===(i=(0,l.H)(i))[0])return 0;let c=i[0];if(((0,h.cy)(i[0])||(0,l.g)(i[0]))&&(c=(0,u.X1)(i[0],e.spatialReference)),null===c)return 0;if(!(0,l.d)(c))throw new s.D$("InvalidParameter",r);if(!0===c.hasZ){const{convertFromSpatialReferenceUnit:n,toLengthUnit:e}=await Promise.resolve().then(t.bind(t,40547)),r=(0,f.UI)(c);return n(c.spatialReference,e(i[1]),r)}return(0,d.C)("length",[c.asJsonGeometry(),(0,o.b)(c.spatialReference),R(i[1])])})},n.functions.lengthgeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{(0,l.E)(a,1,3,t);let i=(a=(0,l.H)(a))[0];((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(i=(0,u.X1)(a[0],e.spatialReference));const c=R(a[1]),y=(0,f.qr)(a[2]);if((0,l.k)(i)){const n=await i.sumLength(c,y,e.abortSignal);if(e.abortSignal.aborted)throw new s.D$("Cancelled",t);return n}if(null===i)return 0;if(!(0,l.d)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("geodeticLength",[i.asJsonGeometry(),(0,o.b)(i.spatialReference),c,y])})},n.functions.distance=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{a=(0,l.H)(a),(0,l.E)(a,2,3,t);let i=a[0];if(((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(i=(0,u.yg)(a[0],e.spatialReference)),!(0,l.d)(i))throw new s.D$("InvalidParameter",t);let c=a[1];if(((0,h.cy)(a[1])||(0,l.g)(a[1]))&&(c=(0,u.yg)(a[1],e.spatialReference)),!(0,l.d)(c))throw new s.D$("InvalidParameter",t);return(0,d.C)("distance",[i.asJsonGeometry(),c.asJsonGeometry(),(0,o.b)(i.spatialReference),R(a[2])])})},n.functions.distancegeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,t);const a=r[0];if(!(0,l.L)(a))throw new s.D$("InvalidParameter",t);const i=r[1];if(!(0,l.L)(i))throw new s.D$("InvalidParameter",t);return(0,d.C)("geodeticDistance",[a.asJsonGeometry(),i.asJsonGeometry(),(0,o.b)(a.spatialReference),R(r[2]),(0,f.qr)(r[3])])})},n.functions.densify=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,3,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=(0,l.v)(r[1]);if(isNaN(a))throw new s.D$("InvalidParameter",t);if(a<=0)throw new s.D$("InvalidParameter",t);switch(r[0].type){case"polygon":case"polyline":case"extent":return(0,y.R)(await(0,d.C)("densify",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference),a,R(r[2])]),r[0].spatialReference);default:return r[0]}})},n.functions.densifygeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,l.d)(a))throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(isNaN(i))throw new s.D$("InvalidParameter",t);if(i<=0)throw new s.D$("InvalidParameter",t);const c=R(r[2]),u=(0,f.qr)(r[3]);switch(a.type){case"polygon":case"polyline":case"extent":return(0,y.R)(await(0,d.C)("geodeticDensify",[a.asJsonGeometry(),(0,o.b)(a.spatialReference),i,c,u]),a.spatialReference);default:return a}})},n.functions.generalize=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,4,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=(0,l.v)(r[1]);if(isNaN(a))throw new s.D$("InvalidParameter",t);const i=(0,l.M)((0,l.N)(r[2],!0));return(0,y.R)(await(0,d.C)("generalize",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference),a,R(r[3]),i]),r[0].spatialReference)})},n.functions.buffer=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,3,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=(0,l.v)(r[1]);if(isNaN(a))throw new s.D$("InvalidParameter",t);return 0===a?r[0].clone():(0,y.R)(await(0,d.C)("buffer",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference),a,R(r[2])]),r[0].spatialReference)})},n.functions.buffergeodetic=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,l.d)(a))throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(isNaN(i))throw new s.D$("InvalidParameter",t);if(0===i)return a.clone();const c=R(r[2]),u=(0,f.qr)(r[3]);return(0,y.R)(await(0,d.C)("geodesicBuffer",[a.asJsonGeometry(),(0,o.b)(a.spatialReference),i,c,u]),a.spatialReference)})},n.functions.offset=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,6,t);const a=r[0];if(null===a)return null;if(!(0,l.d)(a)||"polygon"!==a.type&&"polyline"!==a.type)throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(isNaN(i))throw new s.D$("InvalidParameter",t);const c=r[2],u=(0,f.ug)(r[3]),w=(0,l.v)((0,l.N)(r[4],10));if(isNaN(w))throw new s.D$("InvalidParameter",t);const m=(0,l.v)((0,l.N)(r[5],0));if(isNaN(m))throw new s.D$("InvalidParameter",t);return(0,y.R)(await(0,d.C)("offset",[a.asJsonGeometry(),(0,o.b)(a.spatialReference),i,R(c),u,w,m]),a.spatialReference)})},n.functions.rotate=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{r=(0,l.H)(r),(0,l.E)(r,2,3,t);const a=r[0];if(null===a)return null;if(!(0,l.d)(a))throw new s.D$("InvalidParameter",t);const i=(0,l.v)(r[1]);if(!Number.isFinite(i))throw new s.D$("InvalidParameter",t);const o=r[2];if(null!=o&&!(0,l.L)(o))throw new s.D$("InvalidParameter",t);const c=o?.asJsonLikeGeometry();return(0,y.R)(await(0,d.C)("rotate",[a.asJsonGeometry(),i,c?.x,c?.y]),a.spatialReference)})},n.functions.centroid=function(e,t){return n.standardFunctionAsync(e,t,async(n,r,a)=>{if(a=(0,l.H)(a),(0,l.E)(a,1,2,t),null===a[0])return null;const i=(0,f.Hz)(a[1]);let o=a[0];if(((0,h.cy)(a[0])||(0,l.g)(a[0]))&&(o="geometric"===i?(0,u.yg)(a[0],e.spatialReference):(0,u.zt)(a[0],e.spatialReference),null===o))return null;if(!(0,l.d)(o))throw new s.D$("InvalidParameter",t);return(0,y.p)("point","geometric"===i?await(0,d.C)("centroid",[o.asJsonGeometry()]):await(0,d.C)("labelPoint",[o.asJsonGeometry()]),o.spatialReference)})},n.functions.measuretocoordinate=function(e,t){return n.standardFunctionAsync(e,t,f.Cd)},n.functions.pointtocoordinate=function(e,t){return n.standardFunctionAsync(e,t,f.kr)},n.functions.distancetocoordinate=function(e,t){return n.standardFunctionAsync(e,t,f.Bn)},n.functions.multiparttosinglepart=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);const a=r[0].spatialReference;return(await(0,d.C)("multiPartToSinglePart",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])).map(n=>(0,y.R)(n,a)).filter(n=>null!=n)})},n.functions.isselfintersecting=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,t)=>{(0,l.E)(t,1,1,e);let r=(t=(0,l.H)(t))[0];return((0,h.cy)(t[0])||(0,l.g)(t[0]))&&(r=(0,u.X1)(t[0],n.spatialReference)),!!(0,l.d)(r)&&await(0,d.C)("isSelfIntersecting",[r.asJsonGeometry(),(0,o.b)(r.spatialReference)])})},n.functions.issimple=function(e,t){return n.standardFunctionAsync(e,t,(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return!0;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return(0,d.C)("isSimple",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference)])})},n.functions.simplify=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return(0,y.R)(await(0,d.C)("simplify",[r[0].asJsonGeometry(),(0,o.b)(r[0].spatialReference)]),r[0].spatialReference)})},n.functions.convexhull=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,1,1,t),null===r[0])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);return(0,y.R)(await(0,d.C)("convexHull",[r[0].asJsonGeometry()]),r[0].spatialReference)})},n.functions.getuser=function(e,t){return n.standardFunctionAsync(e,t,async(n,i,o)=>{(0,l.E)(o,0,2,t);let u=(0,l.N)(o[1],""),f=!0===u;if(u=!0===u||!1===u?"":(0,l.w)(u),0===o.length||o[0]instanceof r.A){const n=(0,c.RI)(e,o.length>0?o[0]:null),t=await p(n,u,f);return null!=t?(0,a.Tg)(JSON.parse(JSON.stringify(t))):null}let d=null;if((0,l.k)(o[0])&&(d=o[0]),d){if(f=!1,u)return null;await d.load();const n=await d.getOwningSystemUrl();if(!n){if(!u){const n=await d.getIdentityUser();return null!=n?(0,a.Tg)({username:n}):null}return null}const t=(0,c.RI)(e,new r.A(n)),i=await p(t,u,f);return null!=i?(0,a.Tg)(JSON.parse(JSON.stringify(i))):null}throw new s.D$("InvalidParameter",t)})},n.functions.nearestcoordinate=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);if(!(0,l.L)(r[1]))throw new s.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestCoordinate",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:i.A.createMutable({__proto__:null,coordinate:(0,y.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})},n.functions.nearestvertex=function(e,t){return n.standardFunctionAsync(e,t,async(n,e,r)=>{if(r=(0,l.H)(r),(0,l.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,l.d)(r[0]))throw new s.D$("InvalidParameter",t);if(!(0,l.L)(r[1]))throw new s.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestVertex",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:i.A.createMutable({__proto__:null,coordinate:(0,y.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})})}},71163(n,e,t){t.d(e,{C:()=>l});var r=t(29953);let a,i,s=!1;function o(){return a??=(0,r.ho)("arcadeGeometryOperatorsWorker").then(n=>{i=n,s=!0,a=void 0})}async function l(n,e){return s?i.apply("invokeGeometryOp",[n,e]):(await o(),l(n,e))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1150,1948,3456],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,r){r.d(e,{JR:()=>_,ME:()=>M,MY:()=>O,NO:()=>C,Nh:()=>S,V2:()=>Z,_s:()=>Y,e6:()=>V,gh:()=>E,tr:()=>I,uX:()=>x});var s=r(32198),n=r(16930),i=r(19419),a=r(60408),o=r(21325),u=r(513),h=r(50954),l=r(79567),c=r(52006),g=r(49663),m=r(46068),f=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:l,segmentParams:c,segmentCountArc:g,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=l,this.segmentParams=c,this.segmentCountArc=g,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=Z(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:l}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new v(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(t){this.geometry=t,this.index=-1,this._readVertex=F(t),this._segments=new d(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class d{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new y(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class y{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=F(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,l]]};const c=2&s?0:1,g=1&s?0:1;return{a:[this.end,[o,u],c,g,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,u=P(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new A(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,c.yP)(r)}const[a,o,h,g]=n;e={xmin:a,ymin:o,xmax:h,ymax:g,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:u}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function M(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,R(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=Z(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:l}=n;function g(t){u[2*f]=t[0],u[2*f+1]=t[1],i&&(h[f]=t[2]),o&&(l[f]=t[m]),++f}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])u[2*f]=t,u[2*f+1]=e,++f;return n}for(const t of r[0])g(t);return n}const x="polygon"===s,{partOffsets:p}=n;let v=0;if(!(0,c.Ed)(t)){for(const t of r){if(p[v++]=f,0===t.length)continue;let e=t.length;if(x&&R(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)g(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*f]=e,u[2*f+1]=s,++f}}return p[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let y=0;for(const t of r){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];g(r);const i=f-1;(0,c.wY)(s)?(d(10),++n.segmentCountArc,y=Y(r,s,n,i,y),r=s.a[0]):(0,c.DA)(s)?(d(10),++n.segmentCountArc,y=b(r,s,n,i,y),r=s.a[0]):(0,c.aO)(s)?(d(10),++n.segmentCountArc,y=V(r,s,n,i,y),r=s.c[0]):(0,c.n1)(s)?(d(4),++n.segmentCountBezier,y=I(0,s,n,i,y),r=s.b[0]):r=s}x&&R(e,r)||g(r)}return n.partOffsets[v]=f,n}function E(t){const e=F(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=P(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function S(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=Z(t,u,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const l=2+Number(s)+Number(n);let c=0,g=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[g],i=e+t-Number(o);h.partOffsets[++g]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[c++],h.vertexXY[2*t+1]=r[c++],s&&(h.vertexZ[t]=r[c++]),n&&(h.vertexM[t]=r[c++]);o&&(c+=l)}return h}function _({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new f.A([],[],o,u);i=Math.max(i,1);const l="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,g=h.coords.length;for(let t=c;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(l){const t=c;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-g)/h.stride),c=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,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function P({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function F({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function R(t,e){return t.every((t,r)=>t===e[r])}function Z(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+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 l=new ArrayBuffer(h);let c=0;return u.vertexXY=new Float64Array(l,c,2*e),c+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(l,c,e),c+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(l,c,e),c+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(l,c,u.segmentParamCount),c+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(l,c,e),u.segmentIndices.fill(k),c+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(l,c,r+1),c+=u.partOffsets.byteLength,u.partFlags=new Int8Array(l,c,r+1),c+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(l,c,e),u.segmentFlags.fill(1),c+=u.segmentFlags.byteLength),u}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],l,c,g,f,x]=e.a;let p=4;c||(p|=1),l||(p|=2);const v=(0,m.SW)(t,e),[d,y]=(0,m.Uk)(v,.5);return n[a++]=p,n[a++]=f,n[a++]=x,n[a++]=g,n[a++]=u,n[a++]=h,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,g.io)(t,e);return w(o,4,...(0,u.mq)(o,.5),n,a)}function V(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,w((0,h.pM)(t,e),0,...e.c[1],n,a)}function w(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:l}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function I(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,l){return a[h]=2,o[h]=l,u[l++]=r,u[l++]=s,u[l++]=n,u[l++]=i,l}const X=1.61803,k=-1},81150(t,e,r){r.d(e,{execute:()=>a,f:()=>h,isSimpleAsFeature:()=>u,z:()=>o});var s=r(76061),n=(r(55537),r(88885),r(39117));r(95213);const i=new n.J;function a(t,e,r){return i.execute(t,e,r,null)}function o(t,e,r){const n=i.executeMany(new s.S(t),e,r,null);return Array.from(n)}function u(t,e,r){return i.isSimpleAsFeature(t,e,r,null,null)}function h(){return i.supportsCurves()}},3637(t,e,r){r.r(e),r.d(e,{execute:()=>i,executeMany:()=>a,isSimple:()=>o});var s=r(81150),n=r(83299);function i(t){const e=(0,n.fromGeometry)(t),r=e.getSpatialReference();return(0,n.toGeometry)((0,s.execute)(e.getGeometry(),r,!1),r)}function a(t){const[e,r]=(0,n.fromGeometries)(t);return(0,s.z)(e,r,!1).map(t=>(0,n.toGeometry)(t,r))}function o(t){const e=(0,n.fromGeometry)(t);return(0,s.isSimpleAsFeature)(e.getGeometry(),e.getSpatialReference(),!1)}}}]);
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{importLazily as t}from"../../core/importUtils.js";function o(o){return t(async()=>{const t=await o();return!1===t.isLoaded?.()&&await t.load(),t})}export{o as importLazily};