@ds-mo/ui 15.12.1 → 16.1.0

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 (368) hide show
  1. package/dist/.package-ready.json +1 -1
  2. package/dist/agent-patterns.json +1 -1
  3. package/dist/agent.json +5 -2
  4. package/dist/angular/boolean-value-accessor.js +3 -3
  5. package/dist/angular/ds-agent-activity.js +3 -3
  6. package/dist/angular/ds-agent-questionnaire.js +3 -3
  7. package/dist/angular/ds-agent-response.js +3 -3
  8. package/dist/angular/ds-agent-source-list.js +3 -3
  9. package/dist/angular/ds-agent-tool-call.js +3 -3
  10. package/dist/angular/ds-attachment-list.js +3 -3
  11. package/dist/angular/ds-avatar.js +3 -3
  12. package/dist/angular/ds-badge.js +3 -3
  13. package/dist/angular/ds-banner.js +3 -3
  14. package/dist/angular/ds-bar-action.js +3 -3
  15. package/dist/angular/ds-bar-nav.js +3 -3
  16. package/dist/angular/ds-bar-page-title.js +3 -3
  17. package/dist/angular/ds-bar-title.js +3 -3
  18. package/dist/angular/ds-bar-workflow.js +3 -3
  19. package/dist/angular/ds-breadcrumb.js +3 -3
  20. package/dist/angular/ds-button-filled.js +3 -3
  21. package/dist/angular/ds-button-inverted.js +3 -3
  22. package/dist/angular/ds-button-unfilled.js +3 -3
  23. package/dist/angular/ds-calendar.js +3 -3
  24. package/dist/angular/ds-card-action-center.js +3 -3
  25. package/dist/angular/ds-card-chart.js +3 -3
  26. package/dist/angular/ds-card-navigation.js +3 -3
  27. package/dist/angular/ds-card-overview.js +3 -3
  28. package/dist/angular/ds-card-setting.js +3 -3
  29. package/dist/angular/ds-card-settings-scope.js +3 -3
  30. package/dist/angular/ds-chart-legend.js +3 -3
  31. package/dist/angular/ds-chart.js +3 -3
  32. package/dist/angular/ds-checkbox-group.js +3 -3
  33. package/dist/angular/ds-checkbox.js +3 -3
  34. package/dist/angular/ds-chip.js +3 -3
  35. package/dist/angular/ds-code-block.js +3 -3
  36. package/dist/angular/ds-conversation-list-item.js +3 -3
  37. package/dist/angular/ds-conversation-list-section.js +3 -3
  38. package/dist/angular/ds-conversation-list.js +3 -3
  39. package/dist/angular/ds-data-customize.js +3 -3
  40. package/dist/angular/ds-data-filter.js +3 -3
  41. package/dist/angular/ds-data-group.js +3 -3
  42. package/dist/angular/ds-data-preferences.js +3 -3
  43. package/dist/angular/ds-data-saved-views.js +3 -3
  44. package/dist/angular/ds-data-search.js +3 -3
  45. package/dist/angular/ds-data-sort.js +3 -3
  46. package/dist/angular/ds-data-toolbar.js +3 -3
  47. package/dist/angular/ds-divider.js +3 -3
  48. package/dist/angular/ds-empty-state.js +3 -3
  49. package/dist/angular/ds-field.js +3 -3
  50. package/dist/angular/ds-filter-menu.js +3 -3
  51. package/dist/angular/ds-icon.js +3 -3
  52. package/dist/angular/ds-inline-banner-settings.js +3 -3
  53. package/dist/angular/ds-input-date.js +3 -3
  54. package/dist/angular/ds-input-time.js +3 -3
  55. package/dist/angular/ds-input.js +3 -3
  56. package/dist/angular/ds-loader.js +3 -3
  57. package/dist/angular/ds-map-cluster-marker.js +3 -3
  58. package/dist/angular/ds-map-entity-marker.js +3 -3
  59. package/dist/angular/ds-map-marker.js +3 -3
  60. package/dist/angular/ds-markdown.js +3 -3
  61. package/dist/angular/ds-menu.js +3 -3
  62. package/dist/angular/ds-message-actions.js +3 -3
  63. package/dist/angular/ds-message-bubble.js +3 -3
  64. package/dist/angular/ds-message-composer.js +3 -3
  65. package/dist/angular/ds-message-scroller.js +3 -3
  66. package/dist/angular/ds-message.js +3 -3
  67. package/dist/angular/ds-mobile-bar-nav.js +3 -3
  68. package/dist/angular/ds-mobile-header.js +3 -3
  69. package/dist/angular/ds-mobile-section-switcher.js +3 -3
  70. package/dist/angular/ds-mobile-sheet-nav.js +3 -3
  71. package/dist/angular/ds-modal.js +3 -3
  72. package/dist/angular/ds-navigation-tab-group.js +3 -3
  73. package/dist/angular/ds-pagination.js +3 -3
  74. package/dist/angular/ds-panel-nav.js +3 -3
  75. package/dist/angular/ds-panel-sub-nav.js +3 -3
  76. package/dist/angular/ds-panel-tool-header.js +3 -3
  77. package/dist/angular/ds-panel-tool-search.js +3 -3
  78. package/dist/angular/ds-panel-tools.js +3 -3
  79. package/dist/angular/ds-paper-texture.js +3 -3
  80. package/dist/angular/ds-radio-tile.js +3 -3
  81. package/dist/angular/ds-radio.js +3 -3
  82. package/dist/angular/ds-score.js +3 -3
  83. package/dist/angular/ds-scroll-overlay.js +3 -3
  84. package/dist/angular/ds-select-toggle.js +3 -3
  85. package/dist/angular/ds-select.js +3 -3
  86. package/dist/angular/ds-setting-row-checkbox.js +3 -3
  87. package/dist/angular/ds-setting-row-radio.js +3 -3
  88. package/dist/angular/ds-setting-row-toggle.js +3 -3
  89. package/dist/angular/ds-shell-app.js +3 -3
  90. package/dist/angular/ds-shell-page.js +3 -3
  91. package/dist/angular/ds-shell-tools.js +3 -3
  92. package/dist/angular/ds-skeleton.js +3 -3
  93. package/dist/angular/ds-slider.js +3 -3
  94. package/dist/angular/ds-swatch-picker.js +3 -3
  95. package/dist/angular/ds-switch.js +3 -3
  96. package/dist/angular/ds-tab-group.js +3 -3
  97. package/dist/angular/ds-table.js +3 -3
  98. package/dist/angular/ds-tag.js +3 -3
  99. package/dist/angular/ds-text.js +3 -3
  100. package/dist/angular/ds-textarea.js +3 -3
  101. package/dist/angular/ds-time-picker.js +3 -3
  102. package/dist/angular/ds-toast.js +3 -3
  103. package/dist/angular/ds-tooltip-chart.js +3 -3
  104. package/dist/angular/ds-tooltip.js +3 -3
  105. package/dist/angular/ds-typing-indicator.js +3 -3
  106. package/dist/angular/number-value-accessor.js +3 -3
  107. package/dist/angular/radio-value-accessor.js +3 -3
  108. package/dist/angular/select-value-accessor.js +3 -3
  109. package/dist/angular/text-value-accessor.js +3 -3
  110. package/dist/angular/value-accessor.js +3 -3
  111. package/dist/components/THIRD-PARTY-NOTICES +1 -1
  112. package/dist/components/bundled-dependencies.json +1 -1
  113. package/dist/components/ds-agent-activity.js +1 -1
  114. package/dist/components/ds-agent-questionnaire.js +1 -1
  115. package/dist/components/ds-agent-response.js +1 -1
  116. package/dist/components/ds-agent-source-list.js +1 -1
  117. package/dist/components/ds-agent-tool-call.js +1 -1
  118. package/dist/components/ds-attachment-list.js +1 -1
  119. package/dist/components/ds-avatar.js +1 -1
  120. package/dist/components/ds-avatar.js.map +1 -1
  121. package/dist/components/ds-badge.js +1 -1
  122. package/dist/components/ds-banner.js +1 -1
  123. package/dist/components/ds-bar-nav.js +1 -1
  124. package/dist/components/ds-bar-page-title.js +1 -1
  125. package/dist/components/ds-bar-title.js +1 -1
  126. package/dist/components/ds-bar-workflow.js +1 -1
  127. package/dist/components/ds-button-filled.js +1 -1
  128. package/dist/components/ds-button-inverted.js +1 -1
  129. package/dist/components/ds-button-unfilled.js +1 -1
  130. package/dist/components/ds-calendar.js +1 -1
  131. package/dist/components/ds-card-action-center.js +1 -1
  132. package/dist/components/ds-card-chart.js +1 -1
  133. package/dist/components/ds-card-navigation.js +1 -1
  134. package/dist/components/ds-card-setting.js +1 -1
  135. package/dist/components/ds-chart.js +1 -1
  136. package/dist/components/ds-chip.js +1 -1
  137. package/dist/components/ds-code-block.js +1 -1
  138. package/dist/components/ds-conversation-list-item.js +1 -1
  139. package/dist/components/ds-data-customize.js +1 -1
  140. package/dist/components/ds-data-filter.js +1 -1
  141. package/dist/components/ds-data-group.js +1 -1
  142. package/dist/components/ds-data-preferences.js +1 -1
  143. package/dist/components/ds-data-saved-views.js +1 -1
  144. package/dist/components/ds-data-search.js +1 -1
  145. package/dist/components/ds-data-sort.js +1 -1
  146. package/dist/components/ds-empty-state.js +1 -1
  147. package/dist/components/ds-filter-menu.js +1 -1
  148. package/dist/components/ds-icon.js +1 -1
  149. package/dist/components/ds-input-date.js +1 -1
  150. package/dist/components/ds-input-time.js +1 -1
  151. package/dist/components/ds-input.js +1 -1
  152. package/dist/components/ds-map-entity-marker.js +1 -1
  153. package/dist/components/ds-map-marker.js +1 -1
  154. package/dist/components/ds-markdown.js +1 -1
  155. package/dist/components/ds-menu.js +1 -1
  156. package/dist/components/ds-message-actions.js +1 -1
  157. package/dist/components/ds-message-composer.js +1 -1
  158. package/dist/components/ds-message-scroller.js +1 -1
  159. package/dist/components/ds-mobile-bar-nav.js +1 -1
  160. package/dist/components/ds-mobile-header.js +1 -1
  161. package/dist/components/ds-mobile-section-switcher.js +1 -1
  162. package/dist/components/ds-mobile-sheet-nav.js +1 -1
  163. package/dist/components/ds-modal.js +1 -1
  164. package/dist/components/ds-navigation-tab-group.js +1 -1
  165. package/dist/components/ds-pagination.js +1 -1
  166. package/dist/components/ds-panel-nav.js +1 -1
  167. package/dist/components/ds-panel-tool-header.js +1 -1
  168. package/dist/components/ds-panel-tool-search.js +1 -1
  169. package/dist/components/ds-panel-tools.js +1 -1
  170. package/dist/components/ds-select-toggle.js +1 -1
  171. package/dist/components/ds-select.js +1 -1
  172. package/dist/components/ds-shell-app.js +1 -1
  173. package/dist/components/ds-shell-tools.js +1 -1
  174. package/dist/components/ds-tab-group.js +1 -1
  175. package/dist/components/ds-table.js +1 -1
  176. package/dist/components/ds-table.js.map +1 -1
  177. package/dist/components/ds-tag.js +1 -1
  178. package/dist/components/ds-time-picker.js +1 -1
  179. package/dist/components/ds-toast.js +1 -1
  180. package/dist/components/ds-tooltip-chart.js +1 -1
  181. package/dist/components/ds-typing-indicator.js +1 -1
  182. package/dist/components/{p-BZbJkJpG.js → p-02bODFpT.js} +2 -2
  183. package/dist/components/{p-BhbniDw4.js → p-8XJLNIKj.js} +2 -2
  184. package/dist/components/{p-3dG9v5Aw.js → p-B3-zImxn.js} +2 -2
  185. package/dist/components/{p-CeaIWw1Q.js → p-B6kIiHGc.js} +2 -2
  186. package/dist/components/{p-BV8sNEVP.js → p-BL98zGOI.js} +2 -2
  187. package/dist/components/{p-CL0FpMKo.js → p-BLPr2sCi.js} +2 -2
  188. package/dist/components/{p-BcYzHn1E.js → p-BLQgaSh-.js} +2 -2
  189. package/dist/components/{p-nakO4viw.js → p-BNimvRZy.js} +2 -2
  190. package/dist/components/{p-3Xp9hXbL.js → p-BO0Tb3LT.js} +2 -2
  191. package/dist/components/{p-DKZP3jCY.js → p-BiB2qjNS.js} +2 -2
  192. package/dist/components/{p-By_jYvHp.js → p-BufAjyCA.js} +2 -2
  193. package/dist/components/{p-CdMIA5hz.js → p-BxkhBlKJ.js} +2 -2
  194. package/dist/components/{p-r_e6_0nP.js → p-C9R-Yn0N.js} +2 -2
  195. package/dist/components/{p-9u2WDF0J.js → p-CbJx9swS.js} +2 -2
  196. package/dist/components/{p-Cfqvxxs2.js → p-CeaXdjwl.js} +2 -2
  197. package/dist/components/{p-8fddX3V3.js → p-ClOvX8cD.js} +2 -2
  198. package/dist/components/{p-8fddX3V3.js.map → p-ClOvX8cD.js.map} +1 -1
  199. package/dist/components/{p-DYruK9cb.js → p-Cm1FS7D-.js} +2 -2
  200. package/dist/components/{p-CbP9ASmI.js → p-CtBlyEwu.js} +2 -2
  201. package/dist/components/{p-B-ChwMFE.js → p-CwL5zodA.js} +2 -2
  202. package/dist/components/{p-IQdLCfJJ.js → p-CymFzY_N.js} +2 -2
  203. package/dist/components/{p-WEffoQQD.js → p-D1D_nwPJ.js} +2 -2
  204. package/dist/components/p-D1D_nwPJ.js.map +1 -0
  205. package/dist/components/{p-DimFbKZH.js → p-D4wFhnby.js} +2 -2
  206. package/dist/components/{p-BVUdtuog.js → p-DACIe-66.js} +2 -2
  207. package/dist/components/{p-CYmz92EF.js → p-DC_yjqdf.js} +2 -2
  208. package/dist/components/{p-CEHhx4VQ.js → p-DGznD-OD.js} +2 -2
  209. package/dist/components/{p-BfRAVR40.js → p-DMjOjrHi.js} +2 -2
  210. package/dist/components/{p-DFR9hqDU.js → p-DOazC0iw.js} +2 -2
  211. package/dist/components/{p-CpqLGzv4.js → p-DXAY6GB5.js} +2 -2
  212. package/dist/components/{p-CUG4EkKn.js → p-DbBRCHst.js} +2 -2
  213. package/dist/components/{p-DiUaIJ91.js → p-DfGJX_Eo.js} +2 -2
  214. package/dist/components/{p-DuhJ49iN.js → p-Dp90dvw8.js} +2 -2
  215. package/dist/components/{p-BIMW5_Z7.js → p-DwiHy7ws.js} +2 -2
  216. package/dist/components/p-FsosWHV6.js +2 -0
  217. package/dist/components/{p-C5HGwzy9.js.map → p-FsosWHV6.js.map} +1 -1
  218. package/dist/components/p-GP7Dz3qO.js +3 -0
  219. package/dist/components/p-GP7Dz3qO.js.map +1 -0
  220. package/dist/components/{p-BpPHCF63.js → p-S6vTfjOk.js} +2 -2
  221. package/dist/components/{p-CbPGO7vl.js → p-SuM1Dske.js} +2 -2
  222. package/dist/components/{p-5PReYMiY.js → p-a_-GSwE_.js} +2 -2
  223. package/dist/components/p-mSCnWLhL.js.map +1 -1
  224. package/dist/components/{p-BAIYOobl.js → p-xszHlNkG.js} +2 -2
  225. package/dist/components/p-xszHlNkG.js.map +1 -0
  226. package/dist/docs/components.json +13 -3
  227. package/dist/mcp-data/registry/agent-activity.json +2 -2
  228. package/dist/mcp-data/registry/agent-questionnaire.json +2 -2
  229. package/dist/mcp-data/registry/agent-response.json +2 -2
  230. package/dist/mcp-data/registry/agent-source-list.json +2 -2
  231. package/dist/mcp-data/registry/agent-tool-call.json +2 -2
  232. package/dist/mcp-data/registry/attachment-list.json +2 -2
  233. package/dist/mcp-data/registry/avatar.json +2 -2
  234. package/dist/mcp-data/registry/badge.json +3 -3
  235. package/dist/mcp-data/registry/banner.json +2 -2
  236. package/dist/mcp-data/registry/bar-action.json +2 -2
  237. package/dist/mcp-data/registry/bar-nav.json +2 -2
  238. package/dist/mcp-data/registry/bar-page-title.json +2 -2
  239. package/dist/mcp-data/registry/bar-title.json +2 -2
  240. package/dist/mcp-data/registry/bar-workflow.json +2 -2
  241. package/dist/mcp-data/registry/breadcrumb.json +2 -2
  242. package/dist/mcp-data/registry/button-filled.json +2 -2
  243. package/dist/mcp-data/registry/button-inverted.json +2 -2
  244. package/dist/mcp-data/registry/button-unfilled.json +3 -3
  245. package/dist/mcp-data/registry/calendar.json +2 -2
  246. package/dist/mcp-data/registry/card-action-center.json +2 -2
  247. package/dist/mcp-data/registry/card-chart.json +2 -2
  248. package/dist/mcp-data/registry/card-navigation.json +2 -2
  249. package/dist/mcp-data/registry/card-overview.json +2 -2
  250. package/dist/mcp-data/registry/card-setting.json +2 -2
  251. package/dist/mcp-data/registry/card-settings-scope.json +2 -2
  252. package/dist/mcp-data/registry/chart-legend.json +2 -2
  253. package/dist/mcp-data/registry/chart.json +2 -2
  254. package/dist/mcp-data/registry/checkbox-group.json +2 -2
  255. package/dist/mcp-data/registry/checkbox.json +2 -2
  256. package/dist/mcp-data/registry/chip.json +2 -2
  257. package/dist/mcp-data/registry/code-block.json +2 -2
  258. package/dist/mcp-data/registry/conversation-list-item.json +2 -2
  259. package/dist/mcp-data/registry/conversation-list-section.json +2 -2
  260. package/dist/mcp-data/registry/conversation-list.json +2 -2
  261. package/dist/mcp-data/registry/data-customize.json +2 -2
  262. package/dist/mcp-data/registry/data-filter.json +2 -2
  263. package/dist/mcp-data/registry/data-group.json +2 -2
  264. package/dist/mcp-data/registry/data-preferences.json +2 -2
  265. package/dist/mcp-data/registry/data-saved-views.json +2 -2
  266. package/dist/mcp-data/registry/data-search.json +2 -2
  267. package/dist/mcp-data/registry/data-sort.json +2 -2
  268. package/dist/mcp-data/registry/data-toolbar.json +2 -2
  269. package/dist/mcp-data/registry/divider.json +2 -2
  270. package/dist/mcp-data/registry/empty-state.json +2 -2
  271. package/dist/mcp-data/registry/field.json +2 -2
  272. package/dist/mcp-data/registry/filter-menu.json +2 -2
  273. package/dist/mcp-data/registry/icon.json +3 -3
  274. package/dist/mcp-data/registry/inline-banner-settings.json +2 -2
  275. package/dist/mcp-data/registry/input-date.json +2 -2
  276. package/dist/mcp-data/registry/input-time.json +2 -2
  277. package/dist/mcp-data/registry/input.json +2 -2
  278. package/dist/mcp-data/registry/loader.json +2 -2
  279. package/dist/mcp-data/registry/map-cluster-marker.json +2 -2
  280. package/dist/mcp-data/registry/map-entity-marker.json +2 -2
  281. package/dist/mcp-data/registry/map-marker.json +2 -2
  282. package/dist/mcp-data/registry/markdown.json +2 -2
  283. package/dist/mcp-data/registry/menu.json +2 -2
  284. package/dist/mcp-data/registry/message-actions.json +2 -2
  285. package/dist/mcp-data/registry/message-bubble.json +2 -2
  286. package/dist/mcp-data/registry/message-composer.json +2 -2
  287. package/dist/mcp-data/registry/message-scroller.json +2 -2
  288. package/dist/mcp-data/registry/message.json +2 -2
  289. package/dist/mcp-data/registry/mobile-bar-nav.json +2 -2
  290. package/dist/mcp-data/registry/mobile-header.json +2 -2
  291. package/dist/mcp-data/registry/mobile-section-switcher.json +2 -2
  292. package/dist/mcp-data/registry/mobile-sheet-nav.json +2 -2
  293. package/dist/mcp-data/registry/modal.json +2 -2
  294. package/dist/mcp-data/registry/navigation-tab-group.json +2 -2
  295. package/dist/mcp-data/registry/pagination.json +2 -2
  296. package/dist/mcp-data/registry/panel-nav.json +2 -2
  297. package/dist/mcp-data/registry/panel-sub-nav.json +2 -2
  298. package/dist/mcp-data/registry/panel-tool-header.json +2 -2
  299. package/dist/mcp-data/registry/panel-tool-search.json +2 -2
  300. package/dist/mcp-data/registry/panel-tools.json +2 -2
  301. package/dist/mcp-data/registry/paper-texture.json +2 -2
  302. package/dist/mcp-data/registry/radio-tile.json +2 -2
  303. package/dist/mcp-data/registry/radio.json +2 -2
  304. package/dist/mcp-data/registry/registry.json +6 -3
  305. package/dist/mcp-data/registry/score.json +2 -2
  306. package/dist/mcp-data/registry/scroll-overlay.json +2 -2
  307. package/dist/mcp-data/registry/select-toggle.json +2 -2
  308. package/dist/mcp-data/registry/select.json +2 -2
  309. package/dist/mcp-data/registry/setting-row-checkbox.json +2 -2
  310. package/dist/mcp-data/registry/setting-row-radio.json +2 -2
  311. package/dist/mcp-data/registry/setting-row-toggle.json +2 -2
  312. package/dist/mcp-data/registry/shell-app.json +2 -2
  313. package/dist/mcp-data/registry/shell-page.json +2 -2
  314. package/dist/mcp-data/registry/shell-tools.json +2 -2
  315. package/dist/mcp-data/registry/skeleton.json +2 -2
  316. package/dist/mcp-data/registry/slider.json +2 -2
  317. package/dist/mcp-data/registry/swatch-picker.json +2 -2
  318. package/dist/mcp-data/registry/switch.json +2 -2
  319. package/dist/mcp-data/registry/tab-group.json +2 -2
  320. package/dist/mcp-data/registry/table.json +17 -6
  321. package/dist/mcp-data/registry/tag.json +2 -2
  322. package/dist/mcp-data/registry/text.json +2 -2
  323. package/dist/mcp-data/registry/textarea.json +2 -2
  324. package/dist/mcp-data/registry/time-picker.json +2 -2
  325. package/dist/mcp-data/registry/toast.json +2 -2
  326. package/dist/mcp-data/registry/tooltip-chart.json +3 -3
  327. package/dist/mcp-data/registry/tooltip.json +2 -2
  328. package/dist/mcp-data/registry/typing-indicator.json +2 -2
  329. package/dist/types/components/Table/Table.d.ts +7 -2
  330. package/package.json +7 -7
  331. package/dist/components/p-BAIYOobl.js.map +0 -1
  332. package/dist/components/p-BVsVUnAw.js +0 -3
  333. package/dist/components/p-BVsVUnAw.js.map +0 -1
  334. package/dist/components/p-C5HGwzy9.js +0 -2
  335. package/dist/components/p-WEffoQQD.js.map +0 -1
  336. /package/dist/components/{p-BZbJkJpG.js.map → p-02bODFpT.js.map} +0 -0
  337. /package/dist/components/{p-BhbniDw4.js.map → p-8XJLNIKj.js.map} +0 -0
  338. /package/dist/components/{p-3dG9v5Aw.js.map → p-B3-zImxn.js.map} +0 -0
  339. /package/dist/components/{p-CeaIWw1Q.js.map → p-B6kIiHGc.js.map} +0 -0
  340. /package/dist/components/{p-BV8sNEVP.js.map → p-BL98zGOI.js.map} +0 -0
  341. /package/dist/components/{p-CL0FpMKo.js.map → p-BLPr2sCi.js.map} +0 -0
  342. /package/dist/components/{p-BcYzHn1E.js.map → p-BLQgaSh-.js.map} +0 -0
  343. /package/dist/components/{p-nakO4viw.js.map → p-BNimvRZy.js.map} +0 -0
  344. /package/dist/components/{p-3Xp9hXbL.js.map → p-BO0Tb3LT.js.map} +0 -0
  345. /package/dist/components/{p-DKZP3jCY.js.map → p-BiB2qjNS.js.map} +0 -0
  346. /package/dist/components/{p-By_jYvHp.js.map → p-BufAjyCA.js.map} +0 -0
  347. /package/dist/components/{p-CdMIA5hz.js.map → p-BxkhBlKJ.js.map} +0 -0
  348. /package/dist/components/{p-r_e6_0nP.js.map → p-C9R-Yn0N.js.map} +0 -0
  349. /package/dist/components/{p-9u2WDF0J.js.map → p-CbJx9swS.js.map} +0 -0
  350. /package/dist/components/{p-Cfqvxxs2.js.map → p-CeaXdjwl.js.map} +0 -0
  351. /package/dist/components/{p-DYruK9cb.js.map → p-Cm1FS7D-.js.map} +0 -0
  352. /package/dist/components/{p-CbP9ASmI.js.map → p-CtBlyEwu.js.map} +0 -0
  353. /package/dist/components/{p-B-ChwMFE.js.map → p-CwL5zodA.js.map} +0 -0
  354. /package/dist/components/{p-IQdLCfJJ.js.map → p-CymFzY_N.js.map} +0 -0
  355. /package/dist/components/{p-DimFbKZH.js.map → p-D4wFhnby.js.map} +0 -0
  356. /package/dist/components/{p-BVUdtuog.js.map → p-DACIe-66.js.map} +0 -0
  357. /package/dist/components/{p-CYmz92EF.js.map → p-DC_yjqdf.js.map} +0 -0
  358. /package/dist/components/{p-CEHhx4VQ.js.map → p-DGznD-OD.js.map} +0 -0
  359. /package/dist/components/{p-BfRAVR40.js.map → p-DMjOjrHi.js.map} +0 -0
  360. /package/dist/components/{p-DFR9hqDU.js.map → p-DOazC0iw.js.map} +0 -0
  361. /package/dist/components/{p-CpqLGzv4.js.map → p-DXAY6GB5.js.map} +0 -0
  362. /package/dist/components/{p-CUG4EkKn.js.map → p-DbBRCHst.js.map} +0 -0
  363. /package/dist/components/{p-DiUaIJ91.js.map → p-DfGJX_Eo.js.map} +0 -0
  364. /package/dist/components/{p-DuhJ49iN.js.map → p-Dp90dvw8.js.map} +0 -0
  365. /package/dist/components/{p-BIMW5_Z7.js.map → p-DwiHy7ws.js.map} +0 -0
  366. /package/dist/components/{p-BpPHCF63.js.map → p-S6vTfjOk.js.map} +0 -0
  367. /package/dist/components/{p-CbPGO7vl.js.map → p-SuM1Dske.js.map} +0 -0
  368. /package/dist/components/{p-5PReYMiY.js.map → p-a_-GSwE_.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{p as i,H as e,c as s,h as t,a as o,t as n}from"./index.js";import{g as r,i as c}from"./p-BQq26pt9.js";import{C as a}from"./p-DlsjHRU3.js";import{d}from"./p-ClOvX8cD.js";import{d as l}from"./p-D1D_nwPJ.js";import{d as h}from"./p-GP7Dz3qO.js";import{d as m}from"./p-0XTyQNRG.js";import{d as b}from"./p-S6vTfjOk.js";import{d as f}from"./p-Nx52go85.js";import{d as u}from"./p-KTaiJztz.js";import{d as v}from"./p-CwL5zodA.js";import{d as g}from"./p-DMPn_dt7.js";import{d as w}from"./p-BMI0F08u.js";import{r as p,T as x}from"./p-mSCnWLhL.js";function k(i,e){const s=r(i);const t=s.findIndex((i=>i.id===e));const o=t>=0?t:0;return{selectedIndex:o,selected:s[o],hasPrevious:o>0,hasNext:o<s.length-1}}const _=()=>`@media (forced-colors: active){.sc-ds-mobile-section-switcher:root,.sc-ds-mobile-section-switcher-h,.ds-forced-colors-scope.sc-ds-mobile-section-switcher{--ds-forced-color-surface:Canvas;--ds-forced-color-content:CanvasText;--ds-forced-color-control-boundary:ButtonText;--ds-forced-color-selected:Highlight;--ds-forced-color-on-selected:HighlightText;--ds-forced-color-disabled:GrayText}}.sc-ds-mobile-section-switcher-h{--ds-focus-ring-width:var(--dimension-stroke-width-025, 2px);--ds-focus-ring-offset:var(--dimension-space-025, 2px);--ds-focus-ring-color:var(--color-interaction-focus)}.ds-focus-ring.sc-ds-mobile-section-switcher-h,.ds-focus-ring.sc-ds-mobile-section-switcher,.ds-focus-ring-inset.sc-ds-mobile-section-switcher-h,.ds-focus-ring-inset.sc-ds-mobile-section-switcher{outline:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.ds-focus-ring.sc-ds-mobile-section-switcher-h:focus-visible,.ds-focus-ring.sc-ds-mobile-section-switcher:focus-visible{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:var(--ds-focus-ring-offset)}.ds-focus-ring.ds-focus-ring--visible.sc-ds-mobile-section-switcher-h,.ds-focus-ring.ds-focus-ring--visible.sc-ds-mobile-section-switcher{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:var(--ds-focus-ring-offset)}.ds-focus-ring-inset.sc-ds-mobile-section-switcher-h:focus-visible,.ds-focus-ring-inset.sc-ds-mobile-section-switcher:focus-visible{outline:none}.ds-focus-ring-inset.sc-ds-mobile-section-switcher-h:focus-visible::after,.ds-focus-ring-inset.sc-ds-mobile-section-switcher:focus-visible::after{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:calc(-1 * var(--ds-focus-ring-width))}.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-mobile-section-switcher-h,.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-mobile-section-switcher{outline:none}.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-mobile-section-switcher-h::after,.ds-focus-ring-inset.ds-focus-ring--visible.sc-ds-mobile-section-switcher::after{outline:var(--ds-focus-ring-width) solid var(--ds-focus-ring-color);outline-offset:calc(-1 * var(--ds-focus-ring-width))}@media (forced-colors: active){.sc-ds-mobile-section-switcher-h{--ds-focus-ring-color:var(--ds-forced-color-selected)}}@media (forced-colors: active){.sc-ds-mobile-section-switcher:root,.sc-ds-mobile-section-switcher-h,.ds-forced-colors-scope.sc-ds-mobile-section-switcher{--ds-forced-color-surface:Canvas;--ds-forced-color-content:CanvasText;--ds-forced-color-control-boundary:ButtonText;--ds-forced-color-selected:Highlight;--ds-forced-color-on-selected:HighlightText;--ds-forced-color-disabled:GrayText}}.ds-interaction-fill.sc-ds-mobile-section-switcher-h,.ds-interaction-fill.sc-ds-mobile-section-switcher{position:var(--ds-interaction-position, relative);z-index:var(--ds-interaction-z-index, 0);cursor:default;--ds-interaction-hover:var(--color-interaction-hover);--ds-interaction-pressed:var(--color-interaction-pressed);--ds-interaction-active:var(--color-interaction-active-brand);--ds-interaction-border-width:0px;--ds-interaction-border-color:transparent;--ds-interaction-divider-width:0px;--ds-interaction-divider-color:transparent;--ds-interaction-divider-inline-start-width:0px;--ds-interaction-divider-inline-start-color:transparent;--ds-interaction-divider-inline-end-width:0px;--ds-interaction-divider-inline-end-color:transparent}.ds-interaction-fill.sc-ds-mobile-section-switcher-h::before,.ds-interaction-fill.sc-ds-mobile-section-switcher::before,.ds-interaction-fill.sc-ds-mobile-section-switcher-h::after,.ds-interaction-fill.sc-ds-mobile-section-switcher::after{content:'';position:absolute;inset:0;border-radius:inherit;background:transparent;pointer-events:none;cursor:inherit;transition:none}.ds-interaction-fill.sc-ds-mobile-section-switcher-h::before,.ds-interaction-fill.sc-ds-mobile-section-switcher::before{z-index:1}.ds-interaction-fill.sc-ds-mobile-section-switcher-h::after,.ds-interaction-fill.sc-ds-mobile-section-switcher::after{z-index:3;box-shadow:inset 0 calc(-1 * var(--ds-interaction-divider-width)) 0 var(--ds-interaction-divider-color), inset var(--ds-interaction-divider-inline-start-width) 0 0 var(--ds-interaction-divider-inline-start-color), inset calc(-1 * var(--ds-interaction-divider-inline-end-width)) 0 0 var(--ds-interaction-divider-inline-end-color), inset 0 0 0 var(--ds-interaction-border-width) var(--ds-interaction-border-color)}.ds-interaction-fill--bordered.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--bordered.sc-ds-mobile-section-switcher{--ds-interaction-border-width:var(--dimension-stroke-width-012);--ds-interaction-border-color:var(--color-border-secondary)}.ds-interaction-fill--selected.sc-ds-mobile-section-switcher-h::before,.ds-interaction-fill--selected.sc-ds-mobile-section-switcher::before{background:var(--ds-interaction-active)}.ds-interaction-fill--selected.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--selected.sc-ds-mobile-section-switcher{--ds-interaction-dot-ring:var(--ds-interaction-active)}@media (hover: hover) and (pointer: fine){.ds-interaction-fill.sc-ds-mobile-section-switcher-h:hover:not(:disabled)::after,.ds-interaction-fill.sc-ds-mobile-section-switcher:hover:not(:disabled)::after{background:var(--ds-interaction-hover)}}.ds-interaction-fill.sc-ds-mobile-section-switcher-h:active:not(:disabled)::after,.ds-interaction-fill.sc-ds-mobile-section-switcher:active:not(:disabled)::after{background:var(--ds-interaction-pressed)}.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher-h::after,.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher::after,.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher-h:active:not(:disabled)::after,.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher:active:not(:disabled)::after{background:var(--ds-interaction-group-fill, transparent)}@media (hover: hover) and (pointer: fine){.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher-h:hover:not(:disabled)::after,.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher:hover:not(:disabled)::after{background:var(--ds-interaction-group-fill, transparent)}}.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--grouped.sc-ds-mobile-section-switcher{--ds-interaction-divider-width:var(--ds-interaction-group-divider-width, 0px);--ds-interaction-divider-color:var(--ds-interaction-group-divider-color, transparent);--ds-interaction-divider-inline-start-width:var( --ds-interaction-group-divider-inline-start-width, 0px );--ds-interaction-divider-inline-start-color:var( --ds-interaction-group-divider-inline-start-color, transparent );--ds-interaction-divider-inline-end-width:var( --ds-interaction-group-divider-inline-end-width, 0px );--ds-interaction-divider-inline-end-color:var( --ds-interaction-group-divider-inline-end-color, transparent )}.ds-interaction-fill.sc-ds-mobile-section-switcher-h>.ds-interaction-fill__content.sc-ds-mobile-section-switcher,.ds-interaction-fill.sc-ds-mobile-section-switcher>.ds-interaction-fill__content.sc-ds-mobile-section-switcher,.ds-interaction-fill__content.sc-ds-mobile-section-switcher{position:relative;z-index:2;cursor:inherit}.ds-interaction-fill--on-faint.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-faint.sc-ds-mobile-section-switcher{--ds-interaction-active:var(--color-interaction-active)}.ds-interaction-fill--on-medium.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-medium.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-interaction-on-medium-background-hover);--ds-interaction-pressed:var(--color-interaction-on-medium-background-pressed);--ds-interaction-active:var(--color-interaction-on-medium-background-active);--ds-focus-ring-color:var(--color-interaction-on-medium-background-focus)}.ds-interaction-fill--on-bold.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-bold.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-interaction-on-bold-background-hover);--ds-interaction-pressed:var(--color-interaction-on-bold-background-pressed);--ds-interaction-active:var(--color-interaction-on-bold-background-active);--ds-focus-ring-color:var(--color-interaction-on-bold-background-focus)}.ds-interaction-fill--on-strong.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-strong.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-interaction-on-strong-background-hover);--ds-interaction-pressed:var(--color-interaction-on-strong-background-pressed);--ds-interaction-active:var(--color-interaction-on-strong-background-active);--ds-focus-ring-color:var(--color-interaction-on-strong-background-focus)}.ds-interaction-fill--on-translucent.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-translucent.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-translucent-interaction-hover);--ds-interaction-pressed:var(--color-translucent-interaction-pressed);--ds-interaction-active:var(--color-translucent-interaction-active-brand);--ds-focus-ring-color:var(--color-translucent-interaction-focus)}.ds-interaction-fill--on-inverted.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-inverted.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-inverted-interaction-hover);--ds-interaction-pressed:var(--color-inverted-interaction-pressed);--ds-interaction-active:var(--color-inverted-interaction-active-brand);--ds-focus-ring-color:var(--color-inverted-interaction-focus)}.ds-interaction-fill--on-media.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-media.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-media-interaction-hover);--ds-interaction-pressed:var(--color-media-interaction-pressed);--ds-interaction-active:var(--color-media-interaction-active);--ds-focus-ring-color:var(--color-media-interaction-focus)}.ds-interaction-fill--on-always-dark.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-always-dark.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-always-dark-interaction-hover);--ds-interaction-pressed:var(--color-always-dark-interaction-pressed);--ds-interaction-active:var(--color-always-dark-interaction-active-brand);--ds-focus-ring-color:var(--color-always-dark-interaction-focus)}.ds-interaction-fill--on-chrome.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-chrome.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-chrome-interaction-hover);--ds-interaction-pressed:var(--color-chrome-interaction-pressed);--ds-interaction-active:var(--color-chrome-interaction-active);--ds-focus-ring-color:var(--color-chrome-interaction-focus)}.ds-interaction-fill--on-navigation.sc-ds-mobile-section-switcher-h,.ds-interaction-fill--on-navigation.sc-ds-mobile-section-switcher{--ds-interaction-hover:var(--color-navigation-interaction-hover);--ds-interaction-pressed:var(--color-navigation-interaction-pressed);--ds-interaction-active:var(--color-navigation-interaction-active);--ds-focus-ring-color:var(--color-navigation-interaction-focus)}.ds-interaction-fill.ds-interaction-fill--surface-open.sc-ds-mobile-section-switcher-h:not(:disabled)::after,.ds-interaction-fill.ds-interaction-fill--surface-open.sc-ds-mobile-section-switcher:not(:disabled)::after{background:var(--ds-interaction-pressed)}@media (forced-colors: active){.ds-interaction-fill.sc-ds-mobile-section-switcher-h::after,.ds-interaction-fill.sc-ds-mobile-section-switcher::after{box-shadow:none;outline:var(--ds-interaction-border-width) solid var(--ds-forced-color-control-boundary);outline-offset:calc(-1 * var(--ds-interaction-border-width))}.ds-interaction-fill--surface-open.sc-ds-mobile-section-switcher-h:not(:disabled):not(:focus-visible):not(:focus-within):not(.ds-focus-ring--visible)::after,.ds-interaction-fill--surface-open.sc-ds-mobile-section-switcher:not(:disabled):not(:focus-visible):not(:focus-within):not(.ds-focus-ring--visible)::after{outline:var(--dimension-stroke-width-025) dashed var(--ds-forced-color-control-boundary);outline-offset:calc(-1 * var(--dimension-stroke-width-025))}.ds-interaction-fill--selected.sc-ds-mobile-section-switcher-h::before,.ds-interaction-fill--selected.sc-ds-mobile-section-switcher::before{background:transparent;outline:var(--dimension-stroke-width-025) solid var(--ds-forced-color-selected);outline-offset:calc(-1 * var(--dimension-stroke-width-025))}}@media (forced-colors: active) and (hover: hover) and (pointer: fine){.ds-interaction-fill.sc-ds-mobile-section-switcher-h:hover:not(:disabled):not(:focus-visible):not(:focus-within):not(.ds-focus-ring--visible)::after,.ds-interaction-fill.sc-ds-mobile-section-switcher:hover:not(:disabled):not(:focus-visible):not(:focus-within):not(.ds-focus-ring--visible)::after{outline-color:var(--ds-forced-color-selected);outline-width:var(--dimension-stroke-width-012)}}.sc-ds-mobile-section-switcher-h,.sc-ds-mobile-section-switcher:where(.ds-table),.sc-ds-mobile-section-switcher:where(.tooltip-popup),.sc-ds-mobile-section-switcher:where(.ds-radius){--ds-radius-control:var(--dimension-radius-025);--ds-radius-card:var(--dimension-radius-050);--ds-radius-modal:var(--dimension-radius-050);--ds-radius-menu:var(--dimension-radius-075);--ds-radius-tooltip-control:var(--dimension-radius-025);--ds-radius-tooltip-menu:var(--dimension-radius-075);--ds-radius-table:var(--dimension-radius-050)}.ds-control--lg.sc-ds-mobile-section-switcher,.ds-control--lg.sc-ds-mobile-section-switcher-h,.ds-control--md.sc-ds-mobile-section-switcher-h,.ds-control--md.sc-ds-mobile-section-switcher,.ds-control--sm.sc-ds-mobile-section-switcher-h,.ds-control--sm.sc-ds-mobile-section-switcher,.ds-control--xs.sc-ds-mobile-section-switcher-h,.ds-control--xs.sc-ds-mobile-section-switcher{--ds-control-radius:var(--ds-radius-control)}.ds-control--lg.sc-ds-mobile-section-switcher-h,.ds-control--lg.sc-ds-mobile-section-switcher{--ds-control-height:var(--dimension-size-500);--ds-control-icon:var(--dimension-iconography-lg);--ds-control-padding-inline:var(--dimension-space-100);--ds-control-label-inset:var(--dimension-space-050);--ds-control-gap:var(--dimension-space-050)}.ds-control--md.sc-ds-mobile-section-switcher-h,.ds-control--md.sc-ds-mobile-section-switcher{--ds-control-height:var(--dimension-size-400);--ds-control-icon:var(--dimension-iconography-md);--ds-control-padding-inline:var(--dimension-space-075);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:var(--dimension-space-050)}.ds-control--sm.sc-ds-mobile-section-switcher-h,.ds-control--sm.sc-ds-mobile-section-switcher{--ds-control-height:var(--dimension-size-300);--ds-control-icon:var(--dimension-iconography-sm);--ds-control-padding-inline:var(--dimension-space-050);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:var(--dimension-space-025)}.ds-control--xs.sc-ds-mobile-section-switcher-h,.ds-control--xs.sc-ds-mobile-section-switcher{--ds-control-height:var(--dimension-size-200);--ds-control-icon:var(--dimension-iconography-xs);--ds-control-padding-inline:var(--dimension-space-025);--ds-control-label-inset:var(--dimension-space-025);--ds-control-gap:0}.sc-ds-mobile-section-switcher-h{display:block;min-width:0;max-width:100%;color:var(--color-foreground-primary)}.mobile-section-switcher.sc-ds-mobile-section-switcher{appearance:none;display:grid;grid-template-columns:var(--dimension-size-100) minmax(0, auto) var(--dimension-size-100);align-items:center;justify-content:center;gap:var(--dimension-space-050);max-width:100%;min-height:var(--dimension-size-400);padding-inline:var(--dimension-space-100);border:0;border-radius:var(--dimension-radius-100);background:var(--color-background-secondary);color:inherit;box-sizing:border-box;cursor:default}.mobile-section-switcher__label.sc-ds-mobile-section-switcher{min-width:0;max-width:100%;text-align:center}.mobile-section-switcher__position.sc-ds-mobile-section-switcher{width:var(--dimension-size-050);height:var(--dimension-size-050);border-radius:var(--dimension-radius-half);background:currentColor;opacity:0}.mobile-section-switcher__position--visible.sc-ds-mobile-section-switcher{opacity:1}.mobile-section-switcher--sheet.sc-ds-mobile-section-switcher{grid-template-columns:minmax(0, auto);min-height:var(--dimension-size-400);padding-inline:var(--dimension-space-100);border-radius:var(--dimension-radius-half);background:transparent;--ds-interaction-border-width:var(--dimension-stroke-width-012);--ds-interaction-border-color:var(--color-border-tertiary)}.mobile-section-switcher--combined.sc-ds-mobile-section-switcher{display:flex}.mobile-section-switcher__page-label.sc-ds-mobile-section-switcher{flex:0 1 auto;min-width:0}.mobile-section-switcher__separator.sc-ds-mobile-section-switcher{flex:0 0 auto}.mobile-section-switcher--combined.sc-ds-mobile-section-switcher .mobile-section-switcher__label.sc-ds-mobile-section-switcher{flex:0 0 auto;max-width:50%}.mobile-section-sheet.sc-ds-mobile-section-switcher{position:fixed;inset:0 0 auto;width:100%;max-width:none;max-height:calc(100dvh - var(--dimension-size-400) - var(--dimension-space-200));margin:0;padding:0;border:0;border-radius:0;box-sizing:border-box;overflow:visible;background:transparent;color:var(--color-foreground-secondary);outline:none}.mobile-section-sheet[open].sc-ds-mobile-section-switcher{display:flex;flex-direction:column}.mobile-section-sheet[open].sc-ds-mobile-section-switcher .mobile-section-sheet__items.sc-ds-mobile-section-switcher{animation:mobileSectionSheetIn var(--effect-motion-short-2) both}.mobile-section-sheet.sc-ds-mobile-section-switcher::backdrop{background:var(--color-background-shade);animation:mobileSectionShadeIn var(--effect-motion-short-2) both}.mobile-section-sheet--closing[open].sc-ds-mobile-section-switcher .mobile-section-sheet__items.sc-ds-mobile-section-switcher{animation-name:mobileSectionSheetOut}.mobile-section-sheet--closing.sc-ds-mobile-section-switcher::backdrop{animation-name:mobileSectionShadeOut}.mobile-section-sheet__items.sc-ds-mobile-section-switcher{display:flex;flex-direction:column;gap:var(--dimension-space-100);min-height:0;max-height:inherit;box-sizing:border-box;background:var(--color-background-primary);box-shadow:var(--effect-elevation-elevated-floating);padding:var(--dimension-space-100);padding-block-start:max(var(--dimension-space-100), env(safe-area-inset-top, 0px));overflow-y:auto;overscroll-behavior:contain}.mobile-section-sheet__item.sc-ds-mobile-section-switcher{appearance:none;flex:0 0 auto;display:flex;align-items:center;height:var(--ds-control-height);width:100%;min-width:0;padding:0 var(--ds-control-padding-inline);box-sizing:border-box;border:0;border-radius:var(--ds-control-radius);background:transparent;color:inherit;text-align:start}.mobile-section-sheet__item[aria-current='page'].sc-ds-mobile-section-switcher{color:var(--color-foreground-primary)}.mobile-section-sheet__item.sc-ds-mobile-section-switcher:disabled{color:var(--color-foreground-tertiary)}.mobile-section-sheet__label.sc-ds-mobile-section-switcher{min-width:0;padding-inline:var(--ds-control-label-inset)}.mobile-section-sheet__divider.sc-ds-mobile-section-switcher{flex:0 0 auto;height:var(--dimension-stroke-width-012);margin-inline:var(--dimension-space-100);background:var(--color-border-tertiary)}@keyframes mobileSectionSheetIn{from{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes mobileSectionSheetOut{from{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes mobileSectionShadeIn{from{opacity:0}to{opacity:1}}@keyframes mobileSectionShadeOut{from{opacity:1}to{opacity:0}}.mobile-section-switcher--pointer-focus.sc-ds-mobile-section-switcher-h .ds-focus-ring-inset.sc-ds-mobile-section-switcher::after{outline:none}.mobile-section-sheet__browser-edge.sc-ds-mobile-section-switcher{position:fixed;inset:auto 0 0;height:max(var(--dimension-space-200), env(safe-area-inset-bottom, 0px));pointer-events:none;color:var(--color-background-primary);background-color:var(--_mobile-section-edge-color, var(--color-background-primary))}.mobile-section-sheet[open].sc-ds-mobile-section-switcher .mobile-section-sheet__browser-edge.sc-ds-mobile-section-switcher{animation:mobileSectionEdgeIn var(--effect-motion-short-2) both}.mobile-section-sheet--closing[open].sc-ds-mobile-section-switcher .mobile-section-sheet__browser-edge.sc-ds-mobile-section-switcher{animation-name:mobileSectionEdgeOut}@keyframes mobileSectionEdgeIn{from{background-color:var(--color-background-primary)}to{background-color:var(--_mobile-section-edge-color, var(--color-background-primary))}}@keyframes mobileSectionEdgeOut{from{background-color:var(--_mobile-section-edge-color, var(--color-background-primary))}to{background-color:var(--color-background-primary)}}@media (prefers-reduced-motion: reduce){.mobile-section-sheet[open].sc-ds-mobile-section-switcher .mobile-section-sheet__items.sc-ds-mobile-section-switcher,.mobile-section-sheet[open].sc-ds-mobile-section-switcher .mobile-section-sheet__browser-edge.sc-ds-mobile-section-switcher,.mobile-section-sheet.sc-ds-mobile-section-switcher::backdrop{animation:none}}`;let y=0;const C=i(class i extends e{constructor(i){super();if(i!==false){this.__registerHost()}this.dsChange=s(this,"dsChange",7);this.sections=[];this.value="";this.navigationLabel="Change page section";this.presentation="menu";this.pageLabel="";this.menuOpen=false;this.menuSurfaceOpen=false;this.initialFocusVisible=false;this.pointerFocus=false;this.sheetClosing=false;this.focusedSection="";this.instanceId=y++;this.triggerId=`ds-mobile-section-switcher-trigger-${this.instanceId}`;this.menuId=`ds-mobile-section-switcher-menu-${this.instanceId}`;this.triggerEl=null;this.dialogEl=null;this.browserEdgeEl=null;this.browserEdgeColors="";this.closeTimer=null;this.loaded=false;this.tasks=new a((()=>this.el.isConnected));this.handleDocumentKeyDown=i=>{if(["Shift","Control","Alt","Meta"].includes(i.key))return;this.pointerFocus=false};this.updateBrowserEdgeColor=()=>{if(!this.el.isConnected||!this.browserEdgeEl||!this.dialogEl)return;const i=getComputedStyle(this.browserEdgeEl).color;const e=getComputedStyle(this.dialogEl,"::backdrop").backgroundColor;const s=`${i}|${e}`;if(s===this.browserEdgeColors)return;const t=this.el.ownerDocument.createElement("canvas");t.width=t.height=1;const o=t.getContext("2d");if(!o)return;o.fillStyle=i;o.fillRect(0,0,1,1);o.fillStyle=e;o.fillRect(0,0,1,1);const[n,r,c]=o.getImageData(0,0,1,1).data;this.browserEdgeEl.style.setProperty("--_mobile-section-edge-color",`rgb(${n}, ${r}, ${c})`);this.browserEdgeColors=s};this.handleSheetKeyDown=i=>{if(i.key==="Escape"){i.preventDefault();i.stopPropagation();this.closeMenu();return}const e=this.selectableSections.filter((i=>!i.isInactive));if(!e.length)return;const s=Math.max(0,e.findIndex((i=>i.id===this.focusedSection)));let t;if(i.key==="ArrowDown")t=(s+1)%e.length;else if(i.key==="ArrowUp")t=(s+e.length-1)%e.length;else if(i.key==="Home")t=0;else if(i.key==="End")t=e.length-1;else if(i.key==="Tab")t=s;else if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey&&i.key!==" "){const o=e.findIndex(((t,o)=>e[(s+o+1)%e.length].label.toLowerCase().startsWith(i.key.toLowerCase())));if(o<0)return;t=(s+o+1)%e.length}else return;i.preventDefault();this.initialFocusVisible=true;this.focusSheetItem(e[t].id)};this.toggleMenu=i=>{if(this.selectableSections.length<=1)return;this.initialFocusVisible=i.detail===0;if(this.presentation==="sheet"){if(this.menuOpen)this.closeMenu();else{this.focusedSection=this.selectedSection?.id??"";this.menuOpen=true}return}this.menuOpen=!this.menuOpen;if(this.menuOpen)this.menuSurfaceOpen=true};this.closeMenu=()=>{this.menuOpen=false;if(this.dialogEl?.open)this.sheetClosing=true};this.handleSelect=i=>{const e=String(i.detail.value??"");const s=this.selectableSections.find((i=>i.id===e));if(!s||s.isInactive)return;this.closeMenu();if(e!==this.selectedSection?.id)this.dsChange.emit(e);this.tasks.frame((()=>this.triggerEl?.focus()))}}componentDidLoad(){this.loaded=true;this.connectResources()}connectedCallback(){if(this.loaded)this.connectResources()}connectResources(){if(!this.el.isConnected||this.boundDocument)return;this.boundDocument=this.el.ownerDocument;this.boundDocument.addEventListener("keydown",this.handleDocumentKeyDown,true);this.visibilityObserver=new ResizeObserver(this.tasks.guard((()=>{if(this.dialogEl?.open&&!this.triggerEl?.getClientRects().length){this.finishSheetClose(false)}})));this.visibilityObserver.observe(this.el)}componentDidRender(){if(!this.el.isConnected||!this.dialogEl)return;if(this.presentation==="sheet"&&this.menuOpen&&!this.dialogEl.open){const i=this.focusedSection;this.updateBrowserEdgeColor();this.observeBrowserEdgeTheme();this.dialogEl.showModal();this.focusSheetItem(i)}if(this.sheetClosing&&this.dialogEl.open&&!this.closeTimer){const i=p(x.motionShort2,x.animationDurationShort3);if(!i)this.finishSheetClose();else this.closeTimer=setTimeout((()=>this.finishSheetClose()),i)}}disconnectedCallback(){this.tasks.cancel();this.boundDocument?.removeEventListener("keydown",this.handleDocumentKeyDown,true);this.boundDocument=undefined;this.visibilityObserver?.disconnect();this.visibilityObserver=undefined;this.pointerFocus=false;this.menuSurfaceOpen=false;this.finishSheetClose(false)}handlePresentationChange(){this.menuSurfaceOpen=false;this.closeMenu()}handleContextChange(){this.closeMenu()}finishSheetClose(i=true){if(this.closeTimer)clearTimeout(this.closeTimer);this.closeTimer=null;const e=this.dialogEl?.open;this.dialogEl?.close();this.themeObserver?.disconnect();this.menuOpen=false;this.sheetClosing=false;if(e&&i&&this.triggerEl?.getClientRects().length)this.triggerEl.focus()}observeBrowserEdgeTheme(){this.themeObserver??(this.themeObserver=new MutationObserver(this.updateBrowserEdgeColor));for(let i=this.el;i;i=i.parentElement){this.themeObserver.observe(i,{attributes:true,attributeFilter:["class","style","data-theme"]})}}focusSheetItem(i){const e=Array.from(this.dialogEl?.querySelectorAll("button")??[]);const s=e.find((e=>e.value===i&&!e.disabled))??e.find((i=>!i.disabled));if(s){this.focusedSection=s.value;s.focus()}else this.dialogEl?.focus()}get resolvedSections(){return this.sections??[]}get selectableSections(){return r(this.resolvedSections)}get selectedIndex(){return k(this.resolvedSections,this.value).selectedIndex}get selectedSection(){return this.selectableSections[this.selectedIndex]}get hasPrevious(){return k(this.resolvedSections,this.value).hasPrevious}get hasNext(){return k(this.resolvedSections,this.value).hasNext}get triggerAriaLabel(){return`${this.presentation==="sheet"&&this.pageLabel?`${this.pageLabel}. `:""}${this.navigationLabel}. Current section: ${this.selectedSection?.label??""}`}get menuSections(){const i=[];let e=[];const s=()=>{if(e.length)i.push({items:e});e=[]};for(const i of this.resolvedSections){if(c(i)){s();continue}e.push({label:i.label,value:i.id,dot:i.dot,isSelected:i.id===this.selectedSection?.id,isInactive:i.isInactive})}s();return i}handleSectionsChange(){if(this.selectableSections.length<=1){this.closeMenu();this.menuSurfaceOpen=false}else if(this.dialogEl?.open&&!this.sheetClosing){this.tasks.frame((()=>{if(this.dialogEl?.open&&!this.sheetClosing)this.focusSheetItem(this.focusedSection)}))}}renderSheet(){return t("dialog",{id:this.menuId,ref:i=>{this.dialogEl=i??null},class:{"mobile-section-sheet":true,"mobile-section-sheet--closing":this.sheetClosing},"aria-label":this.navigationLabel,tabIndex:-1,onCancel:i=>{i.preventDefault();this.closeMenu()},onKeyDown:this.handleSheetKeyDown,onClick:i=>{if(!this.dialogEl||i.target!==this.dialogEl)return;const e=this.dialogEl.getBoundingClientRect();if(i.clientY<e.top||i.clientY>e.bottom||i.clientX<e.left||i.clientX>e.right)this.closeMenu()}},t("div",{class:"mobile-section-sheet__items",role:"menu","aria-label":this.navigationLabel},this.resolvedSections.map((i=>c(i)?t("div",{class:"mobile-section-sheet__divider",role:"separator"}):t("button",{type:"button",role:"menuitem",value:i.id,disabled:i.isInactive,"aria-current":i.id===this.selectedSection?.id?"page":undefined,tabIndex:i.id===this.focusedSection?0:-1,class:{"mobile-section-sheet__item":true,"ds-control--md":true,"ds-interaction-fill":true,"ds-focus-ring-inset":true,"ds-focus-ring--visible":this.initialFocusVisible&&i.id===this.focusedSection},onFocus:()=>{this.focusedSection=i.id},onClick:()=>{if(this.sheetClosing||i.isInactive)return;this.closeMenu();if(i.id!==this.selectedSection?.id)this.dsChange.emit(i.id)}},t("ds-text",{class:"mobile-section-sheet__label ds-interaction-fill__content",as:"span",variant:"text-body-medium",color:"inherit",emphasis:i.id===this.selectedSection?.id,lineTruncation:1},i.label))))),t("div",{ref:i=>{if(this.browserEdgeEl!==i)this.browserEdgeColors="";this.browserEdgeEl=i??null},class:"mobile-section-sheet__browser-edge","aria-hidden":"true"}))}render(){const i=this.selectedSection;if(!i)return t(o,null);const e=this.presentation==="sheet"&&!!this.pageLabel;return t(o,{class:{"mobile-section-switcher--pointer-focus":this.pointerFocus},onPointerDown:()=>{this.pointerFocus=true;this.initialFocusVisible=false}},t("button",{ref:i=>{this.triggerEl=i??null},id:this.triggerId,class:{"mobile-section-switcher":true,"mobile-section-switcher--expanded":this.menuOpen,"ds-interaction-fill--surface-open":this.menuSurfaceOpen||this.menuOpen||this.sheetClosing,"mobile-section-switcher--sheet":this.presentation==="sheet","mobile-section-switcher--combined":e,"ds-focus-ring-inset":true,"ds-interaction-fill":true},type:"button","aria-haspopup":this.presentation==="sheet"?"dialog":"menu","aria-controls":this.menuId,"aria-expanded":String(this.menuOpen),"aria-label":this.triggerAriaLabel,onClick:this.toggleMenu},this.presentation==="menu"?t("span",{class:{"mobile-section-switcher__position":true,"mobile-section-switcher__position--visible":this.hasPrevious,"ds-interaction-fill__content":true},"aria-hidden":"true"}):null,e?[t("ds-text",{class:"mobile-section-switcher__page-label ds-interaction-fill__content",as:"span",variant:"text-body-medium",emphasis:true,color:"inherit",lineTruncation:1},this.pageLabel),t("ds-text",{class:"mobile-section-switcher__separator ds-interaction-fill__content",as:"span",variant:"text-body-medium",color:"inherit","aria-hidden":"true"},"·")]:null,t("ds-text",{class:"mobile-section-switcher__label ds-interaction-fill__content",as:"span",variant:"text-body-medium",emphasis:true,color:"inherit",lineTruncation:1},i.label),this.presentation==="menu"?t("span",{class:{"mobile-section-switcher__position":true,"mobile-section-switcher__position--visible":this.hasNext,"ds-interaction-fill__content":true},"aria-hidden":"true"}):null),this.presentation==="sheet"||this.sheetClosing?this.renderSheet():this.selectableSections.length>1?t("ds-menu",{id:this.menuId,anchorId:this.triggerId,align:"center",menuLabel:this.navigationLabel,open:this.menuOpen,initialFocusVisible:this.initialFocusVisible,sections:this.menuSections,onDsClose:this.closeMenu,onDsAfterClose:()=>{if(!this.menuOpen)this.menuSurfaceOpen=false},onDsSelect:this.handleSelect}):null)}get el(){return this}static get watchers(){return{presentation:[{handlePresentationChange:0}],value:[{handleContextChange:0}],pageLabel:[{handleContextChange:0}],sections:[{handleSectionsChange:0}]}}static get style(){return _()}},[2,"ds-mobile-section-switcher",{sections:[16],value:[1],navigationLabel:[1,"navigation-label"],presentation:[1],pageLabel:[1,"page-label"],menuOpen:[32],menuSurfaceOpen:[32],initialFocusVisible:[32],pointerFocus:[32],sheetClosing:[32],focusedSection:[32]},undefined,{presentation:[{handlePresentationChange:0}],value:[{handleContextChange:0}],pageLabel:[{handleContextChange:0}],sections:[{handleSectionsChange:0}]}]);function S(){if(typeof customElements==="undefined"){return}const i=["ds-mobile-section-switcher","ds-badge","ds-button-unfilled","ds-icon","ds-loader","ds-menu","ds-swatch-picker","ds-switch","ds-tag","ds-text","ds-tooltip"];i.forEach((i=>{switch(i){case"ds-mobile-section-switcher":if(!customElements.get(n(i))){customElements.define(n(i),C)}break;case"ds-badge":if(!customElements.get(n(i))){d()}break;case"ds-button-unfilled":if(!customElements.get(n(i))){l()}break;case"ds-icon":if(!customElements.get(n(i))){h()}break;case"ds-loader":if(!customElements.get(n(i))){m()}break;case"ds-menu":if(!customElements.get(n(i))){b()}break;case"ds-swatch-picker":if(!customElements.get(n(i))){f()}break;case"ds-switch":if(!customElements.get(n(i))){u()}break;case"ds-tag":if(!customElements.get(n(i))){v()}break;case"ds-text":if(!customElements.get(n(i))){g()}break;case"ds-tooltip":if(!customElements.get(n(i))){w()}break}}))}S();export{C as M,S as d};
