@duetds/components 9.11.0 → 9.12.1

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 (856) hide show
  1. package/hydrate/index.js +364 -304
  2. package/lib/cjs/{a11y-utils-e5f6d8f8.js → a11y-utils-eb7d7eaf.js} +1 -1
  3. package/lib/cjs/{app-globals-f4b39f4a.js → app-globals-0c7238c4.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +32 -9
  6. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  7. package/lib/cjs/duet-banner.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
  11. package/lib/cjs/duet-callout.cjs.entry.js +6 -6
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +17 -17
  13. package/lib/cjs/duet-card.cjs.entry.js +7 -7
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
  16. package/lib/cjs/duet-chip.cjs.entry.js +13 -6
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +12 -6
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +9 -9
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +10 -10
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +6 -6
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-modal.cjs.entry.js +12 -12
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  44. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-overlay.cjs.entry.js +5 -4
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +15 -14
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +11 -11
  52. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +11 -5
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-share-chart.cjs.entry.js +15 -8
  62. package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
  63. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  65. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  66. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  67. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  68. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  72. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  73. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  75. package/lib/cjs/duet-textarea.cjs.entry.js +11 -5
  76. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  80. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
  81. package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  83. package/lib/cjs/duet-tooltip.cjs.entry.js +9 -3
  84. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  85. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  86. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  87. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  88. package/lib/cjs/duet.cjs.js +3 -3
  89. package/lib/cjs/{errorcodes.utils-e378d9dc.js → errorcodes.utils-0f49bb86.js} +1 -1
  90. package/lib/cjs/{focus-utils-af58f610.js → focus-utils-6f3c697c.js} +1 -1
  91. package/lib/cjs/{index-24f91959.js → index-12fb92a8.js} +1 -1
  92. package/lib/cjs/{language-utils-e33fa0af.js → language-utils-50137d46.js} +1 -1
  93. package/lib/cjs/loader.cjs.js +3 -3
  94. package/lib/cjs/{slot-utils-48820df1.js → slot-utils-474c87ed.js} +1 -1
  95. package/lib/cjs/themeable-component-de7d5c0a.js +62 -0
  96. package/lib/collection/common/themeable-component.js +45 -7
  97. package/lib/collection/components/duet-action-button/duet-action-button.css +7 -3
  98. package/lib/collection/components/duet-alert/duet-alert.js +28 -5
  99. package/lib/collection/components/duet-badge/duet-badge.css +4 -4
  100. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  101. package/lib/collection/components/duet-banner/duet-banner.js +2 -2
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  105. package/lib/collection/components/duet-button/duet-button.css +25 -25
  106. package/lib/collection/components/duet-button/duet-button.js +5 -5
  107. package/lib/collection/components/duet-callout/duet-callout.css +1 -1
  108. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  109. package/lib/collection/components/duet-caption/duet-caption.css +1 -1
  110. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  111. package/lib/collection/components/duet-card/duet-card.css +4 -4
  112. package/lib/collection/components/duet-card/duet-card.js +3 -3
  113. package/lib/collection/components/duet-checkbox/duet-checkbox.css +4 -4
  114. package/lib/collection/components/duet-chip/duet-chip.css +11 -11
  115. package/lib/collection/components/duet-chip/duet-chip.js +10 -1
  116. package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
  117. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  118. package/lib/collection/components/duet-choice/duet-choice.css +20 -19
  119. package/lib/collection/components/duet-choice-group/duet-choice-group.js +9 -0
  120. package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
  121. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  122. package/lib/collection/components/duet-combobox/duet-combobox.css +2 -2
  123. package/lib/collection/components/duet-contact-card/duet-contact-card.css +1 -1
  124. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  125. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
  126. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  127. package/lib/collection/components/duet-date-picker/duet-date-picker.css +11 -11
  128. package/lib/collection/components/duet-divider/duet-divider.css +4 -0
  129. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  130. package/lib/collection/components/duet-empty-state/duet-empty-state.css +2 -1
  131. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  132. package/lib/collection/components/duet-fieldset/duet-fieldset.css +1 -1
  133. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  134. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  135. package/lib/collection/components/duet-footer/duet-footer.css +5 -5
  136. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  137. package/lib/collection/components/duet-grid-item/duet-grid-item.css +1 -1
  138. package/lib/collection/components/duet-header/duet-header.css +23 -23
  139. package/lib/collection/components/duet-heading/duet-heading.css +1 -1
  140. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  141. package/lib/collection/components/duet-hero/duet-hero.css +5 -5
  142. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  143. package/lib/collection/components/duet-icon/duet-icon.css +1 -1
  144. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  145. package/lib/collection/components/duet-input/duet-input.css +22 -13
  146. package/lib/collection/components/duet-label/duet-label.css +1 -1
  147. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  148. package/lib/collection/components/duet-link/duet-link.css +7 -7
  149. package/lib/collection/components/duet-link/duet-link.js +2 -2
  150. package/lib/collection/components/duet-list/duet-list.js +1 -1
  151. package/lib/collection/components/duet-list-item/duet-list-item.css +5 -5
  152. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  153. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  154. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
  155. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  156. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -1
  157. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  158. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -4
  159. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  160. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +2 -2
  161. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  162. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +4 -4
  163. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  164. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +3 -3
  165. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  166. package/lib/collection/components/duet-modal/duet-modal.css +5 -5
  167. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  168. package/lib/collection/components/duet-multiselect/duet-multiselect.css +12 -12
  169. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  170. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  171. package/lib/collection/components/duet-notification/duet-notification.css +5 -5
  172. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  173. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +5 -4
  174. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  175. package/lib/collection/components/duet-number-input/duet-number-input.css +2 -2
  176. package/lib/collection/components/duet-overlay/duet-overlay.css +1 -1
  177. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -1
  178. package/lib/collection/components/duet-page-heading/duet-page-heading.css +3 -3
  179. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  180. package/lib/collection/components/duet-pagination/duet-pagination.css +1 -1
  181. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  182. package/lib/collection/components/duet-paragraph/duet-paragraph.css +5 -2
  183. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  184. package/lib/collection/components/duet-phone-input/duet-phone-input.js +11 -10
  185. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
  186. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -3
  187. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +3 -3
  188. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  189. package/lib/collection/components/duet-progress/duet-progress.css +6 -6
  190. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  191. package/lib/collection/components/duet-radio/duet-radio.css +7 -7
  192. package/lib/collection/components/duet-radio-group/duet-radio-group.js +9 -0
  193. package/lib/collection/components/duet-range-slider/duet-range-slider.css +12 -15
  194. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
  195. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  196. package/lib/collection/components/duet-scrollable/duet-scrollable.css +2 -2
  197. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  198. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  199. package/lib/collection/components/duet-select/duet-select.css +10 -20
  200. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  201. package/lib/collection/components/duet-share-chart/duet-share-chart.css +1 -1
  202. package/lib/collection/components/duet-share-chart/duet-share-chart.js +10 -4
  203. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  204. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  205. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  206. package/lib/collection/components/duet-slideout/duet-slideout.css +9 -9
  207. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  208. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +1 -1
  209. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  210. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  211. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  212. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +7 -7
  213. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  214. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +3 -3
  215. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  216. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  217. package/lib/collection/components/duet-spinner/duet-spinner.css +1 -1
  218. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  219. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  220. package/lib/collection/components/duet-step/duet-step.css +3 -3
  221. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  222. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -4
  223. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  224. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +7 -7
  225. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  226. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +5 -5
  227. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  228. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +7 -7
  229. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  230. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +7 -7
  231. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  232. package/lib/collection/components/duet-tab-group/duet-tab-group.css +9 -9
  233. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  234. package/lib/collection/components/duet-table/duet-table.css +39 -22
  235. package/lib/collection/components/duet-table/duet-table.js +2 -2
  236. package/lib/collection/components/duet-textarea/duet-textarea.css +13 -10
  237. package/lib/collection/components/duet-textarea/duet-textarea.js +30 -2
  238. package/lib/collection/components/duet-toggle/duet-toggle.css +3 -3
  239. package/lib/collection/components/duet-toolbar/duet-toolbar.css +2 -2
  240. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  241. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +6 -6
  242. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  243. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +3 -3
  244. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  245. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +8 -8
  246. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  247. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +8 -8
  248. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  249. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
  250. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  251. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +8 -8
  252. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  253. package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -0
  254. package/lib/collection/components/duet-tray/duet-tray.css +5 -5
  255. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  256. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  257. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  258. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  259. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  260. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  261. package/lib/dist-custom-elements/duet-alert.js +1 -1
  262. package/lib/dist-custom-elements/duet-badge.js +1 -1
  263. package/lib/dist-custom-elements/duet-banner.js +6 -6
  264. package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
  265. package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
  266. package/lib/dist-custom-elements/duet-button.js +1 -1
  267. package/lib/dist-custom-elements/duet-callout.js +6 -6
  268. package/lib/dist-custom-elements/duet-caption.js +1 -1
  269. package/lib/dist-custom-elements/duet-card.js +8 -8
  270. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  271. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  272. package/lib/dist-custom-elements/duet-chip.js +1 -1
  273. package/lib/dist-custom-elements/duet-choice-group.js +17 -11
  274. package/lib/dist-custom-elements/duet-choice.js +6 -6
  275. package/lib/dist-custom-elements/duet-collapsible.js +7 -7
  276. package/lib/dist-custom-elements/duet-combobox.js +17 -17
  277. package/lib/dist-custom-elements/duet-contact-card.js +12 -12
  278. package/lib/dist-custom-elements/duet-cookie-consent.js +9 -9
  279. package/lib/dist-custom-elements/duet-date-picker.js +15 -15
  280. package/lib/dist-custom-elements/duet-divider.js +1 -1
  281. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  282. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  283. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  284. package/lib/dist-custom-elements/duet-file-chooser.js +4 -4
  285. package/lib/dist-custom-elements/duet-footer.js +13 -13
  286. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  287. package/lib/dist-custom-elements/duet-grid.js +1 -1
  288. package/lib/dist-custom-elements/duet-header.js +10 -10
  289. package/lib/dist-custom-elements/duet-heading.js +1 -1
  290. package/lib/dist-custom-elements/duet-hero.js +16 -16
  291. package/lib/dist-custom-elements/duet-icon.js +1 -1
  292. package/lib/dist-custom-elements/duet-input.js +1 -1
  293. package/lib/dist-custom-elements/duet-label.js +1 -1
  294. package/lib/dist-custom-elements/duet-layout.js +6 -6
  295. package/lib/dist-custom-elements/duet-link.js +1 -1
  296. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  297. package/lib/dist-custom-elements/duet-list.js +1 -1
  298. package/lib/dist-custom-elements/duet-logo.js +1 -1
  299. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -6
  300. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -6
  301. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -8
  302. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -6
  303. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -6
  304. package/lib/dist-custom-elements/duet-menu-bar.js +6 -6
  305. package/lib/dist-custom-elements/duet-modal.js +16 -16
  306. package/lib/dist-custom-elements/duet-multiselect.js +16 -16
  307. package/lib/dist-custom-elements/duet-nav.js +3 -3
  308. package/lib/dist-custom-elements/duet-notification-drawer.js +8 -8
  309. package/lib/dist-custom-elements/duet-notification.js +6 -6
  310. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  311. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  312. package/lib/dist-custom-elements/duet-page-heading.js +7 -7
  313. package/lib/dist-custom-elements/duet-pagination.js +26 -26
  314. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  315. package/lib/dist-custom-elements/duet-phone-input.js +28 -27
  316. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  317. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  318. package/lib/dist-custom-elements/duet-progress.js +1 -1
  319. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  320. package/lib/dist-custom-elements/duet-radio-group.js +17 -11
  321. package/lib/dist-custom-elements/duet-radio.js +3 -3
  322. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  323. package/lib/dist-custom-elements/duet-range-stepper.js +8 -8
  324. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  325. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  326. package/lib/dist-custom-elements/duet-select.js +1 -1
  327. package/lib/dist-custom-elements/duet-shaped-image.js +4 -4
  328. package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
  329. package/lib/dist-custom-elements/duet-share-chart.js +14 -8
  330. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  331. package/lib/dist-custom-elements/duet-slideout-lang.js +5 -5
  332. package/lib/dist-custom-elements/duet-slideout-link.js +6 -6
  333. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -8
  334. package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
  335. package/lib/dist-custom-elements/duet-slideout.js +9 -9
  336. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  337. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  338. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  339. package/lib/dist-custom-elements/duet-step.js +6 -6
  340. package/lib/dist-custom-elements/duet-stepper.js +4 -4
  341. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -6
  342. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -8
  343. package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -5
  344. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -5
  345. package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
  346. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  347. package/lib/dist-custom-elements/duet-tab.js +2 -2
  348. package/lib/dist-custom-elements/duet-table.js +1 -1
  349. package/lib/dist-custom-elements/duet-textarea.js +19 -12
  350. package/lib/dist-custom-elements/duet-toggle.js +4 -4
  351. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -6
  352. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -8
  353. package/lib/dist-custom-elements/duet-toolbar-item.js +7 -7
  354. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -6
  355. package/lib/dist-custom-elements/duet-toolbar.js +5 -5
  356. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  357. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  358. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  359. package/lib/dist-custom-elements/duet-tray.js +7 -7
  360. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  361. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  362. package/lib/dist-custom-elements/duet-upload.js +23 -23
  363. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  364. package/lib/dist-custom-elements/index.js +1 -1
  365. package/lib/dist-custom-elements/{p-4c285b52.js → p-06ac6648.js} +5 -5
  366. package/lib/dist-custom-elements/{p-c40058d8.js → p-17d482c6.js} +12 -12
  367. package/lib/dist-custom-elements/{p-01efda2f.js → p-197e9dc0.js} +3 -3
  368. package/lib/dist-custom-elements/{p-b9c89113.js → p-2d794b1d.js} +10 -10
  369. package/lib/dist-custom-elements/{p-45c98b8e.js → p-45e549db.js} +5 -5
  370. package/lib/dist-custom-elements/{p-c795152b.js → p-4ac094e9.js} +3 -3
  371. package/lib/dist-custom-elements/{p-c3b33c9a.js → p-4d548619.js} +7 -7
  372. package/lib/dist-custom-elements/{p-bb1122e6.js → p-610436af.js} +17 -17
  373. package/lib/dist-custom-elements/p-63bf5af7.js +148 -0
  374. package/lib/dist-custom-elements/{p-caaa4cf4.js → p-659d9275.js} +5 -5
  375. package/lib/dist-custom-elements/{p-66fcb9f0.js → p-67ff4699.js} +4 -4
  376. package/lib/dist-custom-elements/p-6f57e174.js +60 -0
  377. package/lib/dist-custom-elements/{p-a3276bf8.js → p-7e303b62.js} +5 -5
  378. package/lib/dist-custom-elements/{p-14e0a137.js → p-7e522fe1.js} +13 -13
  379. package/lib/dist-custom-elements/{p-a5610227.js → p-7e7fb279.js} +6 -6
  380. package/lib/dist-custom-elements/{p-eb46205a.js → p-7f3ef3e8.js} +9 -9
  381. package/lib/dist-custom-elements/{p-a2cba858.js → p-811ef13f.js} +3 -3
  382. package/lib/dist-custom-elements/{p-c2ad08eb.js → p-8275df70.js} +7 -7
  383. package/lib/dist-custom-elements/{p-1139f384.js → p-8d1c675d.js} +2 -2
  384. package/lib/dist-custom-elements/{p-dd5fe334.js → p-9d2dd122.js} +4 -4
  385. package/lib/dist-custom-elements/{p-bc29127b.js → p-9e5e7021.js} +6 -6
  386. package/lib/dist-custom-elements/{p-4fa318d8.js → p-9f521e63.js} +5 -5
  387. package/lib/dist-custom-elements/{p-2340b254.js → p-a3ee9b04.js} +2 -2
  388. package/lib/dist-custom-elements/{p-b29cfa95.js → p-aa1176f3.js} +3 -3
  389. package/lib/dist-custom-elements/{p-87f8e376.js → p-aa2c1980.js} +3 -3
  390. package/lib/dist-custom-elements/{p-bc935fa9.js → p-aa47d8c8.js} +1 -1
  391. package/lib/dist-custom-elements/{p-46de25d9.js → p-aca34830.js} +6 -6
  392. package/lib/dist-custom-elements/{p-176cf304.js → p-b1b35ed8.js} +5 -4
  393. package/lib/dist-custom-elements/{p-8485fda0.js → p-b2a93a65.js} +4 -4
  394. package/lib/dist-custom-elements/{p-543f99f3.js → p-b5858313.js} +11 -11
  395. package/lib/dist-custom-elements/{p-59cfba72.js → p-b7bb3a5e.js} +15 -7
  396. package/lib/dist-custom-elements/{p-ce47f0d0.js → p-c42aabf4.js} +3 -3
  397. package/lib/dist-custom-elements/{p-05a2aaf3.js → p-d2076dc4.js} +12 -12
  398. package/lib/dist-custom-elements/{p-15f4e6e6.js → p-de9060f8.js} +5 -5
  399. package/lib/dist-custom-elements/{p-c195c569.js → p-dfe33d53.js} +1 -1
  400. package/lib/dist-custom-elements/{p-a8d3c31c.js → p-e42a99da.js} +5 -5
  401. package/lib/dist-custom-elements/{p-eafb360c.js → p-e43cba09.js} +6 -6
  402. package/lib/dist-custom-elements/{p-d9e0ed3d.js → p-ec27d97c.js} +5 -5
  403. package/lib/dist-custom-elements/{p-ae60aedc.js → p-f0814752.js} +36 -13
  404. package/lib/dist-custom-elements/{p-6c774bf0.js → p-f24d48e7.js} +12 -6
  405. package/lib/dist-custom-elements/{p-8a08c2ba.js → p-fef4533f.js} +7 -7
  406. package/lib/duet/duet.esm.js +1 -1
  407. package/lib/duet/duet.js +1 -1
  408. package/lib/duet/{p-d0c4f3be.system.entry.js → p-01108865.system.entry.js} +1 -1
  409. package/lib/duet/{p-f2c7b7a7.entry.js → p-01fb38a7.entry.js} +1 -1
  410. package/lib/duet/{p-317a6b01.system.entry.js → p-03f6997b.system.entry.js} +1 -1
  411. package/lib/duet/p-04110930.entry.js +4 -0
  412. package/lib/duet/{p-0f2ce038.system.entry.js → p-04f0d026.system.entry.js} +2 -2
  413. package/lib/duet/p-050296c6.system.entry.js +4 -0
  414. package/lib/duet/p-051686ca.system.entry.js +4 -0
  415. package/lib/duet/{p-addc72ed.entry.js → p-0565c078.entry.js} +1 -1
  416. package/lib/duet/{p-ff2921ce.entry.js → p-0616ff06.entry.js} +1 -1
  417. package/lib/duet/{p-21f862ba.entry.js → p-064be793.entry.js} +1 -1
  418. package/lib/duet/p-067a03de.entry.js +4 -0
  419. package/lib/duet/p-06e4bb08.system.entry.js +4 -0
  420. package/lib/duet/{p-032a3916.entry.js → p-07e5c1ee.entry.js} +1 -1
  421. package/lib/duet/{p-b374c6d4.entry.js → p-0868b0ab.entry.js} +1 -1
  422. package/lib/duet/{p-a7fe475b.js → p-08bba53e.js} +1 -1
  423. package/lib/duet/p-0a2ca8d4.entry.js +4 -0
  424. package/lib/duet/{p-f6c0e8f6.system.entry.js → p-0b311af8.system.entry.js} +1 -1
  425. package/lib/duet/{p-1e3f1ae9.js → p-0c7b1f02.js} +1 -1
  426. package/lib/duet/{p-dfa29477.system.entry.js → p-0e332dee.system.entry.js} +1 -1
  427. package/lib/duet/{p-7511b87b.system.js → p-0e5663a5.system.js} +1 -1
  428. package/lib/duet/{p-96a6b699.entry.js → p-0e9d4260.entry.js} +1 -1
  429. package/lib/duet/{p-009a5ed8.system.entry.js → p-0ecbbcd0.system.entry.js} +2 -2
  430. package/lib/duet/{p-d8a3a455.entry.js → p-101ca8af.entry.js} +1 -1
  431. package/lib/duet/{p-c3ce7291.entry.js → p-10e64a2b.entry.js} +1 -1
  432. package/lib/duet/{p-058f9a4a.entry.js → p-12ba0e70.entry.js} +1 -1
  433. package/lib/duet/{p-ce660d1e.system.entry.js → p-13f29f11.system.entry.js} +1 -1
  434. package/lib/duet/{p-f4b38b74.entry.js → p-15210ebf.entry.js} +1 -1
  435. package/lib/duet/{p-cf8e48d4.system.entry.js → p-16dab8b1.system.entry.js} +1 -1
  436. package/lib/duet/{p-8a04e00e.system.entry.js → p-181173c9.system.entry.js} +2 -2
  437. package/lib/duet/p-18ba9b1b.system.entry.js +4 -0
  438. package/lib/duet/{p-3d0fd313.system.entry.js → p-1a563828.system.entry.js} +1 -1
  439. package/lib/duet/{p-e0738105.entry.js → p-1c3fe02c.entry.js} +1 -1
  440. package/lib/duet/p-1d18b853.system.entry.js +4 -0
  441. package/lib/duet/{p-53e9e625.entry.js → p-1e413da2.entry.js} +1 -1
  442. package/lib/duet/{p-48546dcd.js → p-1ee687f8.js} +1 -1
  443. package/lib/duet/{p-3f7e6bfa.system.entry.js → p-1f18231b.system.entry.js} +1 -1
  444. package/lib/duet/p-1f4598d2.system.entry.js +4 -0
  445. package/lib/duet/p-23829f27.system.entry.js +4 -0
  446. package/lib/duet/p-260f26f5.system.js +4 -0
  447. package/lib/duet/{p-5bb0e24b.entry.js → p-262f5b02.entry.js} +1 -1
  448. package/lib/duet/{p-a848b7be.entry.js → p-26382102.entry.js} +1 -1
  449. package/lib/duet/p-27624e46.system.entry.js +4 -0
  450. package/lib/duet/p-292da4fb.system.entry.js +4 -0
  451. package/lib/duet/{p-96b5040c.system.entry.js → p-29863ae9.system.entry.js} +1 -1
  452. package/lib/duet/{p-1e4bb89a.entry.js → p-2b9fce6b.entry.js} +1 -1
  453. package/lib/duet/{p-f620628c.system.entry.js → p-2da78b69.system.entry.js} +1 -1
  454. package/lib/duet/{p-df767f70.entry.js → p-2ecba133.entry.js} +1 -1
  455. package/lib/duet/{p-f6541707.entry.js → p-2f81e969.entry.js} +1 -1
  456. package/lib/duet/p-312af8bd.entry.js +4 -0
  457. package/lib/duet/{p-22acf75a.entry.js → p-3298b606.entry.js} +1 -1
  458. package/lib/duet/p-32f02f64.system.entry.js +4 -0
  459. package/lib/duet/p-33673113.system.entry.js +4 -0
  460. package/lib/duet/{p-bfae23ac.entry.js → p-3500d34b.entry.js} +1 -1
  461. package/lib/duet/p-35166e3f.entry.js +4 -0
  462. package/lib/duet/p-361f8626.system.entry.js +4 -0
  463. package/lib/duet/{p-fc4ab34f.system.entry.js → p-39d24328.system.entry.js} +2 -2
  464. package/lib/duet/{p-4286716c.system.entry.js → p-3a63986f.system.entry.js} +1 -1
  465. package/lib/duet/p-3a7af916.entry.js +4 -0
  466. package/lib/duet/p-3d1ab7fe.system.entry.js +4 -0
  467. package/lib/duet/{p-60ef7612.entry.js → p-3d7cf9ac.entry.js} +1 -1
  468. package/lib/duet/{p-4c705015.entry.js → p-3ff6b3af.entry.js} +1 -1
  469. package/lib/duet/{p-cfd4a8d6.entry.js → p-3ffb0c67.entry.js} +1 -1
  470. package/lib/duet/{p-7f6788ac.system.js → p-40092524.system.js} +1 -1
  471. package/lib/duet/{p-80c2fd49.entry.js → p-41abde10.entry.js} +1 -1
  472. package/lib/duet/p-421491ad.system.entry.js +4 -0
  473. package/lib/duet/p-431e6648.entry.js +4 -0
  474. package/lib/duet/{p-4400f98c.entry.js → p-436ccd36.entry.js} +1 -1
  475. package/lib/duet/{p-81e96117.system.entry.js → p-4431973b.system.entry.js} +1 -1
  476. package/lib/duet/{p-e422bba3.system.entry.js → p-4af8a986.system.entry.js} +1 -1
  477. package/lib/duet/{p-fc7e3f1c.system.entry.js → p-4da54416.system.entry.js} +1 -1
  478. package/lib/duet/{p-dc51a397.entry.js → p-4dd65e5d.entry.js} +1 -1
  479. package/lib/duet/p-4e82ca26.entry.js +4 -0
  480. package/lib/duet/{p-69917aca.entry.js → p-4ea2e217.entry.js} +1 -1
  481. package/lib/duet/{p-a7539ce8.system.entry.js → p-4ecea3e6.system.entry.js} +1 -1
  482. package/lib/duet/p-53b8bc61.entry.js +4 -0
  483. package/lib/duet/{p-973da923.system.entry.js → p-54a78bb7.system.entry.js} +1 -1
  484. package/lib/duet/{p-25406dc2.entry.js → p-5646f856.entry.js} +1 -1
  485. package/lib/duet/{p-f6adf35f.entry.js → p-58d62f62.entry.js} +1 -1
  486. package/lib/duet/{p-d3847906.system.entry.js → p-5947c8fc.system.entry.js} +1 -1
  487. package/lib/duet/{p-fa051572.entry.js → p-597d57cf.entry.js} +1 -1
  488. package/lib/duet/p-597e39d7.js +5 -0
  489. package/lib/duet/p-5ab9b2f2.system.entry.js +4 -0
  490. package/lib/duet/{p-14298080.system.entry.js → p-5aebfc50.system.entry.js} +1 -1
  491. package/lib/duet/{p-86859fa9.entry.js → p-5be207bf.entry.js} +1 -1
  492. package/lib/duet/{p-80dceb63.system.entry.js → p-5cad5c31.system.entry.js} +1 -1
  493. package/lib/duet/p-5ddb7055.entry.js +4 -0
  494. package/lib/duet/{p-6807122b.system.entry.js → p-5f47699f.system.entry.js} +1 -1
  495. package/lib/duet/p-61e0218c.js +4 -0
  496. package/lib/duet/p-6232b9ae.system.entry.js +4 -0
  497. package/lib/duet/{p-8aa62ae7.entry.js → p-6388394f.entry.js} +1 -1
  498. package/lib/duet/{p-a5ec5a20.system.entry.js → p-63ce7199.system.entry.js} +1 -1
  499. package/lib/duet/{p-9ee1bee5.entry.js → p-650bdc25.entry.js} +1 -1
  500. package/lib/duet/{p-2af8bb5b.entry.js → p-654b8fd6.entry.js} +1 -1
  501. package/lib/duet/{p-58ccbfbc.system.entry.js → p-657f06e2.system.entry.js} +1 -1
  502. package/lib/duet/p-65972f71.system.entry.js +4 -0
  503. package/lib/duet/p-67cbf075.system.entry.js +4 -0
  504. package/lib/duet/{p-74e1ad60.entry.js → p-69c35153.entry.js} +1 -1
  505. package/lib/duet/{p-a536e3a0.entry.js → p-6febb548.entry.js} +1 -1
  506. package/lib/duet/p-71c36d89.entry.js +4 -0
  507. package/lib/duet/{p-a4e8eef3.entry.js → p-7526e5be.entry.js} +1 -1
  508. package/lib/duet/p-7738ff68.system.entry.js +4 -0
  509. package/lib/duet/{p-2d3a9127.system.entry.js → p-795182e4.system.entry.js} +1 -1
  510. package/lib/duet/p-7a91e718.system.entry.js +4 -0
  511. package/lib/duet/p-7c9c8402.entry.js +4 -0
  512. package/lib/duet/p-7da43883.entry.js +4 -0
  513. package/lib/duet/p-7f0ed16a.system.entry.js +4 -0
  514. package/lib/duet/{p-b841982a.system.entry.js → p-84c31ed7.system.entry.js} +1 -1
  515. package/lib/duet/p-85f8ab4a.system.js +4 -0
  516. package/lib/duet/p-87e52e22.system.entry.js +4 -0
  517. package/lib/duet/p-8962c32b.system.entry.js +4 -0
  518. package/lib/duet/{p-e73d04ec.entry.js → p-89f663e3.entry.js} +1 -1
  519. package/lib/duet/{p-5e3881fb.system.entry.js → p-8b2d95a9.system.entry.js} +1 -1
  520. package/lib/duet/{p-c046ca7f.entry.js → p-8ce6d5a4.entry.js} +1 -1
  521. package/lib/duet/{p-aff63498.system.entry.js → p-912e1084.system.entry.js} +1 -1
  522. package/lib/duet/{p-52cff2cb.entry.js → p-924f7ee7.entry.js} +1 -1
  523. package/lib/duet/{p-3b9b55a6.entry.js → p-9335920c.entry.js} +1 -1
  524. package/lib/duet/p-93858ff9.js +4 -0
  525. package/lib/duet/p-9452de48.system.entry.js +4 -0
  526. package/lib/duet/{p-553e9a82.entry.js → p-9515506f.entry.js} +1 -1
  527. package/lib/duet/{p-fd0af915.system.entry.js → p-9535e410.system.entry.js} +1 -1
  528. package/lib/duet/{p-bc5c6ecb.entry.js → p-9692fc04.entry.js} +1 -1
  529. package/lib/duet/{p-ba93a877.entry.js → p-9a86f97f.entry.js} +1 -1
  530. package/lib/duet/{p-5178e544.entry.js → p-a237b26a.entry.js} +1 -1
  531. package/lib/duet/{p-734c25f9.system.js → p-a284304c.system.js} +1 -1
  532. package/lib/duet/{p-0fb78561.entry.js → p-a34354c3.entry.js} +1 -1
  533. package/lib/duet/p-a6f60427.system.entry.js +4 -0
  534. package/lib/duet/{p-9b926e8e.system.entry.js → p-a7582ffa.system.entry.js} +1 -1
  535. package/lib/duet/{p-ee135214.system.entry.js → p-a856a264.system.entry.js} +1 -1
  536. package/lib/duet/{p-d68185fb.system.entry.js → p-a90171c5.system.entry.js} +1 -1
  537. package/lib/duet/{p-6fd4afc8.entry.js → p-aade89bd.entry.js} +1 -1
  538. package/lib/duet/{p-43d2bdf1.system.entry.js → p-ad92101a.system.entry.js} +1 -1
  539. package/lib/duet/{p-be782730.system.entry.js → p-b02acbb7.system.entry.js} +1 -1
  540. package/lib/duet/{p-cc250f3a.entry.js → p-b0ad7329.entry.js} +1 -1
  541. package/lib/duet/p-b0e2711d.system.entry.js +4 -0
  542. package/lib/duet/p-b3501770.system.entry.js +4 -0
  543. package/lib/duet/{p-d801f359.system.entry.js → p-b6b5fcac.system.entry.js} +1 -1
  544. package/lib/duet/p-bbad70b3.system.entry.js +4 -0
  545. package/lib/duet/{p-5ca4d3d1.system.entry.js → p-bc77d7d6.system.entry.js} +2 -2
  546. package/lib/duet/{p-8ba69a2e.system.entry.js → p-c00b9de0.system.entry.js} +2 -2
  547. package/lib/duet/{p-18c6d7a7.system.entry.js → p-c0170c7f.system.entry.js} +1 -1
  548. package/lib/duet/{p-e69859f2.system.js → p-c095dda3.system.js} +1 -1
  549. package/lib/duet/{p-d2813b52.entry.js → p-c0c9db4b.entry.js} +1 -1
  550. package/lib/duet/{p-9c2ffb4f.entry.js → p-c2fad6a5.entry.js} +1 -1
  551. package/lib/duet/p-c31db313.system.entry.js +4 -0
  552. package/lib/duet/{p-4f53b3a5.entry.js → p-c35f014e.entry.js} +1 -1
  553. package/lib/duet/p-c54d743f.entry.js +4 -0
  554. package/lib/duet/p-ca4ce779.system.entry.js +4 -0
  555. package/lib/duet/p-cc163e81.system.js +4 -0
  556. package/lib/duet/{p-399a0bf4.entry.js → p-cccbf193.entry.js} +1 -1
  557. package/lib/duet/{p-bd3655f0.entry.js → p-ceadecc7.entry.js} +1 -1
  558. package/lib/duet/{p-75e9e7dd.system.entry.js → p-cf2d6343.system.entry.js} +1 -1
  559. package/lib/duet/{p-ff024fa4.system.entry.js → p-cf86a2c5.system.entry.js} +1 -1
  560. package/lib/duet/{p-755eb00f.system.js → p-d16254bc.system.js} +1 -1
  561. package/lib/duet/p-d18e475d.js +4 -0
  562. package/lib/duet/{p-c6f6f357.entry.js → p-d2ebebb1.entry.js} +1 -1
  563. package/lib/duet/{p-a9b8edca.system.entry.js → p-d3273de6.system.entry.js} +1 -1
  564. package/lib/duet/{p-ca8a3ab8.entry.js → p-d343e764.entry.js} +1 -1
  565. package/lib/duet/{p-4b2b7fec.entry.js → p-d496bebb.entry.js} +1 -1
  566. package/lib/duet/p-d727b6a0.system.js +4 -0
  567. package/lib/duet/{p-f00ebb0b.entry.js → p-d8326db8.entry.js} +1 -1
  568. package/lib/duet/{p-ff336afc.entry.js → p-d8bad54e.entry.js} +1 -1
  569. package/lib/duet/{p-a555cf62.entry.js → p-dc54c51c.entry.js} +1 -1
  570. package/lib/duet/{p-20f9da14.entry.js → p-dcb5349d.entry.js} +1 -1
  571. package/lib/duet/{p-a53202be.system.entry.js → p-dd3f683b.system.entry.js} +1 -1
  572. package/lib/duet/p-dd766c73.js +4 -0
  573. package/lib/duet/{p-0cf30d86.entry.js → p-de09a768.entry.js} +1 -1
  574. package/lib/duet/{p-3d7a5124.entry.js → p-def5e665.entry.js} +1 -1
  575. package/lib/duet/p-e3c5b05c.entry.js +4 -0
  576. package/lib/duet/{p-8788ab31.system.entry.js → p-e4687509.system.entry.js} +1 -1
  577. package/lib/duet/p-e6af90e5.system.entry.js +4 -0
  578. package/lib/duet/p-e8b29168.system.entry.js +4 -0
  579. package/lib/duet/p-ea16c673.system.entry.js +4 -0
  580. package/lib/duet/{p-0c8a4678.system.entry.js → p-eac6f6c4.system.entry.js} +1 -1
  581. package/lib/duet/{p-365ec86f.entry.js → p-eac80482.entry.js} +1 -1
  582. package/lib/duet/{p-64ab501a.entry.js → p-ec2870db.entry.js} +1 -1
  583. package/lib/duet/{p-83e82dff.system.entry.js → p-ed98e3ec.system.entry.js} +2 -2
  584. package/lib/duet/p-ee777922.entry.js +4 -0
  585. package/lib/duet/{p-e5bb414d.entry.js → p-eeefee8e.entry.js} +1 -1
  586. package/lib/duet/{p-6f029ccf.system.entry.js → p-f2ea381a.system.entry.js} +1 -1
  587. package/lib/duet/{p-0f570568.entry.js → p-f48761f3.entry.js} +1 -1
  588. package/lib/duet/p-f78dca2e.entry.js +4 -0
  589. package/lib/duet/p-fc15d9eb.system.entry.js +4 -0
  590. package/lib/duet/p-fc738e75.system.entry.js +4 -0
  591. package/lib/duet/{p-defb2e9d.entry.js → p-fd2005f3.entry.js} +1 -1
  592. package/lib/duet/{p-c3dde668.system.entry.js → p-fe992c7f.system.entry.js} +1 -1
  593. package/lib/esm/{a11y-utils-7401b486.js → a11y-utils-ce831a3f.js} +1 -1
  594. package/lib/esm/{app-globals-6b42a456.js → app-globals-ccf6e0cb.js} +1 -1
  595. package/lib/esm/duet-action-button.entry.js +4 -4
  596. package/lib/esm/duet-alert.entry.js +32 -9
  597. package/lib/esm/duet-badge.entry.js +5 -5
  598. package/lib/esm/duet-banner.entry.js +5 -5
  599. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  600. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  601. package/lib/esm/duet-button_2.entry.js +12 -12
  602. package/lib/esm/duet-callout.entry.js +6 -6
  603. package/lib/esm/duet-caption_4.entry.js +17 -17
  604. package/lib/esm/duet-card.entry.js +7 -7
  605. package/lib/esm/duet-checkbox.entry.js +3 -3
  606. package/lib/esm/duet-checkmark.entry.js +5 -5
  607. package/lib/esm/duet-chip.entry.js +13 -6
  608. package/lib/esm/duet-choice_2.entry.js +12 -6
  609. package/lib/esm/duet-collapsible.entry.js +6 -6
  610. package/lib/esm/duet-combobox.entry.js +5 -5
  611. package/lib/esm/duet-contact-card.entry.js +6 -6
  612. package/lib/esm/duet-cookie-consent.entry.js +4 -4
  613. package/lib/esm/duet-date-picker.entry.js +6 -6
  614. package/lib/esm/duet-divider_2.entry.js +5 -5
  615. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  616. package/lib/esm/duet-empty-state.entry.js +5 -5
  617. package/lib/esm/duet-fieldset.entry.js +7 -7
  618. package/lib/esm/duet-file-chooser.entry.js +3 -3
  619. package/lib/esm/duet-footer.entry.js +9 -9
  620. package/lib/esm/duet-grid_2.entry.js +3 -3
  621. package/lib/esm/duet-header_2.entry.js +5 -5
  622. package/lib/esm/duet-hero.entry.js +10 -10
  623. package/lib/esm/duet-icon.entry.js +6 -6
  624. package/lib/esm/duet-input_2.entry.js +6 -6
  625. package/lib/esm/duet-layout.entry.js +7 -7
  626. package/lib/esm/duet-list_2.entry.js +6 -6
  627. package/lib/esm/duet-menu-bar-button.entry.js +5 -5
  628. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  629. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  630. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  631. package/lib/esm/duet-menu-bar-link.entry.js +5 -5
  632. package/lib/esm/duet-menu-bar.entry.js +6 -6
  633. package/lib/esm/duet-modal.entry.js +12 -12
  634. package/lib/esm/duet-multiselect.entry.js +10 -10
  635. package/lib/esm/duet-nav.entry.js +3 -3
  636. package/lib/esm/duet-notification_2.entry.js +9 -9
  637. package/lib/esm/duet-number-input.entry.js +5 -5
  638. package/lib/esm/duet-overlay.entry.js +5 -4
  639. package/lib/esm/duet-page-heading.entry.js +5 -5
  640. package/lib/esm/duet-pagination_2.entry.js +18 -18
  641. package/lib/esm/duet-phone-input.entry.js +15 -14
  642. package/lib/esm/duet-popup-menu_2.entry.js +11 -11
  643. package/lib/esm/duet-progress.entry.js +4 -4
  644. package/lib/esm/duet-promo-card.entry.js +5 -5
  645. package/lib/esm/duet-radio_2.entry.js +11 -5
  646. package/lib/esm/duet-range-slider.entry.js +3 -3
  647. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  648. package/lib/esm/duet-section-layout.entry.js +4 -4
  649. package/lib/esm/duet-select.entry.js +4 -4
  650. package/lib/esm/duet-shaped-image.entry.js +4 -4
  651. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  652. package/lib/esm/duet-share-chart.entry.js +15 -8
  653. package/lib/esm/duet-show-more.entry.js +6 -6
  654. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  655. package/lib/esm/duet-slideout-link.entry.js +8 -8
  656. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  657. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  658. package/lib/esm/duet-slideout.entry.js +10 -10
  659. package/lib/esm/duet-status-icon.entry.js +3 -3
  660. package/lib/esm/duet-step_2.entry.js +5 -5
  661. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  662. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  663. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  664. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  665. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  666. package/lib/esm/duet-textarea.entry.js +11 -5
  667. package/lib/esm/duet-toggle.entry.js +3 -3
  668. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  669. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  670. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  671. package/lib/esm/duet-toolbar-link.entry.js +5 -5
  672. package/lib/esm/duet-toolbar.entry.js +5 -5
  673. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  674. package/lib/esm/duet-tooltip.entry.js +9 -3
  675. package/lib/esm/duet-tray.entry.js +6 -6
  676. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  677. package/lib/esm/duet-upload-item.entry.js +6 -6
  678. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  679. package/lib/esm/duet.js +4 -4
  680. package/lib/esm/{errorcodes.utils-fbd04a2f.js → errorcodes.utils-d809738b.js} +1 -1
  681. package/lib/esm/{focus-utils-fb23619c.js → focus-utils-107c9dcc.js} +1 -1
  682. package/lib/esm/{index-4dab47c5.js → index-82e1aa6b.js} +1 -1
  683. package/lib/esm/{language-utils-4b9dc3af.js → language-utils-5ce51b7f.js} +1 -1
  684. package/lib/esm/loader.js +4 -4
  685. package/lib/esm/{slot-utils-14a62b07.js → slot-utils-2a4783cb.js} +1 -1
  686. package/lib/esm/themeable-component-6ed84cf7.js +60 -0
  687. package/lib/esm-es5/{a11y-utils-7401b486.js → a11y-utils-ce831a3f.js} +1 -1
  688. package/lib/esm-es5/{app-globals-6b42a456.js → app-globals-ccf6e0cb.js} +1 -1
  689. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  690. package/lib/esm-es5/duet-alert.entry.js +1 -1
  691. package/lib/esm-es5/duet-badge.entry.js +1 -1
  692. package/lib/esm-es5/duet-banner.entry.js +1 -1
  693. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  694. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  695. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  696. package/lib/esm-es5/duet-callout.entry.js +1 -1
  697. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  698. package/lib/esm-es5/duet-card.entry.js +1 -1
  699. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  700. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  701. package/lib/esm-es5/duet-chip.entry.js +1 -1
  702. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  703. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  704. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  705. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  706. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  707. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  708. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  709. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  710. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  711. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  712. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  713. package/lib/esm-es5/duet-footer.entry.js +2 -2
  714. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  715. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  716. package/lib/esm-es5/duet-hero.entry.js +1 -1
  717. package/lib/esm-es5/duet-icon.entry.js +1 -1
  718. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  719. package/lib/esm-es5/duet-layout.entry.js +1 -1
  720. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  721. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  722. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  723. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  724. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  725. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  726. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  727. package/lib/esm-es5/duet-modal.entry.js +1 -1
  728. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  729. package/lib/esm-es5/duet-nav.entry.js +1 -1
  730. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  731. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  732. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  733. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  734. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  735. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  736. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  737. package/lib/esm-es5/duet-progress.entry.js +1 -1
  738. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  739. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  740. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  741. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  742. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  743. package/lib/esm-es5/duet-select.entry.js +2 -2
  744. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  745. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  746. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  747. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  748. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  749. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  750. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  751. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  752. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  753. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  754. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  755. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  756. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  757. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  758. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  759. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  760. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  761. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  762. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  763. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  764. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  765. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  766. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  767. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  768. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  769. package/lib/esm-es5/duet-tray.entry.js +1 -1
  770. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  771. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  772. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  773. package/lib/esm-es5/duet.js +1 -1
  774. package/lib/esm-es5/{errorcodes.utils-fbd04a2f.js → errorcodes.utils-d809738b.js} +1 -1
  775. package/lib/esm-es5/focus-utils-107c9dcc.js +4 -0
  776. package/lib/esm-es5/index-82e1aa6b.js +4 -0
  777. package/lib/esm-es5/{language-utils-4b9dc3af.js → language-utils-5ce51b7f.js} +1 -1
  778. package/lib/esm-es5/loader.js +1 -1
  779. package/lib/esm-es5/{slot-utils-14a62b07.js → slot-utils-2a4783cb.js} +1 -1
  780. package/lib/esm-es5/themeable-component-6ed84cf7.js +4 -0
  781. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
  782. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  783. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  784. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  785. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  786. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  787. package/lib/types/components.d.ts +14 -4
  788. package/package.json +4 -4
  789. package/lib/cjs/themeable-component-851fd595.js +0 -23
  790. package/lib/dist-custom-elements/p-347269f4.js +0 -21
  791. package/lib/dist-custom-elements/p-797cd5a8.js +0 -148
  792. package/lib/duet/p-011ca56b.entry.js +0 -4
  793. package/lib/duet/p-05c1677e.system.entry.js +0 -4
  794. package/lib/duet/p-07bd1ef4.entry.js +0 -4
  795. package/lib/duet/p-0a39295c.entry.js +0 -4
  796. package/lib/duet/p-0a53642c.system.js +0 -4
  797. package/lib/duet/p-0a6c13c9.system.entry.js +0 -4
  798. package/lib/duet/p-0d13539d.system.entry.js +0 -4
  799. package/lib/duet/p-10626c96.system.entry.js +0 -4
  800. package/lib/duet/p-10e71547.system.entry.js +0 -4
  801. package/lib/duet/p-12b9d5ef.system.entry.js +0 -4
  802. package/lib/duet/p-1e377e29.entry.js +0 -4
  803. package/lib/duet/p-3111baaa.system.entry.js +0 -4
  804. package/lib/duet/p-3462a1dc.entry.js +0 -4
  805. package/lib/duet/p-347269f4.js +0 -4
  806. package/lib/duet/p-3c539a14.system.entry.js +0 -4
  807. package/lib/duet/p-3f5c74ac.js +0 -5
  808. package/lib/duet/p-3f9cd215.system.entry.js +0 -4
  809. package/lib/duet/p-435ad516.entry.js +0 -4
  810. package/lib/duet/p-48c2bd2d.system.entry.js +0 -4
  811. package/lib/duet/p-4bc1a3d4.system.entry.js +0 -4
  812. package/lib/duet/p-4e21466c.system.entry.js +0 -4
  813. package/lib/duet/p-55d5039c.entry.js +0 -4
  814. package/lib/duet/p-5d17c050.system.js +0 -4
  815. package/lib/duet/p-5ece86f5.system.entry.js +0 -4
  816. package/lib/duet/p-62dc04eb.system.entry.js +0 -4
  817. package/lib/duet/p-6337d717.system.entry.js +0 -4
  818. package/lib/duet/p-63d96d93.system.entry.js +0 -4
  819. package/lib/duet/p-67c1a50f.js +0 -4
  820. package/lib/duet/p-6934bb18.entry.js +0 -4
  821. package/lib/duet/p-69d3e6c6.system.entry.js +0 -4
  822. package/lib/duet/p-6b8fad89.js +0 -4
  823. package/lib/duet/p-6bc4e422.system.entry.js +0 -4
  824. package/lib/duet/p-6ec53971.system.js +0 -4
  825. package/lib/duet/p-7113c656.entry.js +0 -4
  826. package/lib/duet/p-7ae7be92.system.entry.js +0 -4
  827. package/lib/duet/p-80567c97.system.entry.js +0 -4
  828. package/lib/duet/p-8e318bf7.system.entry.js +0 -4
  829. package/lib/duet/p-90448196.js +0 -4
  830. package/lib/duet/p-957014cb.entry.js +0 -4
  831. package/lib/duet/p-96ed8863.system.entry.js +0 -4
  832. package/lib/duet/p-aaec2385.system.entry.js +0 -4
  833. package/lib/duet/p-b15112ee.system.entry.js +0 -4
  834. package/lib/duet/p-b2d44f57.system.js +0 -4
  835. package/lib/duet/p-b8cdd3d1.entry.js +0 -4
  836. package/lib/duet/p-bf4a9de4.system.entry.js +0 -4
  837. package/lib/duet/p-c1361d9f.entry.js +0 -4
  838. package/lib/duet/p-c2a7391a.entry.js +0 -4
  839. package/lib/duet/p-d073f201.entry.js +0 -4
  840. package/lib/duet/p-d289c401.system.entry.js +0 -4
  841. package/lib/duet/p-d4f774e7.system.entry.js +0 -4
  842. package/lib/duet/p-d656652c.entry.js +0 -4
  843. package/lib/duet/p-d6fde438.system.entry.js +0 -4
  844. package/lib/duet/p-dbe3b545.system.entry.js +0 -4
  845. package/lib/duet/p-dc83334b.system.entry.js +0 -4
  846. package/lib/duet/p-df511350.system.entry.js +0 -4
  847. package/lib/duet/p-eb7db6af.system.entry.js +0 -4
  848. package/lib/duet/p-ef22612f.entry.js +0 -4
  849. package/lib/duet/p-f3e7d0f7.entry.js +0 -4
  850. package/lib/duet/p-f6022272.system.entry.js +0 -4
  851. package/lib/duet/p-ffd718ec.system.entry.js +0 -4
  852. package/lib/duet/p-fff5d1b3.system.entry.js +0 -4
  853. package/lib/esm/themeable-component-4fc6639e.js +0 -21
  854. package/lib/esm-es5/focus-utils-fb23619c.js +0 -4
  855. package/lib/esm-es5/index-4dab47c5.js +0 -4
  856. package/lib/esm-es5/themeable-component-4fc6639e.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,g as a}from"./p-3f5c74ac.js";import{i as r}from"./p-347269f4.js";import{s as i,u as o}from"./p-a45e3f8b.js";import{a as d,g as n,c as s,d as u}from"./p-1e3f1ae9.js";import{a as c}from"./p-115c79b6.js";import"./p-9c3c64b9.js";const h=class{constructor(e){t(this,e),this.language=d(),this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"},this.accessibleLabelUnread=n(this.accessibleLabelUnreadDefaults,this.language),this.url="#",this.date="",this.highlight=!1,this.external=!1,this.theme=""}componentWillLoad(){r(this)}connectedCallback(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"}),i(this)}disconnectedCallback(){u(this),o(this)}async setFocus(t){this.linkElement.focus(t)}render(){return e("div",{key:"50b14b431dd3fa0271fed4ad88b3844db5d470c2",role:"listitem",class:{"duet-notification":!0,"duet-notification-highlight":this.highlight,"duet-theme-turva":"turva"===this.theme}},e("a",{key:"69d83dd84ef5cb3e5cadc59ef13262ba5a2403b5",ref:t=>this.linkElement=t,href:this.url,target:this.external?"_blank":"_self"},e("div",{key:"c84b368567d5c30a73d072a857d09546762d4e3b",class:"duet-notification-container"},e("div",{key:"b643d6050a37393d3014f04d1255b39a1db22be7",class:"duet-notification-badge-container"},this.highlight&&e("div",{key:"f2ffc87634082ee3ca83962e5be69f8521a8ca8a",class:"duet-notification-badge"},e("duet-visually-hidden",{key:"150e736d8b12304b0a2bf4341462b861f7e1dfdb"},this.accessibleLabelUnread,":"))),e("div",{key:"17934b56fbc1d360d9caf028b545edb6a8fe06e3",class:"duet-notification-content"},e("slot",{key:"3546c2b5e14a00d7b254f59985315a13d79bcc4f"})),e("div",{key:"ac03337c739922c3db5c1e8b63593f92edba315d",class:"duet-notification-date"},this.date))))}get element(){return a(this)}};h.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:rgb(35, 46, 61);border-bottom-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:rgb(197, 29, 65)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:rgb(253, 247, 242)}}";const b=class{constructor(e){t(this,e),this.handleKeyDown=t=>{this.isOpen&&27===t.keyCode&&this.close()},this.toggleMenu=t=>{t.stopPropagation(),this.isOpen?this.close():this.open()},this.updateNotificationState=()=>{this.hasNotifications=this.element.children.length>0},this.isOpen=!1,this.hasNotifications=void 0,this.icon="",this.label="Label",this.language=d(),this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"},this.accessibleLabelNotifications=n(this.accessibleLabelNotificationsDefaults),this.badge=!1,this.theme="",this.direction="left"}componentWillLoad(){r(this),this.updateNotificationState()}connectedCallback(){this.observer=new MutationObserver(this.updateNotificationState),this.observer.observe(this.element,{childList:!0}),i(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,o(this)}handleClickFocusOutside(t){this.isOpen&&!this.element.contains(t.target)&&this.close(!1)}async setFocus(t){this.drawerButtonEl.focus(t)}async open(){const t=this.element.closest("duet-header");t&&t.closeMenus(),this.isOpen=!0,this.drawerContentEl.scrollTop=0}async close(t=!0){this.isOpen=!1,t&&this.setFocus({preventScroll:!0})}render(){return e("div",{key:"52951b68e698b9c831642c1c135dfcb53a48a40c",class:{"duet-drawer":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:this.handleKeyDown},e("button",{key:"e713e9ace0ffc56428e71ca55c37a360971cbe15",ref:t=>this.drawerButtonEl=t,type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&e("div",{key:"a4c21f480f37e714d9c62d75bf787ba7216fb381",class:"duet-drawer-icon"},e("duet-icon",{key:"e95aeefaa6b5323e37f0852fe9e5fd4b6f5f8233",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&e("div",{key:"9944b7bc548e2d8b9c753cbc5e2ee9e60817bdb9",class:"duet-drawer-badge"})),e("span",{key:"cb880634e09f12b30bf67452ac7563ac80b6fcc0",class:"duet-drawer-label"},this.label),e("div",{key:"6416fe4067667f4b7b9977d824ff5570ae86def0",class:"duet-drawer-caret"},e("duet-icon",{key:"6e3e61d447a93c57946cde7067668047a5e6506a",margin:"none",size:"auto",icon:c.svg,color:"currentColor"}))),e("div",{key:"982db8ff68314474dd59f68b9caa66c57634d5ac",id:"duet-drawer-content",class:{"duet-drawer-content":!0,"duet-drawer-right":"right"===this.direction,"duet-drawer-left":"left"===this.direction,"duet-drawer-open":this.isOpen},ref:t=>this.drawerContentEl=t},this.hasNotifications?e("div",{role:"list"},e("slot",null)):e("duet-empty-state",{size:"small"},e("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))}get element(){return a(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:rgb(35, 46, 61);border-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{border-color:rgb(253, 247, 242)}';export{h as duet_notification,b as duet_notification_drawer}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as a,g as o,c as i}from"./p-3f5c74ac.js";import{i as r}from"./p-347269f4.js";import{h as s,a as n}from"./p-a7fe475b.js";import{s as d,u as l,o as b,p as u,d as c,b as h,a as p,c as g}from"./p-a45e3f8b.js";import{g as m,c as f,d as v,a as x}from"./p-1e3f1ae9.js";import{d as k}from"./p-5de30279.js";import{c as w}from"./p-5e59e970.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const y=class{constructor(e){t(this,e),this.currentIndex=0,this.scrollPaneElement=void 0,this.hasCollapseButtonLabelSlot=!1,this.resizeObserver=new ResizeObserver((t=>{if(1===(null==t?void 0:t.length)){const e=this.getOverlayWidth();this.checkScrollingNeeded(t[0].target,e)}})),this.collapsedOnClick=()=>{this.collapsed=!this.collapsed},this.scrollPaneAtStart=!0,this.needsScrolling=!0,this.scrollPaneAtEnd=!1,this.childrenData={},this.theme="",this.identifier="",this.collapsed=!1,this.buttons=!0,this.buttonAlignment="center",this.buttonPosition="relative",this.center=!1,this.padding="none",this.gap="large",this.selected=0,this.stretch=!1}watchPropHandler(t){this.scrollToElement(t,"center")}componentWillLoad(){r(this),this.hasCollapseButtonLabelSlot=s(this.element,"collapse-button-label")}componentDidLoad(){requestAnimationFrame((()=>{this.scrollPaneElement&&(this.checkScrollingNeeded(this.scrollPaneElement,"absolute"===this.buttonPosition?0:5),this.updateScrollButtons(),this.resizeObserver.observe(this.scrollPaneElement))}))}disconnectedCallback(){this.resizeObserver.disconnect()}getScrollPaneElements(){return n(this.element)}checkScrollingNeeded(t=this.scrollPaneElement,e=5){var a;if(!t)return;const o=(null===(a=t.parentElement)||void 0===a?void 0:a.getBoundingClientRect().width)||0,i=t.scrollWidth,r=2*this.getOverlayWidth();this.needsScrolling=i-r>o+e,this.needsScrolling?this.updateScrollButtons():(this.scrollPaneAtStart=!0,this.scrollPaneAtEnd=!0)}getLastVisibleElement(){const t=this.getScrollPaneElements().find((t=>t.getBoundingClientRect().x+t.getBoundingClientRect().width-this.scrollPaneElement.getBoundingClientRect().x>this.scrollPaneElement.clientWidth)),e=this.getScrollPaneElements().indexOf(t);return t.clientWidth>this.scrollPaneElement.clientWidth?e:e-1}getFirstVisibleElement(){const t=this.getScrollPaneElements(),e=t.find((t=>t.getBoundingClientRect().x>this.scrollPaneElement.getBoundingClientRect().x)),a=e?t.indexOf(e):t.length;var o=Math.max(a-1,0);return t[o].clientWidth>this.scrollPaneElement.clientWidth?o:a}updateScrollButtons(t=null,e=this.scrollPaneElement){if(!this.buttons)return;if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){const e=this.getScrollPaneElements().indexOf(t);return 0==e&&(this.scrollPaneAtStart=!0),void(e==this.getScrollPaneElements().length-1&&(this.scrollPaneAtEnd=!0))}e.scrollLeft<=0?this.scrollPaneAtStart=!0:e.scrollLeft>0&&(this.scrollPaneAtStart=!1);const a=Math.round(e.clientWidth+e.scrollLeft+this.getOverlayWidth()),o=Math.round(e.scrollWidth);this.scrollPaneAtEnd=a>=o}scrollToElement(t=this.currentIndex,e){const a=this.getScrollPaneElements();if(!a||0===a.length)return;t+1>=a.length&&(t=a.length-1),t<0&&(t=0);let o=a[0].getBoundingClientRect().x,i=5;const r=()=>{if(a[0].getBoundingClientRect().x===o){if(i--,0!==i)return void window.requestAnimationFrame(r);this.updateScrollButtons(a[t])}else window.requestAnimationFrame(r),o=a[0].getBoundingClientRect().x};a[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e}),window.requestAnimationFrame(r)}scrollLeft(){this.scrollPaneAtEnd=!1;const t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")}scrollRight(){this.scrollPaneAtStart=!1;const t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")}getOverlayWidth(){return"absolute"===this.buttonPosition?0:10}renderButton(t){const a="turva"===this.theme?"color-primary-darker-turva":"color-primary",o="turva"===this.theme?"color-gray-turva":"color-gray",i=()=>{"left"===t?this.scrollLeft():this.scrollRight()},r="left"===t?this.scrollPaneAtStart:this.scrollPaneAtEnd;return e("div",{class:{"duet-scrollable-button-container":!0,[`${t}`]:!0,"duet-scrollable-button-container--occluded":!this.needsScrolling,[`duet-scrollable-button-container--${this.buttonPosition}`]:!0},hidden:!this.buttons||"absolute"===this.buttonPosition&&r},e("span",{part:`${this.identifier}-button-${t}`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,[`duet-scrollable-button--${this.buttonPosition}`]:!0,[`duet-scrollable-button--${this.buttonAlignment}`]:!0,[`duet-scrollable-button--${t}`]:!0},onClick:()=>{i(),document.activeElement&&document.activeElement.blur()},hidden:!this.buttons||r},e("duet-icon",{color:r?o:a,name:"left"===t?"action-arrow-left":"action-arrow-right",size:"absolute"===this.buttonPosition?"x-small":"small",margin:"none"})))}render(){return e(a,{key:"13b04f9678d2d876b3813ff3be4400c6d3cb8706",class:{"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme}},this.hasCollapseButtonLabelSlot&&e("div",{key:"5459a8a656904d8cf5930623b0590b533055be36",class:{collapse:!0,hide:!this.needsScrolling&&!this.collapsed}},e("duet-button",{key:"0e1a7e9dd6e442d653ce8dbdc19831b3299d47c5",variation:"plain",margin:"none","center-text":!0,onClick:()=>this.collapsedOnClick()},e("slot",{key:"8c534bbeea9b0f15915958ae3947ca479a141a07",name:"collapse-button-label"}))),e("div",{key:"333736ff3035d3ba6e12b6f73c38fad12af6ec6a",class:{"duet-scrollable-items":!0,buttons:this.buttons,center:this.center,"duet-theme-turva":"turva"===this.theme}},this.buttons&&this.renderButton("left"),e("div",{key:"78c52fc83f55f4e9ab7bd9a3d12ec2c7a88f2e3f",class:{"duet-scrollable-list":!0,[`duet-scrollable-list--${this.buttonPosition}`]:!0,[`gap-${this.gap}`]:!0,collapsed:this.collapsed,[`duet-overflow-padding--${this.padding}`]:"none"!==this.padding,[`duet-scrollable-list--${this.buttonPosition}`]:"absolute"===this.buttonPosition,"duet-scrollable-stretch":this.stretch},onScroll:()=>this.updateScrollButtons(),ref:t=>this.scrollPaneElement=t},e("slot",{key:"95205e7b789573b3f5bfa2e542d81e2068968e93"})),this.buttons&&this.renderButton("right")))}get element(){return o(this)}static get watchers(){return{selected:["watchPropHandler"]}}};y.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:210;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items .duet-scrollable-list.duet-scrollable-stretch{width:100%}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}:host(.duet-theme-turva2) .duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(244, 213, 193)}:host(.duet-theme-turva2) .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(244, 213, 193)}";const z=class{constructor(e){t(this,e),this.setupContentElement=()=>{this.contentId&&(this.tabpanelElement=document.getElementById(this.contentId),this.tabpanelElement&&(this.tabpanelElement.setAttribute("role","tabpanel"),this.tabpanelElement.setAttribute("tabindex","-1"),this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener),this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener),this.tabpanelElement.addEventListener("focus",this.tabpanelElementFocusListener),this.tabpanelElement.addEventListener("blur",this.tabpanelElementBlurListener),this.accessibleDescription&&this.tabpanelElement.setAttribute("aria-description",this.accessibleDescription),this.accessibleLabelledBy&&this.tabpanelElement.setAttribute("aria-labelledby",this.accessibleLabelledBy),this.tabpanelElement.toggleAttribute("hidden",!this.selected)))},this.tabpanelElementFocusListener=()=>{this.element.classList.contains("user-is-tabbing")&&(this.tabpanelElement.style.outline="0",this.tabpanelElement.style.boxShadow=k("turva"===this.theme?"focus-turva":"focus"))},this.tabpanelElementBlurListener=()=>{this.tabpanelElement.style.outline=null,this.tabpanelElement.style.boxShadow=null},this.theme="",this.label=void 0,this.caption=void 0,this.selected=void 0,this.notificationMark=void 0,this.accessibleDescriptionDefault=null,this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null,this.accessibleLabelledBy=void 0,this.contentId=void 0}componentWillLoad(){r(this)}connectedCallback(){f(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"}),d(this),this.setupContentElement()}disconnectedCallback(){v(this),l(this),this.tabpanelElement&&(this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this)),this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this)),this.tabpanelElement=void 0)}setupSelected(t,e){!!t!=!!e&&this.setupContentElement()}async setFocus(t){this.tabpanelElement.focus(t)}render(){return e("div",{ref:t=>{this.contentId||(this.tabpanelElement=t)},role:"tabpanel",class:{"duet-theme-turva":"turva"===this.theme,"duet-tab":!0,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},e("slot",null))}get element(){return o(this)}static get watchers(){return{selected:["setupSelected"]}}};z.style=".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";const S=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",3),this.duetTabChange=i(this,"duetTabChange",7),this.duetTabChangeRequested=i(this,"duetTabChangeRequested",7),this.id=w("DuetTabGroup"),this.handleKeyDown=t=>{let e;c(t)||h(t)?e=t.target.previousElementSibling:(p(t)||g(t))&&(e=t.target.nextElementSibling),b(t)&&!u(t)&&(t.preventDefault(),this.element.querySelector(":scope > duet-tab[selected]").setFocus()),e&&(t.preventDefault(),e.click(),e.focus())},this.onTabSelect=t=>{this.tabChangeConfirm?t!==this.selected&&this.duetTabChangeRequested.emit({value:t,component:"duet-tab-group"}):this.openTab(t)},this.scrollToActive=()=>{setTimeout((()=>{const t=this.tabsContainer.querySelector(".selected");t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}),50)},this.tabs=[],this.selected=void 0,this.theme="",this.scrolls=!0,this.collapses=!1,this.accessibleLabel=void 0,this.variation="default",this.language=x(),this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"},this.label=m(this.labelDefaults,this.language),this.labelHidden=!0,this.identifier=this.id,this.margin="auto",this.padding="auto",this.setTabIndex=!0,this.tabChangeConfirm=!1,this.switchLargeBreakpoint="small",this.fillSpace=!1,this.stretch=!1}async connectedCallback(){"undefined"!=typeof MutationObserver&&(this.mutationO=new MutationObserver((()=>{this.updateTabs()})),this.mutationO.observe(this.element,{attributes:!0,attributeFilter:["label"],childList:!0,characterData:!0,subtree:!0})),await this.updateTabs(),d(this)}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),l(this)}componentWillLoad(){r(this)}componentDidLoad(){this.intersectionObserver=new IntersectionObserver((t=>{t.length>0&&t[0].isIntersecting&&(this.scrollToActive(),this.intersectionObserver.disconnect())}),{root:null,threshold:0}),this.intersectionObserver.observe(this.element)}async openTab(t){if(t>=this.tabs.length)throw new Error(`[duet-tabs] Index ${t} is out of bounds of tabs length`);this.selected=t,this.tabs.forEach(((e,a)=>{e.selected=a===t})),this.scrollToActive();const e={value:t,component:"duet-tab-group"};this.duetChange.emit(e),this.duetTabChange.emit(e)}async refresh(){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.")}getTabs(){const t=Array.from(this.element.querySelectorAll("duet-tab")).filter((t=>t.closest("duet-tab-group")===this.element));if(0===t.length)throw new Error("[duet-tabs] Must have at least one tab");return t}getButtonId(t){return`${this.id}-button-${t}`}getTabId(t){return`${this.id}-tab-${t}`}getAccessibleDescription(t){return this.tabs[t].getAttribute("accessible-description")||null}async updateTabs(){this.selected=void 0,this.tabs=this.getTabs(),this.tabs.forEach(((t,e)=>{t.id=this.getTabId(e),t.selected&&(void 0===this.selected?this.selected=e:t.selected=!1)})),void 0===this.selected&&(this.selected=0,this.tabs[0].selected=!0)}isCentered(){return window&&"center"==window.getComputedStyle(this.element).textAlign}render(){const t="plain-scrolling"===this.variation?"duet-tab-variation-plain":`duet-tab-variation-${this.variation}`,a="checked"===this.variation||"plain-scrolling"===this.variation,o=`switch-large-at-${this.switchLargeBreakpoint?this.switchLargeBreakpoint:"small"}`,i=this.tabs.map(((t,a)=>e("button",{role:"tab",id:this.getButtonId(a),"aria-selected":t.selected?"true":"false","aria-description":this.getAccessibleDescription(a),tabindex:t.selected?"0":"-1",part:`${this.identifier}-button ${t.selected?`${this.identifier}-button--selected`:""}`,type:"button",class:{"duet-p-0":"none"===this.padding,"duet-tab-button":!0,"stackable-tab":"checked"===this.variation&&this.tabs.length<=3,selected:t.selected,[`duet-notification-mark-${t.notificationMark}`]:!!t.notificationMark,[o]:!!["default","plain","plain-scrolling"].includes(this.variation)},onClick:()=>this.onTabSelect(a),onKeyDown:t=>this.handleKeyDown(t)},"checked"===this.variation?e("div",{class:{"checked-tab-content":!0,"stackable-checked-tab-content":this.tabs.length<=3}},e("div",{class:{"checked-tab-description":!0,"stackable-description":this.tabs.length<=3}},e("p",null,t.label),e("p",{class:{"tab-caption":!0,selected:t.selected}},t.caption)),e("div",{class:{"stackable-checkmark":this.tabs.length<=3}},e("duet-checkmark",{theme:this.theme,checked:t.selected,type:"radio","presentation-only":!0,center:!0}))):t.label)));return e("div",{key:"b7f2848d57cafb3d41287f90b8c48b6870ca6e02",class:{"duet-tab-group":!0,"duet-theme-turva":"turva"===this.theme,[t]:!0,"duet-tab-plain-scrolling":"plain-scrolling"===this.variation,"duet-tab-group-scrolls":!0},"aria-label":this.accessibleLabel},e("div",{key:"d96384958ba83c00c34e4e49d08ea6d90ace8b96",role:"tablist",class:{"duet-m-0":"none"===this.margin||"checked"===this.variation,"duet-tab-group-tabs":!0,"duet-tab-group-hidden":this.tabs.length>3&&!a,"duet-tab-group-fill-space":this.fillSpace&&!this.stretch&&"default"===this.variation,"duet-tab-group-stretch":this.stretch},ref:t=>{this.tabsContainer=t}},"checked"===this.variation?i:e("div",{class:{"duet-tab-group-scrollable-wrapper":!0,"duet-tab-group-fill-space-wrapper":this.fillSpace&&"default"===this.variation}},this.fillSpace&&!this.stretch&&"default"===this.variation&&e("div",{class:"duet-scrollable-stretch-overlay"},e("div",{class:"background"}),e("div",{class:"border"})),e("duet-scrollable",{selected:this.selected,identifier:this.identifier,gap:["default","plain","plain-scrolling"].includes(this.variation)?"none":"large",buttonPosition:"default"===this.variation?"absolute":"relative",center:this.isCentered()?this.isCentered():"center"==this.element.style.textAlign,theme:this.theme,stretch:this.stretch},i))),e("div",{key:"1af41aa98fb13ebd5fb4f8913a8ae2a990007271",class:{"duet-tab-group-content":!0,"duet-m-0":"none"===this.margin,"checked-group-content":"checked"===this.variation}},e("slot",{key:"2a232778878cbcd955bf24d008384d1dc02659e9"})))}get element(){return o(this)}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper{}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper{position:relative;width:100%;overflow:hidden;border-radius:8px;}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay{display:contents}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background,.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:8px}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background{z-index:100;background:rgb(245, 248, 250)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{position:absolute;top:0;left:0;width:100%;height:100%;margin-block:1px;content:"";border-radius:8px;box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-theme-turva .duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{z-index:206;border:1px solid rgb(212, 223, 229)}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-group-stretch .duet-tab-button{flex:1 1 0;min-width:fit-content;text-align:center}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgba(199, 202, 207, 0.8)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:205;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tab-variation-default .duet-tab-button{z-index:200;padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(62, 84, 102);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255);transition:none}.duet-tab-variation-default .duet-tab-button.selected::before{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:"";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button.selected:focus-visible{outline:2px solid rgba(0, 119, 179, 0.8);outline-offset:-5px;box-shadow:none !important}.duet-tab-variation-default .duet-tab-button.selected:focus-visible::before{height:0}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(30, 45, 59);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button{z-index:200}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button:last-child{border-radius:0}.duet-theme-turva.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button::before{height:3px}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(23, 28, 58);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){z-index:200;box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){z-index:200;color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:rgb(222, 224, 228);outline-color:rgba(199, 202, 207, 0.8)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(81, 105, 123);border-width:0;border-bottom:2px solid transparent;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(45, 52, 79);border-bottom:2px solid rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(23, 28, 58);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}:host(.duet-theme-turva2){}:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-group-tabs.duet-tab-variation-plain{border-bottom-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{border-bottom:2px solid rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{border-bottom:2px solid rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-button{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-button.selected{color:rgb(35, 46, 61);border-color:rgb(248, 229, 217);border-bottom-color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:rgb(248, 229, 217)}';export{y as duet_scrollable,z as duet_tab,S as duet_tab_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-755eb00f.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,a,i,n,o,d,c,r;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){o=e.i},function(e){d=e.a;c=e.c;r=e.d},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}:host(.duet-theme-turva2) .duet-contact-card.duet-theme-turva{color:rgb(35, 46, 61)}';var m=s;var b=e("duet_contact_card",function(){function e(e){t(this,e);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=d();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){r(this)};e.prototype.render=function(){var e=this.theme==="turva";var t=e?"turva":"default";return a(i,{key:"de2706d6aba03e8de9dc6c048f81eb8d334af5f7",class:{"duet-m-0":this.margin==="none"}},a("div",{key:"762f5154121fbf1dc8bafb92595b291f82a011f1",class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"5842b3cf401981d0c06cd644916669eab604bae3"},this.name&&a("duet-heading",{key:"fde8f62fc3664388be9644f1a3c38966adfd298c",class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&a("duet-paragraph",{key:"1b036c57a6e3e0a9e4669b0e12304c5a6977c112",class:"description",margin:"none",theme:t},this.description),this.email&&a("div",{key:"6545c1be32cff4f5aa0ff43cee338c9b857730fd",class:"email"},a("duet-icon",{key:"c5f1abb56941064a201337bb44f8b773853e60ff",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"ddc6c729a1abea64a502403b75221fb813fa4c8b",url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:t},this.email)),this.phone&&a("div",{key:"5dc0b7078b20a9f1790fe2a04b4fa74bfeea65b0",class:"phone"},a("duet-icon",{key:"1d29a1b982d4efeb7f685b8ecbee8db257ab63cb",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"989b6d03684dcab0b99031e05e323185d5aa19bf",url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:t},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"20263d42cf642136939c5920bc235c599ca8cb01",class:"call-to-action"},a("duet-button",{key:"5a84ba6f2d66651f03caf0338050bb7dd8c21a7d",variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),a("div",{key:"0f4bbbefc3beccbd9d81bfa65af65c44cfdbb231"}),a("slot",{key:"0a50d298edbb6dc88d428e3ddae6c00bf84658ae"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());b.style=m}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function u(e){try{s(i.next(e))}catch(e){a(e)}}function o(e){try{s(i["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):r(e.value).then(u,o)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(e){return function(t){return s([e,t])}}function s(o){if(i)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-7511b87b.system.js","./p-053b71e6.system.js","./p-76332920.system.js","./p-0a53642c.system.js","./p-734c25f9.system.js","./p-752fa0fc.system.js","./p-755eb00f.system.js","./p-b2d44f57.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,r,a,u,o,s,c,b,d,m;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.a},function(e){u=e.D},function(e){o=e.i},function(e){s=e.g},function(e){c=e.f},function(e){b=e.g;d=e.c;m=e.d},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(35, 46, 61);background:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(197, 29, 65)}';var l=h;var f=e("duet_submenu_bar_item",function(){function e(e){t(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=u;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){m(this)};e.prototype.handleEscape=function(e){if(c(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var r=this.url?"link":"button";return n(i,{key:"286d31e43175b586e05d660dcae91f2ba0176f8d",role:"listitem"},n(t,{key:"ff2ee974d9ee8340c3c53e24c07eb4793f6f9bec",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-submenu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,role:r,rel:this.external?"noopener":undefined},this.leadingIcon&&n("duet-icon",{key:"8ad8924d66e2bc49aa1605f59ae9c96b06c91ddc",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),n("div",{key:"3433ef2e595da4391f05927fab8deb99304887bc",class:"label"},n("span",{key:"df2750c809a744a98e41624478d8ff5616ba496c",class:"label-text"},n("slot",{key:"83fb30a29389e5e2f5caebb04b99be1d480fdc3c"})),(this.trailingIcon||this.external)&&n("duet-icon",{key:"b00f95d9b7f5c0ad824c25fc32936964cc5d9e69",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?a.title:"",margin:"none",size:"auto",color:"currentColor"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());f.style=l}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-755eb00f.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,a,o,i,r,s,d,c;return{setters:[function(e){t=e.r;n=e.h;a=e.H;o=e.g},function(e){i=e.i},function(e){r=e.a;s=e.c;d=e.d;c=e.g},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(35, 46, 61)}';var l=u;var b=e("duet_slideout_lang",function(){function e(e){t(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=r();this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){s(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){var e=c(this.chooseLangObject);return n(a,{key:"848aaedd9e1c8ed6d539b69daef3a831af55b178"},n("div",{key:"69695781b71a228e58973bd2673c7765582b6fcb",class:"duet-slideout-lang",role:"group","aria-label":e},n("duet-icon",{key:"2305f5314bf1fb5c270d2a8eeb55f75382d2591a",name:"navigation-language",margin:"none",color:"secondary"}),n("slot",{key:"2d7a718ac92ce21dd138e7fb71e27a02ac5ca1ae"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=l}}}));
@@ -1,21 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const inheritGlobalTheme = (component) => {
5
- var _a, _b;
6
- // this is done in a complex way to support hydrate.renderToString
7
- const classList = (_b = (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
8
- const theme = /(duet-theme-)([a-z0-9]*)/gi.exec(classList);
9
- if (theme && theme[1] === "duet-theme-") {
10
- if (theme[2] === "turva2") {
11
- component.theme = "turva";
12
- if (component.element) {
13
- component.element.classList.add("duet-theme-turva2");
14
- }
15
- return;
16
- }
17
- component.theme = theme[2] === "default" ? "" : theme[2];
18
- }
19
- };
20
-
21
- export { inheritGlobalTheme as i };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h}from"./index-4dab47c5.js";var focusElement=function(u){if("setFocus"in u){u.setFocus()}else{u.focus()}};var FocusGuard=function(u){var e=u.moveFocusTo;return h("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return focusElement(e)}})};export{FocusGuard as F,focusElement as f};
@@ -1,4 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o))e[o]=r[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function o(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?t(e.value):o(e.value).then(i,s)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(r){return u([e,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(t=0)),t)try{if(n=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;o=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){t.label=s[1];break}if(s[0]===6&&t.label<a[1]){t.label=a[1];a=s;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(s);break}if(a[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];o=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,a;n<o;n++){if(a||!(n in r)){if(!a)a=Array.prototype.slice.call(r,0,n);a[n]=r[n]}}return e.concat(a||Array.prototype.slice.call(r))};
2
- /*!
3
- * Built with Duet Design System
4
- */var NAMESPACE="duet";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var Env={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.23"};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,r){return hostRefs.set(r.t=e,r)};var registerHost=function(e,r){var t={o:0,$hostElement$:e,i:r,u:new Map};{t.l=new Promise((function(e){return t.v=e}))}{t.p=new Promise((function(e){return t.m=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,t)};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.h.replace(/-/g,"_");var o=e._;if(!o){return void 0}var a=cmpModules.get(o);if(a){return a[n]}if(!t||!BUILD.hotModuleReplacement){var i=function(e){cmpModules.set(o,e);return e[n]};switch(o){case"duet-alert":return import("./duet-alert.entry.js").then(i,consoleError);case"duet-badge":return import("./duet-badge.entry.js").then(i,consoleError);case"duet-action-button":return import("./duet-action-button.entry.js").then(i,consoleError);case"duet-hero":return import("./duet-hero.entry.js").then(i,consoleError);case"duet-card":return import("./duet-card.entry.js").then(i,consoleError);case"duet-empty-state":return import("./duet-empty-state.entry.js").then(i,consoleError);case"duet-checkbox":return import("./duet-checkbox.entry.js").then(i,consoleError);case"duet-layout":return import("./duet-layout.entry.js").then(i,consoleError);case"duet-section-layout":return import("./duet-section-layout.entry.js").then(i,consoleError);case"duet-number-input":return import("./duet-number-input.entry.js").then(i,consoleError);case"duet-icon":return import("./duet-icon.entry.js").then(i,consoleError);case"duet-range-slider":return import("./duet-range-slider.entry.js").then(i,consoleError);case"duet-select":return import("./duet-select.entry.js").then(i,consoleError);case"duet-progress":return import("./duet-progress.entry.js").then(i,consoleError);case"duet-textarea":return import("./duet-textarea.entry.js").then(i,consoleError);case"duet-toggle":return import("./duet-toggle.entry.js").then(i,consoleError);case"duet-tooltip":return import("./duet-tooltip.entry.js").then(i,consoleError);case"duet-visually-hidden":return import("./duet-visually-hidden.entry.js").then(i,consoleError);case"duet-modal":return import("./duet-modal.entry.js").then(i,consoleError);case"duet-collapsible":return import("./duet-collapsible.entry.js").then(i,consoleError);case"duet-cookie-consent":return import("./duet-cookie-consent.entry.js").then(i,consoleError);case"duet-tray":return import("./duet-tray.entry.js").then(i,consoleError);case"duet-date-picker":return import("./duet-date-picker.entry.js").then(i,consoleError);case"duet-button_2":return import("./duet-button_2.entry.js").then(i,consoleError);case"duet-grid_2":return import("./duet-grid_2.entry.js").then(i,consoleError);case"duet-header_2":return import("./duet-header_2.entry.js").then(i,consoleError);case"duet-radio_2":return import("./duet-radio_2.entry.js").then(i,consoleError);case"duet-choice_2":return import("./duet-choice_2.entry.js").then(i,consoleError);case"duet-list_2":return import("./duet-list_2.entry.js").then(i,consoleError);case"duet-divider_2":return import("./duet-divider_2.entry.js").then(i,consoleError);case"duet-input_2":return import("./duet-input_2.entry.js").then(i,consoleError);case"duet-step_2":return import("./duet-step_2.entry.js").then(i,consoleError);case"duet-pagination_2":return import("./duet-pagination_2.entry.js").then(i,consoleError);case"duet-notification_2":return import("./duet-notification_2.entry.js").then(i,consoleError);case"duet-editable-table_3":return import("./duet-editable-table_3.entry.js").then(i,consoleError);case"duet-scrollable_3":return import("./duet-scrollable_3.entry.js").then(i,consoleError);case"duet-caption_4":return import("./duet-caption_4.entry.js").then(i,consoleError);case"duet-banner":return import("./duet-banner.entry.js").then(i,consoleError);case"duet-breadcrumb":return import("./duet-breadcrumb.entry.js").then(i,consoleError);case"duet-breadcrumbs":return import("./duet-breadcrumbs.entry.js").then(i,consoleError);case"duet-callout":return import("./duet-callout.entry.js").then(i,consoleError);case"duet-combobox":return import("./duet-combobox.entry.js").then(i,consoleError);case"duet-contact-card":return import("./duet-contact-card.entry.js").then(i,consoleError);case"duet-file-chooser":return import("./duet-file-chooser.entry.js").then(i,consoleError);case"duet-footer":return import("./duet-footer.entry.js").then(i,consoleError);case"duet-menu-bar":return import("./duet-menu-bar.entry.js").then(i,consoleError);case"duet-menu-bar-button":return import("./duet-menu-bar-button.entry.js").then(i,consoleError);case"duet-menu-bar-dropdown":return import("./duet-menu-bar-dropdown.entry.js").then(i,consoleError);case"duet-menu-bar-dropdown-link":return import("./duet-menu-bar-dropdown-link.entry.js").then(i,consoleError);case"duet-menu-bar-item":return import("./duet-menu-bar-item.entry.js").then(i,consoleError);case"duet-menu-bar-link":return import("./duet-menu-bar-link.entry.js").then(i,consoleError);case"duet-multiselect":return import("./duet-multiselect.entry.js").then(i,consoleError);case"duet-nav":return import("./duet-nav.entry.js").then(i,consoleError);case"duet-page-heading":return import("./duet-page-heading.entry.js").then(i,consoleError);case"duet-phone-input":return import("./duet-phone-input.entry.js").then(i,consoleError);case"duet-promo-card":return import("./duet-promo-card.entry.js").then(i,consoleError);case"duet-shaped-image":return import("./duet-shaped-image.entry.js").then(i,consoleError);case"duet-share-chart":return import("./duet-share-chart.entry.js").then(i,consoleError);case"duet-share-chart-item":return import("./duet-share-chart-item.entry.js").then(i,consoleError);case"duet-slideout":return import("./duet-slideout.entry.js").then(i,consoleError);case"duet-slideout-lang":return import("./duet-slideout-lang.entry.js").then(i,consoleError);case"duet-slideout-link":return import("./duet-slideout-link.entry.js").then(i,consoleError);case"duet-slideout-panel":return import("./duet-slideout-panel.entry.js").then(i,consoleError);case"duet-slideout-panel-dropdown":return import("./duet-slideout-panel-dropdown.entry.js").then(i,consoleError);case"duet-submenu-bar":return import("./duet-submenu-bar.entry.js").then(i,consoleError);case"duet-submenu-bar-dropdown":return import("./duet-submenu-bar-dropdown.entry.js").then(i,consoleError);case"duet-submenu-bar-dropdown-link":return import("./duet-submenu-bar-dropdown-link.entry.js").then(i,consoleError);case"duet-submenu-bar-item":return import("./duet-submenu-bar-item.entry.js").then(i,consoleError);case"duet-submenu-bar-link":return import("./duet-submenu-bar-link.entry.js").then(i,consoleError);case"duet-toolbar":return import("./duet-toolbar.entry.js").then(i,consoleError);case"duet-toolbar-dropdown":return import("./duet-toolbar-dropdown.entry.js").then(i,consoleError);case"duet-toolbar-dropdown-link":return import("./duet-toolbar-dropdown-link.entry.js").then(i,consoleError);case"duet-toolbar-item":return import("./duet-toolbar-item.entry.js").then(i,consoleError);case"duet-toolbar-link":return import("./duet-toolbar-link.entry.js").then(i,consoleError);case"duet-checkmark":return import("./duet-checkmark.entry.js").then(i,consoleError);case"duet-chip":return import("./duet-chip.entry.js").then(i,consoleError);case"duet-upload-aria-status":return import("./duet-upload-aria-status.entry.js").then(i,consoleError);case"duet-upload-item":return import("./duet-upload-item.entry.js").then(i,consoleError);case"duet-popup-menu_2":return import("./duet-popup-menu_2.entry.js").then(i,consoleError);case"duet-show-more":return import("./duet-show-more.entry.js").then(i,consoleError);case"duet-status-icon":return import("./duet-status-icon.entry.js").then(i,consoleError);case"duet-fieldset":return import("./duet-fieldset.entry.js").then(i,consoleError);case"duet-overlay":return import("./duet-overlay.entry.js").then(i,consoleError);case"duet-tooltip-button_2":return import("./duet-tooltip-button_2.entry.js").then(i,consoleError)}}return import("./".concat(o,".entry.js").concat("")).then((function(e){{cmpModules.set(o,e)}return e[n]}),consoleError)};var styles=new Map;var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var COMMENT_NODE_ID="c";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={o:0,S:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.o&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var o=null;var a=null;var i=null;var s=false;var u=false;var l=[];var c=function(r){for(var t=0;t<r.length;t++){o=r[t];if(Array.isArray(o)){c(o)}else if(o!=null&&typeof o!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(o)){o=String(o)}if(s&&u){l[l.length-1].j+=o}else{l.push(s?newVNode(null,o):o)}u=s}}};c(t);if(r){if(r.key){a=r.key}if(r.name){i=r.name}{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,l,vdomFnUtils)}var d=newVNode(e,null);d.T=r;if(l.length>0){d.N=l}{d.k=a}{d.C=i}return d};var newVNode=function(e,r){var t={o:0,$:e,j:r,D:null,N:null};{t.T=null}{t.k=null}{t.C=null}return t};var Host={};var isHost=function(e){return e&&e.$===Host};var vdomFnUtils={forEach:function(e,r){return e.map(convertToPublic).forEach(r)},map:function(e,r){return e.map(convertToPublic).map(r).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.T,vchildren:e.N,vkey:e.k,vname:e.C,vtag:e.$,vtext:e.j}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var r=__assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[],false))}var t=newVNode(e.vtag,e.vtext);t.T=e.vattrs;t.N=e.vchildren;t.k=e.vkey;t.C=e.vname;return t};var setAccessor=function(e,r,t,n,o,a){if(t!==n){var i=isMemberInElement(e,r);var s=r.toLowerCase();if(r==="class"){var u=e.classList;var l=parseClassList(t);var c=parseClassList(n);if(e["s-si"]&&c.indexOf(e["s-si"])<0){c.push(e["s-si"])}u.remove.apply(u,l.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!l.includes(e)})))}else if(r==="style"){{for(var f in t){if(!n||n[f]==null){if(f.includes("-")){e.style.removeProperty(f)}else{e.style[f]=""}}}}for(var f in n){if(!t||n[f]!==t[f]){if(f.includes("-")){e.style.setProperty(f,n[f])}else{e.style[f]=n[f]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!i&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,s)){r=s.slice(2)}else{r=s[2]+r.slice(3)}if(t||n){var d=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,d)}if(n){plt.ael(e,r,n,d)}}}else{var v=isComplexType(n);if((i||v&&n!==null)&&!o){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(r==="list"){i=false}else if(t==null||e[r]!=p){if(typeof e.__lookupSetter__(r)==="function"){e[r]=p}else{e.setAttribute(r,p)}}}else{e[r]=n}}catch(e){}}var m=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){r=s;m=true}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){if(m){e.removeAttributeNS(XLINK_NS,r)}else{e.removeAttribute(r)}}}else if((!i||a&4||o)&&!v){n=n===true?"":n;if(m){e.setAttributeNS(XLINK_NS,r,n)}else{e.setAttribute(r,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return"object"==typeof e&&"baseVal"in e&&(e=e.baseVal),e?e.split(parseClassListRegex):[]};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t){var n=r.D.nodeType===11&&r.D.host?r.D.host:r.D;var o=e&&e.T||EMPTY_OBJ;var a=r.T||EMPTY_OBJ;{for(var i=0,s=sortedAttrNames(Object.keys(o));i<s.length;i++){var u=s[i];if(!(u in a)){setAccessor(n,u,o[u],void 0,t,r.o)}}}for(var l=0,c=sortedAttrNames(Object.keys(a));l<c.length;l++){var u=c[l];setAccessor(n,u,o[u],a[u],t,r.o)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,r,t,n){var o;var a=r.N[t];var i=0;var s;var u;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.o|=a.N?2:1}}if(a.j!==null){s=a.D=doc.createTextNode(a.j)}else if(a.o&1){s=a.D=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.$==="svg"}s=a.D=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&a.o&2?"slot-fb":a.$);if(isSvgMode&&a.$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}var c=s.getRootNode();var f=!c.querySelector("body");if(!f&&BUILD.scoped&&isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}{updateElementScopeIds(s,n)}if(a.N){for(i=0;i<a.N.length;++i){u=createElm(e,a,i,s);if(u){s.appendChild(u)}}}{if(a.$==="svg"){isSvgMode=false}else if(s.tagName==="foreignObject"){isSvgMode=true}}}s["s-hn"]=hostTagName;{if(a.o&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=a.C||"";s["s-rf"]=(o=a.T)==null?void 0:o.ref;l=e&&e.N&&e.N[t];if(l&&l.$===a.$&&e.D){{putBackInOriginalLocation(e.D,false)}}}}return s};var putBackInOriginalLocation=function(e,r){plt.o|=1;var t=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&BUILD.experimentalSlotFixes){var n=e;while(n=n.nextSibling){if(n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===hostTagName){t.push(n)}}}for(var o=t.length-1;o>=0;o--){var a=t[o];if(a["s-hn"]!==hostTagName&&a["s-ol"]){insertBefore(parentReferenceNode(a),a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=void 0;a["s-sh"]=void 0;checkSlotRelocate=true}if(r){putBackInOriginalLocation(a,r)}}plt.o&=~1};var addVnodes=function(e,r,t,n,o,a){var i=e["s-cr"]&&e["s-cr"].parentNode||e;var s;if(i.shadowRoot&&i.tagName===hostTagName){i=i.shadowRoot}for(;o<=a;++o){if(n[o]){s=createElm(null,t,o,e);if(s){n[o].D=s;insertBefore(i,s,referenceNode(r))}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var o=e[n];if(o){var a=o.D;nullifyVNodeRefs(o);if(a){{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}}};var updateChildren=function(e,r,t,n,o){if(o===void 0){o=false}var a=0;var i=0;var s=0;var u=0;var l=r.length-1;var c=r[0];var f=r[l];var d=n.length-1;var v=n[0];var p=n[d];var m;var h;while(a<=l&&i<=d){if(c==null){c=r[++a]}else if(f==null){f=r[--l]}else if(v==null){v=n[++i]}else if(p==null){p=n[--d]}else if(isSameVnode(c,v,o)){patch(c,v,o);c=r[++a];v=n[++i]}else if(isSameVnode(f,p,o)){patch(f,p,o);f=r[--l];p=n[--d]}else if(isSameVnode(c,p,o)){if(c.$==="slot"||p.$==="slot"){putBackInOriginalLocation(c.D.parentNode,false)}patch(c,p,o);insertBefore(e,c.D,f.D.nextSibling);c=r[++a];p=n[--d]}else if(isSameVnode(f,v,o)){if(c.$==="slot"||p.$==="slot"){putBackInOriginalLocation(f.D.parentNode,false)}patch(f,v,o);insertBefore(e,f.D,c.D);f=r[--l];v=n[++i]}else{s=-1;{for(u=a;u<=l;++u){if(r[u]&&r[u].k!==null&&r[u].k===v.k){s=u;break}}}if(s>=0){h=r[s];if(h.$!==v.$){m=createElm(r&&r[i],t,s,e)}else{patch(h,v,o);r[s]=void 0;m=h.D}v=n[++i]}else{m=createElm(r&&r[i],t,i,e);v=n[++i]}if(m){{insertBefore(parentReferenceNode(c.D),m,referenceNode(c.D))}}}}if(a>l){addVnodes(e,n[d+1]==null?null:n[d+1].D,t,n,i,d)}else if(i>d){removeVnodes(r,a,l)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.$===r.$){if(e.$==="slot"){if("R"in e&&t&&e.D.nodeType!==8){return false}return e.C===r.C}if(!t){return e.k===r.k}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.D=e.D;var o=e.N;var a=r.N;var i=r.$;var s=r.j;var u;if(s===null){{isSvgMode=i==="svg"?true:i==="foreignObject"?false:isSvgMode}{if(i==="slot"&&!useNativeShadowDom);else{updateElement(e,r,isSvgMode)}}if(o!==null&&a!==null){updateChildren(n,o,r,a,t)}else if(a!==null){if(e.j!==null){n.textContent=""}addVnodes(n,null,r,a,0,a.length-1)}else if(!t&&BUILD.updatable&&o!==null){removeVnodes(o,0,o.length-1)}if(isSvgMode&&i==="svg"){isSvgMode=false}}else if(u=n["s-cr"]){u.parentNode.textContent=s}else if(e.j!==s){n.data=s}};var updateFallbackSlotVisibility=function(e){var r=e.__childNodes||e.childNodes;for(var t=0,n=r;t<n.length;t++){var o=n[t];if(o.nodeType===1){if(o["s-sr"]){var a=o["s-sn"];o.hidden=false;for(var i=0,s=r;i<s.length;i++){var u=s[i];if(u!==o){if(u["s-hn"]!==o["s-hn"]||a!==""){if(u.nodeType===1&&(a===u.getAttribute("slot")||a===u["s-sn"])||u.nodeType===3&&a===u["s-sn"]){o.hidden=true;break}}else if(a===u["s-sn"]){if(u.nodeType===1||u.nodeType===3&&u.textContent.trim()!==""){o.hidden=true;break}}}}}updateFallbackSlotVisibility(o)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var r;var t;var n;var o=e.__childNodes||e.childNodes;for(var a=0,i=o;a<i.length;a++){var s=i[a];if(s["s-sr"]&&(r=s["s-cr"])&&r.parentNode){t=r.parentNode.__childNodes||r.parentNode.childNodes;var u=s["s-sn"];var l=function(){r=t[n];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==s["s-hn"]&&!BUILD.experimentalSlotFixes){if(isNodeLocatedInSlot(r,u)){var e=relocateNodes.find((function(e){return e.I===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||u;if(e){e.I["s-sh"]=s["s-hn"];e.O=s}else{r["s-sh"]=s["s-hn"];relocateNodes.push({O:s,I:r})}if(r["s-sr"]){relocateNodes.map((function(t){if(isNodeLocatedInSlot(t.I,r["s-sn"])){e=relocateNodes.find((function(e){return e.I===r}));if(e&&!t.O){t.O=e.O}}}))}}else if(!relocateNodes.some((function(e){return e.I===r}))){relocateNodes.push({I:r})}}};for(n=t.length-1;n>=0;n--){l()}}if(s.nodeType===1){markSlotContentForRelocation(s)}}};var isNodeLocatedInSlot=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var nullifyVNodeRefs=function(e){{e.T&&e.T.ref&&e.T.ref(null);e.N&&e.N.map(nullifyVNodeRefs)}};var insertBefore=function(e,r,t){var n=e==null?void 0:e.insertBefore(r,t);{updateElementScopeIds(r,e)}return n};var findScopeIds=function(e){var r=[];if(e){r.push.apply(r,__spreadArray(__spreadArray(__spreadArray([],e["s-scs"]||[],false),[e["s-si"],e["s-sc"]],false),findScopeIds(e.parentElement),false))}return r};var updateElementScopeIds=function(e,r,t){if(t===void 0){t=false}var n;if(e&&r&&e.nodeType===1){var o=new Set(findScopeIds(r).filter(Boolean));if(o.size){(n=e.classList)==null?void 0:n.add.apply(n,e["s-scs"]=Array.from(o));if(e["s-ol"]||t){for(var a=0,i=Array.from(e.__childNodes||e.childNodes);a<i.length;a++){var s=i[a];updateElementScopeIds(s,e,true)}}}}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n,o,a,i;var s=e.$hostElement$;var u=e.i;var l=e.L||newVNode(null,null);var c=isHost(r)?r:h(null,null,r);hostTagName=s.tagName;if(u.A){c.T=c.T||{};u.A.map((function(e){var r=e[0],t=e[1];return c.T[t]=s[r]}))}if(t&&c.T){for(var f=0,d=Object.keys(c.T);f<d.length;f++){var v=d[f];if(s.hasAttribute(v)&&!["key","ref","style","class"].includes(v)){c.T[v]=s[v]}}}c.$=null;c.o|=4;e.L=c;c.D=l.D=s.shadowRoot||s;{scopeId=s["s-sc"]}useNativeShadowDom=(u.o&1)!==0;{contentRef=s["s-cr"];checkSlotFallbackVisibility=false}patch(l,c,t);{plt.o|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.D);for(var p=0,m=relocateNodes;p<m.length;p++){var y=m[p];var b=y.I;if(!b["s-ol"]){var E=doc.createTextNode("");E["s-nr"]=b;insertBefore(b.parentNode,b["s-ol"]=E,b)}}for(var g=0,_=relocateNodes;g<_.length;g++){var y=_[g];var b=y.I;var S=y.O;if(S){var w=S.parentNode;var j=S.nextSibling;{var E=(n=b["s-ol"])==null?void 0:n.previousSibling;while(E){var T=(o=E["s-nr"])!=null?o:null;if(T&&T["s-sn"]===b["s-sn"]&&w===T.parentNode){T=T.nextSibling;while(T===b||(T==null?void 0:T["s-sr"])){T=T==null?void 0:T.nextSibling}if(!T||!T["s-nr"]){j=T;break}}E=E.previousSibling}}if(!j&&w!==b.parentNode||b.nextSibling!==j){if(b!==j){if(!b["s-hn"]&&b["s-ol"]){b["s-hn"]=b["s-ol"].parentNode.nodeName}insertBefore(w,b,j);if(b.nodeType===1){b.hidden=(a=b["s-ih"])!=null?a:false}}}b&&typeof S["s-rf"]==="function"&&S["s-rf"](b)}else{if(b.nodeType===1){if(t){b["s-ih"]=(i=b.hidden)!=null?i:false}b.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.D)}plt.o&=~1;relocateNodes.length=0}contentRef=void 0};var patchChildSlotNodes=function(e){var r=function(e){__extends(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}r.prototype.item=function(e){return this[e]};return r}(Array);var t=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");if(!t){t=Object.getOwnPropertyDescriptor(e,"childNodes")}if(t)Object.defineProperty(e,"__childNodes",t);var n=Object.getOwnPropertyDescriptor(Element.prototype,"children");if(!n){n=Object.getOwnPropertyDescriptor(e,"children")}if(n)Object.defineProperty(e,"__children",n);Object.defineProperty(e,"children",{get:function(){return this.childNodes.filter((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return this.children.length}});if(!t)return;Object.defineProperty(e,"childNodes",{get:function(){var e,t;if(!plt.o||!((e=getHostRef(this))==null?void 0:e.o)||(plt.o&1)===0&&((t=getHostRef(this))==null?void 0:t.o)&2){var n=new r;var o=getSlottedChildNodes(this.__childNodes);n.push.apply(n,o);return n}return r.from(this.__childNodes)}})};var addSlotRelocateNode=function(e,r,t,n){var o;if(e["s-ol"]&&e["s-ol"].isConnected){o=e["s-ol"]}else{o=document.createTextNode("");o["s-nr"]=e}if(!r["s-cr"]||!r["s-cr"].parentNode)return;var a=r["s-cr"].parentNode;var i=t?a.__prepend||a.prepend:a.__appendChild||a.appendChild;if(typeof n!=="undefined"){{o["s-oo"]=n;var s=a.__childNodes||a.childNodes;var u=[o];s.forEach((function(e){if(e["s-nr"])u.push(e)}));u.sort((function(e,r){if(!e["s-oo"]||e["s-oo"]<r["s-oo"])return-1;else if(!r["s-oo"]||r["s-oo"]<e["s-oo"])return 1;return 0}));u.forEach((function(e){return i.call(a,e)}))}}else{i.call(a,o)}e["s-ol"]=o;e["s-sh"]=r["s-hn"]};var getSlottedChildNodes=function(e){var r=[];for(var t=0;t<e.length;t++){var n=e[t]["s-nr"];if(n&&n.isConnected){r.push(n)}}return r};var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var initializeClientHydrate=function(e,r,t,n){var o=createTime("hydrateClient",r);var a=e.shadowRoot;var i=[];var s=[];var u=[];var l=a?[]:null;var c=newVNode(r,null);c.D=e;if(!plt.H){initializeDocumentHydrate(doc.body,plt.H=new Map)}e[HYDRATE_ID]=t;e.removeAttribute(HYDRATE_ID);n.L=clientHydrate(c,i,s,l,e,e,t,u);var f=0;var d=i.length;var v;for(f;f<d;f++){v=i[f];var p=v.V+"."+v.R;var m=plt.H.get(p);var h=v.D;if(!a){h["s-hn"]=r.toUpperCase();if(v.$==="slot"){h["s-cr"]=e["s-cr"]}}if(m&&m.isConnected){if(a&&m["s-en"]===""){m.parentNode.insertBefore(h,m.nextSibling)}m.parentNode.removeChild(m);if(!a){h["s-oo"]=parseInt(v.R)}}plt.H.delete(p)}var y=[];var b=0;var E=u.length;var g;var _;var S;var w;for(b;b<E;b++){g=u[b];if(!g||!g.length)continue;S=g.length;_=0;for(_;_<S;_++){w=g[_];if(!y[w.hostId]){y[w.hostId]=plt.H.get(w.hostId)}if(!y[w.hostId])continue;var j=y[w.hostId];if(!j.shadowRoot||!a){w.slot["s-cr"]=j["s-cr"];if(!w.slot["s-cr"]&&j.shadowRoot){w.slot["s-cr"]=j}else{var T=j.__childNodes||j.childNodes;w.slot["s-cr"]=T[0]}addSlotRelocateNode(w.node,w.slot,false,w.node["s-oo"])}if(j.shadowRoot&&w.node.parentElement!==j){j.appendChild(w.node)}}}if(a){var N=0;var k=l.length;for(N;N<k;N++){a.appendChild(l[N])}Array.from(e.childNodes).forEach((function(e){if(e.nodeType===8&&typeof e["s-sn"]!=="string"){e.parentNode.removeChild(e)}}))}n.$hostElement$=e;o()};var clientHydrate=function(e,r,t,n,o,a,i,s){if(s===void 0){s=[]}var u;var l;var c;var f;var d=o["s-sc"];if(a.nodeType===1){u=a.getAttribute(HYDRATE_CHILD_ID);if(u){l=u.split(".");if(l[0]===i||l[0]==="0"){c=createSimpleVNode({o:0,V:l[0],R:l[1],M:l[2],F:l[3],$:a.tagName.toLowerCase(),D:a,T:{class:a.className}});r.push(c);a.removeAttribute(HYDRATE_CHILD_ID);if(!e.N){e.N=[]}var v=c.D.getAttribute("s-sn");if(typeof v==="string"){if(c.$==="slot-fb"){addSlot(v,l[2],c,a,e,r,t,n,s)}c.D["s-sn"]=v;c.D.removeAttribute("s-sn")}if(c.F!==void 0){e.N[c.F]=c}if(d)a["s-si"]=d;e=c;if(n&&c.M==="0"){n[c.F]=c.D}}}if(a.shadowRoot){for(f=a.shadowRoot.childNodes.length-1;f>=0;f--){clientHydrate(e,r,t,n,o,a.shadowRoot.childNodes[f],i,s)}}var p=a.__childNodes||a.childNodes;for(f=p.length-1;f>=0;f--){clientHydrate(e,r,t,n,o,p[f],i,s)}}else if(a.nodeType===8){l=a.nodeValue.split(".");if(l[1]===i||l[1]==="0"){u=l[0];c=createSimpleVNode({V:l[1],R:l[2],M:l[3],F:l[4]||"0",D:a,T:null,N:null,k:null,C:null,$:null,j:null});if(u===TEXT_NODE_ID){c.D=a.nextSibling;if(c.D&&c.D.nodeType===3){c.j=c.D.textContent;r.push(c);a.remove();if(i===c.V){if(!e.N){e.N=[]}e.N[c.F]=c}if(n&&c.M==="0"){n[c.F]=c.D}}}else if(u===COMMENT_NODE_ID){c.D=a.nextSibling;if(c.D&&c.D.nodeType===8){r.push(c);a.remove()}}else if(c.V===i){if(u===SLOT_NODE_ID){c.$="slot";var v=a["s-sn"]=c.C=l[5]||"";addSlot(v,l[2],c,a,e,r,t,n,s)}else if(u===CONTENT_REF_ID){if(n){a.remove()}else{o["s-cr"]=a;a["s-cn"]=true}}}}}else if(e&&e.$==="style"){var m=newVNode(null,a.textContent);m.D=a;m.F="0";e.N=[m]}return e};var initializeDocumentHydrate=function(e,r){if(e.nodeType===1){var t=e[HYDRATE_ID]||e.getAttribute(HYDRATE_ID);if(t){r.set(t,e)}var n=0;if(e.shadowRoot){for(;n<e.shadowRoot.childNodes.length;n++){initializeDocumentHydrate(e.shadowRoot.childNodes[n],r)}}var o=e.__childNodes||e.childNodes;for(n=0;n<o.length;n++){initializeDocumentHydrate(o[n],r)}}else if(e.nodeType===8){var a=e.nodeValue.split(".");if(a[0]===ORG_LOCATION_ID){r.set(a[1]+"."+a[2],e);e.nodeValue="";e["s-en"]=a[3]}}};var createSimpleVNode=function(e){var r={o:0,V:null,R:null,M:null,F:"0",D:null,T:null,N:null,k:null,C:null,$:null,j:null};return __assign(__assign({},r),e)};function addSlot(e,r,t,n,o,a,i,s,u){n["s-sr"]=true;var l=(o==null?void 0:o.D)?o.D["s-id"]||o.D.getAttribute("s-id"):"";if(s){var c=t.D=doc.createElement(t.$);if(t.C){t.D.setAttribute("name",e)}if(l&&l!==t.V){o.D.insertBefore(c,o.D.children[0])}else{n.parentNode.insertBefore(t.D,n)}addSlottedNodes(u,r,e,n,t.V);n.remove();if(t.M==="0"){s[t.F]=t.D}}else{var c=t.D;var f=l&&l!==t.V&&o.D.shadowRoot;addSlottedNodes(u,r,e,n,f?l:t.V);if(f){o.D.insertBefore(c,o.D.children[0])}a.push(t)}i.push(t);if(!o.N){o.N=[]}o.N[t.F]=t}var addSlottedNodes=function(e,r,t,n,o){var a=n.nextSibling;e[r]=e[r]||[];while(a&&((a["getAttribute"]&&a.getAttribute("slot")||a["s-sn"])===t||t===""&&!a["s-sn"]&&(a.nodeType===8&&a.nodeValue.indexOf(".")!==1||a.nodeType===3))){a["s-sn"]=t;e[r].push({slot:n,node:a,hostId:o});a=a.nextSibling}};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var o=getScopeId(r);var a=styles.get(o);e=e.nodeType===11?e:doc;if(a){if(typeof a==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var s=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(o)){if(e.host&&(s=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(o,'"]')))){s.innerHTML=a}else{s=doc.createElement("style");s.innerHTML=a;var u=(n=plt.P)!=null?n:queryNonceMetaTagContent(doc);if(u!=null){s.setAttribute("nonce",u)}if(!(r.o&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var c=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,c)}else if("host"in e){if(supportsConstructableStylesheets){var f=new CSSStyleSheet;f.replaceSync(a);e.adoptedStyleSheets=__spreadArray([f],e.adoptedStyleSheets,true)}else{var d=e.querySelector("style");if(d){d.innerHTML=a+d.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(r.o&1&&e.nodeName!=="HEAD"){e.insertBefore(s,null)}}if(r.o&4){s.innerHTML+=SLOT_FB_CSS}if(i){i.add(o)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return o};var attachStyles=function(e){var r=e.i;var t=e.$hostElement$;var n=r.o;var o=createTime("attachStyles",r.h);var a=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10&&n&2){t["s-sc"]=a;t.classList.add(a+"-h");if(n&2){t.classList.add(a+"-s")}}o()};var getScopeId=function(e,r){return"sc-"+e.h};var attachToAncestor=function(e,r){if(r&&!e.B&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.B=r})))}};var scheduleUpdate=function(e,r){{e.o|=16}if(e.o&4){e.o|=512;return}attachToAncestor(e,e.U);var t=function(){return dispatchHooks(e,r)};return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.i.h);var o=e.t;if(!o){throw new Error("Can't render component <".concat(t.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(r){{e.o|=256;if(e.q){e.q.map((function(e){var r=e[0],t=e[1];return safeCall(o,r,t)}));e.q=void 0}}{a=safeCall(o,"componentWillLoad")}}{a=enqueue(a,(function(){return safeCall(o,"componentWillRender")}))}n();return enqueue(a,(function(){return updateComponent(e,o,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,o,a,i,s,u,l;return __generator(this,(function(c){o=e.$hostElement$;a=createTime("update",e.i.h);i=o["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.i.h);{callRender(e,r,o,t)}if(i){i.map((function(e){return e()}));o["s-rc"]=void 0}s();a();{u=(n=o["s-p"])!=null?n:[];l=function(){return postUpdateComponent(e)};if(u.length===0){l()}else{Promise.all(u).then(l);e.o|=4;u.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render();{e.o&=~16}{e.o|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.i.h;var t=e.$hostElement$;var n=createTime("postUpdate",r);var o=e.t;var a=e.U;{safeCall(o,"componentDidRender")}if(!(e.o&64)){e.o|=64;{addHydratedFlag(t)}{safeCall(o,"componentDidLoad")}n();{e.m(t);if(!a){appDidLoad()}}}else{{safeCall(o,"componentDidUpdate")}n()}{e.v(t)}{if(e.B){e.B();e.B=void 0}if(e.o&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.o&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e)}}return void 0};var addHydratedFlag=function(e){var r;return e.classList.add((r=BUILD.hydratedSelectorName)!=null?r:"hydrated")};var getValue=function(e,r){return getHostRef(e).u.get(r)};var setValue=function(e,r,t,n){var o=getHostRef(e);if(!o){throw new Error("Couldn't find host element for \"".concat(n.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=o.$hostElement$;var i=o.u.get(r);var s=o.o;var u=o.t;t=parsePropertyValue(t,n.Y[r][0]);var l=Number.isNaN(i)&&Number.isNaN(t);var c=t!==i&&!l;if((!(s&8)||i===void 0)&&c){o.u.set(r,t);if(u){if(n.W&&s&128){var f=n.W[r];if(f){f.map((function(e){try{u[e](t,i,r)}catch(e){consoleError(e,a)}}))}}if((s&(2|16))===2){scheduleUpdate(o,false)}}}};var proxyComponent=function(e,r,t){var n,o;var a=e.prototype;if(r.Y||(r.W||e.watchers)){if(e.watchers&&!r.W){r.W=e.watchers}var i=Object.entries((n=r.Y)!=null?n:{});i.map((function(e){var n=e[0],o=e[1][0];if(o&31||t&2&&o&32){if((o&2048)===0){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,r)},configurable:true,enumerable:true})}else if(t&1&&o&2048){{Object.defineProperty(a,n,{get:function(){var e=getHostRef(this);var r=e?e.t:a;if(!r)return;return r[n]},configurable:true,enumerable:true})}if(o&4096){var i=Object.getOwnPropertyDescriptor(a,n).set;Object.defineProperty(a,n,{set:function(e){var t=this;var o=getHostRef(this);if(i){var a=o.$hostElement$[n];if(!o.u.get(n)&&a){o.u.set(n,a)}i.apply(this,[parsePropertyValue(e,r.Y[n][0])]);setValue(this,n,o.$hostElement$[n],r);return}if(!o)return;var s=function(){var a=o.t[n];if(!o.u.get(n)&&a){o.u.set(n,a)}o.t[n]=parsePropertyValue(e,r.Y[n][0]);setValue(t,n,o.t[n],r)};if(o.t){s()}else{o.p.then((function(){return s()}))}}})}}}else if(t&1&&o&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var o=getHostRef(this);return(t=o==null?void 0:o.l)==null?void 0:t.then((function(){var r;return(r=o.t)==null?void 0:r[n].apply(r,e)}))}})}}));if(t&1){var s=new Map;a.attributeChangedCallback=function(e,t,n){var o=this;plt.jmp((function(){var i;var u=s.get(e);if(o.hasOwnProperty(u)){n=o[u];delete o[u]}else if(a.hasOwnProperty(u)&&typeof o[u]==="number"&&o[u]==n){return}else if(u==null){var l=getHostRef(o);var c=l==null?void 0:l.o;if(c&&!(c&8)&&c&128&&n!==t){var f=l.t;var d=(i=r.W)==null?void 0:i[e];d==null?void 0:d.forEach((function(r){if(f[r]!=null){f[r].call(f,n,t,e)}}))}return}var v=Object.getOwnPropertyDescriptor(a,u);if(!v.get||!!v.set){o[u]=n===null&&typeof o[u]==="boolean"?false:n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((o=r.W)!=null?o:{}),true),i.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var o;var a=n[1]||t;s.set(a,t);if(n[0]&512){(o=r.A)==null?void 0:o.push([t,a])}return a})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,o,a,i,s,u,l,c,f,d,v;return __generator(this,(function(p){switch(p.label){case 0:if(!((r.o&32)===0))return[3,6];r.o|=32;o=t._;if(!o)return[3,4];a=loadModule(t);if(!(a&&"then"in a))return[3,2];i=uniqueTime();return[4,a];case 1:n=p.sent();i();return[3,3];case 2:n=a;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(r.X,'" was not found'))}if(!n.isProxied){{t.W=n.watchers}proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t.h);{r.o|=8}try{new n(r)}catch(e){consoleError(e)}{r.o&=~8}{r.o|=128}s();fireConnectedCallback(r.t);return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return r.o|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}c=getScopeId(t);if(!styles.has(c)){f=createTime("registerStyles",t.h);registerStyle(c,l,!!(t.o&1));f()}}p.label=6;case 6:d=r.U;v=function(){return scheduleUpdate(r,true)};if(d&&d["s-rc"]){d["s-rc"].push(v)}else{v()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.o&1)===0){var r=getHostRef(e);var t=r.i;var n=createTime("connectedCallback",t.h);if(!(r.o&1)){r.o|=1;var o=void 0;{o=e.getAttribute(HYDRATE_ID);if(o){if(t.o&1){var a=addStyle(e.shadowRoot,t);e.classList.remove(a+"-h",a+"-s")}else if(t.o&2){var a=getScopeId(t);e["s-sc"]=a}initializeClientHydrate(e,t.h,o,r)}}if(!o){if(t.o&(4|8)){setContentReference(e)}}{var i=e;while(i=i.parentNode||i.host){if(i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){attachToAncestor(r,r.U=i);break}}}if(t.Y){Object.entries(t.Y).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var o=e[t];delete e[t];e[t]=o}}))}{nextTick((function(){return initializeComponent(e,r,t)}))}}else{addHostEventListeners(e,r,t.G);if(r==null?void 0:r.t){fireConnectedCallback(r.t)}else if(r==null?void 0:r.p){r.p.then((function(){return fireConnectedCallback(r.t)}))}}n()}};var setContentReference=function(e){var r=e["s-cr"]=doc.createComment("");r["s-cn"]=true;insertBefore(e,r,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.o&1)===0){r=getHostRef(e);{if(r.K){r.K.map((function(e){return e()}));r.K=void 0}}if(r==null?void 0:r.t){disconnectInstance(r.t)}else if(r==null?void 0:r.p){r.p.then((function(){return disconnectInstance(r.t)}))}}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;var n=createTime();var o=[];var a=r.exclude||[];var i=win.customElements;var s=doc.head;var u=s.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var f;var d=true;Object.assign(plt,r);plt.S=new URL(r.resourcesUrl||"./",doc.baseURI).href;{plt.o|=2}var v=false;e.map((function(e){e[1].map((function(r){var t;var n={o:r[0],h:r[1],Y:r[2],G:r[3]};if(n.o&4){v=true}{n.Y=r[2]}{n.G=r[3]}{n.A=[]}{n.W=(t=r[4])!=null?t:{}}var s=n.h;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;registerHost(r,n);if(n.o&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open",delegatesFocus:!!(n.o&16)})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.h,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;var r=getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,r,n.G)}if(f){clearTimeout(f);f=null}if(d){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};r.prototype.componentOnReady=function(){return getHostRef(this).p};return r}(HTMLElement);{{patchChildSlotNodes(u.prototype)}}n._=e[0];if(!a.includes(s)&&!i.get(s)){o.push(s);i.define(s,proxyComponent(u,n,1))}}))}));if(o.length>0){if(v){l.textContent+=SLOT_FB_CSS}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(t=plt.P)!=null?t:queryNonceMetaTagContent(doc);if(p!=null){l.setAttribute("nonce",p)}s.insertBefore(l,u?u.nextSibling:s.firstChild)}}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,r){return r};var addHostEventListeners=function(e,r,t,n){if(t){t.map((function(t){var n=t[0],o=t[1],a=t[2];var i=getHostListenerTarget(e,n);var s=hostListenerProxy(r,a);var u=hostListenerOpts(n);plt.ael(i,o,s,u);(r.K=r.K||[]).push((function(){return plt.rel(i,o,s,u)}))}))}};var hostListenerProxy=function(e,r){return function(t){var n;try{{if(e.o&256){(n=e.t)==null?void 0:n[r](t)}else{(e.q=e.q||[]).push([r,t])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,r){if(r&4)return doc;if(r&8)return win;if(r&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.P=e};export{Build as B,Env as E,Fragment as F,Host as H,NAMESPACE as N,bootstrapLazy as b,createEvent as c,doc as d,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var inheritGlobalTheme=function(e){var t,a;var i=(a=(t=document.documentElement.attributes.getNamedItem("class"))===null||t===void 0?void 0:t.value)!==null&&a!==void 0?a:"";var r=/(duet-theme-)([a-z0-9]*)/gi.exec(i);if(r&&r[1]==="duet-theme-"){if(r[2]==="turva2"){e.theme="turva";if(e.element){e.element.classList.add("duet-theme-turva2")}return}e.theme=r[2]==="default"?"":r[2]}};export{inheritGlobalTheme as i};