@duetds/components 8.7.4 → 8.7.6

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 (732) hide show
  1. package/hydrate/index.js +265 -190
  2. package/lib/cjs/{app-globals-241ca518.js → app-globals-0b6db9d0.js} +1 -1
  3. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-alert.cjs.entry.js +11 -11
  5. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-combobox.cjs.entry.js +21 -25
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-layout.cjs.entry.js +12 -7
  34. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar.cjs.entry.js +36 -5
  41. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  42. package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-nav.cjs.entry.js +4 -3
  44. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
  49. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
  56. package/lib/cjs/duet-section-layout.cjs.entry.js +7 -5
  57. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  59. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  63. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  64. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  65. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-submenu-bar.cjs.entry.js +29 -6
  71. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  75. package/lib/cjs/duet-toolbar-item.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-toolbar.cjs.entry.js +6 -2
  78. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  79. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  83. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  84. package/lib/cjs/duet.cjs.js +3 -3
  85. package/lib/cjs/{errorcodes.utils-8d8f085d.js → errorcodes.utils-3d292ac7.js} +1 -1
  86. package/lib/cjs/{focus-utils-778b1443.js → focus-utils-c80c02e5.js} +1 -1
  87. package/lib/cjs/{index-66f341b7.js → index-6b1c788a.js} +1 -1
  88. package/lib/cjs/{language-utils-1f6c94fe.js → language-utils-2e36206d.js} +1 -1
  89. package/lib/cjs/loader.cjs.js +3 -3
  90. package/lib/cjs/{slot-utils-f97e19be.js → slot-utils-face58ce.js} +1 -1
  91. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  92. package/lib/collection/components/duet-alert/duet-alert.js +12 -12
  93. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  94. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  97. package/lib/collection/components/duet-button/duet-button.js +5 -5
  98. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  99. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  100. package/lib/collection/components/duet-card/duet-card.js +3 -3
  101. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  102. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  103. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  104. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  105. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  106. package/lib/collection/components/duet-combobox/duet-combobox-select.js +4 -4
  107. package/lib/collection/components/duet-combobox/duet-combobox.css +0 -8
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +13 -11
  109. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  110. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  111. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  112. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  113. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  114. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  115. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  116. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  117. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  118. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  119. package/lib/collection/components/duet-header/duet-header.css +4 -7
  120. package/lib/collection/components/duet-header/duet-header.js +16 -16
  121. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  122. package/lib/collection/components/duet-hero/duet-hero.css +5 -0
  123. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  124. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  125. package/lib/collection/components/duet-input/duet-input.js +8 -8
  126. package/lib/collection/components/duet-label/duet-label.js +2 -2
  127. package/lib/collection/components/duet-layout/duet-layout.css +37 -0
  128. package/lib/collection/components/duet-layout/duet-layout.js +12 -6
  129. package/lib/collection/components/duet-link/duet-link.js +3 -3
  130. package/lib/collection/components/duet-list/duet-list.js +4 -4
  131. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  132. package/lib/collection/components/duet-logo/duet-logo.js +2 -2
  133. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +8 -0
  134. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +60 -3
  135. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  136. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  137. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  138. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  140. package/lib/collection/components/duet-modal/duet-modal.js +10 -10
  141. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
  142. package/lib/collection/components/duet-nav/duet-nav.css +15 -0
  143. package/lib/collection/components/duet-nav/duet-nav.js +20 -1
  144. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  145. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  146. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  147. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
  148. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  149. package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
  150. package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
  151. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  152. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +3 -3
  153. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  154. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  155. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  156. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
  157. package/lib/collection/components/duet-scrollable/duet-scrollable.js +9 -9
  158. package/lib/collection/components/duet-section-layout/duet-section-layout.css +45 -0
  159. package/lib/collection/components/duet-section-layout/duet-section-layout.js +29 -3
  160. package/lib/collection/components/duet-select/duet-select.js +5 -5
  161. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  162. package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
  163. package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
  164. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +6 -8
  165. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  166. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  167. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  168. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  169. package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
  170. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
  171. package/lib/collection/components/duet-step/duet-step.js +2 -2
  172. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
  173. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -0
  174. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +56 -5
  175. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  176. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  177. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  178. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  179. package/lib/collection/components/duet-tab-group/duet-tab-group.js +10 -10
  180. package/lib/collection/components/duet-table/duet-table.js +2 -2
  181. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  182. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  183. package/lib/collection/components/duet-toolbar/duet-toolbar.js +6 -2
  184. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  185. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  186. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
  187. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  188. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  189. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  190. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  191. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  192. package/lib/collection/components/duet-upload/duet-upload.js +16 -16
  193. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  194. package/lib/collection/components/duet-upload-item/duet-upload-item.js +4 -4
  195. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  196. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  197. package/lib/dist-custom-elements/duet-alert.js +1 -1
  198. package/lib/dist-custom-elements/duet-badge.js +1 -1
  199. package/lib/dist-custom-elements/duet-banner.js +5 -5
  200. package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
  201. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  202. package/lib/dist-custom-elements/duet-button.js +1 -1
  203. package/lib/dist-custom-elements/duet-callout.js +5 -5
  204. package/lib/dist-custom-elements/duet-caption.js +1 -1
  205. package/lib/dist-custom-elements/duet-card.js +3 -3
  206. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  207. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  208. package/lib/dist-custom-elements/duet-chip.js +1 -1
  209. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  210. package/lib/dist-custom-elements/duet-choice.js +6 -6
  211. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  212. package/lib/dist-custom-elements/duet-combobox.js +33 -37
  213. package/lib/dist-custom-elements/duet-contact-card.js +11 -11
  214. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  215. package/lib/dist-custom-elements/duet-date-picker.js +17 -17
  216. package/lib/dist-custom-elements/duet-divider.js +1 -1
  217. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  218. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  219. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  220. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  221. package/lib/dist-custom-elements/duet-footer.js +9 -9
  222. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  223. package/lib/dist-custom-elements/duet-grid.js +1 -1
  224. package/lib/dist-custom-elements/duet-header.js +12 -12
  225. package/lib/dist-custom-elements/duet-heading.js +1 -1
  226. package/lib/dist-custom-elements/duet-hero.js +12 -12
  227. package/lib/dist-custom-elements/duet-icon.js +1 -1
  228. package/lib/dist-custom-elements/duet-input.js +1 -1
  229. package/lib/dist-custom-elements/duet-label.js +1 -1
  230. package/lib/dist-custom-elements/duet-layout.js +12 -7
  231. package/lib/dist-custom-elements/duet-link.js +1 -1
  232. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  233. package/lib/dist-custom-elements/duet-list.js +1 -1
  234. package/lib/dist-custom-elements/duet-logo.js +1 -1
  235. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  236. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  237. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  238. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  239. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  240. package/lib/dist-custom-elements/duet-menu-bar.js +41 -7
  241. package/lib/dist-custom-elements/duet-modal.js +17 -17
  242. package/lib/dist-custom-elements/duet-multiselect.js +16 -16
  243. package/lib/dist-custom-elements/duet-nav.js +6 -4
  244. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
  245. package/lib/dist-custom-elements/duet-notification.js +5 -5
  246. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  247. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  248. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  249. package/lib/dist-custom-elements/duet-pagination.js +25 -25
  250. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  251. package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
  252. package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
  253. package/lib/dist-custom-elements/duet-progress.js +1 -1
  254. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  255. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  256. package/lib/dist-custom-elements/duet-radio.js +1 -1
  257. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  258. package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
  259. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  260. package/lib/dist-custom-elements/duet-section-layout.js +9 -6
  261. package/lib/dist-custom-elements/duet-select.js +1 -1
  262. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  263. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  264. package/lib/dist-custom-elements/duet-slideout-lang.js +5 -5
  265. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  266. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  267. package/lib/dist-custom-elements/duet-slideout-panel.js +11 -11
  268. package/lib/dist-custom-elements/duet-slideout.js +10 -10
  269. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  270. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  271. package/lib/dist-custom-elements/duet-step.js +4 -4
  272. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  273. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  274. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  275. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  276. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  277. package/lib/dist-custom-elements/duet-submenu-bar.js +34 -9
  278. package/lib/dist-custom-elements/duet-tab-group.js +19 -19
  279. package/lib/dist-custom-elements/duet-tab.js +2 -2
  280. package/lib/dist-custom-elements/duet-table.js +1 -1
  281. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  282. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  283. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  284. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  285. package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
  286. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  287. package/lib/dist-custom-elements/duet-toolbar.js +6 -2
  288. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  289. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  290. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  291. package/lib/dist-custom-elements/duet-tray.js +6 -6
  292. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  293. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  294. package/lib/dist-custom-elements/duet-upload.js +23 -23
  295. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  296. package/lib/dist-custom-elements/index.js +2 -2
  297. package/lib/dist-custom-elements/{p-1dd5a268.js → p-05de57d8.js} +2 -2
  298. package/lib/dist-custom-elements/{p-3de90233.js → p-0c27489b.js} +5 -5
  299. package/lib/dist-custom-elements/{p-e4108695.js → p-0f1df82e.js} +6 -6
  300. package/lib/dist-custom-elements/{p-ed369fa1.js → p-111b3b99.js} +12 -12
  301. package/lib/dist-custom-elements/{p-00c553b0.js → p-1dd06f89.js} +2 -2
  302. package/lib/dist-custom-elements/{p-44980108.js → p-1eca6a77.js} +1 -1
  303. package/lib/dist-custom-elements/{p-d83bae6a.js → p-2712b694.js} +1 -1
  304. package/lib/dist-custom-elements/{p-32c21b45.js → p-2bf42191.js} +4 -4
  305. package/lib/dist-custom-elements/{p-0f986658.js → p-42127dd1.js} +3 -3
  306. package/lib/dist-custom-elements/{p-8b358df3.js → p-49711d25.js} +1 -1
  307. package/lib/dist-custom-elements/{p-18c2080c.js → p-4c89b3d8.js} +1 -1
  308. package/lib/dist-custom-elements/{p-e2f8dc0c.js → p-5491b752.js} +3 -3
  309. package/lib/dist-custom-elements/{p-e5c55500.js → p-56785ef4.js} +2 -2
  310. package/lib/dist-custom-elements/{p-99d0fedc.js → p-68b89e9b.js} +15 -15
  311. package/lib/dist-custom-elements/{p-61a40fb9.js → p-6e0966a9.js} +3 -3
  312. package/lib/dist-custom-elements/{p-3ea53f51.js → p-7140ab49.js} +6 -6
  313. package/lib/dist-custom-elements/{p-60ca61ec.js → p-74754e3a.js} +16 -16
  314. package/lib/dist-custom-elements/{p-82944400.js → p-866149bf.js} +5 -5
  315. package/lib/dist-custom-elements/{p-2f281743.js → p-8764aea1.js} +1 -4
  316. package/lib/dist-custom-elements/{p-6252238d.js → p-8a49ebed.js} +2 -2
  317. package/lib/dist-custom-elements/{p-684c9ce9.js → p-8dbfba24.js} +4 -4
  318. package/lib/dist-custom-elements/{p-6e510110.js → p-93cb7d9e.js} +1 -1
  319. package/lib/dist-custom-elements/{p-4173fec2.js → p-a09c0903.js} +4 -4
  320. package/lib/dist-custom-elements/{p-ce3d0b8d.js → p-a31c9f2a.js} +13 -13
  321. package/lib/dist-custom-elements/{p-effd1eb6.js → p-b3983e69.js} +6 -6
  322. package/lib/dist-custom-elements/{p-bec5fb88.js → p-b6143d6a.js} +9 -9
  323. package/lib/dist-custom-elements/{p-9235bfa6.js → p-bea6b3d1.js} +6 -6
  324. package/lib/dist-custom-elements/{p-c78481a5.js → p-bfd62839.js} +3 -3
  325. package/lib/dist-custom-elements/{p-b0d57d02.js → p-c3854d56.js} +1 -1
  326. package/lib/dist-custom-elements/{p-44837462.js → p-c3f95284.js} +1 -1
  327. package/lib/dist-custom-elements/{p-637bf62d.js → p-c7c32a02.js} +2 -2
  328. package/lib/dist-custom-elements/{p-73dbf206.js → p-ce9b2f1f.js} +3 -3
  329. package/lib/dist-custom-elements/{p-f7157451.js → p-ceff63cd.js} +1 -1
  330. package/lib/dist-custom-elements/{p-e37f787b.js → p-d3ae0195.js} +2 -2
  331. package/lib/dist-custom-elements/{p-7d7cc104.js → p-dd226bf8.js} +3 -3
  332. package/lib/dist-custom-elements/{p-d858d0a1.js → p-e2b74382.js} +1 -1
  333. package/lib/dist-custom-elements/{p-3ede80ae.js → p-e680a807.js} +3 -3
  334. package/lib/dist-custom-elements/{p-8f923d5b.js → p-f63fa834.js} +8 -8
  335. package/lib/dist-custom-elements/{p-de8c350a.js → p-f6d4a84f.js} +3 -3
  336. package/lib/dist-custom-elements/{p-ddf8ca53.js → p-f775dd32.js} +1 -1
  337. package/lib/dist-custom-elements/{p-f9f0bae0.js → p-fc9b988f.js} +1 -1
  338. package/lib/duet/duet.esm.js +1 -1
  339. package/lib/duet/duet.js +1 -1
  340. package/lib/duet/{p-25f550b8.entry.js → p-0004a985.entry.js} +1 -1
  341. package/lib/duet/{p-8711a853.system.entry.js → p-009793da.system.entry.js} +2 -2
  342. package/lib/duet/{p-ca41c957.system.entry.js → p-01b497ee.system.entry.js} +1 -1
  343. package/lib/duet/{p-3f73963b.entry.js → p-01ef5dae.entry.js} +1 -1
  344. package/lib/duet/{p-f402a935.system.entry.js → p-0500b107.system.entry.js} +1 -1
  345. package/lib/duet/{p-891c4891.entry.js → p-063be0da.entry.js} +1 -1
  346. package/lib/duet/{p-e484cedb.entry.js → p-08845f94.entry.js} +1 -1
  347. package/lib/duet/{p-2d555d26.system.entry.js → p-08f77a8b.system.entry.js} +1 -1
  348. package/lib/duet/p-0a26abc5.entry.js +4 -0
  349. package/lib/duet/p-0a441ef3.entry.js +4 -0
  350. package/lib/duet/{p-5f633678.entry.js → p-0b61dbe3.entry.js} +1 -1
  351. package/lib/duet/{p-300ff3fb.js → p-0bf460f3.js} +1 -1
  352. package/lib/duet/{p-7ac0ee98.system.js → p-0c4e085f.system.js} +1 -1
  353. package/lib/duet/{p-47aaf606.entry.js → p-0e517765.entry.js} +1 -1
  354. package/lib/duet/{p-3e9d3fdd.system.entry.js → p-0e6db0f3.system.entry.js} +1 -1
  355. package/lib/duet/{p-b80b973d.entry.js → p-0fce19fb.entry.js} +1 -1
  356. package/lib/duet/{p-eb6ab342.system.entry.js → p-102a61c0.system.entry.js} +2 -2
  357. package/lib/duet/{p-108da207.system.entry.js → p-132a4397.system.entry.js} +1 -1
  358. package/lib/duet/{p-7bd92c3a.js → p-13fc91f2.js} +1 -1
  359. package/lib/duet/{p-73261950.system.entry.js → p-13ffff11.system.entry.js} +1 -1
  360. package/lib/duet/{p-ddc0e9ae.system.entry.js → p-151b2251.system.entry.js} +1 -1
  361. package/lib/duet/{p-5a3d0587.entry.js → p-159a513d.entry.js} +1 -1
  362. package/lib/duet/{p-e9391140.entry.js → p-17070af7.entry.js} +1 -1
  363. package/lib/duet/{p-5fce7e79.entry.js → p-192ef449.entry.js} +1 -1
  364. package/lib/duet/p-19879ddd.entry.js +4 -0
  365. package/lib/duet/{p-43c5abe2.entry.js → p-23118895.entry.js} +1 -1
  366. package/lib/duet/p-24be7b20.entry.js +4 -0
  367. package/lib/duet/p-253266ba.entry.js +4 -0
  368. package/lib/duet/{p-188772db.entry.js → p-27b60354.entry.js} +1 -1
  369. package/lib/duet/{p-90e22c34.system.entry.js → p-27cb059f.system.entry.js} +1 -1
  370. package/lib/duet/{p-fa13eef9.entry.js → p-28b90e2a.entry.js} +1 -1
  371. package/lib/duet/{p-80748569.system.entry.js → p-2b9f4d7c.system.entry.js} +2 -2
  372. package/lib/duet/{p-8835210b.entry.js → p-2da55f4e.entry.js} +1 -1
  373. package/lib/duet/{p-41c8aba6.entry.js → p-2e757fa4.entry.js} +1 -1
  374. package/lib/duet/{p-fc55ec7d.entry.js → p-336b3d3a.entry.js} +1 -1
  375. package/lib/duet/{p-13ab99df.system.entry.js → p-33f5ce3f.system.entry.js} +1 -1
  376. package/lib/duet/{p-f2f6b42e.entry.js → p-374a8ebb.entry.js} +1 -1
  377. package/lib/duet/{p-43076b1c.entry.js → p-379174fc.entry.js} +1 -1
  378. package/lib/duet/{p-3b74cb7d.system.entry.js → p-38286586.system.entry.js} +1 -1
  379. package/lib/duet/{p-529d51e0.system.entry.js → p-3939d70a.system.entry.js} +2 -2
  380. package/lib/duet/{p-d86370f1.system.entry.js → p-3f2292eb.system.entry.js} +1 -1
  381. package/lib/duet/{p-b0230d65.entry.js → p-3f4e2f06.entry.js} +1 -1
  382. package/lib/duet/{p-707fd494.entry.js → p-407cf4f8.entry.js} +1 -1
  383. package/lib/duet/p-41373380.system.entry.js +4 -0
  384. package/lib/duet/{p-359939c5.system.entry.js → p-44523ce9.system.entry.js} +1 -1
  385. package/lib/duet/{p-01170610.system.entry.js → p-4500be49.system.entry.js} +1 -1
  386. package/lib/duet/{p-fd545b1d.entry.js → p-46319ffc.entry.js} +1 -1
  387. package/lib/duet/{p-b498345e.entry.js → p-464762bc.entry.js} +1 -1
  388. package/lib/duet/{p-fcdfda37.system.entry.js → p-4b681515.system.entry.js} +1 -1
  389. package/lib/duet/{p-a3e81f15.system.entry.js → p-4c3e1b9c.system.entry.js} +1 -1
  390. package/lib/duet/{p-812e34c7.system.entry.js → p-4ca6c542.system.entry.js} +1 -1
  391. package/lib/duet/{p-6d919c06.entry.js → p-4dacde1d.entry.js} +1 -1
  392. package/lib/duet/{p-2edd4443.system.entry.js → p-4f006e17.system.entry.js} +1 -1
  393. package/lib/duet/{p-7c604909.entry.js → p-51132756.entry.js} +1 -1
  394. package/lib/duet/{p-ea5be1ab.system.entry.js → p-540d4490.system.entry.js} +1 -1
  395. package/lib/duet/{p-68748559.system.entry.js → p-565cf0fd.system.entry.js} +1 -1
  396. package/lib/duet/p-577fe041.system.js +4 -0
  397. package/lib/duet/{p-a00a0646.entry.js → p-59f0202b.entry.js} +1 -1
  398. package/lib/duet/{p-a953b709.system.entry.js → p-5be1aa87.system.entry.js} +1 -1
  399. package/lib/duet/{p-d1dc18cf.entry.js → p-5ecdd1ee.entry.js} +1 -1
  400. package/lib/duet/{p-3eeee584.system.entry.js → p-5f8964a1.system.entry.js} +1 -1
  401. package/lib/duet/{p-9428471f.system.entry.js → p-60aeada5.system.entry.js} +1 -1
  402. package/lib/duet/{p-b74f3779.entry.js → p-60edbf90.entry.js} +1 -1
  403. package/lib/duet/{p-3f0bc83c.entry.js → p-62044751.entry.js} +1 -1
  404. package/lib/duet/p-63be5861.entry.js +4 -0
  405. package/lib/duet/{p-ae746c06.entry.js → p-649b3a34.entry.js} +1 -1
  406. package/lib/duet/{p-0ed76270.entry.js → p-64e177cc.entry.js} +1 -1
  407. package/lib/duet/{p-cee9b5e2.entry.js → p-65174b86.entry.js} +1 -1
  408. package/lib/duet/p-69975835.system.entry.js +4 -0
  409. package/lib/duet/p-6c0b0292.system.entry.js +4 -0
  410. package/lib/duet/{p-512ed0c5.system.entry.js → p-6c617fd3.system.entry.js} +1 -1
  411. package/lib/duet/{p-0301608b.entry.js → p-6d77b8cf.entry.js} +1 -1
  412. package/lib/duet/p-6eaba0fe.system.entry.js +4 -0
  413. package/lib/duet/{p-87b3df98.entry.js → p-6ec71494.entry.js} +1 -1
  414. package/lib/duet/{p-d7bceb24.system.entry.js → p-7002069b.system.entry.js} +1 -1
  415. package/lib/duet/{p-035ae971.system.entry.js → p-705d4b9d.system.entry.js} +1 -1
  416. package/lib/duet/{p-69001943.system.entry.js → p-70d2061a.system.entry.js} +1 -1
  417. package/lib/duet/{p-98f8aba4.entry.js → p-7491c920.entry.js} +1 -1
  418. package/lib/duet/{p-efd8d054.entry.js → p-76a573f6.entry.js} +1 -1
  419. package/lib/duet/{p-ad5a8e99.system.entry.js → p-78d98411.system.entry.js} +1 -1
  420. package/lib/duet/p-790d84de.system.entry.js +4 -0
  421. package/lib/duet/{p-ecf298d9.entry.js → p-7b2d6c23.entry.js} +1 -1
  422. package/lib/duet/{p-bcd22519.system.js → p-7bf96640.system.js} +1 -1
  423. package/lib/duet/{p-0ee5df66.entry.js → p-7f32308d.entry.js} +1 -1
  424. package/lib/duet/{p-0e61fe2a.entry.js → p-7fa6e46e.entry.js} +1 -1
  425. package/lib/duet/{p-7590523b.system.entry.js → p-81bd0fba.system.entry.js} +1 -1
  426. package/lib/duet/{p-75b5e425.system.entry.js → p-858a6765.system.entry.js} +1 -1
  427. package/lib/duet/{p-b04279d1.entry.js → p-85fc0952.entry.js} +1 -1
  428. package/lib/duet/{p-b4e40b60.system.entry.js → p-861a67cb.system.entry.js} +2 -2
  429. package/lib/duet/{p-c0787c30.entry.js → p-89d7764a.entry.js} +1 -1
  430. package/lib/duet/{p-7d891926.system.entry.js → p-8a3dd29b.system.entry.js} +1 -1
  431. package/lib/duet/{p-b2b4c77d.system.entry.js → p-8b16e7e8.system.entry.js} +1 -1
  432. package/lib/duet/p-8b6370fc.entry.js +4 -0
  433. package/lib/duet/{p-e72aab75.entry.js → p-8bd07d69.entry.js} +1 -1
  434. package/lib/duet/{p-b9954cb6.system.entry.js → p-8c82532b.system.entry.js} +1 -1
  435. package/lib/duet/{p-b8f325c5.entry.js → p-8f00cd51.entry.js} +1 -1
  436. package/lib/duet/{p-0f56f7ee.system.entry.js → p-8f617184.system.entry.js} +1 -1
  437. package/lib/duet/{p-8c0f870d.js → p-8fef1054.js} +1 -1
  438. package/lib/duet/{p-1e718c72.system.entry.js → p-932b9b2e.system.entry.js} +1 -1
  439. package/lib/duet/{p-6040a186.system.js → p-96b280c5.system.js} +1 -1
  440. package/lib/duet/{p-415f9ac5.entry.js → p-970d0067.entry.js} +1 -1
  441. package/lib/duet/{p-bcb52981.entry.js → p-97646d71.entry.js} +1 -1
  442. package/lib/duet/{p-b60bf596.system.entry.js → p-98b6ae34.system.entry.js} +1 -1
  443. package/lib/duet/{p-ee63c8db.entry.js → p-992f521a.entry.js} +1 -1
  444. package/lib/duet/{p-c57d7394.entry.js → p-9a488fcd.entry.js} +1 -1
  445. package/lib/duet/{p-34fe4d2a.system.entry.js → p-9bd98bef.system.entry.js} +1 -1
  446. package/lib/duet/{p-6b7a67a9.system.entry.js → p-9cf2f081.system.entry.js} +1 -1
  447. package/lib/duet/{p-6ab9f648.entry.js → p-9e656c3c.entry.js} +1 -1
  448. package/lib/duet/{p-559b9da4.system.entry.js → p-9eb01a54.system.entry.js} +2 -2
  449. package/lib/duet/{p-43a3cadf.system.entry.js → p-a15543b9.system.entry.js} +1 -1
  450. package/lib/duet/p-a2bceb42.system.js +4 -0
  451. package/lib/duet/{p-2df116a5.system.entry.js → p-a35d052a.system.entry.js} +2 -2
  452. package/lib/duet/{p-429dc00f.entry.js → p-a4d78c42.entry.js} +1 -1
  453. package/lib/duet/p-a4e62150.entry.js +4 -0
  454. package/lib/duet/{p-8955f3ca.entry.js → p-a65047ef.entry.js} +1 -1
  455. package/lib/duet/{p-12835b62.entry.js → p-a6851062.entry.js} +1 -1
  456. package/lib/duet/{p-402944df.system.entry.js → p-a8764607.system.entry.js} +1 -1
  457. package/lib/duet/{p-4d6db5c8.system.entry.js → p-a9ecb31a.system.entry.js} +2 -2
  458. package/lib/duet/{p-518189fb.entry.js → p-aa442fa7.entry.js} +1 -1
  459. package/lib/duet/{p-e202980f.entry.js → p-ab655e70.entry.js} +1 -1
  460. package/lib/duet/{p-120ea6ef.entry.js → p-aed38e23.entry.js} +1 -1
  461. package/lib/duet/{p-b0e75fa3.system.entry.js → p-aedc4dfd.system.entry.js} +1 -1
  462. package/lib/duet/{p-60bf7327.js → p-af862ab6.js} +1 -1
  463. package/lib/duet/p-afd582dd.entry.js +4 -0
  464. package/lib/duet/{p-62e872f4.entry.js → p-afdcfaab.entry.js} +1 -1
  465. package/lib/duet/{p-ed6e1799.system.entry.js → p-b0636bb5.system.entry.js} +1 -1
  466. package/lib/duet/p-b53a72f9.entry.js +4 -0
  467. package/lib/duet/{p-706ae125.entry.js → p-b5e1dad0.entry.js} +1 -1
  468. package/lib/duet/p-c0023afb.system.js +4 -0
  469. package/lib/duet/{p-ef03a145.system.entry.js → p-c08a4167.system.entry.js} +1 -1
  470. package/lib/duet/{p-9b7bb9f4.system.entry.js → p-c3d90987.system.entry.js} +2 -2
  471. package/lib/duet/{p-8f78f1dc.entry.js → p-c5546f2e.entry.js} +1 -1
  472. package/lib/duet/p-c5c10d61.system.entry.js +4 -0
  473. package/lib/duet/{p-3309107b.system.entry.js → p-c62a3406.system.entry.js} +1 -1
  474. package/lib/duet/{p-ea8b5eeb.system.entry.js → p-c803d4d8.system.entry.js} +1 -1
  475. package/lib/duet/{p-85abbd39.system.entry.js → p-c87d0019.system.entry.js} +1 -1
  476. package/lib/duet/{p-f863acb4.system.entry.js → p-c9bd7b4c.system.entry.js} +1 -1
  477. package/lib/duet/{p-53876fdd.system.entry.js → p-cfb62b70.system.entry.js} +2 -2
  478. package/lib/duet/{p-ebbdaf1c.entry.js → p-d0870f4e.entry.js} +1 -1
  479. package/lib/duet/{p-cd33d675.js → p-d0aa55b5.js} +1 -1
  480. package/lib/duet/{p-15476c15.system.entry.js → p-d11995a9.system.entry.js} +1 -1
  481. package/lib/duet/p-d796796e.entry.js +4 -0
  482. package/lib/duet/p-d7991073.system.entry.js +4 -0
  483. package/lib/duet/{p-7c30391b.system.entry.js → p-d7a54a34.system.entry.js} +1 -1
  484. package/lib/duet/{p-10492aba.system.entry.js → p-d8cb35ab.system.entry.js} +1 -1
  485. package/lib/duet/{p-da27acd9.system.entry.js → p-da92ebef.system.entry.js} +1 -1
  486. package/lib/duet/p-daa90574.system.entry.js +4 -0
  487. package/lib/duet/{p-1f89e6e0.system.entry.js → p-dbed3cfb.system.entry.js} +1 -1
  488. package/lib/duet/{p-bb4c86fb.system.entry.js → p-dc053f61.system.entry.js} +1 -1
  489. package/lib/duet/{p-9b5864af.system.entry.js → p-dc34593f.system.entry.js} +2 -2
  490. package/lib/duet/{p-fb1b6ed5.system.entry.js → p-dff4d43b.system.entry.js} +1 -1
  491. package/lib/duet/{p-9a0e274c.entry.js → p-e0095d3c.entry.js} +1 -1
  492. package/lib/duet/{p-ea7f8828.system.entry.js → p-e1d681c5.system.entry.js} +1 -1
  493. package/lib/duet/p-e22d556c.entry.js +4 -0
  494. package/lib/duet/{p-353984b9.system.entry.js → p-e3a048e8.system.entry.js} +1 -1
  495. package/lib/duet/{p-842b075c.entry.js → p-e4707a3e.entry.js} +1 -1
  496. package/lib/duet/{p-135fe765.entry.js → p-e507498f.entry.js} +1 -1
  497. package/lib/duet/{p-036d1ee4.system.entry.js → p-e69a1d94.system.entry.js} +1 -1
  498. package/lib/duet/{p-1f41d594.system.entry.js → p-e8986e89.system.entry.js} +1 -1
  499. package/lib/duet/{p-d8863869.system.js → p-e9577d7b.system.js} +1 -1
  500. package/lib/duet/{p-6e0d099e.system.entry.js → p-eb7f6e9a.system.entry.js} +1 -1
  501. package/lib/duet/{p-b775d656.entry.js → p-ecad04ae.entry.js} +1 -1
  502. package/lib/duet/{p-ff38dda2.entry.js → p-eeff3d27.entry.js} +1 -1
  503. package/lib/duet/p-ef2d11e0.entry.js +4 -0
  504. package/lib/duet/{p-e18a385d.entry.js → p-f2351e6a.entry.js} +1 -1
  505. package/lib/duet/p-f3e67a7d.system.entry.js +4 -0
  506. package/lib/duet/{p-98e3ddc2.system.entry.js → p-f4405c30.system.entry.js} +1 -1
  507. package/lib/duet/{p-f0ca9c7f.system.entry.js → p-f447e219.system.entry.js} +1 -1
  508. package/lib/duet/{p-0dd55976.entry.js → p-f64440a0.entry.js} +1 -1
  509. package/lib/duet/{p-30b5bffb.entry.js → p-f64be35c.entry.js} +1 -1
  510. package/lib/duet/p-f6ed920f.entry.js +4 -0
  511. package/lib/duet/p-f921a60f.js +4 -0
  512. package/lib/duet/{p-787262ec.system.entry.js → p-fe5421ee.system.entry.js} +1 -1
  513. package/lib/duet/{p-afc9f3c2.entry.js → p-ff203ad6.entry.js} +1 -1
  514. package/lib/duet/{p-5d9632eb.entry.js → p-ff9565d1.entry.js} +1 -1
  515. package/lib/esm/{app-globals-fbee8c2b.js → app-globals-1888504a.js} +1 -1
  516. package/lib/esm/duet-action-button.entry.js +2 -2
  517. package/lib/esm/duet-alert.entry.js +11 -11
  518. package/lib/esm/duet-badge.entry.js +3 -3
  519. package/lib/esm/duet-banner.entry.js +2 -2
  520. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  521. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  522. package/lib/esm/duet-button_2.entry.js +4 -4
  523. package/lib/esm/duet-callout.entry.js +4 -4
  524. package/lib/esm/duet-caption_4.entry.js +7 -7
  525. package/lib/esm/duet-card.entry.js +1 -1
  526. package/lib/esm/duet-checkbox.entry.js +1 -1
  527. package/lib/esm/duet-checkmark.entry.js +3 -3
  528. package/lib/esm/duet-chip.entry.js +1 -1
  529. package/lib/esm/duet-choice_2.entry.js +3 -3
  530. package/lib/esm/duet-collapsible.entry.js +2 -2
  531. package/lib/esm/duet-combobox.entry.js +21 -25
  532. package/lib/esm/duet-contact-card.entry.js +4 -4
  533. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  534. package/lib/esm/duet-date-picker.entry.js +4 -4
  535. package/lib/esm/duet-divider_2.entry.js +2 -2
  536. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  537. package/lib/esm/duet-empty-state.entry.js +1 -1
  538. package/lib/esm/duet-fieldset.entry.js +5 -5
  539. package/lib/esm/duet-file-chooser.entry.js +1 -1
  540. package/lib/esm/duet-footer.entry.js +3 -3
  541. package/lib/esm/duet-grid_2.entry.js +1 -1
  542. package/lib/esm/duet-header_2.entry.js +5 -5
  543. package/lib/esm/duet-hero.entry.js +4 -4
  544. package/lib/esm/duet-icon.entry.js +4 -4
  545. package/lib/esm/duet-input_2.entry.js +3 -3
  546. package/lib/esm/duet-layout.entry.js +12 -7
  547. package/lib/esm/duet-list_2.entry.js +4 -4
  548. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  549. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  550. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  551. package/lib/esm/duet-menu-bar-item.entry.js +3 -3
  552. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  553. package/lib/esm/duet-menu-bar.entry.js +36 -5
  554. package/lib/esm/duet-modal.entry.js +10 -10
  555. package/lib/esm/duet-multiselect.entry.js +8 -8
  556. package/lib/esm/duet-nav.entry.js +4 -3
  557. package/lib/esm/duet-notification_2.entry.js +6 -6
  558. package/lib/esm/duet-number-input.entry.js +3 -3
  559. package/lib/esm/duet-overlay.entry.js +2 -2
  560. package/lib/esm/duet-page-heading.entry.js +3 -3
  561. package/lib/esm/duet-pagination_2.entry.js +15 -15
  562. package/lib/esm/duet-popup-menu-item.entry.js +2 -2
  563. package/lib/esm/duet-popup-menu.entry.js +2 -2
  564. package/lib/esm/duet-progress.entry.js +2 -2
  565. package/lib/esm/duet-promo-card.entry.js +4 -4
  566. package/lib/esm/duet-radio_2.entry.js +2 -2
  567. package/lib/esm/duet-range-slider.entry.js +1 -1
  568. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  569. package/lib/esm/duet-section-layout.entry.js +7 -5
  570. package/lib/esm/duet-select.entry.js +2 -2
  571. package/lib/esm/duet-shaped-image.entry.js +3 -3
  572. package/lib/esm/duet-show-more.entry.js +4 -4
  573. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  574. package/lib/esm/duet-slideout-link.entry.js +3 -3
  575. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  576. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  577. package/lib/esm/duet-slideout.entry.js +8 -8
  578. package/lib/esm/duet-step_2.entry.js +2 -2
  579. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  580. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  581. package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
  582. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  583. package/lib/esm/duet-submenu-bar.entry.js +29 -6
  584. package/lib/esm/duet-textarea.entry.js +2 -2
  585. package/lib/esm/duet-toggle.entry.js +1 -1
  586. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  587. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  588. package/lib/esm/duet-toolbar-item.entry.js +3 -3
  589. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  590. package/lib/esm/duet-toolbar.entry.js +6 -2
  591. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  592. package/lib/esm/duet-tooltip.entry.js +2 -2
  593. package/lib/esm/duet-tray.entry.js +4 -4
  594. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  595. package/lib/esm/duet-upload-item.entry.js +5 -5
  596. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  597. package/lib/esm/duet.js +4 -4
  598. package/lib/esm/{errorcodes.utils-2621c448.js → errorcodes.utils-2fead4a5.js} +1 -1
  599. package/lib/esm/{focus-utils-27ab1eb2.js → focus-utils-dcc6fa24.js} +1 -1
  600. package/lib/esm/{index-f882bd23.js → index-2271c87d.js} +1 -1
  601. package/lib/esm/{language-utils-125074cf.js → language-utils-ec62c90c.js} +1 -1
  602. package/lib/esm/loader.js +4 -4
  603. package/lib/esm/{slot-utils-17ec6f87.js → slot-utils-bb141285.js} +1 -1
  604. package/lib/esm-es5/{app-globals-fbee8c2b.js → app-globals-1888504a.js} +1 -1
  605. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  606. package/lib/esm-es5/duet-alert.entry.js +1 -1
  607. package/lib/esm-es5/duet-badge.entry.js +1 -1
  608. package/lib/esm-es5/duet-banner.entry.js +1 -1
  609. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  610. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  611. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-callout.entry.js +1 -1
  613. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  614. package/lib/esm-es5/duet-card.entry.js +1 -1
  615. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  616. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  617. package/lib/esm-es5/duet-chip.entry.js +1 -1
  618. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  620. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  621. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  622. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  623. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  624. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  626. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  627. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  628. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  629. package/lib/esm-es5/duet-footer.entry.js +1 -1
  630. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  632. package/lib/esm-es5/duet-hero.entry.js +1 -1
  633. package/lib/esm-es5/duet-icon.entry.js +1 -1
  634. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  635. package/lib/esm-es5/duet-layout.entry.js +1 -1
  636. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  638. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  639. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  640. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  641. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  642. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  643. package/lib/esm-es5/duet-modal.entry.js +1 -1
  644. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  645. package/lib/esm-es5/duet-nav.entry.js +1 -1
  646. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  648. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  649. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  650. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  651. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  652. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  653. package/lib/esm-es5/duet-progress.entry.js +1 -1
  654. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  655. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  656. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  657. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  658. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  659. package/lib/esm-es5/duet-select.entry.js +1 -1
  660. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  661. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  662. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  663. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  664. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  665. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  666. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  667. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  668. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  669. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  670. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  671. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  672. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  673. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  674. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  675. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  676. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  677. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  678. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  679. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  680. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  681. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  682. package/lib/esm-es5/duet-tray.entry.js +1 -1
  683. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  684. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  685. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  686. package/lib/esm-es5/duet.js +1 -1
  687. package/lib/esm-es5/{errorcodes.utils-2621c448.js → errorcodes.utils-2fead4a5.js} +1 -1
  688. package/lib/esm-es5/{focus-utils-27ab1eb2.js → focus-utils-dcc6fa24.js} +1 -1
  689. package/lib/esm-es5/{index-f882bd23.js → index-2271c87d.js} +1 -1
  690. package/lib/esm-es5/{language-utils-125074cf.js → language-utils-ec62c90c.js} +1 -1
  691. package/lib/esm-es5/loader.js +1 -1
  692. package/lib/esm-es5/{slot-utils-17ec6f87.js → slot-utils-bb141285.js} +1 -1
  693. package/lib/types/components/duet-alert/duet-alert.d.ts +2 -2
  694. package/lib/types/components/duet-combobox/duet-combobox-select.d.ts +1 -1
  695. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  696. package/lib/types/components/duet-layout/duet-layout.d.ts +2 -0
  697. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +10 -0
  698. package/lib/types/components/duet-nav/duet-nav.d.ts +5 -0
  699. package/lib/types/components/duet-section-layout/duet-section-layout.d.ts +6 -0
  700. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +9 -1
  701. package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +1 -1
  702. package/lib/types/components.d.ts +36 -4
  703. package/package.json +4 -4
  704. package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +0 -8
  705. package/lib/duet/p-0b9bdb39.entry.js +0 -4
  706. package/lib/duet/p-1626116f.system.entry.js +0 -4
  707. package/lib/duet/p-1aaebc97.entry.js +0 -4
  708. package/lib/duet/p-1bb2276d.system.entry.js +0 -4
  709. package/lib/duet/p-20c9b897.entry.js +0 -4
  710. package/lib/duet/p-26e1c1f5.entry.js +0 -4
  711. package/lib/duet/p-27644c7d.system.entry.js +0 -4
  712. package/lib/duet/p-30f78293.entry.js +0 -4
  713. package/lib/duet/p-38ed2814.system.js +0 -4
  714. package/lib/duet/p-5754fe70.entry.js +0 -4
  715. package/lib/duet/p-77ac88a2.system.entry.js +0 -4
  716. package/lib/duet/p-77b09574.entry.js +0 -4
  717. package/lib/duet/p-8577f17f.system.entry.js +0 -4
  718. package/lib/duet/p-8e8c3cbd.entry.js +0 -4
  719. package/lib/duet/p-93087deb.system.js +0 -4
  720. package/lib/duet/p-97aefe67.entry.js +0 -4
  721. package/lib/duet/p-9edc6874.system.entry.js +0 -4
  722. package/lib/duet/p-a006aa6b.entry.js +0 -4
  723. package/lib/duet/p-aafb87c1.system.entry.js +0 -4
  724. package/lib/duet/p-b2de329a.system.js +0 -4
  725. package/lib/duet/p-bd655432.entry.js +0 -4
  726. package/lib/duet/p-c901a803.entry.js +0 -4
  727. package/lib/duet/p-caea77db.entry.js +0 -4
  728. package/lib/duet/p-d7b19abe.system.entry.js +0 -4
  729. package/lib/duet/p-e6bc14b6.system.entry.js +0 -4
  730. package/lib/duet/p-f92f9220.entry.js +0 -4
  731. package/lib/duet/p-fd7b2d62.js +0 -4
  732. package/lib/types/components/duet-combobox/duet-combobox-select-single.d.ts +0 -8
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as a,c as e,h as d,F as i,H as t,g as r}from"./p-7bd92c3a.js";import{i as n}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a1b7f2a0.js";import{s as x}from"./p-0e052642.js";import{g as c}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const g=["h1","h2","h3","h4","h5","h6"],h="div";const l=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.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(){const a=x(this.headingLevel),e=[...g,h].some((e=>e===a))?a:"h2",t={backgroundColor:c(this.headingBackground)},r=d(i,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(i,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),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(i,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(i,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"}));return this.collapsible?d(e,{style:t,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false"},r)):d(e,{style:t,class:"duet-card-heading"},r)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:c(this.background)};return d(t,{key:"e2a8edb2493ebbebc92b63967e157beddacdbd4a",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"dc8a552ac6e2f01149a0c2c114f36e2e66a3df2e",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:"d7ad8920cacfa8bcd8fa5c1fc306ea11c69f2c42",class:"duet-card-image-mask"},d("img",{key:"83a4bf89bf9601a7d8924ab6a94d3bf37001bcf5",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"1b43496f9e042da0c35ad3c090553acb0ac661ac",class:"duet-card-content",id:this.cardId},d("slot",{key:"48e8abbabd5cd625b3faecd232e4a80cd0b58d44"}),this.hasFooter&&d("div",{key:"8fd234bb6cdfa1bc53f487b9051944e5c3c43439",class:"duet-card-footer"},d("slot",{key:"664c4d55d042166647682eb00eb61e2d8f3fbd6c",name:"footer"})))))}get element(){return r(this)}};l.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}.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(0, 41, 77);text-decoration:none;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)}.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(0, 80, 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(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 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:4px;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(228, 228, 230)}@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, 245, 247)}@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)}';export{l as duet_card}
4
+ import{r as a,c as e,h as d,F as i,H as t,g as r}from"./p-13fc91f2.js";import{i as n}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a1b7f2a0.js";import{s as x}from"./p-0e052642.js";import{g as c}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const g=["h1","h2","h3","h4","h5","h6"],h="div";const l=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.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(){const a=x(this.headingLevel),e=[...g,h].some((e=>e===a))?a:"h2",t={backgroundColor:c(this.headingBackground)},r=d(i,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(i,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),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(i,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(i,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"}));return this.collapsible?d(e,{style:t,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false"},r)):d(e,{style:t,class:"duet-card-heading"},r)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:c(this.background)};return d(t,{key:"e2a8edb2493ebbebc92b63967e157beddacdbd4a",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"dc8a552ac6e2f01149a0c2c114f36e2e66a3df2e",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:"d7ad8920cacfa8bcd8fa5c1fc306ea11c69f2c42",class:"duet-card-image-mask"},d("img",{key:"83a4bf89bf9601a7d8924ab6a94d3bf37001bcf5",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"1b43496f9e042da0c35ad3c090553acb0ac661ac",class:"duet-card-content",id:this.cardId},d("slot",{key:"48e8abbabd5cd625b3faecd232e4a80cd0b58d44"}),this.hasFooter&&d("div",{key:"8fd234bb6cdfa1bc53f487b9051944e5c3c43439",class:"duet-card-footer"},d("slot",{key:"664c4d55d042166647682eb00eb61e2d8f3fbd6c",name:"footer"})))))}get element(){return r(this)}};l.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}.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(0, 41, 77);text-decoration:none;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)}.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(0, 80, 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(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 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:4px;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(228, 228, 230)}@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, 245, 247)}@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)}';export{l as duet_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as r,g as t}from"./p-7bd92c3a.js";import{i as o}from"./p-aaa7a7bd.js";const d=class{constructor(a){e(this,a),this.theme="",this.variation="default",this.background="normal",this.margin="auto"}componentWillLoad(){o(this)}render(){const e=`background-${this.background}`;return a(r,{key:"813fa2ff37c4116616bb1c74af786cf596dc2301",class:{"duet-m-0":"none"===this.margin}},a("span",{key:"faaface854b590a790bc1fbf98a9b79adcba3fa7",class:{"duet-badge":!0,[this.variation]:!0,[e]:!0,"duet-theme-turva":"turva"===this.theme}},a("slot",{key:"e05dee56ece896025bfe134a6ae5c45e15366232"})))}get element(){return t(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;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-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;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-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}';export{d as duet_badge}
4
+ import{r as e,h as r,H as a,g as t}from"./p-13fc91f2.js";import{i as o}from"./p-aaa7a7bd.js";const d=class{constructor(r){e(this,r),this.theme="",this.variation="default",this.background="normal",this.margin="auto"}componentWillLoad(){o(this)}render(){const e=`background-${this.background}`;return r(a,{key:"f1d2c0d7ae41c9b8776ef282d7071ef27a84717f",class:{"duet-m-0":"none"===this.margin}},r("span",{key:"3e4d65377d2627cd3e71d68f772de3ccd024ed0f",class:{"duet-badge":!0,[this.variation]:!0,[e]:!0,"duet-theme-turva":"turva"===this.theme}},r("slot",{key:"cd8684571510bef387f5da513d38e8203dccd104"})))}get element(){return t(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;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-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;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-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}';export{d as duet_badge}
@@ -0,0 +1,4 @@
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 s(e){try{u(n.next(e))}catch(e){r(e)}}function o(e){try{u(n["throw"](e))}catch(e){r(e)}}function u(e){e.done?i(e.value):a(e.value).then(s,o)}u((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,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-e9577d7b.system.js","./p-c51d6fb5.system.js","./p-49957220.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,u;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){s=e.e;o=e.d},function(e){u=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(243, 249, 252);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(205, 229, 241)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 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:400;line-height:1.25;color:rgb(0, 41, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(243, 249, 252);border-bottom:1px solid rgb(207, 210, 212)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(207, 210, 212)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 245, 247)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';var b=d;var c=e("duet_submenu_bar",function(){function e(e){var i=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.handleMobileView=function(){if(i.mql[0].matches){i.mobile=false;i.enableBodyScroll()}else{i.mobile=true;if(!i.bodyScroll){i.disableBodyScroll()}}};this.onClick=function(){i.open=!i.open};this.enableBodyScroll=function(){if(i.nav){s(i.nav)}if(i.itemsContainer){s(i.itemsContainer)}};this.disableBodyScroll=function(){if(i.nav){o(i.nav,{reserveScrollBarGap:true})}if(i.itemsContainer){o(i.itemsContainer,{reserveScrollBarGap:true})}};this.checkIfHasItems=function(){var e=!!i.element.querySelector("duet-submenu-bar-dropdown-link");var t=!!i.element.querySelector("duet-submenu-bar-link");var n=!!i.element.querySelector("duet-submenu-bar-item");return e||t||n};this.hidden=false;this.mobile=true;this.bodyScroll=true;this.theme="";this.hideOnScroll=false;this.open=false;this.accessibleLabel=undefined}e.prototype.watchOpenStateHandler=function(e){var t=e;if(t){this.bodyScroll=false;this.disableBodyScroll()}else{this.enableBodyScroll();this.bodyScroll=true}};e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){this.nav=document.querySelector("duet-nav > [slot='mobile']");this.hasItems=this.checkIfHasItems();this.handleMobileView();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[];this.enableBodyScroll()};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.checkScroll=function(){if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){this.hidden=true}}else{if(window.scrollY<150){this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.render=function(){var e=this;return i(n,{key:"5e92e1ecd485d3d9fcccc551830ab0048f4da4a5"},i("nav",{key:"643b7b42e0a205886aabcc787e8f0c9b67b069f6",class:{"duet-submenu-bar":true,"duet-theme-turva":this.theme==="turva",hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&i("button",{key:"d42069edb21dd9ffb3c5047dde1731c51ff1f703",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},i("span",{key:"7a92ee474b86be9117955083e72ca1a1e5645f62",class:"label"},i("slot",{key:"606947cb035e7735c67747c43aae35ccc7841f5c",name:"label"}),i("duet-icon",{key:"2315dc51a812eb5b24d68876465dba0cc7d446cd",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),i("div",{key:"2b8d170c424e1fc3f540e2bcbfde7ba36d05a196",class:{"menu-container":true,hidden:!this.open},role:"presentation"},i("div",{key:"bef9521e8a2a8797fda836db3c6098f0ac5a669c",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:true,hidden:!this.open},ref:function(t){return e.itemsContainer=t}},i("div",{key:"6760e457a9210522418dd07ff7275a6d8decec4b",class:"list",role:this.mobile?"presentation":"list"},i("slot",{key:"2540ec6e2801b5bc8ee84df0e7a06792aeed2930"}),i("div",{key:"03993868de8dd80f325aa082c4838dfec1c65237",class:"list-padding"}))),i("duet-overlay",{key:"e14ba08dd0ac6de076e8d74bf4adb4464fc9f315","keep-stacking-context":true,visible:this.open,"display-device":"not-large",transition:"immediate"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["watchOpenStateHandler"]}},enumerable:false,configurable:true});return e}());c.style=b}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,o,e,i){function s(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,n){function c(t){try{r(i.next(t))}catch(t){n(t)}}function u(t){try{r(i["throw"](t))}catch(t){n(t)}}function r(t){t.done?e(t.value):s(t.value).then(c,u)}r((i=i.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,s,n,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(t){return function(o){return r([t,o])}}function r(u){if(i)throw new TypeError("Generator is already executing.");while(c&&(c=0,u[0]&&(e=0)),e)try{if(i=1,s&&(n=u[0]&2?s["return"]:u[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;if(s=0,n)u=[u[0]&2,n.value];switch(u[0]){case 0:case 1:n=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;s=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){e.label=u[1];break}if(u[0]===6&&e.label<n[1]){e.label=n[1];n=u;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(u);break}if(n[2])e.ops.pop();e.trys.pop();continue}u=o.call(t,e)}catch(t){u=[6,t];s=0}finally{i=n=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,o,e){if(e||arguments.length===2)for(var i=0,s=o.length,n;i<s;i++){if(n||!(i in o)){if(!n)n=Array.prototype.slice.call(o,0,i);n[i]=o[i]}}return t.concat(n||Array.prototype.slice.call(o))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-e9577d7b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-96b280c5.system.js","./p-577fe041.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,n,c,u,r,b,d,a,h,m,l,f,x,v,p,g,y;return{setters:[function(t){o=t.h;e=t.r;i=t.c;s=t.H;n=t.g},function(t){c=t.i},function(t){u=t.c},function(t){r=t.d},function(t){b=t.j;d=t.f;a=t.o;h=t.e;m=t.b;l=t.c},function(t){f=t.g;x=t.a;v=t.c;p=t.d},function(t){g=t.g},function(t){y=t.p}],execute:function(){var _=function(t){var e=t.item,i=t.active,s=t.selected,n=t.label,c=n===void 0?undefined:n,u=t.clickHandler,r=u===void 0?function(t){t.preventDefault()}:u,b=t.keyHandler,d=b===void 0?function(t){t.preventDefault()}:b,a=t.search,h=t.isAndroidDevice;var m=a!==""?new RegExp("("+a.split(" ").join("|")+")","i"):undefined;return o("li",{class:{"list-item":true,option:true,active:i,selected:s},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":s?"true":undefined,role:"option","aria-label":c,tabindex:h?"-1":null,onClick:function(t){return r(t)},onKeyUp:function(t){return d(t)}},s&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),m?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:e.name.replace(m,'<span class="highlight sc-duet-combobox">$&</span>')})):e.name,e.tags&&o("span",{class:"option-tags"},e.tags.join(", ")))};var w='.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(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 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)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);z-index:700;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);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-combobox-list.open.sc-duet-combobox{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}';var S=w;var k=t("duet_combobox",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);var s,n;this.listBoxId=u("duet-combobox-list-element");this.isAndroidDevice=((n=(s=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||s===void 0?void 0:s.toLowerCase())===null||n===void 0?void 0:n.indexOf("android"))>-1||null;this.resizeObserver=new ResizeObserver(r((function(t){var e,i;if((t===null||t===void 0?void 0:t.length)===1){var s=(i=(e=t[0])===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.getBoundingClientRect().width;o.listContainer.style.width="".concat(s+1,"px")}}),100));this.onInputChange=function(t){return __awaiter(o,void 0,void 0,(function(){var o;return __generator(this,(function(e){o=t.detail.value;this.inputValue=o;return[2]}))}))};this.onInputClick=function(){var t,e;if(o.openListOnClick){o.listOpen=!o.listOpen}else{o.listOpen=((t=o.inputValue)===null||t===void 0?void 0:t.length)>=o.minCharacters}if(!((e=o.getFilteredItems())===null||e===void 0?void 0:e.length)){o.listOpen=false}};this.onInputTyping=function(t){return __awaiter(o,void 0,void 0,(function(){var o,e;return __generator(this,(function(i){e=t.detail.value;if(!this.force&&!this.multiple&&this.selectedItems.size>0&&e!==this.getSelectedItemLabel()){this.selectedItems.clear()}this.listOpen=String(e).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0;return[2]}))}))};this.onKeyDown=function(t){var e=o.returnFilteredOrNonFiltered();var i=e.filter((function(t){return!o.selectedItems.has(t.id)}));o.input.accessibleActiveDescendant=undefined;if(b(t)){t.preventDefault();if(o.listOpen&&o.activeItem!==undefined&&e[o.activeItem]){if(o.multiple){o.addSelectedItem(e[o.activeItem].id,true)}else{o.updateSelectedItem(e[o.activeItem].id,true)}}else if(!o.multiple&&o.listOpen&&i.length===1&&i[0].name.toLowerCase()===o.input.value.toLowerCase()){o.updateSelectedItem(i[0].id,true)}o.activeItem=undefined;o.listOpen=false;return}if(d(t)||a(t)){o.updateInputText(true);o.activeItem=undefined;o.listOpen=false;return}if(h(t)&&o.inputValue===""){if(o.multiple&&o.selectedItems.size>0){var s=Array.from(o.selectedItems).pop();o.removeSelectedItem(s,true)}return}var n=o.activeItem;if(m(t)){t.preventDefault();n=o.activeItem-1}else if(l(t)){t.preventDefault();n=o.listOpen?o.activeItem+1:o.activeItem;o.listOpen=true}if(l(t)||m(t)){if(n<0||!n){n=0}if(n>=e.length){n=e.length-1}o.input.accessibleActiveDescendant="active_item";o.activeItem=n;o.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=f(this.accessibleLabelDefaults,x());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=1;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?"active_item":""};t.prototype.handleDocumentClick=function(t){var o=this;var e=t.composedPath();var i=e.every((function(t){return t!==o.element}));if(i){this.updateInputText(true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){var t=this;var o=[];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(o.includes(t.id)){console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index");t.id="".concat(t.id,"-").concat(e)}o.push(t.id);return t}));var e=Array.from(this.selectedItems).filter((function(o){return!t.processedItems.find((function(t){return t.id===o}))}));if(e.length){if(this.multiple){e.forEach((function(o){return t.removeSelectedItem(o)}))}else{this.updateSelectedItem(e[0],true)}}};t.prototype.processValue=function(){var t=this;if(this.value!==""&&!this.value){this.selectedItems.clear();return}var o=Array.isArray(this.value)?this.value:[this.value];var e=this.processedItems.filter((function(t){return o.includes(t.value)})).map((function(t){return t.id}));if(e.length===this.selectedItems.size&&e.every((function(o){return t.selectedItems.has(o)}))){return}if(this.multiple){this.selectedItems.clear();this.input.clearChips();e.forEach((function(o){return t.addSelectedItem(o)}))}else{var i=this.processedItems.find((function(o){return o.value===t.value}));this.updateSelectedItem(i.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(){c(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.element.addEventListener("keydown",this.onKeyDown);v(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;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue){var o=this.processedItems.find((function(o){return t.selectedItems.has(o.id)}));return!(this.formatter(o).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 o=this.processedItems.find((function(o){return o.id===t}));this.duetChange.emit({item:o,value:this.value,component:"duet-combobox"})};t.prototype.updateMultipleValue=function(){var t=this;this.value=this.processedItems.filter((function(o){return t.selectedItems.has(o.id)})).map((function(t){return t.value}));this.input.value="";this.updateChips()};t.prototype.addSelectedItem=function(t,o){if(this.selectedItems.has(t)){return}this.selectedItems.add(t);this.updateMultipleValue();if(o){this.emitChangeEvent(t)}};t.prototype.removeSelectedItem=function(t,o){if(!this.selectedItems.has(t)){return}this.selectedItems.delete(t);this.updateMultipleValue();if(o){this.emitChangeEvent(t)}};t.prototype.updateSelectedItem=function(t,o){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(this.selectedItems.has(t)){this.selectedItems.delete(t);this.value=undefined}else{this.selectedItems.clear();this.selectedItems.add(t);this.value=this.processedItems.find((function(o){return o.id===t})).value}if(o){this.emitChangeEvent(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,o;var e=this;return __generator(this,(function(i){switch(i.label){case 0:t=Array.from(this.selectedItems);return[4,this.input.getChips()];case 1:o=i.sent();t.forEach((function(t){return __awaiter(e,void 0,void 0,(function(){var o,e,i,s;var n=this;return __generator(this,(function(c){switch(c.label){case 0:o=this.processedItems.find((function(o){return o.id===t}));return[4,this.formatItem(o)];case 1:e=c.sent();return[4,this.input.hasChip({value:"".concat(t),text:e})];case 2:i=c.sent();if(!i){s=document.createElement("duet-chip");s.variation="input";s.value="".concat(t);s.textContent=e;s.addEventListener("duetRemove",(function(t){var o=t.detail.value;n.removeSelectedItem(o,true)}));this.input.addChip(s)}return[2]}}))}))}));o.forEach((function(o){if(!t.includes(o.value)){o.remove()}}));return[2]}}))}))};t.prototype.getSelectedItemLabel=function(){return __awaiter(this,void 0,void 0,(function(){var t,o,e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:t=this.processedItems.find((function(t){return i.selectedItems.has(t.id)}));if(!t)return[3,2];return[4,this.formatItem(t)];case 1:e=s.sent();return[3,3];case 2:e="";s.label=3;case 3:o=e;return[2,o]}}))}))};t.prototype.updateInputText=function(){return __awaiter(this,arguments,void 0,(function(t){var o,e,i;if(t===void 0){t=false}return __generator(this,(function(s){switch(s.label){case 0:if(t&&this.multiple){this.input.value="";return[2]}if(!(t&&this.force))return[3,3];o=this.returnFilteredOrNonFiltered();if(!this.multiple&&this.listOpen&&o.length===1&&o[0].name.toLowerCase()===this.input.value.toLowerCase()){this.updateSelectedItem(o[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=s.sent();s.label=3;case 3:if(!(!t&&this.selectedItems.size>0))return[3,5];this.input.value="";i=this.input;return[4,this.getSelectedItemLabel()];case 4:i.value=s.sent();this.input.scrollLeft=this.input.scrollWidth;s.label=5;case 5:return[2]}}))}))};t.prototype.onListClick=function(t,o){t.preventDefault();t.stopPropagation();if(this.multiple){this.addSelectedItem(o.id,true)}else{this.updateSelectedItem(o.id,true)}this.activeItem=undefined;this.listOpen=false;return this.listOpen};t.prototype.scrollToActive=function(){var t=this.listElement.querySelector(".active");if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,o,e,i){if(!t||i===undefined){return""}var s=e===i?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return s.replace("{name}",String(t.name)).replace("{current}",String(o+1)).replace("{total}",String(e)).replace("{hiddenItems}",String(i-e))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,n,c;return((e=String(o.value))===null||e===void 0?void 0:e.toLowerCase()[t.filterType]((i=t.inputValue)===null||i===void 0?void 0:i.toLowerCase()))||((s=String(o.name))===null||s===void 0?void 0:s.toLowerCase()[t.filterType]((n=t.inputValue)===null||n===void 0?void 0:n.toLowerCase()))||t.formatter(o).toLowerCase()[t.filterType]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase())||t.selectedItems.has(o.id)})).filter((function(o){var e=true;if(t.multiple&&t.selectedItems.has(o.id)){e=false}return e}));return this.sortFilteredItems(o)};t.prototype.sortFilteredItems=function(t){var o=this;if(t.length>0){t.filter((function(t){return o.selectedItems.has(t.id)})).forEach((function(o){var e=t.indexOf(o);t.splice(e,1);t.unshift(o)}))}return t};t.prototype.render=function(){var t;var e=this;var i=this.returnFilteredOrNonFiltered();return o(s,{class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},o("slot",null),o("div",{class:{"duet-combobox-list":true,open:this.listOpen},ref:function(t){return e.listContainer=t}},o("ul",{class:{"duet-combobox-listbox-open":this.listOpen,"duet-combobox-listbox":true},role:"listbox",ref:function(t){return e.listElement=t},id:this.listBoxId},this.listOpen&&i.map((function(t,s){return o(_,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,s,i.length,e.processedItems.length),isAndroidDevice:e.isAndroidDevice})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{activeItem:["activeItemHandler"],items:["processItems"],value:["processValue"],listOpen:["processListOpenChange"]}},enumerable:false,configurable:true});return t}());k.style=S}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-d8863869.system.js","./p-e216bea4.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"40b675c3998d7f2fb139eecbebbffae65909c618",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
4
+ System.register(["./p-e9577d7b.system.js","./p-e216bea4.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"a1b6a9855c52785dc640ef0687b936220e386943",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as o,g as s}from"./p-7bd92c3a.js";import{i as l}from"./p-aaa7a7bd.js";import{c as a}from"./p-5e59e970.js";import{f as r,o as c,j as d,d as u,b as n,a as h,c as m}from"./p-a1b7f2a0.js";import{a as b,c as p,d as f}from"./p-8c0f870d.js";import{c as g}from"./p-60bf7327.js";import{p as x}from"./p-0e052642.js";const v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(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=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(r(t)||c(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{d(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;u(t)||n(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(h(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.processedGroups=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=b(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=a("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,g(this.element,"tooltip","duet-tooltip",1,!0),this.refresh()}connectedCallback(){p(this)}disconnectedCallback(){f(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async selectWithValues(t){const e=this.processedItems.filter((e=>t.includes(e.value)));this.value=Array.from(new Set([...this.value,...e]))}async refresh(){const t=x(this.items);this.processedItems=[],this.processedGroups=[],t&&0!==t.length&&(this.processedGroups=void 0!==t[0].items?t:[{label:"",items:t}],this.processedGroups.forEach((t=>t.items.forEach((t=>this.processedItems.push(t))))))}render(){var t;return i(o,{key:"e4abdc95bd458e5ae7999381c20050ba0bcef6a5",class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{key:"9a0ce9f75c65b11fc4b58491c291194ca15189a4",class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{key:"15eca4785b13d9490e2ecd4858d6f8e2a495684e",theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{key:"8a82fbfb066afa44cc575a387aaf4889284a2057",class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{key:"0128b9dfee07780a75791d1ab7898bc928ec2d1f",name:"tooltip"}),this.caption&&i("duet-caption",{key:"5302654b472ffab5413df758dbb53dcea4a66303",id:this.topCaptionId,size:"medium"},this.caption),i("div",{key:"6f8bd9b8a2c67d0969ac60ba008505dd9f6c9661",class:"duet-multiselect-wrapper"},i("button",{key:"a275a5138ffd9e1b4ba144f794aad0561325c51e",id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{key:"15902724f91b68c7e247dfc53d6424b4e093f849",role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`,"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&i("span",{key:"440b767cdb5abca291c619c8404d1ad7b8874215",class:"duet-multiselect-badge"},this.value.length,i("duet-visually-hidden",{key:"29b7a10f3a780b01b133bab51864dd2f86db9aad"},this.selectedLangObject[this.language],", ",this.value.map((t=>t.label)).join(", "))),i("svg",{key:"e5c7d29927010379a02e8f6f5fe7fd976567f8f6",class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"6a8e5b57c1103faa5f8b51c904247a428920cd9c",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"}))),i("div",{key:"d65cf9a75a8cd7442345f5fb6b5cc5355141eb9a",id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},(null===(t=this.processedItems)||void 0===t?void 0:t.length)&&this.allControls&&i("div",{key:"3e70f90b39f3c2a5413d1b6b4e3aae99f7f36b47",class:"duet-multiselect-all-control-buttons"},i("button",{key:"9bfe4283086eee2efe6deb56c268fef50297771e",class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{key:"15a5860c8c4e317e74fe8537812f3e2bd2bb5530",class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((t=>i("fieldset",null,t.label&&i("legend",null,t.label),t.items.map(((t,e)=>{var o,s;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(o=this.value)||void 0===o?void 0:o.includes(t),"accessible-selected":(null===(s=this.value)||void 0===s?void 0:s.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})}))))))),i("span",{key:"1ee195ef7a88c557730cefdab01db64c38b038ba",class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"40fbf6daf06330024944dac4d416c5df424c8225"},this.error))))}get element(){return s(this)}static get watchers(){return{items:["refresh"]}}};v.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-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(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);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(0, 41, 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(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !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(0, 41, 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(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !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(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 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(225, 227, 230);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(228, 228, 230);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(225, 227, 230)}.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(225, 227, 230)}.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(0, 41, 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(101, 119, 135);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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.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}';export{v as duet_multiselect}
4
+ import{r as t,c as e,h as i,H as o,g as s}from"./p-13fc91f2.js";import{i as l}from"./p-aaa7a7bd.js";import{c as a}from"./p-5e59e970.js";import{f as r,o as c,j as d,d as u,b as n,a as h,c as m}from"./p-a1b7f2a0.js";import{a as b,c as p,d as g}from"./p-8fef1054.js";import{c as f}from"./p-af862ab6.js";import{p as x}from"./p-0e052642.js";const v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(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=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(r(t)||c(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{d(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;u(t)||n(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(h(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.processedGroups=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=b(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=a("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,f(this.element,"tooltip","duet-tooltip",1,!0),this.refresh()}connectedCallback(){p(this)}disconnectedCallback(){g(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async selectWithValues(t){const e=this.processedItems.filter((e=>t.includes(e.value)));this.value=Array.from(new Set([...this.value,...e]))}async refresh(){const t=x(this.items);this.processedItems=[],this.processedGroups=[],t&&0!==t.length&&(this.processedGroups=void 0!==t[0].items?t:[{label:"",items:t}],this.processedGroups.forEach((t=>t.items.forEach((t=>this.processedItems.push(t))))))}render(){var t;return i(o,{key:"2a90b452b9d7391f8b3b51c9e7d38879625f2c22",class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{key:"72352a45a7c3aa35c57dad3cd9f49cbc1326bcbb",class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{key:"4865ef539aac5a0d6dbfc9c828b4f718f16b4391",theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{key:"f8b0a426fc97ca162e773e13940881a35eb9d786",class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{key:"81aeb3000ae7199a964aea1ac388c38e84a4fb2b",name:"tooltip"}),this.caption&&i("duet-caption",{key:"625d9d084517db0c1189934efce03ba06de02db3",id:this.topCaptionId,size:"medium"},this.caption),i("div",{key:"21c2b0c5bf3d9b3689c248a719cef7ec3b537ee2",class:"duet-multiselect-wrapper"},i("button",{key:"63a1a064c7929f8237a49c3eb2bccce0cdca39be",id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{key:"57ceb2f7ae33662df4e807763d5cde9a3b22a542",role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`,"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&i("span",{key:"125251bf4995ecba0a021b518cd19a841adbb9fd",class:"duet-multiselect-badge"},this.value.length,i("duet-visually-hidden",{key:"37be16e7841d44731819861a5b51e0d9314f991d"},this.selectedLangObject[this.language],", ",this.value.map((t=>t.label)).join(", "))),i("svg",{key:"de57fafe4aed5e3b87bec5d33bac362720272941",class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"f00fa8753e52fefe18caa53e09b5fadf6de5ce9d",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"}))),i("div",{key:"17515783075704f82fdae08d8df693cb024f7722",id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},(null===(t=this.processedItems)||void 0===t?void 0:t.length)&&this.allControls&&i("div",{key:"f5c329ddb8ce083aae2aae7f9c9b1837c8b1054c",class:"duet-multiselect-all-control-buttons"},i("button",{key:"7a0f040a8209539d9dfe60b443470b35cb86066f",class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{key:"d2586f52f22ec20c3dca4006497e53252e8cc3c4",class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((t=>i("fieldset",null,t.label&&i("legend",null,t.label),t.items.map(((t,e)=>{var o,s;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(o=this.value)||void 0===o?void 0:o.includes(t),"accessible-selected":(null===(s=this.value)||void 0===s?void 0:s.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})}))))))),i("span",{key:"b2c2c04e9e985c1c1215b7d9eb144d202644a293",class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"9a58aa5c2bc42cc6d7c69b2fa5f616fbddae4703"},this.error))))}get element(){return s(this)}static get watchers(){return{items:["refresh"]}}};v.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-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(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);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(0, 41, 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(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !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(0, 41, 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(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !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(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 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(225, 227, 230);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(228, 228, 230);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(225, 227, 230)}.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(225, 227, 230)}.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(0, 41, 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(101, 119, 135);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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.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}';export{v as duet_multiselect}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-e9577d7b.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,a,i,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){o=e.i}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host([sticky]){position:relative;z-index:300}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}.sticky{position:sticky;top:0}@media (min-width: 62em){.sticky{position:relative;top:unset}}";var r=s;var d=e("duet_nav",function(){function e(e){t(this,e);this.theme="";this.sticky=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return n(a,{key:"a92a1ddaae09ce96b5e5d11f75b90e890e405494"},n("div",{key:"5ff997d4da49fc082af18866b7e19ded4d64566c",class:{container:true,sticky:this.sticky}},n("slot",{key:"e18cbf0c99d69c3457eda1ff7f291161f10547d4"}),n("slot",{key:"70b3b0456c5e4e3307b12ad9a44f87c4861b98a5",name:"mobile"}),n("slot",{key:"2ad5781a32b89b6857505c0bb6bfba2c95422dbe",name:"desktop"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());d.style=r}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as i}from"./p-7bd92c3a.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a1b7f2a0.js";import{a as n,c as d,d as c,g as b}from"./p-8c0f870d.js";import"./p-0e052642.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"b6f3e1e75bd42d8d41e89e0f0ddc460735d0d5f7",role:"listitem"},a("div",{key:"b331039ab43444323d0376d7a97501edd62bca26",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"dd9a5aa7cb2de0c4fc03d45994ec4f176b9da83b",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),a("a",{key:"a8e1e00fe3965f650d56054bbe9416cb4a2f96d8",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"d6bfff88d0862ec2dcf3278067695169a528a6c0",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"af6ac987fcfc1b3756a4d8143f2624f54ccec31a",size:"x-small",direction:"horizontal"})],a("slot",{key:"431112825f7667756b9bfb13e641fe290b60f244"}))))}get element(){return i(this)}};l.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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
4
+ import{r as e,h as a,H as t,g as i}from"./p-13fc91f2.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a1b7f2a0.js";import{a as n,c as d,d as c,g as b}from"./p-8fef1054.js";import"./p-0e052642.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"18c37fc7d84fbfe09c1eb285e16388ec70e9a307",role:"listitem"},a("div",{key:"efc47db8c7eb8f922c361ac9399196a7af3be21d",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"108f30568f7f84babd579658721f1c0448288ebc",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),a("a",{key:"b03774c0f0d44955355121d6e235882edda6838c",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"085844d9dce555398be1e6889151600d54eb65f7",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"0746ad63079cbce6f54f7be5b2679a786d711ee0",size:"x-small",direction:"horizontal"})],a("slot",{key:"d0f45ff3fa075427e14b90ef6eb06ebc1c03ddc7"}))))}get element(){return i(this)}};l.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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):r(e.value).then(o,u)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,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 c([e,t])}}function c(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d8863869.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,i,r,a;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.i}],execute:function(){var o='*,*::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;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[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)}}';var u=o;var c=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"}e.prototype.componentWillLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,{key:"a8d19e16b23cd70c744f29a603093db8846d522d",role:"listitem"},n(t,{key:"84e76a7bc574e20f77c1e8a09531e40c80d3d7f1",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.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.leadingIcon&&n("duet-icon",{key:"4a80b815a0d9ee32e7ab84210bfd0f004a754bd6",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),n("slot",{key:"334e9b3d14cf86e8b3757f34953b047219b23a98"}),this.trailingIcon&&n("duet-icon",{key:"8faee80d1e563ad7abca96c635f193a203ae44c2",class:{"trailing-icon":true,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small",rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"auto",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());c.style=u}}}));
4
+ */System.register(["./p-e9577d7b.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,i,r,a;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.i}],execute:function(){var o='*,*::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;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[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)}}';var u=o;var c=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"}e.prototype.componentWillLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,{key:"d2a4ae5947cf7b820de11d1c92be082aefa72e3f",role:"listitem"},n(t,{key:"bb5eef2f76aed3e48357bc4cc399794df49ca320",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.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.leadingIcon&&n("duet-icon",{key:"f0a8e147fe0b4e6beb3e9c0e68d73d17d8903179",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),n("slot",{key:"290f322579d4af32f271ae21d86be07e4938dced"}),this.trailingIcon&&n("duet-icon",{key:"a34778af006706400452949461d96ab1dece7608",class:{"trailing-icon":true,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small",rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"auto",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());c.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d8863869.system.js","./p-e216bea4.system.js","./p-6040a186.system.js","./p-c1445714.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,r,a,o,n,i,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){d=e.g},function(){},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var b=s;var c=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=d(this.color);return r(a,{key:"6005094e7bac41c2a8a29adf8046ca5231d34066"},r("nav",{key:"ac2500d659dd3c902963e7af0edd1e6432f2aa3f","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{key:"829e9f818a87449b89d41f32386e08ae6839497b",class:"container"},r("div",{key:"d9c34522bc6d2ad205c847e4e8fe95a71a4d3ff9",role:"list",class:"list",style:{color:t}},r("slot",{key:"3ee81fac7e560f04536acc9aa13e3b342bdfc2bf"})),r("div",{key:"13b589c5fb63ca7ff2e8d7129a1cc835a2b6f424",class:"bottom-border bottom-border--container"})),r("div",{key:"9fa7fe0d22b33a77ba92f41eaff08fe3f5a739d2",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=b}}}));
4
+ */System.register(["./p-e9577d7b.system.js","./p-e216bea4.system.js","./p-96b280c5.system.js","./p-c1445714.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,r,a,o,n,i,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){d=e.g},function(){},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var b=s;var c=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=d(this.color);return r(a,{key:"4d20f1547e8f5acfe24d4fdd0796467ff5d04a14"},r("nav",{key:"65d6e31df9eb90f7e27b6855ba4e650541aa9eb0","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{key:"e4956646791760eb37fc77028654e75792a256e2",class:"container"},r("div",{key:"9dc16ff656071b0a10317a1b03c92d7b7dd92605",role:"list",class:"list",style:{color:t}},r("slot",{key:"ac9ef52d9eeb061225106b00ee60d7ca2b50dbd2"})),r("div",{key:"747853c441c9c296c4e03aafbe6483dfa31fb7c4",class:"bottom-border bottom-border--container"})),r("div",{key:"fc9a3ab33eb29633aff8623257c81c49185b9e90",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=b}}}));
@@ -1,4 +1,4 @@
1
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
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d8863869.system.js","./p-49957220.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-38ed2814.system.js","./p-34d7dd10.system.js","./p-6040a186.system.js","./p-93087deb.system.js","./p-f6b21d17.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,i,a,d,o,n,r,s,u,l,m,c,h,f,p,g;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.a},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(){}],execute:function(){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}.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(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;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:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.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(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (max-width: 35.9375em){.duet-modal-sticky-header{border-radius:16px 16px 0 0}}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.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(0, 41, 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}';var y=b;var v=600;var x=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}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()}}}),v);setTimeout((function(){e.modalEl.classList.add("duet-disable-transitions")}),v+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();setTimeout((function(){u(e.focusedElBeforeOpen)}),v);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.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="primary";var r="secondary";var s=a("div",{key:"919650935aa4eeda6fdbd32b3b9e8ade646dce61",class:"duet-modal-close"},a("duet-button",{key:"d63e1614e6cfbece69ee14ee4e66dfdcd206ed92",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}));if(this.theme==="turva"){n="primary-turva";r="secondary-turva"}return a("div",{key:"6cf795d42036a300a518234bc2ff864b7a49e0df",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:"abe4d11f4ffd56854a1c154367d9aec78cdd2342","z-index":"-1",visible:this.open,variation:this.variation==="loader"?"white":"default"}),a("div",{key:"6787e4231b2445db8609d02c4ea8fa160d77240b",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:"217b97b31fad9f7c42f822ea6c52e70f4cf77260",ref:function(e){return i.modalContentEl=e},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:"6424067a77dafb42a1f6820f03c1055ba5b9e14b"}),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},s,a("slot",{name:"sticky-header"})):s,a("div",{key:"785f42e4d9754dbdff90f029c7e1ac3ad3bc8f51",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"}},a("div",{key:"28eb6178c09c9619494a43463dee36faba7dcc2e",class:"duet-modal-header"},a("span",{key:"81466134ab4039ab15d2f1983457ce9b7c496341",class:"duet-modal-inner-slot-top"},a("slot",{key:"cff6cfbd5513068771b04ce531c3b86e7928b567",name:"top"})),this.icon&&a("duet-icon",{key:"5c65f1d03d7bc57d36041c5042f55296007d5703",name:this.icon,size:"xx-large",color:this.color||n}),this.heading&&a("duet-heading",{key:"f6bd1c56f9d6e6f18382298d974493454b0b9bd7","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:"4eb30ba1d0d1ec753584876752340b10c8f355bf",class:"duet-modal-spinner"},a("duet-spinner",{key:"24306eda556c8d93816eee3196ed7c8f11e22bd6",size:"large",color:"primary"})),a("div",{key:"228110c5826cbd520dd841e6518ff9e66d6e2d93",class:"duet-modal-inner-slot-default",ref:function(e){return i.slotContainerEl=e},"aria-live":this.variation==="loader"?"assertive":"off"},a("slot",{key:"23075fb010a30dbaf69f30d04f17fd8ec7e75b62"}))))))};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}());x.style=y}}}));
4
+ */System.register(["./p-e9577d7b.system.js","./p-49957220.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-a2bceb42.system.js","./p-34d7dd10.system.js","./p-96b280c5.system.js","./p-577fe041.system.js","./p-f6b21d17.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,i,a,d,o,n,r,s,u,l,m,c,h,p,f,g;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.a},function(e){u=e.f},function(e){l=e.f},function(e){m=e.a;c=e.g;h=e.c;p=e.d},function(e){f=e.h},function(e){g=e.T},function(){}],execute:function(){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}.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(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;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:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.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(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (max-width: 35.9375em){.duet-modal-sticky-header{border-radius:16px 16px 0 0}}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.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(0, 41, 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}';var y=b;var v=600;var x=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}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()}}}),v);setTimeout((function(){e.modalEl.classList.add("duet-disable-transitions")}),v+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();setTimeout((function(){u(e.focusedElBeforeOpen)}),v);if(this.isAndroidDevice){window.removeEventListener("resize",this.handleAndroidResizeEvents)}}};e.prototype.activeChanged=function(){this.open=this.active};e.prototype.componentWillLoad=function(){this.hasStickyHeader=f(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(){p(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.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="primary";var r="secondary";var s=a("div",{key:"1dbe12d292a5d852cc15d465a9a66f5965af9430",class:"duet-modal-close"},a("duet-button",{key:"468e6a8ffbaebd63b3b4a8ee7af2a56adc95ca33",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}));if(this.theme==="turva"){n="primary-turva";r="secondary-turva"}return a("div",{key:"71d788e920473696ea1178fd1f4d531332c0278d",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:"dc0d466574cf07bd5b2442a969e2309d1f4c3b84","z-index":"-1",visible:this.open,variation:this.variation==="loader"?"white":"default"}),a("div",{key:"9412b5b6e861150f01c81fbd495a1deca1576301",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:"cd7f79907611d3f5d06c95b9288d3d078e12c825",ref:function(e){return i.modalContentEl=e},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:"7836985c408c6f18fc389f3965a4b41d6eb59b3d"}),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},s,a("slot",{name:"sticky-header"})):s,a("div",{key:"9d54f33d50e94607e2ef8517670f723e6602b628",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"}},a("div",{key:"ad9468551b2c57c08c2a4a0e412de18472d59795",class:"duet-modal-header"},a("span",{key:"9c6269ee1ca066e75d630a033692daa3d7e45e2c",class:"duet-modal-inner-slot-top"},a("slot",{key:"59df4f56690160cbf5540000a4df88079d934cdb",name:"top"})),this.icon&&a("duet-icon",{key:"686b798b952df7dbc87a678bc20a46d2856bd047",name:this.icon,size:"xx-large",color:this.color||n}),this.heading&&a("duet-heading",{key:"d54b10219d4a823f7d60ace3ee304e920578ed19","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:"86418e12b9d65d5812eb3ced0f08a9d1cd9d3427",class:"duet-modal-spinner"},a("duet-spinner",{key:"3aeda44a3313984a91ec59d3f9455408aa4b7fe7",size:"large",color:"primary"})),a("div",{key:"f130a5ad99bade63e75eb33a6e52d65d5e2267c0",class:"duet-modal-inner-slot-default",ref:function(e){return i.slotContainerEl=e},"aria-live":this.variation==="loader"?"assertive":"off"},a("slot",{key:"38d1e37735093ca54cefb2c0fcea95bcf5031e7d"}))))))};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}());x.style=y}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,g as i,H as a}from"./p-7bd92c3a.js";import{i as h}from"./p-aaa7a7bd.js";import{g as d}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const r=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.color=""}componentWillLoad(){h(this)}render(){const e=d(this.color);return t("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":"none"===this.margin,"duet-m-s":"small"===this.margin,"duet-divider":!0,"duet-theme-turva":"turva"===this.theme},style:{background:e}})}get element(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";const s=class{constructor(t){e(this,t),this.size="medium",this.direction="vertical",this.breakpoint=""}render(){return t(a,{key:"40b675c3998d7f2fb139eecbebbffae65909c618",class:{"duet-spacer":!0,"duet-spacer-xx-small":"xx-small"===this.breakpoint,"duet-spacer-x-small":"x-small"===this.breakpoint,"duet-spacer-small":"small"===this.breakpoint,"duet-spacer-medium":"medium"===this.breakpoint,"duet-spacer-large":"large"===this.breakpoint,"duet-spacer-x-large":"x-large"===this.breakpoint,"duet-spacer-xx-large":"xx-large"===this.breakpoint,[this.size]:!0,[`duet-spacer-${this.direction}`]:!0}})}};s.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";export{r as duet_divider,s as duet_spacer}
4
+ import{r as e,h as t,g as i,H as a}from"./p-13fc91f2.js";import{i as h}from"./p-aaa7a7bd.js";import{g as d}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const r=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.color=""}componentWillLoad(){h(this)}render(){const e=d(this.color);return t("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":"none"===this.margin,"duet-m-s":"small"===this.margin,"duet-divider":!0,"duet-theme-turva":"turva"===this.theme},style:{background:e}})}get element(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";const s=class{constructor(t){e(this,t),this.size="medium",this.direction="vertical",this.breakpoint=""}render(){return t(a,{key:"a1b6a9855c52785dc640ef0687b936220e386943",class:{"duet-spacer":!0,"duet-spacer-xx-small":"xx-small"===this.breakpoint,"duet-spacer-x-small":"x-small"===this.breakpoint,"duet-spacer-small":"small"===this.breakpoint,"duet-spacer-medium":"medium"===this.breakpoint,"duet-spacer-large":"large"===this.breakpoint,"duet-spacer-x-large":"x-large"===this.breakpoint,"duet-spacer-xx-large":"xx-large"===this.breakpoint,[this.size]:!0,[`duet-spacer-${this.direction}`]:!0}})}};s.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";export{r as duet_divider,s as duet_spacer}