@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
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,c,o){function i(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,r){function n(e){try{s(o.next(e))}catch(e){r(e)}}function a(e){try{s(o["throw"](e))}catch(e){r(e)}}function s(e){e.done?c(e.value):i(e.value).then(n,a)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,n;return n={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function a(e){return function(t){return s([e,t])}}function s(a){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,a[0]&&(c=0)),c)try{if(o=1,i&&(r=a[0]&2?i["return"]:a[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;if(i=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:c.label++;return{value:a[1],done:false};case 5:c.label++;i=a[1];a=[0];continue;case 7:a=c.ops.pop();c.trys.pop();continue;default:if(!(r=c.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){c.label=a[1];break}if(a[0]===6&&c.label<r[1]){c.label=r[1];r=a;break}if(r&&c.label<r[2]){c.label=r[2];c.ops.push(a);break}if(r[2])c.ops.pop();c.trys.pop();continue}a=t.call(e,c)}catch(e){a=[6,e];i=0}finally{o=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-e6b5a1c7.system.js"],(function(e){"use strict";var t,c,o,i,r,n,a;return{setters:[function(e){t=e.r;c=e.c;o=e.h;i=e.H;r=e.g},function(e){n=e.i},function(e){a=e.c}],execute:function(){var s='*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;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);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{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-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(143, 147, 158)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;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(214, 28, 82);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(214, 28, 82)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{color:#172a3b}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:#172a3b}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:#172a3b;border-color:#172a3b}';var d=s;var u=e("duet_checkbox",function(){function e(e){var o=this;t(this,e);this.duetChange=c(this,"duetChange",3);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.checkboxId=a("DuetCheckbox");this.errorId=a("DuetError");this.onChange=function(e){o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.getDescribedBy=function(){var e=[];if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.accessibleActiveDescendant=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleIndex=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleSelected=undefined;this.accessibleLiveError="polite";this.required=false;this.error="";this.theme="";this.disabled=false;this.identifier=undefined;this.label="label";this.labelHidden=false;this.name=undefined;this.role=undefined;this.checked=false;this.value=undefined}e.prototype.componentWillLoad=function(){n(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.checkboxId;return o(i,{class:{"duet-m-0":this.margin==="none"}},o("div",{class:{"duet-checkbox-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"}},o("input",{ref:function(t){return e.nativeInput=t},type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":true,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:t}),o("label",{class:"duet-label",htmlFor:t},o("span",null,this.label)),o("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",null,this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());u.style=d}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as s,H as o,g as a}from"./p-c6d073be.js";import{i}from"./p-53e6e1da.js";import{c as n}from"./p-5e59e970.js";import{i as r}from"./p-a45e3f8b.js";import{a as h,g as c,c as l,d}from"./p-ca32f459.js";import"./p-9c3c64b9.js";const m=class{constructor(s){e(this,s),this.duetToggle=t(this,"duetToggle",7),this.contentId=n("DuetShowMore"),this.buttonId=n("DuetShowMoreButton"),this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.handleKeyDown=e=>{r(e)&&this.handleClick(e)},this.handleClick=e=>{e.preventDefault();const t=!this.open;this.open=t,t?(setTimeout((()=>{this.contentElement.focus()}),100),setTimeout((()=>{this.buttonAriaOpen=t}),500)):this.buttonAriaOpen=t,this.duetToggle.emit({component:"duet-show-more",originalEvent:e})},this.buttonAriaOpen=!1,this.theme="",this.language=h(),this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"},this.showMoreLabel=c(this.showMoreLabelDefaults),this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"},this.showLessLabel=c(this.showLessLabelDefaults),this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"},this.showMoreAccessibleLabel=c(this.showMoreAccessibleLabelDefaults),this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"},this.showLessAccessibleLabel=c(this.showLessAccessibleLabelDefaults),this.margin="auto",this.buttonMargin="auto",this.buttonPadding="auto",this.open=!1}componentWillLoad(){i(this),this.buttonAriaOpen=this.open}connectedCallback(){l(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])}disconnectedCallback(){d(this)}render(){return s(o,{key:"56ef8d68e3957481eb3c0fd77169a3830a6c0ec3"},s("div",{key:"d73ea6ea5f16f353ca41d0600aecf3eb91734338",class:{"duet-show-more":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin,open:this.open}},s("div",{key:"aa3781bcb009ab2f72dce109180c32c29e5a86d5",ref:e=>this.contentElement=e,class:{content:!0},id:this.contentId,tabindex:this.open?"-1":""},s("div",{key:"79305d6a5745287d4baeda24e227cd0ee2e6cd28",class:{"slotted-content":!0}},s("slot",{key:"b75e7fbce1ab1e8e1680bc88cca241d0a8503375"}))),s("duet-button",{key:"103cd44aef5b443ed759a845f684db2e9881b67c",id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,accessiblePressed:this.isSafariBrowser?this.open:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":!0,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:"turva"===this.theme?"turva":"default"},s("span",{key:"c185219d1cbab88f4efb3e254dc3130c432f83f6"},this.open?this.showLessLabel:this.showMoreLabel))))}get element(){return a(this)}};m.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-show-more{margin-bottom:16px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.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-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:#172a3b}';export{m as duet_show_more}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function o(t){try{a(n.next(t))}catch(t){s(t)}}function u(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(o,u)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(e=0)),e)try{if(n=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;r=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){e.label=u[1];break}if(u[0]===6&&e.label<s[1]){e.label=s[1];s=u;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(u);break}if(s[2])e.ops.pop();e.trys.pop();continue}u=i.call(t,e)}catch(t){u=[6,t];r=0}finally{n=s=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,i,e){if(e||arguments.length===2)for(var n=0,r=i.length,s;n<r;n++){if(s||!(n in i)){if(!s)s=Array.prototype.slice.call(i,0,n);s[n]=i[n]}}return t.concat(s||Array.prototype.slice.call(i))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-98636086.system.js"],(function(t){"use strict";var i,e,n,r,s,o,u,a,h,c,f,d,l,v,m,b,p,g,_,y;return{setters:[function(t){i=t.h;e=t.r;n=t.c;r=t.H;s=t.g},function(t){o=t.i},function(t){u=t.c},function(t){a=t.d},function(t){h=t.j;c=t.f;f=t.o;d=t.b;l=t.c},function(t){v=t.g;m=t.a;b=t.c;p=t.d},function(t){g=t.a},function(t){_=t.r;y=t.p}],execute:function(){var w=function(t){var e=t.item,n=t.activeDescendant,r=t.selected,s=t.label,o=s===void 0?undefined:s,u=t.clickHandler,a=u===void 0?function(t){t.preventDefault()}:u,h=t.keyHandler,c=h===void 0?function(t){t.preventDefault()}:h,f=t.search,d=t.isAndroidDevice,l=t.id;var v=f.split(" ").filter((function(t){return!!t.trim()})).map((function(t){return _(t)}));var m=f!==""?new RegExp("(".concat(v.join("|"),")"),"i"):undefined;var b="text-decoration: underline";return i("duet-popup-menu-item",{id:n?l:"",active:r,"data-index":e.id,"aria-selected":n?"true":undefined,"aria-current":r?"true":undefined,role:"option","aria-label":o,tabindex:d?"-1":null,onClick:function(t){return a(t)},onKeyUp:function(t){return c(t)},accessibleRole:"option",activeDescendant:n},m?i("span",{class:"option-container","aria-hidden":"true"},i("span",{innerHTML:e.name.replace(m,'<span style="'.concat(b,'">$&</span>'))})):e.name,e.tags&&i("span",{class:"option-tags"},e.tags.join(", ")))};var x='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;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";color:rgb(8, 42, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(8, 42, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.combobox-menu-container.sc-duet-combobox{width:var(--popup-width);max-height:200px}.duet-theme-turva2.duet-theme-turva.sc-duet-combobox-h{color:#172a3b}.duet-theme-turva2.duet-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:#172a3b}';var S=x;var k=t("duet_combobox",function(){function t(t){var i=this;e(this,t);this.duetChange=n(this,"duetChange",3);var r,s;this.listBoxId=u("duet-combobox-list-element");this.inputId=u("duet-combobox-input-id");this.activeDescendantId=u("duet-combobox-active-descendant");this.isAndroidDevice=((s=(r=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||r===void 0?void 0:r.toLowerCase())===null||s===void 0?void 0:s.indexOf("android"))>-1||null;this.isInsideModal=false;this.resizeObserver=new ResizeObserver(a((function(t){var e,n,r;if((t===null||t===void 0?void 0:t.length)===1){var s=(n=(e=t[0])===null||e===void 0?void 0:e.target)===null||n===void 0?void 0:n.getBoundingClientRect().width;var o=parseInt((r=getComputedStyle(i.listContainer.shadowRoot.querySelector(".duet-popup-menu-list")))===null||r===void 0?void 0:r.padding);i.listContainer.style.setProperty("--popup-width","".concat(s-2*o,"px"))}}),100));this.onInputChange=function(t){return __awaiter(i,void 0,void 0,(function(){var i;return __generator(this,(function(e){i=t.detail.value;this.inputValue=i;return[2]}))}))};this.onInputClick=function(){var t,e;if(i.openListOnClick){i.listOpen=!i.listOpen}else{i.listOpen=((t=i.inputValue)===null||t===void 0?void 0:t.length)>=i.minCharacters}if(!((e=i.getFilteredItems())===null||e===void 0?void 0:e.length)){i.listOpen=false}};this.onInputTyping=function(t){return __awaiter(i,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){e=t.detail.value;if(!this.force&&!this.multiple&&this.selectedItems.size>0&&e!==this.getSelectedItemLabel()){this.selectedItems.clear()}if(!this.force&&!this.multiple&&e===""){this.value=undefined}this.listOpen=String(e).length>=this.minCharacters&&((i=this.getFilteredItems())===null||i===void 0?void 0:i.length)>0;return[2]}))}))};this.onKeyDown=function(t){var e,n,r;var s=i.returnFilteredOrNonFiltered();var o=s.filter((function(t){return!i.selectedItems.has(t.id)}));i.input.accessibleActiveDescendant=undefined;if(h(t)){t.preventDefault();if(i.listOpen&&i.activeItem!==undefined&&s[i.activeItem]&&!i.selectedItems.has(s[i.activeItem].id)){if(i.multiple){i.addSelectedItem(s[i.activeItem].id,true)}else{i.updateSelectedItem(s[i.activeItem].id,true)}}else if(!i.multiple&&i.listOpen&&o.length===1&&o[0].name.toLowerCase()===i.input.value.toLowerCase()){i.updateSelectedItem(o[0].id,true)}i.activeItem=undefined;i.listOpen=false;return}if(c(t)||f(t)){if(i.listOpen){t.preventDefault()}i.updateInputText(true);i.activeItem=undefined;i.listOpen=false;return}var u=i.activeItem;if(d(t)){t.preventDefault();u=i.activeItem-1}else if(l(t)){if(((r=(n=(e=i.input)===null||e===void 0?void 0:e.value)===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0)<i.minCharacters){return}t.preventDefault();u=i.listOpen?i.activeItem+1:i.activeItem;i.listOpen=true}if(l(t)||d(t)){if(u<0||!u){u=0}if(u>=s.length){u=s.length-1}i.input.accessibleActiveDescendant=i.activeDescendantId;i.activeItem=u;i.scrollToActive()}return};this.processedItems=null;this.inputValue="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtered"},fi:{heading:"Valitse:",item:"{name}",itemFiltered:"{name}, {hiddenItems} suodatettu"},sv:{heading:"Välj:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtrerade"}};this.accessibleLabels=v(this.accessibleLabelDefaults,m());this.label="";this.caption="";this.theme="";this.force=false;this.multiple=false;this.items=undefined;this.formatter=function(t){return t&&t.name?t.name:""};this.value=undefined;this.minCharacters=0;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.popupMenuOpenHandler=function(){if(this.listOpen){this.listContainer.show()}else{this.listContainer.hide()}};t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?this.activeDescendantId:""};t.prototype.inputValueHandler=function(){var t=this;setTimeout((function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.getSelectedItemLabel()];case 1:t=i.sent();if(this.input.value==""&&t){this.input.value="";this.value=undefined}return[2]}}))}))}),200)};t.prototype.handleDocumentClick=function(t){var i=this;var e=t.composedPath();var n=e.every((function(t){return t!==i.element}));if(n){this.updateInputText(true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){var t=this;var i=[];this.processedItems=y(this.items);if(!Array.isArray(this.processedItems)){console.error("DuetCombobox: Items should be an array");return}if(this.processedItems.length!==new Set(__spreadArray([],this.processedItems,true)).size){console.warn("DuetCombobox: Duplicate item values found in the list")}this.processedItems=this.processedItems.map((function(t,e){if(typeof t==="string"){t={name:t,value:t}}if(t.id!==undefined){t.id=String(t.id)}else{t.id="".concat(JSON.stringify(t.value),"-").concat(t.name)}if(i.includes(t.id)){console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index");t.id="".concat(t.id,"-").concat(e)}i.push(t.id);return t}));var e=Array.from(this.selectedItems).filter((function(i){return!t.processedItems.find((function(t){return t.id===i}))}));if(e.length){if(this.multiple){e.forEach((function(i){return t.removeSelectedItem(i)}))}else{this.updateSelectedItem(e[0],true)}}};t.prototype.processValue=function(){var t=this;if(this.value!==""&&!this.value){this.selectedItems.clear();return}var i=Array.isArray(this.value)?this.value:[this.value];var e=this.processedItems.filter((function(t){return i.includes(t.value)})).map((function(t){return t.id}));if(e.length===this.selectedItems.size&&e.every((function(i){return t.selectedItems.has(i)}))){return}if(this.multiple){this.selectedItems.clear();this.input.clearChips();e.forEach((function(i){return t.addSelectedItem(i)}))}else{var n=this.processedItems.find((function(i){return i.value===t.value}));this.updateSelectedItem(n.id)}};t.prototype.processListOpenChange=function(){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}this.input.accessibleExpanded=this.listOpen?"true":"false"};t.prototype.componentWillLoad=function(){if(this.element.closest("duet-modal")){this.isInsideModal=true}o(this)};t.prototype.connectedCallback=function(){if(this.items){this.processItems()}var t=g(this.element);if(t.length){this.input=t[0]}else{this.input=document.createElement("duet-input");this.input.label=this.label;this.input.caption=this.caption;this.input.expand=true;this.element.prepend(this.input)}this.input.chips=this.multiple;this.input.addEventListener("duetChange",this.onInputChange);this.input.addEventListener("duetInput",this.onInputTyping);this.input.addEventListener("click",this.onInputClick);this.input.role="combobox";this.input.accessibleExpanded=this.listOpen?"true":"false";this.input.accessibleAutocomplete="list";this.input.accessibleControls=this.listBoxId;this.input.id=this.inputId;this.element.addEventListener("keydown",this.onKeyDown);b(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.processListOpenChange()};t.prototype.disconnectedCallback=function(){this.input.removeEventListener("duetChange",this.onInputChange);this.input.removeEventListener("click",this.onInputClick);this.element.removeEventListener("keydown",this.onKeyDown);this.resizeObserver.disconnect();p(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.processValue()};t.prototype.shouldListBeFiltered=function(){var t=this;var i;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue&&((i=this.inputValue)===null||i===void 0?void 0:i.length)<this.minCharacters){var e=this.processedItems.find((function(i){return t.selectedItems.has(i.id)}));return!(this.formatter(e).toLowerCase()===this.input.value.toLowerCase())}return true};t.prototype.returnFilteredOrNonFiltered=function(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]};t.prototype.emitChangeEvent=function(t){var i=this.processedItems.find((function(i){return i.id===t}));this.duetChange.emit({item:i,value:this.value,component:"duet-combobox"})};t.prototype.updateMultipleValue=function(){var t=this;this.value=this.processedItems.filter((function(i){return t.selectedItems.has(i.id)})).map((function(t){return t.value}));this.input.value="";this.updateChips();this.input.setFocus()};t.prototype.addSelectedItem=function(t,i){if(this.selectedItems.has(t)){return}this.selectedItems.add(t);this.updateMultipleValue();if(i){this.emitChangeEvent(t)}};t.prototype.removeSelectedItem=function(t,i){if(!this.selectedItems.has(t)){return}this.selectedItems.delete(t);this.updateMultipleValue();if(i){this.emitChangeEvent(t)}};t.prototype.updateSelectedItem=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.selectedItems.clear();this.selectedItems.add(t);this.value=this.processedItems.find((function(i){return i.id===t})).value;if(i){this.emitChangeEvent(this.value&&t)}return[4,this.updateInputText()];case 1:e.sent();return[2]}}))}))};t.prototype.updateChips=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;var e=this;return __generator(this,(function(n){switch(n.label){case 0:t=Array.from(this.selectedItems);return[4,this.input.getChips()];case 1:i=n.sent();t.forEach((function(t){return __awaiter(e,void 0,void 0,(function(){var i,e,n,r;var s=this;return __generator(this,(function(o){switch(o.label){case 0:i=this.processedItems.find((function(i){return i.id===t}));return[4,this.formatItem(i)];case 1:e=o.sent();return[4,this.input.hasChip({value:"".concat(t),text:e})];case 2:n=o.sent();if(!n){r=document.createElement("duet-chip");r.variation="input";r.role="option";r.value="".concat(t);r.textContent=e;r.addEventListener("duetRemove",(function(t){var i=t.detail.value;s.removeSelectedItem(i,true)}));this.input.addChip(r)}return[2]}}))}))}));i.forEach((function(i){if(!t.includes(i.value)){i.remove()}}));return[2]}}))}))};t.prototype.getSelectedItemLabel=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e;var n=this;return __generator(this,(function(r){switch(r.label){case 0:t=this.processedItems.find((function(t){return n.selectedItems.has(t.id)}));if(!t)return[3,2];return[4,this.formatItem(t)];case 1:e=r.sent();return[3,3];case 2:e="";r.label=3;case 3:i=e;return[2,i]}}))}))};t.prototype.updateInputText=function(){return __awaiter(this,arguments,void 0,(function(t){var i,e,n;if(t===void 0){t=false}return __generator(this,(function(r){switch(r.label){case 0:if(t&&this.multiple){this.input.value="";return[2]}if(!(t&&this.force))return[3,3];i=this.returnFilteredOrNonFiltered();if(!this.multiple&&this.listOpen&&i.length===1&&i[0].name.toLowerCase()===this.input.value.toLowerCase()){this.updateSelectedItem(i[0].id,true)}if(!(this.selectedItems.size===0))return[3,1];this.input.value="";return[3,3];case 1:e=this.input;return[4,this.getSelectedItemLabel()];case 2:e.value=r.sent();r.label=3;case 3:if(!(!t&&this.selectedItems.size>0))return[3,6];this.input.value="";n=this.input;return[4,this.getSelectedItemLabel()];case 4:n.value=r.sent();this.input.scrollLeft=this.input.scrollWidth;return[4,this.input.setFocus()];case 5:r.sent();r.label=6;case 6:return[2]}}))}))};t.prototype.onListClick=function(t,i){t.preventDefault();t.stopPropagation();if(this.multiple){this.addSelectedItem(i.id,true)}else{this.updateSelectedItem(i.id,true)}this.activeItem=undefined;this.listOpen=false;return this.listOpen};t.prototype.scrollToActive=function(){var t=document.getElementById("".concat(this.activeDescendantId));if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,i,e,n){if(!t||n===undefined){return""}var r=e===n?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return r.replace("{name}",String(t.name)).replace("{current}",String(i+1)).replace("{total}",String(e)).replace("{hiddenItems}",String(n-e))};t.prototype.getFilteredItems=function(){var t=this;var i=this.processedItems.filter((function(i){var e,n,r,s,o;return((e=String(i.value))===null||e===void 0?void 0:e.toLowerCase()[t.filterType]((n=t.inputValue)===null||n===void 0?void 0:n.toLowerCase()))||((r=String(i.name))===null||r===void 0?void 0:r.toLowerCase()[t.filterType]((s=t.inputValue)===null||s===void 0?void 0:s.toLowerCase()))||t.formatter(i).toLowerCase()[t.filterType]((o=t.inputValue)===null||o===void 0?void 0:o.toLowerCase())||t.selectedItems.has(i.id)})).filter((function(i){var e=true;if(t.multiple&&t.selectedItems.has(i.id)){e=false}return e}));return this.sortFilteredItems(i)};t.prototype.sortFilteredItems=function(t){var i=this;if(t.length>0){t.filter((function(t){return i.selectedItems.has(t.id)})).forEach((function(i){var e=t.indexOf(i);t.splice(e,1);t.unshift(i)}))}return t};t.prototype.render=function(){var t;var e=this;var n=this.returnFilteredOrNonFiltered();return i(r,{class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},i("slot",null),i("div",null,i("duet-popup-menu",{id:this.listBoxId,controller:this.input,ref:function(t){return e.listContainer=t},accessibleRole:"listbox",allowVerticalFlip:false,class:{"duet-skip-teleport-inert":this.isInsideModal}},i("div",{class:"combobox-menu-container"},this.listOpen&&n.map((function(t,r){return i(w,{id:e.activeDescendantId,item:t,activeDescendant:r===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,clickHandler:function(i){return e.onListClick(i,t)},label:e.formatLabel(t,r,n.length,e.processedItems.length),isAndroidDevice:e.isAndroidDevice})})),i("duet-spacer",{size:"x-small"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{listOpen:["popupMenuOpenHandler","processListOpenChange"],activeItem:["activeItemHandler"],inputValue:["inputValueHandler"],items:["processItems"],value:["processValue"]}},enumerable:false,configurable:true});return t}());k.style=S}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-ddf20691.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,a,i,o,r,s,d,c;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){o=e.i},function(e){r=e.a;s=e.c;d=e.d;c=e.g},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:16px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-14px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:#172a3b}';var l=u;var b=e("duet_slideout_lang",function(){function e(e){t(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=r();this.theme=""}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){s(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){var e=c(this.chooseLangObject);return n(a,{key:"2d8d0ea8ccd8932027c97026ab0fd8ff94b13f5d"},n("div",{key:"8ecd4a30d2535356b74019ea8a6e6243bb05b88c",class:"duet-slideout-lang",role:"group","aria-label":e},n("duet-icon",{key:"825bf7a329128b49e03969c52b7abb3c76922fef",name:"navigation-language",margin:"none",color:"secondary",size:"small"}),n("slot",{key:"a43360f381937d2d74610b34de107c10e384a880"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());b.style=l}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function r(e){try{u(o.next(e))}catch(e){i(e)}}function s(e){try{u(o["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):a(e.value).then(r,s)}u((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return u([e,t])}}function u(s){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(o=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{o=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js"],(function(e){"use strict";var t,n,o,a,i;return{setters:[function(e){t=e.r;n=e.h;o=e.H;a=e.g},function(e){i=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 36px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:#e61740}:host(.duet-theme-turva2) slot{color:#172a3b}';var s=r;var u=e("duet_slideout_panel_dropdown",function(){function e(e){var n=this;t(this,e);this.onClick=function(){n.open=!n.open};this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n){this.open=false}};e.prototype.componentWillLoad=function(){i(this);var e=this.element.querySelectorAll("duet-slideout-link");e.forEach((function(e){e.menuItem=true}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(o,{key:"d258b7901f9bc6e8c6d5be72c705441178343174"},n("div",{key:"8d089ee36780b154b591c28104fe576d16d44103",class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},n("button",{key:"b6d9cfa6742285816254d8f800d0134cbab60392",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&n("duet-icon",{key:"d47c45eda3b4efd847b762bf480f12529a017490",name:this.icon,size:"small",margin:"none",color:"secondary"}),n("span",{key:"6e7ca63c7898c2b71207f7a0d4c4ae5fd1e57383",class:"label"},n("slot",{key:"3c9920b20aee4d50cde6494dcb1789c74bd785f1",name:"label"}),n("duet-icon",{key:"b45531eb083d9819f941c20b70712e94cea1628b",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),n("div",{key:"1d6fc52322fe24684457bb1e03ba908a5496e200",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",{key:"a74310df86c00bf3c2b547b16eb256adcb5681f3"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as r}from"./p-c6d073be.js";import{i as n}from"./p-53e6e1da.js";import{f as i}from"./p-a45e3f8b.js";const o=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){n(this)}handleEscape(e){if(i(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}render(){return t(a,{key:"1631b8785eac1ae6b4572821e41bca2cc8301e65",role:"listitem"},t("a",{key:"275eb5769ff90ea7bd0e2be9120dc2d8791c5c5b",class:{"duet-submenu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false"},this.icon&&t("duet-icon",{key:"ef4c344048e8407ef8c7cea344d613a57b530315",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("span",{key:"8c6ba8356f5a4ec23c0bcf3ea6f8face48e62397",class:"label"},t("slot",{key:"19a1be178aeec7d6086db248c1cc80a276239f90"}))))}get element(){return r(this)}};o.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;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;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:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-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-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva.active .label::after{background:#e61740}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva.active::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva.active{color:#e61740}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva:hover{color:#172a3b;background:#fbe1d1}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva:hover.active{color:#e61740}}';export{o as duet_submenu_bar_link}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,c,o){function i(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,d){function r(e){try{u(o.next(e))}catch(e){d(e)}}function h(e){try{u(o["throw"](e))}catch(e){d(e)}}function u(e){e.done?c(e.value):i(e.value).then(r,h)}u((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},o,i,d,r;return r={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function h(e){return function(t){return u([e,t])}}function u(h){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,h[0]&&(c=0)),c)try{if(o=1,i&&(d=h[0]&2?i["return"]:h[0]?i["throw"]||((d=i["return"])&&d.call(i),0):i.next)&&!(d=d.call(i,h[1])).done)return d;if(i=0,d)h=[h[0]&2,d.value];switch(h[0]){case 0:case 1:d=h;break;case 4:c.label++;return{value:h[1],done:false};case 5:c.label++;i=h[1];h=[0];continue;case 7:h=c.ops.pop();c.trys.pop();continue;default:if(!(d=c.trys,d=d.length>0&&d[d.length-1])&&(h[0]===6||h[0]===2)){c=0;continue}if(h[0]===3&&(!d||h[1]>d[0]&&h[1]<d[3])){c.label=h[1];break}if(h[0]===6&&c.label<d[1]){c.label=d[1];d=h;break}if(d&&c.label<d[2]){c.label=d[2];c.ops.push(h);break}if(d[2])c.ops.pop();c.trys.pop();continue}h=t.call(e,c)}catch(e){h=[6,e];i=0}finally{o=d=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-87633fff.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,c,o,i,d,r,h,u,a,s,n,l,b,p,g,m,f,v,k;return{setters:[function(e){t=e.r;c=e.c;o=e.h;i=e.H;d=e.g},function(e){r=e.i},function(e){h=e.a},function(e){u=e.c},function(e){a=e.i;s=e.h;n=e.s;l=e.u;b=e.f},function(e){p=e.g;g=e.a;m=e.c;f=e.d},function(e){v=e.h;k=e.c},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<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>'};var w='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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}@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}}.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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;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;text-decoration:none;word-break:break-word;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:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-choice input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.duet-theme-turva.sc-duet-choice input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}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{box-shadow: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{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.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;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;-webkit-appearance:none;appearance:none}.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}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.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:#172a3b !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:#b2c2cd}.info .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:#fdf7f2;border-color:#172a3b !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:#e61740}.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:#172a3b;border-color:#172a3b !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:#172a3b;border-color:#172a3b}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:#172a3b}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice{background:#fdf7f2;border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:#7891a4}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle.sc-duet-choice{border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:#fdf7f2;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:#172a3b}.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:#7891a4}';var y=w;var z=e("duet_choice",function(){function e(e){var o=this;t(this,e);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=false;this.choiceId=u("DuetChoice");this.expandId=u("DuetChoiceExpand");this.headerId=u("DuetChoiceHeader");this.infoButtonId=u("DuetChoiceInfoButton");this.onMouseEnter=function(){o.isHovering=true};this.onMouseLeave=function(){o.isHovering=false};this.onClick=function(e){o.toggleChecked(e)};this.handleKeyDown=function(e){if(a(e)){o.toggleChecked(e)}if(s(e)&&o.hasInfo){o.toggleInfo()}};this.onChange=function(){o.checked=o.nativeInput.checked||false;o.duetChange.emit({checked:o.checked,value:o.value,component:"duet-choice"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(o.getDisabled()){return}if(o.type==="radio"&&o.checked){return}o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleInfo=function(){o.isInfoOpen=!o.isInfoOpen;if(o.isInfoOpen){setTimeout((function(){var e;(e=o.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=h;this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=p(this.infoLabelDefaults,g());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=p(this.collapsibleNotificationDefaults,g())}e.prototype.componentWillLoad=function(){r(this);this.hasInfo=v(this.element,"info");this.hasHeader=v(this.element,"header");this.hasAdditional=v(this.element,"additional");this.hasLabel=v(this.element,"label");this.hasBeforeText=v(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){m(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);n(this);this.duetChoiceReady.emit()};e.prototype.disconnectedCallback=function(){f(this);l(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(b(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if((this.collapsible||this.hasInfo)&&this.getExpanded()){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return o(i,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},o("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},o("div",{class:{"duet-choice-card":true,"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":this.padding==="none"}},o("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,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:function(t){return e.nativeInput=t}}),o("label",{htmlFor:t,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&o("slot",{name:"before-text"}),this.icon&&o("div",{class:"duet-choice-card-icon"},o("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),o("div",{class:"duet-choice-card-text"},o("div",null,this.hasLabel?o("slot",{name:"label"}):this.label),this.caption&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("slot",{name:"additional"}))),o("div",null,o("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&o("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&o("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},o("div",{class:"duet-choice-info-icon"},o("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&o("span",{id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?o("div",{class:this.getClassNames(),id:this.expandId},o("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},o("span",{id:this.headerId},o("slot",{name:"header"})),this.hasInfo?o("span",{ref:function(t){return e.infoContainer=t},tabindex:"-1",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},o("span",null,o("slot",{name:"info"})),o("slot",null)):o("span",{id:"".concat(this.choiceId,"-collapsible-content")},o("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return e}());z.style=y;var _="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.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}";var C=_;var j=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.childObserverCallback=function(e){if(e.some((function(e){var t;return((t=e.removedNodes)===null||t===void 0?void 0:t.length)>0&&Array.from(e.removedNodes.values()).some((function(e){return e.nodeName.toLowerCase()==="duet-choice"}))}))){c.updateChoices()}};this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.choices.has(t)){c.value=t.value}};this.onChoiceReady=function(){c.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.removeDisabledAttributeWhenFalse=function(){if(!this.disabled){this.element.removeAttribute("disabled")}};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.childObserver=new MutationObserver(this.childObserverCallback.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true});this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.componentWillLoad=function(){r(this);this.removeDisabledAttributeWhenFalse();k(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,o,i,d;var r=this;return __generator(this,(function(h){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;c=false;this.choices.clear();this.element.querySelectorAll("duet-choice").forEach((function(e){if(e.closest("duet-choice-group")===r.element){r.choices.add(e)}}));for(o=0,i=Array.from(this.choices);o<i.length;o++){d=i[o];d.name=this.name;d.required=this.required;d.groupDisabled=this.disabled;d.groupDirection=this.direction;d.groupResponsive=this.responsive;if(!c&&d.value===t){c=true;d.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{d.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return o(i,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},o("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&o("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{name:"tooltip"}),o("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},o("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["removeDisabledAttributeWhenFalse","updateChoices"],value:["setInitialValue","updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());j.style=C}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,g as a}from"./p-c6d073be.js";import{i}from"./p-53e6e1da.js";import{g as s}from"./p-ca32f459.js";import{a as o}from"./p-7ea0d841.js";import"./p-9c3c64b9.js";const n=class{constructor(t){e(this,t),this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},this.onLinkClick=e=>{const{url:t,meta:a}=this.data;this.linkClickEvent&&(e.preventDefault(),this.linkClickEvent.emit({component:"duet-upload",data:{name:this.data.item.name,url:t,meta:a}}))},this.theme="",this.data=void 0,this.type=void 0,this.showLinks=void 0,this.actions=void 0,this.buttonTitles=void 0,this.label=void 0,this.categoryLabel=void 0,this.errorCodes=void 0,this.showCategory=void 0,this.linkClickEvent=void 0}componentWillLoad(){i(this)}async focusActionButton(){this.actionButton&&(await this.actionButton.setFocus({preventScroll:!0}),this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}getFileNameLine(){const{item:e,size:a,uploaded:i,url:n,progress:r,error:l}=this.data,{name:d}=e,c=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),h=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((e,t=2)=>{if(0===e)return"0 Bytes";const a=t<0?0:t,i=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,i)).toFixed(a))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]})(a),")");switch(this.type){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-visually-hidden",null,t("duet-paragraph",null,s(this.fileUploadingInfo))),t("duet-progress",{theme:this.theme,progress:Math.ceil(r),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},o(l.type,this.errorCodes)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},i&&n&&this.showLinks?t("duet-link",{class:"file-link",onClick:this.onLinkClick,url:n},c):c,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}}getActionButtonTitle(e){return!0===this.buttonTitles[e.name]||!1===this.buttonTitles[e.name]?e:s(this.buttonTitles[e.name])}render(){const{uid:e,meta:a,item:i}=this.data,o=a&&a.badges?t("span",null,a.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,n=`${a&&a.badges?a.badges.join(","):""} ${i.name}`;return t("div",{key:"1412bdaaf8001dd4849c5128cc463327f4a5dd2d",class:{"upload-item-row":!0}},this.showCategory&&t("div",{key:"635382f438d151cbf5f84b04d24ca36d80584953",class:"item-categories"},t("duet-heading",{key:"1a8f5beb2b403297bfe5a25fb125337817848c97",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.categoryLabel)),o),t("div",{key:"b51a8872eff794722a6fbde9fad6cd77e81b036f",class:{"item-name":!0,"no-category":!this.showCategory}},!!this.label&&t("duet-heading",{key:"c423681df8f4f2c90dec48b5204090ffe7428019",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.label)),this.getFileNameLine()),t("div",{key:"3f0c5fc33ca3f8053b7a28190e4816aeb2354cbf",class:"item-actions"},this.actions.map((i=>t("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:e||null,actionName:i.name,theme:this.theme,iconName:i.icon,iconColor:i.color,iconSize:i.size,background:i.background,"accessible-label":`${n} ${s(i.label)} `,accessibleTitle:this.getActionButtonTitle(i),ref:e=>this.actionButton=e})))))}get element(){return a(this)}};n.style=".file-link::part(duet-link){text-decoration:none}";export{n as duet_upload_item}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,a){function d(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function n(e){try{s(a.next(e))}catch(e){o(e)}}function r(e){try{s(a["throw"](e))}catch(e){o(e)}}function s(e){e.done?i(e.value):d(e.value).then(n,r)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,d,o,n;return n={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function r(e){return function(t){return s([e,t])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,r[0]&&(i=0)),i)try{if(a=1,d&&(o=r[0]&2?d["return"]:r[0]?d["throw"]||((o=d["return"])&&o.call(d),0):d.next)&&!(o=o.call(d,r[1])).done)return o;if(d=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;d=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];d=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-49957220.system.js","./p-f183abd6.system.js","./p-87633fff.system.js","./p-2436f107.system.js","./p-752fa0fc.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-b1f33063.system.js","./p-13eec75c.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,i,a,d,o,n,r,s,u,l,m,c,h,f,p,g,b;return{setters:[function(e){t=e.r;i=e.c;a=e.h;d=e.g},function(e){o=e.d;n=e.e},function(e){r=e.i},function(e){s=e.b},function(e){u=e.f},function(e){l=e.f},function(e){m=e.a;c=e.g;h=e.c;f=e.d},function(e){p=e.h},function(e){g=e.T},function(e){b=e.p},function(){},function(){}],execute:function(){var y='*,*::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-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:16px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{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-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transition:all 300ms ease;transform:scaleY(0);transform-origin:top}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:16px 16px 0 0;opacity:1;transition:top 600ms ease}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:16px 16px 0 0}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-modal-close{position:absolute;top:8px;right:8px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header{background:#fdf7f2;border-bottom:1px solid #d4dde2}';var v=y;var x=600;var k=e("duet_modal",function(){function e(e){t(this,e);this.duetOpen=i(this,"duetOpen",7);this.duetClose=i(this,"duetClose",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.duetBeforeClose=i(this,"duetBeforeClose",7);var a,d;this.hasStickyHeader=false;this.isAndroidDevice=((d=(a=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||a===void 0?void 0:a.toLowerCase())===null||d===void 0?void 0:d.indexOf("android"))>-1||null;this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.accessibleLoaderAnnouncementDefaults=s;this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"};this.handleAndroidResizeEvents=function(){if(document.activeElement.tagName=="INPUT"){window.setTimeout((function(){var e;try{(e=document===null||document===void 0?void 0:document.activeElement)===null||e===void 0?void 0:e.scrollIntoViewIfNeeded(true)}catch(e){}}),100)}};this.open=false;this.language=m();this.accessibleCloseLabel=c(this.accessibleCloseLabelDefaults,this.language);this.accessibleLoaderAnnouncement=c(this.accessibleLoaderAnnouncementDefaults,this.language);this.size="medium";this.accessibleDescribedBy=undefined;this.accessibleLabelledBy=undefined;this.accessibleLabel=undefined;this.accessibleDetails=undefined;this.accessibleDescription=undefined;this.variation="default";this.gutterSize="medium";this.theme="";this.heading="";this.headingLevel="h3";this.headingVisualLevel=undefined;this.icon="";this.color="";this.active=false;this.closeOnBlur=false;this.focusElementOnClose=undefined;this.accessibleAnnounceChanges=undefined}e.prototype.openChanged=function(){var e=this;if(this.open){if(this.modalEl&&this.modalEl.scrollTop){this.modalEl.scrollTop=0}this.focusedElBeforeOpen=document.activeElement;o(this.variation==="slide-up"?this.modalContentEl:this.modalEl,{reserveScrollBarGap:true});this.teleport.makeSiblingsInert();this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(e){return e.remove()}));setTimeout((function(){if(e.variation==="loader"){e.addMessage(e.accessibleLoaderAnnouncement,false)}else{if(e.isAndroidDevice){e.modalEl.focus()}else{e.buttonEl.setFocus()}}}),x);setTimeout((function(){e.modalEl.classList.add("duet-disable-transitions")}),x+200);if(this.isAndroidDevice){window.addEventListener("resize",this.handleAndroidResizeEvents)}this.duetOpen.emit()}else{this.modalEl.classList.remove("duet-disable-transitions");this.modalEl.addEventListener("transitionend",(function(){return e.duetCloseComplete.emit()}),{once:true});n(this.variation==="slide-up"?this.modalContentEl:this.modalEl);this.duetClose.emit();this.teleport.removeInertFromSiblings();if(this.focusElementOnClose!==""){setTimeout((function(){return __awaiter(e,void 0,void 0,(function(){var e,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=this.focusedElBeforeOpen;if(typeof this.focusElementOnClose==="string"){e=document.getElementById(this.focusElementOnClose)||e}else{e=this.focusElementOnClose||e}if(!(e.tagName.toLowerCase()==="duet-popup-menu-item"))return[3,2];t=e.closest("duet-popup-menu");return[4,t.isOpen()];case 1:i=a.sent();if(!i&&t.controller){if(typeof t.controller==="string"){e=document.getElementById(t.controller)}else{e=t.controller}}a.label=2;case 2:u(e);return[2]}}))}))}),x)}if(this.isAndroidDevice){window.removeEventListener("resize",this.handleAndroidResizeEvents)}}};e.prototype.activeChanged=function(){this.open=this.active};e.prototype.componentWillLoad=function(){this.hasStickyHeader=p(this.element,"sticky-header");r(this)};e.prototype.componentDidLoad=function(){if(this.active){this.open=true;this.modalEl.classList.add("duet-disable-transitions")}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new g(this.element)}if(this.teleport){this.teleport.activate()}h(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])};e.prototype.disconnectedCallback=function(){f(this);if(this.modalEl){n(this.modalEl)}};e.prototype.handleKeyUp=function(e){if(this.open){if(l(e)){this.closeModal(e)}}};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=false;return[2]}))}))};e.prototype.focusCloseButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonEl.setFocus();return[2]}))}))};e.prototype.scrollToTop=function(){return __awaiter(this,arguments,void 0,(function(e){var t,i,a,d;if(e===void 0){e=true}return __generator(this,(function(o){i=e?"smooth":"auto";if(this.variation==="slide-up"){a=((t=this.modalEl.querySelector(".duet-modal-sticky-header"))===null||t===void 0?void 0:t.clientHeight)||0;d=this.modalEl.querySelector(".duet-modal-body").computedStyleMap().get("padding-top");this.slotContainerEl.style.scrollMarginTop="".concat(a+d.value,"px");this.slotContainerEl.scrollIntoView({behavior:i})}else{this.modalEl.querySelector(".duet-modal-body").scrollIntoView({behavior:i})}return[2]}))}))};e.prototype.addMessage=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var i;var a=this;if(t===void 0){t=true}return __generator(this,(function(d){i=document.createElement(t?"duet-paragraph":"duet-visually-hidden");i.textContent=e;i.classList.add("duet-loader-message");if(t){setTimeout((function(){a.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(e){return e.classList.remove("show")}));i.classList.add("show")}),10)}this.slotContainerEl.appendChild(i);return[2]}))}))};e.prototype.closeModal=function(e){var t=this;this.duetBeforeClose.emit({originalEvent:e,component:"duet-modal"});if(!e.defaultPrevented){setTimeout((function(){t.hide()}),1)}};e.prototype.render=function(){var e,t;var i=this;var d,o;var n=b("primary",this.theme);var r=b("secondary",this.theme);var s=a("div",{key:"cee464a60790470777e6a499800617fdeda46de2",class:"duet-modal-close"},a("duet-button",{key:"6eadf084b0e3bdebf9ed9415f993767800a86693",ref:function(e){return i.buttonEl=e},variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:r,iconSize:"large",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:function(e){return i.closeModal(e)},fixed:true}));return a("div",{key:"569724872e61d206fbca2289a0a1d4b4beb651ca",ref:function(e){return i.modalEl=e},"aria-label":(d=this.accessibleLabel)!==null&&d!==void 0?d:this.heading,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,role:this.variation==="loader"?"alert":"dialog","aria-modal":this.isSafariBrowser?false:true,tabindex:"-1",class:{"duet-modal-container":true,"duet-theme-turva":this.theme==="turva","duet-modal-active":this.open,"duet-modal-slide-up":this.variation==="slide-up","duet-modal-has-sticky-header":this.hasStickyHeader}},a("duet-overlay",{key:"631d58f62ee39029e3f410eaad94fc95efcfc4cb","z-index":"-1",visible:this.open,variation:this.variation==="loader"?"white":"default"}),a("div",{key:"8d52e7639d49138fb22c4256e53698a7ee6ecb0d",ref:function(e){return i.modalInnerEl=e},class:(e={"duet-modal-inner":true},e[this.size]=true,e["duet-modal-slide-up"]=this.variation==="slide-up",e),onClick:function(e){if(i.closeOnBlur){var t=e.target||e.srcElement;if(t===i.modalInnerEl){i.closeModal(e)}}}},a("div",{key:"9773dc0770a2d32e95b72571778d6b8863f0adbf",ref:function(e){return i.modalContentEl=e},"aria-live":this.accessibleAnnounceChanges==="all"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="all"?"true":null,class:(t={"duet-modal":true,"duet-modal-has-sticky-header":this.hasStickyHeader},t[this.size]=true,t[this.variation]=true,t)},this.gutterSize!=="none"&&!this.hasStickyHeader&&a("duet-spacer",{key:"1f51df35643d76720aadc11b98268076bd459cc4"}),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},s,a("slot",{name:"sticky-header"})):s,a("div",{key:"5433702f6dad665e82628236206e35a0503c3095",class:{"duet-modal-body":true,"duet-modal-gutter-none":this.gutterSize==="none","duet-modal-gutter-small":this.gutterSize==="small","duet-modal-gutter-medium":this.gutterSize==="medium","duet-modal-gutter-large":this.gutterSize==="large"},"aria-live":this.accessibleAnnounceChanges==="heading"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="heading"?"true":null},a("div",{key:"579ba1b41caf40e97242aeacbf47ead29ea6aac7",class:"duet-modal-header"},a("span",{key:"353ab4ce18f8cfaa384b7d1e02e5daf03895fc01",class:"duet-modal-inner-slot-top"},a("slot",{key:"d1b1bd5e49db08393d62154e7a3524ea4bc5fc12",name:"top"})),this.icon&&a("duet-icon",{key:"559c22da92b732cc829c9047bdc0c6b115058f32",name:this.icon,size:"xx-large",color:this.color||n}),this.heading&&a("duet-heading",{key:"4ffd1a28f6c1ec9a946b362f588e04350bab1dbd","visual-level":(o=this.headingVisualLevel)!==null&&o!==void 0?o:this.headingLevel,level:this.headingLevel,theme:this.theme},this.heading)),this.variation==="loader"&&a("div",{key:"2c9b370fbf07ff1804bb2bb8590593dae83cc629",class:"duet-modal-spinner"},a("duet-spinner",{key:"77c91d8fef8f52c65b5565388343bf0021529c1f",size:"large",color:b("primary",this.theme)})),a("div",{key:"3d4aa27f79ea4483c783d8f00f29663f0ff8cf0b","aria-live":this.variation==="loader"?"assertive":this.accessibleAnnounceChanges==="body"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="body"?"true":null,class:"duet-modal-inner-slot-default",ref:function(e){return i.slotContainerEl=e}},a("slot",{key:"c67bd34671197745eca7f15cc88c1d42b2e185c1"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["openChanged"],active:["activeChanged"]}},enumerable:false,configurable:true});return e}());k.style=v}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as n,H as t,g as r}from"./p-c6d073be.js";import{g as a}from"./p-ca32f459.js";import"./p-9c3c64b9.js";const i=class{constructor(n){e(this,n),this.defaultLabels={new:{fi:"Uutta sisältöä",en:"New content",sv:"Nyt innehålle"},change:{fi:"Muuttunutta sisältöä",en:"Changed content",sv:"Ändrat innehålle"},error:{fi:"Sisältää virheen",en:"Contains error",sv:"Innehåller ett fel"},success:{fi:"Onnistunut toiminto",en:"Completed successfully",sv:"Lyckad åtgärd"}},this.getAccessibleLabel=()=>this.accessibleLabel||a(this.defaultLabels[this.variation]),this.variation="change",this.accessibleLabel=void 0}render(){return n(t,{key:"068dfb1142e610afba3d6a0bb44cc50d5af2e0be"},n("span",{key:"95dda3401969956579bb40c3de9a33be2390f7b8",class:{"duet-indicator":!0,[`duet-indicator-${this.variation}`]:!0}}),n("duet-visually-hidden",{key:"1e6483d4032eb771fc01507692a92bcc962f346a"},this.getAccessibleLabel()))}get element(){return r(this)}};i.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;position:relative}.duet-indicator{position:absolute;top:0;right:0;display:inline-block;width:8px;height:8px;border-radius:50%}.duet-indicator-new{background:rgb(0, 119, 179)}.duet-indicator-change{background:rgb(247, 178, 40)}.duet-indicator-error{background:rgb(185, 16, 74)}.duet-indicator-success{background:rgb(29, 106, 88)}";export{i as duet_indicator}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function l(e){try{r(a.next(e))}catch(e){o(e)}}function s(e){try{r(a["throw"](e))}catch(e){o(e)}}function r(e){e.done?i(e.value):n(e.value).then(l,s)}r((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return r([e,t])}}function r(s){if(a)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(i=0)),i)try{if(a=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(s[0]===6&&i.label<o[1]){i.label=o[1];o=s;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(s);break}if(o[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{a=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-0c4bbd65.system.js","./p-75fdf144.system.js","./p-f183abd6.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-a5ddcabc.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,a,n,o,l,s,r,c,d,u,h,f,p,b,g;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;o=e.g},function(e){l=e.a},function(e){s=e.f;r=e.t},function(e){c=e.i},function(e){d=e.c},function(e){u=e.i;h=e.s;f=e.u},function(e){p=e.g;b=e.h},function(e){g=e.s}],execute:function(){var m='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.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)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-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(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}:host(.duet-theme-turva2){color:#172a3b}:host(.duet-theme-turva2) .duet-collapsible-content.duet-theme-turva,:host(.duet-theme-turva2) .duet-collapsible-heading.duet-theme-turva{color:rgb(23, 28, 58)}';var y=m;var v=e("duet_collapsible",function(){function e(e){var a=this;t(this,e);this.duetToggle=i(this,"duetToggle",7);this.id=d("DuetCollapsible");this.handleKeyDown=function(e){if(u(e)){a.handleClick(e)}};this.getFontSizeFromTokens=function(e){if(e===void 0){e=a.headingSize}if(!e){return s}else{var t=/-/g;var i=e.replace(t,"_");return r["font_size_".concat(i)]}};this.getEquivalentIconSize=function(e){if(e===void 0){e=a.headingSize}switch(e){case"x-small":return"xx-small";case"small":return"xx-small";case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}};this.getAccessibleLabel=function(){if(a.accessibleLabel){return a.accessibleLabel}var e=[];if(a.heading){e.push(a.heading)}if(a.hasAfterHeading){e.push(p(a.element,"after-heading").map((function(e){return e.textContent.trim()})).join(", "))}if(a.caption){e.push(a.caption)}return e.join(". ")};this.handleClick=function(e){e.preventDefault();a.open=!a.open;a.duetToggle.emit({component:"duet-collapsible",originalEvent:e})};this.theme="";this.negative=false;this.accessibleLabel=undefined;this.heading="";this.caption="";this.headingFullWidth=false;this.centerHeading=false;this.headingWeight="semibold";this.headingSize=undefined;this.headingLevel=undefined;this.margin="auto";this.open=false}e.prototype.componentWillLoad=function(){c(this);this.hasAfterHeading=b(this.element,"after-heading")};e.prototype.connectedCallback=function(){h(this)};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.element.classList.add("user-is-tabbing");this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.headingLevel?g(this.headingLevel):"div";return a(n,{key:"7d31031b7dadd4155d8a3458ec08c93c7e3cf3c5",class:{"duet-m-0":this.margin==="none",negative:this.negative}},a(t,{key:"f00b09d4646d2a5c86761675c6e46d49af9319cc"},a("button",{key:"a53704d19ce0908a29670199215c180996ecc898",class:{"duet-collapsible-heading":true,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":this.theme==="turva","duet-collapsible-normal-weight":this.headingWeight==="normal","has-after-heading":this.hasAfterHeading,"full-width":this.headingFullWidth,"has-caption":!!this.caption},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:function(t){return e.nativeButton=t},"aria-label":this.getAccessibleLabel(),"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},a("div",{key:"ce43b1e2dabc8910ecc4ed8484d45dca91ff4580",class:"duet-collapsible-heading-wrapper"},a("div",{key:"0b6b1110c4d5a265f67cd22849f3d264bab78849",class:"duet-collapsible-heading-icon"},a("duet-icon",{key:"26bc88a57fb37575d307c750fb956761f1dc4d23",margin:"none",size:this.getEquivalentIconSize(),icon:l.svg})),a("div",{key:"380054a26a1ad98a8db9e5b87b1fb5e02f40d3a1",class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading),this.hasAfterHeading&&a("div",{key:"c1a4f4b35f20b0c6206ad22ec0789fd9fe73f0ca",part:"duet-collapsible-after-heading"},a("slot",{key:"5d4b47626ddaba28522b080d60efd6e19d72dd57",name:"after-heading"}))),this.caption&&a("div",{key:"3fe2e63e633411be26b8f9382420922b864a09fb",class:"duet-collapsible-heading-caption"},a("duet-caption",{key:"c6e38e01e467852441c075013df51aa4e44c89a3",size:"small",margin:"none"},this.caption)))),a("div",{key:"6dd09c8172dda9a8819f5e41d5cf84431f748bd1",id:this.id,class:{"duet-collapsible-content":true,"duet-theme-turva":this.theme==="turva"},part:"duet-collapsible-content"},a("slot",{key:"2377257e231c64d5d8a9719d0527cd618d68c80d"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());v.style=y}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-a5ddcabc.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.a}],execute:function(){t("g",n);function n(t){var n=t.element.textContent;if(t.accessibleLabel){return t.accessibleLabel}if((!!t.download||t.download==="")&&n){return"".concat(n,". ").concat(t.accessibleLabelDownload,".")}if(t.external&&n){return"".concat(n,". ").concat(t.accessibleLabelExternal,".")}if(r(t.element).length){return n}return null}}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{u(i.next(t))}catch(t){o(t)}}function s(t){try{u(i["throw"](t))}catch(t){o(t)}}function u(t){t.done?n(t.value):r(t.value).then(a,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(i=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];r=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-87633fff.system.js","./p-ddf20691.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,n,i,r,o,a,s,u,d,p,c,h,l;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.g;o=t.H},function(t){a=t.i},function(t){s=t.c},function(t){u=t.i;d=t.s;p=t.u},function(t){c=t.d},function(t){h=t.a;l=t.g},function(){}],execute:function(){var m={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var b='*,*::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}.duet-step{padding:20px !important;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;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.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";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-current .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-counter{background-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#b81233}:host(.duet-theme-turva2) .duet-theme-turva .duet-step-content-wrapper{border-color:#fbe1d1}';var f=b;var g=t("duet_step",function(){function t(t){var i=this;e(this,t);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=s("DuetStepButton");this.contentId=s("DuetStepContent");this.handleKeyDown=function(t){if(i.isClickDisabled()){return}if(u(t)){t.preventDefault();i.handleStepClick(t)}};this.handleClick=function(t){if(i.isClickDisabled()){return}i.handleStepClick(t)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}t.prototype.handleStepClick=function(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.setFocus=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t={preventScroll:true}}return __generator(this,(function(e){this.buttonElement.focus(t);return[2]}))}))};t.prototype.isClickDisabled=function(){return this.state!=="complete"};t.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};t.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:m.svg}))}return"".concat(this.stepIndex+1," ")};t.prototype.render=function(){var t;var e=this;return i("div",{class:(t={"duet-step":true},t["is-".concat(this.state)]=true,t["rounded-top"]=this.roundedTop,t["rounded-bottom"]=this.roundedBottom,t["duet-theme-turva"]=this.theme==="turva",t)},i("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){return e.buttonElement=t}},i("div",{"aria-hidden":"true"},i("div",{class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",null,i("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{direction:"horizontal",size:"large"}),i("div",{class:"duet-step-heading-slot"},i("slot",{name:"heading-content"}))),i("div",{class:"duet-step-content-wrapper"},i("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=f;function v(t,e){var n={};e.forEach((function(e){var i=e[t];if(!n[i]){n[i]=[]}n[i].push(e)}));return n}var x=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var w=x;var y=t("duet_stepper",function(){function t(t){e(this,t);this.duetStepChange=n(this,"duetStepChange",7);this.language=h();this.theme="";this.accessibleLive=l(c,this.language);this.margin="auto";this.backDisabled=false;this.selected=0}t.prototype.currentStepChanged=function(t){var e=this;if(isNaN(t)){throw new Error("step must be a number. got: ".concat(t))}if(t<0){throw new Error("step must be not be less than zero. got: ".concat(t))}if(t>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return e.setStepFocus()}),50)};t.prototype.currentStepInvokedDisable=function(){this.updateStepState()};t.prototype.onDuetStepClick=function(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){{this.childObserver=new MutationObserver(this.updateStepState.bind(this));this.childObserver.observe(this.element,{childList:true})}this.updateStepState();return[2]}))}))};t.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};t.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};t.prototype.setStepFocus=function(){var t=this.getSteps();var e=t[this.selected];e.setFocus()};t.prototype.updateStepState=function(){var t=this;var e=this.getSteps();e.forEach((function(e,n){var i;if(n<t.selected){i=t.backDisabled?"disabled":"complete"}else if(n>t.selected){i="incomplete"}else{i="current"}e.theme=t.theme;e.state=i;e.stepIndex=n}));var n=v("state",e);Object.values(n).forEach((function(t){t.forEach((function(e,n){e.roundedTop=n===0;e.roundedBottom=n===t.length-1}))}))};t.prototype.formatAnnouncement=function(){var t=this.getSteps();var e=(this.selected+1).toString(10);var n=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",n)};t.prototype.render=function(){return i(o,{key:"8990256cd5a15e62e1e41d4d99ec61376c0fab88",class:{"duet-m-0":this.margin==="none"}},i("div",{key:"6a9e41f275fa7183528d2ef71eaf9b0964883aa0",class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},i("duet-visually-hidden",{key:"0afabdd2da5214751347e4c8cd6b364012eeda47","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"e2f78e4998188083683ca19ea28cb04eba2b893c"})))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return t}());y.style=w}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,n,r,o,a,i;return{setters:[function(e){t=e.r;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-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:left;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-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-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover{background:#fbebe1}';var d=u;var s=e("duet_menu_bar_dropdown_link",function(){function e(e){var n=this;t(this,e);this.getVariant=function(){var e=n.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-menu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e;var t=this;return n(r,{key:"1e881babd45c7f4cd8527b43abc01cfb2496ed18"},n("a",{key:"50d501696da9aa65a0084e720d8b024e3ea0f66a",class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return t.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{key:"abb09dbe2df11ed13c631fd5c71f7fa59b86f122",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("slot",{key:"e9eb98e4348ef0f8e578a4b9ba29dce23b58b36e"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=d}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,o){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function l(t){try{n(o.next(t))}catch(t){s(t)}}function a(t){try{n(o["throw"](t))}catch(t){s(t)}}function n(t){t.done?i(t.value):r(t.value).then(l,a)}n((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,r,s,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(t){return function(e){return n([t,e])}}function n(a){if(o)throw new TypeError("Generator is already executing.");while(l&&(l=0,a[0]&&(i=0)),i)try{if(o=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];r=0}finally{o=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var o=0,r=e.length,s;o<r;o++){if(s||!(o in e)){if(!s)s=Array.prototype.slice.call(e,0,o);s[o]=e[o]}}return t.concat(s||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,o,r,s,l,a,n,u,c,d,h,m,b,f,p,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;r=t.H;s=t.g},function(t){l=t.i},function(t){a=t.c},function(t){n=t.f;u=t.o;c=t.j;d=t.d;h=t.b;m=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;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-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}@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;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;text-overflow:ellipsis;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{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !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;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;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;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.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;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.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:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.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{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.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;clip:rect(0 0 0 0);border: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:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled]{color:#172a3b !important;background:#f5f6f7 !important;border-color:#f5f6f7 !important;-webkit-text-fill-color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge{color:#172a3b;background:#e8eaeb}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes{border-color:#d4dde2}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:#172a3b}';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=a("DuetError");this.labelId=a("DuetLabel");this.topCaptionId=a("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)||u(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)||h(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(m(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=a("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(){l(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(r,{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 r,s;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(r=t.value)===null||r===void 0?void 0:r.includes(e),"accessible-selected":((s=t.value)===null||s===void 0?void 0:s.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 s(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 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as t}from"./p-c6d073be.js";import{i as r}from"./p-53e6e1da.js";const i=class{constructor(a){e(this,a),this.theme="",this.accessibleLabel=void 0,this.margin="auto",this.src=void 0,this.rotation=7}componentWillLoad(){r(this)}render(){return a(t,{key:"22fc022036e3c4dcabcda2dd05d2803c2661237a",class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},a("span",{key:"65e58f4f533ee30849ad65714dd9457851c84446",class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},a("span",{key:"eec616c0b8b9b83bffab93d1365fb567888f1982",class:"shaped-image-mask",role:"presentation"},a("span",{key:"4b8a720f9cd2202408d923befb228ba6420ef375",class:"shaped-image-img",role:"presentation",style:{backgroundImage:`url("${this.src}")`}}))))}};i.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;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-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}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';export{i as duet_shaped_image}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,o,n,a,i,r,c,s;return{setters:[function(e){t=e.r;o=e.c;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){c=e.s;s=e.u}],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;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;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;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-cookie-consent.duet-theme-turva{background-color:rgba(12, 21, 30, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){:host(.duet-theme-turva2) .duet-cookie-consent.duet-theme-turva{background:rgba(12, 21, 30, 0.8)}}';var u=d;var b=e("duet_cookie_consent",function(){function e(e){var n=this;t(this,e);this.duetCookieConsent=o(this,"duetCookieConsent",7);this.handleClick=function(e){e.preventDefault();n.duetCookieConsent.emit({component:"duet-cookie-consent"})};this.accessibleLabel="Hyväksyn evästeiden käytön";this.theme=""}e.prototype.handleFocusIn=function(e){var t=e.composedPath();var o=t[0];if(o!==this.element){this.element.classList.add("descendant-focused")}};e.prototype.handleFocusOut=function(){this.element.classList.remove("descendant-focused")};e.prototype.componentWillLoad=function(){r(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.render=function(){return n(a,{key:"506d1769429cf65db0c103b4f18005cfeff7bee8",tabindex:"-1",class:{"duet-theme-turva":this.theme==="turva"}},n("div",{key:"c36f8630bd43e752be0aed0fdefcdbb2cfd29718",class:{"duet-cookie-consent":true,"duet-theme-turva":this.theme==="turva"}},n("div",{key:"96368e115adefab02051daabb9e584353f411e1a",class:"duet-cookie-consent-content"},n("div",{key:"3179191d41fd6656f1a13fb3bd06b2a3388240f0",class:"expand"},n("slot",{key:"39de067bf84d2b0caf9f6f8675abb10f3d713487"})),n("duet-spacer",{key:"c08f12efe61e76885353c55a1300442c9436a6ff",size:"large",direction:"horizontal"}),n("div",{key:"8d71e1afdd7ec69a6738ccac4fac99179378b64e"},n("duet-button",{key:"d86306aa5911917a369925c86cac272216003ac0",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());b.style=u}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function o(e){try{s(n.next(e))}catch(e){r(e)}}function u(e){try{s(n["throw"](e))}catch(e){r(e)}}function s(e){e.done?i(e.value):a(e.value).then(o,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(i=0)),i)try{if(n=1,a&&(r=u[0]&2?a["return"]:u[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;if(a=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++;a=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=t.call(e,i)}catch(e){u=[6,e];a=0}finally{n=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-f183abd6.system.js","./p-56774ba4.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,r,o,u,s,c,d,m;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){o=e.a},function(e){u=e.i},function(e){s=e.g},function(e){c=e.g;d=e.c;m=e.d},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-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"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:#e61740}}';var f=h;var l=e("duet_menu_bar_item",function(){function e(e){t(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=o;this.accessibleLabelExternal=c(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){m(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return i(n,{key:"6c892062c0bd92db9f57b96b7180f9eef0801255",role:"listitem"},i(t,{key:"a23d9012b6e382756434132bdfbe2f42b11e12d6",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-menu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,role:"".concat(t==="a"?"link":"button"),"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,rel:this.external?"noopener":undefined},this.leadingIcon&&i("duet-icon",{key:"799e99c90de77fc27884390cee54a2f5ef2b86c7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),i("slot",{key:"a3e5ca49f3a3ebea08b83ea25eb7f1c9978ac33a"}),(this.trailingIcon||this.external)&&i("duet-icon",{key:"bfc604da6076597a4bbf67adb54020f911a4070b",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=f}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as a,c as e,h as d,F as t,H as i,g as r}from"./p-c6d073be.js";import{i as n}from"./p-53e6e1da.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a45e3f8b.js";import{g as x}from"./p-8642fde1.js";import{s as c}from"./p-9c3c64b9.js";import{g as h}from"./p-80bf7a6d.js";import"./p-17efced0.js";const g=["h1","h2","h3","h4","h5","h6"],l="div";const u=class{constructor(d){a(this,d),this.duetToggle=e(this,"duetToggle",7),this.cardId=o("DuetCard"),this.togglePanel=a=>{a.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-card",originalEvent:a})},this.handleKeyDown=a=>{p(a)&&this.togglePanel(a)},this.accessibleLabel=void 0,this.heading="",this.secondaryHeading="",this.variation="default",this.collapsible=!1,this.open=!0,this.headingLevel="h2",this.headingBackground=void 0,this.icon=void 0,this.iconColor="currentColor",this.image=void 0,this.background="gray-lightest",this.padding="small",this.margin="auto",this.theme="",this.url=void 0,this.shadowBreakpoint=void 0}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']"),this.hasFooter=!!this.element.querySelector("[slot='footer']")}connectedCallback(){m(this)}disconnectedCallback(){s(this)}renderHeading(){var a;const e=c(this.headingLevel),i=[...g,l].some((a=>a===e))?e:"h2",r={backgroundColor:h(this.headingBackground)},n=d(t,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(t,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>',size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){const e=null===(a=x(this.element,"heading"))||void 0===a?void 0:a.map((a=>a.textContent)).join(" ");return d(i,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":e},n))}return d(i,{style:r,class:"duet-card-heading"},n)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:h(this.background)};return d(i,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:e,ref:a=>this.nativeCard=a,"aria-label":this.accessibleLabel,class:{"duet-card":!0,[this.padding]:!0,[this.variation]:!0,[`shadow-${this.shadowBreakpoint}`]:!!this.shadowBreakpoint,"duet-p-0":"none"===this.padding,"duet-theme-turva":"turva"===this.theme,"duet-card-has-bg":"gray-lightest"!==this.background,"duet-card-has-icon":!!this.icon,"duet-card-collapsed":this.collapsible&&!this.open}},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))}get element(){return r(this)}};u.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;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;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-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';export{u as duet_card}