@duetds/components 9.17.0 → 9.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (936) hide show
  1. package/hydrate/index.js +522 -230
  2. package/lib/cjs/{a11y-utils-3f03a649.js → a11y-utils-27715462.js} +1 -1
  3. package/lib/cjs/{app-globals-ec84cf84.js → app-globals-a6c4e8f5.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
  5. package/lib/cjs/duet-alert.cjs.entry.js +11 -17
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +17 -10
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +17 -15
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  13. package/lib/cjs/duet-card.cjs.entry.js +13 -10
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -14
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
  30. package/lib/cjs/duet-header_2.cjs.entry.js +10 -9
  31. package/lib/cjs/duet-hero.cjs.entry.js +17 -10
  32. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-indicator.cjs.entry.js +9 -4
  34. package/lib/cjs/duet-input_2.cjs.entry.js +8 -8
  35. package/lib/cjs/duet-layout.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +18 -8
  47. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  51. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +9 -9
  54. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +9 -8
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -13
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  64. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +8 -6
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -13
  69. package/lib/cjs/duet-slideout.cjs.entry.js +12 -11
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -6
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-42b43a15.js → errorcodes.utils-7e221216.js} +1 -1
  92. package/lib/cjs/{focus-utils-c047d67f.js → focus-utils-6d8d093e.js} +1 -1
  93. package/lib/cjs/{index-a23bb130.js → index-1044eab0.js} +1 -1
  94. package/lib/cjs/{language-utils-ebd2e191.js → language-utils-b3314f13.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-628154c1.js → slot-utils-0ce4686e.js} +6 -1
  97. package/lib/cjs/{themeable-component-7637c899.js → themeable-component-3f7d616d.js} +1 -1
  98. package/lib/cjs/{token-utils-c73ca50c.js → token-utils-955dd258.js} +37 -37
  99. package/lib/cjs/{tokens-22702e71.js → tokens-bdaa8818.js} +144 -0
  100. package/lib/cjs/{tokens.module-a7c77c13.js → tokens.module-2358195b.js} +96 -0
  101. package/lib/collection/components/duet-action-button/duet-action-button.css +18 -20
  102. package/lib/collection/components/duet-alert/duet-alert.css +12 -23
  103. package/lib/collection/components/duet-alert/duet-alert.js +16 -16
  104. package/lib/collection/components/duet-badge/duet-badge.css +15 -12
  105. package/lib/collection/components/duet-banner/duet-banner.css +30 -32
  106. package/lib/collection/components/duet-banner/duet-banner.js +30 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +9 -7
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
  109. package/lib/collection/components/duet-button/duet-button.css +85 -60
  110. package/lib/collection/components/duet-callout/duet-callout.css +3 -3
  111. package/lib/collection/components/duet-caption/duet-caption.css +4 -4
  112. package/lib/collection/components/duet-card/duet-card.css +28 -18
  113. package/lib/collection/components/duet-card/duet-card.js +26 -4
  114. package/lib/collection/components/duet-checkbox/duet-checkbox.css +22 -12
  115. package/lib/collection/components/duet-chip/duet-chip.css +36 -28
  116. package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
  117. package/lib/collection/components/duet-choice/duet-choice.css +58 -53
  118. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  119. package/lib/collection/components/duet-collapsible/duet-collapsible.css +29 -14
  120. package/lib/collection/components/duet-collapsible/duet-collapsible.js +14 -10
  121. package/lib/collection/components/duet-combobox/duet-combobox.css +4 -4
  122. package/lib/collection/components/duet-contact-card/duet-contact-card.css +5 -5
  123. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +15 -15
  124. package/lib/collection/components/duet-date-picker/duet-date-picker.css +71 -51
  125. package/lib/collection/components/duet-divider/duet-divider.css +5 -5
  126. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  127. package/lib/collection/components/duet-empty-state/duet-empty-state.css +8 -8
  128. package/lib/collection/components/duet-fieldset/duet-fieldset.css +7 -7
  129. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  130. package/lib/collection/components/duet-footer/duet-footer.css +33 -19
  131. package/lib/collection/components/duet-footer/duet-footer.js +1 -1
  132. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  133. package/lib/collection/components/duet-grid/duet-grid.js +4 -3
  134. package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -3
  135. package/lib/collection/components/duet-header/duet-header.css +116 -88
  136. package/lib/collection/components/duet-heading/duet-heading.css +7 -7
  137. package/lib/collection/components/duet-hero/duet-hero.css +27 -24
  138. package/lib/collection/components/duet-hero/duet-hero.js +31 -5
  139. package/lib/collection/components/duet-icon/duet-icon.css +7 -7
  140. package/lib/collection/components/duet-indicator/duet-indicator.css +8 -4
  141. package/lib/collection/components/duet-indicator/duet-indicator.js +32 -1
  142. package/lib/collection/components/duet-input/duet-input.css +78 -81
  143. package/lib/collection/components/duet-label/duet-label.css +5 -5
  144. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  145. package/lib/collection/components/duet-link/duet-link.css +27 -24
  146. package/lib/collection/components/duet-list/duet-list.css +4 -4
  147. package/lib/collection/components/duet-list-item/duet-list-item.css +10 -10
  148. package/lib/collection/components/duet-logo/duet-logo.css +19 -8
  149. package/lib/collection/components/duet-logo/duet-logo.js +2 -1
  150. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -13
  151. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +12 -9
  152. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +19 -16
  153. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +13 -10
  154. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +17 -14
  155. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +16 -13
  156. package/lib/collection/components/duet-modal/duet-modal.css +13 -13
  157. package/lib/collection/components/duet-modal/duet-modal.js +2 -2
  158. package/lib/collection/components/duet-multiselect/duet-multiselect.css +49 -38
  159. package/lib/collection/components/duet-nav/duet-nav.css +4 -4
  160. package/lib/collection/components/duet-notification/duet-notification.css +18 -16
  161. package/lib/collection/components/duet-notification/duet-notification.js +9 -2
  162. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +30 -26
  163. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
  164. package/lib/collection/components/duet-number-input/duet-number-input.css +23 -15
  165. package/lib/collection/components/duet-overlay/duet-overlay.css +2 -2
  166. package/lib/collection/components/duet-page-heading/duet-page-heading.css +9 -9
  167. package/lib/collection/components/duet-pagination/duet-pagination.css +5 -5
  168. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  169. package/lib/collection/components/duet-panel/duet-panel.css +8 -9
  170. package/lib/collection/components/duet-paragraph/duet-paragraph.css +9 -9
  171. package/lib/collection/components/duet-phone-input/duet-phone-input.css +8 -5
  172. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +7 -7
  173. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +23 -15
  174. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  175. package/lib/collection/components/duet-progress/duet-progress.css +14 -14
  176. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  177. package/lib/collection/components/duet-promo-card/duet-promo-card.js +22 -2
  178. package/lib/collection/components/duet-radio/duet-radio.css +28 -15
  179. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  180. package/lib/collection/components/duet-range-slider/duet-range-slider.css +36 -28
  181. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +5 -5
  182. package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -20
  183. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  184. package/lib/collection/components/duet-select/duet-select.css +39 -31
  185. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  186. package/lib/collection/components/duet-share-chart/duet-share-chart.css +5 -5
  187. package/lib/collection/components/duet-show-more/duet-show-more.css +13 -10
  188. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  189. package/lib/collection/components/duet-slideout/duet-slideout.css +29 -32
  190. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -3
  191. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +5 -5
  192. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +14 -11
  193. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +34 -25
  194. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +7 -5
  195. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +20 -20
  196. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +5 -3
  197. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  198. package/lib/collection/components/duet-spinner/duet-spinner.css +9 -18
  199. package/lib/collection/components/duet-spinner/duet-spinner.js +15 -15
  200. package/lib/collection/components/duet-step/duet-step.css +17 -15
  201. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  202. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +23 -23
  203. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +24 -21
  204. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +16 -13
  205. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -17
  206. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +19 -16
  207. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  208. package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -37
  209. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -4
  210. package/lib/collection/components/duet-table/duet-table.css +21 -18
  211. package/lib/collection/components/duet-textarea/duet-textarea.css +41 -31
  212. package/lib/collection/components/duet-toggle/duet-toggle.css +14 -9
  213. package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
  214. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  215. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +20 -17
  216. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +14 -11
  217. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -21
  218. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  219. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +23 -15
  220. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +19 -16
  221. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +32 -25
  222. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +4 -1
  223. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  224. package/lib/collection/components/duet-tray/duet-tray.css +36 -32
  225. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  226. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  227. package/lib/collection/utils/slot-utils.js +4 -0
  228. package/lib/collection/utils/turva2-color-tokens.js +36 -36
  229. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  230. package/lib/dist-custom-elements/duet-alert.js +1 -1
  231. package/lib/dist-custom-elements/duet-badge.js +1 -1
  232. package/lib/dist-custom-elements/duet-banner.js +18 -10
  233. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  234. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  235. package/lib/dist-custom-elements/duet-button.js +1 -1
  236. package/lib/dist-custom-elements/duet-callout.js +4 -4
  237. package/lib/dist-custom-elements/duet-caption.js +1 -1
  238. package/lib/dist-custom-elements/duet-card.js +14 -10
  239. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  240. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  241. package/lib/dist-custom-elements/duet-chip.js +1 -1
  242. package/lib/dist-custom-elements/duet-choice-group.js +10 -10
  243. package/lib/dist-custom-elements/duet-choice.js +6 -6
  244. package/lib/dist-custom-elements/duet-collapsible.js +18 -15
  245. package/lib/dist-custom-elements/duet-combobox.js +17 -17
  246. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  247. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  248. package/lib/dist-custom-elements/duet-date-picker.js +15 -15
  249. package/lib/dist-custom-elements/duet-divider.js +1 -1
  250. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  251. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  252. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  253. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  254. package/lib/dist-custom-elements/duet-footer.js +10 -10
  255. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  256. package/lib/dist-custom-elements/duet-grid.js +1 -1
  257. package/lib/dist-custom-elements/duet-header.js +11 -11
  258. package/lib/dist-custom-elements/duet-heading.js +1 -1
  259. package/lib/dist-custom-elements/duet-hero.js +24 -16
  260. package/lib/dist-custom-elements/duet-icon.js +1 -1
  261. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  262. package/lib/dist-custom-elements/duet-input.js +1 -1
  263. package/lib/dist-custom-elements/duet-label.js +1 -1
  264. package/lib/dist-custom-elements/duet-layout.js +3 -3
  265. package/lib/dist-custom-elements/duet-link.js +1 -1
  266. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  267. package/lib/dist-custom-elements/duet-list.js +1 -1
  268. package/lib/dist-custom-elements/duet-logo.js +1 -1
  269. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  270. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  271. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  272. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  273. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  274. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  275. package/lib/dist-custom-elements/duet-modal.js +13 -13
  276. package/lib/dist-custom-elements/duet-multiselect.js +11 -11
  277. package/lib/dist-custom-elements/duet-nav.js +2 -2
  278. package/lib/dist-custom-elements/duet-notification-drawer.js +11 -8
  279. package/lib/dist-custom-elements/duet-notification.js +13 -6
  280. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  281. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  282. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  283. package/lib/dist-custom-elements/duet-pagination.js +26 -26
  284. package/lib/dist-custom-elements/duet-panel.js +2 -2
  285. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  286. package/lib/dist-custom-elements/duet-phone-input.js +18 -18
  287. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  288. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  289. package/lib/dist-custom-elements/duet-progress.js +1 -1
  290. package/lib/dist-custom-elements/duet-promo-card.js +10 -8
  291. package/lib/dist-custom-elements/duet-radio-group.js +10 -10
  292. package/lib/dist-custom-elements/duet-radio.js +2 -2
  293. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  294. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  295. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  296. package/lib/dist-custom-elements/duet-section-layout.js +2 -2
  297. package/lib/dist-custom-elements/duet-select.js +1 -1
  298. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  299. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  300. package/lib/dist-custom-elements/duet-share-chart.js +5 -5
  301. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  302. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  303. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  304. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -6
  305. package/lib/dist-custom-elements/duet-slideout-panel.js +14 -12
  306. package/lib/dist-custom-elements/duet-slideout.js +10 -9
  307. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  308. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  309. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  310. package/lib/dist-custom-elements/duet-step.js +5 -5
  311. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  312. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  313. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  314. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  315. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  316. package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
  317. package/lib/dist-custom-elements/duet-tab-group.js +14 -13
  318. package/lib/dist-custom-elements/duet-tab.js +3 -3
  319. package/lib/dist-custom-elements/duet-table.js +1 -1
  320. package/lib/dist-custom-elements/duet-textarea.js +12 -12
  321. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  322. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  323. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  324. package/lib/dist-custom-elements/duet-toolbar-item.js +9 -9
  325. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  326. package/lib/dist-custom-elements/duet-toolbar.js +4 -4
  327. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  328. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  329. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  330. package/lib/dist-custom-elements/duet-tray.js +5 -5
  331. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  332. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  333. package/lib/dist-custom-elements/duet-upload.js +21 -21
  334. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  335. package/lib/dist-custom-elements/index.js +1 -1
  336. package/lib/dist-custom-elements/{p-f90dc0c0.js → p-0b65a85b.js} +12 -12
  337. package/lib/dist-custom-elements/{p-314fe903.js → p-0ba28ed9.js} +5 -5
  338. package/lib/dist-custom-elements/p-0c92061d.js +66 -0
  339. package/lib/dist-custom-elements/{p-7b1d0747.js → p-1f32b9fd.js} +8 -5
  340. package/lib/dist-custom-elements/{p-b0f1b267.js → p-27b0790d.js} +2 -2
  341. package/lib/dist-custom-elements/{p-a1e9e10b.js → p-318f7157.js} +5 -5
  342. package/lib/dist-custom-elements/{p-80451d58.js → p-36daddcc.js} +10 -10
  343. package/lib/dist-custom-elements/{p-a1ec8b34.js → p-370b0653.js} +1 -1
  344. package/lib/dist-custom-elements/{p-858e92f7.js → p-388d3f27.js} +3 -3
  345. package/lib/dist-custom-elements/{p-414a9cf3.js → p-4d81562b.js} +7 -7
  346. package/lib/dist-custom-elements/{p-e2596bcf.js → p-4e7c6547.js} +3 -3
  347. package/lib/dist-custom-elements/{p-24702026.js → p-586d4e77.js} +2 -2
  348. package/lib/dist-custom-elements/{p-474d3bfc.js → p-58dd40d8.js} +2 -2
  349. package/lib/dist-custom-elements/{p-ad548c39.js → p-59668efb.js} +3 -3
  350. package/lib/dist-custom-elements/{p-b678c2ea.js → p-6611bb3c.js} +7 -7
  351. package/lib/dist-custom-elements/p-67617261.js +78 -0
  352. package/lib/dist-custom-elements/{p-3fe34e20.js → p-6b2617d7.js} +2 -2
  353. package/lib/dist-custom-elements/{p-a0a4aa34.js → p-6b642a0f.js} +2 -2
  354. package/lib/dist-custom-elements/{p-a69b6577.js → p-6bde0f88.js} +2 -2
  355. package/lib/dist-custom-elements/{p-ec992e6a.js → p-6ca748e5.js} +3 -3
  356. package/lib/dist-custom-elements/{p-197ff38c.js → p-6cc7b04f.js} +2 -2
  357. package/lib/dist-custom-elements/{p-a6e34cfd.js → p-6e61da36.js} +3 -3
  358. package/lib/dist-custom-elements/{p-a81fd33c.js → p-71176ae5.js} +3 -3
  359. package/lib/dist-custom-elements/{p-04b7c053.js → p-738df69f.js} +2 -2
  360. package/lib/dist-custom-elements/{p-bf4a60a5.js → p-73cfbf89.js} +5 -4
  361. package/lib/dist-custom-elements/p-822a3658.js +221 -0
  362. package/lib/dist-custom-elements/{p-5e60533d.js → p-9ee646c7.js} +2 -2
  363. package/lib/dist-custom-elements/{p-16e2a02e.js → p-a10e2105.js} +3 -3
  364. package/lib/dist-custom-elements/{p-96c4a294.js → p-a5acdbd1.js} +4 -4
  365. package/lib/dist-custom-elements/{p-54c30917.js → p-b3c2ecbc.js} +3 -3
  366. package/lib/dist-custom-elements/{p-a92010cb.js → p-bc5d9435.js} +14 -14
  367. package/lib/dist-custom-elements/{p-4019d212.js → p-bebe4e35.js} +6 -5
  368. package/lib/dist-custom-elements/{p-78b6337a.js → p-c224f527.js} +37 -37
  369. package/lib/dist-custom-elements/{p-6f42296b.js → p-c936343b.js} +96 -0
  370. package/lib/dist-custom-elements/{p-eb60efcc.js → p-c972a96e.js} +144 -0
  371. package/lib/dist-custom-elements/{p-5fa530e0.js → p-caaa84e9.js} +5 -5
  372. package/lib/dist-custom-elements/{p-5251b6f3.js → p-d62457b3.js} +11 -5
  373. package/lib/dist-custom-elements/{p-7937b6b8.js → p-da422056.js} +4 -4
  374. package/lib/dist-custom-elements/{p-9ffaf6b5.js → p-de31461b.js} +10 -10
  375. package/lib/dist-custom-elements/{p-fedfd826.js → p-e14bb6cb.js} +2 -2
  376. package/lib/dist-custom-elements/{p-6a3c8021.js → p-e3318f50.js} +3 -3
  377. package/lib/dist-custom-elements/p-e89676de.js +318 -0
  378. package/lib/dist-custom-elements/{p-e772674e.js → p-ed52e0d3.js} +3 -3
  379. package/lib/dist-custom-elements/{p-3875b690.js → p-f407268e.js} +7 -7
  380. package/lib/dist-custom-elements/{p-1e3171d9.js → p-f8d1e874.js} +1 -1
  381. package/lib/dist-custom-elements/{p-f21662ea.js → p-fe478fac.js} +5 -1
  382. package/lib/duet/duet.esm.js +1 -1
  383. package/lib/duet/duet.js +1 -1
  384. package/lib/duet/p-00fdc8a5.entry.js +4 -0
  385. package/lib/duet/p-0353b07b.entry.js +4 -0
  386. package/lib/duet/p-0407196d.system.entry.js +4 -0
  387. package/lib/duet/{p-e177046c.system.entry.js → p-04608f57.system.entry.js} +1 -1
  388. package/lib/duet/p-06317021.system.entry.js +4 -0
  389. package/lib/duet/{p-badd028d.system.entry.js → p-0738c052.system.entry.js} +1 -1
  390. package/lib/duet/{p-8ab631e7.entry.js → p-074c91c7.entry.js} +1 -1
  391. package/lib/duet/p-0834979e.entry.js +4 -0
  392. package/lib/duet/{p-2436f107.system.js → p-083738b6.system.js} +1 -1
  393. package/lib/duet/{p-bf2ef446.system.entry.js → p-087cfec4.system.entry.js} +1 -1
  394. package/lib/duet/p-0932bf00.system.entry.js +4 -0
  395. package/lib/duet/{p-1f4fc545.system.js → p-0db56130.system.js} +1 -1
  396. package/lib/duet/p-0dda51a5.system.entry.js +4 -0
  397. package/lib/duet/{p-94b4498f.system.entry.js → p-0eff2032.system.entry.js} +1 -1
  398. package/lib/duet/p-0fb9f963.system.entry.js +4 -0
  399. package/lib/duet/p-0fd2949d.entry.js +4 -0
  400. package/lib/duet/p-10190357.entry.js +4 -0
  401. package/lib/duet/p-1122796e.entry.js +4 -0
  402. package/lib/duet/p-117a0379.system.entry.js +4 -0
  403. package/lib/duet/p-14ac8312.entry.js +4 -0
  404. package/lib/duet/p-1853a8d1.system.entry.js +4 -0
  405. package/lib/duet/{p-e5f8e365.system.entry.js → p-1a8ef4df.system.entry.js} +1 -1
  406. package/lib/duet/p-1aabfaed.entry.js +4 -0
  407. package/lib/duet/{p-76503ac9.system.js → p-1f5071fd.system.js} +1 -1
  408. package/lib/duet/p-20da5e5e.entry.js +4 -0
  409. package/lib/duet/p-22a0d711.entry.js +4 -0
  410. package/lib/duet/{p-3f42d7b1.system.js → p-22b9e7b9.system.js} +1 -1
  411. package/lib/duet/p-23a14a5a.system.entry.js +4 -0
  412. package/lib/duet/p-27e23edc.system.entry.js +4 -0
  413. package/lib/duet/p-2a2a7f85.js +4 -0
  414. package/lib/duet/p-2e209e01.system.entry.js +4 -0
  415. package/lib/duet/{p-663ffd9a.system.entry.js → p-30528008.system.entry.js} +1 -1
  416. package/lib/duet/p-31492c23.system.entry.js +4 -0
  417. package/lib/duet/p-3164c809.system.entry.js +4 -0
  418. package/lib/duet/{p-e14eece2.entry.js → p-31dc3df9.entry.js} +1 -1
  419. package/lib/duet/{p-fa24fae9.system.entry.js → p-33c2b5bc.system.entry.js} +1 -1
  420. package/lib/duet/p-342c967e.system.entry.js +4 -0
  421. package/lib/duet/p-343ed54b.system.entry.js +4 -0
  422. package/lib/duet/p-36678b00.entry.js +4 -0
  423. package/lib/duet/p-36f85144.entry.js +4 -0
  424. package/lib/duet/{p-293e9e27.system.entry.js → p-370d2601.system.entry.js} +1 -1
  425. package/lib/duet/p-3815b0dd.system.entry.js +4 -0
  426. package/lib/duet/p-38fb1743.entry.js +4 -0
  427. package/lib/duet/p-396f0210.system.entry.js +4 -0
  428. package/lib/duet/p-3a134c72.entry.js +4 -0
  429. package/lib/duet/{p-53e6e1da.js → p-3b2e4c1d.js} +1 -1
  430. package/lib/duet/p-3c009b49.entry.js +4 -0
  431. package/lib/duet/p-3c312b08.entry.js +4 -0
  432. package/lib/duet/p-3c8067bd.entry.js +4 -0
  433. package/lib/duet/{p-496f50a3.entry.js → p-3ebd766d.entry.js} +1 -1
  434. package/lib/duet/p-3f85b6e1.system.entry.js +4 -0
  435. package/lib/duet/p-3fbd1e41.entry.js +4 -0
  436. package/lib/duet/p-403c3143.system.entry.js +4 -0
  437. package/lib/duet/{p-da1d7e82.entry.js → p-42fc2f19.entry.js} +1 -1
  438. package/lib/duet/p-43bbba35.system.js +4 -0
  439. package/lib/duet/{p-dfe1b2d2.entry.js → p-44a37072.entry.js} +1 -1
  440. package/lib/duet/p-451c3aab.system.entry.js +4 -0
  441. package/lib/duet/p-454d2e52.entry.js +4 -0
  442. package/lib/duet/{p-dbb01db7.entry.js → p-457b0314.entry.js} +1 -1
  443. package/lib/duet/{p-87097e7a.system.entry.js → p-47387024.system.entry.js} +1 -1
  444. package/lib/duet/p-47853cbb.entry.js +4 -0
  445. package/lib/duet/p-4af8fdc9.entry.js +4 -0
  446. package/lib/duet/p-4d6d92ad.system.entry.js +4 -0
  447. package/lib/duet/{p-f6f1463b.entry.js → p-4f10a6a2.entry.js} +1 -1
  448. package/lib/duet/p-5162f6cd.entry.js +4 -0
  449. package/lib/duet/p-5173ee52.system.entry.js +4 -0
  450. package/lib/duet/p-522ea2bc.system.entry.js +4 -0
  451. package/lib/duet/p-52a20f17.entry.js +4 -0
  452. package/lib/duet/p-52ea64b7.entry.js +4 -0
  453. package/lib/duet/p-542e6df7.system.entry.js +4 -0
  454. package/lib/duet/p-544af526.entry.js +4 -0
  455. package/lib/duet/p-55bbe82e.system.entry.js +4 -0
  456. package/lib/duet/{p-bd89ee4c.system.entry.js → p-567e98c3.system.entry.js} +1 -1
  457. package/lib/duet/p-568074aa.system.entry.js +4 -0
  458. package/lib/duet/p-5a366583.entry.js +4 -0
  459. package/lib/duet/p-5a8d14bf.system.entry.js +4 -0
  460. package/lib/duet/p-5b3f7cac.system.entry.js +4 -0
  461. package/lib/duet/{p-6a768ba8.system.entry.js → p-5bdebddc.system.entry.js} +1 -1
  462. package/lib/duet/p-5d338cf8.entry.js +4 -0
  463. package/lib/duet/{p-a6944360.system.entry.js → p-5e747ef8.system.entry.js} +1 -1
  464. package/lib/duet/p-5f1353eb.system.entry.js +4 -0
  465. package/lib/duet/p-5fc75c92.entry.js +4 -0
  466. package/lib/duet/p-614797cd.system.entry.js +4 -0
  467. package/lib/duet/p-62065bae.entry.js +4 -0
  468. package/lib/duet/p-64766118.js +4 -0
  469. package/lib/duet/p-654d2c52.entry.js +4 -0
  470. package/lib/duet/p-67acb8a1.entry.js +4 -0
  471. package/lib/duet/{p-05cdcf47.system.entry.js → p-696e260a.system.entry.js} +1 -1
  472. package/lib/duet/{p-d384c9b0.entry.js → p-6a74bdc7.entry.js} +1 -1
  473. package/lib/duet/p-6b3b79fe.system.entry.js +4 -0
  474. package/lib/duet/p-6daf8a1b.js +4 -0
  475. package/lib/duet/p-6ec70ae7.system.entry.js +4 -0
  476. package/lib/duet/p-73c92818.system.entry.js +4 -0
  477. package/lib/duet/p-74a07533.system.entry.js +4 -0
  478. package/lib/duet/{p-a2b06e6c.system.entry.js → p-78fd95ce.system.entry.js} +1 -1
  479. package/lib/duet/p-799ca114.entry.js +4 -0
  480. package/lib/duet/{p-33700431.system.entry.js → p-7a2bb47e.system.entry.js} +1 -1
  481. package/lib/duet/p-7a9b2555.system.entry.js +4 -0
  482. package/lib/duet/p-801de8a1.js +4 -0
  483. package/lib/duet/{p-ceb58878.entry.js → p-858e5593.entry.js} +1 -1
  484. package/lib/duet/p-8693fac0.system.entry.js +4 -0
  485. package/lib/duet/{p-b28604f2.entry.js → p-8e150d9e.entry.js} +1 -1
  486. package/lib/duet/{p-ddf20691.system.js → p-8e1def15.system.js} +1 -1
  487. package/lib/duet/p-8f38dd1f.entry.js +4 -0
  488. package/lib/duet/{p-3294a767.entry.js → p-8f63f345.entry.js} +1 -1
  489. package/lib/duet/{p-581391e8.entry.js → p-8fe4c3f3.entry.js} +1 -1
  490. package/lib/duet/p-912d1e35.entry.js +4 -0
  491. package/lib/duet/p-9148808e.entry.js +4 -0
  492. package/lib/duet/p-9309d30f.system.entry.js +4 -0
  493. package/lib/duet/{p-c97abf64.entry.js → p-94421fff.entry.js} +1 -1
  494. package/lib/duet/p-9461adf1.system.entry.js +4 -0
  495. package/lib/duet/p-94f50cf0.system.entry.js +4 -0
  496. package/lib/duet/p-96c0a423.system.entry.js +4 -0
  497. package/lib/duet/p-9718c106.js +4 -0
  498. package/lib/duet/p-975a3215.system.entry.js +4 -0
  499. package/lib/duet/p-987df55c.system.entry.js +4 -0
  500. package/lib/duet/p-9b7e8ab5.system.entry.js +4 -0
  501. package/lib/duet/{p-f183abd6.system.js → p-9d6c1403.system.js} +1 -1
  502. package/lib/duet/p-9d8ac94e.entry.js +4 -0
  503. package/lib/duet/p-9d9457bf.js +4 -0
  504. package/lib/duet/p-9e34f749.system.entry.js +4 -0
  505. package/lib/duet/p-9f79df76.system.entry.js +4 -0
  506. package/lib/duet/{p-ca32f459.js → p-9fe69b29.js} +1 -1
  507. package/lib/duet/p-a081ba40.system.entry.js +4 -0
  508. package/lib/duet/p-a44bb8ed.system.entry.js +4 -0
  509. package/lib/duet/p-a4a80b80.system.entry.js +4 -0
  510. package/lib/duet/{p-1f9e01ca.entry.js → p-a723ed36.entry.js} +1 -1
  511. package/lib/duet/p-a8e575f2.entry.js +4 -0
  512. package/lib/duet/{p-7c11a214.system.entry.js → p-ab5a725f.system.entry.js} +1 -1
  513. package/lib/duet/{p-a9c973e2.entry.js → p-ac04269e.entry.js} +1 -1
  514. package/lib/duet/{p-3a36c86a.entry.js → p-ae0f818b.entry.js} +1 -1
  515. package/lib/duet/p-ae0fd651.entry.js +4 -0
  516. package/lib/duet/p-b111d93d.system.entry.js +4 -0
  517. package/lib/duet/p-b2121bec.entry.js +4 -0
  518. package/lib/duet/p-b259aa2e.entry.js +4 -0
  519. package/lib/duet/p-b70a5218.system.entry.js +4 -0
  520. package/lib/duet/{p-ae898815.entry.js → p-b786f573.entry.js} +1 -1
  521. package/lib/duet/p-b81ac5ae.system.js +4 -0
  522. package/lib/duet/p-b8688298.entry.js +4 -0
  523. package/lib/duet/p-b8789b13.system.entry.js +4 -0
  524. package/lib/duet/{p-b4bdd169.entry.js → p-ba9b82ac.entry.js} +1 -1
  525. package/lib/duet/p-bb6c5d9b.entry.js +4 -0
  526. package/lib/duet/p-c311a973.entry.js +4 -0
  527. package/lib/duet/p-c45a6eb5.entry.js +4 -0
  528. package/lib/duet/{p-d5ddd427.system.entry.js → p-c6b3efe7.system.entry.js} +1 -1
  529. package/lib/duet/p-c88bd45b.system.js +4 -0
  530. package/lib/duet/p-c972a96e.js +4 -0
  531. package/lib/duet/p-cbe272ff.system.entry.js +4 -0
  532. package/lib/duet/p-cc300171.system.entry.js +4 -0
  533. package/lib/duet/{p-23e07f62.entry.js → p-cd94ea4d.entry.js} +1 -1
  534. package/lib/duet/p-d0799d89.entry.js +4 -0
  535. package/lib/duet/p-d0dbbd18.entry.js +4 -0
  536. package/lib/duet/p-d20c3b70.entry.js +4 -0
  537. package/lib/duet/p-d21f9230.system.js +4 -0
  538. package/lib/duet/p-d40c555f.system.entry.js +4 -0
  539. package/lib/duet/{p-4d453e20.entry.js → p-d51bbbc5.entry.js} +1 -1
  540. package/lib/duet/p-d5fca58a.entry.js +4 -0
  541. package/lib/duet/{p-a270142b.system.entry.js → p-d647ee04.system.entry.js} +1 -1
  542. package/lib/duet/{p-ed759aeb.system.entry.js → p-d838a9ab.system.entry.js} +1 -1
  543. package/lib/duet/p-d9a48ce2.system.entry.js +4 -0
  544. package/lib/duet/p-da0d4e53.system.entry.js +4 -0
  545. package/lib/duet/p-db0ba7b6.system.js +4 -0
  546. package/lib/duet/{p-9d8190ef.entry.js → p-db94518e.entry.js} +1 -1
  547. package/lib/duet/p-dbe544da.system.entry.js +4 -0
  548. package/lib/duet/p-dc52f8b3.entry.js +4 -0
  549. package/lib/duet/p-de665458.entry.js +4 -0
  550. package/lib/duet/{p-4bb73342.entry.js → p-df475aba.entry.js} +1 -1
  551. package/lib/duet/p-e42f6025.system.entry.js +4 -0
  552. package/lib/duet/{p-cbf98d67.entry.js → p-e4695812.entry.js} +1 -1
  553. package/lib/duet/{p-b348dd23.entry.js → p-e4819f63.entry.js} +1 -1
  554. package/lib/duet/p-e59c5a32.system.js +4 -0
  555. package/lib/duet/p-e6f0be75.entry.js +4 -0
  556. package/lib/duet/{p-c6b55245.entry.js → p-e7ee0ec6.entry.js} +1 -1
  557. package/lib/duet/{p-1070bd45.entry.js → p-e919fa07.entry.js} +1 -1
  558. package/lib/duet/{p-e58784e3.entry.js → p-ebb705ea.entry.js} +1 -1
  559. package/lib/duet/p-ebfbee15.system.entry.js +4 -0
  560. package/lib/duet/p-ef3c6cfe.system.entry.js +4 -0
  561. package/lib/duet/p-f051365a.system.entry.js +4 -0
  562. package/lib/duet/p-f0a6103e.js +5 -0
  563. package/lib/duet/{p-1adddd5f.entry.js → p-f1cd0117.entry.js} +1 -1
  564. package/lib/duet/{p-c2a4fdd4.entry.js → p-f428124a.entry.js} +1 -1
  565. package/lib/duet/p-f67270bc.entry.js +4 -0
  566. package/lib/duet/p-f744061c.system.entry.js +4 -0
  567. package/lib/duet/p-f856fc6d.system.entry.js +4 -0
  568. package/lib/duet/p-f8a583d7.system.entry.js +4 -0
  569. package/lib/duet/p-f8a8bf99.system.entry.js +4 -0
  570. package/lib/duet/p-f8ca9352.entry.js +4 -0
  571. package/lib/duet/{p-68fea15e.js → p-f9051bab.js} +1 -1
  572. package/lib/duet/p-fa878282.entry.js +4 -0
  573. package/lib/duet/p-fc8f1bed.system.entry.js +4 -0
  574. package/lib/duet/p-fc9aafe5.entry.js +4 -0
  575. package/lib/duet/p-fd34a664.entry.js +4 -0
  576. package/lib/duet/p-fe1ac373.entry.js +4 -0
  577. package/lib/duet/p-ff1d5ca4.system.entry.js +4 -0
  578. package/lib/duet/{p-9b4645ac.system.entry.js → p-ff5f3e09.system.entry.js} +1 -1
  579. package/lib/esm/{a11y-utils-477acfdc.js → a11y-utils-35c2f182.js} +1 -1
  580. package/lib/esm/{app-globals-fbabb161.js → app-globals-143619f5.js} +1 -1
  581. package/lib/esm/duet-action-button.entry.js +6 -6
  582. package/lib/esm/duet-alert.entry.js +11 -17
  583. package/lib/esm/duet-badge.entry.js +4 -4
  584. package/lib/esm/duet-banner.entry.js +17 -10
  585. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  586. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  587. package/lib/esm/duet-button_2.entry.js +17 -15
  588. package/lib/esm/duet-callout.entry.js +4 -4
  589. package/lib/esm/duet-caption_4.entry.js +11 -11
  590. package/lib/esm/duet-card.entry.js +13 -10
  591. package/lib/esm/duet-checkbox.entry.js +3 -3
  592. package/lib/esm/duet-checkmark.entry.js +3 -3
  593. package/lib/esm/duet-chip.entry.js +4 -4
  594. package/lib/esm/duet-choice_2.entry.js +6 -6
  595. package/lib/esm/duet-collapsible.entry.js +17 -14
  596. package/lib/esm/duet-combobox.entry.js +5 -5
  597. package/lib/esm/duet-contact-card.entry.js +4 -4
  598. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  599. package/lib/esm/duet-date-picker.entry.js +6 -6
  600. package/lib/esm/duet-divider_2.entry.js +6 -6
  601. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  602. package/lib/esm/duet-empty-state.entry.js +3 -3
  603. package/lib/esm/duet-fieldset.entry.js +4 -4
  604. package/lib/esm/duet-file-chooser.entry.js +3 -3
  605. package/lib/esm/duet-footer.entry.js +6 -6
  606. package/lib/esm/duet-grid_2.entry.js +7 -6
  607. package/lib/esm/duet-header_2.entry.js +10 -9
  608. package/lib/esm/duet-hero.entry.js +17 -10
  609. package/lib/esm/duet-icon.entry.js +5 -5
  610. package/lib/esm/duet-indicator.entry.js +9 -4
  611. package/lib/esm/duet-input_2.entry.js +8 -8
  612. package/lib/esm/duet-layout.entry.js +3 -3
  613. package/lib/esm/duet-list_2.entry.js +4 -4
  614. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  615. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  616. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  617. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  618. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  619. package/lib/esm/duet-menu-bar.entry.js +4 -4
  620. package/lib/esm/duet-modal.entry.js +10 -10
  621. package/lib/esm/duet-multiselect.entry.js +5 -5
  622. package/lib/esm/duet-nav.entry.js +3 -3
  623. package/lib/esm/duet-notification_2.entry.js +18 -8
  624. package/lib/esm/duet-number-input.entry.js +5 -5
  625. package/lib/esm/duet-overlay.entry.js +3 -3
  626. package/lib/esm/duet-page-heading.entry.js +3 -3
  627. package/lib/esm/duet-pagination_2.entry.js +18 -18
  628. package/lib/esm/duet-panel.entry.js +3 -3
  629. package/lib/esm/duet-phone-input.entry.js +5 -5
  630. package/lib/esm/duet-popup-menu_2.entry.js +9 -9
  631. package/lib/esm/duet-progress.entry.js +4 -4
  632. package/lib/esm/duet-promo-card.entry.js +9 -8
  633. package/lib/esm/duet-radio_2.entry.js +5 -5
  634. package/lib/esm/duet-range-slider.entry.js +4 -4
  635. package/lib/esm/duet-scrollable_3.entry.js +14 -13
  636. package/lib/esm/duet-section-layout.entry.js +2 -2
  637. package/lib/esm/duet-select.entry.js +4 -4
  638. package/lib/esm/duet-shaped-image.entry.js +3 -3
  639. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  640. package/lib/esm/duet-share-chart.entry.js +7 -7
  641. package/lib/esm/duet-show-more.entry.js +5 -5
  642. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  643. package/lib/esm/duet-slideout-link.entry.js +6 -6
  644. package/lib/esm/duet-slideout-panel-dropdown.entry.js +8 -6
  645. package/lib/esm/duet-slideout-panel.entry.js +15 -13
  646. package/lib/esm/duet-slideout.entry.js +12 -11
  647. package/lib/esm/duet-status-icon.entry.js +2 -2
  648. package/lib/esm/duet-step_2.entry.js +5 -5
  649. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  650. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  651. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  652. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  653. package/lib/esm/duet-submenu-bar.entry.js +4 -4
  654. package/lib/esm/duet-textarea.entry.js +5 -5
  655. package/lib/esm/duet-toggle.entry.js +3 -3
  656. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  657. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  658. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  659. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  660. package/lib/esm/duet-toolbar.entry.js +5 -5
  661. package/lib/esm/duet-tooltip-button_2.entry.js +9 -6
  662. package/lib/esm/duet-tooltip.entry.js +5 -5
  663. package/lib/esm/duet-tray.entry.js +5 -5
  664. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  665. package/lib/esm/duet-upload-item.entry.js +4 -4
  666. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  667. package/lib/esm/duet.js +4 -4
  668. package/lib/esm/{errorcodes.utils-3b160dbb.js → errorcodes.utils-1e9af184.js} +1 -1
  669. package/lib/esm/{focus-utils-1bece0cd.js → focus-utils-d80e0fff.js} +1 -1
  670. package/lib/esm/{index-79fc1b32.js → index-8edff080.js} +1 -1
  671. package/lib/esm/{language-utils-a17dc5f3.js → language-utils-da0a98a7.js} +1 -1
  672. package/lib/esm/loader.js +4 -4
  673. package/lib/esm/{slot-utils-b099bb75.js → slot-utils-86873bd2.js} +6 -2
  674. package/lib/esm/{themeable-component-356b273d.js → themeable-component-19d01405.js} +1 -1
  675. package/lib/esm/{token-utils-cf052bc0.js → token-utils-d02c20ff.js} +37 -37
  676. package/lib/esm/{tokens-57aa1508.js → tokens-1fd83076.js} +144 -0
  677. package/lib/esm/{tokens.module-821694bb.js → tokens.module-7b07911f.js} +96 -0
  678. package/lib/esm-es5/{a11y-utils-477acfdc.js → a11y-utils-35c2f182.js} +1 -1
  679. package/lib/esm-es5/{app-globals-fbabb161.js → app-globals-143619f5.js} +1 -1
  680. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  681. package/lib/esm-es5/duet-alert.entry.js +2 -2
  682. package/lib/esm-es5/duet-badge.entry.js +1 -1
  683. package/lib/esm-es5/duet-banner.entry.js +1 -1
  684. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  685. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  686. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  687. package/lib/esm-es5/duet-callout.entry.js +1 -1
  688. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  689. package/lib/esm-es5/duet-card.entry.js +2 -2
  690. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  691. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  692. package/lib/esm-es5/duet-chip.entry.js +2 -2
  693. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  694. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  695. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  696. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  697. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  698. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  699. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  700. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  701. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  702. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  703. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  704. package/lib/esm-es5/duet-footer.entry.js +1 -1
  705. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  706. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  707. package/lib/esm-es5/duet-hero.entry.js +1 -1
  708. package/lib/esm-es5/duet-icon.entry.js +1 -1
  709. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  710. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  711. package/lib/esm-es5/duet-layout.entry.js +1 -1
  712. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  713. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  714. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  715. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  716. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  717. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  718. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  719. package/lib/esm-es5/duet-modal.entry.js +1 -1
  720. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  721. package/lib/esm-es5/duet-nav.entry.js +1 -1
  722. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  723. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  724. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  725. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  726. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  727. package/lib/esm-es5/duet-panel.entry.js +1 -1
  728. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  729. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  730. package/lib/esm-es5/duet-progress.entry.js +1 -1
  731. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  732. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  733. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  734. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  735. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  736. package/lib/esm-es5/duet-select.entry.js +2 -2
  737. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  738. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  739. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  740. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  741. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  742. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  743. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  744. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  745. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  746. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  747. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  748. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  749. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  750. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  751. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  752. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  753. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  754. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  755. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  756. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  757. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  758. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  759. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  760. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  761. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  762. package/lib/esm-es5/duet-tray.entry.js +1 -1
  763. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  764. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  765. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  766. package/lib/esm-es5/duet.js +1 -1
  767. package/lib/esm-es5/{errorcodes.utils-3b160dbb.js → errorcodes.utils-1e9af184.js} +1 -1
  768. package/lib/esm-es5/focus-utils-d80e0fff.js +4 -0
  769. package/lib/esm-es5/index-8edff080.js +4 -0
  770. package/lib/esm-es5/{language-utils-a17dc5f3.js → language-utils-da0a98a7.js} +1 -1
  771. package/lib/esm-es5/loader.js +1 -1
  772. package/lib/esm-es5/slot-utils-86873bd2.js +4 -0
  773. package/lib/esm-es5/{themeable-component-356b273d.js → themeable-component-19d01405.js} +1 -1
  774. package/lib/esm-es5/token-utils-d02c20ff.js +4 -0
  775. package/lib/esm-es5/tokens-1fd83076.js +4 -0
  776. package/lib/esm-es5/tokens.module-7b07911f.js +4 -0
  777. package/lib/types/components/duet-alert/duet-alert.d.ts +2 -4
  778. package/lib/types/components/duet-banner/duet-banner.d.ts +4 -0
  779. package/lib/types/components/duet-card/duet-card.d.ts +4 -0
  780. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -1
  781. package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
  782. package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
  783. package/lib/types/components/duet-indicator/duet-indicator.d.ts +8 -1
  784. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  785. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  786. package/lib/types/components/duet-spinner/duet-spinner.d.ts +5 -3
  787. package/lib/types/components.d.ts +47 -7
  788. package/lib/types/utils/slot-utils.d.ts +1 -0
  789. package/package.json +9 -9
  790. package/lib/dist-custom-elements/p-495059d2.js +0 -78
  791. package/lib/dist-custom-elements/p-7500a672.js +0 -318
  792. package/lib/dist-custom-elements/p-b2b8bd32.js +0 -227
  793. package/lib/dist-custom-elements/p-f1ad635a.js +0 -64
  794. package/lib/duet/p-008bb91e.system.entry.js +0 -4
  795. package/lib/duet/p-0438375f.entry.js +0 -4
  796. package/lib/duet/p-049c988c.entry.js +0 -4
  797. package/lib/duet/p-04d95150.entry.js +0 -4
  798. package/lib/duet/p-05ca0ad3.system.entry.js +0 -4
  799. package/lib/duet/p-061ef483.entry.js +0 -4
  800. package/lib/duet/p-06359695.system.entry.js +0 -4
  801. package/lib/duet/p-0b80b34f.system.entry.js +0 -4
  802. package/lib/duet/p-0fa600fe.system.entry.js +0 -4
  803. package/lib/duet/p-0ff69fd9.system.entry.js +0 -4
  804. package/lib/duet/p-13eec75c.system.js +0 -4
  805. package/lib/duet/p-17efced0.js +0 -4
  806. package/lib/duet/p-19b6319d.entry.js +0 -4
  807. package/lib/duet/p-1c37974e.entry.js +0 -4
  808. package/lib/duet/p-1cd1ae13.system.entry.js +0 -4
  809. package/lib/duet/p-1d003050.system.entry.js +0 -4
  810. package/lib/duet/p-212cdff6.system.entry.js +0 -4
  811. package/lib/duet/p-2437fb8b.entry.js +0 -4
  812. package/lib/duet/p-273b65d0.entry.js +0 -4
  813. package/lib/duet/p-29076935.system.entry.js +0 -4
  814. package/lib/duet/p-29d51b92.system.entry.js +0 -4
  815. package/lib/duet/p-2d1690fa.system.entry.js +0 -4
  816. package/lib/duet/p-2e8124ec.entry.js +0 -4
  817. package/lib/duet/p-2fa5de89.entry.js +0 -4
  818. package/lib/duet/p-3476ee3c.entry.js +0 -4
  819. package/lib/duet/p-39754220.entry.js +0 -4
  820. package/lib/duet/p-3cff3d41.entry.js +0 -4
  821. package/lib/duet/p-3dc9bee2.entry.js +0 -4
  822. package/lib/duet/p-410c86aa.system.entry.js +0 -4
  823. package/lib/duet/p-42d40a3c.entry.js +0 -4
  824. package/lib/duet/p-443ac457.system.entry.js +0 -4
  825. package/lib/duet/p-46183ffe.system.entry.js +0 -4
  826. package/lib/duet/p-47d5e1ce.system.entry.js +0 -4
  827. package/lib/duet/p-493aa637.entry.js +0 -4
  828. package/lib/duet/p-4b6044f0.system.entry.js +0 -4
  829. package/lib/duet/p-4da157c6.entry.js +0 -4
  830. package/lib/duet/p-52284920.system.entry.js +0 -4
  831. package/lib/duet/p-537a1070.entry.js +0 -4
  832. package/lib/duet/p-55666326.system.entry.js +0 -4
  833. package/lib/duet/p-56774ba4.system.js +0 -4
  834. package/lib/duet/p-56c98bbe.system.entry.js +0 -4
  835. package/lib/duet/p-57184a72.system.entry.js +0 -4
  836. package/lib/duet/p-577ef99d.system.entry.js +0 -4
  837. package/lib/duet/p-57e79e5a.entry.js +0 -4
  838. package/lib/duet/p-58deab8e.system.entry.js +0 -4
  839. package/lib/duet/p-5b1d7d11.system.entry.js +0 -4
  840. package/lib/duet/p-5bbfd1f3.entry.js +0 -4
  841. package/lib/duet/p-5f76cca6.system.entry.js +0 -4
  842. package/lib/duet/p-60e0b1b3.entry.js +0 -4
  843. package/lib/duet/p-62f62a4e.system.entry.js +0 -4
  844. package/lib/duet/p-64959c1d.system.js +0 -4
  845. package/lib/duet/p-64fff9d4.entry.js +0 -4
  846. package/lib/duet/p-65282a91.entry.js +0 -4
  847. package/lib/duet/p-65b5d699.entry.js +0 -4
  848. package/lib/duet/p-67c1b790.entry.js +0 -4
  849. package/lib/duet/p-67c57029.entry.js +0 -4
  850. package/lib/duet/p-68b8d3a7.entry.js +0 -4
  851. package/lib/duet/p-68ec675c.system.entry.js +0 -4
  852. package/lib/duet/p-6af320c5.system.entry.js +0 -4
  853. package/lib/duet/p-6e179c6b.system.entry.js +0 -4
  854. package/lib/duet/p-700d90be.system.entry.js +0 -4
  855. package/lib/duet/p-718db92a.entry.js +0 -4
  856. package/lib/duet/p-74a09baf.system.entry.js +0 -4
  857. package/lib/duet/p-75fdf144.system.js +0 -4
  858. package/lib/duet/p-76fa145c.entry.js +0 -4
  859. package/lib/duet/p-79f4d63d.entry.js +0 -4
  860. package/lib/duet/p-7a4605fd.system.entry.js +0 -4
  861. package/lib/duet/p-7a9e70bd.entry.js +0 -4
  862. package/lib/duet/p-7ae725cf.system.js +0 -4
  863. package/lib/duet/p-7ea0d841.js +0 -4
  864. package/lib/duet/p-7fb3b41a.entry.js +0 -4
  865. package/lib/duet/p-80bf7a6d.js +0 -4
  866. package/lib/duet/p-823df6f8.entry.js +0 -4
  867. package/lib/duet/p-847984b4.system.entry.js +0 -4
  868. package/lib/duet/p-8480c4ef.entry.js +0 -4
  869. package/lib/duet/p-85e2b80d.system.entry.js +0 -4
  870. package/lib/duet/p-8642fde1.js +0 -4
  871. package/lib/duet/p-86482d30.system.entry.js +0 -4
  872. package/lib/duet/p-8668b568.entry.js +0 -4
  873. package/lib/duet/p-876e3c63.entry.js +0 -4
  874. package/lib/duet/p-88cf5661.entry.js +0 -4
  875. package/lib/duet/p-899d6d41.entry.js +0 -4
  876. package/lib/duet/p-8ab69ada.entry.js +0 -4
  877. package/lib/duet/p-8e2ffeb6.system.entry.js +0 -4
  878. package/lib/duet/p-9117cb65.system.entry.js +0 -4
  879. package/lib/duet/p-9468eb9d.entry.js +0 -4
  880. package/lib/duet/p-95193904.entry.js +0 -4
  881. package/lib/duet/p-97374309.system.entry.js +0 -4
  882. package/lib/duet/p-a0b4a7c0.system.entry.js +0 -4
  883. package/lib/duet/p-a3e95ce2.system.entry.js +0 -4
  884. package/lib/duet/p-a40be7c9.system.entry.js +0 -4
  885. package/lib/duet/p-a5997dea.entry.js +0 -4
  886. package/lib/duet/p-a5ddcabc.system.js +0 -4
  887. package/lib/duet/p-a65df70c.entry.js +0 -4
  888. package/lib/duet/p-ad04b6d1.system.entry.js +0 -4
  889. package/lib/duet/p-ae7b2ff0.entry.js +0 -4
  890. package/lib/duet/p-b0d6f6da.entry.js +0 -4
  891. package/lib/duet/p-b4ffb80d.js +0 -4
  892. package/lib/duet/p-b62b157d.entry.js +0 -4
  893. package/lib/duet/p-b81c80d4.js +0 -4
  894. package/lib/duet/p-bb69d7c1.entry.js +0 -4
  895. package/lib/duet/p-c01ab555.system.entry.js +0 -4
  896. package/lib/duet/p-c185128e.system.entry.js +0 -4
  897. package/lib/duet/p-c1b0c2d9.system.entry.js +0 -4
  898. package/lib/duet/p-c34f89af.system.entry.js +0 -4
  899. package/lib/duet/p-c6d073be.js +0 -5
  900. package/lib/duet/p-c843e862.system.entry.js +0 -4
  901. package/lib/duet/p-caa37dc7.system.entry.js +0 -4
  902. package/lib/duet/p-cd1744f2.system.entry.js +0 -4
  903. package/lib/duet/p-cfa5ca24.entry.js +0 -4
  904. package/lib/duet/p-d191efda.system.entry.js +0 -4
  905. package/lib/duet/p-d2e4bd07.system.entry.js +0 -4
  906. package/lib/duet/p-dc330b8c.system.entry.js +0 -4
  907. package/lib/duet/p-dcd63244.entry.js +0 -4
  908. package/lib/duet/p-ddf7a3ca.system.entry.js +0 -4
  909. package/lib/duet/p-e080806b.system.entry.js +0 -4
  910. package/lib/duet/p-e1d27084.system.entry.js +0 -4
  911. package/lib/duet/p-e3656611.system.entry.js +0 -4
  912. package/lib/duet/p-e3752ac5.entry.js +0 -4
  913. package/lib/duet/p-e3c246cb.entry.js +0 -4
  914. package/lib/duet/p-e94c7242.entry.js +0 -4
  915. package/lib/duet/p-e9a0f29e.system.entry.js +0 -4
  916. package/lib/duet/p-eb60efcc.js +0 -4
  917. package/lib/duet/p-ebe1da5f.system.entry.js +0 -4
  918. package/lib/duet/p-ef853142.system.entry.js +0 -4
  919. package/lib/duet/p-f55a48a1.entry.js +0 -4
  920. package/lib/duet/p-f6711efe.system.entry.js +0 -4
  921. package/lib/duet/p-f6b920dd.system.entry.js +0 -4
  922. package/lib/duet/p-f6d7404f.system.entry.js +0 -4
  923. package/lib/duet/p-f6efded0.entry.js +0 -4
  924. package/lib/duet/p-fa1176a3.system.entry.js +0 -4
  925. package/lib/duet/p-fa2f610d.entry.js +0 -4
  926. package/lib/duet/p-fb26ac12.system.entry.js +0 -4
  927. package/lib/duet/p-fd806af2.entry.js +0 -4
  928. package/lib/duet/p-fdf201cd.system.entry.js +0 -4
  929. package/lib/duet/p-fe781761.system.entry.js +0 -4
  930. package/lib/duet/p-ff8570f9.entry.js +0 -4
  931. package/lib/esm-es5/focus-utils-1bece0cd.js +0 -4
  932. package/lib/esm-es5/index-79fc1b32.js +0 -4
  933. package/lib/esm-es5/slot-utils-b099bb75.js +0 -4
  934. package/lib/esm-es5/token-utils-cf052bc0.js +0 -4
  935. package/lib/esm-es5/tokens-57aa1508.js +0 -4
  936. package/lib/esm-es5/tokens.module-821694bb.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c,h as t,H as o,g as i}from"./p-f0a6103e.js";import{i as d}from"./p-3b2e4c1d.js";import{a as h}from"./p-24954951.js";import{c as r}from"./p-5e59e970.js";import{i as s,h as a,s as u,u as n,f as l}from"./p-a45e3f8b.js";import{g as b,a as p,c as g,d as m}from"./p-9fe69b29.js";import{h as f,c as v}from"./p-6daf8a1b.js";import"./p-9c3c64b9.js";const k=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=r("DuetChoice"),this.expandId=r("DuetChoiceExpand"),this.headerId=r("DuetChoiceHeader"),this.infoButtonId=r("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{s(e)&&this.toggleChecked(e),a(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"}))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}),150)},this.isHovering=!1,this.isInfoOpen=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=h,this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=b(this.infoLabelDefaults,p()),this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"},this.collapsibleNotification=b(this.collapsibleNotificationDefaults,p())}componentWillLoad(){d(this),this.hasInfo=f(this.element,"info"),this.hasHeader=f(this.element,"header"),this.hasAdditional=f(this.element,"additional"),this.hasLabel=f(this.element,"label"),this.hasBeforeText=f(this.element,"before-text"),this.duetChoiceReady.emit()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]),u(this),this.duetChoiceReady.emit()}disconnectedCallback(){m(this),n(this)}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}handleEscape(e){l(e)&&this.isInfoOpen&&(this.isInfoOpen=!1,this.infoButtonEl&&this.infoButtonEl.focus())}isCollapsibleAnnounceable(){if(!this.collapsible||!this.getExpanded())return!1;const e=Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`)||[]),c=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((e=>c.includes(e.tagName.toLowerCase())))}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:(this.collapsible||this.hasInfo)&&this.getExpanded()?this.hasHeader?this.headerId:this.isCollapsibleAnnounceable()?this.expandId:`${this.choiceId}-collapsible-notification`:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.identifier||this.choiceId;return t(o,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:e,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:e,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button",onKeyUp:e=>this.handleEscape(e)},t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&t("span",{id:`${this.choiceId}-collapsible-notification`,hidden:!0},this.collapsibleNotification),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"-1",class:"duet-choice-info-container",onKeyUp:e=>this.handleEscape(e)},t("span",null,t("slot",{name:"info"})),t("slot",null)):t("span",{id:`${this.choiceId}-collapsible-content`},t("slot",null)))):null)}get element(){return i(this)}};k.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}[alignment=form-distribute]>.sc-duet-choice-h:last-of-type{margin-right:16px !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}[alignment=form-distribute]>.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:16px !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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.1;color:rgb(8, 42, 77) !important;text-align:left;-webkit-hyphens:auto;hyphens:auto;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;word-break:break-word;text-decoration:none;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}input.sc-duet-choice:focus+.duet-choice-label.sc-duet-choice{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva.sc-duet-choice input.sc-duet-choice:focus+.duet-choice-label.sc-duet-choice,input.sc-duet-choice:focus+.duet-choice-label.duet-theme-turva.sc-duet-choice,.duet-theme-turva2.sc-duet-choice input.sc-duet-choice:focus+.duet-choice-label.sc-duet-choice,input.sc-duet-choice:focus+.duet-choice-label.duet-theme-turva2.sc-duet-choice{outline-color:rgba(53, 79, 101, 0.8)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{outline:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);display:block}.duet-theme-turva .user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus.duet-theme-turva,.duet-theme-turva2 .user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;-webkit-appearance:none;appearance:none;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px}.duet-choice-info-toggle.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus.duet-theme-turva,.duet-theme-turva2 .user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(178, 194, 205)}.info .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 246, 247);border-color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(230, 23, 64)}.duet-choice-label .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice,.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice{background:rgb(245, 246, 247);border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle.sc-duet-choice{border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 246, 247);border-bottom-color:transparent}.duet-theme-turva2.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-theme-turva.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-theme-turva.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(120, 145, 164)}';const x=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.childObserverCallback=e=>{e.some((e=>{var c;return(null===(c=e.removedNodes)||void 0===c?void 0:c.length)>0&&Array.from(e.removedNodes.values()).some((e=>"duet-choice"===e.nodeName.toLowerCase()))}))&&this.updateChoices()},this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=()=>{this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}async connectedCallback(){this.childObserver=new MutationObserver(this.childObserverCallback.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0}),this.setInitialValue(),this.updateChoices()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}componentWillLoad(){d(this),this.removeDisabledAttributeWhenFalse(),v(this.element,"tooltip","duet-tooltip",1,!0)}setInitialValue(){void 0===this.initialValue&&(this.initialValue=this.value)}async getInitialValue(){return this.initialValue}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;this.choices.clear(),this.element.querySelectorAll("duet-choice").forEach((e=>{e.closest("duet-choice-group")===this.element&&this.choices.add(e)}));for(const e of Array.from(this.choices))e.name=this.name,e.required=this.required,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(o,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("slot",{name:"tooltip"}),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return i(this)}static get watchers(){return{disabled:["removeDisabledAttributeWhenFalse","updateChoices"],value:["setInitialValue","updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{k as duet_choice,x as duet_choice_group}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js"],(function(M){"use strict";var N,g,j,e;return{setters:[function(M){N=M.r;g=M.h;j=M.g},function(M){e=M.i}],execute:function(){var D='*,*::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-page-heading{position:relative;display:block;width:100%;margin:0 auto;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";color:rgb(8, 42, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.auto{overflow:visible}.duet-page-heading.auto .heading,.duet-page-heading.auto .background{max-width:none}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading:not(.has-icon) .heading{padding-right:0}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;pointer-events:none;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8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NDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading .progress-indicator{display:flex;flex-direction:row;gap:4px}.duet-page-heading .progress-step{width:100%;height:4px;background-color:rgb(181, 198, 208);border-radius:2px}.duet-page-heading .progress-step.active{background-color:rgb(0, 119, 179)}.duet-page-heading.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(8, 42, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}.duet-page-heading.duet-theme-turva .progress-step{background-color:rgb(199, 202, 207)}.duet-page-heading.duet-theme-turva .progress-step.active{background-color:rgb(198, 12, 48)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .background .background-mask{background-image:none}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon{background:#172a3b;border-radius:16%;transform:rotate(0);-webkit-mask-image:none;mask-image:none}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{top:0;transform:rotate(0)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step{background-color:#b2c2cd}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step.active{background-color:#e61740}';var I=D;var u=M("duet_page_heading",function(){function M(M){N(this,M);this.theme="";this.icon="";this.layout="narrow";this.progressCurrentStep=undefined;this.progressTotalSteps=undefined}M.prototype.componentWillLoad=function(){e(this)};M.prototype.progressIndicator=function(){var M=this;return g("div",{class:"progress-indicator"},Array.from({length:Math.ceil(this.progressTotalSteps)},(function(N,j){var e=j+1;return g("div",{class:{"progress-step":true,active:e<=M.progressCurrentStep}})})))};M.prototype.render=function(){var M;var N=this.layout==="narrow"?"narrow":this.layout==="fluid"?"fluid":"auto";return g("div",{key:"2875eb37016d827e7cd1e0f8d371444b7c76c3bb",class:(M={"duet-page-heading":true,"duet-theme-turva":this.theme==="turva","has-icon":!!this.icon},M[N]=true,M)},g("div",{key:"47e1dbf1c820a033dbda5ab2947eb24579dd9b10",class:"background"},this.theme==="turva"&&g("div",{key:"287e0066733158363e3874a95817a762e809da1f",class:"background-mask"}),this.theme!=="turva"&&g("div",{key:"f027b1ec25e9cdac8567c3ead047915886179621",class:"brand-shape"}),this.theme!=="turva"&&g("div",{key:"8bf49eda00cde3160850bde060081207d43137b4",class:"brand-shape second-shape"}),this.icon&&g("div",{key:"8c32dee388c499ec6bc26efe8bf82917f72539f4",class:"brand-shaped-icon"},g("duet-icon",{key:"4d59ed320390cc69707e761c981ac471a6e7553b",background:"none",name:this.icon,margin:"none",size:"auto",responsive:false}))),g("div",{key:"d9673f6ff5e27fc94b0bc35ff1baed4d8a259f8f",class:"heading"},g("slot",{key:"f4d9a0248685888feba270f120dbeb90d10f8676",name:"heading"}),this.progressCurrentStep!==undefined&&this.progressTotalSteps>0&&g("div",{key:"6bc7886ae809c319e50005d6bc4ec44552c48256"},g("duet-spacer",{key:"1792cc877c99c71d244b6180e9b95a0c1d79bf29",size:"large"}),g("div",{key:"2330bdd54dcf3eae2f7f34b97d81769da8138971",role:"presentation"},this.progressIndicator()))))};Object.defineProperty(M.prototype,"element",{get:function(){return j(this)},enumerable:false,configurable:true});return M}());u.style=I}}}));
4
+ System.register(["./p-1f5071fd.system.js","./p-9d6c1403.system.js"],(function(M){"use strict";var N,g,j,e;return{setters:[function(M){N=M.r;g=M.h;j=M.g},function(M){e=M.i}],execute:function(){var D='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;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";color:rgb(8, 42, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.auto{overflow:visible}.duet-page-heading.auto .heading,.duet-page-heading.auto .background{max-width:none}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading:not(.has-icon) .heading{padding-right:0}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;pointer-events:none;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi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pZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading .progress-indicator{display:flex;flex-direction:row;gap:4px}.duet-page-heading .progress-step{width:100%;height:4px;background-color:rgb(181, 198, 208);border-radius:2px}.duet-page-heading .progress-step.active{background-color:rgb(0, 119, 179)}.duet-page-heading.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(8, 42, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}.duet-page-heading.duet-theme-turva .progress-step{background-color:rgb(199, 202, 207)}.duet-page-heading.duet-theme-turva .progress-step.active{background-color:rgb(198, 12, 48)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .background .background-mask{background-image:none}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgb(23, 42, 59);border-radius:16%;-webkit-mask-image:none;mask-image:none;transform:rotate(0)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{top:0;transform:rotate(0)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step{background-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step.active{background-color:rgb(230, 23, 64)}';var I=D;var u=M("duet_page_heading",function(){function M(M){N(this,M);this.theme="";this.icon="";this.layout="narrow";this.progressCurrentStep=undefined;this.progressTotalSteps=undefined}M.prototype.componentWillLoad=function(){e(this)};M.prototype.progressIndicator=function(){var M=this;return g("div",{class:"progress-indicator"},Array.from({length:Math.ceil(this.progressTotalSteps)},(function(N,j){var e=j+1;return g("div",{class:{"progress-step":true,active:e<=M.progressCurrentStep}})})))};M.prototype.render=function(){var M;var N=this.layout==="narrow"?"narrow":this.layout==="fluid"?"fluid":"auto";return g("div",{key:"2875eb37016d827e7cd1e0f8d371444b7c76c3bb",class:(M={"duet-page-heading":true,"duet-theme-turva":this.theme==="turva","has-icon":!!this.icon},M[N]=true,M)},g("div",{key:"47e1dbf1c820a033dbda5ab2947eb24579dd9b10",class:"background"},this.theme==="turva"&&g("div",{key:"287e0066733158363e3874a95817a762e809da1f",class:"background-mask"}),this.theme!=="turva"&&g("div",{key:"f027b1ec25e9cdac8567c3ead047915886179621",class:"brand-shape"}),this.theme!=="turva"&&g("div",{key:"8bf49eda00cde3160850bde060081207d43137b4",class:"brand-shape second-shape"}),this.icon&&g("div",{key:"8c32dee388c499ec6bc26efe8bf82917f72539f4",class:"brand-shaped-icon"},g("duet-icon",{key:"4d59ed320390cc69707e761c981ac471a6e7553b",background:"none",name:this.icon,margin:"none",size:"auto",responsive:false}))),g("div",{key:"d9673f6ff5e27fc94b0bc35ff1baed4d8a259f8f",class:"heading"},g("slot",{key:"f4d9a0248685888feba270f120dbeb90d10f8676",name:"heading"}),this.progressCurrentStep!==undefined&&this.progressTotalSteps>0&&g("div",{key:"6bc7886ae809c319e50005d6bc4ec44552c48256"},g("duet-spacer",{key:"1792cc877c99c71d244b6180e9b95a0c1d79bf29",size:"large"}),g("div",{key:"2330bdd54dcf3eae2f7f34b97d81769da8138971",role:"presentation"},this.progressIndicator()))))};Object.defineProperty(M.prototype,"element",{get:function(){return j(this)},enumerable:false,configurable:true});return M}());u.style=I}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-1f5071fd.system.js","./p-9d6c1403.system.js","./p-43bbba35.system.js","./p-db0ba7b6.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:var(--divider-margin, 36px) !important;margin-right:var(--divider-margin, 0);margin-bottom:var(--divider-margin, 28px);margin-left:var(--divider-margin, 0);background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-divider.duet-theme-turva{background:rgb(212, 221, 226)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"0abfcccc8eafdca452bd879ba84ae92b59fee8ae",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"6538750ce10fceade9822375b75a8bbbe20cd76f",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{g as s}from"./p-9fe69b29.js";import{p as e}from"./p-9c3c64b9.js";const t=(s,t)=>{let o={type:void 0,system_message:void 0,message:void 0};return o=(t=e(t)).filter((e=>e.type==s))[0],o||(o=t.filter((s=>"default"===s.type))[0]),o},o=(e,o)=>{const r=t(e,o),a=s(r.message);return""!==a&&a?a:r.system_message};export{o as a,t as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,H as d,g as a}from"./p-c6d073be.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-8642fde1.js";const p=class{constructor(e){t(this,e),this.hasSidebar=!1,this.hasTop=!1,this.hasPageHeading=!1,this.sticky=!1,this.margin="auto",this.stickyDistance="with-links",this.center=!1,this.tabs=!1,this.middle=!1,this.paddingBreakpoint=void 0}componentWillLoad(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']"),this.hasTop=!!this.element.querySelector("[slot='top']"),this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']"),n(this.element,"page-heading","duet-page-heading",1,!0),this.element.querySelector("[slot='main']")||console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}render(){return e(d,{key:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},e("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),e("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),e("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&e("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},e("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",name:"sidebar"}))))))}get element(){return a(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";export{p as duet_layout}
4
+ import{r as t,h as e,H as d,g as a}from"./p-f0a6103e.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-6daf8a1b.js";const p=class{constructor(e){t(this,e),this.hasSidebar=!1,this.hasTop=!1,this.hasPageHeading=!1,this.sticky=!1,this.margin="auto",this.stickyDistance="with-links",this.center=!1,this.tabs=!1,this.middle=!1,this.paddingBreakpoint=void 0}componentWillLoad(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']"),this.hasTop=!!this.element.querySelector("[slot='top']"),this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']"),n(this.element,"page-heading","duet-page-heading",1,!0),this.element.querySelector("[slot='main']")||console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}render(){return e(d,{key:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},e("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),e("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),e("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&e("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},e("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",name:"sidebar"}))))))}get element(){return a(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";export{p as duet_layout}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,o){function l(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{n(o.next(t))}catch(t){r(t)}}function u(t){try{n(o["throw"](t))}catch(t){r(t)}}function n(t){t.done?i(t.value):l(t.value).then(s,u)}n((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,l,r,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(t){return function(e){return n([t,e])}}function n(u){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,u[0]&&(i=0)),i)try{if(o=1,l&&(r=u[0]&2?l["return"]:u[0]?l["throw"]||((r=l["return"])&&r.call(l),0):l.next)&&!(r=r.call(l,u[1])).done)return r;if(l=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;l=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){i.label=u[1];break}if(u[0]===6&&i.label<r[1]){i.label=r[1];r=u;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(u);break}if(r[2])i.ops.pop();i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t];l=0}finally{o=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var o=0,l=e.length,r;o<l;o++){if(r||!(o in e)){if(!r)r=Array.prototype.slice.call(e,0,o);r[o]=e[o]}}return t.concat(r||Array.prototype.slice.call(e))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-1f5071fd.system.js","./p-9d6c1403.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-8e1def15.system.js","./p-e59c5a32.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,o,l,r,s,u,n,a,c,d,m,h,b,f,p,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;l=t.H;r=t.g},function(t){s=t.i},function(t){u=t.c},function(t){n=t.f;a=t.o;c=t.j;d=t.d;m=t.b;h=t.a;b=t.c},function(t){f=t.a;p=t.c;g=t.d},function(t){v=t.c},function(t){x=t.p}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type{margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{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.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;text-overflow:ellipsis;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:1.5;color:rgb(8, 42, 77);text-align:left;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-multiselect:hover,.duet-multiselect:hover.duet-theme-turva,.duet-theme-turva2 .duet-multiselect:hover,.duet-multiselect:hover.duet-theme-turva2{outline-color:rgb(120, 145, 164)}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(143, 147, 158)}.has-error .duet-multiselect:hover{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-multiselect:focus.duet-theme-turva,.duet-theme-turva2 .duet-multiselect:focus,.duet-multiselect:focus.duet-theme-turva2,.duet-theme-turva .duet-multiselect.duet-multiselect-active,.duet-multiselect.duet-multiselect-active.duet-theme-turva,.duet-theme-turva2 .duet-multiselect.duet-multiselect-active,.duet-multiselect.duet-multiselect-active.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58)}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-multiselect[disabled]{color:rgb(8, 42, 77) !important;cursor:default !important;outline:none !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;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.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-multiselect{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);border-color:rgb(143, 147, 158)}.duet-multiselect svg{width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;visibility:hidden;width:100%;padding:16px;margin:8px 0 0;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);transition-property:transform, opacity}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;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;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva,.duet-theme-turva2 .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(8, 42, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;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:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(143, 147, 158)}.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect:focus,:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 42, 59) !important;background:rgb(245, 246, 247) !important;border-color:rgb(245, 246, 247) !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge{color:rgb(23, 42, 59);background:#e8eaeb}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes{border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 42, 59)}';var k=y;function w(t,e){return t.includes(e)?t.filter((function(t){return t!==e})):__spreadArray(__spreadArray([],t,true),[e],false)}var S=t("duet_multiselect",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=u("DuetError");this.labelId=u("DuetLabel");this.topCaptionId=u("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(t){o.duetChange.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onBlur=function(t){o.duetBlur.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onFocus=function(t){o.duetFocus.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(t){if(n(t)||a(t)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();t.preventDefault()}}};this.onMultiselectInputKeyDown=function(t){if(c(t)){t.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var t=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(t){t.focus()}}}),200)}};this.onCheckboxKeyDown=function(t,e){var i;if(d(t)||m(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(h(t)||b(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e+1)))}if(i){i.focus();t.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(t,e){o.value=w(o.value,e);o.onChange(t)};this.handleSelectAllClick=function(t){o.value=o.processedItems;o.onChange(t)};this.handleClearAllClick=function(t){o.value=[];o.onChange(t)};this.getOptionIdentifier=function(t){return"".concat(o.identifier,"-option-").concat(t)};this.getDescribedBy=function(){var t=[];if(o.isCaptionVisible&&o.topCaptionId){t.push(o.topCaptionId)}if(o.accessibleDescribedBy){t.push(o.accessibleDescribedBy)}if(o.error){t.push(o.errorId)}return t.length>0?t.join(" "):null};this.processedItems=[];this.processedGroups=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=f();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=u("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.handleFocus=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element}));if(i){this.checkboxesVisible=false}};t.prototype.componentWillLoad=function(){s(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};t.prototype.connectedCallback=function(){p(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.multiselectElement){this.multiselectElement.focus(t)}return[2]}))}))};t.prototype.selectWithValues=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.processedItems.filter((function(e){return t.includes(e.value)}));this.value=Array.from(new Set(__spreadArray(__spreadArray([],this.value,true),e,true)));return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=x(this.items);this.processedItems=[];this.processedGroups=[];if(!t||t.length===0){return[2]}if(t[0].items!==undefined){this.processedGroups=t}else{this.processedGroups=[{label:"",items:t}]}this.processedGroups.forEach((function(t){return t.items.forEach((function(t){return e.processedItems.push(t)}))}));return[2]}))}))};t.prototype.render=function(){var t=this;var e;return o(l,{key:"43c7f00abf7185b86616e0924f7bb633c94ddc50",class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{key:"d01b848421807a0fcedf6bfe0405f64fe303d574",class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(e){return t.onMultiselectKeyDown(e)}},o("duet-label",{key:"2a456082e84d030ec1e672b499005ad13d5d3e63",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{key:"55ad7b6b96d29db913f5d8205f0d7ede9d5ac5cc",class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"0d46006a5dde7481d8a4b2d6ef831f91aa2e5002",name:"tooltip"}),this.caption&&o("duet-caption",{key:"137fda20ad2591ed86051191a9610e3892b52dbd",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"160193ec0197c4bcb67d280c579267baf5a49b46",class:"duet-multiselect-wrapper"},o("button",{key:"cfd7aad4536f022d25e781e751c59637144f076d",id:this.identifier,ref:function(e){return t.multiselectElement=e},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return t.toggleCheckboxes()},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(e){return t.onMultiselectInputKeyDown(e)},disabled:this.disabled},o("span",{key:"d8e491fa292d7ab221cd8ef9d0b867eec8c076e6",role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{key:"5e8f178232f7701dca9d80cca13ebd768a5e4c08",class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",{key:"d0be305c434a170ad026185e1ac30f270ca464e5"},this.selectedLangObject[this.language],", ",this.value.map((function(t){return t.label})).join(", "))),o("svg",{key:"5ae2f3b2f10fd11beced9b9565448074e5ba5c3f",class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"baf833c16c6570098d20e7aba5baad4e4334fc94",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{key:"28453287bceb92b9acbe1166979217177087f866",id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},((e=this.processedItems)===null||e===void 0?void 0:e.length)&&this.allControls&&o("div",{key:"9f1c878358d32c901107adee5e3cb2916ee5ac70",class:"duet-multiselect-all-control-buttons"},o("button",{key:"f887e043ab1065a5e7aaf97848ecb9342d804ce2",class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-2)}},this.selectAllLabel[this.language]),o("button",{key:"99bff420820acddc69743ce313bff86f929216db",class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((function(e){return o("fieldset",null,e.label&&o("legend",null,e.label),e.items.map((function(e,i){var l,r;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(l=t.value)===null||l===void 0?void 0:l.includes(e),"accessible-selected":((r=t.value)===null||r===void 0?void 0:r.includes(e))?"true":undefined,disabled:!t.checkboxesVisible||e.disabled,onDuetChange:function(i){return t.toggleCheckbox(i,e)},onKeyDown:function(e){return t.onCheckboxKeyDown(e,i)},theme:t.theme})})))})))),o("span",{key:"a35440b1574576d27d646befd1907ffc27d28a8c",class:"duet-multiselect-help duet-multiselect-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",{key:"3b2d16886d78642f00e34d0353eddd9aeec8d217"},this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return t}());S.style=k}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,F as a,H as s,g as n}from"./p-c6d073be.js";import{i as o}from"./p-53e6e1da.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as d,l,d as c,b as p,a as u,c as b,m as g,n as m}from"./p-a45e3f8b.js";import{g as f,c as v,d as k}from"./p-ca32f459.js";import{p as y}from"./p-9c3c64b9.js";import{b as w,a as x}from"./p-80bf7a6d.js";import"./p-17efced0.js";const S=class{constructor(i){t(this,i),this.duetPageChange=e(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,e)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(e!==t){const e=Math.ceil(t/this.visibleItems)-1;e!==this.internalSectionIndex&&(this.internalSectionIndex=e,await this.setFocus())}return!0},this.emitPageEvent=(t,e)=>{const i=Number(e||this.current);this.duetPageChange.emit({component:"duet-pagination",from:i*this.take,to:i*this.take+this.take,current:i,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.disabled=!1,this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=f(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.compactBreakpoint="x-small",this.ariaControls="",this.current=1,this.pageLinks=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,e){return this.actionChain(t,e)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),v(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,e){this.disabled||(this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+e),this.emitPageEvent(t))}async onKeyboardDown(t){if(this.disabled)return;let e=this.current;(c(t)||p(t))&&e--,(u(t)||b(t))&&e++,d(t)&&e<=this.totalPages&&(this.current=e,this.processedPageLinks?(this.emitPageEvent(t,e-1),window.open(this.processedPageLinks[e-1],"_self","")):this.emitPageEvent(t)),l(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const e=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=e),this.emitPageEvent(t,e)}selectClickHandler(t){t.preventDefault();const e=Number(t.target.value);this.current=e,this.processedPageLinks?(this.emitPageEvent(t,e-1),window.open(this.processedPageLinks[e-1],"_self","")):this.emitPageEvent(t,e)}sectionClickHandler(t,e){t.preventDefault();let i=this.internalSectionIndex+e;i*(this.take*this.visibleItems)>this.total&&(i=this.internalSectionIndex),this.internalSectionIndex=i>=0?i:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return i("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},i("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let e=this.internalSectionIndex*this.visibleItems;do{if(e++,e>this.totalPages)break;t.push(i("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":e===this.current},role:"menuitem"},this.renderPageButton(e)))}while(e<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let e=1;e<=this.totalPages;e++)t.push({value:e.toString(),label:e.toString()});const e=i("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t)});return i("li",null,e,i("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return i(s,{key:"c9fe96fc3da1353342e9b864e7ad2fcf711dc17c",onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},i("nav",{key:"ef4ca286ceae883a08fde9768c168d54d9e3b251",role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&i("div",{key:"f8786d74f5cfc028016b66efc34c6a248b0b3795","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},i("duet-badge",{key:"79781be8b7faa9eb353efcf74864c83602de956b",theme:this.theme},"jump to page : ",this.numbersStore)),i("ol",{key:"8ddba22cf4f5ecd14ee57316062fdccb9fc92096",id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&i("li",{key:"9ed42f129f8f0c87da06196b110c8d556aeb279a",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"00d898898b26870fb0aa71e5003cee8e322d6e53",disabled:0===this.internalSectionIndex&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),i("li",{key:"fea77adade297e5dd4421b10c951ae0a9c008d9b",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"8f433ca73a21d2593b5993c33a9921f1773eec76",disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&i(a,{key:"189f029ec26aec1ef07fbcb690c58bce6189188c"},i("li",{key:"32959efe57c7ff493a1d3fb1f75c7c6f2826eb10",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},i("duet-button",{key:"ec984a6771777da0459f194833dd6bd50ca94d7d",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},i("div",{key:"2962bb3d7451604a3baa097b6f3ffe624a28b25c",class:"duet-pagination-page-number"},"1"))),i("li",{key:"ac310350a88731d6f20e86177f80c23e4ec132c1",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},i("duet-button",{key:"06a7f463a2fb478763233c6a30c57a5f52186b82",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},i("div",{key:"05ae094e5f561fbc52a573bc98166902fca7a8a8",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&i(a,{key:"cf4913427876f3f02fb1dd5a52e64cad8c826725"},(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&i("li",{key:"5261de2729dd37d92bb70e67ab076640f6d59b84",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},i("duet-button",{key:"7013a952e25adacaad0c563e842e08c63029007f",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},i("div",{key:"f85a76e62df9db2edea74f9b4ff399b534b98b24",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),i("li",{key:"c6f67eb82e7d7d0d293a855ab9f78db120c8db28",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},i("duet-button",{key:"39e8d8a0ed0c6ba16e690671d8d614a5b5bd7586",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},i("div",{key:"e506d8d9edd2a2c3405724feec0f171e0acacac2",class:"duet-pagination-page-number"},this.totalPages)))),i("li",{key:"d62d774a158f0bda48c574a9717e7a42f357bab2",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"e90288259fd328203b00c05f92682d44d5842e82",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&i("li",{key:"b47b3e1145ab9acec968a959eb2dede859183893",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"f216759c8c8a85ddfd5b503ade45223c157baef8",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};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;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;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 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{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)}:host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages{color:#172a3b}';const _=class{constructor(i){t(this,i),this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,e)=>{t.preventDefault(),this.stepIndex+=e,this.clampStepIndex(),this.handleStepClick(t)},this.buttonLeftDisabled=!1,this.buttonRightDisabled=!1,this.theme="",this.disabled=!1,this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=f(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.buttonLeftDisabled=!0):this.buttonLeftDisabled=!1,t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.buttonRightDisabled=!0):this.buttonRightDisabled=!1)}watchStepSizeStateHandler(t,e){t!==e&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){v(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){if(this.disabled)return;let e=this.stepIndex,i=1;(c(t)||p(t)||g(t))&&(e--,i=-1,this.leftBnRef.setFocus()),(u(t)||b(t)||m(t))&&(e++,i=1),d(t)&&e>0&&e*this.stepSize<=this.total&&this.handleClick(t,i)}render(){return i("div",{key:"38130851d0d8f6035593e95652d33059ee2887d0",class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},i("span",{key:"d37af09c95ad4ddbee42896b59b605e0582b1395",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),i("duet-action-button",{key:"7045f2fd9e678036cb7d20d1877f60405198e1fd",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),i("duet-action-button",{key:"312372ac0a265b90b2e30a0fab64e4b4a8738398",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.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:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-range-step-counter{color:#172a3b}";export{S as duet_pagination,_ as duet_range_stepper}
4
+ import{r as t,c as e,h as i,F as a,H as s,g as n}from"./p-f0a6103e.js";import{i as o}from"./p-3b2e4c1d.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as d,l,d as c,b as p,a as u,c as b,m as g,n as m}from"./p-a45e3f8b.js";import{g as f,c as v,d as k}from"./p-9fe69b29.js";import{p as y}from"./p-9c3c64b9.js";import{b as w,a as x}from"./p-9718c106.js";import"./p-9d9457bf.js";const S=class{constructor(i){t(this,i),this.duetPageChange=e(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,e)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(e!==t){const e=Math.ceil(t/this.visibleItems)-1;e!==this.internalSectionIndex&&(this.internalSectionIndex=e,await this.setFocus())}return!0},this.emitPageEvent=(t,e)=>{const i=Number(e||this.current);this.duetPageChange.emit({component:"duet-pagination",from:i*this.take,to:i*this.take+this.take,current:i,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.disabled=!1,this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=f(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.compactBreakpoint="x-small",this.ariaControls="",this.current=1,this.pageLinks=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,e){return this.actionChain(t,e)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),v(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,e){this.disabled||(this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+e),this.emitPageEvent(t))}async onKeyboardDown(t){if(this.disabled)return;let e=this.current;(c(t)||p(t))&&e--,(u(t)||b(t))&&e++,d(t)&&e<=this.totalPages&&(this.current=e,this.processedPageLinks?(this.emitPageEvent(t,e-1),window.open(this.processedPageLinks[e-1],"_self","")):this.emitPageEvent(t)),l(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const e=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=e),this.emitPageEvent(t,e)}selectClickHandler(t){t.preventDefault();const e=Number(t.target.value);this.current=e,this.processedPageLinks?(this.emitPageEvent(t,e-1),window.open(this.processedPageLinks[e-1],"_self","")):this.emitPageEvent(t,e)}sectionClickHandler(t,e){t.preventDefault();let i=this.internalSectionIndex+e;i*(this.take*this.visibleItems)>this.total&&(i=this.internalSectionIndex),this.internalSectionIndex=i>=0?i:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return i("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},i("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let e=this.internalSectionIndex*this.visibleItems;do{if(e++,e>this.totalPages)break;t.push(i("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":e===this.current},role:"menuitem"},this.renderPageButton(e)))}while(e<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let e=1;e<=this.totalPages;e++)t.push({value:e.toString(),label:e.toString()});const e=i("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t)});return i("li",null,e,i("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return i(s,{key:"af038eda29336dcdc68a74b852dc74cdd59a94a5",onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},i("nav",{key:"c3ae9d1579a649410f69c67e7611327a4c5477ff",role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&i("div",{key:"8db1a4b8626628c12b28be06480ffa38956a573d","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},i("duet-badge",{key:"d2c3831b4e1c9bc464b046164f2123649c39bc54",theme:this.theme},"jump to page : ",this.numbersStore)),i("ol",{key:"3d83be2bdf8e48b4b942ccbdea92dd083bf9d71e",id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&i("li",{key:"4ae9c4d863f47173a26acaac2b427baf68490e45",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"b362823d28d9f1b06fbf6962754d71273c2a5cf8",disabled:0===this.internalSectionIndex&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),i("li",{key:"2c02910d78403d4529f630dd51e449145bfe048e",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"9a2a092c0c60212ccacab3da408c58e2adc0f281",disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&i(a,{key:"f4f7d5ac7ce75c6ebbff06efe1695f10fb236891"},i("li",{key:"3552fe56d501c9b4b3967fe083cc66c096235f76",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},i("duet-button",{key:"3a023eb7c1ea03bb47aea35d20eabb1b417d6467",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},i("div",{key:"2f66035fe1ee4a6546edf0aa3bb6250d1f3c561e",class:"duet-pagination-page-number"},"1"))),i("li",{key:"00aa006863cfd37c64ee8613de98046bff8d311b",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},i("duet-button",{key:"5d16c811fab573aed0b88d4021790d75146435f7",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},i("div",{key:"6c1241a5e9cba1367c2195808295b58cf7f197d6",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&i(a,{key:"fe20764e7bdb381f3bd84295625aac7116e1debf"},(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&i("li",{key:"40cd85c84088219ec5debbaf816cba6408aac764",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},i("duet-button",{key:"3d6fac55460757cda88c3396eac74d6005b15e7c",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},i("div",{key:"5b6e9f5aef2df6218006b13120cf6f9cadbf3e03",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),i("li",{key:"dd18dd41e5e90639f44ccbfc9640aa88b1ad0c84",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},i("duet-button",{key:"ebc4e60fe510528a11b9db54a025dccb1e7c1a3f",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},i("div",{key:"29e70bbaaa1b5124d7c2e40a63e3223add9fe2dd",class:"duet-pagination-page-number"},this.totalPages)))),i("li",{key:"4a16b37cb12d13acb5d3ff59a3e84b07bcdfe592",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"49fad8750044ae65eba432e720a9c996201257dd",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&i("li",{key:"b544bfa7ab5c73f436a842a2ea8b6886759c369c",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},i("duet-action-button",{key:"a2e0494af4a8ae5dfb712121aaeb4ce17446555f",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;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 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{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)}:host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages{color:rgb(23, 42, 59)}';const _=class{constructor(i){t(this,i),this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,e)=>{t.preventDefault(),this.stepIndex+=e,this.clampStepIndex(),this.handleStepClick(t)},this.buttonLeftDisabled=!1,this.buttonRightDisabled=!1,this.theme="",this.disabled=!1,this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=f(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.buttonLeftDisabled=!0):this.buttonLeftDisabled=!1,t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.buttonRightDisabled=!0):this.buttonRightDisabled=!1)}watchStepSizeStateHandler(t,e){t!==e&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){v(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){if(this.disabled)return;let e=this.stepIndex,i=1;(c(t)||p(t)||g(t))&&(e--,i=-1,this.leftBnRef.setFocus()),(u(t)||b(t)||m(t))&&(e++,i=1),d(t)&&e>0&&e*this.stepSize<=this.total&&this.handleClick(t,i)}render(){return i("div",{key:"38130851d0d8f6035593e95652d33059ee2887d0",class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},i("span",{key:"d37af09c95ad4ddbee42896b59b605e0582b1395",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),i("duet-action-button",{key:"7045f2fd9e678036cb7d20d1877f60405198e1fd",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),i("duet-action-button",{key:"312372ac0a265b90b2e30a0fab64e4b4a8738398",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-range-step-counter{color:rgb(23, 42, 59)}";export{S as duet_pagination,_ as duet_range_stepper}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-76503ac9.system.js","./p-98636086.system.js"],(function(n){"use strict";var t;return{setters:[function(){},function(n){t=n.c}],execute:function(){var r={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"};var e={fi:"€",en:"£",us:"$",sv:"€"};var i=["fi","en","sv"];var a="fi";var u=function(){return document.documentElement.lang?document.documentElement.lang.toLowerCase():a};var o=function(n){return i.includes(n)};var f=function(n){if(n===void 0){n=u()}if(o(n)){return n}else{return a}};var c=n("a",(function(n){if(n===void 0){n=u()}return f(n)}));var v=n("b",(function(n){var t={locale:r[n],money:e[n]};if(t.locale&&t.money){return t}throw new Error('Locale for "'.concat(n,'" not found'))}));var s=n("s",(function(n){var r=typeof n==="string";if(r){try{return JSON.parse(t(n))}catch(t){console.log("sanitizeString received a string, that didnt parse to json object",n,t)}}return n}));var l=n("g",(function(n,t){var r=s(n);if(t){return r[f(t)]}else{return r[c()]}}));var d=n("f",(function(n,t,r){if(r===void 0){r=u()}return Intl.NumberFormat(r,{style:"decimal",minimumFractionDigits:t!==null&&t!==void 0?t:0,maximumFractionDigits:t!==null&&t!==void 0?t:100}).format(n)}));var m=new Set;var g=new WeakMap;var p=function(n){var t=a;for(var r=0,e=n;r<e.length;r++){var i=e[r];if(i.type==="attributes"&&i.attributeName==="lang"){t=i.oldValue;break}}if(document.documentElement.dataset.duetLangObserve!=="false"){m.forEach((function(n){if(n.language){n.language=c()}if(g.has(n)){g.get(n).forEach((function(r){if(n[r.defaults]&&n[r.prop]===n[r.defaults][t]){n[r.prop]=l(n[r.defaults])}}))}}))}};{var b=new MutationObserver(p);b.observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:true})}var y=n("c",(function(n,t){m.add(n);if(t){if(!Array.isArray(t)){t=[t]}if(t.some((function(t){return!(t.prop in n)||!(t.defaults in n)}))){console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties");t=t.filter((function(t){return t.prop in n&&t.defaults in n}))}g.set(n,t)}}));var S=n("d",(function(n){m.delete(n);g.delete(n)}))}}}));
4
+ System.register(["./p-1f5071fd.system.js","./p-98636086.system.js"],(function(n){"use strict";var t;return{setters:[function(){},function(n){t=n.c}],execute:function(){var r={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"};var e={fi:"€",en:"£",us:"$",sv:"€"};var i=["fi","en","sv"];var a="fi";var u=function(){return document.documentElement.lang?document.documentElement.lang.toLowerCase():a};var o=function(n){return i.includes(n)};var f=function(n){if(n===void 0){n=u()}if(o(n)){return n}else{return a}};var c=n("a",(function(n){if(n===void 0){n=u()}return f(n)}));var v=n("b",(function(n){var t={locale:r[n],money:e[n]};if(t.locale&&t.money){return t}throw new Error('Locale for "'.concat(n,'" not found'))}));var s=n("s",(function(n){var r=typeof n==="string";if(r){try{return JSON.parse(t(n))}catch(t){console.log("sanitizeString received a string, that didnt parse to json object",n,t)}}return n}));var l=n("g",(function(n,t){var r=s(n);if(t){return r[f(t)]}else{return r[c()]}}));var d=n("f",(function(n,t,r){if(r===void 0){r=u()}return Intl.NumberFormat(r,{style:"decimal",minimumFractionDigits:t!==null&&t!==void 0?t:0,maximumFractionDigits:t!==null&&t!==void 0?t:100}).format(n)}));var m=new Set;var g=new WeakMap;var p=function(n){var t=a;for(var r=0,e=n;r<e.length;r++){var i=e[r];if(i.type==="attributes"&&i.attributeName==="lang"){t=i.oldValue;break}}if(document.documentElement.dataset.duetLangObserve!=="false"){m.forEach((function(n){if(n.language){n.language=c()}if(g.has(n)){g.get(n).forEach((function(r){if(n[r.defaults]&&n[r.prop]===n[r.defaults][t]){n[r.prop]=l(n[r.defaults])}}))}}))}};{var b=new MutationObserver(p);b.observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:true})}var y=n("c",(function(n,t){m.add(n);if(t){if(!Array.isArray(t)){t=[t]}if(t.some((function(t){return!(t.prop in n)||!(t.defaults in n)}))){console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties");t=t.filter((function(t){return t.prop in n&&t.defaults in n}))}g.set(n,t)}}));var S=n("d",(function(n){m.delete(n);g.delete(n)}))}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as o,H as t,g as r}from"./p-f0a6103e.js";import{i as a}from"./p-3b2e4c1d.js";import{f as n}from"./p-a45e3f8b.js";const d=class{constructor(o){e(this,o),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){a(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-toolbar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,{key:"c632f004e1b25c843e913d55c75fc9ce59261541"},o("a",{key:"3c28f36f8f9b8aecf176de0b5b59b508e625dfad",class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:e=>this.handleEscape(e)},this.icon&&o("duet-icon",{key:"759c36b6ef114a2fa7e9a72cbe3944307b7fda6d",name:this.icon,size:"x-small",margin:"none"}),o("span",{key:"2b66326e82cce5ed92f79c98d21d11b8277bc1e8",class:"label"},o("slot",{key:"58edb19f68c081b56682e2f89057150456959f8e"})),this.active&&o("duet-icon",{key:"6fff9520d86555a4ad81465b21c8dea364218c3b",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return r(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;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:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.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-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 225, 209)}';export{d as duet_toolbar_dropdown_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as r}from"./p-c6d073be.js";import{i as s}from"./p-53e6e1da.js";import{f as i}from"./p-ca32f459.js";import{a as o}from"./p-8642fde1.js";import{g as h}from"./p-80bf7a6d.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const d=class{constructor(t){e(this,t),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.items=void 0,this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}updateChartItems(){const e=o(this.element).filter((e=>"duet-share-chart-item"===e.tagName.toLocaleLowerCase()));this.items=e.map(((e,t)=>({text:e.textContent,value:e.value,color:e.color||this.defaultColors[t%this.defaultColors.length]}))),this.itemsTotalValue=this.items.reduce(((e,{value:t})=>e+t),0)}render(){return t(a,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},t("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((e=>!!e.value)).map((e=>t("span",{class:"duet-share-chart-share",style:{width:e.value/this.itemsTotalValue*100+"%",backgroundColor:h(e.color,this.theme)}})))),t("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((e=>t("li",{class:{"duet-theme-turva":"turva"===this.theme}},t("span",{class:"duet-share-chart-item-color",style:{background:h(e.color,this.theme)}}),t("span",{class:"duet-share-chart-item-text"},e.text,":"),t("span",{class:"duet-share-chart-item-value"}," ",i(e.value)," ",this.unit),"%"!==this.unit&&t("duet-visually-hidden",null,`${i(e.value/this.itemsTotalValue*100,0)} %`))))),t("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))}get element(){return r(this)}};d.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}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';export{d as duet_share_chart}
4
+ import{r as e,h as t,H as a,g as r}from"./p-f0a6103e.js";import{i as s}from"./p-3b2e4c1d.js";import{f as i}from"./p-9fe69b29.js";import{b as o}from"./p-6daf8a1b.js";import{g as h}from"./p-9718c106.js";import"./p-9c3c64b9.js";import"./p-9d9457bf.js";const l=class{constructor(t){e(this,t),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.items=void 0,this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}updateChartItems(){const e=o(this.element).filter((e=>"duet-share-chart-item"===e.tagName.toLocaleLowerCase()));this.items=e.map(((e,t)=>({text:e.textContent,value:e.value,color:e.color||this.defaultColors[t%this.defaultColors.length]}))),this.itemsTotalValue=this.items.reduce(((e,{value:t})=>e+t),0)}render(){return t(a,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},t("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((e=>!!e.value)).map((e=>t("span",{class:"duet-share-chart-share",style:{width:e.value/this.itemsTotalValue*100+"%",backgroundColor:h(e.color,this.theme)}})))),t("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((e=>t("li",{class:{"duet-theme-turva":"turva"===this.theme}},t("span",{class:"duet-share-chart-item-color",style:{background:h(e.color,this.theme)}}),t("span",{class:"duet-share-chart-item-text"},e.text,":"),t("span",{class:"duet-share-chart-item-value"}," ",i(e.value)," ",this.unit),"%"!==this.unit&&t("duet-visually-hidden",null,`${i(e.value/this.itemsTotalValue*100,0)} %`))))),t("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:rgb(23, 42, 59)}';export{l as duet_share_chart}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as a,h as t,H as i}from"./p-c6d073be.js";import{i as n}from"./p-53e6e1da.js";const r=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",3),this.onChange=e=>{e.preventDefault(),e.stopPropagation(),this.duetChange.emit({originalEvent:e,data:{files:this.nativeInput.files},component:"duet-file-chooser"})},this.theme="",this.multiple=!1,this.accept=void 0}async open(){var e;null===(e=this.nativeInput)||void 0===e||e.click()}async getFiles(){return this.nativeInput.files}componentWillLoad(){n(this)}render(){return t(i,{key:"44eb5dcca9331aa60a63143ce040ea3f713ecfe0"},t("duet-visually-hidden",{key:"f86ad13b3b97a09356a61d37039b182237149437","aria-hidden":"true"},t("input",{key:"a78f11cf113bd71b40f3330f60a0a645b0d5b721",ref:e=>{this.nativeInput=e},type:"file",class:{"duet-upload":!0},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";export{r as duet_file_chooser}
4
+ import{r as e,c as a,h as t,H as i}from"./p-f0a6103e.js";import{i as n}from"./p-3b2e4c1d.js";const r=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",3),this.onChange=e=>{e.preventDefault(),e.stopPropagation(),this.duetChange.emit({originalEvent:e,data:{files:this.nativeInput.files},component:"duet-file-chooser"})},this.theme="",this.multiple=!1,this.accept=void 0}async open(){var e;null===(e=this.nativeInput)||void 0===e||e.click()}async getFiles(){return this.nativeInput.files}componentWillLoad(){n(this)}render(){return t(i,{key:"44eb5dcca9331aa60a63143ce040ea3f713ecfe0"},t("duet-visually-hidden",{key:"f86ad13b3b97a09356a61d37039b182237149437","aria-hidden":"true"},t("input",{key:"a78f11cf113bd71b40f3330f60a0a645b0d5b721",ref:e=>{this.nativeInput=e},type:"file",class:{"duet-upload":!0},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";export{r as duet_file_chooser}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as i}from"./p-f0a6103e.js";import{a as r}from"./p-f11208c3.js";import{a as o}from"./p-24954951.js";import{i as u}from"./p-3b2e4c1d.js";import{g as s}from"./p-f9051bab.js";import{f as n}from"./p-a45e3f8b.js";import{g as b,c as m,d}from"./p-9fe69b29.js";import"./p-6daf8a1b.js";import"./p-9c3c64b9.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){u(this)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){d(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"c287dfc01f81f1f141e6737865729ed1f150393f",role:"listitem"},t(this.url?"a":"button",{key:"b3a25e1a9868133e026cc59014a92bc47b967da4",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"0155ac8b93b2da25697c0d19ea81b8b0fc12782b",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"71c2350aa20bcd4c44e2fda3789734b7571d0882",class:"label"},t("span",{key:"177921fcf4100c4accbb883e635b0ca4e7b4a8e2",class:"label-text"},t("slot",{key:"5bf35114d835ce7fbe1e0576fd56afce9050fa15"})),(this.trailingIcon||this.external)&&t("duet-icon",{key:"419f75603602b79929bd47fc4f50e57ba2912ed6",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-submenu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.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);transform:translateY(1px);transition:300ms ease}.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(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}';export{c as duet_submenu_bar_item}