@arcgis/core 5.2.0-next.40 → 5.2.0-next.42

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 (634) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/02ab09285a5c4ca98066.js +1 -0
  3. package/assets/esri/core/workers/chunks/0646524250bb9fe82935.js +1 -0
  4. package/assets/esri/core/workers/chunks/0a50efb07eee36237e21.js +1 -0
  5. package/assets/esri/core/workers/chunks/0a98a13418f53082ca7a.js +1 -0
  6. package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +1 -0
  7. package/assets/esri/core/workers/chunks/0ae35b02dda9b9662560.js +1 -0
  8. package/assets/esri/core/workers/chunks/0d1224693a62a26a0e72.js +1 -0
  9. package/assets/esri/core/workers/chunks/{542d8a6c415098b9857c.js → 0da4816c11b45b4a6289.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{8a39dd585742960d3ca2.js → 0dcfd82a2669df6eb5a0.js} +1 -1
  11. package/assets/esri/core/workers/chunks/0f19bc532be24ca64755.js +1 -0
  12. package/assets/esri/core/workers/chunks/0f674c625f24ac73e25a.js +1 -0
  13. package/assets/esri/core/workers/chunks/11a3aa43fb940c21f148.js +1 -0
  14. package/assets/esri/core/workers/chunks/11e00ca5ac1b004f4ecc.js +1 -0
  15. package/assets/esri/core/workers/chunks/1276df03201c1b855fee.js +1 -0
  16. package/assets/esri/core/workers/chunks/13c893e448bedc5c1cef.js +1 -0
  17. package/assets/esri/core/workers/chunks/15c2d9bec0455fc363a9.js +1 -0
  18. package/assets/esri/core/workers/chunks/15de305ac3d6433748e7.js +1 -0
  19. package/assets/esri/core/workers/chunks/18d874739ee9ffad7480.js +1 -0
  20. package/assets/esri/core/workers/chunks/1dc1bfb3425665f560e4.js +1 -0
  21. package/assets/esri/core/workers/chunks/{1cd8dff4373494b01ad4.js → 1e342d532925569daadb.js} +1 -1
  22. package/assets/esri/core/workers/chunks/1f118d85d8271ad7690b.js +1 -0
  23. package/assets/esri/core/workers/chunks/1fece9757de7c10d1e9f.js +1 -0
  24. package/assets/esri/core/workers/chunks/{a2e754df3215e8b00a8f.js → 2015f4def2ef201bdab8.js} +1 -1
  25. package/assets/esri/core/workers/chunks/23570397304969f724b3.js +1 -0
  26. package/assets/esri/core/workers/chunks/24c0b3586bb6500eda53.js +2 -0
  27. package/assets/esri/core/workers/chunks/26e7884d8639df4d994b.js +1 -0
  28. package/assets/esri/core/workers/chunks/26fdc8382e009672924e.js +1 -0
  29. package/assets/esri/core/workers/chunks/{96860b6035e0b06672dd.js → 272c8ab189217240d05f.js} +1 -1
  30. package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +1 -0
  31. package/assets/esri/core/workers/chunks/279a9a38b04a21cdfd11.js +1 -0
  32. package/assets/esri/core/workers/chunks/284e88805184334396fe.js +1 -0
  33. package/assets/esri/core/workers/chunks/28bc5e8e82f188b30eb9.js +1 -0
  34. package/assets/esri/core/workers/chunks/2a4868acd546312aa6d8.js +1 -0
  35. package/assets/esri/core/workers/chunks/2d7cfc68a38dabd8898a.js +1 -0
  36. package/assets/esri/core/workers/chunks/2da337d7fd9295f6b967.js +1 -0
  37. package/assets/esri/core/workers/chunks/2e79fb1b8445b2091cdb.js +1 -0
  38. package/assets/esri/core/workers/chunks/2f29f08cddd5add9388e.js +1 -0
  39. package/assets/esri/core/workers/chunks/30c53a7e1ad5aa52f2f3.js +1 -0
  40. package/assets/esri/core/workers/chunks/31c4db1eac8f765bb93f.js +1 -0
  41. package/assets/esri/core/workers/chunks/321dbc60f44819c2b4de.js +1 -0
  42. package/assets/esri/core/workers/chunks/32fb597aef66c444758f.js +1 -0
  43. package/assets/esri/core/workers/chunks/34fcb776e4de1d870bbd.js +30 -0
  44. package/assets/esri/core/workers/chunks/354199a41de44902de84.js +1 -0
  45. package/assets/esri/core/workers/chunks/36781219ca9ba5d7fe52.js +1 -0
  46. package/assets/esri/core/workers/chunks/36999a2e383c8eb3c398.js +1 -0
  47. package/assets/esri/core/workers/chunks/36f8a912842181e1f0aa.js +1 -0
  48. package/assets/esri/core/workers/chunks/{ed1d4ebf487c7dcd5c33.js → 37a8cfec11057947b45f.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{2b2b042a6d6949b06127.js → 381790e1f3df05c7eb68.js} +1 -1
  50. package/assets/esri/core/workers/chunks/383304d33b496c5d8baa.js +1 -0
  51. package/assets/esri/core/workers/chunks/{4e28f49d0be20ea50fd7.js → 383392c63202ac044b6c.js} +1 -1
  52. package/assets/esri/core/workers/chunks/394716bd1ecfd638d708.js +2 -0
  53. package/assets/esri/core/workers/chunks/399e23d777a043efa9f1.js +1 -0
  54. package/assets/esri/core/workers/chunks/3aacb935d632834d4154.js +1 -0
  55. package/assets/esri/core/workers/chunks/3c8e98cf23ad8ef12fcb.js +1 -0
  56. package/assets/esri/core/workers/chunks/4129b27fcd4103cdc499.js +1 -0
  57. package/assets/esri/core/workers/chunks/44e64186318728d1be51.js +1 -0
  58. package/assets/esri/core/workers/chunks/474ea8c97d101e41b3f5.js +1 -0
  59. package/assets/esri/core/workers/chunks/475c60ed8785d07911c6.js +1 -0
  60. package/assets/esri/core/workers/chunks/{c7662455252b48531da1.js → 484b3e2a220c440ccbb4.js} +1 -1
  61. package/assets/esri/core/workers/chunks/4d4710d57c72ec75cccc.js +1 -0
  62. package/assets/esri/core/workers/chunks/4e1b087453fc5e20e961.js +1 -0
  63. package/assets/esri/core/workers/chunks/4e94793aab42ebd251ca.js +1 -0
  64. package/assets/esri/core/workers/chunks/4f59357f535f30a6b5cc.js +1 -0
  65. package/assets/esri/core/workers/chunks/509cfac9e5d86a8ee449.js +1 -0
  66. package/assets/esri/core/workers/chunks/510acf2e8781be9b0dba.js +1 -0
  67. package/assets/esri/core/workers/chunks/5133083222588799493f.js +1 -0
  68. package/assets/esri/core/workers/chunks/52c4b4dabcb0d162be72.js +1 -0
  69. package/assets/esri/core/workers/chunks/{697e0ce10d77b90d4fee.js → 538fe46dfd685a490e23.js} +1 -1
  70. package/assets/esri/core/workers/chunks/5441f96cdd0660229efe.js +1 -0
  71. package/assets/esri/core/workers/chunks/551d0c5432f7a08dea77.js +1 -0
  72. package/assets/esri/core/workers/chunks/55924fb0de05e727f5e3.js +1 -0
  73. package/assets/esri/core/workers/chunks/55af58b6dff52dc040fe.js +2 -0
  74. package/assets/esri/core/workers/chunks/56bbde1dff96b423fbb9.js +1 -0
  75. package/assets/esri/core/workers/chunks/57824ecc10b25e3ad794.js +1 -0
  76. package/assets/esri/core/workers/chunks/{9ba705a6ddabca0f77b1.js → 580451761cadfe308919.js} +1 -1
  77. package/assets/esri/core/workers/chunks/590e977f8eeb379b86c8.js +1398 -0
  78. package/assets/esri/core/workers/chunks/5923ebadd4f75be2c9cc.js +1 -0
  79. package/assets/esri/core/workers/chunks/5b18696109fe84a1010a.js +2 -0
  80. package/assets/esri/core/workers/chunks/{db96a0c66578b2d1b715.js → 5b30231ae0a8f4b8435f.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{77a4f6f224d7ca4b69f4.js → 5bf4ab72b9634b06cc5d.js} +1 -1
  82. package/assets/esri/core/workers/chunks/5ce168ae45ab7e7a71d1.js +1 -0
  83. package/assets/esri/core/workers/chunks/{7b1678dcf62481469544.js → 5dc17b76c6ecc24e7b9a.js} +1 -1
  84. package/assets/esri/core/workers/chunks/5e35828216020f33e26b.js +1 -0
  85. package/assets/esri/core/workers/chunks/5f0d6c853873a7f32527.js +1 -0
  86. package/assets/esri/core/workers/chunks/5fe9eea35ddb428efd8b.js +1 -0
  87. package/assets/esri/core/workers/chunks/6010b7be978698a642d0.js +1 -0
  88. package/assets/esri/core/workers/chunks/613e799377bdb767c955.js +1 -0
  89. package/assets/esri/core/workers/chunks/6210fb6cd31844f23964.js +1 -0
  90. package/assets/esri/core/workers/chunks/632ab11cdd4b0d9a5cc5.js +1 -0
  91. package/assets/esri/core/workers/chunks/64247e439ef3e1f712e9.js +1 -0
  92. package/assets/esri/core/workers/chunks/661a59133ae34f172174.js +1 -0
  93. package/assets/esri/core/workers/chunks/67468c50ecb1fbedda87.js +1 -0
  94. package/assets/esri/core/workers/chunks/6b0acd1a7dd74a7367e0.js +1 -0
  95. package/assets/esri/core/workers/chunks/6d247ff53421d27628ce.js +1 -0
  96. package/assets/esri/core/workers/chunks/6e45d0db97ffa4509177.js +1 -0
  97. package/assets/esri/core/workers/chunks/6f408397e2c8a2ea9805.js +1 -0
  98. package/assets/esri/core/workers/chunks/700c08dd2e734c15e621.js +1 -0
  99. package/assets/esri/core/workers/chunks/705d6b108fd121cea887.js +1 -0
  100. package/assets/esri/core/workers/chunks/71ce1009dadcae8f8094.js +1 -0
  101. package/assets/esri/core/workers/chunks/72fe7fb03c156f26a589.js +1 -0
  102. package/assets/esri/core/workers/chunks/733b2e181683d5fc7c95.js +1 -0
  103. package/assets/esri/core/workers/chunks/7684f0c771d312e05bb4.js +680 -0
  104. package/assets/esri/core/workers/chunks/79b857bb301f9c4169d6.js +1 -0
  105. package/assets/esri/core/workers/chunks/79c0a966f7d11d3c217f.js +1 -0
  106. package/assets/esri/core/workers/chunks/7a818499c1079906c2d7.js +1 -0
  107. package/assets/esri/core/workers/chunks/7ac47a9ad244100bc3b1.js +1 -0
  108. package/assets/esri/core/workers/chunks/7b862a074816c099b9ff.js +1 -0
  109. package/assets/esri/core/workers/chunks/7baa363b3b0a442a63d2.js +1 -0
  110. package/assets/esri/core/workers/chunks/7cc729b57a6a52c8ac68.js +1 -0
  111. package/assets/esri/core/workers/chunks/{4abe820bbe4f7ffccc09.js → 7df795bc4fa1d433463b.js} +1 -1
  112. package/assets/esri/core/workers/chunks/7f7a76f5fef25049fbf8.js +1 -0
  113. package/assets/esri/core/workers/chunks/7fa9dc39bf0a7a6fdc1f.js +1 -0
  114. package/assets/esri/core/workers/chunks/821176ee3be724621bb0.js +1 -0
  115. package/assets/esri/core/workers/chunks/825eb845216762a1ed2f.js +1 -0
  116. package/assets/esri/core/workers/chunks/82f4aa0533db009b11d8.js +2 -0
  117. package/assets/esri/core/workers/chunks/{2a344bca6837ca3b5c41.js.LICENSE.txt → 82f4aa0533db009b11d8.js.LICENSE.txt} +0 -6
  118. package/assets/esri/core/workers/chunks/830d1a7dee43422507ab.js +1 -0
  119. package/assets/esri/core/workers/chunks/835643f716f7058a2722.js +1 -0
  120. package/assets/esri/core/workers/chunks/84fa102a93b2144c28fb.js +1 -0
  121. package/assets/esri/core/workers/chunks/85ce7673d42526a79fd2.js +1 -0
  122. package/assets/esri/core/workers/chunks/893ffc38e1a43de5b63d.js +1 -0
  123. package/assets/esri/core/workers/chunks/{93df864c2e829f0fd5ce.js → 8a1970e68bc1e833cb7f.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{684c9b4bd9590d2db12f.js → 8a410edcdf74ba957159.js} +1 -1
  125. package/assets/esri/core/workers/chunks/8b73694d5a97638a3a61.js +1 -0
  126. package/assets/esri/core/workers/chunks/8bb20ef549ec1c86b38e.js +1 -0
  127. package/assets/esri/core/workers/chunks/{6ef3b8d67b498d655a99.js → 8c5e65982c3f9295e844.js} +1 -1
  128. package/assets/esri/core/workers/chunks/8cb2fe91d1d8f49c14f8.js +1 -0
  129. package/assets/esri/core/workers/chunks/{1961b59756933e0a82f2.js → 8dcc6c19d5b3a5ac5512.js} +1 -1
  130. package/assets/esri/core/workers/chunks/8dee03779b569f233daf.js +1 -0
  131. package/assets/esri/core/workers/chunks/8ec5e470583b75fceae1.js +1 -0
  132. package/assets/esri/core/workers/chunks/8f2fecd8a0a972d68590.js +1 -0
  133. package/assets/esri/core/workers/chunks/9073b0f0ec93d6e243b9.js +1 -0
  134. package/assets/esri/core/workers/chunks/90ace5f9b4af1beea6bf.js +1 -0
  135. package/assets/esri/core/workers/chunks/934044f2ef6ce199b399.js +1 -0
  136. package/assets/esri/core/workers/chunks/94719ac469dadc4c05dc.js +1 -0
  137. package/assets/esri/core/workers/chunks/94e9cf8e729ec36de5be.js +1 -0
  138. package/assets/esri/core/workers/chunks/96d5fed0235558c0e348.js +1 -0
  139. package/assets/esri/core/workers/chunks/98b27cf8acbfa4259758.js +1 -0
  140. package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +1 -0
  141. package/assets/esri/core/workers/chunks/99772ce7e628364434fa.js +1 -0
  142. package/assets/esri/core/workers/chunks/{b1a0eb6598309e11337f.js → 99e3aa4832ed87474ab4.js} +1 -1
  143. package/assets/esri/core/workers/chunks/9a6208ab670ad74e6f7d.js +1 -0
  144. package/assets/esri/core/workers/chunks/9a97f6cda2f36941efae.js +1 -0
  145. package/assets/esri/core/workers/chunks/9b1199104a6822ab7340.js +1 -0
  146. package/assets/esri/core/workers/chunks/9ceeae787dc7c194d60e.js +1 -0
  147. package/assets/esri/core/workers/chunks/9ebc98746b1f085b82b7.js +1 -0
  148. package/assets/esri/core/workers/chunks/9ee3741eef73f3edb18b.js +1 -0
  149. package/assets/esri/core/workers/chunks/9fb87a7dba62b527c0ba.js +1 -0
  150. package/assets/esri/core/workers/chunks/a10f63a08d976be058be.js +1 -0
  151. package/assets/esri/core/workers/chunks/a183b77854f5b42c1a86.js +1 -0
  152. package/assets/esri/core/workers/chunks/a23f4d8e7c372f5fb6d7.js +1 -0
  153. package/assets/esri/core/workers/chunks/a25f51d2d3ff6b9af7ca.js +1 -0
  154. package/assets/esri/core/workers/chunks/a27172dacdb85a774c4b.js +1 -0
  155. package/assets/esri/core/workers/chunks/a27cdf4c29dd50a6dab1.js +1 -0
  156. package/assets/esri/core/workers/chunks/a294dd12b5c708ce04af.js +1 -0
  157. package/assets/esri/core/workers/chunks/a3c882fe7599dc0f4f27.js +1 -0
  158. package/assets/esri/core/workers/chunks/a90f7b1c6c69b6033b4c.js +1 -0
  159. package/assets/esri/core/workers/chunks/a9c641bcdef161c754bf.js +1 -0
  160. package/assets/esri/core/workers/chunks/a9d391071803b1e9e8a0.js +1 -0
  161. package/assets/esri/core/workers/chunks/aaa66a04b882b0ba2961.js +1 -0
  162. package/assets/esri/core/workers/chunks/ae50b2d5e63f62c088d2.js +1 -0
  163. package/assets/esri/core/workers/chunks/af3ac4bed43e901b59c7.js +1 -0
  164. package/assets/esri/core/workers/chunks/af97e19516dbbcfb5286.js +1 -0
  165. package/assets/esri/core/workers/chunks/aff0e7761276036e029d.js +1 -0
  166. package/assets/esri/core/workers/chunks/b23d1e10fc4161d1f3eb.js +1 -0
  167. package/assets/esri/core/workers/chunks/b32bdf5730953c2fb16b.js +1 -0
  168. package/assets/esri/core/workers/chunks/b3f1a442d6b7826e917f.js +1 -0
  169. package/assets/esri/core/workers/chunks/b4047333265a2665aef9.js +1 -0
  170. package/assets/esri/core/workers/chunks/b7170816736769d3b7b0.js +1 -0
  171. package/assets/esri/core/workers/chunks/{5c63b38160c7d063b8af.js → b780514be87a22b49b01.js} +1 -1
  172. package/assets/esri/core/workers/chunks/b792857a178da2dd77d6.js +1 -0
  173. package/assets/esri/core/workers/chunks/b819a9187426d0c146df.js +1 -0
  174. package/assets/esri/core/workers/chunks/{1d92da90fbbc3f98b201.js → b8d788e110c212a879ab.js} +1 -1
  175. package/assets/esri/core/workers/chunks/b94cd7eac5ff4a78dd5b.js +1 -0
  176. package/assets/esri/core/workers/chunks/b9d6f89f9b8e9d1bc787.js +1 -0
  177. package/assets/esri/core/workers/chunks/b9f40681af1fa00b5bbe.js +1 -0
  178. package/assets/esri/core/workers/chunks/{bc547cf814d6703cef59.js → bb95922cd4631d6f17fb.js} +1 -1
  179. package/assets/esri/core/workers/chunks/bcb5017500d144b73908.js +1 -0
  180. package/assets/esri/core/workers/chunks/bd862382f72ebd446b46.js +1 -0
  181. package/assets/esri/core/workers/chunks/bdd19dab276d20d5381a.js +1 -0
  182. package/assets/esri/core/workers/chunks/bee5e738ecf8680909c4.js +1 -0
  183. package/assets/esri/core/workers/chunks/{9be4438ce2c7180adadf.js → bf287f0e2ecb4532dc00.js} +1 -1
  184. package/assets/esri/core/workers/chunks/{5115059b012ef84407cf.js → bfb6566c27c09deb0929.js} +1 -1
  185. package/assets/esri/core/workers/chunks/c055c16379f5bb56e930.js +1 -0
  186. package/assets/esri/core/workers/chunks/c13e55b9efb0b532f7ee.js +1 -0
  187. package/assets/esri/core/workers/chunks/c1845682cc9a5aac8703.js +261 -0
  188. package/assets/esri/core/workers/chunks/c369d4266f38e9ea6592.js +1 -0
  189. package/assets/esri/core/workers/chunks/c3fae4f4522604a9c17e.js +1 -0
  190. package/assets/esri/core/workers/chunks/c4c25db769a78e677e33.js +1 -0
  191. package/assets/esri/core/workers/chunks/c50e4e8c6188e64e7d45.js +1 -0
  192. package/assets/esri/core/workers/chunks/c838cc1c786368b78598.js +1 -0
  193. package/assets/esri/core/workers/chunks/c8db0a4fb5bc982dc9fc.js +1 -0
  194. package/assets/esri/core/workers/chunks/{82adfa2dbd40e1becaf4.js → c97451f75c23be979476.js} +1 -1
  195. package/assets/esri/core/workers/chunks/ca118c42c0f609ca7912.js +1 -0
  196. package/assets/esri/core/workers/chunks/ca419858910af5505d3d.js +1 -0
  197. package/assets/esri/core/workers/chunks/cb17cd8aaf77238c0236.js +1 -0
  198. package/assets/esri/core/workers/chunks/{034dd8ee5152a12412cd.js → cba3316910ff088f4d77.js} +1 -1
  199. package/assets/esri/core/workers/chunks/cc414fd2e313d89d524d.js +1 -0
  200. package/assets/esri/core/workers/chunks/{7b8466f892a38a53c600.js → cce83896093279c70449.js} +1 -1
  201. package/assets/esri/core/workers/chunks/cda04571d7623c17ada2.js +1 -0
  202. package/assets/esri/core/workers/chunks/cea4b18e7f83c02922b1.js +1 -0
  203. package/assets/esri/core/workers/chunks/cf03d391d50a4c7aca4f.js +1 -0
  204. package/assets/esri/core/workers/chunks/d03f427442bb0c287d05.js +1 -0
  205. package/assets/esri/core/workers/chunks/d082de5dd83bd73d209b.js +1 -0
  206. package/assets/esri/core/workers/chunks/d08d3c6f21e6ba8268ca.js +1 -0
  207. package/assets/esri/core/workers/chunks/d36f17d32c654b1ac7fa.js +1 -0
  208. package/assets/esri/core/workers/chunks/d36fba71c52ea4e71546.js +1 -0
  209. package/assets/esri/core/workers/chunks/{18f980465db5a86153d1.js → d37a72111dffc4c4db70.js} +1 -1
  210. package/assets/esri/core/workers/chunks/d41ab2abcfacc87809b5.js +1 -0
  211. package/assets/esri/core/workers/chunks/d4ed094962a41d756c95.js +1 -0
  212. package/assets/esri/core/workers/chunks/d5561dff043789494845.js +1 -0
  213. package/assets/esri/core/workers/chunks/d66d58ed5d66520ab1bf.js +1 -0
  214. package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +1 -0
  215. package/assets/esri/core/workers/chunks/d847c3cb2043a983145b.js +1 -0
  216. package/assets/esri/core/workers/chunks/d849bdaf5bdfdc37531a.js +1 -0
  217. package/assets/esri/core/workers/chunks/da6134c7883531f21afe.js +1 -0
  218. package/assets/esri/core/workers/chunks/{c48dfda8dcb9551606fb.js → dad39ddf0f8dfb0bef47.js} +1 -1
  219. package/assets/esri/core/workers/chunks/dadefe369f49e89a2610.js +1 -0
  220. package/assets/esri/core/workers/chunks/dccb46c7dce68528c72b.js +1 -0
  221. package/assets/esri/core/workers/chunks/ddafe402f1bc9e8285ef.js +1 -0
  222. package/assets/esri/core/workers/chunks/de9573871f64c01e9f01.js +1 -0
  223. package/assets/esri/core/workers/chunks/dedf678490572c500a19.js +30 -0
  224. package/assets/esri/core/workers/chunks/df174346a7e9b629a392.js +1 -0
  225. package/assets/esri/core/workers/chunks/df30053a10d4930924d5.js +1 -0
  226. package/assets/esri/core/workers/chunks/dfbdc72c7ea137e3841d.js +1 -0
  227. package/assets/esri/core/workers/chunks/e21b3490bfce75405e55.js +1 -0
  228. package/assets/esri/core/workers/chunks/e2c9393bec747f7876bb.js +1 -0
  229. package/assets/esri/core/workers/chunks/e3e966777f18164afcd8.js +1 -0
  230. package/assets/esri/core/workers/chunks/e4a2eefffe16cd5bb20f.js +1 -0
  231. package/assets/esri/core/workers/chunks/{d0983cc19d19c19c3478.js → e4aacfc1617ccf60bd5a.js} +1 -1
  232. package/assets/esri/core/workers/chunks/{3a526e1d18490b99332f.js → e5bb7ee670a3ba5ba3fe.js} +1 -1
  233. package/assets/esri/core/workers/chunks/e5c75459de85a6dd2f14.js +1 -0
  234. package/assets/esri/core/workers/chunks/{757982a73174aa7ab0d1.js → e6b5c015205d38abe037.js} +1 -1
  235. package/assets/esri/core/workers/chunks/e798ca23f02a2dd65bd4.js +1 -0
  236. package/assets/esri/core/workers/chunks/e94f2d6037fba042dc6e.js +1 -0
  237. package/assets/esri/core/workers/chunks/e9511627418c6864148a.js +1 -0
  238. package/assets/esri/core/workers/chunks/ec1a2e68957fae48e60b.js +30 -0
  239. package/assets/esri/core/workers/chunks/ec2e0b2e31fd53b81d0a.js +1 -0
  240. package/assets/esri/core/workers/chunks/ed552941eca621a51f16.js +1 -0
  241. package/assets/esri/core/workers/chunks/ee58f4bbc0a1f7d03df0.js +1 -0
  242. package/assets/esri/core/workers/chunks/f04cb48fc73635d0572f.js +1 -0
  243. package/assets/esri/core/workers/chunks/f06f591680c9e93e69f6.js +1 -0
  244. package/assets/esri/core/workers/chunks/f1d3cf674b6bea89e122.js +1 -0
  245. package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +1 -0
  246. package/assets/esri/core/workers/chunks/{6a51499c6623ddce5f00.js → f2adf1227a795604d3b8.js} +1 -1
  247. package/assets/esri/core/workers/chunks/{57c003c6745d450558a7.js → f4aed2b6e92bd0474069.js} +1 -1
  248. package/assets/esri/core/workers/chunks/f4eda59ec1e816ecc827.js +1 -0
  249. package/assets/esri/core/workers/chunks/f5d7f69047e1b1116202.js +1 -0
  250. package/assets/esri/core/workers/chunks/f5d809d30cbb56be852d.js +1 -0
  251. package/assets/esri/core/workers/chunks/{2d92f0042facb55edcff.js → f65adaaa33d9f3b131f6.js} +1 -1
  252. package/assets/esri/core/workers/chunks/f8f0de841be17cd05c8f.js +1 -0
  253. package/assets/esri/core/workers/chunks/f9b654f801cb416e9e17.js +1 -0
  254. package/assets/esri/core/workers/chunks/fb34d6d96c8c0d53fcf6.js +1 -0
  255. package/assets/esri/core/workers/chunks/fb51f823b25c827c6b29.js +1 -0
  256. package/assets/esri/core/workers/chunks/fba8065a3a6fbd877e23.js +1 -0
  257. package/assets/esri/core/workers/chunks/fd47ee8598e37fea03fe.js +1 -0
  258. package/assets/esri/core/workers/chunks/fefbde2c2e527bb716ee.js +1 -0
  259. package/assets/esri/core/workers/chunks/ff089723a27859fe18d1.js +1 -0
  260. package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
  261. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  262. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  263. package/assets/esri/themes/base/_core.scss +0 -6
  264. package/assets/esri/themes/dark/main.css +1 -1
  265. package/assets/esri/themes/light/main.css +1 -1
  266. package/assets/esri/themes/light/view.css +1 -1
  267. package/chunks/CutFillMinMaxDepth.glsl.js +2 -0
  268. package/chunks/CutFillTotalDepth.glsl.js +2 -0
  269. package/chunks/EdgeShader.glsl.js +9 -9
  270. package/chunks/GaussianSplat.glsl.js +1 -1
  271. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  272. package/chunks/arcgis-knowledge-client-core.js +1 -1
  273. package/chunks/cameraUtilsSpherical.js +1 -1
  274. package/config.js +1 -1
  275. package/editing/geometry/coordUtils.js +1 -1
  276. package/geohash/geohashUtils.js +1 -1
  277. package/geometry/support/aaBoundingRect.js +1 -1
  278. package/geometry/support/quantizationUtils.js +1 -1
  279. package/geometry/support/sphere.js +1 -1
  280. package/interfaces.d.ts +5 -0
  281. package/intl/date.js +1 -1
  282. package/kernel.js +1 -1
  283. package/layers/AnnotationFeatureLayer.d.ts +13 -3
  284. package/layers/DimensionFeatureLayer.d.ts +10 -3
  285. package/layers/graphics/featureConversionUtils.js +1 -1
  286. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  287. package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
  288. package/layers/raster/formats/Lerc.js +1 -1
  289. package/layers/raster/formats/RasterCodec.js +1 -1
  290. package/layers/support/fieldUtils.js +1 -1
  291. package/package.json +3 -3
  292. package/support/revision.js +1 -1
  293. package/views/2d/engine/vectorTiles/GeometryUtils.js +1 -1
  294. package/views/2d/engine/webgl/Painter.js +1 -1
  295. package/views/2d/engine/webgl/definitions.js +1 -1
  296. package/views/2d/engine/webgl/effects/FeatureEffect.js +1 -1
  297. package/views/2d/engine/webgl/effects/HighlightEffect.js +1 -1
  298. package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
  299. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  300. package/views/2d/engine/webgl/mesh/templates/segmentUtils.js +1 -1
  301. package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
  302. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitBlitShader.js +2 -0
  303. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/DebugOverlayShader.js +2 -0
  304. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HighlightShader.js +2 -0
  305. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/WorldExtentStencilShader.js +2 -0
  306. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  307. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  308. package/views/2d/engine/webgl/shaderGraph/techniques/utility/BitBlitTechnique.js +2 -0
  309. package/views/2d/engine/webgl/shaderGraph/techniques/utility/DebugOverlayTechnique.js +2 -0
  310. package/views/2d/engine/webgl/shaderGraph/techniques/utility/HighlightTechnique.js +2 -0
  311. package/views/2d/engine/webgl/shaderGraph/techniques/utility/WorldExtentClipTechnique.js +2 -0
  312. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  313. package/views/2d/layers/features/FeatureContainer.js +1 -1
  314. package/views/2d/layers/support/DebugOverlay.js +1 -1
  315. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  316. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  317. package/views/3d/layers/I3SMeshView3D.js +1 -1
  318. package/views/3d/layers/SceneLayerWorker.js +1 -1
  319. package/views/3d/layers/SceneLayerWorkerHandle.js +1 -1
  320. package/views/3d/layers/i3s/I3SNode.js +1 -1
  321. package/views/3d/layers/i3s/SphereCone.js +1 -1
  322. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  323. package/views/3d/support/cameraUtilsSpherical.js +1 -1
  324. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  325. package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
  326. package/views/3d/terrain/OverlayRenderer.js +1 -1
  327. package/views/3d/webgl/RenderCamera.js +1 -1
  328. package/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js +2 -2
  329. package/views/3d/webgl-engine/core/shaderLibrary/util/emissionFilter.glsl.js +1 -1
  330. package/views/3d/webgl-engine/effects/WeatherFader.js +1 -1
  331. package/views/3d/webgl-engine/effects/clouds/CloudsParameters.js +1 -1
  332. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
  333. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  334. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  335. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  336. package/views/3d/webgl-engine/lib/CutFillComputation.js +1 -1
  337. package/views/3d/webgl-engine/lib/GaussianSplatShadows.js +1 -1
  338. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  339. package/views/3d/webgl-engine/lib/IntersectorInterfaces.js +1 -1
  340. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  341. package/views/3d/webgl-engine/lib/PolygonIntersections2D.js +2 -0
  342. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  343. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  344. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  345. package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/AdjustProjectedPosition.glsl.js +1 -1
  346. package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/DiscardNonSilhouetteEdges.glsl.js +1 -1
  347. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  348. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShader.glsl.js +1 -1
  349. package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/EdgeUtil.glsl.js +1 -1
  350. package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/LineAmplitude.glsl.js +1 -1
  351. package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/LineOffset.glsl.js +1 -1
  352. package/views/3d/webgl-engine/{shaders/sources/edgeRenderer → lib/edgeRendering}/UnpackAttributes.glsl.js +1 -1
  353. package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
  354. package/views/3d/webgl-engine/materials/DefaultBufferWriter.js +1 -1
  355. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  356. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  357. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  358. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  359. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  360. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  361. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  362. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  363. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  364. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  365. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  366. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  367. package/views/3d/webgl-engine/materials/TriangleMaterial.js +1 -1
  368. package/views/3d/webgl-engine/materials/renderers/BufferRange.js +1 -1
  369. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  370. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  371. package/views/3d/webgl-engine/shaders/CutFillMinMaxDepth.glsl.js +2 -0
  372. package/views/3d/webgl-engine/shaders/CutFillMinMaxDepthTechnique.js +2 -0
  373. package/views/3d/webgl-engine/shaders/{CutFillDepth.glsl.js → CutFillTotalDepth.glsl.js} +1 -1
  374. package/views/3d/webgl-engine/shaders/CutFillTotalDepthTechnique.js +2 -0
  375. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +1 -1
  376. package/views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js +1 -1
  377. package/views/Viewport2DMixin.js +1 -1
  378. package/views/input/BrowserEventSource.js +1 -1
  379. package/views/input/InputManager.js +1 -1
  380. package/views/interactive/snapping/snappingUtils.js +1 -1
  381. package/views/support/euclideanLengthMeasurementUtils.js +1 -1
  382. package/views/webgl/VertexAttributeLayouts.js +1 -1
  383. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  384. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  385. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  386. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  387. package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
  388. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  389. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  390. package/widgets/Legend/support/relationshipRampUtils.js +1 -1
  391. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  392. package/widgets/OrientedImageryViewer/utils.js +1 -1
  393. package/widgets/Sketch.js +1 -1
  394. package/assets/esri/core/workers/chunks/02b043a3c5fa8bcb4c5b.js +0 -1
  395. package/assets/esri/core/workers/chunks/03437a8ef35c200dbf17.js +0 -1
  396. package/assets/esri/core/workers/chunks/0603cbd938ab619c706b.js +0 -1
  397. package/assets/esri/core/workers/chunks/08405116b5feb2d00101.js +0 -1
  398. package/assets/esri/core/workers/chunks/0a6e03263ab0906d8bcf.js +0 -1
  399. package/assets/esri/core/workers/chunks/0af6b87a3d77bb93b893.js +0 -1
  400. package/assets/esri/core/workers/chunks/0edd250159ec259601b3.js +0 -1
  401. package/assets/esri/core/workers/chunks/0f10d7d592c36ee2d1ea.js +0 -1
  402. package/assets/esri/core/workers/chunks/0f8fcbd0650b6a924f75.js +0 -1
  403. package/assets/esri/core/workers/chunks/0f976bfb7db98c2c0e05.js +0 -1
  404. package/assets/esri/core/workers/chunks/1040bce57ea63a6dbca4.js +0 -2
  405. package/assets/esri/core/workers/chunks/10510f76f8538c2dfb84.js +0 -1
  406. package/assets/esri/core/workers/chunks/1079914101d69a40b3eb.js +0 -1
  407. package/assets/esri/core/workers/chunks/11af659688cf963ea6cd.js +0 -1
  408. package/assets/esri/core/workers/chunks/15081b361fc42f40b865.js +0 -1
  409. package/assets/esri/core/workers/chunks/1599dc5309a4e60017ce.js +0 -261
  410. package/assets/esri/core/workers/chunks/181e98399732f425305d.js +0 -1
  411. package/assets/esri/core/workers/chunks/1837f97f720d255a1694.js +0 -1
  412. package/assets/esri/core/workers/chunks/18c4c437ded8bfbd3305.js +0 -1
  413. package/assets/esri/core/workers/chunks/18f4b2099299942aaf97.js +0 -1
  414. package/assets/esri/core/workers/chunks/1958facb000b6c16bfe4.js +0 -1
  415. package/assets/esri/core/workers/chunks/196e7515a43bd0026f49.js +0 -1
  416. package/assets/esri/core/workers/chunks/1a0903b1d2d5101977c6.js +0 -1
  417. package/assets/esri/core/workers/chunks/1aa7496a7dc95aae11ac.js +0 -1
  418. package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +0 -1
  419. package/assets/esri/core/workers/chunks/1c263ffb7144e171a64f.js +0 -1
  420. package/assets/esri/core/workers/chunks/1d524690c4b66289bd20.js +0 -1
  421. package/assets/esri/core/workers/chunks/20fa2c3d4360afa5e136.js +0 -1
  422. package/assets/esri/core/workers/chunks/210ffc448c73a7bf63aa.js +0 -1
  423. package/assets/esri/core/workers/chunks/23f81f4a3d7a983eef23.js +0 -1
  424. package/assets/esri/core/workers/chunks/2540beb53f1443a070d7.js +0 -1
  425. package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +0 -1
  426. package/assets/esri/core/workers/chunks/2757c4bf0280e27f3484.js +0 -1
  427. package/assets/esri/core/workers/chunks/294537e1ac43e8dfeaea.js +0 -1
  428. package/assets/esri/core/workers/chunks/29a1d0659bbc5a039864.js +0 -1
  429. package/assets/esri/core/workers/chunks/29df3f829006719b2680.js +0 -1
  430. package/assets/esri/core/workers/chunks/2a344bca6837ca3b5c41.js +0 -2
  431. package/assets/esri/core/workers/chunks/2a5dbed88bbd96cfac9f.js +0 -1
  432. package/assets/esri/core/workers/chunks/2b044c8fab2055a8818d.js +0 -1
  433. package/assets/esri/core/workers/chunks/2d956dacb26d71d1c174.js +0 -1
  434. package/assets/esri/core/workers/chunks/2da797ae5af9d2ede42d.js +0 -1
  435. package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +0 -1
  436. package/assets/esri/core/workers/chunks/2e495a28494c2351837b.js +0 -1
  437. package/assets/esri/core/workers/chunks/2ef80e003b4f0393ac2e.js +0 -1
  438. package/assets/esri/core/workers/chunks/2fc3e43b64300014dddc.js +0 -1
  439. package/assets/esri/core/workers/chunks/30cf84a47ebefd180bb7.js +0 -1
  440. package/assets/esri/core/workers/chunks/314bc1b356d43bfa72a8.js +0 -1
  441. package/assets/esri/core/workers/chunks/34a024eda22d228e1fbe.js +0 -1
  442. package/assets/esri/core/workers/chunks/37e823202424c11076cb.js +0 -1
  443. package/assets/esri/core/workers/chunks/38a76bc4ef5c10ab0488.js +0 -1
  444. package/assets/esri/core/workers/chunks/390f2beee8e3f2a302e4.js +0 -1
  445. package/assets/esri/core/workers/chunks/3a76fffa2016c16d7989.js +0 -1398
  446. package/assets/esri/core/workers/chunks/3c2eb386c0165150e039.js +0 -1
  447. package/assets/esri/core/workers/chunks/3e4b379a6a197b9c4e6b.js +0 -1
  448. package/assets/esri/core/workers/chunks/3ec91474658eae87b832.js +0 -1
  449. package/assets/esri/core/workers/chunks/3eee32db0e9a5086b9a8.js +0 -1
  450. package/assets/esri/core/workers/chunks/406c7723e8db470822bf.js +0 -1
  451. package/assets/esri/core/workers/chunks/41aca863324387576cf8.js +0 -1
  452. package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +0 -1
  453. package/assets/esri/core/workers/chunks/4452fd0c59431904d533.js +0 -1
  454. package/assets/esri/core/workers/chunks/448e0596005cba9a4225.js +0 -1
  455. package/assets/esri/core/workers/chunks/4545cf12ad0824ce6b41.js +0 -1
  456. package/assets/esri/core/workers/chunks/45530a49fa1f09d1682e.js +0 -1
  457. package/assets/esri/core/workers/chunks/459e89d1b94a3b204d20.js +0 -30
  458. package/assets/esri/core/workers/chunks/45b2e58051f42ebd236e.js +0 -1
  459. package/assets/esri/core/workers/chunks/4611cf051c3c396fdf96.js +0 -1
  460. package/assets/esri/core/workers/chunks/46e3d33e44e5398221e2.js +0 -1
  461. package/assets/esri/core/workers/chunks/47656ec12401e53f4bd3.js +0 -1
  462. package/assets/esri/core/workers/chunks/47948c72bc01bd173c20.js +0 -2
  463. package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +0 -1
  464. package/assets/esri/core/workers/chunks/49713dfa4c8b788079d1.js +0 -1
  465. package/assets/esri/core/workers/chunks/4a8201e09bc3ad5cc00b.js +0 -1
  466. package/assets/esri/core/workers/chunks/4ad86d6b1be07c97b6f6.js +0 -1
  467. package/assets/esri/core/workers/chunks/4be0c64bbf2449d57ea5.js +0 -1
  468. package/assets/esri/core/workers/chunks/4d57c771af4137f74bfb.js +0 -1
  469. package/assets/esri/core/workers/chunks/4f25aac84d9eb10cac83.js +0 -1
  470. package/assets/esri/core/workers/chunks/50b34e246f8eef2f6e07.js +0 -1
  471. package/assets/esri/core/workers/chunks/514ab968c0d75062e6ab.js +0 -1
  472. package/assets/esri/core/workers/chunks/51838d55d8ec4ce70398.js +0 -1
  473. package/assets/esri/core/workers/chunks/557300ec03bae84d8afc.js +0 -1
  474. package/assets/esri/core/workers/chunks/57abf838fcff0f0e2c5e.js +0 -1
  475. package/assets/esri/core/workers/chunks/57dd017fed2943d24e3d.js +0 -1
  476. package/assets/esri/core/workers/chunks/59801b2ccaaf4b394e02.js +0 -1
  477. package/assets/esri/core/workers/chunks/5a2d2dcdfa8d958f277d.js +0 -1
  478. package/assets/esri/core/workers/chunks/5a62c9f64db4fcae5e52.js +0 -1
  479. package/assets/esri/core/workers/chunks/5aebecb5c2b3e7887127.js +0 -1
  480. package/assets/esri/core/workers/chunks/5e68b74fd548c7cdba36.js +0 -1
  481. package/assets/esri/core/workers/chunks/5f360492560ae07083a6.js +0 -1
  482. package/assets/esri/core/workers/chunks/6022f43ebd58e21c737a.js +0 -1
  483. package/assets/esri/core/workers/chunks/6048c89fc4dcd2e9988d.js +0 -1
  484. package/assets/esri/core/workers/chunks/61efc7f5fab1c2b1f764.js +0 -1
  485. package/assets/esri/core/workers/chunks/62b137a795e487fa06a1.js +0 -1
  486. package/assets/esri/core/workers/chunks/632de34ebd2f44b4423d.js +0 -1
  487. package/assets/esri/core/workers/chunks/63ca17f569407c89bde1.js +0 -30
  488. package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +0 -1
  489. package/assets/esri/core/workers/chunks/6596b12bb286a0b45a68.js +0 -1
  490. package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +0 -1
  491. package/assets/esri/core/workers/chunks/661f50cb97604453f942.js +0 -1
  492. package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +0 -1
  493. package/assets/esri/core/workers/chunks/6896a6dd36fa91a27151.js +0 -1
  494. package/assets/esri/core/workers/chunks/68bc674affe2f7269c40.js +0 -1
  495. package/assets/esri/core/workers/chunks/6c02493a1c1deff49c7e.js +0 -1
  496. package/assets/esri/core/workers/chunks/6cdf1db30793133294dd.js +0 -1
  497. package/assets/esri/core/workers/chunks/6ff6783f89ecd3a5e752.js +0 -1
  498. package/assets/esri/core/workers/chunks/70763c7b68d8abe8d5fe.js +0 -1
  499. package/assets/esri/core/workers/chunks/716b1f073e3cd807abd3.js +0 -1
  500. package/assets/esri/core/workers/chunks/71a3f05cb86ae2920f8d.js +0 -1
  501. package/assets/esri/core/workers/chunks/71b672259bac2befd9c7.js +0 -1
  502. package/assets/esri/core/workers/chunks/71c996e1ae84d9daddf2.js +0 -1
  503. package/assets/esri/core/workers/chunks/723bb56de2324b41df4e.js +0 -1
  504. package/assets/esri/core/workers/chunks/73f61107cb7e6d30bf03.js +0 -1
  505. package/assets/esri/core/workers/chunks/752c34cee981862add89.js +0 -1
  506. package/assets/esri/core/workers/chunks/75915f81caaf9e5345a9.js +0 -1
  507. package/assets/esri/core/workers/chunks/75baf6dff6e7658b17b3.js +0 -1
  508. package/assets/esri/core/workers/chunks/760dfd585b6c2c1937ce.js +0 -1
  509. package/assets/esri/core/workers/chunks/76449e50222111ba0eb1.js +0 -1
  510. package/assets/esri/core/workers/chunks/76789f46b2c65d219cf9.js +0 -1
  511. package/assets/esri/core/workers/chunks/76bed5497f42f23a27ed.js +0 -1
  512. package/assets/esri/core/workers/chunks/7849cf0352c0a604e164.js +0 -1
  513. package/assets/esri/core/workers/chunks/7908aed639521cf572e8.js +0 -1
  514. package/assets/esri/core/workers/chunks/7d65a8ec5e1f871b9321.js +0 -1
  515. package/assets/esri/core/workers/chunks/7e4093f42795ba2f8cfd.js +0 -1
  516. package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +0 -1
  517. package/assets/esri/core/workers/chunks/804c31973f7d116523cb.js +0 -1
  518. package/assets/esri/core/workers/chunks/81726d997a2d34449bb2.js +0 -1
  519. package/assets/esri/core/workers/chunks/81883bca8a79ee2ddb00.js +0 -1
  520. package/assets/esri/core/workers/chunks/832ecc1f7d45774c4726.js +0 -1
  521. package/assets/esri/core/workers/chunks/8461f50e9875db4ccfec.js +0 -1
  522. package/assets/esri/core/workers/chunks/8598997340682113a2a5.js +0 -1
  523. package/assets/esri/core/workers/chunks/860a0f9d20f53db1caf4.js +0 -1
  524. package/assets/esri/core/workers/chunks/867e39bb444947c93586.js +0 -1
  525. package/assets/esri/core/workers/chunks/88ec63501fa2f6fdadca.js +0 -1
  526. package/assets/esri/core/workers/chunks/8980767c5b626e4dc3b9.js +0 -1
  527. package/assets/esri/core/workers/chunks/89dd1b1acb0d69264c93.js +0 -1
  528. package/assets/esri/core/workers/chunks/8a66a3e8391206f7d8aa.js +0 -1
  529. package/assets/esri/core/workers/chunks/8a8b7ac6693bdfbebf07.js +0 -1
  530. package/assets/esri/core/workers/chunks/8ad5e80e911419c1685a.js +0 -1
  531. package/assets/esri/core/workers/chunks/8b526ca2dd6fc6a7e921.js +0 -1
  532. package/assets/esri/core/workers/chunks/8e80441eddef1b5be8b9.js +0 -1
  533. package/assets/esri/core/workers/chunks/8f16a358ed83d2264415.js +0 -1
  534. package/assets/esri/core/workers/chunks/8fce15ce4cfdccf407f3.js +0 -1
  535. package/assets/esri/core/workers/chunks/8fd63cb38036f331a803.js +0 -1
  536. package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +0 -1
  537. package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +0 -1
  538. package/assets/esri/core/workers/chunks/937cf55b3b9d324eea73.js +0 -1
  539. package/assets/esri/core/workers/chunks/93d4bda22bde33fafa57.js +0 -1
  540. package/assets/esri/core/workers/chunks/9639b1dd27ccc17ee21e.js +0 -1
  541. package/assets/esri/core/workers/chunks/966d002acec8c72be56a.js +0 -1
  542. package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +0 -1
  543. package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +0 -1
  544. package/assets/esri/core/workers/chunks/9aef0b87f471626abd66.js +0 -1
  545. package/assets/esri/core/workers/chunks/9ba9a3705623679bc305.js +0 -1
  546. package/assets/esri/core/workers/chunks/a188d0767825d322f96d.js +0 -1
  547. package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +0 -1
  548. package/assets/esri/core/workers/chunks/a638de0102c3990403d1.js +0 -1
  549. package/assets/esri/core/workers/chunks/a6bda5f17fb1c03f7e4b.js +0 -1
  550. package/assets/esri/core/workers/chunks/a6dc01847f39413f78b8.js +0 -1
  551. package/assets/esri/core/workers/chunks/acc733b4881c3e4e503e.js +0 -1
  552. package/assets/esri/core/workers/chunks/b022debf9e0bc2bff0e2.js +0 -1
  553. package/assets/esri/core/workers/chunks/b09935d0105d50a0971b.js +0 -1
  554. package/assets/esri/core/workers/chunks/b12fc1b5a9da97346684.js +0 -1
  555. package/assets/esri/core/workers/chunks/b4323e69e624c6b51754.js +0 -1
  556. package/assets/esri/core/workers/chunks/b45e91249a8ea1559a2b.js +0 -1
  557. package/assets/esri/core/workers/chunks/b50a42a9f96515beb929.js +0 -1
  558. package/assets/esri/core/workers/chunks/b5141f240ca79729686d.js +0 -1
  559. package/assets/esri/core/workers/chunks/b549a4d4b1a34bee8beb.js +0 -1
  560. package/assets/esri/core/workers/chunks/bb89b6fd93513c61b2d3.js +0 -1
  561. package/assets/esri/core/workers/chunks/bc553ecc8cbcc1b02717.js +0 -1
  562. package/assets/esri/core/workers/chunks/bcba02f61cf0abcb5600.js +0 -1
  563. package/assets/esri/core/workers/chunks/bccc199af4e2e49f7acd.js +0 -1
  564. package/assets/esri/core/workers/chunks/bd0f488e228a75fbefb3.js +0 -30
  565. package/assets/esri/core/workers/chunks/bd155794e9bc16dd0474.js +0 -1
  566. package/assets/esri/core/workers/chunks/bf6ae205fbfbfcd1a0ee.js +0 -1
  567. package/assets/esri/core/workers/chunks/c148ad0ea9258046ac1f.js +0 -1
  568. package/assets/esri/core/workers/chunks/c228b058dd91bf0e1102.js +0 -1
  569. package/assets/esri/core/workers/chunks/c4e44fde4bc4ff89e2bc.js +0 -1
  570. package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +0 -1
  571. package/assets/esri/core/workers/chunks/c610ccbfdb1c5b06c217.js +0 -1
  572. package/assets/esri/core/workers/chunks/c660a5a1086870a3a6b9.js +0 -1
  573. package/assets/esri/core/workers/chunks/c8b7ffc5cb3f1493129e.js +0 -1
  574. package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +0 -1
  575. package/assets/esri/core/workers/chunks/c93a68618674b38b932e.js +0 -1
  576. package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +0 -1
  577. package/assets/esri/core/workers/chunks/cc0efa716b8414a44398.js +0 -1
  578. package/assets/esri/core/workers/chunks/cd66bd30f654fe571e57.js +0 -1
  579. package/assets/esri/core/workers/chunks/cd88e6f02bc2e5b67abf.js +0 -1
  580. package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +0 -1
  581. package/assets/esri/core/workers/chunks/cfbbfa5edffa57bd3a8e.js +0 -1
  582. package/assets/esri/core/workers/chunks/d0217187aed8bb7038f4.js +0 -1
  583. package/assets/esri/core/workers/chunks/d1928a8c86a8966e5582.js +0 -1
  584. package/assets/esri/core/workers/chunks/d2745886ba5a86fd5c4c.js +0 -680
  585. package/assets/esri/core/workers/chunks/d4c341b15d9244276fb9.js +0 -1
  586. package/assets/esri/core/workers/chunks/d5faab9799891e5da5a8.js +0 -1
  587. package/assets/esri/core/workers/chunks/d811924acc9c0be95bba.js +0 -1
  588. package/assets/esri/core/workers/chunks/db90fb8ac96579259566.js +0 -1
  589. package/assets/esri/core/workers/chunks/dd0acd0f8b96839b4f24.js +0 -2
  590. package/assets/esri/core/workers/chunks/dd785e595cd08b2d6284.js +0 -1
  591. package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +0 -1
  592. package/assets/esri/core/workers/chunks/e1ddb8e4977b317fd40c.js +0 -1
  593. package/assets/esri/core/workers/chunks/e4015870412edd69453c.js +0 -1
  594. package/assets/esri/core/workers/chunks/e7cb1b72f0b54e845741.js +0 -1
  595. package/assets/esri/core/workers/chunks/e7e7c7cbfd8542bd7a46.js +0 -1
  596. package/assets/esri/core/workers/chunks/e80376832050a4b6d28a.js +0 -1
  597. package/assets/esri/core/workers/chunks/e8a885b576da3ec145d3.js +0 -1
  598. package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +0 -1
  599. package/assets/esri/core/workers/chunks/e961c6140c39921816a8.js +0 -1
  600. package/assets/esri/core/workers/chunks/eb7daa0f6610983ff8db.js +0 -1
  601. package/assets/esri/core/workers/chunks/eb842cf470ce28a73187.js +0 -1
  602. package/assets/esri/core/workers/chunks/eeea5710275c967e8d51.js +0 -1
  603. package/assets/esri/core/workers/chunks/ef32e454012f3b0e3f77.js +0 -1
  604. package/assets/esri/core/workers/chunks/f31a8e76f1dde23c0900.js +0 -1
  605. package/assets/esri/core/workers/chunks/f50bba74ae72c07e131a.js +0 -1
  606. package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +0 -1
  607. package/assets/esri/core/workers/chunks/f80cadcc2a588da63b38.js +0 -1
  608. package/assets/esri/core/workers/chunks/f83e3ad67b60744afd6d.js +0 -1
  609. package/assets/esri/core/workers/chunks/f859c53432f258af77e3.js +0 -2
  610. package/assets/esri/core/workers/chunks/f8bbb52b865a0a242140.js +0 -1
  611. package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +0 -1
  612. package/assets/esri/core/workers/chunks/f9592bcdd9988199a7ea.js +0 -1
  613. package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +0 -1
  614. package/assets/esri/core/workers/chunks/ff7e1eb2366d4301d288.js +0 -1
  615. package/assets/esri/themes/base/_colorVariables.scss +0 -1
  616. package/assets/esri/themes/base/widgets/_DatePicker.scss +0 -170
  617. package/assets/esri/themes/base/widgets/_FeatureUtilityNetworkAssociationList.scss +0 -13
  618. package/assets/esri/themes/base/widgets/_TimePicker.scss +0 -15
  619. package/chunks/CutFillDepth.glsl.js +0 -2
  620. package/core/PLRUCache.js +0 -2
  621. package/views/2d/engine/webgl/BitBlitRenderer.js +0 -2
  622. package/views/2d/engine/webgl/WorldExtentClipRenderer.js +0 -2
  623. package/views/2d/engine/webgl/effects/highlight/HighlightRenderer.js +0 -2
  624. package/views/2d/engine/webgl/shaders/BitBlitPrograms.js +0 -2
  625. package/views/2d/engine/webgl/shaders/HighlightPrograms.js +0 -2
  626. package/views/2d/engine/webgl/shaders/StencilPrograms.js +0 -2
  627. package/views/3d/webgl-engine/shaders/CutFillDepthTechnique.js +0 -2
  628. package/views/3d/webgl-engine/shaders/CutFillDepthTechniqueConfiguration.js +0 -2
  629. package/views/support/euclideanAreaMeasurementUtils.js +0 -2
  630. package/widgets/ShadowCast/ShadowVisualizationType.js +0 -2
  631. /package/assets/esri/core/workers/chunks/{47948c72bc01bd173c20.js.LICENSE.txt → 24c0b3586bb6500eda53.js.LICENSE.txt} +0 -0
  632. /package/assets/esri/core/workers/chunks/{f859c53432f258af77e3.js.LICENSE.txt → 394716bd1ecfd638d708.js.LICENSE.txt} +0 -0
  633. /package/assets/esri/core/workers/chunks/{1040bce57ea63a6dbca4.js.LICENSE.txt → 55af58b6dff52dc040fe.js.LICENSE.txt} +0 -0
  634. /package/assets/esri/core/workers/chunks/{dd0acd0f8b96839b4f24.js.LICENSE.txt → 5b18696109fe84a1010a.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9508],{57582(t,e,s){s.d(e,{af:()=>n}),s(92602);const i="arial-unicode-ms";function n(t){if(!t)return i;const e=t.toLowerCase().split(" ").join("-");switch(e){case"serif":return"noto-serif";case"sans-serif":return"arial-unicode-ms";case"monospace":return"ubuntu-mono";case"fantasy":return"cabin-sketch";case"cursive":return"redressed";default:return e}}new Map,new Set,s.d(e,["Vb",0,i])},85560(t,e,s){function i(){const t=new Float32Array(6);return t[0]=1,t[3]=1,t}function n(t,e,s,i){const n=e[i],r=e[i+1];t[i]=s[0]*n+s[2]*r+s[4],t[i+1]=s[1]*n+s[3]*r+s[5]}s.d(e,{vt:()=>i}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(t){const e=new Float32Array(6);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},create:i,fromValues:function(t,e,s,i,n,r){const h=new Float32Array(6);return h[0]=t,h[1]=e,h[2]=s,h[3]=i,h[4]=n,h[5]=r,h},transform:n,transformMany:function(t,e,s,i=0,r=0,h=2){const o=r||e.length/h;for(let r=i;r<o;r++)n(t,e,s,r*h)}},Symbol.toStringTag,{value:"Module"}))},88340(t,e,s){function i(){return new Float32Array(2)}function n(t,e){const s=new Float32Array(2);return s[0]=t,s[1]=e,s}function r(){return i()}function h(){return n(1,1)}function o(){return n(1,0)}function a(){return n(0,1)}s.d(e,{fA:()=>n,vt:()=>i});const l=r(),c=h(),u=o(),_=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:u,UNIT_Y:_,ZEROS:l,clone:function(t){const e=new Float32Array(2);return e[0]=t[0],e[1]=t[1],e},create:i,fromValues:n,ones:h,unitX:o,unitY:a,zeros:r},Symbol.toStringTag,{value:"Module"})),s.d(e,["Un",0,c,"uY",0,l])},16905(t,e,s){s.d(e,{$0:()=>a,D_:()=>n,Tl:()=>o,e$:()=>h,lw:()=>r});var i=s(34304);function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=s[0],c=s[1],u=s[2],_=s[3],p=s[4],f=s[5];return t[0]=i*l+r*c,t[1]=n*l+h*c,t[2]=i*u+r*_,t[3]=n*u+h*_,t[4]=i*p+r*f+o,t[5]=n*p+h*f+a,t}function h(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=Math.sin(s),c=Math.cos(s);return t[0]=i*c+r*l,t[1]=n*c+h*l,t[2]=i*-l+r*c,t[3]=n*-l+h*c,t[4]=o,t[5]=a,t}function o(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=s[0],c=s[1];return t[0]=i,t[1]=n,t[2]=r,t[3]=h,t[4]=i*l+r*c+o,t[5]=n*l+h*c+a,t}function a(t,e){const s=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=s,t[2]=-s,t[3]=i,t[4]=0,t[5]=0,t}function l(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t[2]=e[2]-s[2],t[3]=e[3]-s[3],t[4]=e[4]-s[4],t[5]=e[5]-s[5],t}const c=r,u=l;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,s){return t[0]=e[0]+s[0],t[1]=e[1]+s[1],t[2]=e[2]+s[2],t[3]=e[3]+s[3],t[4]=e[4]+s[4],t[5]=e[5]+s[5],t},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},determinant:function(t){return t[0]*t[3]-t[1]*t[2]},equals:function(t,e){const s=t[0],n=t[1],r=t[2],h=t[3],o=t[4],a=t[5],l=e[0],c=e[1],u=e[2],_=e[3],p=e[4],f=e[5],d=(0,i.FD)();return Math.abs(s-l)<=d*Math.max(1,Math.abs(s),Math.abs(l))&&Math.abs(n-c)<=d*Math.max(1,Math.abs(n),Math.abs(c))&&Math.abs(r-u)<=d*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(h-_)<=d*Math.max(1,Math.abs(h),Math.abs(_))&&Math.abs(o-p)<=d*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(a-f)<=d*Math.max(1,Math.abs(a),Math.abs(f))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+1)},fromRotation:a,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=e[1],t[4]=0,t[5]=0,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=e[0],t[5]=e[1],t},identity:n,invert:function(t,e){const s=e[0],i=e[1],n=e[2],r=e[3],h=e[4],o=e[5];let a=s*r-i*n;return a?(a=1/a,t[0]=r*a,t[1]=-i*a,t[2]=-n*a,t[3]=s*a,t[4]=(n*o-r*h)*a,t[5]=(i*h-s*o)*a,t):null},mul:c,multiply:r,multiplyScalar:function(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s,t[3]=e[3]*s,t[4]=e[4]*s,t[5]=e[5]*s,t},multiplyScalarAndAdd:function(t,e,s,i){return t[0]=e[0]+s[0]*i,t[1]=e[1]+s[1]*i,t[2]=e[2]+s[2]*i,t[3]=e[3]+s[3]*i,t[4]=e[4]+s[4]*i,t[5]=e[5]+s[5]*i,t},rotate:h,scale:function(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=s[0],c=s[1];return t[0]=i*l,t[1]=n*l,t[2]=r*c,t[3]=h*c,t[4]=o,t[5]=a,t},set:function(t,e,s,i,n,r,h){return t[0]=e,t[1]=s,t[2]=i,t[3]=n,t[4]=r,t[5]=h,t},str:function(t){return"mat2d("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+")"},sub:u,subtract:l,translate:o},Symbol.toStringTag,{value:"Module"}))},36745(t,e,s){s.d(e,{z:()=>o});var i=s(4718),n=s(51118),r=s(60408),h=s(92722);class o{static fromOptimized(t,e,s=1){return(new a).initialize(t,e,s)}static fromJSON(t){const[e,s]=c(t),i=(0,r.Pv)(t),n=(0,r.W0)(t);return(new u).initialize(e,s,i,n,1)}static fromOptimizedCIM(t,e,s=1){return(new _).initialize(t,e,s)}static fromJSONCIM(t,e=1){const[s,i]=c(t),n=(0,r.Pv)(t),h=(0,r.W0)(t);return(new p).initialize(s,i,n,h,e)}static fromFeatureSetReader(t){const e=t.readGeometryForDisplay(),s=t.geometryType;return e&&s?this.fromOptimized(e,s):null}static fromFeatureSetReaderCIM(t){const e=t.readGeometryForDisplay(),s=t.geometryType;return e&&s?this.fromOptimizedCIM(e,s):null}static createEmptyOptimized(t,e=!1,s=!1,i=1){return(new _).initialize(new h.A([],[],e,s),t,i)}static createEmptyJSON(t,e=!1,s=!1){return(new u).initialize([],t,e,s,1)}static createEmptyOptimizedCIM(t,e=!1,s=!1,i=1){return(new _).initialize(new h.A([],[],e,s),t,i)}static createEmptyJSONCIM(t,e=!1,s=!1,i=1){return(new p).initialize([],t,e,s,i)}asJSON(){const t=(0,n.x)(this),{hasZ:e,hasM:s}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:t[0][0][0],ymin:t[0][0][1],xmax:t[0][2][0],ymax:t[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:t.flat(),hasZ:e,hasM:s}:"esriGeometryPoint"===this.geometryType?{x:t[0][0][0],y:t[0][0][1],z:e?t[0][0][2]:void 0,m:s?t[0][0][e?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:t,hasZ:e,hasM:s}:{paths:t,hasZ:e,hasM:s}}getCurrentRingArea(){if(this.pathSize<3)return 0;let t,e,s=0;if(this.seekPathStart(),!this.nextPoint())return 0;t=this.x,e=this.y;const i=t,n=e;for(;this.nextPoint();)s+=(t-this.x)*(e+this.y),t=this.x,e=this.y;return s+=(t-i)*(e+n),-.5*s}invertY(){this.yFactor*=-1}}class a extends o{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(t,e,s){return this.geometryType=e,this._stride=t.stride,this._geometry=t,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=s,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(t){if(t>=0&&t<this.totalSize){if(this._pathIndex<t)for(;this._pathIndex<t&&this.nextPath(););else if(this._pathIndex>t)for(;this._pathIndex>t&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(t){const e=this._pathOffset+t*this._stride;return e>=0&&e<this._end&&(this._pointOffset=e,!0)}nextPoint(){return(this._pointOffset+=this._stride)<this._end}prevPoint(){return(this._pointOffset-=this._stride)>=this._pathOffset}nextPath(){return!(this.pathIndex>=this.totalSize-1||(this._pathIndex>=0&&(this._pathOffset+=this._stride*this.pathSize),this._pathIndex++,this._pointOffset=this._pathOffset-this._stride,this._end=this._pointOffset+this._stride+this._stride*this.pathSize,0))}prevPath(){return!(this.pathIndex<=0||(this._pathIndex--,this._end=this._pathOffset,this._pathOffset-=this._stride*this.pathSize,this._pointOffset=this._pathOffset-this._stride,0))}getCurrentPath(){const t=this._end,e=this._geometry.coords,s=this._pathOffset;return(new a).initialize(new h.A([this.pathSize],e.slice(s,t),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){const t=this._end,e=this._stride,s=this._geometry.coords;let i=0;for(let n=this._pathOffset+e;n<t;n+=e){const t=s[n-e],r=s[n-e+1],h=s[n]-t,o=s[n+1]-r;i+=Math.sqrt(h*h+o*o)}return i}startPath(){this._geometry.lengths.push(0)}pushPath(t){this.startPath(),this.pushPoints(t)}pushPoint(t){for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]++}pushXY(t,e){this._geometry.coords.push(t,e),this._geometry.lengths[this.totalSize-1]++}pushPoints(t){for(const e of t)for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]+=t.length}pushCursor(t){const e=t.asOptimized();this._geometry.coords.push(...e.coords),this._geometry.lengths.push(...e.lengths)}asOptimized(){const t=this._geometry.clone();if(1!==this.yFactor)for(let e=1;e<t.coords.length;e+=this._stride)t.coords[e]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(t.lengths.length=0),t}isClosed(){const t=this._geometry.coords,e=this._pathOffset,s=this._end-this._stride;for(let i=0;i<this._stride;i++)if(t[e+i]!==t[s+i])return!1;return!0}clone(){return(new a).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((t,e)=>t+e)}get pathSize(){const{lengths:t}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>t.length-1?0:t[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(t){this._geometry.coords[this._pointOffset]=t}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(t){this._geometry.coords[this._pointOffset+1]=this.yFactor*t}get z(){return this._geometry.coords[this._pointOffset+2]}set z(t){this._geometry.coords[this._pointOffset+2]=t}get m(){const t=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+t]}set m(t){this._geometry.coords[this._pointOffset+3]=t}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function l(t){const e=[t.x,t.y];return t.z&&e.push(t.z),t.m&&e.push(t.m),e}function c(t){return(0,r.Bi)(t)?[t.rings,"esriGeometryPolygon"]:(0,r.Rg)(t)?[t.paths,"esriGeometryPolyline"]:(0,r.U9)(t)?[[t.points],"esriGeometryMultipoint"]:(0,r.ZC)(t)?[[[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]]],"esriGeometryEnvelope"]:(0,r.fT)(t)?[[[l(t)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class u extends o{initialize(t,e,s,i,n){return this._paths=t,this.geometryType=e,this.hasZ=s,this.hasM=i,this._pathIndex=this._pointIndex=-1,this.yFactor=n,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(t){return this._pathIndex=t,this._pointIndex=-1,t>=0&&t<this.totalSize&&(this._currentPath=this._paths[t],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(t){return t>=0&&t<this._currentPath.length&&(this._pointIndex=t,this._currentPoint=this._currentPath[this._pointIndex],!0)}nextPoint(){return this._currentPoint=this._currentPath[++this._pointIndex],this._pointIndex<this._currentPath.length}prevPoint(){return this._currentPoint=this._currentPath[--this._pointIndex],this._pointIndex>=0}nextPath(){return this._pointIndex=-1,this._currentPath=this._paths[++this._pathIndex],this._pathIndex<this.totalSize}prevPath(){return this.pathIndex>0&&(this._pointIndex=-1,this._pathIndex--,this._currentPath=this._paths[this._pathIndex],!0)}pathLength(){const t=this._currentPath.length,e=this._currentPath;let s=0;for(let i=1;i<t;i++){const t=e[i-1],n=e[i],r=t[0],h=t[1],o=n[0]-r,a=n[1]-h;s+=Math.sqrt(o*o+a*a)}return s}startPath(){this._paths.push([])}getCurrentPath(){return(new u).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(t){this._paths.push(t)}pushPoint(t){this._paths[this.totalSize-1].push(t)}pushXY(t,e){this._paths[this.totalSize-1].push([t,e])}pushPoints(t){this._paths[this.totalSize-1].push(...t)}pushCursor(t){const e=(0,n.x)(t);for(const t of e)this.pushPath(t)}asOptimized(){const{hasZ:t,hasM:e}=this,s=new h.A([],[],t,e),{coords:i,lengths:n}=s;if("esriGeometryPoint"===this.geometryType)i.push(...this._paths[0][0]),n.length=0;else for(const s of this._paths){for(const n of s)i.push(n[0]),i.push(n[1]*this.yFactor),t&&i.push(n[2]),e&&i.push(n[this._mIndex]);n.push(s.length)}return s}isClosed(){const t=this._currentPath[0],e=this._currentPath[this._currentPath.length-1];for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}clone(){return(new u).initialize((0,i.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(t=>t.length).reduce((t,e)=>t+e)}get pathSize(){return this._pathIndex<0||this._pathIndex>this.totalSize-1?-1:this._paths[this._pathIndex].length}get totalSize(){return this._paths.length}get x(){return this._currentPoint[0]}set x(t){this._currentPoint[0]=t}get y(){return this.yFactor*this._currentPoint[1]}set y(t){this._currentPoint[1]=this.yFactor*t}get z(){return this._currentPoint[2]}set z(t){this._currentPoint[2]=t}get m(){return this._currentPoint[this._mIndex]}set m(t){this._currentPoint[this._mIndex]=t}get pathIndex(){return this._pathIndex}}class _ extends a{initialize(t,e,s){return super.initialize(t,e,s),this._controlPoints||(this._controlPoints=this._controlPoints=new Array(this.totalSize).fill(void 0).map(t=>new Set)),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){const t=(new _).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return t._controlPoints=this._controlPoints,t}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(t){this._controlPoints[this.pathIndex].add(t)}getControlPointAt(t){return this._controlPoints[this.pathIndex].has(t)}}class p extends u{initialize(t,e,s,i,n){return super.initialize(t,e,s,i,n)}clone(){return(new p).initialize((0,i.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}setControlPoint(){this._paths[this.pathIndex][this._pointIndex][4]=1}getControlPoint(){return 1===this._paths[this.pathIndex][this._pointIndex][4]}setControlPointAt(t){this._paths[this.pathIndex][t][4]=1}getControlPointAt(t){return 1===this._paths[this.pathIndex][t][4]}}},32011(t,e,s){s.d(e,{d:()=>a});var i=s(19419),n=s(537),r=s(12359),h=s(95108),o=s(12176);function a(t){if(0===t.totalSize)return null;const e=(0,n.z8)(t);if(!e)return null;const s=4*(Math.abs(e[0])+Math.abs(e[2])+Math.abs(e[1])+Math.abs(e[3])+1)*222045e-19;let h=0,o=0;t.reset();for(let e=0;t.nextPath();e++){const s=t.getCurrentRingArea();s>o&&(o=s,h=e)}if(t.seekPath(h),0===t.pathSize)return null;t.seekPathStart();const a=(0,n.B$)(t);if(Math.abs(o)<=2*s*s)return[(a[0]+a[2])/2,(a[1]+a[3])/2];t.seekPathStart();const _=(0,r.w2)(t,(0,i.vt)());if(null===_)return null;if(t.totalPoints<4)return _;const p=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],f=[NaN,NaN,NaN,NaN],P=[NaN,NaN,NaN,NaN];let x=!1,y=c(_,t,!0);0===y.distance&&(x=!0,p[0][0]=_[0],p[0][1]=_[1],y=c(_,t,!1)),f[0]=y.distance,P[0]=0;const M=[NaN,NaN];let b=!1,C=.25,w=-1,S=NaN;do{if(S=NaN,p[1]=u(t,d(a[0],a[2],C),0,e),isNaN(p[1][0])||isNaN(p[1][1])||(y=c(p[1],t,!1),S=y.distance),!isNaN(S)&&S>s&&l(p[1],t))b=!0,f[1]=S,P[1]=g(p[1],_);else if(!isNaN(S)&&S>w&&(w=S,M[0]=p[1][0],M[1]=p[1][1]),C-=.01,C<.1){if(!(w>=0))break;b=!0,f[1]=w,p[1][0]=M[0],p[1][1]=M[1],P[1]=g(p[1],_)}}while(!b);b=!1,C=.5,w=-1;let I=.01,v=1;do{if(S=NaN,p[2]=u(t,d(a[0],a[2],C),0,e),isNaN(p[2][0])||isNaN(p[2][1])||(y=c(p[2],t,!1),S=y.distance),!isNaN(S)&&S>s&&l(p[2],t))b=!0,f[2]=S,P[2]=g(p[2],_);else if(!isNaN(S)&&S>w)w=S,M[0]=p[2][0],M[1]=p[2][1];else if(S>w&&(w=S,M[0]=p[2][0],M[1]=p[2][1]),C=.5+I*v,I+=.01,v*=-1,C<.3||C>.7){if(!(w>=0))break;b=!0,f[2]=w,p[2][0]=M[0],p[2][1]=M[1],P[2]=g(p[2],_)}}while(!b);b=!1,C=.75,w=-1;do{if(S=NaN,p[3]=u(t,d(a[0],a[2],C),0,e),isNaN(p[3][0])||isNaN(p[3][1])||(y=c(p[3],t,!1),S=y.distance),!isNaN(S)&&S>s&&l(p[3],t))b=!0,f[3]=S,P[3]=g(p[3],_);else if(S>w&&(w=S,M[0]=p[3][0],M[1]=p[3][1]),C+=.01,C>.9){if(!(w>=0))break;b=!0,f[3]=w,p[3][0]=M[0],p[3][1]=M[1],P[3]=g(p[3],_)}}while(!b);const k=[0,1,2,3],z=x?0:1;let A;for(let t=z;t<4;t++)for(let t=z;t<3;t++){const e=P[t],s=P[t+1];m(e,s)>0&&(A=k[t],k[t]=k[t+1],k[t+1]=A,P[t]=s,P[t+1]=e)}let T=z,L=0,E=0;for(let t=z;t<4;t++){switch(t){case 0:E=2*f[k[t]];break;case 1:E=1.66666666*f[k[t]];break;case 2:E=1.33333333*f[k[t]];break;case 3:E=f[k[t]]}E>L&&(L=E,T=k[t])}return p[T]}function l(t,e){let s,i,n,r,h=0;for(e.reset();e.nextPath()&&e.nextPoint();)for(s=e.x,i=e.y;e.nextPoint();s=n,i=r)n=e.x,r=e.y,i>t[1]!=r>t[1]&&((n-s)*(t[1]-i)-(r-i)*(t[0]-s)>0?h++:h--);return 0!==h}function c(t,e,s){if(s&&l(t,e))return{coord:t,distance:0};let i=1/0,n=0,r=0,o=[0,0],a=[0,0];const c=[0,0];for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(o[0]=e.x,o[1]=e.y;e.nextPoint();o=a){a=[e.x,e.y],(0,h.gR)(c,t,o,a);const s=g(t,c);s<i&&(i=s,n=c[0],r=c[1])}return{coord:[n,r],distance:Math.sqrt(i)}}function u(t,e,s,n){const r=[e,0];let h=1/0,a=1/0,l=!1,c=!1;const u=[[e,n[1]-1],[e,n[3]+1]],f=[0,0],d=[0,0],g=[0,0],m=[[0,0],[0,0]],P=(0,i.vt)();for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(m[0][0]=t.x,m[0][1]=t.y;t.nextPoint();m[0][0]=m[1][0],m[0][1]=m[1][1]){if(m[1][0]=t.x,m[1][1]=t.y,null===_(P,m))continue;if(d[0]=u[0][0],d[1]=u[0][1],g[0]=u[1][0],g[1]=u[1][1],0===p(P,d,g))continue;if(!(0,o.Ql)(u[0],u[1],m[0],m[1],f))continue;const e=f[1];h>a?e<h&&(h=e,l=!0):e<a&&(a=e,c=!0)}return l&&c?r[1]=(h+a)/2:r[0]=r[1]=NaN,r}function _(t,e){if(e.length<2)return null;t||(t=(0,i.vt)());const[s,n]=e[0],[r,h]=e[1];return t[0]=Math.min(s,r),t[1]=Math.min(n,h),t[2]=Math.max(s,r),t[3]=Math.max(n,h),t}function p(t,e,s){let i=f(e,t),n=f(s,t);const r=t[0],h=t[1],o=t[2],a=t[3];if(i&n)return 0;if(!(i|n))return 4;const l=(i?1:0)|(n?2:0);do{const l=s[0]-e[0],c=s[1]-e[1];if(l>c)3&i?(1&i?(e[1]+=c*(r-e[0])/l,e[0]=r):(e[1]+=c*(o-e[0])/l,e[0]=o),i=f(e,t)):3&n?(1&n?(s[1]+=c*(r-s[0])/l,s[0]=r):(s[1]+=c*(o-s[0])/l,s[0]=o),n=f(s,t)):i?(4&i?(e[0]+=l*(h-e[1])/c,e[1]=h):(e[0]+=l*(a-e[1])/c,e[1]=a),i=f(e,t)):(4&n?(s[0]+=l*(h-s[1])/c,s[1]=h):(s[0]+=l*(a-s[1])/c,s[1]=a),n=f(s,t));else if(12&i?(4&i?(e[0]+=l*(h-e[1])/c,e[1]=h):(e[0]+=l*(a-e[1])/c,e[1]=a),i=f(e,t)):12&n?(4&n?(s[0]+=l*(h-s[1])/c,s[1]=h):(s[0]+=l*(a-s[1])/c,s[1]=a),n=f(s,t)):i?(1&i?(e[1]+=c*(r-e[0])/l,e[0]=r):(e[1]+=c*(o-e[0])/l,e[0]=o),i=f(e,t)):(1&n?(s[1]+=c*(r-s[0])/l,s[0]=r):(s[1]+=c*(o-s[0])/l,s[0]=o),n=f(s,t)),i&n)return 0}while(i|n);return l}function f(t,e){return(t[0]<e[0]?1:0)|(t[0]>e[2]?1:0)<<1|(t[1]<e[1]?1:0)<<2|(t[1]>e[3]?1:0)<<3}function d(t,e,s){return t+(e-t)*s}function g(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function m(t,e){if(t<e)return-1;if(t>e)return 1;if(t===e)return 0;const s=isNaN(t),i=isNaN(e);return s<i?-1:s>i?1:0}},35833(t,e,s){s.d(e,{ai:()=>g,g1:()=>m,kT:()=>P,qc:()=>x});var i=s(36745),n=s(6774),r=s(93397);const h=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(8089),s.e(6160)]).then(s.bind(s,46160))),o=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(8872)]).then(s.bind(s,55666))),a=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(1060)]).then(s.bind(s,51190))),l=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(837)]).then(s.bind(s,97528))),c=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(8089),s.e(795)]).then(s.bind(s,50795))),u=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(8089),s.e(5605)]).then(s.bind(s,15605))),_=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(1075)]).then(s.bind(s,3637))),p=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(8393)]).then(s.bind(s,25802))),f=(0,r.z9)(()=>Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(1948)]).then(s.bind(s,83299)));let d;function g(t){switch(t.type){case"CIMGeometricEffectDonut":case"CIMGeometricEffectBuffer":return h.getImportPromise();case"CIMGeometricEffectEnclosingPolygon":return o.getImportPromise();case"CIMGeometricEffectOffset":return Promise.all([p.getImportPromise(),u.getImportPromise(),c.getImportPromise()]);case"CIMGeometricEffectControlMeasureLine":return u.getImportPromise();case"CIMGeometricEffectTaperedPolygon":return Promise.all([_.getImportPromise(),a.getImportPromise(),l.getImportPromise()]);default:return Promise.resolve()}}function m(t){return"CIMMarkerPlacementAtMeasuredUnits"===t.type?f.getImportPromise():Promise.resolve()}class P{constructor(t){this._geometry=t}next(){const t=this._geometry;return this._geometry=null,t}}function x(t,e,s){if(!t)return null;d||(d=new n.O3(0,0,0,1));const r=s?-1:1,h="esriGeometryPolygon"===t.geometryType,o=h?3:2,a=h?3:2;let l,c;for(d.reset(o),d.setPixelMargin(e+1),d.setExtent(512);t.nextPath();)if(!(t.pathSize<a)){for(t.nextPoint(),l=t.x,c=r*t.y,d.moveTo(l,c);t.nextPoint();)l=t.x,c=r*t.y,d.lineTo(l,c);h&&d.close()}const u=d.result(!1);if(u){const e=i.z.createEmptyOptimizedCIM(t.geometryType);for(const t of u){e.startPath();for(const s of t)e.pushXY(s.x,r*s.y)}return e.reset(),e}return null}s.d(e,["$Z",0,h,"NS",0,l,"Xs",0,a,"hd",0,c,"lX",0,o,"mO",0,u,"vZ",0,f,"xR",0,p,"yM",0,_])},22686(t,e,s){s.d(e,{A:()=>Ht,c:()=>Bt});class i{static{this.instance=null}static local(){return null===i.instance&&(i.instance=new i),i.instance}execute(t,e,s){return new n(t,e)}}class n{constructor(t,e){this._inputGeometries=t,this._angleTolerance=void 0!==e.angleTolerance?e.angleTolerance:120,this._maxCosAngle=Math.cos((1-Math.abs(this._angleTolerance)/180)*Math.PI)}next(){let t=this._inputGeometries.next();if(!t)return null;for(;t;){if("esriGeometryPolygon"===t.geometryType)this._isClosed=!0;else if("esriGeometryPolyline"===t.geometryType)this._isClosed=!1;else{if("esriGeometryEnvelope"!==t.geometryType){t=this._inputGeometries.next();continue}if(this._maxCosAngle)return t;this._isClosed=!0}for(;t.nextPath();)this._processPath(t);return t.reset(),t}return null}_processPath(t){if(t.nextPoint()){const e=t.x,s=t.y;let i=e,n=s,r=t.pathSize,h=0,o=0,a=0,l=0,c=0,u=0;this._isClosed&&++r;for(let _=1;t.nextPoint()||_<r;++_){let p,f;this._isClosed&&_===r-1?(p=e,f=s):(p=t.x,f=t.y);const d=p-i,g=f-n,m=Math.sqrt(d*d+g*g);_>1&&m>0&&a>0&&(h*d+o*g)/m/a<=this._maxCosAngle&&t.setControlPointAt(_-1),1===_&&(l=d,c=g,u=m),m>0&&(i=p,n=f,h=d,o=g,a=m)}this._isClosed&&a>0&&u>0&&(h*l+o*c)/u/a<=this._maxCosAngle&&t.setControlPointAt(0)}}}var r=s(36745),h=s(51118),o=s(98939);function a(t,e){t[4]=e}class l{constructor(t,e=!0,s=!0,i=0){this._angleToLine=!0,this._keepUpright=!1,this.isClosed=!1,this.geometryCursor=null,this.geometryCursor=!e&&"esriGeometryPolygon"===t.geometryType||!s&&"esriGeometryPolyline"===t.geometryType?null:t,this.geomUnitsPerPoint=i,this.iterateMultiPath=!1,this.iteratePath=!1,this.internalPlacement=new o.W}next(){if(!this.geometryCursor)return null;const t=this.processMultiPath(this.geometryCursor);if(this.iterateMultiPath&&t||(this.geometryCursor=null),!t)return null;const e=t.getAngle();if(this._angleToLine&&this._keepUpright&&Math.abs(e)>.5*Math.PI){const s=e+Math.PI,i=Math.atan2(Math.sin(s),Math.cos(s));Number.isNaN(i)||t.setRotate(i)}return t}processMultiPath(t){for(;this.iteratePath||t.pathIndex<t.totalSize-1;){this.iteratePath||t.nextPath(),this.iterateMultiPath=!0;const e=this.processPath(t);if(e)return e}return this.iterateMultiPath=!1,null}}class c{constructor(t,e,s,i=0){this.isClosed=!1,this.inputGeometries=t,this.acceptPolygon=e,this.acceptPolyline=s,this.geomUnitsPerPoint=i,this.iteratePath=!1,this.multiPathCursor=null}next(){for(;;){if(!this.multiPathCursor){let t=this.inputGeometries.next();for(;t&&(this.isClosed=this.acceptPolygon&&"esriGeometryPolygon"===t.geometryType||"esriGeometryEnvelope"===t.geometryType,this.multiPathCursor=t,!this.multiPathCursor);)t=this.inputGeometries.next();if(!this.multiPathCursor)return null}for(;this.iteratePath||this.multiPathCursor.nextPath();){this.multiPathCursor.seekPathStart();const t=this.processPath(this.multiPathCursor);if(t)return t}this.multiPathCursor=null}}}class u{constructor(t=0,e=!1){}isEmpty(t){if(!t.nextPoint())return!0;let e,s,i,n;for(e=t.x,s=t.y;t.nextPoint();e=s,s=n)if(i=t.x,n=t.y,i!==e||n!==s)return t.seekPathStart(),!1;return t.seekPathStart(),!0}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);0!==e&&(t[0]/=e,t[1]/=e)}getLength(t,e,s,i){const n=s-t,r=i-e;return Math.sqrt(n*n+r*r)}getSegLength(t){const[[e,s],[i,n]]=t;return this.getLength(e,s,i,n)}getCoord2D(t,e,s,i,n){return[t+(s-t)*n,e+(i-e)*n]}getSegCoord2D(t,e){const[[s,i],[n,r]]=t;return this.getCoord2D(s,i,n,r,e)}getAngle(t,e,s,i,n){const r=s-t,h=i-e;return Math.atan2(h,r)}getAngleCS(t,e,s,i,n,r){null==t&&(t=[0,0]);const h=i-e,o=n-s,a=Math.sqrt(h*h+o*o);return 0!==a?(t[0]=h/a,t[1]=o/a,t):(t[0]=1,t[1]=0,t)}getSegAngleCS(t,e,s){const[[i,n],[r,h]]=e;return this.getAngleCS(t,i,n,r,h,s)}cut(t,e,s,i,n,r){return[n<=0?[t,e]:this.getCoord2D(t,e,s,i,n),r>=1?[s,i]:this.getCoord2D(t,e,s,i,r)]}getSubCurve(t,e,s){const i=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");return this.appendSubCurve(i,t,e,s)?i:null}appendSubCurve(t,e,s,i){t.startPath(),e.seekPathStart();let n=0,r=!0;if(!e.nextPoint())return!1;let h=e.x,o=e.y;for(;e.nextPoint();){const a=this.getLength(h,o,e.x,e.y);if(0!==a){if(r){if(n+a>s){const l=(s-n)/a;let c=1,u=!1;n+a>=i&&(c=(i-n)/a,u=!0);const _=this.cut(h,o,e.x,e.y,l,c);if(_&&t.pushPoints(_),u)break;r=!1}}else{if(n+a>i){const s=this.cut(h,o,e.x,e.y,0,(i-n)/a);s&&t.pushPoint(s[1]);break}t.pushXY(e.x,e.y)}n+=a,h=e.x,o=e.y}else h=e.x,o=e.y}return!0}getCIMPointAlong(t,e){if(!t.nextPoint())return null;let s,i,n,r,h=0;for(s=t.x,i=t.y;t.nextPoint();s=n,i=r){n=t.x,r=t.y;const o=this.getLength(s,i,n,r);if(0!==o){if(h+o>e){const t=(e-h)/o;return this.getCoord2D(s,i,n,r,t)}h+=o}}return null}offset(t,e,s,i,n){if(!t||t.length<2)return null;let r=0,h=t[r++],o=r;for(;r<t.length;){const e=t[r];e[0]===h[0]&&e[1]===h[1]||(r!==o&&(t[o]=t[r]),h=t[o++]),r++}const a=t[0][0]===t[o-1][0]&&t[0][1]===t[o-1][1];if(a&&--o,o<(a?3:2))return null;const l=[];h=a?t[o-1]:null;let c=t[0];for(let n=0;n<o;n++){const r=n===o-1?a?t[0]:null:t[n+1];if(h)if(r){const t=[r[0]-c[0],r[1]-c[1]];this.normalize(t);const n=[c[0]-h[0],c[1]-h[1]];this.normalize(n);const o=n[0]*t[1]-n[1]*t[0],a=n[0]*t[0]+n[1]*t[1];if(0===o&&1===a){c=r;continue}if(o>=0==e<=0){if(a<1){const s=[t[0]-n[0],t[1]-n[1]];this.normalize(s);const r=Math.sqrt((1+a)/2);if(r>1/i){const t=-Math.abs(e)/r;l.push([c[0]-s[0]*t,c[1]-s[1]*t])}}}else switch(s){case"Mitered":{const s=Math.sqrt((1+a)/2);if(s>0&&1/s<i){const i=[t[0]-n[0],t[1]-n[1]];this.normalize(i);const r=Math.abs(e)/s;l.push([c[0]-i[0]*r,c[1]-i[1]*r]);break}}case"Bevelled":l.push([c[0]+n[1]*e,c[1]-n[0]*e]),l.push([c[0]+t[1]*e,c[1]-t[0]*e]);break;case"Rounded":if(a<1){l.push([c[0]+n[1]*e,c[1]-n[0]*e]);const s=Math.floor(2.5*(1-a));if(s>0){const i=1/s;let r=i;for(let h=1;h<s;h++,r+=i){const s=[n[1]*(1-r)+t[1]*r,-n[0]*(1-r)-t[0]*r];this.normalize(s),l.push([c[0]+s[0]*e,c[1]+s[1]*e])}}l.push([c[0]+t[1]*e,c[1]-t[0]*e])}break;default:if(o<0)l.push([c[0]+(n[1]+n[0])*e,c[1]+(n[1]-n[0])*e]),l.push([c[0]+(t[1]-t[0])*e,c[1]-(t[0]+t[1])*e]);else{const s=Math.sqrt((1+Math.abs(a))/2),i=[t[0]-n[0],t[1]-n[1]];this.normalize(i);const r=e/s;l.push([c[0]-i[0]*r,c[1]-i[1]*r])}}}else{const t=[c[0]-h[0],c[1]-h[1]];this.normalize(t),l.push([c[0]+t[1]*e,c[1]-t[0]*e])}else{const t=[r[0]-c[0],r[1]-c[1]];this.normalize(t),l.push([c[0]+t[1]*e,c[1]-t[0]*e])}h=c,c=r}return l.length<(a?3:2)?null:(a&&l.push([l[0][0],l[0][1]]),l)}}const _=1.7320508075688772;class p{static{this.instance=null}static local(){return null===p.instance&&(p.instance=new p),p.instance}execute(t,e,s){return new f(t,e,s)}}class f extends c{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new u;const i=s.geomUnitsPerPoint;this._width=(void 0!==e.width?e.width:5)*i,this._arrowType=void 0!==e.geometricEffectArrowType?e.geometricEffectArrowType:void 0!==e.arrowType?e.arrowType:"OpenEnded",this._offsetFlattenError=.03*i}processPath(t){const e=r.z.createEmptyOptimizedCIM(t.geometryType);switch(this._arrowType){case"OpenEnded":default:this._constructSimpleArrow(e,t,!0);break;case"Block":this._constructSimpleArrow(e,t,!1);break;case"Crossed":this._constructCrossedArrow(e,t)}return e}_constructSimpleArrow(t,e,s){const i=e.pathLength();let n=this._width;i<2*n&&(n=i/2);const r=this._curveHelper.getSubCurve(e,0,i-n);if(!r||!r.nextPath())return;r.seekPathStart();const o=n/2;if(this._curveHelper.isEmpty(r))return;const a=(0,h.A)(r),l=this._constructOffset(a,-o);if(!l)return;const c=this._constructOffset(a,o);if(!c)return;const u=this._constructArrowBasePoint(l,-o/2);if(!u)return;const _=this._constructArrowBasePoint(c,o/2);if(!_)return;e.seekInPath(e.pathSize-1);const p=[e.x,e.y];t.pushPath(c),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(_),t.nextPoint(),t.setControlPoint(),t.pushPoint(p),t.nextPoint(),t.setControlPoint(),t.pushPoint(u),t.nextPoint(),t.setControlPoint(),t.pushPoints(l.reverse()),t.setControlPoint(),s||(t.setControlPointAt(0),t.setControlPointAt(t.pathSize-1),t.pushPoint(c[0])),t.reset()}_constructCrossedArrow(t,e){const s=e.pathLength();let i=this._width;s<i*(1+_+1)&&(i=s/(1+_+1)),e.seekPathStart();const n=this._curveHelper.getSubCurve(e,0,s-i*(1+_));if(!n)return;n.nextPath();const r=i/2;if(this._curveHelper.isEmpty(n))return;const o=(0,h.A)(n),a=this._constructOffset(o,r);if(!a)return;const l=this._constructOffset(o,-r);if(!l)return;const c=this._curveHelper.getSubCurve(e,0,s-i);if(!c)return;if(c.nextPath(),this._curveHelper.isEmpty(c))return;const u=(0,h.A)(c),p=this._constructOffset(u,r);if(!p)return;const f=this._constructOffset(u,-r);if(!f)return;const d=p[p.length-1],g=this._constructArrowBasePoint(p,r/2);if(!g)return;const m=f[f.length-1],P=this._constructArrowBasePoint(f,-r/2);if(!P)return;e.seekInPath(e.pathSize-1);const x=[e.x,e.y];t.pushPath(a),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(m),t.nextPoint(),t.setControlPoint(),t.pushPoint(P),t.nextPoint(),t.setControlPoint(),t.pushPoint(x),t.nextPoint(),t.setControlPoint(),t.pushPoint(g),t.nextPoint(),t.setControlPoint(),t.pushPoint(d),t.nextPoint(),t.setControlPoint(),t.pushPoints(l.reverse()),t.nextPoint(),t.setControlPoint(),t.reset()}_constructOffset(t,e){return this._curveHelper.offset(t,e,"Rounded",4,this._offsetFlattenError)}_constructArrowBasePoint(t,e){if(!t||t.length<2)return null;const s=t[t.length-2],i=t[t.length-1],n=[i[0]-s[0],i[1]-s[1]];return this._curveHelper.normalize(n),[i[0]+n[1]*e,i[1]-n[0]*e]}}var d=s(16930),g=s(35833);class m{static{this.instance=null}static local(){return null===m.instance&&(m.instance=new m),m.instance}execute(t,e,s){return new P(t,e,s)}}class P{constructor(t,e,s){const i=s.geomUnitsPerPoint,n=s.tileKey,r=s.maxInflateSize;this._preventClipping=s.preventClipping,this._inputGeometries=t,this._tileKey=n,this._curveHelper=new u,this._size=(void 0!==e.size?e.size:1)*i,this._maxInflateSize=r*i,this._offsetFlattenError=.03*i}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._size)return t;if("esriGeometryEnvelope"===t.geometryType)if(this._size>0){const e=r.z.createEmptyOptimizedCIM(t.geometryType),s=(0,h.x)(t)[0],i=this._curveHelper.offset(s,this._size,"Rounded",4,this._offsetFlattenError);if(i)return e.pushPath(i),e}else if(this._size<0){const e=t.asJSON();if(Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._size>0)return r.z.fromJSONCIM({xmin:e.xmin-this._size,xmax:e.xmax+this._size,ymin:e.ymin-this._size,ymax:e.ymax+this._size})}const e=!this._preventClipping&&this._tileKey?(0,g.qc)(t,this._maxInflateSize,!0):t;if(!e)continue;const s=g.$Z.module,i={...e.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}},n=s.execute(i,this._size);return n?r.z.fromJSONCIM(n):null}return null}}s(86211);var x=s(95108);class y{static{this.instance=null}static local(){return null===y.instance&&(y.instance=new y),y.instance}execute(t,e,s){return new M(t,e,s)}}class M{constructor(t,e,s){this._defaultPointSize=20,this._inputGeometries=t,this._geomUnitsPerPoint=s.geomUnitsPerPoint??1,this._scale=s?.scale,this._rule=e.rule??"FullGeometry",this._spatialReference=s?.spatialReference??d.A.WebMercator,this._width=this._computeWidth(e.width??25),this._defaultSize=this._defaultPointSize*this._geomUnitsPerPoint}next(){let t;for(;t=this._inputGeometries.next();){const e=this._processGeom((0,h.x)(t));if(e?.length)return r.z.fromJSONCIM({paths:e})}return null}_computeWidth(t){if(!function(t){return"ParallelOffsetByValue"===t}(this._rule)||null==this._scale||!this._spatialReference.metersPerUnit)return t*this._geomUnitsPerPoint;const e=this._scale/(96*39.37*this._spatialReference.metersPerUnit);return t/(this._spatialReference.metersPerUnit*e)}_clone(t){return[t[0],t[1]]}_mid(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}_mix(t,e,s,i){return[t[0]*e+s[0]*i,t[1]*e+s[1]*i]}_add(t,e){return[t[0]+e[0],t[1]+e[1]]}_add2(t,e,s){return[t[0]+e,t[1]+s]}_sub(t,e){return[t[0]-e[0],t[1]-e[1]]}_dist(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}_norm(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}_normalize(t,e=1){const s=e/this._norm(t);t[0]*=s,t[1]*=s}_leftPerpendicular(t){const e=-t[1],s=t[0];t[0]=e,t[1]=s}_leftPerp(t){return[-t[1],t[0]]}_rightPerpendicular(t){const e=t[1],s=-t[0];t[0]=e,t[1]=s}_rightPerp(t){return[t[1],-t[0]]}_dotProduct(t,e){return t[0]*e[0]+t[1]*e[1]}_crossProduct(t,e){return t[0]*e[1]-t[1]*e[0]}_rotateDirect(t,e,s){const i=t[0]*e-t[1]*s,n=t[0]*s+t[1]*e;t[0]=i,t[1]=n}_makeCtrlPt(t){const e=[t[0],t[1]];return a(e,1),e}_addAngledTicks(t,e,s,i){const n=this._sub(s,e);this._normalize(n);const r=this._crossProduct(n,this._sub(i,e));let h;h=r>0?this._rightPerp(n):this._leftPerp(n);const o=Math.abs(r)/2,a=[];a.push([e[0]+(h[0]-n[0])*o,e[1]+(h[1]-n[1])*o]),a.push(e),a.push(s),a.push([s[0]+(h[0]+n[0])*o,s[1]+(h[1]+n[1])*o]),t.push(a)}_addBezier2(t,e,s,i,n){if(0===n--)return void t.push(i);const r=this._mid(e,s),h=this._mid(s,i),o=this._mid(r,h);this._addBezier2(t,e,r,o,n),this._addBezier2(t,o,h,i,n)}_addBezier3(t,e,s,i,n,r){if(0===r--)return void t.push(n);const h=this._mid(e,s),o=this._mid(s,i),a=this._mid(i,n),l=this._mid(h,o),c=this._mid(o,a),u=this._mid(l,c);this._addBezier3(t,e,h,l,u,r),this._addBezier3(t,u,c,a,n,r)}_add90DegArc(t,e,s,i,n){const r=n??this._crossProduct(this._sub(s,e),this._sub(i,e))>0,h=this._mid(e,s),o=this._sub(h,e);r?this._leftPerpendicular(o):this._rightPerpendicular(o),h[0]+=o[0],h[1]+=o[1],this._addBezier3(t,e,this._mix(e,.33333,h,.66667),this._mix(s,.33333,h,.66667),s,4)}_addArrow(t,e,s){const i=e[0],n=e[1],r=e[e.length-1],h=this._sub(i,n),o=this._norm(h);this._normalize(h);const a=Math.abs(this._crossProduct(h,this._sub(r,n)));let l=this._dotProduct(h,this._sub(r,n));l<.05*o?l=.05*o:l>.95*o&&(l=.95*o);const c=.5*a,u=this._leftPerp(h),_=[n[0]+h[0]*l,n[1]+h[1]*l],p=e.length-1,f=[];f.push(s?[-u[0],-u[1]]:u);let d=[-h[0],-h[1]];for(let t=1;t<p-1;t++){const s=this._sub(e[t+1],e[t]);this._normalize(s);const i=this._dotProduct(s,d),n=this._crossProduct(s,d),r=Math.sqrt((1+i)/2),h=this._sub(s,d);this._normalize(h),h[0]/=r,h[1]/=r,f.push(n<0?[-h[0],-h[1]]:h),d=s}f.push(this._rightPerp(d));for(let s=f.length-1;s>0;s--)t.push([e[s][0]+f[s][0]*c,e[s][1]+f[s][1]*c]);t.push([_[0]+f[0][0]*c,_[1]+f[0][1]*c]),t.push([_[0]+f[0][0]*a,_[1]+f[0][1]*a]),t.push(i),t.push([_[0]-f[0][0]*a,_[1]-f[0][1]*a]),t.push([_[0]-f[0][0]*c,_[1]-f[0][1]*c]);for(let s=1;s<f.length;s++)t.push([e[s][0]-f[s][0]*c,e[s][1]-f[s][1]*c])}_addDash(t,e,s){const i=this._norm(s)/7;this._normalize(s);let n=[];for(let r=0;r<=7;r++)n.push([e[0]+s[0]*r*i,e[1]+s[1]*r*i]),1&r&&(t.push(n),n=[])}_cp2(t,e,s){return t.length>=2?t[1]:this._add2(t[0],e*this._defaultSize,s*this._defaultSize)}_cp3(t,e,s,i){if(t.length>=3)return t[2];const n=this._mix(t[0],1-s,e,s),r=this._sub(e,t[0]);return this._normalize(r),this._rightPerpendicular(r),[n[0]+r[0]*i*this._defaultSize,n[1]+r[1]*i*this._defaultSize]}_arrowPath(t){if(t.length>2)return t;const e=t[0],s=this._cp2(t,-4,0),i=this._sub(e,s);this._normalize(i);const n=this._rightPerp(i);return[e,s,[e[0]+(n[0]-i[0])*this._defaultSize,e[1]+(n[1]-i[1])*this._defaultSize]]}_arrowLastSeg(t){const e=t[0],s=this._cp2(t,-4,0);let i;if(t.length>=3)i=t[t.length-1];else{const t=this._sub(e,s);this._normalize(t);const n=this._rightPerp(t);i=[e[0]+(n[0]-t[0])*this._defaultSize,e[1]+(n[1]-t[1])*this._defaultSize]}return[s,i]}_offsetPath(t,e){const s=g.mO.module.execute({paths:[t],spatialReference:this._spatialReference.toJSON()},e,{joins:"miter",miterLimit:4}),[i]=(0,h.x)(r.z.fromJSONCIM(s));return i?.length?i:null}_processGeom(t){if(!t)return null;const e=[];for(const s of t){const t=s.length>1&&(0,x.Yl)(s)<this._defaultSize;if(!s||0===s.length||t)continue;const i=s.length;let n=s[0];switch(this._rule){case"PerpendicularFromFirstSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),r=[];r.push(i),r.push(this._mid(n,t)),e.push(r);break}case"ReversedFirstSegment":{const t=this._cp2(s,0,-1);e.push([t,n]);break}case"PerpendicularToSecondSegment":{if(s.length<3)return[];const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=[];r.push(this._mid(t,i)),r.push(n),e.push(r);break}case"SecondSegmentWithTicks":{if(s.length<3)return[];const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=this._sub(i,t);let h;h=this._crossProduct(r,this._sub(n,t))>0?this._rightPerp(r):this._leftPerp(r);const o=[];o.push([t[0]+(h[0]-r[0])/3,t[1]+(h[1]-r[1])/3]),o.push(t),o.push(i),o.push([i[0]+(h[0]+r[0])/3,i[1]+(h[1]+r[1])/3]),e.push(o);break}case"DoublePerpendicular":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),r=this._mid(n,t),h=this._sub(r,i);this._normalize(h);const o=this._crossProduct(h,this._sub(n,i));this._leftPerpendicular(h);const a=[];a.push(n),a.push([i[0]+h[0]*o,i[1]+h[1]*o]),e.push(a);const l=[];l.push([i[0]-h[0]*o,i[1]-h[1]*o]),l.push(t),e.push(l);break}case"OppositeToFirstSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),r=this._mid(n,t),h=this._sub(r,i);this._normalize(h);const o=this._crossProduct(h,this._sub(n,i));this._leftPerpendicular(h);const a=[];a.push([i[0]+h[0]*o,i[1]+h[1]*o]),a.push([i[0]-h[0]*o,i[1]-h[1]*o]),e.push(a);break}case"TriplePerpendicular":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),r=this._mid(n,t),h=this._sub(r,i);this._normalize(h);const o=this._crossProduct(h,this._sub(n,i));this._leftPerpendicular(h);const a=[];a.push([i[0]+h[0]*o*.8,i[1]+h[1]*o*.8]),a.push([r[0]+.8*(n[0]-r[0]),r[1]+.8*(n[1]-r[1])]),e.push(a),e.push([i,r]);const l=[];l.push([i[0]-h[0]*o*.8,i[1]-h[1]*o*.8]),l.push([r[0]+.8*(t[0]-r[0]),r[1]+.8*(t[1]-r[1])]),e.push(l);break}case"HalfCircleFirstSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),r=this._mid(n,t);let h=this._sub(t,n);const o=Math.cos(Math.PI/18),a=Math.sin(Math.PI/18),l=Math.sqrt((1+o)/2),c=Math.sqrt((1-o)/2),u=[];let _;this._crossProduct(h,this._sub(i,n))>0?(u.push(n),h=this._sub(n,r),_=t):(u.push(t),h=this._sub(t,r),_=n),this._rotateDirect(h,l,c),h[0]/=l,h[1]/=l;for(let t=1;t<=18;t++)u.push(this._add(r,h)),this._rotateDirect(h,o,a);u.push(_),e.push(u);break}case"HalfCircleSecondSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,1,-1);let r=this._sub(n,t);this._normalize(r);const h=this._crossProduct(r,this._sub(i,t))/2;this._leftPerpendicular(r);const o=[t[0]+r[0]*h,t[1]+r[1]*h];r=this._sub(t,o);const a=Math.cos(Math.PI/18);let l=Math.sin(Math.PI/18);h>0&&(l=-l);const c=[t];for(let t=1;t<=18;t++)this._rotateDirect(r,a,l),c.push(this._add(o,r));e.push(c);break}case"HalfCircleExtended":{const t=this._cp2(s,0,-2),r=this._cp3(s,t,1,-1);let h;if(i>=4)h=s[3];else{const e=this._sub(n,t);h=this._add(r,e)}const o=this._dist(t,r)/2/.75,a=this._sub(t,n);this._normalize(a,o);const l=this._sub(r,h);this._normalize(l,o);const c=[h,r];e.push(c);const u=[this._clone(r)];this._addBezier3(u,r,this._add(r,l),this._add(t,a),t,4),u.push(n),e.push(u);break}case"OpenCircle":{const t=this._cp2(s,-2,0),i=this._sub(t,n),r=Math.cos(Math.PI/18),h=-Math.sin(Math.PI/18),o=[t];for(let t=1;t<=33;t++)this._rotateDirect(i,r,h),o.push(this._add(n,i));e.push(o);break}case"CoverageEdgesWithTicks":{const t=this._cp2(s,0,-1);let r,h;if(i>=3)r=s[2];else{const e=this._sub(t,n),s=this._leftPerp(e);r=[n[0]+s[0]-.25*e[0],n[1]+s[1]-.25*e[1]]}if(i>=4)h=s[3];else{const e=this._mid(n,t),s=this._sub(n,t);this._normalize(s),this._leftPerpendicular(s);const i=this._crossProduct(s,this._sub(r,e));this._rightPerpendicular(s),h=[r[0]+s[0]*i*2,r[1]+s[1]*i*2]}const o=this._sub(t,n);let a,l;a=this._crossProduct(o,this._sub(r,n))>0?this._rightPerp(o):this._leftPerp(o),l=[],l.push(r),l.push(n),l.push([n[0]+(a[0]-o[0])/3,n[1]+(a[1]-o[1])/3]),e.push(l),a=this._crossProduct(o,this._sub(h,t))>0?this._rightPerp(o):this._leftPerp(o),l=[],l.push([t[0]+(a[0]+o[0])/3,t[1]+(a[1]+o[1])/3]),l.push(t),l.push(h),e.push(l);break}case"GapExtentWithDoubleTicks":{const t=this._cp2(s,0,2),r=this._cp3(s,t,0,1);let h;if(i>=4)h=s[3];else{const e=this._sub(t,n);h=this._add(r,e)}this._addAngledTicks(e,n,t,this._mid(r,h)),this._addAngledTicks(e,r,h,this._mid(n,t));break}case"GapExtentMidline":{const t=this._cp2(s,2,0),r=this._cp3(s,t,0,1);let h;if(i>=4)h=s[3];else{const e=this._sub(t,n);h=this._add(r,e)}const o=[];o.push(this._mid(n,r)),o.push(this._mid(t,h)),e.push(o);break}case"Chevron":{const t=this._cp2(s,-1,-1);let r;if(i>=3)r=s[2];else{const e=this._sub(t,n);this._leftPerpendicular(e),r=this._add(n,e)}e.push([t,this._makeCtrlPt(n),r]);break}case"PerpendicularWithArc":{const t=this._cp2(s,0,-2),r=this._cp3(s,t,.5,-1),h=this._sub(t,n),o=this._norm(h);h[0]/=o,h[1]/=o;const a=this._crossProduct(h,this._sub(r,n));let l=this._dotProduct(h,this._sub(r,n));l<.05*o?l=.05*o:l>.95*o&&(l=.95*o);const c=[n[0]+h[0]*l,n[1]+h[1]*l];let u=this._leftPerp(h),_=[];if(_.push([c[0]-u[0]*a,c[1]-u[1]*a]),_.push([c[0]+u[0]*a,c[1]+u[1]*a]),e.push(_),i>=4){const t=s[3];let i=this._dotProduct(h,this._sub(t,n));i<.1*o?i=.1*o:i>.9*o&&(i=.9*o);const r=[n[0]+h[0]*i,n[1]+h[1]*i],a=this._crossProduct(h,this._sub(t,n)),l=[];l.push([r[0]-u[0]*a,r[1]-u[1]*a]),l.push([r[0]+u[0]*a,r[1]+u[1]*a]),e.push(l)}const p=[t[0]+u[0]*a,t[1]+u[1]*a];u=this._sub(t,p);const f=Math.cos(Math.PI/18);let d=Math.sin(Math.PI/18);a<0&&(d=-d),_=[n,t];for(let t=1;t<=9;t++)this._rotateDirect(u,f,d),_.push(this._add(p,u));e.push(_);break}case"ClosedHalfCircle":{const t=this._cp2(s,2,0),i=this._mid(n,t),r=this._sub(t,i),h=Math.cos(Math.PI/18),o=Math.sin(Math.PI/18),a=[n,t];for(let t=1;t<=18;t++)this._rotateDirect(r,h,o),a.push(this._add(i,r));e.push(a);break}case"TripleParallelExtended":{const t=this._cp2(s,0,-2),i=this._cp3(s,t,1,-2),r=this._mid(n,t),h=this._sub(i,t);this._normalize(h);const o=Math.abs(this._crossProduct(h,this._sub(r,t)))/2,l=this._dist(t,i),c=[t,n];c.push([n[0]+h[0]*l*.5,n[1]+h[1]*l*.5]),e.push(c);const u=[];u.push([r[0]-h[0]*o,r[1]-h[1]*o]),u.push([r[0]+h[0]*l*.375,r[1]+h[1]*l*.375]),a(u[u.length-1],1),u.push([r[0]+h[0]*l*.75,r[1]+h[1]*l*.75]),e.push(u);const _=[t,i];e.push(_);break}case"ParallelWithTicks":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n)),o=this._leftPerp(r);this._addAngledTicks(e,n,t,i),this._addAngledTicks(e,this._add2(n,o[0]*h,o[1]*h),this._add2(t,o[0]*h,o[1]*h),this._mid(n,t));break}case"Parallel":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._leftPerp(r),o=this._crossProduct(r,this._sub(i,n));let a=[n,t];e.push(a),a=[],a.push([n[0]+h[0]*o,n[1]+h[1]*o]),a.push([t[0]+h[0]*o,t[1]+h[1]*o]),e.push(a);break}case"PerpendicularToFirstSegment":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._mid(n,t),h=this._sub(t,n);this._normalize(h);const o=this._crossProduct(h,this._sub(i,n));this._leftPerpendicular(h);const a=[];a.push([r[0]-h[0]*o*.25,r[1]-h[1]*o*.25]),a.push([r[0]+h[0]*o*1.25,r[1]+h[1]*o*1.25]),e.push(a);break}case"ParallelOffset":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r);const o=[];o.push([n[0]-r[0]*h,n[1]-r[1]*h]),o.push([t[0]-r[0]*h,t[1]-r[1]*h]),e.push(o);const a=[];a.push([n[0]+r[0]*h,n[1]+r[1]*h]),a.push([t[0]+r[0]*h,t[1]+r[1]*h]),e.push(a);break}case"OffsetOpposite":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r);const o=[];o.push([n[0]-r[0]*h,n[1]-r[1]*h]),o.push([t[0]-r[0]*h,t[1]-r[1]*h]),e.push(o);break}case"OffsetSame":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r);const o=[];o.push([n[0]+r[0]*h,n[1]+r[1]*h]),o.push([t[0]+r[0]*h,t[1]+r[1]*h]),e.push(o);break}case"CircleWithArc":{let t=this._cp2(s,3,0);const r=this._cp3(s,t,.5,-1);let h,o;if(i>=4)h=s[3],o=this._crossProduct(this._sub(h,t),this._sub(r,t))>0;else{h=t,o=this._crossProduct(this._sub(h,n),this._sub(r,n))>0;const e=24*this._geomUnitsPerPoint,s=this._sub(h,n);this._normalize(s,e);const i=Math.sqrt(2)/2;this._rotateDirect(s,i,o?i:-i),t=this._add(n,s)}const l=this._sub(t,n),c=Math.cos(Math.PI/18),u=Math.sin(Math.PI/18),_=[t];for(let t=1;t<=36;t++)this._rotateDirect(l,c,u),_.push(this._add(n,l));this._add90DegArc(_,t,h,r,o),a(_[_.length-8],1),e.push(_);break}case"DoubleJog":{let t,r=this._cp2(s,-3,1),h=this._cp3(s,r,-1,-.5);if(i>=4)t=s[3];else{const e=n;n=r,t=h;const s=this._dist(n,e),i=this._dist(t,e);let o=30*this._geomUnitsPerPoint;.5*s<o&&(o=.5*s),.5*i<o&&(o=.5*i),r=this._mix(n,o/s,e,(s-o)/s),h=this._mix(t,o/i,e,(i-o)/i)}const o=this._mid(n,r),a=this._mid(t,h),l=this._dist(n,r),c=this._dist(h,t);let u=Math.min(l,c)/8;u=Math.min(u,24*this._geomUnitsPerPoint);const _=Math.cos(Math.PI/4);let p=this._sub(n,r);this._normalize(p,u),this._crossProduct(p,this._sub(t,r))>0?this._rotateDirect(p,_,-_):this._rotateDirect(p,_,_);let f=[];f.push(r),f.push(this._add(o,p)),f.push(this._sub(o,p)),f.push(n),e.push(f),p=this._sub(t,h),this._normalize(p,u),this._crossProduct(p,this._sub(n,h))<0?this._rotateDirect(p,_,_):this._rotateDirect(p,_,-_),f=[],f.push(h),f.push(this._add(a,p)),f.push(this._sub(a,p)),f.push(t),e.push(f);break}case"PerpendicularOffset":{const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=this._sub(i,t);this._crossProduct(r,this._sub(n,t))>0?this._rightPerpendicular(r):this._leftPerpendicular(r);const h=[r[0]/8,r[1]/8],o=this._sub(this._mid(t,i),h);e.push([o,n]);break}case"LineExcludingLastSegment":{const t=this._arrowPath(s),i=[];let n=t.length-2;for(;n--;)i.push(t[n]);e.push(i);break}case"MultivertexArrow":{const t=this._arrowPath(s),i=[];this._addArrow(i,t,!1),e.push(i);break}case"CrossedArrow":{const t=this._arrowPath(s),i=[];this._addArrow(i,t,!0),e.push(i);break}case"ChevronArrow":{const[t,i]=this._arrowLastSeg(s),r=10*this._geomUnitsPerPoint,h=this._sub(n,t),o=this._norm(h);this._normalize(h);const a=this._crossProduct(h,this._sub(i,t));let l=this._dotProduct(h,this._sub(i,t));l<.05*o?l=.05*o:l>.95*o-r&&(l=.95*o-r);const c=[t[0]+h[0]*l,t[1]+h[1]*l],u=this._leftPerp(h),_=[];_.push([c[0]+u[0]*a+h[0]*r,c[1]+u[1]*a+h[1]*r]),_.push(n),_.push([c[0]-u[0]*a+h[0]*r,c[1]-u[1]*a+h[1]*r]),e.push(_);break}case"ChevronArrowOffset":{const[t,i]=this._arrowLastSeg(s),r=this._sub(n,t),h=this._norm(r);this._normalize(r);const o=this._crossProduct(r,this._sub(i,t));let a=this._dotProduct(r,this._sub(i,t));a<.05*h?a=.05*h:a>.95*h&&(a=.95*h);const l=[t[0]+r[0]*a,t[1]+r[1]*a];this._leftPerpendicular(r);const c=[];c.push([l[0]+r[0]*o*.5,l[1]+r[1]*o*.5]),c.push(this._mid(l,n)),c.push([l[0]-r[0]*o*.5,l[1]-r[1]*o*.5]),e.push(c);break}case"PartialFirstSegment":{const[t,i]=this._arrowLastSeg(s),r=this._sub(n,t),h=this._norm(r);this._normalize(r);let o=this._dotProduct(r,this._sub(i,t));o<.05*h?o=.05*h:o>.95*h&&(o=.95*h);const a=[t[0]+r[0]*o,t[1]+r[1]*o];e.push([t,a]);break}case"Arch":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,1),r=this._sub(n,t),h=this._mix(i,1,r,.55),o=this._mix(i,1,r,-.55),a=[n];this._addBezier2(a,n,h,i,4),this._addBezier2(a,i,o,t,4),e.push(a);break}case"CurvedParallelTicks":{const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=this._sub(i,t);this._crossProduct(r,this._sub(n,t))>0?this._rightPerpendicular(r):this._leftPerpendicular(r);const h=[r[0]/8,r[1]/8],o=this._sub(this._mid(t,i),h),a=this._sub(this._mix(t,.75,i,.25),h),l=this._sub(this._mix(t,.25,i,.75),h),c=[t];this._addBezier2(c,t,a,o,3),this._addBezier2(c,o,l,i,3),e.push(c);for(let t=0;t<8;t++){const s=c[2*t+1],i=[this._clone(s)];i.push(this._add(s,[r[0]/4,r[1]/4])),e.push(i)}break}case"Arc90Degrees":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,1),r=[t];this._add90DegArc(r,t,n,i),e.push(r);break}case"TipWithPerpendicularAndTicks":{const[t,i]=this._arrowLastSeg(s),r=10*this._geomUnitsPerPoint,h=this._sub(n,t),o=this._norm(h);this._normalize(h);let a=this._crossProduct(h,this._sub(i,t)),l=this._dotProduct(h,this._sub(i,t));l<.05*o?l=.05*o:l>.95*o-r&&(l=.95*o-r);const c=this._leftPerp(h),u=[n[0]-h[0]*r,n[1]-h[1]*r],_=.5*Math.max(o-l-r,r);a=Math.abs(a);const p=[];p.push([u[0]+c[0]*(a+_)-h[0]*_,u[1]+c[1]*(a+_)-h[1]*_]),p.push([u[0]+c[0]*a,u[1]+c[1]*a]),p.push([u[0]-c[0]*a,u[1]-c[1]*a]),p.push([u[0]-c[0]*(a+_)-h[0]*_,u[1]-c[1]*(a+_)-h[1]*_]),e.push(p),e.push([u,n]);break}case"ConcentricCircles":{const t=this._cp2(s,1,0),r=this._cp3(s,t,2,0),h=Math.cos(Math.PI/18),o=Math.sin(Math.PI/18);let l=this._dist(t,n),c=[l,0],u=[];for(let t=0;t<=36;t++)u.push(this._add(n,c)),this._rotateDirect(c,h,o);if(e.push(u),i>=4){u=[];const t=s[3];l=this._dist(t,n),c=[l,0];for(let t=0;t<=36;t++)u.push(this._add(n,c)),0===t&&(u.push(this._add(n,c)),a(u[1],1)),this._rotateDirect(c,h,o);e.push(u)}u=[],l=this._dist(r,n),c=[l,0];for(let t=0;t<=36;t++)u.push(this._add(n,c)),this._rotateDirect(c,h,o);e.push(u);break}case"DoubleJogArrow":{n=this._arrowPath(s)[0];const[t,i]=this._arrowLastSeg(s),r=this._sub(n,t),h=this._norm(r);this._normalize(r);const o=Math.abs(this._crossProduct(r,this._sub(i,n)));let a=Math.abs(this._dotProduct(r,this._sub(i,n)));a<.05*h?a=.05*h:a>.95*h&&(a=.95*h);const l=Math.max(o,a),c=this._leftPerp(r);let u=[];const _=[n[0]-r[0]*a*.5+c[0]*o*.5,n[1]-r[1]*a*.5+c[1]*o*.5];u.push([_[0],_[1]]),_[0]+=r[0]*l*.5+c[0]*l*.4,_[1]+=r[1]*l*.5+c[1]*l*.4,u.push([_[0],_[1]]),_[0]-=c[0]*l*.25,_[1]-=c[1]*l*.25,u.push([_[0],_[1]]),_[0]+=r[0]*l*.5+c[0]*l*.4,_[1]+=r[1]*l*.5+c[1]*l*.4,u.push([_[0],_[1]]),e.push(u),u=[],_[0]=n[0]-r[0]*a*.5-c[0]*o*.5,_[1]=n[1]-r[1]*a*.5-c[1]*o*.5,u.push([_[0],_[1]]),_[0]+=r[0]*l*.5-c[0]*l*.4,_[1]+=r[1]*l*.5-c[1]*l*.4,u.push([_[0],_[1]]),_[0]+=c[0]*l*.25,_[1]+=c[1]*l*.25,u.push([_[0],_[1]]),_[0]+=r[0]*l*.5-c[0]*l*.4,_[1]+=r[1]*l*.5-c[1]*l*.4,u.push([_[0],_[1]]),e.push(u);break}case"LinkedChevrons":{const t=this._cp2(s,-5,0),i=this._cp3(s,t,-.2,1),r=this._sub(n,t);this._normalize(r);const h=this._leftPerp(r),o=Math.abs(this._crossProduct(r,this._sub(i,t)));e.push([t,n]);const a=[];a.push([n[0]-r[0]*o+h[0]*o,n[1]-r[1]*o+h[1]*o]),a.push(n),a.push([n[0]-r[0]*o-h[0]*o,n[1]-r[1]*o-h[1]*o]),e.push(a),this._addDash(e,t,[-r[0]*o+h[0]*o,-r[1]*o+h[1]*o]),this._addDash(e,t,[-r[0]*o-h[0]*o,-r[1]*o-h[1]*o]);break}case"SegmentThenHalfCircle":{const t=this._cp2(s,2,0),r=this._cp3(s,t,1.5,0);let h;h=i>=4?s[3]:this._cp3(s,t,1.25,-.5);const o=this._sub(t,n);this._normalize(o);const a=.5*this._dist(t,r),l=this._crossProduct(o,this._sub(h,n))>0,c=Math.cos(Math.PI/18);let u=Math.sin(Math.PI/18);l&&(u=-u);const _=[n,t];o[0]*=a,o[1]*=a;const p=this._add(t,o);o[0]=-o[0],o[1]=-o[1];for(let t=1;t<=18;t++)this._rotateDirect(o,c,u),_.push(this._add(p,o));e.push(_);break}case"LineWithStraightTicks":{const t=this._cp2(s,-2,1),i=this._cp3(s,t,-1,-.5),r=this._sub(i,t);this._normalize(r);const h=this._dotProduct(r,this._sub(t,n)),o=this._dotProduct(r,this._sub(i,n));let a=[n];a.push([n[0]+r[0]*h,n[1]+r[1]*h]),a.push(t),e.push(a),a=[n],a.push([n[0]+r[0]*o,n[1]+r[1]*o]),a.push(i),e.push(a);break}case"DoubleCurve":{const t=this._cp2(s,-5,-1),i=this._cp3(s,t,2,0),r=Math.atan2(1,5),h=Math.cos(r),o=Math.sin(r),l=this._sub(t,n),c=this._dist(n,t);this._normalize(l),this._rotateDirect(l,h,-o);const u=[n];u.push([n[0]+l[0]*c*.5,n[1]+l[1]*c*.5]),a(u[1],1),u.push([n[0]+l[0]*c*.8,n[1]+l[1]*c*.8]),this._addBezier2(u,u[2],[n[0]+l[0]*c,n[1]+l[1]*c],t,3);const _=this._sub(i,t),p=this._dist(t,i);this._normalize(_),this._rotateDirect(_,h,-o),this._addBezier2(u,t,[i[0]-_[0]*p,i[1]-_[1]*p],[i[0]-_[0]*p*.8,i[1]-_[1]*p*.8],3),u.push(i),e.push(u);break}case"ParallelWithTicksByWidth":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r),h>0?(this._addAngledTicks(e,n,[n[0]+r[0]*h,n[1]+r[1]*h],t),this._addAngledTicks(e,t,[t[0]+r[0]*h,t[1]+r[1]*h],n)):(this._addAngledTicks(e,[n[0]+r[0]*h,n[1]+r[1]*h],n,t),this._addAngledTicks(e,[t[0]+r[0]*h,t[1]+r[1]*h],n,t));break}case"EnclosingRoundedRectangle":{const t=this._cp2(s,3,-2),e=[Math.min(n[0],t[0]),Math.max(n[1],t[1])],i=[Math.max(n[0],t[0]),Math.min(n[1],t[1])],r=i[0]-e[0],h=e[1]-i[1],o=Math.min(r,h)/10,a=[];a.push([e[0]+o+.75*(r-2*o),e[1]]),a.push([i[0]-o,e[1]]),this._add90DegArc(a,[i[0]-o,e[1]],[i[0],e[1]-o],[i[0],e[1]]),a.push([i[0],i[1]+o]),this._add90DegArc(a,[i[0],i[1]+o],[i[0]-o,i[1]],i),a.push([e[0]+o,i[1]]),this._add90DegArc(a,[e[0]+o,i[1]],[e[0],i[1]+o],[e[0],i[1]]),a.push([e[0],e[1]-o]),this._add90DegArc(a,[e[0],e[1]-o],[e[0]+o,e[1]],e),a.push([e[0]+o+.75*(r-2*o),e[1]]);break}case"ParallelOffsetByValue":{if(s.length<2||0===this._width)break;const t=this._offsetPath(s,.5*this._width);t&&e.push(t);const i=this._offsetPath(s,.5*-this._width);i&&e.push(i);break}default:e.push(s)}}return e}}class b{static{this.instance=null}static local(){return null===b.instance&&(b.instance=new b),b.instance}execute(t,e,s){return new C(t,e,s)}}class C extends c{constructor(t,e,s){super(t,!0,!0),this._curveHelper=new u;const i=s?.geomUnitsPerPoint;this._beginCut=(void 0!==e.beginCut?e.beginCut:1)*i,this._endCut=(void 0!==e.endCut?e.endCut:1)*i,this._middleCut=(void 0!==e.middleCut?e.middleCut:0)*i,this._invert=void 0!==e.invert&&e.invert,this._beginCut<0&&(this._beginCut=0),this._endCut<0&&(this._endCut=0),this._middleCut<0&&(this._middleCut=0)}processPath(t){const{_beginCut:e,_endCut:s,_middleCut:i}=this,n=t.pathLength(),h=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._invert){if(0!==e||0!==s||0!==i)if(e+s+i>=n)for(h.startPath();t.nextPoint();)h.pushXY(t.x,t.y);else this._curveHelper.appendSubCurve(h,t,0,e),this._curveHelper.appendSubCurve(h,t,.5*(n-i),.5*(n+i)),this._curveHelper.appendSubCurve(h,t,n-s,s)}else if(0===e&&0===s&&0===i)for(h.startPath();t.nextPoint();)h.pushXY(t.x,t.y);else e+s+i<n&&(0===i?this._curveHelper.appendSubCurve(h,t,e,n-s):(this._curveHelper.appendSubCurve(h,t,e,.5*(n-i)),this._curveHelper.appendSubCurve(h,t,.5*(n+i),n-s)));return 0===h.totalSize?null:h}}class w{constructor(){this._values=[],this.extPtGap=0,this.ctrlPtGap=0,this._length=0,this._currentValue=0}isEmpty(){return 0===this._values.length}size(){return this._values.length}init(t,e=!0){if(this._setEmpty(),!t||0===t.length)return!1;for(let s=0;s<t.length;s++){let i=Math.abs(t[s]);e&&i<1e-7&&(i=1e-7),this._values.push(i),this._length+=i}return 0!==this._length&&(this.ctrlPtGap=this.extPtGap=0,this._currentValue=-1,!0)}scale(t){const e=this._values?this._values.length:0;for(let s=0;s<e;++s)this._values[s]*=t;this._length*=t,this.extPtGap*=t,this.ctrlPtGap*=t}addValue(t){this._length+=t,this._values.push(t)}firstValue(){return this._values[0]}lastValue(){return this._values[this._values.length-1]}nextValue(){return this._currentValue++,this._currentValue===this._values.length&&(this._currentValue=0),this._values[this._currentValue]}reset(){this._currentValue=-1}length(){return this._length}_setEmpty(){this.extPtGap=this.ctrlPtGap=this._length=0,this._currentValue=-1,this._values.length=0}}class S{constructor(){this.pt=null,this.ca=0,this.sa=0}}class I{constructor(){this.reset()}reset(){this.segment=null,this.segmentLength=0,this.abscissa=0,this.isPathEnd=!1,this.isPartEnd=!1}isValid(){return null!==this.segment}copyTo(t){t.segment=this.segment,t.segmentLength=this.segmentLength,t.abscissa=this.abscissa,t.isPathEnd=this.isPathEnd,t.isPartEnd=this.isPartEnd}}class v extends u{constructor(t=0,e=!1){super(t,e),this._tempPos=new I,this._tempPt=[0,0],this._tolerance=.03,this._currentPosition=new I}updateTolerance(t){this._tolerance=.03*t}init(t,e,s=!0){return s?(this._patternLength=e.length(),this._partExtPtGap=e.extPtGap,this._partCtrlPtGap=e.ctrlPtGap):(this._patternLength=0,this._partExtPtGap=0,this._partCtrlPtGap=0),this._currentPosition.reset(),this._partSegCount=0,this._pathCursor=t,this._seg=-1,this._setPosAtNextPart()}curPositionIsValid(){return this._currentPosition.isValid()}nextPosition(t,e=0){const s=new I;return!!this._nextPosition(t,s,null,e)&&(s.copyTo(this._currentPosition),!0)}curPointAndAngle(t){t.pt=this._getPoint(this._currentPosition);const[e,s]=this._getAngleCS(this._tempPt,this._currentPosition);t.ca=e,t.sa=s}nextPointAndAngle(t,e,s=0){const i=this._tempPos;if(!this._nextPosition(t,i,null,s))return!1;i.copyTo(this._currentPosition),e.pt=this._getPoint(i);const[n,r]=this._getAngleCS(this._tempPt,i);return e.ca=n,e.sa=r,!0}nextCurve(t){if(0===t)return null;const e=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");e.startPath(),e.nextPath();const s=new I;return this._nextPosition(t,s,e,1)?(s.copyTo(this._currentPosition),e):null}isPathEnd(){return this._currentPosition.isPathEnd}getPathEnd(){return this._currentPosition.segment[1]}getPt(t){return this._pathCursor.seekInPath(t),[this._pathCursor.x,this._pathCursor.y]}getSeg(t){return[this.getPt(t),this.getPt(t+1)]}_nextPosition(t,e,s,i){if(this._currentPosition.isPathEnd)return!1;let n=this._currentPosition.abscissa;for(this._currentPosition.segmentLength>0&&(n/=this._currentPosition.segmentLength),this._currentPosition.copyTo(e);e.abscissa+t*this._partLengthRatio>e.segmentLength+this._tolerance;){if(s){if(0===s.pathSize)if(0===n){const t=e.segment[0];s.pushXY(t[0],t[1])}else s.pushPoint(this.getSegCoord2D(e.segment,n));const t=e.segment[1];s.pushXY(t[0],t[1])}if(n=0,t-=(e.segmentLength-e.abscissa)/this._partLengthRatio,this._partSegCount)e.segment=this._nextSegment(),e.segmentLength=this.getSegLength(e.segment),e.abscissa=0,this._partSegCount--;else{if(!this._setPosAtNextPart())return 0!==i&&(e.segmentLength=this.getSegLength(e.segment),e.isPartEnd=!0,1===i?(e.abscissa=e.segmentLength,e.isPathEnd=!0):e.abscissa=e.segmentLength+t,!0);this._currentPosition.copyTo(e)}}if(e.abscissa+=t*this._partLengthRatio,s){0===s.pathSize&&(0===n?s.pushPoint(e.segment[0]):s.pushPoint(this.getSegCoord2D(e.segment,n)));const t=e.abscissa/e.segmentLength;1===t?s.pushPoint(e.segment[1]):s.pushPoint(this.getSegCoord2D(e.segment,t))}return this._partSegCount||Math.abs(e.abscissa-e.segmentLength)<this._tolerance&&(e.isPathEnd=this._partIsLast,e.isPartEnd=!0),!0}_getPoint(t){const e=t.segmentLength<=0?0:t.abscissa/t.segmentLength;return this.getSegCoord2D(this._currentPosition.segment,e)}_getAngleCS(t,e){const s=e.segmentLength<=0?0:e.abscissa/e.segmentLength;return this.getSegAngleCS(t,this._currentPosition.segment,s)}_setPosAtNextPart(){for(;this._partSegCount;)this._hasNextSegment()&&this._nextSegment(),this._partSegCount--;if(!this._hasNextSegment())return!1;for(this._partLength=0,this._partIsLast=!0,this._partSegCount=0;this._hasNextSegment();)if(this._partLength+=this.getSegLength(this._nextSegment()),this._partSegCount++,this._pathCursor.getControlPointAt(this._getEndPointIndex())){this._partIsLast=!this._hasNextSegment();break}let t=this._partSegCount;for(;t;)this._previousSegment(),--t;this._currentPosition.segment=this._nextSegment(),this._currentPosition.segmentLength=this.getSegLength(this._currentPosition.segment),this._currentPosition.abscissa=0,this._currentPosition.isPathEnd=this._currentPosition.isPartEnd=!1,--this._partSegCount;const e=this._getStartPointIndex();this._ctrlPtBegin=this._pathCursor.getControlPointAt(e);let s=e+this._partSegCount+1;if(s>=this._pathCursor.pathSize&&(s=0),this._ctrlPtEnd=this._pathCursor.getControlPointAt(s),this._patternLength>0){const t=this._ctrlPtBegin?this._partCtrlPtGap:this._partExtPtGap,e=this._ctrlPtEnd?this._partCtrlPtGap:this._partExtPtGap;let s=Math.round((this._partLength-(t+e))/this._patternLength);s<=0&&(s=t+e>0?0:1),this._partLengthRatio=this._partLength/(t+e+s*this._patternLength),this._partLengthRatio<.01&&(this._partLengthRatio=1)}else this._partLengthRatio=1;return!0}_hasNextSegment(){return this._seg<this._pathCursor.pathSize-2}_previousSegment(){return this.getSeg(--this._seg)}_nextSegment(){return this.getSeg(++this._seg)}_getStartPointIndex(){return this._seg}_getEndPointIndex(){return this._seg+1}}var k=s(93397);class z{static{this.instance=null}static local(){return null===z.instance&&(z.instance=new z),z.instance}execute(t,e,s){return new A(t,e,s)}}class A extends c{constructor(t,e,s){super(t,!0,!0),this._firstCurve=null;const i=s.geomUnitsPerPoint;this._walker=new v,this._walker.updateTolerance(i),this._endings=e.lineDashEnding??"NoConstraint",this._customDashPos=-(e.offsetAlongLine??0)*i,this._offsetAtEnd=(e.customEndingOffset??0)*i;let n=(0,k.FH)(e).dashTemplate;null==n&&(n=[]),n.length%2&&(n=[...n,...n]);let r=0;for(;r<n.length&&0===n[r];)r++;let h=0;const o=[];for(let t=r;t<n.length;t++)0===n[t]?h++:0===h?o.push(n[t]):1&h?(o[o.length-1]+=n[t],h=0):(o.push(n[t]),h=0);n=o,n.length<=1?n=0===n.length||r%2==0?[]:[-1]:n.length%2==1?r%2==1?n.unshift(0):n.push(0):r%2==1&&(n.unshift(0),n.push(0)),this._pattern=new w,this._pattern.init(n,!1),this._pattern.scale(i)}processPath(t){if(this._pattern.size()%2==1)return null;if(0===this._pattern.length()){this.iteratePath=!1;const e=(0,h.A)(t);return r.z.fromJSONCIM({paths:[e]})}if(!this.iteratePath){let e=!0;switch(this._endings){case"HalfPattern":case"HalfGap":default:this._pattern.extPtGap=0;break;case"FullPattern":this.isClosed||(this._pattern.extPtGap=.5*this._pattern.firstValue());break;case"FullGap":this.isClosed||(this._pattern.extPtGap=.5*this._pattern.lastValue());break;case"NoConstraint":this.isClosed||(e=!1);break;case"Custom":this.isClosed||(this._pattern.extPtGap=.5*this._offsetAtEnd)}const s=t.pathLength();if(this._pattern.isEmpty()||s<.1*this._pattern.length()){const e=(0,h.A)(t);return r.z.fromJSONCIM({paths:[e]})}if(!this._walker.init(t,this._pattern,e)){const e=(0,h.A)(t);return r.z.fromJSONCIM({paths:[e]})}}let e;if(this.iteratePath)e=this._pattern.nextValue();else{let t;switch(this._endings){case"HalfPattern":default:t=.5*this._pattern.firstValue();break;case"HalfGap":t=.5*-this._pattern.lastValue();break;case"FullGap":t=-this._pattern.lastValue();break;case"FullPattern":t=0;break;case"NoConstraint":case"Custom":t=-this._customDashPos}let s=t/this._pattern.length();s-=Math.floor(s),t=s*this._pattern.length(),this._pattern.reset(),e=this._pattern.nextValue();let i=!1;for(;t>=e;)t-=e,e=this._pattern.nextValue(),i=!i;e-=t,i?(this._walker.nextPosition(e),e=this._pattern.nextValue()):this.isClosed&&(this._firstCurve=this._walker.nextCurve(e),e=this._pattern.nextValue(),this._walker.nextPosition(e),e=this._pattern.nextValue())}0===e&&(e=this._pattern.nextValue(),this._walker.nextPosition(e),e=this._pattern.nextValue());let s=this._walker.nextCurve(e);if(s)if(this._walker.isPathEnd()){if(this.iteratePath=!1,this._firstCurve){for(this._firstCurve.nextPath();this._firstCurve.nextPoint();)s.pushXY(this._firstCurve.x,this._firstCurve.y);this._firstCurve=null}}else e=this._pattern.nextValue(),!this._walker.nextPosition(e)||this._walker.isPathEnd()?(this.iteratePath=!1,this._firstCurve&&(s.pushCursor(this._firstCurve),this._firstCurve=null)):this.iteratePath=!0;else this.iteratePath=!1,s=this._firstCurve,this._firstCurve=null;return s?.reset(),s}}class T{static{this.instance=null}static local(){return null===T.instance&&(T.instance=new T),T.instance}execute(t,e,s){return new L(t,e,s)}}class L{constructor(t,e,s){this._inputGeometries=t,this._tileKey=s.tileKey,this._maxInflateSize=s.maxInflateSize*s.geomUnitsPerPoint,this._preventClipping=s.preventClipping,this._width=(void 0!==e.width?e.width:2)*s.geomUnitsPerPoint,e.method,this._option=e.option??"Accurate"}next(){let t;for(;t=this._inputGeometries.next();){if("esriGeometryEnvelope"===t.geometryType&&this._width>0){const e=t.asJSON();return Math.min(e.xmax-e.xmin,e.ymax-e.ymin)-2*this._width<0?t:r.z.fromJSONCIM({paths:[[[e.xmin+this._width,e.ymin+this._width],[e.xmax-this._width,e.ymin+this._width],[e.xmax-this._width,e.ymax-this._width],[e.xmin+this._width,e.ymax-this._width],[e.xmin+this._width,e.ymin+this._width]],[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]})}if("esriGeometryPolygon"===t.geometryType){if(0===this._width)return t.clone();const e=g.$Z.module,s=!this._preventClipping&&this._tileKey?(0,g.qc)(t,this._maxInflateSize,!0):t.clone();if(!s)continue;const i={...s.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}},n=e.execute(i,-this._width);if(n)for(const t of n.rings)if(t){s.startPath();for(const e of t.reverse())s.pushXY(e[0],s.yFactor*e[1])}return s}}return null}}var E=s(537);class G{static{this.instance=null}static local(){return null===G.instance&&(G.instance=new G),G.instance}execute(t,e,s){return new O(t,e,s)}}class O{constructor(t,e,s){this._inputGeometries=t,this._medhod=e.method}next(){let t=this._inputGeometries.next();const e=this._medhod;for(;null!=t;){if(t.totalSize>0)switch(e){case"RectangularBox":return N(t);case"ConvexHull":return this._constructConvexHull(t);default:return R(t)}t=this._inputGeometries.next()}return null}_constructConvexHull(t){switch(t.geometryType){case"esriGeometryPolyline":case"esriGeometryPolygon":{const e=g.lX.module,s={...t.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}},i=e.execute(s);return i?r.z.fromJSONCIM(i):null}case"esriGeometryEnvelope":return t;default:return null}}}function N(t){const e=(0,E.z8)(t),s={xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3]};return r.z.fromJSONCIM(s)}function R(t){switch(t.geometryType){case"esriGeometryPolyline":{const e=[];for(;t.nextPath();)F(t,e);return r.z.fromJSONCIM({rings:e})}case"esriGeometryPolygon":case"esriGeometryEnvelope":return t;default:return null}}function F(t,e){if(t.seekPathStart(),!t.nextPoint())return;const s=t.x,i=t.y,n=[[s,i]];for(e.push(n);t.nextPoint();)n.push([t.x,t.y]);n.push([s,i])}class X{static{this.instance=null}static local(){return null===X.instance&&(X.instance=new X),X.instance}execute(t,e,s){return new Y(t,e,s)}}class Y extends c{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new u;const i=s.geomUnitsPerPoint;this._length=(void 0!==e.length?e.length:20)*i,this._angle=void 0!==e.angle?e.angle:225,this._position=void 0!==e.position?e.position:50,this._length<0&&(this._length=-this._length),this._position<20&&(this._position=20),this._position>80&&(this._position=80),this._mirror=!1}processPath(t){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._curveHelper.isEmpty(t))return null;t.seekInPath(0);const s=t.x,i=t.y;t.seekInPath(t.pathSize-1);const n=t.x,h=t.y,o=[n-s,h-i];this._curveHelper.normalize(o);const a=s+(n-s)*this._position/100,l=i+(h-i)*this._position/100,c=Math.cos((90-this._angle)/180*Math.PI);let u=Math.sin((90-this._angle)/180*Math.PI);this._mirror&&(u=-u),this._mirror=!this._mirror;const _=[a-this._length/2*c,l-this._length/2*u],p=[a+this._length/2*c,l+this._length/2*u];return e.pushPath([[s,i],_,p,[n,h]]),e}}class D{static{this.instance=null}static local(){return null===D.instance&&(D.instance=new D),D.instance}execute(t,e,s){return new W(t,e,s)}}class W{constructor(t,e,s){this._inputGeometries=t;const i=s.geomUnitsPerPoint;this._offsetX=void 0!==e.offsetX?e.offsetX*i:0,this._offsetY=void 0!==e.offsetY?e.offsetY*i:0}next(){let t=this._inputGeometries.next();for(;t;){if(t.totalSize>0)return this._move(t.clone(),this._offsetX,this._offsetY);t=this._inputGeometries.next()}return null}_move(t,e,s){for(;t.nextPath();)for(;t.nextPoint();)t.x=t.x+e,t.y=t.y+s;return t.reset(),t}}var V=s(60408);class U{static{this.instance=null}static local(){return null===U.instance&&(U.instance=new U),U.instance}execute(t,e,s){return new H(t,e,s)}}class H{constructor(t,e,s){const i=s.geomUnitsPerPoint,n=s.maxInflateSize;this._preventClipping=s.preventClipping,this._inputGeometries=t,this._tileKey=s.tileKey,this._curveHelper=new u,this._offset=(e.offset??1)*i,this._method=e.method??"Square",this._maxInflateSize=Math.max(Math.abs(n*i),10),this._offsetFlattenError=.03*i}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._offset)return t.clone();if("esriGeometryEnvelope"===t.geometryType){if("Rounded"===this._method&&this._offset>0){const e=(0,h.A)(t),s=this._curveHelper.offset(e,-this._offset,this._method,4,this._offsetFlattenError);if(s){const e=r.z.createEmptyOptimizedCIM(t.geometryType);return e.pushPath(s),e}return null}const e=t.asJSON();if((0,V.ZC)(e)&&Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._offset>0)return r.z.fromJSONCIM({xmin:e.xmin-this._offset,xmax:e.xmax+this._offset,ymin:e.ymin-this._offset,ymax:e.ymax+this._offset})}const e=!this._preventClipping&&this._tileKey?(0,g.qc)(t,this._maxInflateSize,!0):t.clone();if(!e)continue;const s=g.xR.module,i=g.mO.module,n=g.hd.module,o=s.execute({...e.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}});if(!o)continue;let a,l=B(this._method);return"esriGeometryPolygon"===t.geometryType?("square"===l&&(l="bevel"),a=n.executeMany([o],[this._offset],l,"round")[0]):a=i.execute(o,-this._offset,{joins:l,flattenError:this._offsetFlattenError,miterLimit:4}),a?r.z.fromJSONCIM(a):null}return null}}function B(t){switch(t){case"Rounded":return"round";case"Bevelled":return"bevel";case"Mitered":return"miter";case"Square":return"square"}}var J=s(12359),q=s(28076);class Z{static{this.instance=null}static local(){return null===Z.instance&&(Z.instance=new Z),Z.instance}execute(t,e,s){return new j(t,e,s)}}class j{constructor(t,e,s){const i=s.geomUnitsPerPoint;this._inputGeometries=t,this._length=(void 0!==e.length?e.length:q.D.CIMGeometricEffectRadial.length)*i,this._angle=void 0!==e.angle?e.angle*Math.PI/180:q.D.CIMGeometricEffectRadial.angle,this._lx=Math.cos(this._angle)*this._length,this._ly=Math.sin(this._angle)*this._length}next(){let t=this._inputGeometries.next();for(;t;){if("esriGeometryPoint"===t.geometryType||"esriGeometryMultipoint"===t.geometryType){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");return t.nextPath()&&t.nextPoint()&&e.pushPath([[t.x,t.y],[t.x+this._lx,t.y+this._ly]]),e}if("esriGeometryPolygon"===t.geometryType){const e=(0,J.IK)(t);if(!e)return null;const s=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");return s.pushPath([[e[0],e[1]],[e[0]+this._lx,e[1]+this._ly]]),s}t=this._inputGeometries.next()}return null}}class ${static{this.instance=null}static local(){return null===$.instance&&($.instance=new $),$.instance}execute(t,e,s){return new K(t,e,s)}}class K{constructor(t,e,s){this._inputGeometries=t,this._reverse=void 0===e.reverse||e.reverse}next(){let t=this._inputGeometries.next();for(;t;){if(!this._reverse)return t;if("esriGeometryPolyline"===t.geometryType)return Q(t.clone());t=this._inputGeometries.next()}return null}}function Q(t){for(;t.nextPath();)for(let e=0;e<t.pathSize/2;e++){t.seekInPath(e);const s=t.x,i=t.y;t.seekInPath(t.pathSize-e-1);const n=t.x,r=t.y;t.x=s,t.y=i,t.seekInPath(e),t.x=n,t.y=r}return t.reset(),t}class tt{static{this.instance=null}static local(){return null===tt.instance&&(tt.instance=new tt),tt.instance}execute(t,e,s){return new et(t,e,s)}}class et{constructor(t,e,s){this._inputGeometries=t,this._rotateAngle=void 0!==e.angle?e.angle*Math.PI/180:0}next(){let t=this._inputGeometries.next();for(;t;){if(0===this._rotateAngle||"esriGeometryPoint"===t.geometryType)return t;if(t.totalSize>0){const e=(0,E.z8)(t),s=(e[2]+e[0])/2,i=(e[3]+e[1])/2;return t.reset(),this._rotate(t.clone(),s,i)}t=this._inputGeometries.next()}return null}_rotate(t,e,s){const i=Math.cos(this._rotateAngle),n=Math.sin(this._rotateAngle);for(;t.nextPath();)for(;t.nextPoint();){const r=t.x-e,h=t.y-s;t.x=e+r*i-h*n,t.y=s+r*n+h*i}return t.reset(),t}}class st{static{this.instance=null}static local(){return null===st.instance&&(st.instance=new st),st.instance}execute(t,e,s){return new it(t,e,s)}}class it{constructor(t,e,s){this._inputGeometries=t,this._xFactor=void 0!==e.xScaleFactor?e.xScaleFactor:1.15,this._yFactor=void 0!==e.yScaleFactor?e.yScaleFactor:1.15}next(){const t=this._inputGeometries.next();if(t){if(1===this._xFactor&&1===this._yFactor)return t;if("esriGeometryPoint"===t.geometryType)return t;if(t.totalSize>0){const e=(0,E.z8)(t),s=(e[2]+e[0])/2,i=(e[3]+e[1])/2;return t.reset(),this._scaleCursor(t.clone(),s,i)}}return null}_scaleCursor(t,e,s){for(;t.nextPath();)for(;t.nextPoint();)t.x=e+(t.x-e)*this._xFactor,t.y=s+(t.y-s)*this._yFactor;return t.reset(),t}}class nt{constructor(){this._polyline=[]}beginPath(t){this._polyline.push([t])}lineTo(t){if(0===this._polyline.length)throw new Error("No path started. Call beginPath first.");this._polyline[this._polyline.length-1].push(t)}getPointCount(){return this._polyline.reduce((t,e)=>t+e.length,0)}addSegment(t,e,s){s&&this.beginPath(t),this.lineTo(e)}getXY(t){let e=0;for(const s of this._polyline){if(t<e+s.length)return s[t-e];e+=s.length}return null}getGeometry(){return this._polyline}}class rt{static{this.instance=null}static local(){return null===rt.instance&&(rt.instance=new rt),rt.instance}execute(t,e,s){return new ht(t,e,s)}}class ht extends c{constructor(t,e,s){super(t,!1,!0),this._suppress=void 0!==e.suppress&&e.suppress,this._invert=void 0!==e.invert&&e.invert}processPath(t){if(t.totalSize<=0)return null;if(!this._suppress){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,t.yFactor);for(t.seekPathEnd();t.nextPoint();)e.pushXY(t.x,t.y);return e}const e=[],s=new Array(t.pathSize);let i=0;for(t.seekPathStart();t.nextPoint();)s[i++]=t.getControlPoint(),e.push([t.x,t.y]);let n=!0,h=!0,o=!1,a=!this._invert;i=0;const l=new nt;let c=e[0];for(;i<e.length-1;){const t=e[i+1],r=s[i],u=s[i+1];i++,h&&(a=r||u?this._invert:!this._invert,h=!1),a?(l.addSegment(c,t,n),n=!1):o=!0,c=t,u&&(a?(a=!1,n=!0):a=!0)}const u=l.getGeometry();if(0===u.length)return null;if(!o&&e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]){const t=u[u.length-1];return t[0][0]===t[t.length-1][0]&&t[0][1]===t[t.length-1][1]||t.push([t[0][0],t[0][1]]),r.z.fromJSONCIM({paths:u})}const _=u[u.length-1];return l.getPointCount()>1&&"esriGeometryPolygon"===t.geometryType&&_[0][0]===_[_.length-1][0]&&_[0][1]===_[_.length-1][1]&&u.length>1&&(u[u.length-1].push(...u[0]),u.splice(0,1)),r.z.fromJSONCIM({paths:u})}}var ot=s(49186),at=s(53966),lt=s(6774);const ct=()=>at.A.getLogger("esri.symbols.cim.effects.EffectTaperedPolygon");class ut{static{this.instance=null}static local(){return null===ut.instance&&(ut.instance=new ut),ut.instance}execute(t,e,s){return new _t(t,e,s)}}class _t extends c{constructor(t,e,s){super(t,!1,!0),this._slopeS=0,this._slopeC=1,this._lastTangent1=new lt.bR(NaN,NaN),this._lastWidth=0;const i=s.geomUnitsPerPoint;this._geomUnitsPerPoint=i,this._halfFromWidth=Math.abs(void 0!==e.fromWidth?e.fromWidth:0)*i*.5,this._halfToWidth=Math.abs(void 0!==e.toWidth?e.toWidth:1)*i*.5,this._originalLength=(void 0!==e.length?e.length:0)*i,this._length=0}processPath(t){if(t.totalSize<=0)return null;if(this._halfFromWidth<=0&&this._halfToWidth<=0){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,t.yFactor);for(t.seekPathEnd();t.prevPoint();)e.pushXY(t.x,t.y);for(t.seekPathStart();t.nextPoint();)e.pushXY(t.x,t.y);return e}const e=t.getCurrentPath().asJSON(),s=g.NS.module.execute(e,.25*this._geomUnitsPerPoint,{removeDegenerateParts:!0}),i=null==s?null:(0,V.Bi)(s)?s.rings:(0,V.Rg)(s)?s.paths:null;if(!i)return ct().error(new ot.A("mapview-bad-resource","Unable to process geometry")),null;const n=g.Xs.module.execute(s);if((0===this._originalLength||this._originalLength>n)&&n>0){this._length=n;const t=(this._halfToWidth-this._halfFromWidth)/this._length;if(Math.abs(t)<1){const e=t*t;this._slopeC=Math.sqrt(1/(1+e)),this._slopeS=Math.sqrt(e/(1+e)),t<0&&(this._slopeS=-this._slopeS)}else this._slopeC=this._slopeS=.7071}else this._length=this._originalLength,this._slopeC=1,this._slopeS=0;const h=[];for(const t of i){const e=new nt,s=new nt;let i=0;this._setFromOffset(t.slice(0,2),e,s);for(let n=0,r=3;r<=t.length;++n,++r)i=this._setOffset(t.slice(n,r),i,e,s);this._setToOffset(t.slice(-2),i,e,s);const[n]=e.getGeometry(),[r]=s.getGeometry();h.push([...n,...r.reverse()])}const o={rings:h,spatialReference:{wkid:d.A.WebMercator.wkid}},a=g.yM.module.execute(o);return r.z.fromJSONCIM(a)}_setFromOffset([[t,e],[s,i]],n,r){const h=this._halfFromWidth,o=new lt.bR(s-t,i-e).normalize().scale(h);n.beginPath([t-o.y,e+o.x]),r.beginPath([t+o.y,e-o.x])}_setToOffset([[t,e],[s,i]],n,r,h){let o;o=(n+=Math.sqrt((s-t)**2+(i-e)**2))>=this._length?this._halfToWidth:this._halfFromWidth+(this._halfToWidth-this._halfFromWidth)*n/this._length;const a=new lt.bR(s-t,i-e).normalize().scale(o);r.lineTo([s-a.y,i+a.x]),h.lineTo([s+a.y,i-a.x])}_setOffset([[t,e],[s,i],[n,r]],h,o,a){const l=Math.sqrt((s-t)**2+(i-e)**2);let c;c=h+l>=this._length?this._halfToWidth:this._halfFromWidth+(this._halfToWidth-this._halfFromWidth)*(h+l)/this._length,h+=l;const u=new lt.bR(s,i),_=new lt.bR(s-t,i-e).normalize(),p=new lt.bR(n-s,r-i).normalize(),f=lt.bR.sub(p,_),d=o.getPointCount(),g=a.getPointCount();_.leftPerpendicular(),p.leftPerpendicular();const m=_.x*p.x+_.y*p.y;if(m>.99){const t=lt.bR.add(_,p).scale(c/2),e=t.clone().rotate(this._slopeC,this._slopeS);o.lineTo([u.x+e.x,u.y+e.y]);const s=t.rotateReverse(this._slopeC,this._slopeS);a.lineTo([u.x-s.x,u.y-s.y])}else{const s=_.x*p.y-_.y*p.x;if(f.scale(1/s),s<0){f.scale(-c).rotateReverse(this._slopeC,this._slopeS);const t=a.getXY(g-1);t||ct().error(new ot.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const e=lt.bR.add(u,f).sub(lt.bR.fromArray(t));if(_.x*e.y-_.y*e.x>0){const t=_.clone().scale(-c).rotateReverse(this._slopeC,this._slopeS),e=p.clone().scale(-c).rotateReverse(this._slopeC,this._slopeS);a.lineTo([u.x+t.x,u.y+t.y]),a.lineTo([u.x,u.y]),a.lineTo([u.x+e.x,u.y+e.y])}else a.lineTo([u.x+f.x,u.y+f.y])}else{f.scale(c).rotate(this._slopeC,this._slopeS);const t=o.getXY(d-1);t||ct().error(new ot.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const e=lt.bR.add(u,f).sub(lt.bR.fromArray(t));if(_.x*e.y-_.y*e.x>0){const t=_.clone().scale(c).rotate(this._slopeC,this._slopeS),e=p.clone().scale(c).rotate(this._slopeC,this._slopeS);o.lineTo([u.x+t.x,u.y+t.y]),o.lineTo([u.x,u.y]),o.lineTo([u.x+e.x,u.y+e.y])}else o.lineTo([u.x+f.x,u.y+f.y])}const i=Math.acos(m);let n=1;if(c>.25){const t=2*Math.acos(1-.25/c);t<i&&(n=Math.round(i/t))}const r=Math.cos(i/n),h=Math.sin(i/n),l=_.clone();if(s<0){l.rotate(this._slopeC,this._slopeS);const s=o.getXY(d-1);s||ct().error(new ot.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const i=lt.bR.add(u,l.clone().scale(this._lastWidth)),n=lt.bR.sub(i,lt.bR.fromArray(s)),r=_.x*n.y-_.y*n.x;if(!isNaN(this._lastTangent1.x)&&!isNaN(this._lastTangent1.y)&&r>0){const s=new lt.bR(t,e),i=this._lastTangent1.clone().scale(this._lastWidth);i.rotate(this._slopeC,this._slopeS);const n=_.clone().scale(this._lastWidth);n.rotate(this._slopeC,this._slopeS),o.lineTo([s.x+i.x,s.y+i.y]),o.lineTo([s.x,s.y]),o.lineTo([s.x+n.x,s.y+n.y])}}else{l.scale(-1).rotateReverse(this._slopeC,this._slopeS);const s=a.getXY(g-1);s||ct().error(new ot.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const i=lt.bR.add(u,l.clone().scale(this._lastWidth)),n=lt.bR.sub(i,lt.bR.fromArray(s)),r=_.x*n.y-_.y*n.x;if(!isNaN(this._lastTangent1.x)&&!isNaN(this._lastTangent1.y)&&r>0){const s=new lt.bR(t,e),i=this._lastTangent1.clone().scale(-this._lastWidth);i.rotateReverse(this._slopeC,this._slopeS);const n=_.clone().scale(-this._lastWidth);n.rotateReverse(this._slopeC,this._slopeS),a.lineTo([s.x+i.x,s.y+i.y]),a.lineTo([s.x,s.y]),a.lineTo([s.x+n.x,s.y+n.y])}}l.scale(c);for(let t=0;t<=n;t++)s<0?(o.lineTo([u.x+l.x,u.y+l.y]),l.rotateReverse(r,h)):(a.lineTo([u.x+l.x,u.y+l.y]),l.rotate(r,h))}return this._lastTangent1.setCoords(_.x,_.y),this._lastWidth=c,h}}class pt{static{this.instance=null}static local(){return null===pt.instance&&(pt.instance=new pt),pt.instance}execute(t,e,s){return new ft(t,e,s)}}class ft{constructor(t,e,s){this._inputGeometries=t;const i=s.geomUnitsPerPoint;this._height=(void 0!==e.amplitude?e.amplitude:2)*i,this._period=(void 0!==e.period?e.period:3)*i,this._style=e.waveform??"Sinus",this._height<=0&&(this._height=Math.abs(this._height)),this._period<=0&&(this._period=Math.abs(this._period)),this._pattern=new w,this._pattern.addValue(this._period),this._pattern.addValue(this._period),this._walker=new v,this._walker.updateTolerance(i)}next(){let t=this._inputGeometries.next();for(;t;){if(0===this._height||0===this._period)return t;const e=this._processGeom(t);if(e)return e;t=this._inputGeometries.next()}return null}_processGeom(t){const e=r.z.createEmptyOptimizedCIM(t.geometryType);for(;t.nextPath();){e.startPath();const s=t.pathLength();if(this._walker.init(t,this._pattern))switch(this._style){case"Sinus":default:this._constructCurve(e,s,!1);break;case"Square":this._constructSquare(e,s);break;case"Triangle":this._constructTriangle(e,s);break;case"Random":this._constructCurve(e,s,!0)}else for(;t.nextPoint();)e.pushXY(t.x,t.y)}return e}_constructCurve(t,e,s){let i=Math.round(e/this._period);0===i&&(i=1);const n=16*i+1,r=e/i,h=this._period/16,o=1/n,a=2*Math.PI*e/r,l=2*Math.PI*Math.random(),c=2*Math.PI*Math.random(),u=2*Math.PI*Math.random(),_=.75-Math.random()/2,p=.75-Math.random()/2,f=new S;this._walker.curPointAndAngle(f),t.pushPoint(f.pt);let d=0;for(;;){if(!this._walker.nextPointAndAngle(h,f)){t.pushPoint(this._walker.getPathEnd());break}{const e=d;let i;if(d+=o,s){const t=this._height/2*(1+.3*Math.sin(_*a*e+l));i=t*Math.sin(a*e+c),i+=t*Math.sin(p*a*e+u),i/=2}else i=.5*this._height*Math.sin(.5*a*e);t.pushXY(f.pt[0]-i*f.sa,f.pt[1]+i*f.ca)}}}_constructSquare(t,e){Math.round(e/this._period);let s=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){const i=new S;this._walker.curPointAndAngle(i);const n=new S;if(this._walker.nextPointAndAngle(this._period,n)){const r=new S;this._walker.nextPointAndAngle(this._period,r)&&(s?(t.pushPoint(i.pt),s=!1):t.pushPoint(i.pt),t.pushXY(i.pt[0]-this._height/2*i.sa,i.pt[1]+this._height/2*i.ca),t.pushXY(n.pt[0]-this._height/2*n.sa,n.pt[1]+this._height/2*n.ca),t.pushXY(n.pt[0]+this._height/2*n.sa,n.pt[1]-this._height/2*n.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}_constructTriangle(t,e){Math.round(e/this._period);let s=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){const i=new S;this._walker.curPointAndAngle(i);const n=new S;if(this._walker.nextPointAndAngle(this._period/2,n)){const r=new S;this._walker.nextPointAndAngle(this._period,r)&&(this._walker.nextPosition(this._period/2)&&(s?(t.pushPoint(i.pt),s=!1):t.pushPoint(i.pt),t.pushXY(n.pt[0]-this._height/2*n.sa,n.pt[1]+this._height/2*n.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca)),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}}class dt{static{this.instance=null}static local(){return null===dt.instance&&(dt.instance=new dt),dt.instance}execute(t,e,s){return new gt(t,e,s)}}class gt extends l{constructor(t,e,s){super(t),this._geometryWalker=new v,this._geometryWalker.updateTolerance(s),this._angleToLine=e.angleToLine??!0,this._keepUpright=e.keepUpright??!1,this._offset=(e.offset?e.offset:0)*s,this._originalEndings=e.endings??"WithHalfGap",this._offsetAtEnd=(e.customEndingOffset?e.customEndingOffset:0)*s,this._position=-(e.offsetAlongLine?e.offsetAlongLine:0)*s,this._pattern=new w,this._pattern.init(e.placementTemplate),this._pattern.scale(s),this._endings=this._originalEndings}processPath(t){if(this._pattern.isEmpty())return null;let e;if(this.iteratePath)e=this._pattern.nextValue();else{"WithFullGap"===this._originalEndings&&this.isClosed?this._endings="WithMarkers":this._endings=this._originalEndings,this._pattern.extPtGap=0;let s,i=!0;switch(this._endings){case"NoConstraint":s=-this._position,s=this._adjustPosition(s),i=!1;break;case"WithHalfGap":default:s=-this._pattern.lastValue()/2;break;case"WithFullGap":s=-this._pattern.lastValue(),this._pattern.extPtGap=this._pattern.lastValue();break;case"WithMarkers":s=0;break;case"Custom":s=-this._position,s=this._adjustPosition(s),this._pattern.extPtGap=.5*this._offsetAtEnd}if(!this._geometryWalker.init(t,this._pattern,i))return null;this._pattern.reset();let n=0;for(;s>n;)s-=n,n=this._pattern.nextValue();n-=s,e=n,this.iteratePath=!0}const s=new S;return this._geometryWalker.nextPointAndAngle(e,s)?"WithFullGap"===this._endings&&this._geometryWalker.isPathEnd()?(this.iteratePath=!1,null):"WithMarkers"===this._endings&&this._geometryWalker.isPathEnd()&&(this.iteratePath=!1,this.isClosed)?null:(this.internalPlacement.setTranslate(s.pt[0]-this._offset*s.sa,s.pt[1]+this._offset*s.ca),this._angleToLine&&this.internalPlacement.setRotateCS(s.ca,s.sa),this.internalPlacement):(this.iteratePath=!1,null)}_adjustPosition(t){let e=t/this._pattern.length();return e-=Math.floor(e),e*this._pattern.length()}}class mt{static{this.instance=null}static local(){return null===mt.instance&&(mt.instance=new mt),mt.instance}execute(t,e,s){return new Pt(t,e,s)}}class Pt extends l{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new u,this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._type=e.extremityPlacement??"Both",this._position=void 0!==e.offsetAlongLine?e.offsetAlongLine*s:0,this._beginProcessed=!1}processMultiPath(t){return this._placePerPart?super.processMultiPath(t):this.processPath(t)}processPath(t){let e;switch(this._type){case"Both":default:this._beginProcessed?(e=this._atExtremities(t,this._position,!1),this._beginProcessed=!1,this.iterateMultiPath=!1,this.iteratePath=!1):(e=this._atExtremities(t,this._position,!0),this._beginProcessed=!0,this.iterateMultiPath=!0,this.iteratePath=!0);break;case"JustBegin":e=this._atExtremities(t,this._position,!0);break;case"JustEnd":e=this._atExtremities(t,this._position,!1);case"None":}return e}_atExtremities(t,e,s){if(this._placePerPart||(s?t.seekPath(0):t.seekPath(t.totalSize-1)),s||t.seekPathEnd(),s?t.nextPoint():t.prevPoint()){let i=0,[n,r]=[0,0],[h,o]=[t.x,t.y];const a=[0,0];for(;s?t.nextPoint():t.prevPoint();){n=h,r=o,h=t.x,o=t.y;const s=this._curveHelper.getLength(n,r,h,o);if(i+s>e){const t=(e-i)/s,[l,c]=this._curveHelper.getAngleCS(a,n,r,h,o,t),u=this._curveHelper.getCoord2D(n,r,h,o,t);return this.internalPlacement.setTranslate(u[0]-this._offset*c,u[1]+this._offset*l),this._angleToLine&&this.internalPlacement.setRotateCS(-l,-c),this.internalPlacement}i+=s}}return null}}const xt=.001;class yt{static{this.instance=null}static local(){return null===yt.instance&&(yt.instance=new yt),yt.instance}execute(t,e,s){return new Mt(t,e,s)}}class Mt extends l{constructor(t,e,s){super(t),this._segmentIterator=null,this._segCount=0,this._firstSeg=!0,this._seg=null,this._ms=[],this._from=0,this._to=0,this._pt=null,this._walker=new v,this._walker.updateTolerance(s),this._placePerPart=e.placePerPart??!1,this._angleToLine=e.angleToLine??!1,this._keepUpright=e.keepUpright??!1,this._offset=(e.offset??0)*s,this._interval=e.interval??0,this._interval<=0&&(this._interval=.01),this._skipRate=e.skipMarkerRate??0,this._skipRate<=1&&(this._skipRate=0),this._placeAtExtremities=e.placeAtExtremities??!1}processPath(t){if(!this.iteratePath){const{fromGeometry:e}=g.vZ.module,s=e(t.getCurrentPath().asJSON()).getGeometry(),i=s.getPathStart(0);this._segmentIterator=s.querySegmentIteratorAtVertex(i),this._segCount=s.getSegmentCountPath(0),this._firstSeg=!0,this.iteratePath=!0,this._pt=s.getXY(0).clone()}for(;0===this._ms.length&&this._segmentIterator?.hasNextSegment();){--this._segCount,this._seg=this._segmentIterator.nextSegment(),this._from=this._seg.getStartAttributeAsDbl(2,0),this._to=this._seg.getEndAttributeAsDbl(2,0);const e=!isNaN(this._from),s=!isNaN(this._to);e&&(this._from=Math.round(this._from/xt)*xt,Math.abs(this._from)<xt&&(this._from=0)),s&&(this._to=Math.round(this._to/xt)*xt,Math.abs(this._to)<xt&&(this._to=0));let i=e?Math.floor(this._from/this._interval):0,n=s?Math.floor(this._to/this._interval):0;if(e&&(this._placeAtExtremities||!this._firstSeg||!this._placePerPart&&t.pathIndex>0)&&Math.abs(i*this._interval-this._from)<xt&&(!this._skipRate||i%this._skipRate)&&this._ms.push(this._from),this._firstSeg=!1,e&&s&&!(Math.abs(this._from-this._to)<xt))if(this._from<=this._to){i*this._interval<this._from+xt&&++i,n*this._interval>this._to-xt&&--n;for(let t=i;t<=n;++t)(!this._skipRate||t%this._skipRate)&&this._ms.push(t*this._interval)}else{i*this._interval>this._from-xt&&--i,n*this._interval<this._to+xt&&++n;for(let t=n;t<=i;++t)(!this._skipRate||t%this._skipRate)&&this._ms.push(t*this._interval)}}let e=0;if(0===this._ms.length){if(this.iteratePath=!1,!this._segCount&&this._placeAtExtremities&&!isNaN(this._to)&&(this._placePerPart||t.pathIndex===t.totalSize-1)){const t=Math.floor(this._to/this._interval);Math.abs(t*this._interval-this._to)<xt&&(!this._skipRate||t%this._skipRate)&&(this._ms.push(this._to),e=1)}if(0===this._ms.length)return null}const s=this._ms.pop(),i=isNaN(this._from)||isNaN(this._to)||Math.abs(this._from-this._to)<xt?e:(s-this._from)/(this._to-this._from);this._seg.queryCoord2D(i,this._pt);const n=this._seg.getTangent(i);let{x:r,y:h}=n.normalize();return this.internalPlacement.setTranslate(this._pt.x-this._offset*h,this._pt.y+this._offset*r),this._angleToLine&&(this._keepUpright&&r<0&&(r=-r,h=-h),this.internalPlacement.setRotateCS(r,h)),this.internalPlacement.setMeasure(s),this.internalPlacement}}class bt{static{this.instance=null}static local(){return null===bt.instance&&(bt.instance=new bt),bt.instance}execute(t,e,s){return new Ct(t,e,s)}}class Ct extends l{constructor(t,e,s){super(t),this._walker=new v,this._walker.updateTolerance(s),this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._beginGap=void 0!==e.beginPosition?e.beginPosition*s:0,this._endGap=void 0!==e.endPosition?e.endPosition*s:0,this._flipFirst=void 0===e.flipFirst||e.flipFirst,this._pattern=new w,this._pattern.init(e.positionArray,!1),this._subPathLen=0,this._totalPathLen=0,this._posCount=this._pattern.size(),this._pathIndexes=[],this._pathLengths=[],this._pathStarts=[],this._posIndex=0,this._positions=[],this._isFirst=!0,this._prevPos=0}processMultiPath(t){return this._placePerPart?super.processMultiPath(t):this.processPath(t)}processPath(t){return this._pattern.isEmpty()?null:this._placePerPart?this._processPathPerPart(t):this._processMultiPart(t)}_processPathPerPart(t){let e;if(this.iteratePath){const t=this._pattern.nextValue()*this._subPathLen,s=this._beginGap+t;e=s-this._prevPos,this._prevPos=s}else{if(this._posCount=this._pattern.size(),this._isFirst=!0,this._prevPos=0,this._subPathLen=t.pathLength()-this._beginGap-this._endGap,this._subPathLen<0)return this.iteratePath=!1,null;if(!this._walker.init(t,this._pattern,!1))return null;this._pattern.reset();const s=this._pattern.nextValue()*this._subPathLen,i=this._beginGap+s;e=i-this._prevPos,this._prevPos=i,this.iteratePath=!0}const s=new S;return this._walker.nextPointAndAngle(e,s,1)?(this._posCount--,0===this._posCount&&(this.iteratePath=!1),this._setPlacement(s)):(this.iteratePath=!1,null)}_processMultiPart(t){if(!this.iteratePath){if(!this._initializeMultiPart(t))return null;this.iteratePath=!0}if(this._posIndex>=this._positions.length)return this.iteratePath=!1,null;const e=this._getPositionAtDistance(t,this._positions[this._posIndex]);if(null==e)return this.iterateMultiPath=!1,this.iteratePath=!1,null;this._posIndex++;const s=this._posIndex<this._positions.length;return this.iterateMultiPath=s,this.iteratePath=s,this._setPlacement(e)}_initializeMultiPart(t){this._pathIndexes.length=0,this._pathLengths.length=0,this._pathStarts.length=0,this._positions.length=0,this._totalPathLen=0,this._posIndex=0,this._isFirst=!0;for(let e=0;e<t.totalSize;e++){if(!t.seekPath(e))continue;const s=t.pathLength();s<=0||(this._pathIndexes.push(e),this._pathStarts.push(this._totalPathLen),this._pathLengths.push(s),this._totalPathLen+=s)}if(this._subPathLen=this._totalPathLen-this._beginGap-this._endGap,this._subPathLen<0||!this._pathIndexes.length)return!1;this._pattern.reset();for(let t=0;t<this._pattern.size();t++)this._positions.push(this._beginGap+this._pattern.nextValue()*this._subPathLen);return this._positions.length>0}_getPositionAtDistance(t,e){const s=Math.max(0,Math.min(e,this._totalPathLen));let i=this._pathIndexes.length-1;for(let t=0;t<this._pathIndexes.length-1;t++)if(s<=this._pathStarts[t]+this._pathLengths[t]){i=t;break}if(!t.seekPath(this._pathIndexes[i]))return null;if(!this._walker.init(t,this._pattern,!1))return null;const n=new S,r=Math.max(0,Math.min(s-this._pathStarts[i],this._pathLengths[i]));return this._walker.nextPointAndAngle(r,n,1)?n:null}_setPlacement(t){this.internalPlacement.setTranslate(t.pt[0]-this._offset*t.sa,t.pt[1]+this._offset*t.ca);const e=this._isFirst&&this._flipFirst;let s,i;return this._angleToLine?(s=t.ca,i=t.sa):(s=1,i=0),e&&(s=-s,i=-i),this.internalPlacement.setRotateCS(s,i),this._isFirst=!1,this.internalPlacement}}var wt=s(87811);const St=512,It=24,vt=1e-6;class kt{static{this.instance=null}static local(){return null===kt.instance&&(kt.instance=new kt),kt.instance}execute(t,e,s,i){return new zt(t,e,s,i)}}class zt{constructor(t,e,s,i){if(this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,this._currentX=0,this._currentY=0,this._accelerationMap=null,this._testInsidePolygon=!1,this._verticalSubdivision=!0,this._stepX=Math.abs(e.stepX??16)*s,this._stepY=Math.abs(e.stepY??16)*s,this._stepX=Math.round(128*this._stepX)/128,this._stepY=Math.round(128*this._stepY)/128,0!==this._stepX&&0!==this._stepY){if(this._gridType=e.gridType??"Fixed","Random"===this._gridType){const t=e.seed??13,s=1;this._randomLCG=new wt.A(t*s),this._randomness=(e.randomness??100)/100,this._gridAngle=0,this._shiftOddRows=!1,this._cosAngle=1,this._sinAngle=0,this._offsetX=0,this._offsetY=0,this._buildRandomValues()}else{if(this._randomness=0,this._gridAngle=e.gridAngle??0,this._shiftOddRows=e.shiftOddRows??!1,this._offsetX=(e.offsetX??0)*s,this._offsetY=(e.offsetY??0)*s,this._cosAngle=Math.cos(this._gridAngle/180*Math.PI),this._sinAngle=-Math.sin(this._gridAngle/180*Math.PI),this._stepX)if(this._offsetX<0)for(;this._offsetX<-.5*this._stepX;)this._offsetX+=this._stepX;else for(;this._offsetX>=.5*this._stepX;)this._offsetX-=this._stepX;if(this._stepY)if(this._offsetY<0)for(;this._offsetY<-.5*this._stepY;)this._offsetY+=this._stepY;else for(;this._offsetY>=.5*this._stepY;)this._offsetY-=this._stepY}if(this._graphicOriginX=0,this._graphicOriginY=0,null!=i){const[t,e,s,n]=i.split("/"),r=parseFloat(t),h=parseFloat(e),o=parseFloat(s),a=parseFloat(n);this._graphicOriginX=-(a*2**r+o)*St,this._graphicOriginY=h*St,this._testInsidePolygon=!0}this._internalPlacement=new o.W,this._calculateMinMax(t),this._geometryCursor=t}}next(){return this._geometryCursor?this._nextInside():null}_buildRandomValues(){if(!zt._randValues){zt._randValues=[];for(let t=0;t<It;t++)for(let t=0;t<It;t++)zt._randValues.push(this._randomLCG.getFloat()),zt._randValues.push(this._randomLCG.getFloat())}}_calculateMinMax(t){let e,s,i,n,r,h,o,a,l,c,u,_,p,f;this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,o=a=p=u=Number.MAX_VALUE,l=c=f=_=-Number.MAX_VALUE;const d=1!==this._cosAngle;for(t.reset();t.nextPath();)for(;t.nextPoint();)h=t.x,r=t.y,e=h-this._graphicOriginX-this._offsetX,s=r-this._graphicOriginY-this._offsetY,d?(i=this._cosAngle*e-this._sinAngle*s,n=this._sinAngle*e+this._cosAngle*s):(i=e,n=s),o=Math.min(o,i),l=Math.max(l,i),a=Math.min(a,n),c=Math.max(c,n),u=Math.min(u,r),_=Math.max(_,r),p=Math.min(p,h),f=Math.max(f,h);u=u!==Number.MAX_VALUE?u:-512-this._stepY,_=_!==-Number.MAX_VALUE?_:this._stepY,p=p!==Number.MAX_VALUE?p:-this._stepX,f=f!==-Number.MAX_VALUE?f:St+this._stepX;const g=_-u,m=f-p;if(this._verticalSubdivision=g>=m,this._polygonMin=this._verticalSubdivision?u:p,this._testInsidePolygon){let t=0-this._graphicOriginX-this._offsetX-this._stepX,e=St-this._graphicOriginX-this._offsetX+this._stepX,s=-512-this._graphicOriginY-this._offsetY-this._stepY,i=0-this._graphicOriginY-this._offsetY+this._stepY;if(d){const n=[[t,s],[t,i],[e,s],[e,i]];t=s=Number.MAX_VALUE,e=i=-Number.MAX_VALUE;for(const r of n){const n=this._cosAngle*r[0]-this._sinAngle*r[1],h=this._sinAngle*r[0]+this._cosAngle*r[1];t=Math.min(t,n),e=Math.max(e,n),s=Math.min(s,h),i=Math.max(i,h)}}o=o!==Number.MAX_VALUE?Math.max(o,t):t,a=a!==Number.MAX_VALUE?Math.max(a,s):s,l=l!==-Number.MAX_VALUE?Math.min(l,e):e,c=c!==-Number.MAX_VALUE?Math.min(c,i):i}this._xMin=Math.round(o/this._stepX),this._xMax=Math.round(l/this._stepX),this._yMin=Math.round(a/this._stepY),this._yMax=Math.round(c/this._stepY),this._currentX=this._xMax+1,this._currentY=this._yMin-1,this._buildAccelerationMap(t,p,f,u,_)}_buildAccelerationMap(t,e,s,i,n){t.reset();const r=new Map,h=this._verticalSubdivision,o=h?n-i:s-e;let a=Math.ceil(o/10);if(a<=1)return;const l=Math.floor(o/a);let c,u,_,p,f,d,g,m,P,x,y;for(a++,this._delta=l,h?(P=-512-2*this._stepY,x=2*this._stepY,y=i):(P=-2*this._stepX,x=St+2*this._stepX,y=e);t.nextPath();)if(!(t.pathSize<2)&&t.nextPoint())for(c=t.x,u=t.y;t.nextPoint();c=_,u=p){if(_=t.x,p=t.y,h){if(u===p||u<P&&p<P||u>x&&p>x)continue;f=Math.min(u,p),d=Math.max(u,p)}else{if(c===_||c<P&&_<P||c>x&&_>x)continue;f=Math.min(c,_),d=Math.max(c,_)}for(;f<d;)g=Math.floor((f-y)/l),At(g,c,u,_,p,r),f+=l;m=Math.floor((d-y)/l),m>g&&At(m,c,u,_,p,r)}this._accelerationMap=r}_nextInside(){for(;;){if(this._currentX>this._xMax){if(this._currentY++,this._currentY>this._yMax)return null;this._currentX=this._xMin,this._shiftOddRows&&this._currentY%2&&this._currentX--}let t=this._currentX*this._stepX+this._offsetX;this._shiftOddRows&&this._currentY%2&&(t+=.5*this._stepX);const e=this._currentY*this._stepY+this._offsetY;let s,i;if(this._currentX++,"Random"===this._gridType){const n=(this._currentX%It+It)%It,r=(this._currentY%It+It)%It;s=this._graphicOriginX+t+this._stepX*this._randomness*(.5-zt._randValues[r*It+n])*2/3,i=this._graphicOriginY+e+this._stepY*this._randomness*(.5-zt._randValues[r*It+n+1])*2/3}else s=this._graphicOriginX+this._cosAngle*t+this._sinAngle*e,i=this._graphicOriginY-this._sinAngle*t+this._cosAngle*e;if(!this._testInsidePolygon||this._isInsidePolygon(s,i,this._geometryCursor))return this._internalPlacement.setTranslate(s,i),this._internalPlacement}}_isInsidePolygon(t,e,s){if(null==this._accelerationMap)return function(t,e,s){let i,n,r,h,o=0;for(t+=vt,e+=vt,s.reset();s.nextPath();)if(s.nextPoint())for(i=s.x,n=s.y;s.nextPoint();i=r,n=h)r=s.x,h=s.y,n>e!=h>e&&((r-i)*(e-n)-(h-n)*(t-i)>0?o++:o--);return 0!==o}(t,e,s);t+=vt,e+=vt;const i=this._verticalSubdivision,n=i?e:t,r=Math.floor((n-this._polygonMin)/this._delta),h=this._accelerationMap.get(r);if(!h)return!1;let o,a,l,c=0;for(const s of h){if(o=s[0],a=s[1],i){if(o[1]>e==a[1]>e)continue;l=(a[0]-o[0])*(e-o[1])-(a[1]-o[1])*(t-o[0])}else{if(o[0]>t==a[0]>t)continue;l=(a[1]-o[1])*(t-o[0])-(a[0]-o[0])*(e-o[1])}l>0?c++:c--}return 0!==c}}function At(t,e,s,i,n,r){let h=r.get(t);h||(h=[],r.set(t,h)),h.push([[e,s],[i,n]])}class Tt{static{this.instance=null}static local(){return null===Tt.instance&&(Tt.instance=new Tt),Tt.instance}execute(t,e,s){return new Lt(t,e,s)}}class Lt extends l{constructor(t,e,s){super(t),this._curveHelper=new u,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._relativeTo=e.relativeTo??"LineMiddle",this._position=void 0!==e.startPointOffset?e.startPointOffset*s:0,this._epsilon=.001*s}processPath(t){const e=this._position;if("SegmentMidpoint"===this._relativeTo){if(this.iteratePath||(this.iteratePath=!0),t.nextPoint()){let[e,s]=[t.x,t.y],[i,n]=[0,0];const r=[0,0];for(;t.nextPoint();){i=t.x,n=t.y;const h=this._curveHelper.getLength(e,s,i,n);if(h<this._epsilon){e=i,s=n;continue}const o=.5+this._position/h,[a,l]=this._curveHelper.getAngleCS(r,e,s,i,n,o),c=this._curveHelper.getCoord2D(e,s,i,n,o);return this.internalPlacement.setTranslate(c[0]-this._offset*l,c[1]+this._offset*a),this._angleToLine&&this.internalPlacement.setRotateCS(a,l),this.internalPlacement}}return this.iteratePath=!1,null}const s="LineEnd"===this._relativeTo;return this.onLine(t,e,s)}onLine(t,e,s){let i,n=!1;switch(this._relativeTo){case"LineMiddle":default:t.seekPathStart(),i=t.pathLength()/2+e;break;case"LineBeginning":i=e;break;case"LineEnd":i=e,n=!0}s?t.seekPathEnd():t.seekPathStart();let r=0;if(s?t.prevPoint():t.nextPoint()){let[e,h]=[t.x,t.y],[o,a]=[0,0];const l=[0,0];for(;s?t.prevPoint():t.nextPoint();){o=t.x,a=t.y;const s=this._curveHelper.getLength(e,h,o,a);if(r+s>i){const t=(i-r)/s,[c,u]=this._curveHelper.getAngleCS(l,e,h,o,a,t),_=this._curveHelper.getCoord2D(e,h,o,a,t),p=n?-this._offset:this._offset;return this.internalPlacement.setTranslate(_[0]-p*u,_[1]+p*c),this._angleToLine&&(n?this.internalPlacement.setRotateCS(-c,-u):this.internalPlacement.setRotateCS(c,u)),this.internalPlacement}e=o,h=a,r+=s}}return null}}class Et{static{this.instance=null}static local(){return null===Et.instance&&(Et.instance=new Et),Et.instance}execute(t,e,s){return new Gt(t,e,s)}}class Gt extends l{constructor(t,e,s){super(t),this._curveHelper=new u,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._endPoints=void 0===e.placeOnEndPoints||e.placeOnEndPoints,this._controlPoints=void 0===e.placeOnControlPoints||e.placeOnControlPoints,this._regularVertices=void 0===e.placeOnRegularVertices||e.placeOnRegularVertices,this._tags=[],this._tagIterator=0}processPath(t){if(this.iteratePath||(this._preparePath(t),this.iteratePath=!0),this._tagIterator>=this._tags.length)return this._tags.length=0,this._tagIterator=0,this.iteratePath=!1,null;const e=this._tags[this._tagIterator];this._angleToLine&&this.internalPlacement.setRotate(e[2]);let s=e[0],i=e[1];if(0!==this._offset){const t=Math.cos(e[2]),n=Math.sin(e[2]);s-=this._offset*n,i+=this._offset*t}return this.internalPlacement.setTranslate(s,i),this._tagIterator++,this.internalPlacement}_preparePath(t){this._tags.length=0,this._tagIterator=0,t.seekPathStart();const e=t.isClosed();let s=0,i=!1,n=0,r=0;if(t.seekPathStart(),t.nextPoint()){let h=t.x,o=t.y,a=t.getControlPoint(),l=!0,c=t.nextPoint();for(;c;){const u=t.x,_=t.y,p=t.getControlPoint();(this._angleToLine||0!==this._offset)&&(n=this._curveHelper.getAngle(h,o,u,_,0)),l?(l=!1,e?(s=n,i=a):(this._endPoints||this._controlPoints&&a)&&this._tags.push([h,o,n])):a?this._controlPoints&&this._tags.push([h,o,Ot(r,n)]):this._regularVertices&&this._tags.push([h,o,Ot(r,n)]),(this._angleToLine||0!==this._offset)&&(r=this._curveHelper.getAngle(h,o,u,_,1)),c=t.nextPoint(),c||(e?p||i?this._controlPoints&&this._tags.push([u,_,Ot(r,s)]):this._regularVertices&&this._tags.push([u,_,Ot(r,s)]):(this._endPoints||this._controlPoints&&p)&&this._tags.push([u,_,r])),h=u,o=_,a=p}}this._tagIterator=0}}function Ot(t,e){const s=Math.PI;for(;Math.abs(e-t)>s+2e-15;)e-t>s?e-=2*s:e+=2*s;return(t+e)/2}var Nt=s(32011);class Rt{static{this.instance=null}static local(){return null===Rt.instance&&(Rt.instance=new Rt),Rt.instance}execute(t,e,s){return new Ft(t,e,s)}}class Ft{constructor(t,e,s){this._geometryCursor=t,this._offsetX=void 0!==e.offsetX?e.offsetX*s:0,this._offsetY=void 0!==e.offsetY?e.offsetY*s:0,this._method=void 0!==e.method?e.method:"OnPolygon",this._placementPerPart=void 0!==e.placePerPart&&e.placePerPart,this._internalPlacement=new o.W}next(){const t=this._geometryCursor;if(!t)return null;if(!this._placementPerPart)return this._geometryCursor=null,this._polygonCenter(t);for(;t.nextPath();)if(!(t.getCurrentRingArea()<0))return this._polygonCenter(t.getCurrentPath());return this._geometryCursor=null,null}_polygonCenter(t){let e=!1;switch(this._method){case"CenterOfMass":{const s=(0,J.TP)(t);s&&(this._internalPlacement.setTranslate(s[0]+this._offsetX,s[1]+this._offsetY),e=!0)}break;case"BoundingBoxCenter":{const s=(0,E.z8)(t);s&&(this._internalPlacement.setTranslate((s[2]+s[0])/2+this._offsetX,(s[3]+s[1])/2+this._offsetY),e=!0)}break;default:{const s=(0,Nt.d)(t);null!==s&&(this._internalPlacement.setTranslate(s[0]+this._offsetX,s[1]+this._offsetY),e=!0)}}return e?this._internalPlacement:null}}var Xt=s(86235),Yt=s(14057);class Dt{static{this.instance=null}static local(){return null===Dt.instance&&(Dt.instance=new Dt),Dt.instance}execute(t,e,s){return new Wt(t,s)}}class Wt{constructor(t,e){this._cursor=t,this._context=e}next(){const t=this._cursor.next();if(!t||0===t.totalSize)return null;const{matcher:e,target:s,tileKey:i}=this._context,n=e&&s&&null!=i?e.getMatcherGeometryOverride((0,Yt.$)(i,s.getObjectId())):null;if(!n)return t;const h=r.z.fromOptimizedCIM(n.geometry.clone(),n.geometryType);return h.invertY(),h}}class Vt{static{this.instance=null}static local(){return null===Vt.instance&&(Vt.instance=new Vt),Vt.instance}execute(t){return new Ut(t)}}class Ut extends l{constructor(t){super(t),this._curveHelper=new u}processPath(t){if(this.iteratePath=!0,t.nextPoint()){const[e,s]=[t.x,t.y];if(t.nextPoint()){const[i,n]=[t.x,t.y],r=(e+i)/2,h=(s+n)/2;this.internalPlacement.setTranslate(r,h);const o=this._curveHelper.getAngle(e,s,i,n,0);return this.internalPlacement.setRotate(o),this.internalPlacement}}return this.iteratePath=!1,null}}function Ht(t){if(!t)return null;switch(t.type){case"CIMGeometricEffectAddControlPoints":return i.local();case"CIMGeometricEffectArrow":return p.local();case"CIMGeometricEffectBuffer":return m.local();case"CIMGeometricEffectControlMeasureLine":return y.local();case"CIMGeometricEffectCut":return b.local();case"CIMGeometricEffectDashes":return z.local();case"CIMGeometricEffectDonut":return T.local();case"CIMGeometricEffectJog":return X.local();case"CIMGeometricEffectMove":return D.local();case"CIMGeometricEffectOffset":return U.local();case"CIMGeometricEffectRadial":return Z.local();case"CIMGeometricEffectReverse":return $.local();case"CIMGeometricEffectRotate":return tt.local();case"CIMGeometricEffectScale":return st.local();case"CIMGeometricEffectSuppress":return rt.local();case"CIMGeometricEffectTaperedPolygon":return ut.local();case"CIMGeometricEffectWave":return pt.local();case"CIMGeometricEffectEnclosingPolygon":return G.local();case"PrivateDimensionEffect":return Xt.HZ.local();case"PrivateMatcherGeometryOverrideEffect":return Dt.local()}return null}function Bt(t){if(!t)return null;switch(t.type){case"CIMMarkerPlacementAlongLineSameSize":return dt.local();case"CIMMarkerPlacementAtExtremities":return mt.local();case"CIMMarkerPlacementAtMeasuredUnits":return yt.local();case"CIMMarkerPlacementAtRatioPositions":return bt.local();case"CIMMarkerPlacementInsidePolygon":return kt.local();case"CIMMarkerPlacementOnLine":return Tt.local();case"PrivatePlacementMultipoint":return Vt.local();case"CIMMarkerPlacementOnVertices":return Et.local();case"CIMMarkerPlacementPolygonCenter":return Rt.local()}return null}},98939(t,e,s){s.d(e,{W:()=>i});class i{constructor(){this.setIdentity()}getAngle(){return(null==this.rz||0===this.rz&&1!==this.rzCos&&0!==this.rzSin)&&(this.rz=Math.atan2(this.rzSin,this.rzCos)),this.rz}setIdentity(){this.tx=0,this.ty=0,this.tz=0,this.s=1,this.rx=0,this.ry=0,this.rz=0,this.rzCos=1,this.rzSin=0}setTranslate(t,e){this.tx=t,this.ty=e}setTranslateZ(t){this.tz=t}setRotateCS(t,e){this.rz=void 0,this.rzCos=t,this.rzSin=e}setRotate(t){this.rz=t,this.rzCos=void 0,this.rzSin=void 0}setRotateY(t){this.ry=t}setScale(t){this.s=t}setMeasure(t){this.m=t}}},35521(t,e,s){var i=s(28076);i.D.CIMSolidStroke.capstyle,i.D.CIMSolidStroke.joinstyle,i.D.CIMSolidStroke.miterlimit},28076(t,e,s){var i=s(13337);const n={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}};s.d(e,["D",0,n])},13337(t,e,s){s.d(e,["h",0,{Relative:0,Absolute:1}])},93397(t,e,s){s.d(e,{Bu:()=>S,DW:()=>M,FH:()=>A,FM:()=>o,Kn:()=>x,Kq:()=>W,MM:()=>u,Nl:()=>I,O2:()=>v,YC:()=>L,YF:()=>k,_1:()=>C,_d:()=>y,_h:()=>h,bs:()=>T,e6:()=>l,gQ:()=>r,jn:()=>p,lW:()=>c,ll:()=>N,mA:()=>_,oI:()=>V,pM:()=>b,pV:()=>P,pk:()=>G,rB:()=>O,xo:()=>w,yX:()=>D,z9:()=>m,zb:()=>z,zr:()=>f});var i=s(28076);function n(t){let e=t.length;for(;e--;)if(!" /-,\n".includes(t.charAt(e)))return!1;return!0}function r(t,e){const s=[];let i=0,r=-1;do{if(r=t.indexOf("[",i),r>=i){if(r>i){const e=t.slice(i,r);s.push([e,null,n(e)])}if(i=r+1,r=t.indexOf("]",i),r>=i){if(r>i){const n=e[t.slice(i,r)];n&&s.push([null,n,!1])}i=r+1}}}while(-1!==r);if(i<t.length){const e=t.slice(i);s.push([e,null,n(e)])}return s}function h(t,e,s){let i="",n=null;for(const s of e){const[e,r,h]=s;if(null!=e&&""!==e)h?n=e:(null!=n&&(i+=n,n=null),i+=e);else{const e=t.readAttribute(r);null!=e&&""!==e&&(null!==n&&(i+=n,n=null),i+=e)}}return a(i,s)}function o(t,e,s,i){let n="",r=null;for(const i of e){const[e,h,o]=i;if(null!=e&&""!==e)o?r=e:(null!=r&&(n+=r,r=null),n+=e);else{let e=h;null!=s&&(e=E(h,s));const i=t.attributes[e];null!=i&&""!==i&&(null!=r&&(n+=r,r=null),n+=i)}}return a(n,i)}function a(t,e){switch("string"!=typeof t&&(t=String(t)),e){case"LowerCase":return t.toLowerCase();case"Allcaps":return t.toUpperCase();default:return t}}function l(t){return t?[t[0],t[1],t[2],t[3]/255]:[0,0,0,0]}function c(t){return t.data?.symbol??null}function u(t){return"CIMVectorMarker"===t.type||"CIMPictureMarker"===t.type||"CIMBarChartMarker"===t.type||"CIMCharacterMarker"===t.type||"CIMPieChartMarker"===t.type||"CIMStackedBarChartMarker"===t.type}function _(t){return"CIMGradientStroke"===t.type||"CIMPictureStroke"===t.type||"CIMSolidStroke"===t.type}function p(t){return null!=t&&("CIMGradientFill"===t.type||"CIMHatchFill"===t.type||"CIMPictureFill"===t.type||"CIMSolidFill"===t.type||"CIMWaterFill"===t.type)}function f(t){return null!=t&&("CIMMarkerPlacementAlongLineRandomSize"===t.type||"CIMMarkerPlacementAlongLineSameSize"===t.type||"CIMMarkerPlacementAlongLineVariableSize"===t.type||"CIMMarkerPlacementAtExtremities"===t.type||"CIMMarkerPlacementAtMeasuredUnits"===t.type||"CIMMarkerPlacementAtRatioPositions"===t.type||"CIMMarkerPlacementOnLine"===t.type||"CIMMarkerPlacementOnVertices"===t.type)}const d=(t,e=0)=>null==t||isNaN(t)?e:t;class g{constructor(t){this._import=t}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(t=>this.module=t)),this._promise}}function m(t){return new g(t)}function P(t){if(!t)return"normal";switch(t.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function x(t){if(!t)return"normal";switch(t.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function y(t){let e="normal",s="normal";if(t){const i=t.toLowerCase();i.includes("italic")?e="italic":i.includes("oblique")&&(e="oblique"),i.includes("bold")?s="bold":i.includes("light")&&(s="lighter")}return{style:e,weight:s}}function M(t){return t.underline?"underline":t.strikethrough?"line-through":"none"}function b(t){if(!t)return null;switch(t.type){case"CIMPolygonSymbol":if(t.symbolLayers)for(const e of t.symbolLayers){const t=b(e);if(null!=t)return t}break;case"CIMTextSymbol":return b(t.symbol);case"CIMSolidFill":return t.color}return null}function C(t){if(t)switch(t.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const e=t.symbolLayers;if(e)for(const t of e){const e=C(t);if(null!=e)return e}break}case"CIMTextSymbol":return C(t.symbol);case"CIMSolidStroke":return t.color}}function w(t){if(t)switch(t.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(t.symbolLayers)for(const e of t.symbolLayers){const t=w(e);if(void 0!==t)return t}break;case"CIMTextSymbol":return w(t.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return t.width}}function S(t){switch(t){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function I(t){switch(t){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function v(t){return(t?Object.keys(t):[]).map(e=>({name:e,alias:e,type:"string"==typeof t[e]?"esriFieldTypeString":"esriFieldTypeDouble"}))}function k(t){return t?t.charAt(0).toLowerCase()+t.slice(1):t}function z(t,e,s,i,n,r,h=!0){const{infos:o}=r;let a=1,l=0,c=0,u=0,_=1;for(const{absoluteAnchorPoint:t,offsetX:e,offsetY:s,rotation:i,size:n,frameHeight:r,rotateClockWise:p,scaleSymbolsProportionally:f}of o)_=t?1:a,c=X(e,s,l,_,c),u=F(e,s,l,_,u),r&&(f||h)&&(a*=n/r),l=Y(i,p,l);const p=X(i,n,l,_,c),f=F(i,n,l,_,u);return{size:t*a,rotation:Y(e,s,l),offsetX:p,offsetY:f}}function A(t){return t?.dashTemplate&&(t.dashTemplate=function(t){return"string"==typeof t?function(t){return t.split(" ").map(t=>Number(t))}(t):t}(t.dashTemplate)),t}function T(t){if(null==t)return"Normal";switch(t.type){case"CIMTextSymbol":return t.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const e=t.symbolLayers;if(!e)return"Normal";for(const t of e)if("CIMVectorMarker"===t.type)return T(t)}break;case"CIMVectorMarker":{const e=t.markerGraphics;if(!e)return"Normal";for(const t of e)if(t.symbol)return T(t.symbol)}}return"Normal"}function L(t){if(t)switch(t.type){case"CIMTextSymbol":return t.height;case"CIMPointSymbol":{let e=0;if(t.symbolLayers)for(const s of t.symbolLayers)if(s)switch(s.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const t=s.size??i.D.CIMVectorMarker.size;t>e&&(e=t);break}}return e}case"CIMLineSymbol":case"CIMPolygonSymbol":{let e=0;if(t.symbolLayers)for(const s of t.symbolLayers)if(s)switch(s.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const t=s.width;null!=t&&t>e&&(e=t);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(s.markerPlacement&&f(s.markerPlacement)){const t=s.size??i.D.CIMVectorMarker.size;t>e&&(e=t)}break;case"CIMPictureFill":{const t=s.height;null!=t&&t>e&&(e=t)}}return e}}}function E(t,e){if(null!==e){const s=e.get(t);return s?s.name:t}return t}function G(t){return t.map(t=>({...t,propertyName:k(t.propertyName)}))}function O(t){const e={};for(const s in t){const i=t[s];e[k(s)]=i}return e}function N(t){if(!t)return 0;let e=0;for(const s of t)e+=R(s);return e}function R(t){if(!t)return 0;if(W(t))return t.inflateSize??256;switch(t.type){case"CIMGeometricEffectArrow":return Math.abs(.5*t.width);case"CIMGeometricEffectBuffer":return Math.abs(t.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(t.length);case"CIMGeometricEffectJog":return Math.abs(.5*t.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(d(t.offsetX)),Math.abs(d(t.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(t.offset);case"CIMGeometricEffectRadial":return Math.abs(t.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(t.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(t.fromWidth),Math.abs(t.toWidth));case"CIMGeometricEffectWave":return Math.abs(t.amplitude);case"CIMGeometricEffectDonut":return Math.abs(t.width)}}function F(t,e,s,i,n){const r=s*Math.PI/180;if(r){const s=Math.cos(r);return(Math.sin(r)*t+s*e)*i+n}return e*i+n}function X(t,e,s,i,n){const r=s*Math.PI/180;return r?(Math.cos(r)*t-Math.sin(r)*e)*i+n:t*i+n}function Y(t,e,s){return e?s-t:s+t}function D(t,e){return Math.max(Math.min((t??e)/100,1),0)}function W(t){return t.type.startsWith("Private")}function V(t){return null!=t&&function(t){return"setControlPoint"in t&&"getControlPoint"in t&&"setControlPointAt"in t&&"getControlPointAt"in t}(t)?t:void 0}s.d(e,["$w",0,d,"UE",0,t=>t.includes("data:image/svg+xml")])},18989(t,e,s){s.d(e,{A:()=>i});class i{constructor(t=0,e=0,s=0,i=0){this.x=t,this.y=e,this.width=s,this.height=i}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}},63933(t,e,s){function i(t){if(!t)return 0;switch(t){case"Left":case"left":return-1;case"Right":case"right":return 1;case"justify":case"Justify":return 2;case"Center":case"center":return 0}}function n(t){if(!t)return 0;switch(t){case"Top":case"top":return 1;case"Center":case"middle":return 0;case"Baseline":case"baseline":return 2;case"Bottom":case"bottom":return-1}}function r(t){switch(t){case 1:case"right":return-1;case 2:case"justify":return 1;case 0:case"center":return 0;case-1:case"left":return 1;default:return console.debug(`Found invalid horizontal alignment ${t}`),0}}function h(t){switch(t){case 1:case"top":return 1;case 0:case"middle":return 0;case-1:case 2:case"baseline":case"bottom":return-1;default:return console.debug(`Found invalid vertical alignment ${t}`),0}}s.d(e,{Dy:()=>h,UD:()=>n,iT:()=>r,xy:()=>i})},15660(t,e,s){s.d(e,{A:()=>n});var i=s(88340);class n{constructor(t,e,s,n){this.transformedX=0,this.transformedY=0,this.center=(0,i.fA)(t,e),this.centerT=(0,i.vt)(),this.halfWidth=s/2,this.halfHeight=n/2,this.width=s,this.height=n}get x(){return this.center[0]}get y(){return this.center[1]}get blX(){return this.center[0]+this.halfWidth}get blY(){return this.center[1]+this.halfHeight}get trX(){return this.center[0]-this.halfWidth}get trY(){return this.center[1]-this.halfHeight}get xmin(){return this.x-this.halfWidth}get xmax(){return this.x+this.halfWidth}get ymin(){return this.y-this.halfHeight}get ymax(){return this.y+this.halfHeight}set x(t){this.center[0]=t}set y(t){this.center[1]=t}clone(){return new n(this.x,this.y,this.width,this.height)}serialize(t){return t.writeF32(this.center[0]),t.writeF32(this.center[1]),t.push(this.width),t.push(this.height),t}findCollisionDelta(t,e=4){const s=Math.abs(t.centerT[0]-this.centerT[0]),i=Math.abs(t.centerT[1]-this.centerT[1]),n=(t.halfWidth+this.halfWidth+e)/s,r=(t.halfHeight+this.halfHeight+e)/i,h=Math.min(n,r);return Math.log2(h)}extend(t){const e=Math.min(this.xmin,t.xmin),s=Math.min(this.ymin,t.ymin),i=Math.max(this.xmax,t.xmax)-e,n=Math.max(this.ymax,t.ymax)-s,r=e+i/2,h=s+n/2;this.width=i,this.height=n,this.halfWidth=i/2,this.halfHeight=n/2,this.x=r,this.y=h}static deserialize(t){const e=t.readF32(),s=t.readF32(),i=t.readInt32(),r=t.readInt32();return new n(e,s,i,r)}}},75434(t,e,s){s.d(e,{Dj:()=>y,Tl:()=>x});var i=s(16905),n=s(85560),r=s(37585),h=s(88340),o=s(63933),a=s(18989),l=s(15660);const c=Math.PI/180;class u{constructor(t,e,s,i){this._rotationT=(0,n.vt)(),this._transform=(0,n.vt)(),this._angle=0,this._bounds=null;const{mosaicItem:r,rect:h,shaping:o,code:a}=s,l=r.rect;this.width=0===a?h.width:l.width*i,this.height=0===a?h.height:l.height*i,this.x=i*(t+o.xOffset+h.left),this.y=i*(e+o.yOffset-h.top),this.textureBinding=r.textureBinding,this.texcoords={topLeft:[l.x,l.y],topRight:[l.x+l.width,l.y],bottomLeft:[l.x,l.y+l.height],bottomRight:[l.x+l.width,l.y+l.height]}}set angle(t){this._angle=t,(0,i.$0)(this._rotationT,-t),this._offsets=this._bounds=null}get angle(){return this._angle}get offsets(){if(!this._offsets){const{x:t,y:e,width:s,height:h}=this,o=(0,i.$0)((0,n.vt)(),-this.angle),a=(0,i.lw)((0,n.vt)(),o,this._transform);this._offsets={topLeft:(0,r.l0)([0,0],[t,e],a),topRight:(0,r.l0)([0,0],[t+s,e],a),bottomLeft:(0,r.l0)([0,0],[t,e+h],a),bottomRight:(0,r.l0)([0,0],[t+s,e+h],a)}}return this._offsets}get bounds(){if(this.width<=0)return null;if(!this._bounds){const t=this.offsets;let e=1/0,s=1/0,i=-1/0,n=-1/0;for(const[r,h]of[t.topLeft,t.topRight,t.bottomLeft,t.bottomRight])e=Math.min(e,r),s=Math.min(s,h),i=Math.max(i,r),n=Math.max(n,h);const r=i-e,h=n-s,o=e+r/2,a=s+h/2;this._bounds=new l.A(o,a,r,h)}return this._bounds}setTransform(t){this._transform=t,this._offsets=null}}const _=(t,e)=>({code:0,mosaicItem:{rect:new a.A(0,0,11,8),sdf:!0,page:0,textureBinding:e},rect:{height:4,width:t,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0}});function p(t,e){return t.forEach(t=>(0,r.l0)(t,t,e)),{topLeft:t[0],topRight:t[1],bottomLeft:t[2],bottomRight:t[3]}}class f{constructor(t,e,s,i){this._rotation=0,this._decorate(t,e,s,i),this.glyphs=t,this.bounds=this._createBounds(t),this.isMultiline=e.length>1,this._hasRotation=0!==s.angle,this._transform=this._createGlyphTransform(this.bounds,s),this._borderLineSizePx=s.borderLineSizePx,(s.borderLineSizePx||s.hasBackground)&&([this.bounds,this.textBox]=this.shapeBackground(this._transform));for(const e of t)e.setTransform(this._transform)}setRotation(t){if(0===t&&0===this._rotation)return;this._rotation=t;const e=this._transform,s=(0,i.$0)((0,n.vt)(),t);(0,i.lw)(e,s,e);for(const t of this.glyphs)t.setTransform(this._transform)}_decorate(t,e,s,i){if(!s.decoration||"none"===s.decoration||!t.length)return;const n=s.scale,r="underline"===s.decoration?i?.baseline??26:i?.midline??16,h=t[0].textureBinding;for(const s of e){const e=s.startX*n,i=s.startY*n,o=(s.width+s.glyphWidthEnd)*n;t.push(new u(e,i+r*n,_(o,h),1))}}shapeBackground(t){const e=(1.5+(this._borderLineSizePx||0))/2,s=this._borderLineSizePx?e:0,{xmin:i,ymin:n,xmax:r,ymax:h,x:o,y:a,width:c,height:u}=this.bounds,_=[i-8,n-8],f=[r+8,n-8],d=[i-8,h+8],g=[r+8,h+8],m=p([[_[0]-e,_[1]-e],[f[0]+e,f[1]-e],[_[0]+s,_[1]+s],[f[0]-s,f[1]+s]],t),P=p([[d[0]+s,d[1]-s],[g[0]-s,g[1]-s],[d[0]-e,d[1]+e],[g[0]+e,g[1]+e]],t),x=p([[_[0]-e,_[1]-e],[_[0]+s,_[1]+s],[d[0]-e,d[1]+e],[d[0]+s,d[1]-s]],t),y=p([[f[0]-s,f[1]+s],[f[0]+e,f[1]-e],[g[0]-s,g[1]-s],[g[0]+e,g[1]+e]],t),M={main:p([_,f,d,g],t),top:m,bot:P,left:x,right:y};return[new l.A(o,a,c+2*e,u+2*e),M]}get boundsT(){const t=this.bounds,e=(0,r.hZ)((0,h.vt)(),t.x,t.y);if((0,r.l0)(e,e,this._transform),this._hasRotation){const s=Math.max(t.width,t.height);return new l.A(e[0],e[1],s,s)}return new l.A(e[0],e[1],t.width,t.height)}_createBounds(t){let e=1/0,s=1/0,i=0,n=0;for(const r of t)e=Math.min(e,r.offsets.topLeft[0]),s=Math.min(s,r.offsets.topLeft[1]),i=Math.max(i,r.offsets.bottomRight[0]),n=Math.max(n,r.offsets.bottomRight[1]);const r=i-e,h=n-s;return new l.A(e+r/2,s+h/2,r,h)}_createGlyphTransform(t,e){const s=c*e.angle,o=(0,n.vt)(),a=(0,h.vt)();return(0,i.Tl)(o,o,(0,r.hZ)(a,e.xOffset,-e.yOffset)),e.useCIMAngleBehavior?(0,i.e$)(o,o,s):((0,i.Tl)(o,o,(0,r.hZ)(a,t.x,t.y)),(0,i.e$)(o,o,s),(0,i.Tl)(o,o,(0,r.hZ)(a,-t.x,-t.y))),o}}class d{constructor(t,e,s,i,n,r){this.glyphWidthEnd=0,this.startX=0,this.startY=0,this.start=Math.max(0,Math.min(e,s)),this.end=Math.max(0,Math.max(e,s)),this.end<t.length&&(this.glyphWidthEnd=t[this.end].rect.width),this.width=i,this.yMin=n,this.yMax=r}}const g=t=>10===t,m=t=>32===t;function P(t,e,s){let i=0;for(let n=e;n<s;n++)m(t[n].code)&&!g(t[n+1].code)&&i++;return i}function x(t,e){const s=e.scale,i=new Array,n=t.sdfPadding,{faceInfo:r,glyphs:h,isRightToLeft:a}=t,l="justify"===e.horizontalAlignment||"Justify"===e.horizontalAlignment,c=function(t,e,s){const i=new Array,n=1/s.scale,r=s.maxLineWidth*n,h=e?t.length-1:0,o=e?-1:t.length,a=e?-1:1;let l=h,c=0,u=0,_=l,p=_,f=0,P=1/0,x=0;for(;l!==o;){const{code:e,rect:s,shaping:n}=t[l],o=Math.abs(s.top);if(g(e)||m(e)||(P=Math.min(P,o),x=Math.max(x,o+s.height)),g(e))l!==h&&(i.push(new d(t,_,l-a,c,P===1/0?0:P,x)),P=1/0,x=0),c=0,_=l+a,p=l+a,u=0;else if(m(e))p=l+a,u=0,f=n.xAdvance,c+=n.xAdvance;else if(c>r){if(p!==_){const e=p-2*a;c-=f,i.push(new d(t,_,e,c-u,P,x)),P=1/0,x=0,_=p,c=u}else i.push(new d(t,_,l-a,c,P,x)),P=1/0,x=0,_=l,p=l,c=0;c+=n.xAdvance,u+=n.xAdvance}else c+=n.xAdvance,u+=n.xAdvance;l+=a}const y=new d(t,_,l-a,c,P,x);return y.start>=0&&y.end<t.length&&i.push(y),i}(h,a,e),_=c.length?function(t,e){let s=0;for(let e=0;e<t.length;e++){const{width:i}=t[e];s=Math.max(i,s)}const i="underline"===e.decoration?4:0,n=t[0].yMin;return{x:0,y:n,height:t[t.length-1].yMax+e.lineHeight*(t.length-1)+i-n,width:s}}(c,e):{y:0,height:0,width:0},p=l?a?1:-1:(0,o.xy)(e.horizontalAlignment),x=(0,o.UD)(e.verticalAlignment),y=2===x?1:0,M=y?0:x-1,b=r?.baseline??22,C=c.length>1,w=y?C?-_.y-_.height:-b:-_.y+M*(_.height/2);for(let r=0;r<c.length;r++){const{start:o,end:a,width:f}=c[r],d=l&&r<c.length-1?P(h,o,a):0,x=d>0?(_.width-f)/d:0;let y=-1*(p+1)*((x>0?_.width:f)/2)-n;const M=(t.isRightToLeft?c.length-1-r:r)*e.lineHeight+w-n;c[r].startX=y,c[r].startY=M;for(let t=o;t<=a;t++){const e=h[t];if(g(e.code))continue;const n=new u(y,M,e,s);y+=e.shaping.xAdvance,x>0&&m(e.code)&&(y+=x),i.push(n)}}return new f(i,c,e,r)}function y(t,e){const s=e.scale,{faceInfo:i,glyphs:n}=t,r=n.reduce((t,e)=>Math.max(t,e.rect.height),0),h=n.map(t=>new u(-t.rect.width/2,-r,t,s));return new f(h,[],e,i)}},69221(t,e,s){s.d(e,{Lu:()=>r,hV:()=>n});var i=s(90629);function n(t){return(0,i.PN)(Math.round((0,i.Lz)(t)))}function r(t){const e=(0,i.PN)(32),s=(0,i.PN)(512);return Math.max(e,Math.min(t||s,s))}s(39829)},86235(t,e,s){s.d(e,{HZ:()=>r});var i=s(36745),n=s(14057);class r{static{this.instance=null}static local(){return null===r.instance&&(r.instance=new r),r.instance}execute(t,e,s){return new h(t,e,s)}}class h{constructor(t,e,s){this._cursor=t,this._effect=e,this._context=s}next(){const t=this._cursor.next();if(t&&t.totalSize>0){const e=t.asJSON(),s=a[this._effect.part](e,{...this._effect,target:this._context.target,scaleFactor:this._context.scaleFactor,matcher:this._context.matcher,tileKey:this._context.tileKey,geomUnitsPerPoint:this._context.geomUnitsPerPoint});return s?i.z.fromJSONCIM(s):null}return null}}function o(t,e){const s=e.matcher,i=e.target.getObjectId(),r=(0,n.$)(e.tileKey,i),h=s.getAnalyzedGraphic(r);return h?(h.evaluateWithGeometry(t,e.geomUnitsPerPoint*e.scaleFactor),h):null}const a={textPoint:function(t,e){const s=o(t,e);return s&&s.textPoint?{x:s.textPoint[0],y:s.textPoint[1],spatialReference:t.spatialReference}:t},beginDimensionLine:function(t,e){const s=o(t,e);if(!s||!s.dimensionLine)return t;const i=s.dimensionLine[0],n=i[1][0],r=i[1][1],h=i[0][0],a=i[0][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}},endDimensionLine:function(t,e){const s=o(t,e);if(!s||!s.dimensionLine)return t;const i=s.dimensionLine[1],n=i[1][0],r=i[1][1],h=i[0][0],a=i[0][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}},beginExtensionLine:function(t,e){const s=o(t,e);if(!s||!s.extensionLines)return t;const i=s.extensionLines[0],n=i[0][0],r=i[0][1],h=i[1][0],a=i[1][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}},endExtensionLine:function(t,e){const s=o(t,e);if(!s||!s.extensionLines)return t;const i=s.extensionLines[1],n=i[0][0],r=i[0][1],h=i[1][0],a=i[1][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}}};s.d(e,["Bd",0,"beginMarker","Cr",0,"beginExtensionLine","FF",0,"endMarker","Fn",0,"beginDimensionLine","NR",0,"textPoint","tz",0,"endDimensionLine","w0",0,"endExtensionLine"])},14057(t,e,s){function i(t,e){return`${t}_${e}`}s.d(e,{$:()=>i})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[609,1948,6061],{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:()=>O,ME:()=>M,MY:()=>S,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>Y,e6:()=>V,gh:()=>E,tr:()=>w,uX:()=>x});var s=r(5482),n=r(16930),i=r(19419),a=r(60408),o=r(21325),h=r(513),u=r(50954),l=r(79567),g=r(52006),c=r(49663),m=r(46068),f=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:g,segmentCountArc:c,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=g,this.segmentCountArc=c,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=Z(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new v(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(t){this.geometry=t,this.index=-1,this._readVertex=A(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=A(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,l]]};const g=2&s?0:1,c=1&s?0:1;return{a:[this.end,[o,h],g,c,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new P(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,h=R(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new P(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,g.yP)(r)}const[a,o,u,c]=n;e={xmin:a,ymin:o,xmax:u,ymax:c,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function M(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,F(e[0],(0,g.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,g.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:l}=n;function c(t){h[2*f]=t[0],h[2*f+1]=t[1],i&&(u[f]=t[2]),o&&(l[f]=t[m]),++f}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])h[2*f]=t,h[2*f+1]=e,++f;return n}for(const t of r[0])c(t);return n}const x="polygon"===s,{partOffsets:p}=n;let v=0;if(!(0,g.Ed)(t)){for(const t of r){if(p[v++]=f,0===t.length)continue;let e=t.length;if(x&&F(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)c(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*f]=e,h[2*f+1]=s,++f}}return p[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let y=0;for(const t of r){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];c(r);const i=f-1;(0,g.wY)(s)?(d(10),++n.segmentCountArc,y=Y(r,s,n,i,y),r=s.a[0]):(0,g.DA)(s)?(d(10),++n.segmentCountArc,y=b(r,s,n,i,y),r=s.a[0]):(0,g.aO)(s)?(d(10),++n.segmentCountArc,y=V(r,s,n,i,y),r=s.c[0]):(0,g.n1)(s)?(d(4),++n.segmentCountBezier,y=w(0,s,n,i,y),r=s.b[0]):r=s}x&&F(e,r)||c(r)}return n.partOffsets[v]=f,n}function E(t){const e=A(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=R(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function _(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=Z(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const l=2+Number(s)+Number(n);let g=0,c=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[c],i=e+t-Number(o);u.partOffsets[++c]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[g++],u.vertexXY[2*t+1]=r[g++],s&&(u.vertexZ[t]=r[g++]),n&&(u.vertexM[t]=r[g++]);o&&(g+=l)}return u}function O({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new f.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let g=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,c=u.coords.length;for(let t=g;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(l){const t=g;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-c)/u.stride),g=i}return"point"===t&&(u.lengths.length=0),u}function S(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class P{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function R({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function A({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 F(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 h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let g=0;return h.vertexXY=new Float64Array(l,g,2*e),g+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(l,g,e),g+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,g,e),g+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,g,h.segmentParamCount),g+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,g,e),h.segmentIndices.fill(k),g+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,g,r+1),g+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,g,r+1),g+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(l,g,e),h.segmentFlags.fill(1),g+=h.segmentFlags.byteLength),h}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],l,g,c,f,x]=e.a;let p=4;g||(p|=1),l||(p|=2);const v=(0,m.SW)(t,e),[d,y]=(0,m.Uk)(v,.5);return n[a++]=p,n[a++]=f,n[a++]=x,n[a++]=c,n[a++]=h,n[a++]=u,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,c.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function V(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,u.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function w(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=r,h[l++]=s,h[l++]=n,h[l++]=i,l}const X=1.61803,k=-1},51508(t,e,r){r.r(e),r.d(e,{execute:()=>a});var s=r(15756),n=r(83299);const i=new s.x;function a(t,e){const r=(0,n.fromGeometry)(t);return i.execute(r.getGeometry(),(0,n.fromGeometryToGXGeometry)(e),r.getSpatialReference(),null)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1812,1948,6061,7992,8125,9169],{61691(e,t,r){r.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,r){r.d(t,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},96957(e,t,r){r.d(t,{e:()=>o});var s=r(4576),n=r(68613),i=r(78125);function o(e,t){const r=(0,i.getSpatialReference)(e);return(0,i.toGeometry)((0,n.g7)((0,i.fromGeometry)(e),(0,i.fromGeometry)(t),(0,i.fromSpatialReference)(r)),r)}const a=(0,n.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(e,t){const r=e.map(i.fromGeometry),o=(0,i.getSpatialReference)(e);return(0,n.zo)(r,(0,i.fromGeometry)(t),(0,i.fromSpatialReference)(o)).map(e=>(0,i.toGeometry)(e,o)).filter(s.Ru)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}));r.d(t,["s",0,u])},69397(e,t,r){r.d(t,{Qf:()=>a,Qh:()=>i,lM:()=>n});var s=r(34275);function n(e){if(!e)return 0;let t=h;for(const r in e)e.hasOwnProperty(r)&&(t+=o(e[r],!1));return t}function i(e){if(!e)return 0;if("number"==typeof e[0])return a(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return u(e,8);let r=c;for(let s=0;s<t;s++)r+=o(e[s]);return r}(e);let t=h;for(const r in e)e.hasOwnProperty(r)&&(t+=o(e[r]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?i(e):h;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...e){return e.reduce((e,t)=>e+(t?(0,s.iu)(t)?t.byteLength+l:Array.isArray(t)?u(t,16):0:0),0)}function u(e,t){return c+e.length*t}const h=32,c=16,l=145},87992(e,t,r){r.d(t,{JR:()=>_,ME:()=>C,MY:()=>w,NO:()=>M,Nh:()=>P,V2:()=>Z,_s:()=>A,e6:()=>b,gh:()=>E,tr:()=>I,uX:()=>p});var s=r(5482),n=r(16930),i=r(19419),o=r(60408),a=r(21325),u=r(513),h=r(50954),c=r(79567),l=r(52006),m=r(49663),f=r(46068),g=r(92722);class p{constructor({type:e,spatialReference:t,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=m,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:e,segmentCountArc:t,segmentCountBezier:r}=this;return e&&e-t-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 e(e){return e?64+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){const{type:e,vertexCount:t,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(e,t,r,s,n,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*t),0),a.vertexZ?.set(h.subarray(0,t),0),a.vertexM?.set(c.subarray(0,t),0),this.isMultipart()){const{partOffsets:e,partFlags:t}=this;a.partFlags.set(t.subarray(0,r+1)),a.partOffsets.set(e.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:e,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;a.segmentFlags.set(e.subarray(0,t),0),a.segmentIndices.set(r.subarray(0,t),0),a.segmentParams.set(s.subarray(0,n),0)}return a}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,a.aI)(this.spatialReference,e.spatialReference))return!1;if(this.vertexCount!==e.vertexCount||this.partCount!==e.partCount)return!1;if(this.hasZ!==e.hasZ||this.hasM!==e.hasM)return!1;if(this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;const r=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,r)=>Math.abs(e-r)>t||isNaN(e)!==isNaN(r);for(let t=0;t<this.vertexCount;++t)if(r(this.vertexXY[2*t],e.vertexXY[2*t])||r(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(r(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return this.isMultipart()?new x(this):[][Symbol.iterator]()}}class x{constructor(e){this.geometry=e,this.value=new y(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(e){this.geometry=e,this.index=-1,this._readVertex=S(e),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 e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class d{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===e.geometry.type,this.value=new v(e.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=S(e)}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 e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;const t=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){const e=t[r++],s=t[r++],n=t[r++],i=t[r++];return{b:[this.end,[e,s],[n,i]]}}const s=t[r++],n=t[r++],i=t[r++],o=t[r++],a=t[r++],u=t[r++];r++,r++;const h=t[r++],c=t[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,m=1&s?0:1;return{a:[this.end,[a,u],l,m,o,n,i]}}}function M(e,t){const r={stack:[],error:void 0,hasError:!1};try{return t??=(0,i.Ie)(),(0,s.mS)(r,new G(e,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(t,function(e){let t;const{vertexCount:r,vertexXY:n,vertexZ:o,vertexM:a}=e,u=R(e);if(e.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new G(e,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const t of e.parts){let e=t.startVertex;for(const{curve:r}of t.segments)(0,c.e)(n,e,r),e=(0,l.yP)(r)}const[o,a,h,m]=n;t={xmin:o,ymin:a,xmax:h,ymax:m,spatialReference:u}}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}else{let e,s,i,o;e=s=1/0,i=o=-1/0;for(let t=0;t<r;++t){const r=n[2*t],a=n[2*t+1];e=Math.min(e,r),i=Math.max(i,r),s=Math.min(s,a),o=Math.max(o,a)}t={xmin:e,ymin:s,xmax:i,ymax:o,spatialReference:u}}if(o){let e=1/0,r=-1/0;for(const t of o)e=Math.min(e,t),r=Math.max(r,t);t.zmin=e,t.zmax=r}if(a){let e=1/0,r=-1/0;for(const t of a)e=Math.min(e,t),r=Math.max(r,t);t.mmin=e,t.mmax=r}return t}(e)),t}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}function C(e){let t,r,s;if((0,o.fT)(e)){s="point";const{x:n,y:i,z:o,m:a}=e,u=[n,i];null!=o&&u.push(o),null!=a&&u.push(a),r=[[u]],t=1}else(0,o.U9)(e)?(s="multipoint",r=[e.points],t=e.points.length):(0,o.Rg)(e)?(s="polyline",r=e.curvePaths??e.paths,t=r.reduce((e,t)=>e+t.length,0)):(s="polygon",r=e.curveRings??e.rings,t=r.reduce((e,t)=>(0===t.length||(e+=t.length,V(t[0],(0,l.yP)(t.at(-1)))&&--e),e),0));const n=Z(s,t,s.includes("point")?0:r.length,(0,o.Pv)(e),(0,o.W0)(e),(0,l.Ed)(e)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=n;function m(e){u[2*g]=e[0],u[2*g+1]=e[1],i&&(h[g]=e[2]),a&&(c[g]=e[f]),++g}n.spatialReference=e.spatialReference??void 0;const f=n.hasZ?3:2;let g=0;if(!n.isMultipart()){if(!i&&!a){for(const[e,t]of r[0])u[2*g]=e,u[2*g+1]=t,++g;return n}for(const e of r[0])m(e);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,l.Ed)(e)){for(const e of r){if(x[y++]=g,0===e.length)continue;let t=e.length;if(p&&V(e[0],e.at(-1))&&--t,i||a)for(let r=0;r<t;++r)m(e[r]);else for(let r=0;r<t;++r){const[t,s]=e[r];u[2*g]=t,u[2*g+1]=s,++g}}return x[y]=g,n}function d(e){const t=v+e;if(t<=(n.segmentParams?.length??0))return;let r=t*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const e of r){if(n.partOffsets[y++]=g,0===e.length)continue;const t=e[0];let r=t;for(let t=1;t<e.length;++t){const s=e[t];m(r);const i=g-1;(0,l.wY)(s)?(d(10),++n.segmentCountArc,v=A(r,s,n,i,v),r=s.a[0]):(0,l.DA)(s)?(d(10),++n.segmentCountArc,v=O(r,s,n,i,v),r=s.a[0]):(0,l.aO)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.c[0]):(0,l.n1)(s)?(d(4),++n.segmentCountBezier,v=I(0,s,n,i,v),r=s.b[0]):r=s}p&&V(t,r)||m(r)}return n.partOffsets[y]=g,n}function E(e){const t=S(e),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=e,o=R(e);if("point"===e.type){const[t,r]=e.vertexXY,s=e.vertexZ?.[0],n=e.vertexM?.[0];return{x:t,y:r,z:s,m:n,spatialReference:o}}let a=0;if("multipoint"===e.type){const e=[];for(;a<r;)e.push(t(a++));return{points:e,spatialReference:o,hasZ:n,hasM:i}}const u="polygon"===e.type;if(!e.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=e.partOffsets[n+1],i=new Array;for(;a<s;)i.push(t(a++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:o}:{paths:r,hasZ:n,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:t,startVertex:r}of e.parts){const e=[r];for(const{curve:r}of t)e.push(r);h.push(e)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:o}}function P(e,{lengths:t,coords:r,hasZ:s,hasM:n},i){const o=e.includes("point")?0:t.length,a="polygon"===e,u="point"===e?1:t.reduce((e,t)=>e+t,0)-(a?o:0);s??=!1,n??=!1;const h=Z(e,u,o,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let e=0,t=0;e<u;++e)h.vertexXY[2*e]=r[t++],h.vertexXY[2*e+1]=r[t++],s&&(h.vertexZ[e]=r[t++]),n&&(h.vertexM[e]=r[t++]);return h}const c=2+Number(s)+Number(n);let l=0,m=0;h.partOffsets[0]=0;for(const e of t){const t=h.partOffsets[m],i=t+e-Number(a);h.partOffsets[++m]=i;for(let e=t;e<i;++e)h.vertexXY[2*e]=r[l++],h.vertexXY[2*e+1]=r[l++],s&&(h.vertexZ[e]=r[l++]),n&&(h.vertexM[e]=r[l++]);a&&(l+=c)}return h}function _({type:e,vertexCount:t,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new g.A([],[],a,u);i=Math.max(i,1);const c="polygon"===e;let l=0;for(let e=0;e<i;++e){const i=o?.[e+1]??t,m=h.coords.length;for(let e=l;e<i;++e)h.coords.push(r[2*e],r[2*e+1]),a&&h.coords.push(s[e]),u&&h.coords.push(n[e]);if(c){const e=l;h.coords.push(r[2*e],r[2*e+1]),a&&h.coords.push(s[e]),u&&h.coords.push(n[e])}h.lengths.push((h.coords.length-m)/h.stride),l=i}return"point"===e&&(h.lengths.length=0),h}function w(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;const t=e.getText()||void 0,r=e.isCustomWkid()?0:e.getOldID();if(r<=0)return{wkt:t};let s=e.getLatestID();(s<=0||s===r)&&(s=void 0);const n=e.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:t};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:t};let o=e.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:r,wkt:t,latestWkid:s,vcsWkid:i,latestVcsWkid:o}}(e.getSpatialReference()),e=e.getGeometry()),new p({...e.toFlatGeometry(),spatialReference:t})}class G{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(const r of t)e[r]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function R({spatialReference:e}){return e instanceof n.A?e.toJSON():e}function S({vertexXY:e,vertexZ:t,vertexM:r}){return t?r?s=>[e[2*s],e[2*s+1],t[s],r[s]]:r=>[e[2*r],e[2*r+1],t[r]]:r?t=>[e[2*t],e[2*t+1],r[t]]:t=>[e[2*t],e[2*t+1]]}function V(e,t){return e.every((e,r)=>e===t[r])}function Z(e,t,r,s,n,i,o,a){o??=0,a??=0;const u=new p({type:e,vertexCount:t,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:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*t;s&&(h+=Float64Array.BYTES_PER_ELEMENT*t),n&&(h+=Float64Array.BYTES_PER_ELEMENT*t),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=t*Int8Array.BYTES_PER_ELEMENT,h+=t*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*t),l+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(c,l,t),l+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(c,l,t),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,t),u.segmentIndices.fill(F),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,t),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function A(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const[a,[u,h],c,l,m,g,p]=t.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,f.SW)(e,t),[d,v]=(0,f.Uk)(y,.5);return n[o++]=x,n[o++]=g,n[o++]=p,n[o++]=m,n[o++]=u,n[o++]=h,n[o++]=y.u2-y.u1,n[o++]=y.u1,n[o++]=d,n[o++]=v,o}function O(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const a=(0,m.io)(e,t);return Y(a,4,...(0,u.mq)(a,.5),n,o)}function b(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){return r[i]=4,s[i]=o,Y((0,h.pM)(e,t),0,...t.c[1],n,o)}function Y(e,t,r,s,n,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=e;return u>h||(t|=1),Math.abs(h-u)<=Math.PI||(t|=2),n[i++]=t,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=o,n[i++]=a,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function I(e,{b:[t,[r,s],[n,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const X=1.61803,F=-1},68613(e,t,r){r.d(t,{fz:()=>x,g7:()=>g,zo:()=>p});var s=r(76061),n=r(61691),i=r(55537),o=r(83661),a=r(88885),u=r(79187),h=r(95213),c=r(15756);function l(e,t,r,s){const n=e.getImpl().getAttributeStreamRef(0),i=e.getPointCount(),a=t.getXY(),c=e.createInstance(),l=(0,h.f)(r),m=new u.Envelope2D;if(e.queryEnvelope(m),m.inflateCoords(l,l),m.contains(a)){const r=l*l;let s=!1;const u=(0,o.d)(i,!1);for(let e=0;e<i;e++){const t=n.read(2*e),i=n.read(2*e+1),o=t-a.x,h=i-a.y;o*o+h*h<=r&&(s=!0,u[e]=!0)}if(s)for(let t=0;t<i;t++)u[t]||c.addPoints(e,t,t+1);else c.addPoints(e,0,i),c.add(t)}else c.addPoints(e,0,i),c.add(t);return c}class m extends n.G{m_inputGeoms;m_progressTracker;m_spatialReference;m_rightGeom;m_index;m_bEmpty;constructor(e,t,r,s){super(),this.m_progressTracker=s,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=r,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,(0,i.c)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?((0,i.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),function(e,t,r,s){const n=e.getDimension(),m=t.getDimension();if(n!==m)return n>m?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const f=new u.Envelope2D,g=new u.Envelope2D,p=new u.Envelope2D;e.queryEnvelope(f),t.queryEnvelope(g),p.setCoords({env2D:f}),p.mergeEnvelope2D(g);const x=(0,h.c)(r,p,!0),y=e.getGeometryType(),d=t.getGeometryType();return y===i.G.enumPoint&&d===i.G.enumPoint?function(e,t,r){const s=(0,h.f)(r),n=s*s,i=e.getXY(),u=t.getXY(),c=new a.M({vd:e.getDescription()});return o.P.sqrDistance(i,u)>n&&(c.add(e),c.add(t)),c}(e,t,x):y===i.G.enumPoint&&d===i.G.enumMultiPoint?l(t,e,x):y===i.G.enumMultiPoint&&d===i.G.enumPoint?l(e,t,x):(0,c.ax)(e,t,r,s)}(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const f=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r,s){return new m(e,t,r,s)}execute(e,t,r,n){const o=new s.S([e]),a=new s.S([t]),u=this.executeMany(o,a,r,n).next();return u||(0,i.d)("null output"),u}};function g(e,t,r){return f.execute(e,t,r,null)}function p(e,t,r){const n=f.executeMany(new s.S(e),new s.S([t]),r,null);return Array.from(n)}function x(){return f.supportsCurves()}},78125(e,t,r){r.r(t),r.d(t,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>_,toGeometry:()=>P,toMultipoint:()=>w,toPoint:()=>G,toPolygon:()=>R,toPolyline:()=>S});var s=r(83661),n=r(55537),i=r(95213),o=r(88885),a=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),m=(r(90293),r(83299));const f="_gxVersion";function g(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function p(e){switch(e.type){case"point":return d(e);case"multipoint":return y(e);case"polyline":return M(e);case"polygon":return v(e);case"extent":return x(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function x(e){if(!e.getCacheValue(f)){const t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(f,t)}return e.getCacheValue(f)}function y(e){if(!e.getCacheValue(f)){const t=new o.M,r=new i.P,s=e.points,n=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,i=s.length;e<i;e++){const i=s[e];r.setXYCoords(i[0],i[1]),a&&r.setZ(i[2]??0),n&&r.setM(i[u]??NaN),t.add(r)}e.setCacheValue(f,t)}return e.getCacheValue(f)}function d(e){if(!e.getCacheValue(f)){const t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(f,t)}return e.getCacheValue(f)}function v(e){if(!e.getCacheValue(f)){const{curveRings:t,hasM:r,hasZ:s,rings:n}=e,i=(0,m.fromGeometryToGXGeometry)({curveRings:t,hasM:r,hasZ:s,rings:n});e.setCacheValue(f,i)}return e.getCacheValue(f)}function M(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:r,hasZ:s,paths:n}=e,i=(0,m.fromGeometryToGXGeometry)({curvePaths:t,hasM:r,hasZ:s,paths:n});e.setCacheValue(f,i)}return e.getCacheValue(f)}function C(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:r,hasZ:s,paths:n}=e,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:r,hasZ:s,paths:n});e.setCacheValue(f,i)}return e.getCacheValue(f)}function E(e){return e.cache?(e.cache[f]??=(0,m.fromSpatialReference)(e),e.cache[f]):(0,m.fromSpatialReference)(e)}function P(e,t){if(e)switch(e.getGeometryType()){case n.G.enumPoint:return G(e,t);case n.G.enumEnvelope:return _(e,t);case n.G.enumMultiPoint:return w(e,t);case n.G.enumPolyline:return S(e,t);case n.G.enumPolygon:return R(e,t)}return null}function _(e,t){if(e.isEmpty())return null;const r=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),s=e.getDescription();if(s.hasM()){const t=e.queryInterval(2,0);r.mmin=t.vmin,r.mmax=t.vmax}if(s.hasZ()){const t=e.queryInterval(1,0);r.zmin=t.vmin,r.zmax=t.vmax}return r.setCacheValue(f,e),r}function w(e,t){if(e.isEmpty())return null;const r=e.getDescription(),s=r.hasM(),n=r.hasZ(),o=[],a=new i.P;for(let t=0,r=e.getPointCount();t<r;t++){e.getPointByVal(t,a);const r=[a.getX(),a.getY()];n&&r.push(a.getZ()),s&&r.push(a.getM()),o.push(r)}const h=new u.A({hasM:s,hasZ:n,points:o,spatialReference:t});return h.setCacheValue(f,e),h}function G(e,t){if(e instanceof s.P)return new h.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const r=new h.A({x:e.getX(),y:e.getY(),spatialReference:t}),n=e.getDescription();return n.hasM()&&(r.m=e.getM()),n.hasZ()&&(r.z=e.getZ()),r.setCacheValue(f,e),r}function R(e,t){if(e.isEmpty())return null;const r=c.A.fromJSON({...(0,m.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(f,e),r}function S(e,t){if(e.isEmpty())return null;const r=l.A.fromJSON({...(0,m.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(f,e),r}},89041(e,t,r){r.d(t,{execute:()=>s.e}),r(4576),r(68613),r(78125);var s=r(96957)},92722(e,t,r){r.d(t,{A:()=>n});var s=r(69397);class n{constructor(e=[],t=[],r=!1,s=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:e,coords:t,hasZ:r,hasM:s}){return new n(e,t,r||!1,s||!1)}static fromRect([e,t,r,s]){const i=r-e,o=s-t;return new n([5],[e,t,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*t],i=this.coords[s*t+1];for(let o=1;o<r;o+=1){const r=s*(t+o),a=this.coords[r],u=this.coords[r+1];e+=-.5*(a-n)*(u+i),n=a,i=u}t+=r}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(t+n);e(this.coords[s],this.coords[s+1])}t+=s}}deltaDecode(){const e=this.clone(),{coords:t,lengths:r}=e;let s=0;const{stride:n}=this;for(const e of r){for(let r=1;r<e;r++){const e=n*(s+r);t[e]+=t[e-n],t[e+1]+=t[e+1-n]}s+=e}return e}clone(e){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return e?(e.set(i),new n(t,e,this.hasZ,this.hasM)):new n(t,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const r=new Array(t*e);for(let t=0,s=0;t<r.length;t+=e)r[s++]=this.coords[t],r[s++]=this.coords[t+1];return new n(this.lengths,r,!1,!1)}}}}]);