@arcgis/core 4.32.0-next.20241217 → 4.32.0-next.20241219

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 (2219) hide show
  1. package/Basemap.js +1 -1
  2. package/arcade.js +1 -1
  3. package/assets/components/assets/icon/medical16.json +1 -1
  4. package/assets/components/assets/icon/medical24.json +1 -1
  5. package/assets/components/assets/icon/medical32.json +1 -1
  6. package/assets/components/assets/input/t9n/messages.en.json +1 -0
  7. package/assets/components/assets/input-text/t9n/messages.en.json +1 -0
  8. package/assets/components/assets/text-area/t9n/messages.en.json +1 -0
  9. package/assets/components/assets/text-area/t9n/messages.json +1 -1
  10. package/assets/esri/core/workers/RemoteClient.js +1 -1
  11. package/assets/esri/core/workers/chunks/{57aa1fcef6587305b347.js → 0191142d5f55cc8cf37a.js} +93 -93
  12. package/assets/esri/core/workers/chunks/{7a0ddaf2c279a2d24c86.js → 0837a630e12a21fc2e50.js} +1 -1
  13. package/assets/esri/core/workers/chunks/0acaf73a938fc933560f.js +1 -0
  14. package/assets/esri/core/workers/chunks/0b3e1e903120da297641.js +1 -0
  15. package/assets/esri/core/workers/chunks/0d2411a941c42acb8cc2.js +1 -0
  16. package/assets/esri/core/workers/chunks/{6ceafd4420d21110d820.js → 0da2aaca3f0b4fe910e3.js} +1 -1
  17. package/assets/esri/core/workers/chunks/0f1a7aeec18db5323365.js +1 -0
  18. package/assets/esri/core/workers/chunks/{cca47dab8c1b8ae49fab.js → 11052103efe3d53a784e.js} +1 -1
  19. package/assets/esri/core/workers/chunks/19d72185d50ba1ebff50.js +1 -0
  20. package/assets/esri/core/workers/chunks/{9980467d7bcfb55879b3.js → 1c60000b2888fd84d707.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{b99de19b6930ba6dad98.js → 1d8609ba413e8a172719.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{d05fab1af651b7e92442.js → 23fe65988dbc9e5d7842.js} +1 -1
  23. package/assets/esri/core/workers/chunks/2427a01678f3d9fbf30b.js +1 -0
  24. package/assets/esri/core/workers/chunks/367af4aa7e170c8553e3.js +1 -0
  25. package/assets/esri/core/workers/chunks/3a90163b76b0bc7f21d2.js +1 -0
  26. package/assets/esri/core/workers/chunks/3ef5002b21b1a5b97e11.js +1 -0
  27. package/assets/esri/core/workers/chunks/48266c87363e7dcaefb3.js +1 -0
  28. package/assets/esri/core/workers/chunks/{d3790bd1a644eae1005b.js → 48f6eb3b63fec1d3312d.js} +4 -5
  29. package/assets/esri/core/workers/chunks/{0a578f14ea8ce1c1a507.js → 533a7fd64b17bb294545.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{d7de424035f62b824695.js → 5786b190ad3e2d933245.js} +1 -1
  31. package/assets/esri/core/workers/chunks/668679baf519ada9ae28.js +1 -0
  32. package/assets/esri/core/workers/chunks/{f2d5991b48fba97a3dab.js → 67c7bdc0c91a8f803ea8.js} +1 -1
  33. package/assets/esri/core/workers/chunks/7156d2ae914e1add0109.js +1 -0
  34. package/assets/esri/core/workers/chunks/737f381f2cfeddb96d15.js +1 -0
  35. package/assets/esri/core/workers/chunks/{b77d294ad7064734d015.js → 741d5dadfab2a7689054.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{36867270eff05f679278.js → 756c2f7c8659deab6c96.js} +2 -2
  37. package/assets/esri/core/workers/chunks/{36867270eff05f679278.js.LICENSE.txt → 756c2f7c8659deab6c96.js.LICENSE.txt} +1 -1
  38. package/assets/esri/core/workers/chunks/{1cee35ea0a80737730d5.js → 770d233254419b741616.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{f55a89da96f0229e772e.js → 7ce1f952f3a809fafb95.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{4ea0037bbe375fb4d6c1.js → 80ac74da0b0e45e74beb.js} +1 -1
  41. package/assets/esri/core/workers/chunks/8249351daa45ca82ca0c.js +1 -0
  42. package/assets/esri/core/workers/chunks/84d26c6c805f5855ffd3.js +1 -0
  43. package/assets/esri/core/workers/chunks/9372d08ba8bf3342c48f.js +1 -0
  44. package/assets/esri/core/workers/chunks/9cc9bac6e02ab241e852.js +1 -0
  45. package/assets/esri/core/workers/chunks/9f0ebeae8a3ba360284b.js +1 -0
  46. package/assets/esri/core/workers/chunks/{d347dd19a37ba2f19970.js → 9fc49968dea8e2b64f3e.js} +1 -1
  47. package/assets/esri/core/workers/chunks/a4c8b773283ea8f0e256.js +1 -0
  48. package/assets/esri/core/workers/chunks/a776f71b4c7b8728a973.js +1 -0
  49. package/assets/esri/core/workers/chunks/a77aa86896bbb0e088df.js +1 -0
  50. package/assets/esri/core/workers/chunks/{afde45eb84ad6284a4fa.js → b1e4813f0c73fc2a483c.js} +2 -2
  51. package/assets/esri/core/workers/chunks/{afde45eb84ad6284a4fa.js.LICENSE.txt → b1e4813f0c73fc2a483c.js.LICENSE.txt} +1 -1
  52. package/assets/esri/core/workers/chunks/bd37c9cc720587665fd3.js +1 -0
  53. package/assets/esri/core/workers/chunks/{724434221897706b696b.js → bf0a0ca7fdac98f06a89.js} +2 -2
  54. package/assets/esri/core/workers/chunks/{724434221897706b696b.js.LICENSE.txt → bf0a0ca7fdac98f06a89.js.LICENSE.txt} +1 -1
  55. package/assets/esri/core/workers/chunks/cb3af81e1fe6405c4885.js +1 -0
  56. package/assets/esri/core/workers/chunks/cc427e8f1b17744b6ea4.js +1 -0
  57. package/assets/esri/core/workers/chunks/cfe4b8101ea96d6996d3.js +2 -0
  58. package/assets/esri/core/workers/chunks/{8efb11cb5c31c5aa6154.js.LICENSE.txt → cfe4b8101ea96d6996d3.js.LICENSE.txt} +1 -1
  59. package/assets/esri/core/workers/chunks/d07da8b63d83af179a2c.js +1 -0
  60. package/assets/esri/core/workers/chunks/d7b76bc7bff34abc2253.js +1 -0
  61. package/assets/esri/core/workers/chunks/d9e396adf3354ee68339.js +1 -0
  62. package/assets/esri/core/workers/chunks/dd34df14eb4940e2497b.js +1 -0
  63. package/assets/esri/core/workers/chunks/dd4bd96dfb7f9921b774.js +1 -0
  64. package/assets/esri/core/workers/chunks/dfd9432ba01881d0a4d9.js +2 -0
  65. package/assets/esri/core/workers/chunks/{52abff49e4a07d0af576.js.LICENSE.txt → dfd9432ba01881d0a4d9.js.LICENSE.txt} +1 -1
  66. package/assets/esri/core/workers/chunks/e1913990f30d285b3b15.js +2 -0
  67. package/assets/esri/core/workers/chunks/{bab53185fcec46c6818a.js.LICENSE.txt → e1913990f30d285b3b15.js.LICENSE.txt} +1 -1
  68. package/assets/esri/core/workers/chunks/{e6490fe7c87c1d649ea6.js → e5d55a35dace70239902.js} +1 -1
  69. package/assets/esri/core/workers/chunks/ebf9caf2dc8af89afec2.js +2 -0
  70. package/assets/esri/core/workers/chunks/{a9558b3325dc8fc4ec53.js.LICENSE.txt → ebf9caf2dc8af89afec2.js.LICENSE.txt} +1 -1
  71. package/assets/esri/core/workers/chunks/f25c04cf1a4bc1d2636a.js +1 -0
  72. package/assets/esri/themes/base/widgets/_BasemapGallery.scss +6 -8
  73. package/assets/esri/themes/dark/main.css +1 -1
  74. package/assets/esri/themes/light/main.css +1 -1
  75. package/assets/esri/themes/light/view.css +1 -1
  76. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  77. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  78. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  79. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  80. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  81. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  82. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  83. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  84. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  85. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  86. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  87. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  88. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  89. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  90. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  91. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  92. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  93. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  94. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  95. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  96. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  97. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  98. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  99. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  100. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  101. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  102. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  103. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  104. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  105. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  106. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  107. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  108. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  109. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  110. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  111. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  112. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  113. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  114. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  115. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  116. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  117. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  118. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  119. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  120. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  121. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  122. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  123. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  124. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  125. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  126. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  127. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  128. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  129. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  130. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  131. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  132. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  133. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  134. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  135. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  136. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  137. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  138. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  139. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  140. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  141. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  142. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  143. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  144. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  145. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  146. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  147. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  148. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  149. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  150. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  151. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  152. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  153. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  154. package/chunks/HUDMaterial.glsl.js +41 -42
  155. package/chunks/OITBlend.glsl.js +3 -3
  156. package/chunks/QuadraticBezier.js +1 -1
  157. package/chunks/chartUtilsAm5.js +1 -1
  158. package/core/number.js +1 -1
  159. package/geometry/operators/gx/operatorOffset.js +1 -1
  160. package/geometry/operators/support/jsonConverter.js +1 -1
  161. package/interfaces.d.ts +969 -732
  162. package/intl/messages.js +1 -1
  163. package/layers/FeatureLayer.js +1 -1
  164. package/layers/SceneLayer.js +1 -1
  165. package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
  166. package/layers/graphics/sources/OGCFeatureSource.js +1 -1
  167. package/layers/graphics/sources/support/QueryTask.js +1 -1
  168. package/layers/mixins/ArcGISImageService.js +1 -1
  169. package/layers/support/capabilities.js +1 -1
  170. package/layers/support/infoFor3D.js +1 -1
  171. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  172. package/networks/UtilityNetwork.js +1 -1
  173. package/networks/support/typeUtils.js +1 -1
  174. package/package.json +2 -2
  175. package/renderers/support/RendererLegendOptions.js +1 -1
  176. package/rest/featureService/utils.js +1 -1
  177. package/rest/support/AddressToLocationsParameters.js +1 -1
  178. package/rest/support/LocationToAddressParameters.js +1 -1
  179. package/smartMapping/popup/classBreaks.js +1 -1
  180. package/smartMapping/popup/clusters.js +1 -1
  181. package/smartMapping/popup/dotDensity.js +1 -1
  182. package/smartMapping/popup/heatmap.js +1 -1
  183. package/smartMapping/popup/predominance.js +1 -1
  184. package/smartMapping/popup/relationship.js +1 -1
  185. package/smartMapping/popup/simple.js +1 -1
  186. package/smartMapping/popup/support/utils.js +1 -1
  187. package/smartMapping/popup/templates.js +1 -1
  188. package/smartMapping/popup/uniqueValues.js +1 -1
  189. package/smartMapping/raster/renderers/flow.js +1 -1
  190. package/smartMapping/renderers/pieChart.js +1 -1
  191. package/smartMapping/symbology/support/utils.js +1 -1
  192. package/support/BasemapStyle.js +1 -1
  193. package/support/revision.js +1 -1
  194. package/versionManagement/versionAdapters/utils.js +1 -1
  195. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  196. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  197. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  198. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  199. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  200. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  201. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  202. package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +2 -2
  203. package/views/3d/webgl.js +1 -1
  204. package/views/SelectionManager.js +1 -1
  205. package/views/interactive/snapping/SnappingManager.js +1 -1
  206. package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
  207. package/widgets/Directions/DirectionsViewModel.js +1 -1
  208. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  209. package/widgets/Editor/UpdateRecordWorkflowData.js +1 -1
  210. package/widgets/Editor/UpdateWorkflow.js +1 -1
  211. package/widgets/Feature/FeatureUtilityNetworkAssociationType.js +1 -1
  212. package/widgets/Feature/FeatureUtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
  213. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  214. package/widgets/FeatureForm/UtilityNetworkAssociationInput.js +1 -1
  215. package/widgets/FeatureForm.js +1 -1
  216. package/widgets/Features.js +1 -1
  217. package/widgets/LayerList/LayerListItem.js +1 -1
  218. package/widgets/VersionManagement/VersionManagementViewModel.js +1 -1
  219. package/widgets/support/TimezonePicker.js +1 -1
  220. package/widgets/support/widget.js +1 -1
  221. package/widgets/support/widgetUtils.js +1 -1
  222. package/applications/Components/CollectionFlattener.d.ts +0 -4
  223. package/applications/Components/CollectionFlattener.js +0 -5
  224. package/assets/components/assets/text-area/t9n/text-area.t9n.en.json +0 -1
  225. package/assets/esri/core/workers/chunks/0f0cc8150326ca7bcd6f.js +0 -1
  226. package/assets/esri/core/workers/chunks/166f6285979a614781f9.js +0 -1
  227. package/assets/esri/core/workers/chunks/1808a2b023fa04c6ee6c.js +0 -1
  228. package/assets/esri/core/workers/chunks/1d31b07805af85a4ba7b.js +0 -1
  229. package/assets/esri/core/workers/chunks/209abe07d5f7aa1641be.js +0 -1
  230. package/assets/esri/core/workers/chunks/23966144429ec415143b.js +0 -1
  231. package/assets/esri/core/workers/chunks/28f3e139a4e3b70d84a4.js +0 -1
  232. package/assets/esri/core/workers/chunks/2daf5f46e4b137d33f12.js +0 -1
  233. package/assets/esri/core/workers/chunks/382c3da5ce9b3231f57c.js +0 -1
  234. package/assets/esri/core/workers/chunks/3dc76fd95ab4b537adec.js +0 -1
  235. package/assets/esri/core/workers/chunks/433798a25dd688cef327.js +0 -1
  236. package/assets/esri/core/workers/chunks/52abff49e4a07d0af576.js +0 -2
  237. package/assets/esri/core/workers/chunks/56a04f5976b926de448e.js +0 -1
  238. package/assets/esri/core/workers/chunks/6bd6c280c741f8917cc8.js +0 -1
  239. package/assets/esri/core/workers/chunks/77d6c69f1e355c8091c4.js +0 -1
  240. package/assets/esri/core/workers/chunks/78981dee7b5403c32517.js +0 -1
  241. package/assets/esri/core/workers/chunks/7bb52be0a02fb2a2631c.js +0 -1
  242. package/assets/esri/core/workers/chunks/80f1f967646f7a7d37ec.js +0 -1
  243. package/assets/esri/core/workers/chunks/8531abfadac90713fa2f.js +0 -1
  244. package/assets/esri/core/workers/chunks/8943c0b9b7114a0b7302.js +0 -1
  245. package/assets/esri/core/workers/chunks/8aefbb870460a5b338a6.js +0 -1
  246. package/assets/esri/core/workers/chunks/8efb11cb5c31c5aa6154.js +0 -2
  247. package/assets/esri/core/workers/chunks/95ea191f6a307b73b545.js +0 -1
  248. package/assets/esri/core/workers/chunks/96db21c4aba390c796a5.js +0 -1
  249. package/assets/esri/core/workers/chunks/9db2489eb8358e0bee14.js +0 -1
  250. package/assets/esri/core/workers/chunks/9fab71f1041c40d976af.js +0 -1
  251. package/assets/esri/core/workers/chunks/a9558b3325dc8fc4ec53.js +0 -2
  252. package/assets/esri/core/workers/chunks/aa31073c7fe3b0e4e499.js +0 -1
  253. package/assets/esri/core/workers/chunks/af5d74311cec22601f73.js +0 -1
  254. package/assets/esri/core/workers/chunks/bab53185fcec46c6818a.js +0 -2
  255. package/assets/esri/core/workers/chunks/bf2d1a700fff4ae0db33.js +0 -1
  256. package/assets/esri/core/workers/chunks/d87b4b4ba7ca85fd4bcd.js +0 -1
  257. package/assets/esri/core/workers/chunks/e33db87f2a2615a2f2fa.js +0 -1
  258. package/assets/esri/core/workers/chunks/f429d95eb986f3d215f3.js +0 -1
  259. package/assets/esri/core/workers/chunks/ff095805f151ef3ac402.js +0 -1
  260. /package/assets/components/assets/action/t9n/{action.t9n.ar.json → messages.ar.json} +0 -0
  261. /package/assets/components/assets/action/t9n/{action.t9n.bg.json → messages.bg.json} +0 -0
  262. /package/assets/components/assets/action/t9n/{action.t9n.bs.json → messages.bs.json} +0 -0
  263. /package/assets/components/assets/action/t9n/{action.t9n.ca.json → messages.ca.json} +0 -0
  264. /package/assets/components/assets/action/t9n/{action.t9n.cs.json → messages.cs.json} +0 -0
  265. /package/assets/components/assets/action/t9n/{action.t9n.da.json → messages.da.json} +0 -0
  266. /package/assets/components/assets/action/t9n/{action.t9n.de.json → messages.de.json} +0 -0
  267. /package/assets/components/assets/action/t9n/{action.t9n.el.json → messages.el.json} +0 -0
  268. /package/assets/components/assets/action/t9n/{action.t9n.en.json → messages.en.json} +0 -0
  269. /package/assets/components/assets/action/t9n/{action.t9n.es.json → messages.es.json} +0 -0
  270. /package/assets/components/assets/action/t9n/{action.t9n.et.json → messages.et.json} +0 -0
  271. /package/assets/components/assets/action/t9n/{action.t9n.fi.json → messages.fi.json} +0 -0
  272. /package/assets/components/assets/action/t9n/{action.t9n.fr.json → messages.fr.json} +0 -0
  273. /package/assets/components/assets/action/t9n/{action.t9n.he.json → messages.he.json} +0 -0
  274. /package/assets/components/assets/action/t9n/{action.t9n.hr.json → messages.hr.json} +0 -0
  275. /package/assets/components/assets/action/t9n/{action.t9n.hu.json → messages.hu.json} +0 -0
  276. /package/assets/components/assets/action/t9n/{action.t9n.id.json → messages.id.json} +0 -0
  277. /package/assets/components/assets/action/t9n/{action.t9n.it.json → messages.it.json} +0 -0
  278. /package/assets/components/assets/action/t9n/{action.t9n.ja.json → messages.ja.json} +0 -0
  279. /package/assets/components/assets/action/t9n/{action.t9n.ko.json → messages.ko.json} +0 -0
  280. /package/assets/components/assets/action/t9n/{action.t9n.lt.json → messages.lt.json} +0 -0
  281. /package/assets/components/assets/action/t9n/{action.t9n.lv.json → messages.lv.json} +0 -0
  282. /package/assets/components/assets/action/t9n/{action.t9n.nl.json → messages.nl.json} +0 -0
  283. /package/assets/components/assets/action/t9n/{action.t9n.no.json → messages.no.json} +0 -0
  284. /package/assets/components/assets/action/t9n/{action.t9n.pl.json → messages.pl.json} +0 -0
  285. /package/assets/components/assets/action/t9n/{action.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  286. /package/assets/components/assets/action/t9n/{action.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  287. /package/assets/components/assets/action/t9n/{action.t9n.ro.json → messages.ro.json} +0 -0
  288. /package/assets/components/assets/action/t9n/{action.t9n.ru.json → messages.ru.json} +0 -0
  289. /package/assets/components/assets/action/t9n/{action.t9n.sk.json → messages.sk.json} +0 -0
  290. /package/assets/components/assets/action/t9n/{action.t9n.sl.json → messages.sl.json} +0 -0
  291. /package/assets/components/assets/action/t9n/{action.t9n.sr.json → messages.sr.json} +0 -0
  292. /package/assets/components/assets/action/t9n/{action.t9n.sv.json → messages.sv.json} +0 -0
  293. /package/assets/components/assets/action/t9n/{action.t9n.th.json → messages.th.json} +0 -0
  294. /package/assets/components/assets/action/t9n/{action.t9n.tr.json → messages.tr.json} +0 -0
  295. /package/assets/components/assets/action/t9n/{action.t9n.uk.json → messages.uk.json} +0 -0
  296. /package/assets/components/assets/action/t9n/{action.t9n.vi.json → messages.vi.json} +0 -0
  297. /package/assets/components/assets/action/t9n/{action.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  298. /package/assets/components/assets/action/t9n/{action.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  299. /package/assets/components/assets/action/t9n/{action.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  300. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.ar.json → messages.ar.json} +0 -0
  301. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.bg.json → messages.bg.json} +0 -0
  302. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.bs.json → messages.bs.json} +0 -0
  303. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.ca.json → messages.ca.json} +0 -0
  304. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.cs.json → messages.cs.json} +0 -0
  305. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.da.json → messages.da.json} +0 -0
  306. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.de.json → messages.de.json} +0 -0
  307. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.el.json → messages.el.json} +0 -0
  308. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.en.json → messages.en.json} +0 -0
  309. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.es.json → messages.es.json} +0 -0
  310. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.et.json → messages.et.json} +0 -0
  311. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.fi.json → messages.fi.json} +0 -0
  312. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.fr.json → messages.fr.json} +0 -0
  313. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.he.json → messages.he.json} +0 -0
  314. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.hr.json → messages.hr.json} +0 -0
  315. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.hu.json → messages.hu.json} +0 -0
  316. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.id.json → messages.id.json} +0 -0
  317. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.it.json → messages.it.json} +0 -0
  318. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.ja.json → messages.ja.json} +0 -0
  319. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.ko.json → messages.ko.json} +0 -0
  320. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.lt.json → messages.lt.json} +0 -0
  321. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.lv.json → messages.lv.json} +0 -0
  322. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.nl.json → messages.nl.json} +0 -0
  323. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.no.json → messages.no.json} +0 -0
  324. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.pl.json → messages.pl.json} +0 -0
  325. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  326. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  327. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.ro.json → messages.ro.json} +0 -0
  328. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.ru.json → messages.ru.json} +0 -0
  329. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.sk.json → messages.sk.json} +0 -0
  330. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.sl.json → messages.sl.json} +0 -0
  331. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.sr.json → messages.sr.json} +0 -0
  332. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.sv.json → messages.sv.json} +0 -0
  333. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.th.json → messages.th.json} +0 -0
  334. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.tr.json → messages.tr.json} +0 -0
  335. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.uk.json → messages.uk.json} +0 -0
  336. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.vi.json → messages.vi.json} +0 -0
  337. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  338. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  339. /package/assets/components/assets/action-bar/t9n/{action-bar.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  340. /package/assets/components/assets/action-group/t9n/{action-group.t9n.ar.json → messages.ar.json} +0 -0
  341. /package/assets/components/assets/action-group/t9n/{action-group.t9n.bg.json → messages.bg.json} +0 -0
  342. /package/assets/components/assets/action-group/t9n/{action-group.t9n.bs.json → messages.bs.json} +0 -0
  343. /package/assets/components/assets/action-group/t9n/{action-group.t9n.ca.json → messages.ca.json} +0 -0
  344. /package/assets/components/assets/action-group/t9n/{action-group.t9n.cs.json → messages.cs.json} +0 -0
  345. /package/assets/components/assets/action-group/t9n/{action-group.t9n.da.json → messages.da.json} +0 -0
  346. /package/assets/components/assets/action-group/t9n/{action-group.t9n.de.json → messages.de.json} +0 -0
  347. /package/assets/components/assets/action-group/t9n/{action-group.t9n.el.json → messages.el.json} +0 -0
  348. /package/assets/components/assets/action-group/t9n/{action-group.t9n.en.json → messages.en.json} +0 -0
  349. /package/assets/components/assets/action-group/t9n/{action-group.t9n.es.json → messages.es.json} +0 -0
  350. /package/assets/components/assets/action-group/t9n/{action-group.t9n.et.json → messages.et.json} +0 -0
  351. /package/assets/components/assets/action-group/t9n/{action-group.t9n.fi.json → messages.fi.json} +0 -0
  352. /package/assets/components/assets/action-group/t9n/{action-group.t9n.fr.json → messages.fr.json} +0 -0
  353. /package/assets/components/assets/action-group/t9n/{action-group.t9n.he.json → messages.he.json} +0 -0
  354. /package/assets/components/assets/action-group/t9n/{action-group.t9n.hr.json → messages.hr.json} +0 -0
  355. /package/assets/components/assets/action-group/t9n/{action-group.t9n.hu.json → messages.hu.json} +0 -0
  356. /package/assets/components/assets/action-group/t9n/{action-group.t9n.id.json → messages.id.json} +0 -0
  357. /package/assets/components/assets/action-group/t9n/{action-group.t9n.it.json → messages.it.json} +0 -0
  358. /package/assets/components/assets/action-group/t9n/{action-group.t9n.ja.json → messages.ja.json} +0 -0
  359. /package/assets/components/assets/action-group/t9n/{action-group.t9n.ko.json → messages.ko.json} +0 -0
  360. /package/assets/components/assets/action-group/t9n/{action-group.t9n.lt.json → messages.lt.json} +0 -0
  361. /package/assets/components/assets/action-group/t9n/{action-group.t9n.lv.json → messages.lv.json} +0 -0
  362. /package/assets/components/assets/action-group/t9n/{action-group.t9n.nl.json → messages.nl.json} +0 -0
  363. /package/assets/components/assets/action-group/t9n/{action-group.t9n.no.json → messages.no.json} +0 -0
  364. /package/assets/components/assets/action-group/t9n/{action-group.t9n.pl.json → messages.pl.json} +0 -0
  365. /package/assets/components/assets/action-group/t9n/{action-group.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  366. /package/assets/components/assets/action-group/t9n/{action-group.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  367. /package/assets/components/assets/action-group/t9n/{action-group.t9n.ro.json → messages.ro.json} +0 -0
  368. /package/assets/components/assets/action-group/t9n/{action-group.t9n.ru.json → messages.ru.json} +0 -0
  369. /package/assets/components/assets/action-group/t9n/{action-group.t9n.sk.json → messages.sk.json} +0 -0
  370. /package/assets/components/assets/action-group/t9n/{action-group.t9n.sl.json → messages.sl.json} +0 -0
  371. /package/assets/components/assets/action-group/t9n/{action-group.t9n.sr.json → messages.sr.json} +0 -0
  372. /package/assets/components/assets/action-group/t9n/{action-group.t9n.sv.json → messages.sv.json} +0 -0
  373. /package/assets/components/assets/action-group/t9n/{action-group.t9n.th.json → messages.th.json} +0 -0
  374. /package/assets/components/assets/action-group/t9n/{action-group.t9n.tr.json → messages.tr.json} +0 -0
  375. /package/assets/components/assets/action-group/t9n/{action-group.t9n.uk.json → messages.uk.json} +0 -0
  376. /package/assets/components/assets/action-group/t9n/{action-group.t9n.vi.json → messages.vi.json} +0 -0
  377. /package/assets/components/assets/action-group/t9n/{action-group.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  378. /package/assets/components/assets/action-group/t9n/{action-group.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  379. /package/assets/components/assets/action-group/t9n/{action-group.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  380. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.ar.json → messages.ar.json} +0 -0
  381. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.bg.json → messages.bg.json} +0 -0
  382. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.bs.json → messages.bs.json} +0 -0
  383. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.ca.json → messages.ca.json} +0 -0
  384. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.cs.json → messages.cs.json} +0 -0
  385. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.da.json → messages.da.json} +0 -0
  386. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.de.json → messages.de.json} +0 -0
  387. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.el.json → messages.el.json} +0 -0
  388. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.en.json → messages.en.json} +0 -0
  389. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.es.json → messages.es.json} +0 -0
  390. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.et.json → messages.et.json} +0 -0
  391. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.fi.json → messages.fi.json} +0 -0
  392. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.fr.json → messages.fr.json} +0 -0
  393. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.he.json → messages.he.json} +0 -0
  394. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.hr.json → messages.hr.json} +0 -0
  395. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.hu.json → messages.hu.json} +0 -0
  396. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.id.json → messages.id.json} +0 -0
  397. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.it.json → messages.it.json} +0 -0
  398. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.ja.json → messages.ja.json} +0 -0
  399. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.ko.json → messages.ko.json} +0 -0
  400. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.lt.json → messages.lt.json} +0 -0
  401. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.lv.json → messages.lv.json} +0 -0
  402. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.nl.json → messages.nl.json} +0 -0
  403. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.no.json → messages.no.json} +0 -0
  404. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.pl.json → messages.pl.json} +0 -0
  405. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  406. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  407. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.ro.json → messages.ro.json} +0 -0
  408. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.ru.json → messages.ru.json} +0 -0
  409. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.sk.json → messages.sk.json} +0 -0
  410. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.sl.json → messages.sl.json} +0 -0
  411. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.sr.json → messages.sr.json} +0 -0
  412. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.sv.json → messages.sv.json} +0 -0
  413. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.th.json → messages.th.json} +0 -0
  414. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.tr.json → messages.tr.json} +0 -0
  415. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.uk.json → messages.uk.json} +0 -0
  416. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.vi.json → messages.vi.json} +0 -0
  417. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  418. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  419. /package/assets/components/assets/action-pad/t9n/{action-pad.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  420. /package/assets/components/assets/alert/t9n/{alert.t9n.ar.json → messages.ar.json} +0 -0
  421. /package/assets/components/assets/alert/t9n/{alert.t9n.bg.json → messages.bg.json} +0 -0
  422. /package/assets/components/assets/alert/t9n/{alert.t9n.bs.json → messages.bs.json} +0 -0
  423. /package/assets/components/assets/alert/t9n/{alert.t9n.ca.json → messages.ca.json} +0 -0
  424. /package/assets/components/assets/alert/t9n/{alert.t9n.cs.json → messages.cs.json} +0 -0
  425. /package/assets/components/assets/alert/t9n/{alert.t9n.da.json → messages.da.json} +0 -0
  426. /package/assets/components/assets/alert/t9n/{alert.t9n.de.json → messages.de.json} +0 -0
  427. /package/assets/components/assets/alert/t9n/{alert.t9n.el.json → messages.el.json} +0 -0
  428. /package/assets/components/assets/alert/t9n/{alert.t9n.en.json → messages.en.json} +0 -0
  429. /package/assets/components/assets/alert/t9n/{alert.t9n.es.json → messages.es.json} +0 -0
  430. /package/assets/components/assets/alert/t9n/{alert.t9n.et.json → messages.et.json} +0 -0
  431. /package/assets/components/assets/alert/t9n/{alert.t9n.fi.json → messages.fi.json} +0 -0
  432. /package/assets/components/assets/alert/t9n/{alert.t9n.fr.json → messages.fr.json} +0 -0
  433. /package/assets/components/assets/alert/t9n/{alert.t9n.he.json → messages.he.json} +0 -0
  434. /package/assets/components/assets/alert/t9n/{alert.t9n.hr.json → messages.hr.json} +0 -0
  435. /package/assets/components/assets/alert/t9n/{alert.t9n.hu.json → messages.hu.json} +0 -0
  436. /package/assets/components/assets/alert/t9n/{alert.t9n.id.json → messages.id.json} +0 -0
  437. /package/assets/components/assets/alert/t9n/{alert.t9n.it.json → messages.it.json} +0 -0
  438. /package/assets/components/assets/alert/t9n/{alert.t9n.ja.json → messages.ja.json} +0 -0
  439. /package/assets/components/assets/alert/t9n/{alert.t9n.ko.json → messages.ko.json} +0 -0
  440. /package/assets/components/assets/alert/t9n/{alert.t9n.lt.json → messages.lt.json} +0 -0
  441. /package/assets/components/assets/alert/t9n/{alert.t9n.lv.json → messages.lv.json} +0 -0
  442. /package/assets/components/assets/alert/t9n/{alert.t9n.nl.json → messages.nl.json} +0 -0
  443. /package/assets/components/assets/alert/t9n/{alert.t9n.no.json → messages.no.json} +0 -0
  444. /package/assets/components/assets/alert/t9n/{alert.t9n.pl.json → messages.pl.json} +0 -0
  445. /package/assets/components/assets/alert/t9n/{alert.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  446. /package/assets/components/assets/alert/t9n/{alert.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  447. /package/assets/components/assets/alert/t9n/{alert.t9n.ro.json → messages.ro.json} +0 -0
  448. /package/assets/components/assets/alert/t9n/{alert.t9n.ru.json → messages.ru.json} +0 -0
  449. /package/assets/components/assets/alert/t9n/{alert.t9n.sk.json → messages.sk.json} +0 -0
  450. /package/assets/components/assets/alert/t9n/{alert.t9n.sl.json → messages.sl.json} +0 -0
  451. /package/assets/components/assets/alert/t9n/{alert.t9n.sr.json → messages.sr.json} +0 -0
  452. /package/assets/components/assets/alert/t9n/{alert.t9n.sv.json → messages.sv.json} +0 -0
  453. /package/assets/components/assets/alert/t9n/{alert.t9n.th.json → messages.th.json} +0 -0
  454. /package/assets/components/assets/alert/t9n/{alert.t9n.tr.json → messages.tr.json} +0 -0
  455. /package/assets/components/assets/alert/t9n/{alert.t9n.uk.json → messages.uk.json} +0 -0
  456. /package/assets/components/assets/alert/t9n/{alert.t9n.vi.json → messages.vi.json} +0 -0
  457. /package/assets/components/assets/alert/t9n/{alert.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  458. /package/assets/components/assets/alert/t9n/{alert.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  459. /package/assets/components/assets/alert/t9n/{alert.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  460. /package/assets/components/assets/{input-number/t9n/input-number.t9n.en.json → autocomplete/t9n/messages.en.json} +0 -0
  461. /package/assets/components/assets/{input-text/t9n/input-text.t9n.en.json → autocomplete/t9n/messages.json} +0 -0
  462. /package/assets/components/assets/block/t9n/{block.t9n.ar.json → messages.ar.json} +0 -0
  463. /package/assets/components/assets/block/t9n/{block.t9n.bg.json → messages.bg.json} +0 -0
  464. /package/assets/components/assets/block/t9n/{block.t9n.bs.json → messages.bs.json} +0 -0
  465. /package/assets/components/assets/block/t9n/{block.t9n.ca.json → messages.ca.json} +0 -0
  466. /package/assets/components/assets/block/t9n/{block.t9n.cs.json → messages.cs.json} +0 -0
  467. /package/assets/components/assets/block/t9n/{block.t9n.da.json → messages.da.json} +0 -0
  468. /package/assets/components/assets/block/t9n/{block.t9n.de.json → messages.de.json} +0 -0
  469. /package/assets/components/assets/block/t9n/{block.t9n.el.json → messages.el.json} +0 -0
  470. /package/assets/components/assets/block/t9n/{block.t9n.en.json → messages.en.json} +0 -0
  471. /package/assets/components/assets/block/t9n/{block.t9n.es.json → messages.es.json} +0 -0
  472. /package/assets/components/assets/block/t9n/{block.t9n.et.json → messages.et.json} +0 -0
  473. /package/assets/components/assets/block/t9n/{block.t9n.fi.json → messages.fi.json} +0 -0
  474. /package/assets/components/assets/block/t9n/{block.t9n.fr.json → messages.fr.json} +0 -0
  475. /package/assets/components/assets/block/t9n/{block.t9n.he.json → messages.he.json} +0 -0
  476. /package/assets/components/assets/block/t9n/{block.t9n.hr.json → messages.hr.json} +0 -0
  477. /package/assets/components/assets/block/t9n/{block.t9n.hu.json → messages.hu.json} +0 -0
  478. /package/assets/components/assets/block/t9n/{block.t9n.id.json → messages.id.json} +0 -0
  479. /package/assets/components/assets/block/t9n/{block.t9n.it.json → messages.it.json} +0 -0
  480. /package/assets/components/assets/block/t9n/{block.t9n.ja.json → messages.ja.json} +0 -0
  481. /package/assets/components/assets/block/t9n/{block.t9n.ko.json → messages.ko.json} +0 -0
  482. /package/assets/components/assets/block/t9n/{block.t9n.lt.json → messages.lt.json} +0 -0
  483. /package/assets/components/assets/block/t9n/{block.t9n.lv.json → messages.lv.json} +0 -0
  484. /package/assets/components/assets/block/t9n/{block.t9n.nl.json → messages.nl.json} +0 -0
  485. /package/assets/components/assets/block/t9n/{block.t9n.no.json → messages.no.json} +0 -0
  486. /package/assets/components/assets/block/t9n/{block.t9n.pl.json → messages.pl.json} +0 -0
  487. /package/assets/components/assets/block/t9n/{block.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  488. /package/assets/components/assets/block/t9n/{block.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  489. /package/assets/components/assets/block/t9n/{block.t9n.ro.json → messages.ro.json} +0 -0
  490. /package/assets/components/assets/block/t9n/{block.t9n.ru.json → messages.ru.json} +0 -0
  491. /package/assets/components/assets/block/t9n/{block.t9n.sk.json → messages.sk.json} +0 -0
  492. /package/assets/components/assets/block/t9n/{block.t9n.sl.json → messages.sl.json} +0 -0
  493. /package/assets/components/assets/block/t9n/{block.t9n.sr.json → messages.sr.json} +0 -0
  494. /package/assets/components/assets/block/t9n/{block.t9n.sv.json → messages.sv.json} +0 -0
  495. /package/assets/components/assets/block/t9n/{block.t9n.th.json → messages.th.json} +0 -0
  496. /package/assets/components/assets/block/t9n/{block.t9n.tr.json → messages.tr.json} +0 -0
  497. /package/assets/components/assets/block/t9n/{block.t9n.uk.json → messages.uk.json} +0 -0
  498. /package/assets/components/assets/block/t9n/{block.t9n.vi.json → messages.vi.json} +0 -0
  499. /package/assets/components/assets/block/t9n/{block.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  500. /package/assets/components/assets/block/t9n/{block.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  501. /package/assets/components/assets/block/t9n/{block.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  502. /package/assets/components/assets/block-section/t9n/{block-section.t9n.ar.json → messages.ar.json} +0 -0
  503. /package/assets/components/assets/block-section/t9n/{block-section.t9n.bg.json → messages.bg.json} +0 -0
  504. /package/assets/components/assets/block-section/t9n/{block-section.t9n.bs.json → messages.bs.json} +0 -0
  505. /package/assets/components/assets/block-section/t9n/{block-section.t9n.ca.json → messages.ca.json} +0 -0
  506. /package/assets/components/assets/block-section/t9n/{block-section.t9n.cs.json → messages.cs.json} +0 -0
  507. /package/assets/components/assets/block-section/t9n/{block-section.t9n.da.json → messages.da.json} +0 -0
  508. /package/assets/components/assets/block-section/t9n/{block-section.t9n.de.json → messages.de.json} +0 -0
  509. /package/assets/components/assets/block-section/t9n/{block-section.t9n.el.json → messages.el.json} +0 -0
  510. /package/assets/components/assets/block-section/t9n/{block-section.t9n.en.json → messages.en.json} +0 -0
  511. /package/assets/components/assets/block-section/t9n/{block-section.t9n.es.json → messages.es.json} +0 -0
  512. /package/assets/components/assets/block-section/t9n/{block-section.t9n.et.json → messages.et.json} +0 -0
  513. /package/assets/components/assets/block-section/t9n/{block-section.t9n.fi.json → messages.fi.json} +0 -0
  514. /package/assets/components/assets/block-section/t9n/{block-section.t9n.fr.json → messages.fr.json} +0 -0
  515. /package/assets/components/assets/block-section/t9n/{block-section.t9n.he.json → messages.he.json} +0 -0
  516. /package/assets/components/assets/block-section/t9n/{block-section.t9n.hr.json → messages.hr.json} +0 -0
  517. /package/assets/components/assets/block-section/t9n/{block-section.t9n.hu.json → messages.hu.json} +0 -0
  518. /package/assets/components/assets/block-section/t9n/{block-section.t9n.id.json → messages.id.json} +0 -0
  519. /package/assets/components/assets/block-section/t9n/{block-section.t9n.it.json → messages.it.json} +0 -0
  520. /package/assets/components/assets/block-section/t9n/{block-section.t9n.ja.json → messages.ja.json} +0 -0
  521. /package/assets/components/assets/block-section/t9n/{block-section.t9n.ko.json → messages.ko.json} +0 -0
  522. /package/assets/components/assets/block-section/t9n/{block-section.t9n.lt.json → messages.lt.json} +0 -0
  523. /package/assets/components/assets/block-section/t9n/{block-section.t9n.lv.json → messages.lv.json} +0 -0
  524. /package/assets/components/assets/block-section/t9n/{block-section.t9n.nl.json → messages.nl.json} +0 -0
  525. /package/assets/components/assets/block-section/t9n/{block-section.t9n.no.json → messages.no.json} +0 -0
  526. /package/assets/components/assets/block-section/t9n/{block-section.t9n.pl.json → messages.pl.json} +0 -0
  527. /package/assets/components/assets/block-section/t9n/{block-section.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  528. /package/assets/components/assets/block-section/t9n/{block-section.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  529. /package/assets/components/assets/block-section/t9n/{block-section.t9n.ro.json → messages.ro.json} +0 -0
  530. /package/assets/components/assets/block-section/t9n/{block-section.t9n.ru.json → messages.ru.json} +0 -0
  531. /package/assets/components/assets/block-section/t9n/{block-section.t9n.sk.json → messages.sk.json} +0 -0
  532. /package/assets/components/assets/block-section/t9n/{block-section.t9n.sl.json → messages.sl.json} +0 -0
  533. /package/assets/components/assets/block-section/t9n/{block-section.t9n.sr.json → messages.sr.json} +0 -0
  534. /package/assets/components/assets/block-section/t9n/{block-section.t9n.sv.json → messages.sv.json} +0 -0
  535. /package/assets/components/assets/block-section/t9n/{block-section.t9n.th.json → messages.th.json} +0 -0
  536. /package/assets/components/assets/block-section/t9n/{block-section.t9n.tr.json → messages.tr.json} +0 -0
  537. /package/assets/components/assets/block-section/t9n/{block-section.t9n.uk.json → messages.uk.json} +0 -0
  538. /package/assets/components/assets/block-section/t9n/{block-section.t9n.vi.json → messages.vi.json} +0 -0
  539. /package/assets/components/assets/block-section/t9n/{block-section.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  540. /package/assets/components/assets/block-section/t9n/{block-section.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  541. /package/assets/components/assets/block-section/t9n/{block-section.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  542. /package/assets/components/assets/button/t9n/{button.t9n.ar.json → messages.ar.json} +0 -0
  543. /package/assets/components/assets/button/t9n/{button.t9n.bg.json → messages.bg.json} +0 -0
  544. /package/assets/components/assets/button/t9n/{button.t9n.bs.json → messages.bs.json} +0 -0
  545. /package/assets/components/assets/button/t9n/{button.t9n.ca.json → messages.ca.json} +0 -0
  546. /package/assets/components/assets/button/t9n/{button.t9n.cs.json → messages.cs.json} +0 -0
  547. /package/assets/components/assets/button/t9n/{button.t9n.da.json → messages.da.json} +0 -0
  548. /package/assets/components/assets/button/t9n/{button.t9n.de.json → messages.de.json} +0 -0
  549. /package/assets/components/assets/button/t9n/{button.t9n.el.json → messages.el.json} +0 -0
  550. /package/assets/components/assets/button/t9n/{button.t9n.en.json → messages.en.json} +0 -0
  551. /package/assets/components/assets/button/t9n/{button.t9n.es.json → messages.es.json} +0 -0
  552. /package/assets/components/assets/button/t9n/{button.t9n.et.json → messages.et.json} +0 -0
  553. /package/assets/components/assets/button/t9n/{button.t9n.fi.json → messages.fi.json} +0 -0
  554. /package/assets/components/assets/button/t9n/{button.t9n.fr.json → messages.fr.json} +0 -0
  555. /package/assets/components/assets/button/t9n/{button.t9n.he.json → messages.he.json} +0 -0
  556. /package/assets/components/assets/button/t9n/{button.t9n.hr.json → messages.hr.json} +0 -0
  557. /package/assets/components/assets/button/t9n/{button.t9n.hu.json → messages.hu.json} +0 -0
  558. /package/assets/components/assets/button/t9n/{button.t9n.id.json → messages.id.json} +0 -0
  559. /package/assets/components/assets/button/t9n/{button.t9n.it.json → messages.it.json} +0 -0
  560. /package/assets/components/assets/button/t9n/{button.t9n.ja.json → messages.ja.json} +0 -0
  561. /package/assets/components/assets/button/t9n/{button.t9n.ko.json → messages.ko.json} +0 -0
  562. /package/assets/components/assets/button/t9n/{button.t9n.lt.json → messages.lt.json} +0 -0
  563. /package/assets/components/assets/button/t9n/{button.t9n.lv.json → messages.lv.json} +0 -0
  564. /package/assets/components/assets/button/t9n/{button.t9n.nl.json → messages.nl.json} +0 -0
  565. /package/assets/components/assets/button/t9n/{button.t9n.no.json → messages.no.json} +0 -0
  566. /package/assets/components/assets/button/t9n/{button.t9n.pl.json → messages.pl.json} +0 -0
  567. /package/assets/components/assets/button/t9n/{button.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  568. /package/assets/components/assets/button/t9n/{button.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  569. /package/assets/components/assets/button/t9n/{button.t9n.ro.json → messages.ro.json} +0 -0
  570. /package/assets/components/assets/button/t9n/{button.t9n.ru.json → messages.ru.json} +0 -0
  571. /package/assets/components/assets/button/t9n/{button.t9n.sk.json → messages.sk.json} +0 -0
  572. /package/assets/components/assets/button/t9n/{button.t9n.sl.json → messages.sl.json} +0 -0
  573. /package/assets/components/assets/button/t9n/{button.t9n.sr.json → messages.sr.json} +0 -0
  574. /package/assets/components/assets/button/t9n/{button.t9n.sv.json → messages.sv.json} +0 -0
  575. /package/assets/components/assets/button/t9n/{button.t9n.th.json → messages.th.json} +0 -0
  576. /package/assets/components/assets/button/t9n/{button.t9n.tr.json → messages.tr.json} +0 -0
  577. /package/assets/components/assets/button/t9n/{button.t9n.uk.json → messages.uk.json} +0 -0
  578. /package/assets/components/assets/button/t9n/{button.t9n.vi.json → messages.vi.json} +0 -0
  579. /package/assets/components/assets/button/t9n/{button.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  580. /package/assets/components/assets/button/t9n/{button.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  581. /package/assets/components/assets/button/t9n/{button.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  582. /package/assets/components/assets/card/t9n/{card.t9n.ar.json → messages.ar.json} +0 -0
  583. /package/assets/components/assets/card/t9n/{card.t9n.bg.json → messages.bg.json} +0 -0
  584. /package/assets/components/assets/card/t9n/{card.t9n.bs.json → messages.bs.json} +0 -0
  585. /package/assets/components/assets/card/t9n/{card.t9n.ca.json → messages.ca.json} +0 -0
  586. /package/assets/components/assets/card/t9n/{card.t9n.cs.json → messages.cs.json} +0 -0
  587. /package/assets/components/assets/card/t9n/{card.t9n.da.json → messages.da.json} +0 -0
  588. /package/assets/components/assets/card/t9n/{card.t9n.de.json → messages.de.json} +0 -0
  589. /package/assets/components/assets/card/t9n/{card.t9n.el.json → messages.el.json} +0 -0
  590. /package/assets/components/assets/card/t9n/{card.t9n.en.json → messages.en.json} +0 -0
  591. /package/assets/components/assets/card/t9n/{card.t9n.es.json → messages.es.json} +0 -0
  592. /package/assets/components/assets/card/t9n/{card.t9n.et.json → messages.et.json} +0 -0
  593. /package/assets/components/assets/card/t9n/{card.t9n.fi.json → messages.fi.json} +0 -0
  594. /package/assets/components/assets/card/t9n/{card.t9n.fr.json → messages.fr.json} +0 -0
  595. /package/assets/components/assets/card/t9n/{card.t9n.he.json → messages.he.json} +0 -0
  596. /package/assets/components/assets/card/t9n/{card.t9n.hr.json → messages.hr.json} +0 -0
  597. /package/assets/components/assets/card/t9n/{card.t9n.hu.json → messages.hu.json} +0 -0
  598. /package/assets/components/assets/card/t9n/{card.t9n.id.json → messages.id.json} +0 -0
  599. /package/assets/components/assets/card/t9n/{card.t9n.it.json → messages.it.json} +0 -0
  600. /package/assets/components/assets/card/t9n/{card.t9n.ja.json → messages.ja.json} +0 -0
  601. /package/assets/components/assets/card/t9n/{card.t9n.ko.json → messages.ko.json} +0 -0
  602. /package/assets/components/assets/card/t9n/{card.t9n.lt.json → messages.lt.json} +0 -0
  603. /package/assets/components/assets/card/t9n/{card.t9n.lv.json → messages.lv.json} +0 -0
  604. /package/assets/components/assets/card/t9n/{card.t9n.nl.json → messages.nl.json} +0 -0
  605. /package/assets/components/assets/card/t9n/{card.t9n.no.json → messages.no.json} +0 -0
  606. /package/assets/components/assets/card/t9n/{card.t9n.pl.json → messages.pl.json} +0 -0
  607. /package/assets/components/assets/card/t9n/{card.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  608. /package/assets/components/assets/card/t9n/{card.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  609. /package/assets/components/assets/card/t9n/{card.t9n.ro.json → messages.ro.json} +0 -0
  610. /package/assets/components/assets/card/t9n/{card.t9n.ru.json → messages.ru.json} +0 -0
  611. /package/assets/components/assets/card/t9n/{card.t9n.sk.json → messages.sk.json} +0 -0
  612. /package/assets/components/assets/card/t9n/{card.t9n.sl.json → messages.sl.json} +0 -0
  613. /package/assets/components/assets/card/t9n/{card.t9n.sr.json → messages.sr.json} +0 -0
  614. /package/assets/components/assets/card/t9n/{card.t9n.sv.json → messages.sv.json} +0 -0
  615. /package/assets/components/assets/card/t9n/{card.t9n.th.json → messages.th.json} +0 -0
  616. /package/assets/components/assets/card/t9n/{card.t9n.tr.json → messages.tr.json} +0 -0
  617. /package/assets/components/assets/card/t9n/{card.t9n.uk.json → messages.uk.json} +0 -0
  618. /package/assets/components/assets/card/t9n/{card.t9n.vi.json → messages.vi.json} +0 -0
  619. /package/assets/components/assets/card/t9n/{card.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  620. /package/assets/components/assets/card/t9n/{card.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  621. /package/assets/components/assets/card/t9n/{card.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  622. /package/assets/components/assets/carousel/t9n/{carousel.t9n.ar.json → messages.ar.json} +0 -0
  623. /package/assets/components/assets/carousel/t9n/{carousel.t9n.bg.json → messages.bg.json} +0 -0
  624. /package/assets/components/assets/carousel/t9n/{carousel.t9n.bs.json → messages.bs.json} +0 -0
  625. /package/assets/components/assets/carousel/t9n/{carousel.t9n.ca.json → messages.ca.json} +0 -0
  626. /package/assets/components/assets/carousel/t9n/{carousel.t9n.cs.json → messages.cs.json} +0 -0
  627. /package/assets/components/assets/carousel/t9n/{carousel.t9n.da.json → messages.da.json} +0 -0
  628. /package/assets/components/assets/carousel/t9n/{carousel.t9n.de.json → messages.de.json} +0 -0
  629. /package/assets/components/assets/carousel/t9n/{carousel.t9n.el.json → messages.el.json} +0 -0
  630. /package/assets/components/assets/carousel/t9n/{carousel.t9n.en.json → messages.en.json} +0 -0
  631. /package/assets/components/assets/carousel/t9n/{carousel.t9n.es.json → messages.es.json} +0 -0
  632. /package/assets/components/assets/carousel/t9n/{carousel.t9n.et.json → messages.et.json} +0 -0
  633. /package/assets/components/assets/carousel/t9n/{carousel.t9n.fi.json → messages.fi.json} +0 -0
  634. /package/assets/components/assets/carousel/t9n/{carousel.t9n.fr.json → messages.fr.json} +0 -0
  635. /package/assets/components/assets/carousel/t9n/{carousel.t9n.he.json → messages.he.json} +0 -0
  636. /package/assets/components/assets/carousel/t9n/{carousel.t9n.hr.json → messages.hr.json} +0 -0
  637. /package/assets/components/assets/carousel/t9n/{carousel.t9n.hu.json → messages.hu.json} +0 -0
  638. /package/assets/components/assets/carousel/t9n/{carousel.t9n.id.json → messages.id.json} +0 -0
  639. /package/assets/components/assets/carousel/t9n/{carousel.t9n.it.json → messages.it.json} +0 -0
  640. /package/assets/components/assets/carousel/t9n/{carousel.t9n.ja.json → messages.ja.json} +0 -0
  641. /package/assets/components/assets/carousel/t9n/{carousel.t9n.ko.json → messages.ko.json} +0 -0
  642. /package/assets/components/assets/carousel/t9n/{carousel.t9n.lt.json → messages.lt.json} +0 -0
  643. /package/assets/components/assets/carousel/t9n/{carousel.t9n.lv.json → messages.lv.json} +0 -0
  644. /package/assets/components/assets/carousel/t9n/{carousel.t9n.nl.json → messages.nl.json} +0 -0
  645. /package/assets/components/assets/carousel/t9n/{carousel.t9n.no.json → messages.no.json} +0 -0
  646. /package/assets/components/assets/carousel/t9n/{carousel.t9n.pl.json → messages.pl.json} +0 -0
  647. /package/assets/components/assets/carousel/t9n/{carousel.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  648. /package/assets/components/assets/carousel/t9n/{carousel.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  649. /package/assets/components/assets/carousel/t9n/{carousel.t9n.ro.json → messages.ro.json} +0 -0
  650. /package/assets/components/assets/carousel/t9n/{carousel.t9n.ru.json → messages.ru.json} +0 -0
  651. /package/assets/components/assets/carousel/t9n/{carousel.t9n.sk.json → messages.sk.json} +0 -0
  652. /package/assets/components/assets/carousel/t9n/{carousel.t9n.sl.json → messages.sl.json} +0 -0
  653. /package/assets/components/assets/carousel/t9n/{carousel.t9n.sr.json → messages.sr.json} +0 -0
  654. /package/assets/components/assets/carousel/t9n/{carousel.t9n.sv.json → messages.sv.json} +0 -0
  655. /package/assets/components/assets/carousel/t9n/{carousel.t9n.th.json → messages.th.json} +0 -0
  656. /package/assets/components/assets/carousel/t9n/{carousel.t9n.tr.json → messages.tr.json} +0 -0
  657. /package/assets/components/assets/carousel/t9n/{carousel.t9n.uk.json → messages.uk.json} +0 -0
  658. /package/assets/components/assets/carousel/t9n/{carousel.t9n.vi.json → messages.vi.json} +0 -0
  659. /package/assets/components/assets/carousel/t9n/{carousel.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  660. /package/assets/components/assets/carousel/t9n/{carousel.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  661. /package/assets/components/assets/carousel/t9n/{carousel.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  662. /package/assets/components/assets/chip/t9n/{chip.t9n.ar.json → messages.ar.json} +0 -0
  663. /package/assets/components/assets/chip/t9n/{chip.t9n.bg.json → messages.bg.json} +0 -0
  664. /package/assets/components/assets/chip/t9n/{chip.t9n.bs.json → messages.bs.json} +0 -0
  665. /package/assets/components/assets/chip/t9n/{chip.t9n.ca.json → messages.ca.json} +0 -0
  666. /package/assets/components/assets/chip/t9n/{chip.t9n.cs.json → messages.cs.json} +0 -0
  667. /package/assets/components/assets/chip/t9n/{chip.t9n.da.json → messages.da.json} +0 -0
  668. /package/assets/components/assets/chip/t9n/{chip.t9n.de.json → messages.de.json} +0 -0
  669. /package/assets/components/assets/chip/t9n/{chip.t9n.el.json → messages.el.json} +0 -0
  670. /package/assets/components/assets/chip/t9n/{chip.t9n.en.json → messages.en.json} +0 -0
  671. /package/assets/components/assets/chip/t9n/{chip.t9n.es.json → messages.es.json} +0 -0
  672. /package/assets/components/assets/chip/t9n/{chip.t9n.et.json → messages.et.json} +0 -0
  673. /package/assets/components/assets/chip/t9n/{chip.t9n.fi.json → messages.fi.json} +0 -0
  674. /package/assets/components/assets/chip/t9n/{chip.t9n.fr.json → messages.fr.json} +0 -0
  675. /package/assets/components/assets/chip/t9n/{chip.t9n.he.json → messages.he.json} +0 -0
  676. /package/assets/components/assets/chip/t9n/{chip.t9n.hr.json → messages.hr.json} +0 -0
  677. /package/assets/components/assets/chip/t9n/{chip.t9n.hu.json → messages.hu.json} +0 -0
  678. /package/assets/components/assets/chip/t9n/{chip.t9n.id.json → messages.id.json} +0 -0
  679. /package/assets/components/assets/chip/t9n/{chip.t9n.it.json → messages.it.json} +0 -0
  680. /package/assets/components/assets/chip/t9n/{chip.t9n.ja.json → messages.ja.json} +0 -0
  681. /package/assets/components/assets/chip/t9n/{chip.t9n.ko.json → messages.ko.json} +0 -0
  682. /package/assets/components/assets/chip/t9n/{chip.t9n.lt.json → messages.lt.json} +0 -0
  683. /package/assets/components/assets/chip/t9n/{chip.t9n.lv.json → messages.lv.json} +0 -0
  684. /package/assets/components/assets/chip/t9n/{chip.t9n.nl.json → messages.nl.json} +0 -0
  685. /package/assets/components/assets/chip/t9n/{chip.t9n.no.json → messages.no.json} +0 -0
  686. /package/assets/components/assets/chip/t9n/{chip.t9n.pl.json → messages.pl.json} +0 -0
  687. /package/assets/components/assets/chip/t9n/{chip.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  688. /package/assets/components/assets/chip/t9n/{chip.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  689. /package/assets/components/assets/chip/t9n/{chip.t9n.ro.json → messages.ro.json} +0 -0
  690. /package/assets/components/assets/chip/t9n/{chip.t9n.ru.json → messages.ru.json} +0 -0
  691. /package/assets/components/assets/chip/t9n/{chip.t9n.sk.json → messages.sk.json} +0 -0
  692. /package/assets/components/assets/chip/t9n/{chip.t9n.sl.json → messages.sl.json} +0 -0
  693. /package/assets/components/assets/chip/t9n/{chip.t9n.sr.json → messages.sr.json} +0 -0
  694. /package/assets/components/assets/chip/t9n/{chip.t9n.sv.json → messages.sv.json} +0 -0
  695. /package/assets/components/assets/chip/t9n/{chip.t9n.th.json → messages.th.json} +0 -0
  696. /package/assets/components/assets/chip/t9n/{chip.t9n.tr.json → messages.tr.json} +0 -0
  697. /package/assets/components/assets/chip/t9n/{chip.t9n.uk.json → messages.uk.json} +0 -0
  698. /package/assets/components/assets/chip/t9n/{chip.t9n.vi.json → messages.vi.json} +0 -0
  699. /package/assets/components/assets/chip/t9n/{chip.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  700. /package/assets/components/assets/chip/t9n/{chip.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  701. /package/assets/components/assets/chip/t9n/{chip.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  702. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.ar.json → messages.ar.json} +0 -0
  703. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.bg.json → messages.bg.json} +0 -0
  704. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.bs.json → messages.bs.json} +0 -0
  705. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.ca.json → messages.ca.json} +0 -0
  706. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.cs.json → messages.cs.json} +0 -0
  707. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.da.json → messages.da.json} +0 -0
  708. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.de.json → messages.de.json} +0 -0
  709. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.el.json → messages.el.json} +0 -0
  710. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.en.json → messages.en.json} +0 -0
  711. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.es.json → messages.es.json} +0 -0
  712. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.et.json → messages.et.json} +0 -0
  713. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.fi.json → messages.fi.json} +0 -0
  714. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.fr.json → messages.fr.json} +0 -0
  715. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.he.json → messages.he.json} +0 -0
  716. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.hr.json → messages.hr.json} +0 -0
  717. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.hu.json → messages.hu.json} +0 -0
  718. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.id.json → messages.id.json} +0 -0
  719. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.it.json → messages.it.json} +0 -0
  720. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.ja.json → messages.ja.json} +0 -0
  721. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.ko.json → messages.ko.json} +0 -0
  722. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.lt.json → messages.lt.json} +0 -0
  723. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.lv.json → messages.lv.json} +0 -0
  724. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.nl.json → messages.nl.json} +0 -0
  725. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.no.json → messages.no.json} +0 -0
  726. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.pl.json → messages.pl.json} +0 -0
  727. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  728. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  729. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.ro.json → messages.ro.json} +0 -0
  730. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.ru.json → messages.ru.json} +0 -0
  731. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.sk.json → messages.sk.json} +0 -0
  732. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.sl.json → messages.sl.json} +0 -0
  733. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.sr.json → messages.sr.json} +0 -0
  734. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.sv.json → messages.sv.json} +0 -0
  735. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.th.json → messages.th.json} +0 -0
  736. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.tr.json → messages.tr.json} +0 -0
  737. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.uk.json → messages.uk.json} +0 -0
  738. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.vi.json → messages.vi.json} +0 -0
  739. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  740. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  741. /package/assets/components/assets/color-picker/t9n/{color-picker.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  742. /package/assets/components/assets/combobox/t9n/{combobox.t9n.ar.json → messages.ar.json} +0 -0
  743. /package/assets/components/assets/combobox/t9n/{combobox.t9n.bg.json → messages.bg.json} +0 -0
  744. /package/assets/components/assets/combobox/t9n/{combobox.t9n.bs.json → messages.bs.json} +0 -0
  745. /package/assets/components/assets/combobox/t9n/{combobox.t9n.ca.json → messages.ca.json} +0 -0
  746. /package/assets/components/assets/combobox/t9n/{combobox.t9n.cs.json → messages.cs.json} +0 -0
  747. /package/assets/components/assets/combobox/t9n/{combobox.t9n.da.json → messages.da.json} +0 -0
  748. /package/assets/components/assets/combobox/t9n/{combobox.t9n.de.json → messages.de.json} +0 -0
  749. /package/assets/components/assets/combobox/t9n/{combobox.t9n.el.json → messages.el.json} +0 -0
  750. /package/assets/components/assets/combobox/t9n/{combobox.t9n.en.json → messages.en.json} +0 -0
  751. /package/assets/components/assets/combobox/t9n/{combobox.t9n.es.json → messages.es.json} +0 -0
  752. /package/assets/components/assets/combobox/t9n/{combobox.t9n.et.json → messages.et.json} +0 -0
  753. /package/assets/components/assets/combobox/t9n/{combobox.t9n.fi.json → messages.fi.json} +0 -0
  754. /package/assets/components/assets/combobox/t9n/{combobox.t9n.fr.json → messages.fr.json} +0 -0
  755. /package/assets/components/assets/combobox/t9n/{combobox.t9n.he.json → messages.he.json} +0 -0
  756. /package/assets/components/assets/combobox/t9n/{combobox.t9n.hr.json → messages.hr.json} +0 -0
  757. /package/assets/components/assets/combobox/t9n/{combobox.t9n.hu.json → messages.hu.json} +0 -0
  758. /package/assets/components/assets/combobox/t9n/{combobox.t9n.id.json → messages.id.json} +0 -0
  759. /package/assets/components/assets/combobox/t9n/{combobox.t9n.it.json → messages.it.json} +0 -0
  760. /package/assets/components/assets/combobox/t9n/{combobox.t9n.ja.json → messages.ja.json} +0 -0
  761. /package/assets/components/assets/combobox/t9n/{combobox.t9n.ko.json → messages.ko.json} +0 -0
  762. /package/assets/components/assets/combobox/t9n/{combobox.t9n.lt.json → messages.lt.json} +0 -0
  763. /package/assets/components/assets/combobox/t9n/{combobox.t9n.lv.json → messages.lv.json} +0 -0
  764. /package/assets/components/assets/combobox/t9n/{combobox.t9n.nl.json → messages.nl.json} +0 -0
  765. /package/assets/components/assets/combobox/t9n/{combobox.t9n.no.json → messages.no.json} +0 -0
  766. /package/assets/components/assets/combobox/t9n/{combobox.t9n.pl.json → messages.pl.json} +0 -0
  767. /package/assets/components/assets/combobox/t9n/{combobox.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  768. /package/assets/components/assets/combobox/t9n/{combobox.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  769. /package/assets/components/assets/combobox/t9n/{combobox.t9n.ro.json → messages.ro.json} +0 -0
  770. /package/assets/components/assets/combobox/t9n/{combobox.t9n.ru.json → messages.ru.json} +0 -0
  771. /package/assets/components/assets/combobox/t9n/{combobox.t9n.sk.json → messages.sk.json} +0 -0
  772. /package/assets/components/assets/combobox/t9n/{combobox.t9n.sl.json → messages.sl.json} +0 -0
  773. /package/assets/components/assets/combobox/t9n/{combobox.t9n.sr.json → messages.sr.json} +0 -0
  774. /package/assets/components/assets/combobox/t9n/{combobox.t9n.sv.json → messages.sv.json} +0 -0
  775. /package/assets/components/assets/combobox/t9n/{combobox.t9n.th.json → messages.th.json} +0 -0
  776. /package/assets/components/assets/combobox/t9n/{combobox.t9n.tr.json → messages.tr.json} +0 -0
  777. /package/assets/components/assets/combobox/t9n/{combobox.t9n.uk.json → messages.uk.json} +0 -0
  778. /package/assets/components/assets/combobox/t9n/{combobox.t9n.vi.json → messages.vi.json} +0 -0
  779. /package/assets/components/assets/combobox/t9n/{combobox.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  780. /package/assets/components/assets/combobox/t9n/{combobox.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  781. /package/assets/components/assets/combobox/t9n/{combobox.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  782. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.ar.json → messages.ar.json} +0 -0
  783. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.bg.json → messages.bg.json} +0 -0
  784. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.bs.json → messages.bs.json} +0 -0
  785. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.ca.json → messages.ca.json} +0 -0
  786. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.cs.json → messages.cs.json} +0 -0
  787. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.da.json → messages.da.json} +0 -0
  788. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.de.json → messages.de.json} +0 -0
  789. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.el.json → messages.el.json} +0 -0
  790. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.en.json → messages.en.json} +0 -0
  791. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.es.json → messages.es.json} +0 -0
  792. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.et.json → messages.et.json} +0 -0
  793. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.fi.json → messages.fi.json} +0 -0
  794. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.fr.json → messages.fr.json} +0 -0
  795. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.he.json → messages.he.json} +0 -0
  796. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.hr.json → messages.hr.json} +0 -0
  797. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.hu.json → messages.hu.json} +0 -0
  798. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.id.json → messages.id.json} +0 -0
  799. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.it.json → messages.it.json} +0 -0
  800. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.ja.json → messages.ja.json} +0 -0
  801. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.ko.json → messages.ko.json} +0 -0
  802. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.lt.json → messages.lt.json} +0 -0
  803. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.lv.json → messages.lv.json} +0 -0
  804. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.nl.json → messages.nl.json} +0 -0
  805. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.no.json → messages.no.json} +0 -0
  806. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.pl.json → messages.pl.json} +0 -0
  807. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  808. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  809. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.ro.json → messages.ro.json} +0 -0
  810. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.ru.json → messages.ru.json} +0 -0
  811. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.sk.json → messages.sk.json} +0 -0
  812. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.sl.json → messages.sl.json} +0 -0
  813. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.sr.json → messages.sr.json} +0 -0
  814. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.sv.json → messages.sv.json} +0 -0
  815. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.th.json → messages.th.json} +0 -0
  816. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.tr.json → messages.tr.json} +0 -0
  817. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.uk.json → messages.uk.json} +0 -0
  818. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.vi.json → messages.vi.json} +0 -0
  819. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  820. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  821. /package/assets/components/assets/date-picker/t9n/{date-picker.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  822. /package/assets/components/assets/dialog/t9n/{dialog.t9n.ar.json → messages.ar.json} +0 -0
  823. /package/assets/components/assets/dialog/t9n/{dialog.t9n.bg.json → messages.bg.json} +0 -0
  824. /package/assets/components/assets/dialog/t9n/{dialog.t9n.bs.json → messages.bs.json} +0 -0
  825. /package/assets/components/assets/dialog/t9n/{dialog.t9n.ca.json → messages.ca.json} +0 -0
  826. /package/assets/components/assets/dialog/t9n/{dialog.t9n.cs.json → messages.cs.json} +0 -0
  827. /package/assets/components/assets/dialog/t9n/{dialog.t9n.da.json → messages.da.json} +0 -0
  828. /package/assets/components/assets/dialog/t9n/{dialog.t9n.de.json → messages.de.json} +0 -0
  829. /package/assets/components/assets/dialog/t9n/{dialog.t9n.el.json → messages.el.json} +0 -0
  830. /package/assets/components/assets/dialog/t9n/{dialog.t9n.en.json → messages.en.json} +0 -0
  831. /package/assets/components/assets/dialog/t9n/{dialog.t9n.es.json → messages.es.json} +0 -0
  832. /package/assets/components/assets/dialog/t9n/{dialog.t9n.et.json → messages.et.json} +0 -0
  833. /package/assets/components/assets/dialog/t9n/{dialog.t9n.fi.json → messages.fi.json} +0 -0
  834. /package/assets/components/assets/dialog/t9n/{dialog.t9n.fr.json → messages.fr.json} +0 -0
  835. /package/assets/components/assets/dialog/t9n/{dialog.t9n.he.json → messages.he.json} +0 -0
  836. /package/assets/components/assets/dialog/t9n/{dialog.t9n.hr.json → messages.hr.json} +0 -0
  837. /package/assets/components/assets/dialog/t9n/{dialog.t9n.hu.json → messages.hu.json} +0 -0
  838. /package/assets/components/assets/dialog/t9n/{dialog.t9n.id.json → messages.id.json} +0 -0
  839. /package/assets/components/assets/dialog/t9n/{dialog.t9n.it.json → messages.it.json} +0 -0
  840. /package/assets/components/assets/dialog/t9n/{dialog.t9n.ja.json → messages.ja.json} +0 -0
  841. /package/assets/components/assets/dialog/t9n/{dialog.t9n.ko.json → messages.ko.json} +0 -0
  842. /package/assets/components/assets/dialog/t9n/{dialog.t9n.lt.json → messages.lt.json} +0 -0
  843. /package/assets/components/assets/dialog/t9n/{dialog.t9n.lv.json → messages.lv.json} +0 -0
  844. /package/assets/components/assets/dialog/t9n/{dialog.t9n.nl.json → messages.nl.json} +0 -0
  845. /package/assets/components/assets/dialog/t9n/{dialog.t9n.no.json → messages.no.json} +0 -0
  846. /package/assets/components/assets/dialog/t9n/{dialog.t9n.pl.json → messages.pl.json} +0 -0
  847. /package/assets/components/assets/dialog/t9n/{dialog.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  848. /package/assets/components/assets/dialog/t9n/{dialog.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  849. /package/assets/components/assets/dialog/t9n/{dialog.t9n.ro.json → messages.ro.json} +0 -0
  850. /package/assets/components/assets/dialog/t9n/{dialog.t9n.ru.json → messages.ru.json} +0 -0
  851. /package/assets/components/assets/dialog/t9n/{dialog.t9n.sk.json → messages.sk.json} +0 -0
  852. /package/assets/components/assets/dialog/t9n/{dialog.t9n.sl.json → messages.sl.json} +0 -0
  853. /package/assets/components/assets/dialog/t9n/{dialog.t9n.sr.json → messages.sr.json} +0 -0
  854. /package/assets/components/assets/dialog/t9n/{dialog.t9n.sv.json → messages.sv.json} +0 -0
  855. /package/assets/components/assets/dialog/t9n/{dialog.t9n.th.json → messages.th.json} +0 -0
  856. /package/assets/components/assets/dialog/t9n/{dialog.t9n.tr.json → messages.tr.json} +0 -0
  857. /package/assets/components/assets/dialog/t9n/{dialog.t9n.uk.json → messages.uk.json} +0 -0
  858. /package/assets/components/assets/dialog/t9n/{dialog.t9n.vi.json → messages.vi.json} +0 -0
  859. /package/assets/components/assets/dialog/t9n/{dialog.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  860. /package/assets/components/assets/dialog/t9n/{dialog.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  861. /package/assets/components/assets/dialog/t9n/{dialog.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  862. /package/assets/components/assets/filter/t9n/{filter.t9n.ar.json → messages.ar.json} +0 -0
  863. /package/assets/components/assets/filter/t9n/{filter.t9n.bg.json → messages.bg.json} +0 -0
  864. /package/assets/components/assets/filter/t9n/{filter.t9n.bs.json → messages.bs.json} +0 -0
  865. /package/assets/components/assets/filter/t9n/{filter.t9n.ca.json → messages.ca.json} +0 -0
  866. /package/assets/components/assets/filter/t9n/{filter.t9n.cs.json → messages.cs.json} +0 -0
  867. /package/assets/components/assets/filter/t9n/{filter.t9n.da.json → messages.da.json} +0 -0
  868. /package/assets/components/assets/filter/t9n/{filter.t9n.de.json → messages.de.json} +0 -0
  869. /package/assets/components/assets/filter/t9n/{filter.t9n.el.json → messages.el.json} +0 -0
  870. /package/assets/components/assets/filter/t9n/{filter.t9n.en.json → messages.en.json} +0 -0
  871. /package/assets/components/assets/filter/t9n/{filter.t9n.es.json → messages.es.json} +0 -0
  872. /package/assets/components/assets/filter/t9n/{filter.t9n.et.json → messages.et.json} +0 -0
  873. /package/assets/components/assets/filter/t9n/{filter.t9n.fi.json → messages.fi.json} +0 -0
  874. /package/assets/components/assets/filter/t9n/{filter.t9n.fr.json → messages.fr.json} +0 -0
  875. /package/assets/components/assets/filter/t9n/{filter.t9n.he.json → messages.he.json} +0 -0
  876. /package/assets/components/assets/filter/t9n/{filter.t9n.hr.json → messages.hr.json} +0 -0
  877. /package/assets/components/assets/filter/t9n/{filter.t9n.hu.json → messages.hu.json} +0 -0
  878. /package/assets/components/assets/filter/t9n/{filter.t9n.id.json → messages.id.json} +0 -0
  879. /package/assets/components/assets/filter/t9n/{filter.t9n.it.json → messages.it.json} +0 -0
  880. /package/assets/components/assets/filter/t9n/{filter.t9n.ja.json → messages.ja.json} +0 -0
  881. /package/assets/components/assets/filter/t9n/{filter.t9n.ko.json → messages.ko.json} +0 -0
  882. /package/assets/components/assets/filter/t9n/{filter.t9n.lt.json → messages.lt.json} +0 -0
  883. /package/assets/components/assets/filter/t9n/{filter.t9n.lv.json → messages.lv.json} +0 -0
  884. /package/assets/components/assets/filter/t9n/{filter.t9n.nl.json → messages.nl.json} +0 -0
  885. /package/assets/components/assets/filter/t9n/{filter.t9n.no.json → messages.no.json} +0 -0
  886. /package/assets/components/assets/filter/t9n/{filter.t9n.pl.json → messages.pl.json} +0 -0
  887. /package/assets/components/assets/filter/t9n/{filter.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  888. /package/assets/components/assets/filter/t9n/{filter.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  889. /package/assets/components/assets/filter/t9n/{filter.t9n.ro.json → messages.ro.json} +0 -0
  890. /package/assets/components/assets/filter/t9n/{filter.t9n.ru.json → messages.ru.json} +0 -0
  891. /package/assets/components/assets/filter/t9n/{filter.t9n.sk.json → messages.sk.json} +0 -0
  892. /package/assets/components/assets/filter/t9n/{filter.t9n.sl.json → messages.sl.json} +0 -0
  893. /package/assets/components/assets/filter/t9n/{filter.t9n.sr.json → messages.sr.json} +0 -0
  894. /package/assets/components/assets/filter/t9n/{filter.t9n.sv.json → messages.sv.json} +0 -0
  895. /package/assets/components/assets/filter/t9n/{filter.t9n.th.json → messages.th.json} +0 -0
  896. /package/assets/components/assets/filter/t9n/{filter.t9n.tr.json → messages.tr.json} +0 -0
  897. /package/assets/components/assets/filter/t9n/{filter.t9n.uk.json → messages.uk.json} +0 -0
  898. /package/assets/components/assets/filter/t9n/{filter.t9n.vi.json → messages.vi.json} +0 -0
  899. /package/assets/components/assets/filter/t9n/{filter.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  900. /package/assets/components/assets/filter/t9n/{filter.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  901. /package/assets/components/assets/filter/t9n/{filter.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  902. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.ar.json → messages.ar.json} +0 -0
  903. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.bg.json → messages.bg.json} +0 -0
  904. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.bs.json → messages.bs.json} +0 -0
  905. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.ca.json → messages.ca.json} +0 -0
  906. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.cs.json → messages.cs.json} +0 -0
  907. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.da.json → messages.da.json} +0 -0
  908. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.de.json → messages.de.json} +0 -0
  909. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.el.json → messages.el.json} +0 -0
  910. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.en.json → messages.en.json} +0 -0
  911. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.es.json → messages.es.json} +0 -0
  912. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.et.json → messages.et.json} +0 -0
  913. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.fi.json → messages.fi.json} +0 -0
  914. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.fr.json → messages.fr.json} +0 -0
  915. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.he.json → messages.he.json} +0 -0
  916. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.hr.json → messages.hr.json} +0 -0
  917. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.hu.json → messages.hu.json} +0 -0
  918. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.id.json → messages.id.json} +0 -0
  919. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.it.json → messages.it.json} +0 -0
  920. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.ja.json → messages.ja.json} +0 -0
  921. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.ko.json → messages.ko.json} +0 -0
  922. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.lt.json → messages.lt.json} +0 -0
  923. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.lv.json → messages.lv.json} +0 -0
  924. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.nl.json → messages.nl.json} +0 -0
  925. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.no.json → messages.no.json} +0 -0
  926. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.pl.json → messages.pl.json} +0 -0
  927. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  928. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  929. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.ro.json → messages.ro.json} +0 -0
  930. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.ru.json → messages.ru.json} +0 -0
  931. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.sk.json → messages.sk.json} +0 -0
  932. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.sl.json → messages.sl.json} +0 -0
  933. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.sr.json → messages.sr.json} +0 -0
  934. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.sv.json → messages.sv.json} +0 -0
  935. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.th.json → messages.th.json} +0 -0
  936. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.tr.json → messages.tr.json} +0 -0
  937. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.uk.json → messages.uk.json} +0 -0
  938. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.vi.json → messages.vi.json} +0 -0
  939. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  940. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  941. /package/assets/components/assets/flow-item/t9n/{flow-item.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  942. /package/assets/components/assets/handle/t9n/{handle.t9n.ar.json → messages.ar.json} +0 -0
  943. /package/assets/components/assets/handle/t9n/{handle.t9n.bg.json → messages.bg.json} +0 -0
  944. /package/assets/components/assets/handle/t9n/{handle.t9n.bs.json → messages.bs.json} +0 -0
  945. /package/assets/components/assets/handle/t9n/{handle.t9n.ca.json → messages.ca.json} +0 -0
  946. /package/assets/components/assets/handle/t9n/{handle.t9n.cs.json → messages.cs.json} +0 -0
  947. /package/assets/components/assets/handle/t9n/{handle.t9n.da.json → messages.da.json} +0 -0
  948. /package/assets/components/assets/handle/t9n/{handle.t9n.de.json → messages.de.json} +0 -0
  949. /package/assets/components/assets/handle/t9n/{handle.t9n.el.json → messages.el.json} +0 -0
  950. /package/assets/components/assets/handle/t9n/{handle.t9n.en.json → messages.en.json} +0 -0
  951. /package/assets/components/assets/handle/t9n/{handle.t9n.es.json → messages.es.json} +0 -0
  952. /package/assets/components/assets/handle/t9n/{handle.t9n.et.json → messages.et.json} +0 -0
  953. /package/assets/components/assets/handle/t9n/{handle.t9n.fi.json → messages.fi.json} +0 -0
  954. /package/assets/components/assets/handle/t9n/{handle.t9n.fr.json → messages.fr.json} +0 -0
  955. /package/assets/components/assets/handle/t9n/{handle.t9n.he.json → messages.he.json} +0 -0
  956. /package/assets/components/assets/handle/t9n/{handle.t9n.hr.json → messages.hr.json} +0 -0
  957. /package/assets/components/assets/handle/t9n/{handle.t9n.hu.json → messages.hu.json} +0 -0
  958. /package/assets/components/assets/handle/t9n/{handle.t9n.id.json → messages.id.json} +0 -0
  959. /package/assets/components/assets/handle/t9n/{handle.t9n.it.json → messages.it.json} +0 -0
  960. /package/assets/components/assets/handle/t9n/{handle.t9n.ja.json → messages.ja.json} +0 -0
  961. /package/assets/components/assets/handle/t9n/{handle.t9n.ko.json → messages.ko.json} +0 -0
  962. /package/assets/components/assets/handle/t9n/{handle.t9n.lt.json → messages.lt.json} +0 -0
  963. /package/assets/components/assets/handle/t9n/{handle.t9n.lv.json → messages.lv.json} +0 -0
  964. /package/assets/components/assets/handle/t9n/{handle.t9n.nl.json → messages.nl.json} +0 -0
  965. /package/assets/components/assets/handle/t9n/{handle.t9n.no.json → messages.no.json} +0 -0
  966. /package/assets/components/assets/handle/t9n/{handle.t9n.pl.json → messages.pl.json} +0 -0
  967. /package/assets/components/assets/handle/t9n/{handle.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  968. /package/assets/components/assets/handle/t9n/{handle.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  969. /package/assets/components/assets/handle/t9n/{handle.t9n.ro.json → messages.ro.json} +0 -0
  970. /package/assets/components/assets/handle/t9n/{handle.t9n.ru.json → messages.ru.json} +0 -0
  971. /package/assets/components/assets/handle/t9n/{handle.t9n.sk.json → messages.sk.json} +0 -0
  972. /package/assets/components/assets/handle/t9n/{handle.t9n.sl.json → messages.sl.json} +0 -0
  973. /package/assets/components/assets/handle/t9n/{handle.t9n.sr.json → messages.sr.json} +0 -0
  974. /package/assets/components/assets/handle/t9n/{handle.t9n.sv.json → messages.sv.json} +0 -0
  975. /package/assets/components/assets/handle/t9n/{handle.t9n.th.json → messages.th.json} +0 -0
  976. /package/assets/components/assets/handle/t9n/{handle.t9n.tr.json → messages.tr.json} +0 -0
  977. /package/assets/components/assets/handle/t9n/{handle.t9n.uk.json → messages.uk.json} +0 -0
  978. /package/assets/components/assets/handle/t9n/{handle.t9n.vi.json → messages.vi.json} +0 -0
  979. /package/assets/components/assets/handle/t9n/{handle.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  980. /package/assets/components/assets/handle/t9n/{handle.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  981. /package/assets/components/assets/handle/t9n/{handle.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  982. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.ar.json → messages.ar.json} +0 -0
  983. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.bg.json → messages.bg.json} +0 -0
  984. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.bs.json → messages.bs.json} +0 -0
  985. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.ca.json → messages.ca.json} +0 -0
  986. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.cs.json → messages.cs.json} +0 -0
  987. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.da.json → messages.da.json} +0 -0
  988. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.de.json → messages.de.json} +0 -0
  989. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.el.json → messages.el.json} +0 -0
  990. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.en.json → messages.en.json} +0 -0
  991. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.es.json → messages.es.json} +0 -0
  992. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.et.json → messages.et.json} +0 -0
  993. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.fi.json → messages.fi.json} +0 -0
  994. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.fr.json → messages.fr.json} +0 -0
  995. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.he.json → messages.he.json} +0 -0
  996. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.hr.json → messages.hr.json} +0 -0
  997. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.hu.json → messages.hu.json} +0 -0
  998. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.id.json → messages.id.json} +0 -0
  999. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.it.json → messages.it.json} +0 -0
  1000. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.ja.json → messages.ja.json} +0 -0
  1001. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.ko.json → messages.ko.json} +0 -0
  1002. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.lt.json → messages.lt.json} +0 -0
  1003. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.lv.json → messages.lv.json} +0 -0
  1004. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.nl.json → messages.nl.json} +0 -0
  1005. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.no.json → messages.no.json} +0 -0
  1006. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.pl.json → messages.pl.json} +0 -0
  1007. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1008. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1009. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.ro.json → messages.ro.json} +0 -0
  1010. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.ru.json → messages.ru.json} +0 -0
  1011. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.sk.json → messages.sk.json} +0 -0
  1012. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.sl.json → messages.sl.json} +0 -0
  1013. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.sr.json → messages.sr.json} +0 -0
  1014. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.sv.json → messages.sv.json} +0 -0
  1015. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.th.json → messages.th.json} +0 -0
  1016. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.tr.json → messages.tr.json} +0 -0
  1017. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.uk.json → messages.uk.json} +0 -0
  1018. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.vi.json → messages.vi.json} +0 -0
  1019. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1020. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1021. /package/assets/components/assets/inline-editable/t9n/{inline-editable.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1022. /package/assets/components/assets/input/t9n/{input.t9n.ar.json → messages.ar.json} +0 -0
  1023. /package/assets/components/assets/input/t9n/{input.t9n.bg.json → messages.bg.json} +0 -0
  1024. /package/assets/components/assets/input/t9n/{input.t9n.bs.json → messages.bs.json} +0 -0
  1025. /package/assets/components/assets/input/t9n/{input.t9n.ca.json → messages.ca.json} +0 -0
  1026. /package/assets/components/assets/input/t9n/{input.t9n.cs.json → messages.cs.json} +0 -0
  1027. /package/assets/components/assets/input/t9n/{input.t9n.da.json → messages.da.json} +0 -0
  1028. /package/assets/components/assets/input/t9n/{input.t9n.de.json → messages.de.json} +0 -0
  1029. /package/assets/components/assets/input/t9n/{input.t9n.el.json → messages.el.json} +0 -0
  1030. /package/assets/components/assets/input/t9n/{input.t9n.es.json → messages.es.json} +0 -0
  1031. /package/assets/components/assets/input/t9n/{input.t9n.et.json → messages.et.json} +0 -0
  1032. /package/assets/components/assets/input/t9n/{input.t9n.fi.json → messages.fi.json} +0 -0
  1033. /package/assets/components/assets/input/t9n/{input.t9n.fr.json → messages.fr.json} +0 -0
  1034. /package/assets/components/assets/input/t9n/{input.t9n.he.json → messages.he.json} +0 -0
  1035. /package/assets/components/assets/input/t9n/{input.t9n.hr.json → messages.hr.json} +0 -0
  1036. /package/assets/components/assets/input/t9n/{input.t9n.hu.json → messages.hu.json} +0 -0
  1037. /package/assets/components/assets/input/t9n/{input.t9n.id.json → messages.id.json} +0 -0
  1038. /package/assets/components/assets/input/t9n/{input.t9n.it.json → messages.it.json} +0 -0
  1039. /package/assets/components/assets/input/t9n/{input.t9n.ja.json → messages.ja.json} +0 -0
  1040. /package/assets/components/assets/input/t9n/{input.t9n.ko.json → messages.ko.json} +0 -0
  1041. /package/assets/components/assets/input/t9n/{input.t9n.lt.json → messages.lt.json} +0 -0
  1042. /package/assets/components/assets/input/t9n/{input.t9n.lv.json → messages.lv.json} +0 -0
  1043. /package/assets/components/assets/input/t9n/{input.t9n.nl.json → messages.nl.json} +0 -0
  1044. /package/assets/components/assets/input/t9n/{input.t9n.no.json → messages.no.json} +0 -0
  1045. /package/assets/components/assets/input/t9n/{input.t9n.pl.json → messages.pl.json} +0 -0
  1046. /package/assets/components/assets/input/t9n/{input.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1047. /package/assets/components/assets/input/t9n/{input.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1048. /package/assets/components/assets/input/t9n/{input.t9n.ro.json → messages.ro.json} +0 -0
  1049. /package/assets/components/assets/input/t9n/{input.t9n.ru.json → messages.ru.json} +0 -0
  1050. /package/assets/components/assets/input/t9n/{input.t9n.sk.json → messages.sk.json} +0 -0
  1051. /package/assets/components/assets/input/t9n/{input.t9n.sl.json → messages.sl.json} +0 -0
  1052. /package/assets/components/assets/input/t9n/{input.t9n.sr.json → messages.sr.json} +0 -0
  1053. /package/assets/components/assets/input/t9n/{input.t9n.sv.json → messages.sv.json} +0 -0
  1054. /package/assets/components/assets/input/t9n/{input.t9n.th.json → messages.th.json} +0 -0
  1055. /package/assets/components/assets/input/t9n/{input.t9n.tr.json → messages.tr.json} +0 -0
  1056. /package/assets/components/assets/input/t9n/{input.t9n.uk.json → messages.uk.json} +0 -0
  1057. /package/assets/components/assets/input/t9n/{input.t9n.vi.json → messages.vi.json} +0 -0
  1058. /package/assets/components/assets/input/t9n/{input.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1059. /package/assets/components/assets/input/t9n/{input.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1060. /package/assets/components/assets/input/t9n/{input.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1061. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.ar.json → messages.ar.json} +0 -0
  1062. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.bg.json → messages.bg.json} +0 -0
  1063. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.bs.json → messages.bs.json} +0 -0
  1064. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.ca.json → messages.ca.json} +0 -0
  1065. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.cs.json → messages.cs.json} +0 -0
  1066. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.da.json → messages.da.json} +0 -0
  1067. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.de.json → messages.de.json} +0 -0
  1068. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.el.json → messages.el.json} +0 -0
  1069. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.en.json → messages.en.json} +0 -0
  1070. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.es.json → messages.es.json} +0 -0
  1071. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.et.json → messages.et.json} +0 -0
  1072. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.fi.json → messages.fi.json} +0 -0
  1073. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.fr.json → messages.fr.json} +0 -0
  1074. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.he.json → messages.he.json} +0 -0
  1075. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.hr.json → messages.hr.json} +0 -0
  1076. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.hu.json → messages.hu.json} +0 -0
  1077. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.id.json → messages.id.json} +0 -0
  1078. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.it.json → messages.it.json} +0 -0
  1079. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.ja.json → messages.ja.json} +0 -0
  1080. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.ko.json → messages.ko.json} +0 -0
  1081. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.lt.json → messages.lt.json} +0 -0
  1082. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.lv.json → messages.lv.json} +0 -0
  1083. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.nl.json → messages.nl.json} +0 -0
  1084. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.no.json → messages.no.json} +0 -0
  1085. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.pl.json → messages.pl.json} +0 -0
  1086. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1087. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1088. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.ro.json → messages.ro.json} +0 -0
  1089. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.ru.json → messages.ru.json} +0 -0
  1090. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.sk.json → messages.sk.json} +0 -0
  1091. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.sl.json → messages.sl.json} +0 -0
  1092. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.sr.json → messages.sr.json} +0 -0
  1093. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.sv.json → messages.sv.json} +0 -0
  1094. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.th.json → messages.th.json} +0 -0
  1095. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.tr.json → messages.tr.json} +0 -0
  1096. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.uk.json → messages.uk.json} +0 -0
  1097. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.vi.json → messages.vi.json} +0 -0
  1098. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1099. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1100. /package/assets/components/assets/input-date-picker/t9n/{input-date-picker.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1101. /package/assets/components/assets/input-number/t9n/{input-number.t9n.ar.json → messages.ar.json} +0 -0
  1102. /package/assets/components/assets/input-number/t9n/{input-number.t9n.bg.json → messages.bg.json} +0 -0
  1103. /package/assets/components/assets/input-number/t9n/{input-number.t9n.bs.json → messages.bs.json} +0 -0
  1104. /package/assets/components/assets/input-number/t9n/{input-number.t9n.ca.json → messages.ca.json} +0 -0
  1105. /package/assets/components/assets/input-number/t9n/{input-number.t9n.cs.json → messages.cs.json} +0 -0
  1106. /package/assets/components/assets/input-number/t9n/{input-number.t9n.da.json → messages.da.json} +0 -0
  1107. /package/assets/components/assets/input-number/t9n/{input-number.t9n.de.json → messages.de.json} +0 -0
  1108. /package/assets/components/assets/input-number/t9n/{input-number.t9n.el.json → messages.el.json} +0 -0
  1109. /package/assets/components/assets/{input/t9n/input.t9n.en.json → input-number/t9n/messages.en.json} +0 -0
  1110. /package/assets/components/assets/input-number/t9n/{input-number.t9n.es.json → messages.es.json} +0 -0
  1111. /package/assets/components/assets/input-number/t9n/{input-number.t9n.et.json → messages.et.json} +0 -0
  1112. /package/assets/components/assets/input-number/t9n/{input-number.t9n.fi.json → messages.fi.json} +0 -0
  1113. /package/assets/components/assets/input-number/t9n/{input-number.t9n.fr.json → messages.fr.json} +0 -0
  1114. /package/assets/components/assets/input-number/t9n/{input-number.t9n.he.json → messages.he.json} +0 -0
  1115. /package/assets/components/assets/input-number/t9n/{input-number.t9n.hr.json → messages.hr.json} +0 -0
  1116. /package/assets/components/assets/input-number/t9n/{input-number.t9n.hu.json → messages.hu.json} +0 -0
  1117. /package/assets/components/assets/input-number/t9n/{input-number.t9n.id.json → messages.id.json} +0 -0
  1118. /package/assets/components/assets/input-number/t9n/{input-number.t9n.it.json → messages.it.json} +0 -0
  1119. /package/assets/components/assets/input-number/t9n/{input-number.t9n.ja.json → messages.ja.json} +0 -0
  1120. /package/assets/components/assets/input-number/t9n/{input-number.t9n.ko.json → messages.ko.json} +0 -0
  1121. /package/assets/components/assets/input-number/t9n/{input-number.t9n.lt.json → messages.lt.json} +0 -0
  1122. /package/assets/components/assets/input-number/t9n/{input-number.t9n.lv.json → messages.lv.json} +0 -0
  1123. /package/assets/components/assets/input-number/t9n/{input-number.t9n.nl.json → messages.nl.json} +0 -0
  1124. /package/assets/components/assets/input-number/t9n/{input-number.t9n.no.json → messages.no.json} +0 -0
  1125. /package/assets/components/assets/input-number/t9n/{input-number.t9n.pl.json → messages.pl.json} +0 -0
  1126. /package/assets/components/assets/input-number/t9n/{input-number.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1127. /package/assets/components/assets/input-number/t9n/{input-number.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1128. /package/assets/components/assets/input-number/t9n/{input-number.t9n.ro.json → messages.ro.json} +0 -0
  1129. /package/assets/components/assets/input-number/t9n/{input-number.t9n.ru.json → messages.ru.json} +0 -0
  1130. /package/assets/components/assets/input-number/t9n/{input-number.t9n.sk.json → messages.sk.json} +0 -0
  1131. /package/assets/components/assets/input-number/t9n/{input-number.t9n.sl.json → messages.sl.json} +0 -0
  1132. /package/assets/components/assets/input-number/t9n/{input-number.t9n.sr.json → messages.sr.json} +0 -0
  1133. /package/assets/components/assets/input-number/t9n/{input-number.t9n.sv.json → messages.sv.json} +0 -0
  1134. /package/assets/components/assets/input-number/t9n/{input-number.t9n.th.json → messages.th.json} +0 -0
  1135. /package/assets/components/assets/input-number/t9n/{input-number.t9n.tr.json → messages.tr.json} +0 -0
  1136. /package/assets/components/assets/input-number/t9n/{input-number.t9n.uk.json → messages.uk.json} +0 -0
  1137. /package/assets/components/assets/input-number/t9n/{input-number.t9n.vi.json → messages.vi.json} +0 -0
  1138. /package/assets/components/assets/input-number/t9n/{input-number.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1139. /package/assets/components/assets/input-number/t9n/{input-number.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1140. /package/assets/components/assets/input-number/t9n/{input-number.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1141. /package/assets/components/assets/input-text/t9n/{input-text.t9n.ar.json → messages.ar.json} +0 -0
  1142. /package/assets/components/assets/input-text/t9n/{input-text.t9n.bg.json → messages.bg.json} +0 -0
  1143. /package/assets/components/assets/input-text/t9n/{input-text.t9n.bs.json → messages.bs.json} +0 -0
  1144. /package/assets/components/assets/input-text/t9n/{input-text.t9n.ca.json → messages.ca.json} +0 -0
  1145. /package/assets/components/assets/input-text/t9n/{input-text.t9n.cs.json → messages.cs.json} +0 -0
  1146. /package/assets/components/assets/input-text/t9n/{input-text.t9n.da.json → messages.da.json} +0 -0
  1147. /package/assets/components/assets/input-text/t9n/{input-text.t9n.de.json → messages.de.json} +0 -0
  1148. /package/assets/components/assets/input-text/t9n/{input-text.t9n.el.json → messages.el.json} +0 -0
  1149. /package/assets/components/assets/input-text/t9n/{input-text.t9n.es.json → messages.es.json} +0 -0
  1150. /package/assets/components/assets/input-text/t9n/{input-text.t9n.et.json → messages.et.json} +0 -0
  1151. /package/assets/components/assets/input-text/t9n/{input-text.t9n.fi.json → messages.fi.json} +0 -0
  1152. /package/assets/components/assets/input-text/t9n/{input-text.t9n.fr.json → messages.fr.json} +0 -0
  1153. /package/assets/components/assets/input-text/t9n/{input-text.t9n.he.json → messages.he.json} +0 -0
  1154. /package/assets/components/assets/input-text/t9n/{input-text.t9n.hr.json → messages.hr.json} +0 -0
  1155. /package/assets/components/assets/input-text/t9n/{input-text.t9n.hu.json → messages.hu.json} +0 -0
  1156. /package/assets/components/assets/input-text/t9n/{input-text.t9n.id.json → messages.id.json} +0 -0
  1157. /package/assets/components/assets/input-text/t9n/{input-text.t9n.it.json → messages.it.json} +0 -0
  1158. /package/assets/components/assets/input-text/t9n/{input-text.t9n.ja.json → messages.ja.json} +0 -0
  1159. /package/assets/components/assets/input-text/t9n/{input-text.t9n.ko.json → messages.ko.json} +0 -0
  1160. /package/assets/components/assets/input-text/t9n/{input-text.t9n.lt.json → messages.lt.json} +0 -0
  1161. /package/assets/components/assets/input-text/t9n/{input-text.t9n.lv.json → messages.lv.json} +0 -0
  1162. /package/assets/components/assets/input-text/t9n/{input-text.t9n.nl.json → messages.nl.json} +0 -0
  1163. /package/assets/components/assets/input-text/t9n/{input-text.t9n.no.json → messages.no.json} +0 -0
  1164. /package/assets/components/assets/input-text/t9n/{input-text.t9n.pl.json → messages.pl.json} +0 -0
  1165. /package/assets/components/assets/input-text/t9n/{input-text.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1166. /package/assets/components/assets/input-text/t9n/{input-text.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1167. /package/assets/components/assets/input-text/t9n/{input-text.t9n.ro.json → messages.ro.json} +0 -0
  1168. /package/assets/components/assets/input-text/t9n/{input-text.t9n.ru.json → messages.ru.json} +0 -0
  1169. /package/assets/components/assets/input-text/t9n/{input-text.t9n.sk.json → messages.sk.json} +0 -0
  1170. /package/assets/components/assets/input-text/t9n/{input-text.t9n.sl.json → messages.sl.json} +0 -0
  1171. /package/assets/components/assets/input-text/t9n/{input-text.t9n.sr.json → messages.sr.json} +0 -0
  1172. /package/assets/components/assets/input-text/t9n/{input-text.t9n.sv.json → messages.sv.json} +0 -0
  1173. /package/assets/components/assets/input-text/t9n/{input-text.t9n.th.json → messages.th.json} +0 -0
  1174. /package/assets/components/assets/input-text/t9n/{input-text.t9n.tr.json → messages.tr.json} +0 -0
  1175. /package/assets/components/assets/input-text/t9n/{input-text.t9n.uk.json → messages.uk.json} +0 -0
  1176. /package/assets/components/assets/input-text/t9n/{input-text.t9n.vi.json → messages.vi.json} +0 -0
  1177. /package/assets/components/assets/input-text/t9n/{input-text.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1178. /package/assets/components/assets/input-text/t9n/{input-text.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1179. /package/assets/components/assets/input-text/t9n/{input-text.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1180. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.ar.json → messages.ar.json} +0 -0
  1181. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.bg.json → messages.bg.json} +0 -0
  1182. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.bs.json → messages.bs.json} +0 -0
  1183. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.ca.json → messages.ca.json} +0 -0
  1184. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.cs.json → messages.cs.json} +0 -0
  1185. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.da.json → messages.da.json} +0 -0
  1186. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.de.json → messages.de.json} +0 -0
  1187. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.el.json → messages.el.json} +0 -0
  1188. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.en.json → messages.en.json} +0 -0
  1189. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.es.json → messages.es.json} +0 -0
  1190. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.et.json → messages.et.json} +0 -0
  1191. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.fi.json → messages.fi.json} +0 -0
  1192. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.fr.json → messages.fr.json} +0 -0
  1193. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.he.json → messages.he.json} +0 -0
  1194. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.hr.json → messages.hr.json} +0 -0
  1195. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.hu.json → messages.hu.json} +0 -0
  1196. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.id.json → messages.id.json} +0 -0
  1197. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.it.json → messages.it.json} +0 -0
  1198. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.ja.json → messages.ja.json} +0 -0
  1199. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.ko.json → messages.ko.json} +0 -0
  1200. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.lt.json → messages.lt.json} +0 -0
  1201. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.lv.json → messages.lv.json} +0 -0
  1202. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.nl.json → messages.nl.json} +0 -0
  1203. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.no.json → messages.no.json} +0 -0
  1204. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.pl.json → messages.pl.json} +0 -0
  1205. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1206. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1207. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.ro.json → messages.ro.json} +0 -0
  1208. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.ru.json → messages.ru.json} +0 -0
  1209. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.sk.json → messages.sk.json} +0 -0
  1210. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.sl.json → messages.sl.json} +0 -0
  1211. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.sr.json → messages.sr.json} +0 -0
  1212. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.sv.json → messages.sv.json} +0 -0
  1213. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.th.json → messages.th.json} +0 -0
  1214. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.tr.json → messages.tr.json} +0 -0
  1215. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.uk.json → messages.uk.json} +0 -0
  1216. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.vi.json → messages.vi.json} +0 -0
  1217. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1218. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1219. /package/assets/components/assets/input-time-picker/t9n/{input-time-picker.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1220. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.ar.json → messages.ar.json} +0 -0
  1221. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.bg.json → messages.bg.json} +0 -0
  1222. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.bs.json → messages.bs.json} +0 -0
  1223. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.ca.json → messages.ca.json} +0 -0
  1224. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.cs.json → messages.cs.json} +0 -0
  1225. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.da.json → messages.da.json} +0 -0
  1226. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.de.json → messages.de.json} +0 -0
  1227. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.el.json → messages.el.json} +0 -0
  1228. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.en.json → messages.en.json} +0 -0
  1229. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.es.json → messages.es.json} +0 -0
  1230. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.et.json → messages.et.json} +0 -0
  1231. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.fi.json → messages.fi.json} +0 -0
  1232. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.fr.json → messages.fr.json} +0 -0
  1233. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.he.json → messages.he.json} +0 -0
  1234. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.hr.json → messages.hr.json} +0 -0
  1235. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.hu.json → messages.hu.json} +0 -0
  1236. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.id.json → messages.id.json} +0 -0
  1237. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.it.json → messages.it.json} +0 -0
  1238. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.ja.json → messages.ja.json} +0 -0
  1239. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.ko.json → messages.ko.json} +0 -0
  1240. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.lt.json → messages.lt.json} +0 -0
  1241. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.lv.json → messages.lv.json} +0 -0
  1242. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.nl.json → messages.nl.json} +0 -0
  1243. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.no.json → messages.no.json} +0 -0
  1244. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.pl.json → messages.pl.json} +0 -0
  1245. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1246. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1247. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.ro.json → messages.ro.json} +0 -0
  1248. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.ru.json → messages.ru.json} +0 -0
  1249. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.sk.json → messages.sk.json} +0 -0
  1250. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.sl.json → messages.sl.json} +0 -0
  1251. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.sr.json → messages.sr.json} +0 -0
  1252. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.sv.json → messages.sv.json} +0 -0
  1253. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.th.json → messages.th.json} +0 -0
  1254. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.tr.json → messages.tr.json} +0 -0
  1255. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.uk.json → messages.uk.json} +0 -0
  1256. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.vi.json → messages.vi.json} +0 -0
  1257. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1258. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1259. /package/assets/components/assets/input-time-zone/t9n/{input-time-zone.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1260. /package/assets/components/assets/list/t9n/{list.t9n.ar.json → messages.ar.json} +0 -0
  1261. /package/assets/components/assets/list/t9n/{list.t9n.bg.json → messages.bg.json} +0 -0
  1262. /package/assets/components/assets/list/t9n/{list.t9n.bs.json → messages.bs.json} +0 -0
  1263. /package/assets/components/assets/list/t9n/{list.t9n.ca.json → messages.ca.json} +0 -0
  1264. /package/assets/components/assets/list/t9n/{list.t9n.cs.json → messages.cs.json} +0 -0
  1265. /package/assets/components/assets/list/t9n/{list.t9n.da.json → messages.da.json} +0 -0
  1266. /package/assets/components/assets/list/t9n/{list.t9n.de.json → messages.de.json} +0 -0
  1267. /package/assets/components/assets/list/t9n/{list.t9n.el.json → messages.el.json} +0 -0
  1268. /package/assets/components/assets/list/t9n/{list.t9n.en.json → messages.en.json} +0 -0
  1269. /package/assets/components/assets/list/t9n/{list.t9n.es.json → messages.es.json} +0 -0
  1270. /package/assets/components/assets/list/t9n/{list.t9n.et.json → messages.et.json} +0 -0
  1271. /package/assets/components/assets/list/t9n/{list.t9n.fi.json → messages.fi.json} +0 -0
  1272. /package/assets/components/assets/list/t9n/{list.t9n.fr.json → messages.fr.json} +0 -0
  1273. /package/assets/components/assets/list/t9n/{list.t9n.he.json → messages.he.json} +0 -0
  1274. /package/assets/components/assets/list/t9n/{list.t9n.hr.json → messages.hr.json} +0 -0
  1275. /package/assets/components/assets/list/t9n/{list.t9n.hu.json → messages.hu.json} +0 -0
  1276. /package/assets/components/assets/list/t9n/{list.t9n.id.json → messages.id.json} +0 -0
  1277. /package/assets/components/assets/list/t9n/{list.t9n.it.json → messages.it.json} +0 -0
  1278. /package/assets/components/assets/list/t9n/{list.t9n.ja.json → messages.ja.json} +0 -0
  1279. /package/assets/components/assets/list/t9n/{list.t9n.ko.json → messages.ko.json} +0 -0
  1280. /package/assets/components/assets/list/t9n/{list.t9n.lt.json → messages.lt.json} +0 -0
  1281. /package/assets/components/assets/list/t9n/{list.t9n.lv.json → messages.lv.json} +0 -0
  1282. /package/assets/components/assets/list/t9n/{list.t9n.nl.json → messages.nl.json} +0 -0
  1283. /package/assets/components/assets/list/t9n/{list.t9n.no.json → messages.no.json} +0 -0
  1284. /package/assets/components/assets/list/t9n/{list.t9n.pl.json → messages.pl.json} +0 -0
  1285. /package/assets/components/assets/list/t9n/{list.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1286. /package/assets/components/assets/list/t9n/{list.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1287. /package/assets/components/assets/list/t9n/{list.t9n.ro.json → messages.ro.json} +0 -0
  1288. /package/assets/components/assets/list/t9n/{list.t9n.ru.json → messages.ru.json} +0 -0
  1289. /package/assets/components/assets/list/t9n/{list.t9n.sk.json → messages.sk.json} +0 -0
  1290. /package/assets/components/assets/list/t9n/{list.t9n.sl.json → messages.sl.json} +0 -0
  1291. /package/assets/components/assets/list/t9n/{list.t9n.sr.json → messages.sr.json} +0 -0
  1292. /package/assets/components/assets/list/t9n/{list.t9n.sv.json → messages.sv.json} +0 -0
  1293. /package/assets/components/assets/list/t9n/{list.t9n.th.json → messages.th.json} +0 -0
  1294. /package/assets/components/assets/list/t9n/{list.t9n.tr.json → messages.tr.json} +0 -0
  1295. /package/assets/components/assets/list/t9n/{list.t9n.uk.json → messages.uk.json} +0 -0
  1296. /package/assets/components/assets/list/t9n/{list.t9n.vi.json → messages.vi.json} +0 -0
  1297. /package/assets/components/assets/list/t9n/{list.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1298. /package/assets/components/assets/list/t9n/{list.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1299. /package/assets/components/assets/list/t9n/{list.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1300. /package/assets/components/assets/list-item/t9n/{list-item.t9n.ar.json → messages.ar.json} +0 -0
  1301. /package/assets/components/assets/list-item/t9n/{list-item.t9n.bg.json → messages.bg.json} +0 -0
  1302. /package/assets/components/assets/list-item/t9n/{list-item.t9n.bs.json → messages.bs.json} +0 -0
  1303. /package/assets/components/assets/list-item/t9n/{list-item.t9n.ca.json → messages.ca.json} +0 -0
  1304. /package/assets/components/assets/list-item/t9n/{list-item.t9n.cs.json → messages.cs.json} +0 -0
  1305. /package/assets/components/assets/list-item/t9n/{list-item.t9n.da.json → messages.da.json} +0 -0
  1306. /package/assets/components/assets/list-item/t9n/{list-item.t9n.de.json → messages.de.json} +0 -0
  1307. /package/assets/components/assets/list-item/t9n/{list-item.t9n.el.json → messages.el.json} +0 -0
  1308. /package/assets/components/assets/list-item/t9n/{list-item.t9n.en.json → messages.en.json} +0 -0
  1309. /package/assets/components/assets/list-item/t9n/{list-item.t9n.es.json → messages.es.json} +0 -0
  1310. /package/assets/components/assets/list-item/t9n/{list-item.t9n.et.json → messages.et.json} +0 -0
  1311. /package/assets/components/assets/list-item/t9n/{list-item.t9n.fi.json → messages.fi.json} +0 -0
  1312. /package/assets/components/assets/list-item/t9n/{list-item.t9n.fr.json → messages.fr.json} +0 -0
  1313. /package/assets/components/assets/list-item/t9n/{list-item.t9n.he.json → messages.he.json} +0 -0
  1314. /package/assets/components/assets/list-item/t9n/{list-item.t9n.hr.json → messages.hr.json} +0 -0
  1315. /package/assets/components/assets/list-item/t9n/{list-item.t9n.hu.json → messages.hu.json} +0 -0
  1316. /package/assets/components/assets/list-item/t9n/{list-item.t9n.id.json → messages.id.json} +0 -0
  1317. /package/assets/components/assets/list-item/t9n/{list-item.t9n.it.json → messages.it.json} +0 -0
  1318. /package/assets/components/assets/list-item/t9n/{list-item.t9n.ja.json → messages.ja.json} +0 -0
  1319. /package/assets/components/assets/list-item/t9n/{list-item.t9n.ko.json → messages.ko.json} +0 -0
  1320. /package/assets/components/assets/list-item/t9n/{list-item.t9n.lt.json → messages.lt.json} +0 -0
  1321. /package/assets/components/assets/list-item/t9n/{list-item.t9n.lv.json → messages.lv.json} +0 -0
  1322. /package/assets/components/assets/list-item/t9n/{list-item.t9n.nl.json → messages.nl.json} +0 -0
  1323. /package/assets/components/assets/list-item/t9n/{list-item.t9n.no.json → messages.no.json} +0 -0
  1324. /package/assets/components/assets/list-item/t9n/{list-item.t9n.pl.json → messages.pl.json} +0 -0
  1325. /package/assets/components/assets/list-item/t9n/{list-item.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1326. /package/assets/components/assets/list-item/t9n/{list-item.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1327. /package/assets/components/assets/list-item/t9n/{list-item.t9n.ro.json → messages.ro.json} +0 -0
  1328. /package/assets/components/assets/list-item/t9n/{list-item.t9n.ru.json → messages.ru.json} +0 -0
  1329. /package/assets/components/assets/list-item/t9n/{list-item.t9n.sk.json → messages.sk.json} +0 -0
  1330. /package/assets/components/assets/list-item/t9n/{list-item.t9n.sl.json → messages.sl.json} +0 -0
  1331. /package/assets/components/assets/list-item/t9n/{list-item.t9n.sr.json → messages.sr.json} +0 -0
  1332. /package/assets/components/assets/list-item/t9n/{list-item.t9n.sv.json → messages.sv.json} +0 -0
  1333. /package/assets/components/assets/list-item/t9n/{list-item.t9n.th.json → messages.th.json} +0 -0
  1334. /package/assets/components/assets/list-item/t9n/{list-item.t9n.tr.json → messages.tr.json} +0 -0
  1335. /package/assets/components/assets/list-item/t9n/{list-item.t9n.uk.json → messages.uk.json} +0 -0
  1336. /package/assets/components/assets/list-item/t9n/{list-item.t9n.vi.json → messages.vi.json} +0 -0
  1337. /package/assets/components/assets/list-item/t9n/{list-item.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1338. /package/assets/components/assets/list-item/t9n/{list-item.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1339. /package/assets/components/assets/list-item/t9n/{list-item.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1340. /package/assets/components/assets/menu/t9n/{menu.t9n.ar.json → messages.ar.json} +0 -0
  1341. /package/assets/components/assets/menu/t9n/{menu.t9n.bg.json → messages.bg.json} +0 -0
  1342. /package/assets/components/assets/menu/t9n/{menu.t9n.bs.json → messages.bs.json} +0 -0
  1343. /package/assets/components/assets/menu/t9n/{menu.t9n.ca.json → messages.ca.json} +0 -0
  1344. /package/assets/components/assets/menu/t9n/{menu.t9n.cs.json → messages.cs.json} +0 -0
  1345. /package/assets/components/assets/menu/t9n/{menu.t9n.da.json → messages.da.json} +0 -0
  1346. /package/assets/components/assets/menu/t9n/{menu.t9n.de.json → messages.de.json} +0 -0
  1347. /package/assets/components/assets/menu/t9n/{menu.t9n.el.json → messages.el.json} +0 -0
  1348. /package/assets/components/assets/menu/t9n/{menu.t9n.en.json → messages.en.json} +0 -0
  1349. /package/assets/components/assets/menu/t9n/{menu.t9n.es.json → messages.es.json} +0 -0
  1350. /package/assets/components/assets/menu/t9n/{menu.t9n.et.json → messages.et.json} +0 -0
  1351. /package/assets/components/assets/menu/t9n/{menu.t9n.fi.json → messages.fi.json} +0 -0
  1352. /package/assets/components/assets/menu/t9n/{menu.t9n.fr.json → messages.fr.json} +0 -0
  1353. /package/assets/components/assets/menu/t9n/{menu.t9n.he.json → messages.he.json} +0 -0
  1354. /package/assets/components/assets/menu/t9n/{menu.t9n.hr.json → messages.hr.json} +0 -0
  1355. /package/assets/components/assets/menu/t9n/{menu.t9n.hu.json → messages.hu.json} +0 -0
  1356. /package/assets/components/assets/menu/t9n/{menu.t9n.id.json → messages.id.json} +0 -0
  1357. /package/assets/components/assets/menu/t9n/{menu.t9n.it.json → messages.it.json} +0 -0
  1358. /package/assets/components/assets/menu/t9n/{menu.t9n.ja.json → messages.ja.json} +0 -0
  1359. /package/assets/components/assets/menu/t9n/{menu.t9n.ko.json → messages.ko.json} +0 -0
  1360. /package/assets/components/assets/menu/t9n/{menu.t9n.lt.json → messages.lt.json} +0 -0
  1361. /package/assets/components/assets/menu/t9n/{menu.t9n.lv.json → messages.lv.json} +0 -0
  1362. /package/assets/components/assets/menu/t9n/{menu.t9n.nl.json → messages.nl.json} +0 -0
  1363. /package/assets/components/assets/menu/t9n/{menu.t9n.no.json → messages.no.json} +0 -0
  1364. /package/assets/components/assets/menu/t9n/{menu.t9n.pl.json → messages.pl.json} +0 -0
  1365. /package/assets/components/assets/menu/t9n/{menu.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1366. /package/assets/components/assets/menu/t9n/{menu.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1367. /package/assets/components/assets/menu/t9n/{menu.t9n.ro.json → messages.ro.json} +0 -0
  1368. /package/assets/components/assets/menu/t9n/{menu.t9n.ru.json → messages.ru.json} +0 -0
  1369. /package/assets/components/assets/menu/t9n/{menu.t9n.sk.json → messages.sk.json} +0 -0
  1370. /package/assets/components/assets/menu/t9n/{menu.t9n.sl.json → messages.sl.json} +0 -0
  1371. /package/assets/components/assets/menu/t9n/{menu.t9n.sr.json → messages.sr.json} +0 -0
  1372. /package/assets/components/assets/menu/t9n/{menu.t9n.sv.json → messages.sv.json} +0 -0
  1373. /package/assets/components/assets/menu/t9n/{menu.t9n.th.json → messages.th.json} +0 -0
  1374. /package/assets/components/assets/menu/t9n/{menu.t9n.tr.json → messages.tr.json} +0 -0
  1375. /package/assets/components/assets/menu/t9n/{menu.t9n.uk.json → messages.uk.json} +0 -0
  1376. /package/assets/components/assets/menu/t9n/{menu.t9n.vi.json → messages.vi.json} +0 -0
  1377. /package/assets/components/assets/menu/t9n/{menu.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1378. /package/assets/components/assets/menu/t9n/{menu.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1379. /package/assets/components/assets/menu/t9n/{menu.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1380. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.ar.json → messages.ar.json} +0 -0
  1381. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.bg.json → messages.bg.json} +0 -0
  1382. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.bs.json → messages.bs.json} +0 -0
  1383. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.ca.json → messages.ca.json} +0 -0
  1384. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.cs.json → messages.cs.json} +0 -0
  1385. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.da.json → messages.da.json} +0 -0
  1386. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.de.json → messages.de.json} +0 -0
  1387. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.el.json → messages.el.json} +0 -0
  1388. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.en.json → messages.en.json} +0 -0
  1389. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.es.json → messages.es.json} +0 -0
  1390. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.et.json → messages.et.json} +0 -0
  1391. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.fi.json → messages.fi.json} +0 -0
  1392. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.fr.json → messages.fr.json} +0 -0
  1393. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.he.json → messages.he.json} +0 -0
  1394. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.hr.json → messages.hr.json} +0 -0
  1395. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.hu.json → messages.hu.json} +0 -0
  1396. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.id.json → messages.id.json} +0 -0
  1397. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.it.json → messages.it.json} +0 -0
  1398. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.ja.json → messages.ja.json} +0 -0
  1399. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.ko.json → messages.ko.json} +0 -0
  1400. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.lt.json → messages.lt.json} +0 -0
  1401. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.lv.json → messages.lv.json} +0 -0
  1402. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.nl.json → messages.nl.json} +0 -0
  1403. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.no.json → messages.no.json} +0 -0
  1404. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.pl.json → messages.pl.json} +0 -0
  1405. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1406. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1407. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.ro.json → messages.ro.json} +0 -0
  1408. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.ru.json → messages.ru.json} +0 -0
  1409. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.sk.json → messages.sk.json} +0 -0
  1410. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.sl.json → messages.sl.json} +0 -0
  1411. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.sr.json → messages.sr.json} +0 -0
  1412. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.sv.json → messages.sv.json} +0 -0
  1413. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.th.json → messages.th.json} +0 -0
  1414. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.tr.json → messages.tr.json} +0 -0
  1415. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.uk.json → messages.uk.json} +0 -0
  1416. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.vi.json → messages.vi.json} +0 -0
  1417. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1418. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1419. /package/assets/components/assets/menu-item/t9n/{menu-item.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1420. /package/assets/components/assets/modal/t9n/{modal.t9n.ar.json → messages.ar.json} +0 -0
  1421. /package/assets/components/assets/modal/t9n/{modal.t9n.bg.json → messages.bg.json} +0 -0
  1422. /package/assets/components/assets/modal/t9n/{modal.t9n.bs.json → messages.bs.json} +0 -0
  1423. /package/assets/components/assets/modal/t9n/{modal.t9n.ca.json → messages.ca.json} +0 -0
  1424. /package/assets/components/assets/modal/t9n/{modal.t9n.cs.json → messages.cs.json} +0 -0
  1425. /package/assets/components/assets/modal/t9n/{modal.t9n.da.json → messages.da.json} +0 -0
  1426. /package/assets/components/assets/modal/t9n/{modal.t9n.de.json → messages.de.json} +0 -0
  1427. /package/assets/components/assets/modal/t9n/{modal.t9n.el.json → messages.el.json} +0 -0
  1428. /package/assets/components/assets/modal/t9n/{modal.t9n.en.json → messages.en.json} +0 -0
  1429. /package/assets/components/assets/modal/t9n/{modal.t9n.es.json → messages.es.json} +0 -0
  1430. /package/assets/components/assets/modal/t9n/{modal.t9n.et.json → messages.et.json} +0 -0
  1431. /package/assets/components/assets/modal/t9n/{modal.t9n.fi.json → messages.fi.json} +0 -0
  1432. /package/assets/components/assets/modal/t9n/{modal.t9n.fr.json → messages.fr.json} +0 -0
  1433. /package/assets/components/assets/modal/t9n/{modal.t9n.he.json → messages.he.json} +0 -0
  1434. /package/assets/components/assets/modal/t9n/{modal.t9n.hr.json → messages.hr.json} +0 -0
  1435. /package/assets/components/assets/modal/t9n/{modal.t9n.hu.json → messages.hu.json} +0 -0
  1436. /package/assets/components/assets/modal/t9n/{modal.t9n.id.json → messages.id.json} +0 -0
  1437. /package/assets/components/assets/modal/t9n/{modal.t9n.it.json → messages.it.json} +0 -0
  1438. /package/assets/components/assets/modal/t9n/{modal.t9n.ja.json → messages.ja.json} +0 -0
  1439. /package/assets/components/assets/modal/t9n/{modal.t9n.ko.json → messages.ko.json} +0 -0
  1440. /package/assets/components/assets/modal/t9n/{modal.t9n.lt.json → messages.lt.json} +0 -0
  1441. /package/assets/components/assets/modal/t9n/{modal.t9n.lv.json → messages.lv.json} +0 -0
  1442. /package/assets/components/assets/modal/t9n/{modal.t9n.nl.json → messages.nl.json} +0 -0
  1443. /package/assets/components/assets/modal/t9n/{modal.t9n.no.json → messages.no.json} +0 -0
  1444. /package/assets/components/assets/modal/t9n/{modal.t9n.pl.json → messages.pl.json} +0 -0
  1445. /package/assets/components/assets/modal/t9n/{modal.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1446. /package/assets/components/assets/modal/t9n/{modal.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1447. /package/assets/components/assets/modal/t9n/{modal.t9n.ro.json → messages.ro.json} +0 -0
  1448. /package/assets/components/assets/modal/t9n/{modal.t9n.ru.json → messages.ru.json} +0 -0
  1449. /package/assets/components/assets/modal/t9n/{modal.t9n.sk.json → messages.sk.json} +0 -0
  1450. /package/assets/components/assets/modal/t9n/{modal.t9n.sl.json → messages.sl.json} +0 -0
  1451. /package/assets/components/assets/modal/t9n/{modal.t9n.sr.json → messages.sr.json} +0 -0
  1452. /package/assets/components/assets/modal/t9n/{modal.t9n.sv.json → messages.sv.json} +0 -0
  1453. /package/assets/components/assets/modal/t9n/{modal.t9n.th.json → messages.th.json} +0 -0
  1454. /package/assets/components/assets/modal/t9n/{modal.t9n.tr.json → messages.tr.json} +0 -0
  1455. /package/assets/components/assets/modal/t9n/{modal.t9n.uk.json → messages.uk.json} +0 -0
  1456. /package/assets/components/assets/modal/t9n/{modal.t9n.vi.json → messages.vi.json} +0 -0
  1457. /package/assets/components/assets/modal/t9n/{modal.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1458. /package/assets/components/assets/modal/t9n/{modal.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1459. /package/assets/components/assets/modal/t9n/{modal.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1460. /package/assets/components/assets/notice/t9n/{notice.t9n.ar.json → messages.ar.json} +0 -0
  1461. /package/assets/components/assets/notice/t9n/{notice.t9n.bg.json → messages.bg.json} +0 -0
  1462. /package/assets/components/assets/notice/t9n/{notice.t9n.bs.json → messages.bs.json} +0 -0
  1463. /package/assets/components/assets/notice/t9n/{notice.t9n.ca.json → messages.ca.json} +0 -0
  1464. /package/assets/components/assets/notice/t9n/{notice.t9n.cs.json → messages.cs.json} +0 -0
  1465. /package/assets/components/assets/notice/t9n/{notice.t9n.da.json → messages.da.json} +0 -0
  1466. /package/assets/components/assets/notice/t9n/{notice.t9n.de.json → messages.de.json} +0 -0
  1467. /package/assets/components/assets/notice/t9n/{notice.t9n.el.json → messages.el.json} +0 -0
  1468. /package/assets/components/assets/notice/t9n/{notice.t9n.en.json → messages.en.json} +0 -0
  1469. /package/assets/components/assets/notice/t9n/{notice.t9n.es.json → messages.es.json} +0 -0
  1470. /package/assets/components/assets/notice/t9n/{notice.t9n.et.json → messages.et.json} +0 -0
  1471. /package/assets/components/assets/notice/t9n/{notice.t9n.fi.json → messages.fi.json} +0 -0
  1472. /package/assets/components/assets/notice/t9n/{notice.t9n.fr.json → messages.fr.json} +0 -0
  1473. /package/assets/components/assets/notice/t9n/{notice.t9n.he.json → messages.he.json} +0 -0
  1474. /package/assets/components/assets/notice/t9n/{notice.t9n.hr.json → messages.hr.json} +0 -0
  1475. /package/assets/components/assets/notice/t9n/{notice.t9n.hu.json → messages.hu.json} +0 -0
  1476. /package/assets/components/assets/notice/t9n/{notice.t9n.id.json → messages.id.json} +0 -0
  1477. /package/assets/components/assets/notice/t9n/{notice.t9n.it.json → messages.it.json} +0 -0
  1478. /package/assets/components/assets/notice/t9n/{notice.t9n.ja.json → messages.ja.json} +0 -0
  1479. /package/assets/components/assets/notice/t9n/{notice.t9n.ko.json → messages.ko.json} +0 -0
  1480. /package/assets/components/assets/notice/t9n/{notice.t9n.lt.json → messages.lt.json} +0 -0
  1481. /package/assets/components/assets/notice/t9n/{notice.t9n.lv.json → messages.lv.json} +0 -0
  1482. /package/assets/components/assets/notice/t9n/{notice.t9n.nl.json → messages.nl.json} +0 -0
  1483. /package/assets/components/assets/notice/t9n/{notice.t9n.no.json → messages.no.json} +0 -0
  1484. /package/assets/components/assets/notice/t9n/{notice.t9n.pl.json → messages.pl.json} +0 -0
  1485. /package/assets/components/assets/notice/t9n/{notice.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1486. /package/assets/components/assets/notice/t9n/{notice.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1487. /package/assets/components/assets/notice/t9n/{notice.t9n.ro.json → messages.ro.json} +0 -0
  1488. /package/assets/components/assets/notice/t9n/{notice.t9n.ru.json → messages.ru.json} +0 -0
  1489. /package/assets/components/assets/notice/t9n/{notice.t9n.sk.json → messages.sk.json} +0 -0
  1490. /package/assets/components/assets/notice/t9n/{notice.t9n.sl.json → messages.sl.json} +0 -0
  1491. /package/assets/components/assets/notice/t9n/{notice.t9n.sr.json → messages.sr.json} +0 -0
  1492. /package/assets/components/assets/notice/t9n/{notice.t9n.sv.json → messages.sv.json} +0 -0
  1493. /package/assets/components/assets/notice/t9n/{notice.t9n.th.json → messages.th.json} +0 -0
  1494. /package/assets/components/assets/notice/t9n/{notice.t9n.tr.json → messages.tr.json} +0 -0
  1495. /package/assets/components/assets/notice/t9n/{notice.t9n.uk.json → messages.uk.json} +0 -0
  1496. /package/assets/components/assets/notice/t9n/{notice.t9n.vi.json → messages.vi.json} +0 -0
  1497. /package/assets/components/assets/notice/t9n/{notice.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1498. /package/assets/components/assets/notice/t9n/{notice.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1499. /package/assets/components/assets/notice/t9n/{notice.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1500. /package/assets/components/assets/pagination/t9n/{pagination.t9n.ar.json → messages.ar.json} +0 -0
  1501. /package/assets/components/assets/pagination/t9n/{pagination.t9n.bg.json → messages.bg.json} +0 -0
  1502. /package/assets/components/assets/pagination/t9n/{pagination.t9n.bs.json → messages.bs.json} +0 -0
  1503. /package/assets/components/assets/pagination/t9n/{pagination.t9n.ca.json → messages.ca.json} +0 -0
  1504. /package/assets/components/assets/pagination/t9n/{pagination.t9n.cs.json → messages.cs.json} +0 -0
  1505. /package/assets/components/assets/pagination/t9n/{pagination.t9n.da.json → messages.da.json} +0 -0
  1506. /package/assets/components/assets/pagination/t9n/{pagination.t9n.de.json → messages.de.json} +0 -0
  1507. /package/assets/components/assets/pagination/t9n/{pagination.t9n.el.json → messages.el.json} +0 -0
  1508. /package/assets/components/assets/pagination/t9n/{pagination.t9n.en.json → messages.en.json} +0 -0
  1509. /package/assets/components/assets/pagination/t9n/{pagination.t9n.es.json → messages.es.json} +0 -0
  1510. /package/assets/components/assets/pagination/t9n/{pagination.t9n.et.json → messages.et.json} +0 -0
  1511. /package/assets/components/assets/pagination/t9n/{pagination.t9n.fi.json → messages.fi.json} +0 -0
  1512. /package/assets/components/assets/pagination/t9n/{pagination.t9n.fr.json → messages.fr.json} +0 -0
  1513. /package/assets/components/assets/pagination/t9n/{pagination.t9n.he.json → messages.he.json} +0 -0
  1514. /package/assets/components/assets/pagination/t9n/{pagination.t9n.hr.json → messages.hr.json} +0 -0
  1515. /package/assets/components/assets/pagination/t9n/{pagination.t9n.hu.json → messages.hu.json} +0 -0
  1516. /package/assets/components/assets/pagination/t9n/{pagination.t9n.id.json → messages.id.json} +0 -0
  1517. /package/assets/components/assets/pagination/t9n/{pagination.t9n.it.json → messages.it.json} +0 -0
  1518. /package/assets/components/assets/pagination/t9n/{pagination.t9n.ja.json → messages.ja.json} +0 -0
  1519. /package/assets/components/assets/pagination/t9n/{pagination.t9n.ko.json → messages.ko.json} +0 -0
  1520. /package/assets/components/assets/pagination/t9n/{pagination.t9n.lt.json → messages.lt.json} +0 -0
  1521. /package/assets/components/assets/pagination/t9n/{pagination.t9n.lv.json → messages.lv.json} +0 -0
  1522. /package/assets/components/assets/pagination/t9n/{pagination.t9n.nl.json → messages.nl.json} +0 -0
  1523. /package/assets/components/assets/pagination/t9n/{pagination.t9n.no.json → messages.no.json} +0 -0
  1524. /package/assets/components/assets/pagination/t9n/{pagination.t9n.pl.json → messages.pl.json} +0 -0
  1525. /package/assets/components/assets/pagination/t9n/{pagination.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1526. /package/assets/components/assets/pagination/t9n/{pagination.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1527. /package/assets/components/assets/pagination/t9n/{pagination.t9n.ro.json → messages.ro.json} +0 -0
  1528. /package/assets/components/assets/pagination/t9n/{pagination.t9n.ru.json → messages.ru.json} +0 -0
  1529. /package/assets/components/assets/pagination/t9n/{pagination.t9n.sk.json → messages.sk.json} +0 -0
  1530. /package/assets/components/assets/pagination/t9n/{pagination.t9n.sl.json → messages.sl.json} +0 -0
  1531. /package/assets/components/assets/pagination/t9n/{pagination.t9n.sr.json → messages.sr.json} +0 -0
  1532. /package/assets/components/assets/pagination/t9n/{pagination.t9n.sv.json → messages.sv.json} +0 -0
  1533. /package/assets/components/assets/pagination/t9n/{pagination.t9n.th.json → messages.th.json} +0 -0
  1534. /package/assets/components/assets/pagination/t9n/{pagination.t9n.tr.json → messages.tr.json} +0 -0
  1535. /package/assets/components/assets/pagination/t9n/{pagination.t9n.uk.json → messages.uk.json} +0 -0
  1536. /package/assets/components/assets/pagination/t9n/{pagination.t9n.vi.json → messages.vi.json} +0 -0
  1537. /package/assets/components/assets/pagination/t9n/{pagination.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1538. /package/assets/components/assets/pagination/t9n/{pagination.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1539. /package/assets/components/assets/pagination/t9n/{pagination.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1540. /package/assets/components/assets/panel/t9n/{panel.t9n.ar.json → messages.ar.json} +0 -0
  1541. /package/assets/components/assets/panel/t9n/{panel.t9n.bg.json → messages.bg.json} +0 -0
  1542. /package/assets/components/assets/panel/t9n/{panel.t9n.bs.json → messages.bs.json} +0 -0
  1543. /package/assets/components/assets/panel/t9n/{panel.t9n.ca.json → messages.ca.json} +0 -0
  1544. /package/assets/components/assets/panel/t9n/{panel.t9n.cs.json → messages.cs.json} +0 -0
  1545. /package/assets/components/assets/panel/t9n/{panel.t9n.da.json → messages.da.json} +0 -0
  1546. /package/assets/components/assets/panel/t9n/{panel.t9n.de.json → messages.de.json} +0 -0
  1547. /package/assets/components/assets/panel/t9n/{panel.t9n.el.json → messages.el.json} +0 -0
  1548. /package/assets/components/assets/panel/t9n/{panel.t9n.en.json → messages.en.json} +0 -0
  1549. /package/assets/components/assets/panel/t9n/{panel.t9n.es.json → messages.es.json} +0 -0
  1550. /package/assets/components/assets/panel/t9n/{panel.t9n.et.json → messages.et.json} +0 -0
  1551. /package/assets/components/assets/panel/t9n/{panel.t9n.fi.json → messages.fi.json} +0 -0
  1552. /package/assets/components/assets/panel/t9n/{panel.t9n.fr.json → messages.fr.json} +0 -0
  1553. /package/assets/components/assets/panel/t9n/{panel.t9n.he.json → messages.he.json} +0 -0
  1554. /package/assets/components/assets/panel/t9n/{panel.t9n.hr.json → messages.hr.json} +0 -0
  1555. /package/assets/components/assets/panel/t9n/{panel.t9n.hu.json → messages.hu.json} +0 -0
  1556. /package/assets/components/assets/panel/t9n/{panel.t9n.id.json → messages.id.json} +0 -0
  1557. /package/assets/components/assets/panel/t9n/{panel.t9n.it.json → messages.it.json} +0 -0
  1558. /package/assets/components/assets/panel/t9n/{panel.t9n.ja.json → messages.ja.json} +0 -0
  1559. /package/assets/components/assets/panel/t9n/{panel.t9n.ko.json → messages.ko.json} +0 -0
  1560. /package/assets/components/assets/panel/t9n/{panel.t9n.lt.json → messages.lt.json} +0 -0
  1561. /package/assets/components/assets/panel/t9n/{panel.t9n.lv.json → messages.lv.json} +0 -0
  1562. /package/assets/components/assets/panel/t9n/{panel.t9n.nl.json → messages.nl.json} +0 -0
  1563. /package/assets/components/assets/panel/t9n/{panel.t9n.no.json → messages.no.json} +0 -0
  1564. /package/assets/components/assets/panel/t9n/{panel.t9n.pl.json → messages.pl.json} +0 -0
  1565. /package/assets/components/assets/panel/t9n/{panel.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1566. /package/assets/components/assets/panel/t9n/{panel.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1567. /package/assets/components/assets/panel/t9n/{panel.t9n.ro.json → messages.ro.json} +0 -0
  1568. /package/assets/components/assets/panel/t9n/{panel.t9n.ru.json → messages.ru.json} +0 -0
  1569. /package/assets/components/assets/panel/t9n/{panel.t9n.sk.json → messages.sk.json} +0 -0
  1570. /package/assets/components/assets/panel/t9n/{panel.t9n.sl.json → messages.sl.json} +0 -0
  1571. /package/assets/components/assets/panel/t9n/{panel.t9n.sr.json → messages.sr.json} +0 -0
  1572. /package/assets/components/assets/panel/t9n/{panel.t9n.sv.json → messages.sv.json} +0 -0
  1573. /package/assets/components/assets/panel/t9n/{panel.t9n.th.json → messages.th.json} +0 -0
  1574. /package/assets/components/assets/panel/t9n/{panel.t9n.tr.json → messages.tr.json} +0 -0
  1575. /package/assets/components/assets/panel/t9n/{panel.t9n.uk.json → messages.uk.json} +0 -0
  1576. /package/assets/components/assets/panel/t9n/{panel.t9n.vi.json → messages.vi.json} +0 -0
  1577. /package/assets/components/assets/panel/t9n/{panel.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1578. /package/assets/components/assets/panel/t9n/{panel.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1579. /package/assets/components/assets/panel/t9n/{panel.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1580. /package/assets/components/assets/popover/t9n/{popover.t9n.ar.json → messages.ar.json} +0 -0
  1581. /package/assets/components/assets/popover/t9n/{popover.t9n.bg.json → messages.bg.json} +0 -0
  1582. /package/assets/components/assets/popover/t9n/{popover.t9n.bs.json → messages.bs.json} +0 -0
  1583. /package/assets/components/assets/popover/t9n/{popover.t9n.ca.json → messages.ca.json} +0 -0
  1584. /package/assets/components/assets/popover/t9n/{popover.t9n.cs.json → messages.cs.json} +0 -0
  1585. /package/assets/components/assets/popover/t9n/{popover.t9n.da.json → messages.da.json} +0 -0
  1586. /package/assets/components/assets/popover/t9n/{popover.t9n.de.json → messages.de.json} +0 -0
  1587. /package/assets/components/assets/popover/t9n/{popover.t9n.el.json → messages.el.json} +0 -0
  1588. /package/assets/components/assets/popover/t9n/{popover.t9n.en.json → messages.en.json} +0 -0
  1589. /package/assets/components/assets/popover/t9n/{popover.t9n.es.json → messages.es.json} +0 -0
  1590. /package/assets/components/assets/popover/t9n/{popover.t9n.et.json → messages.et.json} +0 -0
  1591. /package/assets/components/assets/popover/t9n/{popover.t9n.fi.json → messages.fi.json} +0 -0
  1592. /package/assets/components/assets/popover/t9n/{popover.t9n.fr.json → messages.fr.json} +0 -0
  1593. /package/assets/components/assets/popover/t9n/{popover.t9n.he.json → messages.he.json} +0 -0
  1594. /package/assets/components/assets/popover/t9n/{popover.t9n.hr.json → messages.hr.json} +0 -0
  1595. /package/assets/components/assets/popover/t9n/{popover.t9n.hu.json → messages.hu.json} +0 -0
  1596. /package/assets/components/assets/popover/t9n/{popover.t9n.id.json → messages.id.json} +0 -0
  1597. /package/assets/components/assets/popover/t9n/{popover.t9n.it.json → messages.it.json} +0 -0
  1598. /package/assets/components/assets/popover/t9n/{popover.t9n.ja.json → messages.ja.json} +0 -0
  1599. /package/assets/components/assets/popover/t9n/{popover.t9n.ko.json → messages.ko.json} +0 -0
  1600. /package/assets/components/assets/popover/t9n/{popover.t9n.lt.json → messages.lt.json} +0 -0
  1601. /package/assets/components/assets/popover/t9n/{popover.t9n.lv.json → messages.lv.json} +0 -0
  1602. /package/assets/components/assets/popover/t9n/{popover.t9n.nl.json → messages.nl.json} +0 -0
  1603. /package/assets/components/assets/popover/t9n/{popover.t9n.no.json → messages.no.json} +0 -0
  1604. /package/assets/components/assets/popover/t9n/{popover.t9n.pl.json → messages.pl.json} +0 -0
  1605. /package/assets/components/assets/popover/t9n/{popover.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1606. /package/assets/components/assets/popover/t9n/{popover.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1607. /package/assets/components/assets/popover/t9n/{popover.t9n.ro.json → messages.ro.json} +0 -0
  1608. /package/assets/components/assets/popover/t9n/{popover.t9n.ru.json → messages.ru.json} +0 -0
  1609. /package/assets/components/assets/popover/t9n/{popover.t9n.sk.json → messages.sk.json} +0 -0
  1610. /package/assets/components/assets/popover/t9n/{popover.t9n.sl.json → messages.sl.json} +0 -0
  1611. /package/assets/components/assets/popover/t9n/{popover.t9n.sr.json → messages.sr.json} +0 -0
  1612. /package/assets/components/assets/popover/t9n/{popover.t9n.sv.json → messages.sv.json} +0 -0
  1613. /package/assets/components/assets/popover/t9n/{popover.t9n.th.json → messages.th.json} +0 -0
  1614. /package/assets/components/assets/popover/t9n/{popover.t9n.tr.json → messages.tr.json} +0 -0
  1615. /package/assets/components/assets/popover/t9n/{popover.t9n.uk.json → messages.uk.json} +0 -0
  1616. /package/assets/components/assets/popover/t9n/{popover.t9n.vi.json → messages.vi.json} +0 -0
  1617. /package/assets/components/assets/popover/t9n/{popover.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1618. /package/assets/components/assets/popover/t9n/{popover.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1619. /package/assets/components/assets/popover/t9n/{popover.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1620. /package/assets/components/assets/rating/t9n/{rating.t9n.ar.json → messages.ar.json} +0 -0
  1621. /package/assets/components/assets/rating/t9n/{rating.t9n.bg.json → messages.bg.json} +0 -0
  1622. /package/assets/components/assets/rating/t9n/{rating.t9n.bs.json → messages.bs.json} +0 -0
  1623. /package/assets/components/assets/rating/t9n/{rating.t9n.ca.json → messages.ca.json} +0 -0
  1624. /package/assets/components/assets/rating/t9n/{rating.t9n.cs.json → messages.cs.json} +0 -0
  1625. /package/assets/components/assets/rating/t9n/{rating.t9n.da.json → messages.da.json} +0 -0
  1626. /package/assets/components/assets/rating/t9n/{rating.t9n.de.json → messages.de.json} +0 -0
  1627. /package/assets/components/assets/rating/t9n/{rating.t9n.el.json → messages.el.json} +0 -0
  1628. /package/assets/components/assets/rating/t9n/{rating.t9n.en.json → messages.en.json} +0 -0
  1629. /package/assets/components/assets/rating/t9n/{rating.t9n.es.json → messages.es.json} +0 -0
  1630. /package/assets/components/assets/rating/t9n/{rating.t9n.et.json → messages.et.json} +0 -0
  1631. /package/assets/components/assets/rating/t9n/{rating.t9n.fi.json → messages.fi.json} +0 -0
  1632. /package/assets/components/assets/rating/t9n/{rating.t9n.fr.json → messages.fr.json} +0 -0
  1633. /package/assets/components/assets/rating/t9n/{rating.t9n.he.json → messages.he.json} +0 -0
  1634. /package/assets/components/assets/rating/t9n/{rating.t9n.hr.json → messages.hr.json} +0 -0
  1635. /package/assets/components/assets/rating/t9n/{rating.t9n.hu.json → messages.hu.json} +0 -0
  1636. /package/assets/components/assets/rating/t9n/{rating.t9n.id.json → messages.id.json} +0 -0
  1637. /package/assets/components/assets/rating/t9n/{rating.t9n.it.json → messages.it.json} +0 -0
  1638. /package/assets/components/assets/rating/t9n/{rating.t9n.ja.json → messages.ja.json} +0 -0
  1639. /package/assets/components/assets/rating/t9n/{rating.t9n.ko.json → messages.ko.json} +0 -0
  1640. /package/assets/components/assets/rating/t9n/{rating.t9n.lt.json → messages.lt.json} +0 -0
  1641. /package/assets/components/assets/rating/t9n/{rating.t9n.lv.json → messages.lv.json} +0 -0
  1642. /package/assets/components/assets/rating/t9n/{rating.t9n.nl.json → messages.nl.json} +0 -0
  1643. /package/assets/components/assets/rating/t9n/{rating.t9n.no.json → messages.no.json} +0 -0
  1644. /package/assets/components/assets/rating/t9n/{rating.t9n.pl.json → messages.pl.json} +0 -0
  1645. /package/assets/components/assets/rating/t9n/{rating.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1646. /package/assets/components/assets/rating/t9n/{rating.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1647. /package/assets/components/assets/rating/t9n/{rating.t9n.ro.json → messages.ro.json} +0 -0
  1648. /package/assets/components/assets/rating/t9n/{rating.t9n.ru.json → messages.ru.json} +0 -0
  1649. /package/assets/components/assets/rating/t9n/{rating.t9n.sk.json → messages.sk.json} +0 -0
  1650. /package/assets/components/assets/rating/t9n/{rating.t9n.sl.json → messages.sl.json} +0 -0
  1651. /package/assets/components/assets/rating/t9n/{rating.t9n.sr.json → messages.sr.json} +0 -0
  1652. /package/assets/components/assets/rating/t9n/{rating.t9n.sv.json → messages.sv.json} +0 -0
  1653. /package/assets/components/assets/rating/t9n/{rating.t9n.th.json → messages.th.json} +0 -0
  1654. /package/assets/components/assets/rating/t9n/{rating.t9n.tr.json → messages.tr.json} +0 -0
  1655. /package/assets/components/assets/rating/t9n/{rating.t9n.uk.json → messages.uk.json} +0 -0
  1656. /package/assets/components/assets/rating/t9n/{rating.t9n.vi.json → messages.vi.json} +0 -0
  1657. /package/assets/components/assets/rating/t9n/{rating.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1658. /package/assets/components/assets/rating/t9n/{rating.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1659. /package/assets/components/assets/rating/t9n/{rating.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1660. /package/assets/components/assets/scrim/t9n/{scrim.t9n.ar.json → messages.ar.json} +0 -0
  1661. /package/assets/components/assets/scrim/t9n/{scrim.t9n.bg.json → messages.bg.json} +0 -0
  1662. /package/assets/components/assets/scrim/t9n/{scrim.t9n.bs.json → messages.bs.json} +0 -0
  1663. /package/assets/components/assets/scrim/t9n/{scrim.t9n.ca.json → messages.ca.json} +0 -0
  1664. /package/assets/components/assets/scrim/t9n/{scrim.t9n.cs.json → messages.cs.json} +0 -0
  1665. /package/assets/components/assets/scrim/t9n/{scrim.t9n.da.json → messages.da.json} +0 -0
  1666. /package/assets/components/assets/scrim/t9n/{scrim.t9n.de.json → messages.de.json} +0 -0
  1667. /package/assets/components/assets/scrim/t9n/{scrim.t9n.el.json → messages.el.json} +0 -0
  1668. /package/assets/components/assets/scrim/t9n/{scrim.t9n.en.json → messages.en.json} +0 -0
  1669. /package/assets/components/assets/scrim/t9n/{scrim.t9n.es.json → messages.es.json} +0 -0
  1670. /package/assets/components/assets/scrim/t9n/{scrim.t9n.et.json → messages.et.json} +0 -0
  1671. /package/assets/components/assets/scrim/t9n/{scrim.t9n.fi.json → messages.fi.json} +0 -0
  1672. /package/assets/components/assets/scrim/t9n/{scrim.t9n.fr.json → messages.fr.json} +0 -0
  1673. /package/assets/components/assets/scrim/t9n/{scrim.t9n.he.json → messages.he.json} +0 -0
  1674. /package/assets/components/assets/scrim/t9n/{scrim.t9n.hr.json → messages.hr.json} +0 -0
  1675. /package/assets/components/assets/scrim/t9n/{scrim.t9n.hu.json → messages.hu.json} +0 -0
  1676. /package/assets/components/assets/scrim/t9n/{scrim.t9n.id.json → messages.id.json} +0 -0
  1677. /package/assets/components/assets/scrim/t9n/{scrim.t9n.it.json → messages.it.json} +0 -0
  1678. /package/assets/components/assets/scrim/t9n/{scrim.t9n.ja.json → messages.ja.json} +0 -0
  1679. /package/assets/components/assets/scrim/t9n/{scrim.t9n.ko.json → messages.ko.json} +0 -0
  1680. /package/assets/components/assets/scrim/t9n/{scrim.t9n.lt.json → messages.lt.json} +0 -0
  1681. /package/assets/components/assets/scrim/t9n/{scrim.t9n.lv.json → messages.lv.json} +0 -0
  1682. /package/assets/components/assets/scrim/t9n/{scrim.t9n.nl.json → messages.nl.json} +0 -0
  1683. /package/assets/components/assets/scrim/t9n/{scrim.t9n.no.json → messages.no.json} +0 -0
  1684. /package/assets/components/assets/scrim/t9n/{scrim.t9n.pl.json → messages.pl.json} +0 -0
  1685. /package/assets/components/assets/scrim/t9n/{scrim.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1686. /package/assets/components/assets/scrim/t9n/{scrim.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1687. /package/assets/components/assets/scrim/t9n/{scrim.t9n.ro.json → messages.ro.json} +0 -0
  1688. /package/assets/components/assets/scrim/t9n/{scrim.t9n.ru.json → messages.ru.json} +0 -0
  1689. /package/assets/components/assets/scrim/t9n/{scrim.t9n.sk.json → messages.sk.json} +0 -0
  1690. /package/assets/components/assets/scrim/t9n/{scrim.t9n.sl.json → messages.sl.json} +0 -0
  1691. /package/assets/components/assets/scrim/t9n/{scrim.t9n.sr.json → messages.sr.json} +0 -0
  1692. /package/assets/components/assets/scrim/t9n/{scrim.t9n.sv.json → messages.sv.json} +0 -0
  1693. /package/assets/components/assets/scrim/t9n/{scrim.t9n.th.json → messages.th.json} +0 -0
  1694. /package/assets/components/assets/scrim/t9n/{scrim.t9n.tr.json → messages.tr.json} +0 -0
  1695. /package/assets/components/assets/scrim/t9n/{scrim.t9n.uk.json → messages.uk.json} +0 -0
  1696. /package/assets/components/assets/scrim/t9n/{scrim.t9n.vi.json → messages.vi.json} +0 -0
  1697. /package/assets/components/assets/scrim/t9n/{scrim.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1698. /package/assets/components/assets/scrim/t9n/{scrim.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1699. /package/assets/components/assets/scrim/t9n/{scrim.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1700. /package/assets/components/assets/sheet/t9n/{sheet.t9n.en.json → messages.en.json} +0 -0
  1701. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.ar.json → messages.ar.json} +0 -0
  1702. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.bg.json → messages.bg.json} +0 -0
  1703. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.bs.json → messages.bs.json} +0 -0
  1704. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.ca.json → messages.ca.json} +0 -0
  1705. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.cs.json → messages.cs.json} +0 -0
  1706. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.da.json → messages.da.json} +0 -0
  1707. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.de.json → messages.de.json} +0 -0
  1708. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.el.json → messages.el.json} +0 -0
  1709. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.en.json → messages.en.json} +0 -0
  1710. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.es.json → messages.es.json} +0 -0
  1711. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.et.json → messages.et.json} +0 -0
  1712. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.fi.json → messages.fi.json} +0 -0
  1713. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.fr.json → messages.fr.json} +0 -0
  1714. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.he.json → messages.he.json} +0 -0
  1715. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.hr.json → messages.hr.json} +0 -0
  1716. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.hu.json → messages.hu.json} +0 -0
  1717. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.id.json → messages.id.json} +0 -0
  1718. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.it.json → messages.it.json} +0 -0
  1719. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.ja.json → messages.ja.json} +0 -0
  1720. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.ko.json → messages.ko.json} +0 -0
  1721. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.lt.json → messages.lt.json} +0 -0
  1722. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.lv.json → messages.lv.json} +0 -0
  1723. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.nl.json → messages.nl.json} +0 -0
  1724. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.no.json → messages.no.json} +0 -0
  1725. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.pl.json → messages.pl.json} +0 -0
  1726. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1727. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1728. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.ro.json → messages.ro.json} +0 -0
  1729. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.ru.json → messages.ru.json} +0 -0
  1730. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.sk.json → messages.sk.json} +0 -0
  1731. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.sl.json → messages.sl.json} +0 -0
  1732. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.sr.json → messages.sr.json} +0 -0
  1733. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.sv.json → messages.sv.json} +0 -0
  1734. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.th.json → messages.th.json} +0 -0
  1735. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.tr.json → messages.tr.json} +0 -0
  1736. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.uk.json → messages.uk.json} +0 -0
  1737. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.vi.json → messages.vi.json} +0 -0
  1738. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1739. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1740. /package/assets/components/assets/shell-panel/t9n/{shell-panel.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1741. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.ar.json → messages.ar.json} +0 -0
  1742. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.bg.json → messages.bg.json} +0 -0
  1743. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.bs.json → messages.bs.json} +0 -0
  1744. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.ca.json → messages.ca.json} +0 -0
  1745. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.cs.json → messages.cs.json} +0 -0
  1746. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.da.json → messages.da.json} +0 -0
  1747. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.de.json → messages.de.json} +0 -0
  1748. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.el.json → messages.el.json} +0 -0
  1749. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.en.json → messages.en.json} +0 -0
  1750. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.es.json → messages.es.json} +0 -0
  1751. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.et.json → messages.et.json} +0 -0
  1752. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.fi.json → messages.fi.json} +0 -0
  1753. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.fr.json → messages.fr.json} +0 -0
  1754. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.he.json → messages.he.json} +0 -0
  1755. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.hr.json → messages.hr.json} +0 -0
  1756. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.hu.json → messages.hu.json} +0 -0
  1757. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.id.json → messages.id.json} +0 -0
  1758. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.it.json → messages.it.json} +0 -0
  1759. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.ja.json → messages.ja.json} +0 -0
  1760. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.ko.json → messages.ko.json} +0 -0
  1761. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.lt.json → messages.lt.json} +0 -0
  1762. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.lv.json → messages.lv.json} +0 -0
  1763. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.nl.json → messages.nl.json} +0 -0
  1764. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.no.json → messages.no.json} +0 -0
  1765. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.pl.json → messages.pl.json} +0 -0
  1766. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1767. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1768. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.ro.json → messages.ro.json} +0 -0
  1769. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.ru.json → messages.ru.json} +0 -0
  1770. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.sk.json → messages.sk.json} +0 -0
  1771. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.sl.json → messages.sl.json} +0 -0
  1772. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.sr.json → messages.sr.json} +0 -0
  1773. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.sv.json → messages.sv.json} +0 -0
  1774. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.th.json → messages.th.json} +0 -0
  1775. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.tr.json → messages.tr.json} +0 -0
  1776. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.uk.json → messages.uk.json} +0 -0
  1777. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.vi.json → messages.vi.json} +0 -0
  1778. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1779. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1780. /package/assets/components/assets/sort-handle/t9n/{sort-handle.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1781. /package/assets/components/assets/stepper/t9n/{stepper.t9n.ar.json → messages.ar.json} +0 -0
  1782. /package/assets/components/assets/stepper/t9n/{stepper.t9n.bg.json → messages.bg.json} +0 -0
  1783. /package/assets/components/assets/stepper/t9n/{stepper.t9n.bs.json → messages.bs.json} +0 -0
  1784. /package/assets/components/assets/stepper/t9n/{stepper.t9n.ca.json → messages.ca.json} +0 -0
  1785. /package/assets/components/assets/stepper/t9n/{stepper.t9n.cs.json → messages.cs.json} +0 -0
  1786. /package/assets/components/assets/stepper/t9n/{stepper.t9n.da.json → messages.da.json} +0 -0
  1787. /package/assets/components/assets/stepper/t9n/{stepper.t9n.de.json → messages.de.json} +0 -0
  1788. /package/assets/components/assets/stepper/t9n/{stepper.t9n.el.json → messages.el.json} +0 -0
  1789. /package/assets/components/assets/stepper/t9n/{stepper.t9n.en.json → messages.en.json} +0 -0
  1790. /package/assets/components/assets/stepper/t9n/{stepper.t9n.es.json → messages.es.json} +0 -0
  1791. /package/assets/components/assets/stepper/t9n/{stepper.t9n.et.json → messages.et.json} +0 -0
  1792. /package/assets/components/assets/stepper/t9n/{stepper.t9n.fi.json → messages.fi.json} +0 -0
  1793. /package/assets/components/assets/stepper/t9n/{stepper.t9n.fr.json → messages.fr.json} +0 -0
  1794. /package/assets/components/assets/stepper/t9n/{stepper.t9n.he.json → messages.he.json} +0 -0
  1795. /package/assets/components/assets/stepper/t9n/{stepper.t9n.hr.json → messages.hr.json} +0 -0
  1796. /package/assets/components/assets/stepper/t9n/{stepper.t9n.hu.json → messages.hu.json} +0 -0
  1797. /package/assets/components/assets/stepper/t9n/{stepper.t9n.id.json → messages.id.json} +0 -0
  1798. /package/assets/components/assets/stepper/t9n/{stepper.t9n.it.json → messages.it.json} +0 -0
  1799. /package/assets/components/assets/stepper/t9n/{stepper.t9n.ja.json → messages.ja.json} +0 -0
  1800. /package/assets/components/assets/stepper/t9n/{stepper.t9n.ko.json → messages.ko.json} +0 -0
  1801. /package/assets/components/assets/stepper/t9n/{stepper.t9n.lt.json → messages.lt.json} +0 -0
  1802. /package/assets/components/assets/stepper/t9n/{stepper.t9n.lv.json → messages.lv.json} +0 -0
  1803. /package/assets/components/assets/stepper/t9n/{stepper.t9n.nl.json → messages.nl.json} +0 -0
  1804. /package/assets/components/assets/stepper/t9n/{stepper.t9n.no.json → messages.no.json} +0 -0
  1805. /package/assets/components/assets/stepper/t9n/{stepper.t9n.pl.json → messages.pl.json} +0 -0
  1806. /package/assets/components/assets/stepper/t9n/{stepper.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1807. /package/assets/components/assets/stepper/t9n/{stepper.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1808. /package/assets/components/assets/stepper/t9n/{stepper.t9n.ro.json → messages.ro.json} +0 -0
  1809. /package/assets/components/assets/stepper/t9n/{stepper.t9n.ru.json → messages.ru.json} +0 -0
  1810. /package/assets/components/assets/stepper/t9n/{stepper.t9n.sk.json → messages.sk.json} +0 -0
  1811. /package/assets/components/assets/stepper/t9n/{stepper.t9n.sl.json → messages.sl.json} +0 -0
  1812. /package/assets/components/assets/stepper/t9n/{stepper.t9n.sr.json → messages.sr.json} +0 -0
  1813. /package/assets/components/assets/stepper/t9n/{stepper.t9n.sv.json → messages.sv.json} +0 -0
  1814. /package/assets/components/assets/stepper/t9n/{stepper.t9n.th.json → messages.th.json} +0 -0
  1815. /package/assets/components/assets/stepper/t9n/{stepper.t9n.tr.json → messages.tr.json} +0 -0
  1816. /package/assets/components/assets/stepper/t9n/{stepper.t9n.uk.json → messages.uk.json} +0 -0
  1817. /package/assets/components/assets/stepper/t9n/{stepper.t9n.vi.json → messages.vi.json} +0 -0
  1818. /package/assets/components/assets/stepper/t9n/{stepper.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1819. /package/assets/components/assets/stepper/t9n/{stepper.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1820. /package/assets/components/assets/stepper/t9n/{stepper.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1821. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.ar.json → messages.ar.json} +0 -0
  1822. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.bg.json → messages.bg.json} +0 -0
  1823. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.bs.json → messages.bs.json} +0 -0
  1824. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.ca.json → messages.ca.json} +0 -0
  1825. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.cs.json → messages.cs.json} +0 -0
  1826. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.da.json → messages.da.json} +0 -0
  1827. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.de.json → messages.de.json} +0 -0
  1828. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.el.json → messages.el.json} +0 -0
  1829. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.en.json → messages.en.json} +0 -0
  1830. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.es.json → messages.es.json} +0 -0
  1831. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.et.json → messages.et.json} +0 -0
  1832. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.fi.json → messages.fi.json} +0 -0
  1833. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.fr.json → messages.fr.json} +0 -0
  1834. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.he.json → messages.he.json} +0 -0
  1835. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.hr.json → messages.hr.json} +0 -0
  1836. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.hu.json → messages.hu.json} +0 -0
  1837. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.id.json → messages.id.json} +0 -0
  1838. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.it.json → messages.it.json} +0 -0
  1839. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.ja.json → messages.ja.json} +0 -0
  1840. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.ko.json → messages.ko.json} +0 -0
  1841. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.lt.json → messages.lt.json} +0 -0
  1842. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.lv.json → messages.lv.json} +0 -0
  1843. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.nl.json → messages.nl.json} +0 -0
  1844. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.no.json → messages.no.json} +0 -0
  1845. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.pl.json → messages.pl.json} +0 -0
  1846. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1847. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1848. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.ro.json → messages.ro.json} +0 -0
  1849. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.ru.json → messages.ru.json} +0 -0
  1850. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.sk.json → messages.sk.json} +0 -0
  1851. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.sl.json → messages.sl.json} +0 -0
  1852. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.sr.json → messages.sr.json} +0 -0
  1853. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.sv.json → messages.sv.json} +0 -0
  1854. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.th.json → messages.th.json} +0 -0
  1855. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.tr.json → messages.tr.json} +0 -0
  1856. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.uk.json → messages.uk.json} +0 -0
  1857. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.vi.json → messages.vi.json} +0 -0
  1858. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1859. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1860. /package/assets/components/assets/stepper-item/t9n/{stepper-item.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1861. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.ar.json → messages.ar.json} +0 -0
  1862. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.bg.json → messages.bg.json} +0 -0
  1863. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.bs.json → messages.bs.json} +0 -0
  1864. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.ca.json → messages.ca.json} +0 -0
  1865. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.cs.json → messages.cs.json} +0 -0
  1866. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.da.json → messages.da.json} +0 -0
  1867. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.de.json → messages.de.json} +0 -0
  1868. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.el.json → messages.el.json} +0 -0
  1869. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.en.json → messages.en.json} +0 -0
  1870. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.es.json → messages.es.json} +0 -0
  1871. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.et.json → messages.et.json} +0 -0
  1872. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.fi.json → messages.fi.json} +0 -0
  1873. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.fr.json → messages.fr.json} +0 -0
  1874. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.he.json → messages.he.json} +0 -0
  1875. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.hr.json → messages.hr.json} +0 -0
  1876. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.hu.json → messages.hu.json} +0 -0
  1877. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.id.json → messages.id.json} +0 -0
  1878. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.it.json → messages.it.json} +0 -0
  1879. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.ja.json → messages.ja.json} +0 -0
  1880. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.ko.json → messages.ko.json} +0 -0
  1881. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.lt.json → messages.lt.json} +0 -0
  1882. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.lv.json → messages.lv.json} +0 -0
  1883. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.nl.json → messages.nl.json} +0 -0
  1884. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.no.json → messages.no.json} +0 -0
  1885. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.pl.json → messages.pl.json} +0 -0
  1886. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1887. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1888. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.ro.json → messages.ro.json} +0 -0
  1889. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.ru.json → messages.ru.json} +0 -0
  1890. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.sk.json → messages.sk.json} +0 -0
  1891. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.sl.json → messages.sl.json} +0 -0
  1892. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.sr.json → messages.sr.json} +0 -0
  1893. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.sv.json → messages.sv.json} +0 -0
  1894. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.th.json → messages.th.json} +0 -0
  1895. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.tr.json → messages.tr.json} +0 -0
  1896. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.uk.json → messages.uk.json} +0 -0
  1897. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.vi.json → messages.vi.json} +0 -0
  1898. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1899. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1900. /package/assets/components/assets/tab-nav/t9n/{tab-nav.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1901. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.ar.json → messages.ar.json} +0 -0
  1902. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.bg.json → messages.bg.json} +0 -0
  1903. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.bs.json → messages.bs.json} +0 -0
  1904. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.ca.json → messages.ca.json} +0 -0
  1905. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.cs.json → messages.cs.json} +0 -0
  1906. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.da.json → messages.da.json} +0 -0
  1907. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.de.json → messages.de.json} +0 -0
  1908. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.el.json → messages.el.json} +0 -0
  1909. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.en.json → messages.en.json} +0 -0
  1910. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.es.json → messages.es.json} +0 -0
  1911. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.et.json → messages.et.json} +0 -0
  1912. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.fi.json → messages.fi.json} +0 -0
  1913. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.fr.json → messages.fr.json} +0 -0
  1914. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.he.json → messages.he.json} +0 -0
  1915. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.hr.json → messages.hr.json} +0 -0
  1916. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.hu.json → messages.hu.json} +0 -0
  1917. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.id.json → messages.id.json} +0 -0
  1918. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.it.json → messages.it.json} +0 -0
  1919. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.ja.json → messages.ja.json} +0 -0
  1920. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.ko.json → messages.ko.json} +0 -0
  1921. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.lt.json → messages.lt.json} +0 -0
  1922. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.lv.json → messages.lv.json} +0 -0
  1923. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.nl.json → messages.nl.json} +0 -0
  1924. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.no.json → messages.no.json} +0 -0
  1925. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.pl.json → messages.pl.json} +0 -0
  1926. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1927. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1928. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.ro.json → messages.ro.json} +0 -0
  1929. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.ru.json → messages.ru.json} +0 -0
  1930. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.sk.json → messages.sk.json} +0 -0
  1931. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.sl.json → messages.sl.json} +0 -0
  1932. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.sr.json → messages.sr.json} +0 -0
  1933. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.sv.json → messages.sv.json} +0 -0
  1934. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.th.json → messages.th.json} +0 -0
  1935. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.tr.json → messages.tr.json} +0 -0
  1936. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.uk.json → messages.uk.json} +0 -0
  1937. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.vi.json → messages.vi.json} +0 -0
  1938. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1939. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1940. /package/assets/components/assets/tab-title/t9n/{tab-title.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1941. /package/assets/components/assets/table/t9n/{table.t9n.ar.json → messages.ar.json} +0 -0
  1942. /package/assets/components/assets/table/t9n/{table.t9n.bg.json → messages.bg.json} +0 -0
  1943. /package/assets/components/assets/table/t9n/{table.t9n.bs.json → messages.bs.json} +0 -0
  1944. /package/assets/components/assets/table/t9n/{table.t9n.ca.json → messages.ca.json} +0 -0
  1945. /package/assets/components/assets/table/t9n/{table.t9n.cs.json → messages.cs.json} +0 -0
  1946. /package/assets/components/assets/table/t9n/{table.t9n.da.json → messages.da.json} +0 -0
  1947. /package/assets/components/assets/table/t9n/{table.t9n.de.json → messages.de.json} +0 -0
  1948. /package/assets/components/assets/table/t9n/{table.t9n.el.json → messages.el.json} +0 -0
  1949. /package/assets/components/assets/table/t9n/{table.t9n.en.json → messages.en.json} +0 -0
  1950. /package/assets/components/assets/table/t9n/{table.t9n.es.json → messages.es.json} +0 -0
  1951. /package/assets/components/assets/table/t9n/{table.t9n.et.json → messages.et.json} +0 -0
  1952. /package/assets/components/assets/table/t9n/{table.t9n.fi.json → messages.fi.json} +0 -0
  1953. /package/assets/components/assets/table/t9n/{table.t9n.fr.json → messages.fr.json} +0 -0
  1954. /package/assets/components/assets/table/t9n/{table.t9n.he.json → messages.he.json} +0 -0
  1955. /package/assets/components/assets/table/t9n/{table.t9n.hr.json → messages.hr.json} +0 -0
  1956. /package/assets/components/assets/table/t9n/{table.t9n.hu.json → messages.hu.json} +0 -0
  1957. /package/assets/components/assets/table/t9n/{table.t9n.id.json → messages.id.json} +0 -0
  1958. /package/assets/components/assets/table/t9n/{table.t9n.it.json → messages.it.json} +0 -0
  1959. /package/assets/components/assets/table/t9n/{table.t9n.ja.json → messages.ja.json} +0 -0
  1960. /package/assets/components/assets/table/t9n/{table.t9n.ko.json → messages.ko.json} +0 -0
  1961. /package/assets/components/assets/table/t9n/{table.t9n.lt.json → messages.lt.json} +0 -0
  1962. /package/assets/components/assets/table/t9n/{table.t9n.lv.json → messages.lv.json} +0 -0
  1963. /package/assets/components/assets/table/t9n/{table.t9n.nl.json → messages.nl.json} +0 -0
  1964. /package/assets/components/assets/table/t9n/{table.t9n.no.json → messages.no.json} +0 -0
  1965. /package/assets/components/assets/table/t9n/{table.t9n.pl.json → messages.pl.json} +0 -0
  1966. /package/assets/components/assets/table/t9n/{table.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  1967. /package/assets/components/assets/table/t9n/{table.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  1968. /package/assets/components/assets/table/t9n/{table.t9n.ro.json → messages.ro.json} +0 -0
  1969. /package/assets/components/assets/table/t9n/{table.t9n.ru.json → messages.ru.json} +0 -0
  1970. /package/assets/components/assets/table/t9n/{table.t9n.sk.json → messages.sk.json} +0 -0
  1971. /package/assets/components/assets/table/t9n/{table.t9n.sl.json → messages.sl.json} +0 -0
  1972. /package/assets/components/assets/table/t9n/{table.t9n.sr.json → messages.sr.json} +0 -0
  1973. /package/assets/components/assets/table/t9n/{table.t9n.sv.json → messages.sv.json} +0 -0
  1974. /package/assets/components/assets/table/t9n/{table.t9n.th.json → messages.th.json} +0 -0
  1975. /package/assets/components/assets/table/t9n/{table.t9n.tr.json → messages.tr.json} +0 -0
  1976. /package/assets/components/assets/table/t9n/{table.t9n.uk.json → messages.uk.json} +0 -0
  1977. /package/assets/components/assets/table/t9n/{table.t9n.vi.json → messages.vi.json} +0 -0
  1978. /package/assets/components/assets/table/t9n/{table.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  1979. /package/assets/components/assets/table/t9n/{table.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  1980. /package/assets/components/assets/table/t9n/{table.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  1981. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.ar.json → messages.ar.json} +0 -0
  1982. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.bg.json → messages.bg.json} +0 -0
  1983. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.bs.json → messages.bs.json} +0 -0
  1984. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.ca.json → messages.ca.json} +0 -0
  1985. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.cs.json → messages.cs.json} +0 -0
  1986. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.da.json → messages.da.json} +0 -0
  1987. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.de.json → messages.de.json} +0 -0
  1988. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.el.json → messages.el.json} +0 -0
  1989. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.en.json → messages.en.json} +0 -0
  1990. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.es.json → messages.es.json} +0 -0
  1991. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.et.json → messages.et.json} +0 -0
  1992. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.fi.json → messages.fi.json} +0 -0
  1993. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.fr.json → messages.fr.json} +0 -0
  1994. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.he.json → messages.he.json} +0 -0
  1995. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.hr.json → messages.hr.json} +0 -0
  1996. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.hu.json → messages.hu.json} +0 -0
  1997. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.id.json → messages.id.json} +0 -0
  1998. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.it.json → messages.it.json} +0 -0
  1999. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.ja.json → messages.ja.json} +0 -0
  2000. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.ko.json → messages.ko.json} +0 -0
  2001. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.lt.json → messages.lt.json} +0 -0
  2002. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.lv.json → messages.lv.json} +0 -0
  2003. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.nl.json → messages.nl.json} +0 -0
  2004. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.no.json → messages.no.json} +0 -0
  2005. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.pl.json → messages.pl.json} +0 -0
  2006. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  2007. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  2008. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.ro.json → messages.ro.json} +0 -0
  2009. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.ru.json → messages.ru.json} +0 -0
  2010. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.sk.json → messages.sk.json} +0 -0
  2011. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.sl.json → messages.sl.json} +0 -0
  2012. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.sr.json → messages.sr.json} +0 -0
  2013. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.sv.json → messages.sv.json} +0 -0
  2014. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.th.json → messages.th.json} +0 -0
  2015. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.tr.json → messages.tr.json} +0 -0
  2016. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.uk.json → messages.uk.json} +0 -0
  2017. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.vi.json → messages.vi.json} +0 -0
  2018. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  2019. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  2020. /package/assets/components/assets/table-cell/t9n/{table-cell.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  2021. /package/assets/components/assets/table-header/t9n/{table-header.t9n.ar.json → messages.ar.json} +0 -0
  2022. /package/assets/components/assets/table-header/t9n/{table-header.t9n.bg.json → messages.bg.json} +0 -0
  2023. /package/assets/components/assets/table-header/t9n/{table-header.t9n.bs.json → messages.bs.json} +0 -0
  2024. /package/assets/components/assets/table-header/t9n/{table-header.t9n.ca.json → messages.ca.json} +0 -0
  2025. /package/assets/components/assets/table-header/t9n/{table-header.t9n.cs.json → messages.cs.json} +0 -0
  2026. /package/assets/components/assets/table-header/t9n/{table-header.t9n.da.json → messages.da.json} +0 -0
  2027. /package/assets/components/assets/table-header/t9n/{table-header.t9n.de.json → messages.de.json} +0 -0
  2028. /package/assets/components/assets/table-header/t9n/{table-header.t9n.el.json → messages.el.json} +0 -0
  2029. /package/assets/components/assets/table-header/t9n/{table-header.t9n.en.json → messages.en.json} +0 -0
  2030. /package/assets/components/assets/table-header/t9n/{table-header.t9n.es.json → messages.es.json} +0 -0
  2031. /package/assets/components/assets/table-header/t9n/{table-header.t9n.et.json → messages.et.json} +0 -0
  2032. /package/assets/components/assets/table-header/t9n/{table-header.t9n.fi.json → messages.fi.json} +0 -0
  2033. /package/assets/components/assets/table-header/t9n/{table-header.t9n.fr.json → messages.fr.json} +0 -0
  2034. /package/assets/components/assets/table-header/t9n/{table-header.t9n.he.json → messages.he.json} +0 -0
  2035. /package/assets/components/assets/table-header/t9n/{table-header.t9n.hr.json → messages.hr.json} +0 -0
  2036. /package/assets/components/assets/table-header/t9n/{table-header.t9n.hu.json → messages.hu.json} +0 -0
  2037. /package/assets/components/assets/table-header/t9n/{table-header.t9n.id.json → messages.id.json} +0 -0
  2038. /package/assets/components/assets/table-header/t9n/{table-header.t9n.it.json → messages.it.json} +0 -0
  2039. /package/assets/components/assets/table-header/t9n/{table-header.t9n.ja.json → messages.ja.json} +0 -0
  2040. /package/assets/components/assets/table-header/t9n/{table-header.t9n.ko.json → messages.ko.json} +0 -0
  2041. /package/assets/components/assets/table-header/t9n/{table-header.t9n.lt.json → messages.lt.json} +0 -0
  2042. /package/assets/components/assets/table-header/t9n/{table-header.t9n.lv.json → messages.lv.json} +0 -0
  2043. /package/assets/components/assets/table-header/t9n/{table-header.t9n.nl.json → messages.nl.json} +0 -0
  2044. /package/assets/components/assets/table-header/t9n/{table-header.t9n.no.json → messages.no.json} +0 -0
  2045. /package/assets/components/assets/table-header/t9n/{table-header.t9n.pl.json → messages.pl.json} +0 -0
  2046. /package/assets/components/assets/table-header/t9n/{table-header.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  2047. /package/assets/components/assets/table-header/t9n/{table-header.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  2048. /package/assets/components/assets/table-header/t9n/{table-header.t9n.ro.json → messages.ro.json} +0 -0
  2049. /package/assets/components/assets/table-header/t9n/{table-header.t9n.ru.json → messages.ru.json} +0 -0
  2050. /package/assets/components/assets/table-header/t9n/{table-header.t9n.sk.json → messages.sk.json} +0 -0
  2051. /package/assets/components/assets/table-header/t9n/{table-header.t9n.sl.json → messages.sl.json} +0 -0
  2052. /package/assets/components/assets/table-header/t9n/{table-header.t9n.sr.json → messages.sr.json} +0 -0
  2053. /package/assets/components/assets/table-header/t9n/{table-header.t9n.sv.json → messages.sv.json} +0 -0
  2054. /package/assets/components/assets/table-header/t9n/{table-header.t9n.th.json → messages.th.json} +0 -0
  2055. /package/assets/components/assets/table-header/t9n/{table-header.t9n.tr.json → messages.tr.json} +0 -0
  2056. /package/assets/components/assets/table-header/t9n/{table-header.t9n.uk.json → messages.uk.json} +0 -0
  2057. /package/assets/components/assets/table-header/t9n/{table-header.t9n.vi.json → messages.vi.json} +0 -0
  2058. /package/assets/components/assets/table-header/t9n/{table-header.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  2059. /package/assets/components/assets/table-header/t9n/{table-header.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  2060. /package/assets/components/assets/table-header/t9n/{table-header.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  2061. /package/assets/components/assets/text-area/t9n/{text-area.t9n.ar.json → messages.ar.json} +0 -0
  2062. /package/assets/components/assets/text-area/t9n/{text-area.t9n.bg.json → messages.bg.json} +0 -0
  2063. /package/assets/components/assets/text-area/t9n/{text-area.t9n.bs.json → messages.bs.json} +0 -0
  2064. /package/assets/components/assets/text-area/t9n/{text-area.t9n.ca.json → messages.ca.json} +0 -0
  2065. /package/assets/components/assets/text-area/t9n/{text-area.t9n.cs.json → messages.cs.json} +0 -0
  2066. /package/assets/components/assets/text-area/t9n/{text-area.t9n.da.json → messages.da.json} +0 -0
  2067. /package/assets/components/assets/text-area/t9n/{text-area.t9n.de.json → messages.de.json} +0 -0
  2068. /package/assets/components/assets/text-area/t9n/{text-area.t9n.el.json → messages.el.json} +0 -0
  2069. /package/assets/components/assets/text-area/t9n/{text-area.t9n.es.json → messages.es.json} +0 -0
  2070. /package/assets/components/assets/text-area/t9n/{text-area.t9n.et.json → messages.et.json} +0 -0
  2071. /package/assets/components/assets/text-area/t9n/{text-area.t9n.fi.json → messages.fi.json} +0 -0
  2072. /package/assets/components/assets/text-area/t9n/{text-area.t9n.fr.json → messages.fr.json} +0 -0
  2073. /package/assets/components/assets/text-area/t9n/{text-area.t9n.he.json → messages.he.json} +0 -0
  2074. /package/assets/components/assets/text-area/t9n/{text-area.t9n.hr.json → messages.hr.json} +0 -0
  2075. /package/assets/components/assets/text-area/t9n/{text-area.t9n.hu.json → messages.hu.json} +0 -0
  2076. /package/assets/components/assets/text-area/t9n/{text-area.t9n.id.json → messages.id.json} +0 -0
  2077. /package/assets/components/assets/text-area/t9n/{text-area.t9n.it.json → messages.it.json} +0 -0
  2078. /package/assets/components/assets/text-area/t9n/{text-area.t9n.ja.json → messages.ja.json} +0 -0
  2079. /package/assets/components/assets/text-area/t9n/{text-area.t9n.ko.json → messages.ko.json} +0 -0
  2080. /package/assets/components/assets/text-area/t9n/{text-area.t9n.lt.json → messages.lt.json} +0 -0
  2081. /package/assets/components/assets/text-area/t9n/{text-area.t9n.lv.json → messages.lv.json} +0 -0
  2082. /package/assets/components/assets/text-area/t9n/{text-area.t9n.nl.json → messages.nl.json} +0 -0
  2083. /package/assets/components/assets/text-area/t9n/{text-area.t9n.no.json → messages.no.json} +0 -0
  2084. /package/assets/components/assets/text-area/t9n/{text-area.t9n.pl.json → messages.pl.json} +0 -0
  2085. /package/assets/components/assets/text-area/t9n/{text-area.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  2086. /package/assets/components/assets/text-area/t9n/{text-area.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  2087. /package/assets/components/assets/text-area/t9n/{text-area.t9n.ro.json → messages.ro.json} +0 -0
  2088. /package/assets/components/assets/text-area/t9n/{text-area.t9n.ru.json → messages.ru.json} +0 -0
  2089. /package/assets/components/assets/text-area/t9n/{text-area.t9n.sk.json → messages.sk.json} +0 -0
  2090. /package/assets/components/assets/text-area/t9n/{text-area.t9n.sl.json → messages.sl.json} +0 -0
  2091. /package/assets/components/assets/text-area/t9n/{text-area.t9n.sr.json → messages.sr.json} +0 -0
  2092. /package/assets/components/assets/text-area/t9n/{text-area.t9n.sv.json → messages.sv.json} +0 -0
  2093. /package/assets/components/assets/text-area/t9n/{text-area.t9n.th.json → messages.th.json} +0 -0
  2094. /package/assets/components/assets/text-area/t9n/{text-area.t9n.tr.json → messages.tr.json} +0 -0
  2095. /package/assets/components/assets/text-area/t9n/{text-area.t9n.uk.json → messages.uk.json} +0 -0
  2096. /package/assets/components/assets/text-area/t9n/{text-area.t9n.vi.json → messages.vi.json} +0 -0
  2097. /package/assets/components/assets/text-area/t9n/{text-area.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  2098. /package/assets/components/assets/text-area/t9n/{text-area.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  2099. /package/assets/components/assets/text-area/t9n/{text-area.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  2100. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.ar.json → messages.ar.json} +0 -0
  2101. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.bg.json → messages.bg.json} +0 -0
  2102. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.bs.json → messages.bs.json} +0 -0
  2103. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.ca.json → messages.ca.json} +0 -0
  2104. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.cs.json → messages.cs.json} +0 -0
  2105. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.da.json → messages.da.json} +0 -0
  2106. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.de.json → messages.de.json} +0 -0
  2107. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.el.json → messages.el.json} +0 -0
  2108. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.en.json → messages.en.json} +0 -0
  2109. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.es.json → messages.es.json} +0 -0
  2110. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.et.json → messages.et.json} +0 -0
  2111. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.fi.json → messages.fi.json} +0 -0
  2112. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.fr.json → messages.fr.json} +0 -0
  2113. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.he.json → messages.he.json} +0 -0
  2114. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.hr.json → messages.hr.json} +0 -0
  2115. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.hu.json → messages.hu.json} +0 -0
  2116. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.id.json → messages.id.json} +0 -0
  2117. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.it.json → messages.it.json} +0 -0
  2118. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.ja.json → messages.ja.json} +0 -0
  2119. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.ko.json → messages.ko.json} +0 -0
  2120. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.lt.json → messages.lt.json} +0 -0
  2121. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.lv.json → messages.lv.json} +0 -0
  2122. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.nl.json → messages.nl.json} +0 -0
  2123. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.no.json → messages.no.json} +0 -0
  2124. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.pl.json → messages.pl.json} +0 -0
  2125. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  2126. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  2127. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.ro.json → messages.ro.json} +0 -0
  2128. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.ru.json → messages.ru.json} +0 -0
  2129. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.sk.json → messages.sk.json} +0 -0
  2130. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.sl.json → messages.sl.json} +0 -0
  2131. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.sr.json → messages.sr.json} +0 -0
  2132. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.sv.json → messages.sv.json} +0 -0
  2133. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.th.json → messages.th.json} +0 -0
  2134. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.tr.json → messages.tr.json} +0 -0
  2135. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.uk.json → messages.uk.json} +0 -0
  2136. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.vi.json → messages.vi.json} +0 -0
  2137. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  2138. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  2139. /package/assets/components/assets/time-picker/t9n/{time-picker.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  2140. /package/assets/components/assets/tip/t9n/{tip.t9n.ar.json → messages.ar.json} +0 -0
  2141. /package/assets/components/assets/tip/t9n/{tip.t9n.bg.json → messages.bg.json} +0 -0
  2142. /package/assets/components/assets/tip/t9n/{tip.t9n.bs.json → messages.bs.json} +0 -0
  2143. /package/assets/components/assets/tip/t9n/{tip.t9n.ca.json → messages.ca.json} +0 -0
  2144. /package/assets/components/assets/tip/t9n/{tip.t9n.cs.json → messages.cs.json} +0 -0
  2145. /package/assets/components/assets/tip/t9n/{tip.t9n.da.json → messages.da.json} +0 -0
  2146. /package/assets/components/assets/tip/t9n/{tip.t9n.de.json → messages.de.json} +0 -0
  2147. /package/assets/components/assets/tip/t9n/{tip.t9n.el.json → messages.el.json} +0 -0
  2148. /package/assets/components/assets/tip/t9n/{tip.t9n.en.json → messages.en.json} +0 -0
  2149. /package/assets/components/assets/tip/t9n/{tip.t9n.es.json → messages.es.json} +0 -0
  2150. /package/assets/components/assets/tip/t9n/{tip.t9n.et.json → messages.et.json} +0 -0
  2151. /package/assets/components/assets/tip/t9n/{tip.t9n.fi.json → messages.fi.json} +0 -0
  2152. /package/assets/components/assets/tip/t9n/{tip.t9n.fr.json → messages.fr.json} +0 -0
  2153. /package/assets/components/assets/tip/t9n/{tip.t9n.he.json → messages.he.json} +0 -0
  2154. /package/assets/components/assets/tip/t9n/{tip.t9n.hr.json → messages.hr.json} +0 -0
  2155. /package/assets/components/assets/tip/t9n/{tip.t9n.hu.json → messages.hu.json} +0 -0
  2156. /package/assets/components/assets/tip/t9n/{tip.t9n.id.json → messages.id.json} +0 -0
  2157. /package/assets/components/assets/tip/t9n/{tip.t9n.it.json → messages.it.json} +0 -0
  2158. /package/assets/components/assets/tip/t9n/{tip.t9n.ja.json → messages.ja.json} +0 -0
  2159. /package/assets/components/assets/tip/t9n/{tip.t9n.ko.json → messages.ko.json} +0 -0
  2160. /package/assets/components/assets/tip/t9n/{tip.t9n.lt.json → messages.lt.json} +0 -0
  2161. /package/assets/components/assets/tip/t9n/{tip.t9n.lv.json → messages.lv.json} +0 -0
  2162. /package/assets/components/assets/tip/t9n/{tip.t9n.nl.json → messages.nl.json} +0 -0
  2163. /package/assets/components/assets/tip/t9n/{tip.t9n.no.json → messages.no.json} +0 -0
  2164. /package/assets/components/assets/tip/t9n/{tip.t9n.pl.json → messages.pl.json} +0 -0
  2165. /package/assets/components/assets/tip/t9n/{tip.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  2166. /package/assets/components/assets/tip/t9n/{tip.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  2167. /package/assets/components/assets/tip/t9n/{tip.t9n.ro.json → messages.ro.json} +0 -0
  2168. /package/assets/components/assets/tip/t9n/{tip.t9n.ru.json → messages.ru.json} +0 -0
  2169. /package/assets/components/assets/tip/t9n/{tip.t9n.sk.json → messages.sk.json} +0 -0
  2170. /package/assets/components/assets/tip/t9n/{tip.t9n.sl.json → messages.sl.json} +0 -0
  2171. /package/assets/components/assets/tip/t9n/{tip.t9n.sr.json → messages.sr.json} +0 -0
  2172. /package/assets/components/assets/tip/t9n/{tip.t9n.sv.json → messages.sv.json} +0 -0
  2173. /package/assets/components/assets/tip/t9n/{tip.t9n.th.json → messages.th.json} +0 -0
  2174. /package/assets/components/assets/tip/t9n/{tip.t9n.tr.json → messages.tr.json} +0 -0
  2175. /package/assets/components/assets/tip/t9n/{tip.t9n.uk.json → messages.uk.json} +0 -0
  2176. /package/assets/components/assets/tip/t9n/{tip.t9n.vi.json → messages.vi.json} +0 -0
  2177. /package/assets/components/assets/tip/t9n/{tip.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  2178. /package/assets/components/assets/tip/t9n/{tip.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  2179. /package/assets/components/assets/tip/t9n/{tip.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
  2180. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.ar.json → messages.ar.json} +0 -0
  2181. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.bg.json → messages.bg.json} +0 -0
  2182. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.bs.json → messages.bs.json} +0 -0
  2183. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.ca.json → messages.ca.json} +0 -0
  2184. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.cs.json → messages.cs.json} +0 -0
  2185. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.da.json → messages.da.json} +0 -0
  2186. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.de.json → messages.de.json} +0 -0
  2187. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.el.json → messages.el.json} +0 -0
  2188. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.en.json → messages.en.json} +0 -0
  2189. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.es.json → messages.es.json} +0 -0
  2190. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.et.json → messages.et.json} +0 -0
  2191. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.fi.json → messages.fi.json} +0 -0
  2192. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.fr.json → messages.fr.json} +0 -0
  2193. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.he.json → messages.he.json} +0 -0
  2194. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.hr.json → messages.hr.json} +0 -0
  2195. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.hu.json → messages.hu.json} +0 -0
  2196. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.id.json → messages.id.json} +0 -0
  2197. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.it.json → messages.it.json} +0 -0
  2198. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.ja.json → messages.ja.json} +0 -0
  2199. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.ko.json → messages.ko.json} +0 -0
  2200. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.lt.json → messages.lt.json} +0 -0
  2201. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.lv.json → messages.lv.json} +0 -0
  2202. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.nl.json → messages.nl.json} +0 -0
  2203. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.no.json → messages.no.json} +0 -0
  2204. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.pl.json → messages.pl.json} +0 -0
  2205. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.pt-BR.json → messages.pt-BR.json} +0 -0
  2206. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.pt-PT.json → messages.pt-PT.json} +0 -0
  2207. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.ro.json → messages.ro.json} +0 -0
  2208. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.ru.json → messages.ru.json} +0 -0
  2209. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.sk.json → messages.sk.json} +0 -0
  2210. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.sl.json → messages.sl.json} +0 -0
  2211. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.sr.json → messages.sr.json} +0 -0
  2212. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.sv.json → messages.sv.json} +0 -0
  2213. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.th.json → messages.th.json} +0 -0
  2214. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.tr.json → messages.tr.json} +0 -0
  2215. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.uk.json → messages.uk.json} +0 -0
  2216. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.vi.json → messages.vi.json} +0 -0
  2217. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.zh-CN.json → messages.zh-CN.json} +0 -0
  2218. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.zh-HK.json → messages.zh-HK.json} +0 -0
  2219. /package/assets/components/assets/tip-manager/t9n/{tip-manager.t9n.zh-TW.json → messages.zh-TW.json} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5781],{40804:(t,e,s)=>{s.d(e,{U:()=>r});var i=s(34727);function r(t,e,s=0){const r=(0,i.qE)(t,0,a);for(let t=0;t<4;t++)e[s+t]=Math.floor(256*h(r*n[t]))}const n=[1,256,65536,16777216],o=[1/256,1/65536,1/16777216,1/4294967296],a=function(t,e=0){let s=0;for(let i=0;i<4;i++)s+=t[e+i]*o[i];return s}(new Uint8ClampedArray([255,255,255,255]));function h(t){return t-Math.floor(t)}},88340:(t,e,s)=>{function i(){return new Float32Array(2)}function r(t,e){const s=new Float32Array(2);return s[0]=t,s[1]=e,s}function n(){return i()}function o(){return r(1,1)}function a(){return r(1,0)}function h(){return r(0,1)}s.d(e,{Un:()=>l,fA:()=>r,uY:()=>c,vt:()=>i});const c=n(),l=o(),u=a(),d=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:u,UNIT_Y:d,ZEROS:c,clone:function(t){const e=new Float32Array(2);return e[0]=t[0],e[1]=t[1],e},create:i,createView:function(t,e){return new Float32Array(t,e,2)},fromValues:r,ones:o,unitX:a,unitY:h,zeros:n},Symbol.toStringTag,{value:"Module"}))},48163:(t,e,s)=>{function i(){return[0,0]}function r(t,e){return[t,e]}function n(){return r(1,1)}function o(){return r(1,0)}function a(){return r(0,1)}s.d(e,{Un:()=>h,fA:()=>r,vt:()=>i});const h=n(),c=o(),l=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:c,UNIT_Y:l,ZEROS:[0,0],clone:function(t){return[t[0],t[1]]},create:i,createView:function(t,e){return new Float64Array(t,e,2)},fromArray:function(t,e=[0,0]){const s=Math.min(2,t.length);for(let i=0;i<s;++i)e[i]=t[i];return e},fromValues:r,ones:n,unitX:o,unitY:a,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},37585:(t,e,s)=>{s.d(e,{C:()=>r,Cc:()=>g,Io:()=>u,S8:()=>f,WQ:()=>o,e$:()=>y,hZ:()=>n,hs:()=>l,jb:()=>w,l0:()=>m,t2:()=>x});var i=s(34304);function r(t,e){return t[0]=e[0],t[1]=e[1],t}function n(t,e,s){return t[0]=e,t[1]=s,t}function o(t,e,s){return t[0]=e[0]+s[0],t[1]=e[1]+s[1],t}function a(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t}function h(t,e,s){return t[0]=e[0]*s[0],t[1]=e[1]*s[1],t}function c(t,e,s){return t[0]=e[0]/s[0],t[1]=e[1]/s[1],t}function l(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t}function u(t,e){const s=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(s*s+i*i)}function d(t,e){const s=e[0]-t[0],i=e[1]-t[1];return s*s+i*i}function _(t){const e=t[0],s=t[1];return Math.sqrt(e*e+s*s)}function p(t){const e=t[0],s=t[1];return e*e+s*s}function f(t,e){const s=e[0],i=e[1];let r=s*s+i*i;return r>0&&(r=1/Math.sqrt(r),t[0]=e[0]*r,t[1]=e[1]*r),t}function g(t,e,s,i){const r=e[0],n=e[1];return t[0]=r+i*(s[0]-r),t[1]=n+i*(s[1]-n),t}function m(t,e,s){const i=e[0],r=e[1];return t[0]=s[0]*i+s[2]*r+s[4],t[1]=s[1]*i+s[3]*r+s[5],t}function y(t,e,s,i){const r=e[0]-s[0],n=e[1]-s[1],o=Math.sin(i),a=Math.cos(i);return t[0]=r*a-n*o+s[0],t[1]=r*o+n*a+s[1],t}function x(t,e){return t[0]===e[0]&&t[1]===e[1]}const b=_,w=a,v=h,S=c,I=u,M=d,P=p;Object.freeze(Object.defineProperty({__proto__:null,add:o,angle:function(t,e){const s=t[0],i=t[1],r=e[0],n=e[1];let o=s*s+i*i;o>0&&(o=1/Math.sqrt(o));let a=r*r+n*n;a>0&&(a=1/Math.sqrt(a));const h=(s*r+i*n)*o*a;return h>1?0:h<-1?Math.PI:Math.acos(h)},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},copy:r,cross:function(t,e,s){const i=e[0]*s[1]-e[1]*s[0];return t[0]=t[1]=0,t[2]=i,t},dist:I,distance:u,div:S,divide:c,dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},equals:function(t,e){const s=t[0],r=t[1],n=e[0],o=e[1],a=(0,i.FD)();return Math.abs(s-n)<=a*Math.max(1,Math.abs(s),Math.abs(n))&&Math.abs(r-o)<=a*Math.max(1,Math.abs(r),Math.abs(o))},exactEquals:x,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},len:b,length:_,lerp:g,max:function(t,e,s){return t[0]=Math.max(e[0],s[0]),t[1]=Math.max(e[1],s[1]),t},min:function(t,e,s){return t[0]=Math.min(e[0],s[0]),t[1]=Math.min(e[1],s[1]),t},mul:v,multiply:h,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:f,projectAndScale:function(t,e,s,i,r){let n=e[0]-s[0],o=e[1]-s[1];const a=(i[0]*n+i[1]*o)*(r-1);return n=i[0]*a,o=i[1]*a,t[0]=e[0]+n,t[1]=e[1]+o,t},random:function(t,e=1){const s=2*(0,i.Ov)()*Math.PI;return t[0]=Math.cos(s)*e,t[1]=Math.sin(s)*e,t},rotate:y,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},scale:l,scaleAndAdd:function(t,e,s,i){return t[0]=e[0]+s[0]*i,t[1]=e[1]+s[1]*i,t},set:n,sqrDist:M,sqrLen:P,squaredDistance:d,squaredLength:p,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:w,subtract:a,transformMat2:function(t,e,s){const i=e[0],r=e[1];return t[0]=s[0]*i+s[2]*r,t[1]=s[1]*i+s[3]*r,t},transformMat2d:m,transformMat3:function(t,e,s){const i=e[0],r=e[1];return t[0]=s[0]*i+s[3]*r+s[6],t[1]=s[1]*i+s[4]*r+s[7],t},transformMat4:function(t,e,s){const i=e[0],r=e[1];return t[0]=s[0]*i+s[4]*r+s[12],t[1]=s[1]*i+s[5]*r+s[13],t}},Symbol.toStringTag,{value:"Module"}))},79897:(t,e,s)=>{s.d(e,{U:()=>l});var i=s(90237),r=s(69622),n=s(36563),o=s(36708),a=s(11932),h=s(10107),c=s(40608);let l=class extends r.A{constructor(){super(...arguments),this.updating=!1,this._handleId=0,this._scheduleHandleId=0,this._pendingPromises=new Set}destroy(){this.removeAll()}add(t,e,s={}){return this._installWatch(t,e,s,o.wB)}addWhen(t,e,s={}){return this._installWatch(t,e,s,o.z7)}addOnCollectionChange(t,e,{initial:s=!1,final:i=!1}={}){const r=++this._handleId;return this.addHandles([(0,o.on)(t,"after-changes",this._createSyncUpdatingCallback(),o.OH),(0,o.on)(t,"change",e,{onListenerAdd:s?t=>e({added:t.toArray(),removed:[]}):void 0,onListenerRemove:i?t=>e({added:[],removed:t.toArray()}):void 0})],r),(0,n.hA)((()=>this.removeHandles(r)))}addPromise(t){if(null==t)return t;const e=++this._handleId;this.addHandles((0,n.hA)((()=>{this._pendingPromises.delete(t)&&(0!==this._pendingPromises.size||this.hasHandles(u)||this._set("updating",!1))})),e),this._pendingPromises.add(t),this._set("updating",!0);const s=()=>this.removeHandles(e);return t.then(s,s),t}removeAll(){this._pendingPromises.clear(),this.removeAllHandles(),this._set("updating",!1)}_installWatch(t,e,s={},i){const r=++this._handleId;s.sync||this._installSyncUpdatingWatch(t,r);const o=i(t,e,s);return this.addHandles(o,r),(0,n.hA)((()=>this.removeHandles(r)))}_installSyncUpdatingWatch(t,e){const s=this._createSyncUpdatingCallback(),i=(0,o.wB)(t,s,{sync:!0,equals:()=>!1});return this.addHandles(i,e),i}_createSyncUpdatingCallback(){return()=>{this.removeHandles(u),++this._scheduleHandleId;const t=this._scheduleHandleId;this._get("updating")||this._set("updating",!0),this.addHandles((0,a._)((()=>{t===this._scheduleHandleId&&(this._set("updating",this._pendingPromises.size>0),this.removeHandles(u))})),u)}}};(0,i._)([(0,h.MZ)({readOnly:!0})],l.prototype,"updating",void 0),l=(0,i._)([(0,c.$)("esri.core.support.UpdatingHandles")],l);const u=-42},37730:(t,e,s)=>{s.d(e,{T:()=>r});var i=s(43334);const r={getObjectId:t=>t.objectId,getAttributes:t=>t.attributes,getAttribute:(t,e)=>t.attributes[e],cloneWithGeometry:(t,e)=>new i.Om(e,t.attributes,null,t.objectId),getGeometry:t=>t.geometry,getCentroid:(t,e)=>t.ensureCentroid(e)}},30624:(t,e,s)=>{s.r(e),s.d(e,{createConnection:()=>T});var i=s(90237),r=(s(59456),s(78888)),n=s(49186),o=s(53966),a=s(74887),h=s(84952),c=(s(44208),s(87811),s(40608)),l=s(10107),u=s(62815),d=s(65529);let _=class extends d.A.EventedAccessor{destroy(){this.emit("destroy")}get connectionError(){return this.errorString?new n.A("stream-connection",this.errorString):null}onFeature(t){this.emit("data-received",t)}onMessage(t){this.emit("message-received",t)}};(0,i._)([(0,l.MZ)({readOnly:!0})],_.prototype,"connectionError",null),_=(0,i._)([(0,c.$)("esri.layers.support.StreamConnection")],_);const p=_;var f,g;(g=f||(f={}))[g.CONNECTING=0]="CONNECTING",g[g.OPEN=1]="OPEN",g[g.CLOSING=2]="CLOSING",g[g.CLOSED=3]="CLOSED";let m=class extends p{constructor(t){super({}),this._outstandingMessages=[],this.errorString=null;const{geometryType:e,spatialReference:s,sourceSpatialReference:i}=t;this._config=t,this._featureZScaler=(0,u.N)(e,i,s),this._open()}normalizeCtorArgs(){return{}}async _open(){await this._tryCreateWebSocket(),this.destroyed||await this._handshake()}destroy(){super.destroy(),null!=this._websocket&&(this._websocket.onopen=null,this._websocket.onclose=null,this._websocket.onerror=null,this._websocket.onmessage=null,this._websocket.close()),this._websocket=null}get connectionStatus(){if(null==this._websocket)return"disconnected";switch(this._websocket.readyState){case f.CONNECTING:case f.OPEN:return"connected";case f.CLOSING:case f.CLOSED:return"disconnected"}}sendMessageToSocket(t){null!=this._websocket?this._websocket.send(JSON.stringify(t)):this._outstandingMessages.push(t)}sendMessageToClient(t){this._onMessage(t)}updateCustomParameters(t){this._config.customParameters=t,null!=this._websocket&&this._websocket.close()}async _tryCreateWebSocket(t=this._config.source.path,e=1e3,s=0){try{if(this.destroyed)return;const e=(0,h.a6)(t,this._config.customParameters??{});this._websocket=await this._createWebSocket(e),this.notifyChange("connectionStatus")}catch(i){const r=e/1e3;return this._config.maxReconnectionAttempts&&s>=this._config.maxReconnectionAttempts?(o.A.getLogger(this).error(new n.A("websocket-connection","Exceeded maxReconnectionAttempts attempts. No further attempts will be made")),void this.destroy()):(o.A.getLogger(this).error(new n.A("websocket-connection",`Failed to connect. Attempting to reconnect in ${r}s`,i)),await(0,a.Pl)(e),this._tryCreateWebSocket(t,Math.min(1.5*e,1e3*this._config.maxReconnectionInterval),s+1))}}_setWebSocketJSONParseHandler(t){t.onmessage=t=>{try{const e=JSON.parse(t.data);this._onMessage(e)}catch(t){return void o.A.getLogger(this).error(new n.A("websocket-connection","Failed to parse message, invalid JSON",{error:t}))}}}_createWebSocket(t){return new Promise(((e,s)=>{const i=new WebSocket(t);i.onopen=()=>{if(i.onopen=null,this.destroyed)return i.onclose=null,void i.close();i.onclose=t=>this._onClose(t),i.onerror=t=>this._onError(t),this._setWebSocketJSONParseHandler(i),e(i)},i.onclose=t=>{i.onopen=i.onclose=null,s(t)}}))}async _handshake(t=1e4){const e=this._websocket;if(null==e)return;const s=(0,a.Tw)(),i=e.onmessage,{filter:r,outFields:h,spatialReference:c}=this._config;return s.timeout(t),e.onmessage=t=>{let a=null;try{a=JSON.parse(t.data)}catch(t){}a&&"object"==typeof a||(o.A.getLogger(this).error(new n.A("websocket-connection","Protocol violation. Handshake failed - malformed message",t.data)),s.reject(),this.destroy()),a.spatialReference?.wkid!==c?.wkid&&(o.A.getLogger(this).error(new n.A("websocket-connection",`Protocol violation. Handshake failed - expected wkid of ${c.wkid}`,t.data)),s.reject(),this.destroy()),"json"!==a.format&&(o.A.getLogger(this).error(new n.A("websocket-connection","Protocol violation. Handshake failed - format is not set",t.data)),s.reject(),this.destroy()),r&&a.filter!==r&&o.A.getLogger(this).error(new n.A("websocket-connection","Tried to set filter, but server doesn't support it")),h&&a.outFields!==h&&o.A.getLogger(this).error(new n.A("websocket-connection","Tried to set outFields, but server doesn't support it")),e.onmessage=i;for(const t of this._outstandingMessages)e.send(JSON.stringify(t));this._outstandingMessages=[],s.resolve()},e.send(JSON.stringify({filter:r,outFields:h,format:"json",spatialReference:{wkid:c.wkid}})),s.promise}_onMessage(t){if(this.onMessage(t),"type"in t)switch(t.type){case"features":case"featureResult":for(const e of t.features)null!=this._featureZScaler&&this._featureZScaler(e.geometry),this.onFeature(e)}}_onError(t){const e="Encountered an error over WebSocket connection";this._set("errorString",e),o.A.getLogger(this).error("websocket-connection",e)}_onClose(t){this._websocket=null,this.notifyChange("connectionStatus"),1e3!==t.code&&o.A.getLogger(this).error("websocket-connection",`WebSocket closed unexpectedly with error code ${t.code}`),this.destroyed||this._open()}};(0,i._)([(0,l.MZ)()],m.prototype,"connectionStatus",null),(0,i._)([(0,l.MZ)()],m.prototype,"errorString",void 0),m=(0,i._)([(0,c.$)("esri.layers.graphics.sources.connections.WebSocketConnection")],m);var y=s(80893),x=s(61956),b=s(65864),w=s(16930);const v={maxQueryDepth:5,maxRecordCountFactor:3};let S=class extends m{constructor(t){super({...v,...t}),this._buddyServicesQuery=null,this._relatedFeatures=null}async _open(){const t=await this._fetchServiceDefinition(this._config.source);t.timeInfo.trackIdField||o.A.getLogger(this).warn("GeoEvent service was configured without a TrackIdField. This may result in certain functionality being disabled. The purgeOptions.maxObservations property will have no effect.");const e=this._fetchWebSocketUrl(t.streamUrls,this._config.spatialReference);this._buddyServicesQuery||(this._buddyServicesQuery=this._queryBuddyServices()),await this._buddyServicesQuery,await this._tryCreateWebSocket(e);const{filter:s,outFields:i}=this._config;this.destroyed||this._setFilter(s,i)}_onMessage(t){if("attributes"in t){let e;try{e=this._enrich(t),null!=this._featureZScaler&&this._featureZScaler(e.geometry)}catch(t){return void o.A.getLogger(this).error(new n.A("geoevent-connection","Failed to parse message",t))}this.onFeature(e)}else this.onMessage(t)}async _fetchServiceDefinition(t){const e={f:"json",...this._config.customParameters},s=(0,r.A)(t.path,{query:e,responseType:"json"}),i=(await s).data;return this._serviceDefinition=i,i}_fetchWebSocketUrl(t,e){const s=t[0],{urls:i,token:r}=s,n=this._inferWebSocketBaseUrl(i);return(0,h.a6)(`${n}/subscribe`,{outSR:""+e.wkid,token:r})}_inferWebSocketBaseUrl(t){if(1===t.length)return t[0];for(const e of t)if(e.includes("wss"))return e;return o.A.getLogger(this).error(new n.A("geoevent-connection","Unable to infer WebSocket url",t)),null}async _setFilter(t,e){const s=this._websocket;if(null==s||null==t&&null==e)return;const i=JSON.stringify({filter:this._serializeFilter(t,e)});let r=!1;const h=(0,a.Tw)();return s.onmessage=t=>{const e=JSON.parse(t.data);e.filter&&(e.error&&(o.A.getLogger(this).error(new n.A("geoevent-connection","Failed to set service filter",e.error)),this._set("errorString",`Could not set service filter - ${e.error}`),h.reject(e.error)),this._setWebSocketJSONParseHandler(s),r=!0,h.resolve())},s.send(i),setTimeout((()=>{r||(this.destroyed||this._websocket!==s||o.A.getLogger(this).error(new n.A("geoevent-connection","Server timed out when setting filter")),h.reject())}),1e4),h.promise}_serializeFilter(t,e){const s={};if(null==t&&null==e)return s;if(t?.geometry)try{const e=(0,b.rS)(t.geometry);if("extent"!==e.type)throw new n.A(`Expected extent but found type ${e.type}`);s.geometry=JSON.stringify(e.shiftCentralMeridian())}catch(t){o.A.getLogger(this).error(new n.A("geoevent-connection","Encountered an error when setting connection geometryDefinition",t))}return t?.where&&"1 = 1"!==t.where&&"1=1"!==t.where&&(s.where=t.where),null!=e&&(s.outFields=e.join(",")),s}_enrich(t){if(!this._relatedFeatures)return t;const e=this._serviceDefinition.relatedFeatures.joinField,s=t.attributes[e],i=this._relatedFeatures.get(s);if(!i)return o.A.getLogger(this).warn("geoevent-connection","Feature join failed. Is the join field configured correctly?",t),t;const{attributes:r,geometry:a}=i;for(const e in r)t.attributes[e]=r[e];return a&&(t.geometry=a),t.geometry||t.centroid||o.A.getLogger(this).error(new n.A("geoevent-connection","Found malformed feature - no geometry found",t)),t}async _queryBuddyServices(){try{const{relatedFeatures:t,keepLatestArchive:e}=this._serviceDefinition,s=this._queryRelatedFeatures(t),i=this._queryArchive(e);await s;const r=await i;if(!r)return;for(const t of r.features)this.onFeature(this._enrich(t))}catch(t){o.A.getLogger(this).error(new n.A("geoevent-connection","Encountered an error when querying buddy services",{error:t}))}}async _queryRelatedFeatures(t){if(!t)return;const e=await this._queryBuddy(t.featuresUrl);this._addRelatedFeatures(e)}async _queryArchive(t){if(t)return this._queryBuddy(t.featuresUrl)}async _queryBuddy(t){const e=new((await Promise.all([s.e(6131),s.e(8219),s.e(3874),s.e(1147),s.e(9953),s.e(13),s.e(5494),s.e(4796),s.e(3029),s.e(4111),s.e(777),s.e(3600),s.e(812),s.e(655),s.e(1e3)]).then(s.bind(s,13600))).default)({url:t}),{capabilities:i}=await e.load(),r=i.query.supportsMaxRecordCountFactor,n=i.query.supportsPagination,o=i.query.supportsCentroid,a=this._config.maxRecordCountFactor,h=e.capabilities.query.maxRecordCount,c=r?h*a:h,l=new x.A;if(l.outFields=this._config.outFields??["*"],l.where=this._config.filter?.where??"1=1",l.returnGeometry=!0,l.returnExceededLimitFeatures=!0,l.outSpatialReference=w.A.fromJSON(this._config.spatialReference),o&&(l.returnCentroid=!0),r&&(l.maxRecordCountFactor=a),n)return l.num=c,e.destroy(),this._queryPages(t,l);const u=await(0,y.eW)(t,l,this._config.sourceSpatialReference);return e.destroy(),u.data}async _queryPages(t,e,s=[],i=0){e.start=null!=e.num?i*e.num:null;const{data:r}=await(0,y.eW)(t,e,this._config.sourceSpatialReference);return r.exceededTransferLimit&&i<(this._config.maxQueryDepth??0)?(r.features.forEach((t=>s.push(t))),this._queryPages(t,e,s,i+1)):(s.forEach((t=>r.features.push(t))),r)}_addRelatedFeatures(t){const e=new Map,s=t.features,i=this._serviceDefinition.relatedFeatures.joinField;for(const t of s){const s=t.attributes[i];e.set(s,t)}this._relatedFeatures=e}};S=(0,i._)([(0,c.$)("esri.layers.graphics.sources.connections.GeoEventConnection")],S);const I=S;let M=class extends p{constructor(t){super({}),this.connectionStatus="connected",this.errorString=null;const{geometryType:e,spatialReference:s,sourceSpatialReference:i}=t;this._featureZScaler=(0,u.N)(e,i,s)}normalizeCtorArgs(){return{}}updateCustomParameters(t){}sendMessageToSocket(t){}sendMessageToClient(t){if("type"in t)switch(t.type){case"features":case"featureResult":for(const e of t.features)null!=this._featureZScaler&&this._featureZScaler(e.geometry),this.onFeature(e)}this.onMessage(t)}};function P(t,e){if(null==t&&null==e)return null;const s={};return null!=e&&(s.geometry=e),null!=t&&(s.where=t),s}function T(t,e,s,i,r,n,o,a,h){const c={source:t,sourceSpatialReference:e,spatialReference:s,geometryType:i,filter:P(r,n),maxReconnectionAttempts:o,maxReconnectionInterval:a,customParameters:h};return t?t.path.startsWith("wss://")||t.path.startsWith("ws://")?new m(c):new I(c):new M(c)}(0,i._)([(0,l.MZ)()],M.prototype,"connectionStatus",void 0),(0,i._)([(0,l.MZ)()],M.prototype,"errorString",void 0),M=(0,i._)([(0,c.$)("esri.layers.support.ClientSideConnection")],M)},91806:(t,e,s)=>{s.d(e,{A:()=>l});var i,r=s(90237),n=s(25482),o=s(10107),a=s(56507),h=(s(87811),s(44208),s(40608));let c=i=class extends n.A{constructor(t){super(t),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new i({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,r._)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"cols",void 0),(0,r._)([(0,o.MZ)({type:a.jz,json:{write:!0}})],c.prototype,"level",void 0),(0,r._)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"levelValue",void 0),(0,r._)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"origin",void 0),(0,r._)([(0,o.MZ)({type:Number,json:{write:!0}})],c.prototype,"resolution",void 0),(0,r._)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"rows",void 0),(0,r._)([(0,o.MZ)({type:Number,json:{write:!0}})],c.prototype,"scale",void 0),c=i=(0,r._)([(0,h.$)("esri.layers.support.LOD")],c);const l=c},87045:(t,e,s)=>{s.d(e,{A:()=>I});var i,r=s(90237),n=s(66552),o=s(25482),a=s(83047),h=s(10107),c=s(56507),l=(s(87811),s(44208),s(36005)),u=s(40608),d=s(43937),_=s(86738),p=s(16930),f=s(19419),g=s(21325),m=s(28735),y=s(91806),x=s(72802);const b=new n.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let w=i=class extends o.A{static create(t={}){const{resolutionFactor:e=1,scales:s,size:r=256,spatialReference:n=p.A.WebMercator,numLODs:o=24}=t;if(!(0,g.fn)(n)){const t=[];if(s)for(let e=0;e<s.length;e++){const i=s[e];t.push(new y.A({level:e,scale:i,resolution:i}))}else{let e=5e-4;for(let s=o-1;s>=0;s--)t.unshift(new y.A({level:s,scale:e,resolution:e})),e*=2}return new i({dpi:96,lods:t,origin:new _.A(0,0,n),size:[r,r],spatialReference:n})}const h=(0,g.Vp)(n),c=t.origin?new _.A({x:t.origin.x,y:t.origin.y,spatialReference:n}):new _.A(h?{x:h.origin[0],y:h.origin[1],spatialReference:n}:{x:0,y:0,spatialReference:n}),l=1/(39.37*(0,a.GA)(n)*96),u=[];if(s)for(let t=0;t<s.length;t++){const e=s[t],i=e*l;u.push(new y.A({level:t,scale:e,resolution:i}))}else{let t=(0,g.EA)(n)?512/r*591657527.5917094:256/r*591657527.591555;const s=Math.ceil(o/e);u.push(new y.A({level:0,scale:t,resolution:t*l}));for(let i=1;i<s;i++){const s=t/2**e,r=s*l;u.push(new y.A({level:i,scale:s,resolution:r})),t=s}}return new i({dpi:96,lods:u,origin:c,size:[r,r],spatialReference:n})}constructor(t){super(t),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:t,origin:e}=this;if(t&&e){const s=(0,g.Vp)(t);return t.isWrappable&&!!s&&Math.abs(s.origin[0]-e.x)<=s.dx}return!1}readOrigin(t,e){return _.A.fromJSON({spatialReference:e.spatialReference,...t})}set lods(t){let e=0,s=0;const i=[],r=this._levelToLOD={};t&&(e=-1/0,s=1/0,t.forEach((t=>{i.push(t.scale),e=t.scale>e?t.scale:e,s=t.scale<s?t.scale:s,r[t.level]=t}))),this._set("scales",i),this._set("lods",t),this._initializeUpsampleLevels()}readSize(t,e){return[e.cols,e.rows]}writeSize(t,e){e.cols=t[0],e.rows=t[1]}zoomToScale(t){const e=this.scales;if(t<=0)return e[0];if(t>=e.length-1)return e[e.length-1];const s=Math.floor(t),i=s+1;return e[s]/(e[s]/e[i])**(t-s)}scaleToZoom(t){const e=this.scales,s=e.length-1;let i=0;for(;i<s;i++){const s=e[i],r=e[i+1];if(s<=t)return i;if(r===t)return i+1;if(s>t&&r<t)return i+Math.log(s/t)/Math.log(s/r)}return i}tileAt(t,e,s,i){const r=this.lodAt(t);if(!r)return null;let n,o;if("number"==typeof e)n=e,o=s;else if((0,g.aI)(e.spatialReference,this.spatialReference))n=e.x,o=e.y,i=s;else{const t=(0,m.Cv)(e,this.spatialReference);if(null==t)return null;n=t.x,o=t.y,i=s}const a=r.resolution*this.size[0],h=r.resolution*this.size[1];return i||(i=new x.U(null,0,0,0,(0,f.vt)())),i.level=t,i.row=Math.floor((this.origin.y-o)/h+.001),i.col=Math.floor((n-this.origin.x)/a+.001),this.updateTileInfo(i),i}updateTileInfo(t,e=i.ExtrapolateOptions.NONE){let s=this.lodAt(t.level);if(!s&&e===i.ExtrapolateOptions.POWER_OF_TWO){const e=this.lods[this.lods.length-1];e.level<t.level&&(s=e)}if(!s)return;const r=t.level-s.level,n=s.resolution*this.size[0]/2**r,o=s.resolution*this.size[1]/2**r;t.id=`${t.level}/${t.row}/${t.col}`,t.extent||(t.extent=(0,f.vt)()),t.extent[0]=this.origin.x+t.col*n,t.extent[1]=this.origin.y-(t.row+1)*o,t.extent[2]=t.extent[0]+n,t.extent[3]=t.extent[1]+o}upsampleTile(t){const e=this._upsampleLevels[t.level];return!(!e||-1===e.parentLevel||(t.level=e.parentLevel,t.row=Math.floor(t.row/e.factor+.001),t.col=Math.floor(t.col/e.factor+.001),this.updateTileInfo(t),0))}getTileBounds(t,e){const s=this.lodAt(e.level);if(null==s)return null;const{resolution:i}=s,r=i*this.size[0],n=i*this.size[1];return t[0]=this.origin.x+e.col*r,t[1]=this.origin.y-(e.row+1)*n,t[2]=t[0]+r,t[3]=t[1]+n,t}lodAt(t){return this._levelToLOD?.[t]??null}clone(){return i.fromJSON(this.write({}))}getCompatibleForVTL(t){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===t)return null;const e=(512===this.size[0]&&256===t?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===t&&0===e)return this;const s=[],r=this.lods.length-e;for(let t=0;t<r;t++){const i=t+e,{scale:r,resolution:n}=i>=0?this.lods[i]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};s.push(new y.A({level:t,scale:r,resolution:n}))}return new i({size:[t,t],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:s})}_initializeUpsampleLevels(){const t=this.lods;this._upsampleLevels=[];let e=null;for(let s=0;s<t.length;s++){const i=t[s];this._upsampleLevels[i.level]={parentLevel:e?e.level:-1,factor:e?e.resolution/i.resolution:0},e=i}}};var v,S;(0,r._)([(0,h.MZ)({type:Number,json:{write:!0}})],w.prototype,"compressionQuality",void 0),(0,r._)([(0,h.MZ)({type:Number,json:{write:!0}})],w.prototype,"dpi",void 0),(0,r._)([(0,h.MZ)({type:String,json:{read:b.read,write:b.write,origins:{"web-scene":{read:!1,write:!1}}}})],w.prototype,"format",void 0),(0,r._)([(0,h.MZ)({readOnly:!0})],w.prototype,"isWrappable",null),(0,r._)([(0,h.MZ)({type:_.A,json:{write:!0}})],w.prototype,"origin",void 0),(0,r._)([(0,l.w)("origin")],w.prototype,"readOrigin",null),(0,r._)([(0,h.MZ)({type:[y.A],value:null,json:{write:!0}})],w.prototype,"lods",null),(0,r._)([(0,h.MZ)({readOnly:!0})],w.prototype,"scales",void 0),(0,r._)([(0,h.MZ)({cast:t=>Array.isArray(t)?t:"number"==typeof t?[t,t]:[256,256]})],w.prototype,"size",void 0),(0,r._)([(0,l.w)("size",["rows","cols"])],w.prototype,"readSize",null),(0,r._)([(0,d.K)("size",{cols:{type:c.jz},rows:{type:c.jz}})],w.prototype,"writeSize",null),(0,r._)([(0,h.MZ)({type:p.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),w=i=(0,r._)([(0,u.$)("esri.layers.support.TileInfo")],w),v=w||(w={}),(S=v.ExtrapolateOptions||(v.ExtrapolateOptions={}))[S.NONE=0]="NONE",S[S.POWER_OF_TWO=1]="POWER_OF_TWO";const I=w},72802:(t,e,s)=>{s.d(e,{U:()=>i});class i{constructor(t,e,s,i,r=void 0){this.id=t,this.level=e,this.row=s,this.col=i,this.extent=r}}},60694:(t,e,s)=>{s.d(e,{Fi:()=>l,HZ:()=>m,Jf:()=>g,LS:()=>y,Wo:()=>f,bd:()=>x,cr:()=>_,iz:()=>d,qg:()=>u,yG:()=>p});var i=s(84952),r=s(97159);const n={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",knowledgegraphserver:"KnowledgeGraphServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer","3dtilesserver":"3DTilesServer",videoserver:"VideoServer"},o=Object.values(n),a=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${o.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),h=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^/\\n]+)\\/(${o.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function l(t){return a.test(t)}function u(t){if(null==t)return null;const e=(0,i.An)(t),s=e?.path.match(a)||e?.path.match(h);if(!s)return null;const[,r,o,c,l]=s,u=o.indexOf("/");return{title:_(-1!==u?o.slice(u+1):o),serverType:n[c.toLowerCase()],sublayer:null!=l&&""!==l?parseInt(l,10):null,url:{path:r}}}function d(t){const e=(0,i.An)(t).path.match(c);return e?{serviceUrl:e[1],sublayerId:Number(e[2])}:null}function _(t){return(t=t.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+t.slice(1)}function p(t,e){const s=[];if(t){const e=u(t);null!=e&&e.title&&s.push(e.title)}if(e){const t=_(e);s.push(t)}if(2===s.length){if(s[0].toLowerCase().includes(s[1].toLowerCase()))return s[0];if(s[1].toLowerCase().includes(s[0].toLowerCase()))return s[1]}return s.join(" - ")}function f(t){let e=(0,i.$z)(t,!0);return!!e&&(e=e.toLowerCase(),e.endsWith(".arcgis.com")&&(e.startsWith("services")||e.startsWith("tiles")||e.startsWith("features")))}function g(t,e){return t?(0,i.UC)((0,i.zi)(t,e)):t}function m(t){let{url:e}=t;if(!e)return{url:e};e=(0,i.zi)(e,t.logger);const s=(0,i.An)(e),r=u(s.path);let n;if(null!=r)null!=r.sublayer&&null==t.layer.layerId&&(n=r.sublayer),e=r.url.path;else if(t.nonStandardUrlAllowed){const t=d(s.path);null!=t&&(e=t.serviceUrl,n=t.sublayerId)}return{url:(0,i.UC)(e),layerId:n}}function y(t,e,s,n,o){(0,r.w)(e,n,"url",o),n.url&&null!=t.layerId&&(n.url=(0,i.fj)(n.url,s,t.layerId.toString()))}function x(t){if(!t)return!1;const e=t.toLowerCase(),s=e.includes("/services/"),i=e.includes("/mapserver/wmsserver"),r=e.includes("/imageserver/wmsserver"),n=e.includes("/wmsserver");return s&&(i||r||n)}},65781:(t,e,s)=>{s.r(e),s.d(e,{default:()=>zp});var i=s(49186),r=s(36563),n=s(44208),o=s(26390),a=s(74887),h=s(87811),c=s(36708),l=s(90629),u=s(8341),d=s(87045),_=s(21325),p=s(44159);function f(t,e){return[t,e]}function g(t,e,s){return t[0]=e,t[1]=s,t}const m=new p.A("0/0/0/0");class y{static create(t,e,s=null){const i=(0,_.Vp)(t.spatialReference),r=e.origin||f(t.origin.x,t.origin.y),n=f(t.size[0]*e.resolution,t.size[1]*e.resolution),o=f(-1/0,-1/0),a=f(1/0,1/0),h=f(1/0,1/0);null!=s&&(g(o,Math.max(0,Math.floor((s.xmin-r[0])/n[0])),Math.max(0,Math.floor((r[1]-s.ymax)/n[1]))),g(a,Math.max(0,Math.floor((s.xmax-r[0])/n[0])),Math.max(0,Math.floor((r[1]-s.ymin)/n[1]))),g(h,a[0]-o[0]+1,a[1]-o[1]+1));const{cols:c,rows:l}=e;let u,d,p,m;return!s&&c&&l&&(g(o,c[0],l[0]),g(a,c[1],l[1]),g(h,c[1]-c[0]+1,l[1]-l[0]+1)),t.isWrappable?(u=f(Math.ceil(Math.round((i.valid[1]-i.valid[0])/e.resolution)/t.size[0]),h[1]),d=!0,p=i.origin,m=i.valid):(u=h,d=!1),new y(e.level,e.resolution,e.scale,r,o,a,h,n,u,d,p,m)}constructor(t,e,s,i,r,n,o,a,h,c,l,u){this.level=t,this.resolution=e,this.scale=s,this.origin=i,this.first=r,this.last=n,this.size=o,this.norm=a,this.worldSize=h,this.wrap=c,this._spatialReferenceOrigin=l,this._spatialReferenceValid=u}normalizeCol(t){if(!this.wrap)return t;const e=this.worldSize[0];return t<0?e-1-Math.abs((t+1)%e):t%e}normalizeKey(t){if(!this.wrap)return;const e=this.worldSize[0],s=t.col;s<0?(t.col=s+e,t.world-=1):s>=e&&(t.col=s-e,t.world+=1)}denormalizeCol(t,e){return this.wrap?this.worldSize[0]*e+t:t}getWorldForColumn(t){return this.wrap?Math.floor(t/this.worldSize[0]):0}getFirstColumnForWorld(t){return t*this.worldSize[0]+this.first[0]}getLastColumnForWorld(t){return t*this.worldSize[0]+this.first[0]+this.size[0]-1}getColumnForX(t){return(t-this.origin[0])/this.norm[0]}getXForColumn(t){const e=this.origin[0]+t*this.norm[0],s=this._spatialReferenceOrigin,i=this._spatialReferenceValid;return this.wrap&&s&&i?e===s[0]?i[0]:this.origin[0]===s[0]&&t===this.worldSize[0]?i[1]:e:e}getRowForY(t){return(this.origin[1]-t)/this.norm[1]}getYForRow(t){return this.origin[1]-t*this.norm[1]}getTileBounds(t,e,s=!1){m.set(e);const i=s?m.col:this.denormalizeCol(m.col,m.world),r=m.row;return function(t,e,s,i,r){t[0]=e,t[1]=s,t[2]=i,t[3]=r}(t,this.getXForColumn(i),this.getYForRow(r+1),this.getXForColumn(i+1),this.getYForRow(r)),t}getTileCoords(t,e,s=!1){m.set(e);const i=s?m.col:this.denormalizeCol(m.col,m.world);return Array.isArray(t)?g(t,this.getXForColumn(i),this.getYForRow(m.row)):(t.x=this.getXForColumn(i),t.y=this.getYForRow(m.row)),t}}var x=s(93687);class b{constructor(){this.spans=[]}acquire(t){this.lodInfo=t}release(){this.lodInfo=null,this.spans.length=0}*keys(){const t=this.lodInfo;for(const{row:e,colFrom:s,colTo:i}of this.spans)for(let r=s;r<=i;r++){const s=t.getWorldForColumn(r);yield new p.A(t.level,e,t.normalizeCol(r),s)}}forEach(t,e){const{spans:s,lodInfo:i}=this,{level:r}=i;if(0!==s.length)for(const{row:n,colFrom:o,colTo:a}of s)for(let s=o;s<=a;s++)t.call(e,r,n,i.normalizeCol(s),i.getWorldForColumn(s))}}b.pool=new x.A(b);class w{constructor(t,e,s){this.row=t,this.colFrom=e,this.colTo=s}}const v=new p.A("0/0/0/0");class S{static create(t,e){t[1]>e[1]&&([t,e]=[e,t]);const[s,i]=t,[r,n]=e,o=r-s,a=n-i,h=0!==a?o/a:0,c=(Math.ceil(i)-i)*h,l=(Math.floor(i)-i)*h;return new S(s,Math.floor(i),Math.ceil(n),h,o<0?c:l,o<0?l:c,o<0?r:s,o<0?s:r)}constructor(t,e,s,i,r,n,o,a){this.x=t,this.ymin=e,this.ymax=s,this.invM=i,this.leftAdjust=r,this.rightAdjust=n,this.leftBound=o,this.rightBound=a}incrRow(){this.x+=this.invM}getLeftCol(){return Math.max(this.x+this.leftAdjust,this.leftBound)}getRightCol(){return Math.min(this.x+this.rightAdjust,this.rightBound)}}const I=[[0,0],[0,0],[0,0],[0,0]];class M{constructor(t,e=null,s=t.lods[0].level,i=t.lods[t.lods.length-1].level){this.tileInfo=t,this.fullExtent=e,this.scales=[],this._infoByScale={},this._infoByLevel={};const r=t.lods.filter((t=>t.level>=s&&t.level<=i));this.minScale=r[0].scale,this.maxScale=r[r.length-1].scale;const n=this._lodInfos=r.map((s=>y.create(t,s,e)));r.forEach(((t,e)=>{this._infoByLevel[t.level]=n[e],this._infoByScale[t.scale]=n[e],this.scales[e]=t.scale}),this),this._wrap=t.isWrappable}get spatialReference(){return this.tileInfo.spatialReference}getLODInfoAt(t){return this._infoByLevel["number"==typeof t?t:t.level]}getTileBounds(t,e,s=!1){v.set(e);const i=this._infoByLevel[v.level];return i?i.getTileBounds(t,v,s):t}getTileCoords(t,e,s=!1){v.set(e);const i=this._infoByLevel[v.level];return i?i.getTileCoords(t,v,s):t}getTileCoverage(t,e=192,s=!0,i="closest"){if(!s&&(t.scale>this.minScale||t.scale<this.maxScale))return null;const r="closest"===i?this.getClosestInfoForScale(t.scale):this.getSmallestInfoForScale(t.scale),n=b.pool.acquire(r),o=this._wrap;let a,h,c,l=1/0,u=-1/0;const d=n.spans;I[0][0]=I[0][1]=I[1][1]=I[3][0]=-e,I[1][0]=I[2][0]=t.size[0]+e,I[2][1]=I[3][1]=t.size[1]+e;for(const e of I)t.toMap(e,e),e[0]=r.getColumnForX(e[0]),e[1]=r.getRowForY(e[1]);const _=[];let p=3;for(let t=0;t<4;t++){if(I[t][1]===I[p][1]){p=t;continue}const e=S.create(I[t],I[p]);l=Math.min(e.ymin,l),u=Math.max(e.ymax,u),void 0===_[e.ymin]&&(_[e.ymin]=[]),_[e.ymin].push(e),p=t}if(null==l||null==u||u-l>100)return null;let f=[];for(a=l;a<u;){null!=_[a]&&(f=f.concat(_[a])),h=1/0,c=-1/0;for(let t=f.length-1;t>=0;t--){const e=f[t];h=Math.min(h,e.getLeftCol()),c=Math.max(c,e.getRightCol())}if(h=Math.floor(h),c=Math.floor(c),a>=r.first[1]&&a<=r.last[1])if(o)if(r.size[0]<r.worldSize[0]){const t=Math.floor(c/r.worldSize[0]);for(let e=Math.floor(h/r.worldSize[0]);e<=t;e++)d.push(new w(a,Math.max(r.getFirstColumnForWorld(e),h),Math.min(r.getLastColumnForWorld(e),c)))}else d.push(new w(a,h,c));else h>r.last[0]||c<r.first[0]||(h=Math.max(h,r.first[0]),c=Math.min(c,r.last[0]),d.push(new w(a,h,c)));a+=1;for(let t=f.length-1;t>=0;t--){const e=f[t];e.ymax>=a?e.incrRow():f.splice(t,1)}}return n}getTileParentId(t){v.set(t);const e=this._infoByLevel[v.level],s=this._lodInfos.indexOf(e)-1;return s<0?null:(this._getTileIdAtLOD(v,this._lodInfos[s],v),v.id)}getTileResolution(t){const e=this._infoByLevel["object"==typeof t?t.level:t];return e?e.resolution:-1}getTileScale(t){const e=this._infoByLevel[t.level];return e?e.scale:-1}intersects(t,e){v.set(e);const s=this._infoByLevel[v.level],i=t.lodInfo;if(i.resolution>s.resolution){this._getTileIdAtLOD(v,i,v);const e=i.denormalizeCol(v.col,v.world);for(const s of t.spans)if(s.row===v.row&&s.colFrom<=e&&s.colTo>=e)return!0}if(i.resolution<s.resolution){const[e,r,n,o]=t.spans.reduce(((t,e)=>(t[0]=Math.min(t[0],e.row),t[1]=Math.max(t[1],e.row),t[2]=Math.min(t[2],e.colFrom),t[3]=Math.max(t[3],e.colTo),t)),[1/0,-1/0,1/0,-1/0]),a=s.denormalizeCol(v.col,v.world),h=i.getColumnForX(s.getXForColumn(a)),c=i.getRowForY(s.getYForRow(v.row)),l=i.getColumnForX(s.getXForColumn(a+1))-1,u=i.getRowForY(s.getYForRow(v.row+1))-1;return!(h>o||l<n||c>r||u<e)}const r=i.denormalizeCol(v.col,v.world);return t.spans.some((t=>t.row===v.row&&t.colFrom<=r&&t.colTo>=r))}normalizeBounds(t,e,s){if(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],this._wrap){const e=(0,_.Vp)(this.tileInfo.spatialReference),i=-s*(e.valid[1]-e.valid[0]);t[0]+=i,t[2]+=i}return t}getSmallestInfoForScale(t){const e=this.scales;if(this._infoByScale[t])return this._infoByScale[t];if(t>e[0])return this._infoByScale[e[0]];for(let s=1;s<e.length-1;s++)if(t>e[s]+1e-6)return this._infoByScale[e[s-1]];return this._infoByScale[e[e.length-1]]}getClosestInfoForScale(t){const e=this.scales;return this._infoByScale[t]||(t=e.reduce(((e,s)=>Math.abs(s-t)<Math.abs(e-t)?s:e),e[0])),this._infoByScale[t]}scaleToLevel(t){const e=this.scales;if(this._infoByScale[t])return this._infoByScale[t].level;for(let s=e.length-1;s>=0;s--)if(t<e[s])return s===e.length-1?this._infoByScale[e[e.length-1]].level:this._infoByScale[e[s]].level+(e[s]-t)/(e[s]-e[s+1]);return this._infoByScale[e[0]].level}scaleToZoom(t){return this.tileInfo.scaleToZoom(t)}zoomToScale(t){return this.tileInfo.zoomToScale(t)}_getTileIdAtLOD(t,e,s){const i=this._infoByLevel[s.level];return t.set(s),e.resolution<i.resolution?null:(e.resolution===i.resolution||(t.level=e.level,t.col=Math.floor(s.col*i.resolution/e.resolution+.01),t.row=Math.floor(s.row*i.resolution/e.resolution+.01)),t)}}var P=s(90237),T=s(69622),A=s(91869),C=s(97768),k=s(3483),F=s(10107),E=s(53966),z=s(40608),O=s(37585),R=s(89738);const L=[0,0];let D=class extends T.A{constructor(t){super(t),this._keyToItem=new Map,this._tilesByScale=new Map,this.concurrency=6}initialize(){const{concurrency:t,process:e,scheduler:s,priority:i}=this;this._queue=new R.e({concurrency:t,scheduler:s,priority:i,process:(t,s)=>{const i=this._keyToItem.get(t);return e(i,{signal:s})},peeker:t=>this._peek(t)})}destroy(){this.clear(),this._queue=(0,C.pR)(this._queue)}get length(){return this._queue?this._queue.length:0}abort(t){const e="string"==typeof t?t:t.id;this._queue.abort(e)}clear(){this._queue.clear(),this._keyToItem.clear(),this._tilesByScale.clear()}has(t){return"string"==typeof t?this._keyToItem.has(t):this._keyToItem.has(t.id)}pause(){this._queue.pause()}push(t){const e=t.key.id;if(this._queue.has(e))return this._queue.get(e);const s=this._queue.push(e),i=this.tileInfoView.getTileScale(t.key),r=(0,A.tE)(this._tilesByScale,i,(()=>new Set)),n=()=>{r.delete(t.key),0===r.size&&this._tilesByScale.delete(i),this._keyToItem.delete(e)};return r.add(t.key),this._keyToItem.set(e,t),s.then(n,n),s}reset(){this._queue.reset()}resume(){this._queue.resume()}_peek(t){if(!this.state)return t.values().next().value;const e=new Set;for(const s of t)e.add(this._keyToItem.get(s).key);const s=this.state.scale;let i,r=Number.POSITIVE_INFINITY;for(const[t,n]of this._tilesByScale)if((0,k.bw)(n,(t=>e.has(t)))){const e=Math.abs(t-s);e<r&&(i=n,r=e)}return this._getClosestTileKey(i,t).id}_getClosestTileKey(t,e){const s=this.tileInfoView,i=this.state.center;let r,n=Number.POSITIVE_INFINITY;for(const o of t)if(e.has(o.id)){s.getTileCoords(L,o);const t=(0,O.Io)(L,i);t<n&&(n=t,r=o)}return r}};(0,P._)([(0,F.MZ)({constructOnly:!0})],D.prototype,"concurrency",void 0),(0,P._)([(0,F.MZ)({constructOnly:!0})],D.prototype,"priority",void 0),(0,P._)([(0,F.MZ)({constructOnly:!0})],D.prototype,"process",void 0),(0,P._)([(0,F.MZ)({constructOnly:!0})],D.prototype,"scheduler",void 0),(0,P._)([(0,F.MZ)()],D.prototype,"state",void 0),(0,P._)([(0,F.MZ)({constructOnly:!0})],D.prototype,"tileInfoView",void 0),D=(0,P._)([(0,z.$)("esri.views.2d.tiling.TileQueue")],D);var N=s(19419);new p.A(0,0,0,0),new Map;var B=s(76213);class G{constructor(t){this._client=t,this.layerView=this._client.createInvokeProxy(""),this.container=this._client.createInvokeProxy("container"),this._eventLog=this._client.createInvokeProxy("eventLog")}onEvent(t){(0,u.oV)(this._eventLog.onEvent(t))}}var U=s(93637),V=s(6797),q=s(16930);class W{constructor(t,e,s,i,r,n,o){this.instanceId=t,this.textureKey=e,this.indexStart=s,this.indexCount=i,this.vertexStart=r,this.vertexCount=n,this.overlaps=o}updateBaseOffsets(t){this.vertexStart+=t.vertexFrom,this.indexStart+=t.indexFrom}clone(){return new W(this.instanceId,this.textureKey,this.indexStart,this.indexCount,this.vertexStart,this.vertexCount,this.overlaps)}static write(t,e,s,i,r,n,o,a){t.push(e),t.push(s),t.push(i),t.push(r),t.push(n),t.push(o),t.push(a)}serialize(t){return t.push(this.instanceId),t.push(this.textureKey),t.push(this.indexStart),t.push(this.indexCount),t.push(this.vertexStart),t.push(this.vertexCount),t.push(this.overlaps),t}static deserialize(t){const e=t.readInt32(),s=t.readInt32(),i=t.readInt32(),r=t.readInt32(),n=t.readInt32(),o=t.readInt32(),a=t.readInt32();return new W(e,s,i,r,n,o,a)}}function j(t,e){if(null!==e){t.push(e.length);for(const s of e)s.serialize(t);return t}t.push(0)}function Y(t,e,s){const i=t.readInt32(),r=new Array(i);for(let i=0;i<r.length;i++)r[i]=e.deserialize(t,s);return r}W.byteSizeHint=7*Uint32Array.BYTES_PER_ELEMENT;class X{constructor(t,e){this.id=t,this.sortKey=e,this.records=[]}serialize(t){return t.push(this.id),t.writeF32(this.sortKey),j(t,this.records),t}static deserialize(t){const e=t.readInt32(),s=t.readF32(),i=new X(e,s);return i.records=Y(t,W)??[],i}}X.byteSizeHint=2*Uint32Array.BYTES_PER_ELEMENT+W.byteSizeHint;class ${get length(){return this._pos}constructor(t,e){this._pos=0;const s=e?this._roundToNearest(e,t.BYTES_PER_ELEMENT):40;this._array=new ArrayBuffer(s),this._buffer=new t(this._array),this._ctor=t,this._i16View=new Int16Array(this._array)}_roundToNearest(t,e){const s=Math.round(t);return 1===e?s:s+(e-s%e)}_ensureSize(t){if(this._pos+t>=this._buffer.length){const e=this._roundToNearest(1.25*(this._array.byteLength+t*this._buffer.BYTES_PER_ELEMENT),this._buffer.BYTES_PER_ELEMENT),s=new ArrayBuffer(e),i=new this._ctor(s);i.set(this._buffer,0),this._array=s,this._buffer=i,this._i16View=new Int16Array(this._array)}}ensureSize(t){this._ensureSize(t)}writeF32(t){this._ensureSize(1);const e=this._pos;return new Float32Array(this._array,4*this._pos,1)[0]=t,this._pos++,e}push(t){this._ensureSize(1);const e=this._pos;return this._buffer[this._pos++]=t,e}writeFixed(t){this._buffer[this._pos++]=t}setValue(t,e){this._buffer[t]=e}i1616Add(t,e,s){this._i16View[2*t]+=e,this._i16View[2*t+1]+=s}getValue(t){return this._buffer[t]}getValueF32(t){return new Float32Array(this._array,4*t,1)[0]}incr(t){if(this._buffer.length<t)throw new Error("Increment index overflows the target buffer");this._buffer[t]++}decr(t){this._buffer[t]--}writeRegion(t){this._ensureSize(t.length);const e=this._pos;return this._buffer.set(t,this._pos),this._pos+=t.length,e}writeManyFrom(t,e,s){this._ensureSize(s-e);for(let i=e;i!==s;i++)this.writeFixed(t._buffer[i])}buffer(){const t=this._array.slice(0,4*this._pos);return this.destroy(),t}toArray(){return[...this._buffer]}seek(t){this._pos=t}destroy(){this._array=null,this._buffer=null}}class H{constructor(t,e,s=0){const i=6*s*Uint32Array.BYTES_PER_ELEMENT,r=4*s*e.stride,n=e.stride/4,o=e.attributes.find((t=>"pos"===t.name||"position"===t.name));if(!o)throw new Error("InternalError: Unable to find position attribute");this.layout={...e,position:o},this._indices=new $(Uint32Array,i),this._vertices=new $(Uint32Array,r),this._metrics=new $(Uint32Array,0),this._metricCountOffset=this._metrics.push(0),this._strideInt=n,this._instanceId=t}serialize(t){const e=this._indices.buffer(),s=this._vertices.buffer(),i=this._metrics.length?this._metrics.buffer():null;return t.push(e,s),{instanceId:this._instanceId,layout:this.layout,indices:e,vertices:s,metrics:i}}get strideInt(){return this._strideInt}get vertexCount(){return this._vertices.length/this._strideInt}get indexCount(){return this._indices.length}get indexWriter(){return this._indices}get vertexWriter(){return this._vertices}get metricWriter(){return this._metrics}vertexEnsureSize(t){this._vertices.ensureSize(t)}indexEnsureSize(t){this._indices.ensureSize(t)}writeIndex(t){this._indices.push(t)}writeVertex(t){this._vertices.push(t)}writeVertexRegion(t){this._vertices.writeRegion(t)}writeVertexF32(t){this._vertices.writeF32(t)}writeMetric(t){this._metrics.incr(this._metricCountOffset),t.serialize(this._metrics)}}class Z{constructor(t,e=0){this._id=t,this._sizeHint=e,this._entityRecordCountOffset=0,this._entityCountOffset=0,this._entityIdIndex=0,this._entitySortKeyIndex=0,this._didEntityStart=!1,this._instanceIdToVertexData=new Map,this._recordIndexStart=0,this._recordIndexCount=0,this._recordVertexStart=0,this._recordVertexCount=0,this._current={metric:null,writer:null,start:0,sortKey:0,instanceId:0,layoutHash:0,indexStart:0,vertexStart:0,textureKey:0,metricBoxLenPointer:0},this._entities=new $(Uint32Array,this._sizeHint*X.byteSizeHint),this._entityCountOffset=this._entities.push(0)}get id(){return this._id}serialize(){const t=new Array,e=[],s=this._entities.buffer();for(const s of this._instanceIdToVertexData.values())e.push(s.serialize(t));return{message:{data:e,entities:s},transferList:t}}vertexCount(){return this._current.writer?.vertexCount??0}indexCount(){return this._current.writer?.indexCount??0}vertexEnsureSize(t){this._current.writer.vertexEnsureSize(t)}indexEnsureSize(t){this._current.writer.indexEnsureSize(t)}vertexWrite(t){this._current.writer.writeVertex(t)}vertexWriteRegion(t){this._current.writer.writeVertexRegion(t)}vertexWriteF32(t){this._current.writer.writeVertexF32(t)}recordBounds(t,e,s,i){}indexWrite(t){this._current.writer.writeIndex(t)}metricStart(t){this._current.metric=t}metricEnd(){const t=this._current.writer;this._current.metric.bounds.length&&t.writeMetric(this._current.metric)}metricBoxWrite(t){this._current.metric.bounds.push(t)}entityStart(t,e=t){this._entityIdIndex=this._entities.push(t),this._entitySortKeyIndex=this._entities.writeF32(e),this._entityRecordCountOffset=this._entities.push(0),this._didEntityStart=!0}entityRecordCount(){return this._entities.getValue(this._entityRecordCountOffset)}entityEnd(){this._didEntityStart&&(0===this.entityRecordCount()?this._entities.seek(this._entityIdIndex):this._entities.incr(this._entityCountOffset),this._didEntityStart=!1)}recordCount(){return this._entities.getValue(this._entityRecordCountOffset)}recordStart(t,e,s=0){this._current.writer=this._getVertexWriter(t,e),this._current.indexStart=this._current.writer.indexCount,this._current.vertexStart=this._current.writer.vertexCount,this._current.instanceId=t,this._current.layoutHash=e.hash,this._current.textureKey=s}recordEnd(t=0){const e=this._current.vertexStart,s=this._current.writer.vertexCount-e;if(!s)return!1;const i=this._current.indexStart,r=this._current.writer.indexCount-i;return this._recordIndexStart=i,this._recordIndexCount=r,this._recordVertexStart=e,this._recordVertexCount=s,this._entities.incr(this._entityRecordCountOffset),W.write(this._entities,this._current.instanceId,this._current.textureKey,i,r,e,s,t),!0}copyLast(t,e){const s=this._recordVertexStart+this._recordVertexCount;this._entities.incr(this._entityRecordCountOffset),W.write(this._entities,this._current.instanceId,this._current.textureKey,this._recordIndexStart+this._recordIndexCount,this._recordIndexCount,s,this._recordVertexCount,0);const i=this._current.writer.indexWriter,r=this._current.writer.vertexWriter,n=this._recordIndexStart+this._recordIndexCount,o=this._recordVertexCount;for(let t=this._recordIndexStart;t!==n;t++){const e=i.getValue(t);i.push(e+o)}const a=this._current.writer.layout.stride/Uint32Array.BYTES_PER_ELEMENT,h=this._recordVertexStart*a,c=(this._recordVertexStart+this._recordVertexCount)*a;for(let t=h;t!==c;t++){const e=r.getValue(t);r.push(e)}const l=this._current.writer.layout.position,u=l.packPrecisionFactor??1,d=l.offset/Uint32Array.BYTES_PER_ELEMENT,_=t*u,p=e*u;for(let t=s*a;t<=r.length;t+=a)r.i1616Add(t+d,_,p)}copyLastFrom(t,e,s){const i=t._entities.getValue(t._entityIdIndex);if(i!==this._entities.getValue(this._entityIdIndex)){const e=t._entities.getValueF32(t._entitySortKeyIndex);this.entityStart(i,e)}this.recordStart(t._current.instanceId,t._current.writer.layout,t._current.textureKey);const r=this._current.writer.layout.stride/Uint32Array.BYTES_PER_ELEMENT,n=this._current.vertexStart,o=t._current.vertexStart-n,a=this._current.writer.indexWriter,h=this._current.writer.vertexWriter,c=t._current.writer.indexWriter,l=t._current.writer.vertexWriter;for(let e=t._current.indexStart;e!==c.length;e++){const t=c.getValue(e);a.push(t-o)}for(let e=t._current.vertexStart*r;e!==l.length;e++){const t=l.getValue(e);h.push(t)}const u=this._current.writer.layout.position,d=u.packPrecisionFactor??1,_=u.offset/Uint32Array.BYTES_PER_ELEMENT,p=e*d,f=s*d;for(let t=n*r;t<=h.length;t+=r)h.i1616Add(t+_,p,f);this.recordEnd()}_getVertexWriter(t,e){const s=this._instanceIdToVertexData;return s.has(t)||s.set(t,new H(t,e,this._sizeHint)),s.get(t)}}function Q(t){switch(t){case 1:case 8:case 32:return-1;case 2:case 64:return 0;case 4:case 16:case 128:return 1}}function K(t){switch(t){case 1:case 2:case 4:return-1;case 8:case 16:return 0;case 32:case 64:case 128:return 1}}class J{constructor(t,e,s,i,r=0){this.tileKey=t,this._bufferingEnabled=e,this._sizeHint=r,this._meshes={self:new Z(this.id,this._sizeHint),neighbors:new Array},this._currentRecordOverlaps=0,this._currentEntityOverlaps=0;const n=i?1:0;this._copyBufferedDataIntoSelf=s&&this._bufferingEnabled&&t.level===n}get id(){return this.tileKey.id}vertexCount(){return this._meshes.self.vertexCount()}indexCount(){return this._meshes.self.indexCount()}indexEnsureSize(t){this._meshes.self.indexEnsureSize(t)}entityStart(t,e=t){this._currentEntityOverlaps=0,this._meshes.self.entityStart(t,e)}entityRecordCount(){return this._meshes.self.entityRecordCount()}entityEnd(){if(this._meshes.self.entityEnd(),this._bufferingEnabled){if(this._copyBufferedDataIntoSelf)return;for(let t=0;t<8;t++){const e=1<<t;this._currentEntityOverlaps&e&&this._meshes.neighbors[t].entityEnd()}}}recordStart(t,e,s){this._currentRecordOverlaps=0,this._meshes.self.recordStart(t,e,s)}recordEnd(t=0){const e=this._meshes.self.recordEnd(this._currentRecordOverlaps);return e&&0!==this._currentRecordOverlaps?(this._copyIntoNeighbors(),this._currentEntityOverlaps|=this._currentRecordOverlaps,!0):e}recordBounds(t,e,s,i){this._bufferingEnabled&&this._addOverlap(t,e,s,i)}recordCount(){return this._meshes.self.recordCount()}metricStart(t){this._meshes.self.metricStart(t)}metricBoxWrite(t){this._meshes.self.metricBoxWrite(t)}metricEnd(){this._meshes.self.metricEnd()}vertexWrite(t){this._meshes.self.vertexWrite(t)}vertexWriteF32(t){this._meshes.self.vertexWriteF32(t)}vertexWriteRegion(t){this._meshes.self.vertexWriteRegion(t)}indexWrite(t){this._meshes.self.indexWrite(t)}serialize(t){const e={message:[],transferList:[]},s=this._meshes.self.serialize();return e.message.push({tileId:this.tileKey.id,...s.message}),e.transferList.push(...s.transferList),this._meshes.neighbors.forEach(((s,i)=>{const r=s.serialize(),n=1<<i,o=Q(n),a=K(n),h=new p.A(this.tileKey).getNormalizedNeighbor(o,a,t);e.message.push({tileId:h.id,...r.message}),e.transferList.push(...r.transferList)})),e}_addOverlap(t,e,s,i){const r=Math.min(B.CQ/2,s),n=Math.min(B.CQ/2,i),o=255^((t<0+r?148:t>=B.CQ-r?41:189)|(e<0+n?224:e>=B.CQ-n?7:231));this._currentRecordOverlaps|=o}_copyIntoNeighbors(){for(let t=0;t<8;t++){const e=1<<t;if(this._currentRecordOverlaps&e){if(this._copyBufferedDataIntoSelf){const t=-Q(e)*B.CQ,s=-K(e)*B.CQ;if(0!==s)continue;this._meshes.self.copyLast(t,s);continue}if(!this._meshes.neighbors[t]){const s=Math.floor(this._sizeHint/16);this._meshes.neighbors[t]=new Z(e,s)}const s=this._meshes.neighbors[t],i=-Q(e)*B.CQ,r=-K(e)*B.CQ;s.copyLastFrom(this._meshes.self,i,r)}}}}class tt{}class et{constructor(){this._defaultResult=null,this._backgroundFillResult=null}static async from(t,e){const s=new et;return s.setDefault(await t.createMeshWriters(e.meshes)),s}size(){return 1}getDefault(){return this._defaultResult}setDefault(t){this._defaultResult=t}getBackgroundFill(){return this._backgroundFillResult}setBackgroundFill(t){this._backgroundFillResult=t}hasArcadeDependency(t){return this._defaultResult?.some((e=>e.hasArcadeDependency(t)))??!1}match(t,e){const s=this.doMatch(t,e)||this.getDefault();if(s&&s.length>0){const t=this.getBackgroundFill();if(t)return[...t,...s]}return s}getSortKey(t,e){return 0}doMatch(t,e){return null}async fetchResources(t,e){}}class st extends et{static async fromDictionaryRenderer(t,e){return new st(t,e)}constructor(t,e){super(),this._context=t,this._schema=e,this._hashToGroup=new Map}get fieldMap(){return this._schema.fieldMap}async fetchResources(t,e){const s=e.getCursor(),i=[];for(;s.next();)i.push(this._updateMeshWriterGroup(t,s));await Promise.all(i)}match(t,e){const s=t.getAttributeHash();return this._hashToGroup.get(s)}async _updateMeshWriterGroup(t,e){const s=e.readLegacyFeatureForDisplay(),i=e.getAttributeHash();if(this._hashToGroup.has(i))return;this._hashToGroup.set(i,null);const r=await t.fetchDictionaryResourceImmediate({type:"dictionary-request",feature:s});if(!r)return;const n=await this._context.createMeshWriters(r.meshes);this._hashToGroup.set(i,n)}}class it extends et{constructor(t,e){super(),this._intervals=[],this._isMaxInclusive=e,this._field=t}static async fromIntervalSchema(t,e){const s=await t.storage.createComputedField(e),i=new it(s,e.isMaxInclusive);await Promise.all(e.intervals.map((async e=>{const s=await t.createMeshWriters(e.meshes);i.add(e,s)})));const r=await t.createMeshWriters(e.defaultSymbol);i.setDefault(r);const n=await t.createMeshWriters(e.backgroundFill);return i.setBackgroundFill(n),i}add(t,e){this._intervals.push({interval:t,result:e}),this._intervals.sort(((t,e)=>t.interval.min-e.interval.min))}size(){return super.size()+this._intervals.length}hasArcadeDependency(t){return this._field?.hasArcadeDependency(t)||this._intervals.some((e=>e.result.some((e=>e.hasArcadeDependency(t)))))}doMatch(t,e){const s=this._field?.read(t,e);if(null==s||isNaN(s)||s===1/0||s===-1/0)return null;for(let t=0;t<this._intervals.length;t++){const{interval:e,result:i}=this._intervals[t],r=s>=e.min,n=this._isMaxInclusive?s<=e.max:s<e.max;if(r&&n)return i}return null}}class rt extends et{static async fromLabelSchema(t,e){const s=e.classes.map((async e=>{const s=await t.createMeshWriters(e.meshes);return{minScale:e.minScale,maxScale:e.maxScale,meshes:s,expression:null,where:await t.storage.createWhereClause(e.where)}})),i=await Promise.all(s);return new rt(i)}constructor(t){super(),this._labels=t}match(t,e){if(!this._labels.length)return null;const s=this._getLabels(e.$view.scale),i=[];for(const e of s)e.where&&!e.where(t)||i.push(...e.meshes);return i}_getLabels(t){return this._labels.filter((e=>this._validForTileScale(e,t)))}_validForTileScale(t,e){const s=e-e/4,i=e+e/2;return(!t.minScale||t.minScale>=s)&&(!t.maxScale||t.maxScale<=i)}}class nt extends et{constructor(t,e){super(),this._defaultSymbolSortKey=0,this._nullResult=null,this._resultsMap=new Map,this._fields=[],this._fields=t,this._separator=e||""}static async fromMatcherSchema(t,e){const s=e.expression?[t.storage.createComputedField({expression:e.expression})]:[e.field?t.storage.createComputedField({field:e.field}):null,e.field2?t.storage.createComputedField({field:e.field2}):null,e.field3?t.storage.createComputedField({field:e.field3}):null],i=(await Promise.all(s)).filter((t=>!!t)),r=new nt(i,e.fieldDelimiter),n=await t.createMeshWriters(e.defaultSymbol);r.setDefault(n);const o=await t.createMeshWriters(e.backgroundFill);return r.setBackgroundFill(o),await Promise.all(e.map.map((async(e,s)=>{const i=await t.createMeshWriters(e.symbol);"<Null>"===e.value?r.setNullResult(i):r.add(e.value,i,s+1)}))),r}setNullResult(t){this._nullResult=t}getSortKey(t,e){const s=this._getValueFromFields(t,e);if(null==s||""===s||"<Null>"===s)return 0;const i=this._resultsMap.get(s.toString());return i?i.sortKey:this._defaultSymbolSortKey}add(t,e,s){this._resultsMap.set(t.toString(),{meshWriters:e,sortKey:s}),this._defaultSymbolSortKey=Math.max(this._defaultSymbolSortKey,s+1)}size(){return super.size()+this._resultsMap.size}hasArcadeDependency(t){return this._fields.some((e=>e.hasArcadeDependency(t)))||[...this._resultsMap.values()].some((e=>e.meshWriters.some((e=>e.hasArcadeDependency(t)))))||this._nullResult?.some((e=>e.hasArcadeDependency(t)))||!1}doMatch(t,e){const s=this._getValueFromFields(t,e);if(null!==this._nullResult&&(null==s||""===s||"<Null>"===s))return this._nullResult;if(null==s)return null;const i=s.toString();return this._resultsMap.get(i)?.meshWriters}_getValueFromFields(t,e){const s=[];for(const i of this._fields){const r=i.read(t,e);null==r||""===r?s.push("<Null>"):s.push(r)}return s.join(this._separator)}}async function ot(t,e){switch(e.type){case"simple":case"heatmap":case"dot-density":case"pie-chart":return et.from(t,e);case"interval":return it.fromIntervalSchema(t,e);case"dictionary":return st.fromDictionaryRenderer(t,e);case"label":return rt.fromLabelSchema(t,e);case"map":return nt.fromMatcherSchema(t,e);case"subtype":return at.fromSubtypes(t,e);case"cluster":return ht.fromClusterSchema(t,e);default:throw new Error("Impl")}}class at extends et{constructor(t,e){super(),this._subMatchers=t,this._subtypeField=e}static async fromSubtypes(t,e){const s=new Map,i=[];for(const r in e.renderers){const n=parseInt(r,10),o=ot(t,e.renderers[r]).then((t=>s.set(n,t)));i.push(o)}return await Promise.all(i),new at(s,e.subtypeField)}match(t,e){const s=t.readAttribute(this._subtypeField),i=this._subMatchers.get(s);return i?i.match(t,e):null}}class ht extends et{static async fromClusterSchema(t,e){const[s,i]=await Promise.all([ot(t,e.feature),ot(t,e.cluster)]);return new ht(s,i)}constructor(t,e){super(),this._featureMatcher=t,this._clusterMatcher=e}match(t,e){return 1===t.readAttribute("cluster_count")?this._featureMatcher.match(t,e):this._clusterMatcher.match(t,e)}}class ct extends tt{static async create(t,e){const s=await ot(t,e.symbology),i=e.labels?await ot(t,e.labels):null;return new ct(s,i)}constructor(t,e){super(),this._symbology=t,this._labels=e}destroy(){}async enqueueMatcherRequests(t,e){await Promise.all([this._symbology.fetchResources(t,e),this._labels?.fetchResources(t,e)])}enqueueWriterRequests(t,e,s){const i=this._symbology.match(e,s);if(i){for(const r of i)r.enqueueRequest(t,e,s);if(this._labels){const i=this._labels.match(e,s);if(!i)return;for(const r of i)r.enqueueRequest(t,e,s)}}}write(t,e,s,i,r){const n=this._symbology.match(s,i);if(n){for(const o of n)o.write(t,e,s,i,r);if(t.entityRecordCount()>=1&&this._labels){const o=this._labels.match(s,i);if(!o)return;for(const a of o)a.setReferences(n),a.write(t,e,s,i,r)}}}getSortKey(t,e){return this._symbology.getSortKey(t,e)}hasArcadeDependency(t){return this._symbology.hasArcadeDependency(t)}}var lt=s(799),ut=s(94656),dt=s(63907),_t=s(48852),pt=s(36421),ft=s(42293);class gt{constructor(t,e){this._context=t,this._descriptor=e,this.type=pt.p.RenderBuffer,this._context.instanceCounter.increment(dt.vt.Renderbuffer,this);const s=this._context.gl;this.glName=s.createRenderbuffer(),this._context.bindRenderbuffer(this);const{width:i,height:r,internalFormat:n,multisampled:o}=e;o?s.renderbufferStorageMultisample(s.RENDERBUFFER,this.samples,n,i,r):s.renderbufferStorage(s.RENDERBUFFER,n,i,r),this._context.bindRenderbuffer(null)}get descriptor(){return this._descriptor}get samples(){const t=this._descriptor.samples,e=this._context.parameters.maxSamples;return t?Math.min(t,e):e}get usedMemory(){return(t=this._descriptor).width<=0||t.height<=0||null==t.internalFormat?0:t.width*t.height*(0,ft.IB)(t.internalFormat);var t}resize(t,e){const s=this._descriptor;if(s.width===t&&s.height===e)return;s.width=t,s.height=e;const i=this._context.gl;this._context.bindRenderbuffer(this),s.multisampled?i.renderbufferStorageMultisample(i.RENDERBUFFER,this.samples,s.internalFormat,s.width,s.height):i.renderbufferStorage(i.RENDERBUFFER,s.internalFormat,s.width,s.height),this._context.bindRenderbuffer(null)}dispose(){this._context&&(this._context.gl.deleteRenderbuffer(this.glName),this._context.instanceCounter.decrement(dt.vt.Renderbuffer,this),this._context=null)}}var mt=s(72626);class yt{constructor(t,e,s=null){this._context=t,this._glName=null,this._colorAttachments=new Map,this._depthStencilBuffer=null,this._depthStencilTexture=null,this._initialized=!1,t.instanceCounter.increment(dt.vt.FramebufferObject,this);const i=xt(e)?e:new mt.g(this._context,e);if(this._colorAttachments.set(dt.Nm.COLOR_ATTACHMENT0,i),this._validateTextureDescriptor(i.descriptor),this._validateColorAttachmentPoint(dt.Nm.COLOR_ATTACHMENT0),null!=s)if(function(t){return xt(t)||null!=t&&"pixelFormat"in t}(s))this._depthStencilTexture=xt(s)?s:new mt.g(this._context,s),this._validateTextureDescriptor(this._depthStencilTexture.descriptor);else{const t=function(t){return null!=t&&"type"in t&&t.type===pt.p.RenderBuffer}(s)?s:new gt(this._context,s);this._depthStencilBuffer=t,this._validateRenderBufferDescriptor(t.descriptor)}}dispose(){if(0===this._colorAttachments.size&&!this._glName)return;const t=this._context.getBoundFramebufferObject();this._colorAttachments.forEach(((t,e)=>this.detachColorTexture(e)?.dispose())),this.detachDepthStencilBuffer()?.dispose(),this.detachDepthStencilTexture()?.dispose(),this._glName&&(this._context.gl.deleteFramebuffer(this._glName),this._glName=null),this._context.bindFramebuffer(t),this._context.instanceCounter.decrement(dt.vt.FramebufferObject,this)}get glName(){return this._glName}get colorTexture(){return this._colorAttachments.get(dt.Nm.COLOR_ATTACHMENT0)}get depthStencil(){return this._depthStencilTexture||this._depthStencilBuffer}get depthStencilTexture(){return this._depthStencilTexture}get width(){const t=this._colorAttachments.get(dt.Nm.COLOR_ATTACHMENT0);return t?.descriptor?.width??0}get height(){const t=this._colorAttachments.get(dt.Nm.COLOR_ATTACHMENT0);return t?.descriptor?.height??0}get usedMemory(){return[...this._colorAttachments].reduce(((t,[e,s])=>t+s.usedMemory),this.depthStencil?.usedMemory??0)}getColorTexture(t){const e=this._colorAttachments.get(t);return e&&xt(e)?e:null}get colorAttachments(){return[...this._colorAttachments.keys()]}attachColorTexture(t,e=dt.Nm.COLOR_ATTACHMENT0){if(!t)return;this._validateColorAttachmentPoint(e);const s=t.descriptor;this._validateTextureDescriptor(s),this.detachColorTexture(e)?.dispose(),this._initialized&&(this._context.bindFramebuffer(this),this._framebufferTexture2D(t.glName,e)),this._colorAttachments.set(e,t)}detachColorTexture(t=dt.Nm.COLOR_ATTACHMENT0){const e=this._colorAttachments.get(t);if(e){if(this._initialized){const e=this._context.getBoundFramebufferObject();this._context.bindFramebuffer(this),this._framebufferTexture2D(null,t),this._context.bindFramebuffer(e)}return this._colorAttachments.delete(t),e}}setColorTextureTarget(t,e=dt.Nm.COLOR_ATTACHMENT0){const s=this._colorAttachments.get(e);s&&this._framebufferTexture2D(s.glName,e,t)}attachDepthStencil(t){if(t)switch(t.type){case pt.p.Texture:return this._attachDepthStencilTexture(t);case pt.p.RenderBuffer:return this._attachDepthStencilBuffer(t)}}_attachDepthStencilTexture(t){if(null==t)return;const e=t.descriptor;e.pixelFormat!==dt.Ab.DEPTH_STENCIL&&e.pixelFormat!==dt.Ab.DEPTH24_STENCIL8&&console.error("Depth/Stencil texture must have a pixel type of DEPTH_STENCIL!"),e.dataType!==dt.ld.UNSIGNED_INT_24_8&&console.error("Depth/Stencil texture must have data type of UNSIGNED_INT_24_8!"),this._validateTextureDescriptor(e),this._disposeDepthStencilAttachments(),this._initialized&&(this._context.bindFramebuffer(this),this._framebufferTexture2D(t.glName,dt.nI)),this._depthStencilTexture?.dispose(),this._depthStencilTexture=t}detachDepthStencilTexture(){const t=this._depthStencilTexture;if(t&&this._initialized){const t=this._context.getBoundFramebufferObject();this._context.bindFramebuffer(this),this._framebufferTexture2D(null,dt.nI),this._context.bindFramebuffer(t)}return this._depthStencilTexture=null,t}_attachDepthStencilBuffer(t){if(null==t)return;const e=t.descriptor;if(this._validateRenderBufferDescriptor(e),this._disposeDepthStencilAttachments(),this._initialized){this._context.bindFramebuffer(this);const s=this._context.gl,i=this._getGLAttachmentPoint(e);s.framebufferRenderbuffer(dt.R.FRAMEBUFFER,i,s.RENDERBUFFER,t.glName)}this._depthStencilBuffer=t}detachDepthStencilBuffer(){const t=this._depthStencilBuffer;if(t&&this._initialized){const e=this._context.getBoundFramebufferObject();this._context.bindFramebuffer(this);const s=this._context.gl,i=this._getGLAttachmentPoint(t.descriptor);s.framebufferRenderbuffer(dt.R.FRAMEBUFFER,i,s.RENDERBUFFER,null),this._context.bindFramebuffer(e)}return this._depthStencilBuffer=null,t}copyToTexture(t,e,s,i,r,n,o){(t<0||e<0||r<0||n<0)&&console.error("Offsets cannot be negative!"),(s<=0||i<=0)&&console.error("Copy width and height must be greater than zero!");const a=o.descriptor;o.descriptor.target!==dt.Ap.TEXTURE_2D&&console.error("Texture target must be TEXTURE_2D!"),(null==a?.width||null==a?.height||t+s>this.width||e+i>this.height||r+s>a.width||n+i>a.height)&&console.error("Bad dimensions, the current input values will attempt to read or copy out of bounds!");const h=this._context,c=h.bindTexture(o,mt.g.TEXTURE_UNIT_FOR_UPDATES);h.setActiveTexture(mt.g.TEXTURE_UNIT_FOR_UPDATES),h.bindFramebuffer(this),h.gl.copyTexSubImage2D(dt.Ap.TEXTURE_2D,0,r,n,t,e,s,i),h.bindTexture(c,mt.g.TEXTURE_UNIT_FOR_UPDATES)}readPixels(t,e,s,i,r,n,o){(s<=0||i<=0)&&console.error("Copy width and height must be greater than zero!"),o||console.error("Target memory is not initialized!"),this._context.bindFramebuffer(this),this._context.gl.readPixels(t,e,s,i,r,n,o)}async readPixelsAsync(t,e,s,i,r,n,o){const{gl:a}=this._context,h=_t.g.createPixelPack(this._context,dt._U.STREAM_READ,o.byteLength);this._context.bindBuffer(h);const c=this._context.getBoundFramebufferObject();this._context.bindFramebuffer(this),a.readPixels(t,e,s,i,r,n,0),this._context.unbindBuffer(dt.NZ.PIXEL_PACK_BUFFER),this._context.bindFramebuffer(c),await h.getSubDataAsync(o),h.dispose()}resize(t,e){if(this.width===t&&this.height===e)return;const s={width:t,height:e};bt(s,this._context.parameters.maxTextureSize),this._colorAttachments.forEach((t=>t.resize(s.width,s.height))),this._depthStencilTexture?.resize(s.width,s.height),this._initialized&&(bt(s,this._context.parameters.maxRenderbufferSize),this._depthStencilBuffer?.resize(s.width,s.height),this._context.getBoundFramebufferObject()===this&&this._context.bindFramebuffer(null),this._initialized=!1)}initializeAndBind(t=dt.R.FRAMEBUFFER){const e=this._context.gl;if(this._initialized)return void e.bindFramebuffer(t,this.glName);this._glName&&e.deleteFramebuffer(this._glName);const s=e.createFramebuffer();if(e.bindFramebuffer(t,s),this._colorAttachments.forEach(((e,s)=>this._framebufferTexture2D(e.glName,s,wt(e),t))),this._depthStencilBuffer){const s=this._getGLAttachmentPoint(this._depthStencilBuffer.descriptor);e.framebufferRenderbuffer(t,s,e.RENDERBUFFER,this._depthStencilBuffer.glName)}else this._depthStencilTexture&&this._framebufferTexture2D(this._depthStencilTexture.glName,e.DEPTH_STENCIL_ATTACHMENT,wt(this._depthStencilTexture),t);(0,ut.en)()&&e.checkFramebufferStatus(t)!==e.FRAMEBUFFER_COMPLETE&&console.error("Framebuffer is incomplete!"),this._glName=s,this._initialized=!0}_framebufferTexture2D(t,e=dt.Nm.COLOR_ATTACHMENT0,s=dt.Ap.TEXTURE_2D,i=dt.R.FRAMEBUFFER,r=0){this._context.gl.framebufferTexture2D(i,e,s,t,r)}_disposeDepthStencilAttachments(){const t=this._context.gl;if(this._depthStencilBuffer){if(this._initialized){this._context.bindFramebuffer(this);const e=this._getGLAttachmentPoint(this._depthStencilBuffer.descriptor);t.framebufferRenderbuffer(dt.R.FRAMEBUFFER,e,t.RENDERBUFFER,null)}this._depthStencilBuffer=(0,C.WD)(this._depthStencilBuffer)}this._depthStencilTexture&&(this._initialized&&(this._context.bindFramebuffer(this),this._framebufferTexture2D(null,t.DEPTH_STENCIL_ATTACHMENT)),this._depthStencilTexture=(0,C.WD)(this._depthStencilTexture))}_validateTextureDescriptor(t){t.target!==dt.Ap.TEXTURE_2D&&t.target!==dt.Ap.TEXTURE_CUBE_MAP&&console.error("Texture type must be TEXTURE_2D or TEXTURE_CUBE_MAP!"),bt(t,this._context.parameters.maxTextureSize),this._validateBufferDimensions(t)}_validateRenderBufferDescriptor(t){bt(t,this._context.parameters.maxRenderbufferSize),this._validateBufferDimensions(t)}_validateBufferDimensions(t){t.width<=0&&(t.width=this.width),t.height<=0&&(t.height=this.height),this.width>0&&this.height>0&&(this.width===t.width&&this.height===t.height||console.error("Attachment size must match framebuffer size!"))}_getGLAttachmentPoint(t){switch(t.internalFormat){case dt.yQ.DEPTH_COMPONENT16:case dt.yQ.DEPTH_COMPONENT24:case dt.yQ.DEPTH_COMPONENT32F:return this._context.gl.DEPTH_ATTACHMENT;case dt.yQ.DEPTH24_STENCIL8:case dt.yQ.DEPTH32F_STENCIL8:case dt.yQ.DEPTH_STENCIL:return this._context.gl.DEPTH_STENCIL_ATTACHMENT;case dt.yQ.STENCIL_INDEX8:return this._context.gl.STENCIL_ATTACHMENT}}_validateColorAttachmentPoint(t){if(-1===yt._MAX_COLOR_ATTACHMENTS){const{gl:t}=this._context;yt._MAX_COLOR_ATTACHMENTS=t.getParameter(t.MAX_COLOR_ATTACHMENTS)}const e=t-dt.Nm.COLOR_ATTACHMENT0;e+1>yt._MAX_COLOR_ATTACHMENTS&&E.A.getLogger("esri.views.webgl.FrameBufferObject").error("esri.FrameBufferObject",`illegal attachment point for color attachment: ${e+1}. Implementation supports up to ${yt._MAX_COLOR_ATTACHMENTS} color attachments`)}}function xt(t){return null!=t&&"type"in t&&t.type===pt.p.Texture}function bt(t,e){const s=Math.max(t.width,t.height);if(s>e){E.A.getLogger("esri.views.webgl.FramebufferObject").warn(`Resizing FBO attachment size ${t.width}x${t.height} to device limit ${e}`);const i=e/s;return t.width=Math.round(t.width*i),t.height=Math.round(t.height*i),!1}return!0}function wt(t){return t.descriptor.target===dt.Ap.TEXTURE_CUBE_MAP?dt.Ap.TEXTURE_CUBE_MAP_POSITIVE_X:dt.Ap.TEXTURE_2D}yt._MAX_COLOR_ATTACHMENTS=-1,s(62298);var vt=s(67171);function St(t,e,s){const i=new vt.R(e.width,e.height);return i.dataType=e.dataType,e.depth&&(i.depth=e.depth),e.flipped&&(i.flipped=e.flipped),e.hasMipmap&&(i.hasMipmap=e.hasMipmap),i.internalFormat=e.internalFormat,e.isImmutable&&(i.isImmutable=e.isImmutable),e.isOpaque&&(i.isOpaque=e.isOpaque),e.maxAnisotropy&&(i.maxAnisotropy=e.maxAnisotropy),i.pixelFormat=e.pixelFormat,e.preMultiplyAlpha&&(i.preMultiplyAlpha=e.preMultiplyAlpha),e.samplingMode&&(i.samplingMode=e.samplingMode),e.target&&(i.target=e.target),i.uniform=e.uniform,e.unpackAlignment&&(i.unpackAlignment=e.unpackAlignment),e.wrapMode&&(i.wrapMode=e.wrapMode),new mt.g(t,i,s)}new Map;class It{}class Mt extends It{constructor(t){super(),this._fetcher=t,this._controller=new AbortController,this._pendingIds=new Set,this._pendingRequests=[],this._resourceIdToResource=new Map}destroy(){this._controller.abort()}get _abortOptions(){return{signal:this._controller.signal}}enqueueRequest(t){const e="url"in(i=t.resource)&&"urlHash"in i?{...i,url:""}:i,s=(0,lt.Wm)(JSON.stringify(e));var i;return this._pendingIds.has(s)||(this._pendingIds.add(s),this._pendingRequests.push({...t,resourceId:s})),s}async fetchEnqueuedResources(){const t=this._pendingRequests;this._pendingIds.clear(),this._pendingRequests=[];const e=await this._fetcher.fetch(t,this._abortOptions);for(let s=0;s<e.length;s++){const i=t[s].resourceId;this._resourceIdToResource.set(i,e[s])}}async fetchResourceImmediate(t){const e=await this._fetcher.fetch([t],this._abortOptions);if(1!==e.length)throw new Error("FeaturePipelineResourceProxy: failed to fetch resources");return e[0]}async fetchDictionaryResourceImmediate(t){const e=await this._fetcher.fetchDictionary([t],this._abortOptions);if(1!==e.length)throw new Error("FeaturePipelineResourceProxy: failed to fetch dictionary resources");return e[0]}getResource(t){return this._resourceIdToResource.get(t)}}var Pt,Tt;(Tt=Pt||(Pt={}))[Tt.AnimatedMarker=0]="AnimatedMarker",Tt[Tt.Blend=1]="Blend",Tt[Tt.ComplexFill=2]="ComplexFill",Tt[Tt.ComplexOutlineFill=3]="ComplexOutlineFill",Tt[Tt.DotDensity=4]="DotDensity",Tt[Tt.Fill=5]="Fill",Tt[Tt.GradientFill=6]="GradientFill",Tt[Tt.GradientStroke=7]="GradientStroke",Tt[Tt.Grid=8]="Grid",Tt[Tt.Heatmap=9]="Heatmap",Tt[Tt.Label=10]="Label",Tt[Tt.Line=11]="Line",Tt[Tt.Magnifier=12]="Magnifier",Tt[Tt.Marker=13]="Marker",Tt[Tt.OutlineFill=14]="OutlineFill",Tt[Tt.Overlay=15]="Overlay",Tt[Tt.PatternFill=16]="PatternFill",Tt[Tt.PatternOutlineFill=17]="PatternOutlineFill",Tt[Tt.PieChart=18]="PieChart",Tt[Tt.Test=19]="Test",Tt[Tt.Text=20]="Text",Tt[Tt.TexturedLine=21]="TexturedLine",Tt[Tt.Bitmap=22]="Bitmap";var At=s(68197),Ct=s(15294);function kt(t,e){return[!!t?.minScale&&e.scaleToZoom(t.minScale)||0,!!t?.maxScale&&e.scaleToZoom(t.maxScale)||100]}function Ft(t){return 1<<t}function Et(t){let e=0;for(const[s,i]of t)i&&(e|=1<<s);return e}function zt(t){let e;if(!t)return[0,0,0,0];if("string"==typeof t){const s=At.A.fromString(t);if(!s)return E.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.meshWriterUtils").errorOnce(new i.A("mapview:mesh-processing","Unable to parse string into color",{color:t})),[0,0,0,0];e=s.toArray()}else e=t;const[s,r,n,o]=e;return[s*(o/255),r*(o/255),n*(o/255),o]}function Ot(t,e){return Math.round(Math.min(Math.sqrt(t*e),255))}function Rt(t,e){return Math.round(t*e)/e}const Lt=0,Dt=1,Nt=2,Bt=3,Gt=4,Ut=5;var Vt=s(4718),qt=s(51118),Wt=s(65864),jt=s(92722);class Yt{static fromOptimized(t,e,s=!1,i=!1,r=1){return(new Xt).initialize(t,e,s,i,r)}static fromJSON(t,e=!1,s=!1){const[i,r]=Ht(t);return(new Zt).initialize(i,r,e,s,1)}static fromOptimizedCIM(t,e,s=!1,i=!1,r=1){return(new Qt).initialize(t,e,s,i,r)}static fromJSONCIM(t,e=!1,s=!1,i=1){const[r,n]=Ht(t);return(new Kt).initialize(r,n,e,s,i)}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 Xt).initialize(new jt.A,t,e,s,i)}static createEmptyJSON(t,e=!1,s=!1){return(new Zt).initialize([],t,e,s,1)}static createEmptyOptimizedCIM(t,e=!1,s=!1,i=1){return(new Qt).initialize(new jt.A,t,e,s,i)}static createEmptyJSONCIM(t,e=!1,s=!1,i=1){return(new Kt).initialize([],t,e,s,i)}asJSON(){const t=(0,qt.x)(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()}:"esriGeometryPoint"===this.geometryType?{x:t[0][0][0],y:t[0][0][1]}:"esriGeometryPolygon"===this.geometryType?{rings:t}:{paths:t}}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,r=e;for(;this.nextPoint();)s+=(t-this.x)*(e+this.y),t=this.x,e=this.y;return s+=(t-i)*(e+r),-.5*s}invertY(){this.yFactor*=-1}}class Xt extends Yt{constructor(){super(...arguments),this._end=-1}initialize(t,e,s,i,r){return this.hasZ=s,this.hasM=i,this.geometryType=e,this._stride=2+Number(s)+Number(i),this._geometry=t,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=r,this}reset(){this.initialize(this._geometry,this.geometryType,this.hasZ,this.hasM,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 Xt).initialize(new jt.A([this.pathSize],e.slice(s,t)),this.geometryType,this.hasZ,this.hasM,this.yFactor)}pathLength(){const t=this._end,e=this._stride,s=this._geometry.coords;let i=0;for(let r=this._pathOffset+e;r<t;r+=e){const t=s[r-e],n=s[r-e+1],o=s[r]-t,a=s[r+1]-n;i+=Math.sqrt(o*o+a*a)}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 Xt).initialize(this._geometry.clone(),this.geometryType,this.hasZ,this.hasM,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 $t(t){const e=[t.x,t.y];return t.z&&e.push(t.z),t.m&&e.push(t.m),e}function Ht(t){return(0,Wt.Bi)(t)?[t.rings,"esriGeometryPolygon"]:(0,Wt.Rg)(t)?[t.paths,"esriGeometryPolyline"]:(0,Wt.U9)(t)?[[t.points],"esriGeometryMultipoint"]:(0,Wt.ZC)(t)?[[[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]]],"esriGeometryEnvelope"]:(0,Wt.fT)(t)?[[[$t(t)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class Zt extends Yt{initialize(t,e,s,i,r){return this._paths=t,this.geometryType=e,this.hasZ=s,this.hasM=i,this._pathIndex=this._pointIndex=-1,this.yFactor=r,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],r=e[i],n=t[0],o=t[1],a=r[0]-n,h=r[1]-o;s+=Math.sqrt(a*a+h*h)}return s}startPath(){this._paths.push([])}getCurrentPath(){return(new Zt).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,qt.x)(t);for(const t of e)this.pushPath(t)}asOptimized(){const t=new jt.A;if("esriGeometryPoint"===this.geometryType)t.coords.push(...this._paths[0][0]),t.lengths.length=0;else for(const e of this._paths){for(const s of e)t.coords.push(s[0]),t.coords.push(s[1]*this.yFactor),this.hasZ&&t.coords.push(s[2]),this.hasM&&t.coords.push(s[this._mIndex]);t.lengths.push(e.length)}return t}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 Zt).initialize((0,Vt.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 Qt extends Xt{initialize(t,e,s,i,r){return super.initialize(t,e,s,i,r),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 Qt).initialize(this._geometry.clone(),this.geometryType,this.hasZ,this.hasM,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 Kt extends Zt{initialize(t,e,s,i,r){return super.initialize(t,e,s,i,r)}clone(){return(new Kt).initialize((0,Vt.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]}}var Jt=s(6774);let te;class ee{constructor(t){this._geometry=t}next(){const t=this._geometry;return this._geometry=null,t}}function se(t,e){te||(te=new Jt.O3(0,0,0,1));const s="esriGeometryPolygon"===t.geometryType,i=s?Jt.dC.Polygon:Jt.dC.LineString,r=s?3:2;let n,o;for(te.reset(i),te.setPixelMargin(e+1),te.setExtent(512);t.nextPath();)if(!(t.pathSize<r)){for(t.nextPoint(),n=t.x,o=-t.y,te.moveTo(n,o);t.nextPoint();)n=t.x,o=-t.y,te.lineTo(n,o);s&&te.close()}const a=te.result(!1);if(a){const e=Yt.createEmptyOptimizedCIM(t.geometryType);for(const t of a){e.startPath();for(const s of t)e.pushXY(s.x,-s.y)}return e.reset(),e}return null}class ie{static local(){return null===ie.instance&&(ie.instance=new ie),ie.instance}execute(t,e,s,i,r){return new re(t,e,s)}}ie.instance=null;class re{constructor(t,e,s){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();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,r=s,n=t.pathSize,o=0,a=0,h=0,c=0,l=0,u=0;this._isClosed&&++n;for(let d=1;t.nextPoint()||d<n;++d){let _,p;this._isClosed&&d===n-1?(_=e,p=s):(_=t.x,p=t.y);const f=_-i,g=p-r,m=Math.sqrt(f*f+g*g);d>1&&m>0&&h>0&&(o*f+a*g)/m/h<=this._maxCosAngle&&t.setControlPointAt(d-1),1===d&&(c=f,l=g,u=m),m>0&&(i=_,r=p,o=f,a=g,h=m)}this._isClosed&&h>0&&u>0&&(o*c+a*l)/u/h<=this._maxCosAngle&&t.setControlPointAt(0)}}}class ne{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}}function oe(t,e){t[4]=e}class ae{constructor(t,e=!0,s=!0,i=0){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 ne}next(){if(!this.geometryCursor)return null;const t=this.processMultiPath(this.geometryCursor);return this.iterateMultiPath&&t||(this.geometryCursor=null),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 he{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}}}const ce=.03;class le{constructor(t=0,e=!1){}isEmpty(t){if(!t.nextPoint())return!0;let e,s,i,r;for(e=t.x,s=t.y;t.nextPoint();e=s,s=r)if(i=t.x,r=t.y,i!==e||r!==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 r=s-t,n=i-e;return Math.sqrt(r*r+n*n)}getSegLength(t){const[[e,s],[i,r]]=t;return this.getLength(e,s,i,r)}getCoord2D(t,e,s,i,r){return[t+(s-t)*r,e+(i-e)*r]}getSegCoord2D(t,e){const[[s,i],[r,n]]=t;return this.getCoord2D(s,i,r,n,e)}getAngle(t,e,s,i,r){const n=s-t,o=i-e;return Math.atan2(o,n)}getAngleCS(t,e,s,i,r){const n=s-t,o=i-e,a=Math.sqrt(n*n+o*o);return a>0?[n/a,o/a]:[1,0]}getSegAngleCS(t,e){const[[s,i],[r,n]]=t;return this.getAngleCS(s,i,r,n,e)}cut(t,e,s,i,r,n){return[r<=0?[t,e]:this.getCoord2D(t,e,s,i,r),n>=1?[s,i]:this.getCoord2D(t,e,s,i,n)]}getSubCurve(t,e,s){const i=Yt.createEmptyOptimizedCIM("esriGeometryPolyline");return this.appendSubCurve(i,t,e,s)?i:null}appendSubCurve(t,e,s,i){t.startPath(),e.seekPathStart();let r=0,n=!0;if(!e.nextPoint())return!1;let o=e.x,a=e.y;for(;e.nextPoint();){const h=this.getLength(o,a,e.x,e.y);if(0!==h){if(n){if(r+h>s){const c=(s-r)/h;let l=1,u=!1;r+h>=i&&(l=(i-r)/h,u=!0);const d=this.cut(o,a,e.x,e.y,c,l);if(d&&t.pushPoints(d),u)break;n=!1}}else{if(r+h>i){const s=this.cut(o,a,e.x,e.y,0,(i-r)/h);s&&t.pushPoint(s[1]);break}t.pushXY(e.x,e.y)}r+=h,o=e.x,a=e.y}else o=e.x,a=e.y}return!0}getCIMPointAlong(t,e){if(!t.nextPoint())return null;let s,i,r,n,o=0;for(s=t.x,i=t.y;t.nextPoint();s=r,i=n){r=t.x,n=t.y;const a=this.getLength(s,i,r,n);if(0!==a){if(o+a>e){const t=(e-o)/a;return this.getCoord2D(s,i,r,n,t)}o+=a}}return null}offset(t,e,s,i,r){if(!t||t.length<2)return null;let n=0,o=t[n++],a=n;for(;n<t.length;){const e=t[n];e[0]===o[0]&&e[1]===o[1]||(n!==a&&(t[a]=t[n]),o=t[a++]),n++}const h=t[0][0]===t[a-1][0]&&t[0][1]===t[a-1][1];if(h&&--a,a<(h?3:2))return null;const c=[];o=h?t[a-1]:null;let l=t[0];for(let r=0;r<a;r++){const n=r===a-1?h?t[0]:null:t[r+1];if(o)if(n){const t=[n[0]-l[0],n[1]-l[1]];this.normalize(t);const r=[l[0]-o[0],l[1]-o[1]];this.normalize(r);const a=r[0]*t[1]-r[1]*t[0],h=r[0]*t[0]+r[1]*t[1];if(0===a&&1===h){l=n;continue}if(a>=0==e<=0){if(h<1){const s=[t[0]-r[0],t[1]-r[1]];this.normalize(s);const n=Math.sqrt((1+h)/2);if(n>1/i){const t=-Math.abs(e)/n;c.push([l[0]-s[0]*t,l[1]-s[1]*t])}}}else switch(s){case Ct.xw.Mitered:{const s=Math.sqrt((1+h)/2);if(s>0&&1/s<i){const i=[t[0]-r[0],t[1]-r[1]];this.normalize(i);const n=Math.abs(e)/s;c.push([l[0]-i[0]*n,l[1]-i[1]*n]);break}}case Ct.xw.Bevelled:c.push([l[0]+r[1]*e,l[1]-r[0]*e]),c.push([l[0]+t[1]*e,l[1]-t[0]*e]);break;case Ct.xw.Rounded:if(h<1){c.push([l[0]+r[1]*e,l[1]-r[0]*e]);const s=Math.floor(2.5*(1-h));if(s>0){const i=1/s;let n=i;for(let o=1;o<s;o++,n+=i){const s=[r[1]*(1-n)+t[1]*n,-r[0]*(1-n)-t[0]*n];this.normalize(s),c.push([l[0]+s[0]*e,l[1]+s[1]*e])}}c.push([l[0]+t[1]*e,l[1]-t[0]*e])}break;case Ct.xw.Square:default:if(a<0)c.push([l[0]+(r[1]+r[0])*e,l[1]+(r[1]-r[0])*e]),c.push([l[0]+(t[1]-t[0])*e,l[1]-(t[0]+t[1])*e]);else{const s=Math.sqrt((1+Math.abs(h))/2),i=[t[0]-r[0],t[1]-r[1]];this.normalize(i);const n=e/s;c.push([l[0]-i[0]*n,l[1]-i[1]*n])}}}else{const t=[l[0]-o[0],l[1]-o[1]];this.normalize(t),c.push([l[0]+t[1]*e,l[1]-t[0]*e])}else{const t=[n[0]-l[0],n[1]-l[1]];this.normalize(t),c.push([l[0]+t[1]*e,l[1]-t[0]*e])}o=l,l=n}return c.length<(h?3:2)?null:(h&&c.push([c[0][0],c[0][1]]),c)}}const ue=Ct.oF.OpenEnded;class de{static local(){return null===de.instance&&(de.instance=new de),de.instance}execute(t,e,s,i,r){return new _e(t,e,s)}}de.instance=null;class _e extends he{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new le,this._width=(void 0!==e.width?e.width:5)*s,this._arrowType=void 0!==e.geometricEffectArrowType?e.geometricEffectArrowType:void 0!==e.arrowType?e.arrowType:ue,this._offsetFlattenError=ce*s}processPath(t){const e=Yt.createEmptyOptimizedCIM(t.geometryType);switch(this._arrowType){case Ct.oF.OpenEnded:default:this._constructSimpleArrow(e,t,!0);break;case Ct.oF.Block:this._constructSimpleArrow(e,t,!1);break;case Ct.oF.Crossed:this._constructCrossedArrow(e,t)}return e}_constructSimpleArrow(t,e,s){const i=e.pathLength();let r=this._width;i<2*r&&(r=i/2);const n=this._curveHelper.getSubCurve(e,0,i-r);if(!n||!n.nextPath())return;n.seekPathStart();const o=r/2;if(this._curveHelper.isEmpty(n))return;const a=(0,qt.A)(n),h=this._constructOffset(a,-o);if(!h)return;const c=this._constructOffset(a,o);if(!c)return;const l=this._constructArrowBasePoint(h,-o/2);if(!l)return;const u=this._constructArrowBasePoint(c,o/2);if(!u)return;e.seekInPath(e.pathSize-1);const d=[e.x,e.y];t.pushPath(c),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(u),t.nextPoint(),t.setControlPoint(),t.pushPoint(d),t.nextPoint(),t.setControlPoint(),t.pushPoint(l),t.nextPoint(),t.setControlPoint(),t.pushPoints(h.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<3.732050807568877*i&&(i=s/3.732050807568877),e.seekPathStart();const r=this._curveHelper.getSubCurve(e,0,s-2.732050807568877*i);if(!r)return;r.nextPath();const n=i/2;if(this._curveHelper.isEmpty(r))return;const o=(0,qt.A)(r),a=this._constructOffset(o,n);if(!a)return;const h=this._constructOffset(o,-n);if(!h)return;const c=this._curveHelper.getSubCurve(e,0,s-i);if(!c)return;if(c.nextPath(),this._curveHelper.isEmpty(c))return;const l=(0,qt.A)(c),u=this._constructOffset(l,n);if(!u)return;const d=this._constructOffset(l,-n);if(!d)return;const _=u[u.length-1],p=this._constructArrowBasePoint(u,n/2);if(!p)return;const f=d[d.length-1],g=this._constructArrowBasePoint(d,-n/2);if(!g)return;e.seekInPath(e.pathSize-1);const m=[e.x,e.y];t.pushPath(a),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(f),t.nextPoint(),t.setControlPoint(),t.pushPoint(g),t.nextPoint(),t.setControlPoint(),t.pushPoint(m),t.nextPoint(),t.setControlPoint(),t.pushPoint(p),t.nextPoint(),t.setControlPoint(),t.pushPoint(_),t.nextPoint(),t.setControlPoint(),t.pushPoints(h.reverse()),t.nextPoint(),t.setControlPoint(),t.reset()}_constructOffset(t,e){return this._curveHelper.offset(t,e,Ct.xw.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],r=[i[0]-s[0],i[1]-s[1]];return this._curveHelper.normalize(r),[i[0]+r[1]*e,i[1]-r[0]*e]}}s(59456);class pe{static local(){return null===pe.instance&&(pe.instance=new pe),pe.instance}execute(t,e,s,i,r,n,o){return new fe(t,e,s,i,r,n,o)}}pe.instance=null;class fe{constructor(t,e,s,i,r,n,o){this._preventClipping=o,this._inputGeometries=t,this._tileKey=i,this._geometryEngine=r,this._curveHelper=new le,this._size=(void 0!==e.size?e.size:1)*s,this._maxInflateSize=n*s,this._offsetFlattenError=ce*s}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._size)return t;if("esriGeometryEnvelope"===t.geometryType)if(this._size>0){const e=Yt.createEmptyOptimizedCIM(t.geometryType),s=(0,qt.x)(t)[0],i=this._curveHelper.offset(s,this._size,Ct.xw.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 Yt.fromJSONCIM({xmin:e.xmin-this._size,xmax:e.xmax+this._size,ymin:e.ymin-this._size,ymax:e.ymax+this._size})}const e=this._geometryEngine;if(null==e)return null;const s=!this._preventClipping&&this._tileKey?se(t,this._maxInflateSize):t;if(!s)continue;const i=e.buffer(q.A.WebMercator,s.asJSON(),this._size,1);return i?Yt.fromJSONCIM(i):null}return null}}var ge,me,ye=s(95108);class xe{static local(){return null===xe.instance&&(xe.instance=new xe),xe.instance}execute(t,e,s,i,r){return new be(t,e,s)}}xe.instance=null;class be{constructor(t,e,s){this._defaultPointSize=20,this._inputGeometries=t,this._geomUnitsPerPoint=s,this._rule=e.rule??Ct.uQ.FullGeometry,this._defaultSize=this._defaultPointSize*s}next(){let t;for(;t=this._inputGeometries.next();){const e=this._processGeom((0,qt.x)(t));if(e?.length)return Yt.fromJSONCIM({paths:e})}return null}_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,r=t[0]*s+t[1]*e;t[0]=i,t[1]=r}_makeCtrlPt(t){const e=[t[0],t[1]];return oe(e,1),e}_addAngledTicks(t,e,s,i){const r=this._sub(s,e);this._normalize(r);const n=this._crossProduct(r,this._sub(i,e));let o;o=n>0?this._rightPerp(r):this._leftPerp(r);const a=Math.abs(n)/2,h=[];h.push([e[0]+(o[0]-r[0])*a,e[1]+(o[1]-r[1])*a]),h.push(e),h.push(s),h.push([s[0]+(o[0]+r[0])*a,s[1]+(o[1]+r[1])*a]),t.push(h)}_addBezier2(t,e,s,i,r){if(0==r--)return void t.push(i);const n=this._mid(e,s),o=this._mid(s,i),a=this._mid(n,o);this._addBezier2(t,e,n,a,r),this._addBezier2(t,a,o,i,r)}_addBezier3(t,e,s,i,r,n){if(0==n--)return void t.push(r);const o=this._mid(e,s),a=this._mid(s,i),h=this._mid(i,r),c=this._mid(o,a),l=this._mid(a,h),u=this._mid(c,l);this._addBezier3(t,e,o,c,u,n),this._addBezier3(t,u,l,h,r,n)}_add90DegArc(t,e,s,i,r){const n=r??this._crossProduct(this._sub(s,e),this._sub(i,e))>0,o=this._mid(e,s),a=this._sub(o,e);n?this._leftPerpendicular(a):this._rightPerpendicular(a),o[0]+=a[0],o[1]+=a[1],this._addBezier3(t,e,this._mix(e,.33333,o,.66667),this._mix(s,.33333,o,.66667),s,4)}_addArrow(t,e,s){const i=e[0],r=e[1],n=e[e.length-1],o=this._sub(i,r),a=this._norm(o);this._normalize(o);const h=Math.abs(this._crossProduct(o,this._sub(n,r)));let c=this._dotProduct(o,this._sub(n,r));c<.05*a?c=.05*a:c>.95*a&&(c=.95*a);const l=.5*h,u=this._leftPerp(o),d=[r[0]+o[0]*c,r[1]+o[1]*c],_=e.length-1,p=[];p.push(s?[-u[0],-u[1]]:u);let f=[-o[0],-o[1]];for(let t=1;t<_-1;t++){const s=this._sub(e[t+1],e[t]);this._normalize(s);const i=this._dotProduct(s,f),r=this._crossProduct(s,f),n=Math.sqrt((1+i)/2),o=this._sub(s,f);this._normalize(o),o[0]/=n,o[1]/=n,p.push(r<0?[-o[0],-o[1]]:o),f=s}p.push(this._rightPerp(f));for(let s=p.length-1;s>0;s--)t.push([e[s][0]+p[s][0]*l,e[s][1]+p[s][1]*l]);t.push([d[0]+p[0][0]*l,d[1]+p[0][1]*l]),t.push([d[0]+p[0][0]*h,d[1]+p[0][1]*h]),t.push(i),t.push([d[0]-p[0][0]*h,d[1]-p[0][1]*h]),t.push([d[0]-p[0][0]*l,d[1]-p[0][1]*l]);for(let s=1;s<p.length;s++)t.push([e[s][0]-p[s][0]*l,e[s][1]-p[s][1]*l])}_addDash(t,e,s){const i=this._norm(s)/7;this._normalize(s);let r=[];for(let n=0;n<=7;n++)r.push([e[0]+s[0]*n*i,e[1]+s[1]*n*i]),1&n&&(t.push(r),r=[])}_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 r=this._mix(t[0],1-s,e,s),n=this._sub(e,t[0]);return this._normalize(n),this._rightPerpendicular(n),[r[0]+n[0]*i*this._defaultSize,r[1]+n[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 r=this._rightPerp(i);return[e,s,[e[0]+(r[0]-i[0])*this._defaultSize,e[1]+(r[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 r=this._rightPerp(t);i=[e[0]+(r[0]-t[0])*this._defaultSize,e[1]+(r[1]-t[1])*this._defaultSize]}return[s,i]}_processGeom(t){if(!t)return null;const e=[];for(const s of t){const t=s.length>1&&(0,ye.Yl)(s)<this._defaultSize;if(!s||0===s.length||t)continue;const i=s.length;let r=s[0];switch(this._rule){case Ct.uQ.PerpendicularFromFirstSegment:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),n=[];n.push(i),n.push(this._mid(r,t)),e.push(n);break}case Ct.uQ.ReversedFirstSegment:{const t=this._cp2(s,0,-1);e.push([t,r]);break}case Ct.uQ.PerpendicularToSecondSegment:{if(s.length<3)return[];const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),n=[];n.push(this._mid(t,i)),n.push(r),e.push(n);break}case Ct.uQ.SecondSegmentWithTicks:{if(s.length<3)return[];const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),n=this._sub(i,t);let o;o=this._crossProduct(n,this._sub(r,t))>0?this._rightPerp(n):this._leftPerp(n);const a=[];a.push([t[0]+(o[0]-n[0])/3,t[1]+(o[1]-n[1])/3]),a.push(t),a.push(i),a.push([i[0]+(o[0]+n[0])/3,i[1]+(o[1]+n[1])/3]),e.push(a);break}case Ct.uQ.DoublePerpendicular:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),n=this._mid(r,t),o=this._sub(n,i);this._normalize(o);const a=this._crossProduct(o,this._sub(r,i));this._leftPerpendicular(o);const h=[];h.push(r),h.push([i[0]+o[0]*a,i[1]+o[1]*a]),e.push(h);const c=[];c.push([i[0]-o[0]*a,i[1]-o[1]*a]),c.push(t),e.push(c);break}case Ct.uQ.OppositeToFirstSegment:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),n=this._mid(r,t),o=this._sub(n,i);this._normalize(o);const a=this._crossProduct(o,this._sub(r,i));this._leftPerpendicular(o);const h=[];h.push([i[0]+o[0]*a,i[1]+o[1]*a]),h.push([i[0]-o[0]*a,i[1]-o[1]*a]),e.push(h);break}case Ct.uQ.TriplePerpendicular:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),n=this._mid(r,t),o=this._sub(n,i);this._normalize(o);const a=this._crossProduct(o,this._sub(r,i));this._leftPerpendicular(o);const h=[];h.push([i[0]+o[0]*a*.8,i[1]+o[1]*a*.8]),h.push([n[0]+.8*(r[0]-n[0]),n[1]+.8*(r[1]-n[1])]),e.push(h),e.push([i,n]);const c=[];c.push([i[0]-o[0]*a*.8,i[1]-o[1]*a*.8]),c.push([n[0]+.8*(t[0]-n[0]),n[1]+.8*(t[1]-n[1])]),e.push(c);break}case Ct.uQ.HalfCircleFirstSegment:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),n=this._mid(r,t);let o=this._sub(t,r);const a=Math.cos(Math.PI/18),h=Math.sin(Math.PI/18),c=Math.sqrt((1+a)/2),l=Math.sqrt((1-a)/2),u=[];let d;this._crossProduct(o,this._sub(i,r))>0?(u.push(r),o=this._sub(r,n),d=t):(u.push(t),o=this._sub(t,n),d=r),this._rotateDirect(o,c,l),o[0]/=c,o[1]/=c;for(let t=1;t<=18;t++)u.push(this._add(n,o)),this._rotateDirect(o,a,h);u.push(d),e.push(u);break}case Ct.uQ.HalfCircleSecondSegment:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,1,-1);let n=this._sub(r,t);this._normalize(n);const o=this._crossProduct(n,this._sub(i,t))/2;this._leftPerpendicular(n);const a=[t[0]+n[0]*o,t[1]+n[1]*o];n=this._sub(t,a);const h=Math.cos(Math.PI/18);let c=Math.sin(Math.PI/18);o>0&&(c=-c);const l=[t];for(let t=1;t<=18;t++)this._rotateDirect(n,h,c),l.push(this._add(a,n));e.push(l);break}case Ct.uQ.HalfCircleExtended:{const t=this._cp2(s,0,-2),n=this._cp3(s,t,1,-1);let o;if(i>=4)o=s[3];else{const e=this._sub(r,t);o=this._add(n,e)}const a=this._dist(t,n)/2/.75,h=this._sub(t,r);this._normalize(h,a);const c=this._sub(n,o);this._normalize(c,a);const l=[o,n];e.push(l);const u=[this._clone(n)];this._addBezier3(u,n,this._add(n,c),this._add(t,h),t,4),u.push(r),e.push(u);break}case Ct.uQ.OpenCircle:{const t=this._cp2(s,-2,0),i=this._sub(t,r),n=Math.cos(Math.PI/18),o=-Math.sin(Math.PI/18),a=[t];for(let t=1;t<=33;t++)this._rotateDirect(i,n,o),a.push(this._add(r,i));e.push(a);break}case Ct.uQ.CoverageEdgesWithTicks:{const t=this._cp2(s,0,-1);let n,o;if(i>=3)n=s[2];else{const e=this._sub(t,r),s=this._leftPerp(e);n=[r[0]+s[0]-.25*e[0],r[1]+s[1]-.25*e[1]]}if(i>=4)o=s[3];else{const e=this._mid(r,t),s=this._sub(r,t);this._normalize(s),this._leftPerpendicular(s);const i=this._crossProduct(s,this._sub(n,e));this._rightPerpendicular(s),o=[n[0]+s[0]*i*2,n[1]+s[1]*i*2]}const a=this._sub(t,r);let h,c;h=this._crossProduct(a,this._sub(n,r))>0?this._rightPerp(a):this._leftPerp(a),c=[],c.push(n),c.push(r),c.push([r[0]+(h[0]-a[0])/3,r[1]+(h[1]-a[1])/3]),e.push(c),h=this._crossProduct(a,this._sub(o,t))>0?this._rightPerp(a):this._leftPerp(a),c=[],c.push([t[0]+(h[0]+a[0])/3,t[1]+(h[1]+a[1])/3]),c.push(t),c.push(o),e.push(c);break}case Ct.uQ.GapExtentWithDoubleTicks:{const t=this._cp2(s,0,2),n=this._cp3(s,t,0,1);let o;if(i>=4)o=s[3];else{const e=this._sub(t,r);o=this._add(n,e)}this._addAngledTicks(e,r,t,this._mid(n,o)),this._addAngledTicks(e,n,o,this._mid(r,t));break}case Ct.uQ.GapExtentMidline:{const t=this._cp2(s,2,0),n=this._cp3(s,t,0,1);let o;if(i>=4)o=s[3];else{const e=this._sub(t,r);o=this._add(n,e)}const a=[];a.push(this._mid(r,n)),a.push(this._mid(t,o)),e.push(a);break}case Ct.uQ.Chevron:{const t=this._cp2(s,-1,-1);let n;if(i>=3)n=s[2];else{const e=this._sub(t,r);this._leftPerpendicular(e),n=this._add(r,e)}e.push([t,this._makeCtrlPt(r),n]);break}case Ct.uQ.PerpendicularWithArc:{const t=this._cp2(s,0,-2),n=this._cp3(s,t,.5,-1),o=this._sub(t,r),a=this._norm(o);o[0]/=a,o[1]/=a;const h=this._crossProduct(o,this._sub(n,r));let c=this._dotProduct(o,this._sub(n,r));c<.05*a?c=.05*a:c>.95*a&&(c=.95*a);const l=[r[0]+o[0]*c,r[1]+o[1]*c];let u=this._leftPerp(o),d=[];if(d.push([l[0]-u[0]*h,l[1]-u[1]*h]),d.push([l[0]+u[0]*h,l[1]+u[1]*h]),e.push(d),i>=4){const t=s[3];let i=this._dotProduct(o,this._sub(t,r));i<.1*a?i=.1*a:i>.9*a&&(i=.9*a);const n=[r[0]+o[0]*i,r[1]+o[1]*i],h=this._crossProduct(o,this._sub(t,r)),c=[];c.push([n[0]-u[0]*h,n[1]-u[1]*h]),c.push([n[0]+u[0]*h,n[1]+u[1]*h]),e.push(c)}const _=[t[0]+u[0]*h,t[1]+u[1]*h];u=this._sub(t,_);const p=Math.cos(Math.PI/18);let f=Math.sin(Math.PI/18);h<0&&(f=-f),d=[r,t];for(let t=1;t<=9;t++)this._rotateDirect(u,p,f),d.push(this._add(_,u));e.push(d);break}case Ct.uQ.ClosedHalfCircle:{const t=this._cp2(s,2,0),i=this._mid(r,t),n=this._sub(t,i),o=Math.cos(Math.PI/18),a=Math.sin(Math.PI/18),h=[r,t];for(let t=1;t<=18;t++)this._rotateDirect(n,o,a),h.push(this._add(i,n));e.push(h);break}case Ct.uQ.TripleParallelExtended:{const t=this._cp2(s,0,-2),i=this._cp3(s,t,1,-2),n=this._mid(r,t),o=this._sub(i,t);this._normalize(o);const a=Math.abs(this._crossProduct(o,this._sub(n,t)))/2,h=this._dist(t,i),c=[t,r];c.push([r[0]+o[0]*h*.5,r[1]+o[1]*h*.5]),e.push(c);const l=[];l.push([n[0]-o[0]*a,n[1]-o[1]*a]),l.push([n[0]+o[0]*h*.375,n[1]+o[1]*h*.375]),oe(l[l.length-1],1),l.push([n[0]+o[0]*h*.75,n[1]+o[1]*h*.75]),e.push(l);const u=[t,i];e.push(u);break}case Ct.uQ.ParallelWithTicks:{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),n=this._sub(i,t);this._normalize(n);const o=this._crossProduct(n,this._sub(i,r));this._leftPerpendicular(n),this._addAngledTicks(e,r,t,i),this._addAngledTicks(e,this._mix(r,1,n,o),this._mix(t,1,n,o),this._mid(r,t));break}case Ct.uQ.Parallel:{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),n=this._sub(t,r);this._normalize(n);const o=this._leftPerp(n),a=this._crossProduct(n,this._sub(i,r));let h=[r,t];e.push(h),h=[],h.push([r[0]+o[0]*a,r[1]+o[1]*a]),h.push([t[0]+o[0]*a,t[1]+o[1]*a]),e.push(h);break}case Ct.uQ.PerpendicularToFirstSegment:{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),n=this._mid(r,t),o=this._sub(t,r);this._normalize(o);const a=this._crossProduct(o,this._sub(i,r));this._leftPerpendicular(o);const h=[];h.push([n[0]-o[0]*a*.25,n[1]-o[1]*a*.25]),h.push([n[0]+o[0]*a*1.25,n[1]+o[1]*a*1.25]),e.push(h);break}case Ct.uQ.ParallelOffset:{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),n=this._sub(t,r);this._normalize(n);const o=this._crossProduct(n,this._sub(i,r));this._leftPerpendicular(n);const a=[];a.push([r[0]-n[0]*o,r[1]-n[1]*o]),a.push([t[0]-n[0]*o,t[1]-n[1]*o]),e.push(a);const h=[];h.push([r[0]+n[0]*o,r[1]+n[1]*o]),h.push([t[0]+n[0]*o,t[1]+n[1]*o]),e.push(h);break}case Ct.uQ.OffsetOpposite:{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),n=this._sub(t,r);this._normalize(n);const o=this._crossProduct(n,this._sub(i,r));this._leftPerpendicular(n);const a=[];a.push([r[0]-n[0]*o,r[1]-n[1]*o]),a.push([t[0]-n[0]*o,t[1]-n[1]*o]),e.push(a);break}case Ct.uQ.OffsetSame:{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),n=this._sub(t,r);this._normalize(n);const o=this._crossProduct(n,this._sub(i,r));this._leftPerpendicular(n);const a=[];a.push([r[0]+n[0]*o,r[1]+n[1]*o]),a.push([t[0]+n[0]*o,t[1]+n[1]*o]),e.push(a);break}case Ct.uQ.CircleWithArc:{let t=this._cp2(s,3,0);const n=this._cp3(s,t,.5,-1);let o,a;if(i>=4)o=s[3],a=this._crossProduct(this._sub(o,t),this._sub(n,t))>0;else{o=t,a=this._crossProduct(this._sub(o,r),this._sub(n,r))>0;const e=24*this._geomUnitsPerPoint,s=this._sub(o,r);this._normalize(s,e);const i=Math.sqrt(2)/2;this._rotateDirect(s,i,a?i:-i),t=this._add(r,s)}const h=this._sub(t,r),c=Math.cos(Math.PI/18),l=Math.sin(Math.PI/18),u=[t];for(let t=1;t<=36;t++)this._rotateDirect(h,c,l),u.push(this._add(r,h));this._add90DegArc(u,t,o,n,a),oe(u[u.length-8],1),e.push(u);break}case Ct.uQ.DoubleJog:{let t,n=this._cp2(s,-3,1),o=this._cp3(s,n,-1,-.5);if(i>=4)t=s[3];else{const e=r;r=n,t=o;const s=this._dist(r,e),i=this._dist(t,e);let a=30*this._geomUnitsPerPoint;.5*s<a&&(a=.5*s),.5*i<a&&(a=.5*i),n=this._mix(r,a/s,e,(s-a)/s),o=this._mix(t,a/i,e,(i-a)/i)}const a=this._mid(r,n),h=this._mid(t,o),c=this._dist(r,n),l=this._dist(o,t);let u=Math.min(c,l)/8;u=Math.min(u,24*this._geomUnitsPerPoint);const d=Math.cos(Math.PI/4);let _=this._sub(r,n);this._normalize(_,u),this._crossProduct(_,this._sub(t,n))>0?this._rotateDirect(_,d,-d):this._rotateDirect(_,d,d);let p=[];p.push(n),p.push(this._add(a,_)),p.push(this._sub(a,_)),p.push(r),e.push(p),_=this._sub(t,o),this._normalize(_,u),this._crossProduct(_,this._sub(r,o))<0?this._rotateDirect(_,d,d):this._rotateDirect(_,d,-d),p=[],p.push(o),p.push(this._add(h,_)),p.push(this._sub(h,_)),p.push(t),e.push(p);break}case Ct.uQ.PerpendicularOffset:{const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),n=this._sub(i,t);this._crossProduct(n,this._sub(r,t))>0?this._rightPerpendicular(n):this._leftPerpendicular(n);const o=[n[0]/8,n[1]/8],a=this._sub(this._mid(t,i),o);e.push([a,r]);break}case Ct.uQ.LineExcludingLastSegment:{const t=this._arrowPath(s),i=[];let r=t.length-2;for(;r--;)i.push(t[r]);e.push(i);break}case Ct.uQ.MultivertexArrow:{const t=this._arrowPath(s),i=[];this._addArrow(i,t,!1),e.push(i);break}case Ct.uQ.CrossedArrow:{const t=this._arrowPath(s),i=[];this._addArrow(i,t,!0),e.push(i);break}case Ct.uQ.ChevronArrow:{const[t,i]=this._arrowLastSeg(s),n=10*this._geomUnitsPerPoint,o=this._sub(r,t),a=this._norm(o);this._normalize(o);const h=this._crossProduct(o,this._sub(i,t));let c=this._dotProduct(o,this._sub(i,t));c<.05*a?c=.05*a:c>.95*a-n&&(c=.95*a-n);const l=[t[0]+o[0]*c,t[1]+o[1]*c],u=this._leftPerp(o),d=[];d.push([l[0]+u[0]*h+o[0]*n,l[1]+u[1]*h+o[1]*n]),d.push(r),d.push([l[0]-u[0]*h+o[0]*n,l[1]-u[1]*h+o[1]*n]),e.push(d);break}case Ct.uQ.ChevronArrowOffset:{const[t,i]=this._arrowLastSeg(s),n=this._sub(r,t),o=this._norm(n);this._normalize(n);const a=this._crossProduct(n,this._sub(i,t));let h=this._dotProduct(n,this._sub(i,t));h<.05*o?h=.05*o:h>.95*o&&(h=.95*o);const c=[t[0]+n[0]*h,t[1]+n[1]*h];this._leftPerpendicular(n);const l=[];l.push([c[0]+n[0]*a*.5,c[1]+n[1]*a*.5]),l.push(this._mid(c,r)),l.push([c[0]-n[0]*a*.5,c[1]-n[1]*a*.5]),e.push(l);break}case Ct.uQ.PartialFirstSegment:{const[t,i]=this._arrowLastSeg(s),n=this._sub(r,t),o=this._norm(n);this._normalize(n);let a=this._dotProduct(n,this._sub(i,t));a<.05*o?a=.05*o:a>.95*o&&(a=.95*o);const h=[t[0]+n[0]*a,t[1]+n[1]*a];e.push([t,h]);break}case Ct.uQ.Arch:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,1),n=this._sub(r,t),o=this._mix(i,1,n,.55),a=this._mix(i,1,n,-.55),h=[r];this._addBezier2(h,r,o,i,4),this._addBezier2(h,i,a,t,4),e.push(h);break}case Ct.uQ.CurvedParallelTicks:{const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),n=this._sub(i,t);this._crossProduct(n,this._sub(r,t))>0?this._rightPerpendicular(n):this._leftPerpendicular(n);const o=[n[0]/8,n[1]/8],a=this._sub(this._mid(t,i),o),h=this._sub(this._mix(t,.75,i,.25),o),c=this._sub(this._mix(t,.25,i,.75),o),l=[t];this._addBezier2(l,t,h,a,3),this._addBezier2(l,a,c,i,3),e.push(l);for(let t=0;t<8;t++){const s=l[2*t+1],i=[this._clone(s)];i.push(this._add(s,[n[0]/4,n[1]/4])),e.push(i)}break}case Ct.uQ.Arc90Degrees:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,1),n=[t];this._add90DegArc(n,t,r,i),e.push(n);break}case Ct.uQ.TipWithPerpendicularAndTicks:{const[t,i]=this._arrowLastSeg(s),n=10*this._geomUnitsPerPoint,o=this._sub(r,t),a=this._norm(o);this._normalize(o);let h=this._crossProduct(o,this._sub(i,t)),c=this._dotProduct(o,this._sub(i,t));c<.05*a?c=.05*a:c>.95*a-n&&(c=.95*a-n);const l=this._leftPerp(o),u=[r[0]-o[0]*n,r[1]-o[1]*n],d=.5*Math.max(a-c-n,n);h=Math.abs(h);const _=[];_.push([u[0]+l[0]*(h+d)-o[0]*d,u[1]+l[1]*(h+d)-o[1]*d]),_.push([u[0]+l[0]*h,u[1]+l[1]*h]),_.push([u[0]-l[0]*h,u[1]-l[1]*h]),_.push([u[0]-l[0]*(h+d)-o[0]*d,u[1]-l[1]*(h+d)-o[1]*d]),e.push(_),e.push([u,r]);break}case Ct.uQ.ConcentricCircles:{const t=this._cp2(s,1,0),n=this._cp3(s,t,2,0),o=Math.cos(Math.PI/18),a=Math.sin(Math.PI/18);let h=this._dist(t,r),c=[h,0],l=[];for(let t=0;t<=36;t++)l.push(this._add(r,c)),this._rotateDirect(c,o,a);if(e.push(l),i>=4){l=[];const t=s[3];h=this._dist(t,r),c=[h,0];for(let t=0;t<=36;t++)l.push(this._add(r,c)),0===t&&(l.push(this._add(r,c)),oe(l[1],1)),this._rotateDirect(c,o,a);e.push(l)}l=[],h=this._dist(n,r),c=[h,0];for(let t=0;t<=36;t++)l.push(this._add(r,c)),this._rotateDirect(c,o,a);e.push(l);break}case Ct.uQ.DoubleJogArrow:{r=this._arrowPath(s)[0];const[t,i]=this._arrowLastSeg(s),n=this._sub(r,t),o=this._norm(n);this._normalize(n);const a=Math.abs(this._crossProduct(n,this._sub(i,r)));let h=Math.abs(this._dotProduct(n,this._sub(i,r)));h<.05*o?h=.05*o:h>.95*o&&(h=.95*o);const c=Math.max(a,h),l=this._leftPerp(n);let u=[];const d=[r[0]-n[0]*h*.5+l[0]*a*.5,r[1]-n[1]*h*.5+l[1]*a*.5];u.push([d[0],d[1]]),d[0]+=n[0]*c*.5+l[0]*c*.4,d[1]+=n[1]*c*.5+l[1]*c*.4,u.push([d[0],d[1]]),d[0]-=l[0]*c*.25,d[1]-=l[1]*c*.25,u.push([d[0],d[1]]),d[0]+=n[0]*c*.5+l[0]*c*.4,d[1]+=n[1]*c*.5+l[1]*c*.4,u.push([d[0],d[1]]),e.push(u),u=[],d[0]=r[0]-n[0]*h*.5-l[0]*a*.5,d[1]=r[1]-n[1]*h*.5-l[1]*a*.5,u.push([d[0],d[1]]),d[0]+=n[0]*c*.5-l[0]*c*.4,d[1]+=n[1]*c*.5-l[1]*c*.4,u.push([d[0],d[1]]),d[0]+=l[0]*c*.25,d[1]+=l[1]*c*.25,u.push([d[0],d[1]]),d[0]+=n[0]*c*.5-l[0]*c*.4,d[1]+=n[1]*c*.5-l[1]*c*.4,u.push([d[0],d[1]]),e.push(u);break}case Ct.uQ.LinkedChevrons:{const t=this._cp2(s,-5,0),i=this._cp3(s,t,-.2,1),n=this._sub(r,t);this._normalize(n);const o=this._leftPerp(n),a=Math.abs(this._crossProduct(n,this._sub(i,t)));e.push([t,r]);const h=[];h.push([r[0]-n[0]*a+o[0]*a,r[1]-n[1]*a+o[1]*a]),h.push(r),h.push([r[0]-n[0]*a-o[0]*a,r[1]-n[1]*a-o[1]*a]),e.push(h),this._addDash(e,t,[-n[0]*a+o[0]*a,-n[1]*a+o[1]*a]),this._addDash(e,t,[-n[0]*a-o[0]*a,-n[1]*a-o[1]*a]);break}case Ct.uQ.SegmentThenHalfCircle:{const t=this._cp2(s,2,0),n=this._cp3(s,t,1.5,0);let o;o=i>=4?s[3]:this._cp3(s,t,1.25,-.5);const a=this._sub(t,r);this._normalize(a);const h=.5*this._dist(t,n),c=this._crossProduct(a,this._sub(o,r))>0,l=Math.cos(Math.PI/18);let u=Math.sin(Math.PI/18);c&&(u=-u);const d=[r,t];a[0]*=h,a[1]*=h;const _=this._add(t,a);a[0]=-a[0],a[1]=-a[1];for(let t=1;t<=18;t++)this._rotateDirect(a,l,u),d.push(this._add(_,a));e.push(d);break}case Ct.uQ.LineWithStraightTicks:{const t=this._cp2(s,-2,1),i=this._cp3(s,t,-1,-.5),n=this._sub(i,t);this._normalize(n);const o=this._dotProduct(n,this._sub(t,r)),a=this._dotProduct(n,this._sub(i,r));let h=[r];h.push([r[0]+n[0]*o,r[1]+n[1]*o]),h.push(t),e.push(h),h=[r],h.push([r[0]+n[0]*a,r[1]+n[1]*a]),h.push(i),e.push(h);break}case Ct.uQ.DoubleCurve:{const t=this._cp2(s,-5,-1),i=this._cp3(s,t,2,0),n=Math.atan2(1,5),o=Math.cos(n),a=Math.sin(n),h=this._sub(t,r),c=this._dist(r,t);this._normalize(h),this._rotateDirect(h,o,-a);const l=[r];l.push([r[0]+h[0]*c*.5,r[1]+h[1]*c*.5]),oe(l[1],1),l.push([r[0]+h[0]*c*.8,r[1]+h[1]*c*.8]),this._addBezier2(l,l[2],[r[0]+h[0]*c,r[1]+h[1]*c],t,3);const u=this._sub(i,t),d=this._dist(t,i);this._normalize(u),this._rotateDirect(u,o,-a),this._addBezier2(l,t,[i[0]-u[0]*d,i[1]-u[1]*d],[i[0]-u[0]*d*.8,i[1]-u[1]*d*.8],3),l.push(i),e.push(l);break}case Ct.uQ.ParallelWithTicksByWidth:{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),n=this._sub(t,r);this._normalize(n);const o=this._crossProduct(n,this._sub(i,r));this._leftPerpendicular(n),o>0?(this._addAngledTicks(e,r,[r[0]+n[0]*o,r[1]+n[1]*o],t),this._addAngledTicks(e,t,[t[0]+n[0]*o,t[1]+n[1]*o],r)):(this._addAngledTicks(e,[r[0]+n[0]*o,r[1]+n[1]*o],r,t),this._addAngledTicks(e,[t[0]+n[0]*o,t[1]+n[1]*o],r,t));break}case Ct.uQ.EnclosingRoundedRectangle:{const t=this._cp2(s,3,-2),e=[Math.min(r[0],t[0]),Math.max(r[1],t[1])],i=[Math.max(r[0],t[0]),Math.min(r[1],t[1])],n=i[0]-e[0],o=e[1]-i[1],a=Math.min(n,o)/10,h=[];h.push([e[0]+a+.75*(n-2*a),e[1]]),h.push([i[0]-a,e[1]]),this._add90DegArc(h,[i[0]-a,e[1]],[i[0],e[1]-a],[i[0],e[1]]),h.push([i[0],i[1]+a]),this._add90DegArc(h,[i[0],i[1]+a],[i[0]-a,i[1]],i),h.push([e[0]+a,i[1]]),this._add90DegArc(h,[e[0]+a,i[1]],[e[0],i[1]+a],[e[0],i[1]]),h.push([e[0],e[1]-a]),this._add90DegArc(h,[e[0],e[1]-a],[e[0]+a,e[1]],e),h.push([e[0]+a+.75*(n-2*a),e[1]]);break}case Ct.uQ.FullGeometry:default:e.push(s)}}return e}}class we{static local(){return null===we.instance&&(we.instance=new we),we.instance}execute(t,e,s,i,r){return new ve(t,e,s)}}we.instance=null;class ve extends he{constructor(t,e,s){super(t,!0,!0),this._curveHelper=new le,this._beginCut=(void 0!==e.beginCut?e.beginCut:1)*s,this._endCut=(void 0!==e.endCut?e.endCut:1)*s,this._middleCut=(void 0!==e.middleCut?e.middleCut:0)*s,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,r=t.pathLength(),n=Yt.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._invert){if(0!==e||0!==s||0!==i)if(e+s+i>=r)for(n.startPath();t.nextPoint();)n.pushXY(t.x,t.y);else this._curveHelper.appendSubCurve(n,t,0,e),this._curveHelper.appendSubCurve(n,t,.5*(r-i),.5*(r+i)),this._curveHelper.appendSubCurve(n,t,r-s,s)}else if(0===e&&0===s&&0===i)for(n.startPath();t.nextPoint();)n.pushXY(t.x,t.y);else e+s+i<r&&(0===i?this._curveHelper.appendSubCurve(n,t,e,r-s):(this._curveHelper.appendSubCurve(n,t,e,.5*(r-i)),this._curveHelper.appendSubCurve(n,t,.5*(r+i),r-s)));return 0===n.totalSize?null:n}}class Se{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,s=!0){if(this._setEmpty(),!t||0===t.length)return!1;for(let e=0;e<t.length;e++){let i=Math.abs(t[e]);s&&i<1e-7&&(i=1e-7),this._values.push(i),this._length+=i}return e&&1&t.length&&(this._length*=2),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 Ie{constructor(){this.pt=null,this.ca=0,this.sa=0}}(me=ge||(ge={}))[me.FAIL=0]="FAIL",me[me.END=1]="END",me[me.CONTINUE=2]="CONTINUE";class Me{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 Pe extends le{constructor(t=0,e=!1){super(t,e),this._tolerance=ce,this._currentPosition=new Me}updateTolerance(t){this._tolerance=ce*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=ge.FAIL){const s=new Me;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._currentPosition);t.ca=e,t.sa=s}nextPointAndAngle(t,e,s=ge.FAIL){const i=new Me;if(!this._nextPosition(t,i,null,s))return!1;i.copyTo(this._currentPosition),e.pt=this._getPoint(i);const[r,n]=this._getAngleCS(i);return e.ca=r,e.sa=n,!0}nextCurve(t){if(0===t)return null;const e=Yt.createEmptyOptimizedCIM("esriGeometryPolyline");e.startPath(),e.nextPath();const s=new Me;return this._nextPosition(t,s,e,ge.END)?(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 r=this._currentPosition.abscissa;for(this._currentPosition.segmentLength>0&&(r/=this._currentPosition.segmentLength),this._currentPosition.copyTo(e);e.abscissa+t*this._partLengthRatio>e.segmentLength+this._tolerance;){if(s){if(0===s.pathSize)if(0===r){const t=e.segment[0];s.pushXY(t[0],t[1])}else s.pushPoint(this.getSegCoord2D(e.segment,r));const t=e.segment[1];s.pushXY(t[0],t[1])}if(r=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 i!==ge.FAIL&&(e.segmentLength=this.getSegLength(e.segment),e.isPartEnd=!0,i===ge.END?(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===r?s.pushPoint(e.segment[0]):s.pushPoint(this.getSegCoord2D(e.segment,r)));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){const e=t.segmentLength<=0?0:t.abscissa/t.segmentLength;return this.getSegAngleCS(this._currentPosition.segment,e)}_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 Te=s(93397);class Ae{static local(){return null===Ae.instance&&(Ae.instance=new Ae),Ae.instance}execute(t,e,s,i,r){return new Ce(t,e,s)}}Ae.instance=null;class Ce extends he{constructor(t,e,s){super(t,!0,!0),this._firstCurve=null,this._walker=new Pe,this._walker.updateTolerance(s),this._endings=e.lineDashEnding,this._customDashPos=-(e.offsetAlongLine??0)*s,this._offsetAtEnd=(e.customEndingOffset??0)*s;let i=(0,Te.FH)(e).dashTemplate;null==i&&(i=[]),i.length%2&&(i=[...i,...i]),this._pattern=new Se,this._pattern.init(i,!0),this._pattern.scale(s)}processPath(t){if(0===this._pattern.length()){this.iteratePath=!1;const e=(0,qt.A)(t);return Yt.fromJSONCIM({paths:[e]})}if(!this.iteratePath){let e=!0;switch(this._endings){case Ct.yS.HalfPattern:case Ct.yS.HalfGap:default:this._pattern.extPtGap=0;break;case Ct.yS.FullPattern:this.isClosed||(this._pattern.extPtGap=.5*this._pattern.firstValue());break;case Ct.yS.FullGap:this.isClosed||(this._pattern.extPtGap=.5*this._pattern.lastValue());break;case Ct.yS.NoConstraint:this.isClosed||(e=!1);break;case Ct.yS.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,qt.A)(t);return Yt.fromJSONCIM({paths:[e]})}if(!this._walker.init(t,this._pattern,e)){const e=(0,qt.A)(t);return Yt.fromJSONCIM({paths:[e]})}}let e;if(this.iteratePath)e=this._pattern.nextValue();else{let t;switch(this._endings){case Ct.yS.HalfPattern:default:t=.5*this._pattern.firstValue();break;case Ct.yS.HalfGap:t=.5*-this._pattern.lastValue();break;case Ct.yS.FullGap:t=-this._pattern.lastValue();break;case Ct.yS.FullPattern:t=0;break;case Ct.yS.NoConstraint:case Ct.yS.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())}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 ke{static local(){return null===ke.instance&&(ke.instance=new ke),ke.instance}execute(t,e,s,i,r,n,o){return new Fe(t,e,s,i,r,n,o)}}ke.instance=null;class Fe{constructor(t,e,s,i,r,n,o){switch(this._preventClipping=o,this._inputGeometries=t,this._tileKey=i,this._geometryEngine=r,this._maxInflateSize=n*s,this._width=(void 0!==e.width?e.width:2)*s,e.method){case Ct.M1.Mitered:case Ct.M1.Bevelled:case Ct.M1.Rounded:case Ct.M1.TrueBuffer:case Ct.M1.Square:}this._option=e.option}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:Yt.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=this._geometryEngine;if(null==e)return null;const s=!this._preventClipping&&this._tileKey?se(t,this._maxInflateSize):t.clone();if(!s)continue;const i=e.buffer(q.A.WebMercator,s.asJSON(),-this._width,1);if(i)for(const t of i.rings)if(t){s.startPath();for(const e of t.reverse())s.pushXY(e[0],s.yFactor*e[1])}return s}}return null}}class Ee{static local(){return null===Ee.instance&&(Ee.instance=new Ee),Ee.instance}execute(t,e,s,i,r){return new ze(t,e,s)}}Ee.instance=null;class ze extends he{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new le,this._length=(void 0!==e.length?e.length:20)*s,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=Yt.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 r=t.x,n=t.y,o=[r-s,n-i];this._curveHelper.normalize(o);const a=s+(r-s)*this._position/100,h=i+(n-i)*this._position/100,c=Math.cos((90-this._angle)/180*Math.PI);let l=Math.sin((90-this._angle)/180*Math.PI);this._mirror&&(l=-l),this._mirror=!this._mirror;const u=[a-this._length/2*c,h-this._length/2*l],d=[a+this._length/2*c,h+this._length/2*l];return e.pushPath([[s,i],u,d,[r,n]]),e}}class Oe{static local(){return null===Oe.instance&&(Oe.instance=new Oe),Oe.instance}execute(t,e,s,i,r){return new Re(t,e,s)}}Oe.instance=null;class Re{constructor(t,e,s){this._inputGeometries=t,this._offsetX=void 0!==e.offsetX?e.offsetX*s:0,this._offsetY=void 0!==e.offsetY?e.offsetY*s: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}}class Le{static local(){return null===Le.instance&&(Le.instance=new Le),Le.instance}execute(t,e,s,i,r,n,o){return new De(t,e,s,i,r,n,o)}}Le.instance=null;class De{constructor(t,e,s,i,r,n,o){this._preventClipping=o,this._inputGeometries=t,this._tileKey=i,this._geometryEngine=r,this._curveHelper=new le,this._offset=(e.offset??1)*s,this._method=e.method,this._maxInflateSize=Math.max(Math.abs(n*s),10),this._option=e.option,this._offsetFlattenError=ce*s}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._offset)return t.clone();if("esriGeometryEnvelope"===t.geometryType){if(this._method===Ct.xw.Rounded&&this._offset>0){const e=(0,qt.A)(t),s=this._curveHelper.offset(e,-this._offset,this._method,4,this._offsetFlattenError);if(s){const e=Yt.createEmptyOptimizedCIM(t.geometryType);return e.pushPath(s),e}return null}const e=t.asJSON();if((0,Wt.ZC)(e)&&Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._offset>0)return Yt.fromJSONCIM({xmin:e.xmin-this._offset,xmax:e.xmax+this._offset,ymin:e.ymin-this._offset,ymax:e.ymax+this._offset})}const e=this._geometryEngine;if(null==e)continue;const s=!this._preventClipping&&this._tileKey?se(t,this._maxInflateSize):t.clone();if(!s)continue;const i=e.offset(q.A.WebMercator,s.asJSON(),-this._offset,1,this._method,4,this._offsetFlattenError);return i?Yt.fromJSONCIM(i):null}return null}}class Ne{static local(){return null===Ne.instance&&(Ne.instance=new Ne),Ne.instance}execute(t,e,s,i,r){return new Be(t,e,s)}}Ne.instance=null;class Be{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 Ge(t.clone());t=this._inputGeometries.next()}return null}}function Ge(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 r=t.x,n=t.y;t.x=s,t.y=i,t.seekInPath(e),t.x=r,t.y=n}return t.reset(),t}var Ue=s(537);class Ve{static local(){return null===Ve.instance&&(Ve.instance=new Ve),Ve.instance}execute(t,e,s,i,r){return new qe(t,e,s)}}Ve.instance=null;class qe{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,Ue.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),r=Math.sin(this._rotateAngle);for(;t.nextPath();)for(;t.nextPoint();){const n=t.x-e,o=t.y-s;t.x=e+n*i-o*r,t.y=s+n*r+o*i}return t.reset(),t}}class We{static local(){return null===We.instance&&(We.instance=new We),We.instance}execute(t,e,s,i,r){return new je(t,e,s)}}We.instance=null;class je{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,Ue.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 Ye{static local(){return null===Ye.instance&&(Ye.instance=new Ye),Ye.instance}execute(t,e,s,i,r){return new Xe(t,e,s)}}Ye.instance=null;class Xe{constructor(t,e,s){this._inputGeometries=t,this._height=(void 0!==e.amplitude?e.amplitude:2)*s,this._period=(void 0!==e.period?e.period:3)*s,this._style=e.waveform,this._height<=0&&(this._height=Math.abs(this._height)),this._period<=0&&(this._period=Math.abs(this._period)),this._pattern=new Se,this._pattern.addValue(this._period),this._pattern.addValue(this._period),this._walker=new Pe,this._walker.updateTolerance(s)}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=Yt.createEmptyOptimizedCIM(t.geometryType);for(;t.nextPath();){e.startPath();const s=t.pathLength();if(this._walker.init(t,this._pattern))switch(this._style){case Ct.WE.Sinus:default:this._constructCurve(e,s,!1);break;case Ct.WE.Square:this._constructSquare(e,s);break;case Ct.WE.Triangle:this._constructTriangle(e,s);break;case Ct.WE.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 r=16*i+1,n=e/i,o=this._period/16,a=1/r,h=2*Math.PI*e/n,c=2*Math.PI*Math.random(),l=2*Math.PI*Math.random(),u=2*Math.PI*Math.random(),d=.75-Math.random()/2,_=.75-Math.random()/2,p=new Ie;this._walker.curPointAndAngle(p),t.pushPoint(p.pt);let f=0;for(;;){if(!this._walker.nextPointAndAngle(o,p)){t.pushPoint(this._walker.getPathEnd());break}{const e=f;let i;if(f+=a,s){const t=this._height/2*(1+.3*Math.sin(d*h*e+c));i=t*Math.sin(h*e+l),i+=t*Math.sin(_*h*e+u),i/=2}else i=.5*this._height*Math.sin(.5*h*e);t.pushXY(p.pt[0]-i*p.sa,p.pt[1]+i*p.ca)}}}_constructSquare(t,e){Math.round(e/this._period);let s=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){const i=new Ie;this._walker.curPointAndAngle(i);const r=new Ie;if(this._walker.nextPointAndAngle(this._period,r)){const n=new Ie;this._walker.nextPointAndAngle(this._period,n)&&(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(r.pt[0]-this._height/2*r.sa,r.pt[1]+this._height/2*r.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca),t.pushXY(n.pt[0]+this._height/2*n.sa,n.pt[1]-this._height/2*n.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 Ie;this._walker.curPointAndAngle(i);const r=new Ie;if(this._walker.nextPointAndAngle(this._period/2,r)){const n=new Ie;this._walker.nextPointAndAngle(this._period,n)&&(this._walker.nextPosition(this._period/2)&&(s?(t.pushPoint(i.pt),s=!1):t.pushPoint(i.pt),t.pushXY(r.pt[0]-this._height/2*r.sa,r.pt[1]+this._height/2*r.ca),t.pushXY(n.pt[0]+this._height/2*n.sa,n.pt[1]-this._height/2*n.ca)),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}}class $e{static local(){return null===$e.instance&&($e.instance=new $e),$e.instance}execute(t,e,s,i,r){return new He(t,e,s)}}$e.instance=null;class He extends ae{constructor(t,e,s){super(t),this._geometryWalker=new Pe,this._geometryWalker.updateTolerance(s),this._angleToLine=e.angleToLine??!0,this._offset=(e.offset?e.offset:0)*s,this._originalEndings=e.endings,this._offsetAtEnd=(e.customEndingOffset?e.customEndingOffset:0)*s,this._position=-(e.offsetAlongLine?e.offsetAlongLine:0)*s,this._pattern=new Se,this._pattern.init(e.placementTemplate,!1),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{this._originalEndings===Ct.e_.WithFullGap&&this.isClosed?this._endings=Ct.e_.WithMarkers:this._endings=this._originalEndings,this._pattern.extPtGap=0;let s,i=!0;switch(this._endings){case Ct.e_.NoConstraint:s=-this._position,s=this._adjustPosition(s),i=!1;break;case Ct.e_.WithHalfGap:default:s=-this._pattern.lastValue()/2;break;case Ct.e_.WithFullGap:s=-this._pattern.lastValue(),this._pattern.extPtGap=this._pattern.lastValue();break;case Ct.e_.WithMarkers:s=0;break;case Ct.e_.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 r=0;for(;s>r;)s-=r,r=this._pattern.nextValue();r-=s,e=r,this.iteratePath=!0}const s=new Ie;return this._geometryWalker.nextPointAndAngle(e,s)?this._endings===Ct.e_.WithFullGap&&this._geometryWalker.isPathEnd()?(this.iteratePath=!1,null):this._endings===Ct.e_.WithMarkers&&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 Ze{static local(){return null===Ze.instance&&(Ze.instance=new Ze),Ze.instance}execute(t,e,s,i,r){return new Qe(t,e,s)}}Ze.instance=null;class Qe extends ae{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new le,this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._offset=void 0!==e.offset?e.offset*s:0,this._type=e.extremityPlacement,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 Ct.$2.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 Ct.$2.JustBegin:e=this._atExtremities(t,this._position,!0);break;case Ct.$2.JustEnd:e=this._atExtremities(t,this._position,!1);case Ct.$2.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,[r,n]=[0,0],[o,a]=[t.x,t.y];for(;s?t.nextPoint():t.prevPoint();){r=o,n=a,o=t.x,a=t.y;const s=this._curveHelper.getLength(r,n,o,a);if(i+s>e){const t=(e-i)/s,[h,c]=this._curveHelper.getAngleCS(r,n,o,a,t),l=this._curveHelper.getCoord2D(r,n,o,a,t);return this.internalPlacement.setTranslate(l[0]-this._offset*c,l[1]+this._offset*h),this._angleToLine&&this.internalPlacement.setRotateCS(-h,-c),this.internalPlacement}i+=s}}return null}}class Ke{static local(){return null===Ke.instance&&(Ke.instance=new Ke),Ke.instance}execute(t,e,s,i,r){return new Je(t,e,s)}}Ke.instance=null;class Je extends ae{constructor(t,e,s){super(t),this._walker=new Pe,this._walker.updateTolerance(s),this._angleToLine=void 0===e.angleToLine||e.angleToLine,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 Se,this._pattern.init(e.positionArray,!1,!1),this._subPathLen=0,this._posCount=this._pattern.size(),this._isFirst=!0,this._prevPos=0}processPath(t){if(this._pattern.isEmpty())return null;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 Ie;if(!this._walker.nextPointAndAngle(e,s,ge.END))return this.iteratePath=!1,null;this.internalPlacement.setTranslate(s.pt[0]-this._offset*s.sa,s.pt[1]+this._offset*s.ca);const i=this._isFirst&&this._flipFirst;let r,n;return this._angleToLine?(r=s.ca,n=s.sa):(r=1,n=0),i&&(r=-r,n=-n),this.internalPlacement.setRotateCS(r,n),this._isFirst=!1,this._posCount--,0===this._posCount&&(this.iteratePath=!1),this.internalPlacement}}const ts=512,es=24,ss=1e-6;class is{static local(){return null===is.instance&&(is.instance=new is),is.instance}execute(t,e,s,i,r){return new rs(t,e,s,i,r)}}is.instance=null;class rs{constructor(t,e,s,i,r){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??Ct.Q1.Fixed,this._gridType===Ct.Q1.Random){const t=e.seed??13,s=1;this._randomLCG=new h.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,r]=i.split("/"),n=parseFloat(t),o=parseFloat(e),a=parseFloat(s),h=parseFloat(r);this._graphicOriginX=-(h*2**n+a)*ts,this._graphicOriginY=o*ts,this._testInsidePolygon=!0}this._internalPlacement=new ne,this._calculateMinMax(t),this._geometryCursor=t}}next(){return this._geometryCursor?this._nextInside():null}_buildRandomValues(){if(!rs._randValues){rs._randValues=[];for(let t=0;t<es;t++)for(let t=0;t<es;t++)rs._randValues.push(this._randomLCG.getFloat()),rs._randValues.push(this._randomLCG.getFloat())}}_calculateMinMax(t){let e,s,i,r,n,o,a,h,c,l,u,d,_,p;this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,a=h=_=u=Number.MAX_VALUE,c=l=p=d=-Number.MAX_VALUE;const f=1!==this._cosAngle;for(t.reset();t.nextPath();)for(;t.nextPoint();)o=t.x,n=t.y,e=o-this._graphicOriginX-this._offsetX,s=n-this._graphicOriginY-this._offsetY,f?(i=this._cosAngle*e-this._sinAngle*s,r=this._sinAngle*e+this._cosAngle*s):(i=e,r=s),a=Math.min(a,i),c=Math.max(c,i),h=Math.min(h,r),l=Math.max(l,r),u=Math.min(u,n),d=Math.max(d,n),_=Math.min(_,o),p=Math.max(p,o);u=u!==Number.MAX_VALUE?u:-512-this._stepY,d=d!==-Number.MAX_VALUE?d:this._stepY,_=_!==Number.MAX_VALUE?_:-this._stepX,p=p!==-Number.MAX_VALUE?p:ts+this._stepX;const g=d-u,m=p-_;if(this._verticalSubdivision=g>=m,this._polygonMin=this._verticalSubdivision?u:_,this._testInsidePolygon){let t=0-this._graphicOriginX-this._offsetX-this._stepX,e=ts-this._graphicOriginX-this._offsetX+this._stepX,s=-512-this._graphicOriginY-this._offsetY-this._stepY,i=0-this._graphicOriginY-this._offsetY+this._stepY;if(f){const r=[[t,s],[t,i],[e,s],[e,i]];t=s=Number.MAX_VALUE,e=i=-Number.MAX_VALUE;for(const n of r){const r=this._cosAngle*n[0]-this._sinAngle*n[1],o=this._sinAngle*n[0]+this._cosAngle*n[1];t=Math.min(t,r),e=Math.max(e,r),s=Math.min(s,o),i=Math.max(i,o)}}a=a!==Number.MAX_VALUE?Math.max(a,t):t,h=h!==Number.MAX_VALUE?Math.max(h,s):s,c=c!==-Number.MAX_VALUE?Math.min(c,e):e,l=l!==-Number.MAX_VALUE?Math.min(l,i):i}this._xMin=Math.round(a/this._stepX),this._xMax=Math.round(c/this._stepX),this._yMin=Math.round(h/this._stepY),this._yMax=Math.round(l/this._stepY),this._currentX=this._xMax+1,this._currentY=this._yMin-1,this._buildAccelerationMap(t,_,p,u,d)}_buildAccelerationMap(t,e,s,i,r){t.reset();const n=new Map,o=this._verticalSubdivision,a=o?r-i:s-e;let h=Math.ceil(a/10);if(h<=1)return;const c=Math.floor(a/h);let l,u,d,_,p,f,g,m,y,x,b;for(h++,this._delta=c,o?(y=-512-2*this._stepY,x=2*this._stepY,b=i):(y=-2*this._stepX,x=ts+2*this._stepX,b=e);t.nextPath();)if(!(t.pathSize<2)&&t.nextPoint())for(l=t.x,u=t.y;t.nextPoint();l=d,u=_){if(d=t.x,_=t.y,o){if(u===_||u<y&&_<y||u>x&&_>x)continue;p=Math.min(u,_),f=Math.max(u,_)}else{if(l===d||l<y&&d<y||l>x&&d>x)continue;p=Math.min(l,d),f=Math.max(l,d)}for(;p<f;)g=Math.floor((p-b)/c),ns(g,l,u,d,_,n),p+=c;m=Math.floor((f-b)/c),m>g&&ns(m,l,u,d,_,n)}this._accelerationMap=n}_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++,this._gridType===Ct.Q1.Random){const r=(this._currentX%es+es)%es,n=(this._currentY%es+es)%es;s=this._graphicOriginX+t+this._stepX*this._randomness*(.5-rs._randValues[n*es+r])*2/3,i=this._graphicOriginY+e+this._stepY*this._randomness*(.5-rs._randValues[n*es+r+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,r,n,o,a=0;for(t+=ss,e+=ss,s.reset();s.nextPath();)if(s.nextPoint())for(i=s.x,r=s.y;s.nextPoint();i=n,r=o)n=s.x,o=s.y,r>e!=o>e&&((n-i)*(e-r)-(o-r)*(t-i)>0?a++:a--);return 0!==a}(t,e,s);t+=ss,e+=ss;const i=this._verticalSubdivision,r=i?e:t,n=Math.floor((r-this._polygonMin)/this._delta),o=this._accelerationMap.get(n);if(!o)return!1;let a,h,c,l=0;for(const s of o){if(a=s[0],h=s[1],i){if(a[1]>e==h[1]>e)continue;c=(h[0]-a[0])*(e-a[1])-(h[1]-a[1])*(t-a[0])}else{if(a[0]>t==h[0]>t)continue;c=(h[1]-a[1])*(t-a[0])-(h[0]-a[0])*(e-a[1])}c>0?l++:l--}return 0!==l}}function ns(t,e,s,i,r,n){let o=n.get(t);o||(o=[],n.set(t,o)),o.push([[e,s],[i,r]])}class os{static local(){return null===os.instance&&(os.instance=new os),os.instance}execute(t,e,s,i,r){return new as(t,e,s)}}os.instance=null;class as extends ae{constructor(t,e,s){super(t),this._curveHelper=new le,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._offset=void 0!==e.offset?e.offset*s:0,this._relativeTo=e.relativeTo,this._position=void 0!==e.startPointOffset?e.startPointOffset*s:0,this._epsilon=.001*s}processPath(t){const e=this._position;if(this._relativeTo===Ct.ip.SegmentMidpoint){if(this.iteratePath||(this.iteratePath=!0),t.nextPoint()){let[e,s]=[t.x,t.y],[i,r]=[0,0];for(;t.nextPoint();){i=t.x,r=t.y;const n=this._curveHelper.getLength(e,s,i,r);if(n<this._epsilon){e=i,s=r;continue}const o=.5+this._position/n,[a,h]=this._curveHelper.getAngleCS(e,s,i,r,o),c=this._curveHelper.getCoord2D(e,s,i,r,o);return this.internalPlacement.setTranslate(c[0]-this._offset*h,c[1]+this._offset*a),this._angleToLine&&this.internalPlacement.setRotateCS(a,h),this.internalPlacement}}return this.iteratePath=!1,null}const s=this._relativeTo===Ct.ip.LineEnd;return this.onLine(t,e,s)}onLine(t,e,s){let i,r=!1;switch(this._relativeTo){case Ct.ip.LineMiddle:default:t.seekPathStart(),i=t.pathLength()/2+e;break;case Ct.ip.LineBeginning:i=e;break;case Ct.ip.LineEnd:i=e,r=!0}s?t.seekPathEnd():t.seekPathStart();let n=0;if(s?t.prevPoint():t.nextPoint()){let[e,o]=[t.x,t.y],[a,h]=[0,0];for(;s?t.prevPoint():t.nextPoint();){a=t.x,h=t.y;const s=this._curveHelper.getLength(e,o,a,h);if(n+s>i){const t=(i-n)/s,[c,l]=this._curveHelper.getAngleCS(e,o,a,h,t),u=this._curveHelper.getCoord2D(e,o,a,h,t),d=r?-this._offset:this._offset;return this.internalPlacement.setTranslate(u[0]-d*l,u[1]+d*c),this._angleToLine&&(r?this.internalPlacement.setRotateCS(-c,-l):this.internalPlacement.setRotateCS(c,l)),this.internalPlacement}e=a,o=h,n+=s}}return null}}class hs{static local(){return null===hs.instance&&(hs.instance=new hs),hs.instance}execute(t,e,s,i,r){return new cs(t,e,s)}}hs.instance=null;class cs extends ae{constructor(t,e,s){super(t),this._curveHelper=new le,this._angleToLine=void 0===e.angleToLine||e.angleToLine,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]),r=Math.sin(e[2]);s-=this._offset*r,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,r=0,n=0;if(t.seekPathStart(),t.nextPoint()){let o=t.x,a=t.y,h=t.getControlPoint(),c=!0,l=t.nextPoint();for(;l;){const u=t.x,d=t.y,_=t.getControlPoint();(this._angleToLine||0!==this._offset)&&(r=this._curveHelper.getAngle(o,a,u,d,0)),c?(c=!1,e?(s=r,i=h):(this._endPoints||this._controlPoints&&h)&&this._tags.push([o,a,r])):h?this._controlPoints&&this._tags.push([o,a,ls(n,r)]):this._regularVertices&&this._tags.push([o,a,ls(n,r)]),(this._angleToLine||0!==this._offset)&&(n=this._curveHelper.getAngle(o,a,u,d,1)),l=t.nextPoint(),l||(e?_||i?this._controlPoints&&this._tags.push([u,d,ls(n,s)]):this._regularVertices&&this._tags.push([u,d,ls(n,s)]):(this._endPoints||this._controlPoints&&_)&&this._tags.push([u,d,n])),o=u,a=d,h=_}}this._tagIterator=0}}function ls(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 us=s(12359),ds=s(12176);function _s(t){if(0===t.totalSize)return null;const e=(0,Ue.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 i=0,r=0;t.reset();for(let e=0;t.nextPath();e++){const s=t.getCurrentRingArea();s>r&&(r=s,i=e)}if(t.seekPath(i),0===t.pathSize)return null;t.seekPathStart();const n=(0,Ue.B$)(t);if(Math.abs(r)<=2*s*s)return[(n[0]+n[2])/2,(n[1]+n[3])/2];t.seekPathStart();const o=(0,us.w2)(t,(0,N.vt)());if(null===o)return null;if(t.totalPoints<4)return o;const a=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],h=[NaN,NaN,NaN,NaN],c=[NaN,NaN,NaN,NaN];let l=!1,u=fs(o,t,!0);0===u.distance&&(l=!0,a[0][0]=o[0],a[0][1]=o[1],u=fs(o,t,!1)),h[0]=u.distance,c[0]=0;const d=[NaN,NaN];let _=!1,p=.25,f=-1,g=NaN;do{if(g=NaN,a[1]=gs(t,Is(n[0],n[2],p),0,e),isNaN(a[1][0])||isNaN(a[1][1])||(u=fs(a[1],t,!1),g=u.distance),!isNaN(g)&&g>s&&ps(a[1],t))_=!0,h[1]=g,c[1]=Ms(a[1],o);else if(!isNaN(g)&&g>f&&(f=g,d[0]=a[1][0],d[1]=a[1][1]),p-=.01,p<.1){if(!(f>=0))break;_=!0,h[1]=f,a[1][0]=d[0],a[1][1]=d[1],c[1]=Ms(a[1],o)}}while(!_);_=!1,p=.5,f=-1;let m=.01,y=1;do{if(g=NaN,a[2]=gs(t,Is(n[0],n[2],p),0,e),isNaN(a[2][0])||isNaN(a[2][1])||(u=fs(a[2],t,!1),g=u.distance),!isNaN(g)&&g>s&&ps(a[2],t))_=!0,h[2]=g,c[2]=Ms(a[2],o);else if(!isNaN(g)&&g>f)f=g,d[0]=a[2][0],d[1]=a[2][1];else if(g>f&&(f=g,d[0]=a[2][0],d[1]=a[2][1]),p=.5+m*y,m+=.01,y*=-1,p<.3||p>.7){if(!(f>=0))break;_=!0,h[2]=f,a[2][0]=d[0],a[2][1]=d[1],c[2]=Ms(a[2],o)}}while(!_);_=!1,p=.75,f=-1;do{if(g=NaN,a[3]=gs(t,Is(n[0],n[2],p),0,e),isNaN(a[3][0])||isNaN(a[3][1])||(u=fs(a[3],t,!1),g=u.distance),!isNaN(g)&&g>s&&ps(a[3],t))_=!0,h[3]=g,c[3]=Ms(a[3],o);else if(g>f&&(f=g,d[0]=a[3][0],d[1]=a[3][1]),p+=.01,p>.9){if(!(f>=0))break;_=!0,h[3]=f,a[3][0]=d[0],a[3][1]=d[1],c[3]=Ms(a[3],o)}}while(!_);const x=[0,1,2,3],b=l?0:1;let w;for(let t=b;t<4;t++)for(let t=b;t<3;t++){const e=c[t],s=c[t+1];Ps(e,s)>0&&(w=x[t],x[t]=x[t+1],x[t+1]=w,c[t]=s,c[t+1]=e)}let v=b,S=0,I=0;for(let t=b;t<4;t++){switch(t){case 0:I=2*h[x[t]];break;case 1:I=1.66666666*h[x[t]];break;case 2:I=1.33333333*h[x[t]];break;case 3:I=h[x[t]]}I>S&&(S=I,v=x[t])}return a[v]}function ps(t,e){let s,i,r,n,o=0;for(e.reset();e.nextPath()&&e.nextPoint();)for(s=e.x,i=e.y;e.nextPoint();s=r,i=n)r=e.x,n=e.y,i>t[1]!=n>t[1]&&((r-s)*(t[1]-i)-(n-i)*(t[0]-s)>0?o++:o--);return 0!==o}function fs(t,e,s){if(s&&ps(t,e))return{coord:t,distance:0};let i=1/0,r=0,n=0,o=[0,0],a=[0,0];const h=[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,ye.gR)(h,t,o,a);const s=Ms(t,h);s<i&&(i=s,r=h[0],n=h[1])}return{coord:[r,n],distance:Math.sqrt(i)}}function gs(t,e,s,i){const r=[e,0];let n=1/0,o=1/0,a=!1,h=!1;const c=[[e,i[1]-1],[e,i[3]+1]],l=[0,0],u=[0,0],d=[0,0],_=[[0,0],[0,0]],p=(0,N.vt)();for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(_[0][0]=t.x,_[0][1]=t.y;t.nextPoint();_[0][0]=_[1][0],_[0][1]=_[1][1]){if(_[1][0]=t.x,_[1][1]=t.y,null===ms(p,_))continue;if(u[0]=c[0][0],u[1]=c[0][1],d[0]=c[1][0],d[1]=c[1][1],0===vs(p,u,d))continue;if(!(0,ds.Ql)(c[0],c[1],_[0],_[1],l))continue;const e=l[1];n>o?e<n&&(n=e,a=!0):e<o&&(o=e,h=!0)}return a&&h?r[1]=(n+o)/2:r[0]=r[1]=NaN,r}function ms(t,e){if(e.length<2)return null;t||(t=(0,N.vt)());const[s,i]=e[0],[r,n]=e[1];return t[0]=Math.min(s,r),t[1]=Math.min(i,n),t[2]=Math.max(s,r),t[3]=Math.max(i,n),t}const ys=1,xs=4,bs=3,ws=12;function vs(t,e,s){let i=Ss(e,t),r=Ss(s,t);const n=t[0],o=t[1],a=t[2],h=t[3];if(i&r)return 0;if(!(i|r))return 4;const c=(i?1:0)|(r?2:0);do{const c=s[0]-e[0],l=s[1]-e[1];if(c>l)i&bs?(i&ys?(e[1]+=l*(n-e[0])/c,e[0]=n):(e[1]+=l*(a-e[0])/c,e[0]=a),i=Ss(e,t)):r&bs?(r&ys?(s[1]+=l*(n-s[0])/c,s[0]=n):(s[1]+=l*(a-s[0])/c,s[0]=a),r=Ss(s,t)):i?(i&xs?(e[0]+=c*(o-e[1])/l,e[1]=o):(e[0]+=c*(h-e[1])/l,e[1]=h),i=Ss(e,t)):(r&xs?(s[0]+=c*(o-s[1])/l,s[1]=o):(s[0]+=c*(h-s[1])/l,s[1]=h),r=Ss(s,t));else if(i&ws?(i&xs?(e[0]+=c*(o-e[1])/l,e[1]=o):(e[0]+=c*(h-e[1])/l,e[1]=h),i=Ss(e,t)):r&ws?(r&xs?(s[0]+=c*(o-s[1])/l,s[1]=o):(s[0]+=c*(h-s[1])/l,s[1]=h),r=Ss(s,t)):i?(i&ys?(e[1]+=l*(n-e[0])/c,e[0]=n):(e[1]+=l*(a-e[0])/c,e[0]=a),i=Ss(e,t)):(r&ys?(s[1]+=l*(n-s[0])/c,s[0]=n):(s[1]+=l*(a-s[0])/c,s[0]=a),r=Ss(s,t)),i&r)return 0}while(i|r);return c}function Ss(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 Is(t,e,s){return t+(e-t)*s}function Ms(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function Ps(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}class Ts{static local(){return null===Ts.instance&&(Ts.instance=new Ts),Ts.instance}execute(t,e,s,i,r){return new As(t,e,s)}}Ts.instance=null;class As{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:Ct.YI.OnPolygon,this._placementPerPart=void 0!==e.placePerPart&&e.placePerPart,this._internalPlacement=new ne}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 Ct.YI.CenterOfMass:{const s=(0,us.TP)(t);s&&(this._internalPlacement.setTranslate(s[0]+this._offsetX,s[1]+this._offsetY),e=!0)}break;case Ct.YI.BoundingBoxCenter:{const s=(0,Ue.z8)(t);s&&(this._internalPlacement.setTranslate((s[2]+s[0])/2+this._offsetX,(s[3]+s[1])/2+this._offsetY),e=!0)}break;case Ct.YI.OnPolygon:default:{const s=_s(t);null!==s&&(this._internalPlacement.setTranslate(s[0]+this._offsetX,s[1]+this._offsetY),e=!0)}}return e?this._internalPlacement:null}}function Cs(t){if(!t)return null;switch(t.type){case"CIMGeometricEffectAddControlPoints":return ie.local();case"CIMGeometricEffectArrow":return de.local();case"CIMGeometricEffectBuffer":return pe.local();case"CIMGeometricEffectControlMeasureLine":return xe.local();case"CIMGeometricEffectCut":return we.local();case"CIMGeometricEffectDashes":return Ae.local();case"CIMGeometricEffectDonut":return ke.local();case"CIMGeometricEffectJog":return Ee.local();case"CIMGeometricEffectMove":return Oe.local();case"CIMGeometricEffectOffset":return Le.local();case"CIMGeometricEffectReverse":return Ne.local();case"CIMGeometricEffectRotate":return Ve.local();case"CIMGeometricEffectScale":return We.local();case"CIMGeometricEffectWave":return Ye.local()}return null}new(s(32488).A),s(11831),s(92602),new Map,new Set;var ks=s(34727);s(28076),s(40804),s(5760);var Fs=s(34304);function Es(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function zs(t,e,s){const i=e[0],r=e[1],n=e[2],o=e[3],a=e[4],h=e[5],c=s[0],l=s[1],u=s[2],d=s[3],_=s[4],p=s[5];return t[0]=i*c+n*l,t[1]=r*c+o*l,t[2]=i*u+n*d,t[3]=r*u+o*d,t[4]=i*_+n*p+a,t[5]=r*_+o*p+h,t}function Os(t,e,s){const i=e[0],r=e[1],n=e[2],o=e[3],a=e[4],h=e[5],c=Math.sin(s),l=Math.cos(s);return t[0]=i*l+n*c,t[1]=r*l+o*c,t[2]=i*-c+n*l,t[3]=r*-c+o*l,t[4]=a,t[5]=h,t}function Rs(t,e,s){const i=e[0],r=e[1],n=e[2],o=e[3],a=e[4],h=e[5],c=s[0],l=s[1];return t[0]=i,t[1]=r,t[2]=n,t[3]=o,t[4]=i*c+n*l+a,t[5]=r*c+o*l+h,t}function Ls(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 Ds(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 Ns=zs,Bs=Ds;function Gs(){const t=new Float32Array(6);return t[0]=1,t[3]=1,t}function Us(t,e,s,i){const r=e[i],n=e[i+1];t[i]=s[0]*r+s[2]*n+s[4],t[i+1]=s[1]*r+s[3]*n+s[5]}function Vs(t,e,s,i=0,r=0,n=2){const o=r||e.length/n;for(let r=i;r<o;r++)Us(t,e,s,r*n)}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],i=t[1],r=t[2],n=t[3],o=t[4],a=t[5],h=e[0],c=e[1],l=e[2],u=e[3],d=e[4],_=e[5],p=(0,Fs.FD)();return Math.abs(s-h)<=p*Math.max(1,Math.abs(s),Math.abs(h))&&Math.abs(i-c)<=p*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(r-l)<=p*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(n-u)<=p*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(o-d)<=p*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(a-_)<=p*Math.max(1,Math.abs(a),Math.abs(_))},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:Ls,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:Es,invert:function(t,e){const s=e[0],i=e[1],r=e[2],n=e[3],o=e[4],a=e[5];let h=s*n-i*r;return h?(h=1/h,t[0]=n*h,t[1]=-i*h,t[2]=-r*h,t[3]=s*h,t[4]=(r*a-n*o)*h,t[5]=(i*o-s*a)*h,t):null},mul:Ns,multiply:zs,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:Os,scale:function(t,e,s){const i=e[0],r=e[1],n=e[2],o=e[3],a=e[4],h=e[5],c=s[0],l=s[1];return t[0]=i*c,t[1]=r*c,t[2]=n*l,t[3]=o*l,t[4]=a,t[5]=h,t},set:function(t,e,s,i,r,n,o){return t[0]=e,t[1]=s,t[2]=i,t[3]=r,t[4]=n,t[5]=o,t},str:function(t){return"mat2d("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+")"},sub:Bs,subtract:Ds,translate:Rs},Symbol.toStringTag,{value:"Module"})),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:Gs,createView:function(t,e){return new Float32Array(t,e,6)},fromValues:function(t,e,s,i,r,n){const o=new Float32Array(6);return o[0]=t,o[1]=e,o[2]=s,o[3]=i,o[4]=r,o[5]=n,o},transform:Us,transformMany:Vs},Symbol.toStringTag,{value:"Module"}));var qs,Ws,js=s(88340);function Ys(t){if(!t)return qs.Center;switch(t){case"Left":case"left":return qs.Left;case"Right":case"right":return qs.Right;case"Justify":return E.A.getLogger("esri.views.2d.engine.webgl.alignmentUtils").warnOnce("Horizontal alignment 'justify' is not implemented. Falling back to 'center'."),qs.Center;case"Center":case"center":return qs.Center}}function Xs(t){if(!t)return Ws.Center;switch(t){case"Top":case"top":return Ws.Top;case"Center":case"middle":return Ws.Center;case"Baseline":case"baseline":return Ws.Baseline;case"Bottom":case"bottom":return Ws.Bottom}}!function(t){t[t.Left=-1]="Left",t[t.Center=0]="Center",t[t.Right=1]="Right"}(qs||(qs={})),function(t){t[t.Top=1]="Top",t[t.Center=0]="Center",t[t.Bottom=-1]="Bottom",t[t.Baseline=2]="Baseline"}(Ws||(Ws={}));var $s=s(18989);class Hs{constructor(t,e,s,i){this.transformedX=0,this.transformedY=0,this.center=(0,js.fA)(t,e),this.centerT=(0,js.vt)(),this.halfWidth=s/2,this.halfHeight=i/2,this.width=s,this.height=i}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 Hs(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]),r=(t.halfWidth+this.halfWidth+e)/s,n=(t.halfHeight+this.halfHeight+e)/i,o=Math.min(r,n);return Math.log2(o)}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,r=Math.max(this.ymax,t.ymax)-s,n=e+i/2,o=s+r/2;this.width=i,this.height=r,this.halfWidth=i/2,this.halfHeight=r/2,this.x=n,this.y=o}static deserialize(t){const e=t.readF32(),s=t.readF32(),i=t.readInt32(),r=t.readInt32();return new Hs(e,s,i,r)}}const Zs=Math.PI/180;class Qs{constructor(t,e,s,i){this._rotationT=Gs(),this._xBounds=0,this._yBounds=0,this.minZoom=0,this.maxZoom=255,this._bounds=null;const r=s.rect,n=new Float32Array(8);t*=i,e*=i;const o=s.code?r.width*i:s.metrics.width,a=s.code?r.height*i:s.metrics.height;this.width=o,this.height=a,n[0]=t,n[1]=e,n[2]=t+o,n[3]=e,n[4]=t,n[5]=e+a,n[6]=t+o,n[7]=e+a,this._data=n,this._setTextureCoords(r),this._scale=i,this._mosaic=s,this.x=t,this.y=e,this.maxOffset=Math.max(t+o,e+a)}get mosaic(){return this._mosaic}set angle(t){this._angle=t,Ls(this._rotationT,-t),this._setOffsets()}get angle(){return this._angle}get xTopLeft(){return this._data[0]}get yTopLeft(){return this._data[1]}get xBottomRight(){return this._data[6]}get yBottomRight(){return this._data[7]}get texcoords(){return this._texcoords}get textureBinding(){return this._mosaic.textureBinding}get offsets(){return this._offsets||this._setOffsets(),this._offsets}get char(){return String.fromCharCode(this._mosaic.code)}get code(){return this._mosaic.code}get bounds(){if(!this._bounds){const{height:t,width:e}=this._mosaic.metrics,s=e*this._scale,i=Math.abs(t)*this._scale,r=new Float32Array(8);r[0]=this.x,r[1]=this.y,r[2]=this.x+s,r[3]=this.y,r[4]=this.x,r[5]=this.y+i,r[6]=this.x+s,r[7]=this.y+i,Vs(r,r,zs(Gs(),this._rotationT,this._transform));let n=1/0,o=1/0,a=-1/0,h=-1/0;for(let t=0;t<4;t++){const e=r[2*t],s=r[2*t+1];n=Math.min(n,e),o=Math.min(o,s),a=Math.max(a,e),h=Math.max(h,s)}const c=a-n,l=h-o,u=n+c/2,d=o+l/2;this._bounds=new Hs(u,d,c,l)}return this._bounds}setTransform(t){this._transform=t,this._offsets=null}_setOffsets(){this._offsets||(this._offsets={topLeft:[0,0],topRight:[0,0],bottomLeft:[0,0],bottomRight:[0,0]});const t=zs(Gs(),this._rotationT,this._transform);this._offsets.topLeft[0]=this._data[0],this._offsets.topLeft[1]=this._data[1],this._offsets.topRight[0]=this._data[2],this._offsets.topRight[1]=this._data[3],this._offsets.bottomLeft[0]=this._data[4],this._offsets.bottomLeft[1]=this._data[5],this._offsets.bottomRight[0]=this._data[6],this._offsets.bottomRight[1]=this._data[7],(0,O.l0)(this._offsets.topLeft,this._offsets.topLeft,t),(0,O.l0)(this._offsets.topRight,this._offsets.topRight,t),(0,O.l0)(this._offsets.bottomLeft,this._offsets.bottomLeft,t),(0,O.l0)(this._offsets.bottomRight,this._offsets.bottomRight,t)}_setTextureCoords({x:t,y:e,width:s,height:i}){this._texcoords={topLeft:[t,e],topRight:[t+s,e],bottomLeft:[t,e+i],bottomRight:[t+s,e+i]}}}const Ks=(t,e)=>({code:0,page:0,sdf:!0,rect:new $s.A(0,0,11,8),textureBinding:e,metrics:{advance:0,height:4,width:t,left:0,top:0}});function Js(t,e){return t.forEach((t=>(0,O.l0)(t,t,e))),{topLeft:t[0],topRight:t[1],bottomLeft:t[2],bottomRight:t[3]}}class ti{constructor(t,e,s){this._rotation=0,this._decorate(t,e,s),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;zs(e,Ls(Gs(),t),e);for(const t of this.glyphs)t.setTransform(this._transform)}_decorate(t,e,s){if(!s.decoration||"none"===s.decoration||!t.length)return;const i=s.scale,r="underline"===s.decoration?26:16,n=t[0].textureBinding;for(const s of e){const e=s.startX*i,o=s.startY*i,a=(s.width+s.glyphWidthEnd)*i;t.push(new Qs(e,o+r*i,Ks(a,n),1))}}shapeBackground(t){const e=(1.5+(this._borderLineSizePx||0))/2,s=this._borderLineSizePx?e:0,{xmin:i,ymin:r,xmax:n,ymax:o,x:a,y:h,width:c,height:l}=this.bounds,u=[i-8,r-8],d=[n+8,r-8],_=[i-8,o+8],p=[n+8,o+8],f=Js([[u[0]-e,u[1]-e],[d[0]+e,d[1]-e],[u[0]+s,u[1]+s],[d[0]-s,d[1]+s]],t),g=Js([[_[0]+s,_[1]-s],[p[0]-s,p[1]-s],[_[0]-e,_[1]+e],[p[0]+e,p[1]+e]],t),m=Js([[u[0]-e,u[1]-e],[u[0]+s,u[1]+s],[_[0]-e,_[1]+e],[_[0]+s,_[1]-s]],t),y=Js([[d[0]-s,d[1]+s],[d[0]+e,d[1]-e],[p[0]-s,p[1]-s],[p[0]+e,p[1]+e]],t),x={main:Js([u,d,_,p],t),top:f,bot:g,left:m,right:y};return[new Hs(a,h,c+2*e,l+2*e),x]}get boundsT(){const t=this.bounds,e=(0,O.hZ)((0,js.vt)(),t.x,t.y);if((0,O.l0)(e,e,this._transform),this._hasRotation){const s=Math.max(t.width,t.height);return new Hs(e[0],e[1],s,s)}return new Hs(e[0],e[1],t.width,t.height)}_createBounds(t){let e=1/0,s=1/0,i=0,r=0;for(const n of t)e=Math.min(e,n.xTopLeft),s=Math.min(s,n.yTopLeft),i=Math.max(i,n.xBottomRight),r=Math.max(r,n.yBottomRight);const n=i-e,o=r-s;return new Hs(e+n/2,s+o/2,n,o)}_createGlyphTransform(t,e){const s=Zs*e.angle,i=Gs(),r=(0,js.vt)();return Rs(i,i,(0,O.hZ)(r,e.xOffset,-e.yOffset)),e.useCIMAngleBehavior?Os(i,i,s):(Rs(i,i,(0,O.hZ)(r,t.x,t.y)),Os(i,i,s),Rs(i,i,(0,O.hZ)(r,-t.x,-t.y))),i}}class ei{constructor(t,e,s,i,r,n){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].metrics.width),this.width=i,this.yMin=r,this.yMax=n}}const si=t=>10===t,ii=t=>32===t;var ri=s(39829);Math.PI,s(59868);var ni=s(13195);function oi(t){if(!t)return 0;switch(t.type){case"CIMGeometricEffectArrow":return Math.abs(.5*t.width);case"CIMGeometricEffectBuffer":return Math.abs(t.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":case"CIMGeometricEffectRadial":return Math.abs(t.length);case"CIMGeometricEffectJog":return Math.abs(.5*t.length);case"CIMGeometricEffectMove":return Math.max(Math.abs((0,Te.$w)(t.offsetX)),Math.abs((0,Te.$w)(t.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(t.offset);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 ai(t){if(!t)return 0;let e=0;for(const s of t)e+=oi(s);return e}Math.PI,Math.PI;const hi=96/72;class ci{static executeEffects(t,e,s,i,r){const n=hi,o=ai(t);let a=new ee(e);for(const e of t){const t=Cs(e);t&&(a=t.execute(a,e,n,s,i,o,r))}return a}static applyEffects(t,e,s){if(!t)return e;const i=ai(t);let r,n=new ee(Yt.fromJSONCIM(e));for(const e of t){const t=Cs(e);t&&(n=t.execute(n,e,1,null,s,i,!1))}const o=[];let a=null;for(;r=n.next();)o.push(...(0,qt.x)(r)),a=r.geometryType;return 0===o.length||null===a?null:"esriGeometryPolygon"===a?{rings:o}:{paths:o}}}let li=null;function ui(){return li}const di=new Float32Array(1),_i=new Uint32Array(di.buffer);function pi(t){const e=function(t){return di[0]=t,_i[0]}(t),s=e>>>31;let i=e>>>23&255,r=8388607&e;return i-=127,i>15?s<<15|31744:i<-25?0:(i<-14&&(r+=8388608,r/=2**(-14-i),i=-15),i+=15,r/=8192,r=function(t){const e=Math.floor(t),s=t-e;return e<1023&&(s>.5||.5===s&&e%2==1)?e+1:e}(r),s<<15|i<<10|r)}function fi(t,e,s,i,r,n,o){if(t.primitiveName===e){let e=i?.readWithDefault(r,n,t[s]&&o);return"text"===t.type&&(e=e.toString()),void(t[s]=e)}if("type"in t&&null!=t.type){if(t.effects)for(const a of t.effects)fi(a,e,s,i,r,n,o);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const a of t.symbolLayers)fi(a,e,s,i,r,n,o);break;case"CIMTextSymbol":t.symbol&&fi(t.symbol,e,s,i,r,n,o);break;case"CIMHatchFill":t.lineSymbol&&fi(t.lineSymbol,e,s,i,r,n,o);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&fi(t.markerPlacement,e,s,i,r,n,o),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const a of t.markerGraphics)fi(a,e,s,i,r,n,o),fi(a.symbol,e,s,i,r,n,o)}}}function gi(t){const e=t.width;return null!=t.effects?400:Math.max(1.25*e,8)}function mi(t){switch(t){case dt.pe.BYTE:case dt.pe.UNSIGNED_BYTE:return 1;case dt.pe.SHORT:case dt.pe.UNSIGNED_SHORT:case dt.pe.HALF_FLOAT:return 2;case dt.pe.FLOAT:case dt.pe.INT:case dt.pe.UNSIGNED_INT:return 4}}class yi{static fromVertexSpec(t,e){const{attributes:s,optionalAttributes:i}=t;let r,n,o;const a=[];for(const t in s){const e=s[t];"position"===e.pack?r={...e,name:t,offset:0}:"id"===e.pack?n={...e,name:t,offset:4}:"bitset"===t?o={...e,name:t,offset:7}:a.push({...e,name:t})}for(const t in i)if(!0===e[t]){const e=i[t];a.push({...e,name:t})}const h=function(t){const e=[],s=[],i=[];for(const r of t){const t=mi(r.type)*r.count;switch(t%2||t%4||4){case 4:e.push(r);continue;case 2:s.push(r);continue;case 1:i.push(r);continue;default:throw new Error("Found unexpected dataType byte count")}}return e.push(...s),e.push(...i),e}(a),c=[];let l=8,u=1;for(const t of h)c.push({...t,offset:l}),l+=mi(t.type)*t.count,t.packAlternating&&(u=Math.max(t.packAlternating.count,u));const d=Uint32Array.BYTES_PER_ELEMENT,_=l%d;return new yi(r,n,o,c,l+(_?d-_:0),u)}constructor(t,e,s,i,r,n){this.position=t,this.id=e,this.bitset=s,this.standardAttributes=i,this.stride=r,this.packVertexCount=n,i.push(s),this._attributes=[t,e,s,...i]}get attributeLayout(){if(!this._attributeLayout){const t=function(t){const e=t.map((({name:t,count:e,type:s})=>`${t}.${e}.${s}`)).join(",");return(0,lt.Wm)(e)}(this._attributes),e=this._attributes.map((t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1})));this._attributeLayout={attributes:e,hash:t,stride:this.stride}}return this._attributeLayout}}class xi{static fromVertexSpec(t,e){const s=yi.fromVertexSpec(t,e);return new xi(s)}constructor(t){this._spec=t,this._packed=new Uint8Array(this._spec.stride*this._spec.packVertexCount),this._packedU32View=new Uint32Array(this._packed.buffer),this._dataView=new DataView(this._packed.buffer)}get attributeLayout(){return this._spec.attributeLayout}get stride(){return this._spec.stride}writeVertex(t,e,s,i,r,n){for(let t=0;t<this._spec.packVertexCount;t++){const o=t*this._spec.stride;this._packPosition(s,i,o),this._packId(e,o);const a=this._spec.bitset;if(n){if(a.packTessellation){const t=a.packTessellation(n,r,s,i);this._pack(t,a,o)}for(const t of this._spec.standardAttributes)if(null!=t.packTessellation){const e=t.packTessellation(n,r,s,i);this._pack(e,t,o)}else if(t.packAlternating?.packTessellation){const e=t.packAlternating.packTessellation(n,r,s,i);for(let s=0;s<this._spec.packVertexCount;s++){const i=e[s];this._pack(i,t,s*this._spec.stride)}}}}t.vertexWriteRegion(this._packedU32View)}pack(t,e){for(const s of this._spec.standardAttributes)if(s.pack&&"string"!=typeof s.pack){const i=s.pack(t,e);for(let t=0;t<this._spec.packVertexCount;t++)this._pack(i,s,t*this._spec.stride)}else if(s.packAlternating?.pack){const i=s.packAlternating.pack(t,e);for(let t=0;t<this._spec.packVertexCount;t++){const e=i[t];this._pack(e,s,t*this._spec.stride)}}}_packPosition(t,e,s){const{offset:i}=this._spec.position,r=this._spec.position.packPrecisionFactor??1,n=function(t,e){return 65535&t|e<<16}(t*r,e*r);this._dataView.setUint32(s+i,n,!0)}_packId(t,e){const s=t*(this._spec.id.packPrecisionFactor??1),i=4278190080&this._dataView.getUint32(e+this._spec.id.offset,!0);this._dataView.setUint32(e+this._spec.id.offset,s|i,!0)}_pack(t,e,s){!function(t,e,s,i){const r=s.packPrecisionFactor??1;switch(s.type){case dt.pe.BYTE:if(1===s.count)t.setInt8(i+s.offset,e*r);else for(let n=0;n<s.count;n++){const o=n*Int8Array.BYTES_PER_ELEMENT;t.setInt8(i+s.offset+o,e[n]*r)}break;case dt.pe.UNSIGNED_BYTE:if(1===s.count)t.setUint8(i+s.offset,e*r);else for(let n=0;n<s.count;n++){const o=n*Uint8Array.BYTES_PER_ELEMENT;t.setUint8(i+s.offset+o,e[n]*r)}break;case dt.pe.SHORT:if(1===s.count)t.setInt16(i+s.offset,e*r,!0);else for(let n=0;n<s.count;n++){const o=n*Int16Array.BYTES_PER_ELEMENT;t.setInt16(i+s.offset+o,e[n]*r,!0)}break;case dt.pe.UNSIGNED_SHORT:if(1===s.count)t.setUint16(i+s.offset,e*r,!0);else for(let n=0;n<s.count;n++){const o=n*Uint16Array.BYTES_PER_ELEMENT;t.setUint16(i+s.offset+o,e[n]*r,!0)}break;case dt.pe.INT:if(1===s.count)t.setInt32(i+s.offset,e*r,!0);else for(let n=0;n<s.count;n++){const o=n*Int32Array.BYTES_PER_ELEMENT;t.setInt32(i+s.offset+o,e[n]*r,!0)}break;case dt.pe.UNSIGNED_INT:if(1===s.count)t.setUint32(i+s.offset,e*r,!0);else for(let n=0;n<s.count;n++){const o=n*Uint32Array.BYTES_PER_ELEMENT;t.setUint32(i+s.offset+o,e[n]*r,!0)}break;case dt.pe.FLOAT:if(1===s.count)t.setFloat32(i+s.offset,e*r,!0);else for(let n=0;n<s.count;n++){const o=n*Float32Array.BYTES_PER_ELEMENT;t.setFloat32(i+s.offset+o,e[n]*r,!0)}break;case dt.pe.HALF_FLOAT:if(1===s.count)t.setUint16(i+s.offset,pi(e*r),!0);else for(let n=0;n<s.count;n++){const o=n*Uint16Array.BYTES_PER_ELEMENT;t.setUint16(i+s.offset+o,pi(e[n]*r),!0)}}}(this._dataView,t,e,s)}}class bi{constructor(t,e,s,i){this._instanceId=t,this._evaluator=e,this._enabledOptionalAttributes=s,this._viewParams=i,this._evaluator.evaluator=t=>this.vertexSpec.createComputedParams(t)}get _vertexPack(){if(!this._cachedVertexPack){const t=xi.fromVertexSpec(this.vertexSpec,this._enabledOptionalAttributes);this._evaluator.hasDynamicProperties||t.pack(this._evaluator.evaluatedMeshParams,this._viewParams),this._cachedVertexPack=t}return this._cachedVertexPack}get evaluatedMeshParams(){return this._evaluator.evaluatedMeshParams}get hasEffects(){return!!this.evaluatedMeshParams.effects}get instanceId(){return this._instanceId}get attributeLayout(){return this._vertexPack.attributeLayout}get _preventEffectClipping(){return!1}setReferences(t){this._references=t}getBoundsInfo(){return null}getTileInfo(){return this._viewParams.tileInfo}async loadDependencies(){(function(t){if(!t)return!1;for(const e of t)switch(e.effect.type){case"CIMGeometricEffectBuffer":case"CIMGeometricEffectOffset":case"CIMGeometricEffectDonut":return!0}return!1})(this._evaluator.inputMeshParams.effects?.effectInfos)&&await async function(){li=await Promise.all([s.e(9930),s.e(3656)]).then(s.bind(s,47559))}()}enqueueRequest(t,e,s){this._evaluator.hasDynamicProperties&&this._evaluator.enqueueRequest(t,e,s)}write(t,e,s,i,r){this.ensurePacked(e,s,i);const n=this.evaluatedMeshParams.effects;if(!n||0===n.length)return void this._write(t,s,void 0,r);const o=s.readGeometryForDisplay()?.clone();if(!o)return;const a=Yt.fromOptimizedCIM(o,s.geometryType),h=ui();a.invertY();const c=t.id||"",l=ci.executeEffects(n,a,c,h,this._preventEffectClipping);let u;for(;u=l.next();)u.invertY(),this._write(t,s,u,r)}ensurePacked(t,e,s){if(!this._evaluator.hasDynamicProperties)return;const i=this._evaluator.evaluateMeshParams(t,e,s);this._vertexPack.pack(i,this._viewParams)}hasArcadeDependency(t){return this._evaluator.hasArcadeDependency(t)}_writeVertex(t,e,s,i,r){const n=this.evaluatedMeshParams;this._vertexPack.writeVertex(t,e,s,i,n,r)}}class wi extends bi{}function vi(t){const{sprite:e,isMapAligned:s,colorLocked:i,scaleSymbolsProportionally:r,isStroke:n}=t;let o=0;return s&&(o|=Ft(Dt)),i&&(o|=Ft(Gt)),e.sdf&&(o|=Ft(Lt)),r&&(o|=Ft(Nt)),n&&(o|=Ft(Ut)),o}var Si,Ii;(Ii=Si||(Si={}))[Ii.Geographic=0]="Geographic",Ii[Ii.Arithmatic=1]="Arithmatic";const Mi=3.14159265359/128;class Pi extends wi{get vertexSpec(){return{createComputedParams:t=>{let{pixelDimensions:e,texelDimensions:s,baseSize:i,referenceSize:r,strokeWidth:n,sizeRatio:o}=t;e||(e=t.sprite.sdf?[0,0]:[t.sprite.width,t.sprite.height]),s||(s=t.sprite.sdf?[0,0]:e),i=(0,l.Lz)(i),r=(0,l.Lz)(r),n=(0,l.Lz)(n);const a=(t.sprite.sdfDecodeCoeff??1)*o;return{...t,pixelDimensions:e,texelDimensions:s,baseSize:i,referenceSize:r,strokeWidth:n,sdfDecodeCoeff:a}},optionalAttributes:{zoomRange:{type:dt.pe.SHORT,count:2,packPrecisionFactor:B.fq,pack:({scaleInfo:t},{tileInfo:e})=>kt(t,e)}},attributes:{id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:vi},pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:1},offset:{type:dt.pe.FLOAT,count:2,packAlternating:{count:4,pack:t=>{const e=t.texelDimensions;return[[-.5*e[0],-.5*e[1]],[.5*e[0],-.5*e[1]],[-.5*e[0],.5*e[1]],[.5*e[0],.5*e[1]]]}}},uv:{type:dt.pe.SHORT,count:2,packPrecisionFactor:1,packAlternating:{count:4,packTessellation:({texXmax:t,texXmin:e,texYmax:s,texYmin:i})=>[[e,i],[t,i],[e,s],[t,s]]}},animationPointerAndBaseSizeAndReferenceSize:{type:dt.pe.UNSIGNED_SHORT,count:4,packPrecisionFactor:1,pack:({animations:t,baseSize:e,referenceSize:s})=>[t.dataColumn,t.dataRow,e,s]},sizing:{type:dt.pe.UNSIGNED_SHORT,count:4,packPrecisionFactor:8,pack:({strokeWidth:t,pixelDimensions:e,baseSize:s,sprite:i,sizeRatio:r})=>{const n=Math.max(s*i.width/i.height,s),o=i.sdfDecodeCoeff*n*r;return[e[0],e[1],t,o]}},angle:{type:dt.pe.BYTE,count:1,packTessellation:({angle:t})=>t}}}}_write(t,e){const s=this.evaluatedMeshParams.sprite,{textureBinding:i}=s;t.recordStart(this.instanceId,this.attributeLayout,i);const r=e.getDisplayId();if("esriGeometryPolygon"===e.geometryType){const s=e.readCentroidForDisplay();if(!s)return;const[i,n]=s.coords;this._writeQuad(t,r,i,n)}else if("esriGeometryPoint"===e.geometryType){const s=e.readXForDisplay(),i=e.readYForDisplay();this._writeQuad(t,r,s,i)}else{const s=e.readGeometryForDisplay();if(s){const{angleToLine:e}=this.evaluatedMeshParams;if(e){let e=!0,i=null,n=null;s.forEachVertex(((s,o)=>{if(null!=i&&null!=n){const a=Math.atan2(o-n,s-i)/Mi;e&&(this._writeQuad(t,r,i,n,a),e=!1),this._writeQuad(t,r,s,o,a)}i=s,n=o}))}else s.forEachVertex(((e,s)=>{this._writeQuad(t,r,e,s)}))}}t.recordEnd()}_writeQuad(t,e,s,i,r=0){const n=this.evaluatedMeshParams.sprite,{rect:o}=n,a=o.x+B.hM,h=o.y+B.hM,c=o.x+o.width-B.hM,l=o.y+o.height-B.hM,u=t.vertexCount();t.recordBounds(s,i,64,64);const d={texXmin:a,texYmin:h,texXmax:c,texYmax:l,angle:r};for(let r=0;r<4;r++)this._writeVertex(t,e,s,i,d);t.indexEnsureSize(6),t.indexWrite(u),t.indexWrite(u+1),t.indexWrite(u+2),t.indexWrite(u+1),t.indexWrite(u+3),t.indexWrite(u+2)}}var Ti=s(15585);function Ai(t,e,s,i,r,n,o){Ki=0;const a=(i-s)*n,h=r&&r.length,c=h?(r[0]-s)*n:a;let l,u,d,_,p,f=Ci(e,s,0,0,c,n,!0);if(f&&f.next!==f.prev){if(h&&(f=function(t,e,s,i,r,n){const o=new Array;for(let r=0,a=i.length;r<a;r++){const h=Ci(t,e,0,i[r]*n,r<a-1?i[r+1]*n:s*n,n,!1);h===h.next&&(h.steiner=!0),o.push(Li(h))}o.sort(ji);for(const t of o)r=Di(t,r);return r}(e,s,i,r,f,n)),a>80*n){l=d=e[0+s*n],u=_=e[1+s*n];for(let t=n;t<c;t+=n){const i=e[t+s*n],r=e[t+1+s*n];l=Math.min(l,i),u=Math.min(u,r),d=Math.max(d,i),_=Math.max(_,r)}p=Math.max(d-l,_-u),p=0!==p?1/p:0}Fi(f,t,n,l,u,p,o,0)}}function Ci(t,e,s,i,r,n,o){let a;if(o===function(t,e,s,i,r,n){let o=0;for(let s=i,a=r-n;s<r;s+=n)o+=(t[a+e*n]-t[s+e*n])*(t[s+1+e*n]+t[a+1+e*n]),a=s;return o}(t,e,0,i,r,n)>0)for(let s=i;s<r;s+=n)a=Oi(s+e*n,t[s+e*n],t[s+1+e*n],a);else for(let s=r-n;s>=i;s-=n)a=Oi(s+e*n,t[s+e*n],t[s+1+e*n],a);return a&&Wi(a,a.next)&&(Ri(a),a=a.next),a}function ki(t,e=t){if(!t)return t;let s,i=t;do{if(s=!1,i.steiner||!Wi(i,i.next)&&0!==Bi(i.prev,i,i.next))i=i.next;else{if(Ri(i),i=e=i.prev,i===i.next)break;s=!0}}while(s||i!==e);return e}function Fi(t,e,s,i,r,n,o,a){if(!t)return;!a&&n&&(t=Ni(t,i,r,n));let h=t;for(;t.prev!==t.next;){const c=t.prev,l=t.next;if(n?zi(t,i,r,n):Ei(t))e.push(c.index/s+o),e.push(t.index/s+o),e.push(l.index/s+o),Ri(t),t=l.next,h=l.next;else if((t=l)===h){a?1===a?Fi(t=Yi(t,e,s,o),e,s,i,r,n,o,2):2===a&&Xi(t,e,s,i,r,n,o):Fi(ki(t),e,s,i,r,n,o,1);break}}}function Ei(t){const e=t.prev,s=t,i=t.next;if(Bi(e,s,i)>=0)return!1;let r=t.next.next;const n=r;let o=0;for(;r!==t.prev&&(0===o||r!==n);){if(o++,Ui(e.x,e.y,s.x,s.y,i.x,i.y,r.x,r.y)&&Bi(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function zi(t,e,s,i){const r=t.prev,n=t,o=t.next;if(Bi(r,n,o)>=0)return!1;const a=r.x<n.x?r.x<o.x?r.x:o.x:n.x<o.x?n.x:o.x,h=r.y<n.y?r.y<o.y?r.y:o.y:n.y<o.y?n.y:o.y,c=r.x>n.x?r.x>o.x?r.x:o.x:n.x>o.x?n.x:o.x,l=r.y>n.y?r.y>o.y?r.y:o.y:n.y>o.y?n.y:o.y,u=qi(a,h,e,s,i),d=qi(c,l,e,s,i);let _=t.prevZ,p=t.nextZ;for(;_&&_.z>=u&&p&&p.z<=d;){if(_!==t.prev&&_!==t.next&&Ui(r.x,r.y,n.x,n.y,o.x,o.y,_.x,_.y)&&Bi(_.prev,_,_.next)>=0)return!1;if(_=_.prevZ,p!==t.prev&&p!==t.next&&Ui(r.x,r.y,n.x,n.y,o.x,o.y,p.x,p.y)&&Bi(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;_&&_.z>=u;){if(_!==t.prev&&_!==t.next&&Ui(r.x,r.y,n.x,n.y,o.x,o.y,_.x,_.y)&&Bi(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;p&&p.z<=d;){if(p!==t.prev&&p!==t.next&&Ui(r.x,r.y,n.x,n.y,o.x,o.y,p.x,p.y)&&Bi(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function Oi(t,e,s,i){const r=Zi.create(t,e,s);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Ri(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Li(t){let e=t,s=t;do{(e.x<s.x||e.x===s.x&&e.y<s.y)&&(s=e),e=e.next}while(e!==t);return s}function Di(t,e){const s=function(t,e){let s=e;const i=t.x,r=t.y;let n,o=-1/0;do{if(r<=s.y&&r>=s.next.y&&s.next.y!==s.y){const t=s.x+(r-s.y)*(s.next.x-s.x)/(s.next.y-s.y);if(t<=i&&t>o){if(o=t,t===i){if(r===s.y)return s;if(r===s.next.y)return s.next}n=s.x<s.next.x?s:s.next}}s=s.next}while(s!==e);if(!n)return null;if(i===o)return n.prev;const a=n,h=n.x,c=n.y;let l,u=1/0;for(s=n.next;s!==a;)i>=s.x&&s.x>=h&&i!==s.x&&Ui(r<c?i:o,r,h,c,r<c?o:i,r,s.x,s.y)&&(l=Math.abs(r-s.y)/(i-s.x),(l<u||l===u&&s.x>n.x)&&Vi(s,t)&&(n=s,u=l)),s=s.next;return n}(t,e);if(!s)return e;const i=Hi(s,t);return ki(i,i.next),ki(s,s.next)}function Ni(t,e,s,i){let r;for(;r!==t;r=r.next){if(r=r||t,null===r.z&&(r.z=qi(r.x,r.y,e,s,i)),r.prev.next!==r||r.next.prev!==r)return r.prev.next=r,r.next.prev=r,Ni(t,e,s,i);r.prevZ=r.prev,r.nextZ=r.next}return t.prevZ.nextZ=null,t.prevZ=null,function(t){let e,s=1;for(;;){let i,r=t;t=null,e=null;let n=0;for(;r;){n++,i=r;let o=0;for(;o<s&&i;o++)i=i.nextZ;let a=s;for(;o>0||a>0&&i;){let s;0===o?(s=i,i=i.nextZ,a--):0!==a&&i?r.z<=i.z?(s=r,r=r.nextZ,o--):(s=i,i=i.nextZ,a--):(s=r,r=r.nextZ,o--),e?e.nextZ=s:t=s,s.prevZ=e,e=s}r=i}if(e.nextZ=null,s*=2,n<2)return t}}(t)}function Bi(t,e,s){return(e.y-t.y)*(s.x-e.x)-(e.x-t.x)*(s.y-e.y)}function Gi(t,e,s,i){return!!(Wi(t,e)&&Wi(s,i)||Wi(t,i)&&Wi(s,e))||Bi(t,e,s)>0!=Bi(t,e,i)>0&&Bi(s,i,t)>0!=Bi(s,i,e)>0}function Ui(t,e,s,i,r,n,o,a){return(r-o)*(e-a)-(t-o)*(n-a)>=0&&(t-o)*(i-a)-(s-o)*(e-a)>=0&&(s-o)*(n-a)-(r-o)*(i-a)>=0}function Vi(t,e){return Bi(t.prev,t,t.next)<0?Bi(t,e,t.next)>=0&&Bi(t,t.prev,e)>=0:Bi(t,e,t.prev)<0||Bi(t,t.next,e)<0}function qi(t,e,s,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-s)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Wi(t,e){return t.x===e.x&&t.y===e.y}function ji(t,e){return t.x-e.x}function Yi(t,e,s,i){let r=t;do{const n=r.prev,o=r.next.next;!Wi(n,o)&&Gi(n,r,r.next,o)&&Vi(n,o)&&Vi(o,n)&&(e.push(n.index/s+i),e.push(r.index/s+i),e.push(o.index/s+i),Ri(r),Ri(r.next),r=t=o),r=r.next}while(r!==t);return r}function Xi(t,e,s,i,r,n,o){let a=t;do{let t=a.next.next;for(;t!==a.prev;){if(a.index!==t.index&&$i(a,t)){let h=Hi(a,t);return a=ki(a,a.next),h=ki(h,h.next),Fi(a,e,s,i,r,n,o,0),void Fi(h,e,s,i,r,n,o,0)}t=t.next}a=a.next}while(a!==t)}function $i(t,e){return t.next.index!==e.index&&t.prev.index!==e.index&&!function(t,e){let s=t;do{if(s.index!==t.index&&s.next.index!==t.index&&s.index!==e.index&&s.next.index!==e.index&&Gi(s,s.next,t,e))return!0;s=s.next}while(s!==t);return!1}(t,e)&&Vi(t,e)&&Vi(e,t)&&function(t,e){let s=t,i=!1;const r=(t.x+e.x)/2,n=(t.y+e.y)/2;do{s.y>n!=s.next.y>n&&s.next.y!==s.y&&r<(s.next.x-s.x)*(n-s.y)/(s.next.y-s.y)+s.x&&(i=!i),s=s.next}while(s!==t);return i}(t,e)}function Hi(t,e){const s=Zi.create(t.index,t.x,t.y),i=Zi.create(e.index,e.x,e.y),r=t.next,n=e.prev;return t.next=e,e.prev=t,s.next=r,r.prev=s,i.next=s,s.prev=i,n.next=i,i.prev=n,i}s(83349);class Zi{constructor(){this.index=0,this.x=0,this.y=0,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}static create(t,e,s){const i=Ki<Qi.length?Qi[Ki++]:new Zi;return i.index=t,i.x=e,i.y=s,i.prev=null,i.next=null,i.z=null,i.prevZ=null,i.nextZ=null,i.steiner=!1,i}}const Qi=[];let Ki=0;for(let t=0;t<8096;t++)Qi.push(new Zi);const Ji=new Jt.O3(0,0,0,1,0),tr=new Jt.O3(0,0,0,1,0);function er(t,e,s){let i=0;for(let r=1;r<s;r++){const s=t[2*(e+r-1)],n=t[2*(e+r-1)+1];i+=(t[2*(e+r)]-s)*(t[2*(e+r)+1]+n)}return i}function sr(t,e,s,i,r){let n=0;for(let o=s;o<i;o+=3){const s=2*(t[o]-r),i=2*(t[o+1]-r),a=2*(t[o+2]-r);n+=Math.abs((e[s]-e[a])*(e[i+1]-e[s+1])-(e[s]-e[i])*(e[a+1]-e[s+1]))}return n}function ir(t,e){if(null==t)return null;if(!function(t,e,s){let i=0;for(let e=0;e<t.lengths.length;e++){const r=t.lengths[e];for(let e=0;e<r;e++){const r=t.coords[2*(e+i)],n=t.coords[2*(e+i)+1];if(r<-128||r>s||n<-128||n>s)return!0}i+=r}return!1}(t,0,B.CQ+128))return t;Ji.setPixelMargin(e),Ji.reset(Jt.dC.Polygon);let s=0;for(let e=0;e<t.lengths.length;e++){const i=t.lengths[e];let r=t.coords[2*(0+s)],n=t.coords[2*(0+s)+1];Ji.moveTo(r,n);for(let e=1;e<i;e++)r=t.coords[2*(e+s)],n=t.coords[2*(e+s)+1],Ji.lineTo(r,n);Ji.close(),s+=i}const i=Ji.result(!1);if(!i)return null;const r=[],n=[];for(const t of i){let e=0;for(const s of t)n.push(s.x),n.push(s.y),e++;r.push(e)}return new jt.A(r,n)}Ji.setExtent(B.CQ),tr.setExtent(B.CQ);const rr=(0,n.A)("featurelayer-fast-triangulation-enabled");class nr extends bi{async loadDependencies(){await Promise.all([super.loadDependencies(),(0,Ti.F)()])}_write(t,e,s){const i=s?.asOptimized()??e.readGeometryForDisplay(),r=this._clip(i);r&&(t.recordStart(this.instanceId,this.attributeLayout),this._writeGeometry(t,e,r),t.recordEnd())}_clip(t){return t?ir(t,this.hasEffects?256:8):null}_writeGeometry(t,e,s){const i=s.maxLength>100,r=[],n=this.createTesselationParams(e);if(!i&&rr&&function(t,e){const{coords:s,lengths:i}=e,r=t;let n=0;for(let t=0;t<i.length;){let e=t,o=i[t],a=er(s,n,o);const h=[];for(;++e<i.length;){const t=i[e],r=er(s,n+o,t);if(!(r>0))break;a+=r,h.push(n+o),o+=t}const c=r.length;Ai(r,s,n,n+o,h,2,0);const l=sr(r,s,c,r.length,0),u=Math.abs(a);if(Math.abs((l-u)/Math.max(1e-7,u))>1e-5)return r.length=0,!1;t=e,n+=o}return!0}(r,s))return void(r.length&&this._writeVertices(t,e,s.coords,n,r));const o=function(t){const{coords:e,lengths:s}=t,{buffer:i}=(0,Ti.l)(e,s);return i}(s);this._writeVertices(t,e,o,n)}_writeVertices(t,e,s,i,r){const n=e.getDisplayId(),o=t.vertexCount(),a=this.hasEffects;let h=0;if(r)for(const e of r){const r=s[2*e],o=s[2*e+1];a&&t.recordBounds(r,o,0,0),this._writeVertex(t,n,r,o,i),h++}else for(let e=0;e<s.length;e+=2){const r=Math.round(s[e]),o=Math.round(s[e+1]);a&&t.recordBounds(r,o,0,0),this._writeVertex(t,n,r,o,i),h++}t.indexEnsureSize(h);for(let e=0;e<h;e++)t.indexWrite(e+o)}}const or={createComputedParams:t=>t,optionalAttributes:{},attributes:{id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1},pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:10},inverseArea:{type:dt.pe.FLOAT,count:1,packTessellation:({inverseArea:t})=>t}}};class ar extends nr{constructor(){super(...arguments),this.vertexSpec=or}createTesselationParams(t){return{inverseArea:1/t.readGeometryArea()}}}const hr={createComputedParams:t=>t,optionalAttributes:{zoomRange:{type:dt.pe.SHORT,count:2,packPrecisionFactor:B.fq,pack:({scaleInfo:t},{tileInfo:e})=>kt(t,e)}},attributes:{id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1},pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:10},color:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({color:t})=>zt(t)}}};class cr extends nr{constructor(){super(...arguments),this.vertexSpec=hr}createTesselationParams(t){return null}}const lr={createComputedParams:t=>t,optionalAttributes:hr.optionalAttributes,attributes:{...hr.attributes,tlbr:{count:4,type:dt.pe.UNSIGNED_SHORT,pack:({sprite:t})=>{const{rect:e,width:s,height:i}=t,r=e.x+B.hM,n=e.y+B.hM;return[r,n,r+s,n+i]}},inverseRasterizationScale:{count:1,type:dt.pe.BYTE,packPrecisionFactor:16,pack:({sprite:t})=>1/t.rasterizationScale}}};class ur extends cr{constructor(){super(...arguments),this.vertexSpec=lr}_write(t,e,s){const i=s?.asOptimized()??e.readGeometryForDisplay(),r=this._clip(i);if(!r)return;const n=this.evaluatedMeshParams.sprite?.textureBinding;t.recordStart(this.instanceId,this.attributeLayout,n),this._writeGeometry(t,e,r),t.recordEnd()}}function dr(t){const{sprite:e,aspectRatio:s,scaleProportionally:i}=t,r=(0,l.Lz)(t.height),n=r>0?r:e.height;let o=r*s;return o<=0?o=e.width:i&&(o*=e.width/e.height),{width:o,height:n}}function _r(t){const{applyRandomOffset:e,sampleAlphaOnly:s}=t;return Et([[2,e],[4,s]])}const pr={createComputedParams:t=>t,optionalAttributes:lr.optionalAttributes,attributes:{...lr.attributes,bitset:{count:1,type:dt.pe.UNSIGNED_BYTE,pack:_r},width:{count:1,type:dt.pe.HALF_FLOAT,pack:t=>dr(t).width},height:{count:1,type:dt.pe.HALF_FLOAT,pack:t=>dr(t).height},offset:{count:2,type:dt.pe.HALF_FLOAT,pack:({offsetX:t,offsetY:e})=>[(0,l.Lz)(t),-(0,l.Lz)(e)]},scale:{count:2,type:dt.pe.UNSIGNED_BYTE,packPrecisionFactor:16,pack:({scaleX:t,scaleY:e})=>[t,e]},angle:{count:1,type:dt.pe.UNSIGNED_BYTE,pack:({angle:t})=>(0,ni.wV)(t)}}};class fr extends ur{constructor(){super(...arguments),this.vertexSpec=pr}}var gr=s(83773);class mr{constructor(){this.extrusionOffsetX=0,this.extrusionOffsetY=0,this.normalX=0,this.normalY=0,this.directionX=0,this.directionY=0,this.distance=0,this.pathLength=0}}const yr={createComputedParams:t=>t,optionalAttributes:{zoomRange:{type:dt.pe.SHORT,count:2,packPrecisionFactor:B.fq,pack:({scaleInfo:t},{tileInfo:e})=>kt(t,e)}},attributes:{id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:10},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1},color:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({color:t})=>zt(t)},offset:{type:dt.pe.BYTE,count:2,packPrecisionFactor:16,packTessellation:({extrusionOffsetX:t,extrusionOffsetY:e})=>[Rt(t,16),Rt(e,16)]},normal:{type:dt.pe.BYTE,count:2,packPrecisionFactor:16,packTessellation:({normalX:t,normalY:e})=>[Rt(t,16),Rt(e,16)]},halfWidth:{type:dt.pe.HALF_FLOAT,count:1,pack:({width:t})=>(0,l.Lz)(.5*t)},referenceHalfWidth:{type:dt.pe.HALF_FLOAT,count:1,pack:({referenceWidth:t})=>(0,l.Lz)(.5*t)}}};class xr{constructor(){this.id=0,this.bitset=0,this.indexCount=0,this.vertexCount=0,this.vertexFrom=0,this.vertexBounds=0,this.pathLength=0}}class br extends bi{constructor(t,e,s,i){super(t,e,s,i),this.vertexSpec=yr,this._currentWrite=new xr,this._tessellationOptions={halfWidth:0,pixelCoordRatio:1,offset:0,wrapDistance:65535,textured:!1},this._tessParams=new mr,this._initializeTessellator()}writeLineVertices(t,e,s){const i=this._getLines(e);null!=i&&this._writeVertices(t,s,i)}_initializeTessellator(){this._lineTessellator=new gr.i(this._writeTesselatedVertex.bind(this),this._writeTriangle.bind(this),!0)}_write(t,e,s){const i=s??Yt.fromFeatureSetReaderCIM(e);i&&this._writeGeometry(t,e,i)}_writeGeometry(t,e,s,i){t.recordStart(this.instanceId,this.attributeLayout,i),this.writeLineVertices(t,s,e),t.recordEnd()}_getLines(t){return function(t,e){tr.setPixelMargin(e);const s=tr,i=-e,r=B.CQ+e;let n=[],o=!1;if(!t.nextPath())return null;let a=t.pathLength(),h=!0;for(;h;){t.seekPathStart();const e=[];if(!t.pathSize)return null;s.reset(Jt.dC.LineString),t.nextPoint();let c=t.x,l=t.y;if(o)s.moveTo(c,l);else{if(c<i||c>r||l<i||l>r){o=!0;continue}e.push({x:c,y:l})}let u=!1;for(;t.nextPoint();)if(c=t.x,l=t.y,o)s.lineTo(c,l);else{if(c<i||c>r||l<i||l>r){u=!0;break}e.push({x:c,y:l})}if(u)o=!0;else{if(o){const t=s.resultWithStarts();if(t)for(const e of t)n.push({...e,pathLength:a})}else n.push({line:e,start:0,pathLength:a});h=t.nextPath(),a=h?t.pathLength():0,o=!1}}return n=n.filter((t=>t.line.length>1)),0===n.length?null:n}(t,gi(this.evaluatedMeshParams))}_writeVertices(t,e,s){const{_currentWrite:i,_tessellationOptions:r,evaluatedMeshParams:n}=this,{width:o,capType:a,joinType:h,miterLimit:c,hasSizeVV:u}=n,d=(0,l.Lz)(.5*o);r.halfWidth=d,r.capType=function(t){switch(t){case"butt":case Ct.uT.Butt:return Ct.xR.BUTT;case"round":case Ct.uT.Round:return Ct.xR.ROUND;case"square":case Ct.uT.Square:return Ct.xR.SQUARE}}(a),r.joinType=function(t){switch(t){case"bevel":case Ct.wd.Bevel:return Ct.JO.BEVEL;case"miter":case Ct.wd.Miter:return Ct.JO.MITER;case"round":case Ct.wd.Round:return Ct.JO.ROUND}}(h),r.miterLimit=c;const _=!u;i.out=t,i.id=e.getDisplayId(),i.vertexCount=0,i.indexCount=0,i.vertexFrom=t.vertexCount(),i.vertexBounds=_&&d<B.Gh?0:1;for(const{line:t,start:e,pathLength:n}of s)r.initialDistance=e%65535,i.pathLength=n,this._lineTessellator.tessellate(t,r,_)}_writeTesselatedVertex(t,e,s,i,r,n,o,a,h,c,l){const{out:u,id:d,vertexBounds:_,pathLength:p}=this._currentWrite;return this.hasEffects&&u.recordBounds(t,e,_,_),this._tessParams.extrusionOffsetX=o,this._tessParams.extrusionOffsetY=a,this._tessParams.normalX=h,this._tessParams.normalY=c,this._tessParams.directionX=r,this._tessParams.directionY=n,this._tessParams.distance=l,this._tessParams.pathLength=p,this._writeVertex(u,d,t,e,this._tessParams),this._currentWrite.vertexFrom+this._currentWrite.vertexCount++}_writeTriangle(t,e,s){const{out:i}=this._currentWrite;i.indexEnsureSize(3),i.indexWrite(t),i.indexWrite(e),i.indexWrite(s),this._currentWrite.indexCount+=3}}const wr={createComputedParams:t=>t,optionalAttributes:yr.optionalAttributes,attributes:{...yr.attributes,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:t=>0},color:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({color:t})=>zt(t)}}},vr={createComputedParams:t=>t,optionalAttributes:yr.optionalAttributes,attributes:{...yr.attributes,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:t=>Et([[0,!0]])},color:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({outlineColor:t})=>zt(t)}}};class Sr extends br{constructor(){super(...arguments),this.vertexSpec=vr}}class Ir extends cr{constructor(t,e,s,i){super(t,e,s,i),this.vertexSpec=wr,this._lineMeshWriter=this._createOutlineWriter(t,e,s,i)}_createOutlineWriter(t,e,s,i){return new Sr(t,e,s,i)}_write(t,e,s){const i=s?.asOptimized()??e.readGeometryForDisplay(),r=this._clip(i);r&&(t.recordStart(this.instanceId,this.attributeLayout),this._writeGeometry(t,e,r),this._lineMeshWriter.writeLineVertices(t,Yt.fromOptimizedCIM(r,"esriGeometryPolyline"),e),t.recordEnd())}_clip(t){return t?ir(t,gi(this.evaluatedMeshParams)):null}ensurePacked(t,e,s){super.ensurePacked(t,e,s),this._lineMeshWriter.ensurePacked(t,e,s)}enqueueRequest(t,e,s){super.enqueueRequest(t,e,s),this._lineMeshWriter.enqueueRequest(t,e,s)}async loadDependencies(){await Promise.all([super.loadDependencies(),this._lineMeshWriter.loadDependencies()])}}var Mr=s(46263),Pr=s(620);class Tr{constructor(){this._includedModules=new Map}include(t,e){this._includedModules.has(t)?this._includedModules.get(t):(this._includedModules.set(t,e),t(this.builder,e))}}class Ar extends Tr{constructor(){super(...arguments),this.vertex=new Fr,this.fragment=new Fr,this.attributes=new Er,this.varyings=new zr,this.extensions=new Or,this.constants=new Rr}get fragmentUniforms(){return this.fragment.uniforms.entries}get builder(){return this}generate(t,e=!0){const s=this.extensions.generateSource(t),i=this.attributes.generateSource(t),r=this.varyings.generateSource(t),n="vertex"===t?this.vertex:this.fragment,o=n.uniforms.generateSource(),a=n.code.generateSource(),h="vertex"===t?Lr:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n precision highp float;\n precision highp sampler2D;\n#else\n precision mediump float;\n precision mediump sampler2D;\n#endif\n",c=this.constants.generateSource().concat(n.constants.generateSource());return`${e?"#version 300 es":""}\n${s.join("\n")}\n${h}\n${c.join("\n")}\n${o.join("\n")}\n${i.join("\n")}\n${r.join("\n")}\n${a.join("\n")}`}generateBindPass(t){const e=new Map;this.vertex.uniforms.entries.forEach((t=>{const s=t.bind[Mr.c.Pass];s&&e.set(t.name,s)})),this.fragment.uniforms.entries.forEach((t=>{const s=t.bind[Mr.c.Pass];s&&e.set(t.name,s)}));const s=Array.from(e.values()),i=s.length;return(e,r)=>{for(let n=0;n<i;++n)s[n](t,e,r)}}generateBindDraw(t){const e=new Map;this.vertex.uniforms.entries.forEach((t=>{const s=t.bind[Mr.c.Draw];s&&e.set(t.name,s)})),this.fragment.uniforms.entries.forEach((t=>{const s=t.bind[Mr.c.Draw];s&&e.set(t.name,s)}));const s=Array.from(e.values()),i=s.length;return(e,r,n)=>{for(let o=0;o<i;++o)s[o](t,n,e,r)}}}class Cr{constructor(){this._entries=new Map}add(...t){for(const e of t)this._add(e)}get(t){return this._entries.get(t)}_add(t){if(null!=t){if(this._entries.has(t.name)&&!this._entries.get(t.name).equals(t))throw new i.A(`Duplicate uniform name ${t.name} for different uniform type`);this._entries.set(t.name,t)}else E.A.getLogger("esri.views.3d.webgl-engine.core.shaderModules.shaderBuilder").error(`Trying to add null Uniform from ${(new Error).stack}.`)}generateSource(){return Array.from(this._entries.values()).map((t=>null!=t.arraySize?`uniform ${t.type} ${t.name}[${t.arraySize}];`:`uniform ${t.type} ${t.name};`))}get entries(){return Array.from(this._entries.values())}}class kr{constructor(){this._entries=new Array}add(t){this._entries.push(t)}generateSource(){return this._entries}}class Fr extends Tr{constructor(){super(...arguments),this.uniforms=new Cr,this.code=new kr,this.constants=new Rr}get builder(){return this}}class Er{constructor(){this._entries=new Array}add(t,e){this._entries.push([t,e])}generateSource(t){return"fragment"===t?[]:this._entries.map((t=>`in ${t[1]} ${t[0]};`))}}class zr{constructor(){this._entries=new Map}add(t,e){this._entries.has(t)&&(0,Pr.vA)(this._entries.get(t)===e),this._entries.set(t,e)}generateSource(t){const e=new Array;return this._entries.forEach(((s,i)=>e.push("vertex"===t?`out ${s} ${i};`:`in ${s} ${i};`))),e}}class Or{constructor(){this._entries=new Set}add(t){this._entries.add(t)}generateSource(t){const e="vertex"===t?Or.ALLOWLIST_VERTEX:Or.ALLOWLIST_FRAGMENT;return Array.from(this._entries).filter((t=>e.includes(t))).map((t=>`#extension ${t} : enable`))}}Or.ALLOWLIST_FRAGMENT=["GL_EXT_shader_texture_lod","GL_OES_standard_derivatives"],Or.ALLOWLIST_VERTEX=[];class Rr{constructor(){this._entries=new Set}add(t,e,s){let i="ERROR_CONSTRUCTOR_STRING";switch(e){case"float":i=Rr._numberToFloatStr(s);break;case"int":i=Rr._numberToIntStr(s);break;case"bool":i=s.toString();break;case"vec2":i=`vec2(${Rr._numberToFloatStr(s[0])}, ${Rr._numberToFloatStr(s[1])})`;break;case"vec3":i=`vec3(${Rr._numberToFloatStr(s[0])}, ${Rr._numberToFloatStr(s[1])}, ${Rr._numberToFloatStr(s[2])})`;break;case"vec4":i=`vec4(${Rr._numberToFloatStr(s[0])}, ${Rr._numberToFloatStr(s[1])}, ${Rr._numberToFloatStr(s[2])}, ${Rr._numberToFloatStr(s[3])})`;break;case"ivec2":i=`ivec2(${Rr._numberToIntStr(s[0])}, ${Rr._numberToIntStr(s[1])})`;break;case"ivec3":i=`ivec3(${Rr._numberToIntStr(s[0])}, ${Rr._numberToIntStr(s[1])}, ${Rr._numberToIntStr(s[2])})`;break;case"ivec4":i=`ivec4(${Rr._numberToIntStr(s[0])}, ${Rr._numberToIntStr(s[1])}, ${Rr._numberToIntStr(s[2])}, ${Rr._numberToIntStr(s[3])})`;break;case"mat2":case"mat3":case"mat4":i=`${e}(${Array.prototype.map.call(s,(t=>Rr._numberToFloatStr(t))).join(", ")})`}return this._entries.add(`const ${e} ${t} = ${i};`),this}static _numberToIntStr(t){return t.toFixed(0)}static _numberToFloatStr(t){return Number.isInteger(t)?t.toFixed(1):t.toString()}generateSource(){return Array.from(this._entries)}}const Lr="precision highp float;\nprecision highp sampler2D;";function Dr(t,e){const s=[];for(s.push(e);s.length;){const e=s.pop();if("object"==typeof e&&!t.has(e.uid)){t.add(e.uid);for(const t of e.children)s.push(t)}}}class Nr{constructor(){this.uid=Nr.NodeCount++,this._debugName=null,this._isMutable=!1,this.isImplicit=!1}get isMutable(){return this._isMutable}setMutable(){return this._isMutable=!0,this}setDebugName(t){return t=function(t){return t.split(" ").map(((t,e)=>e>0?t.charAt(0).toUpperCase()+t.slice(1):t)).join("")}(t),this._debugName=t,this.isImplicit&&this.children[0]instanceof Nr&&this.children[0].setDebugName(t),this}get debugInfo(){return{name:this._debugName??""}}cloneInto(t){t._debugName=this._debugName,t._isMutable=this._isMutable,t.isImplicit=this.isImplicit,t.uid=this.uid}}function Br(t){return"object"==typeof t?t.clone():t}Nr.NodeCount=0;class Gr extends Nr{constructor(){super(...arguments),this.shaderType="primitive-node"}}class Ur extends Nr{constructor(t){super(),this.child=t,this.shaderType="scope-node"}get children(){return[this.child]}clone(){const t=new Ur(Br(this.child));return this.cloneInto(t),t}}class Vr extends Nr{constructor(t,e,s){super(),this.property=t,this.target=e,this.returnType=s,this.shaderType="property-access-node"}get children(){const t=[this.target];return"string"!=typeof this.property&&t.push(this.property),t}clone(){const t=new Vr(this.property,Br(this.target),this.returnType);return this.cloneInto(t),t}}class qr extends Nr{constructor(t,e,s,i){super(),this.x=t,this.y=e,this.target=s,this.returnType=i,this.shaderType="property-access-2d-node"}get children(){return[this.target,this.x,this.y]}clone(){const t=new qr(this.x,this.y,Br(this.target),this.returnType);return this.cloneInto(t),t}}class Wr extends Nr{constructor(t,e,s){super(),this.condition=t,this.ifTrue=e,this.ifFalse=s,this.shaderType="condition-node"}get children(){return[this.condition,this.ifTrue,this.ifFalse]}clone(){const t=Br(this.ifTrue),e=this.ifFalse?Br(this.ifFalse):null,s=new Wr(this.condition,t,e);return this.cloneInto(s),s}}class jr extends Nr{constructor(t,e,s,i){super(),this.captureList=t,this.returnType=e,this.generator=i,this.shaderType="block-node",s&&(this.subgraph=new Ur(s))}get children(){return Object.keys(this.captureList).map((t=>this.captureList[t])).concat(this.subgraph??[])}clone(){const t={};for(const e in this.captureList)t[e]=Br(this.captureList[e]);const e=new jr(t,this.returnType,this.subgraph?Br(this.subgraph.child):this.subgraph,this.generator);return this.cloneInto(e),e}}class Yr extends Nr{constructor(t,e,s,i,r,n=!1){super(),this.token=t,this._children=e,this.isInfix=s,this.isPropertyAccess=i,this.returnType=r,this.isTernary=n,this.shaderType="function-node"}get children(){return this._children}clone(){const t=new Yr(this.token,this._children.map(Br),this.isInfix,this.isPropertyAccess,this.returnType,this.isTernary);return this.cloneInto(t),t}}var Xr,$r,Hr,Zr,Qr,Kr,Jr,tn,en,sn,rn,nn,on,an;function hn(t){return new Proxy(t,{get(e,s){if("constructor"===s)return new Proxy(e.constructor,{construct:(t,e,s)=>hn(new t(...e))});if(s in e)return e[s];if("string"==typeof s){const e=function(t){const e=[["float","vec2","vec3","vec4"],["int","ivec2","ivec3","ivec4"],["uint","uvec2","uvec3","uvec4"],["bool","bvec2","bvec3","bvec4"]];for(const s of e)if(s.includes(t))return s.map((t=>On[t]));throw new Error("Unable to find type family")}(t.type);return Bn(t,s,e[s.length-1])}}})}function cn(t){return new Proxy(t,{construct:(t,e,s)=>hn(new t(...e))})}class ln extends Error{}let un=Xr=class extends Gr{constructor(t,e){super(),this.elementType=t,this.size=e,this.children=[],this.type="array"}clone(){const t=new Xr(this.elementType,this.size);return super.cloneInto(t),t}get(t,e){const s=new Tn(t),i=null!=e?new Tn(e):null;return null!=i?Gn(this,s,i,function(t){switch(t.type){case"bool":case"bvec2":case"bvec3":case"bvec4":return vn;case"float":case"vec2":case"vec3":case"vec4":return pn;case"int":case"ivec2":case"ivec3":case"ivec4":return Tn;case"uint":case"uvec2":case"uvec3":case"uvec4":return yn;default:throw new Error("Unable to handle type")}}(this.elementType.constructor)):Bn(this,s,this.elementType.constructor)}last(){return this.get(this.size-1)}first(){return this.get(0)}findIndex(t,e,s){return function(t,e,s=0,i=t.size){const r=new Tn(s).setMutable().setDebugName("FindIndexIterator"),n=e(t.get(r)).setDebugName("FindIndexPredicate"),o=Yn({iter:r},Tn,n,(({out:t,iter:e,subgraph:s})=>`\n${t} = -1;\n\nfor (; ${e} < ${i}; ${e}++) {\n\n${s.body}\n\n if (${s.varName}) {\n ${t} = ${e};\n break;\n }\n\n}\n`)).setDebugName("FindIndexBlock");return o}(this,t,e,s)}glslFindIndex(t,e,s){return function(t,e,s=0,i=t.size){const r=Yn({array:t},Tn,null,(({out:t,array:r})=>`\n${t} = -1;\nfor (int i = ${s}; i < ${i}; i++) {\n bool condition;\n ${e({array:r,i:"i",out:"condition"})}\n if (condition) {\n ${t} = i;\n break;\n }\n}\n`)).setDebugName("GlslFindIndexBlock");return r}(this,t,e,s)}static ofType(t,e){const s={construct:(s,i)=>new Xr(new t,e)};return new Proxy(Xr,s)}};un.type="array",un=Xr=(0,P._)([function(t){return new Proxy(t,{construct:(t,e,s)=>function(t){return new Proxy(t,{get(e,s){if(s in e)return e[s];if("string"==typeof s){const e=parseInt(s,10);if(!isNaN(e))return Bn(t,`[${e}]`,t.elementType.constructor)}}})}(new t(...e))})}],un);class dn extends Gr{constructor(t,e,s,i=!1){super(),this.elementType=t,this.xSize=e,this.ySize=s,this.isRowMajor=i,this.children=[],this.type="array-2d"}clone(){const t=new dn(this.elementType,this.xSize,this.ySize,this.isRowMajor);return super.cloneInto(t),t}get size(){return this.xSize*this.ySize}get(t,e){return this.isRowMajor?this._getRowMajor(t,e):this._getColumnMajor(t,e)}_getColumnMajor(t,e){const s=new Tn(t);return Bn(this,new Tn(e).add(s.multiply(this.xSize)),this.elementType.constructor)}_getRowMajor(t,e){const s=new Tn(t),i=new Tn(e);return Bn(this,s.add(i.multiply(this.ySize)),this.elementType.constructor)}static ofType(t,e,s,i=!1){return new Proxy(un,{construct:(r,n)=>new dn(new t,e,s,i)})}}dn.type="array-2d";class _n extends Gr{constructor(){super(...arguments),this.type="sampler2D",this.children=[]}clone(){const t=new _n;return t.children=this.children.map(Br),super.cloneInto(t),t}}_n.type="sampler2D";class pn extends Gr{constructor(t){super(),this.type="float",this.children=[t]}clone(){const t=new pn(Br(this.children[0]));return super.cloneInto(t),t}multiply(t){return Hn(this,"number"==typeof t?Mn(t,pn):t)}divide(t){return Zn(this,"number"==typeof t?Mn(t,pn):t)}add(t){return Qn(this,"number"==typeof t?Mn(t,pn):t)}subtract(t){return Kn(this,"number"==typeof t?Mn(t,pn):t)}}pn.type="float";let fn=$r=class extends Gr{constructor(t,e){super(),this.type="vec2",this.children=[t,e].filter((t=>null!=t))}clone(){const t=new $r(Br(this.children[0]),Br(this.children[1]));return super.cloneInto(t),t}get 0(){return Bn(this,"[0]",pn)}get 1(){return Bn(this,"[1]",pn)}get 2(){throw new ln}get 3(){throw new ln}multiply(t){return Hn(this,"number"==typeof t?Mn(t,pn):t)}divide(t){return Zn(this,"number"==typeof t?Mn(t,pn):t)}add(t){return Qn(this,"number"==typeof t?Mn(t,pn):t)}subtract(t){return Kn(this,"number"==typeof t?Mn(t,pn):t)}};fn.type="vec2",fn=$r=(0,P._)([cn],fn);let gn=Hr=class extends Gr{constructor(t,e,s){super(),this.type="vec3",this.children=[t,e,s].filter((t=>null!=t))}get 0(){return Bn(this,"[0]",pn)}get 1(){return Bn(this,"[1]",pn)}get 2(){return Bn(this,"[2]",pn)}get 3(){throw new ln}clone(){const t=new Hr(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]));return super.cloneInto(t),t}multiply(t){return Hn(this,"number"==typeof t?Mn(t,pn):t)}divide(t){return Zn(this,"number"==typeof t?Mn(t,pn):t)}add(t){return Qn(this,"number"==typeof t?Mn(t,pn):t)}subtract(t){return Kn(this,"number"==typeof t?Mn(t,pn):t)}};gn.type="vec3",gn=Hr=(0,P._)([cn],gn);let mn=Zr=class extends Gr{constructor(t,e,s,i){super(),this.type="vec4",this.children=[t,e,s,i].filter((t=>null!=t))}clone(){const t=new Zr(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]));return super.cloneInto(t),t}get 0(){return Bn(this,"[0]",pn)}get 1(){return Bn(this,"[1]",pn)}get 2(){return Bn(this,"[2]",pn)}get 3(){return Bn(this,"[3]",pn)}multiply(t){return Hn(this,"number"==typeof t?Mn(t,pn):t)}divide(t){return Zn(this,"number"==typeof t?Mn(t,pn):t)}add(t){return Qn(this,"number"==typeof t?Mn(t,pn):t)}subtract(t){return Kn(this,"number"==typeof t?Mn(t,pn):t)}};mn.type="vec4",mn=Zr=(0,P._)([cn],mn);let yn=Qr=class extends Gr{constructor(t){super(),this.type="uint",this.children=[t]}clone(){const t=new Qr(Br(this.children[0]));return super.cloneInto(t),t}};yn.type="uint",yn=Qr=(0,P._)([cn],yn);let xn=Kr=class extends Gr{constructor(t,e){super(),this.type="uvec2",this.children=[t,e].filter((t=>null!=t))}clone(){const t=new Kr(Br(this.children[0]),Br(this.children[1]));return super.cloneInto(t),t}};xn.type="uvec2",xn=Kr=(0,P._)([cn],xn);let bn=Jr=class extends Gr{constructor(t,e,s){super(),this.type="uvec3",this.children=[t,e,s].filter((t=>null!=t))}clone(){const t=new Jr(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]));return super.cloneInto(t),t}};bn.type="uvec3",bn=Jr=(0,P._)([cn],bn);let wn=tn=class extends Gr{constructor(t,e,s,i){super(),this.type="uvec4",this.children=[t,e,s,i].filter((t=>null!=t))}clone(){const t=new tn(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]));return super.cloneInto(t),t}};wn.type="uvec4",wn=tn=(0,P._)([cn],wn);class vn extends Gr{constructor(t){super(),this.type="bool",this.children=[t]}and(t){return ro(this,t)}or(t){return io(this,t)}clone(){const t=new vn(Br(this.children[0]));return super.cloneInto(t),t}}vn.type="bool";let Sn=en=class extends Gr{constructor(t,e){super(),this.type="bvec2",this.children=[t,e].filter((t=>null!=t))}all(){return no(this)}any(){return oo(this)}clone(){const t=new en(Br(this.children[0]),Br(this.children[1]));return super.cloneInto(t),t}};Sn.type="bvec2",Sn=en=(0,P._)([cn],Sn);let In=sn=class extends Gr{constructor(t,e,s){super(),this.type="bvec3",this.children=[t,e,s].filter((t=>null!=t))}all(){return no(this)}any(){return oo(this)}clone(){const t=new sn(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]));return super.cloneInto(t),t}};function Mn(t,e){return"number"==typeof t?new e(t):t}In.type="bvec3",In=sn=(0,P._)([cn],In);let Pn=rn=class extends Gr{constructor(t,e,s,i){super(),this.type="bvec4",this.children=[t,e,s,i].filter((t=>null!=t))}all(){return no(this)}any(){return oo(this)}clone(){const t=new rn(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]));return super.cloneInto(t),t}};Pn.type="bvec4",Pn=rn=(0,P._)([cn],Pn);class Tn extends Gr{constructor(t){super(),this.type="int",this.children=[t]}multiply(t){return Hn(this,Mn(t,Tn))}add(t){return Qn(this,Mn(t,Tn))}subtract(t){return Kn(this,Mn(t,Tn))}divide(t){return Zn(this,Mn(t,Tn))}clone(){const t=new Tn(Br(this.children[0]));return super.cloneInto(t),t}}Tn.type="int";let An=nn=class extends Gr{constructor(t,e){super(),this.type="ivec2",this.children=[t,e].filter((t=>null!=t))}clone(){const t=new nn(Br(this.children[0]),Br(this.children[1]));return super.cloneInto(t),t}};An.type="ivec2",An=nn=(0,P._)([cn],An);let Cn=on=class extends Gr{constructor(t,e,s){super(),this.type="ivec3",this.children=[t,e,s].filter((t=>null!=t))}clone(){const t=new on(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]));return super.cloneInto(t),t}};Cn.type="ivec3",Cn=on=(0,P._)([cn],Cn);let kn=an=class extends Gr{constructor(t,e,s,i){super(),this.type="ivec4",this.children=[t,e,s,i].filter((t=>null!=t))}clone(){const t=new an(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]));return super.cloneInto(t),t}};kn.type="ivec4",kn=an=(0,P._)([cn],kn);class Fn extends Gr{constructor(t,e,s,i){super(),this.type="mat2",this.children=[t,e,s,i]}clone(){const t=new Fn(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]));return super.cloneInto(t),t}get(t,e){return Gn(this,new Tn(t),new Tn(e),pn)}multiply(t){return Hn(this,t)}}Fn.type="mat2";class En extends Gr{static identity(){return new En(1,0,0,0,1,0,0,0,1)}static fromRotation(t){const e=yo(t),s=ho(t);return new En(s,e,0,jn(e),s,0,0,0,1)}constructor(t,e,s,i,r,n,o,a,h){super(),this.type="mat3",this.children=[t,e,s,i,r,n,o,a,h]}add(t){return Qn(this,t)}multiply(t){return Hn(this,t)}get(t,e){return Gn(this,new Tn(t),new Tn(e),pn)}clone(){const t=new En(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]),Br(this.children[4]),Br(this.children[5]),Br(this.children[6]),Br(this.children[7]),Br(this.children[8]));return super.cloneInto(t),t}}En.type="mat3";class zn extends Gr{static identity(){return new zn(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}constructor(t,e,s,i,r,n,o,a,h,c,l,u,d,_,p,f){super(),this.type="mat4",this.children=[t,e,s,i,r,n,o,a,h,c,l,u,d,_,p,f]}static fromColumns(t,e,s,i){return new zn(t.x,t.y,t.z,t.w,e.x,e.y,e.z,e.w,s.x,s.y,s.z,s.w,i.x,i.y,i.z,i.w)}multiply(t){return Hn(this,t)}get(t,e){return Gn(this,new Tn(t),new Tn(e),pn)}clone(){const t=new zn(Br(this.children[0]),Br(this.children[1]),Br(this.children[2]),Br(this.children[3]),Br(this.children[4]),Br(this.children[5]),Br(this.children[6]),Br(this.children[7]),Br(this.children[8]),Br(this.children[9]),Br(this.children[10]),Br(this.children[11]),Br(this.children[12]),Br(this.children[13]),Br(this.children[14]),Br(this.children[15]));return super.cloneInto(t),t}}zn.type="mat4";const On={float:pn,vec2:fn,vec3:gn,vec4:mn,int:Tn,ivec2:An,ivec3:Cn,ivec4:kn,uint:yn,uvec2:xn,uvec3:bn,uvec4:wn,bool:vn,bvec2:Sn,bvec3:In,bvec4:Pn},Rn=(...t)=>new Tn(...t),Ln=(...t)=>new pn(...t),Dn=(...t)=>new fn(...t),Nn=(...t)=>new En(...t);function Bn(t,e,s){const i=new s(new Vr(e,t,s));return i.isImplicit=!0,i}function Gn(t,e,s,i){const r=new i(new qr(e,s,t,i));return r.isImplicit=!0,r}function Un(t,e,s,i=null){if(i){const r=new i,n=new i(new Yr(t,[e,s],!0,!1,r));return n.isImplicit=!0,n}if("float"===e.type||"int"===e.type){const i=new s.constructor(new Yr(t,[e,s],!0,!1,s.constructor));return i.isImplicit=!0,i}if(("mat2"===e.type||"mat3"===e.type||"mat4"===e.type)&&"float"!==s.type){const i=new s.constructor(new Yr(t,[e,s],!0,!1,s.constructor));return i.isImplicit=!0,i}const r=new e.constructor(new Yr(t,[e,s],!0,!1,e.constructor));return r.isImplicit=!0,r}function Vn(t,e,s=e.constructor){const i=new s(new Yr(t,[e],!1,!1,s));return i.isImplicit=!0,i}function qn(t,e,s,i=e.constructor){const r=new i(new Yr(t,[e,s],!1,!1,i));return r.isImplicit=!0,r}function Wn(t,e,s,i,r=e.constructor){const n=new r(new Yr(t,[e,s,i],!1,!1,r));return n.isImplicit=!0,n}function jn(t){return Hn(t,Ln(-1))}function Yn(t,e,s,i){return new e(new jr(t,e,s,i))}function Xn(t,e,s){const i="function"==typeof e?e():e,r="function"==typeof s?s():s,n=new i.constructor(new Wr(t,i,r));return n.isImplicit=!0,n}function $n(...t){const e=t.map((([t,e])=>"function"==typeof e?[t,e()]:[t,e])),s=e[0][1].constructor,i=e.findIndex((t=>!0===t[0]));if(-1===i)throw new Error("A cond must have a fallthrough case with `true`/; ");const r=e.slice(0,i),n=e[i][1],o=new s(r.reduceRight(((t,e)=>Xn(e[0],e[1],t)),n));return o.isImplicit=!0,o}function Hn(t,e){return Un("*",t,e)}function Zn(t,e){return Un("/",t,e)}function Qn(t,e){return Un("+",t,e)}function Kn(t,e){return Un("-",t,e)}function Jn(t,e){return Un("==",t,e,vn)}function to(t,e){return Un("<=",t,e,vn)}function eo(t,e){return Un(">",t,e,vn)}function so(t,e){return Un(">=",t,e,vn)}function io(...t){return t.length<=1?t[0]:t.slice(1).reduce(((t,e)=>function(t,e){return Un("||",t,e,vn)}(t,e)),t[0])}function ro(...t){return t.length<=1?t[0]:t.slice(1).reduce(((t,e)=>function(t,e){return Un("&&",t,e,vn)}(t,e)),t[0])}function no(t){return Vn("all",t,vn)}function oo(t){return Vn("any",t,vn)}function ao(t,e,s){return Wn("clamp",t,e,s,t.constructor)}function ho(t){return Vn("cos",t)}function co(t,e){return qn("dot",t,e,pn)}function lo(t){return Vn("fract",t)}function uo(t){return Vn("length",t,pn)}function _o(t,e){return qn("max",t,e)}function po(t,e){return qn("min",t,e)}function fo(t,e,s){return Wn("mix",t,e,s)}function go(t,e){return qn("mod",t,e)}function mo(t){return"bool"===t.type?Vn("!",t):Vn("not",t)}function yo(t){return Vn("sin",t)}function xo(t,e){return qn("step",t,e,e.constructor)}function bo(t,e){return qn("texture",t,e,mn)}function wo(t,e,s){const i=e.split("\n");for(const e of i)if(e.trim().length){{let e="";null!=s&&(e+=`/*id:${s??"000"}*/ `),t.body+=e.padEnd(14)}t.body+=" ".repeat(t.indent)+e+"\n"}}class vo{write(t){for(const e of t.rootOutputNodes())t.shouldPruneOutputNode(e)||(e.variableName=this._write(t,e.node));return t}_createVarName(t,e){let s="";return"boolean"!=typeof e&&"number"!=typeof e&&e.debugInfo.name&&(s=`${e.debugInfo.name}_`),`${s}v${t.varCount++}`}_write(t,e,s=!1){if("number"==typeof e)return e.toString();if("boolean"==typeof e)return e.toString();let i=t.getEmit(e);if(i)return i;switch(e.shaderType){case"scope-node":i=this._writeScopeNode(t,e);break;case"primitive-node":i=this._writePrimitiveNode(t,e,s);break;case"function-node":i=this._writeFunctionNode(t,e);break;case"property-access-node":i=this._writePropertyAccessNode(t,e);break;case"property-access-2d-node":i=this._writePropertyAccess2DNode(t,e);break;case"text-node":i=e.text;break;case"block-node":i=this._writeBlockNode(t,e);break;case"condition-node":i=this._writeConditionNode(t,e)}return t.setEmit(e,i),i}_writeScopeNode(t,e){const s=new e.child.constructor;s.setDebugName(e.debugInfo.name);const i=this._write(t,s,!0);return wo(t,`{ /*ScopeStart: ${e.uid} ${e.debugInfo.name}*/`),t.indent+=2,wo(t,`${i} = ${this._write(t,e.child)};`),t.indent-=2,wo(t,`} /*ScopeEnd: ${e.uid} ${e.debugInfo.name}*/`),i}_writeConditionNode(t,e){const s=new e.ifTrue.constructor,i=this._write(t,s,!0);wo(t,`if (${this._write(t,e.condition)}) {`),t.indent+=2;const r=t.createSubgraphContext(),n=this._write(r,e.ifTrue);if(t.body+=r.body,n&&wo(t,`${i} = ${n};`),t.indent-=2,wo(t,"}"),e.ifFalse){wo(t,"else {"),t.indent+=2;const s=t.createSubgraphContext(),r=this._write(s,e.ifFalse);t.body+=s.body,r&&wo(t,`${i} = ${r};`),t.indent-=2,wo(t,"}")}return i}_writeBlockNode(t,e){const{captureList:s,generator:i,returnType:r}=e,n={};for(const e in s){if(!s[e])continue;const i=this._write(t,s[e]);n[e]=i}const o=new r,a=this._write(t,o,!0);if(n.out=a,e.subgraph){const s=t.createSubgraphContext(),i=this._write(s,e.subgraph.child),r=s.body;n.subgraph={varName:i,body:r}}const h=i(n);return wo(t,"{\n"),t.indent+=2,wo(t,h),t.indent-=2,wo(t,"}\n"),a}_writePropertyAccessNode(t,e){const s=this._write(t,e.target);return"string"==typeof e.property&&e.property.includes("[")?`${s}${e.property}`:"string"!=typeof e.property?`${s}[${this._write(t,e.property)}]`:`${s}.${e.property}`}_writePropertyAccess2DNode(t,e){return`${this._write(t,e.target)}[${this._write(t,e.x)}][${this._write(t,e.y)}]`}_writeFunctionNode(t,e){const s=e.returnType.type;if(e.isInfix){const[i,r]=e.children.map((e=>this._write(t,e))),n=this._createVarName(t,e);return wo(t,`${s.padEnd(5)} ${n} = ${i} ${e.token} ${r};`,e.uid),n}const i=e.children.map((e=>this._write(t,e))).join(", "),r=this._createVarName(t,e);return wo(t,`${s.padEnd(5)} ${r} = ${e.token}(${i});`,e.uid),r}_writePrimitiveNode(t,e,s=!1){const i=t.getInput(e);if(i)return i.isUsed=!0,i.variableName;const r=1===e.children.length&&e.children[0]?.type===e.type;if(!e.isMutable&&(e.isImplicit||r))return this._write(t,e.children[0]);const n=this._createVarName(t,e);if(s)return wo(t,`${e.type.padEnd(5)} ${n};`,e.uid),n;const o=!e.debugInfo.name&&!e.isMutable;if(o&&"float"===e.type&&"number"==typeof e.children[0])return Number.isInteger(e.children[0])?e.children[0].toFixed(1):e.children[0].toString();if(o&&"int"===e.type&&"number"==typeof e.children[0]&&Number.isInteger(e.children[0]))return e.children[0].toString();const a=e.children.map((e=>this._write(t,e))).join(", ");return"array"===e.type?(wo(t,`${e.type.padEnd(5)} ${n} = [${a}];`,e.uid),n):o?`${e.type}(${a})`:(wo(t,`${e.type.padEnd(5)} ${n} = ${e.type}(${a});`,e.uid),n)}}class So{constructor(t,e,s){this.variableName=t,this.variableInputType=e,this.node=s,this.type="shader-input",this.isUsed=!1}clone(){return new So(this.variableName,this.variableInputType,Br(this.node))}}class Io{constructor(t,e,s){this.outVariableName=t,this.outVariableType=e,this.node=s,this.type="shader-output"}clone(){const t=new Io(this.outVariableName,this.outVariableType,Br(this.node));return t.variableName=this.variableName,t}}class Mo{static createVertex(t,e,s,i,r,n){const o=[];for(const e in t){const i=t[e],r=s.get(e);r?o.push(new So(r,"builtin",i)):o.push(new So("a_"+e,"in",i))}for(const t of i){const e=t.uniformHydrated;o.push(new So(t.uniformName,"uniform",e))}const a=[];for(const t in e){const s=e[t];"glPosition"===t?a.push(new Io("gl_Position","builtin",s)):"glPointSize"===t?a.push(new Io("gl_PointSize","builtin",s)):a.push(new Io("v_"+t,"out",s))}return new Mo(o,a,r,n)}static createFragment(t,e,s,i,r,n){const o=[],a=Array.from(r.rootOutputNodes());for(const e in t){const i=t[e],r=s.get(e);if(r){o.push(new So(r,"builtin",i));continue}const n=a.find((t=>t.node===i));n&&o.push(new So(n.outVariableName,"in",i))}for(const t of i){const e=t.uniformHydrated;o.push(new So(t.uniformName,"uniform",e))}const h=[];for(const t in e){const i=e[t],r=s.get(t);"discard"===t?h.push(new Io(null,"discard",i)):r?h.push(new Io(r,"builtin",i)):h.push(new Io(t,"out",i))}return new Mo(o,h,n)}constructor(t,e,s,i){this.type="shader-graph-context",this.indent=0,this.body="",this.varCount=0,this._inputShaderTypesByNodeUid=new Map,this._nodeEmitMap=new Map;for(const e of t)this._inputShaderTypesByNodeUid.set(e.node.uid,e);this._outputShaderTypes=e,this._transformFeedbackBindings=s,this._transformFeedbackNames=new Set(s.map((t=>"v_"+t.propertyKey))),this._usedInFragmentShader=i}shouldPruneOutputNode(t){return!!this._usedInFragmentShader&&"builtin"!==t.outVariableType&&!this._transformFeedbackNames.has(t.outVariableName)&&!this._usedInFragmentShader.has(t.node.uid)}setEmit(t,e){this._nodeEmitMap.set(t.uid,e)}getEmit(t){return this._nodeEmitMap.get(t.uid)}inputs(){return this._inputShaderTypesByNodeUid.values()}getInput(t){return this._inputShaderTypesByNodeUid.get(t.uid)}*rootOutputNodes(){for(const t of this._outputShaderTypes)yield t}*nodes(){const t=[];for(const e of this._outputShaderTypes.values())t.push(e.node);for(;t.length;){const e=t.pop();"number"!=typeof e&&"boolean"!=typeof e&&t.push(...e.children.filter(Boolean)),yield e}}*nodesOfTypeOrFunction(){for(const t of this.nodes())"number"!=typeof t&&"boolean"!=typeof t&&(yield t)}createSubgraphContext(){const t=this.clone();return t.body="",t.indent=this.indent+2,t._nodeEmitMap=new Map(this._nodeEmitMap),t}clone(){const t=new Mo([],this._outputShaderTypes,this._transformFeedbackBindings,this._usedInFragmentShader);return t._inputShaderTypesByNodeUid=this._inputShaderTypesByNodeUid,t.indent=this.indent,t.body=this.body,t.varCount=this.varCount,t._nodeEmitMap=this._nodeEmitMap,t}insertVertexShader(t){t.vertex.code.add(""),this._insertInputs(t,"vertex"),t.vertex.code.add(""),t.vertex.code.add("// OUTPUTS: "),t.vertex.code.add("// --------------------------------------------------------- ");for(const e of this.rootOutputNodes()){const s="builtin"===e.outVariableType;this.shouldPruneOutputNode(e)||(s?t.vertex.code.add(`// ${e.outVariableType.padEnd(7)} ${e.node.type.padEnd(9)} ${e.outVariableName};`):t.vertex.code.add(`${e.outVariableType.padEnd(10)} ${e.node.type.padEnd(9)} ${e.outVariableName};`))}t.vertex.code.add(""),t.vertex.code.add("void main() {"),t.vertex.code.add(" "+this.body.split("\n").join("\n "));for(const e of this.rootOutputNodes())this.shouldPruneOutputNode(e)||t.vertex.code.add(` ${e.outVariableName} = ${e.variableName};`);t.vertex.code.add("}")}insertFragmentShader(t){this._insertInputs(t,"fragment"),t.fragment.code.add(""),t.fragment.code.add("// OUTPUTS: "),t.fragment.code.add("// --------------------------------------------------------- ");for(const e of this.rootOutputNodes())"builtin"===e.outVariableType?t.fragment.code.add(`// ${e.outVariableType.padEnd(7)} ${e.node.type.padEnd(9)} ${e.outVariableName};`):t.fragment.code.add(`${e.outVariableType.padEnd(10)} ${e.node.type.padEnd(9)} ${e.outVariableName};`);t.fragment.code.add(""),t.fragment.code.add("void main() {"),t.fragment.code.add(" "+this.body.split("\n").join("\n "));for(const e of this.rootOutputNodes())"discard"===e.outVariableType?(t.fragment.code.add(" // TODO: Should ensure codegen for discard appears first in fragment shader"),t.fragment.code.add(` if (${e.variableName}) {`),t.fragment.code.add(" discard;"),t.fragment.code.add(" }"),t.fragment.code.add(" ")):t.fragment.code.add(` ${e.outVariableName} = ${e.variableName};`);t.fragment.code.add("}")}_insertInputs(t,e){t[e].code.add("// INPUTS: "),t[e].code.add("// --------------------------------------------------------- ");for(const s of this.inputs())s.isUsed&&"builtin"!==s.variableInputType&&("array"===s.node.type?t[e].code.add(`${s.variableInputType.padEnd(10)} ${s.node.elementType.type.padEnd(9)} ${s.variableName}[${s.node.size}];`):"array-2d"===s.node.type?t[e].code.add(`${s.variableInputType.padEnd(10)} ${s.node.elementType.type.padEnd(9)} ${s.variableName}[${s.node.size}]; // Emulated 2D Array. Not supported by ES3.0`):t[e].code.add(`${s.variableInputType.padEnd(10)} ${s.node.type.padEnd(9)} ${s.variableName};`))}}const Po=["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uint","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"],To=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"],Ao=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"],Co=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT","textureSize","texelFetch"];var ko=999,Fo=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"];function Eo(t){return function(t){var e=function(){var t,e,s,i=0,r=0,n=ko,o=[],a=[],h=1,c=0,l=0,u=!1,d=!1,_="";return function(t){return a=[],null!==t?f(t.replace?t.replace(/\r\n/g,"\n"):t):(o.length&&p(o.join("")),n=10,p("(eof)"),a)};function p(t){t.length&&a.push({type:Fo[n],data:t,position:l,line:h,column:c})}function f(e){var o;for(i=0,s=(_+=e).length;t=_[i],i<s;){switch(o=i,n){case 0:i=x();break;case 1:case 2:i=y();break;case 3:i=b();break;case 4:i=S();break;case 11:i=v();break;case 5:i=I();break;case 9999:i=M();break;case 9:i=m();break;case ko:i=g()}o!==i&&("\n"===_[o]?(c=0,++h):++c)}return r+=i,_=_.slice(i),a}function g(){return o=o.length?[]:o,"/"===e&&"*"===t?(l=r+i-1,n=0,e=t,i+1):"/"===e&&"/"===t?(l=r+i-1,n=1,e=t,i+1):"#"===t?(n=2,l=r+i,i):/\s/.test(t)?(n=9,l=r+i,i):(u=/\d/.test(t),d=/[^\w_]/.test(t),l=r+i,n=u?4:d?3:9999,i)}function m(){return/[^\s]/g.test(t)?(p(o.join("")),n=ko,i):(o.push(t),e=t,i+1)}function y(){return"\r"!==t&&"\n"!==t||"\\"===e?(o.push(t),e=t,i+1):(p(o.join("")),n=ko,i)}function x(){return"/"===t&&"*"===e?(o.push(t),p(o.join("")),n=ko,i+1):(o.push(t),e=t,i+1)}function b(){if("."===e&&/\d/.test(t))return n=5,i;if("/"===e&&"*"===t)return n=0,i;if("/"===e&&"/"===t)return n=1,i;if("."===t&&o.length){for(;w(o););return n=5,i}if(";"===t||")"===t||"("===t){if(o.length)for(;w(o););return p(t),n=ko,i+1}var s=2===o.length&&"="!==t;if(/[\w_\d\s]/.test(t)||s){for(;w(o););return n=ko,i}return o.push(t),e=t,i+1}function w(t){for(var e,s,i=0;;){if(e=Ao.indexOf(t.slice(0,t.length+i).join("")),s=Ao[e],-1===e){if(i--+t.length>0)continue;s=t.slice(0,1).join("")}return p(s),l+=s.length,(o=o.slice(s.length)).length}}function v(){return/[^a-fA-F0-9]/.test(t)?(p(o.join("")),n=ko,i):(o.push(t),e=t,i+1)}function S(){return"."===t||/[eE]/.test(t)?(o.push(t),n=5,e=t,i+1):"x"===t&&1===o.length&&"0"===o[0]?(n=11,o.push(t),e=t,i+1):/[^\d]/.test(t)?(p(o.join("")),n=ko,i):(o.push(t),e=t,i+1)}function I(){return"f"===t&&(o.push(t),e=t,i+=1),/[eE]/.test(t)||"-"===t&&/[eE]/.test(e)?(o.push(t),e=t,i+1):/[^\d]/.test(t)?(p(o.join("")),n=ko,i):(o.push(t),e=t,i+1)}function M(){if(/[^\d\w_]/.test(t)){var s=o.join("");return n=To.indexOf(s)>-1?8:Co.indexOf(s)>-1?7:6,p(o.join("")),n=ko,i}return o.push(t),e=t,i+1}}(),s=[];return(s=s.concat(e(t))).concat(e(null))}(t)}const zo=new Set(["GL_OES_standard_derivatives","GL_EXT_frag_depth","GL_EXT_draw_buffers","GL_EXT_shader_texture_lod"]);function Oo(t,e){for(let s=e-1;s>=0;s--){const e=t[s];if("whitespace"!==e.type&&"block-comment"!==e.type){if("keyword"!==e.type)break;if("attribute"===e.data||"in"===e.data)return!0}}return!1}function Ro(t,e,s,i){i=i||s;for(const r of t)if("ident"===r.type&&r.data===s)return i in e?e[i]++:e[i]=0,Ro(t,e,i+"_"+e[i],i);return s}function Lo(t,e,s="afterVersion"){function i(t,e){for(let s=e;s<t.length;s++){const e=t[s];if("operator"===e.type&&";"===e.data)return s}return null}const r={data:"\n",type:"whitespace"},n=e=>e<t.length&&/[^\r\n]$/.test(t[e].data);let o=function(t){let e=-1,r=0,n=-1;for(let o=0;o<t.length;o++){const a=t[o];if("preprocessor"===a.type&&(/#(if|ifdef|ifndef)\s+.+/.test(a.data)?++r:/#endif\s*.*/.test(a.data)&&--r),"afterVersion"!==s&&"afterPrecision"!==s||"preprocessor"===a.type&&a.data.startsWith("#version")&&(n=Math.max(n,o)),"afterPrecision"===s&&"keyword"===a.type&&"precision"===a.data){const e=i(t,o);if(null===e)throw new Error("precision statement not followed by any semicolons!");n=Math.max(n,e)}e<n&&0===r&&(e=o)}return e+1}(t);n(o-1)&&t.splice(o++,0,r);for(const s of e)t.splice(o++,0,s);n(o-1)&&n(o)&&t.splice(o,0,r)}function Do(t,e,s,i="lowp"){Lo(t,[{type:"keyword",data:"out"},{type:"whitespace",data:" "},{type:"keyword",data:i},{type:"whitespace",data:" "},{type:"keyword",data:s},{type:"whitespace",data:" "},{type:"ident",data:e},{type:"operator",data:";"}],"afterPrecision")}function No(t,e,s,i,r="lowp"){Lo(t,[{type:"keyword",data:"layout"},{type:"operator",data:"("},{type:"keyword",data:"location"},{type:"whitespace",data:" "},{type:"operator",data:"="},{type:"whitespace",data:" "},{type:"integer",data:i.toString()},{type:"operator",data:")"},{type:"whitespace",data:" "},{type:"keyword",data:"out"},{type:"whitespace",data:" "},{type:"keyword",data:r},{type:"whitespace",data:" "},{type:"keyword",data:s},{type:"whitespace",data:" "},{type:"ident",data:e},{type:"operator",data:";"}],"afterPrecision")}function Bo(t,e){let s,i,r=-1;for(let n=e;n<t.length;n++){const e=t[n];if("operator"===e.type&&("["===e.data&&(s=n),"]"===e.data)){i=n;break}"integer"===e.type&&(r=parseInt(e.data,10))}return s&&i&&t.splice(s,i-s+1),r}function Go(t,e){if(t.startsWith("#version 300"))return t;const s=Eo(t);if("300 es"===function(t,e="100",s="300 es"){const i=/^\s*#version\s+([0-9]+(\s+[a-zA-Z]+)?)\s*/;for(const r of t)if("preprocessor"===r.type){const t=i.exec(r.data);if(t){const i=t[1].replaceAll(/\s{2,}/g," ");if(i===s)return i;if(i===e)return r.data="#version "+s,e;throw new Error("unknown glsl version: "+i)}}return t.splice(0,0,{type:"preprocessor",data:"#version "+s},{type:"whitespace",data:"\n"}),null}(s,"100","300 es"))return t;let i=null,r=null;const n={},o={};for(let t=0;t<s.length;++t){const a=s[t];switch(a.type){case"keyword":e===dt.Co.VERTEX_SHADER&&"attribute"===a.data?a.data="in":"varying"===a.data&&(a.data=e===dt.Co.VERTEX_SHADER?"out":"in");break;case"builtin":if(/^texture(2D|Cube)(Proj)?(Lod|Grad)?(EXT)?$/.test(a.data.trim())&&(a.data=a.data.replaceAll(/(2D|Cube|EXT)/g,"")),e===dt.Co.FRAGMENT_SHADER&&"gl_FragColor"===a.data&&(i||(i=Ro(s,n,"fragColor"),Do(s,i,"vec4")),a.data=i),e===dt.Co.FRAGMENT_SHADER&&"gl_FragData"===a.data){const e=Bo(s,t+1),i=Ro(s,n,"fragData");No(s,i,"vec4",e,"mediump"),a.data=i}else e===dt.Co.FRAGMENT_SHADER&&"gl_FragDepthEXT"===a.data&&(r||(r=Ro(s,n,"gl_FragDepth")),a.data=r);break;case"ident":if(Po.includes(a.data)){if(e===dt.Co.VERTEX_SHADER&&Oo(s,t))throw new Error("attribute in vertex shader uses a name that is a reserved word in glsl 300 es");a.data in o||(o[a.data]=Ro(s,n,a.data)),a.data=o[a.data]}}}for(let t=s.length-1;t>=0;--t){const e=s[t];if("preprocessor"===e.type){const i=e.data.match(/#extension\s+(.*):/);if(i?.[1]&&zo.has(i[1].trim())){const e=s[t+1];s.splice(t,e&&"whitespace"===e.type?2:1)}const r=e.data.match(/#ifdef\s+(.*)/);r?.[1]&&zo.has(r[1].trim())&&(e.data="#if 1");const n=e.data.match(/#ifndef\s+(.*)/);n?.[1]&&zo.has(n[1].trim())&&(e.data="#if 0")}}return function(t,e){return e}(0,function(t){return t.map((t=>"eof"!==t.type?t.data:"")).join("")}(s))}new Map;class Uo{constructor(t,e,s,i,r=new Map,n=[]){this._context=t,this._locations=i,this._uniformBlockBindings=r,this._transformFeedbackVaryings=n,this._refCount=1,this._compiled=!1,this._linesOfCode=0,this._nameToUniformLocation=new Map,this._nameToUniform1=new Map,this._nameToUniform1v=new Map,this._nameToUniform2=new Map,this._nameToUniform3=new Map,this._nameToUniform4=new Map,this._nameToUniformMatrix3=new Map,this._nameToUniformMatrix4=new Map,t||console.error("RenderingContext isn't initialized!"),0===e.length&&console.error("Shaders source should not be empty!"),e=Go(e,dt.Co.VERTEX_SHADER),s=Go(s,dt.Co.FRAGMENT_SHADER),this._vShader=Vo(this._context,dt.Co.VERTEX_SHADER,e),this._fShader=Vo(this._context,dt.Co.FRAGMENT_SHADER,s),Wo.enabled&&(this._linesOfCode=e.match(/\n/g).length+s.match(/\n/g).length+2,this._context.instanceCounter.increment(dt.vt.LinesOfCode,this._vShader,this._linesOfCode)),this._vShader&&this._fShader||console.error("Error loading shaders!"),this._context.instanceCounter.increment(dt.vt.Shader,this),(0,ut.Xc)()&&(this.vertexShader=e,this.fragmentShader=s),this.usedMemory=e.length+s.length;const o=this._context.gl,a=o.createProgram();o.attachShader(a,this._vShader),o.attachShader(a,this._fShader),this._locations.forEach(((t,e)=>o.bindAttribLocation(a,t,e))),this._transformFeedbackVaryings?.length&&o.transformFeedbackVaryings(a,this._transformFeedbackVaryings,o.SEPARATE_ATTRIBS),o.linkProgram(a),(0,ut.Xc)()&&!o.getProgramParameter(a,o.LINK_STATUS)&&console.error(`Could not link shader\nvalidated: ${o.getProgramParameter(a,o.VALIDATE_STATUS)}, gl error ${o.getError()}, vertex: ${o.getShaderParameter(this._vShader,o.COMPILE_STATUS)}, fragment: ${o.getShaderParameter(this._fShader,o.COMPILE_STATUS)}, info log: ${o.getProgramInfoLog(a)}, vertex source: ${this.vertexShader}, fragment source: ${this.fragmentShader}`);for(const[t,e]of this._uniformBlockBindings){const s=o.getUniformBlockIndex(a,t);s<4294967295&&o.uniformBlockBinding(a,s,e)}this._glName=a,this._context.instanceCounter.increment(dt.vt.Program,this)}get glName(){return this._glName}get hasGLName(){return null!=this._glName}get hasTransformFeedbackVaryings(){return!!this._transformFeedbackVaryings?.length}get compiled(){if(this._compiled)return!0;const t=this._context.gl.getExtension("KHR_parallel_shader_compile");return null==t||null==this.glName?(this._compiled=!0,!0):(this._compiled=!!this._context.gl.getProgramParameter(this.glName,t.COMPLETION_STATUS_KHR),this._compiled)}dispose(){if(--this._refCount>0)return;const t=this._context.gl,e=this._context.instanceCounter;this._nameToUniformLocation.forEach((t=>t&&e.decrement(dt.vt.Uniform,t))),this._nameToUniformLocation.clear(),this._vShader&&(this._linesOfCode>0&&(e.decrement(dt.vt.LinesOfCode,this._vShader,this._linesOfCode),this._linesOfCode=0),t.deleteShader(this._vShader),this._vShader=null,e.decrement(dt.vt.Shader,this)),this._fShader&&(t.deleteShader(this._fShader),this._fShader=null),this._glName&&(t.deleteProgram(this._glName),this._glName=null,e.decrement(dt.vt.Program,this))}ref(){++this._refCount}_getUniformLocation(t){const e=this._nameToUniformLocation.get(t);if(void 0!==e)return e;if(this.glName){const e=this._context.gl.getUniformLocation(this.glName,t);return this._nameToUniformLocation.set(t,e),e&&this._context.instanceCounter.increment(dt.vt.Uniform,e),e}return null}hasUniform(t){return null!=this._getUniformLocation(t)}setUniform1i(t,e){const s=this._nameToUniform1.get(t);void 0!==s&&e===s||(this._context.gl.uniform1i(this._getUniformLocation(t),e),this._nameToUniform1.set(t,e))}setUniform1iv(t,e){qo(this._nameToUniform1v,t,e)&&this._context.gl.uniform1iv(this._getUniformLocation(t),e)}setUniform2iv(t,e){qo(this._nameToUniform2,t,e)&&this._context.gl.uniform2iv(this._getUniformLocation(t),e)}setUniform3iv(t,e){qo(this._nameToUniform3,t,e)&&this._context.gl.uniform3iv(this._getUniformLocation(t),e)}setUniform4iv(t,e){qo(this._nameToUniform4,t,e)&&this._context.gl.uniform4iv(this._getUniformLocation(t),e)}setUniform1f(t,e){const s=this._nameToUniform1.get(t);void 0!==s&&e===s||(this._context.gl.uniform1f(this._getUniformLocation(t),e),this._nameToUniform1.set(t,e))}setUniform1fv(t,e){qo(this._nameToUniform1v,t,e)&&this._context.gl.uniform1fv(this._getUniformLocation(t),e)}setUniform2f(t,e,s){const i=this._nameToUniform2.get(t);void 0===i?(this._context.gl.uniform2f(this._getUniformLocation(t),e,s),this._nameToUniform2.set(t,[e,s])):e===i[0]&&s===i[1]||(this._context.gl.uniform2f(this._getUniformLocation(t),e,s),i[0]=e,i[1]=s)}setUniform2fv(t,e){qo(this._nameToUniform2,t,e)&&this._context.gl.uniform2fv(this._getUniformLocation(t),e)}setUniform3f(t,e,s,i){const r=this._nameToUniform3.get(t);void 0===r?(this._context.gl.uniform3f(this._getUniformLocation(t),e,s,i),this._nameToUniform3.set(t,[e,s,i])):e===r[0]&&s===r[1]&&i===r[2]||(this._context.gl.uniform3f(this._getUniformLocation(t),e,s,i),r[0]=e,r[1]=s,r[2]=i)}setUniform3fv(t,e){const s=this._getUniformLocation(t);null!=s&&qo(this._nameToUniform3,t,e)&&this._context.gl.uniform3fv(s,e)}setUniform4f(t,e,s,i,r){const n=this._nameToUniform4.get(t);void 0===n?(this._context.gl.uniform4f(this._getUniformLocation(t),e,s,i,r),this._nameToUniform4.set(t,[e,s,i,r])):void 0!==n&&e===n[0]&&s===n[1]&&i===n[2]&&r===n[3]||(this._context.gl.uniform4f(this._getUniformLocation(t),e,s,i,r),n[0]=e,n[1]=s,n[2]=i,n[3]=r)}setUniform4fv(t,e){const s=this._getUniformLocation(t);null!=s&&qo(this._nameToUniform4,t,e)&&this._context.gl.uniform4fv(s,e)}setUniformMatrix3fv(t,e,s=!1){const i=this._getUniformLocation(t);null!=i&&qo(this._nameToUniformMatrix3,t,e)&&this._context.gl.uniformMatrix3fv(i,s,e)}setUniformMatrix4fv(t,e,s=!1){const i=this._getUniformLocation(t);null!=i&&qo(this._nameToUniformMatrix4,t,e)&&this._context.gl.uniformMatrix4fv(i,s,e)}stop(){}}function Vo(t,e,s){const i=t.gl,r=i.createShader(e);return i.shaderSource(r,s),i.compileShader(r),(0,ut.Xc)()&&!i.getShaderParameter(r,i.COMPILE_STATUS)&&(console.error("Compile error in ".concat(e===dt.Co.VERTEX_SHADER?"vertex":"fragment"," shader")),console.error(i.getShaderInfoLog(r)),console.error(function(t){let e=2;return t.replaceAll("\n",(()=>"\n"+function(t){return t>=1e3?t.toString():(" "+t).slice(-3)}(e++)+":"))}(s))),r}function qo(t,e,s){const i=t.get(e);if(!i)return t.set(e,Array.from(s)),!0;const r=s.length;if(i.length!==r)return t.set(e,Array.from(s)),!0;for(let t=0;t<r;++t){const e=s[t];if(i[t]!==e){for(i[t]=e;t<r;++t)i[t]=s[t];return!0}}return!1}const Wo={enabled:!1};function jo(t,e,s){const r=e.length;if(r!==s){const n=new i.A("Invalid Uniform",`Invalid length, expected ${s} but got ${r}`,{uniformName:t,values:e});E.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.typed.TypedShaderProgram").errorOnce(n)}}class Yo{constructor(t,e,s,i,r,n){this._program=null,this._vao=null,this._temporaryTextures=[],this.vertexShader=t,this.fragmentShader=e,this._locations=s,this._locationInfo=i,this._uniformBindings=r,this._transformFeedbackBindings=n}destroy(){this._program&&this._program.dispose(),this.cleanupTemporaryTextures()}get locations(){return this._locations}get locationInfo(){return this._locationInfo}setUniforms(t){this._uniforms=t}cleanupTemporaryTextures(){for(const t of this._temporaryTextures)t.dispose();this._temporaryTextures=[]}bind(t){const e=this._uniforms;if(!this._program){const e=new Map;for(const[t,s]of this._locations)e.set(t,s);const s=[];for(const t of this._transformFeedbackBindings??[]){const{index:e,propertyKey:i}=t;s[e]=`v_${i}`}this._program=new Uo(t,this.vertexShader,this.fragmentShader,e,new Map,s)}const s=this._program;t.useProgram(s);for(const i of this._uniformBindings){const{shaderModulePath:r,uniformName:n,uniformType:o,uniformArrayLength:a}=i,h=(0,U.wc)(r,e);if(null==h){if("sampler2D"===o)continue;throw new Error(`Failed to find uniform value for ${r}`)}switch("array"===o||"array-2d"===o?i.uniformArrayElementType:o){case"sampler2D":{const{unit:e,texture:i}=h;if(s.setUniform1i(n,e),"type"in i)t.bindTexture(i,e);else{const s=St(t,i.descriptor,i.data);t.bindTexture(s,e)}break}case"int":if(!a){s.setUniform1i(n,h);break}jo(i.uniformName,h,a),s.setUniform1iv(n,h);break;case"float":if(!a){s.setUniform1f(n,h);break}jo(i.uniformName,h,a),s.setUniform1fv(n,h);break;case"vec2":if(!a){s.setUniform2f(n,h[0],h[1]);break}jo(i.uniformName,h,a),s.setUniform2fv(n,h.flat());break;case"vec3":if(!a){s.setUniform3f(n,h[0],h[1],h[2]);break}jo(i.uniformName,h,a),s.setUniform3fv(n,h.flat());break;case"vec4":if(!a){s.setUniform4f(n,h[0],h[1],h[2],h[3]);break}jo(i.uniformName,h,a),s.setUniform4fv(n,h.flat());break;case"mat3":s.setUniformMatrix3fv(n,h);break;case"mat4":s.setUniformMatrix4fv(n,h);break;default:throw new Error(`Unable to set uniform for type ${o}`)}}}}function Xo(t){return new t}function $o(t,e,s){const i=t.constructor[e]??[];t.constructor.hasOwnProperty(e)||Object.defineProperty(t.constructor,e,{value:i.slice()}),t.constructor[e].push(s)}function Ho(t,e){return(s,i)=>{$o(s,"locations",{typeCtor:e,propertyKey:i,parameterIndex:null,index:t})}}const Zo=t=>(e,s,i)=>{$o(e,"inputs",{inputCtor:t,propertyKey:s,parameterIndex:i})},Qo=t=>(e,s)=>{$o(e,"uniforms",{typeCtor:t,propertyKey:s})},Ko=t=>(e,s)=>{$o(e,"options",{typeCtor:t,propertyKey:s})},Jo=(t,e)=>{$o(t,"defines",{propertyKey:e})},ta=(t,e)=>(s,i)=>{s.constructor.builtins.push({builtin:t,propertyKey:i,typeCtor:e})};class ea{}ea.builtins=[],(0,P._)([ta("gl_VertexID",Tn)],ea.prototype,"glVertexID",void 0);class sa{}class ia{}ia.builtins=[],(0,P._)([ta("gl_FragCoord",mn)],ia.prototype,"glFragCoord",void 0),(0,P._)([ta("gl_PointCoord",fn)],ia.prototype,"glPointCoord",void 0);class ra{}class na{constructor(){this.type="uniform-group"}get _uniforms(){return this.constructor.uniforms??[]}}class oa{constructor(){this.logShader=!1,this.computeAttributes={}}get vertexInput(){const t=this._shaderModuleClass.inputs.findLast((t=>"vertex"===t.propertyKey&&0===t.parameterIndex));if(!t)throw new Error("Unable to find vertex input parameter");return t}get computeInput(){return this._shaderModuleClass.inputs.findLast((t=>"vertex"===t.propertyKey&&1===t.parameterIndex))}get fragmentInput(){const t=this._shaderModuleClass.inputs.findLast((t=>"fragment"===t.propertyKey));if(!t)throw new Error("Unable to find fragment input parameter");return t}get transformFeedbackBindings(){return this.fragmentInput.inputCtor.transformFeedbackBindings??[]}get locations(){return[...this.vertexInput.inputCtor.locations,...this.computeInput?.inputCtor.locations??[]]}get locationsMap(){const t=new Map,e=new Set;for(const s of this.locations)e.has(s.index)?E.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.GraphShaderModule").warnOnce("mapview-rendering",`Unable to assigned attribute ${s.propertyKey} to ${s.index}. Index already in use`,{locationsMap:t}):(t.set(s.propertyKey,s.index),e.add(s.index));return t}get locationInfo(){if(!this._locationInfo){const t=this.locationsMap,e=Array.from(t.entries()).map((([t,e])=>`${t}.${e}`)).join("."),s=(0,lt.Wm)(e),i=this.computeAttributes;this._locationInfo={hash:s,locations:t,computeAttributeMap:i}}return this._locationInfo}get renamedLocationsMap(){const t=new Map;for(const e of this.locations)t.set("a_"+e.propertyKey,e.index);return t}get optionPropertyKeys(){if(!this._optionPropertyKeys){const t=new Set;for(const e of this._options)t.add(e.propertyKey);this._optionPropertyKeys=t}return this._optionPropertyKeys}get _shaderModuleClass(){return this.constructor}get _defines(){return this._shaderModuleClass.defines??[]}get _options(){return this._shaderModuleClass.options??[]}get _uniforms(){return this._shaderModuleClass.uniforms??[]}getProgram(t,e,s,i){try{const{vertex:r,fragment:n,uniformBindings:o}=this._generateShaders(t,e,s,i);return new Yo(r,n,this.renamedLocationsMap,this.locationInfo,o,this.transformFeedbackBindings)}catch(t){return new Yo("","",this.renamedLocationsMap,this.locationInfo,[],this.transformFeedbackBindings)}}getDebugUniformClassInfo(t){const e=this._options.find((e=>e.propertyKey===t));if(e)return{type:"option",className:e.typeCtor};const s=this._uniforms.find((e=>e.propertyKey===t));if(!s)throw new Error(`Unable to find uniform class type for property: ${t}`);return{type:"required",className:s.typeCtor}}getShaderKey(t,e,s,i){const r=Object.keys(t).map((e=>`${e}.${t[e]}`)).join("."),n=Object.keys(s).map((t=>`${t}.${s[t]}`)).join("."),o=Object.keys(i).map((t=>`${t}.${i[t]}`)).join("."),a=Object.keys(e).filter((t=>this.optionPropertyKeys.has(t)&&e[t])).join(".");return`${this.constructor.name}.${r}.${n}.${o}.${a}`}_generateShaders(t,e,s,i){const r=[];this._setDefines(s),this._setOptionalUniforms(r,e),this._setRequiredUniforms(r);const n=this._hydrateVertexInput(i),o=this._injectPackPrecisionFactor(n,t),a=this._hydrateComputeInput(),h=a&&this._injectComputePackPrecisionFactor(a,t),c=this.vertex(o,h),l=this._hydrateFragmentInput(c),u=this.fragment(l),d=new Set;for(const t in u)Dr(d,u[t]);const _=this._getVertexInputBuiltins(),p=Mo.createVertex({...n,...a},c,_,r,this.transformFeedbackBindings,d);(new vo).write(p);const f=this._getFragmentInputBuiltins(u);f.set("glPointCoord","gl_PointCoord");const g=Mo.createFragment(l,u,f,r,p,this.transformFeedbackBindings);(new vo).write(g);const m=this._createShaderBuilder(p,g),y=m.generate("vertex",!0),x=m.generate("fragment",!0);return this.logShader&&(console.log(y),console.log(x)),{vertex:y,fragment:x,uniformBindings:r}}_setDefines(t){for(const e in t)this[e]=t[e]}_setOptionalUniforms(t,e){for(const s of this._options)e[s.propertyKey]?this[s.propertyKey]=this._hydrateUniformGroup(t,s):this[s.propertyKey]=null}_setRequiredUniforms(t){for(const e of this._uniforms)this[e.propertyKey]=this._hydrateUniformGroup(t,e)}_hydrateUniformGroup(t,e){const s=new(0,e.typeCtor);for(const i of s._uniforms??[]){const r=Xo(i.typeCtor),n=`u_${e.propertyKey}_${i.propertyKey}`,o=r.type,a=[e.propertyKey,i.propertyKey].join(".");if("type"in i.typeCtor&&"array"===i.typeCtor.type){const e=r;t.push({shaderModulePath:a,uniformName:n,uniformType:o,uniformArrayLength:e.size,uniformArrayElementType:e.elementType.type,uniformHydrated:r})}else if("type"in i.typeCtor&&"array-2d"===i.typeCtor.type){const e=r;t.push({shaderModulePath:a,uniformName:n,uniformType:o,uniformArrayLength:e.size,uniformArrayElementType:e.elementType.type,uniformHydrated:r})}else t.push({shaderModulePath:a,uniformName:n,uniformType:o,uniformHydrated:r});s[i.propertyKey]=r}return s}_hydrateVertexInput(t){const e=this.vertexInput.inputCtor,s=e.locations.reduce(((e,s)=>!1===t[s.propertyKey]?e:{...e,[s.propertyKey]:Xo(s.typeCtor)}),{});for(const{propertyKey:t,typeCtor:i}of e.builtins){const e=Xo(i);s[t]=e}return s}_hydrateComputeInput(){return null==this.computeInput?null:this.computeInput.inputCtor.locations.reduce(((t,e)=>({...t,[e.propertyKey]:Xo(e.typeCtor)})),{})}_injectPackPrecisionFactor(t,e){const s={};for(const i in t){const r=t[i],n=e[i];if(n){if("float"!==r.type&&"vec2"!==r.type&&"vec3"!==r.type&&"vec4"!==r.type)throw new Error(`InternalError: packPrecisionFactor requires GenType, but found ${r.type}`);s[i]=r.divide(new pn(n))}else s[i]=r}return s}_injectComputePackPrecisionFactor(t,e){const s={},i=new Map;for(const t in this.computeAttributes)for(const e of this.computeAttributes[t]??[])i.set(e,t);for(const r in t){const n=t[r],o=i.get(r);if(!o)continue;const a=e[o];if(a){if("float"!==n.type&&"vec2"!==n.type&&"vec3"!==n.type&&"vec4"!==n.type)throw new Error(`InternalError: packPrecisionFactor requires GenType, but found ${n.type}`);s[r]=n.divide(new pn(a))}else s[r]=n}return s}_hydrateFragmentInput(t){const e={};for(const s in t)e[s]=t[s];for(const{propertyKey:t,typeCtor:s}of ia.builtins){const i=Xo(s);e[t]=i}return e}_getVertexInputBuiltins(){const t=this.vertexInput.inputCtor,e=new Map;for(const{builtin:s,propertyKey:i}of t.builtins)e.set(i,s);return e}_getFragmentInputBuiltins(t){const e=t.constructor,s=new Map;for(const t of e.builtins??[])s.set(t.propertyKey,t.builtin);return s}_createShaderBuilder(t,e){const s=new Ar;return this._insertDebugInfo(s),t.insertVertexShader(s),e.insertFragmentShader(s),s}_insertDebugInfo(t){t.vertex.code.add("// DEFINES: "),t.vertex.code.add("// --------------------------------------------------------- ");for(const e of this._defines)this[e.propertyKey]?t.vertex.code.add(`// ${e.propertyKey}: true`):t.vertex.code.add(`// ${e.propertyKey}: false`);t.vertex.code.add(""),t.vertex.code.add("// OPTIONS: "),t.vertex.code.add("// --------------------------------------------------------- ");for(const e of this._options)this[e.propertyKey]?t.vertex.code.add(`// ${e.propertyKey}: true`):t.vertex.code.add(`// ${e.propertyKey}: false`)}}function aa(t){const e=Ln(12.9898),s=Ln(78.233),i=Ln(43758.5453);return lo(yo(go(co(t,Dn(e,s)),Ln(3.14))).multiply(i))}function ha(t){return Jn(t,Ln(1e-30))}function ca(t,e){const s=Ln(2**e);return go(function(t){return Vn("floor",t)}(t.divide(s)),Ln(2))}function la(t,e){return ca(t,e+B.U5)}class ua extends na{getVisualVariableData(t){if(!this._vvData){const e=this.getAttributeDataCoords(t);this._vvData=bo(this.visualVariableData,e).setDebugName("storage2")}return this._vvData}getAttributeDataCoords(t){if(!this._uv){const e=function(t){const e=ca(t.z,7),s=Ln(1).subtract(e),i=t.xyz.subtract(((...t)=>new gn(...t))(0,0,Ln(128)));return s.multiply(t).add(e.multiply(i))}(t),s=this.size,i=Rn(e.x),r=Rn(e.y).multiply(Rn(256)),n=Rn(e.z).multiply(Rn(256)).multiply(Rn(256)),o=Ln(i.add(r).add(n)),a=go(o,s),h=o.subtract(a).divide(s);this._uv=new fn(a,h).add(.5).divide(s)}return this._uv}getFilterData(t){const e=this.getAttributeDataCoords(t);return bo(this.filterFlags,e).setDebugName("storage0")}getAnimationData(t){const e=this.getAttributeDataCoords(t);return bo(this.animation,e).setDebugName("storage1")}getVVData(t){return this.getVisualVariableData(t)}getDataDrivenData0(t){const e=this.getAttributeDataCoords(t);return bo(this.dataDriven0,e).setDebugName("storage30")}getDataDrivenData1(t){const e=this.getAttributeDataCoords(t);return bo(this.dataDriven1,e).setDebugName("storage31")}getDataDrivenData2(t){const e=this.getAttributeDataCoords(t);return bo(this.dataDriven2,e).setDebugName("storage32")}getGPGPUData(t){const e=this.getAttributeDataCoords(t);return bo(this.gpgpu,e).setDebugName("storage4")}getLocalTimeOrigin(t){const e=this.getAttributeDataCoords(t);return bo(this.localTimeOrigin,e).x.setDebugName("storage5")}getFilterFlags(t){return(0,n.A)("webgl-ignores-sampler-precision")?function(t){return Vn("ceil",t)}(this.getFilterData(t).x.multiply(Ln(255))):this.getFilterData(t).x.multiply(Ln(255))}getLabelVisibility(t){const e=this.getFilterData(t).y.multiply(255);return new pn(1).subtract(e)}getAnimationValue(t){return this.getAnimationData(t).x}getSizeValue(t){return this.getVisualVariableData(t).x}getColorValue(t){return this.getVisualVariableData(t).y}getOpacityValue(t){return this.getVisualVariableData(t).z}getRotationValue(t){return this.getVisualVariableData(t).w}}(0,P._)([Qo(_n)],ua.prototype,"filterFlags",void 0),(0,P._)([Qo(_n)],ua.prototype,"animation",void 0),(0,P._)([Qo(_n)],ua.prototype,"gpgpu",void 0),(0,P._)([Qo(_n)],ua.prototype,"localTimeOrigin",void 0),(0,P._)([Qo(_n)],ua.prototype,"visualVariableData",void 0),(0,P._)([Qo(_n)],ua.prototype,"dataDriven0",void 0),(0,P._)([Qo(_n)],ua.prototype,"dataDriven1",void 0),(0,P._)([Qo(_n)],ua.prototype,"dataDriven2",void 0),(0,P._)([Qo(pn)],ua.prototype,"size",void 0);class da extends na{}(0,P._)([Qo(pn)],da.prototype,"activeReasons",void 0),(0,P._)([Qo(pn)],da.prototype,"highlightAll",void 0);class _a extends na{}(0,P._)([Qo(fn)],_a.prototype,"position",void 0),(0,P._)([Qo(pn)],_a.prototype,"distance",void 0),(0,P._)([Qo(pn)],_a.prototype,"smallSymbolDistance",void 0),(0,P._)([Qo(pn)],_a.prototype,"smallSymbolSizeThreshold",void 0);class pa extends na{}(0,P._)([Qo(En)],pa.prototype,"displayViewScreenMat3",void 0),(0,P._)([Qo(En)],pa.prototype,"displayViewMat3",void 0),(0,P._)([Qo(En)],pa.prototype,"displayMat3",void 0),(0,P._)([Qo(En)],pa.prototype,"viewMat3",void 0),(0,P._)([Qo(En)],pa.prototype,"tileMat3",void 0),(0,P._)([Qo(pn)],pa.prototype,"displayZoomFactor",void 0),(0,P._)([Qo(pn)],pa.prototype,"requiredZoomFactor",void 0),(0,P._)([Qo(fn)],pa.prototype,"tileOffset",void 0),(0,P._)([Qo(pn)],pa.prototype,"currentScale",void 0),(0,P._)([Qo(pn)],pa.prototype,"currentZoom",void 0),(0,P._)([Qo(pn)],pa.prototype,"metersPerSRUnit",void 0),(0,P._)([Qo(pn)],pa.prototype,"rotation",void 0),(0,P._)([Qo(pn)],pa.prototype,"pixelRatio",void 0);class fa extends ea{}(0,P._)([Ho(0,gn)],fa.prototype,"id",void 0),(0,P._)([Ho(1,pn)],fa.prototype,"bitset",void 0),(0,P._)([Ho(2,fn)],fa.prototype,"pos",void 0);class ga extends sa{}(0,P._)([Ho(14,fn)],ga.prototype,"nextPos1",void 0),(0,P._)([Ho(15,fn)],ga.prototype,"nextPos2",void 0);class ma extends ia{}class ya extends oa{clip(t,e){let s=new pn(0);const i=this.storage.getFilterFlags(t);if(s=s.add(Ln(2).multiply(Ln(1).subtract(la(i,0)))),this.inside?s=s.add(Ln(2).multiply(Ln(1).subtract(la(i,1)))):this.outside?s=s.add(Ln(2).multiply(la(i,1))):this.highlight&&(s=s.add(Ln(2).multiply(Ln(1).subtract(this._checkHighlight(i))))),null!=e){const t=new pn(1).subtract(xo(e.x,this.view.currentZoom)),i=xo(e.y,this.view.currentZoom);s=s.add(new pn(2).multiply(t.add(i)))}return s}getFragmentOutput(t,e,s=new pn(1/255)){const i=new ra;return i.glFragColor=this._maybeWriteHittest(e)??this._maybeHighlight(t,s)??t,i}_maybeHighlight(t,e){return this.highlight?new mn(t.rgb,xo(e,t.a)):null}_checkHighlight(t){let e=this._checkHighlightBit(t,0);for(let s=1;s<B.U5;s++)e=e.add(this._checkHighlightBit(t,s));return xo(new pn(.1),e.add(this.highlight.highlightAll))}_checkHighlightBit(t,e){return function(t,e){return ca(t,e)}(t,e).multiply(ca(this.highlight.activeReasons,e))}maybeRunHittest(t,e,s){if(null==this.hittestRequest)return null;let i=Xn(eo(this.hittest(t,e,s),this.hittestRequest.distance),new pn(2),new pn(0));const r=function(t){return t.multiply(2).subtract(1)}(this.storage.getAttributeDataCoords(t.id));i=i.add(this.clip(t.id,t.zoomRange));const n=new mn(new pn(1/255),0,0,0);return{glPointSize:new pn(1),glPosition:new mn(r,i,1),color:n}}_maybeWriteHittest(t){return null!=this.hittestRequest?t.color:null}}function xa(t,e,s){const i=s.subtract(e),r=ao((n=t.subtract(e),o=i,co(n,function(t){return Vn("normalize",t)}(o))).divide(uo(i)),new pn(0),new pn(1));var n,o;return function(t,e){return qn("distance",t,e,pn)}(t,e.add(r.multiply(s.subtract(e))))}function ba(t,e,s,i){return Jn(function(t){const e=function(t){return Vn("abs",t)}(t);return xo(e.x.add(e.y).add(e.z),new pn(1.05))}(function(t,e,s,i){const r=new En(s.x.multiply(i.y).subtract(i.x.multiply(s.y)),i.x.multiply(e.y).subtract(e.x.multiply(i.y)),e.x.multiply(s.y).subtract(s.x.multiply(e.y)),s.y.subtract(i.y),i.y.subtract(e.y),e.y.subtract(s.y),i.x.subtract(s.x),e.x.subtract(i.x),s.x.subtract(e.x)),n=e.x.multiply(s.y.subtract(i.y)),o=s.x.multiply(i.y.subtract(e.y)),a=i.x.multiply(e.y.subtract(s.y)),h=n.add(o).add(a);return new pn(1).divide(h).multiply(r.multiply(new gn(1,t)))}(t,e,s,i)),new pn(1))}function wa(t){return t.distance.add(1)}function va(t,e,s){const{viewMat3:i,tileMat3:r}=t.view,n=i.multiply(r),o=n.multiply(new gn(e.pos,1)),a=n.multiply(new gn(s.nextPos1,1)),h=n.multiply(new gn(s.nextPos2,1));return function(t,e,s,i){const r=function(t,e){return t.x.multiply(e.y).subtract(e.x.multiply(t.y))}(s.subtract(e),i.subtract(e)),n=ro(function(t,e){return Un("<",t,e,vn)}(r,new pn(.05)),eo(r,new pn(-.05)));return $n([ro(mo(n),ba(t.xy,e,s,i)),new pn(-1)],[!0,()=>{const r=xa(t,e,s),n=xa(t,s,i),o=xa(t,i,e);return po(po(r,n),o)}])}(t.hittestRequest.position,o.xy,a.xy,h.xy)}(0,P._)([Jo],ya.prototype,"inside",void 0),(0,P._)([Jo],ya.prototype,"outside",void 0),(0,P._)([Ko(da)],ya.prototype,"highlight",void 0),(0,P._)([Qo(ua)],ya.prototype,"storage",void 0),(0,P._)([Qo(pa)],ya.prototype,"view",void 0),(0,P._)([Ko(_a)],ya.prototype,"hittestRequest",void 0);class Sa extends na{getColor(t,e,s){return $n([io(ha(t),s),e],[to(t,this.values.first()),this.colors.first()],[so(t,this.values.last()),this.colors.last()],[!0,()=>{const e=this.values.findIndex((e=>eo(e,t))),s=this.values.get(e),i=e.subtract(1),r=this.values.get(i),n=t.subtract(r).divide(s.subtract(r));return fo(this.colors.get(i),this.colors.get(e),n)}])}}(0,P._)([Qo(un.ofType(mn,8))],Sa.prototype,"colors",void 0),(0,P._)([Qo(un.ofType(pn,8))],Sa.prototype,"values",void 0);class Ia extends na{getOpacity(t){return $n([ha(t),new pn(1)],[to(t,this.opacityValues.first()),this.opacities.first()],[so(t,this.opacityValues.last()),this.opacities.last()],[!0,()=>{const e=this.opacityValues.findIndex((e=>eo(e,t))),s=this.opacityValues.get(e),i=e.subtract(1),r=this.opacityValues.get(i),n=t.subtract(r).divide(s.subtract(r));return fo(this.opacities.get(i),this.opacities.get(e),n)}])}}function Ma(t){return null!=t.visualVariableSizeMinMaxValue||null!=t.visualVariableSizeScaleStops||null!=t.visualVariableSizeStops||null!=t.visualVariableSizeUnitValue}function Pa(t,e,s,i=new vn(!1)){if(null==t.visualVariableColor)return s;const r=t.storage.getColorValue(e);return t.visualVariableColor.getColor(r,s,i)}function Ta(t,e){if(null==t.visualVariableOpacity)return new pn(1);const s=t.storage.getOpacityValue(e);return t.visualVariableOpacity.getOpacity(s)}(0,P._)([Qo(un.ofType(pn,8))],Ia.prototype,"opacities",void 0),(0,P._)([Qo(un.ofType(pn,8))],Ia.prototype,"opacityValues",void 0);class Aa extends fa{}(0,P._)([Ho(3,mn)],Aa.prototype,"color",void 0),(0,P._)([Ho(4,fn)],Aa.prototype,"zoomRange",void 0);class Ca extends ya{constructor(){super(...arguments),this.computeAttributes={pos:["nextPos1","nextPos2"]}}vertex(t,e){const s=Ta(this,t.id),i=Pa(this,t.id,t.color).multiply(s),r=this.view.displayViewScreenMat3.multiply(new gn(t.pos.xy,1)),n=this.clip(t.id,t.zoomRange);return{glPosition:new mn(r.xy,n,1),color:i,...this.maybeRunHittest(t,e,null)}}fragment(t){return this.getFragmentOutput(t.color,t,new pn(0))}hittest(t,e){return va(this,t,e)}}(0,P._)([Ko(Sa)],Ca.prototype,"visualVariableColor",void 0),(0,P._)([Ko(Ia)],Ca.prototype,"visualVariableOpacity",void 0),(0,P._)([(0,P.a)(0,Zo(Aa)),(0,P.a)(1,Zo(ga))],Ca.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo(ma))],Ca.prototype,"fragment",null);class ka extends na{getPatternOffsetAtTileOrigin(t,e=new pn(0),s=new pn(1)){const i=new fn(16777216).divide(t);let r=t.multiply(lo(this.maxIntsToLocalOrigin.multiply(i))).add(this.tileOffsetFromLocalOrigin).subtract(new pn(.5).multiply(t));return r=new fn(r.x.multiply(s).subtract(r.y.multiply(e)),r.x.multiply(e).add(r.y.multiply(s))),go(r,t)}}(0,P._)([Qo(fn)],ka.prototype,"tileOffsetFromLocalOrigin",void 0),(0,P._)([Qo(fn)],ka.prototype,"maxIntsToLocalOrigin",void 0);class Fa extends na{}(0,P._)([Qo(fn)],Fa.prototype,"size",void 0),(0,P._)([Qo(_n)],Fa.prototype,"texture",void 0);class Ea extends Aa{}function za(t,e){const s=t.view.requiredZoomFactor,i=new fn(e.width,e.height),r=i.multiply(e.scale).multiply(s),n=e.angle.multiply(Mi),o=yo(n),a=ho(n),h=function(t,e,s,i,r){const n=Jn(ca(r,2),Ln(1)),o=function(t){return co(t,new mn(...[255/256,255/65536,255/16777216,255/4294967296]))}(new mn(t,0));return Xn(n,Nn(i.divide(e.x),s.divide(e.y),0,jn(s.divide(e.x)),i.divide(e.y),0,aa(Dn(o,0)),aa(Dn(0,o)),1),Nn(i.divide(e.x),s.divide(e.y),0,jn(s.divide(e.x)),i.divide(e.y),0,0,0,1))}(e.id,r,o,a,e.bitset),c=t.localTileOffset.getPatternOffsetAtTileOrigin(i,o,a),l=s.multiply(e.scale).multiply(e.offset.subtract(c)).divide(r),u=new gn(e.pos,1),d=h.multiply(u).xy.subtract(l),_=e.tlbr.divide(t.mosaicInfo.size.xyxy);let p=ca(e.bitset,4);return null!=t.visualVariableColor&&(p=Xn(ha(t.storage.getColorValue(e.id)),new pn(0),p)),{tileTextureCoord:d,tlbr:_,sampleAlphaOnly:p}}function Oa(t,e){const s=go(e.tileTextureCoord,new pn(1)),i=fo(e.tlbr.xy,e.tlbr.zw,s);let r=bo(t.mosaicInfo.texture,i);return r=Xn(eo(e.sampleAlphaOnly,new pn(.5)),r.aaaa,r),e.color.multiply(r)}(0,P._)([Ho(5,mn)],Ea.prototype,"tlbr",void 0),(0,P._)([Ho(6,pn)],Ea.prototype,"width",void 0),(0,P._)([Ho(7,pn)],Ea.prototype,"height",void 0),(0,P._)([Ho(8,fn)],Ea.prototype,"offset",void 0),(0,P._)([Ho(9,fn)],Ea.prototype,"scale",void 0),(0,P._)([Ho(10,pn)],Ea.prototype,"angle",void 0);class Ra extends Ca{vertex(t,e){return{...super.vertex(t,e),...za(this,t)}}fragment(t){const e=Oa(this,t);return this.getFragmentOutput(e,t,new pn(0))}}(0,P._)([Qo(Fa)],Ra.prototype,"mosaicInfo",void 0),(0,P._)([Qo(ka)],Ra.prototype,"localTileOffset",void 0),(0,P._)([(0,P.a)(0,Zo(Ea)),(0,P.a)(1,Zo(ga))],Ra.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo(class extends ma{}))],Ra.prototype,"fragment",null);class La extends na{getSize(t,e){const s=this.minMaxValueAndSize.xy,i=this.minMaxValueAndSize.zw;return Xn(ha(t),e,(()=>{const e=ao(t.subtract(s.x).divide(s.y.subtract(s.x)),new pn(0),new pn(1));return i.x.add(e.multiply(i.y.subtract(i.x)))}))}}(0,P._)([Qo(mn)],La.prototype,"minMaxValueAndSize",void 0);class Da extends na{getSizeForViewScale(t){return $n([to(t,this.values.first()),this.sizes.first()],[so(t,this.values.last()),this.sizes.last()],[!0,()=>{const e=this.values.findIndex((e=>eo(e,t))),s=this.values.get(e),i=e.subtract(1),r=this.values.get(i),n=t.subtract(r).divide(s.subtract(r));return fo(this.sizes.get(i),this.sizes.get(e),n)}])}}(0,P._)([Qo(un.ofType(pn,8))],Da.prototype,"sizes",void 0),(0,P._)([Qo(un.ofType(pn,8))],Da.prototype,"values",void 0);class Na extends na{getSize(t,e){const s=$n([ha(t),e],[to(t,this.values.first()),this.sizes.first()],[so(t,this.values.last()),this.sizes.last()],[!0,()=>{const e=this.values.findIndex((e=>eo(e,t))),s=this.values.get(e),i=e.subtract(1),r=this.values.get(i),n=t.subtract(r).divide(s.subtract(r));return fo(this.sizes.get(i),this.sizes.get(e),n)}]);return Xn(ha(s),e,s)}}(0,P._)([Qo(un.ofType(pn,8))],Na.prototype,"sizes",void 0),(0,P._)([Qo(un.ofType(pn,8))],Na.prototype,"values",void 0);class Ba extends na{getSize(t,e){return Xn(ha(t),e,t.multiply(this.unitValueToPixelsRatio))}}(0,P._)([Qo(pn)],Ba.prototype,"unitValueToPixelsRatio",void 0);class Ga extends fa{}(0,P._)([Ho(3,mn)],Ga.prototype,"color",void 0),(0,P._)([Ho(4,fn)],Ga.prototype,"offset",void 0),(0,P._)([Ho(5,fn)],Ga.prototype,"normal",void 0),(0,P._)([Ho(6,pn)],Ga.prototype,"halfWidth",void 0),(0,P._)([Ho(7,pn)],Ga.prototype,"referenceHalfWidth",void 0),(0,P._)([Ho(8,fn)],Ga.prototype,"zoomRange",void 0);class Ua extends ma{}class Va extends na{}function qa(t){return _o(new pn(1.1).multiply(xo(t,new pn(1))),new pn(1))}function Wa(t,e){const{id:s,offset:i,pos:r,normal:n,zoomRange:o}=e,{displayViewScreenMat3:a,displayViewMat3:h}=t.view,c=Pa(t,s,e.color),l=Ta(t,s),u=function(t,e){const{id:s,halfWidth:i,referenceHalfWidth:r}=e;if(Ma(t)){const e=function(t,e,s){if(Ma(t)){const i=t.storage.getSizeValue(e);return t.visualVariableSizeMinMaxValue?.getSize(i,s)??t.visualVariableSizeScaleStops?.getSizeForViewScale(t.view.currentScale)??t.visualVariableSizeStops?.getSize(i,s)??t.visualVariableSizeUnitValue?.getSize(i,s)}return s}(t,s,new pn(2).multiply(r));return new pn(.5).multiply(i.divide(_o(r,new pn(1e-5)))).multiply(e)}return i}(t,e),d=new pn(.5).multiply(t.antialiasingControls.antialiasing),_=_o(u.add(d),new pn(.45)).add(new pn(.1).multiply(d)),p=qa(_).multiply(_).multiply(i),f=h.multiply(new gn(p,new pn(0))),g=a.multiply(new gn(r,new pn(1))).add(f),m=new pn(2).multiply(xo(u,new pn(0))).add(t.clip(s,o)),y=new mn(g.xy,m,1);return{color:c,opacity:l,halfWidth:_,normal:n,scaledOffset:p,scaledHalfWidth:u,glPosition:new mn(y.xy,m,1)}}function ja(t,e){const{opacity:s,color:i}=t,r=function(t,e){const{halfWidth:s,normal:i}=t,r=qa(s),n=uo(i).multiply(s);return ao(r.multiply(s.subtract(n)).divide(e.add(r).subtract(new pn(1))),new pn(0),new pn(1))}(t,e);return s.multiply(i).multiply(r)}(0,P._)([Qo(pn)],Va.prototype,"antialiasing",void 0),(0,P._)([Qo(pn)],Va.prototype,"blur",void 0);class Ya extends ya{constructor(){super(...arguments),this.computeAttributes={pos:["nextPos1","nextPos2"]}}vertex(t,e){const s=Wa(this,t);return{...s,...this.maybeRunHittest(t,e,s.halfWidth)}}fragment(t){const e=ja(t,this.antialiasingControls.blur);return this.getFragmentOutput(e,t)}hittest(t,e,s){const{viewMat3:i,tileMat3:r}=this.view,n=i.multiply(r),o=n.multiply(new gn(t.pos,1)),a=n.multiply(new gn(e.nextPos1,1)),h=n.multiply(new gn(e.nextPos2,1)),{distance:c,smallSymbolDistance:l,smallSymbolSizeThreshold:u}=this.hittestRequest,d=xo(s,u.multiply(.5)).multiply(c.subtract(l)),_=this.hittestRequest.position;return po(xa(_,o.xy,a.xy),xa(_,o.xy,h.xy)).subtract(s).add(d)}}(0,P._)([Qo(Va)],Ya.prototype,"antialiasingControls",void 0),(0,P._)([Ko(Sa)],Ya.prototype,"visualVariableColor",void 0),(0,P._)([Ko(Ia)],Ya.prototype,"visualVariableOpacity",void 0),(0,P._)([Ko(La)],Ya.prototype,"visualVariableSizeMinMaxValue",void 0),(0,P._)([Ko(Da)],Ya.prototype,"visualVariableSizeScaleStops",void 0),(0,P._)([Ko(Na)],Ya.prototype,"visualVariableSizeStops",void 0),(0,P._)([Ko(Ba)],Ya.prototype,"visualVariableSizeUnitValue",void 0),(0,P._)([(0,P.a)(0,Zo(Ga)),(0,P.a)(1,Zo(ga))],Ya.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo(Ua))],Ya.prototype,"fragment",null);class Xa extends fa{}(0,P._)([Ho(3,fn)],Xa.prototype,"offset",void 0),(0,P._)([Ho(4,mn)],Xa.prototype,"color",void 0),(0,P._)([Ho(5,fn)],Xa.prototype,"normal",void 0),(0,P._)([Ho(6,pn)],Xa.prototype,"halfWidth",void 0),(0,P._)([Ho(7,pn)],Xa.prototype,"referenceHalfWidth",void 0),(0,P._)([Ho(8,fn)],Xa.prototype,"zoomRange",void 0);class $a extends Ua{}function Ha(t,e,s){const{id:i,bitset:r}=e,n=ca(r,0),o=eo(n,new pn(.5)),a=Wa(t,e),h=Xn(o,a.halfWidth,new pn(0)),c=Ta(t,i),l=Pa(t,i,e.color),u=Xn(o,e.color,l.multiply(c)),d=t.view.displayViewScreenMat3.multiply(new gn(e.pos.xy,1)),_=t.clip(e.id),p=new mn(d.xy,_,1),f=Xn(o,a.glPosition,p),g=s&&t.maybeRunHittest(e,s,o);return{isOutline:n,color:u,opacity:new pn(1),halfWidth:h,normal:a.normal,glPosition:f,...g}}class Za extends ya{constructor(){super(...arguments),this.computeAttributes={pos:["nextPos1","nextPos2"]}}}(0,P._)([Qo(Va)],Za.prototype,"antialiasingControls",void 0),(0,P._)([Ko(Sa)],Za.prototype,"visualVariableColor",void 0),(0,P._)([Ko(Ia)],Za.prototype,"visualVariableOpacity",void 0),(0,P._)([Ko(La)],Za.prototype,"visualVariableSizeMinMaxValue",void 0),(0,P._)([Ko(Da)],Za.prototype,"visualVariableSizeScaleStops",void 0),(0,P._)([Ko(Na)],Za.prototype,"visualVariableSizeStops",void 0),(0,P._)([Ko(Ba)],Za.prototype,"visualVariableSizeUnitValue",void 0);class Qa extends Za{vertex(t,e){return Ha(this,t,e)}fragment(t){const{color:e,isOutline:s}=t,i=eo(s,new pn(.5)),r=Xn(i,ja(t,this.antialiasingControls.blur),e),n=Xn(i,new pn(1/255),new pn(0));return this.getFragmentOutput(r,t,n)}hittest(t,e,s){return Xn(s,wa(this.hittestRequest),va(this,t,e))}}(0,P._)([(0,P.a)(0,Zo(Xa)),(0,P.a)(1,Zo(ga))],Qa.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo($a))],Qa.prototype,"fragment",null);class Ka extends Aa{}function Ja(t,e){const s=e.tlbr.xy,i=e.tlbr.zw,r=i.x.subtract(s.x),n=s.y.subtract(i.y),o=new fn(r,n).multiply(e.inverseRasterizationScale),a=o.multiply(t.view.requiredZoomFactor),h=function(t){const e=new pn(1),s=new pn(0);return new En(e.divide(t.x),s.divide(t.y),0,jn(s.divide(t.x)),e.divide(t.y),0,0,0,1)}(a),c=t.localTileOffset.getPatternOffsetAtTileOrigin(o).divide(a),l=new gn(e.pos,1);return{tileTextureCoord:h.multiply(l).xy.subtract(c),tlbr:e.tlbr.divide(t.mosaicInfo.size.xyxy)}}function th(t,e){const s=go(t.tileTextureCoord,new pn(1)),i=fo(t.tlbr.xy,t.tlbr.zw,s),r=bo(e.texture,i);return t.color.multiply(r)}(0,P._)([Ho(5,mn)],Ka.prototype,"tlbr",void 0),(0,P._)([Ho(6,pn)],Ka.prototype,"inverseRasterizationScale",void 0);class eh extends Ca{vertex(t,e){return{...super.vertex(t,e),...Ja(this,t)}}fragment(t){const e=th(t,this.mosaicInfo);return this.getFragmentOutput(e,t,new pn(0))}}(0,P._)([Qo(Fa)],eh.prototype,"mosaicInfo",void 0),(0,P._)([Qo(ka)],eh.prototype,"localTileOffset",void 0),(0,P._)([(0,P.a)(0,Zo(Ka)),(0,P.a)(1,Zo(ga))],eh.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo(class extends ma{}))],eh.prototype,"fragment",null);class sh extends Xa{}(0,P._)([Ho(9,mn)],sh.prototype,"tlbr",void 0),(0,P._)([Ho(10,pn)],sh.prototype,"inverseRasterizationScale",void 0);class ih extends $a{}class rh extends Qa{vertex(t,e){return{...Ha(this,t,e),...Ja(this,t)}}fragment(t){const{isOutline:e}=t,s=eo(e,new pn(.5)),i=Xn(s,ja(t,this.antialiasingControls.blur),th(t,this.mosaicInfo)),r=Xn(s,new pn(1/255),new pn(0));return this.getFragmentOutput(i,t,r)}}(0,P._)([Qo(Fa)],rh.prototype,"mosaicInfo",void 0),(0,P._)([Qo(ka)],rh.prototype,"localTileOffset",void 0),(0,P._)([(0,P.a)(0,Zo(sh)),(0,P.a)(1,Zo(ga))],rh.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo(ih))],rh.prototype,"fragment",null);const nh=1/16;class oh extends fa{}(0,P._)([Ho(3,mn)],oh.prototype,"color",void 0),(0,P._)([Ho(4,mn)],oh.prototype,"tlbr",void 0),(0,P._)([Ho(5,pn)],oh.prototype,"angle",void 0),(0,P._)([Ho(6,pn)],oh.prototype,"aux1",void 0),(0,P._)([Ho(7,pn)],oh.prototype,"aux2",void 0),(0,P._)([Ho(8,fn)],oh.prototype,"aux3",void 0),(0,P._)([Ho(9,fn)],oh.prototype,"aux4",void 0),(0,P._)([Ho(10,fn)],oh.prototype,"zoomRange",void 0);class ah extends Za{vertex(t,e){const{aux1:s,aux2:i,aux3:r,aux4:n}=t,o={...t,width:s,height:i,offset:r,scale:n.multiply(nh)},a=Ha(this,{...t,halfWidth:s,referenceHalfWidth:i,offset:r,normal:n.subtract(128).multiply(nh)}),h=za(this,o),c=eo(a.isOutline,new pn(.5));return{...a,...h,...this.maybeRunHittest(t,e,c)}}fragment(t){const{isOutline:e}=t,s=eo(e,new pn(.5)),i=Xn(s,ja(t,this.antialiasingControls.blur),Oa(this,t)),r=Xn(s,new pn(1/255),new pn(0));return this.getFragmentOutput(i,t,r)}hittest(t,e,s){return Xn(s,wa(this.hittestRequest),va(this,t,e))}}(0,P._)([Qo(Fa)],ah.prototype,"mosaicInfo",void 0),(0,P._)([Qo(ka)],ah.prototype,"localTileOffset",void 0),(0,P._)([(0,P.a)(0,Zo(oh)),(0,P.a)(1,Zo(ga))],ah.prototype,"vertex",null),(0,P._)([(0,P.a)(0,Zo(class extends ih{}))],ah.prototype,"fragment",null);const hh=pr,ch=vr,lh={createComputedParams:t=>t,optionalAttributes:hh.optionalAttributes,attributes:{...hh.attributes,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:t=>_r(t)},aux1:{count:1,type:dt.pe.HALF_FLOAT,pack:t=>dr(t).width},aux2:{count:1,type:dt.pe.HALF_FLOAT,pack:t=>dr(t).height},aux3:{count:2,type:dt.pe.HALF_FLOAT,pack:({offsetX:t,offsetY:e})=>[(0,l.Lz)(t),(0,l.Lz)(e)]},aux4:{count:2,type:dt.pe.UNSIGNED_BYTE,pack:({scaleX:t,scaleY:e})=>[16*t,16*e]}}},uh={createComputedParams:t=>t,optionalAttributes:hh.optionalAttributes,attributes:{...hh.attributes,color:ch.attributes.color,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:t=>Et([[0,!0]])},aux1:{count:1,type:dt.pe.HALF_FLOAT,pack:t=>(0,l.Lz)(.5*t.width)},aux2:{count:1,type:dt.pe.HALF_FLOAT,pack:t=>(0,l.Lz)(.5*t.referenceWidth)},aux3:{count:2,type:dt.pe.HALF_FLOAT,packTessellation:({extrusionOffsetX:t,extrusionOffsetY:e})=>[t,e]},aux4:{count:2,type:dt.pe.UNSIGNED_BYTE,packTessellation:({normalX:t,normalY:e})=>[16*t+128,16*e+128]}}};class dh extends Sr{constructor(){super(...arguments),this.vertexSpec=uh}}class _h extends Ir{constructor(){super(...arguments),this.vertexSpec=lh}_createOutlineWriter(t,e,s,i){return new dh(t,e,s,i)}_write(t,e,s){const i=s?.asOptimized()??e.readGeometryForDisplay(),r=this._clip(i);if(!r)return;const n=this.evaluatedMeshParams.sprite?.textureBinding;t.recordStart(this.instanceId,this.attributeLayout,n),this._writeGeometry(t,e,r),this._lineMeshWriter.writeLineVertices(t,Yt.fromOptimizedCIM(r,"esriGeometryPolyline"),e),t.recordEnd()}ensurePacked(t,e,s){super.ensurePacked(t,e,s),this._lineMeshWriter.ensurePacked(t,e,s)}enqueueRequest(t,e,s){super.enqueueRequest(t,e,s),this._lineMeshWriter.enqueueRequest(t,e,s)}async loadDependencies(){await Promise.all([super.loadDependencies(),this._lineMeshWriter.loadDependencies()])}}class ph{constructor(t,e){this._size=t,this._sizeUnits=e,this._relativeSize=null}get relativeSize(){return this._relativeSize??=this.calculateRelativeSize(),this._relativeSize}calculateRelativeSize(){if(this._sizeUnits===Ct.OW.Relative){const t=Math.min(this._size/100,1);return[t,t]}return this.calculateRelativeSizeFromAbsolute()}}class fh extends ph{constructor(t,e,s,i){super(e,s),this.rotationMatrix00=1,this.rotationMatrix01=0,this.rotationMatrix10=0,this.rotationMatrix11=1,this.bounds={xmin:1/0,ymin:1/0,xmax:-1/0,ymax:-1/0},this.rotationMatrix00=Math.cos(i),this.rotationMatrix01=-Math.sin(i),this.rotationMatrix10=-this.rotationMatrix01,this.rotationMatrix11=this.rotationMatrix00;const{bounds:r,rotationMatrix00:n,rotationMatrix01:o,rotationMatrix10:a,rotationMatrix11:h}=this;t.forEachVertex(((t,e)=>{const s=t*n+e*o,i=t*a+e*h;r.xmin=Math.min(r.xmin,s),r.ymin=Math.min(r.ymin,i),r.xmax=Math.max(r.xmax,s),r.ymax=Math.max(r.ymax,i)})),this.center=[(r.xmin+r.xmax)/2,(r.ymin+r.ymax)/2]}}class gh extends fh{constructor(t,e,s,i){super(t,e,s,i),this.method="linear"}getRelativePosition(t,e){const{rotationMatrix00:s,rotationMatrix01:i,bounds:r}=this,{xmin:n,xmax:o}=r;return[(t*s+e*i-n)/(o-n),0]}calculateRelativeSizeFromAbsolute(){const{_size:t,bounds:e}=this,{xmin:s,xmax:i}=e;return[(0,l.Lz)(t)/(i-s),0]}}class mh extends fh{constructor(t,e,s,i){super(t,e,s,i),this.method="rectangular"}getRelativePosition(t,e){const{bounds:s,center:i,rotationMatrix00:r,rotationMatrix01:n,rotationMatrix10:o,rotationMatrix11:a}=this,h=t*o+e*a,c=t*r+e*n-i[0],l=h-i[1];return[c*(2/(s.xmax-s.xmin)),-l*(2/(s.ymax-s.ymin))]}calculateRelativeSizeFromAbsolute(){const{_size:t,bounds:e}=this,{xmin:s,ymin:i,xmax:r,ymax:n}=e;return[(0,l.Lz)(2*t)/(r-s),(0,l.Lz)(2*t)/(n-i)]}}class yh extends fh{constructor(t,e,s){super(t,e,s,0),this.method="circular";const{xmin:i,xmax:r,ymin:n,ymax:o}=this.bounds,a=r-i,h=o-n;this.radius=Math.sqrt(a*a+h*h)/2}getRelativePosition(t,e){const{center:s,radius:i}=this;return[(t-s[0])/i,-(e-s[1])/i]}calculateRelativeSizeFromAbsolute(){const{_size:t}=this;return[(0,l.Lz)(t)/this.radius,0]}}function xh(t,e){if(null==t)return null;const s=(0,ks.kU)(e.angle),i=e.gradientSize,r=e.gradientSizeUnits;switch(e.gradientMethod.toLowerCase()){case"linear":return new gh(t,i,r,s);case"rectangular":return new mh(t,i,r,s);case"circular":return new yh(t,i,r);default:return E.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.fill.GradientSizeHelper").errorOnce(`Gradient fill method "${e.gradientMethod}" currently unsupported.`),null}}const bh={createComputedParams:t=>t,optionalAttributes:hr.optionalAttributes,attributes:{...hr.attributes,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:({gradientSizeUnits:t,gradientType:e})=>{let s=0;return t===Ct.OW.Absolute&&(s|=Ft(0)),"discrete"===e.toLowerCase()&&(s|=Ft(1)),s}},tlbr:{count:4,type:dt.pe.UNSIGNED_SHORT,pack:({sprite:t})=>{const{rect:e,width:s,height:i}=t,r=e.x+B.hM+B.MZ,n=e.y+B.hM;return[r,n,r+s-2*B.MZ,n+i]}},relativePosition:{count:2,type:dt.pe.HALF_FLOAT,packTessellation:({gradientStats:t},e,s,i)=>t?.getRelativePosition(s,i)??[0,0]},relativeGradientSize:{count:2,type:dt.pe.HALF_FLOAT,packTessellation:({gradientStats:t})=>t?.relativeSize??[1,1]},gradientMethod:{count:1,type:dt.pe.UNSIGNED_BYTE,pack:({gradientMethod:t})=>{switch(t.toLowerCase()){case"rectangular":return 1;case"circular":return 2;default:return 0}}}}};class wh extends nr{constructor(){super(...arguments),this.vertexSpec=bh}get _preventEffectClipping(){return!0}createTesselationParams(t){return{gradientStats:xh(t.readGeometryForDisplay(),this.evaluatedMeshParams)}}_write(t,e,s){const i=s?.asOptimized()??e.readGeometryForDisplay(),r=this._clip(i);if(!r)return;const n=this.evaluatedMeshParams.sprite?.textureBinding;t.recordStart(this.instanceId,this.attributeLayout,n),this._writeGeometry(t,e,r),t.recordEnd()}}const vh={optionalAttributes:lr.optionalAttributes,createComputedParams:t=>t,attributes:{...lr.attributes,...wr.attributes}},Sh={optionalAttributes:lr.optionalAttributes,createComputedParams:t=>t,attributes:{...lr.attributes,...vr.attributes}};class Ih extends Sr{constructor(){super(...arguments),this.vertexSpec=Sh}}class Mh extends Ir{constructor(){super(...arguments),this.vertexSpec=vh}_createOutlineWriter(t,e,s,i){return new Ih(t,e,s,i)}_write(t,e,s){const i=s?.asOptimized()??e.readGeometryForDisplay(),r=this._clip(i);if(!r)return;const n=this.evaluatedMeshParams.sprite?.textureBinding;t.recordStart(this.instanceId,this.attributeLayout,n),this._writeGeometry(t,e,r),this._lineMeshWriter.writeLineVertices(t,Yt.fromOptimizedCIM(r,"esriGeometryPolyline"),e),t.recordEnd()}ensurePacked(t,e,s){super.ensurePacked(t,e,s),this._lineMeshWriter.ensurePacked(t,e,s)}enqueueRequest(t,e,s){super.enqueueRequest(t,e,s),this._lineMeshWriter.enqueueRequest(t,e,s)}async loadDependencies(){await Promise.all([super.loadDependencies(),this._lineMeshWriter.loadDependencies()])}}const Ph={createComputedParams:t=>t,optionalAttributes:{},attributes:{pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:10},id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1},offset:{type:dt.pe.BYTE,count:2,packAlternating:{count:4,pack:()=>[[-1,-1],[1,-1],[-1,1],[1,1]]}}}};class Th extends bi{constructor(){super(...arguments),this.vertexSpec=Ph}_write(t,e){t.recordStart(this.instanceId,this.attributeLayout);const s=e.getDisplayId();if("esriGeometryPoint"===e.geometryType){const i=e.readXForDisplay(),r=e.readYForDisplay();this._writeQuad(t,s,i,r)}else if("esriGeometryMultipoint"===e.geometryType){const i=e.readGeometryForDisplay();i?.forEachVertex(((e,i)=>{e>=0&&e<=512&&i>=0&&i<=512&&this._writeQuad(t,s,e,i)}))}t.recordEnd()}_writeQuad(t,e,s,i){const r=t.vertexCount();this._writeVertex(t,e,s,i),t.indexWrite(r+0),t.indexWrite(r+1),t.indexWrite(r+2),t.indexWrite(r+1),t.indexWrite(r+3),t.indexWrite(r+2)}}var Ah=s(48163),Ch=s(90708);const kh=8388607,Fh=t=>t&kh;class Eh{constructor(t,e,s,i,r,n,o,a,h=[]){this.entityTexel=t,this.anchorX=e,this.anchorY=s,this.directionX=i,this.directionY=r,this.maxScale=n,this.minScale=o,this.referenceBounds=a,this.bounds=h}serialize(t){t.push(this.entityTexel),t.writeF32(this.anchorX),t.writeF32(this.anchorY),t.writeF32(this.directionX),t.writeF32(this.directionY),t.writeF32(this.maxScale),t.writeF32(this.minScale),null===this.referenceBounds?(t.writeF32(0),t.writeF32(0),t.writeF32(0)):(t.writeF32(this.referenceBounds.size),t.writeF32(this.referenceBounds.offsetX),t.writeF32(this.referenceBounds.offsetY)),j(t,this.bounds)}static deserialize(t){const e=t.readInt32(),s=t.readF32(),i=t.readF32(),r=t.readF32(),n=t.readF32(),o=t.readF32(),a=t.readF32(),h=t.readF32(),c=t.readF32(),l=t.readF32(),u=Y(t,Hs)??[];return new Eh(e,s,i,r,n,o,a,{size:h,offsetX:c,offsetY:l},u)}}const zh=1024;function Oh(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t}function Rh(t,e){return Math.sqrt(t*t+e*e)}function Lh(t){const e=Rh(t[0],t[1]);t[0]/=e,t[1]/=e}function Dh(t,e){return Rh(t[0]-e[0],t[1]-e[1])}function Nh(t){return t.length-1}function Bh(t,e,s=1){let[i,r]=function(t,e){return t[e+1]}(t,e);return[i,r]=[Math.round(i),Math.round(r)],Math.sqrt(i*i+r*r)*s}class Gh{constructor(t,e,s,i,r){this._segments=t,this._index=e,this._distance=s,this._xStart=i,this._yStart=r,this._done=!1}static create(t){return new Gh(t,0,0,t[0][0],t[0][1])}clone(){return new Gh(this._segments,this._index,this._distance,this.xStart,this.yStart)}equals(t){return this._index===t._index||t._index===this._index-1&&(0===this._distance||1===t._distance)||t._index===this._index+1&&(1===this._distance||0===t._distance)}leq(t){return this._index<t._index||this._index===t._index&&this._distance<=t._distance}geq(t){return this._index>t._index||this._index===t._index&&this._distance>=t._distance}get _segment(){return this._segments[this._index+1]}get angle(){const t=this.dy,e=(0*t+-1*-this.dx)/(1*this.length);let s=Math.acos(e);return t>0&&(s=2*Math.PI-s),s}get xStart(){return this._xStart}get yStart(){return this._yStart}get x(){return this.xStart+this.distance*this.dx}get y(){return this.yStart+this.distance*this.dy}get dx(){return this._segment[0]}get dy(){return this._segment[1]}get xMidpoint(){return this.xStart+.5*this.dx}get yMidpoint(){return this.yStart+.5*this.dy}get xEnd(){return this.xStart+this.dx}get yEnd(){return this.yStart+this.dy}get length(){const{dx:t,dy:e}=this;return Math.sqrt(t*t+e*e)}get remainingLength(){return this.length*(1-this._distance)}get backwardLength(){return this.length*this._distance}get distance(){return this._distance}get done(){return this._done}hasPrev(){return this._index-1>=0}hasNext(){return this._index+1<Nh(this._segments)}next(){return this.hasNext()?(this._xStart+=this.dx,this._yStart+=this.dy,this._distance=0,this._index+=1,this):null}prev(){return this.hasPrev()?(this._index-=1,this._xStart-=this.dx,this._yStart-=this.dy,this._distance=1,this):(this._done=!0,null)}_seekBackwards(t,e){const s=this.backwardLength;if(t<=s)return this._distance=(s-t)/this.length,this;let i=this.backwardLength;for(;this.prev();){if(i+this.length>t)return this._seekBackwards(t-i);i+=this.length}return this._distance=0,e?this:null}seek(t,e=!1){if(t<0)return this._seekBackwards(Math.abs(t),e);if(t<=this.remainingLength)return this._distance=(this.backwardLength+t)/this.length,this;let s=this.remainingLength;for(;this.next();){if(s+this.length>t)return this.seek(t-s,e);s+=this.length}return this._distance=1,e?this:null}}function Uh(t,e,s,i=!0){const r=function(t){let e=0;for(let s=0;s<Nh(t);s++)e+=Bh(t,s);return e}(t),n=Gh.create(t),o=r/2;if(!i)return n.seek(o),void(Math.abs(n.x)<zh&&Math.abs(n.y)<zh&&s(n.clone(),0,o+0*e,r));const a=Math.max((r-e)/2,0),h=Math.floor(a/e),c=o-h*e;n.seek(c);for(let t=-h;t<=h;t++)Math.abs(n.x)<zh&&Math.abs(n.y)<zh&&s(n.clone(),t,o+t*e,r),n.seek(e)}function Vh(t,e){const s=e;for(let e=0;e<t.length;e++){let i=t[e];qh(i,s);const r=[];r.push(i[0]);for(let t=1;t<i.length;t++){const[e,s]=i[t-1],[n,o]=i[t],a=n-e,h=o-s;r.push([a,h])}t[e]=r,i=r}return t}function qh(t,e){const s=1e-6;if(e<=0)return;const i=t.length;if(i<3)return;const r=[];let n=0;r.push(0);for(let e=1;e<i;e++)n+=Dh(t[e],t[e-1]),r.push(n);e=Math.min(e,.2*n);const o=[];o.push(t[0][0]),o.push(t[0][1]);const a=t[i-1][0],h=t[i-1][1],c=Oh([0,0],t[0],t[1]);Lh(c),t[0][0]+=e*c[0],t[0][1]+=e*c[1],Oh(c,t[i-1],t[i-2]),Lh(c),t[i-1][0]+=e*c[0],t[i-1][1]+=e*c[1];for(let t=1;t<i;t++)r[t]+=e;r[i-1]+=e;const l=.5*e;for(let n=1;n<i-1;n++){let a=0,h=0,c=0;for(let i=n-1;i>=0&&!(r[i+1]<r[n]-l);i--){const o=l+r[i+1]-r[n],u=r[i+1]-r[i],d=r[n]-r[i]<l?1:o/u;if(Math.abs(d)<s)break;const _=d*d,p=d*o-.5*_*u,f=d*u/e,g=t[i+1],m=t[i][0]-g[0],y=t[i][1]-g[1];a+=f/p*(g[0]*d*o+.5*_*(o*m-u*g[0])-_*d*u*m/3),h+=f/p*(g[1]*d*o+.5*_*(o*y-u*g[1])-_*d*u*y/3),c+=f}for(let o=n+1;o<i&&!(r[o-1]>r[n]+l);o++){const i=l-r[o-1]+r[n],u=r[o]-r[o-1],d=r[o]-r[n]<l?1:i/u;if(Math.abs(d)<s)break;const _=d*d,p=d*i-.5*_*u,f=d*u/e,g=t[o-1],m=t[o][0]-g[0],y=t[o][1]-g[1];a+=f/p*(g[0]*d*i+.5*_*(i*m-u*g[0])-_*d*u*m/3),h+=f/p*(g[1]*d*i+.5*_*(i*y-u*g[1])-_*d*u*y/3),c+=f}o.push(a/c),o.push(h/c)}o.push(a),o.push(h);for(let e=0,s=0;e<i;e++)t[e][0]=o[s++],t[e][1]=o[s++]}class Wh{static getPlacement(t,e,s,i,r,n){const o=function(t){if(!t)return null;switch(t.type){case"CIMMarkerPlacementAlongLineSameSize":return $e.local();case"CIMMarkerPlacementAtExtremities":return Ze.local();case"CIMMarkerPlacementAtRatioPositions":return Ke.local();case"CIMMarkerPlacementInsidePolygon":return is.local();case"CIMMarkerPlacementOnLine":return os.local();case"CIMMarkerPlacementOnVertices":return hs.local();case"CIMMarkerPlacementPolygonCenter":return Ts.local()}return null}(s);return o?(-1===e&&t.invertY(),o.execute(t,s,i,r,n)):null}}class jh{constructor(t){const{offsetX:e,offsetY:s,postAngle:i,fontSize:r,haloSize:n,outlineSize:o,scaleFactor:a,transforms:h}=t;if(this.offsetX=e,this.offsetY=s,this.postAngle=i,this.fontSize=Math.min(r,96),this.haloSize=n??0,this.outlineSize=o??0,this.transforms=h,h&&h.infos.length>1){const t=(0,Te.zb)(r,i,!1,e,s,h,!1);this.fontSize=Math.min(t.size,96);const n=t.size/r;this.haloSize*=n,this.outlineSize*=n,this.postAngle=t.rotation,this.offsetX=t.offsetX,this.offsetY=t.offsetY}a&&(this.fontSize*=a,this.offsetX*=a,this.offsetY*=a)}}const Yh=[4,4],Xh=[16,4],$h={topLeft:Xh,topRight:Xh,bottomLeft:Xh,bottomRight:Xh},Hh=[4,2],Zh=[4,6],Qh={topLeft:Hh,topRight:Hh,bottomLeft:Zh,bottomRight:Zh},Kh={topLeft:Hh,topRight:Zh,bottomLeft:Hh,bottomRight:Zh},Jh={topLeft:Zh,topRight:Zh,bottomLeft:Yh,bottomRight:Yh},tc={topLeft:Yh,topRight:Yh,bottomLeft:Zh,bottomRight:Zh},ec={topLeft:Zh,topRight:Yh,bottomLeft:Zh,bottomRight:Yh},sc={topLeft:Yh,topRight:Zh,bottomLeft:Yh,bottomRight:Zh},ic={createComputedParams:t=>t,optionalAttributes:{zoomRange:{type:dt.pe.UNSIGNED_SHORT,count:2,packPrecisionFactor:B.fq,packTessellation:({minZoom:t,maxZoom:e})=>[t||0,e||28]},clipAngle:{type:dt.pe.UNSIGNED_BYTE,count:1,packTessellation:({clipAngle:t})=>nc(t||0)},referenceSymbol:{type:dt.pe.BYTE,count:4,packPrecisionFactor:1,packTessellation:(t,e)=>{const s=t.isLineLabel||!t.referenceBounds,i=function(t){switch(t){case qs.Right:case"right":return-1;case qs.Center:case"center":return 0;case qs.Left:case"left":return 1;default:return console.debug(`Found invalid horizontal alignment ${t}`),0}}(s?"center":e.horizontalAlignment),r=function(t){switch(t){case Ws.Top:case"top":return 1;case Ws.Center:case"middle":return 0;case Ws.Bottom:case Ws.Baseline:case"baseline":case"bottom":return-1;default:return console.debug(`Found invalid vertical alignment ${t}`),0}}(s?"middle":e.verticalAlignment),{offsetX:n,offsetY:o,size:a}=s?{offsetX:0,offsetY:0,size:0}:t.referenceBounds;return[(0,l.Lz)(n),-(0,l.Lz)(o),Math.round((0,l.Lz)(a)),i+1<<2|r+1]}}},attributes:{pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:10},id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,packTessellation:({isBackground:t,mapAligned:e})=>Et([[0,t],[3,!!e]])},offset:{type:dt.pe.SHORT,count:2,packPrecisionFactor:8,packAlternating:{count:4,packTessellation:({offsets:t})=>{const{bottomLeft:e,bottomRight:s,topLeft:i,topRight:r}=t;return[i,r,e,s]}}},textureUV:{type:dt.pe.SHORT,count:2,packPrecisionFactor:4,packAlternating:{count:4,packTessellation:({texcoords:t})=>{const{bottomLeft:e,bottomRight:s,topLeft:i,topRight:r}=t;return[i,r,e,s]}}},color:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,packTessellation:({color:t})=>t},fontSize:{type:dt.pe.UNSIGNED_SHORT,count:1,packPrecisionFactor:4,packTessellation:({fontSize:t})=>Math.round((0,l.Lz)(t))},referenceSize:{type:dt.pe.UNSIGNED_BYTE,count:1,packPrecisionFactor:4,packTessellation:({fontSize:t},{referenceSize:e})=>Math.round((0,l.Lz)(e??t))},outlineColor:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({outlineColor:t})=>zt(t)},haloColor:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({haloColor:t})=>zt(t)},outlineAndHaloSize:{type:dt.pe.UNSIGNED_SHORT,count:2,packPrecisionFactor:4,packTessellation:({outlineSize:t,haloSize:e})=>[Math.round((0,l.Lz)(t)),Math.round((0,l.Lz)(e))]}}};class rc extends bi{constructor(){super(...arguments),this.vertexSpec=ic,this._textMeshParamsPropsInitialized=!1}ensurePacked(t,e,s){super.ensurePacked(t,e,s),this._textMeshParamsPropsInitialized&&!this._evaluator.hasDynamicProperties||(this._textMeshTransformProps=new jh(this.evaluatedMeshParams),this._textMeshParamsPropsInitialized=!0)}_write(t,e,s){const i=this._getShaping();if(!i)return;const r=e.getDisplayId();if(null!=this.evaluatedMeshParams.placement)return this._writePlacedTextMarkers(t,e,i,s);if(s?.nextPath())return s.nextPoint(),this._writeGlyphs(t,r,s.x,s.y,i,0);if("esriGeometryPolygon"===e.geometryType){const s=e.readCentroidForDisplay();if(!s)return;const[n,o]=s.coords;return this._writeGlyphs(t,r,n,o,i,0)}if("esriGeometryMultipoint"===e.geometryType){const s=e.readGeometryForDisplay();return void s?.forEachVertex(((e,s)=>this._writeGlyphs(t,r,e,s,i,0)))}const n=e.readXForDisplay(),o=e.readYForDisplay();return this._writeGlyphs(t,r,n,o,i,0)}_writePlacedTextMarkers(t,e,s,i){const r=i??Yt.fromFeatureSetReaderCIM(e);if(!r)return;const n=Wh.getPlacement(r,-1,this.evaluatedMeshParams.placement,(0,l.Lz)(1),t.id,ui());if(!n)return;const o=e.getDisplayId();let a=n.next();for(;null!=a;){const e=a.tx,i=-a.ty,r=-a.getAngle();this._writeGlyphs(t,o,e,i,s,r),a=n.next()}}_getShaping(t){const e=this._textMeshTransformProps,s=this.evaluatedMeshParams;if(!s.glyphs?.glyphs.length)return null;const i=(0,l.Lz)(e.fontSize),r=(0,l.Lz)(e.offsetX),n=(0,l.Lz)(e.offsetY),o=(0,ks.qE)((0,l.Lz)(s.lineWidth),B.GR,B.cp),a=B.DY*(0,ks.qE)(s.lineHeightRatio,.25,4);return function(t,e){const s=e.scale,i=new Array,{glyphs:r,isRightToLeft:n}=t,o=function(t,e,s){const i=new Array,r=1/s.scale,n=s.maxLineWidth*r,o=e?t.length-1:0,a=e?-1:t.length,h=e?-1:1;let c=o,l=0,u=0,d=c,_=d,p=0,f=1/0,g=0;for(;c!==a;){const{code:e,metrics:s}=t[c],r=Math.abs(s.top);if(si(e)||ii(e)||(f=Math.min(f,r),g=Math.max(g,r+s.height)),si(e))c!==o&&(i.push(new ei(t,d,c-h,l,f===1/0?0:f,g)),f=1/0,g=0),l=0,d=c+h,_=c+h,u=0;else if(ii(e))_=c+h,u=0,p=s.advance,l+=s.advance;else if(l>n){if(_!==d){const e=_-2*h;l-=p,i.push(new ei(t,d,e,l-u,f,g)),f=1/0,g=0,d=_,l=u}else i.push(new ei(t,d,c-h,l,f,g)),f=1/0,g=0,d=c,_=c,l=0;l+=s.advance,u+=s.advance}else l+=s.advance,u+=s.advance;c+=h}const m=new ei(t,d,c-h,l,f,g);return m.start>=0&&m.end<t.length&&i.push(m),i}(r,n,e),a=o.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,r=t[0].yMin;return{x:0,y:r,height:t[t.length-1].yMax+e.lineHeight*(t.length-1)+i-r,width:s}}(o,e):{x:0,y:0,height:0,width:0},h=Ys(e.horizontalAlignment),c=Xs(e.verticalAlignment),l=c===Ws.Baseline?1:0,u=l?0:c-1,d=(1-l)*-a.y+u*(a.height/2)+-22*(l?1:0);for(let n=0;n<o.length;n++){const{start:a,end:c,width:l}=o[n];let u=-1*(h+1)*(l/2)-3;const _=(t.isRightToLeft?o.length-1-n:n)*e.lineHeight+d-3;o[n].startX=u,o[n].startY=_;for(let t=a;t<=c;t++){const e=r[t];if(si(e.code))continue;const n=new Qs(u+e.metrics.left,_-e.metrics.top,e,s);u+=e.metrics.advance,i.push(n)}}return new ti(i,o,e)}(s.glyphs,{scale:i/B.eG,angle:e.postAngle,xOffset:r,yOffset:n,horizontalAlignment:s.horizontalAlignment,verticalAlignment:t||s.verticalAlignment,maxLineWidth:o,lineHeight:a,decoration:s.decoration,borderLineSizePx:(0,l.Lz)(s.boxBorderLineSize),hasBackground:!!s.boxBackgroundColor,useCIMAngleBehavior:s.useCIMAngleBehavior})}_writeGlyphs(t,e,s,i,r,n,o,a){const h=this.evaluatedMeshParams,c=this._textMeshTransformProps,u=(0,l.Lz)(c.fontSize),d=c.haloSize,_=c.outlineSize,p=(0,l.Lz)(c.offsetX),f=(0,l.Lz)(c.offsetY),[g,m]=kt(h.scaleInfo,this.getTileInfo());0!==n&&r.setRotation(n);const y=r.bounds,x=s+y.x+p,b=i+y.y-f,w=2*(h.minPixelBuffer?h.minPixelBuffer/u:1),v=Math.max(y.width,y.height)*w;r.textBox&&(t.recordStart(this.instanceId,this.attributeLayout,r.glyphs[0].textureBinding),t.recordBounds(x,b,v,v),this._writeTextBox(t,e,s,i,r.textBox,o,a),t.recordEnd());for(const n of r.glyphs){t.recordStart(this.instanceId,this.attributeLayout,n.textureBinding),t.recordBounds(x,b,v,v);const{texcoords:r,offsets:c}=n;this._writeQuad(t,e,s,i,{texcoords:r,offsets:c,fontSize:u,haloSize:d,outlineSize:_,color:zt(h.color),isBackground:!1,referenceBounds:o,minZoom:g,maxZoom:m,...a}),t.recordEnd()}0!==n&&r.setRotation(-n)}_writeTextBox(t,e,s,i,r,n,o){const a=this.evaluatedMeshParams,{fontSize:h,haloSize:c,outlineSize:l}=this._textMeshTransformProps,{boxBackgroundColor:u,boxBorderLineColor:d}=a,_={isBackground:!0,fontSize:h,haloSize:c,outlineSize:l,referenceBounds:n,...o};u&&(this._writeQuad(t,e,s,i,{texcoords:$h,offsets:r.main,color:zt(u),..._}),d||(this._writeQuad(t,e,s,i,{texcoords:Jh,offsets:r.top,color:zt(u),..._}),this._writeQuad(t,e,s,i,{texcoords:tc,offsets:r.bot,color:zt(u),..._}),this._writeQuad(t,e,s,i,{texcoords:ec,offsets:r.left,color:zt(u),..._}),this._writeQuad(t,e,s,i,{texcoords:sc,offsets:r.right,color:zt(u),..._}))),d&&(this._writeQuad(t,e,s,i,{texcoords:Qh,offsets:r.top,color:zt(d),..._}),this._writeQuad(t,e,s,i,{texcoords:Qh,offsets:r.bot,color:zt(d),..._}),this._writeQuad(t,e,s,i,{texcoords:Kh,offsets:r.left,color:zt(d),..._}),this._writeQuad(t,e,s,i,{texcoords:Kh,offsets:r.right,color:zt(d),..._}))}_writeQuad(t,e,s,i,r){const n=t.vertexCount();this._writeVertex(t,e,s,i,r),t.indexWrite(n+0),t.indexWrite(n+1),t.indexWrite(n+2),t.indexWrite(n+1),t.indexWrite(n+3),t.indexWrite(n+2)}}const nc=t=>Math.round(t*(254/360)),oc=(0,A.Bj)((t=>{let e=0;if(0===t)return 1/0;for(;!(t%2);)e++,t/=2;return e}));class ac extends rc{constructor(){super(...arguments),this._zoomLevel=0}_write(t,e,s,i){if(this._zoomLevel=i||0,null!=s)throw new Error("InternalError: EffectGeometry not support for LabelMeshWriter");switch(e.geometryType){case"esriGeometryPoint":{const s=e.readXForDisplay(),i=e.readYForDisplay();this._writePoint(t,s,i,e);break}case"esriGeometryEnvelope":case"esriGeometryPolygon":case"esriGeometryMultipoint":{const s=e.readCentroidForDisplay();if(!s)return;const[i,r]=s.coords;this._writePoint(t,i,r,e);break}case"esriGeometryPolyline":this._writeLines(t,e)}}_createLineLabelMetric(t,e,s,i){const r=Fh(t),n="right"===this.evaluatedMeshParams.horizontalAlignment?-1:1,o="bottom"===this.evaluatedMeshParams.verticalAlignment?-1:1,a=this.evaluatedMeshParams.scaleInfo?.maxScale??0,h=this.evaluatedMeshParams.scaleInfo?.minScale??0;return new Eh(r,e,s,n,o,a,h,i??null)}_writePoint(t,e,s,i){const r=this._getShaping();if(!r)return;const n=i.getDisplayId(),o=Ys(this.evaluatedMeshParams.horizontalAlignment),a=Xs(this.evaluatedMeshParams.verticalAlignment),h=this.evaluatedMeshParams.scaleInfo?.maxScale??0,c=this.evaluatedMeshParams.scaleInfo?.minScale??0,l=Fh(i.getDisplayId()),u=this._getPointReferenceBounds()||{offsetX:0,offsetY:0,size:0};t.metricStart(new Eh(l,e,s,o,a,h,c,u)),this._writeGlyphs(t,n,e,s,r,0,u),t.metricBoxWrite(r.boundsT),t.metricEnd()}_getPointReferenceBounds(){if(!this._references)return null;for(const t of this._references){const e=t.getBoundsInfo();if(e)return e}return null}_writeLines(t,e){const{scaleInfo:s,verticalAlignment:i}=this.evaluatedMeshParams,r=this.evaluatedMeshParams.repeatLabelDistance||128,n=this._getShaping("middle");if(!n)return;const o=(t,e,s,i)=>this._placeSubdivGlyphs(t,e,s,i),a=(n.bounds.width+r)/2;this._current={out:t,id:e.getDisplayId(),shaping:n,zoomRange:kt(s,this.getTileInfo()),referenceBounds:this._getPointReferenceBounds()||{offsetX:0,offsetY:0,size:0},offsetDirection:null},this._verticalPlacement="bottom"===i?"above":"top"===i?"below":null,this._verticalPlacement?this._writeAboveAndBelowAlong(e,o,a):this._writeCenterAlong(e,o,a)}_writeAboveAndBelowAlong(t,e,s){const{repeatLabel:i}=this.evaluatedMeshParams,{shaping:r}=this._current,n=r.bounds.halfHeight,o=t.readGeometryForDisplay();if(!o)return;const a=new jt.A;(0,Ch.kz)(a,o,!1,!1,"esriGeometryPolyline",1);const h=hc(new jt.A,a,n),c=hc(new jt.A,a,-n),l=(0,Ch.zv)(c,"esriGeometryPolyline",!1,!1),u=Vh((0,Ch.zv)(h,"esriGeometryPolyline",!1,!1).paths,r.bounds.width),d=Vh(l.paths,r.bounds.width);this._current.offsetDirection="above";for(const t of u)Uh(t,s,e,!!i);this._current.offsetDirection="below";for(const t of d)Uh(t,s,e,!!i)}_writeCenterAlong(t,e,s){const{repeatLabel:i}=this.evaluatedMeshParams,{shaping:r}=this._current,n=Vh(t.readLegacyGeometryForDisplay().paths,r.bounds.width);for(const t of n)Uh(t,s,e,!!i)}_placeSubdivGlyphs(t,e,s,i){const{allowOverrun:r,labelPosition:n,repeatLabelDistance:o}=this.evaluatedMeshParams,a=this._current.zoomRange[0],h=oc(e),c=this._current.shaping.bounds.width/2,l=Math.sqrt(o||128)/2,u=Math.min(s,i-s),d=this._current.shaping.isMultiline?28:Math.log2(u/(l+c/2)),_=0===e?d:Math.min(h,d),p=Math.max(a,this._zoomLevel+1-_),f=this._zoomLevel-p,g=this._current.shaping.bounds.width/2*2**f;this._current.shaping.isMultiline?0===e&&this._placeStraight(t,p):r&&f<0?this._placeStraightAlong(t,a):"parallel"===n?this._placeStraightAlong(t,p):"curved"===n&&this._placeCurved(t,p,g)}_placeStraight(t,e){const{out:s,id:i,shaping:r,referenceBounds:n}=this._current,{x:o,y:a}=t;s.metricStart(this._createLineLabelMetric(i,o,a)),s.metricBoxWrite(r.boundsT);const h=t.angle*(180/Math.PI)%360,c=(t.angle*(180/Math.PI)+180)%360;this._writeGlyphs(s,i,o,a,r,0,n,{clipAngle:h,mapAligned:!0,isLineLabel:!0,minZoom:e}),this._writeGlyphs(s,i,o,a,r,0,n,{clipAngle:c,mapAligned:!0,isLineLabel:!0,minZoom:e}),s.metricEnd()}_placeCurved(t,e,s){const{out:i,id:r}=this._current;i.metricStart(this._createLineLabelMetric(r,t.x,t.y));const n=t.clone(),o=t.angle*(180/Math.PI)%360,a=(t.angle*(180/Math.PI)+180)%360;this._verticalPlacement&&this._verticalPlacement!==this._current.offsetDirection||(this._placeFirst(n,e,1,o),this._placeBack(t,n,e,s,1,o),this._placeForward(t,n,e,s,1,o)),this._verticalPlacement&&this._verticalPlacement===this._current.offsetDirection||(this._placeFirst(n,e,0,a),this._placeBack(t,n,e,s,0,a),this._placeForward(t,n,e,s,0,a)),i.metricEnd()}_placeStraightAlong(t,e){const{out:s,id:i,shaping:r,zoomRange:n,referenceBounds:o}=this._current,{boxBorderLineColor:a,boxBackgroundColor:h}=this.evaluatedMeshParams,c=t.clone(),u=t.angle*(180/Math.PI)%360,d=(t.angle*(180/Math.PI)+180)%360,_=r.glyphs.length>0&&!(!a&&!h);if(s.metricStart(this._createLineLabelMetric(i,t.x,t.y)),_){const a=Math.max(e,n[0],0),h=Math.min(28,n[1]),c=Ls(Gs(),-t.angle),_={minZoom:a,maxZoom:h,clipAngle:u,mapAligned:!0,isLineLabel:!0},p=(0,l.Lz)(this.evaluatedMeshParams.offsetX),f=(0,l.Lz)(this.evaluatedMeshParams.offsetY);if(!this._verticalPlacement||this._verticalPlacement===this._current.offsetDirection){const e=(0,js.fA)(p,-1*f),[n,a]=r.shapeBackground(Rs(Gs(),c,e));s.recordStart(this.instanceId,this.attributeLayout,r.glyphs[0].textureBinding);const h=2*Math.max(n.width,n.height);s.recordBounds(t.x+n.x,t.y+n.y,h,h),this._writeTextBox(s,i,t.x,t.y,a,o,_),s.recordEnd()}if(!this._verticalPlacement||this._verticalPlacement!==this._current.offsetDirection){const e=(0,js.fA)(p,f),[n,a]=r.shapeBackground(Rs(Gs(),c,e));_.clipAngle=d,s.recordStart(this.instanceId,this.attributeLayout,r.glyphs[0].textureBinding);const h=2*Math.max(n.width,n.height);s.recordBounds(t.x+n.x,t.y+n.y,h,h),this._writeTextBox(s,i,t.x,t.y,a,o,_),s.recordEnd()}}this._verticalPlacement&&this._verticalPlacement!==this._current.offsetDirection||this._placeFirst(c,e,1,u,!0),this._verticalPlacement&&this._verticalPlacement===this._current.offsetDirection||this._placeFirst(c,e,0,d,!0),s.metricEnd()}_placeBack(t,e,s,i,r,n){const o=t.clone();let a=t.backwardLength+0;for(;o.prev()&&!(a>=i);)this._placeOnSegment(o,e,a,s,-1,r,n),a+=o.length+0}_placeForward(t,e,s,i,r,n){const o=t.clone();let a=t.remainingLength+0;for(;o.next()&&!(a>=i);)this._placeOnSegment(o,e,a,s,1,r,n),a+=o.length+0}_placeFirst(t,e,s,i,r=!1){const{out:n,id:o,shaping:a,zoomRange:h,referenceBounds:c}=this._current,l=a.glyphs;for(const u of l){const l=u.x>a.bounds.x?s:1-s,d=l*t.remainingLength+(1-l)*t.backwardLength,_=Math.abs(u.x+u.width/2-a.bounds.x),p=Math.max(0,this._zoomLevel+Math.log2(_/(d+0))),f=Math.max(e,r?0:p);u.maxZoom=Math.min(h[1],28),u.angle=t.angle+(1-s)*Math.PI,u.minZoom=Math.max(h[0],f),this._writeLineGlyph(n,o,t.x,t.y,a.bounds,u,i,c,!0),(s||this._current.offsetDirection)&&this._isVisible(u.minZoom,u.maxZoom)&&n.metricBoxWrite(u.bounds)}}_placeOnSegment(t,e,s,i,r,n,o){const{out:a,id:h,shaping:c,referenceBounds:l}=this._current,u=c.glyphs,d=t.dx/t.length,_=t.dy/t.length,p={x:t.x+s*-r*d,y:t.y+s*-r*_};for(const e of u){const u=e.x>c.bounds.x?n:1-n;if(!(u&&1===r||!u&&-1===r))continue;const d=Math.abs(e.x+e.width/2-c.bounds.x),_=Math.max(0,this._zoomLevel+Math.log2(d/s)-.1),f=Math.max(i,this._zoomLevel+Math.log2(d/(s+t.length+0)));0!==_&&(e.angle=t.angle+(1-n)*Math.PI,e.minZoom=f,e.maxZoom=_,this._writeLineGlyph(a,h,p.x,p.y,c.bounds,e,o,l,!0),(n||this._current.offsetDirection)&&this._isVisible(e.minZoom,e.maxZoom)&&a.metricBoxWrite(e.bounds))}}_writeLineGlyph(t,e,s,i,r,n,o,a,h){const c=s+r.x,l=i+r.y,u=2*(this.evaluatedMeshParams.minPixelBuffer?this.evaluatedMeshParams.minPixelBuffer/this._textMeshTransformProps.fontSize:1),d=Math.max(r.width,r.height)*u;t.recordStart(this.instanceId,this.attributeLayout,n.textureBinding),t.recordBounds(c,l,d,d);const{texcoords:_,offsets:p}=n,{fontSize:f,haloSize:g,outlineSize:m}=this._textMeshTransformProps;this._writeQuad(t,e,s,i,{texcoords:_,offsets:p,fontSize:f,haloSize:g,outlineSize:m,color:zt(this.evaluatedMeshParams.color),isBackground:!1,referenceBounds:a,minZoom:Math.max(this._current.zoomRange[0],n.minZoom),maxZoom:Math.min(this._current.zoomRange[1],n.maxZoom),clipAngle:o,mapAligned:h,isLineLabel:!0}),t.recordEnd()}_isVisible(t,e){const s=Math.floor(this._zoomLevel*B.fq)/B.fq;return t<=s&&s<=e}}function hc(t,e,s){const{coords:i,lengths:r}=e,n=(0,Ah.vt)(),o=(0,Ah.vt)(),a=(0,Ah.vt)(),h=(0,Ah.vt)(),c=(0,Ah.vt)(),l=(0,Ah.vt)();let u=0;for(let e=0;e<r.length;e++){const d=r[e];for(let e=0;e<d;e++){const r=2*(e+u-1),_=2*(e+u),p=2*(e+u+1);e>0?(0,O.hZ)(n,i[r],i[r+1]):(0,O.hZ)(n,0,0),(0,O.hZ)(o,i[_],i[_+1]),e<d-1?(0,O.hZ)(a,i[p],i[p+1]):(0,O.hZ)(a,0,0),0===e?(0,O.hZ)(h,0,0):((0,O.jb)(h,o,n),(0,O.S8)(h,h),(0,O.hZ)(h,h[1],-h[0])),e===d-1?(0,O.hZ)(c,0,0):((0,O.jb)(c,a,o),(0,O.S8)(c,c),(0,O.hZ)(c,c[1],-c[0])),(0,O.WQ)(l,h,c),(0,O.S8)(l,l);const f=l[0]*c[0]+l[1]*c[1];0!==f&&(0,O.hs)(l,l,f),(0,O.hs)(l,l,s),t.coords.push(o[0]+l[0],o[1]+l[1])}t.lengths.push(d),u+=d}return t}const cc={createComputedParams:t=>t,optionalAttributes:yr.optionalAttributes,attributes:{...yr.attributes,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:({gradientMethod:t,gradientSizeUnits:e,gradientType:s})=>Et([[0,"alongline"===t.toLowerCase()],[1,e===Ct.OW.Absolute],[2,"discrete"===s.toLowerCase()]])},tlbr:{type:dt.pe.UNSIGNED_SHORT,count:4,pack:({sprite:t})=>{const{rect:e,width:s,height:i}=t,r=e.x+B.hM+B.MZ,n=e.y+B.hM;return[r,n,r+s-2*B.MZ,n+i]}},accumulatedDistance:{type:dt.pe.UNSIGNED_SHORT,count:1,packTessellation:({distance:t})=>t},gradientSize:{type:dt.pe.HALF_FLOAT,count:1,pack:({gradientSize:t,gradientSizeUnits:e})=>e===Ct.OW.Relative?t/100:(0,l.Lz)(t)},totalLength:{type:dt.pe.HALF_FLOAT,count:1,packTessellation:({pathLength:t})=>t},segmentDirection:{type:dt.pe.BYTE,count:2,packPrecisionFactor:16,packTessellation:({directionX:t,directionY:e})=>[t,e]}}};class lc extends br{get _preventEffectClipping(){return!0}constructor(t,e,s,i){super(t,e,s,i),this.vertexSpec=cc,this._tessellationOptions.textured=!0}_write(t,e,s){const i=s??Yt.fromFeatureSetReaderCIM(e);if(!i)return;const{sprite:r}=this.evaluatedMeshParams;this._writeGeometry(t,e,i,r?.textureBinding)}}const uc={createComputedParams:t=>t,optionalAttributes:yr.optionalAttributes,attributes:{...yr.attributes,bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:({shouldSampleAlphaOnly:t,shouldScaleDash:e,isSDF:s})=>Et([[4,t],[2,e],[3,s]])},tlbr:{type:dt.pe.UNSIGNED_SHORT,count:4,pack:({sprite:t})=>{const{rect:e,width:s,height:i}=t,r=e.x+B.hM,n=e.y+B.hM;return[r,n,r+s,n+i]}},accumulatedDistance:{type:dt.pe.UNSIGNED_SHORT,count:1,packTessellation:({distance:t})=>t},segmentDirection:{type:dt.pe.BYTE,count:2,packPrecisionFactor:16,packTessellation:({directionX:t,directionY:e})=>[t,e]},offsetAlongLine:{type:dt.pe.HALF_FLOAT,count:1,pack:({offsetAlongLine:t})=>(0,l.Lz)(t)},capType:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:({capType:t})=>{switch(t){case Ct.uT.Butt:case"butt":return 0;case Ct.uT.Square:case"square":return 1;case Ct.uT.Round:case"round":return 2;default:return 0}}}}};class dc extends br{constructor(t,e,s,i){super(t,e,s,i),this.vertexSpec=uc,this._tessellationOptions.textured=!0}_write(t,e,s){const i=s??Yt.fromFeatureSetReaderCIM(e);if(!i)return;const{sprite:r}=this.evaluatedMeshParams;this._writeGeometry(t,e,i,r?.textureBinding)}}class _c{static from(t){return"width"in t?this.fromSimpleMeshParams(t):this.fromComplexMeshParams(t)}static fromSimpleMeshParams(t){const e=new _c(t.sprite,t.color,t.outlineColor,t.minPixelBuffer,t.placement,t.scaleInfo,t.effects),{type:s,width:i,height:r,angle:n,alignment:o,outlineSize:a,referenceSize:h,sprite:c,overrideOutlineColor:u}=t;return e.rawWidth=(0,l.Lz)(i),e.rawHeight=(0,l.Lz)(r),e.angle=n,e.alignment=o,e.outlineSize=(0,l.Lz)(a),e.referenceSize=(0,l.Lz)(h),e.overrideOutlineColor=u,e.offsetX=(0,l.Lz)(t.offsetX),e.offsetY=(0,l.Lz)(t.offsetY),"simple"!==s||c.sdf||(e.rawWidth=c.width,e.rawHeight=c.height),e._computeSize(t,!1),e}static fromComplexMeshParams(t){const e=new _c(t.sprite,t.color,t.outlineColor,t.minPixelBuffer,t.placement,t.scaleInfo,t.effects);let{alignment:s,transforms:i,size:r,scaleX:n,anchorX:o,anchorY:a,angle:h,colorLocked:c,frameHeight:u,widthRatio:d,offsetX:_,offsetY:p,outlineSize:f,referenceSize:g,scaleFactor:m,sizeRatio:y,isAbsoluteAnchorPoint:x,rotateClockwise:b,scaleSymbolsProportionally:w,sprite:v}=t;if(i&&i.infos.length>0){const t=(0,Te.zb)(r,h,b,_,p,i);r=t.size,h=t.rotation,_=t.offsetX,p=t.offsetY,b=!1}m&&(r*=m,_*=m,p*=m);const S=n*(v.width/v.height);e.alignment=s,e.rawHeight=(0,l.Lz)(r),e.rawWidth=e.rawHeight*S,e.referenceSize=(0,l.Lz)(g),e.sizeRatio=y,e.sdfDecodeCoeff=(v.sdfDecodeCoeff??1)*y,e.angle=h,e.rotateClockwise=b,e.anchorX=o,e.anchorY=a,e.offsetX=(0,l.Lz)(_),e.offsetY=(0,l.Lz)(p),x&&r&&(v.sdf?e.anchorX=o/(r*d):e.anchorX=o/(r*S),e.anchorY=a/r);const I=w&&u?r/u:1;return e.outlineSize=0===f||isNaN(f)?0:(0,l.Lz)(f)*I,e.scaleSymbolsProportionally=w,e.colorLocked=c,e._computeSize(t,!0),e}constructor(t,e,s,i,r,n,o){this.sprite=t,this.color=e,this.outlineColor=s,this.minPixelBuffer=i,this.placement=r,this.scaleInfo=n,this.effects=o,this.rawWidth=0,this.rawHeight=0,this.angle=0,this.outlineSize=0,this.referenceSize=0,this.sizeRatio=1,this.sdfDecodeCoeff=1,this.alignment=Ct.C1.SCREEN,this.scaleSymbolsProportionally=!1,this.overrideOutlineColor=!1,this.colorLocked=!1,this.anchorX=0,this.anchorY=0,this.computedWidth=0,this.computedHeight=0,this.texXmin=0,this.texYmin=0,this.texXmax=0,this.texYmax=0,this.offsetX=0,this.offsetY=0,this.rotateClockwise=!0}get boundsInfo(){return{size:Math.max(this.computedHeight,this.computedWidth),offsetX:this.offsetX,offsetY:this.offsetY}}_computeSize(t,e){const{sprite:s,hasSizeVV:i}=t,r=!!s.sdf,n=s.sdfPaddingRatio??.5,{rawWidth:o,rawHeight:a,sizeRatio:h,outlineSize:c}=this;let l=o*h,u=a*h,d=0,_=0;if(r){const t=1/(1-n);if(l*=t,u*=t,i)this.computedWidth=l,this.computedHeight=u;else{const t=e&&o>a?l:o,i=a,r=c+2;this.computedWidth=Math.min(t+r,l),this.computedHeight=Math.min(i+r,u);const n=Math.max(s.width,s.height)/Math.max(l,u);d=(this.computedWidth-l)*n,_=(this.computedHeight-u)*n}}else this.computedWidth=l*(s.rect.width/s.width),this.computedHeight=u*(s.rect.height/s.height),d=2*B.hM,_=2*B.hM;const p=s.rect.x+B.hM-d/2,f=s.rect.y+B.hM-_/2,g=p+s.width+d,m=f+s.height+_;this.texXmin=pc(p),this.texYmin=pc(f),this.texXmax=fc(g),this.texYmax=fc(m),this.computedWidth*=(this.texXmax-this.texXmin)/(g-p),this.computedHeight*=(this.texYmax-this.texYmin)/(m-f),this.anchorX*=l/this.computedWidth,this.anchorY*=u/this.computedHeight}}function pc(t,e=1e-7){const s=Math.ceil(t);return s-t<e?s:Math.floor(t)}function fc(t,e=1e-7){const s=Math.floor(t);return t-s<e?s:Math.ceil(t)}const gc=128/Math.PI;const mc={createComputedParams:t=>_c.from(t),optionalAttributes:{zoomRange:{type:dt.pe.SHORT,count:2,packPrecisionFactor:B.fq,pack:({scaleInfo:t},{tileInfo:e})=>kt(t,e)}},attributes:{pos:{type:dt.pe.SHORT,count:2,pack:"position",packPrecisionFactor:10},id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:({sprite:t,alignment:e,scaleSymbolsProportionally:s,overrideOutlineColor:i,colorLocked:r})=>{let n=0;return t.sdf&&(n|=Ft(Lt)),e===Ct.C1.MAP&&(n|=Ft(Dt)),s&&(n|=Ft(Nt)),i&&(n|=Ft(Bt)),r&&(n|=Ft(Gt)),n}},offset:{type:dt.pe.HALF_FLOAT,count:2,packAlternating:{count:4,pack:({angle:t,computedWidth:e,computedHeight:s,anchorX:i,anchorY:r,offsetX:n,offsetY:o,rotateClockwise:a})=>{const h=function(t,e,s,i,r=!1){const n=Gs(),o=r?1:-1;return Es(n),(e||s)&&Rs(n,n,[e,-s]),i&&Os(n,n,.017453292519944444*o*-i),n}(0,n,o,-t,a),c=-(.5+i)*e,l=-(.5-r)*s,u=[c,l],d=[c+e,l],_=[c,l+s],p=[c+e,l+s];return(0,O.l0)(u,u,h),(0,O.l0)(d,d,h),(0,O.l0)(_,_,h),(0,O.l0)(p,p,h),[u,d,_,p]}}},textureUV:{type:dt.pe.SHORT,count:2,packPrecisionFactor:4,packAlternating:{count:4,pack:({texXmax:t,texXmin:e,texYmax:s,texYmin:i})=>[[e,i],[t,i],[e,s],[t,s]]}},color:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({color:t})=>zt(t)},outlineColor:{type:dt.pe.UNSIGNED_BYTE,count:4,normalized:!0,pack:({outlineColor:t})=>zt(t)},sizing:{type:dt.pe.UNSIGNED_BYTE,count:4,pack:({rawWidth:t,rawHeight:e,outlineSize:s,referenceSize:i})=>[Ot(Math.max(t,e),128),Ot(s,128),Ot(i,128),0]},placementAngle:{type:dt.pe.UNSIGNED_BYTE,count:1,packTessellation:({placementAngle:t})=>function(t){return function(t){return t%=256,Math.abs(t>=0?t:t+256)}(t*gc)}(t)},sdfDecodeCoeff:{type:dt.pe.UNSIGNED_SHORT,count:1,packPrecisionFactor:64,pack:({sdfDecodeCoeff:t})=>t}}};class yc extends bi{constructor(){super(...arguments),this.vertexSpec=mc}getBoundsInfo(){return this.evaluatedMeshParams.boundsInfo}_write(t,e,s){const i=this.evaluatedMeshParams.sprite?.textureBinding,r=e.getDisplayId();t.recordStart(this.instanceId,this.attributeLayout,i);const n=this.evaluatedMeshParams.minPixelBuffer,o=Math.max(this.evaluatedMeshParams.computedWidth,n),a=Math.max(this.evaluatedMeshParams.computedHeight,n),h=-this.evaluatedMeshParams.anchorX*this.evaluatedMeshParams.computedWidth,c=this.evaluatedMeshParams.anchorY*this.evaluatedMeshParams.computedHeight,l=this.evaluatedMeshParams.offsetX+h,u=-this.evaluatedMeshParams.offsetY+c;if(null!=this.evaluatedMeshParams.placement)this._writePlacedMarkers(t,e,s,o,a);else if(s?.nextPath()){s.nextPoint();const e=s.x,i=s.y;t.recordBounds(e+l,i+u,o,a),this._writeQuad(t,r,e,i)}else if("esriGeometryPolygon"===e.geometryType){const s=e.readCentroidForDisplay();if(!s)return;const[i,n]=s.coords;t.recordBounds(i+l,n+u,o,a),this._writeQuad(t,r,i,n)}else if("esriGeometryPoint"===e.geometryType){const s=e.readXForDisplay(),i=e.readYForDisplay();t.recordBounds(s+l,i+u,o,a),this._writeQuad(t,r,s,i)}else{const s=e.readGeometryForDisplay();s?.forEachVertex(((e,s)=>{t.recordBounds(e+l,s+u,o,a),Math.abs(e)>zh||Math.abs(s)>zh||this._writeQuad(t,r,e,s)}))}t.recordEnd()}_writePlacedMarkers(t,e,s,i,r){const n=s??Yt.fromFeatureSetReaderCIM(e)?.clone();if(!n)return;const o=Wh.getPlacement(n,-1,this.evaluatedMeshParams.placement,(0,l.Lz)(1),t.id,ui());if(!o)return;const a=e.getDisplayId();let h=o.next();const c=this.evaluatedMeshParams.offsetX,u=-this.evaluatedMeshParams.offsetY;for(;null!=h;){const e=h.tx,s=-h.ty;if(Math.abs(e)>zh||Math.abs(s)>zh){h=o.next();continue}const n=-h.getAngle();t.recordBounds(e+c,s+u,i,r),this._writeQuad(t,a,e,s,n),h=o.next()}}_writeQuad(t,e,s,i,r){const n=t.vertexCount(),o=null==r?null:{placementAngle:r};this._writeVertex(t,e,s,i,o),t.indexWrite(n+0),t.indexWrite(n+1),t.indexWrite(n+2),t.indexWrite(n+1),t.indexWrite(n+3),t.indexWrite(n+2)}}var xc=s(4576),bc=s(71386);function wc(t,e){let s;if("string"==typeof t)s=(0,lt.Wm)(t+`-seed(${e})`);else{let i=12;s=t^e;do{s=107*(s>>8^s)+i|0}while(0!=--i)}return(1+s/(1<<31))/2}function vc(t){return Math.floor(wc(t,Sc)*Ic)}const Sc=53290320,Ic=10;var Mc;!function(t){t.Local="Local",t.Global="Global"}(Mc||(Mc={}));class Pc{generateSource(t){const e=[];for(let s=1;s<this.length;s++)e.push(`vec4 atom${s} = texture(${t.animationTexture}, (pointer + 0.5) / size);`),e.push("pointer.x += 1.0;");for(let t=0;t<this.ins;t++)e.push("top--;"),e.push(`vec4 in${this.ins-t-1} = stack[top];`);for(let t=0;t<this.outs;t++)e.push(`vec4 out${t};`);const{microcode:s}=this;for(const t of s)e.push(t);for(let t=0;t<this.outs;t++)e.push(`stack[top] = out${t};`),e.push("top++;"),e.push(`if (top >= ${Oc}) { top = ${Oc-1}; }`);return e}}let Tc=128;function Ac(t){return[`float duration = clamp(${t.duration}, 0.05, 3600.0);`,`float startTimeOffset = ${t.startTimeOffset};`,`float repeatDelay = ${t.repeatDelay};`,`float timeOriginSelector = ${t.timeOriginSelector};`,`float repeatType = ${t.repeatType};`,`float easing = ${t.easing};`,`float playAnimation = ${t.playAnimation} * (1.0 - step(0.0, -${t.duration}));`,`float reverseAnimation = ${t.reverseAnimation};`,"float time = globalTime - (timeOriginSelector == 1.0 ? localTimeOrigin : 0.0);","time *= playAnimation;","time *= 1.0 - reverseAnimation * 2.0;","float period = duration + repeatDelay;","time += reverseAnimation == 1.0 ? (period - startTimeOffset - 0.001) : startTimeOffset + 0.001;","float omega = time / period;","float oi = floor(omega);","omega = repeatType == 1.0 || repeatType == 3.0 ? omega - oi : omega;","float of = omega * period;","of = (clamp(of, reverseAnimation * repeatDelay, period - (1.0 - reverseAnimation) * repeatDelay) - reverseAnimation * repeatDelay) / duration;","of = easing == 2.0 ? pow(of, 3.0) : of;","of = easing == 3.0 ? 1.0 - pow(1.0 - of, 3.0) : of;","of = easing == 4.0 ? of < 0.5 ? 4.0 * pow(of, 3.0) : 1.0 - pow(-2.0 * of + 2.0, 3.0) / 2.0 : of;","bool oscillate = repeatType == 3.0 && mod(oi, 2.0) == 1.0;",`${t.out} = oscillate ? 1.0 - of : of;`]}const Cc={Linear:1,EaseIn:2,EaseOut:3,EaseInOut:4},kc={Loop:1,None:2,Oscillate:3},Fc={Local:1,Global:2};function Ec(t){const e=Cc[t.easing],s=kc[t.repeatType],i=Fc[t.timeOriginSelector];return[[t.duration,t.startTimeOffset,t.repeatDelay,i],[s,e,t.playAnimation,t.reverseAnimation]]}const zc={scalar:new class extends Pc{constructor(){super(...arguments),this.opcode=++Tc,this.length=1,this.ins=0,this.outs=1,this.microcode=["out0 = vec4(atom0.y, atom0.y, atom0.y, atom0.y);"]}encode(t){return[[this.opcode,t,0,0]]}},vector3:new class extends Pc{constructor(){super(...arguments),this.opcode=++Tc,this.length=1,this.ins=0,this.outs=1,this.microcode=["out0 = vec4(atom0.yzw, 0.0);"]}encode(t){return[[this.opcode,t[0]||0,t[1]||0,t[2]||0]]}},vector4:new class extends Pc{constructor(){super(...arguments),this.opcode=++Tc,this.length=2,this.ins=0,this.outs=1,this.microcode=["out0 = atom1;"]}encode(t){return[[this.opcode,0,0,0],t]}},animatedTransform:new class extends Pc{constructor(){super(...arguments),this.opcode=++Tc,this.length=10,this.ins=1,this.outs=1,this.microcode=["vec2 fromTranslation = atom1.xy;","vec2 toTranslation = atom1.zw;","float fromRotation = atom2.x;","float toRotation = atom2.y;","float fromScale = atom2.z;","float toScale = atom2.w;","bool relativeTranslation = atom9.x == 1.0;","bool absoluteScale = atom9.y == 1.0;","vec2 translationMultiplier = relativeTranslation ? pixelDimensions : vec2(1.0, 1.0);","float scaleDivisor = absoluteScale ? pixelDimensions.y : 1.0;","float fTranslation;","{",...Ac({duration:"atom3.x",startTimeOffset:"atom3.y",repeatDelay:"atom3.z",timeOriginSelector:"atom3.w",repeatType:"atom4.x",easing:"atom4.y",playAnimation:"atom4.z",reverseAnimation:"atom4.w",out:"fTranslation"}),"}","float fRotation;","{",...Ac({duration:"atom5.x",startTimeOffset:"atom5.y",repeatDelay:"atom5.z",timeOriginSelector:"atom5.w",repeatType:"atom6.x",easing:"atom6.y",playAnimation:"atom6.z",reverseAnimation:"atom6.w",out:"fRotation"}),"}","float fScale;","{",...Ac({duration:"atom7.x",startTimeOffset:"atom7.y",repeatDelay:"atom7.z",timeOriginSelector:"atom7.w",repeatType:"atom8.x",easing:"atom8.y",playAnimation:"atom8.z",reverseAnimation:"atom8.w",out:"fScale"}),"}","vec2 aTranslation = mix(fromTranslation, toTranslation, fTranslation);","float aRotation = mix(fromRotation, toRotation, fRotation);","float aScale = mix(fromScale, toScale, fScale);","vec2 pTranslation = in0.xy;","float pRotation = in0.z;","float pScale = in0.w;","aTranslation *= translationMultiplier;","aScale /= scaleDivisor;","float rotation = pRotation + aRotation;","float scale = pScale * aScale;","float sin1 = sin(pRotation);","float cos1 = cos(pRotation);","float s1 = pScale;","float x1 = pTranslation.x;","float y1 = pTranslation.y;","float x2 = aTranslation.x;","float y2 = aTranslation.y;","\n vec2 translation = vec2(\n cos1 * s1 * x2 - sin1 * s1 * y2 + x1,\n sin1 * s1 * x2 + cos1 * s1 * y2 + y1\n );\n ","out0 = vec4(translation, rotation, scale);"]}encode(t){return[[this.opcode,0,0,0],[t.translation.from[0],t.translation.from[1],t.translation.to[0],t.translation.to[1]],[t.rotation.from,t.rotation.to,t.scale.from,t.scale.to],...Ec(t.translation.timing),...Ec(t.rotation.timing),...Ec(t.scale.timing),[t.relativeTranslation?1:0,t.absoluteScale?1:0,0,0]]}},animatedColor:new class extends Pc{constructor(){super(...arguments),this.opcode=++Tc,this.length=7,this.ins=1,this.outs=1,this.microcode=["float fromOpacity = atom0.y;","float toOpacity = atom0.z;","vec4 fromColor = atom1;","vec4 toColor = atom2;","float fColor;","{",...Ac({duration:"atom3.x",startTimeOffset:"atom3.y",repeatDelay:"atom3.z",timeOriginSelector:"atom3.w",repeatType:"atom4.x",easing:"atom4.y",playAnimation:"atom4.z",reverseAnimation:"atom4.w",out:"fColor"}),"}","float fOpacity;","{",...Ac({duration:"atom5.x",startTimeOffset:"atom5.y",repeatDelay:"atom5.z",timeOriginSelector:"atom5.w",repeatType:"atom6.x",easing:"atom6.y",playAnimation:"atom6.z",reverseAnimation:"atom6.w",out:"fOpacity"}),"}","vec4 aColor = mix(fromColor, toColor, fColor);","aColor.a *= mix(fromOpacity, toOpacity, fOpacity);","vec4 pColor = in0;","out0 = aColor * pColor;"]}encode(t){return[[this.opcode,t.opacity.from,t.opacity.to,0],[t.color.from[0],t.color.from[1],t.color.from[2],t.color.from[3]],[t.color.to[0],t.color.to[1],t.color.to[2],t.color.to[3]],...Ec(t.color.timing),...Ec(t.opacity.timing)]}},ret:new class extends Pc{constructor(){super(...arguments),this.opcode=++Tc,this.length=1,this.ins=0,this.outs=0,this.microcode=["break;"]}encode(){return[[this.opcode,0,0,0]]}}},Oc=4;function Rc(t){return t instanceof Lc?t:"object"==typeof t&&"type"in t?Gc[t.type].hydrate(t):new Dc(t)}class Lc{constructor(t){this.inputs=t}encode(){const t=[];for(const e of this.inputs)t.push(...e.encode());return t.push(...this.instructions),t}}class Dc extends Lc{constructor(t){super([]),this.value=t}simplify(){return this}get instructions(){if(Array.isArray(this.value)){const[t,e,s,i]=this.value;return null!=i?zc.vector4.encode([t,e||0,s||0,i]):zc.vector3.encode([t,e||0,s||0])}return zc.scalar.encode(this.value)}}class Nc extends Lc{constructor(t,e){super([e]),this._config=t,this._parent=e}static hydrate(t){return new Nc(t,Rc(t.parent))}simplify(){if(this._config.relativeTranslation||this._config.absoluteScale)return this;const t=this._parent.simplify();if(!(t instanceof Dc))return this;const[e,s,i,r]=t.value,n=this._config.translation.from[0],o=this._config.translation.from[1],a=this._config.rotation.from,h=this._config.scale.from;if(n===this._config.translation.to[0]&&o===this._config.translation.to[1]&&a===this._config.rotation.to&&h===this._config.scale.to){const t=i+a,c=r*h,l=Math.sin(i),u=Math.cos(i);return new Dc([u*r*n-l*r*o+e,l*r*n+u*r*o+s,t,c])}return new Nc(this._config,t)}get instructions(){return zc.animatedTransform.encode(this._config)}}class Bc extends Lc{constructor(t,e){super([e]),this._config=t,this._parent=e}static hydrate(t){return new Bc(t,Rc(t.parent))}simplify(){const t=this._parent.simplify();if(!(t instanceof Dc))return this;const[e,s,i,r]=t.value,n=this._config.color.from[0],o=this._config.color.from[1],a=this._config.color.from[2];let h=this._config.color.from[3];const c=this._config.opacity.from;return n===this._config.color.to[0]&&o===this._config.color.to[1]&&a===this._config.color.to[2]&&h===this._config.color.to[3]&&c===this._config.opacity.to?(h*=c,new Dc([e*n,s*o,i*a,r*h])):new Bc(this._config,t)}get instructions(){return zc.animatedColor.encode(this._config)}}const Gc={AnimatedTransform:Nc,AnimatedColor:Bc};function Uc(t){return qc(t.map((t=>jc(t))).map((t=>Rc(t).simplify())))}function Vc(t){const e=[];return e.push(t.transform),e.push(t.fromColor),e.push(t.toColor),e.push(t.colorMix),e.push(t.toOpacity),e.push(t.opacityMix),e}function qc(t){const e=[],s=[];let i=0;for(const r of t){const n=[...r.encode(),...zc.ret.encode()];e.push([i+t.length,0,0,0]),s.push(...n),i+=n.length}return[...e,...s]}async function Wc(t,e){const s=t;let i;if("number"==typeof s||"string"==typeof s||"boolean"==typeof s)i=s;else if(Array.isArray(s))i=await Promise.all(s.map((t=>Wc(t,e))));else if("object"==typeof s)if("valueExpressionInfo"in s){const{valueExpressionInfo:t}=s,{expression:r}=t;i={...s,computed:await e.createComputedField({expression:r})}}else{i={};for(const t in s)i[t]=await Wc(s[t],e)}return i}function jc(t,e,s){const i=t;let r;if("number"==typeof i||"string"==typeof i||"boolean"==typeof i)r=i;else if(Array.isArray(i))r=i.map((t=>jc(t,e,s)));else if("object"==typeof i)if("type"in i&&null!=i.type&&"Process"===i.type)switch(i.op){case"ArcadeColor":{const t=jc(i.value,e,s);Xc(Array.isArray(t)&&4===t.length),r=[t[0]/255,t[1]/255,t[2]/255,t[3]]}break;case"Transparency":{const t=jc(i.value,e,s);Xc("number"==typeof t),r=1-t/100}break;case"Divide":{const t=jc(i.left,e,s);Xc("number"==typeof t);const n=jc(i.right,e,s);Xc("number"==typeof n),r=t/n}break;case"Random":{const t=jc(i.seed,e,s),n=jc(i.min,e,s),o=jc(i.max,e,s);r=n+wc(vc(e.getObjectId()||0),t)*(o-n)}}else if("computed"in i)r=function(t){if(!("computed"in t))return t;let i=t.computed.readWithDefault(e,s,[255*t.defaultValue[0],255*t.defaultValue[1],255*t.defaultValue[2],t.defaultValue[3]]);if("string"==typeof i){const t=At.A.fromString(i);t&&(i=[t.r,t.g,t.b,t.a])}return i}(i);else{r={};for(const t in i)r[t]=jc(i[t],e,s)}return r}function*Yc(t){const e=t;if(Array.isArray(e))for(const t of e)yield*Yc(t);else if("object"==typeof e)if("type"in e&&null!=e.type&&"Process"===e.type)switch(e.op){case"ArcadeColor":case"Transparency":yield*Yc(e.value);break;case"Divide":yield*Yc(e.left),yield*Yc(e.right);break;case"Random":yield*Yc(e.seed),yield*Yc(e.min),yield*Yc(e.max)}else if("computed"in e)yield e.computed;else for(const t in e)yield*Yc(e[t])}function Xc(t){if(!t)throw new Error("Assertion failed.")}class $c{destroy(){}}class Hc extends $c{constructor(t){super(),this._value=t}resize(t){}read(t,e){return this._value}readWithDefault(t,e,s){return this._value}hasArcadeDependency(t){return!1}}async function Zc(t,e,s=!1){const{defaultValue:i,valueExpressionInfo:r,value:n}=e;if(r){const{expression:n}=r,o=await t.createComputedField({expression:n},s);return o?{...e,computed:o,defaultValue:i}:null}return{...e,computed:new Hc(n),defaultValue:i}}async function Qc(t,e){const{valueExpressionInfo:s}=e,{expression:i}=s,r=await t.createComputedField({expression:i});return r?{...e,computed:r}:null}function Kc(t){return"object"==typeof t&&null!=t&&(!(!("valueExpressionInfo"in t)||!t.valueExpressionInfo)||"type"in t&&"Process"===t.type&&"op"in t&&"Random"===t.op)}function Jc(t){if(Array.isArray(t))for(const e of t)if(Jc(e))return!0;if("object"==typeof t){if(Kc(t))return!0;for(const e in t)if(Jc(t[e]))return!0}return!1}class tl{static async create(t,e,s){const i={},r=new Map,n=new Map,o=new Map,a=new Map,h=new Map,c=new Map;for(const l in s){const u=s[l];if(null!=u&&"object"==typeof u)if(Array.isArray(u)){if("object"==typeof u[0])throw new Error(`InternalError: Cannot handle ${l}. Nested array params are not supported`);i[l]=u}else if("valueExpressionInfo"in u){if(u.value){i[l]=u.value;continue}const e=await Qc(t,u);if(!e){i[l]=u.defaultValue;continue}r.set(l,e),i[l]=null}else switch(u.type){case"cim-effect-infos":if(u.effectInfos.some((t=>t.overrides.length))){n.set(l,{effects:await Promise.all(u.effectInfos.map((async e=>{const s=e.overrides.map((e=>Zc(t,e)));return{effect:e.effect,compiledOverrides:(await Promise.all(s)).filter(xc.Ru)}})))});break}i[l]=u.effectInfos.map((t=>t.effect));break;case"cim-marker-placement-param":u.overrides.length&&o.set(l,{placementInfo:u,compiledOverrides:(await Promise.all(u.overrides.map((e=>Zc(t,e))))).filter(xc.Ru)}),i[l]=u.placement;break;case"text-rasterization-param":{if(u.overrides.length){const e=u.overrides.map((e=>Zc(t,e,u.useLegacyLabelEvaluationRules)));a.set(l,{compiledOverrides:(await Promise.all(e)).filter(xc.Ru),rasterizationParam:u,objectIdToResourceId:new Map});continue}const s={type:"cim-rasterization-info",resource:u.resource};i[l]=await e.fetchResourceImmediate(s)??null;break}case"sprite-rasterization-param":{if(u.overrides.length){const e=u.overrides.map((e=>Zc(t,e)));a.set(l,{compiledOverrides:(await Promise.all(e)).filter(xc.Ru),rasterizationParam:u,objectIdToResourceId:new Map});continue}if("animated"===u.resource.type){a.set(l,{compiledOverrides:[],rasterizationParam:u,objectIdToResourceId:new Map});continue}const s={type:"cim-rasterization-info",resource:u.resource};i[l]=await e.fetchResourceImmediate(s)??null;break}case"cim-marker-transform-param":{const{params:e}=u;if(Jc(e)){const s={compiledMarkerInfos:[]};await Promise.all(e.map((async e=>{const i={props:{}};for(const s in e)if(Kc(e[s])){const r=await Qc(t,e[s]);i.compiledExpressionMap||(i.compiledExpressionMap=new Map);const n=i.compiledExpressionMap;r&&n.set(s,r)}else i.props[s]=e[s];s.compiledMarkerInfos.push(i)}))),h.set(l,s)}else i[l]={type:"cim-marker-transform-info",infos:e};break}case"animation-params":{const{params:s}=u,r=Vc(s);if(Jc(r)){const e=await Promise.all(r.map((e=>Wc(e,t))));c.set(l,{params:e,propertyIdToResourceId:new Map,key:l})}else{const t=Uc(r),s=await e.fetchResourceImmediate({type:"animation-info",resource:t});null!=s&&"sprite"===s.type&&(i[l]={dataRow:s.rect.y,dataColumn:s.rect.x})}break}default:i[l]=u}else i[l]=u}return new tl(s,i,r,n,o,a,h,c)}constructor(t,e,s,i,r,n,o,a){this.inputMeshParams=t,this._resolvedMeshParams=e,this._dynamicProperties=s,this._dynamicEffectProperties=i,this._dynamicPlacementProperties=r,this._dynamicAsyncProperties=n,this._dynamicTransformProperties=o,this._dynamicAsyncAnimations=a,this.evaluator=t=>t,this._arcadeDependencies=new Set;for(const t of this._expressions())(0,bc.QY)(this._arcadeDependencies,t)}get hasDynamicProperties(){return!!(this._dynamicProperties.size||this._dynamicAsyncProperties.size||this._dynamicEffectProperties.size||this._dynamicTransformProperties.size||this._dynamicPlacementProperties.size||this._dynamicAsyncAnimations.size)}get evaluatedMeshParams(){return this._evaluatedMeshParams||(this._evaluatedMeshParams=this.evaluator(this._resolvedMeshParams)),this._evaluatedMeshParams}enqueueRequest(t,e,s){for(const r of this._dynamicAsyncProperties.values()){const n=(0,Vt.o8)(r.rasterizationParam.resource);"animated"===r.rasterizationParam.resource.type&&r.rasterizationParam.resource.randomizeStartTime&&(n.primitiveName="__RESERVED__PRIMITIVE__NAME__",n.startGroup=vc(e.getObjectId()||0));for(const{primitiveName:t,propertyName:o,computed:a,defaultValue:h,valueExpressionInfo:c}of r.compiledOverrides)try{fi(n,"animated"===r.rasterizationParam.resource.type?n.primitiveName:t,o,a,e,s,h)}catch(e){E.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.mesh.MeshWriterInputEvaluator").errorOnce(new i.A("invalid-arcade-expression",`Encountered an error when evaluating the arcade expression '${c?.expression}' (primitive: '${t}', property: '${o}')`,e))}const o=t.enqueueRequest({type:"cim-rasterization-info",resource:n});r.objectIdToResourceId.set(e.getObjectId(),o)}for(const i of this._dynamicAsyncAnimations.values()){const r=i.params.map((t=>jc(t,e,s))).map(Rc).map((t=>t.simplify())),n=qc(r),o=t.enqueueRequest({type:"animation-info",resource:n});i.propertyIdToResourceId.set(e.getObjectId()+"."+i.key,o)}}evaluateMeshParams(t,e,s){for(const[t,i]of this._dynamicProperties.entries())this._resolvedMeshParams[t]=i.computed.readWithDefault(e,s,i.defaultValue);for(const[t,i]of this._dynamicPlacementProperties.entries())for(const{computed:r,defaultValue:n,propertyName:o}of i.compiledOverrides){const a=r.readWithDefault(e,s,n);i.placementInfo.placement[o]=a,this._resolvedMeshParams[t]=i.placementInfo.placement}for(const[t,i]of this._dynamicEffectProperties.entries())for(const r of i.effects){for(const{computed:t,defaultValue:i,propertyName:n}of r.compiledOverrides){const o=t.readWithDefault(e,s,i);r.effect[n]=o}this._resolvedMeshParams[t]=i.effects.map((t=>t.effect))}for(const[t,i]of this._dynamicTransformProperties.entries()){const r={type:"cim-marker-transform-info",infos:[]};for(const t of i.compiledMarkerInfos){const i={...t.props};if(t.compiledExpressionMap)for(const[r,n]of t.compiledExpressionMap){const t=n.computed.readWithDefault(e,s,n.defaultValue);i[r]="number"==typeof t||"boolean"==typeof t?t:n.defaultValue}r.infos.push(i)}this._resolvedMeshParams[t]=r}for(const[s,i]of this._dynamicAsyncProperties.entries()){const r=i.objectIdToResourceId.get(e.getObjectId());if(null==r)continue;const n=t.getResource(r);this._resolvedMeshParams[s]=n}for(const[s,i]of this._dynamicAsyncAnimations.entries()){const r=i.propertyIdToResourceId.get(e.getObjectId()+"."+s);if(null==r)continue;const n=t.getResource(r);this._resolvedMeshParams[s]={dataRow:n.rect.y,dataColumn:n.rect.x}}return this._evaluatedMeshParams=this.evaluator(this._resolvedMeshParams),this.evaluatedMeshParams}hasArcadeDependency(t){return this._arcadeDependencies.has(t)}*_expressions(){for(const t of this._dynamicProperties.values())yield t.computed;for(const t of this._dynamicEffectProperties.values())for(const e of t.effects)for(const t of e.compiledOverrides)yield t.computed;for(const t of this._dynamicPlacementProperties.values())for(const e of t.compiledOverrides)yield e.computed;for(const t of this._dynamicAsyncProperties.values())for(const e of t.compiledOverrides)yield e.computed;for(const t of this._dynamicTransformProperties.values())for(const e of t.compiledMarkerInfos)if(null!=e.compiledExpressionMap)for(const t of e.compiledExpressionMap.values())yield t.computed;for(const t of this._dynamicAsyncAnimations.values())for(const e of t.params)yield*Yc(e)}}const el={createComputedParams:t=>t,optionalAttributes:{},attributes:{pos:{type:dt.pe.SHORT,count:2,packPrecisionFactor:10,pack:"position"},id:{type:dt.pe.UNSIGNED_BYTE,count:3,pack:"id"},bitset:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:t=>0},offset:{type:dt.pe.SHORT,count:2,packPrecisionFactor:16,packAlternating:{count:4,pack:({size:t})=>{const e=(0,l.Lz)(t),s=-e/2,i=-e/2;return[[s,i],[s+e,i],[s,i+e],[s+e,i+e]]}}},texCoords:{type:dt.pe.SHORT,count:2,packPrecisionFactor:4,packAlternating:{count:4,pack:()=>[[0,1],[1,1],[0,0],[1,0]]}},size:{type:dt.pe.UNSIGNED_BYTE,count:2,pack:({size:t})=>[t,t]},referenceSize:{type:dt.pe.UNSIGNED_BYTE,count:1,pack:({size:t})=>(0,l.Lz)(t)},zoomRange:{type:dt.pe.UNSIGNED_BYTE,count:2,pack:({scaleInfo:t},{tileInfo:e})=>kt(t,e)}}};class sl extends bi{constructor(){super(...arguments),this.vertexSpec=el}_write(t,e){const s=e.getDisplayId(),i=this.evaluatedMeshParams.minPixelBuffer,r=Math.max((0,l.Lz)(this.evaluatedMeshParams.size),i);let n,o;if("esriGeometryPoint"===e.geometryType)n=e.readXForDisplay(),o=e.readYForDisplay();else{const t=e.readCentroidForDisplay();if(!t)return;n=t?.coords[0],o=t?.coords[1]}t.recordStart(this.instanceId,this.attributeLayout),t.recordBounds(n,o,r,r);const a=t.vertexCount();this._writeVertex(t,s,n,o),t.indexWrite(a+0),t.indexWrite(a+1),t.indexWrite(a+2),t.indexWrite(a+1),t.indexWrite(a+3),t.indexWrite(a+2),t.recordEnd()}}class il{async createMeshWriter(t,e,s,i){const r=this._getMeshWriter(i.techniqueType),n=await tl.create(t,e,i.inputParams),o=new r(i.id,n,i.optionalAttributes,s);return await o.loadDependencies(),o}_getMeshWriter(t){switch(t){case Pt.Fill:return cr;case Pt.DotDensity:return ar;case Pt.ComplexFill:return fr;case Pt.PatternFill:return ur;case Pt.GradientFill:return wh;case Pt.OutlineFill:return Ir;case Pt.PatternOutlineFill:return Mh;case Pt.ComplexOutlineFill:return _h;case Pt.Marker:return yc;case Pt.PieChart:return sl;case Pt.Text:return rc;case Pt.Line:return br;case Pt.TexturedLine:return dc;case Pt.GradientStroke:return lc;case Pt.Heatmap:return Th;case Pt.Label:return ac;case Pt.AnimatedMarker:return Pi;default:throw new Error("Internal Error: Mesh writer not in the registry")}}}class rl{constructor(t,e,s,i){this.storage=t,this.proxy=e,this.viewParams=s,this.registry=i}async createMeshWriters(t){const e=t.map((t=>this.registry.createMeshWriter(this.storage,this.proxy,this.viewParams,t)));return Promise.all(e)}}class nl{constructor(t){this._outstandingMessages=[],this._queue=new R.e({concurrency:t.concurrency,process:e=>t.process(e)})}async push(t){if(t.end)return await Promise.all(this._outstandingMessages),await this._queue.push(t),void(this._outstandingMessages=[]);const e=this._queue.push(t);return this._outstandingMessages.push(e),e}}var ol=s(43334),al=s(31464),hl=s(95466);class cl{static async create(t,e){if("count"===e.statisticType){const t=new Hc(1);return new cl(e.name,e.alias,e.type,e.statisticType,t)}const s=await t.createComputedField({expression:e.onStatisticExpression?.expression,field:e.onStatisticField});return new cl(e.name,e.alias,e.type,e.statisticType,s)}constructor(t,e,s,i,r){this.name=t,this.alias=e,this.type=s,this.statisticType=i,this.computed=r}}var ll=s(65529),ul=s(70328),dl=s(37730),_l=s(19730);class pl{constructor(t){this.subscription=t,this.handledChunks=new Set}destroy(){}}class fl{constructor(t,e){this._source=t,this._attributeStore=e,this._sendStates=new Map}destroy(){}get enablePixelBuffering(){return!0}get isAggregate(){return!1}onSubscribe(t){const e=this.createState(t);this._sendStates.set(t.key.id,e),this.updateChunks()}onUnsubscribe(t){this._sendStates.get(t.key.id)?.destroy(),this._sendStates.delete(t.key.id)}invalidate(){const t=Array.from(this._sendStates.values());this._sendStates.clear();for(const e of t)e.destroy(),this.onSubscribe(e.subscription)}invalidateAttributeData(t){}hasArcadeDependency(t){return!1}getFeatureObjectIdsForAggregate(t){throw new Error("InternalError: AggregateId lookup not supported")}getDisplayIds(t){return this.displayMap(t,(t=>t),(t=>t))}getDisplayAndObjectIds(t){return this.displayMap(t,(t=>t),((t,e,s)=>[t,s]))}beforeUpdateChunks(){}afterUpdateChunks(){}}class gl extends fl{constructor(t,e,s,i){super(t,e),this.spatialReference=s,this.aggregateFields=i,this._arcadeDependencies=new Set,this.events=new ll.A,this.featureAdapter=dl.T;for(const t of i)(0,bc.QY)(this._arcadeDependencies,t.computed)}get aggregateQueryEngine(){return this._aggregateQueryEngine||(this._aggregateQueryEngine=new _l.do({featureStore:this,fieldsIndex:this._metadata.fieldsIndex,geometryType:this._metadata.geometryType,objectIdField:this._metadata.objectIdField,spatialReference:this.spatialReference})),this._aggregateQueryEngine}get isAggregate(){return!0}removeChunks(t){}hasArcadeDependency(t){return this._arcadeDependencies.has(t)}forEach(t){return this.forEachAggregateWorldSpace(t)}forEachInBounds(t,e){}forEachBounds(t,e){const s=(0,ul.vt)();for(const i of t){const t=(0,Ch.jQ)(s,i.geometry,!1,!1);t&&e(t)}}}class ml{constructor(t,e,s,i,r){this.subscription=t,this.reader=e,this.clear=s,this.end=i,this.debugInfo=r,this.type="append"}get id(){return this.subscription.tile.id}createMessage(t,e,s){return{type:"append",clear:this.clear,id:this.id,append:t,end:this.end,debugInfo:this.debugInfo,subscriptionVesrion:this.subscription.version,version:e,attributeEpoch:s}}}class yl{constructor(t,e,s,i,r){this.subscription=t,this.reader=e,this.remove=s,this.end=i,this.debugInfo=r,this.type="update"}get id(){return this.subscription.tile.id}createMessage(t,e,s){return{type:"update",id:this.id,modify:t,debugInfo:this.debugInfo,remove:this.remove,version:e,subscriptionVesrion:this.subscription.version,end:this.end,attributeEpoch:s}}}var xl=s(11006);function bl(t,e){if(!(this instanceof bl))return new bl(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this.toBBox=e:this._initFormat(e)),this.clear()}function wl(t,e,s){if(!s)return e.indexOf(t);for(var i=0;i<e.length;i++)if(s(t,e[i]))return i;return-1}function vl(t,e){Sl(t,0,t.children.length,e,t)}function Sl(t,e,s,i,r){r||(r=zl(null)),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(var n,o=e;o<s;o++)n=t.children[o],Il(r,t.leaf?i(n):n);return r}function Il(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function Ml(t,e){return t.minX-e.minX}function Pl(t,e){return t.minY-e.minY}function Tl(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function Al(t){return t.maxX-t.minX+(t.maxY-t.minY)}function Cl(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function kl(t,e){var s=Math.max(t.minX,e.minX),i=Math.max(t.minY,e.minY),r=Math.min(t.maxX,e.maxX),n=Math.min(t.maxY,e.maxY);return Math.max(0,r-s)*Math.max(0,n-i)}function Fl(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function El(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function zl(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Ol(t,e,s,i,r){for(var n,o=[e,s];o.length;)(s=o.pop())-(e=o.pop())<=i||(n=e+Math.ceil((s-e)/i/2)*i,(0,xl.q)(t,n,e,s,r),o.push(e,n,n,s))}bl.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,s=[],i=this.toBBox;if(!El(t,e))return s;for(var r,n,o,a,h=[];e;){for(r=0,n=e.children.length;r<n;r++)o=e.children[r],El(t,a=e.leaf?i(o):o)&&(e.leaf?s.push(o):Fl(t,a)?this._all(o,s):h.push(o));e=h.pop()}return s},collides:function(t){var e=this.data,s=this.toBBox;if(!El(t,e))return!1;for(var i,r,n,o,a=[];e;){for(i=0,r=e.children.length;i<r;i++)if(n=e.children[i],El(t,o=e.leaf?s(n):n)){if(e.leaf||Fl(t,o))return!0;a.push(n)}e=a.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,s=t.length;e<s;e++)this.insert(t[e]);return this}var i=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===i.height)this._splitRoot(this.data,i);else{if(this.data.height<i.height){var r=this.data;this.data=i,i=r}this._insert(i,this.data.height-i.height-1,!0)}else this.data=i;return this},insert:function(t){return null!=t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=zl([]),this},remove:function(t,e){if(null==t)return this;for(var s,i,r,n,o=this.data,a=this.toBBox(t),h=[],c=[];o||h.length;){if(o||(o=h.pop(),i=h[h.length-1],s=c.pop(),n=!0),o.leaf&&-1!==(r=wl(t,o.children,e)))return o.children.splice(r,1),h.push(o),this._condense(h),this;n||o.leaf||!Fl(o,a)?i?(s++,o=i.children[s],n=!1):o=null:(h.push(o),c.push(s),s=0,i=o,o=o.children[0])}return this},toBBox:function(t){return t},compareMinX:Ml,compareMinY:Pl,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var s=[];t;)t.leaf?e.push.apply(e,t.children):s.push.apply(s,t.children),t=s.pop();return e},_build:function(t,e,s,i){var r,n=s-e+1,o=this._maxEntries;if(n<=o)return vl(r=zl(t.slice(e,s+1)),this.toBBox),r;i||(i=Math.ceil(Math.log(n)/Math.log(o)),o=Math.ceil(n/Math.pow(o,i-1))),(r=zl([])).leaf=!1,r.height=i;var a,h,c,l,u=Math.ceil(n/o),d=u*Math.ceil(Math.sqrt(o));for(Ol(t,e,s,d,this.compareMinX),a=e;a<=s;a+=d)for(Ol(t,a,c=Math.min(a+d-1,s),u,this.compareMinY),h=a;h<=c;h+=u)l=Math.min(h+u-1,c),r.children.push(this._build(t,h,l,i-1));return vl(r,this.toBBox),r},_chooseSubtree:function(t,e,s,i){for(var r,n,o,a,h,c,l,u;i.push(e),!e.leaf&&i.length-1!==s;){for(l=u=1/0,r=0,n=e.children.length;r<n;r++)h=Tl(o=e.children[r]),(c=Cl(t,o)-h)<u?(u=c,l=h<l?h:l,a=o):c===u&&h<l&&(l=h,a=o);e=a||e.children[0]}return e},_insert:function(t,e,s){var i=this.toBBox,r=s?t:i(t),n=[],o=this._chooseSubtree(r,this.data,e,n);for(o.children.push(t),Il(o,r);e>=0&&n[e].children.length>this._maxEntries;)this._split(n,e),e--;this._adjustParentBBoxes(r,n,e)},_split:function(t,e){var s=t[e],i=s.children.length,r=this._minEntries;this._chooseSplitAxis(s,r,i);var n=this._chooseSplitIndex(s,r,i),o=zl(s.children.splice(n,s.children.length-n));o.height=s.height,o.leaf=s.leaf,vl(s,this.toBBox),vl(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(s,o)},_splitRoot:function(t,e){this.data=zl([t,e]),this.data.height=t.height+1,this.data.leaf=!1,vl(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,s){var i,r,n,o,a,h,c,l;for(h=c=1/0,i=e;i<=s-e;i++)o=kl(r=Sl(t,0,i,this.toBBox),n=Sl(t,i,s,this.toBBox)),a=Tl(r)+Tl(n),o<h?(h=o,l=i,c=a<c?a:c):o===h&&a<c&&(c=a,l=i);return l},_chooseSplitAxis:function(t,e,s){var i=t.leaf?this.compareMinX:Ml,r=t.leaf?this.compareMinY:Pl;this._allDistMargin(t,e,s,i)<this._allDistMargin(t,e,s,r)&&t.children.sort(i)},_allDistMargin:function(t,e,s,i){t.children.sort(i);var r,n,o=this.toBBox,a=Sl(t,0,e,o),h=Sl(t,s-e,s,o),c=Al(a)+Al(h);for(r=e;r<s-e;r++)n=t.children[r],Il(a,t.leaf?o(n):n),c+=Al(a);for(r=s-e-1;r>=e;r--)n=t.children[r],Il(h,t.leaf?o(n):n),c+=Al(h);return c},_adjustParentBBoxes:function(t,e,s){for(var i=s;i>=0;i--)Il(e[i],t)},_condense:function(t){for(var e,s=t.length-1;s>=0;s--)0===t[s].children.length?s>0?(e=t[s-1].children).splice(e.indexOf(t[s]),1):this.clear():vl(t[s],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};class Rl{static fromReader(t){const e=[],s=t.copy(),i=(0,ul.vt)();for(;s.next();)s.getBounds(i)&&e.push(s.getIndex());const r=bl(9,(t=>(s.setIndex(t),{minX:s.getBoundsXMin(),minY:s.getBoundsYMin(),maxX:s.getBoundsXMax(),maxY:s.getBoundsYMax()})));return r.load(e),new Rl(r)}constructor(t){this._index=t}search(t){const e={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]};return this._index.search(e)}}var Ll=s(79258);function Dl(t,e,s,i){if(i.isWebMercator){const i=(0,ks.KJ)(t/Ll.$O.radius),r=i-360*Math.floor((i+180)/360),n=[0,0];return Nl(n,0,(0,ks.KJ)(Math.PI/2-2*Math.atan(Math.exp(-e/Ll.$O.radius))),r,s),n}const r=(0,al.Cv)({x:t,y:e},i,q.A.WGS84);if(!r)return null;const n=[0,0];return Nl(n,0,r.y,r.x,s),n}function Nl(t,e,s,i,r){r%2&&(r+=1);let n=0,o=0,a=-90,h=90,c=-180,l=180;for(let t=0;t<r/2;t++){for(let e=0;e<5;e++){const s=(c+l)/2,r=i>s?1:0;n|=r<<29-(e+5*t),c=(1-r)*c+r*s,l=(1-r)*s+r*l}for(let e=0;e<5;e++){const i=(a+h)/2,r=s>i?1:0;o|=r<<29-(e+5*t),a=(1-r)*a+r*i,h=(1-r)*i+r*h}}t[2*e]=n,t[2*e+1]=o}new Float64Array(2),new Float64Array(2);class Bl{constructor(t){this._statistics=t}get statistics(){return this._statistics}}function Gl(t,e,s){if(null==t)return null;const i=e.readArcadeFeature();e.contextTimeZone=s.$view?.timeZone;try{return t.evaluate({...s,$feature:i},t.services)}catch(t){return E.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",t),null}}function Ul(t){return null==t||t===1/0||t===-1/0||"number"==typeof t&&isNaN(t)}function Vl(t,e,s,i){if(null==t)return null!=i?i:null;const r=e.readArcadeFeature();e.contextTimeZone=s.$view?.timeZone;const n=t.evaluate({...s,$feature:r},t.services);return Ul(n)?null!=i?i:null:n}const ql=Math.PI/180;class Wl{static create(t){return new Wl(t.map((t=>function(t){switch(t.statisticType){case"min":return new Yl(t);case"max":return new Xl(t);case"avg":return new Hl(t);case"avg_angle":return new Zl(t);case"sum":case"count":return new $l(t);case"mode":return new Ql(t)}}(t))))}constructor(t){this._statistics=t}values(){return this._statistics.values()}insert(t,e){for(const s of this._statistics)s.insert(t,e)}merge(t){for(let e=0;e<this._statistics.length;e++){const s=this._statistics[e],i=t._statistics[e];if(s.field.name!==i.field.name)throw new Error("InternalError: Tried to merge incompatible statistics");s.merge(i)}}clone(){return new Wl(this._statistics.map((t=>t.clone())))}}class jl{constructor(t){this.field=t}insert(t,e){if(!this.field.computed)return;const s=this.field.computed.read(t,e);Ul(s)||this._insertValue(s)}}class Yl extends jl{constructor(){super(...arguments),this.type="min",this.value=Number.MAX_VALUE}_insertValue(t){this.value=Math.min(this.value,t)}merge(t){this.value=Math.min(this.value,t.value)}clone(){const t=new Yl(this.field);return t.value=this.value,t}}class Xl extends jl{constructor(){super(...arguments),this.type="max",this.value=Number.MIN_VALUE}_insertValue(t){this.value=Math.max(this.value,t)}merge(t){this.value=Math.max(this.value,t.value)}clone(){const t=new Xl(this.field);return t.value=this.value,t}}class $l extends jl{constructor(){super(...arguments),this.type="sum",this.value=0}_insertValue(t){this.value+=t}merge(t){this.value+=t.value}clone(){const t=new $l(this.field);return t.value=this.value,t}}class Hl extends jl{constructor(){super(...arguments),this.type="avg",this._total=0,this._count=0}get value(){return this._total/this._count}_insertValue(t){this._total+=t,this._count+=1}merge(t){this._total+=t._total,this._count+=t._count}clone(){const t=new Hl(this.field);return t._total=this._total,t._count=this._count,t}}class Zl extends jl{constructor(){super(...arguments),this.type="avg_angle",this._x=0,this._y=0,this._count=0}get value(){const t=this._x/this._count,e=this._y/this._count,s=180/Math.PI;return Math.atan2(e,t)*s}_insertValue(t){this._x=this._x+Math.cos(t*ql),this._y=this._y+Math.sin(t*ql),this._count+=1}merge(t){this._x+=t._x,this._y+=t._y,this._count+=t._count}clone(){const t=new Zl(this.field);return t._x=this._x,t._y=this._y,t._count=this._count,t}}class Ql extends jl{constructor(){super(...arguments),this._frequencies=new Map}get value(){let t,e=0;for(const[s,i]of this._frequencies.entries())i>e&&(e=i,t=s);return t}_insertValue(t){const e=this._frequencies.get(t);null!=e?this._frequencies.set(t,e+1):this._frequencies.set(t,1)}merge(t){for(const[e,s]of t._frequencies.entries()){const t=this._frequencies.get(e);null!=t?this._frequencies.set(e,t+s):this._frequencies.set(e,s)}}clone(){const t=new Ql(this.field);return t._frequencies=new Map(this._frequencies),t}}class Kl extends Bl{static create(t,e,s,i){const r=Wl.create(t),n=new Array(32);for(let t=0;t<n.length;t++)n[t]=null;return new Kl(r,e,s,i,n)}constructor(t,e,s,i,r){super(t),this.xNode=e,this.yNode=s,this.depth=i,this.children=r,this._objectIds=new Set,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._xGeohashTotal=0,this._yGeohashTotal=0,this.next=null}get id(){return`${this.xNode}.${this.yNode}`}get containedObjectIds(){return this._objectIds}get count(){return this._count}clone(){const t=new Kl(this._statistics.clone(),this.xNode,this.yNode,this.depth,this.children);return t._count=this._count,t._xWorldTotal=this._xWorldTotal,t._yWorldTotal=this._yWorldTotal,t._xGeohashTotal=this._xGeohashTotal,t._yGeohashTotal=this._yGeohashTotal,t.next=this.next,t._objectIds=new Set(this._objectIds),t}insert(t,e,s,i,r,n){this._count+=1,this._xWorldTotal+=e,this._yWorldTotal+=s,this._xGeohashTotal+=i,this._yGeohashTotal+=r,this._statistics.insert(t,n),this._objectIds.add(t.getObjectId())}merge(t){if(0!==t._count){this._count+=t._count,this._xWorldTotal+=t._xWorldTotal,this._yWorldTotal+=t._yWorldTotal,this._xGeohashTotal+=t._xWorldTotal,this._yGeohashTotal+=t._yWorldTotal,this._statistics.merge(t._statistics);for(const e of t._objectIds.values())this._objectIds.add(e)}}getCentroid(t){throw new Error("getCentroid not supported for GeohashNode")}getGeometry(t,e){const s=this._getLngLatBounds(),[i,r,n,o]=s,a=(0,al.Cv)({rings:[[[i,r],[i,o],[n,o],[n,r],[i,r]]]},q.A.WGS84,t),h=(0,Ch.Ye)(new jt.A,a,!1,!1);return null!=e?(0,Ch.Nl)(new jt.A,h,!1,!1,"esriGeometryPolygon",e,!1,!1):h}getGeometricCentroid(t,e){const s=this._getLngLatBounds(),[i,r,n,o]=s,a=(0,al.Cv)({x:(i+n)/2,y:(r+o)/2},q.A.WGS84,t),h=(0,Ch.qN)(new jt.A,a);return null!=e?(0,Ch.Nl)(new jt.A,h,!1,!1,"esriGeometryPoint",e,!1,!1):h}getAttributes(){const t={aggregateId:this.id};for(const e of this._statistics.values())t[e.field.name]=e.value;return t.aggregateCount=this._count,t}find(t,e,s,i,r,n){if(i>=s)return this;const o=1-i%2,a=3*o+2*(1-o),h=2*o+3*(1-o),c=30-r-a,l=30-n-h,u=((t&7*o+3*(1-o)<<c)>>c)+((e&3*o+7*(1-o)<<l)>>l)*(8*o+4*(1-o)),d=this.children[u];return null==d?null:d.find(t,e,s,i+1,r+a,n+h)}_getLngLatBounds(){const t=this.depth,e=Math.ceil(t/2),s=Math.floor(t/2),i=30-(3*e+2*s),r=30-(2*e+3*s);return function(t,e){let s=-90,i=90,r=-180,n=180;for(let o=0;o<e;o++){const e=Math.ceil((o+1)/2),a=Math.floor((o+1)/2),h=1-o%2,c=30-(3*e+2*a),l=30-(2*e+3*a),u=2*h+3*(1-h),d=(7*h+3*(1-h)<<c&t.geohashX)>>c,_=(3*h+7*(1-h)<<l&t.geohashY)>>l;for(let t=3*h+2*(1-h)-1;t>=0;t--){const e=(r+n)/2,s=d&1<<t?1:0;r=(1-s)*r+s*e,n=(1-s)*e+s*n}for(let t=u-1;t>=0;t--){const e=(s+i)/2,r=_&1<<t?1:0;s=(1-r)*s+r*e,i=(1-r)*e+r*i}}return[r,s,n,i]}({geohashX:this.xNode<<i,geohashY:this.yNode<<r},this.depth)}}class Jl{constructor(t){this._fields=t,this._size=0,this._depth=0,this._root=Kl.create(this._fields,0,0,0)}destroy(){}get size(){return this._size}get depth(){return this._depth}find(t,e,s){return this._root.find(t,e,s,0,0,0)}insert(t,e,s,i,r,n,o){let a=this._root,h=0,c=0,l=0;for(;null!==a;){if(a.insert(t,e,s,i,r,o),h>=n)return;const u=Math.ceil((h+1)/2),d=Math.floor((h+1)/2),_=1-h%2,p=30-(3*u+2*d),f=30-(2*u+3*d),g=(i&7*_+3*(1-_)<<p)>>p,m=(r&3*_+7*(1-_)<<f)>>f,y=g+m*(8*_+4*(1-_));c=c<<3*_+2*(1-_)|g,l=l<<2*_+3*(1-_)|m,null==a.children[y]&&(a.children[y]=Kl.create(this._fields,c,l,h+1),this._depth=Math.max(this._depth,h+1),this._size+=1),h+=1,a=a.children[y]}}putBins(t,e){for(const s of this.getNodes(e)){const e=t.get(s.id);e?e.merge(s):t.set(s.id,s.clone())}}getNodes(t){const e=[],{geohashBounds:s,level:i}=t;let r=this._root;for(;null!==r;){const t=r.depth,n=r.xNode,o=r.yNode;if(t>=i){e.push(r),r=r.next;continue}const a=Math.ceil((t+1)/2),h=Math.floor((t+1)/2),c=1-t%2,l=30-(3*a+2*h),u=30-(2*a+3*h),d=~((1<<l)-1),_=~((1<<u)-1),p=(s.xLL&d)>>l,f=(s.yLL&_)>>u,g=(s.xTR&d)>>l,m=(s.yTR&_)>>u,y=n<<3*c+2*(1-c),x=o<<2*c+3*(1-c),b=y+8*c+4*(1-c),w=x+4*c+8*(1-c),v=Math.max(y,p),S=Math.max(x,f),I=Math.min(b,g),M=Math.min(w,m);let P=null,T=null;for(let t=S;t<=M;t++)for(let e=v;e<=I;e++){const s=e-y+(t-x)*(8*c+4*(1-c)),i=r.children[s];i&&(P||(P=i,P.next=r.next),T&&(T.next=i),T=i,i.next=r.next)}r=P||r.next}return e}}function tu(t,{timeZone:e,timeExtent:s}){return{$view:{scale:t,timeZone:e,timeProperties:{currentStart:s?.start,currentEnd:s?.end}}}}class eu{constructor(t){this._options=t}insert(t,e){const s=t.getCursor(),{arcadeContextInfo:i,scale:r}=this._options,n=tu(r,i);for(;s.next();)this._insertFeature(s,n,e)}_insertFeature(t,e,s){const{featureFilter:i}=this._options;if(null!==i&&!i.check(t))return;let r=0,n=0;if("esriGeometryPoint"===t.geometryType)r=t.readXWorldSpace(),n=t.readYWorldSpace();else{if(s){const e=t.readCentroidForDisplay();if(null==e)return;const[s,i]=e.coords;if(s<0||s>B.CQ||i<0||i>B.CQ)return}const e=t.readCentroidWorldSpace();if(null==e)return;r=e.coords[0],n=e.coords[1]}this._insert(t,r,n,e)}}class su extends eu{constructor(t){super(t),this._tree=new Jl(this._options.fields)}put(t){throw new Error("Geohash tree does not support put")}putBounded(t,e,s){const{geohashLevel:i,spatialReference:r}=this._options,n=function(t,e,s,i){const r=[t.xmin,t.ymin,t.xmax,t.ymax],n=ri.A.fromExtent((0,N.w1)(r,i)),o=(0,al.Cv)(n,i,q.A.WGS84,{densificationStep:64*e});if(!o)return null;const a=(0,Ch.Ye)(new jt.A,o,!1,!1),h=a.coords.filter(((t,e)=>!(e%2))),c=a.coords.filter(((t,e)=>e%2)),l=Math.min(...h),u=Math.min(...c),d=Math.max(...h),_=Math.max(...c),p=Dl(l,u,s,q.A.WGS84),f=Dl(d,_,s,q.A.WGS84);return p&&f?{bounds:r,geohashBounds:{xLL:p[0],yLL:p[1],xTR:f[0],yTR:f[1]},level:s}:null}(e,s,i,r);null!=n&&this._tree.putBins(t,n)}_insert(t,e,s,i){const{geohashLevel:r,spatialReference:n}=this._options,o=Dl(e,s,r,n);o&&this._tree.insert(t,e,s,o[0],o[1],r,i)}}var iu=s(83047);class ru extends Bl{static createId(t,e){return`${t}.${e}`}static create(t,e,s,i){return new ru(t,e,Wl.create(s),i)}constructor(t,e,s,i){super(s),this.gridX=t,this.gridY=e,this._worldUnitsPerCell=i,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._objectIds=new Set}get id(){return ru.createId(this.gridX,this.gridY)}get containedObjectIds(){return this._objectIds}get count(){return this._count}get firstObjectId(){return this._objectIds.values().next().value}get centroidXWorld(){return this._xWorldTotal/this._count}get centroidYWorld(){return this._yWorldTotal/this._count}clone(){const t=new ru(this.gridX,this.gridY,this._statistics.clone(),this._worldUnitsPerCell);return t._count=this._count,t._xWorldTotal=this._xWorldTotal,t._yWorldTotal=this._yWorldTotal,t._firstFeatureAttributes=this._firstFeatureAttributes,t._objectIds=new Set(this._objectIds),t}insert(t,e,s,i){0===this._count?this._firstFeatureAttributes=t.readAttributes():this._firstFeatureAttributes=null,this._count+=1,this._xWorldTotal+=s,this._yWorldTotal+=i,this._statistics.insert(t,e),this._objectIds.add(t.getObjectId())}merge(t){if(0!==t._count){this._count+=t._count,this._firstFeatureAttributes=t._firstFeatureAttributes,this._xWorldTotal+=t._xWorldTotal,this._yWorldTotal+=t._yWorldTotal,this._statistics.merge(t._statistics);for(const e of t._objectIds.values())this._objectIds.add(e)}}getCentroidX(t){return null==t?this.centroidXWorld:(0,Ch.IE)(t,this.centroidXWorld)}getCentroidY(t){return null==t?this.centroidYWorld:(0,Ch.B2)(t,this.centroidYWorld)}getGeometry(t,e){const s=this.gridX*this._worldUnitsPerCell,i=this.gridY*this._worldUnitsPerCell,r=new jt.A([4],[s,i,s+this._worldUnitsPerCell,i,s+this._worldUnitsPerCell,i+this._worldUnitsPerCell,s,i+this._worldUnitsPerCell]);if(null!=e){const t=new jt.A;return(0,Ch.Nl)(t,r,!1,!1,"esriGeometryPolygon",e)}return r}getCentroid(t){const e=new jt.A([],[this.centroidXWorld,this.centroidYWorld]);if(null!=t){const s=new jt.A;return(0,Ch.Nl)(s,e,!1,!1,"esriGeometryPoint",t)}return e}getGeometricCentroid(t,e){const s=this.gridX*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,i=this.gridY*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,r=new jt.A([],[s,i]);if(null!=e){const t=new jt.A;return(0,Ch.Nl)(t,r,!1,!1,"esriGeometryPoint",e)}return r}getAttributes(){const t={aggregateId:this.id};for(const e of this._statistics.values())t[e.field.name]=e.value;return null!=this._firstFeatureAttributes?{...t,...this._firstFeatureAttributes}:t}}function nu(t,e){return(0,iu.GA)(t)*iu.dy*96/e}class ou extends eu{constructor(t){super(t),this._cells=new Map,this._pixelsPerMapUnit=nu(t.spatialReference,t.scale)}put(t){for(const e of this._cells.values()){const s=t.get(e.id);s?s.merge(e):t.set(e.id,e.clone())}}putBounded(t,e,s){const i=[e.xmin,e.ymin,e.xmax,e.ymax],[r,n,o,a]=i,h=Math.floor(r*this._pixelsPerMapUnit/this._options.cellSize),c=Math.floor(n*this._pixelsPerMapUnit/this._options.cellSize),l=Math.ceil(o*this._pixelsPerMapUnit/this._options.cellSize),u=Math.ceil(a*this._pixelsPerMapUnit/this._options.cellSize);for(let e=c;e<=u;e++)for(let s=h;s<=l;s++){const i=`${s}.${e}`,r=this._cells.get(i);if(!r)continue;const n=t.get(r.id);n?r&&!t.has(r.id)&&n.merge(r):t.set(r.id,r.clone())}}_insert(t,e,s,i){const r=e*this._pixelsPerMapUnit,n=s*this._pixelsPerMapUnit,o=Math.floor(r/this._options.cellSize),a=Math.floor(n/this._options.cellSize);this._getCellOrCreate(o,a).insert(t,i,e,s)}_getCellOrCreate(t,e){const s=ru.createId(t,e);let i=this._cells.get(s);if(!i){const r=1*this._options.cellSize/this._pixelsPerMapUnit;i=ru.create(t,e,this._options.fields,r),this._cells.set(s,i)}return i}}var au=s(69397),hu=s(66131),cu=s(44729),lu=s(15032),uu=s(27647),du=s(56400);class _u{static fromBuffer(t,e){return new _u(t,e)}static create(t,e=4294967295){const s=new Uint32Array(Math.ceil(t/32));return new _u(s,e)}constructor(t,e){this._mask=0,this._buf=t,this._mask=e}_getIndex(t){return Math.floor(t/32)}has(t){const e=this._mask&t;return!!(this._buf[this._getIndex(e)]&1<<e%32)}hasRange(t,e){let s=t,i=e;for(;s%32&&s!==i;){if(this.has(s))return!0;s++}for(;i%32&&s!==i;){if(this.has(s))return!0;i--}if(s===i)return!1;for(let t=s/32;t!==i/32;t++)if(this._buf[t])return!0;return!1}set(t){const e=this._mask&t,s=this._getIndex(e),i=1<<e%32;this._buf[s]|=i}setRange(t,e){let s=t,i=e;for(;s%32&&s!==i;)this.set(s++);for(;i%32&&s!==i;)this.set(i--);if(s!==i)for(let t=s/32;t!==i/32;t++)this._buf[t]=4294967295}unset(t){const e=this._mask&t,s=this._getIndex(e),i=1<<e%32;this._buf[s]&=4294967295^i}resize(t){const e=this._buf,s=new Uint32Array(Math.ceil(t/32));s.set(e),this._buf=s}or(t){for(let e=0;e<this._buf.length;e++)this._buf[e]|=t._buf[e];return this}and(t){for(let e=0;e<this._buf.length;e++)this._buf[e]&=t._buf[e];return this}xor(t){for(let e=0;e<this._buf.length;e++)this._buf[e]^=t._buf[e];return this}ior(t){for(let e=0;e<this._buf.length;e++)this._buf[e]|=~t._buf[e];return this}iand(t){for(let e=0;e<this._buf.length;e++)this._buf[e]&=~t._buf[e];return this}ixor(t){for(let e=0;e<this._buf.length;e++)this._buf[e]^=~t._buf[e];return this}any(){for(let t=0;t<this._buf.length;t++)if(this._buf[t])return!0;return!1}copy(t){for(let e=0;e<this._buf.length;e++)this._buf[e]=t._buf[e];return this}clone(){return new _u(this._buf.slice(),this._mask)}clear(){for(let t=0;t<this._buf.length;t++)this._buf[t]=0;return this}forEachSet(t){for(let e=0;e<this._buf.length;e++){let s=this._buf[e],i=32*e;if(s)for(;s;)1&s&&t(i),s>>>=1,i++}}countSet(){let t=0;return this.forEachSet((e=>{t++})),t}}class pu{constructor(t){this._valid=_u.create(t),this._data=new Array(t)}has(t){return this._valid.has(t)}set(t,e){this._valid.set(t),this._data[t]=e}get(t){return this._data[t]}}const fu=(0,n.A)("featurelayer-simplify-thresholds")??[.5,.5,.5,.5],gu=fu[0],mu=fu[1],yu=fu[2],xu=fu[3],bu=(0,n.A)("featurelayer-simplify-payload-size-factors")??[1,2,4],wu=bu[0],vu=bu[1],Su=bu[2],Iu=(0,n.A)("featurelayer-simplify-mobile-factor")??2,Mu=(0,n.A)("esri-mobile"),Pu=4294967295;class Tu{constructor(t){this.metadata=t,this.type="FeatureSetReader",this._deleted=null,this._joined=[],this._objectIdToIndex=null,this._boundsBuffer=[],this._caches=new Map,this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}destroy(){}[Symbol.dispose](){this.destroy()}get isEmpty(){return null!=this._deleted&&this._deleted.countSet()===this.getSize()}getAreaSimplificationThreshold(t,e){let s=1;const i=Mu?Iu:1;e>4e6?s=Su*i:e>1e6?s=vu*i:e>5e5?s=wu*i:e>1e5&&(s=i);let r=0;return t>4e3?r=xu*s:t>2e3?r=yu*s:t>100?r=mu:t>15&&(r=gu),r}getBounds(t){if(function(t,e){if(!(t.length>e))for(;t.length<=e;)t.push(0)}(this._boundsBuffer,4*this.getIndex()+4),this.getBoundsXMin()===Pu)return!1;if(0===this.getBoundsXMin()){const e=this.readGeometryWorldSpace();if(!e)return this.setBoundsXMin(Pu),!1;let s=1/0,i=1/0,r=-1/0,n=-1/0;return e.forEachVertex(((t,e)=>{s=Math.min(s,t),i=Math.min(i,e),r=Math.max(r,t),n=Math.max(n,e)})),this.setBoundsXMin(s),this.setBoundsYMin(i),this.setBoundsXMax(r),this.setBoundsYMax(n),(0,ul.BI)(t,s,i,r,n),!0}const e=this.getBoundsXMin(),s=this.getBoundsYMin(),i=this.getBoundsXMax(),r=this.getBoundsYMax();return(0,ul.BI)(t,e,s,i,r),!0}getBoundsXMin(){return this._boundsBuffer[4*this.getIndex()]}setBoundsXMin(t){this._boundsBuffer[4*this.getIndex()]=t}getBoundsYMin(){return this._boundsBuffer[4*this.getIndex()+1]}setBoundsYMin(t){this._boundsBuffer[4*this.getIndex()+1]=t}getBoundsXMax(){return this._boundsBuffer[4*this.getIndex()+2]}setBoundsXMax(t){this._boundsBuffer[4*this.getIndex()+2]=t}getBoundsYMax(){return this._boundsBuffer[4*this.getIndex()+3]}setBoundsYMax(t){this._boundsBuffer[4*this.getIndex()+3]=t}readAttributeAsTimestamp(t){const e=this.readAttribute(t);return"string"==typeof e?new Date(e).getTime():"number"==typeof e||null==e?e:null}readAttribute(t,e=!1){const s=this._readAttribute(t,e);if(void 0!==s)return s;for(const s of this._joined){s.setIndex(this.getIndex());const i=s._readAttribute(t,e);if(void 0!==i)return i}}readAttributes(){const t=this._readAttributes();for(const e of this._joined){e.setIndex(this.getIndex());const s=e._readAttributes();for(const e of Object.keys(s))t[e]=s[e]}return t}joinAttributes(t){this._joined.push(t)}removeIds(t){if(null==this._objectIdToIndex){const t=new Map,e=this.getCursor();for(;e.next();){const s=e.getObjectId();(0,C.Lw)(s),t.set(s,e.getIndex())}this._objectIdToIndex=t}const e=this._objectIdToIndex;for(const s of t.values())e.has(s)&&this._removeAtIndex(e.get(s))}readOptimizedFeatureWorldSpace(){const t=this.readGeometryWorldSpace(),e=this.readAttributes(),s=this.readCentroidWorldSpace(),i=new ol.Om(t,e,s);return i.objectId=this.getObjectId(),i.displayId=this.getDisplayId(),i}readLegacyFeatureForDisplay(){const t=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(t&&{x:t.coords[0],y:t.coords[1]})??null}}readLegacyFeatureWorldSpace(){const t=this.readCentroidWorldSpace();return{attributes:this.readAttributes(),geometry:this._readLegacyGeometryWorldSpace(),centroid:(t&&{x:t.coords[0],y:t.coords[1]})??null}}readLegacyGeometryForDisplay(){const t=this.readGeometryForDisplay();return(0,Ch.zv)(t,this.geometryType,!1,!1)}readXForDisplay(){return this._readX()}readYForDisplay(){return this._readY()}readXWorldSpace(){const t=this._readX(),e=this.getInTransform();return null==e?t:t*e.scale[0]+e.translate[0]}readYWorldSpace(){const t=this._readY(),e=this.getInTransform();return null==e?t:e.translate[1]-t*e.scale[1]}readGeometryForDisplay(){const t=this._readGeometryDeltaDecoded(!0);if(!t){const t=this._createGeometryFromServerCentroid();return t?t.deltaDecode():null}return t}readGeometryForDisplayTransformed(t){const e=this.readGeometryForDisplay(),s=new jt.A;return(0,Ch.Nl)(s,e,this.hasZ,this.hasM,this.geometryType,t),s.deltaDecode()}readGeometryWorldSpace(){let t=this._readGeometry();if(t||(t=this._createGeometryFromServerCentroid()),!t)return null;const e=t.clone(),s=this.getInTransform();return null!=s&&(0,Ch.Ch)(e,e,this.hasZ,this.hasM,s),e}readCentroidForDisplay(){const t=this.readGeometryForDisplay();return t?this._computeDisplayCentroid(t):this._readServerCentroid()}readCentroidWorldSpace(){const t=this.readGeometryForDisplay(),e=t?this._computeDisplayCentroid(t):this._readServerCentroid();if(!e)return null;const s=e.clone(),i=this.getInTransform();return null!=i&&(0,Ch.Ch)(s,s,this.hasZ,this.hasM,i),s}setCache(t){let e=this._caches.get(t);null==e&&(e=new pu(this.getSize()),this._caches.set(t,e)),this._activeCache=e}setCachedValue(t){this._activeCache.set(this.getIndex(),t)}hasCachedValue(){return this._activeCache.has(this.getIndex())}getCachedValue(){return this._activeCache.get(this.getIndex())}_readGeometryDeltaDecoded(t){const e=this._readGeometry(t);return"esriGeometryPoint"!==this.geometryType&&e&&this.getInTransform()?e.deltaDecode():e}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(t){this._contextTimeZone=t}readArcadeFeature(){return this}hasField(t){return this.fields.has(t)||this._joined.some((e=>e.hasField(t)))}geometry(){const t=this.readGeometryWorldSpace(),e=(0,Ch.zv)(t,this.geometryType,this.hasZ,this.hasM),s=(0,Wt.rS)(e);if(s){if(!this.metadata.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");s.spatialReference=this.metadata.spatialReference}return s}autocastArcadeDate(t,e){return e&&e instanceof Date?this.isUnknownDateTimeField(t)?hu.lY.unknownDateJSToArcadeDate(e):hu.lY.dateJSAndZoneToArcadeDate(e,this.contextTimeZone??du.qU):e}isUnknownDateTimeField(t){return this.metadata.fieldsIndex.getTimeZone(t)===du.L5}field(t){let e=this.fields.get(t);if(e)switch(e.type){case"date-only":case"esriFieldTypeDateOnly":return cu.n.fromReader(this.readAttribute(t,!1));case"time-only":case"esriFieldTypeTimeOnly":return lu.k.fromReader(this.readAttribute(t,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return hu.lY.fromReaderAsTimeStampOffset(this.readAttribute(t,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(t,this.readAttribute(t,!0));default:return this.readAttribute(t,!1)}for(const s of this._joined)if(s.setIndex(this.getIndex()),e=s.fields.get(t),e)switch(e.type){case"date-only":case"esriFieldTypeDateOnly":return cu.n.fromReader(s._readAttribute(t,!1));case"time-only":case"esriFieldTypeTimeOnly":return lu.k.fromReader(s._readAttribute(t,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return hu.lY.fromReaderAsTimeStampOffset(s._readAttribute(t,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(t,s._readAttribute(t,!0));default:return this.readAttribute(t,!1)}throw new Error(`Field ${t} does not exist`)}setField(t,e){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this.fields.fields.map((t=>t.name))}castToText(t=!1){if(!t)return JSON.stringify(this.readLegacyFeatureForDisplay());const e=this.readLegacyFeatureForDisplay();if(!e)return JSON.stringify(null);const s={geometry:e.geometry,attributes:{...e.attributes??{}}};for(const t in s.attributes){const e=s.attributes[t];e instanceof Date&&(s.attributes[t]=e.getTime())}return JSON.stringify(s)}gdbVersion(){return null}fullSchema(){return this.metadata.arcadeSchema}castAsJson(t=null){return{attributes:this._readAttributes(),geometry:!0===t?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(t=null,e=null){return Promise.resolve(this.castAsJson(e))}_getExists(){return null==this._deleted||!this._deleted.has(this.getIndex())}_computeDisplayCentroid(t){if(null==this.getInTransform())return(0,uu.Q)(new jt.A,t,this.hasM,this.hasZ);const e=Yt.fromOptimized(t,this.geometryType);e.yFactor*=-1;const s=_s(e);return s?(s[1]*=-1,new jt.A([],s)):null}copyInto(t){t._joined=this._joined,t._deleted=this._deleted,t._objectIdToIndex=this._objectIdToIndex,t._boundsBuffer=this._boundsBuffer,t._activeCache=this._activeCache,t._caches=this._caches,t._contextTimeZone=this._contextTimeZone}_readLegacyGeometryWorldSpace(){const t=this.readGeometryWorldSpace();return(0,Ch.zv)(t,this.geometryType,!1,!1)}_createGeometryFromServerCentroid(){const t=this._readServerCentroid();if(!t)return null;const[e,s]=t.coords;return this._createQuantizedExtrudedGeometry(e,s)}_createQuantizedExtrudedGeometry(t,e){return"esriGeometryPolyline"===this.geometryType?this._createQuantizedExtrudedLine(t,e):this._createQuantizedExtrudedQuad(t,e)}_createQuantizedExtrudedQuad(t,e){return new jt.A([5],[t-1,e,1,-1,1,1,-1,1,-1,-1])}_createQuantizedExtrudedLine(t,e){return new jt.A([2],[t-1,e+1,1,-1])}_removeAtIndex(t){null==this._deleted&&(this._deleted=_u.create(this.getSize())),this._deleted.set(t)}}class Au extends Tu{static from(t,e){return new Au(t.copy(),e)}constructor(t,e){super(t.metadata),this._currentIndex=-1,this._displayTranslationX=0,this._displayTranslationY=0,this._displayScaleX=1,this._displayScaleY=1,this._reader=t,this._indices=e,this._isPoint="esriGeometryPoint"===t.geometryType}setTransformForDisplay(t){const e=this._reader.getInTransform();if(null==e){const[e,s]=t.scale,[i,r]=t.translate;return this._displayTranslationX=-i/e,this._displayScaleX=1/e,this._displayTranslationY=r/s,this._displayScaleY=1/-s,void(this._displayTransform=t)}const[s,i]=e.scale,[r,n]=e.translate,[o,a]=t.scale,[h,c]=t.translate;if(this._displayScaleX=s/o,this._displayTranslationX=(r-h)/o,this._displayScaleY=i/a,this._displayTranslationY=(-n+c)/a,!this._isPoint&&e)throw new Error("InternalError: Relative transformations not supported for non-point features");this._displayTransform=t}getInTransform(){return this._reader.getInTransform()}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){const t=new Au(this._reader.copy(),this._indices);return t._currentIndex=this._currentIndex,t._displayTransform=this._displayTransform,t._displayTranslationX=this._displayTranslationX,t._displayTranslationY=this._displayTranslationY,t._displayScaleX=this._displayScaleX,t._displayScaleY=this._displayScaleY,t}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(t){this._reader.contextTimeZone=t}get usedMemory(){return au.qK+this._reader.usedMemory}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._reader.readXForDisplay()*this._displayScaleX+this._displayTranslationX}readYForDisplay(){return this._reader.readYForDisplay()*this._displayScaleY+this._displayTranslationY}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){const t=this._reader.readCentroidForDisplay()?.clone();if(t){const[e,s]=t.coords;t.coords[0]=e*this._displayScaleX+this._displayTranslationX,t.coords[1]=s*this._displayScaleY+this._displayTranslationY}return t}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(t,e=!1){return this._reader.readAttribute(t,e)}readAttributes(){return this._reader.readAttributes()}joinAttributes(t){return this._reader.joinAttributes(t)}getBounds(t){return this._reader.getBounds(t)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(t){return this._reader.setDisplayId(t)}setIndex(t){return this._reader.setIndex(t)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){const t=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(t&&{x:t.coords[0],y:t.coords[1]})??null}}readLegacyGeometryForDisplay(){const t=this.readGeometryForDisplay();return(0,Ch.zv)(t,this.geometryType,!1,!1)}readGeometryArea(){return this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}_readAttribute(t,e){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}_readAttributes(){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(t){return this._reader.field(t)}hasField(t){return this._reader.hasField(t)}setField(t,e){return this._reader.setField(t,e)}keys(){return this._reader.keys()}castToText(t=!1){return this._reader.castToText(t)}}class Cu{size(){return this.reader.getSize()}get fields(){return this.reader.fields}invalidate(){this._aggregateIndex=null,this._aggregateIndexHash=null,this._spatialIndex=null}queryFeaturesInBounds(t){const e=this._getSpatialIndex().search(t);return Au.from(this.reader,e)}getAggregateIndex(t){const e=JSON.stringify(t);if(e!==this._aggregateIndexHash){switch(this._aggregateIndexHash=e,t.type){case"grid":this._aggregateIndex=new ou(t);break;case"geohash":this._aggregateIndex=new su(t)}this._aggregateIndex.insert(this.reader,this.isTiled)}return this._aggregateIndex}_getSpatialIndex(){return this._spatialIndex||(this._spatialIndex=Rl.fromReader(this.reader)),this._spatialIndex}}class ku extends Tu{static fromFeatures(t,e){const{objectIdField:s,geometryType:i}=e,r=(0,Ch.Di)([],t,i,!1,!1,s);for(let e=0;e<r.length;e++)r[e].displayId=t[e].displayId;return ku.fromOptimizedFeatures(r,e)}static fromFeatureSet(t,e){const s=(0,Ch.q3)(t,e.objectIdField);return ku.fromOptimizedFeatureSet(s,e)}static fromOptimizedFeatureSet(t,e){const s=ku.fromOptimizedFeatures(t.features,e);return s._exceededTransferLimit=t.exceededTransferLimit,s._transform=t.transform,s._fieldsIndex=new hl.A(t.fields),s}static fromOptimizedFeatures(t,e,s){const i=new ku(t,e);return i._fieldsIndex=e.fieldsIndex,i._transform=s,i}static empty(t){return new ku([],t)}constructor(t,e){super(e),this._exceededTransferLimit=!1,this._featureIndex=-1,this._fieldsIndex=null,this._geometryType=e.geometryType,this._features=t}get fields(){return this._fieldsIndex}get geometryType(){return this._geometryType}get hasFeatures(){return!!this._features.length}get hasNext(){return this._featureIndex+1<this._features.length}get exceededTransferLimit(){return this._exceededTransferLimit}get hasZ(){return!1}get hasM(){return!1}get _current(){return this._features[this._featureIndex]}get usedMemory(){return this._current.usedMemory}removeIds(t){const e=new Set(t);this._features=this._features.filter((t=>!(null!=t.objectId&&e.has(t.objectId))))}getSize(){return this._features.length}getCursor(){return this.copy()}getInTransform(){return this._transform}getAttributeHash(){let t="";for(const e in this._current.attributes)t+=this._current.attributes[e];return t}getIndex(){return this._featureIndex}setIndex(t){this._featureIndex=t}getObjectId(){return this._current?.objectId}getDisplayId(){return this._current.displayId}setDisplayId(t){this._current.displayId=t}copy(){const t=new ku(this._features,this.metadata);return this.copyInto(t),t}next(){for(;++this._featureIndex<this._features.length&&!this._getExists(););return this._featureIndex<this._features.length}readGeometryArea(){return(0,ol.N3)(this._current)?(0,Ch.Rk)(this._current.geometry,2):0}_readX(){return(0,ol.N3)(this._current)?this._current.geometry.coords[0]:0}_readY(){return(0,ol.N3)(this._current)?this._current.geometry.coords[1]:0}_readGeometry(){return(0,ol.N3)(this._current)?this._current.geometry??null:null}_readServerCentroid(){return this._current.centroid}_readAttribute(t,e){if(!this._fieldsIndex){const e=this._current.attributes[t];if(void 0!==e)return e;const s=t.toLowerCase();for(const t in this._current.attributes)if(t.toLowerCase()===s)return this._current.attributes[t];return}const s=this._fieldsIndex.get(t);if(!s)return;const i=this._current.attributes[s.name];return null==i?i:e&&this.fields.isDateField(t)?new Date(i):i}_readAttributes(){return this._current.attributes}copyInto(t){super.copyInto(t),t._featureIndex=this._featureIndex,t._transform=this._transform,t._fieldsIndex=this._fieldsIndex}}function Fu(t){return"localEdit"===t.chunkId}class Eu extends Cu{constructor(t,e){super(),this.metadata=t,this.removed=new Set,this.overriddenIds=new Set,this._features=[],this.chunkId=e,this.normalizedChunkId=e}get reader(){return ku.fromOptimizedFeatures(this._features,this.metadata)}get queryInfo(){return{}}get first(){return!1}get end(){return!1}get isTiled(){return!1}get lastLocalEditDropped(){return this._lastLocalEditDropped}applyOverrides(t){this._onChange();const{reader:e,removed:s}=t,i=[],r=new Set,n=e.getCursor(),o=new Set(s);for(this.overriddenIds.clear();n.next();){const t=n.readOptimizedFeatureWorldSpace(),e=t.objectId;i.push(t),r.add(e),this.overriddenIds.add(e),this.removed.delete(e)}for(const t of this._features){const e=t.objectId;o.has(e)||r.has(e)||(i.push(t),this.overriddenIds.add(e))}this._features=i;for(const t of r.values())this.removed.delete(t);for(const t of s)this.removed.add(t),this.overriddenIds.add(t)}removeOverrides(t){this._lastLocalEditDropped=performance.now(),this._onChange();const e=t.reader.getCursor(),s=new Set;for(;e.next();){const t=e.getObjectId();this.overriddenIds.has(t)&&(s.add(t),this.overriddenIds.delete(t))}this._features=this._features.filter((t=>!s.has(t.objectId)))}getTileReader(t){if(!this._features.length)return null;const e=this.queryFeaturesInBounds(t.bounds);return e.setTransformForDisplay(t.transform),e}_onChange(){this.invalidate()}}class zu extends $c{constructor(t){super(),this._field=t}resize(t){throw new Error("Method not implemented.")}read(t,e){return t.readAttribute(this._field)}readWithDefault(t,e){return t.readAttribute(this._field)}hasArcadeDependency(t){return!1}}class Ou extends $c{static async create(t,e){const s=await(0,bc.Ad)(t,e.spatialReference,e.fields),i=(0,lt.Wm)(t);return new Ou(s,i)}constructor(t,e){super(),this._compiled=t,this._cacheKey=e}resize(t){}read(t,e){return this.hasArcadeDependency("scale")||"system"!==e.$view.timeZone?Gl(this._compiled,t,e):this._readCached(t,e)}readWithDefault(t,e,s){return this.hasArcadeDependency("scale")||"system"!==e.$view.timeZone?Vl(this._compiled,t,e,s):this._readWithDefaultCached(t,e,s)}hasArcadeDependency(t){return this._compiled?.references(t)??!1}_getCacheKey(t){if(!this._compiled?.references("timeProperties"))return this._cacheKey;const{currentStart:e,currentEnd:s}=t.$view.timeProperties;return this._cacheKey+function(t,e){const s=43758.5453*Math.sin(12.9898*t+78.233*e);return s-Math.floor(s)}(e??1,s??1)}_readCached(t,e){if(t.setCache(this._getCacheKey(e)),t.hasCachedValue())return t.getCachedValue();const s=Gl(this._compiled,t,e);return t.setCachedValue(s),s}_readWithDefaultCached(t,e,s){if(t.setCache(this._getCacheKey(e)),t.hasCachedValue())return t.getCachedValue();const i=Vl(this._compiled,t,e,s);return t.setCachedValue(i),i}}var Ru=s(97770),Lu=s(18047),Du=s(68463),Nu=s(30524),Bu=s(32730);class Gu extends $c{static async create(t,e){const s=(0,Bu.lc)(t);return new Gu((t=>s.replaceAll(/{[^}]*}/g,(e=>{const s=e.slice(1,-1),i=t.metadata.fieldsIndex.get(s);if(null==i)return e;const r=t.readAttribute(s);return null==r?"":function(t,e){if(null==t)return"";const s=e.domain;if(s)if("codedValue"===s.type||"coded-value"===s.type){const e=t;for(const t of s.codedValues)if(t.code===e)return t.name}else if("range"===s.type){const{max:i,min:r}=(0,Du.A5)(e),n=+t;if(null!=r&&null!=i&&r<=n&&n<=i)return s.name}let i=t;return(0,Nu.vE)(e)?i=(0,Ru.Yq)(i,(0,Ru.J2)("short-date")):(0,Nu.WA)(e)&&(i=(0,Lu.ZV)(+i)),i||""}(r,i)}))))}constructor(t){super(),this._evaluator=t}resize(t){}read(t,e){return this._evaluator(t)}readWithDefault(t,e,s){const i=this._evaluator(t);return Ul(i)?s:i}hasArcadeDependency(t){return!1}}class Uu extends $c{constructor(t,e){super(),this._field=t,this._normalizationInfo=e}resize(t){throw new Error("Method not implemented.")}read(t,e){return this._readNormalized(t)}readWithDefault(t,e){return this._readNormalized(t)}hasArcadeDependency(t){return!1}_readNormalized(t){const e=t.readAttribute(this._field);if(null==e)return null;const{normalizationField:s,normalizationTotal:i,normalizationType:r}=this._normalizationInfo,n=t.readAttribute(s);switch(r??"esriNormalizeByField"){case"esriNormalizeByField":return n?n?e/n:void 0:null;case"esriNormalizeByLog":return Math.log(e)*Math.LOG10E;case"esriNormalizeByPercentOfTotal":return i?e/i*100:null}}}var Vu=s(39516);const qu=()=>E.A.getLogger("esri.views.2d.layers.features.support.whereUtils"),Wu={getAttribute:(t,e)=>t.readAttribute(e)};async function ju(t,e){try{const s=await(0,Vu.G)(t,e);if(!s.isStandardized){const t=new i.A("mapview - bad input","Unable to apply filter's definition expression, as expression is not standardized.",s);qu().error(t)}return e=>{const i=e.readArcadeFeature();try{return s.testFeature(i,Wu)}catch(e){return qu().warn("mapview-bad-where-clause","Encountered an error when evaluating where clause",t),!0}}}catch(e){return qu().warn("mapview-bad-where-clause","Encountered an error when evaluating where clause",t),t=>!0}}const Yu=()=>E.A.getLogger("esri.views.2d.layers.features.support.ComputedAttributeStorage"),Xu=4294967295;function $u(t,e,s){if(!(t.length>e))for(;t.length<=e;)t.push(s)}class Hu{constructor(t){this._numerics=[],this._strings=[],this._allocatedSize=256,this._bitsets=[],this._instanceIds=[],this._bounds=[],this._dirtyBitset=this.getBitset(this.createBitset()),this.compilationOptions=t}createBitset(){const t=this._bitsets.length;return this._bitsets.push(_u.create(this._allocatedSize,kh)),t+1}async createComputedField(t,e=!1){if(t.expression)try{if(!this.compilationOptions)throw new Error("InternalError: Compilation options not defined");return e?await Gu.create(t.expression,this.compilationOptions):await Ou.create(t.expression,this.compilationOptions)}catch(e){const s=new i.A("featurelayer","Failed to compile arcade expression",{error:e,expression:t.expression});return Yu().error(s),null}if(t.normalizationType||t.normalizationField)return new Uu(t.field,t);if(t.field)return new zu(t.field);const s=new i.A("featurelayer","Unable to create computed field. No expression or field found",{info:t});return Yu().error(s),null}async createWhereClause(t){return t?ju(t,this.compilationOptions.fields):null}getBitset(t){return this._bitsets[t-1]}getComputedNumeric(t,e){return this.getComputedNumericAtIndex(t&kh,0)}setComputedNumeric(t,e,s){return this.setComputedNumericAtIndex(t&kh,s,0)}getComputedString(t,e){return this.getComputedStringAtIndex(t&kh,0)}setComputedString(t,e,s){return this.setComputedStringAtIndex(t&kh,0,s)}getComputedNumericAtIndex(t,e){const s=t&kh;return this._ensureNumeric(e,s),this._numerics[e][s]}setComputedNumericAtIndex(t,e,s){const i=t&kh;this._ensureNumeric(e,i),this._numerics[e][i]=s}getPackedChunkId(t){const e=t&kh;return this._ensureInstanceId(e),this._instanceIds[e]}setPackedChunkId(t,e){const s=t&kh;this._ensureInstanceId(s),this._instanceIds[s]=e}getComputedStringAtIndex(t,e){const s=t&kh;return this._ensureString(e,s),this._strings[e][s]}setComputedStringAtIndex(t,e,s){const i=t&kh;this._ensureString(e,i),this._strings[e][i]=s}getXMin(t){return this._bounds[4*(t&kh)]}getYMin(t){return this._bounds[4*(t&kh)+1]}getXMax(t){return this._bounds[4*(t&kh)+2]}getYMax(t){return this._bounds[4*(t&kh)+3]}setBounds(t,e,s=!1){const i=t&kh;if(!s&&!this._dirtyBitset.has(t))return this._bounds[4*i]!==Xu;this._dirtyBitset.unset(t);const r=e.readGeometryWorldSpace();if($u(this._bounds,4*i+4,0),!r||!r.coords.length)return this._bounds[4*i]=Xu,this._bounds[4*i+1]=Xu,this._bounds[4*i+2]=Xu,this._bounds[4*i+3]=Xu,!1;let n=1/0,o=1/0,a=-1/0,h=-1/0;return r.forEachVertex(((t,e)=>{n=Math.min(n,t),o=Math.min(o,e),a=Math.max(a,t),h=Math.max(h,e)})),this._bounds[4*i]=n,this._bounds[4*i+1]=o,this._bounds[4*i+2]=a,this._bounds[4*i+3]=h,!0}getBounds(t,e){const s=this.getXMin(e),i=this.getYMin(e),r=this.getXMax(e),n=this.getYMax(e);return(0,ul.BI)(t,s,i,r,n),s!==Xu}_ensureNumeric(t,e){this._numerics[t]||(this._numerics[t]=[]),$u(this._numerics[t],e,0)}_ensureInstanceId(t){$u(this._instanceIds,t,0)}_ensureString(t,e){this._strings[t]||(this._strings[t]=[]),$u(this._strings[t],e,null)}}var Zu=s(58727),Qu=s(62660),Ku=s(86420),Ju=s(61956);class td{getObjectId(t){return t.getObjectId()}getAttributes(t){return t.readAttributes()}getAttribute(t,e){return t.readAttribute(e)}getAttributeAsTimestamp(t,e){return t.readAttributeAsTimestamp(e)}cloneWithGeometry(t,e){return t}getGeometry(t){return t.readGeometryWorldSpace()}getCentroid(t,e){return t.readCentroidForDisplay()}}td.Shared=new td;class ed{constructor(t){this._geometryBounds=(0,N.vt)(),this._idToVisibility=new Map,this._serviceInfo=t}static async create(t){const e=new ed(t);return await e.update(t.filterJSON,t.spatialReference),e}get hash(){return this._hash}check(t){return this._applyFilter(t)}clear(){const t=this._resetAllHiddenIds();return this.update(),{show:t,hide:[]}}invalidate(){this._idToVisibility.forEach(((t,e)=>{this._idToVisibility.set(e,0)}))}setKnownIds(t){for(const e of t)this._idToVisibility.set(e,1)}setTrue(t){const e=[],s=[],i=new Set(t);return this._idToVisibility.forEach(((t,r)=>{const n=!!(1&this._idToVisibility.get(r)),o=i.has(r);!n&&o?e.push(r):n&&!o&&s.push(r),this._idToVisibility.set(r,o?3:0)})),{show:e,hide:s}}createQuery(){const{geometry:t,spatialRel:e,where:s,timeExtent:i,objectIds:r}=this;return Ju.A.fromJSON({geometry:t,spatialRel:e,where:s,timeExtent:i,objectIds:r})}async update(t,e){this._hash=JSON.stringify(t);const s=await(0,Zu.T2)(t,null,e);await Promise.all([this._setGeometryFilter(s),this._setIdFilter(s),this._setAttributeFilter(s),this._setTimeFilter(s)])}async _setAttributeFilter(t){if(!t?.where)return this._clause=null,void(this.where=null);this._clause=await ju(t.where,this._serviceInfo.fieldsIndex),this.where=t.where}_setIdFilter(t){this._idsToShow=t?.objectIds&&new Set(t.objectIds),this._idsToHide=t?.hiddenIds&&new Set(t.hiddenIds),this.objectIds=t?.objectIds}async _setGeometryFilter(t){if(!t?.geometry)return this._spatialQueryOperator=null,this.geometry=null,void(this.spatialRel=null);const e=t.geometry,s=t.spatialRel??"esriSpatialRelIntersects",i=await(0,Qu.xt)(s,e,this._serviceInfo.geometryType,this._serviceInfo.hasZ,this._serviceInfo.hasM);(0,Ue.Rg)(this._geometryBounds,e),this._spatialQueryOperator=i,this.geometry=e,this.spatialRel=s}_setTimeFilter(t){if(this.timeExtent=this._timeOperator=null,t?.timeExtent)if(this._serviceInfo.timeInfo)this.timeExtent=t.timeExtent,this._timeOperator=(0,Ku.I)(this._serviceInfo.timeInfo,t.timeExtent,td.Shared);else{const e=new i.A("feature-layer-view:time-filter-not-available","Unable to apply time filter, as layer doesn't have time metadata.",t.timeExtent);E.A.getLogger("esri.views.2d.layers.features.controllers.FeatureFilter").error(e)}}_applyFilter(t){return this._filterByGeometry(t)&&this._filterById(t)&&this._filterByTime(t)&&this._filterByExpression(t)}_filterByExpression(t){return!this.where||this._clause(t)}_filterById(t){return(!this._idsToHide?.size||!this._idsToHide.has(t.getObjectId()))&&(!this._idsToShow?.size||this._idsToShow.has(t.getObjectId()))}_filterByGeometry(t){if(!this.geometry)return!0;const e=t.readGeometryWorldSpace();return!!e&&this._spatialQueryOperator(e)}_filterByTime(t){return null==this._timeOperator||this._timeOperator(t)}_resetAllHiddenIds(){const t=[];return this._idToVisibility.forEach(((e,s)=>{1&e||(this._idToVisibility.set(s,1),t.push(s))})),t}}class sd{static minimal(t,e,s=[]){return new sd({geometryType:t,fieldsIndex:new hl.A(s).toJSON(),objectIdField:e,subtypes:null,subtypeField:null,types:null,globalIdField:null,spatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,typeIdField:null})}static createFeature(t){return new sd(t)}constructor(t){this._options=t,this._fieldsIndex=hl.A.fromJSON(t.fieldsIndex),t.spatialReference&&(this._spatialReference=q.A.fromJSON(t.spatialReference)),this._arcadeSchema={fields:this.fieldsIndex.fields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,objectIdField:this.objectIdField,globalIdField:this._options.globalIdField,spatialReference:this._spatialReference,timeInfo:this._options.timeInfo,typeIdField:this._options.typeIdField??void 0,types:this._options.types??void 0,subtypeField:this._options.subtypeField,subtypes:this._options.subtypes??void 0}}get fieldsIndex(){return this._fieldsIndex}get geometryType(){return"esriGeometryMultiPatch"===this._options.geometryType?"esriGeometryPolygon":this._options.geometryType}get serviceGeometryType(){return this._options.geometryType}get subtypeField(){return this._options.subtypeField}get timeInfo(){return this._options.timeInfo}get objectIdField(){return this._options.objectIdField}get globalIdField(){return this._options.globalIdField}get arcadeSchema(){return this._arcadeSchema}get spatialReference(){return this._spatialReference}get timeReferenceUnknownClient(){return this._options.timeReferenceUnknownClient}}class id extends pl{constructor(t,e){super(t),this.bins=new Map,this.featureCache=new Map,this.done=!1,this._store=e}reset(){this.destroy(),this.done=!1}invaldateForLocalEditDropped(){this.handledChunks.clear(),this.bins.clear()}destroy(){const t=this.subscription.tile.key.level;for(const e of this.featureCache.keys())this._store.releaseDisplayIdForObjectId(`${e}.${t}`);this.bins.clear(),this.featureCache.clear(),this.handledChunks.clear()}get tile(){return this.subscription.tile}*featuresWorldSpace(){for(const t of this.featureCache.values()){const e=t.clone();e.geometry&&(0,Ch.Ch)(e.geometry,e.geometry,!1,!1,this.subscription.tile.transform),yield e}}}class rd extends gl{static async create(t,e,s,i,r){const n=new Hu({spatialReference:e}),o=await Promise.all(t.fields.map((async t=>cl.create(n,t)))),a=t.featureFilter?await ed.create({geometryType:s.metadata.geometryType,hasM:!1,hasZ:!1,timeInfo:s.metadata.timeInfo,fieldsIndex:s.metadata.fieldsIndex,spatialReference:e,filterJSON:t.featureFilter}):null;return"geohash"===t.index.type&&await(0,al.Nk)(e,q.A.WGS84),new rd(t,a,r,o,e,s,i)}constructor(t,e,s,i,r,n,o){super(n,o,r,i),this._schema=t,this._featureFilter=e,this._arcadeContextInfo=s,this._metadata=sd.createFeature({geometryType:"esriGeometryPolygon",objectIdField:"aggregateId",fieldsIndex:new hl.A(t.fields).toJSON(),globalIdField:null,spatialReference:n.metadata.spatialReference,subtypeField:null,subtypes:null,timeInfo:null,timeReferenceUnknownClient:null,typeIdField:null,types:null})}createState(t){return new id(t,this._attributeStore)}async*applyLocalEdit(t){for(const t of this._sendStates.values()){t.reset();const e=new ml(t.subscription,ku.empty(this._source.metadata),!0,!1,{});yield e}}displayMap(t,e,s){const i=new Map(t.map((t=>[e(t),t]))),r=[];for(const t of this._sendStates.values())for(const e of t.featuresWorldSpace()){const{objectId:t,displayId:n}=e,o=i.get(t);if(null!=o){const e=s(n,o,t);r.push(e),i.delete(t)}}return r}getDisplayFeatures(t){const e=new Set(t),s=new Set,i=[];for(const t of this._sendStates.values())for(const r of t.featuresWorldSpace())e.has(r.displayId)&&!s.has(r.objectId)&&(r.geometry&&i.push({...(0,Ch.oN)(r,this._metadata.geometryType,!1,!1),displayId:r.displayId}),s.add(r.objectId));return{features:[],aggregates:i}}getFeatureObjectIdsForAggregate(t){for(const e of this._sendStates.values())for(const s of e.bins.values())if(s.id===t)return Array.from(s.containedObjectIds);return[]}beforeUpdateChunks(){const t=this._source.chunks();if(!t.length)return;let e=!1;for(const s of t)Fu(s)&&s.lastLocalEditDropped!==this._lastHandledLocalEdit&&(this._lastHandledLocalEdit=s.lastLocalEditDropped,e=!0);if(e)for(const t of this._sendStates.values())t.invaldateForLocalEditDropped()}async*updateChunks(){for(const t of this._sendStates.values())yield*this._update(t,this._source)}forEachAggregateWorldSpace(t){const e=new Set;for(const s of this._sendStates.values())for(const i of s.featuresWorldSpace())e.has(i.objectId)||(t(i),e.add(i.objectId))}_createIndexOptions(t){switch(this._schema.index.type){case"geohash":return{type:"geohash",fields:this.aggregateFields,featureFilter:this._featureFilter,geohashLevel:this._schema.index.fixBinLevel,spatialReference:this.spatialReference,arcadeContextInfo:this._arcadeContextInfo,scale:t.scale};case"grid":{const e=this._schema.index.fixedBinLevel,s=null!=e?t.tileInfoView.getLODInfoAt(e).scale:t.scale;return{type:"grid",fields:this.aggregateFields,cellSize:this._schema.index.size,featureFilter:this._featureFilter,spatialReference:this.spatialReference,arcadeContextInfo:this._arcadeContextInfo,scale:s}}}}async*_update(t,e){const{handledChunks:s,subscription:i,bins:r,featureCache:n}=t,o=i.tile;if(t.done)return;for(const i of e.chunks()){if(s.has(i.chunkId))continue;s.add(i.chunkId);const e=i.queryInfo;if("tileId"in e){const t=new p.A(e.tileId);if(t.level!==o.level||t.world!==o.key.world)continue}i.getAggregateIndex(this._createIndexOptions(t.tile)).putBounded(r,t.tile.extent,t.tile.resolution)}const a=[],h=i.tile.transform,c=i.tile.key.level;for(const t of r.values()){let e=n.get(t.id);if(e)e.attributes=t.getAttributes();else{const s=t.getGeometry(this.spatialReference,h);e=new ol.Om(s,t.getAttributes(),null),s||(e.centroid=t.getGeometricCentroid(this.spatialReference,h)),e.objectId=t.id,e.displayId=this._attributeStore.createDisplayIdForObjectId(`${e.objectId}.${c}`),n.set(t.id,e)}a.push(e)}this.events.emit("changed"),t.done=!e.updateTracking.updating;const l=ku.fromOptimizedFeatures(a,this._metadata,h),u=l.getCursor(),d=t.subscription.tile.createArcadeEvaluationOptions(this._arcadeContextInfo);for(;u.next();)this._attributeStore.setAttributeData(u.getDisplayId(),u,d);const _=new yl(t.subscription,l,[],t.done,{});yield _}}class nd{constructor(t,e){this.inner=t,this.displayId=e}}class od extends pl{constructor(t){super(t),this.didSend=!1,this.done=!1}}class ad{constructor(t,e,s,i,r){this._level=t,this._scale=e,this._indexOptions=s,this._clusterRadius=i,this._store=r,this._cells=new Map,this._handledChunks=new Set,this._statistics=new Map,this._clusters=new Map}destroy(){this._clearClusters()}_clearClusters(){for(const t of this._clusters.values())this._store.releaseDisplayIdForObjectId(t.inner.id);this._clusters.clear()}*aggregatesWorldSpace(){for(const t of this._clusters.values()){const e=t.inner.getCentroid(null),s=new ol.Om(e,t.inner.getAttributes(),null);s.objectId=t.inner.id,s.displayId=t.displayId,yield s}}clusters(){return this._clusters.values()}updateChunks(t,e){let s=!1;for(const e of t){const t=e.queryInfo;"tileId"in t&&new p.A(t.tileId).level!==this._level||this._handledChunks.has(e.normalizedChunkId)||(this._handledChunks.add(e.normalizedChunkId),s=!0,e.getAggregateIndex({...this._indexOptions,scale:this._scale}).put(this._cells))}const i={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0},r=nu(this._indexOptions.spatialReference,this._scale),n=this._indexOptions.cellSize;for(const{subscription:t}of e){const e=t.tile.bounds,s=Math.floor(e[0]*r/n),o=Math.floor(e[1]*r/n),a=Math.ceil(e[2]*r/n),h=Math.ceil(e[3]*r/n);i.xMin=Math.min(i.xMin,s),i.yMin=Math.min(i.yMin,o),i.xMax=Math.max(i.xMax,a),i.yMax=Math.max(i.yMax,h)}return null!=this._lastCellBounds&&i.xMin===this._lastCellBounds.xMin&&i.yMin===this._lastCellBounds.yMin&&i.yMin===this._lastCellBounds.yMin&&i.yMax===this._lastCellBounds.yMax||(s=!0,this._lastCellBounds=i),s&&this._clusterCells(i),s}async updateStatistics(t){let e=!1;for(const t of this._clusters.values())t.inner.count>1&&(e=this._updateAggregateStatistics(this._statistics,t.inner)||e);if(e){const e=Array.from(this._statistics.entries()).map((([t,e])=>({fieldName:t,minValue:e.minValue,maxValue:e.maxValue})));await t.container.updateStatistics(this._level,e)}}createAggregateFeatures(t,e){const s=t.subscription,i=[],r=s.tile.transform;for(const t of this._clusters.values()){let e=t.inner.getCentroidX(r);const n=t.inner.getCentroidY(r),o=s.tile.lod,a=o.wrap?o.worldSize[0]:null,h=1===t.inner.count?t.inner.firstObjectId:t.inner.id,c=t.displayId;if(null!=a)if(1===a){const s=new jt.A([],[e,n]),r=new ol.Om(s,t.inner.getAttributes(),null);r.geometry.coords[0]-=B.CQ,r.objectId=h,r.displayId=c,i.push(r);const o=new jt.A([],[e,n]),a=new ol.Om(o,t.inner.getAttributes(),null);a.geometry.coords[0]+=B.CQ,a.objectId=h,a.displayId=c,i.push(a)}else e>B.CQ+B.CQ/2?e-=a*B.CQ:e<-B.CQ/2&&(e+=a*B.CQ);if(e<B.CQ+128&&e>=-128&&n<B.CQ+128&&n>=-128){const s=new jt.A([],[e,n]),r=new ol.Om(s,t.inner.getAttributes(),null);r.objectId=h,r.displayId=c,i.push(r)}}return ku.fromOptimizedFeatures(i,e,s.tile.transform)}_clusterCells(t){let e=Array.from(this._cells.values());e=e.sort(((t,e)=>e.count-t.count));const s=[];for(const t of this._clusters.values())s.push(t.inner.id);this._clusters.clear();const i=this._clusterRadius*(1/nu(this._indexOptions.spatialReference,this._scale)),r=1+this._clusterRadius/this._indexOptions.cellSize,n=new Set;for(const s of e){if(n.has(s.id))continue;if(s.gridX<t.xMin||s.gridX>t.xMax||s.gridY<t.yMin||s.gridY>t.yMax)continue;const e=this._store.createDisplayIdForObjectId(s.id),o=new nd(s.clone(),e);n.add(s.id),this._clusters.set(s.id,o);const a=s.centroidXWorld,h=s.centroidYWorld;for(let t=s.gridY-r;t<=s.gridY+r;t++)for(let e=s.gridX-r;e<=s.gridX+r;e++){if(t===s.gridY&&e===s.gridX)continue;const r=this._cells.get(ru.createId(e,t));if(!r||n.has(r.id))continue;const c=Math.abs(r.centroidXWorld-a),l=Math.abs(r.centroidYWorld-h);c<i&&l<i&&(o.inner.merge(r),n.add(r.id))}}for(const t of s)this._store.releaseDisplayIdForObjectId(t)}_updateAggregateStatistics(t,e){let s=!1;for(const i of e.statistics.values()){if("esriFieldTypeString"===i.field.type)continue;const e=i.value,r=i.field,n=t.get(r.name);if(n){const{minValue:t,maxValue:i}=n,r=Math.min(n.minValue,e),o=Math.max(n.maxValue,e);t===r&&i===o||(n.minValue=r,n.maxValue=o,s=!0)}else t.set(r.name,{minValue:e,maxValue:e}),s=!0}return s}}class hd extends gl{static async create(t,e,s,i,r,n){const o=new Hu({spatialReference:s}),a={type:"grid",fields:await Promise.all(e.fields.map((async t=>cl.create(o,t)))),spatialReference:s,featureFilter:e.featureFilter?await ed.create({geometryType:i.metadata.geometryType,hasM:!1,hasZ:!1,timeInfo:i.metadata.timeInfo,fieldsIndex:i.metadata.fieldsIndex,spatialReference:s,filterJSON:e.featureFilter}):null,cellSize:e.clusterRadius/4,arcadeContextInfo:n};return new hd(t,e.clusterRadius,a,e.fields,i,r)}constructor(t,e,s,i,r,n){super(r,n,s.spatialReference,s.fields),this._connection=t,this._clusterRadius=e,this._indexOptions=s,this._cellsPerScale=new Map,this._metadata=sd.createFeature({geometryType:"esriGeometryPoint",objectIdField:"aggregateId",fieldsIndex:new hl.A([...i,...this._source.metadata.fieldsIndex.fields,{name:"aggregateId",alias:"aggregateId",type:"esriFieldTypeOID"}]).toJSON(),globalIdField:null,spatialReference:r.metadata.spatialReference,subtypeField:null,subtypes:null,timeInfo:null,timeReferenceUnknownClient:null,typeIdField:null,types:null})}get enablePixelBuffering(){return!1}invalidate(){super.invalidate();for(const t of this._cellsPerScale.values())t.destroy();this._cellsPerScale.clear()}onSubscribe(t){super.onSubscribe(t),this._requiredLevel=t.tile.level,this._requiredScale=t.tile.scale}createState(t){return new od(t)}async*applyLocalEdit(t){for(const t of this._cellsPerScale.values())t.destroy();this._cellsPerScale.clear();for(const t of this._sendStates.values())t.done=!1}displayMap(t,e,s){const i=new Map(t.map((t=>[e(t),t]))),r=[],n=this._getClusterState(this._requiredLevel,this._requiredScale);for(const t of n.clusters()){const e=i.get(t.inner.id);if(null==e){if(1===t.inner.count){const{firstObjectId:e}=t.inner,n=e?i.get(e):null;if(null!=n){const o=s(t.displayId,n,e);r.push(o),i.delete(e)}}}else{const n=s(t.displayId,e,t.inner.id);r.push(n),i.delete(t.inner.id)}}return r}getDisplayFeatures(t){const e=new Set(t),s=new Set,i=[],r=[],n=this._getClusterState(this._requiredLevel,this._requiredScale);for(const t of n.aggregatesWorldSpace())if(e.has(t.displayId)&&!s.has(t.displayId)){const e=(0,Ch.oN)(t,this._metadata.geometryType,!1,!1);if(s.add(t.displayId),1===e.attributes.cluster_count){i.push({...e,displayId:t.displayId});continue}r.push({...e,displayId:t.displayId})}return{features:i,aggregates:r}}getFeatureObjectIdsForAggregate(t){const e=this._getClusterState(this._requiredLevel,this._requiredScale);for(const s of e.clusters())if(s.inner.id===t)return Array.from(s.inner.containedObjectIds);return[]}async*updateChunks(){const t=this._source.chunks();if(!t.length)return;for(const e of t)Fu(e)&&e.lastLocalEditDropped!==this._lastHandledLocalEdit&&(this.invalidate(),this._lastHandledLocalEdit=e.lastLocalEditDropped);const e=this._getClusterState(this._requiredLevel,this._requiredScale),s=Array.from(this._sendStates.values()).filter((t=>t.subscription.tile.level===this._requiredLevel));if(e.updateChunks(t,s)||!this._source.updateTracking.updating)for(const t of s)t.subscription.tile.level===this._requiredLevel&&(t.didSend=!1,t.done=!1);const i=Array.from(this._sendStates.values()).filter((t=>t.done)).map((t=>t.subscription.tile.key)),r=new Set(i);for(const t of this._sendStates.values()){if(this._source.updateTracking.updating){if(i.some((e=>e.containsChild(t.subscription.tile.key))))continue;if(t.subscription.tile.key.getChildKeys().every((t=>r.has(t))))continue}t.didSend||t.subscription.tile.level!==this._requiredLevel||(t.didSend=!0,yield*this._update(t,e,this._source))}await e.updateStatistics(this._connection)}forEachAggregateWorldSpace(t){if(null==this._requiredLevel||null==this._requiredScale)return;const e=this._getClusterState(this._requiredLevel,this._requiredScale);for(const s of e.aggregatesWorldSpace())t(s)}_getClusterState(t,e){if(null==t||null==e)throw new Error("InternalError: Level and scale must be defined");let s=this._cellsPerScale.get(e);return s||(s=new ad(t,e,this._indexOptions,this._clusterRadius,this._attributeStore),this._cellsPerScale.set(e,s)),s}async*_update(t,e,s){if(t.done)return;const i=e.createAggregateFeatures(t,this._metadata);this.events.emit("changed"),t.done=!s.updateTracking.updating;const r=i.getCursor(),n=t.subscription.tile.createArcadeEvaluationOptions(this._indexOptions.arcadeContextInfo);for(;r.next();)this._attributeStore.setAttributeData(r.getDisplayId(),r,n);const o=new ml(t.subscription,i,!0,t.done,{});yield o}}class cd extends pl{}class ld extends fl{constructor(t,e,s){super(t,e),this._arcadeContextInfo=s,this.handledChunks=new Set,this.handledChunksForIdCreation=new Set,this.handledChunksForAttributeData=new Set,this._streamLayerDeferredObjectIdsToRemove=[]}destroy(){super.destroy();for(const t of this._source.chunks())this._cleanupChunkIds(t)}invalidateAttributeData(t){this.handledChunksForAttributeData.clear(),this._arcadeContextInfo=t,this._evalOptions=tu(this._evalOptions.$view.scale,t)}onSubscribe(t){super.onSubscribe(t),this._evalOptions=t.tile.createArcadeEvaluationOptions(this._arcadeContextInfo)}createState(t){return new cd(t)}get aggregateQueryEngine(){return null}displayMap(t,e,s){const i=new Map(t.map((t=>[e(t),t]))),r=[];for(const t of this._source.chunks()){const e=t.reader.getCursor();for(;e.next();){const t=e.getObjectId(),n=e.getDisplayId(),o=i.get(t);if(null!=o){const e=s(n,o,t);r.push(e),i.delete(t)}}}return r}getDisplayFeatures(t){const e=new Set(t),s=new Set,i=[];for(const t of this._source.chunks()){const r=t.reader.getCursor();for(;r.next();){const t=r.getObjectId(),n=r.getDisplayId();e.has(n)&&!s.has(t)&&(i.push({...r.readLegacyFeatureWorldSpace(),displayId:n}),s.add(t))}}return{features:i,aggregates:[]}}async*applyLocalEdit(t){const e=[],s=t.reader.getCursor();for(;s.next();){const t=s.getObjectId(),i=this._attributeStore.createDisplayIdForObjectId(t);s.setDisplayId(i),this._attributeStore.setAttributeData(i,s,this._evalOptions),e.push(i)}const i=[];for(const e of t.removed){const t=this._attributeStore.getDisplayIdForObjectId(e);null!=t&&i.push(t)}(0,n.A)("esri-2d-update-debug")&&console.debug("FeatureUpdateStrategy.applyLocalEdit",{message:t,modifiedDisplayIds:e,removedDisplayIds:i});const r=new Eu(this._source.metadata,"localEdit");r.applyOverrides(t),this.handledChunks.add(r.chunkId),this.handledChunksForAttributeData.add(r.chunkId),this.handledChunksForIdCreation.add(r.chunkId);for(const t of this._sendStates.values())t.handledChunks.add(r.chunkId),yield new yl(t.subscription,null,e,!1,r.queryInfo);for(const t of this._sendStates.values()){const e=r.getTileReader(t.subscription.tile);yield new yl(t.subscription,e,i,!1,r.queryInfo)}for(const e of t.removed)this._attributeStore.releaseDisplayIdForObjectId(e)}async*updateChunks(){if(this._source.chunks().length){await this._updateAttributeData();for(const t of this._sendStates.values())yield*this._update(t)}}removeChunks(t){for(const e of t)this.handledChunks.delete(e.chunkId),this.handledChunksForAttributeData.delete(e.chunkId),this._cleanupChunkIds(e)}afterUpdateChunks(){for(const t of this._streamLayerDeferredObjectIdsToRemove)this._attributeStore.releaseDisplayIdForObjectId(t);this._streamLayerDeferredObjectIdsToRemove=[]}_cleanupChunkIds(t){if(this.handledChunksForIdCreation.has(t.chunkId)){const e=t.reader.getCursor();for(;e.next();){const t=e.getObjectId();this._source.isStream?this._streamLayerDeferredObjectIdsToRemove.push(t):this._attributeStore.releaseDisplayIdForObjectId(t)}this.handledChunksForIdCreation.delete(t.chunkId)}}async _updateAttributeData(){for(const t of this._source.chunks()){const{chunkId:e,reader:s}=t;if(!this.handledChunksForIdCreation.has(e)){this.handledChunksForIdCreation.add(e);const t=s.getCursor();for(;t.next();){const e=this._attributeStore.createDisplayIdForObjectId(t.getObjectId());t.setDisplayId(e)}}}for(const t of this._source.chunks())if(!this.handledChunksForAttributeData.has(t.chunkId)){this.handledChunksForAttributeData.add(t.chunkId);const e=t.reader.getCursor();for(;e.next();){const t=e.getDisplayId();this._attributeStore.setAttributeData(t,e,this._evalOptions)}}}*_update(t){const{subscription:e,handledChunks:s}=t;for(const i of this._source.chunks()){const{chunkId:r}=i;if(s.has(r))continue;s.add(r);const n=i.getTileReader(e.tile);n&&(yield new ml(t.subscription,n,!1,i.end,i.queryInfo))}}}class ud{constructor(t){this.data=t,this._referenceCount=0}increment(){this._referenceCount+=1}decrement(){this._referenceCount-=1}empty(){return 0===this._referenceCount}}class dd{constructor(){this._freeIdsGenerationA=[],this._freeIdsGenerationB=[],this._idCounter=1,this._freeIds=this._freeIdsGenerationA,this._objectIdToDisplayId=new Map}createIdForObjectId(t){let e=this._objectIdToDisplayId.get(t);return e?e.increment():(e=new ud((0|this._getFreeId())>>>0),e.increment(),this._objectIdToDisplayId.set(t,e)),e.data}releaseIdForObjectId(t){const e=this._objectIdToDisplayId.get(t);e&&(e.decrement(),e.empty()&&(this._objectIdToDisplayId.delete(t),this._freeIds.push(e.data)))}getDisplayIdForObjectId(t){const e=this._objectIdToDisplayId.get(t);return null!=e?e.data:null}releaseAll(){for(const t of this._objectIdToDisplayId.values())this._freeIds.push(t.data);this._objectIdToDisplayId.clear()}incrementGeneration(){this._freeIds=this._freeIds===this._freeIdsGenerationA?this._freeIdsGenerationB:this._freeIdsGenerationA}_getFreeId(){return this._freeIds.length?this._freeIds.pop():this._idCounter++}}const _d=()=>E.A.getLogger("esri.views.layers.2d.features.support.AttributeStore"),pd=(_d(),()=>null),fd=(0,n.A)("esri-shared-array-buffer");(0,n.A)("esri-atomics");class gd{constructor(t,e,s){this.size=0,this.texelSize=4,this.dirtyStart=0,this.dirtyEnd=0;const{pixelType:i,layout:r,textureOnly:n}=e;this.textureOnly=n||!1,this.pixelType=i,this.layout=r,this._resetRange(),this.size=t,this.isLocal=s,n||(this.data=this._initData(i,t))}get buffer(){return this.data?.buffer}unsetComponentAllTexels(t,e){const s=this.data;for(let i=0;i<this.size*this.size;i++)s[i*this.texelSize+t]&=~e;this.dirtyStart=0,this.dirtyEnd=this.size*this.size-1}setComponentAllTexels(t,e){const s=this.data;for(let i=0;i<this.size*this.size;i++)s[i*this.texelSize+t]|=255&e;this.dirtyStart=0,this.dirtyEnd=this.size*this.size-1}setComponent(t,e,s){const i=this.data;for(const r of s)i[r*this.texelSize+t]|=e,this.dirtyStart=Math.min(this.dirtyStart,r),this.dirtyEnd=Math.max(this.dirtyEnd,r)}setComponentTexel(t,e,s){this.data[s*this.texelSize+t]|=e,this.dirtyStart=Math.min(this.dirtyStart,s),this.dirtyEnd=Math.max(this.dirtyEnd,s)}unsetComponentTexel(t,e,s){this.data[s*this.texelSize+t]&=~e,this.dirtyStart=Math.min(this.dirtyStart,s),this.dirtyEnd=Math.max(this.dirtyEnd,s)}getData(t,e){const s=Fh(t);return this.data[s*this.texelSize+e]}setData(t,e,s){const i=Fh(t),r=1<<e;this.layout&r?null!=this.data&&(this.data[i*this.texelSize+e]=s,this.dirtyStart=Math.min(this.dirtyStart,i),this.dirtyEnd=Math.max(this.dirtyEnd,i)):_d().error("mapview-attributes-store","Tried to set a value for a texel's readonly component")}expand(t){if(this.size=t,!this.textureOnly){const e=this._initData(this.pixelType,t),s=this.data;e.set(s),this.data=e}}toMessage(){const t=this.dirtyStart,e=this.dirtyEnd,s=this.texelSize;if(t>e)return null;this._resetRange();const i=!this.isLocal,r=this.pixelType,n=this.layout,o=this.data;return{start:t,end:e,data:i&&o.slice(t*s,(e+1)*s)||null,pixelType:r,layout:n}}_initData(t,e){const s=ArrayBuffer,r=function(t){switch(t){case dt.ld.UNSIGNED_BYTE:return Uint8Array;case dt.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case dt.ld.FLOAT:return Float32Array;default:return void E.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new i.A("webgl-utils",`Unable to handle type ${t}`))}}(t),n=new r(new s(e*e*4*r.BYTES_PER_ELEMENT));for(let t=0;t<n.length;t+=4)n[t+1]=255;return n}_resetRange(){this.dirtyStart=2147483647,this.dirtyEnd=0}}class md{constructor(t){this._client=t,this._filters=[],this._blocks=new Array,this._attributeComputeInfo=null,this._abortController=new AbortController,this._size=B.TB,this._idsToHighlight=new Map,this._arcadeDependencies=new Set,this._initialized=!1,this.version=0,this._idGenerator=new dd,this._epoch=1}destroy(){this._abortController.abort()}_initialize(){if(null!=this._blockDescriptors)return;const t=dt.ld.FLOAT;pd(`Creating AttributeStore ${fd?"with":"without"} shared memory`),this._blockDescriptors=[{pixelType:dt.ld.UNSIGNED_BYTE,layout:1},{pixelType:dt.ld.UNSIGNED_BYTE,layout:15,textureOnly:!0},{pixelType:dt.ld.UNSIGNED_BYTE,layout:15,textureOnly:!0},{pixelType:t,layout:15},{pixelType:t,layout:15},{pixelType:t,layout:15},{pixelType:t,layout:15},{pixelType:dt.ld.FLOAT,layout:15}],this._blocks=this._blockDescriptors.map((()=>null))}get hasHighlight(){return this._idsToHighlight.size>0}createDisplayIdForObjectId(t){return this._idGenerator.createIdForObjectId(t)}releaseDisplayIdForObjectId(t){return this._idGenerator.releaseIdForObjectId(t)}getDisplayIdForObjectId(t){return this._idGenerator.getDisplayIdForObjectId(t)}incrementDisplayIdGeneration(){this._idGenerator.incrementGeneration()}hasArcadeDependency(t){return this._arcadeDependencies.has(t)}releaseAllIds(){this._idGenerator.releaseAll()}async update(t,e,s,i,r=0){const o=(0,V.Ui)(this._schema,t);if(this.version=r,o&&((0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${r}] AttributeStore.update`,{changed:o}),this._schema=t,this._attributeComputeInfo=null,this._initialize(),null!=t))if(s&&(this._filters=await Promise.all(t.filters.map((t=>t?ed.create({geometryType:s.geometryType,hasM:!1,hasZ:!1,timeInfo:s.timeInfo,fieldsIndex:s.fieldsIndex,spatialReference:i??s.spatialReference,filterJSON:t}):null)))),"subtype"!==t.type)this._attributeComputeInfo={isSubtype:!1,map:new Map},await Promise.all(t.bindings.map((async t=>{const s=await this._bind(e,t);this._updateReferences(s)})));else{this._attributeComputeInfo={isSubtype:!0,subtypeField:t.subtypeField,map:new Map};for(const s in t.bindings){const i=t.bindings[s];await Promise.all(i.map((async t=>{const i=await this._bind(e,t,parseInt(s,10));this._updateReferences(i)})))}}}setHighlight(t,e){const s=this._getBlock(0);s.unsetComponentAllTexels(0,(1<<B.U5)-1);for(const{displayId:e,highlightFlags:i}of t){if(null==e)continue;const t=Fh(e);s.setComponent(0,i,[t])}this._idsToHighlight.clear();for(const{objectId:e,highlightFlags:s}of t)this._idsToHighlight.set(e,s);for(const{objectId:t,highlightFlags:s}of e)this._idsToHighlight.set(t,s)}setData(t,e,s,i){const r=Fh(t);this._ensureSizeForTexel(r),this._getBlock(e).setData(t,s,i)}getData(t,e,s){return this._getBlock(e).getData(t,s)}getHighlightFlags(t){return this._idsToHighlight.get(t)||0}unsetAttributeData(t){const e=Fh(t);this._getBlock(0).setData(e,0,0)}setAttributeData(t,e,s){const i=Fh(t);this._ensureSizeForTexel(i),this._getBlock(0).setData(i,0,this.getFilterFlags(e));const r=this._attributeComputeInfo;let n=null;r&&(n=r.isSubtype?r.map.get(e.readAttribute(r.subtypeField)):r.map,n?.size&&n.forEach(((t,r)=>{const n=1*r%4,o=Math.floor(1*r/4),a=this._getBlock(o+B.dV.VV);let h=t.field?.read(e,s);t.valueRepresentation&&(h=function(t,e){if(!t||!e)return t;switch(e){case"radius":case"distance":return 2*t;case"diameter":case"width":return t;case"area":return Math.sqrt(t)}return t}(h,t.valueRepresentation)),(null===h||isNaN(h)||h===1/0||h===-1/0)&&(h=1e-30),a.setData(i,n,h)})))}get epoch(){return this._epoch}sendUpdates(){const t=this._blocks.map((t=>null!=t?t.toMessage():null)),e=this._getInitArgs();(0,n.A)("esri-2d-log-updating")&&console.log("AttributeStore: _doSendUpdate.start"),this._client.update({initArgs:e,blockData:t,version:this.version,sendUpdateEpoch:this._epoch}),this._epoch+=1,(0,n.A)("esri-2d-log-updating")&&console.log("AttributeStore: _doSendUpdate.end")}_ensureSizeForTexel(t){for(;t>=this._size*this._size;)if(this._expand())return}async _bind(t,e,s){const i=await t.createComputedField(e),{valueRepresentation:r}=e,n=this._attributeComputeInfo;if(n.isSubtype){const t=n.map.get(s)??new Map;t.set(e.binding,{field:i,valueRepresentation:r}),n.map.set(s,t)}else n.map.set(e.binding,{field:i,valueRepresentation:r});return i}_getInitArgs(){return this._initialized?null:(this._initialized=!0,this._getBlock(B.dV.Animation),this._getBlock(B.dV.GPGPU),this._getBlock(B.dV.LocalTimeOrigin),{blockSize:this._size,blockDescriptors:this._blocks.map((t=>null!=t?{textureOnly:t.textureOnly,buffer:t.buffer,pixelType:t.pixelType}:null))})}_getBlock(t){const e=this._blocks[t];if(null!=e)return e;pd(`Initializing AttributeBlock at index ${t}`);const s=new gd(this._size,this._blockDescriptors[t],this._client.isLocal);return this._blocks[t]=s,this._initialized=!1,s}_expand(){if(this._size<this._schema.capabilities.maxTextureSize){const t=this._size<<=1;pd("Expanding block size to",t,this._blocks);for(const e of this._blocks)e?.expand(t);return this._initialized=!1,this._size=t,0}return _d().error(new i.A("mapview-limitations","Maximum number of onscreen features exceeded.")),-1}_updateReferences(t){(0,bc.QY)(this._arcadeDependencies,t)}isVisible(t){return!!(this._getBlock(0).getData(t,0)&1<<B.U5)}getFilterFlags(t){let e=0;for(let s=0;s<this._filters.length;s++){const i=!!(1<<s),r=this._filters[s];e|=(!i||null==r||r.check(t)?1:0)<<s}let s=0;if(this._idsToHighlight.size){const e=t.getObjectId();s=this.getHighlightFlags(e)}return e<<B.U5|s}}class yd{constructor(t,e){this._connection=t,this._source=e,this._version=1,this._registry=new il,this._proxy=new Mt({fetch:(t,e)=>this._connection.layerView.fetch(t,e),fetchDictionary:(t,e)=>this._connection.layerView.fetchDictionary(t,e)}),this._attributeStore=new md({isLocal:!1,update:t=>(0,u.oV)(this._connection.container.updateAttributeView(t))})}destroy(){this._proxy.destroy(),this._strategy?.destroy(),this._attributeStore.destroy()}get aggregateQueryEngine(){return this._strategy?.aggregateQueryEngine}getDisplayFeatures(t){return this._strategy?this._strategy.getDisplayFeatures(t):{features:[],aggregates:[]}}getDisplayIds(t){const e={};return this._strategy?(this._strategy.displayMap(t,(t=>t),((t,s,i)=>{e[i]=t})),e):e}getFeatureObjectIdsForAggregate(t){return this._strategy?this._strategy.getFeatureObjectIdsForAggregate(t):[]}onSubscribe(t){this._strategy?.onSubscribe(t)}onUnsubscribe(t){this._strategy?.onUnsubscribe(t)}async update(t,e,s,i,r){const o=t.processor,a=(0,U.i8)(this._schema?.storage,o.storage),h=(0,U.i8)(this._schema?.mesh.properties,o.mesh.properties),c=(0,U.i8)(this._schema?.mesh.factory,o.mesh.factory),l=(0,U.i8)(this._schema?.mesh.strategy,o.mesh.strategy),u=function(t,e){const s=[];return t?.timeExtent?.start===e.timeExtent?.start&&t?.timeExtent?.end===e.timeExtent?.end||s.push("timeProperties"),s}(this._schema?.expressionProperties,o.expressionProperties),d=u.some((t=>this._attributeStore.hasArcadeDependency(t))),_=u.some((t=>this._factory?.hasArcadeDependency(t)??!1)),p=u.some((t=>this._strategy?.hasArcadeDependency(t)))||this._strategy?.isAggregate&&d,f=_||p,g=h||c||l;if(!(a||g||_||d||p||i))return;(0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${this._version}] SymbolProcessor.update`,{changes:(0,V.Ui)(this._schema,o),schema:o}),this._schema=o;const m=q.A.fromJSON(this._source.service.outSpatialReference),y=new Hu({fields:this._source.metadata.fieldsIndex,spatialReference:m});if((a||g||d)&&(await this._attributeStore.update(o.storage,y,this._source.metadata,m,e),this._strategy?.invalidateAttributeData(xd(o))),!i&&!g&&!f)return;(l||h||f)&&await this._updateStrategy(o.mesh.strategy,m,r,xd(o)),this._updateSortKey(y,"sortKey"in o.mesh.properties?o.mesh.properties.sortKey:null);const x=new rl(y,this._proxy,s,this._registry);return(c||"dictionary"===o.mesh.factory.symbology.type)&&(this._factory=await ct.create(x,o.mesh.factory)),this._invalidate(),this._version=e,this._connection.container.updateRenderState(this._version)}async applyLocalEdit(t){if(!this._strategy)return;const e=this._strategy.applyLocalEdit(t);for await(const t of e)try{await this._process(t)}catch(t){}}async updateChunks(){this._strategy?.beforeUpdateChunks(),await this._doUpdateChunks(),this._strategy?.afterUpdateChunks()}async removeChunks(t){this._strategy?.removeChunks(t),this._attributeStore.incrementDisplayIdGeneration()}updateHighlight({highlights:t}){if(!this._strategy)return void this._attributeStore.setHighlight(t.map((({objectId:t,highlightFlags:e})=>({objectId:t,highlightFlags:e,displayId:-1}))),t);const e=this._strategy.displayMap(t,(({objectId:t})=>t),((t,{highlightFlags:e},s)=>({objectId:s,displayId:t,highlightFlags:e})));this._attributeStore.setHighlight(e,t)}async _doUpdateChunks(){if(!this._strategy)return;const t=this._strategy.updateChunks(),e=[],s=new Map;for await(const i of t){let t=s.get(i.id);null==t&&(t=new nl({concurrency:16,process:t=>this._process(t)}),s.set(i.id,t));const r=t.push(i).catch((t=>(0,a.jH)(t)));e.push(r)}try{await Promise.all(e)}catch(t){}(0,n.A)("esri-2d-update-debug")&&console.log("SendUpdates"),this._attributeStore.sendUpdates(),(0,n.A)("esri-2d-update-debug")&&console.log("SendUpdates.await")}async _updateStrategy(t,e,s,i){switch(this._strategy?.destroy(),t.type){case"feature":this._strategy=new ld(this._source,this._attributeStore,i);break;case"binning":this._strategy=await rd.create(t,e,this._source,this._attributeStore,i);break;case"cluster":this._strategy=await hd.create(this._connection,t,e,this._source,this._attributeStore,i)}for(const t of s)this._strategy.onSubscribe(t)}async _updateSortKey(t,e){if(this._sortInfo=(0,C.pR)(this._sortInfo?.computed),null!=e){const s=e.byRenderer?null:await t.createComputedField(e);this._sortInfo={...e,computed:s}}}_invalidate(){this._strategy&&this._strategy.invalidate()}async _process(t){const e=t.subscription;if((0,n.A)("esri-2d-update-debug")){const s=e.tile;console.debug(`Version[${this._version}] Tile[${s.key.id}, end=${t.end}] Processor._process`)}await this._fetchResources(t),(0,a.Te)(e.signal);const s=await this._write(t,e.tile.createArcadeEvaluationOptions(xd(this._schema))),i=e.tile.tileInfoView.getLODInfoAt(e.tile.key),{message:r,transferList:o}=s.serialize(i),h={objectIdMap:null,inner:t.createMessage(r,this._version,this._attributeStore.epoch)};if(this._schema?.mesh.properties.returnMeshObjectId){h.objectIdMap={};const e=t.reader?.getCursor();if(e)for(;e.next();)h.objectIdMap[e.getDisplayId()]=e.getObjectId()}if((0,a.Te)(e.signal),await this._connection.container.onMessage(h,{signal:e.signal,transferList:o}),this._attributeStore.sendUpdates(),(0,n.A)("esri-2d-update-debug")){const s=e.tile;console.debug(`Version[${this._version}] Tile[${s.key.id}, end=${t.end}] Processor._process.await`)}}async _fetchResources(t){await this._fetchMatcherResources(t),await this._fetchWriterResources(t)}async _fetchMatcherResources(t){if(t.reader)return this._factory.enqueueMatcherRequests(this._proxy,t.reader)}async _fetchWriterResources(t){if(!t.reader)return;const e=t.reader.getCursor(),s=t.subscription.tile.createArcadeEvaluationOptions(xd(this._schema));for(;e.next();)this._factory.enqueueWriterRequests(this._proxy,e,s);await this._proxy.fetchEnqueuedResources()}async _write(t,e){const s=t.subscription.tile,i=t.reader?.getCursor(),r=i?.getSize()??0,n=s.tileInfoView.tileInfo.isWrappable,o=s.tileInfoView.tileInfo.spatialReference.isWGS84,a=new J(s.key,this._strategy.enablePixelBuffering,n,o,r);if(!i)return a;const h=s.createArcadeEvaluationOptions(xd(this._schema));for(;i.next();){const t=this._getSortKeyValue(i,e);a.entityStart(i.getDisplayId(),t),this._factory.write(a,this._proxy,i,h,s.level),a.entityEnd()}return a}_getSortKeyValue(t,e){if(!this._sortInfo)return 0;const{computed:s,order:i,byRenderer:r}=this._sortInfo,n=r?this._factory.getSortKey(t,e):s?.read(t,e);return null==n||isNaN(n)?0:n*("asc"===i?-1:1)}}function xd(t){const{timeZone:e}=t?.mesh.properties??{},{timeExtent:s}=t?.expressionProperties??{};return{timeZone:e,timeExtent:s}}var bd=s(78888),wd=s(80893);class vd{static from(t){let e=0,s=0,i=0;return t.forEach((t=>{const r=t._readGeometry();r&&(s+=r.isPoint?1:r.lengths.reduce(((t,e)=>t+e),0),i+=r.isPoint?1:r.lengths.length,e+=1)})),new vd(e,s,i)}constructor(t,e,s){this.featureCount=t,this.vertexCount=e,this.ringCount=s}toJSON(){return{featureCount:this.featureCount,ringCount:this.featureCount,vertexCount:this.featureCount}}}var Sd=s(60694),Id=s(79677);class Md{static fromSchema(t,e,s){const i="feature"===e.type?e.mutable.dataFilter.queryScaleRanges:[];return new Md(function(t,e,s){const i=t.orderByFields??s.objectIdField+" ASC",r=t.source,n={returnCentroid:!(null!==r&&"object"==typeof r&&"path"in r&&(0,Sd.Wo)(r.path))&&"esriGeometryPolygon"===s.serviceGeometryType,returnGeometry:!0,timeReferenceUnknownClient:s.timeReferenceUnknownClient??void 0,outSpatialReference:q.A.fromJSON(t.outSpatialReference),orderByFields:"memory"===t.type?[]:[i],where:e.mutable.dataFilter.definitionExpression??"1=1",outFields:e.mutable.availableFields,multipatchOption:"esriGeometryMultiPatch"===s.serviceGeometryType?"xyFootprint":null};if("feature"===e.type){const{gdbVersion:t,historicMoment:s,timeExtent:i}=e.mutable.dataFilter;return{...n,gdbVersion:t,historicMoment:s?new Date(s):null,timeExtent:i?Id.A.fromJSON(i):null,outFields:e.mutable.availableFields}}return n}(t,e,s),i,s.subtypeField,e.mutable.dataFilter.customParameters,s.geometryType,t.queryMetadata)}constructor(t,e,s,i,r,n){this._queryParams=t,this._queryScaleRanges=e,this._subtypeField=s,this._customParameters=i,this._geometryType=r,this._queryMetadata=n}get pageSize(){if(null==this._queryMetadata)throw new Error("InternalError: Service does not support paged queries");const t=this._queryMetadata.supportsMaxRecordCountFactor?4:null,e=(this._queryMetadata.maxRecordCount??8e3)*(t??1);return Math.min(8e3,e)}updateHistoricMoment(t){this._queryParams.historicMoment=t}updateFields(t){this._queryParams.outFields=t}createPatchFieldsQuery(t,e){if(!e.getSize())return null;const s=t.clone();if("*"===this._queryParams.outFields[0]){if("*"===(s.outFields??[])[0])return null;s.outFields=this._queryParams.outFields}else{const t=new Set(this._queryParams.outFields),i=[];for(const s of t)e.hasField(s)||i.push(s);if(0===i.length)return null;s.outFields=i}return s.returnGeometry=!1,s.returnCentroid=!1,s.quantizationParameters=null,s.cacheHint=!0,{inner:s,customParameters:this._customParameters}}createQuery(t={}){if(!this._queryParams)throw new Error("InternalError: queryInfo should be defined");return{inner:new Ju.A({...this._queryParams,...t}),customParameters:this._customParameters}}createTileQuery(t,e){if(null==this._queryMetadata)throw new Error("InternalError: Service does not support tile queries");const s=this.createQuery(e),i=s.inner;if(this._queryScaleRanges.length){const e=this._queryScaleRanges.filter((e=>(!e.minScale||e.minScale>=t.maxScale)&&(!e.maxScale||e.maxScale<=t.minScale))).map((t=>t.subtypeCode));if(e.length){const t=`${this._subtypeField} IN (${e})`;i.where=(0,Vu.m)(i.where,t)}}if(i.quantizationParameters=e.quantizationParameters??t.getQuantizationParameters(),i.resultType="tile",i.geometry=t.extent,this._queryMetadata.supportsQuantization?"esriGeometryPolyline"===this._geometryType&&(i.maxAllowableOffset=t.resolution*(0,n.A)("feature-polyline-generalization-factor")):"esriGeometryPolyline"!==this._geometryType&&"esriGeometryPolygon"!==this._geometryType||(i.maxAllowableOffset=t.resolution,"esriGeometryPolyline"===this._geometryType&&(i.maxAllowableOffset*=(0,n.A)("feature-polyline-generalization-factor"))),i.defaultSpatialReferenceEnabled=this._queryMetadata.supportsDefaultSpatialReference,i.compactGeometryEnabled=this._queryMetadata.supportsCompactGeometry,this._queryMetadata.supportsMaxRecordCountFactor&&(i.maxRecordCountFactor=4),(0,n.A)("esri-tiles-debug")){const e=t.id.replaceAll("/",".");s.customParameters=s.customParameters?{...s.customParameters,tileId:e}:{tileId:e}}return s}createPagedTileQuery(t,e){const s=this.pageSize;return this.createTileQuery(t,{start:s*e,num:s,returnExceededLimitFeatures:!0})}createPagedQuery(t){const e=this.pageSize;return this.createQuery({start:e*t,num:e,returnExceededLimitFeatures:!0,maxRecordCountFactor:4})}}let Pd=class extends T.A{constructor(t){super(),this._connection=t,this._enabledEventTypes=new Set,this._updateInfo={websocket:0,client:0},this._lastTime=performance.now(),this._queuedCommands=[],this.addHandles([(0,c.wB)((()=>this._strategy?.connectionStatus??"disconnected"),(t=>{this._layerView.setProperty({propertyName:"pipelineConnectionStatus",value:t})}),{initial:!0}),(0,c.wB)((()=>this._strategy?.errorString||null),(t=>this._layerView.setProperty({propertyName:"pipelineErrorString",value:t})),{initial:!0})])}destroy(){this._strategy=null,this.removeAllHandles()}get _layerView(){return this._connection.layerView}set strategy(t){null==this._strategy&&this._resetUpdateInfo(performance.now());const e="event-handles";this.removeHandles(e),null!=t&&(this.addHandles([t.events.on("data-received",(t=>this._onFeature(t))),t.events.on("message-received",(t=>this._onWebSocketMessage(t))),t.events.on("features-updated",(t=>this._onUpdate(t))),t.events.on("tick",(()=>this._onTick()))],e),this._queuedCommands.forEach((e=>e(t))),this._queuedCommands=[]),this._strategy=t}updateCustomParameters(t){null!=t&&this._callOrEnqueue((e=>e.updateCustomParameters(t)))}sendMessageToSocket(t){this._callOrEnqueue((e=>e.sendMessageToSocket(t)))}sendMessageToClient(t){this._callOrEnqueue((e=>e.sendMessageToClient(t)))}enableEvent(t,e){e?this._enabledEventTypes.add(t):this._enabledEventTypes.delete(t)}disconnect(){this._strategy?.disconnect()}connect(){this._strategy?.connect()}clear(){this._strategy?.clear()}_onWebSocketMessage(t){this._enabledEventTypes.has("message-received")&&this._layerView.emitEvent({name:"message-received",event:t})}_onFeature(t){this._updateInfo.websocket++,this._enabledEventTypes.has("data-received")&&this._layerView.emitEvent({name:"data-received",event:{attributes:t.attributes,centroid:t.centroid,geometry:t.geometry}})}_onUpdate(t){this._updateInfo.client+=t}_onTick(){const t=performance.now(),e=t-this._lastTime;if(e>2500){const s=Math.round(this._updateInfo.client/(e/1e3)),i=Math.round(this._updateInfo.websocket/(e/1e3));this._resetUpdateInfo(t),this._layerView.emitEvent({name:"update-rate",event:{client:s,websocket:i}})}}_resetUpdateInfo(t){this._lastTime=t,this._updateInfo.client=0,this._updateInfo.websocket=0}_callOrEnqueue(t){null!=this._strategy?t(this._strategy):this._queuedCommands.push(t)}};(0,P._)([(0,F.MZ)()],Pd.prototype,"_strategy",void 0),Pd=(0,P._)([(0,z.$)("esri.views.2d.layers.features.sources.StreamMessenger")],Pd);class Td{constructor(t){this._store=t,this._controller=new AbortController}destroy(){this._controller.abort()}get _options(){return{signal:this._controller.signal}}unsafeSetQueryHistoricMoment(t){throw new Error("InternalError: LoadStrategy does not support query info")}async queryOverride(t){throw new Error("InternalError: LoadStrategy does not support fetching")}async queryByObjectId(t){throw new Error("InternalError: LoadStrategy does not support fetching")}async addParquetFile(t){throw new Error("InternalError: LoadStrategy does not support loading blobs")}}var Ad=s(10382),Cd=s(62577),kd=s(75321),Fd=s(51624),Ed=s(53655);const zd=268435455;class Od{constructor(){this.hasFeatures=!1,this.exceededTransferLimit=!1,this.fieldCount=0,this.featureCount=0,this.objectIdFieldIndex=0,this.vertexCount=0,this.offsets={attributes:new Array,geometry:new Array},this.centroid=new Array}}const Rd=268435455,Ld=128e3,Dd={small:{delta:new Int32Array(128),decoded:new Int32Array(128)},large:{delta:new Int32Array(Ld),decoded:new Int32Array(Ld)}};function Nd(t){return t<=Dd.small.delta.length?Dd.small:(t<=Dd.large.delta.length||(Dd.large.delta=new Int32Array(Math.round(1.25*t)),Dd.large.decoded=new Int32Array(Math.round(1.25*t))),Dd.large)}function Bd(t){for(;t.next();){if(1===t.tag())return t.getMessage();t.skip()}return null}function Gd(t,e,s,i,r,n){return.5*Math.abs(t*i+s*n+r*e-t*n-s*e-r*i)}function Ud(t,e,s,i,r){return!!t&&0==e*r-i*s&&e*i+s*r>0}class Vd extends Tu{static fromBuffer(t,e,s=!1){const r=e.geometryType,n=function(t){try{const e=2,s=new Fd.A(new Uint8Array(t),new DataView(t));for(;s.next();){if(s.tag()===e)return Bd(s.getMessage());s.skip()}}catch(t){const e=new i.A("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:t});E.A.getLogger("esri.view.2d.layers.features.support.FeatureSetReaderPBF").error(e)}return null}(t),o=function(t,e,s=!1){const r=t.asUnsafe(),n=r.pos(),o=new Od;let a=0,h=0,c=null,l=null,u=null,d=!1;const _=[];for(;r.next();)switch(r.tag()){case 1:c=r.getString();break;case 3:l=r.getString();break;case 12:u=r.processMessage(Ed.ae);break;case 9:if(o.exceededTransferLimit=r.getBool(),o.exceededTransferLimit){o.offsets.geometry=s?new Float64Array(8e3):new Int32Array(8e3),o.centroid=s?new Float64Array(16e3):new Int32Array(16e3);for(let t=0;t<o.centroid.length;t++)o.centroid[t]=zd}break;case 13:{const t=r.processMessage(Ed.cn);t.index=a++,_.push(t);break}case 15:{const t=r.getLength(),i=r.pos()+t;if(!o.exceededTransferLimit){const t=o.offsets.geometry,e=o.centroid;t.push(0),e.push(zd),e.push(zd)}!d&&o.exceededTransferLimit&&(d=!0,o.offsets.attributes=s?new Float64Array(8e3*a):new Uint32Array(8e3*a));let n=h*a;for(;r.pos()<i&&r.next();)switch(r.tag()){case 1:{d?o.offsets.attributes[n++]=r.pos():o.offsets.attributes.push(r.pos());const t=r.getLength();r.skipLen(t);break}case 2:if(e){const t=r.getLength(),e=r.pos()+t;for(;r.pos()<e&&r.next();)switch(r.tag()){case 3:{r.getUInt32();const t=r.getSInt64(),e=r.getSInt64();o.centroid[2*h]=t,o.centroid[2*h+1]=e;break}default:r.skip()}}else{o.offsets.geometry[h]=r.pos();const t=r.getLength();o.vertexCount+=t,r.skipLen(t)}break;case 4:{const t=r.getLength(),e=r.pos()+t;for(;r.pos()<e&&r.next();)switch(r.tag()){case 3:{r.getUInt32();const t=r.getSInt64(),e=r.getSInt64();o.centroid[2*h]=t,o.centroid[2*h+1]=e;break}default:r.skip()}break}default:r.skip()}h++,o.hasFeatures=!0;break}default:r.skip()}const p=c||l;if(!p)throw new i.A("FeatureSet has no objectId or globalId field name");return o.fields=new hl.A(_),o.featureCount=h,o.fieldCount=a,o.objectIdFieldIndex=o.fields.get(p)?.index,o.transform=u,o.displayIds=new Uint32Array(o.featureCount),o.groupIds=new Uint16Array(o.featureCount),r.move(n),o}(n,"esriGeometryPoint"===r,s);return new Vd(n,o,e)}constructor(t,e,s){super(s),this._hasNext=!1,this._isPoints=!1,this._featureIndex=-1,this._featureOffset=0,this._cache={area:0,unquantGeometry:void 0,geometry:void 0},this._parseCaches=new Array,this._geometryType=s.geometryType,this._reader=t,this._header=e,this._hasNext=e.hasFeatures,this._isPoints="esriGeometryPoint"===s.geometryType}get _size(){return this._header.featureCount}get fields(){return this._header.fields}get geometryType(){return this._geometryType}get hasZ(){return!1}get hasM(){return!1}get hasFeatures(){return this._header.hasFeatures}get hasNext(){return this._hasNext}get exceededTransferLimit(){return this._header.exceededTransferLimit}getSize(){return this._size}getInTransform(){return this._header.transform}getCursor(){return this.copy()}getIndex(){return this._featureIndex}setIndex(t){this._cache.area=0,this._cache.unquantGeometry=void 0,this._cache.geometry=void 0,this._featureIndex=t}getAttributeHash(){let t="";for(const e of this._header.fields.fields)t+=this._readAttributeAtIndex(e.index)+".";return t}getObjectId(){return this._readAttributeAtIndex(this._header.objectIdFieldIndex)}getDisplayId(){return this._header.displayIds[this._featureIndex]}setDisplayId(t){this._header.displayIds[this._featureIndex]=t}readGeometryArea(){return this._cache.area||this._readGeometry(!0),this._cache.area}copy(){const t=this._reader.clone(),e=new Vd(t,this._header,this.metadata);return this.copyInto(e),e}next(){for(this._cache.area=0,this._cache.unquantGeometry=void 0,this._cache.geometry=void 0;++this._featureIndex<this._size&&!this._getExists(););return this._featureIndex<this._size}get usedMemory(){return au.qK+(this._cache.geometry?.usedMemory??0)}_readX(){return this._header.centroid[2*this._featureIndex]}_readY(){return this._header.centroid[2*this._featureIndex+1]}_readServerCentroid(){const t=this._header.centroid[2*this._featureIndex],e=this._header.centroid[2*this._featureIndex+1];return t===Rd?null:new jt.A([],[t,e])}_readGeometry(t=!1){if(void 0===this._cache.geometry){let e=null;if(this._isPoints){if(this._header.centroid[2*this._featureIndex]===Rd)return null;const t=this._header.centroid[2*this._featureIndex],s=this._header.centroid[2*this._featureIndex+1];e=new jt.A([],[t,s])}else{const s=this._header.offsets.geometry[this._featureIndex],i=this._reader;if(0===s)return null;i.move(s);try{e=t?this._parseGeometryForDisplay(i):this._parseGeometry(i)}catch(t){return null}}return 0===e?.coords.length&&(e=null),this._cache.geometry=e,e}return this._cache.geometry}_readAttribute(t,e){const s=this._header.fields.get(t);if(null==s)return;const i=this._readAttributeAtIndex(s.index),r=this._header.fields.isDateField(s.name);return e?null==i?i:r?new Date(i):i:i}_readAttributes(){const t={};for(const e of this._header.fields.fields)t[e.name]=this._readAttributeAtIndex(e.index);return t}copyInto(t){super.copyInto(t),t._featureIndex=this._featureIndex,t._featureOffset=this._featureOffset,t._hasNext=this._hasNext,t._parseCaches=this._parseCaches}_readAttributeAtIndex(t){let e=this._parseCaches[t];if(e||(e=new pu(this.getSize()),this._parseCaches[t]=e),e.has(this._featureIndex))return e.get(this._featureIndex);const s=this._header.offsets.attributes[this._featureIndex*this._header.fieldCount+t],i=this._reader;i.move(s);const r=function(t){const e=t.getLength(),s=t.pos()+e;for(;t.pos()<s&&t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}(i);return e.set(this._featureIndex,r),r}_readGeometryDeltaDecoded(t=!1){if(void 0===this._cache.unquantGeometry){const e=this._readGeometry(t);if(!e)return this._cache.unquantGeometry=void 0,null;if(!this.getInTransform())return this._cache.unquantGeometry=e,e;const s=Nd(e.coords.length).decoded,i=e.clone(s),r=i.coords;let n=0;for(const t of i.lengths){for(let e=1;e<t;e++){const t=2*(n+e),s=2*(n+e-1);r[t]+=r[s],r[t+1]+=r[s+1]}n+=t}return this._cache.unquantGeometry=i,i}return this._cache.unquantGeometry}_parseGeometry(t){const e=t.asUnsafe(),s=e.getLength(),i=e.pos()+s,r=[],n=[];for(;e.pos()<i&&e.next();)switch(e.tag()){case 2:{const t=e.getUInt32(),s=e.pos()+t;for(;e.pos()<s;)n.push(e.getUInt32());break}case 3:{const t=e.getUInt32(),s=e.pos()+t;for(r.push(e.getSInt64()),r.push(e.getSInt64()),this.hasZ&&e.getSInt64(),this.hasM&&e.getSInt64();e.pos()<s;)r.push(e.getSInt64()),r.push(e.getSInt64()),this.hasZ&&e.getSInt64(),this.hasM&&e.getSInt64();break}default:e.skip()}return new jt.A(n,r)}_parseGeometryForDisplay(t){const e=t.asUnsafe(),s=e.getLength(),i=e.pos()+s,r=[],n=[];let o=0,a=0,h=null,c=0;const l="esriGeometryPolygon"===this.geometryType,u="esriGeometryPolyline"===this.geometryType,d=l||u;for(;e.pos()<i&&e.next();)switch(e.tag()){case 2:{const t=e.getUInt32(),s=e.pos()+t;for(;e.pos()<s;){const t=e.getUInt32();r.push(t),o+=t}h=Nd(2*o).delta;break}case 3:{e.getUInt32();const t=2+(this.hasZ?1:0)+(this.hasM?1:0);(0,C.Lw)(h);for(const s of r)if(a+t*s>h.length)for(let t=0;t<s;t++)e.getSInt32(),e.getSInt32(),this.hasZ&&e.getSInt32(),this.hasM&&e.getSInt32();else if(l){const t=this.getAreaSimplificationThreshold(s,this._header.vertexCount);let i=2,r=1;const o=!1;let l=e.getSInt32(),u=e.getSInt32();h[a++]=l,h[a++]=u,this.hasZ&&e.getSInt32(),this.hasM&&e.getSInt32();let _=e.getSInt32(),p=e.getSInt32();for(this.hasZ&&e.getSInt32(),this.hasM&&e.getSInt32();i<s;){let s=e.getSInt32(),n=e.getSInt32();this.hasZ&&e.getSInt32(),this.hasM&&e.getSInt32();const o=l+_,f=u+p;Gd(l,u,o,f,o+s,f+n)>=t?(c+=-.5*(o-l)*(f+u),r>1&&Ud(d,h[a-2],h[a-1],_,p)?(h[a-2]+=_,h[a-1]+=p):(h[a++]=_,h[a++]=p,r++),l=o,u=f):(s+=_,n+=p),_=s,p=n,i++}r<3||o?a-=2*r:(c+=-.5*(l+_-l)*(u+p+u),Ud(d,h[a-2],h[a-1],_,p)?(h[a-2]+=_,h[a-1]+=p,n.push(r)):(h[a++]=_,h[a++]=p,n.push(++r)))}else{let t=0,i=e.getSInt32(),r=e.getSInt32();this.hasZ&&e.getSInt32(),this.hasM&&e.getSInt32(),h[a++]=i,h[a++]=r,t+=1;for(let n=1;n<s;n++){const s=e.getSInt32(),o=e.getSInt32(),l=i+s,u=r+o;c+=-.5*(l-i)*(u+r),this.hasZ&&e.getSInt32(),this.hasM&&e.getSInt32(),n>2&&Ud(d,h[a-2],h[a-1],s,o)?(h[a-2]+=s,h[a-1]+=o):(h[a++]=s,h[a++]=o,t+=1),i=l,r=u}n.push(t)}break}default:e.skip()}return this._cache.area=c,n.length?new jt.A(n,h):null!=h?this._createQuantizedExtrudedGeometry(h[0],h[1]):null}}class qd{constructor(t,e){this.service=t,this._metadata=e}destroy(){}}class Wd extends qd{constructor(t,e){super(t,e),this._portsOpen=async function(t){const e=new Ad.A;return await e.open(t,{}),e}(t.source).then((t=>this.client=t))}destroy(){this.client.close(),this.client=null}async executeQuery(t,e){await this._portsOpen;const s=await this.client.invoke("queryFeatures",t.toJSON(),e);return ku.fromFeatureSet(s,this._metadata)}}class jd extends qd{async executeQuery(t,e){const{data:s}=await(0,wd.kS)(this.service.source,t,e),i=!t.quantizationParameters;return Vd.fromBuffer(s,this._metadata,i)}}class Yd extends qd{async executeQuery(t,e){const{source:s,queryMetadata:i}=this.service;if(null!=t.quantizationParameters&&!i.supportsQuantization){const i=t.clone(),r=(0,Cd.VV)(i.quantizationParameters);i.quantizationParameters=null;const{data:n}=await(0,wd.eW)(s,i,this._metadata.spatialReference,e),o=(0,Ch.q3)(n,this._metadata.objectIdField);return(0,Ch.jH)(r,o),ku.fromOptimizedFeatureSet(o,this._metadata)}const{data:r}=await(0,wd.eW)(s,t,this._metadata.spatialReference,e);return"esriGeometryPoint"===this._metadata.geometryType&&(r.features=r.features?.filter((t=>{if(null!=t.geometry){const e=t.geometry;return Number.isFinite(e.x)&&Number.isFinite(e.y)}return!0}))),ku.fromFeatureSet(r,this._metadata)}}class Xd extends qd{async executeQuery(t,e){if(t.quantizationParameters&&!this.service.queryMetadata.supportsQuantization){const s=t.clone(),i=(0,Cd.VV)(s.quantizationParameters);s.quantizationParameters=null;const r=await(0,kd.I)(this.service.source,t,e);return(0,Ch.jH)(i,r),ku.fromOptimizedFeatureSet(r,this._metadata)}const s=await(0,kd.I)(this.service.source,t,e);return ku.fromOptimizedFeatureSet(s,this._metadata)}}class $d extends Td{constructor(t,e,s,i,r){super(s),this._serviceInfo=t,this._queryInfo=e,this._metadata=i,this._connection=r,this._queue=new R.e({concurrency:16,process:async t=>{const e={signal:t.options?.signal,query:t.query.customParameters};return this._adapter.executeQuery(t.query.inner,e)}}),this._adapter=function(t,e){switch(t.type){case"memory":return new Wd(t,e);case"ogc":return new Xd(t,e);case"feature-service":return t.queryMetadata.supportsFormatPBF&&(0,n.A)("featurelayer-pbf")?new jd(t,e):new Yd(t,e)}}(t,i)}unsafeSetQueryHistoricMoment(t){this._queryInfo.updateHistoricMoment(t)}async updateFields(t){this._queryInfo.updateFields(t);const e=Array.from(this._store.chunks()).map((async t=>{const e=Ju.A.fromJSON(t.queryInfo.queryJSON);if(e)try{return await this._tryUpdateFields(t.reader,e),null}catch(t){return t}})),s=(await Promise.all(e)).filter((t=>t));if(s.length)throw new i.A("featurelayer-query","Encountered errors when downloading fields",{errors:s})}async queryByObjectId(t){if(0===t.length)return ku.empty(this._metadata);const e=this._queryInfo.createQuery({objectIds:t});return this._fetch(e)}async _fetch(t,e){const s=await this._enqueue(t,e);return await this._tryUpdateFields(s,t.inner),s}async _tryUpdateFields(t,e){const s=this._queryInfo.createPatchFieldsQuery(e,t);if(!s)return;const i=await this._enqueue(s,this._options);t.joinAttributes(i)}async _enqueue(t,e){return this._connection.onEvent({type:"fetchStart"}),this._queue.push({query:t,options:e}).finally((()=>{this._connection.onEvent({type:"fetchEnd",done:0===this._queue.length})}))}}class Hd extends $d{constructor(){super(...arguments),this._chunksById=new Map}unload(t){this._removeChunks(t.tile)}_addChunk(t){const e=t.tile.id;this._chunksById.has(e)||this._chunksById.set(e,[]);const s=t.size();(s||t.first||t.end)&&((0,n.A)("esri-2d-update-debug")&&console.debug(`Chunk[${t.chunkId}] ATileLoadStrategy.addChunk [count=${s}]`),this._chunksById.get(e).push(t),this._store.insert(t))}_removeChunks(t){const e=this._chunksById.get(t.key.id)??[];for(const s of e)(0,n.A)("esri-2d-update-debug")&&console.debug(`Tile[${t.key.id}] Chunk[${s.chunkId}] ATileLoadStrategy.removeChunk`),this._store.remove(s);this._chunksById.delete(t.key.id)}}class Zd extends Cu{constructor(t,e,s,i,r,n){super(),this._reader=t,this._queryJSON=e,this._tile=s,this._sourceTile=i,this._sourceTileDepth=r,this._end=n,this.chunkId=`${this._tile.key.id}.${this._sourceTile?.key.id}${this._end?"e":""}`,this.normalizedChunkId=`${this._tile.key.normalizedId}.${this._sourceTile?.key.normalizedId}${this._end?"e":""}`}get queryInfo(){return{type:"drill-down-tile",chunkId:this.chunkId,tileId:this._tile.key.id,queryJSON:this._queryJSON,sourceTileDepth:this._sourceTileDepth,sourceTileId:this._sourceTile?.key.id,size:this.size(),end:this.end}}get first(){return 0===this._sourceTileDepth}get reader(){return this._reader}get end(){return this._end}get tile(){return this._tile}get isTiled(){return!0}getTileReader(t){return this._tile.key.id===t.key.id?this.reader:null}}class Qd{constructor(t,e){this.subscription=t,this._tileIdToResult=new Map,this._controller=new AbortController,this._handles=(0,r.vE)([(0,a.u7)(t.signal,(()=>this._controller.abort())),(0,a.u7)(e,(()=>this._controller.abort()))])}destroy(){this._controller.abort(),this._handles.remove()}get(t){return this._tileIdToResult.get(t)}set(t,e){this._tileIdToResult.set(t,e)}get options(){return{signal:this._controller.signal}}}class Kd extends Hd{constructor(){super(...arguments),this._loadStates=new Map}destroy(){super.destroy();for(const t of this._loadStates.values())t.destroy();this._loadStates.clear()}get about(){return{willQueryAllFeatures:!1,willQueryFullResolutionGeometry:!1}}async load(t){this._loadStates.has(t.key.id)||this._loadStates.set(t.key.id,new Qd(t,this._options));const e=this._loadStates.get(t.key.id);let s;try{for await(const s of this._fetchChunkInfos(e,t.tile,0)){const{queryJSON:t,reader:i,sourceTile:r,sourceTileDepth:n,tile:o}=s,h=new Zd(i,t,o,r,n,!1);(0,a.Te)(e.options),this._addChunk(h)}}catch(t){s=t}const i=new Zd(ku.empty(this._metadata),null,t.tile,null,-1,!0);if(this._addChunk(i),s)throw s}unload(t){super.unload(t),this._loadStates.get(t.key.id)?.destroy(),this._loadStates.delete(t.key.id)}async*_fetchChunkInfos(t,e,s){let i=t.get(e.id);const r=!!i;if(i||(i=await this._fetchChunkInfo(t,e,s),t.set(e.id,i)),i.reader.exceededTransferLimit&&s<(0,n.A)("featurelayer-query-max-depth"))for(const i of e.createChildTiles())yield*this._fetchChunkInfos(t,i,s+1);else r||(yield i)}async _fetchChunkInfo(t,e,s){const i=t.subscription.tile.getQuantizationParameters(),r=this._queryInfo.createTileQuery(e,{returnExceededLimitFeatures:!1,quantizationParameters:i});return{reader:await this._fetch(r,t.options),queryJSON:r.inner.toJSON(),tile:t.subscription.tile,sourceTile:e,sourceTileDepth:s}}}class Jd extends Cu{constructor(t,e,s,i,r){super(),this._reader=t,this._queryJSON=e,this._tile=s,this._page=i,this._end=r,this.chunkId=`${this._tile.key.id}.${this._page}${this.end?"e":""}`,this.normalizedChunkId=`${this._tile.key.normalizedId}.${this._page}${this.end?"e":""}`}get queryInfo(){return{type:"paged-tile",chunkId:this.chunkId,tileId:this._tile.key.id,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get page(){return this._page}get tile(){return this._tile}get isTiled(){return!0}getTileReader(t){return this._tile.key.id===t.key.id?this.reader:null}}class t_{constructor(t,e){this.subscription=t,this._pages=new Set,this._controller=new AbortController,this._done=!1,this._handles=(0,r.vE)([(0,a.u7)(t.signal,(()=>this._controller.abort())),(0,a.u7)(e,(()=>this._controller.abort()))])}destroy(){this._controller.abort(),this._handles.remove()}get pageStart(){let t=-1;for(const e of this._pages.values())t=Math.max(t,e);return t+1}get done(){return this._done}get options(){return{signal:this._controller.signal}}add(t,e){this._pages.add(t),this._done=this._done||e}}class e_ extends Hd{constructor(){super(...arguments),this._loadStates=new Map}destroy(){super.destroy();for(const t of this._loadStates.values())t.destroy();this._loadStates.clear()}get about(){return{willQueryAllFeatures:!1,willQueryFullResolutionGeometry:!1}}async load(t){this._loadStates.has(t.key.id)||this._loadStates.set(t.key.id,new t_(t,this._options));const e=this._loadStates.get(t.key.id);let s;try{await this._fetchPages(e)}catch(t){s=t}const i=new Jd(ku.empty(this._metadata),null,t.tile,-1,!0);if((0,a.G4)(e.options)||this._addChunk(i),s)throw s}unload(t){super.unload(t),this._loadStates.get(t.key.id)?.destroy(),this._loadStates.delete(t.key.id)}async _fetchPages(t){let e=0,s=t.pageStart,i=1;for(;e<20&&!t.done;){const r=[];for(let e=0;e<i;e++)r.push(this._fetchChunk(t,s++));const n=await Promise.all(r);for(const e of n)(0!==e.size()||e.first)&&(t.add(e.page,!e.reader.exceededTransferLimit),(0,a.Te)(t.options),this._addChunk(e));e++,i=Math.min(i+1,4)}}async _fetchChunk(t,e){const s=t.subscription.tile,i=this._queryInfo.createPagedTileQuery(s,e),r=await this._fetch(i,t.options);return new Jd(r,i.inner.toJSON(),s,e,!1)}}var s_=s(2741);let i_;const r_=new Array(128).fill(void 0);function n_(t){return r_[t]}r_.push(void 0,null,!0,!1);let o_=r_.length;function a_(t){const e=n_(t);return function(t){t<132||(r_[t]=o_,o_=t)}(t),e}function h_(t){o_===r_.length&&r_.push(r_.length+1);const e=o_;return o_=r_[e],r_[e]=t,e}const c_="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&c_.decode();let l_=null;function u_(){return null!==l_&&0!==l_.byteLength||(l_=new Uint8Array(i_.memory.buffer)),l_}function d_(t,e){return t>>>=0,c_.decode(u_().subarray(t,t+e))}function __(t,e){return t>>>=0,u_().subarray(t/1,t/1+e)}const p_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>{i_.__wbindgen_export_1.get(t.dtor)(t.a,t.b)}));function f_(t,e,s){i_._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h976f7baa817b77e0(t,e,h_(s))}let g_=0;const m_="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},y_="function"==typeof m_.encodeInto?function(t,e){return m_.encodeInto(t,e)}:function(t,e){const s=m_.encode(t);return e.set(s),{read:t.length,written:s.length}};function x_(t,e,s){if(void 0===s){const s=m_.encode(t),i=e(s.length,1)>>>0;return u_().subarray(i,i+s.length).set(s),g_=s.length,i}let i=t.length,r=e(i,1)>>>0;const n=u_();let o=0;for(;o<i;o++){const e=t.charCodeAt(o);if(e>127)break;n[r+o]=e}if(o!==i){0!==o&&(t=t.slice(o)),r=s(r,i,i=o+3*t.length,1)>>>0;const e=u_().subarray(r+o,r+i);o+=y_(t,e).written,r=s(r,i,o,1)>>>0}return g_=o,r}let b_=null;function w_(){return(null===b_||!0===b_.buffer.detached||void 0===b_.buffer.detached&&b_.buffer!==i_.memory.buffer)&&(b_=new DataView(i_.memory.buffer)),b_}function v_(t,e){try{return t.apply(this,e)}catch(t){i_.__wbindgen_exn_store(h_(t))}}let S_=null;let I_=null;function M_(t,e){t>>>=0;const s=w_(),i=[];for(let r=t;r<t+4*e;r+=4)i.push(a_(s.getUint32(r,!0)));return i}let P_=null;function T_(t,e){const s=e(2*t.length,2)>>>0;return(null!==P_&&0!==P_.byteLength||(P_=new Uint16Array(i_.memory.buffer)),P_).set(t,s/2),g_=t.length,s}function A_(t,e,s){const i=x_(t,i_.__wbindgen_malloc,i_.__wbindgen_realloc),r=g_;return a_(i_.readMetadata(i,r,h_(e),h_(s)))}function C_(t,e){const s=e(1*t.length,1)>>>0;return u_().set(t,s/1),g_=t.length,s}function k_(t,e){if(!(t instanceof e))throw new Error(`expected instance of ${e.name}`);return t.ptr}function F_(t){return null==t}const E_=Object.freeze({Point:0,0:"Point",Polygon:1,1:"Polygon",Polyline:2,2:"Polyline",Multipoint:3,3:"Multipoint"}),z_=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],O_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_columndescriptor_free(t>>>0,1)));class R_{static __wrap(t){t>>>=0;const e=Object.create(R_.prototype);return e.__wbg_ptr=t,O_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,O_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_columndescriptor_free(t,0)}name(){let t,e;try{const r=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_name(r,this.__wbg_ptr);var s=w_().getInt32(r+0,!0),i=w_().getInt32(r+4,!0);return t=s,e=i,d_(s,i)}finally{i_.__wbindgen_add_to_stack_pointer(16),i_.__wbindgen_free(t,e,1)}}physicalType(){let t,e;try{const r=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_physicalType(r,this.__wbg_ptr);var s=w_().getInt32(r+0,!0),i=w_().getInt32(r+4,!0);return t=s,e=i,d_(s,i)}finally{i_.__wbindgen_add_to_stack_pointer(16),i_.__wbindgen_free(t,e,1)}}logicalType(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_logicalType(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=d_(t,e).slice(),i_.__wbindgen_free(t,1*e,1)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}encodings(){try{const i=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_encodings(i,this.__wbg_ptr);var t=w_().getInt32(i+0,!0),e=w_().getInt32(i+4,!0),s=M_(t,e).slice();return i_.__wbindgen_free(t,4*e,4),s}finally{i_.__wbindgen_add_to_stack_pointer(16)}}pageEncodings(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_pageEncodings(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=M_(t,e).slice(),i_.__wbindgen_free(t,4*e,4)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}numValues(){return i_.columndescriptor_numValues(this.__wbg_ptr)}compression(){let t,e;try{const r=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_compression(r,this.__wbg_ptr);var s=w_().getInt32(r+0,!0),i=w_().getInt32(r+4,!0);return t=s,e=i,d_(s,i)}finally{i_.__wbindgen_add_to_stack_pointer(16),i_.__wbindgen_free(t,e,1)}}compressedSize(){return i_.columndescriptor_compressedSize(this.__wbg_ptr)}uncompressedSize(){return i_.columndescriptor_uncompressedSize(this.__wbg_ptr)}nullCount(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_nullCount(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getBigInt64(s+8,!0);return 0===t?void 0:e}finally{i_.__wbindgen_add_to_stack_pointer(16)}}distinctCount(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_distinctCount(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getBigInt64(s+8,!0);return 0===t?void 0:e}finally{i_.__wbindgen_add_to_stack_pointer(16)}}minValue(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_minValue(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=__(t,e).slice(),i_.__wbindgen_free(t,1*e,1)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}maxValue(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.columndescriptor_maxValue(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=__(t,e).slice(),i_.__wbindgen_free(t,1*e,1)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}}const L_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_fieldmetadata_free(t>>>0,1)));class D_{static __wrap(t){t>>>=0;const e=Object.create(D_.prototype);return e.__wbg_ptr=t,L_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,L_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_fieldmetadata_free(t,0)}get name(){let t,e;try{const r=i_.__wbindgen_add_to_stack_pointer(-16);i_.fieldmetadata_name(r,this.__wbg_ptr);var s=w_().getInt32(r+0,!0),i=w_().getInt32(r+4,!0);return t=s,e=i,d_(s,i)}finally{i_.__wbindgen_add_to_stack_pointer(16),i_.__wbindgen_free(t,e,1)}}get index(){return i_.fieldmetadata_index(this.__wbg_ptr)}get type(){const t=i_.fieldmetadata_esri_type(this.__wbg_ptr);return z_[t]}get physicalType(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.fieldmetadata_physical_type(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=d_(t,e).slice(),i_.__wbindgen_free(t,1*e,1)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}get logicalType(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.fieldmetadata_logical_type(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=d_(t,e).slice(),i_.__wbindgen_free(t,1*e,1)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}}const N_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_filemetadata_free(t>>>0,1)));class B_{static __wrap(t){t>>>=0;const e=Object.create(B_.prototype);return e.__wbg_ptr=t,N_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,N_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_filemetadata_free(t,0)}version(){return i_.filemetadata_version(this.__wbg_ptr)}numRows(){return i_.filemetadata_numRows(this.__wbg_ptr)>>>0}numFields(){return i_.filemetadata_numFields(this.__wbg_ptr)>>>0}createdBy(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.filemetadata_createdBy(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=d_(t,e).slice(),i_.__wbindgen_free(t,1*e,1)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}keyValueMetadata(t){try{const i=i_.__wbindgen_add_to_stack_pointer(-16),r=x_(t,i_.__wbindgen_malloc,i_.__wbindgen_realloc),n=g_;i_.filemetadata_keyValueMetadata(i,this.__wbg_ptr,r,n);var e=w_().getInt32(i+0,!0),s=w_().getInt32(i+4,!0);let o;return 0!==e&&(o=d_(e,s).slice(),i_.__wbindgen_free(e,1*s,1)),o}finally{i_.__wbindgen_add_to_stack_pointer(16)}}keys(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.filemetadata_keys(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);let i;return 0!==t&&(i=M_(t,e).slice(),i_.__wbindgen_free(t,4*e,4)),i}finally{i_.__wbindgen_add_to_stack_pointer(16)}}getFieldIndex(t){const e=x_(t,i_.__wbindgen_malloc,i_.__wbindgen_realloc),s=g_,i=i_.filemetadata_getFieldIndex(this.__wbg_ptr,e,s);return 16777215===i?void 0:i}getFieldByIndex(t){const e=i_.filemetadata_getFieldByIndex(this.__wbg_ptr,t);return 0===e?void 0:D_.__wrap(e)}getFields(){try{const i=i_.__wbindgen_add_to_stack_pointer(-16);i_.filemetadata_getFields(i,this.__wbg_ptr);var t=w_().getInt32(i+0,!0),e=w_().getInt32(i+4,!0),s=M_(t,e).slice();return i_.__wbindgen_free(t,4*e,4),s}finally{i_.__wbindgen_add_to_stack_pointer(16)}}}const G_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_geometryinfodescriptor_free(t>>>0,1)));class U_{static __wrap(t){t>>>=0;const e=Object.create(U_.prototype);return e.__wbg_ptr=t,G_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,G_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_geometryinfodescriptor_free(t,0)}get geometryType(){const t=i_.__wbg_get_geometryinfodescriptor_geometryType(this.__wbg_ptr);return 4===t?void 0:t}set geometryType(t){i_.__wbg_set_geometryinfodescriptor_geometryType(this.__wbg_ptr,F_(t)?4:t)}get wkbIndex(){const t=i_.__wbg_get_geometryinfodescriptor_wkbIndex(this.__wbg_ptr);return 16777215===t?void 0:t}set wkbIndex(t){i_.__wbg_set_geometryinfodescriptor_wkbIndex(this.__wbg_ptr,F_(t)?16777215:t)}get lngIndex(){const t=i_.__wbg_get_geometryinfodescriptor_lngIndex(this.__wbg_ptr);return 16777215===t?void 0:t}set lngIndex(t){i_.__wbg_set_geometryinfodescriptor_lngIndex(this.__wbg_ptr,F_(t)?16777215:t)}get latIndex(){const t=i_.__wbg_get_geometryinfodescriptor_latIndex(this.__wbg_ptr);return 16777215===t?void 0:t}set latIndex(t){i_.__wbg_set_geometryinfodescriptor_latIndex(this.__wbg_ptr,F_(t)?16777215:t)}get inWkid(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.__wbg_get_geometryinfodescriptor_inWkid(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);return 0===t?void 0:e>>>0}finally{i_.__wbindgen_add_to_stack_pointer(16)}}set inWkid(t){i_.__wbg_set_geometryinfodescriptor_inWkid(this.__wbg_ptr,!F_(t),F_(t)?0:t)}get outWkid(){try{const s=i_.__wbindgen_add_to_stack_pointer(-16);i_.__wbg_get_geometryinfodescriptor_outWkid(s,this.__wbg_ptr);var t=w_().getInt32(s+0,!0),e=w_().getInt32(s+4,!0);return 0===t?void 0:e>>>0}finally{i_.__wbindgen_add_to_stack_pointer(16)}}set outWkid(t){i_.__wbg_set_geometryinfodescriptor_outWkid(this.__wbg_ptr,!F_(t),F_(t)?0:t)}static new(){const t=i_.geometryinfodescriptor_new();return U_.__wrap(t)}}const V_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_pageencodingdescriptor_free(t>>>0,1)));class q_{static __wrap(t){t>>>=0;const e=Object.create(q_.prototype);return e.__wbg_ptr=t,V_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,V_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_pageencodingdescriptor_free(t,0)}pageType(){let t,e;try{const r=i_.__wbindgen_add_to_stack_pointer(-16);i_.pageencodingdescriptor_pageType(r,this.__wbg_ptr);var s=w_().getInt32(r+0,!0),i=w_().getInt32(r+4,!0);return t=s,e=i,d_(s,i)}finally{i_.__wbindgen_add_to_stack_pointer(16),i_.__wbindgen_free(t,e,1)}}encoding(){let t,e;try{const r=i_.__wbindgen_add_to_stack_pointer(-16);i_.pageencodingdescriptor_encoding(r,this.__wbg_ptr);var s=w_().getInt32(r+0,!0),i=w_().getInt32(r+4,!0);return t=s,e=i,d_(s,i)}finally{i_.__wbindgen_add_to_stack_pointer(16),i_.__wbindgen_free(t,e,1)}}count(){return i_.pageencodingdescriptor_count(this.__wbg_ptr)}}const W_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_parquetchunk_free(t>>>0,1)));class j_{static __wrap(t){t>>>=0;const e=Object.create(j_.prototype);return e.__wbg_ptr=t,W_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,W_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_parquetchunk_free(t,0)}size(){return i_.parquetchunk_size(this.__wbg_ptr)>>>0}hasField(t){return 0!==i_.parquetchunk_hasField(this.__wbg_ptr,t)}readX(t){return i_.parquetchunk_readX(this.__wbg_ptr,t)}readY(t){return i_.parquetchunk_readY(this.__wbg_ptr,t)}readCoords(t){try{const i=i_.__wbindgen_add_to_stack_pointer(-16);i_.parquetchunk_readCoords(i,this.__wbg_ptr,t);var e=w_().getInt32(i+0,!0),s=w_().getInt32(i+4,!0);let r;return 0!==e&&(r=function(t,e){return t>>>=0,(null!==S_&&0!==S_.byteLength||(S_=new Float64Array(i_.memory.buffer)),S_).subarray(t/8,t/8+e)}(e,s).slice(),i_.__wbindgen_free(e,8*s,8)),r}finally{i_.__wbindgen_add_to_stack_pointer(16)}}readLengths(t){try{const i=i_.__wbindgen_add_to_stack_pointer(-16);i_.parquetchunk_readLengths(i,this.__wbg_ptr,t);var e=w_().getInt32(i+0,!0),s=w_().getInt32(i+4,!0);let r;return 0!==e&&(r=function(t,e){return t>>>=0,(null!==I_&&0!==I_.byteLength||(I_=new Uint32Array(i_.memory.buffer)),I_).subarray(t/4,t/4+e)}(e,s).slice(),i_.__wbindgen_free(e,4*s,4)),r}finally{i_.__wbindgen_add_to_stack_pointer(16)}}readGeometryTransformed(t,e,s,i,r){const n=i_.parquetchunk_readGeometryTransformed(this.__wbg_ptr,t,e,s,i,r);return 0===n?void 0:H_.__wrap(n)}boundsXMin(t){return i_.parquetchunk_boundsXMin(this.__wbg_ptr,t)}boundsYMin(t){return i_.parquetchunk_boundsYMin(this.__wbg_ptr,t)}boundsXMax(t){return i_.parquetchunk_boundsXMax(this.__wbg_ptr,t)}boundsYMax(t){return i_.parquetchunk_boundsYMax(this.__wbg_ptr,t)}readAttribute(t,e){return a_(i_.parquetchunk_readAttribute(this.__wbg_ptr,t,e))}}const Y_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_parquetfile_free(t>>>0,1)));let X_=class t{static __wrap(e){e>>>=0;const s=Object.create(t.prototype);return s.__wbg_ptr=e,Y_.register(s,s.__wbg_ptr,s),s}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Y_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_parquetfile_free(t,0)}metadata(){const t=i_.parquetfile_metadata(this.__wbg_ptr);return B_.__wrap(t)}rowGroups(){try{const i=i_.__wbindgen_add_to_stack_pointer(-16);i_.parquetfile_rowGroups(i,this.__wbg_ptr);var t=w_().getInt32(i+0,!0),e=w_().getInt32(i+4,!0),s=M_(t,e).slice();return i_.__wbindgen_free(t,4*e,4),s}finally{i_.__wbindgen_add_to_stack_pointer(16)}}readChunksWithCallback(t,e){const s=T_(t,i_.__wbindgen_malloc),i=g_;return a_(i_.parquetfile_readChunksWithCallback(this.__wbg_ptr,s,i,h_(e)))}readFirstChunk(t){const e=T_(t,i_.__wbindgen_malloc),s=g_;return a_(i_.parquetfile_readFirstChunk(this.__wbg_ptr,e,s))}readAllChunks(t){const e=T_(t,i_.__wbindgen_malloc),s=g_;return a_(i_.parquetfile_readAllChunks(this.__wbg_ptr,e,s))}updateChunks(t){const e=T_(t,i_.__wbindgen_malloc),s=g_;return a_(i_.parquetfile_updateChunks(this.__wbg_ptr,e,s))}};const $_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_quantizedgeometry_free(t>>>0,1)));class H_{static __wrap(t){t>>>=0;const e=Object.create(H_.prototype);return e.__wbg_ptr=t,$_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,$_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_quantizedgeometry_free(t,0)}readCoordsUnsafe(){return a_(i_.quantizedgeometry_readCoordsUnsafe(this.__wbg_ptr))}readLengthsUnsafe(){return a_(i_.quantizedgeometry_readLengthsUnsafe(this.__wbg_ptr))}}const Z_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_rangeproviderjs_free(t>>>0,1)));class Q_{static __wrap(t){t>>>=0;const e=Object.create(Q_.prototype);return e.__wbg_ptr=t,Z_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Z_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_rangeproviderjs_free(t,0)}static new(t,e){const s=i_.rangeproviderjs_new(h_(t),h_(e));return Q_.__wrap(s)}static withFetch(){const t=i_.rangeproviderjs_withFetch();return Q_.__wrap(t)}}const K_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((t=>i_.__wbg_rowgroup_free(t>>>0,1)));class J_{static __wrap(t){t>>>=0;const e=Object.create(J_.prototype);return e.__wbg_ptr=t,K_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,K_.unregister(this),t}free(){const t=this.__destroy_into_raw();i_.__wbg_rowgroup_free(t,0)}columns(){try{const i=i_.__wbindgen_add_to_stack_pointer(-16);i_.rowgroup_columns(i,this.__wbg_ptr);var t=w_().getInt32(i+0,!0),e=w_().getInt32(i+4,!0),s=M_(t,e).slice();return i_.__wbindgen_free(t,4*e,4),s}finally{i_.__wbindgen_add_to_stack_pointer(16)}}}function tp(){const t={wbg:{}};return t.wbg.__wbg_new_abda76e883ba8a5f=function(){return h_(new Error)},t.wbg.__wbg_stack_658279fe44541cf6=function(t,e){const s=x_(n_(e).stack,i_.__wbindgen_malloc,i_.__wbindgen_realloc),i=g_;w_().setInt32(t+4,i,!0),w_().setInt32(t+0,s,!0)},t.wbg.__wbg_error_f851667af71bcfc6=function(t,e){let s,i;try{s=t,i=e,console.error(d_(t,e))}finally{i_.__wbindgen_free(s,i,1)}},t.wbg.__wbindgen_object_drop_ref=function(t){a_(t)},t.wbg.__wbindgen_is_function=function(t){return"function"==typeof n_(t)},t.wbg.__wbg_self_3093d5d1f7bcb682=function(){return v_((function(){return h_(self.self)}),arguments)},t.wbg.__wbg_window_3bcfc4d31bc012f8=function(){return v_((function(){return h_(window.window)}),arguments)},t.wbg.__wbg_globalThis_86b222e13bdf32ed=function(){return v_((function(){return h_(globalThis.globalThis)}),arguments)},t.wbg.__wbg_global_e5a3fe56f8be9485=function(){return v_((function(){return h_(global.global)}),arguments)},t.wbg.__wbindgen_is_undefined=function(t){return void 0===n_(t)},t.wbg.__wbg_newnoargs_76313bd6ff35d0f2=function(t,e){return h_(new Function(d_(t,e)))},t.wbg.__wbindgen_object_clone_ref=function(t){return h_(n_(t))},t.wbg.__wbindgen_number_new=function(t){return h_(t)},t.wbg.__wbindgen_string_new=function(t,e){return h_(d_(t,e))},t.wbg.__wbg_call_1084a111329e68ce=function(){return v_((function(t,e){return h_(n_(t).call(n_(e)))}),arguments)},t.wbg.__wbg_call_89af060b4e1523f2=function(){return v_((function(t,e,s){return h_(n_(t).call(n_(e),n_(s)))}),arguments)},t.wbg.__wbg_call_7de908392845a9a5=function(){return v_((function(t,e,s,i,r){return h_(n_(t).call(n_(e),n_(s),n_(i),n_(r)))}),arguments)},t.wbg.__wbg_valueOf_563b3487b1b116aa=function(t){return n_(t).valueOf()},t.wbg.__wbg_buffer_b7b08af79b0b0974=function(t){return h_(n_(t).buffer)},t.wbg.__wbg_new_b85e72ed1bfd57f9=function(t,e){try{var s={a:t,b:e};return h_(new Promise(((t,e)=>{const i=s.a;s.a=0;try{return function(t,e,s,i){i_.wasm_bindgen__convert__closures__invoke2_mut__h942ec15236fcac1d(t,e,h_(s),h_(i))}(i,s.b,t,e)}finally{s.a=i}})))}finally{s.a=s.b=0}},t.wbg.__wbg_resolve_570458cb99d56a43=function(t){return h_(Promise.resolve(n_(t)))},t.wbg.__wbg_then_95e6edc0f89b73b1=function(t,e){return h_(n_(t).then(n_(e)))},t.wbg.__wbg_then_876bb3c633745cc6=function(t,e,s){return h_(n_(t).then(n_(e),n_(s)))},t.wbg.__wbg_newwithbyteoffsetandlength_b5293b0eedbac651=function(t,e,s){return h_(new Int16Array(n_(t),e>>>0,s>>>0))},t.wbg.__wbg_new_ea1883e1e5e86686=function(t){return h_(new Uint8Array(n_(t)))},t.wbg.__wbg_newwithbyteoffsetandlength_874df3e29cb555f9=function(t,e,s){return h_(new Uint32Array(n_(t),e>>>0,s>>>0))},t.wbg.__wbg_length_8339fcf5d8ecd12e=function(t){return n_(t).length},t.wbg.__wbg_set_d1e79e2388520f18=function(t,e,s){n_(t).set(n_(e),s>>>0)},t.wbg.__wbindgen_throw=function(t,e){throw new Error(d_(t,e))},t.wbg.__wbindgen_memory=function(){return h_(i_.memory)},t.wbg.__wbindgen_array_new=function(){return h_([])},t.wbg.__wbindgen_array_push=function(t,e){n_(t).push(a_(e))},t.wbg.__wbindgen_uint8_array_new=function(t,e){var s=__(t,e).slice();return i_.__wbindgen_free(t,1*e,1),h_(s)},t.wbg.__wbg_queueMicrotask_48421b3cc9052b68=function(t){return h_(n_(t).queueMicrotask)},t.wbg.__wbindgen_cb_drop=function(t){const e=a_(t).original;return 1==e.cnt--&&(e.a=0,!0)},t.wbg.__wbg_queueMicrotask_12a30234db4045d3=function(t){queueMicrotask(n_(t))},t.wbg.__wbg_parquetchunk_new=function(t){return h_(j_.__wrap(t))},t.wbg.__wbg_parquetfile_new=function(t){return h_(X_.__wrap(t))},t.wbg.__wbg_filemetadata_new=function(t){return h_(B_.__wrap(t))},t.wbg.__wbg_fieldmetadata_new=function(t){return h_(D_.__wrap(t))},t.wbg.__wbg_rowgroup_new=function(t){return h_(J_.__wrap(t))},t.wbg.__wbg_columndescriptor_new=function(t){return h_(R_.__wrap(t))},t.wbg.__wbg_pageencodingdescriptor_new=function(t){return h_(q_.__wrap(t))},t.wbg.__wbindgen_closure_wrapper1461=function(t,e,s){return h_(function(t,e,s,i){const r={a:t,b:e,cnt:1,dtor:75},n=(...t)=>{r.cnt++;const e=r.a;r.a=0;try{return i(e,r.b,...t)}finally{0==--r.cnt?(i_.__wbindgen_export_1.get(r.dtor)(e,r.b),p_.unregister(r)):r.a=e}};return n.original=r,p_.register(n,r,r),n}(t,e,0,f_))},t}function ep(t,e){return i_=t.exports,sp.__wbindgen_wasm_module=e,b_=null,S_=null,P_=null,I_=null,l_=null,i_.__wbindgen_start(),i_}async function sp(t){if(void 0!==i_)return i_;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module_or_path:t}=t):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const e=tp();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:s,module:i}=await async function(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(t,e)}catch(e){if("application/wasm"==t.headers.get("Content-Type"))throw e;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e)}const s=await t.arrayBuffer();return await WebAssembly.instantiate(s,e)}{const s=await WebAssembly.instantiate(t,e);return s instanceof WebAssembly.Instance?{instance:s,module:t}:s}}(await t,e);return ep(s,i)}const ip=Object.freeze(Object.defineProperty({__proto__:null,ColumnDescriptor:R_,FieldMetadata:D_,FileMetadata:B_,GeometryInfoDescriptor:U_,GeometryType:E_,PageEncodingDescriptor:q_,ParquetChunk:j_,ParquetFile:X_,QuantizedGeometry:H_,RangeProviderJs:Q_,RowGroup:J_,default:sp,enable_tracing:function(){i_.enable_tracing()},initSync:function(t){if(void 0!==i_)return i_;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module:t}=t):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const e=tp();return t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t)),ep(new WebAssembly.Instance(t,e),t)},readFile:function(t,e,s,i,r){const n=x_(t,i_.__wbindgen_malloc,i_.__wbindgen_realloc),o=g_;k_(i,B_);var a=i.__destroy_into_raw();let h=0;return F_(r)||(k_(r,U_),h=r.__destroy_into_raw()),a_(i_.readFile(n,o,h_(e),h_(s),a,h))},readFileFromBinary:function(t,e){let s=0;F_(t)||(k_(t,U_),s=t.__destroy_into_raw());const i=C_(e,i_.__wbindgen_malloc),r=g_;return a_(i_.readFileFromBinary(s,i,r))},readMetadata:A_,readMetadataFromFile:function(t){const e=C_(t,i_.__wbindgen_malloc),s=g_;return a_(i_.readMetadataFromFile(e,s))}},Symbol.toStringTag,{value:"Module"}));let rp=null;async function np(){return rp||(rp=async function(){const t=await Promise.resolve().then((()=>ip));return await t.default({module_or_path:(0,s_.s)("esri/libs/parquet/pkg/arcgis_parquet_bg.wasm")}),t}()),rp}const op=t=>async function(e,s,i){const r=t(),{data:n}=await(0,bd.A)(e,{responseType:"array-buffer",query:r,headers:{range:`bytes=${s}-${i}`}});return n},ap=t=>async function(e){const s=t(),{data:i}=await(0,bd.A)(e,{responseType:"native",method:"head",query:s}),r=i.headers.get("Content-Length");if(null==r)throw new Error("Unable to parse content length");return parseInt(r,10)};class hp{static async create(t,e){const s=await np(),i=await s.readMetadata(t,op(e),ap(e));return hp.fromFileMetadata(i)}static fromFileMetadata(t){const e=[];for(let s=0;s<t.numFields();s++){const i=t.getFieldByIndex(s);e.push({name:i.name,type:i.type,alias:i.name,index:i.index}),i.free()}return new hp(t,e)}constructor(t,e){this._inner=t,this.fields=e}destroy(){this._inner.free()}[Symbol.dispose](){this.destroy()}get size(){return this._inner.numRows()}getFieldIndex(t){return this._inner.getFieldIndex(t)}tryReadGeoMetadata(){const t=this._inner.keyValueMetadata("geo");return null==t?null:JSON.parse(t)}}function cp(t,e,s){const i=U_.new();return i.geometryType=function(t){switch(t){case"esriGeometryPoint":return E_.Point;case"esriGeometryPolygon":return E_.Polygon;case"esriGeometryPolyline":return E_.Polyline;case"esriGeometryMultipoint":return E_.Multipoint;default:throw new Error(`InternalError: Found unexpected GeometryType: ${t}`)}}(t.geometryType),"location"===t.type?(i.latIndex=e.getFieldIndex(t.latitudeFieldName),i.lngIndex=e.getFieldIndex(t.longitudeFieldName)):i.wkbIndex=e.getFieldIndex(t.primaryFieldName),i.inWkid=t.spatialReference.wkid,s&&(i.outWkid=s.wkid),i}class lp{static async create(t,e){const s=await np(),i=op(e.getCustomParameters),r=ap(e.getCustomParameters),n=await A_(t,i,r),o=cp(e.geometryInfo,n,e.outSpatialReference),a=await s.readFile(t,i,r,n,o);return new lp(a,hp.fromFileMetadata(a.metadata()))}static async fromFile(t,e,s){const i=await np(),r=await i.readMetadataFromFile(t),n=e?cp(e,r,s):void 0,o=await i.readFileFromBinary(n,t);return new lp(o,hp.fromFileMetadata(o.metadata()))}constructor(t,e){this.inner=t,this.metadata=e}destroy(){this.inner.free(),this.metadata.destroy()}[Symbol.dispose](){this.destroy()}}class up extends Cu{constructor(t,e,s,i){super(),this._reader=t,this._queryJSON=e,this._page=s,this._end=i,this.chunkId=`${this._page}${this.end?"e":""}`,this.normalizedChunkId=this.chunkId}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get queryInfo(){return{type:"snapshot",chunkId:this.chunkId,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get isTiled(){return!1}getTileReader(t){const e=this.queryFeaturesInBounds(t.bounds);return e.setTransformForDisplay(t.transform),e}}class dp extends Tu{constructor(t,e,s,i,r,n=new Uint32Array(i.size())){super(t),this._fields=e,this._geometryInfo=s,this._inner=i,this._chunkId=r,this._displayIds=n,this._index=-1,this.usedMemory=au.qK,this._size=this._inner.size(),"geometry"===this._geometryInfo.type&&(this._primaryGeometryIndex=this._fields.get(this._geometryInfo.primaryFieldName)?.index),null!=t.objectIdField&&(this._objectIdFieldIndex=this._fields.get(t.objectIdField)?.index),this._chunkId>65535&&console.error("Exceeded max allowed parquet reader size")}destroy(){super.destroy(),this._inner.free()}get fields(){return this._fields}get geometryType(){return this._geometryInfo.geometryType}get hasFeatures(){return!0}get hasNext(){throw new Error("Method not implemented.")}get exceededTransferLimit(){return!1}get hasZ(){return!1}get hasM(){return!1}getInTransform(){return null}getSize(){return this._size}getCursor(){return this.copy()}getAttributeHash(){let t="";for(const e of this.fields.fields)t+=this._readAttribute(e.name,!1)+".";return t}getObjectId(){return null!=this._objectIdFieldIndex?this._inner.readAttribute(this._index,this._objectIdFieldIndex):this._index<<16|this._chunkId}getDisplayId(){return this._displayIds[this._index]}setDisplayId(t){this._displayIds[this._index]=t}setIndex(t){this._index=t}getBoundsXMin(){return this._inner.boundsXMin(this._index)}getBoundsYMin(){return this._inner.boundsYMin(this._index)}getBoundsXMax(){return this._inner.boundsXMax(this._index)}getBoundsYMax(){return this._inner.boundsYMax(this._index)}setBoundsXMin(t){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMin(t){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsXMax(t){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMax(t){throw new Error("InternalError: Setting bounds is unsupported")}getIndex(){return this._index}next(){for(;++this._index<this._size&&!this._getExists(););return this._index<this._size}readGeometryArea(){throw new Error("Method not implemented.")}copy(){const t=new dp(this.metadata,this._fields,this._geometryInfo,this._inner,this._chunkId,this._displayIds);return this.copyInto(t),t}copyInto(t){super.copyInto(t),t._index=this._index}readGeometryForDisplayTransformed(t){const[e,s]=t.translate,[i,r]=t.scale,n=this._inner.readGeometryTransformed(this._index,e,s,i,-r);return n?new jt.A(n.readLengthsUnsafe(),n.readCoordsUnsafe()):null}_readGeometry(t){const e=this._inner.readCoords(this._index),s=this._inner.readLengths(this._index);return e&&s?new jt.A(s,e):null}_readX(){return this._readGeometry()?.coords[0]}_readY(){return this._readGeometry()?.coords[1]}_readServerCentroid(){return null}_readAttribute(t,e){const s=this.fields.get(t);if(!s)return;const i=this._inner.readAttribute(this._index,s.index);if(null==i)return i;const r=this.fields.isDateField(s.name);return e?null==i?i:r?new Date(i):i:i}_readAttributes(){const t={};for(const e of this._fields.fields)this._inner.hasField(e.index)&&e.index!==this._primaryGeometryIndex&&(t[e.name]=this._readAttribute(e.name,!1));return null==this._objectIdFieldIndex&&(t.__OBJECTID=this.getObjectId()),t}}class _p extends Td{constructor(t,e,s,i){super(i),this._service=t,this._metadata=e,this._schema=s,this._chunkId=0,this._files=[],this._availableFields=new Set(s.mutable.availableFields);const{geometryInfo:r}=this._service;"location"===r.type?(this._availableFields.add(r.latitudeFieldName),this._availableFields.add(r.longitudeFieldName)):this._availableFields.add(r.primaryFieldName)}destroy(){for(const t of this._files)t.destroy()}get about(){return{willQueryAllFeatures:!0,willQueryFullResolutionGeometry:!0}}async updateFields(t){await this._promise;const e=new Set(t),s=(0,k.iv)(e,this._availableFields);this._availableFields=(0,k.KC)(s,this._availableFields),await Promise.all(this._files.map((t=>{const e=Array.from(s).map((e=>t.metadata.getFieldIndex(e)));return t.inner.updateChunks(new Uint16Array(e))})))}async load(t){return null==this._promise&&(this._promise=this._download()),this._promise}unload(t){}async addParquetFile(t){this._insert(t)}async _insert(t){const e=await lp.create(t,{geometryInfo:this._service.geometryInfo,outSpatialReference:this._service.outSpatialReference,getCustomParameters:()=>this._schema.mutable.dataFilter.customParameters}),{geometryInfo:s}=this._service;(0,a.Te)(this._options);const{fields:i,timeZoneByFieldName:r}=this._service.metadata.fieldsIndex,n=i.map((t=>({...t,index:e.metadata.getFieldIndex(t.name)}))),o=hl.A.fromJSON({fields:n,timeZoneByFieldName:r}),h=new Uint16Array(Array.from(this._availableFields.values()).map((t=>o.get(t)?.index)));await e.inner.readChunksWithCallback(h,(t=>{const e=this._chunkId++,i=new dp(this._metadata,o,s,t,e),r=new up(i,null,e,!1);this._store.insert(r)})),this._files.push(e)}async _download(){try{await Promise.all(this._service.source.urls.map((t=>this._insert(t))));const t=new up(ku.empty(this._metadata),null,-1,!0);this._store.insert(t)}catch(t){throw console.error(t),t}}}class pp extends $d{constructor(t,e,s,i,r,n){super(t,e,s,r,n),this._random=new h.A(1e3),this._featureCount=i}get about(){return{willQueryAllFeatures:!0,willQueryFullResolutionGeometry:!0}}load(t){return null==this._promise&&(this._promise=this._downloadPages(this._featureCount)),this._promise}unload(t){}async _downloadPages(t){const e=Math.ceil(t/this._queryInfo.pageSize),s=Array.from({length:e},((t,e)=>e)).sort(((t,e)=>this._random.getInt()-this._random.getInt())),r=await Promise.all(s.map((t=>this._downloadPage(t)))),n=new up(ku.empty(this._metadata),null,-1,!0);this._store.insert(n);const o=r.filter((t=>t));if(o.length)throw new i.A("featurelayer-query","Encountered errors when downloading data",{errors:o})}async _downloadPage(t){try{const e=this._queryInfo.createPagedQuery(t),s=await this._fetch(e,this._options),i=new up(s,e.inner.toJSON(),t,!1);return(0,a.Te)(this._options),this._store.insert(i),null}catch(t){return t}}}class fp{constructor(t){this.size=0,this._start=0,this.maxSize=t,this._buffer=new Array(t)}get entries(){return this._buffer}enqueue(t){if(this.size===this.maxSize){const e=this._buffer[this._start];return this._buffer[this._start]=t,this._start=(this._start+1)%this.maxSize,e}return this._buffer[(this._start+this.size++)%this.maxSize]=t,null}dequeue(){if(0===this.size)return null;const t=this._buffer[this._start];return this._buffer[this._start]=null,this.size--,this._start=(this._start+1)%this.maxSize,t}peek(){return 0===this.size?null:this._buffer[this._start]}peekLast(){return 0===this.size?null:this._buffer[(this._start+(this.size-1))%this.maxSize]}find(t){if(0===this.size)return null;for(const e of this._buffer)if(null!=e&&t(e))return e;return null}clear(t){let e=this.dequeue();for(;null!=e;)t&&t(e),e=this.dequeue()}}const gp="__esri_timestamp__";class mp{constructor(t,e,s,i,r=128){this._trackIdToObservations=new Map,this._idCounter=0,this._lastPurge=performance.now(),this._addOrUpdated=new Map,this._removed=[],this._maxAge=0,this._timeInfo=s,this._purgeOptions=i,this.store=t,this.objectIdField=e,this.purgeInterval=r,this._useGeneratedIds="__esri_stream_id__"===this.objectIdField}removeById(t){this._removed.push(t)}removeByTrackId(t){const e=this._trackIdToObservations.get(t);if(e)for(const t of e.entries)this._removed.push(t)}add(t){if(this._useGeneratedIds){const e=this._nextId();t.attributes[this.objectIdField]=e,t.objectId=e}else t.objectId=t.attributes[this.objectIdField];const e=t.objectId;if(this._addOrUpdated.set(e,t),this._maxAge=Math.max(this._maxAge,t.attributes[this._timeInfo.startTimeField]),!this._timeInfo.trackIdField)return null==this._trackIdLessObservations&&(this._trackIdLessObservations=new fp(1e5)),void this._trackIdLessObservations.enqueue(e);const s=t.attributes[this._timeInfo.trackIdField];if(!this._trackIdToObservations.has(s)){const t=null!=this._purgeOptions?.maxObservations?this._purgeOptions.maxObservations:1e3,e=(0,ks.qE)(t,0,1e3);this._trackIdToObservations.set(s,new fp(e))}const i=this._trackIdToObservations.get(s),r=i?.enqueue(e);null!=r&&(this._addOrUpdated.has(r)?this._addOrUpdated.delete(r):this._removed.push(r))}checkForUpdates(){const t=this._getToAdd(),e=this._getToRemove(),s=performance.now();s-this._lastPurge>=this.purgeInterval&&(this._purge(s),this._lastPurge=s);const i=[];if(null!=e)for(const t of e){const e=this.store.removeById(t);null!=e&&i.push(e)}const r=[];if(null!=t){const i=new Set(e??[]);for(const e of t)i.has(e.objectId)||(e.attributes[gp]=s,this.store.add(e),r.push(e))}return!(!r.length&&!i?.length||(this.store.update(r,i),0))}_getToAdd(){if(!this._addOrUpdated.size)return null;const t=new Array(this._addOrUpdated.size);let e=0;return this._addOrUpdated.forEach((s=>t[e++]=s)),this._addOrUpdated.clear(),t}_getToRemove(){const t=this._removed;return this._removed.length?(this._removed=[],t):null}_nextId(){const t=this._idCounter;return this._idCounter=(this._idCounter+1)%4294967294+1,t}_purge(t){const e=this._purgeOptions;null!=e&&(this._purgeSomeByDisplayCount(e),this._purgeByAge(e),this._purgeByAgeReceived(t,e),this._purgeTracks())}_purgeSomeByDisplayCount(t){if(!t.displayCount)return;let e=this.store.size;if(e>t.displayCount){if(this._timeInfo.trackIdField)for(const s of this._trackIdToObservations.values())if(e>t.displayCount&&s.size){const t=s.dequeue();this._removed.push(t),e--}if(null!=this._trackIdLessObservations){let s=e-t.displayCount;for(;s-- >0;){const t=this._trackIdLessObservations.dequeue();null!=t&&this._removed.push(t)}}}}_purgeByAge(t){const e=this._timeInfo?.startTimeField;if(!t.age||!e)return;const s=60*t.age*1e3,i=this._maxAge-s;this.store.forEach((t=>{t.attributes[e]<i&&this._removed.push(t.objectId)}))}_purgeByAgeReceived(t,e){if(!e.ageReceived)return;const s=t-60*e.ageReceived*1e3;this.store.forEach((t=>{t.attributes[gp]<s&&this._removed.push(t.objectId)}))}_purgeTracks(){this._trackIdToObservations.forEach(((t,e)=>{0===t.size&&this._trackIdToObservations.delete(e)}))}}var yp=s(30624);let xp=class extends T.A{constructor(t){super(t)}get connectionStatus(){return this.connection?.connectionStatus}get errorString(){return this.connection?.errorString}};(0,P._)([(0,F.MZ)()],xp.prototype,"connection",void 0),(0,P._)([(0,F.MZ)()],xp.prototype,"connectionStatus",null),(0,P._)([(0,F.MZ)()],xp.prototype,"errorString",null),xp=(0,P._)([(0,z.$)("esri.views.2d.layers.features.sources.StreamConnectionState")],xp);class bp{constructor(t,e){this._metadata=t,this._onUpdate=e,this._objectIdToFeature=new Map}get size(){return this._objectIdToFeature.size}get reader(){return ku.fromFeatures([...this._objectIdToFeature.values()],this._metadata)}add(t){this._objectIdToFeature.set(t.objectId,t)}forEach(t){this._objectIdToFeature.forEach(t)}removeById(t){const e=this._objectIdToFeature.get(t);return e?(this._objectIdToFeature.delete(t),e):null}clear(){this._objectIdToFeature=new Map}update(t,e){this._onUpdate(t?.length??0)}}class wp extends Cu{constructor(t){super(),this._reader=t,this.chunkId="stream-chunk",this.normalizedChunkId="stream-chunk"}get reader(){return this._reader}get first(){return!0}get end(){return!0}get queryInfo(){return{type:"stream",chunkId:this.chunkId,size:this.size(),end:this.end}}get isTiled(){return!1}getTileReader(t){const e=this.queryFeaturesInBounds(t.bounds);return e.setTransformForDisplay(t.transform),e}}class vp extends Td{constructor(t,e,s,i,r){super(s),this._service=t,this._dataFilter=e,this._streamOptions=i,this._metadata=r,this._connectionState=new xp,this._forceRefresh=!1,this.events=new ll.A;const{objectIdField:n,timeInfo:o}=this._metadata,{purgeOptions:a}=e;this._stagingStore=new bp(this._metadata,(t=>this.events.emit("features-updated",t))),this._manager=new mp(this._stagingStore,n,o,a),this.connect()}destroy(){super.destroy(),this.disconnect()}get about(){return{willQueryAllFeatures:!1,willQueryFullResolutionGeometry:!1}}get connectionStatus(){return this._connectionState.connectionStatus}get errorString(){return this._connectionState?.errorString}async refresh(){const t=null!=this._chunk;this._manager.checkForUpdates()||!t||this._forceRefresh?(this._chunk&&this._store.remove(this._chunk),this._forceRefresh=!1,this._chunk=new wp(this._stagingStore.reader),this._store.insert(this._chunk),this.events.emit("tick")):this.events.emit("tick")}async updateFields(t){throw new Error("Updating available fields not supported for StreamLayer")}async load(t){}unload(t){}disconnect(){this._connection=(0,C.pR)(this._connection),this._connectionState.connection=null,this._handlesGroup?.remove()}connect(){if(null!=this._connection)return;const{geometryType:t,spatialReference:e}=this._metadata,{maxReconnectionAttempts:s,maxReconnectionInterval:i,geometryDefinition:n,definitionExpression:o,customParameters:a}=this._dataFilter;this._connection=(0,yp.createConnection)(this._service.source,e,this._streamOptions.outSR,t,o,n,s,i,a),this._handlesGroup=(0,r.vE)([this._connection.on("data-received",(t=>this._onFeature(t))),this._connection.on("message-received",(t=>this._onWebSocketMessage(t)))]),this._connectionState.connection=this._connection}clear(){this._manager.checkForUpdates(),this._stagingStore.clear(),this._forceRefresh=!0}updateCustomParameters(t){this._connection?.updateCustomParameters(t)}sendMessageToSocket(t){this._connection?.sendMessageToSocket(t)}sendMessageToClient(t){this._connection?.sendMessageToClient(t)}_onWebSocketMessage(t){if("type"in t)switch(t.type){case"delete":if(t.objectIds)for(const e of t.objectIds)this._manager.removeById(e);if(t.trackIds)for(const e of t.trackIds)this._manager.removeByTrackId(e);break;case"clear":this.clear()}this.events.emit("message-received",t)}_onFeature(t){try{this._manager.add(t),this.events.emit("data-received",t)}catch(t){}}}class Sp{constructor(t){this._onChange=t,this._chunks=new Map,this._chunksToRemove=[],this.events=new ll.A,this.featureAdapter=new td}destroy(){this.clear()}clear(){for(const t of this._chunks.values())this._chunksToRemove.push(t);this._chunks.clear(),null!=this._localEditChunk&&this._chunksToRemove.push(this._localEditChunk),this._localEditChunk=null}*chunks(){this._localEditChunk&&(yield this._localEditChunk),this._localOverridesChunk&&(yield this._localOverridesChunk),yield*this._chunks.values()}dataChunks(){return this._chunks.values()}insert(t){(0,n.A)("esri-2d-update-debug")&&console.debug(`Chunk[${t.chunkId}] SourceChunkStore.insert`),this._localOverridesChunk?.overriddenIds.size&&(t.reader.removeIds(this._localOverridesChunk.overriddenIds),t.invalidate()),this._localEditChunk?.overriddenIds.size&&this._localEditChunk.removeOverrides(t),this._chunks.set(t.chunkId,t),this.events.emit("changed"),this._onChange()}remove(t){(0,n.A)("esri-2d-update-debug")&&console.debug(`Chunk[${t.chunkId}] SourceChunkStore.remove`),this._chunks.delete(t.chunkId),this._chunksToRemove.push(t)}cleanupRemovedChunks(){const t=this._chunksToRemove;return this._chunksToRemove=[],t}applyLocalOverrides(t,e){null==this._localOverridesChunk&&(this._localOverridesChunk=new Eu(e,"localOverride")),this._localOverridesChunk.applyOverrides(t);for(const t of this._chunks.values())t.reader.removeIds(this._localOverridesChunk.overriddenIds),t.invalidate();this.events.emit("changed")}applyLocalEdit(t,e){null==this._localEditChunk&&(this._localEditChunk=new Eu(e,"localEdit")),this._localEditChunk.applyOverrides(t);for(const t of this._chunks.values())t.reader.removeIds(this._localEditChunk.overriddenIds),t.invalidate();this.events.emit("changed")}forEach(t){const e=new Set;for(const s of this.chunks()){const i=s.reader.getCursor();for(;i.next();){const s=i.getObjectId();e.has(s)||(t(i.copy()),e.add(s))}}}forEachUnsafe(t){const e=new Set;for(const s of this.chunks()){const i=s.reader.getCursor();for(;i.next();){const s=i.getObjectId();e.has(s)||(t(i),e.add(s))}}}forEachInBounds(t,e){const s=new Set;for(const i of this.chunks()){const r=i.queryFeaturesInBounds(t);for(;r.next();){const t=r.getObjectId();s.has(t)||(e(r.copy()),s.add(t))}}}forEachBounds(t,e){const s=(0,ul.vt)();for(const i of t)i.getBounds(s)&&e(s)}}var Ip=s(32587),Mp=s(79897);let Pp=class extends T.A{constructor(t){super(t),this.debugName="",this._updatingHandles=new Mp.U,this._idToUpdatingState=new Ip.A}get updating(){const t=this._updatingHandles.updating||Array.from(this._idToUpdatingState.values()).some((t=>t));if((0,n.A)("esri-2d-log-updating")){const e=Array.from(this._idToUpdatingState.entries()).map((([t,e])=>`-> ${t}: ${e}`)).join("\n");console.log(`${this.debugName}: Updating: ${t}\n-> Handles: ${this._updatingHandles.updating}\n${e}`)}return t}addUpdateTracking(t,e){const s=(0,c.wB)((()=>e.updating),(e=>this._idToUpdatingState.set(t,e)),{sync:!0});this.addHandles(s)}addPromise(t){return this._updatingHandles.addPromise(t)}};(0,P._)([(0,F.MZ)({constructOnly:!0})],Pp.prototype,"debugName",void 0),(0,P._)([(0,F.MZ)({readOnly:!0})],Pp.prototype,"updating",null),Pp=(0,P._)([(0,z.$)("esri.views.2d.layers.support.UpdateTracking2D")],Pp);class Tp{constructor(t,e,s,i,r){this.service=t,this._aggregateAdapter=e,this._subscriptions=s,this._onChange=i,this._connection=r,this._updateTracking=new Pp({debugName:"FeatureSource"}),this._didInvalidateData=!1,this._store=new Sp(this._onChange),this._metadata=sd.createFeature(t.metadata)}destroy(){this._strategy?.destroy(),this._store.destroy(),this._streamMessenger?.destroy(),"memory"===this.service.type&&this.service.source.map((t=>t.close()))}get metadata(){if(!this._metadata)throw new Error("InternalError: Metadata not defined. Was update called?");return this._metadata}get store(){return this._store}get streamMessenger(){return null==this._streamMessenger&&this._initStreamMessenger(),this._streamMessenger}get statistics(){return vd.from(this._store)}get updateTracking(){return this._updateTracking}get queryEngine(){if(!this._queryEngine){if(!this._schema)return null;const{dataFilter:t}=this._schema.mutable,e=this._schema.mutable.availableFields,s=this._metadata;this._queryEngine=new _l.do({featureStore:this._store,fieldsIndex:s.fieldsIndex,geometryType:s.geometryType,objectIdField:s.objectIdField,hasM:!1,hasZ:!1,spatialReference:this.service.outSpatialReference,aggregateAdapter:this._aggregateAdapter,timeInfo:s.timeInfo,definitionExpression:t.definitionExpression,availableFields:e})}return this._queryEngine}get isStream(){return"stream"===this._schema.type}chunks(){return Array.from(this._store.chunks())}cleanupRemovedChunks(){return this._store.cleanupRemovedChunks()}onSubscribe(t){this._connection.onEvent({type:"subscribe",tile:t.tile.id});const e=this._strategy?.load(t);e&&(e.then((()=>this._connection.onEvent({type:"loaded",tile:t.tile.id}))).catch((e=>this._connection.onEvent({type:"error",tile:t.tile.id,error:e}))),this._updateTracking.addPromise(e))}onResume(t){this._updateTracking.addPromise((0,a.QZ)(this._strategy?.load(t)))}onUnsubscribe(t){this._connection.onEvent({type:"unsubscribe",tile:t.tile.id}),this._strategy?.unload(t)}getLocalEdit(t){return this._updateTracking.addPromise(this._getGetLocalEdit(t))}applyLocalEdit(t){this._didInvalidateData=!0,this._store.applyLocalEdit(t,this.metadata)}async update(t,e){const s=t.source,i=(0,V.Ui)(this._schema?.mutable,s.mutable);if(!i)return!1;if((0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${e}] FeatureSource.update`,{changes:i}),this._schema=s,this._queryEngine?.destroy(),this._queryEngine=null,"feature-service"===this.service.type&&null!=this.service.queryMetadata.lastEditDate&&(this._lastEditDate=this.service.queryMetadata.lastEditDate),null==this._streamMessenger&&"stream"===this._schema.type&&this._initStreamMessenger(),(0,V.w2)(i,"sourceRefreshVersion")&&this._strategy?.refresh)return await this._strategy.refresh(),!0;if(("feature"===s.type||"parquet"===s.type)&&(0,V.w2)(i,"availableFields")){if(await this._queryLastEditDateChanged()||this._didInvalidateData)this._didInvalidateData=!1,await this._updateStrategy(e);else{this._connection.onEvent({type:"updateFieldsStart"});try{await this._strategy.updateFields(s.mutable.availableFields),this._connection.onEvent({type:"updateFieldsEnd"})}catch(t){this._connection.onEvent({type:"updateFieldsError",error:t})}}return!1}return!(!(0,V.Mj)(i,"dataFilter")&&!(0,V.Mj)(i,"sourceRefreshVersion")||(await this._updateStrategy(e),0))}async addParquetFile(t){this._strategy.addParquetFile(t)}_initStreamMessenger(){null==this._streamMessenger&&(this._streamMessenger=new Pd(this._connection))}async _getGetLocalEdit(t){if(t.historicMoment&&"feature"===this._schema.type&&(this._schema.mutable.dataFilter.historicMoment=t.historicMoment,this._strategy.unsafeSetQueryHistoricMoment(new Date(t.historicMoment))),"edit-by-feature"===t.type){const e=[...t.added,...t.updated].map((t=>ol.Om.fromJSON(t,this.metadata.objectIdField)));return{reader:ku.fromOptimizedFeatures(e,this.metadata),removed:this._resolveIdentifiers(t.removed)}}const e=this._resolveIdentifiers(t.removed);if(!t.updated.length&&!t.added.length)return{reader:ku.empty(this.metadata),removed:e};const s=this._resolveIdentifiers([...t.added,...t.updated]);return{reader:await this._strategy.queryByObjectId(s),removed:e}}_resolveIdentifiers(t){const e=[],s=[];for(const i of t)null!=i.objectId&&-1!==i.objectId?s.push(i.objectId):e.push(i.globalId);if(e.length){const t=new Set(e),i=this.metadata.globalIdField;if(null==i)throw new Error("InternalError: Recieved an edit with globalIds, but not supported by the service");this._store.forEachUnsafe((e=>{const r=e.readAttribute(i);t.has(r)&&s.push(e.getObjectId())}))}return s}async _queryLastEditDateChanged(){if(null==this._lastEditDate)return!1;const t=this.service.source,e={...t.query,f:"json"},s=(await(0,bd.A)(t.path,{query:e,responseType:"json"})).data.editingInfo.lastEditDate;return s!==this._lastEditDate&&(this._lastEditDate=s,!0)}async _createStrategy(){const t="isSourceHosted"in this.service&&this.service.isSourceHosted,e=Array.isArray(this.service.source),s=this.service.source&&"collection"in this.service.source,i=t||e||s;if("stream"===this._schema.type){const t=new vp(this.service,this._schema.mutable.dataFilter,this._store,{outSR:this.service.outSpatialReference},this.metadata);return this._streamMessenger.strategy=t,t}if("parquet"===this._schema.type){const t=this.service;return new _p(t,this._metadata,this._schema,this._store)}const r=this.service,n=Md.fromSchema(r,this._schema,this._metadata),o=await this._supportSnapshotMode(r,n);return o?new pp(r,n,this._store,o.featureCount,this.metadata,this._connection):i?new e_(r,n,this._store,this.metadata,this._connection):new Kd(r,n,this._store,this.metadata,this._connection)}async _updateStrategy(t){const e=await this._createStrategy();this._connection.onEvent({type:"updateStrategyStart",about:e.about});const s=!!this._strategy;this._store.clear(),this._strategy?.destroy(),this._strategy=e,(0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${t}] FeatureSource.updateStrategy`,{strategy:e});const i=Array.from(this._subscriptions.values());if(!i.length)return void this._connection.onEvent({type:"updateStrategyEnd"});const r=Promise.all(i.map((t=>this._strategy.load(t).then((()=>this._connection.onEvent({type:"loaded",tile:t.tile.id}))).catch((e=>this._connection.onEvent({type:"error",tile:t.tile.id,error:e}))))));this._updateTracking.addPromise(r);try{s&&await r}catch(t){(0,a.jH)(t)}this._connection.onEvent({type:"updateStrategyEnd"}),(0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${t}] FeatureSource.updateStrategyEnd`,{strategy:e})}async _supportSnapshotMode(t,e){const{queryMetadata:s}=t,i=s.snapshotInfo;if(!i||!i.supportsSnapshotMinThreshold||!i.snapshotCountThresholds)return null;const r=t.source,n=e.createQuery();n.inner.orderByFields=[],n.inner.returnGeometry=!1;const o=(await(0,wd.gW)(r,n.inner,{query:n.customParameters})).data.count,{min:a,max:h}=i.snapshotCountThresholds;return o<=a||i.supportsSnapshotMaxThreshold&&o<h?{featureCount:o}:null}}class Ap{constructor(t,e){this.tile=t,this.version=e,this._abortController=new AbortController}get key(){return this.tile.key}get signal(){return this._abortController.signal}abort(){this._abortController.abort()}}var Cp=s(98291),kp=s(27348);class Fp{constructor(t,e){this.key=new p.A(0,0,0,0),this.bounds=(0,N.vt)(),this.objectIds=new Set,this.key.set(e);const s=t.getLODInfoAt(this.key);this.tileInfoView=t,this.tileInfoView.getTileBounds(this.bounds,this.key,!0),this.resolution=s.resolution,this.level=s.level,this.scale=s.scale,this.minScale=t.zoomToScale(s.level-1),this.maxScale=t.zoomToScale(s.level+1)}get lod(){return this.tileInfoView.getLODInfoAt(this.key)}get id(){return this.key.id}get extent(){return(0,N.w1)(this.bounds,this.tileInfoView.tileInfo.spatialReference)}get transform(){return{originPosition:"upperLeft",scale:[this.resolution,this.resolution],translate:[this.bounds[0],this.bounds[3]]}}createArcadeEvaluationOptions(t){return tu(this.scale,t)}createChildTiles(){const t=this.key.getChildKeys(),e=Cp.A.acquire();for(let s=0;s<t.length;s++)e[s]=new Fp(this.tileInfoView,t[s]);return e}getQuantizationParameters(){return kp.A.fromJSON({mode:"view",originPosition:"upperLeft",tolerance:this.resolution,extent:{xmin:this.bounds[0],ymin:this.bounds[1],xmax:this.bounds[2],ymax:this.bounds[3],spatialReference:this.tileInfoView.tileInfo.spatialReference}})}}class Ep{constructor(t){this.inner=t,this.resolver=(0,a.Tw)()}}class zp{constructor(){this._aggregateAdapter={getFeatureObjectIds:t=>this._processor.getFeatureObjectIdsForAggregate(t)},this._subscriptions=new Map,this._updateRequested=!1,this._updateSubscriptionRequests=[],this._updateHighlightRequests=[]}destroy(){this._subscriptions.clear(),this._processor?.destroy(),this._source?.destroy(),this._handles?.remove(),this._updateLocalEditsRequest=null,this._tileInfoView=null}onAttach(t){(0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.onAttach");const e=this._connection,s=d.A.fromJSON(t.tileInfoJSON);this._tileInfoView=new M(s),this._source=new Tp(t.service,this._aggregateAdapter,this._subscriptions,(()=>this._requestUpdate()),e),this._processor=new yd(e,this._source),this._handles=(0,r.vE)([(0,c.wB)((()=>this._source.updateTracking.updating),(()=>{this._requestUpdate(),(0,a.QZ)(this._connection.layerView.setUpdating({data:this._source.updateTracking.updating,pipeline:!0}))}))])}onDetach(){(0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.onDetach"),this.destroy()}set remoteClient(t){this._connection=new G(t)}get features(){const t=this._source?.queryEngine;if(!t)throw new i.A("no-queryEngine","No query engine defined");return t}get aggregates(){const t=this._processor?.aggregateQueryEngine;if(!t)throw new i.A("no-queryEngine","No aggregate query engine defined");return t}get processor(){return this._processor}get streamMessenger(){return this._source.streamMessenger}getDisplayFeatures(t){return this._processor.getDisplayFeatures(t)}getDisplayIds(t){return this._processor.getDisplayIds(t)}async updateSchema(t,e){return(0,n.A)("esri-2d-update-debug")&&this._updateSchemaRequest&&console.error("InternalError: Schema already updating"),this._updateSchemaRequest=new Ep({schema:t,version:e}),this._requestUpdate(),this._updateSchemaRequest.resolver.promise}updateSubscriptions(t){const e=new Ep(t);return this._updateSubscriptionRequests.push(e),this._requestUpdate(),e.resolver.promise}updateHighlight(t){const e=new Ep(t);return this._updateHighlightRequests.push(e),this._requestUpdate(),e.resolver.promise}async addParquetFile(t){return this._source.addParquetFile(t)}async onEdits(t){if(null!=this._updateLocalEditsRequest)throw new i.A("InternalError - Already processing an edit");this._updateLocalEditsRequest=new Ep(t);const e=this._updateLocalEditsRequest.resolver.promise;return this._requestUpdate(),e}queryStatistics(){return this._source.statistics.toJSON()}async queryVisibleFeatures(t,e){return this.features.executeQuery(t,e)}async queryHeatmapStatistics(t){const e=Math.round((0,l.Lz)(t.radius));let s=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;const r="string"==typeof t.fieldOffset,n=t.fieldOffset??0,o=Array.from(this._subscriptions.values()),a=this._source.chunks(),h=e**2,c=3/(Math.PI*h),u=2*e,d=Math.ceil(B.CQ/u);for(const e of o){const o=e.tile,l=new Float64Array(d*d);for(const e of a){const s=e.getTileReader(o);if(!s)continue;const i=s.getCursor();for(;i.next();){let e=1;if(null!=t.field){const s=i.readAttribute(t.field);e=r?-1*+s:+s+n}const s=i.readXForDisplay()/u,o=i.readYForDisplay()/u,a=Math.floor(s),_=Math.floor(o);if(a<0||_<0||a>=d||_>=d)continue;const p=((.5+a-s)*u)**2+((.5+_-o)*u)**2;if(p>h)continue;const f=e*(c*(1-p/h)**2);l[_+a*d]+=f}}for(let t=0;t<l.length;t++)s=Math.min(s,l[t]),i=Math.max(i,l[t])}return{max:i,min:s}}async getSampleFeatures(t){const e=this._source.chunks();if(e.reduce(((t,e)=>t+e.size()),0)<=t.minFeatureCount){if(!this._source.updateTracking.updating){const t=[];return this._source.store.forEachUnsafe((e=>t.push(e.readLegacyFeatureWorldSpace()))),t}return null}const s=new Set,i=[],r=e.map((t=>t.reader.getCursor())),n=new h.A,o=3*t.sampleSize;for(let a=0;a<o&&i.length<t.sampleSize;a++){const t=r[n.getIntRange(0,e.length-1)];if(0===t.getSize())continue;const o=n.getIntRange(0,t.getSize()-1);t.setIndex(o);const a=t.getObjectId();s.has(a)||(s.add(a),i.push(t.readLegacyFeatureWorldSpace()))}return i.length>=t.sampleSize?i:null}_requestUpdate(){this._updateRequested||(this._updateRequested=!0,(0,o.d)((()=>this._scheduleNextUpdate())))}_scheduleNextUpdate(){this._updateRequested&&(this._ongoingUpdate||(this._ongoingUpdate=(0,u.oV)(this._doUpdate()).finally((()=>{this._ongoingUpdate=null,this._scheduleNextUpdate()})),this._updateRequested=!1))}_subscribe(t){const e=t.tileId;if(this._subscriptions.has(e))return;(0,n.A)("esri-2d-update-debug")&&console.debug(`Tile[${e}] Pipeline.subscribe`);const s=new Fp(this._tileInfoView,e),i=new Ap(s,t.version);this._subscriptions.set(e,i),this._source.onSubscribe(i),this._processor.onSubscribe(i)}_unsubscribe(t){const e=this._subscriptions.get(t);e&&((0,n.A)("esri-2d-update-debug")&&console.debug(`Tile[${t}] Pipeline.unsubscribe`),e.abort(),this._source.onUnsubscribe(e),this._processor.onUnsubscribe(e),this._subscriptions.delete(e.key.id))}async _doUpdate(){if((0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline._doUpdateStart"),await this._connection.layerView.setUpdating({data:this._source.updateTracking.updating,pipeline:!0}),this._updateSubscriptionRequests.length){const t=this._updateSubscriptionRequests;this._updateSubscriptionRequests=[];for(const e of t)this._doUpdateSubscriptions(e.inner),e.resolver.resolve()}const t=this._updateSchemaRequest;if(this._updateSchemaRequest=null,null!=t){const{schema:e,version:s}=t.inner;await this._doUpdateSchema(e,s)}const e=this._updateLocalEditsRequest;if(this._updateLocalEditsRequest=null,null!=e){(0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.applyEditOverride",e.inner);const t=await this._source.getLocalEdit(e.inner);await this._processor.applyLocalEdit(t),this._source.applyLocalEdit(t),(0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.endEditOverride",e.inner)}if(this._updateHighlightRequests.length){const t=this._updateHighlightRequests;this._updateHighlightRequests=[];for(const e of t)this._processor.updateHighlight(e.inner),e.resolver.resolve()}const s=this._source.cleanupRemovedChunks();this._processor.removeChunks(s);try{this._subscriptions.size&&((0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.updateChunksStart"),await this._processor.updateChunks(),(0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.updateChunksEnd"))}catch(t){(0,a.jH)(t)}null!=e&&e.resolver.resolve(),null!=t&&t.resolver.resolve(),this._updateRequested?((0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline._doUpdateEnd [updateRequested=true]"),await this._connection.layerView.setUpdating({data:this._source.updateTracking.updating,pipeline:!0})):((0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline._doUpdateEnd [updateRequested=false, After flush]"),await this._connection.layerView.setUpdating({data:this._source.updateTracking.updating,pipeline:this._updateRequested}))}async _doUpdateSchema(t,e){(0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${e}] Pipeline.updateStart`,{schema:t});const s={tileInfo:this._tileInfoView?.tileInfo},i=await this._source.update(t,e),r=Array.from(this._subscriptions.values());await this._processor.update(t,e,s,i,r),(0,n.A)("esri-2d-update-debug")&&console.debug(`Version[${e}] Pipeline.updateEnd`)}_doUpdateSubscriptions(t){(0,n.A)("esri-2d-update-debug")&&console.debug("Pipeline.updateSubscriptions",t);for(const e of t.subscribe)this._subscribe(e);for(const e of t.unsubscribe)this._unsubscribe(e)}}},44159:(t,e,s)=>{s.d(e,{A:()=>r});var i=s(93687);class r{static getId(t,e,s,i){return"object"==typeof t?`${t.level}/${t.row}/${t.col}/${t.world}`:`${t}/${e}/${s}/${i}`}constructor(t,e,s,i){this.set(t,e,s,i)}get key(){return this}get id(){return this.toString()}get normalizedId(){return`${this.level}/${this.row}/${this.col}`}set id(t){this.set(t)}get hash(){const t=4095&this.row,e=4095&this.col,s=63&this.level;return(3&this.world)<<30|e<<22|t<<8|s}acquire(t,e,s,i){this.set(t,e,s,i)}contains(t){const e=t.level-this.level;return e>=0&&this.row===t.row>>e&&this.col===t.col>>e&&this.world===t.world}containsChild(t){const e=t.level-this.level;return e>0&&this.row===t.row>>e&&this.col===t.col>>e&&this.world===t.world}equals(t){return this.level===t.level&&this.row===t.row&&this.col===t.col&&this.world===t.world}clone(){return new r(this)}release(){this.level=0,this.row=0,this.col=0,this.world=0}set(t,e,s,i){if(null==t)this.level=0,this.row=0,this.col=0,this.world=0;else if("object"==typeof t)this.level=t.level||0,this.row=t.row||0,this.col=t.col||0,this.world=t.world||0;else if("string"==typeof t){const[e,s,i,r]=t.split("/");this.level=parseFloat(e),this.row=parseFloat(s),this.col=parseFloat(i),this.world=parseFloat(r)}else this.level=+t,this.row=+e,this.col=+s,this.world=+i||0;return this}toString(){return`${this.level}/${this.row}/${this.col}/${this.world}`}getParentKey(){return this.level<=0?null:new r(this.level-1,this.row>>1,this.col>>1,this.world)}getNormalizedNeighbor(t,e,s){const i=this.clone();return i.col+=t,i.row+=e,s.normalizeKey(i),i}getChildKeys(){const t=this.level+1,e=this.row<<1,s=this.col<<1,i=this.world;return[new r(t,e,s,i),new r(t,e,s+1,i),new r(t,e+1,s,i),new r(t,e+1,s+1,i)]}compareRowMajor(t){return this.row<t.row?-1:this.row>t.row?1:this.col<t.col?-1:this.col>t.col?1:0}}r.pool=new i.A(r,null,null,25,50)},46263:(t,e,s)=>{var i;s.d(e,{c:()=>i}),function(t){t[t.Pass=0]="Pass",t[t.Draw=1]="Draw"}(i||(i={}))},620:(t,e,s)=>{s.d(e,{O_:()=>n,vA:()=>r}),s(48163),s(87317),(0,s(91829).vt)();class i{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function r(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new i(`${e} at ${t}`)}}function n(t,e,s,i){let r,n=(s[0]-t[0])/e[0],o=(i[0]-t[0])/e[0];n>o&&(r=n,n=o,o=r);let a=(s[1]-t[1])/e[1],h=(i[1]-t[1])/e[1];if(a>h&&(r=a,a=h,h=r),n>h||a>o)return!1;a>n&&(n=a),h<o&&(o=h);let c=(s[2]-t[2])/e[2],l=(i[2]-t[2])/e[2];return c>l&&(r=c,c=l,l=r),!(n>l||c>o||(l<o&&(o=l),o<0))}},89738:(t,e,s)=>{s.d(e,{e:()=>l}),s(44208);var i=s(97768),r=s(74887),n=s(9775),o=s(32587),a=s(11932),h=s(44794);class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class l{constructor(t){this._schedule=null,this._task=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.concurrency=1,t.concurrency&&(this.concurrency=t.concurrency),this._queue=new n.A(t.peeker),this.process=t.process;const e=t.scheduler;t.priority&&e&&(this._task=e.registerTask(t.priority,this))}destroy(){this.clear(),this._schedule=(0,i.xt)(this._schedule),this._task=(0,i.xt)(this._task)}get updating(){return!!this._task?.updating||this.running}get length(){return this._processingItems.size+this._queue.length}abort(t){const e=this._controllers.get(t);e&&e.abort()}clear(){this._queue.clear();const t=[];this._controllers.forEach((e=>t.push(e))),this._controllers.clear(),t.forEach((t=>t.abort())),this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach(((e,s)=>t(s)))}get(t){const e=this._deferreds.get(t);return e?e.promise:void 0}isOngoing(t){return this._processingItems.has(t)}has(t){return this._deferreds.has(t)}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const s=this.get(t);if(s)return s;const i=new AbortController;let n=null;e&&(n=(0,r.u7)(e,(()=>i.abort())));const o=()=>{a.remove(),null!=n&&n.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()},a=(0,r.NY)(i.signal,(()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),o(),h.reject((0,r.NK)())})),h=(0,r.Tw)();return this._deferreds.set(t,h),this._controllers.set(t,i),h.promise.then(o,o),this._queue.push(t),this._scheduleNext(),h.promise}last(){return this._queue.last()}lastPromise(){const t=this.last();return t?this.get(t):null}peek(){return this._queue.peek()}popLast(){const t=this._queue.popLast();return t&&(this._deferreds.get(t)?.reject((0,r.NK)()),this._removeItem(t)),t}reset(){const t=Array.from(this._processingItems.values());this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}get running(){return!this._pausedSignal.value&&this._queue.length>0&&this._processingItems.size<this.concurrency}runTask(t){for(;!t.done&&this._queue.length>0&&this._processingItems.size<this.concurrency;)this._process(this._queue.pop()),t.madeProgress()}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.delete(t)}_scheduleNext(){this._task||this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)((()=>{this._schedule=null,this._next()})))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const s=new AbortController,i=new c(t,s);this._processingItems.set(t,i);try{e=this.process(t,s.signal)}catch(t){this._processError(i,t)}(0,r.$X)(e)?(i.promise=e,e.then((t=>this._processResult(i,t)),(t=>this._processError(i,t)))):this._processResult(i,e)}get test(){}}}}]);