2
+ //# sourceMappingURL=p-FsosWHV6.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["resolveMobileSectionPosition","sections","value","selectable","getSelectableTabs","matchedIndex","findIndex","section","id","selectedIndex","selected","hasPrevious","hasNext","length","mobileSectionSwitcherCss","nextMobileSectionSwitcherId","MobileSectionSwitcher","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","navigationLabel","presentation","pageLabel","menuOpen","menuSurfaceOpen","initialFocusVisible","pointerFocus","sheetClosing","focusedSection","instanceId","triggerId","menuId","triggerEl","dialogEl","browserEdgeEl","browserEdgeColors","closeTimer","loaded","tasks","ConnectionTasks","el","isConnected","handleDocumentKeyDown","event","includes","key","updateBrowserEdgeColor","base","getComputedStyle","color","shade","backgroundColor","colors","canvas","ownerDocument","createElement","width","height","context","getContext","fillStyle","fillRect","red","green","blue","getImageData","data","style","setProperty","handleSheetKeyDown","preventDefault","stopPropagation","closeMenu","selectableSections","filter","isInactive","index","Math","max","next","ctrlKey","metaKey","altKey","match","_","offset","label","toLowerCase","startsWith","focusSheetItem","toggleMenu","detail","selectedSection","open","handleSelect","String","find","candidate","dsChange","emit","frame","focus","componentDidLoad","connectResources","connectedCallback","boundDocument","addEventListener","visibilityObserver","ResizeObserver","guard","getClientRects","finishSheetClose","observe","componentDidRender","initialSection","observeBrowserEdgeTheme","showModal","duration","resolveMotionTimeMs","TOKEN_DEFAULTS","motionShort2","animationDurationShort3","setTimeout","disconnectedCallback","cancel","removeEventListener","undefined","disconnect","handlePresentationChange","handleContextChange","restoreFocus","clearTimeout","wasOpen","close","themeObserver","MutationObserver","ancestor","parentElement","attributes","attributeFilter","buttons","Array","from","querySelectorAll","button","item","disabled","resolvedSections","triggerAriaLabel","menuSections","groups","items","commit","push","isTabDivider","dot","isSelected","handleSectionsChange","renderSheet","h","ref","element","class","tabIndex","onCancel","onKeyDown","onClick","target","rect","getBoundingClientRect","clientY","top","bottom","clientX","left","right","role","map","type","onFocus","as","variant","emphasis","lineTruncation","render","Host","combined","onPointerDown","anchorId","align","menuLabel","onDsClose","onDsAfterClose","onDsSelect"],"sources":["src/wc/components/MobileSectionSwitcher/mobile-section-switcher-utils.ts","src/wc/components/MobileSectionSwitcher/MobileSectionSwitcher.css?tag=ds-mobile-section-switcher&encapsulation=scoped","src/wc/components/MobileSectionSwitcher/MobileSectionSwitcher.tsx"],"sourcesContent":["import { getSelectableTabs, type TabItem, type TabItemTab } from '../TabGroup/tab-item-utils';\n\nexport interface MobileSectionPosition {\n selectedIndex: number;\n selected?: TabItemTab;\n hasPrevious: boolean;\n hasNext: boolean;\n}\n\n/** Resolve ordered selectable neighbors while ignoring visual divider entries. */\nexport function resolveMobileSectionPosition(\n sections: TabItem[],\n value: string\n): MobileSectionPosition {\n const selectable = getSelectableTabs(sections);\n const matchedIndex = selectable.findIndex(section => section.id === value);\n const selectedIndex = matchedIndex >= 0 ? matchedIndex : 0;\n return {\n selectedIndex,\n selected: selectable[selectedIndex],\n hasPrevious: selectedIndex > 0,\n hasNext: selectedIndex < selectable.length - 1,\n };\n}\n","@import '../../utils/focus-ring.css';\n@import '../../utils/interaction-fill.css';\n@import '../../utils/radius.css';\n@import '../../utils/control-density.css';\n\n:host {\n display: block;\n min-width: 0;\n max-width: 100%;\n color: var(--color-foreground-primary);\n}\n\n.mobile-section-switcher {\n appearance: none;\n display: grid;\n grid-template-columns: var(--dimension-size-100) minmax(0, auto) var(--dimension-size-100);\n align-items: center;\n justify-content: center;\n gap: var(--dimension-space-050);\n max-width: 100%;\n min-height: var(--dimension-size-400);\n padding-inline: var(--dimension-space-100);\n border: 0;\n border-radius: var(--dimension-radius-100);\n background: var(--color-background-secondary);\n color: inherit;\n box-sizing: border-box;\n cursor: default;\n}\n\n.mobile-section-switcher__label {\n min-width: 0;\n max-width: 100%;\n text-align: center;\n}\n\n.mobile-section-switcher__position {\n width: var(--dimension-size-050);\n height: var(--dimension-size-050);\n border-radius: var(--dimension-radius-half);\n background: currentColor;\n opacity: 0;\n}\n\n.mobile-section-switcher__position--visible {\n opacity: 1;\n}\n\n.mobile-section-switcher--sheet {\n grid-template-columns: minmax(0, auto);\n min-height: var(--dimension-size-400);\n padding-inline: var(--dimension-space-100);\n border-radius: var(--dimension-radius-half);\n background: transparent;\n --ds-interaction-border-width: var(--dimension-stroke-width-012);\n --ds-interaction-border-color: var(--color-border-tertiary);\n}\n\n.mobile-section-switcher--combined {\n display: flex;\n}\n\n.mobile-section-switcher__page-label {\n flex: 0 1 auto;\n min-width: 0;\n}\n\n.mobile-section-switcher__separator {\n flex: 0 0 auto;\n}\n\n.mobile-section-switcher--combined .mobile-section-switcher__label {\n flex: 0 0 auto;\n max-width: 50%;\n}\n\n.mobile-section-sheet {\n position: fixed;\n inset: 0 0 auto;\n width: 100%;\n max-width: none;\n max-height: calc(100dvh - var(--dimension-size-400) - var(--dimension-space-200));\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: 0;\n box-sizing: border-box;\n overflow: visible;\n background: transparent;\n color: var(--color-foreground-secondary);\n outline: none;\n}\n\n.mobile-section-sheet[open] {\n display: flex;\n flex-direction: column;\n}\n\n.mobile-section-sheet[open] .mobile-section-sheet__items {\n animation: mobileSectionSheetIn var(--effect-motion-short-2) both;\n}\n\n.mobile-section-sheet::backdrop {\n background: var(--color-background-shade);\n animation: mobileSectionShadeIn var(--effect-motion-short-2) both;\n}\n\n.mobile-section-sheet--closing[open] .mobile-section-sheet__items {\n animation-name: mobileSectionSheetOut;\n}\n\n.mobile-section-sheet--closing::backdrop {\n animation-name: mobileSectionShadeOut;\n}\n\n.mobile-section-sheet__items {\n display: flex;\n flex-direction: column;\n gap: var(--dimension-space-100);\n min-height: 0;\n max-height: inherit;\n box-sizing: border-box;\n background: var(--color-background-primary);\n box-shadow: var(--effect-elevation-elevated-floating);\n padding: var(--dimension-space-100);\n padding-block-start: max(var(--dimension-space-100), env(safe-area-inset-top, 0px));\n overflow-y: auto;\n overscroll-behavior: contain;\n}\n\n.mobile-section-sheet__item {\n appearance: none;\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n height: var(--ds-control-height);\n width: 100%;\n min-width: 0;\n padding: 0 var(--ds-control-padding-inline);\n box-sizing: border-box;\n border: 0;\n border-radius: var(--ds-control-radius);\n background: transparent;\n color: inherit;\n text-align: start;\n}\n\n.mobile-section-sheet__item[aria-current='page'] {\n color: var(--color-foreground-primary);\n}\n\n.mobile-section-sheet__item:disabled {\n color: var(--color-foreground-tertiary);\n}\n\n.mobile-section-sheet__label {\n min-width: 0;\n padding-inline: var(--ds-control-label-inset);\n}\n\n.mobile-section-sheet__divider {\n flex: 0 0 auto;\n height: var(--dimension-stroke-width-012);\n margin-inline: var(--dimension-space-100);\n background: var(--color-border-tertiary);\n}\n\n@keyframes mobileSectionSheetIn {\n from {\n transform: translateY(-100%);\n }\n to {\n transform: translateY(0);\n }\n}\n\n@keyframes mobileSectionSheetOut {\n from {\n transform: translateY(0);\n }\n to {\n transform: translateY(-100%);\n }\n}\n\n@keyframes mobileSectionShadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes mobileSectionShadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n/* Safari can preserve :focus-visible across modal entry and focus return after\n * a tap. Track the actual input, while leaving focus and keyboard access intact. */\n:host(.mobile-section-switcher--pointer-focus) .ds-focus-ring-inset::after {\n outline: none;\n}\n\n/* Keep this opaque strip in the modal top layer, outside the moving sheet.\n * Safari samples fixed edge backgrounds to tint its browser controls. */\n.mobile-section-sheet__browser-edge {\n position: fixed;\n inset: auto 0 0;\n height: max(var(--dimension-space-200), env(safe-area-inset-bottom, 0px));\n pointer-events: none;\n color: var(--color-background-primary);\n background-color: var(--_mobile-section-edge-color, var(--color-background-primary));\n}\n\n.mobile-section-sheet[open] .mobile-section-sheet__browser-edge {\n animation: mobileSectionEdgeIn var(--effect-motion-short-2) both;\n}\n\n.mobile-section-sheet--closing[open] .mobile-section-sheet__browser-edge {\n animation-name: mobileSectionEdgeOut;\n}\n\n/* Animate the opaque color, not opacity: the backdrop is already fading below. */\n@keyframes mobileSectionEdgeIn {\n from {\n background-color: var(--color-background-primary);\n }\n to {\n background-color: var(--_mobile-section-edge-color, var(--color-background-primary));\n }\n}\n\n@keyframes mobileSectionEdgeOut {\n from {\n background-color: var(--_mobile-section-edge-color, var(--color-background-primary));\n }\n to {\n background-color: var(--color-background-primary);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .mobile-section-sheet[open] .mobile-section-sheet__items,\n .mobile-section-sheet[open] .mobile-section-sheet__browser-edge,\n .mobile-section-sheet::backdrop {\n animation: none;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport type { MenuItemData, MenuSection } from '../Menu/menu-types';\nimport {\n getSelectableTabs,\n isTabDivider,\n type TabItem,\n type TabItemTab,\n} from '../TabGroup/tab-item-utils';\nimport { resolveMobileSectionPosition } from './mobile-section-switcher-utils';\nimport { resolveMotionTimeMs, TOKEN_DEFAULTS } from '../../utils';\nimport { ConnectionTasks } from '../../utils/connection-tasks';\n\nlet nextMobileSectionSwitcherId = 0;\n\n@Component({\n tag: 'ds-mobile-section-switcher',\n styleUrl: 'MobileSectionSwitcher.css',\n scoped: true,\n})\nexport class MobileSectionSwitcher {\n @Element() el!: HTMLElement;\n\n /** Ordered controlled sections. Divider entries group the popup menu. */\n @Prop() sections: TabItem[] = [];\n /** Controlled selected section id. */\n @Prop() value: string = '';\n /** Accessible name for the section chooser. */\n @Prop() navigationLabel: string = 'Change page section';\n /** Anchored local-view menu or viewport-edge sheet for primary page sections. */\n @Prop() presentation: 'menu' | 'sheet' = 'menu';\n /** Stable page identity shown before the selected section in a sheet trigger. */\n @Prop() pageLabel: string = '';\n\n /** Selection intent. The route, tool, or workflow owner updates `value`. */\n @Event() dsChange!: EventEmitter<string>;\n\n @State() private menuOpen = false;\n @State() private menuSurfaceOpen = false;\n @State() private initialFocusVisible = false;\n @State() private pointerFocus = false;\n @State() private sheetClosing = false;\n @State() private focusedSection = '';\n\n private readonly instanceId = nextMobileSectionSwitcherId++;\n private readonly triggerId = `ds-mobile-section-switcher-trigger-${this.instanceId}`;\n private readonly menuId = `ds-mobile-section-switcher-menu-${this.instanceId}`;\n private triggerEl: HTMLButtonElement | null = null;\n private dialogEl: HTMLDialogElement | null = null;\n private browserEdgeEl: HTMLDivElement | null = null;\n private browserEdgeColors = '';\n private themeObserver?: MutationObserver;\n private closeTimer: ReturnType<typeof setTimeout> | null = null;\n private visibilityObserver?: ResizeObserver;\n private loaded = false;\n private boundDocument?: Document;\n private readonly tasks = new ConnectionTasks(() => this.el.isConnected);\n\n private readonly handleDocumentKeyDown = (event: KeyboardEvent) => {\n if (['Shift', 'Control', 'Alt', 'Meta'].includes(event.key)) return;\n this.pointerFocus = false;\n };\n\n componentDidLoad() {\n this.loaded = true;\n this.connectResources();\n }\n\n connectedCallback() {\n if (this.loaded) this.connectResources();\n }\n\n private connectResources() {\n if (!this.el.isConnected || this.boundDocument) return;\n this.boundDocument = this.el.ownerDocument;\n this.boundDocument.addEventListener('keydown', this.handleDocumentKeyDown, true);\n this.visibilityObserver = new ResizeObserver(\n this.tasks.guard(() => {\n if (this.dialogEl?.open && !this.triggerEl?.getClientRects().length) {\n this.finishSheetClose(false);\n }\n })\n );\n this.visibilityObserver.observe(this.el);\n }\n\n componentDidRender() {\n if (!this.el.isConnected || !this.dialogEl) return;\n if (this.presentation === 'sheet' && this.menuOpen && !this.dialogEl.open) {\n const initialSection = this.focusedSection;\n this.updateBrowserEdgeColor();\n this.observeBrowserEdgeTheme();\n this.dialogEl.showModal();\n this.focusSheetItem(initialSection);\n }\n if (this.sheetClosing && this.dialogEl.open && !this.closeTimer) {\n const duration = resolveMotionTimeMs(\n TOKEN_DEFAULTS.motionShort2,\n TOKEN_DEFAULTS.animationDurationShort3\n );\n if (!duration) this.finishSheetClose();\n else this.closeTimer = setTimeout(() => this.finishSheetClose(), duration);\n }\n }\n\n disconnectedCallback() {\n this.tasks.cancel();\n this.boundDocument?.removeEventListener('keydown', this.handleDocumentKeyDown, true);\n this.boundDocument = undefined;\n this.visibilityObserver?.disconnect();\n this.visibilityObserver = undefined;\n this.pointerFocus = false;\n this.menuSurfaceOpen = false;\n this.finishSheetClose(false);\n }\n\n @Watch('presentation')\n handlePresentationChange() {\n this.menuSurfaceOpen = false;\n this.closeMenu();\n }\n\n @Watch('value')\n @Watch('pageLabel')\n handleContextChange() {\n this.closeMenu();\n }\n\n private finishSheetClose(restoreFocus = true) {\n if (this.closeTimer) clearTimeout(this.closeTimer);\n this.closeTimer = null;\n const wasOpen = this.dialogEl?.open;\n this.dialogEl?.close();\n this.themeObserver?.disconnect();\n this.menuOpen = false;\n this.sheetClosing = false;\n if (wasOpen && restoreFocus && this.triggerEl?.getClientRects().length) this.triggerEl.focus();\n }\n\n private updateBrowserEdgeColor = () => {\n if (!this.el.isConnected || !this.browserEdgeEl || !this.dialogEl) return;\n const base = getComputedStyle(this.browserEdgeEl).color;\n const shade = getComputedStyle(this.dialogEl, '::backdrop').backgroundColor;\n const colors = `${base}|${shade}`;\n if (colors === this.browserEdgeColors) return;\n // Let the browser resolve token colors, including alpha and non-sRGB syntax,\n // then flatten the shade over the bar into the opaque color Safari samples.\n const canvas = this.el.ownerDocument.createElement('canvas');\n canvas.width = canvas.height = 1;\n const context = canvas.getContext('2d');\n if (!context) return;\n context.fillStyle = base;\n context.fillRect(0, 0, 1, 1);\n context.fillStyle = shade;\n context.fillRect(0, 0, 1, 1);\n const [red, green, blue] = context.getImageData(0, 0, 1, 1).data;\n this.browserEdgeEl.style.setProperty(\n '--_mobile-section-edge-color',\n `rgb(${red}, ${green}, ${blue})`\n );\n this.browserEdgeColors = colors;\n };\n\n private observeBrowserEdgeTheme() {\n this.themeObserver ??= new MutationObserver(this.updateBrowserEdgeColor);\n // Token themes are inherited from the page or a containing theme scope.\n for (let ancestor: HTMLElement | null = this.el; ancestor; ancestor = ancestor.parentElement) {\n this.themeObserver.observe(ancestor, {\n attributes: true,\n attributeFilter: ['class', 'style', 'data-theme'],\n });\n }\n }\n\n private focusSheetItem(id: string) {\n const buttons = Array.from(this.dialogEl?.querySelectorAll<HTMLButtonElement>('button') ?? []);\n const button =\n buttons.find(item => item.value === id && !item.disabled) ??\n buttons.find(item => !item.disabled);\n if (button) {\n this.focusedSection = button.value;\n button.focus();\n } else this.dialogEl?.focus();\n }\n\n private handleSheetKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n event.preventDefault();\n event.stopPropagation();\n this.closeMenu();\n return;\n }\n const sections = this.selectableSections.filter(section => !section.isInactive);\n if (!sections.length) return;\n const index = Math.max(\n 0,\n sections.findIndex(section => section.id === this.focusedSection)\n );\n let next: number;\n if (event.key === 'ArrowDown') next = (index + 1) % sections.length;\n else if (event.key === 'ArrowUp') next = (index + sections.length - 1) % sections.length;\n else if (event.key === 'Home') next = 0;\n else if (event.key === 'End') next = sections.length - 1;\n else if (event.key === 'Tab') next = index;\n else if (\n event.key.length === 1 &&\n !event.ctrlKey &&\n !event.metaKey &&\n !event.altKey &&\n event.key !== ' '\n ) {\n const match = sections.findIndex((_, offset) =>\n sections[(index + offset + 1) % sections.length].label\n .toLowerCase()\n .startsWith(event.key.toLowerCase())\n );\n if (match < 0) return;\n next = (index + match + 1) % sections.length;\n } else return;\n event.preventDefault();\n this.initialFocusVisible = true;\n this.focusSheetItem(sections[next].id);\n };\n\n private get resolvedSections(): TabItem[] {\n return this.sections ?? [];\n }\n\n private get selectableSections(): TabItemTab[] {\n return getSelectableTabs(this.resolvedSections);\n }\n\n private get selectedIndex(): number {\n return resolveMobileSectionPosition(this.resolvedSections, this.value).selectedIndex;\n }\n\n private get selectedSection(): TabItemTab | undefined {\n return this.selectableSections[this.selectedIndex];\n }\n\n private get hasPrevious(): boolean {\n return resolveMobileSectionPosition(this.resolvedSections, this.value).hasPrevious;\n }\n\n private get hasNext(): boolean {\n return resolveMobileSectionPosition(this.resolvedSections, this.value).hasNext;\n }\n\n private get triggerAriaLabel(): string {\n return `${this.presentation === 'sheet' && this.pageLabel ? `${this.pageLabel}. ` : ''}${this.navigationLabel}. Current section: ${this.selectedSection?.label ?? ''}`;\n }\n\n private get menuSections(): MenuSection[] {\n const groups: MenuSection[] = [];\n let items: MenuItemData[] = [];\n const commit = () => {\n if (items.length) groups.push({ items });\n items = [];\n };\n\n for (const section of this.resolvedSections) {\n if (isTabDivider(section)) {\n commit();\n continue;\n }\n items.push({\n label: section.label,\n value: section.id,\n dot: section.dot,\n isSelected: section.id === this.selectedSection?.id,\n isInactive: section.isInactive,\n });\n }\n commit();\n return groups;\n }\n\n @Watch('sections')\n handleSectionsChange() {\n if (this.selectableSections.length <= 1) {\n this.closeMenu();\n this.menuSurfaceOpen = false;\n } else if (this.dialogEl?.open && !this.sheetClosing) {\n this.tasks.frame(() => {\n if (this.dialogEl?.open && !this.sheetClosing) this.focusSheetItem(this.focusedSection);\n });\n }\n }\n\n private toggleMenu = (event: MouseEvent) => {\n if (this.selectableSections.length <= 1) return;\n this.initialFocusVisible = event.detail === 0;\n if (this.presentation === 'sheet') {\n if (this.menuOpen) this.closeMenu();\n else {\n this.focusedSection = this.selectedSection?.id ?? '';\n this.menuOpen = true;\n }\n return;\n }\n this.menuOpen = !this.menuOpen;\n if (this.menuOpen) this.menuSurfaceOpen = true;\n };\n\n private closeMenu = () => {\n this.menuOpen = false;\n if (this.dialogEl?.open) this.sheetClosing = true;\n };\n\n private renderSheet() {\n return (\n <dialog\n id={this.menuId}\n ref={element => {\n this.dialogEl = element ?? null;\n }}\n class={{ 'mobile-section-sheet': true, 'mobile-section-sheet--closing': this.sheetClosing }}\n aria-label={this.navigationLabel}\n tabIndex={-1}\n onCancel={event => {\n event.preventDefault();\n this.closeMenu();\n }}\n onKeyDown={this.handleSheetKeyDown}\n onClick={event => {\n if (!this.dialogEl || event.target !== this.dialogEl) return;\n const rect = this.dialogEl.getBoundingClientRect();\n if (\n event.clientY < rect.top ||\n event.clientY > rect.bottom ||\n event.clientX < rect.left ||\n event.clientX > rect.right\n )\n this.closeMenu();\n }}\n >\n <div class=\"mobile-section-sheet__items\" role=\"menu\" aria-label={this.navigationLabel}>\n {this.resolvedSections.map(section =>\n isTabDivider(section) ? (\n <div class=\"mobile-section-sheet__divider\" role=\"separator\" />\n ) : (\n <button\n type=\"button\"\n role=\"menuitem\"\n value={section.id}\n disabled={section.isInactive}\n aria-current={section.id === this.selectedSection?.id ? 'page' : undefined}\n tabIndex={section.id === this.focusedSection ? 0 : -1}\n class={{\n 'mobile-section-sheet__item': true,\n 'ds-control--md': true,\n 'ds-interaction-fill': true,\n 'ds-focus-ring-inset': true,\n 'ds-focus-ring--visible':\n this.initialFocusVisible && section.id === this.focusedSection,\n }}\n onFocus={() => {\n this.focusedSection = section.id;\n }}\n onClick={() => {\n if (this.sheetClosing || section.isInactive) return;\n this.closeMenu();\n if (section.id !== this.selectedSection?.id) this.dsChange.emit(section.id);\n }}\n >\n <ds-text\n class=\"mobile-section-sheet__label ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n color=\"inherit\"\n emphasis={section.id === this.selectedSection?.id}\n lineTruncation={1}\n >\n {section.label}\n </ds-text>\n </button>\n )\n )}\n </div>\n <div\n ref={element => {\n if (this.browserEdgeEl !== element) this.browserEdgeColors = '';\n this.browserEdgeEl = element ?? null;\n }}\n class=\"mobile-section-sheet__browser-edge\"\n aria-hidden=\"true\"\n />\n </dialog>\n );\n }\n\n private handleSelect = (event: CustomEvent<MenuItemData>) => {\n const id = String(event.detail.value ?? '');\n const section = this.selectableSections.find(candidate => candidate.id === id);\n if (!section || section.isInactive) return;\n this.closeMenu();\n if (id !== this.selectedSection?.id) this.dsChange.emit(id);\n this.tasks.frame(() => this.triggerEl?.focus());\n };\n\n render() {\n const selected = this.selectedSection;\n if (!selected) return <Host />;\n const combined = this.presentation === 'sheet' && !!this.pageLabel;\n\n return (\n <Host\n class={{ 'mobile-section-switcher--pointer-focus': this.pointerFocus }}\n onPointerDown={() => {\n this.pointerFocus = true;\n this.initialFocusVisible = false;\n }}\n >\n <button\n ref={element => {\n this.triggerEl = element ?? null;\n }}\n id={this.triggerId}\n class={{\n 'mobile-section-switcher': true,\n 'mobile-section-switcher--expanded': this.menuOpen,\n 'ds-interaction-fill--surface-open':\n this.menuSurfaceOpen || this.menuOpen || this.sheetClosing,\n 'mobile-section-switcher--sheet': this.presentation === 'sheet',\n 'mobile-section-switcher--combined': combined,\n 'ds-focus-ring-inset': true,\n 'ds-interaction-fill': true,\n }}\n type=\"button\"\n aria-haspopup={this.presentation === 'sheet' ? 'dialog' : 'menu'}\n aria-controls={this.menuId}\n aria-expanded={String(this.menuOpen)}\n aria-label={this.triggerAriaLabel}\n onClick={this.toggleMenu}\n >\n {this.presentation === 'menu' ? (\n <span\n class={{\n 'mobile-section-switcher__position': true,\n 'mobile-section-switcher__position--visible': this.hasPrevious,\n 'ds-interaction-fill__content': true,\n }}\n aria-hidden=\"true\"\n />\n ) : null}\n {combined\n ? [\n <ds-text\n class=\"mobile-section-switcher__page-label ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n emphasis\n color=\"inherit\"\n lineTruncation={1}\n >\n {this.pageLabel}\n </ds-text>,\n <ds-text\n class=\"mobile-section-switcher__separator ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n color=\"inherit\"\n aria-hidden=\"true\"\n >\n ·\n </ds-text>,\n ]\n : null}\n <ds-text\n class=\"mobile-section-switcher__label ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n emphasis\n color=\"inherit\"\n lineTruncation={1}\n >\n {selected.label}\n </ds-text>\n {this.presentation === 'menu' ? (\n <span\n class={{\n 'mobile-section-switcher__position': true,\n 'mobile-section-switcher__position--visible': this.hasNext,\n 'ds-interaction-fill__content': true,\n }}\n aria-hidden=\"true\"\n />\n ) : null}\n </button>\n\n {this.presentation === 'sheet' || this.sheetClosing ? (\n this.renderSheet()\n ) : this.selectableSections.length > 1 ? (\n <ds-menu\n id={this.menuId}\n anchorId={this.triggerId}\n align=\"center\"\n menuLabel={this.navigationLabel}\n open={this.menuOpen}\n initialFocusVisible={this.initialFocusVisible}\n sections={this.menuSections}\n onDsClose={this.closeMenu}\n onDsAfterClose={() => {\n if (!this.menuOpen) this.menuSurfaceOpen = false;\n }}\n onDsSelect={this.handleSelect}\n />\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"oiBAUM,SAAUA,EACdC,EACAC,GAEA,MAAMC,EAAaC,EAAkBH,GACrC,MAAMI,EAAeF,EAAWG,WAAUC,GAAWA,EAAQC,KAAON,IACpE,MAAMO,EAAgBJ,GAAgB,EAAIA,EAAe,EACzD,MAAO,CACLI,gBACAC,SAAUP,EAAWM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I,aACf0C,UAAW5K,KAAKqD,UAChBwH,eAAgB,KACd,IAAK7K,KAAKI,SAAUJ,KAAKK,gBAAkB,KAAK,EAElDyK,WAAY9K,KAAK2E,eAEjB,K","ignoreList":[]}
1
+ {"version":3,"names":["resolveMobileSectionPosition","sections","value","selectable","getSelectableTabs","matchedIndex","findIndex","section","id","selectedIndex","selected","hasPrevious","hasNext","length","mobileSectionSwitcherCss","nextMobileSectionSwitcherId","MobileSectionSwitcher","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","navigationLabel","presentation","pageLabel","menuOpen","menuSurfaceOpen","initialFocusVisible","pointerFocus","sheetClosing","focusedSection","instanceId","triggerId","menuId","triggerEl","dialogEl","browserEdgeEl","browserEdgeColors","closeTimer","loaded","tasks","ConnectionTasks","el","isConnected","handleDocumentKeyDown","event","includes","key","updateBrowserEdgeColor","base","getComputedStyle","color","shade","backgroundColor","colors","canvas","ownerDocument","createElement","width","height","context","getContext","fillStyle","fillRect","red","green","blue","getImageData","data","style","setProperty","handleSheetKeyDown","preventDefault","stopPropagation","closeMenu","selectableSections","filter","isInactive","index","Math","max","next","ctrlKey","metaKey","altKey","match","_","offset","label","toLowerCase","startsWith","focusSheetItem","toggleMenu","detail","selectedSection","open","handleSelect","String","find","candidate","dsChange","emit","frame","focus","componentDidLoad","connectResources","connectedCallback","boundDocument","addEventListener","visibilityObserver","ResizeObserver","guard","getClientRects","finishSheetClose","observe","componentDidRender","initialSection","observeBrowserEdgeTheme","showModal","duration","resolveMotionTimeMs","TOKEN_DEFAULTS","motionShort2","animationDurationShort3","setTimeout","disconnectedCallback","cancel","removeEventListener","undefined","disconnect","handlePresentationChange","handleContextChange","restoreFocus","clearTimeout","wasOpen","close","themeObserver","MutationObserver","ancestor","parentElement","attributes","attributeFilter","buttons","Array","from","querySelectorAll","button","item","disabled","resolvedSections","triggerAriaLabel","menuSections","groups","items","commit","push","isTabDivider","dot","isSelected","handleSectionsChange","renderSheet","h","ref","element","class","tabIndex","onCancel","onKeyDown","onClick","target","rect","getBoundingClientRect","clientY","top","bottom","clientX","left","right","role","map","type","onFocus","as","variant","emphasis","lineTruncation","render","Host","combined","onPointerDown","anchorId","align","menuLabel","onDsClose","onDsAfterClose","onDsSelect"],"sources":["src/wc/components/MobileSectionSwitcher/mobile-section-switcher-utils.ts","src/wc/components/MobileSectionSwitcher/MobileSectionSwitcher.css?tag=ds-mobile-section-switcher&encapsulation=scoped","src/wc/components/MobileSectionSwitcher/MobileSectionSwitcher.tsx"],"sourcesContent":["import { getSelectableTabs, type TabItem, type TabItemTab } from '../TabGroup/tab-item-utils';\n\nexport interface MobileSectionPosition {\n selectedIndex: number;\n selected?: TabItemTab;\n hasPrevious: boolean;\n hasNext: boolean;\n}\n\n/** Resolve ordered selectable neighbors while ignoring visual divider entries. */\nexport function resolveMobileSectionPosition(\n sections: TabItem[],\n value: string\n): MobileSectionPosition {\n const selectable = getSelectableTabs(sections);\n const matchedIndex = selectable.findIndex(section => section.id === value);\n const selectedIndex = matchedIndex >= 0 ? matchedIndex : 0;\n return {\n selectedIndex,\n selected: selectable[selectedIndex],\n hasPrevious: selectedIndex > 0,\n hasNext: selectedIndex < selectable.length - 1,\n };\n}\n","@import '../../utils/focus-ring.css';\n@import '../../utils/interaction-fill.css';\n@import '../../utils/radius.css';\n@import '../../utils/control-density.css';\n\n:host {\n display: block;\n min-width: 0;\n max-width: 100%;\n color: var(--color-foreground-primary);\n}\n\n.mobile-section-switcher {\n appearance: none;\n display: grid;\n grid-template-columns: var(--dimension-size-100) minmax(0, auto) var(--dimension-size-100);\n align-items: center;\n justify-content: center;\n gap: var(--dimension-space-050);\n max-width: 100%;\n min-height: var(--dimension-size-400);\n padding-inline: var(--dimension-space-100);\n border: 0;\n border-radius: var(--dimension-radius-100);\n background: var(--color-background-secondary);\n color: inherit;\n box-sizing: border-box;\n cursor: default;\n}\n\n.mobile-section-switcher__label {\n min-width: 0;\n max-width: 100%;\n text-align: center;\n}\n\n.mobile-section-switcher__position {\n width: var(--dimension-size-050);\n height: var(--dimension-size-050);\n border-radius: var(--dimension-radius-half);\n background: currentColor;\n opacity: 0;\n}\n\n.mobile-section-switcher__position--visible {\n opacity: 1;\n}\n\n.mobile-section-switcher--sheet {\n grid-template-columns: minmax(0, auto);\n min-height: var(--dimension-size-400);\n padding-inline: var(--dimension-space-100);\n border-radius: var(--dimension-radius-half);\n background: transparent;\n --ds-interaction-border-width: var(--dimension-stroke-width-012);\n --ds-interaction-border-color: var(--color-border-tertiary);\n}\n\n.mobile-section-switcher--combined {\n display: flex;\n}\n\n.mobile-section-switcher__page-label {\n flex: 0 1 auto;\n min-width: 0;\n}\n\n.mobile-section-switcher__separator {\n flex: 0 0 auto;\n}\n\n.mobile-section-switcher--combined .mobile-section-switcher__label {\n flex: 0 0 auto;\n max-width: 50%;\n}\n\n.mobile-section-sheet {\n position: fixed;\n inset: 0 0 auto;\n width: 100%;\n max-width: none;\n max-height: calc(100dvh - var(--dimension-size-400) - var(--dimension-space-200));\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: 0;\n box-sizing: border-box;\n overflow: visible;\n background: transparent;\n color: var(--color-foreground-secondary);\n outline: none;\n}\n\n.mobile-section-sheet[open] {\n display: flex;\n flex-direction: column;\n}\n\n.mobile-section-sheet[open] .mobile-section-sheet__items {\n animation: mobileSectionSheetIn var(--effect-motion-short-2) both;\n}\n\n.mobile-section-sheet::backdrop {\n background: var(--color-background-shade);\n animation: mobileSectionShadeIn var(--effect-motion-short-2) both;\n}\n\n.mobile-section-sheet--closing[open] .mobile-section-sheet__items {\n animation-name: mobileSectionSheetOut;\n}\n\n.mobile-section-sheet--closing::backdrop {\n animation-name: mobileSectionShadeOut;\n}\n\n.mobile-section-sheet__items {\n display: flex;\n flex-direction: column;\n gap: var(--dimension-space-100);\n min-height: 0;\n max-height: inherit;\n box-sizing: border-box;\n background: var(--color-background-primary);\n box-shadow: var(--effect-elevation-elevated-floating);\n padding: var(--dimension-space-100);\n padding-block-start: max(var(--dimension-space-100), env(safe-area-inset-top, 0px));\n overflow-y: auto;\n overscroll-behavior: contain;\n}\n\n.mobile-section-sheet__item {\n appearance: none;\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n height: var(--ds-control-height);\n width: 100%;\n min-width: 0;\n padding: 0 var(--ds-control-padding-inline);\n box-sizing: border-box;\n border: 0;\n border-radius: var(--ds-control-radius);\n background: transparent;\n color: inherit;\n text-align: start;\n}\n\n.mobile-section-sheet__item[aria-current='page'] {\n color: var(--color-foreground-primary);\n}\n\n.mobile-section-sheet__item:disabled {\n color: var(--color-foreground-tertiary);\n}\n\n.mobile-section-sheet__label {\n min-width: 0;\n padding-inline: var(--ds-control-label-inset);\n}\n\n.mobile-section-sheet__divider {\n flex: 0 0 auto;\n height: var(--dimension-stroke-width-012);\n margin-inline: var(--dimension-space-100);\n background: var(--color-border-tertiary);\n}\n\n@keyframes mobileSectionSheetIn {\n from {\n transform: translateY(-100%);\n }\n to {\n transform: translateY(0);\n }\n}\n\n@keyframes mobileSectionSheetOut {\n from {\n transform: translateY(0);\n }\n to {\n transform: translateY(-100%);\n }\n}\n\n@keyframes mobileSectionShadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes mobileSectionShadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n/* Safari can preserve :focus-visible across modal entry and focus return after\n * a tap. Track the actual input, while leaving focus and keyboard access intact. */\n:host(.mobile-section-switcher--pointer-focus) .ds-focus-ring-inset::after {\n outline: none;\n}\n\n/* Keep this opaque strip in the modal top layer, outside the moving sheet.\n * Safari samples fixed edge backgrounds to tint its browser controls. */\n.mobile-section-sheet__browser-edge {\n position: fixed;\n inset: auto 0 0;\n height: max(var(--dimension-space-200), env(safe-area-inset-bottom, 0px));\n pointer-events: none;\n color: var(--color-background-primary);\n background-color: var(--_mobile-section-edge-color, var(--color-background-primary));\n}\n\n.mobile-section-sheet[open] .mobile-section-sheet__browser-edge {\n animation: mobileSectionEdgeIn var(--effect-motion-short-2) both;\n}\n\n.mobile-section-sheet--closing[open] .mobile-section-sheet__browser-edge {\n animation-name: mobileSectionEdgeOut;\n}\n\n/* Animate the opaque color, not opacity: the backdrop is already fading below. */\n@keyframes mobileSectionEdgeIn {\n from {\n background-color: var(--color-background-primary);\n }\n to {\n background-color: var(--_mobile-section-edge-color, var(--color-background-primary));\n }\n}\n\n@keyframes mobileSectionEdgeOut {\n from {\n background-color: var(--_mobile-section-edge-color, var(--color-background-primary));\n }\n to {\n background-color: var(--color-background-primary);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .mobile-section-sheet[open] .mobile-section-sheet__items,\n .mobile-section-sheet[open] .mobile-section-sheet__browser-edge,\n .mobile-section-sheet::backdrop {\n animation: none;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport type { MenuItemData, MenuSection } from '../Menu/menu-types';\nimport {\n getSelectableTabs,\n isTabDivider,\n type TabItem,\n type TabItemTab,\n} from '../TabGroup/tab-item-utils';\nimport { resolveMobileSectionPosition } from './mobile-section-switcher-utils';\nimport { resolveMotionTimeMs, TOKEN_DEFAULTS } from '../../utils';\nimport { ConnectionTasks } from '../../utils/connection-tasks';\n\nlet nextMobileSectionSwitcherId = 0;\n\n@Component({\n tag: 'ds-mobile-section-switcher',\n styleUrl: 'MobileSectionSwitcher.css',\n scoped: true,\n})\nexport class MobileSectionSwitcher {\n @Element() el!: HTMLElement;\n\n /** Ordered controlled sections. Divider entries group the popup menu. */\n @Prop() sections: TabItem[] = [];\n /** Controlled selected section id. */\n @Prop() value: string = '';\n /** Accessible name for the section chooser. */\n @Prop() navigationLabel: string = 'Change page section';\n /** Anchored local-view menu or viewport-edge sheet for primary page sections. */\n @Prop() presentation: 'menu' | 'sheet' = 'menu';\n /** Stable page identity shown before the selected section in a sheet trigger. */\n @Prop() pageLabel: string = '';\n\n /** Selection intent. The route, tool, or workflow owner updates `value`. */\n @Event() dsChange!: EventEmitter<string>;\n\n @State() private menuOpen = false;\n @State() private menuSurfaceOpen = false;\n @State() private initialFocusVisible = false;\n @State() private pointerFocus = false;\n @State() private sheetClosing = false;\n @State() private focusedSection = '';\n\n private readonly instanceId = nextMobileSectionSwitcherId++;\n private readonly triggerId = `ds-mobile-section-switcher-trigger-${this.instanceId}`;\n private readonly menuId = `ds-mobile-section-switcher-menu-${this.instanceId}`;\n private triggerEl: HTMLButtonElement | null = null;\n private dialogEl: HTMLDialogElement | null = null;\n private browserEdgeEl: HTMLDivElement | null = null;\n private browserEdgeColors = '';\n private themeObserver?: MutationObserver;\n private closeTimer: ReturnType<typeof setTimeout> | null = null;\n private visibilityObserver?: ResizeObserver;\n private loaded = false;\n private boundDocument?: Document;\n private readonly tasks = new ConnectionTasks(() => this.el.isConnected);\n\n private readonly handleDocumentKeyDown = (event: KeyboardEvent) => {\n if (['Shift', 'Control', 'Alt', 'Meta'].includes(event.key)) return;\n this.pointerFocus = false;\n };\n\n componentDidLoad() {\n this.loaded = true;\n this.connectResources();\n }\n\n connectedCallback() {\n if (this.loaded) this.connectResources();\n }\n\n private connectResources() {\n if (!this.el.isConnected || this.boundDocument) return;\n this.boundDocument = this.el.ownerDocument;\n this.boundDocument.addEventListener('keydown', this.handleDocumentKeyDown, true);\n this.visibilityObserver = new ResizeObserver(\n this.tasks.guard(() => {\n if (this.dialogEl?.open && !this.triggerEl?.getClientRects().length) {\n this.finishSheetClose(false);\n }\n })\n );\n this.visibilityObserver.observe(this.el);\n }\n\n componentDidRender() {\n if (!this.el.isConnected || !this.dialogEl) return;\n if (this.presentation === 'sheet' && this.menuOpen && !this.dialogEl.open) {\n const initialSection = this.focusedSection;\n this.updateBrowserEdgeColor();\n this.observeBrowserEdgeTheme();\n this.dialogEl.showModal();\n this.focusSheetItem(initialSection);\n }\n if (this.sheetClosing && this.dialogEl.open && !this.closeTimer) {\n const duration = resolveMotionTimeMs(\n TOKEN_DEFAULTS.motionShort2,\n TOKEN_DEFAULTS.animationDurationShort3\n );\n if (!duration) this.finishSheetClose();\n else this.closeTimer = setTimeout(() => this.finishSheetClose(), duration);\n }\n }\n\n disconnectedCallback() {\n this.tasks.cancel();\n this.boundDocument?.removeEventListener('keydown', this.handleDocumentKeyDown, true);\n this.boundDocument = undefined;\n this.visibilityObserver?.disconnect();\n this.visibilityObserver = undefined;\n this.pointerFocus = false;\n this.menuSurfaceOpen = false;\n this.finishSheetClose(false);\n }\n\n @Watch('presentation')\n handlePresentationChange() {\n this.menuSurfaceOpen = false;\n this.closeMenu();\n }\n\n @Watch('value')\n @Watch('pageLabel')\n handleContextChange() {\n this.closeMenu();\n }\n\n private finishSheetClose(restoreFocus = true) {\n if (this.closeTimer) clearTimeout(this.closeTimer);\n this.closeTimer = null;\n const wasOpen = this.dialogEl?.open;\n this.dialogEl?.close();\n this.themeObserver?.disconnect();\n this.menuOpen = false;\n this.sheetClosing = false;\n if (wasOpen && restoreFocus && this.triggerEl?.getClientRects().length) this.triggerEl.focus();\n }\n\n private updateBrowserEdgeColor = () => {\n if (!this.el.isConnected || !this.browserEdgeEl || !this.dialogEl) return;\n const base = getComputedStyle(this.browserEdgeEl).color;\n const shade = getComputedStyle(this.dialogEl, '::backdrop').backgroundColor;\n const colors = `${base}|${shade}`;\n if (colors === this.browserEdgeColors) return;\n // Let the browser resolve token colors, including alpha and non-sRGB syntax,\n // then flatten the shade over the bar into the opaque color Safari samples.\n const canvas = this.el.ownerDocument.createElement('canvas');\n canvas.width = canvas.height = 1;\n const context = canvas.getContext('2d');\n if (!context) return;\n context.fillStyle = base;\n context.fillRect(0, 0, 1, 1);\n context.fillStyle = shade;\n context.fillRect(0, 0, 1, 1);\n const [red, green, blue] = context.getImageData(0, 0, 1, 1).data;\n this.browserEdgeEl.style.setProperty(\n '--_mobile-section-edge-color',\n `rgb(${red}, ${green}, ${blue})`\n );\n this.browserEdgeColors = colors;\n };\n\n private observeBrowserEdgeTheme() {\n this.themeObserver ??= new MutationObserver(this.updateBrowserEdgeColor);\n // Token themes are inherited from the page or a containing theme scope.\n for (let ancestor: HTMLElement | null = this.el; ancestor; ancestor = ancestor.parentElement) {\n this.themeObserver.observe(ancestor, {\n attributes: true,\n attributeFilter: ['class', 'style', 'data-theme'],\n });\n }\n }\n\n private focusSheetItem(id: string) {\n const buttons = Array.from(this.dialogEl?.querySelectorAll<HTMLButtonElement>('button') ?? []);\n const button =\n buttons.find(item => item.value === id && !item.disabled) ??\n buttons.find(item => !item.disabled);\n if (button) {\n this.focusedSection = button.value;\n button.focus();\n } else this.dialogEl?.focus();\n }\n\n private handleSheetKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n event.preventDefault();\n event.stopPropagation();\n this.closeMenu();\n return;\n }\n const sections = this.selectableSections.filter(section => !section.isInactive);\n if (!sections.length) return;\n const index = Math.max(\n 0,\n sections.findIndex(section => section.id === this.focusedSection)\n );\n let next: number;\n if (event.key === 'ArrowDown') next = (index + 1) % sections.length;\n else if (event.key === 'ArrowUp') next = (index + sections.length - 1) % sections.length;\n else if (event.key === 'Home') next = 0;\n else if (event.key === 'End') next = sections.length - 1;\n else if (event.key === 'Tab') next = index;\n else if (\n event.key.length === 1 &&\n !event.ctrlKey &&\n !event.metaKey &&\n !event.altKey &&\n event.key !== ' '\n ) {\n const match = sections.findIndex((_, offset) =>\n sections[(index + offset + 1) % sections.length].label\n .toLowerCase()\n .startsWith(event.key.toLowerCase())\n );\n if (match < 0) return;\n next = (index + match + 1) % sections.length;\n } else return;\n event.preventDefault();\n this.initialFocusVisible = true;\n this.focusSheetItem(sections[next].id);\n };\n\n private get resolvedSections(): TabItem[] {\n return this.sections ?? [];\n }\n\n private get selectableSections(): TabItemTab[] {\n return getSelectableTabs(this.resolvedSections);\n }\n\n private get selectedIndex(): number {\n return resolveMobileSectionPosition(this.resolvedSections, this.value).selectedIndex;\n }\n\n private get selectedSection(): TabItemTab | undefined {\n return this.selectableSections[this.selectedIndex];\n }\n\n private get hasPrevious(): boolean {\n return resolveMobileSectionPosition(this.resolvedSections, this.value).hasPrevious;\n }\n\n private get hasNext(): boolean {\n return resolveMobileSectionPosition(this.resolvedSections, this.value).hasNext;\n }\n\n private get triggerAriaLabel(): string {\n return `${this.presentation === 'sheet' && this.pageLabel ? `${this.pageLabel}. ` : ''}${this.navigationLabel}. Current section: ${this.selectedSection?.label ?? ''}`;\n }\n\n private get menuSections(): MenuSection[] {\n const groups: MenuSection[] = [];\n let items: MenuItemData[] = [];\n const commit = () => {\n if (items.length) groups.push({ items });\n items = [];\n };\n\n for (const section of this.resolvedSections) {\n if (isTabDivider(section)) {\n commit();\n continue;\n }\n items.push({\n label: section.label,\n value: section.id,\n dot: section.dot,\n isSelected: section.id === this.selectedSection?.id,\n isInactive: section.isInactive,\n });\n }\n commit();\n return groups;\n }\n\n @Watch('sections')\n handleSectionsChange() {\n if (this.selectableSections.length <= 1) {\n this.closeMenu();\n this.menuSurfaceOpen = false;\n } else if (this.dialogEl?.open && !this.sheetClosing) {\n this.tasks.frame(() => {\n if (this.dialogEl?.open && !this.sheetClosing) this.focusSheetItem(this.focusedSection);\n });\n }\n }\n\n private toggleMenu = (event: MouseEvent) => {\n if (this.selectableSections.length <= 1) return;\n this.initialFocusVisible = event.detail === 0;\n if (this.presentation === 'sheet') {\n if (this.menuOpen) this.closeMenu();\n else {\n this.focusedSection = this.selectedSection?.id ?? '';\n this.menuOpen = true;\n }\n return;\n }\n this.menuOpen = !this.menuOpen;\n if (this.menuOpen) this.menuSurfaceOpen = true;\n };\n\n private closeMenu = () => {\n this.menuOpen = false;\n if (this.dialogEl?.open) this.sheetClosing = true;\n };\n\n private renderSheet() {\n return (\n <dialog\n id={this.menuId}\n ref={element => {\n this.dialogEl = element ?? null;\n }}\n class={{ 'mobile-section-sheet': true, 'mobile-section-sheet--closing': this.sheetClosing }}\n aria-label={this.navigationLabel}\n tabIndex={-1}\n onCancel={event => {\n event.preventDefault();\n this.closeMenu();\n }}\n onKeyDown={this.handleSheetKeyDown}\n onClick={event => {\n if (!this.dialogEl || event.target !== this.dialogEl) return;\n const rect = this.dialogEl.getBoundingClientRect();\n if (\n event.clientY < rect.top ||\n event.clientY > rect.bottom ||\n event.clientX < rect.left ||\n event.clientX > rect.right\n )\n this.closeMenu();\n }}\n >\n <div class=\"mobile-section-sheet__items\" role=\"menu\" aria-label={this.navigationLabel}>\n {this.resolvedSections.map(section =>\n isTabDivider(section) ? (\n <div class=\"mobile-section-sheet__divider\" role=\"separator\" />\n ) : (\n <button\n type=\"button\"\n role=\"menuitem\"\n value={section.id}\n disabled={section.isInactive}\n aria-current={section.id === this.selectedSection?.id ? 'page' : undefined}\n tabIndex={section.id === this.focusedSection ? 0 : -1}\n class={{\n 'mobile-section-sheet__item': true,\n 'ds-control--md': true,\n 'ds-interaction-fill': true,\n 'ds-focus-ring-inset': true,\n 'ds-focus-ring--visible':\n this.initialFocusVisible && section.id === this.focusedSection,\n }}\n onFocus={() => {\n this.focusedSection = section.id;\n }}\n onClick={() => {\n if (this.sheetClosing || section.isInactive) return;\n this.closeMenu();\n if (section.id !== this.selectedSection?.id) this.dsChange.emit(section.id);\n }}\n >\n <ds-text\n class=\"mobile-section-sheet__label ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n color=\"inherit\"\n emphasis={section.id === this.selectedSection?.id}\n lineTruncation={1}\n >\n {section.label}\n </ds-text>\n </button>\n )\n )}\n </div>\n <div\n ref={element => {\n if (this.browserEdgeEl !== element) this.browserEdgeColors = '';\n this.browserEdgeEl = element ?? null;\n }}\n class=\"mobile-section-sheet__browser-edge\"\n aria-hidden=\"true\"\n />\n </dialog>\n );\n }\n\n private handleSelect = (event: CustomEvent<MenuItemData>) => {\n const id = String(event.detail.value ?? '');\n const section = this.selectableSections.find(candidate => candidate.id === id);\n if (!section || section.isInactive) return;\n this.closeMenu();\n if (id !== this.selectedSection?.id) this.dsChange.emit(id);\n this.tasks.frame(() => this.triggerEl?.focus());\n };\n\n render() {\n const selected = this.selectedSection;\n if (!selected) return <Host />;\n const combined = this.presentation === 'sheet' && !!this.pageLabel;\n\n return (\n <Host\n class={{ 'mobile-section-switcher--pointer-focus': this.pointerFocus }}\n onPointerDown={() => {\n this.pointerFocus = true;\n this.initialFocusVisible = false;\n }}\n >\n <button\n ref={element => {\n this.triggerEl = element ?? null;\n }}\n id={this.triggerId}\n class={{\n 'mobile-section-switcher': true,\n 'mobile-section-switcher--expanded': this.menuOpen,\n 'ds-interaction-fill--surface-open':\n this.menuSurfaceOpen || this.menuOpen || this.sheetClosing,\n 'mobile-section-switcher--sheet': this.presentation === 'sheet',\n 'mobile-section-switcher--combined': combined,\n 'ds-focus-ring-inset': true,\n 'ds-interaction-fill': true,\n }}\n type=\"button\"\n aria-haspopup={this.presentation === 'sheet' ? 'dialog' : 'menu'}\n aria-controls={this.menuId}\n aria-expanded={String(this.menuOpen)}\n aria-label={this.triggerAriaLabel}\n onClick={this.toggleMenu}\n >\n {this.presentation === 'menu' ? (\n <span\n class={{\n 'mobile-section-switcher__position': true,\n 'mobile-section-switcher__position--visible': this.hasPrevious,\n 'ds-interaction-fill__content': true,\n }}\n aria-hidden=\"true\"\n />\n ) : null}\n {combined\n ? [\n <ds-text\n class=\"mobile-section-switcher__page-label ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n emphasis\n color=\"inherit\"\n lineTruncation={1}\n >\n {this.pageLabel}\n </ds-text>,\n <ds-text\n class=\"mobile-section-switcher__separator ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n color=\"inherit\"\n aria-hidden=\"true\"\n >\n ·\n </ds-text>,\n ]\n : null}\n <ds-text\n class=\"mobile-section-switcher__label ds-interaction-fill__content\"\n as=\"span\"\n variant=\"text-body-medium\"\n emphasis\n color=\"inherit\"\n lineTruncation={1}\n >\n {selected.label}\n </ds-text>\n {this.presentation === 'menu' ? (\n <span\n class={{\n 'mobile-section-switcher__position': true,\n 'mobile-section-switcher__position--visible': this.hasNext,\n 'ds-interaction-fill__content': true,\n }}\n aria-hidden=\"true\"\n />\n ) : null}\n </button>\n\n {this.presentation === 'sheet' || this.sheetClosing ? (\n this.renderSheet()\n ) : this.selectableSections.length > 1 ? (\n <ds-menu\n id={this.menuId}\n anchorId={this.triggerId}\n align=\"center\"\n menuLabel={this.navigationLabel}\n open={this.menuOpen}\n initialFocusVisible={this.initialFocusVisible}\n sections={this.menuSections}\n onDsClose={this.closeMenu}\n onDsAfterClose={() => {\n if (!this.menuOpen) this.menuSurfaceOpen = false;\n }}\n onDsSelect={this.handleSelect}\n />\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"+hBAUM,SAAUA,EACdC,EACAC,GAEA,MAAMC,EAAaC,EAAkBH,GACrC,MAAMI,EAAeF,EAAWG,WAAUC,GAAWA,EAAQC,KAAON,IACpE,MAAMO,EAAgBJ,GAAgB,EAAIA,EAAe,EACzD,MAAO,CACLI,gBACAC,SAAUP,EAAWM,GACrBE,YAAaF,EAAgB,EAC7BG,QAASH,EAAgBN,EAAWU,OAAS,EAEjD,CCvBA,MAAMC,EAA2B,IAAM,ispBCsBvC,IAAIC,EAA8B,E,MAOrBC,EAAqBC,EAAA,MAAAD,UAAAE,EALlC,WAAAC,CAAAC,G,+EASUC,KAAApB,SAAsB,GAEtBoB,KAAAnB,MAAgB,GAEhBmB,KAAAC,gBAA0B,sBAE1BD,KAAAE,aAAiC,OAEjCF,KAAAG,UAAoB,GAKXH,KAAAI,SAAW,MACXJ,KAAAK,gBAAkB,MAClBL,KAAAM,oBAAsB,MACtBN,KAAAO,aAAe,MACfP,KAAAQ,aAAe,MACfR,KAAAS,eAAiB,GAEjBT,KAAAU,WAAahB,IACbM,KAAAW,UAAY,sCAAsCX,KAAKU,aACvDV,KAAAY,OAAS,mCAAmCZ,KAAKU,aAC1DV,KAAAa,UAAsC,KACtCb,KAAAc,SAAqC,KACrCd,KAAAe,cAAuC,KACvCf,KAAAgB,kBAAoB,GAEpBhB,KAAAiB,WAAmD,KAEnDjB,KA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,WAERyI,EAAA,WACEG,MAAM,kEACNkB,GAAG,OACHC,QAAQ,mBACRpI,MAAM,UAAS,cACH,QAAM,MAKtB,KACJ8G,EAAA,WACEG,MAAM,8DACNkB,GAAG,OACHC,QAAQ,mBACRC,SAAQ,KACRrI,MAAM,UACNsI,eAAgB,GAEf/K,EAAS8E,OAEXnE,KAAKE,eAAiB,OACrB0I,EAAA,QACEG,MAAO,CACL,oCAAqC,KACrC,6CAA8C/I,KAAKT,QACnD,+BAAgC,MACjC,cACW,SAEZ,MAGLS,KAAKE,eAAiB,SAAWF,KAAKQ,aACrCR,KAAK2I,cACH3I,KAAKsD,mBAAmB9D,OAAS,EACnCoJ,EAAA,WACEzJ,GAAIa,KAAKY,OACT6J,SAAUzK,KAAKW,UACf+J,MAAM,SACNC,UAAW3K,KAAKC,gBAChByE,KAAM1E,KAAKI,SACXE,oBAAqBN,KAAKM,oBAC1B1B,SAAUoB,KAAKkI,aACf0C,UAAW5K,KAAKqD,UAChBwH,eAAgB,KACd,IAAK7K,KAAKI,SAAUJ,KAAKK,gBAAkB,KAAK,EAElDyK,WAAY9K,KAAK2E,eAEjB,K","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import{p as o,H as i,h as s,a as e,t as r}from"./index.js";const n={FlagAustria:()=>import("@ds-mo/icons/svg/flags/FlagAustria").then((o=>o.FlagAustria)),FlagBelgium:()=>import("@ds-mo/icons/svg/flags/FlagBelgium").then((o=>o.FlagBelgium)),FlagBulgaria:()=>import("@ds-mo/icons/svg/flags/FlagBulgaria").then((o=>o.FlagBulgaria)),FlagCanada:()=>import("@ds-mo/icons/svg/flags/FlagCanada").then((o=>o.FlagCanada)),FlagCroatia:()=>import("@ds-mo/icons/svg/flags/FlagCroatia").then((o=>o.FlagCroatia)),FlagCyprus:()=>import("@ds-mo/icons/svg/flags/FlagCyprus").then((o=>o.FlagCyprus)),FlagCzechRepublic:()=>import("@ds-mo/icons/svg/flags/FlagCzechRepublic").then((o=>o.FlagCzechRepublic)),FlagDenmark:()=>import("@ds-mo/icons/svg/flags/FlagDenmark").then((o=>o.FlagDenmark)),FlagEU:()=>import("@ds-mo/icons/svg/flags/FlagEU").then((o=>o.FlagEU)),FlagEstonia:()=>import("@ds-mo/icons/svg/flags/FlagEstonia").then((o=>o.FlagEstonia)),FlagFinland:()=>import("@ds-mo/icons/svg/flags/FlagFinland").then((o=>o.FlagFinland)),FlagFrance:()=>import("@ds-mo/icons/svg/flags/FlagFrance").then((o=>o.FlagFrance)),FlagGermany:()=>import("@ds-mo/icons/svg/flags/FlagGermany").then((o=>o.FlagGermany)),FlagGreece:()=>import("@ds-mo/icons/svg/flags/FlagGreece").then((o=>o.FlagGreece)),FlagHungary:()=>import("@ds-mo/icons/svg/flags/FlagHungary").then((o=>o.FlagHungary)),FlagIreland:()=>import("@ds-mo/icons/svg/flags/FlagIreland").then((o=>o.FlagIreland)),FlagItaly:()=>import("@ds-mo/icons/svg/flags/FlagItaly").then((o=>o.FlagItaly)),FlagLatvia:()=>import("@ds-mo/icons/svg/flags/FlagLatvia").then((o=>o.FlagLatvia)),FlagLithuania:()=>import("@ds-mo/icons/svg/flags/FlagLithuania").then((o=>o.FlagLithuania)),FlagLuxembourg:()=>import("@ds-mo/icons/svg/flags/FlagLuxembourg").then((o=>o.FlagLuxembourg)),FlagMalta:()=>import("@ds-mo/icons/svg/flags/FlagMalta").then((o=>o.FlagMalta)),FlagMexico:()=>import("@ds-mo/icons/svg/flags/FlagMexico").then((o=>o.FlagMexico)),FlagNetherlands:()=>import("@ds-mo/icons/svg/flags/FlagNetherlands").then((o=>o.FlagNetherlands)),FlagPoland:()=>import("@ds-mo/icons/svg/flags/FlagPoland").then((o=>o.FlagPoland)),FlagPortugal:()=>import("@ds-mo/icons/svg/flags/FlagPortugal").then((o=>o.FlagPortugal)),FlagRomania:()=>import("@ds-mo/icons/svg/flags/FlagRomania").then((o=>o.FlagRomania)),FlagSlovakia:()=>import("@ds-mo/icons/svg/flags/FlagSlovakia").then((o=>o.FlagSlovakia)),FlagSlovenia:()=>import("@ds-mo/icons/svg/flags/FlagSlovenia").then((o=>o.FlagSlovenia)),FlagSpain:()=>import("@ds-mo/icons/svg/flags/FlagSpain").then((o=>o.FlagSpain)),FlagSweden:()=>import("@ds-mo/icons/svg/flags/FlagSweden").then((o=>o.FlagSweden)),FlagUnitedKingdom:()=>import("@ds-mo/icons/svg/flags/FlagUnitedKingdom").then((o=>o.FlagUnitedKingdom)),FlagUnitedStates:()=>import("@ds-mo/icons/svg/flags/FlagUnitedStates").then((o=>o.FlagUnitedStates))};const t={AIAsterisk:()=>import("@ds-mo/icons/svg/AIAsterisk").then((o=>o.AIAsterisk)),AIChip:()=>import("@ds-mo/icons/svg/AIChip").then((o=>o.AIChip)),AICompass:()=>import("@ds-mo/icons/svg/AICompass").then((o=>o.AICompass)),AISparkle:()=>import("@ds-mo/icons/svg/AISparkle").then((o=>o.AISparkle)),AUX1:()=>import("@ds-mo/icons/svg/AUX1").then((o=>o.AUX1)),AUXFilled:()=>import("@ds-mo/icons/svg/AUXFilled").then((o=>o.AUXFilled)),Android:()=>import("@ds-mo/icons/svg/Android").then((o=>o.Android)),AndroidFilled:()=>import("@ds-mo/icons/svg/AndroidFilled").then((o=>o.AndroidFilled)),ArrowCircle:()=>import("@ds-mo/icons/svg/ArrowCircle").then((o=>o.ArrowCircle)),ArrowDown:()=>import("@ds-mo/icons/svg/ArrowDown").then((o=>o.ArrowDown)),ArrowLeft:()=>import("@ds-mo/icons/svg/ArrowLeft").then((o=>o.ArrowLeft)),ArrowRight:()=>import("@ds-mo/icons/svg/ArrowRight").then((o=>o.ArrowRight)),ArrowTopRightSquare:()=>import("@ds-mo/icons/svg/ArrowTopRightSquare").then((o=>o.ArrowTopRightSquare)),ArrowUp:()=>import("@ds-mo/icons/svg/ArrowUp").then((o=>o.ArrowUp)),ArrowZoomBack:()=>import("@ds-mo/icons/svg/ArrowZoomBack").then((o=>o.ArrowZoomBack)),ArrowsDiagonal:()=>import("@ds-mo/icons/svg/ArrowsDiagonal").then((o=>o.ArrowsDiagonal)),ArrowsDiff:()=>import("@ds-mo/icons/svg/ArrowsDiff").then((o=>o.ArrowsDiff)),ArrowsDiffCircle:()=>import("@ds-mo/icons/svg/ArrowsDiffCircle").then((o=>o.ArrowsDiffCircle)),ArrowsDiffCircleStrikethrough:()=>import("@ds-mo/icons/svg/ArrowsDiffCircleStrikethrough").then((o=>o.ArrowsDiffCircleStrikethrough)),ArrowsDiffStrikethrough:()=>import("@ds-mo/icons/svg/ArrowsDiffStrikethrough").then((o=>o.ArrowsDiffStrikethrough)),ArrowsVertical:()=>import("@ds-mo/icons/svg/ArrowsVertical").then((o=>o.ArrowsVertical)),AtSign:()=>import("@ds-mo/icons/svg/AtSign").then((o=>o.AtSign)),BackslashBrackets:()=>import("@ds-mo/icons/svg/BackslashBrackets").then((o=>o.BackslashBrackets)),BatteryCharging:()=>import("@ds-mo/icons/svg/BatteryCharging").then((o=>o.BatteryCharging)),BatteryEmpty:()=>import("@ds-mo/icons/svg/BatteryEmpty").then((o=>o.BatteryEmpty)),BatteryFull:()=>import("@ds-mo/icons/svg/BatteryFull").then((o=>o.BatteryFull)),BatteryHalf:()=>import("@ds-mo/icons/svg/BatteryHalf").then((o=>o.BatteryHalf)),BatteryLow:()=>import("@ds-mo/icons/svg/BatteryLow").then((o=>o.BatteryLow)),Beaker:()=>import("@ds-mo/icons/svg/Beaker").then((o=>o.Beaker)),Bell:()=>import("@ds-mo/icons/svg/Bell").then((o=>o.Bell)),BellDot:()=>import("@ds-mo/icons/svg/BellDot").then((o=>o.BellDot)),BellFilled:()=>import("@ds-mo/icons/svg/BellFilled").then((o=>o.BellFilled)),BellRinging:()=>import("@ds-mo/icons/svg/BellRinging").then((o=>o.BellRinging)),BellWifi:()=>import("@ds-mo/icons/svg/BellWifi").then((o=>o.BellWifi)),BlackWhite:()=>import("@ds-mo/icons/svg/BlackWhite").then((o=>o.BlackWhite)),BlankUI:()=>import("@ds-mo/icons/svg/BlankUI").then((o=>o.BlankUI)),Bluetooth:()=>import("@ds-mo/icons/svg/Bluetooth").then((o=>o.Bluetooth)),Bolt:()=>import("@ds-mo/icons/svg/Bolt").then((o=>o.Bolt)),BoltFilled:()=>import("@ds-mo/icons/svg/BoltFilled").then((o=>o.BoltFilled)),Bookmark:()=>import("@ds-mo/icons/svg/Bookmark").then((o=>o.Bookmark)),Box:()=>import("@ds-mo/icons/svg/Box").then((o=>o.Box)),Braces:()=>import("@ds-mo/icons/svg/Braces").then((o=>o.Braces)),BracketsCircle:()=>import("@ds-mo/icons/svg/BracketsCircle").then((o=>o.BracketsCircle)),BracketsDocument:()=>import("@ds-mo/icons/svg/BracketsDocument").then((o=>o.BracketsDocument)),Bug:()=>import("@ds-mo/icons/svg/Bug").then((o=>o.Bug)),BuildingFacility:()=>import("@ds-mo/icons/svg/BuildingFacility").then((o=>o.BuildingFacility)),BuildingHome:()=>import("@ds-mo/icons/svg/BuildingHome").then((o=>o.BuildingHome)),BuildingOffice:()=>import("@ds-mo/icons/svg/BuildingOffice").then((o=>o.BuildingOffice)),BuildingPublic:()=>import("@ds-mo/icons/svg/BuildingPublic").then((o=>o.BuildingPublic)),BuildingShop:()=>import("@ds-mo/icons/svg/BuildingShop").then((o=>o.BuildingShop)),Bulb:()=>import("@ds-mo/icons/svg/Bulb").then((o=>o.Bulb)),Calculator:()=>import("@ds-mo/icons/svg/Calculator").then((o=>o.Calculator)),Calendar:()=>import("@ds-mo/icons/svg/Calendar").then((o=>o.Calendar)),CalendarClock:()=>import("@ds-mo/icons/svg/CalendarClock").then((o=>o.CalendarClock)),Camera:()=>import("@ds-mo/icons/svg/Camera").then((o=>o.Camera)),Card:()=>import("@ds-mo/icons/svg/Card").then((o=>o.Card)),CardPerson:()=>import("@ds-mo/icons/svg/CardPerson").then((o=>o.CardPerson)),Cart:()=>import("@ds-mo/icons/svg/Cart").then((o=>o.Cart)),Chart:()=>import("@ds-mo/icons/svg/Chart").then((o=>o.Chart)),Check:()=>import("@ds-mo/icons/svg/Check").then((o=>o.Check)),CheckCircle:()=>import("@ds-mo/icons/svg/CheckCircle").then((o=>o.CheckCircle)),CheckCircleFilled:()=>import("@ds-mo/icons/svg/CheckCircleFilled").then((o=>o.CheckCircleFilled)),CheckDouble:()=>import("@ds-mo/icons/svg/CheckDouble").then((o=>o.CheckDouble)),CheckSquare:()=>import("@ds-mo/icons/svg/CheckSquare").then((o=>o.CheckSquare)),CheckSquareFilled:()=>import("@ds-mo/icons/svg/CheckSquareFilled").then((o=>o.CheckSquareFilled)),ChevronDown:()=>import("@ds-mo/icons/svg/ChevronDown").then((o=>o.ChevronDown)),ChevronDownUp:()=>import("@ds-mo/icons/svg/ChevronDownUp").then((o=>o.ChevronDownUp)),ChevronLeft:()=>import("@ds-mo/icons/svg/ChevronLeft").then((o=>o.ChevronLeft)),ChevronLeftDouble:()=>import("@ds-mo/icons/svg/ChevronLeftDouble").then((o=>o.ChevronLeftDouble)),ChevronRight:()=>import("@ds-mo/icons/svg/ChevronRight").then((o=>o.ChevronRight)),ChevronRightDouble:()=>import("@ds-mo/icons/svg/ChevronRightDouble").then((o=>o.ChevronRightDouble)),ChevronUp:()=>import("@ds-mo/icons/svg/ChevronUp").then((o=>o.ChevronUp)),ChevronUpDown:()=>import("@ds-mo/icons/svg/ChevronUpDown").then((o=>o.ChevronUpDown)),Circle:()=>import("@ds-mo/icons/svg/Circle").then((o=>o.Circle)),CircleConcentricFilled:()=>import("@ds-mo/icons/svg/CircleConcentricFilled").then((o=>o.CircleConcentricFilled)),CircleConcentricThree:()=>import("@ds-mo/icons/svg/CircleConcentricThree").then((o=>o.CircleConcentricThree)),CircleConcentricTwo:()=>import("@ds-mo/icons/svg/CircleConcentricTwo").then((o=>o.CircleConcentricTwo)),CircleDiamond:()=>import("@ds-mo/icons/svg/CircleDiamond").then((o=>o.CircleDiamond)),CircleFilled:()=>import("@ds-mo/icons/svg/CircleFilled").then((o=>o.CircleFilled)),CircleGrid:()=>import("@ds-mo/icons/svg/CircleGrid").then((o=>o.CircleGrid)),CircleSlash:()=>import("@ds-mo/icons/svg/CircleSlash").then((o=>o.CircleSlash)),Clipboard:()=>import("@ds-mo/icons/svg/Clipboard").then((o=>o.Clipboard)),ClipboardCheck:()=>import("@ds-mo/icons/svg/ClipboardCheck").then((o=>o.ClipboardCheck)),Clock:()=>import("@ds-mo/icons/svg/Clock").then((o=>o.Clock)),ClockDefer:()=>import("@ds-mo/icons/svg/ClockDefer").then((o=>o.ClockDefer)),ClockFilled:()=>import("@ds-mo/icons/svg/ClockFilled").then((o=>o.ClockFilled)),ClockSixteenHour:()=>import("@ds-mo/icons/svg/ClockSixteenHour").then((o=>o.ClockSixteenHour)),Cloud:()=>import("@ds-mo/icons/svg/Cloud").then((o=>o.Cloud)),CloudEllipses:()=>import("@ds-mo/icons/svg/CloudEllipses").then((o=>o.CloudEllipses)),CloudLightning:()=>import("@ds-mo/icons/svg/CloudLightning").then((o=>o.CloudLightning)),CloudRain:()=>import("@ds-mo/icons/svg/CloudRain").then((o=>o.CloudRain)),CloudRainSun:()=>import("@ds-mo/icons/svg/CloudRainSun").then((o=>o.CloudRainSun)),CloudSun:()=>import("@ds-mo/icons/svg/CloudSun").then((o=>o.CloudSun)),CloudWind:()=>import("@ds-mo/icons/svg/CloudWind").then((o=>o.CloudWind)),Coin:()=>import("@ds-mo/icons/svg/Coin").then((o=>o.Coin)),CoinStack:()=>import("@ds-mo/icons/svg/CoinStack").then((o=>o.CoinStack)),CoinStackGeneral:()=>import("@ds-mo/icons/svg/CoinStackGeneral").then((o=>o.CoinStackGeneral)),CombustionEngine:()=>import("@ds-mo/icons/svg/CombustionEngine").then((o=>o.CombustionEngine)),Compass:()=>import("@ds-mo/icons/svg/Compass").then((o=>o.Compass)),Copy:()=>import("@ds-mo/icons/svg/Copy").then((o=>o.Copy)),Crop:()=>import("@ds-mo/icons/svg/Crop").then((o=>o.Crop)),Cross:()=>import("@ds-mo/icons/svg/Cross").then((o=>o.Cross)),CrossCircle:()=>import("@ds-mo/icons/svg/CrossCircle").then((o=>o.CrossCircle)),CrossCircleFilled:()=>import("@ds-mo/icons/svg/CrossCircleFilled").then((o=>o.CrossCircleFilled)),Cube:()=>import("@ds-mo/icons/svg/Cube").then((o=>o.Cube)),Cup:()=>import("@ds-mo/icons/svg/Cup").then((o=>o.Cup)),CursorPointer:()=>import("@ds-mo/icons/svg/CursorPointer").then((o=>o.CursorPointer)),CursorPointerMinus:()=>import("@ds-mo/icons/svg/CursorPointerMinus").then((o=>o.CursorPointerMinus)),CursorPointerPlus:()=>import("@ds-mo/icons/svg/CursorPointerPlus").then((o=>o.CursorPointerPlus)),Dashboard:()=>import("@ds-mo/icons/svg/Dashboard").then((o=>o.Dashboard)),DeviceAIDashcamPlus:()=>import("@ds-mo/icons/svg/DeviceAIDashcamPlus").then((o=>o.DeviceAIDashcamPlus)),DeviceAssetTracker:()=>import("@ds-mo/icons/svg/DeviceAssetTracker").then((o=>o.DeviceAssetTracker)),DeviceCameraCeiling:()=>import("@ds-mo/icons/svg/DeviceCameraCeiling").then((o=>o.DeviceCameraCeiling)),DeviceDVR:()=>import("@ds-mo/icons/svg/DeviceDVR").then((o=>o.DeviceDVR)),DeviceDashcam:()=>import("@ds-mo/icons/svg/DeviceDashcam").then((o=>o.DeviceDashcam)),DeviceDashcamLiveStream:()=>import("@ds-mo/icons/svg/DeviceDashcamLiveStream").then((o=>o.DeviceDashcamLiveStream)),DeviceDoorSensor:()=>import("@ds-mo/icons/svg/DeviceDoorSensor").then((o=>o.DeviceDoorSensor)),DeviceMobile:()=>import("@ds-mo/icons/svg/DeviceMobile").then((o=>o.DeviceMobile)),DeviceMobileTwo:()=>import("@ds-mo/icons/svg/DeviceMobileTwo").then((o=>o.DeviceMobileTwo)),DeviceOmnicam:()=>import("@ds-mo/icons/svg/DeviceOmnicam").then((o=>o.DeviceOmnicam)),DeviceSensor:()=>import("@ds-mo/icons/svg/DeviceSensor").then((o=>o.DeviceSensor)),DeviceTablet:()=>import("@ds-mo/icons/svg/DeviceTablet").then((o=>o.DeviceTablet)),DeviceVehicleGateway:()=>import("@ds-mo/icons/svg/DeviceVehicleGateway").then((o=>o.DeviceVehicleGateway)),Devices:()=>import("@ds-mo/icons/svg/Devices").then((o=>o.Devices)),Document:()=>import("@ds-mo/icons/svg/Document").then((o=>o.Document)),DocumentArrow:()=>import("@ds-mo/icons/svg/DocumentArrow").then((o=>o.DocumentArrow)),DocumentChart:()=>import("@ds-mo/icons/svg/DocumentChart").then((o=>o.DocumentChart)),DocumentDollar:()=>import("@ds-mo/icons/svg/DocumentDollar").then((o=>o.DocumentDollar)),DocumentGear:()=>import("@ds-mo/icons/svg/DocumentGear").then((o=>o.DocumentGear)),DocumentInverted:()=>import("@ds-mo/icons/svg/DocumentInverted").then((o=>o.DocumentInverted)),DocumentLogs:()=>import("@ds-mo/icons/svg/DocumentLogs").then((o=>o.DocumentLogs)),DocumentLogsMagnifyingGlass:()=>import("@ds-mo/icons/svg/DocumentLogsMagnifyingGlass").then((o=>o.DocumentLogsMagnifyingGlass)),DocumentPencil:()=>import("@ds-mo/icons/svg/DocumentPencil").then((o=>o.DocumentPencil)),DocumentPlus:()=>import("@ds-mo/icons/svg/DocumentPlus").then((o=>o.DocumentPlus)),DocumentQuestion:()=>import("@ds-mo/icons/svg/DocumentQuestion").then((o=>o.DocumentQuestion)),DocumentReceipt:()=>import("@ds-mo/icons/svg/DocumentReceipt").then((o=>o.DocumentReceipt)),DocumentStacked:()=>import("@ds-mo/icons/svg/DocumentStacked").then((o=>o.DocumentStacked)),DollarSquare:()=>import("@ds-mo/icons/svg/DollarSquare").then((o=>o.DollarSquare)),DollarSquareFilled:()=>import("@ds-mo/icons/svg/DollarSquareFilled").then((o=>o.DollarSquareFilled)),Dot:()=>import("@ds-mo/icons/svg/Dot").then((o=>o.Dot)),DotFilled:()=>import("@ds-mo/icons/svg/DotFilled").then((o=>o.DotFilled)),Download:()=>import("@ds-mo/icons/svg/Download").then((o=>o.Download)),DragDots:()=>import("@ds-mo/icons/svg/DragDots").then((o=>o.DragDots)),Ellipses:()=>import("@ds-mo/icons/svg/Ellipses").then((o=>o.Ellipses)),Email:()=>import("@ds-mo/icons/svg/Email").then((o=>o.Email)),EntityAsset:()=>import("@ds-mo/icons/svg/EntityAsset").then((o=>o.EntityAsset)),EntityAssetFilled:()=>import("@ds-mo/icons/svg/EntityAssetFilled").then((o=>o.EntityAssetFilled)),EntityPerson:()=>import("@ds-mo/icons/svg/EntityPerson").then((o=>o.EntityPerson)),EntityPersonFilled:()=>import("@ds-mo/icons/svg/EntityPersonFilled").then((o=>o.EntityPersonFilled)),EntityTravelGroup:()=>import("@ds-mo/icons/svg/EntityTravelGroup").then((o=>o.EntityTravelGroup)),EntityTravelGroupFilled:()=>import("@ds-mo/icons/svg/EntityTravelGroupFilled").then((o=>o.EntityTravelGroupFilled)),EntityVehicle:()=>import("@ds-mo/icons/svg/EntityVehicle").then((o=>o.EntityVehicle)),EntityVehicleCharging:()=>import("@ds-mo/icons/svg/EntityVehicleCharging").then((o=>o.EntityVehicleCharging)),EntityVehicleChargingFilled:()=>import("@ds-mo/icons/svg/EntityVehicleChargingFilled").then((o=>o.EntityVehicleChargingFilled)),EntityVehicleFilled:()=>import("@ds-mo/icons/svg/EntityVehicleFilled").then((o=>o.EntityVehicleFilled)),EntityVehicleImmobilized:()=>import("@ds-mo/icons/svg/EntityVehicleImmobilized").then((o=>o.EntityVehicleImmobilized)),EntityVehicleImmobilizedFilled:()=>import("@ds-mo/icons/svg/EntityVehicleImmobilizedFilled").then((o=>o.EntityVehicleImmobilizedFilled)),ExclamationBell:()=>import("@ds-mo/icons/svg/ExclamationBell").then((o=>o.ExclamationBell)),ExclamationCircle:()=>import("@ds-mo/icons/svg/ExclamationCircle").then((o=>o.ExclamationCircle)),ExclamationCircleFilled:()=>import("@ds-mo/icons/svg/ExclamationCircleFilled").then((o=>o.ExclamationCircleFilled)),ExclamationTriangle:()=>import("@ds-mo/icons/svg/ExclamationTriangle").then((o=>o.ExclamationTriangle)),ExclamationTriangleFilled:()=>import("@ds-mo/icons/svg/ExclamationTriangleFilled").then((o=>o.ExclamationTriangleFilled)),Export:()=>import("@ds-mo/icons/svg/Export").then((o=>o.Export)),ExternalLink:()=>import("@ds-mo/icons/svg/ExternalLink").then((o=>o.ExternalLink)),Eye:()=>import("@ds-mo/icons/svg/Eye").then((o=>o.Eye)),EyeLock:()=>import("@ds-mo/icons/svg/EyeLock").then((o=>o.EyeLock)),EyeStrikethrough:()=>import("@ds-mo/icons/svg/EyeStrikethrough").then((o=>o.EyeStrikethrough)),FastForward:()=>import("@ds-mo/icons/svg/FastForward").then((o=>o.FastForward)),FastForwardCircle:()=>import("@ds-mo/icons/svg/FastForwardCircle").then((o=>o.FastForwardCircle)),FastForwardSkip:()=>import("@ds-mo/icons/svg/FastForwardSkip").then((o=>o.FastForwardSkip)),Filters:()=>import("@ds-mo/icons/svg/Filters").then((o=>o.Filters)),FitToScreen:()=>import("@ds-mo/icons/svg/FitToScreen").then((o=>o.FitToScreen)),Flag:()=>import("@ds-mo/icons/svg/Flag").then((o=>o.Flag)),FlagFilled:()=>import("@ds-mo/icons/svg/FlagFilled").then((o=>o.FlagFilled)),FloppyDisk:()=>import("@ds-mo/icons/svg/FloppyDisk").then((o=>o.FloppyDisk)),Folder:()=>import("@ds-mo/icons/svg/Folder").then((o=>o.Folder)),FolderFilled:()=>import("@ds-mo/icons/svg/FolderFilled").then((o=>o.FolderFilled)),FuelPump:()=>import("@ds-mo/icons/svg/FuelPump").then((o=>o.FuelPump)),FullScreen:()=>import("@ds-mo/icons/svg/FullScreen").then((o=>o.FullScreen)),FullScreenExit:()=>import("@ds-mo/icons/svg/FullScreenExit").then((o=>o.FullScreenExit)),Gauge:()=>import("@ds-mo/icons/svg/Gauge").then((o=>o.Gauge)),GaugeTemperature:()=>import("@ds-mo/icons/svg/GaugeTemperature").then((o=>o.GaugeTemperature)),Gear:()=>import("@ds-mo/icons/svg/Gear").then((o=>o.Gear)),GearCheck:()=>import("@ds-mo/icons/svg/GearCheck").then((o=>o.GearCheck)),Geofence:()=>import("@ds-mo/icons/svg/Geofence").then((o=>o.Geofence)),GeofenceCircle:()=>import("@ds-mo/icons/svg/GeofenceCircle").then((o=>o.GeofenceCircle)),GeofenceDiamond:()=>import("@ds-mo/icons/svg/GeofenceDiamond").then((o=>o.GeofenceDiamond)),GeofenceSquare:()=>import("@ds-mo/icons/svg/GeofenceSquare").then((o=>o.GeofenceSquare)),GlobeNetwork:()=>import("@ds-mo/icons/svg/GlobeNetwork").then((o=>o.GlobeNetwork)),GlobeWorldMap:()=>import("@ds-mo/icons/svg/GlobeWorldMap").then((o=>o.GlobeWorldMap)),Graph:()=>import("@ds-mo/icons/svg/Graph").then((o=>o.Graph)),GraphArrow:()=>import("@ds-mo/icons/svg/GraphArrow").then((o=>o.GraphArrow)),GraphBars:()=>import("@ds-mo/icons/svg/GraphBars").then((o=>o.GraphBars)),GraphDecreasing:()=>import("@ds-mo/icons/svg/GraphDecreasing").then((o=>o.GraphDecreasing)),GraphIncreasing:()=>import("@ds-mo/icons/svg/GraphIncreasing").then((o=>o.GraphIncreasing)),Hamburger:()=>import("@ds-mo/icons/svg/Hamburger").then((o=>o.Hamburger)),HandHeart:()=>import("@ds-mo/icons/svg/HandHeart").then((o=>o.HandHeart)),HandOpen:()=>import("@ds-mo/icons/svg/HandOpen").then((o=>o.HandOpen)),Headset:()=>import("@ds-mo/icons/svg/Headset").then((o=>o.Headset)),History:()=>import("@ds-mo/icons/svg/History").then((o=>o.History)),HourGlass:()=>import("@ds-mo/icons/svg/HourGlass").then((o=>o.HourGlass)),Image:()=>import("@ds-mo/icons/svg/Image").then((o=>o.Image)),Import:()=>import("@ds-mo/icons/svg/Import").then((o=>o.Import)),ImportClock:()=>import("@ds-mo/icons/svg/ImportClock").then((o=>o.ImportClock)),Inbox:()=>import("@ds-mo/icons/svg/Inbox").then((o=>o.Inbox)),IosFilled:()=>import("@ds-mo/icons/svg/IosFilled").then((o=>o.IosFilled)),Jerrycan:()=>import("@ds-mo/icons/svg/Jerrycan").then((o=>o.Jerrycan)),KeyA:()=>import("@ds-mo/icons/svg/KeyA").then((o=>o.KeyA)),KeyB:()=>import("@ds-mo/icons/svg/KeyB").then((o=>o.KeyB)),KeyCmd:()=>import("@ds-mo/icons/svg/KeyCmd").then((o=>o.KeyCmd)),KeyEnter:()=>import("@ds-mo/icons/svg/KeyEnter").then((o=>o.KeyEnter)),KeyShift:()=>import("@ds-mo/icons/svg/KeyShift").then((o=>o.KeyShift)),LED:()=>import("@ds-mo/icons/svg/LED").then((o=>o.LED)),Layers:()=>import("@ds-mo/icons/svg/Layers").then((o=>o.Layers)),Leaf:()=>import("@ds-mo/icons/svg/Leaf").then((o=>o.Leaf)),LeftCollapse:()=>import("@ds-mo/icons/svg/LeftCollapse").then((o=>o.LeftCollapse)),LeftCollapseB:()=>import("@ds-mo/icons/svg/LeftCollapseB").then((o=>o.LeftCollapseB)),LeftExpand:()=>import("@ds-mo/icons/svg/LeftExpand").then((o=>o.LeftExpand)),LeftExpandB:()=>import("@ds-mo/icons/svg/LeftExpandB").then((o=>o.LeftExpandB)),LetterBCircle:()=>import("@ds-mo/icons/svg/LetterBCircle").then((o=>o.LetterBCircle)),LetterCCircle:()=>import("@ds-mo/icons/svg/LetterCCircle").then((o=>o.LetterCCircle)),LetterICircle:()=>import("@ds-mo/icons/svg/LetterICircle").then((o=>o.LetterICircle)),LicenseCard:()=>import("@ds-mo/icons/svg/LicenseCard").then((o=>o.LicenseCard)),LicensePlate:()=>import("@ds-mo/icons/svg/LicensePlate").then((o=>o.LicensePlate)),Lifebuoy:()=>import("@ds-mo/icons/svg/Lifebuoy").then((o=>o.Lifebuoy)),Link:()=>import("@ds-mo/icons/svg/Link").then((o=>o.Link)),List:()=>import("@ds-mo/icons/svg/List").then((o=>o.List)),Loads:()=>import("@ds-mo/icons/svg/Loads").then((o=>o.Loads)),LocationPin:()=>import("@ds-mo/icons/svg/LocationPin").then((o=>o.LocationPin)),LocationPinArrows:()=>import("@ds-mo/icons/svg/LocationPinArrows").then((o=>o.LocationPinArrows)),LocationPinDollar:()=>import("@ds-mo/icons/svg/LocationPinDollar").then((o=>o.LocationPinDollar)),LocationPinStrikethrough:()=>import("@ds-mo/icons/svg/LocationPinStrikethrough").then((o=>o.LocationPinStrikethrough)),LockClosed:()=>import("@ds-mo/icons/svg/LockClosed").then((o=>o.LockClosed)),LockClosedFilled:()=>import("@ds-mo/icons/svg/LockClosedFilled").then((o=>o.LockClosedFilled)),LockOpen:()=>import("@ds-mo/icons/svg/LockOpen").then((o=>o.LockOpen)),Logout:()=>import("@ds-mo/icons/svg/Logout").then((o=>o.Logout)),MagnifyingGlass:()=>import("@ds-mo/icons/svg/MagnifyingGlass").then((o=>o.MagnifyingGlass)),MagnifyingGlassGraph:()=>import("@ds-mo/icons/svg/MagnifyingGlassGraph").then((o=>o.MagnifyingGlassGraph)),MagnifyingGlassZoomIn:()=>import("@ds-mo/icons/svg/MagnifyingGlassZoomIn").then((o=>o.MagnifyingGlassZoomIn)),MagnifyingGlassZoomOut:()=>import("@ds-mo/icons/svg/MagnifyingGlassZoomOut").then((o=>o.MagnifyingGlassZoomOut)),MailMessage:()=>import("@ds-mo/icons/svg/MailMessage").then((o=>o.MailMessage)),MapNavigation:()=>import("@ds-mo/icons/svg/MapNavigation").then((o=>o.MapNavigation)),MapPage:()=>import("@ds-mo/icons/svg/MapPage").then((o=>o.MapPage)),MapPin:()=>import("@ds-mo/icons/svg/MapPin").then((o=>o.MapPin)),MapStreet:()=>import("@ds-mo/icons/svg/MapStreet").then((o=>o.MapStreet)),Match:()=>import("@ds-mo/icons/svg/Match").then((o=>o.Match)),MessageBubble:()=>import("@ds-mo/icons/svg/MessageBubble").then((o=>o.MessageBubble)),MessageBubbleStack:()=>import("@ds-mo/icons/svg/MessageBubbleStack").then((o=>o.MessageBubbleStack)),Mic:()=>import("@ds-mo/icons/svg/Mic").then((o=>o.Mic)),MicStrikethrough:()=>import("@ds-mo/icons/svg/MicStrikethrough").then((o=>o.MicStrikethrough)),Minimize:()=>import("@ds-mo/icons/svg/Minimize").then((o=>o.Minimize)),Minus:()=>import("@ds-mo/icons/svg/Minus").then((o=>o.Minus)),MinusCircle:()=>import("@ds-mo/icons/svg/MinusCircle").then((o=>o.MinusCircle)),MinusCircleFilled:()=>import("@ds-mo/icons/svg/MinusCircleFilled").then((o=>o.MinusCircleFilled)),MinusOctagon:()=>import("@ds-mo/icons/svg/MinusOctagon").then((o=>o.MinusOctagon)),MinusSquare:()=>import("@ds-mo/icons/svg/MinusSquare").then((o=>o.MinusSquare)),MinusSquareFilled:()=>import("@ds-mo/icons/svg/MinusSquareFilled").then((o=>o.MinusSquareFilled)),Monitor:()=>import("@ds-mo/icons/svg/Monitor").then((o=>o.Monitor)),Notification:()=>import("@ds-mo/icons/svg/Notification").then((o=>o.Notification)),NumberTen:()=>import("@ds-mo/icons/svg/NumberTen").then((o=>o.NumberTen)),Odometer:()=>import("@ds-mo/icons/svg/Odometer").then((o=>o.Odometer)),PanelCollapse:()=>import("@ds-mo/icons/svg/PanelCollapse").then((o=>o.PanelCollapse)),PanelExpand:()=>import("@ds-mo/icons/svg/PanelExpand").then((o=>o.PanelExpand)),Paperclip:()=>import("@ds-mo/icons/svg/Paperclip").then((o=>o.Paperclip)),PaperplaneSend:()=>import("@ds-mo/icons/svg/PaperplaneSend").then((o=>o.PaperplaneSend)),Paragraph:()=>import("@ds-mo/icons/svg/Paragraph").then((o=>o.Paragraph)),ParagraphCheck:()=>import("@ds-mo/icons/svg/ParagraphCheck").then((o=>o.ParagraphCheck)),ParagraphPencil:()=>import("@ds-mo/icons/svg/ParagraphPencil").then((o=>o.ParagraphPencil)),PathArrow:()=>import("@ds-mo/icons/svg/PathArrow").then((o=>o.PathArrow)),PathDot:()=>import("@ds-mo/icons/svg/PathDot").then((o=>o.PathDot)),PathNodes:()=>import("@ds-mo/icons/svg/PathNodes").then((o=>o.PathNodes)),Pause:()=>import("@ds-mo/icons/svg/Pause").then((o=>o.Pause)),PauseFilled:()=>import("@ds-mo/icons/svg/PauseFilled").then((o=>o.PauseFilled)),Pencil:()=>import("@ds-mo/icons/svg/Pencil").then((o=>o.Pencil)),PencilSquare:()=>import("@ds-mo/icons/svg/PencilSquare").then((o=>o.PencilSquare)),PencilSquiggle:()=>import("@ds-mo/icons/svg/PencilSquiggle").then((o=>o.PencilSquiggle)),Person:()=>import("@ds-mo/icons/svg/Person").then((o=>o.Person)),PersonAt:()=>import("@ds-mo/icons/svg/PersonAt").then((o=>o.PersonAt)),PersonCircle:()=>import("@ds-mo/icons/svg/PersonCircle").then((o=>o.PersonCircle)),PersonConnect:()=>import("@ds-mo/icons/svg/PersonConnect").then((o=>o.PersonConnect)),PersonGear:()=>import("@ds-mo/icons/svg/PersonGear").then((o=>o.PersonGear)),PersonGroup:()=>import("@ds-mo/icons/svg/PersonGroup").then((o=>o.PersonGroup)),PersonGroupArrows:()=>import("@ds-mo/icons/svg/PersonGroupArrows").then((o=>o.PersonGroupArrows)),PersonGroupThree:()=>import("@ds-mo/icons/svg/PersonGroupThree").then((o=>o.PersonGroupThree)),PersonManager:()=>import("@ds-mo/icons/svg/PersonManager").then((o=>o.PersonManager)),PersonShield:()=>import("@ds-mo/icons/svg/PersonShield").then((o=>o.PersonShield)),PersonSquare:()=>import("@ds-mo/icons/svg/PersonSquare").then((o=>o.PersonSquare)),PersonStar:()=>import("@ds-mo/icons/svg/PersonStar").then((o=>o.PersonStar)),Phone:()=>import("@ds-mo/icons/svg/Phone").then((o=>o.Phone)),PhoneStrikethrough:()=>import("@ds-mo/icons/svg/PhoneStrikethrough").then((o=>o.PhoneStrikethrough)),PicmanFilled:()=>import("@ds-mo/icons/svg/PicmanFilled").then((o=>o.PicmanFilled)),Pin:()=>import("@ds-mo/icons/svg/Pin").then((o=>o.Pin)),PipBottomLeft:()=>import("@ds-mo/icons/svg/PipBottomLeft").then((o=>o.PipBottomLeft)),PipBottomRight:()=>import("@ds-mo/icons/svg/PipBottomRight").then((o=>o.PipBottomRight)),PipTopLeft:()=>import("@ds-mo/icons/svg/PipTopLeft").then((o=>o.PipTopLeft)),PipTopRight:()=>import("@ds-mo/icons/svg/PipTopRight").then((o=>o.PipTopRight)),Play:()=>import("@ds-mo/icons/svg/Play").then((o=>o.Play)),PlayCircle:()=>import("@ds-mo/icons/svg/PlayCircle").then((o=>o.PlayCircle)),PlayFilled:()=>import("@ds-mo/icons/svg/PlayFilled").then((o=>o.PlayFilled)),Plug:()=>import("@ds-mo/icons/svg/Plug").then((o=>o.Plug)),Plus:()=>import("@ds-mo/icons/svg/Plus").then((o=>o.Plus)),PlusCircle:()=>import("@ds-mo/icons/svg/PlusCircle").then((o=>o.PlusCircle)),PlusSquare:()=>import("@ds-mo/icons/svg/PlusSquare").then((o=>o.PlusSquare)),Preferences:()=>import("@ds-mo/icons/svg/Preferences").then((o=>o.Preferences)),Printer:()=>import("@ds-mo/icons/svg/Printer").then((o=>o.Printer)),PunchCard:()=>import("@ds-mo/icons/svg/PunchCard").then((o=>o.PunchCard)),Puzzle:()=>import("@ds-mo/icons/svg/Puzzle").then((o=>o.Puzzle)),PuzzleTwo:()=>import("@ds-mo/icons/svg/PuzzleTwo").then((o=>o.PuzzleTwo)),QuestionCircle:()=>import("@ds-mo/icons/svg/QuestionCircle").then((o=>o.QuestionCircle)),Redo:()=>import("@ds-mo/icons/svg/Redo").then((o=>o.Redo)),Refresh:()=>import("@ds-mo/icons/svg/Refresh").then((o=>o.Refresh)),Restore:()=>import("@ds-mo/icons/svg/Restore").then((o=>o.Restore)),RewardRibbon:()=>import("@ds-mo/icons/svg/RewardRibbon").then((o=>o.RewardRibbon)),Rewind:()=>import("@ds-mo/icons/svg/Rewind").then((o=>o.Rewind)),RewindSkip:()=>import("@ds-mo/icons/svg/RewindSkip").then((o=>o.RewindSkip)),RewindSkipFilled:()=>import("@ds-mo/icons/svg/RewindSkipFilled").then((o=>o.RewindSkipFilled)),RightCollapse:()=>import("@ds-mo/icons/svg/RightCollapse").then((o=>o.RightCollapse)),RightCollapseB:()=>import("@ds-mo/icons/svg/RightCollapseB").then((o=>o.RightCollapseB)),RightExpand:()=>import("@ds-mo/icons/svg/RightExpand").then((o=>o.RightExpand)),RightExpandB:()=>import("@ds-mo/icons/svg/RightExpandB").then((o=>o.RightExpandB)),Rotate:()=>import("@ds-mo/icons/svg/Rotate").then((o=>o.Rotate)),Satellite:()=>import("@ds-mo/icons/svg/Satellite").then((o=>o.Satellite)),Scan:()=>import("@ds-mo/icons/svg/Scan").then((o=>o.Scan)),Scissor:()=>import("@ds-mo/icons/svg/Scissor").then((o=>o.Scissor)),Scope:()=>import("@ds-mo/icons/svg/Scope").then((o=>o.Scope)),Seatbelt:()=>import("@ds-mo/icons/svg/Seatbelt").then((o=>o.Seatbelt)),SeatbeltBuckle:()=>import("@ds-mo/icons/svg/SeatbeltBuckle").then((o=>o.SeatbeltBuckle)),SectionList:()=>import("@ds-mo/icons/svg/SectionList").then((o=>o.SectionList)),Shapes:()=>import("@ds-mo/icons/svg/Shapes").then((o=>o.Shapes)),Share:()=>import("@ds-mo/icons/svg/Share").then((o=>o.Share)),ShareFilled:()=>import("@ds-mo/icons/svg/ShareFilled").then((o=>o.ShareFilled)),Shield:()=>import("@ds-mo/icons/svg/Shield").then((o=>o.Shield)),ShieldCheck:()=>import("@ds-mo/icons/svg/ShieldCheck").then((o=>o.ShieldCheck)),ShieldCheckmarkFilled:()=>import("@ds-mo/icons/svg/ShieldCheckmarkFilled").then((o=>o.ShieldCheckmarkFilled)),ShieldCircle:()=>import("@ds-mo/icons/svg/ShieldCircle").then((o=>o.ShieldCircle)),ShieldCircleFilled:()=>import("@ds-mo/icons/svg/ShieldCircleFilled").then((o=>o.ShieldCircleFilled)),ShieldCross:()=>import("@ds-mo/icons/svg/ShieldCross").then((o=>o.ShieldCross)),ShieldCrossFilled:()=>import("@ds-mo/icons/svg/ShieldCrossFilled").then((o=>o.ShieldCrossFilled)),ShieldFilled:()=>import("@ds-mo/icons/svg/ShieldFilled").then((o=>o.ShieldFilled)),ShieldLock:()=>import("@ds-mo/icons/svg/ShieldLock").then((o=>o.ShieldLock)),ShieldLockFilled:()=>import("@ds-mo/icons/svg/ShieldLockFilled").then((o=>o.ShieldLockFilled)),ShieldPerson:()=>import("@ds-mo/icons/svg/ShieldPerson").then((o=>o.ShieldPerson)),ShoppingBag:()=>import("@ds-mo/icons/svg/ShoppingBag").then((o=>o.ShoppingBag)),Snowflake:()=>import("@ds-mo/icons/svg/Snowflake").then((o=>o.Snowflake)),Speaker:()=>import("@ds-mo/icons/svg/Speaker").then((o=>o.Speaker)),SpeakerFilled:()=>import("@ds-mo/icons/svg/SpeakerFilled").then((o=>o.SpeakerFilled)),SpeakerPhone:()=>import("@ds-mo/icons/svg/SpeakerPhone").then((o=>o.SpeakerPhone)),SpeakerStrikethrough:()=>import("@ds-mo/icons/svg/SpeakerStrikethrough").then((o=>o.SpeakerStrikethrough)),SpeakerStrikethroughFilled:()=>import("@ds-mo/icons/svg/SpeakerStrikethroughFilled").then((o=>o.SpeakerStrikethroughFilled)),SpeedometerArrow:()=>import("@ds-mo/icons/svg/SpeedometerArrow").then((o=>o.SpeedometerArrow)),SpeedometerLeft:()=>import("@ds-mo/icons/svg/SpeedometerLeft").then((o=>o.SpeedometerLeft)),SpeedometerRight:()=>import("@ds-mo/icons/svg/SpeedometerRight").then((o=>o.SpeedometerRight)),SpikeCirclePercentage:()=>import("@ds-mo/icons/svg/SpikeCirclePercentage").then((o=>o.SpikeCirclePercentage)),SpikeCirclePercentageFilled:()=>import("@ds-mo/icons/svg/SpikeCirclePercentageFilled").then((o=>o.SpikeCirclePercentageFilled)),Square:()=>import("@ds-mo/icons/svg/Square").then((o=>o.Square)),SquareDottedMinus:()=>import("@ds-mo/icons/svg/SquareDottedMinus").then((o=>o.SquareDottedMinus)),SquareFilled:()=>import("@ds-mo/icons/svg/SquareFilled").then((o=>o.SquareFilled)),SquareGrid:()=>import("@ds-mo/icons/svg/SquareGrid").then((o=>o.SquareGrid)),Star:()=>import("@ds-mo/icons/svg/Star").then((o=>o.Star)),StarFilled:()=>import("@ds-mo/icons/svg/StarFilled").then((o=>o.StarFilled)),Stopwatch:()=>import("@ds-mo/icons/svg/Stopwatch").then((o=>o.Stopwatch)),Table:()=>import("@ds-mo/icons/svg/Table").then((o=>o.Table)),Tag:()=>import("@ds-mo/icons/svg/Tag").then((o=>o.Tag)),Target:()=>import("@ds-mo/icons/svg/Target").then((o=>o.Target)),TargetDollar:()=>import("@ds-mo/icons/svg/TargetDollar").then((o=>o.TargetDollar)),Text:()=>import("@ds-mo/icons/svg/Text").then((o=>o.Text)),ThemeDark:()=>import("@ds-mo/icons/svg/ThemeDark").then((o=>o.ThemeDark)),ThemeLight:()=>import("@ds-mo/icons/svg/ThemeLight").then((o=>o.ThemeLight)),ThumbsDown:()=>import("@ds-mo/icons/svg/ThumbsDown").then((o=>o.ThumbsDown)),ThumbsDownFilled:()=>import("@ds-mo/icons/svg/ThumbsDownFilled").then((o=>o.ThumbsDownFilled)),ThumbsUp:()=>import("@ds-mo/icons/svg/ThumbsUp").then((o=>o.ThumbsUp)),ThumbsUpFilled:()=>import("@ds-mo/icons/svg/ThumbsUpFilled").then((o=>o.ThumbsUpFilled)),TirePressure:()=>import("@ds-mo/icons/svg/TirePressure").then((o=>o.TirePressure)),Toggle:()=>import("@ds-mo/icons/svg/Toggle").then((o=>o.Toggle)),TrafficLight:()=>import("@ds-mo/icons/svg/TrafficLight").then((o=>o.TrafficLight)),Trash:()=>import("@ds-mo/icons/svg/Trash").then((o=>o.Trash)),Triangle:()=>import("@ds-mo/icons/svg/Triangle").then((o=>o.Triangle)),TriangleFilled:()=>import("@ds-mo/icons/svg/TriangleFilled").then((o=>o.TriangleFilled)),Trophy:()=>import("@ds-mo/icons/svg/Trophy").then((o=>o.Trophy)),TurnSignal:()=>import("@ds-mo/icons/svg/TurnSignal").then((o=>o.TurnSignal)),TurnSignalFilled:()=>import("@ds-mo/icons/svg/TurnSignalFilled").then((o=>o.TurnSignalFilled)),TurnSignalLeft:()=>import("@ds-mo/icons/svg/TurnSignalLeft").then((o=>o.TurnSignalLeft)),TurnSignalRight:()=>import("@ds-mo/icons/svg/TurnSignalRight").then((o=>o.TurnSignalRight)),Undo:()=>import("@ds-mo/icons/svg/Undo").then((o=>o.Undo)),Upgrade:()=>import("@ds-mo/icons/svg/Upgrade").then((o=>o.Upgrade)),Upload:()=>import("@ds-mo/icons/svg/Upload").then((o=>o.Upload)),VehicleTrailer:()=>import("@ds-mo/icons/svg/VehicleTrailer").then((o=>o.VehicleTrailer)),VehicleTruck:()=>import("@ds-mo/icons/svg/VehicleTruck").then((o=>o.VehicleTruck)),VehicleTruckMagnifyingGlass:()=>import("@ds-mo/icons/svg/VehicleTruckMagnifyingGlass").then((o=>o.VehicleTruckMagnifyingGlass)),Video:()=>import("@ds-mo/icons/svg/Video").then((o=>o.Video)),ViewMenu:()=>import("@ds-mo/icons/svg/ViewMenu").then((o=>o.ViewMenu)),WandSparkle:()=>import("@ds-mo/icons/svg/WandSparkle").then((o=>o.WandSparkle)),Waveform:()=>import("@ds-mo/icons/svg/Waveform").then((o=>o.Waveform)),Webhooks:()=>import("@ds-mo/icons/svg/Webhooks").then((o=>o.Webhooks)),Whistle:()=>import("@ds-mo/icons/svg/Whistle").then((o=>o.Whistle)),WifiHorizontal:()=>import("@ds-mo/icons/svg/WifiHorizontal").then((o=>o.WifiHorizontal)),WifiTower:()=>import("@ds-mo/icons/svg/WifiTower").then((o=>o.WifiTower)),WifiVertical:()=>import("@ds-mo/icons/svg/WifiVertical").then((o=>o.WifiVertical)),WifiVerticalStrikethrough:()=>import("@ds-mo/icons/svg/WifiVerticalStrikethrough").then((o=>o.WifiVerticalStrikethrough)),Workflow:()=>import("@ds-mo/icons/svg/Workflow").then((o=>o.Workflow)),Wrench:()=>import("@ds-mo/icons/svg/Wrench").then((o=>o.Wrench))};const c={MapEntityAsset:()=>import("@ds-mo/icons/svg/map/MapEntityAsset").then((o=>o.MapEntityAsset)),MapEntityPerson:()=>import("@ds-mo/icons/svg/map/MapEntityPerson").then((o=>o.MapEntityPerson)),MapEntityTravelGroup:()=>import("@ds-mo/icons/svg/map/MapEntityTravelGroup").then((o=>o.MapEntityTravelGroup)),MapEntityVehicle:()=>import("@ds-mo/icons/svg/map/MapEntityVehicle").then((o=>o.MapEntityVehicle)),MapExclamation:()=>import("@ds-mo/icons/svg/map/MapExclamation").then((o=>o.MapExclamation)),MapGatewayReconnect:()=>import("@ds-mo/icons/svg/map/MapGatewayReconnect").then((o=>o.MapGatewayReconnect)),MapGatewayStrikethrough:()=>import("@ds-mo/icons/svg/map/MapGatewayStrikethrough").then((o=>o.MapGatewayStrikethrough)),MapGeofence:()=>import("@ds-mo/icons/svg/map/MapGeofence").then((o=>o.MapGeofence)),MapKey:()=>import("@ds-mo/icons/svg/map/MapKey").then((o=>o.MapKey)),MapLightning:()=>import("@ds-mo/icons/svg/map/MapLightning").then((o=>o.MapLightning)),MapLockClosed:()=>import("@ds-mo/icons/svg/map/MapLockClosed").then((o=>o.MapLockClosed)),MapPencil:()=>import("@ds-mo/icons/svg/map/MapPencil").then((o=>o.MapPencil)),MapPlus:()=>import("@ds-mo/icons/svg/map/MapPlus").then((o=>o.MapPlus)),MapRewind:()=>import("@ds-mo/icons/svg/map/MapRewind").then((o=>o.MapRewind)),MapShieldCircle:()=>import("@ds-mo/icons/svg/map/MapShieldCircle").then((o=>o.MapShieldCircle)),MapTarget:()=>import("@ds-mo/icons/svg/map/MapTarget").then((o=>o.MapTarget))};const a=Symbol.for("ds-mo.icon-svg-cache");function l(o,i){return`${i}:${o}`}function m(o,i){return Object.prototype.hasOwnProperty.call(o,i)}function d(o){if(m(n,o))return"flag";if(m(c,o))return"map";return"system"}function g(){const o=globalThis;return o[a]??(o[a]=new Map)}function u(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o["default"]:o}var p={};var v;function f(){if(v)return p;v=1;(function(o){(function(o){o.parser=function(o,i){return new s(o,i)};o.SAXParser=s;o.SAXStream=m;o.createStream=a;o.MAX_BUFFER_LENGTH=64*1024;var i=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];o.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function s(i,e){if(!(this instanceof s)){return new s(i,e)}var n=this;r(n);n.q=n.c="";n.bufferCheckPosition=o.MAX_BUFFER_LENGTH;n.encoding=null;n.opt=e||{};n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags;n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase";n.opt.maxEntityCount=n.opt.maxEntityCount||512;n.opt.maxEntityDepth=n.opt.maxEntityDepth||4;n.entityCount=n.entityDepth=0;n.tags=[];n.closed=n.closedRoot=n.sawRoot=false;n.tag=n.error=null;n.strict=!!i;n.noscript=!!(i||n.opt.noscript);n.state=w.BEGIN;n.strictEntities=n.opt.strictEntities;n.ENTITIES=n.strictEntities?Object.create(o.XML_ENTITIES):Object.create(o.ENTITIES);n.attribList=[];if(n.opt.xmlns){n.ns=Object.create(v)}if(n.opt.unquotedAttributeValues===undefined){n.opt.unquotedAttributeValues=!i}n.trackPosition=n.opt.position!==false;if(n.trackPosition){n.position=n.line=n.column=0}T(n,"onready")}if(!Object.create){Object.create=function(o){function i(){}i.prototype=o;var s=new i;return s}}if(!Object.keys){Object.keys=function(o){var i=[];for(var s in o)if(o.hasOwnProperty(s))i.push(s);return i}}function e(s){var e=Math.max(o.MAX_BUFFER_LENGTH,10);var r=0;for(var n=0,t=i.length;n<t;n++){var c=s[i[n]].length;if(c>e){switch(i[n]){case"textNode":L(s);break;case"cdata":B(s,"oncdata",s.cdata);s.cdata="";break;case"script":B(s,"onscript",s.script);s.script="";break;default:I(s,"Max buffer length exceeded: "+i[n])}}r=Math.max(r,c)}var a=o.MAX_BUFFER_LENGTH-r;s.bufferCheckPosition=a+s.position}function r(o){for(var s=0,e=i.length;s<e;s++){o[i[s]]=""}}function n(o){L(o);if(o.cdata!==""){B(o,"oncdata",o.cdata);o.cdata=""}if(o.script!==""){B(o,"onscript",o.script);o.script=""}}s.prototype={end:function(){R(this)},write:K,resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){n(this)}};var t;try{t=undefined.Stream}catch(o){t=function(){}}if(!t)t=function(){};var c=o.EVENTS.filter((function(o){return o!=="error"&&o!=="end"}));function a(o,i){return new m(o,i)}function l(o,i){if(o.length>=2){if(o[0]===255&&o[1]===254){return"utf-16le"}if(o[0]===254&&o[1]===255){return"utf-16be"}}if(o.length>=3&&o[0]===239&&o[1]===187&&o[2]===191){return"utf8"}if(o.length>=4){if(o[0]===60&&o[1]===0&&o[2]===63&&o[3]===0){return"utf-16le"}if(o[0]===0&&o[1]===60&&o[2]===0&&o[3]===63){return"utf-16be"}return"utf8"}return i?"utf8":null}function m(o,i){if(!(this instanceof m)){return new m(o,i)}t.apply(this);this._parser=new s(o,i);this.writable=true;this.readable=true;var e=this;this._parser.onend=function(){e.emit("end")};this._parser.onerror=function(o){e.emit("error",o);e._parser.error=null};this._decoder=null;this._decoderBuffer=null;c.forEach((function(o){Object.defineProperty(e,"on"+o,{get:function(){return e._parser["on"+o]},set:function(i){if(!i){e.removeAllListeners(o);e._parser["on"+o]=i;return i}e.on(o,i)},enumerable:true,configurable:false})}))}m.prototype=Object.create(t.prototype,{constructor:{value:m}});m.prototype._decodeBuffer=function(o,i){if(this._decoderBuffer){o=Buffer.concat([this._decoderBuffer,o]);this._decoderBuffer=null}if(!this._decoder){var s=l(o,i);if(!s){this._decoderBuffer=o;return""}this._parser.encoding=s;this._decoder=new TextDecoder(s)}return this._decoder.decode(o,{stream:!i})};m.prototype.write=function(o){if(typeof Buffer==="function"&&typeof Buffer.isBuffer==="function"&&Buffer.isBuffer(o)){o=this._decodeBuffer(o,false)}else if(this._decoderBuffer){var i=this._decodeBuffer(Buffer.alloc(0),true);if(i){this._parser.write(i);this.emit("data",i)}}this._parser.write(o.toString());this.emit("data",o);return true};m.prototype.end=function(o){if(o&&o.length){this.write(o)}if(this._decoderBuffer){var i=this._decodeBuffer(Buffer.alloc(0),true);if(i){this._parser.write(i);this.emit("data",i)}}else if(this._decoder){var s=this._decoder.decode();if(s){this._parser.write(s);this.emit("data",s)}}this._parser.end();return true};m.prototype.on=function(o,i){var s=this;if(!s._parser["on"+o]&&c.indexOf(o)!==-1){s._parser["on"+o]=function(){var i=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);i.splice(0,0,o);s.emit.apply(s,i)}}return t.prototype.on.call(s,o,i)};var d=/^\[CDATA\[$/i;var g=/^DOCTYPE$/i;var u="http://www.w3.org/XML/1998/namespace";var p="http://www.w3.org/2000/xmlns/";var v={xml:u,xmlns:p};var f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;var h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;var C=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;var F=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function S(o){return o===" "||o==="\n"||o==="\r"||o==="\t"}function b(o){return o==='"'||o==="'"}function y(o){return o===">"||S(o)}function D(o,i){return o.test(i)}function k(o,i){return!D(o,i)}var w=0;o.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++};o.XML_ENTITIES=Object.assign(Object.create(null),{amp:"&",gt:">",lt:"<",quot:'"',apos:"'"});o.ENTITIES=Object.assign(Object.create(null),{amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830});Object.keys(o.ENTITIES).forEach((function(i){var s=o.ENTITIES[i];var e=typeof s==="number"?String.fromCharCode(s):s;o.ENTITIES[i]=e}));for(var P in o.STATE){o.STATE[o.STATE[P]]=P}w=o.STATE;function T(o,i,s){o[i]&&o[i](s)}function E(o){var i=o&&o.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);return i?i[2]:null}function A(o){if(!o){return null}return o.toLowerCase().replace(/[^a-z0-9]/g,"")}function M(o,i){const s=A(o);const e=A(i);if(!s||!e){return true}if(e==="utf16"){return s==="utf16le"||s==="utf16be"}return s===e}function x(o,i){if(!o.strict||!o.encoding||!i||i.name!=="xml"){return}var s=E(i.body);if(s&&!M(o.encoding,s)){O(o,"XML declaration encoding "+s+" does not match detected stream encoding "+o.encoding.toUpperCase())}}function B(o,i,s){if(o.textNode)L(o);T(o,i,s)}function L(o){o.textNode=G(o.opt,o.textNode);if(o.textNode)T(o,"ontext",o.textNode);o.textNode=""}function G(o,i){if(o.trim)i=i.trim();if(o.normalize)i=i.replace(/\s+/g," ");return i}function I(o,i){L(o);if(o.trackPosition){i+="\nLine: "+o.line+"\nColumn: "+o.column+"\nChar: "+o.c}i=new Error(i);o.error=i;T(o,"onerror",i);return o}function R(o){if(o.sawRoot&&!o.closedRoot)O(o,"Unclosed root tag");if(o.state!==w.BEGIN&&o.state!==w.BEGIN_WHITESPACE&&o.state!==w.TEXT){I(o,"Unexpected end")}L(o);o.c="";o.closed=true;T(o,"onend");s.call(o,o.strict,o.opt);return o}function O(o,i){if(typeof o!=="object"||!(o instanceof s)){throw new Error("bad call to strictFail")}if(o.strict){I(o,i)}}function _(o){if(!o.strict)o.tagName=o.tagName[o.looseCase]();var i=o.tags[o.tags.length-1]||o;var s=o.tag={name:o.tagName,attributes:{}};if(o.opt.xmlns){s.ns=i.ns}o.attribList.length=0;B(o,"onopentagstart",s)}function U(o,i){var s=o.indexOf(":");var e=s<0?["",o]:o.split(":");var r=e[0];var n=e[1];if(i&&o==="xmlns"){r="xmlns";n=""}return{prefix:r,local:n}}function N(o){if(!o.strict){o.attribName=o.attribName[o.looseCase]()}if(o.attribList.indexOf(o.attribName)!==-1||o.tag.attributes.hasOwnProperty(o.attribName)){o.attribName=o.attribValue="";return}if(o.opt.xmlns){var i=U(o.attribName,true);var s=i.prefix;var e=i.local;if(s==="xmlns"){if(e==="xml"&&o.attribValue!==u){O(o,"xml: prefix must be bound to "+u+"\n"+"Actual: "+o.attribValue)}else if(e==="xmlns"&&o.attribValue!==p){O(o,"xmlns: prefix must be bound to "+p+"\n"+"Actual: "+o.attribValue)}else{var r=o.tag;var n=o.tags[o.tags.length-1]||o;if(r.ns===n.ns){r.ns=Object.create(n.ns)}r.ns[e]=o.attribValue}}o.attribList.push([o.attribName,o.attribValue])}else{o.tag.attributes[o.attribName]=o.attribValue;B(o,"onattribute",{name:o.attribName,value:o.attribValue})}o.attribName=o.attribValue=""}function z(o,i){if(o.opt.xmlns){var s=o.tag;var e=U(o.tagName);s.prefix=e.prefix;s.local=e.local;s.uri=s.ns[e.prefix]||"";if(s.prefix&&!s.uri){O(o,"Unbound namespace prefix: "+JSON.stringify(o.tagName));s.uri=e.prefix}var r=o.tags[o.tags.length-1]||o;if(s.ns&&r.ns!==s.ns){Object.keys(s.ns).forEach((function(i){B(o,"onopennamespace",{prefix:i,uri:s.ns[i]})}))}for(var n=0,t=o.attribList.length;n<t;n++){var c=o.attribList[n];var a=c[0];var l=c[1];var m=U(a,true);var d=m.prefix;var g=m.local;var u=d===""?"":s.ns[d]||"";var p={name:a,value:l,prefix:d,local:g,uri:u};if(d&&d!=="xmlns"&&!u){O(o,"Unbound namespace prefix: "+JSON.stringify(d));p.uri=d}o.tag.attributes[a]=p;B(o,"onattribute",p)}o.attribList.length=0}o.tag.isSelfClosing=!!i;o.sawRoot=true;o.tags.push(o.tag);B(o,"onopentag",o.tag);if(!i){if(!o.noscript&&o.tagName.toLowerCase()==="script"){o.state=w.SCRIPT}else{o.state=w.TEXT}o.tag=null;o.tagName=""}o.attribName=o.attribValue="";o.attribList.length=0}function q(o){if(!o.tagName){O(o,"Weird empty close tag.");o.textNode+="</>";o.state=w.TEXT;return}if(o.script){if(o.tagName!=="script"){o.script+="</"+o.tagName+">";o.tagName="";o.state=w.SCRIPT;return}B(o,"onscript",o.script);o.script=""}var i=o.tags.length;var s=o.tagName;if(!o.strict){s=s[o.looseCase]()}var e=s;while(i--){var r=o.tags[i];if(r.name!==e){O(o,"Unexpected close tag")}else{break}}if(i<0){O(o,"Unmatched closing tag: "+o.tagName);o.textNode+="</"+o.tagName+">";o.state=w.TEXT;return}o.tagName=s;var n=o.tags.length;while(n-- >i){var t=o.tag=o.tags.pop();o.tagName=o.tag.name;B(o,"onclosetag",o.tagName);var c={};for(var a in t.ns){c[a]=t.ns[a]}var l=o.tags[o.tags.length-1]||o;if(o.opt.xmlns&&t.ns!==l.ns){Object.keys(t.ns).forEach((function(i){var s=t.ns[i];B(o,"onclosenamespace",{prefix:i,uri:s})}))}}if(i===0)o.closedRoot=true;o.tagName=o.attribValue=o.attribName="";o.attribList.length=0;o.state=w.TEXT}function V(o){var i=o.entity;var s=i.toLowerCase();var e;var r="";if(o.ENTITIES[i]){return o.ENTITIES[i]}if(o.ENTITIES[s]){return o.ENTITIES[s]}i=s;if(i.charAt(0)==="#"){if(i.charAt(1)==="x"){i=i.slice(2);e=parseInt(i,16);r=e.toString(16)}else{i=i.slice(1);e=parseInt(i,10);r=e.toString(10)}}i=i.replace(/^0+/,"");if(isNaN(e)||r.toLowerCase()!==i||e<0||e>1114111||!W(e)){O(o,"Invalid character entity");return"&"+o.entity+";"}return String.fromCodePoint(e)}function W(o){return o===9||o===10||o===13||o>=32&&o<=55295||o>=57344&&o<=65533||o>=65536&&o<=1114111}function j(o,i){if(i==="<"){o.state=w.OPEN_WAKA;o.startTagPosition=o.position}else if(!S(i)){O(o,"Non-whitespace before first tag.");o.textNode=i;o.state=w.TEXT}}function H(o,i){var s="";if(i<o.length){s=o.charAt(i)}return s}function K(i){var s=this;if(this.error){throw this.error}if(s.closed){return I(s,"Cannot write after close. Assign an onready handler.")}if(i===null){return R(s)}if(typeof i==="object"){i=i.toString()}var r=0;var n="";while(true){n=H(i,r++);s.c=n;if(!n){break}if(s.trackPosition){s.position++;if(n==="\n"){s.line++;s.column=0}else{s.column++}}switch(s.state){case w.BEGIN:s.state=w.BEGIN_WHITESPACE;if(n==="\ufeff"){continue}j(s,n);continue;case w.BEGIN_WHITESPACE:j(s,n);continue;case w.TEXT:if(s.sawRoot&&!s.closedRoot){var t=r-1;while(n&&n!=="<"&&n!=="&"){n=H(i,r++);if(n&&s.trackPosition){s.position++;if(n==="\n"){s.line++;s.column=0}else{s.column++}}}s.textNode+=i.substring(t,r-1)}if(n==="<"&&!(s.sawRoot&&s.closedRoot&&!s.strict)){s.state=w.OPEN_WAKA;s.startTagPosition=s.position}else{if(!S(n)&&(!s.sawRoot||s.closedRoot)){O(s,"Text data outside of root node.")}if(n==="&"){s.state=w.TEXT_ENTITY}else{s.textNode+=n}}continue;case w.SCRIPT:if(n==="<"){s.state=w.SCRIPT_ENDING}else{s.script+=n}continue;case w.SCRIPT_ENDING:if(n==="/"){s.state=w.CLOSE_TAG}else{s.script+="<"+n;s.state=w.SCRIPT}continue;case w.OPEN_WAKA:if(n==="!"){s.state=w.SGML_DECL;s.sgmlDecl=""}else if(S(n));else if(D(f,n)){s.state=w.OPEN_TAG;s.tagName=n}else if(n==="/"){s.state=w.CLOSE_TAG;s.tagName=""}else if(n==="?"){s.state=w.PROC_INST;s.procInstName=s.procInstBody=""}else{O(s,"Unencoded <");if(s.startTagPosition+1<s.position){var c=s.position-s.startTagPosition;n=new Array(c).join(" ")+n}s.textNode+="<"+n;s.state=w.TEXT}continue;case w.SGML_DECL:if(s.sgmlDecl+n==="--"){s.state=w.COMMENT;s.comment="";s.sgmlDecl="";continue}if(s.doctype&&s.doctype!==true&&s.sgmlDecl){s.state=w.DOCTYPE_DTD;s.doctype+="<!"+s.sgmlDecl+n;s.sgmlDecl=""}else if(d.test(s.sgmlDecl+n)){B(s,"onopencdata");s.state=w.CDATA;s.sgmlDecl="";s.cdata=""}else if(g.test(s.sgmlDecl+n)){s.state=w.DOCTYPE;if(s.doctype||s.sawRoot){O(s,"Inappropriately located doctype declaration")}s.doctype="";s.sgmlDecl=""}else if(n===">"){B(s,"onsgmldeclaration",s.sgmlDecl);s.sgmlDecl="";s.state=w.TEXT}else if(b(n)){s.state=w.SGML_DECL_QUOTED;s.sgmlDecl+=n}else{s.sgmlDecl+=n}continue;case w.SGML_DECL_QUOTED:if(n===s.q){s.state=w.SGML_DECL;s.q=""}s.sgmlDecl+=n;continue;case w.DOCTYPE:if(n===">"){s.state=w.TEXT;B(s,"ondoctype",s.doctype);s.doctype=true}else{s.doctype+=n;if(n==="["){s.state=w.DOCTYPE_DTD}else if(b(n)){s.state=w.DOCTYPE_QUOTED;s.q=n}}continue;case w.DOCTYPE_QUOTED:s.doctype+=n;if(n===s.q){s.q="";s.state=w.DOCTYPE}continue;case w.DOCTYPE_DTD:if(n==="]"){s.doctype+=n;s.state=w.DOCTYPE}else if(n==="<"){s.state=w.OPEN_WAKA;s.startTagPosition=s.position}else if(b(n)){s.doctype+=n;s.state=w.DOCTYPE_DTD_QUOTED;s.q=n}else{s.doctype+=n}continue;case w.DOCTYPE_DTD_QUOTED:s.doctype+=n;if(n===s.q){s.state=w.DOCTYPE_DTD;s.q=""}continue;case w.COMMENT:if(n==="-"){s.state=w.COMMENT_ENDING}else{s.comment+=n}continue;case w.COMMENT_ENDING:if(n==="-"){s.state=w.COMMENT_ENDED;s.comment=G(s.opt,s.comment);if(s.comment){B(s,"oncomment",s.comment)}s.comment=""}else{s.comment+="-"+n;s.state=w.COMMENT}continue;case w.COMMENT_ENDED:if(n!==">"){O(s,"Malformed comment");s.comment+="--"+n;s.state=w.COMMENT}else if(s.doctype&&s.doctype!==true){s.state=w.DOCTYPE_DTD}else{s.state=w.TEXT}continue;case w.CDATA:var t=r-1;while(n&&n!=="]"){n=H(i,r++);if(n&&s.trackPosition){s.position++;if(n==="\n"){s.line++;s.column=0}else{s.column++}}}s.cdata+=i.substring(t,r-1);if(n==="]"){s.state=w.CDATA_ENDING}continue;case w.CDATA_ENDING:if(n==="]"){s.state=w.CDATA_ENDING_2}else{s.cdata+="]"+n;s.state=w.CDATA}continue;case w.CDATA_ENDING_2:if(n===">"){if(s.cdata){B(s,"oncdata",s.cdata)}B(s,"onclosecdata");s.cdata="";s.state=w.TEXT}else if(n==="]"){s.cdata+="]"}else{s.cdata+="]]"+n;s.state=w.CDATA}continue;case w.PROC_INST:if(n==="?"){s.state=w.PROC_INST_ENDING}else if(S(n)){s.state=w.PROC_INST_BODY}else{s.procInstName+=n}continue;case w.PROC_INST_BODY:if(!s.procInstBody&&S(n)){continue}else if(n==="?"){s.state=w.PROC_INST_ENDING}else{s.procInstBody+=n}continue;case w.PROC_INST_ENDING:if(n===">"){const o={name:s.procInstName,body:s.procInstBody};x(s,o);B(s,"onprocessinginstruction",o);s.procInstName=s.procInstBody="";s.state=w.TEXT}else{s.procInstBody+="?"+n;s.state=w.PROC_INST_BODY}continue;case w.OPEN_TAG:if(D(h,n)){s.tagName+=n}else{_(s);if(n===">"){z(s)}else if(n==="/"){s.state=w.OPEN_TAG_SLASH}else{if(!S(n)){O(s,"Invalid character in tag name")}s.state=w.ATTRIB}}continue;case w.OPEN_TAG_SLASH:if(n===">"){z(s,true);q(s)}else{O(s,"Forward-slash in opening tag not followed by >");s.state=w.ATTRIB}continue;case w.ATTRIB:if(S(n)){continue}else if(n===">"){z(s)}else if(n==="/"){s.state=w.OPEN_TAG_SLASH}else if(D(f,n)){s.attribName=n;s.attribValue="";s.state=w.ATTRIB_NAME}else{O(s,"Invalid attribute name")}continue;case w.ATTRIB_NAME:if(n==="="){s.state=w.ATTRIB_VALUE}else if(n===">"){O(s,"Attribute without value");s.attribValue=s.attribName;N(s);z(s)}else if(S(n)){s.state=w.ATTRIB_NAME_SAW_WHITE}else if(D(h,n)){s.attribName+=n}else{O(s,"Invalid attribute name")}continue;case w.ATTRIB_NAME_SAW_WHITE:if(n==="="){s.state=w.ATTRIB_VALUE}else if(S(n)){continue}else{O(s,"Attribute without value");s.tag.attributes[s.attribName]="";s.attribValue="";B(s,"onattribute",{name:s.attribName,value:""});s.attribName="";if(n===">"){z(s)}else if(D(f,n)){s.attribName=n;s.state=w.ATTRIB_NAME}else{O(s,"Invalid attribute name");s.state=w.ATTRIB}}continue;case w.ATTRIB_VALUE:if(S(n)){continue}else if(b(n)){s.q=n;s.state=w.ATTRIB_VALUE_QUOTED}else{if(!s.opt.unquotedAttributeValues){I(s,"Unquoted attribute value")}s.state=w.ATTRIB_VALUE_UNQUOTED;s.attribValue=n}continue;case w.ATTRIB_VALUE_QUOTED:if(n!==s.q){if(n==="&"){s.state=w.ATTRIB_VALUE_ENTITY_Q}else{s.attribValue+=n}continue}N(s);s.q="";s.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:if(S(n)){s.state=w.ATTRIB}else if(n===">"){z(s)}else if(n==="/"){s.state=w.OPEN_TAG_SLASH}else if(D(f,n)){O(s,"No whitespace between attributes");s.attribName=n;s.attribValue="";s.state=w.ATTRIB_NAME}else{O(s,"Invalid attribute name")}continue;case w.ATTRIB_VALUE_UNQUOTED:if(!y(n)){if(n==="&"){s.state=w.ATTRIB_VALUE_ENTITY_U}else{s.attribValue+=n}continue}N(s);if(n===">"){z(s)}else{s.state=w.ATTRIB}continue;case w.CLOSE_TAG:if(!s.tagName){if(S(n)){continue}else if(k(f,n)){if(s.script){s.script+="</"+n;s.state=w.SCRIPT}else{O(s,"Invalid tagname in closing tag.")}}else{s.tagName=n}}else if(n===">"){q(s)}else if(D(h,n)){s.tagName+=n}else if(s.script){s.script+="</"+s.tagName+n;s.tagName="";s.state=w.SCRIPT}else{if(!S(n)){O(s,"Invalid tagname in closing tag")}s.state=w.CLOSE_TAG_SAW_WHITE}continue;case w.CLOSE_TAG_SAW_WHITE:if(S(n)){continue}if(n===">"){q(s)}else{O(s,"Invalid characters in closing tag")}continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:var a;var l;switch(s.state){case w.TEXT_ENTITY:a=w.TEXT;l="textNode";break;case w.ATTRIB_VALUE_ENTITY_Q:a=w.ATTRIB_VALUE_QUOTED;l="attribValue";break;case w.ATTRIB_VALUE_ENTITY_U:a=w.ATTRIB_VALUE_UNQUOTED;l="attribValue";break}if(n===";"){var m=V(s);if(s.opt.unparsedEntities&&!Object.values(o.XML_ENTITIES).includes(m)){if((s.entityCount+=1)>s.opt.maxEntityCount){I(s,"Parsed entity count exceeds max entity count")}if((s.entityDepth+=1)>s.opt.maxEntityDepth){I(s,"Parsed entity depth exceeds max entity depth")}s.entity="";s.state=a;s.write(m);s.entityDepth-=1}else{s[l]+=m;s.entity="";s.state=a}}else if(D(s.entity.length?F:C,n)){s.entity+=n}else{O(s,"Invalid character in entity name");s[l]+="&"+s.entity+n;s.entity="";s.state=a}continue;default:{throw new Error(s,"Unknown state: "+s.state)}}}if(s.position>=s.bufferCheckPosition){e(s)}return s}
2
+ /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var o=String.fromCharCode;var i=Math.floor;var s=function(){var s=16384;var e=[];var r;var n;var t=-1;var c=arguments.length;if(!c){return""}var a="";while(++t<c){var l=Number(arguments[t]);if(!isFinite(l)||l<0||l>1114111||i(l)!==l){throw RangeError("Invalid code point: "+l)}if(l<=65535){e.push(l)}else{l-=65536;r=(l>>10)+55296;n=l%1024+56320;e.push(r,n)}if(t+1===c||e.length>s){a+=o.apply(null,e);e.length=0}}return a};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:s,configurable:true,writable:true})}else{String.fromCodePoint=s}})()}})(o)})(p);return p}var h=f();var C=u(h);const F="http://www.w3.org/2000/svg";const S="http://www.w3.org/1999/xlink";const b=/^[A-Za-z_][\w.-]*$/;const y=/^url\(\s*(['"]?)#([A-Za-z_][\w.-]*)\1\s*\)$/;const D=/^(?:none|currentColor|transparent|[a-z]+|#[\da-f]{3,8}|(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([-+.\d\s,%/]+\)|color\((?:display-p3|srgb|srgb-linear|a98-rgb|prophoto-rgb|rec2020|xyz|xyz-d50|xyz-d65)\s+[-+.\d\s%/]+\))$/i;const k=new Set(["svg","g","defs","path","rect","circle","ellipse","line","polyline","polygon","linearGradient","radialGradient","stop","clipPath","mask","use","title","desc"]);const w=new Set(["fill","stroke","color","stop-color"]);const P=new Set([...w,"opacity","fill-opacity","stroke-opacity","stop-opacity","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-dashoffset","vector-effect"]);const T=new Set([...P,"id","style","xmlns","xmlns:xlink","href","xlink:href","viewBox","preserveAspectRatio","transform","x","y","x1","y1","x2","y2","cx","cy","r","rx","ry","width","height","d","points","pathLength","gradientUnits","gradientTransform","spreadMethod","offset","fx","fy","fr","clipPathUnits","maskUnits","maskContentUnits","clip-path","mask"]);function E(o){return o.match(y)?.[2]}function A(o,i){if(w.has(o))return D.test(i)||!!E(i);return/^[\w\s.,%+-]+$/.test(i)}function M(o){const i=[];for(const s of o.split(";")){if(!s.trim())continue;const o=s.indexOf(":");const e=s.slice(0,o).trim();const r=s.slice(o+1).trim();if(o<0||!P.has(e)||!A(e,r))return null;i.push([e,r])}return i}function x(o){if(typeof o!=="string"||o.length>131072)return null;const i=[];const s=new Map;const e=new Map;let r;let n=0;function t(){throw new Error("Unsupported icon SVG")}const c={xmlns:true,strictEntities:true,position:false};const a=C.parser(true,c);const l=new Set;a.onopentagstart=()=>l.clear();a.onattribute=o=>{if(l.has(o.name))t();l.add(o.name)};a.onerror=t;a.ondoctype=t;a.onprocessinginstruction=t;a.onsgmldeclaration=t;a.onopencdata=t;a.onopentag=o=>{const c=o;if(++n>1024||i.length>=32||!k.has(c.name)||c.prefix||c.uri&&c.uri!==F)t();if(!i.length&&(r||c.name!=="svg"))t();const a={name:c.name,attributes:Object.create(null),styles:[],children:[],text:""};const l=[];e.set(a,l);for(const{name:o,value:i}of Object.values(c.attributes)){if(!T.has(o))t();const e=i.trim();if(o==="xmlns"){if(i!==F)t()}else if(o==="xmlns:xlink"){if(i!==S)t()}else if(o==="id"){if(!b.test(i)||s.has(i))t();s.set(i,a)}else if(o==="style"){const o=M(i);if(!o)t();a.styles=o;for(const[,o]of a.styles){const i=E(o);if(i)l.push(i)}}else if(o==="href"||o==="xlink:href"){if(!["use","linearGradient","radialGradient"].includes(c.name)||!e.startsWith("#")||!b.test(e.slice(1)))t();l.push(e.slice(1))}else if(o==="clip-path"||o==="mask"){if(e!=="none"&&!E(e))t();const o=E(e);if(o)l.push(o)}else if(P.has(o)){if(!A(o,e))t();const i=E(e);if(i)l.push(i)}else if(!/^[\w\s.,%()+-]*$/.test(i))t();a.attributes[o]=e}if(i.length)i[i.length-1].children.push(a);else r=a;i.push(a)};a.onclosetag=()=>{i.pop()};a.ontext=o=>{const s=i[i.length-1];if(s&&(s.name==="title"||s.name==="desc"))s.text+=o;else if(o.trim())t()};try{a.write(o).close();if(!r||i.length)return null;let n=0;const c=new Set;const l=(o,i)=>{if(++n>4096||i>64||c.has(o))t();c.add(o);for(const s of o.children)l(s,i+1);for(const r of e.get(o)??[]){const o=s.get(r);if(!o)t();l(o,i+1)}c.delete(o)};l(r,0);return r}catch{return null}}const B=Symbol.for("ds-mo.icon-svg-sequence");function L(o,i){const s=i??(typeof document==="undefined"?undefined:document);if(!s)return null;const e=x(o);if(!e)return null;const r=globalThis;const n="ds-icon-"+(r[B]=(r[B]??0)+1)+"-";const t=o=>{const i=E(o);return i?"url(#"+n+i+")":o};const c=o=>{const i=s.createElementNS(F,o.name);for(const[s,e]of Object.entries(o.attributes)){if(s==="style"||s.startsWith("xmlns"))continue;if(s==="id")i.id=n+e;else if(s==="href"||s==="xlink:href"){i.setAttributeNS(s==="xlink:href"?S:null,s,"#"+n+e.slice(1))}else i.setAttribute(s,t(e))}for(const[s,e]of o.styles)i.style.setProperty(s,t(e));if(o.text)i.appendChild(s.createTextNode(o.text));for(const s of o.children)i.appendChild(c(s));return i};return c(e)}const G=()=>`.icon.sc-ds-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0;color:inherit;width:var(--_icon-sz, var(--dimension-iconography-md));height:var(--_icon-sz, var(--dimension-iconography-md))}.icon__svg.sc-ds-icon{display:contents;line-height:0}.icon--size-xs.sc-ds-icon{--_icon-sz:var(--dimension-iconography-xs)}.icon--size-sm.sc-ds-icon{--_icon-sz:var(--dimension-iconography-sm)}.icon--size-md.sc-ds-icon{--_icon-sz:var(--dimension-iconography-md)}.icon--size-lg.sc-ds-icon{--_icon-sz:var(--dimension-iconography-lg)}.icon--size-xl.sc-ds-icon{--_icon-sz:var(--dimension-iconography-xl)}.icon--size-2xl.sc-ds-icon{--_icon-sz:var(--dimension-iconography-2xl)}.icon--size-3xl.sc-ds-icon{--_icon-sz:var(--dimension-iconography-3xl)}.icon--color-primary.sc-ds-icon{color:var(--color-foreground-primary)}.icon--color-secondary.sc-ds-icon{color:var(--color-foreground-secondary)}.icon--color-tertiary.sc-ds-icon{color:var(--color-foreground-tertiary)}.icon--color-quaternary.sc-ds-icon{color:var(--color-foreground-quaternary)}.icon--color-inherit.sc-ds-icon{color:inherit}.icon--color-brand.sc-ds-icon{color:var(--color-foreground-bold-brand)}.icon--color-negative.sc-ds-icon{color:var(--color-foreground-bold-negative)}.icon--color-positive.sc-ds-icon{color:var(--color-foreground-bold-positive)}.icon--color-warning.sc-ds-icon{color:var(--color-foreground-bold-warning)}.icon--color-caution.sc-ds-icon{color:var(--color-foreground-bold-caution)}.icon--color-ai.sc-ds-icon{color:var(--color-foreground-bold-ai)}.icon--color-guide.sc-ds-icon{color:var(--color-foreground-bold-guide)}.icon--color-neutral.sc-ds-icon{color:var(--color-foreground-bold-neutral)}.icon--color-faint-brand.sc-ds-icon{color:var(--color-foreground-faint-brand)}.icon--color-faint-negative.sc-ds-icon{color:var(--color-foreground-faint-negative)}.icon--color-faint-positive.sc-ds-icon{color:var(--color-foreground-faint-positive)}.icon--color-faint-warning.sc-ds-icon{color:var(--color-foreground-faint-warning)}.icon--color-faint-caution.sc-ds-icon{color:var(--color-foreground-faint-caution)}.icon--color-faint-ai.sc-ds-icon{color:var(--color-foreground-faint-ai)}.icon--color-faint-neutral.sc-ds-icon{color:var(--color-foreground-faint-neutral)}.icon--color-medium-brand.sc-ds-icon{color:var(--color-foreground-medium-brand)}.icon--color-medium-negative.sc-ds-icon{color:var(--color-foreground-medium-negative)}.icon--color-medium-positive.sc-ds-icon{color:var(--color-foreground-medium-positive)}.icon--color-medium-warning.sc-ds-icon{color:var(--color-foreground-medium-warning)}.icon--color-medium-caution.sc-ds-icon{color:var(--color-foreground-medium-caution)}.icon--color-medium-ai.sc-ds-icon{color:var(--color-foreground-medium-ai)}.icon--color-medium-neutral.sc-ds-icon{color:var(--color-foreground-medium-neutral)}.icon--color-bold-brand.sc-ds-icon{color:var(--color-foreground-bold-brand)}.icon--color-bold-negative.sc-ds-icon{color:var(--color-foreground-bold-negative)}.icon--color-bold-positive.sc-ds-icon{color:var(--color-foreground-bold-positive)}.icon--color-bold-warning.sc-ds-icon{color:var(--color-foreground-bold-warning)}.icon--color-bold-caution.sc-ds-icon{color:var(--color-foreground-bold-caution)}.icon--color-bold-ai.sc-ds-icon{color:var(--color-foreground-bold-ai)}.icon--color-bold-neutral.sc-ds-icon{color:var(--color-foreground-bold-neutral)}.icon--color-strong-brand.sc-ds-icon{color:var(--color-foreground-strong-brand)}.icon--color-strong-negative.sc-ds-icon{color:var(--color-foreground-strong-negative)}.icon--color-strong-positive.sc-ds-icon{color:var(--color-foreground-strong-positive)}.icon--color-strong-warning.sc-ds-icon{color:var(--color-foreground-strong-warning)}.icon--color-strong-caution.sc-ds-icon{color:var(--color-foreground-strong-caution)}.icon--color-strong-ai.sc-ds-icon{color:var(--color-foreground-strong-ai)}.icon--color-strong-neutral.sc-ds-icon{color:var(--color-foreground-strong-neutral)}.icon--color-on-strong.sc-ds-icon{color:var(--color-foreground-on-strong-background-primary)}.icon--color-on-bold.sc-ds-icon{color:var(--color-foreground-on-bold-background-primary)}`;const I={system:t,flag:n,map:c};const R=o(class o extends i{constructor(o){super();if(o!==false){this.__registerHost()}this.name="";this.size="md";this.color="inherit";this.svg="";this.loadToken=0;this.renderedSvg=null}resolveSvg(){const o=d(this.name);const i=l(this.name,o);const s=++this.loadToken;const e=g().get(i);if(e!==undefined){this.svg=e;return}const r=I[o];const n=Object.prototype.hasOwnProperty.call(r,this.name)?r[this.name]:undefined;if(!n){this.svg="";return}n().then((o=>{g().set(i,o);if(s===this.loadToken)this.svg=o})).catch((()=>{if(s===this.loadToken)this.svg=""}))}componentWillLoad(){this.resolveSvg()}updateSvg(){const o=this.el.querySelector(".icon__svg");if(!o)return;if(this.svg===this.renderedSvg)return;this.renderedSvg=this.svg;const i=this.svg?L(this.svg,this.el.ownerDocument):null;if(!i){o.replaceChildren();return}i.removeAttribute("width");i.removeAttribute("height");i.setAttribute("focusable","false");i.setAttribute("aria-hidden","true");i.style.display="block";i.style.flexShrink="0";i.style.width="100%";i.style.height="100%";o.replaceChildren(i)}onIconChange(){this.resolveSvg()}componentDidRender(){this.updateSvg()}render(){const o=typeof this.color==="string"&&this.color.startsWith("var(--");const i={icon:true,[`icon--size-${this.size}`]:true,[`icon--color-${this.color}`]:!!this.color&&!o&&this.color!=="inherit","icon--color-inherit":this.color==="inherit"};const r=o?{color:this.color}:undefined;return s(e,{key:"39395bd3808a9e68a932b7818da9ac18a29590e2",style:{display:"inline-flex",alignItems:"center",justifyContent:"center"}},s("span",{key:"b7f3047088c5225259bde4fa72699e5993d9731b",class:i,style:r,role:this.label?"img":"presentation","aria-label":this.label,"aria-hidden":!this.label?"true":undefined},s("span",{key:"18e79c3cbbd99792768ed9424ac657016c0f3921",class:"icon__svg"})))}get el(){return this}static get watchers(){return{name:[{onIconChange:0}]}}static get style(){return G()}},[2,"ds-icon",{name:[1],size:[1],color:[1],label:[1],svg:[32]},undefined,{name:[{onIconChange:0}]}]);function O(){if(typeof customElements==="undefined"){return}const o=["ds-icon"];o.forEach((o=>{switch(o){case"ds-icon":if(!customElements.get(r(o))){customElements.define(r(o),R)}break}}))}O();export{R as I,O as d};
3
+ //# sourceMappingURL=p-GP7Dz3qO.js.map