@duetds/components 8.1.4 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (653) hide show
  1. package/hydrate/index.js +225 -131
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-banner.cjs.entry.js +7 -5
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-callout.cjs.entry.js +4 -3
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +22 -3
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-hero.cjs.entry.js +3 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-input_2.cjs.entry.js +9 -5
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-modal.cjs.entry.js +18 -5
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -2
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +14 -13
  48. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -4
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +5 -3
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +4 -2
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout.cjs.entry.js +91 -99
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-textarea.cjs.entry.js +4 -2
  68. package/lib/cjs/duet-toggle.cjs.entry.js +4 -2
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +12 -3
  75. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-fd4fdee9.js → focus-utils-1780ee53.js} +1 -1
  81. package/lib/cjs/{index-6ea7b876.js → index-8595e0c1.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/slot-utils-6c81bd09.js +20 -0
  84. package/lib/cjs/{token-utils-a5356b00.js → token-utils-c672402d.js} +1 -1
  85. package/lib/cjs/{tokens-51cfbe11.js → tokens-c3eecae6.js} +1 -1
  86. package/lib/cjs/{tokens.module-ce5f9579.js → tokens.module-bc323a09.js} +1 -1
  87. package/lib/collection/common/focusable-component.js +1 -0
  88. package/lib/collection/common/opener-component.js +1 -0
  89. package/lib/collection/components/duet-badge/duet-badge.css +1 -0
  90. package/lib/collection/components/duet-badge/duet-badge.js +1 -1
  91. package/lib/collection/components/duet-banner/duet-banner.css +3 -0
  92. package/lib/collection/components/duet-banner/duet-banner.js +8 -1
  93. package/lib/collection/components/duet-button/duet-button.css +1 -0
  94. package/lib/collection/components/duet-button/duet-button.js +2 -2
  95. package/lib/collection/components/duet-callout/duet-callout.css +18 -1
  96. package/lib/collection/components/duet-callout/duet-callout.js +3 -2
  97. package/lib/collection/components/duet-chip/duet-chip.css +2 -2
  98. package/lib/collection/components/duet-chip/duet-chip.js +55 -1
  99. package/lib/collection/components/duet-hero/duet-hero.js +5 -4
  100. package/lib/collection/components/duet-icon/duet-icon.css +1 -0
  101. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  102. package/lib/collection/components/duet-input/duet-input.js +43 -1
  103. package/lib/collection/components/duet-label/duet-label.css +7 -0
  104. package/lib/collection/components/duet-label/duet-label.js +26 -0
  105. package/lib/collection/components/duet-modal/duet-modal.css +105 -16
  106. package/lib/collection/components/duet-modal/duet-modal.js +40 -3
  107. package/lib/collection/components/duet-multiselect/duet-multiselect.js +43 -1
  108. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +43 -14
  109. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +4 -0
  110. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
  111. package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -1
  112. package/lib/collection/components/duet-range-slider/duet-range-slider.js +43 -1
  113. package/lib/collection/components/duet-select/duet-select.js +43 -1
  114. package/lib/collection/components/duet-slideout/duet-slideout.css +35 -0
  115. package/lib/collection/components/duet-slideout/duet-slideout.js +114 -123
  116. package/lib/collection/components/duet-textarea/duet-textarea.js +43 -1
  117. package/lib/collection/components/duet-toggle/duet-toggle.js +43 -1
  118. package/lib/collection/components/duet-tooltip/duet-tooltip.js +27 -1
  119. package/lib/collection/utils/slot-utils.js +16 -0
  120. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  121. package/lib/dist-custom-elements/duet-alert.js +1 -1
  122. package/lib/dist-custom-elements/duet-badge.js +1 -1
  123. package/lib/dist-custom-elements/duet-banner.js +10 -14
  124. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  125. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  126. package/lib/dist-custom-elements/duet-button.js +1 -1
  127. package/lib/dist-custom-elements/duet-callout.js +6 -11
  128. package/lib/dist-custom-elements/duet-caption.js +1 -1
  129. package/lib/dist-custom-elements/duet-card.js +4 -4
  130. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  131. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  132. package/lib/dist-custom-elements/duet-chip.js +25 -4
  133. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  134. package/lib/dist-custom-elements/duet-choice.js +5 -5
  135. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  136. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  137. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  138. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  139. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  140. package/lib/dist-custom-elements/duet-divider.js +1 -1
  141. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  142. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  143. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  144. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  145. package/lib/dist-custom-elements/duet-footer.js +4 -4
  146. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  147. package/lib/dist-custom-elements/duet-grid.js +1 -1
  148. package/lib/dist-custom-elements/duet-header.js +9 -9
  149. package/lib/dist-custom-elements/duet-heading.js +1 -1
  150. package/lib/dist-custom-elements/duet-hero.js +11 -10
  151. package/lib/dist-custom-elements/duet-icon.js +1 -1
  152. package/lib/dist-custom-elements/duet-input.js +1 -1
  153. package/lib/dist-custom-elements/duet-label.js +1 -1
  154. package/lib/dist-custom-elements/duet-layout.js +1 -1
  155. package/lib/dist-custom-elements/duet-link.js +1 -1
  156. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  157. package/lib/dist-custom-elements/duet-list.js +1 -1
  158. package/lib/dist-custom-elements/duet-logo.js +1 -1
  159. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  160. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  161. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  162. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  163. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  164. package/lib/dist-custom-elements/duet-modal.js +24 -10
  165. package/lib/dist-custom-elements/duet-multiselect.js +14 -10
  166. package/lib/dist-custom-elements/duet-nav.js +1 -1
  167. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  168. package/lib/dist-custom-elements/duet-notification.js +2 -2
  169. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  170. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  171. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  172. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  173. package/lib/dist-custom-elements/duet-popup-menu-item.js +6 -4
  174. package/lib/dist-custom-elements/duet-popup-menu.js +15 -13
  175. package/lib/dist-custom-elements/duet-progress.js +1 -1
  176. package/lib/dist-custom-elements/duet-promo-card.js +6 -5
  177. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  178. package/lib/dist-custom-elements/duet-radio.js +1 -1
  179. package/lib/dist-custom-elements/duet-range-slider.js +8 -4
  180. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  181. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  182. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  183. package/lib/dist-custom-elements/duet-select.js +1 -1
  184. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  185. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  186. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  187. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  188. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  189. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  190. package/lib/dist-custom-elements/duet-slideout.js +97 -103
  191. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  192. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  193. package/lib/dist-custom-elements/duet-step.js +4 -4
  194. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  195. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  196. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  197. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  198. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  199. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  200. package/lib/dist-custom-elements/duet-tab.js +1 -1
  201. package/lib/dist-custom-elements/duet-table.js +1 -1
  202. package/lib/dist-custom-elements/duet-textarea.js +15 -11
  203. package/lib/dist-custom-elements/duet-toggle.js +7 -3
  204. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  205. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  206. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  207. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  208. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  209. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  210. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  211. package/lib/dist-custom-elements/duet-tray.js +4 -4
  212. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  213. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  214. package/lib/dist-custom-elements/duet-upload.js +18 -18
  215. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  216. package/lib/dist-custom-elements/index.js +1 -1
  217. package/lib/dist-custom-elements/{p-077e5396.js → p-0297efef.js} +10 -10
  218. package/lib/dist-custom-elements/{p-d18ca3d9.js → p-0aef3ad3.js} +2 -2
  219. package/lib/dist-custom-elements/{p-8aaaefdf.js → p-13916d96.js} +2 -2
  220. package/lib/dist-custom-elements/p-15d5aa46.js +60 -0
  221. package/lib/dist-custom-elements/p-188d76d4.js +205 -0
  222. package/lib/dist-custom-elements/{p-19fc0434.js → p-1b55b8aa.js} +1 -1
  223. package/lib/dist-custom-elements/{p-98dcc2eb.js → p-27efc5ff.js} +3 -3
  224. package/lib/dist-custom-elements/{p-5f8459bd.js → p-30fe9f1c.js} +13 -9
  225. package/lib/dist-custom-elements/{p-c9808777.js → p-3bb00966.js} +15 -11
  226. package/lib/dist-custom-elements/{p-9b14643e.js → p-4086f5d7.js} +2 -2
  227. package/lib/dist-custom-elements/{p-36cee998.js → p-5c8435c6.js} +5 -5
  228. package/lib/dist-custom-elements/{p-802e0cd4.js → p-63997028.js} +17 -7
  229. package/lib/dist-custom-elements/{p-9c5b3e92.js → p-679f9f84.js} +1 -1
  230. package/lib/dist-custom-elements/{p-59fdca12.js → p-6a6a112e.js} +2 -2
  231. package/lib/dist-custom-elements/{p-506c2666.js → p-7b59279f.js} +6 -3
  232. package/lib/dist-custom-elements/{p-f91938ae.js → p-80cc1a6e.js} +2 -2
  233. package/lib/dist-custom-elements/{p-1ed786bc.js → p-811f6b14.js} +1 -1
  234. package/lib/dist-custom-elements/{p-4091ca56.js → p-8313084c.js} +1 -1
  235. package/lib/dist-custom-elements/{p-18ec08ac.js → p-8371f4c9.js} +4 -4
  236. package/lib/dist-custom-elements/{p-482e780b.js → p-8aeece22.js} +2 -2
  237. package/lib/dist-custom-elements/{p-0d74f436.js → p-8f9c9ce8.js} +2 -2
  238. package/lib/dist-custom-elements/{p-2eb72ea1.js → p-929cc9d5.js} +1 -1
  239. package/lib/dist-custom-elements/{p-5b14ef9f.js → p-98aea896.js} +1 -1
  240. package/lib/dist-custom-elements/{p-d94a9d9c.js → p-9e103db0.js} +1 -1
  241. package/lib/dist-custom-elements/{p-ff50aff2.js → p-9f454015.js} +3 -3
  242. package/lib/dist-custom-elements/{p-91facf89.js → p-a5057e42.js} +2 -2
  243. package/lib/dist-custom-elements/p-bb24a019.js +18 -0
  244. package/lib/dist-custom-elements/{p-7a6cf439.js → p-d072d3f7.js} +8 -8
  245. package/lib/dist-custom-elements/{p-2941d90a.js → p-d07f9fcc.js} +1 -1
  246. package/lib/dist-custom-elements/{p-2b56c0d7.js → p-d37a3cec.js} +1 -1
  247. package/lib/{esm/tokens-04106a43.js → dist-custom-elements/p-d81ec707.js} +1 -1
  248. package/lib/dist-custom-elements/{p-57e61e85.js → p-d87fd2f0.js} +3 -3
  249. package/lib/dist-custom-elements/{p-7c5f9c80.js → p-dbaac77a.js} +5 -5
  250. package/lib/dist-custom-elements/{p-583ae9d7.js → p-e5e0a9d5.js} +2 -2
  251. package/lib/dist-custom-elements/{p-8c81a26f.js → p-e93fe17b.js} +2 -2
  252. package/lib/dist-custom-elements/{p-d68c9433.js → p-ee518783.js} +1 -1
  253. package/lib/dist-custom-elements/{p-e078836c.js → p-ef9c200e.js} +1 -1
  254. package/lib/dist-custom-elements/{p-bb59b14d.js → p-f992d96f.js} +2 -2
  255. package/lib/duet/duet.esm.js +1 -1
  256. package/lib/duet/duet.js +1 -1
  257. package/lib/duet/{p-4a2adee6.entry.js → p-00af1839.entry.js} +1 -1
  258. package/lib/duet/p-03504efc.entry.js +4 -0
  259. package/lib/duet/{p-4dc81aa3.system.entry.js → p-07639744.system.entry.js} +1 -1
  260. package/lib/duet/{p-b931d3fa.system.entry.js → p-0b1e9389.system.entry.js} +1 -1
  261. package/lib/duet/p-0b2e2097.system.entry.js +4 -0
  262. package/lib/duet/{p-e50ab4d3.system.entry.js → p-0c4251d2.system.entry.js} +1 -1
  263. package/lib/duet/{p-8ec9245a.entry.js → p-0d546b56.entry.js} +1 -1
  264. package/lib/duet/{p-620c416c.entry.js → p-0ee8f124.entry.js} +1 -1
  265. package/lib/duet/p-0f6f152d.entry.js +4 -0
  266. package/lib/duet/{p-b2af386a.system.entry.js → p-0fb3d28c.system.entry.js} +1 -1
  267. package/lib/duet/{p-2c34a804.entry.js → p-1069a865.entry.js} +1 -1
  268. package/lib/duet/{p-78777bcf.entry.js → p-10e05065.entry.js} +1 -1
  269. package/lib/duet/p-13241469.system.entry.js +4 -0
  270. package/lib/duet/{p-cbbe6410.entry.js → p-145de3e0.entry.js} +1 -1
  271. package/lib/duet/{p-e12b3d60.system.js → p-15fde8cc.system.js} +1 -1
  272. package/lib/duet/{p-07c3d88d.entry.js → p-189f31b8.entry.js} +1 -1
  273. package/lib/duet/p-1d3f4925.entry.js +4 -0
  274. package/lib/duet/p-1ebb5d23.entry.js +4 -0
  275. package/lib/duet/{p-1b46db77.entry.js → p-1fcccba8.entry.js} +1 -1
  276. package/lib/duet/{p-906c13df.entry.js → p-204a1ab8.entry.js} +1 -1
  277. package/lib/duet/{p-04c3f872.system.entry.js → p-2073966b.system.entry.js} +1 -1
  278. package/lib/duet/{p-60d0817e.system.entry.js → p-22df3386.system.entry.js} +1 -1
  279. package/lib/duet/{p-c34e419e.system.entry.js → p-23043e9e.system.entry.js} +1 -1
  280. package/lib/duet/{p-9bd338fd.system.js → p-23354cf7.system.js} +1 -1
  281. package/lib/duet/{p-7768931c.system.entry.js → p-26a30f41.system.entry.js} +1 -1
  282. package/lib/duet/{p-4175e48c.system.entry.js → p-26e6c296.system.entry.js} +1 -1
  283. package/lib/duet/{p-2590ca65.system.entry.js → p-2975e980.system.entry.js} +1 -1
  284. package/lib/duet/{p-a020bf81.system.entry.js → p-2f2a6fbf.system.entry.js} +1 -1
  285. package/lib/duet/{p-ce50e4c0.system.entry.js → p-3120a193.system.entry.js} +1 -1
  286. package/lib/duet/{p-2cc17967.system.entry.js → p-31215119.system.entry.js} +1 -1
  287. package/lib/duet/{p-d6938dce.entry.js → p-342a250d.entry.js} +1 -1
  288. package/lib/duet/{p-be3bf41a.system.entry.js → p-3809955c.system.entry.js} +1 -1
  289. package/lib/duet/{p-b7be1375.entry.js → p-39aac14c.entry.js} +1 -1
  290. package/lib/duet/{p-f1faaa0b.system.entry.js → p-3e7d63ff.system.entry.js} +1 -1
  291. package/lib/duet/{p-0360829b.entry.js → p-414cc15d.entry.js} +1 -1
  292. package/lib/duet/{p-f08a7552.system.entry.js → p-4350eaaa.system.entry.js} +1 -1
  293. package/lib/duet/{p-5d6e1173.entry.js → p-462326bc.entry.js} +1 -1
  294. package/lib/duet/p-46bc086c.system.entry.js +4 -0
  295. package/lib/duet/p-485f3748.system.entry.js +4 -0
  296. package/lib/duet/{p-c73db725.system.entry.js → p-508c6401.system.entry.js} +1 -1
  297. package/lib/duet/p-50ebc951.system.entry.js +4 -0
  298. package/lib/duet/{p-d26b9e1f.system.entry.js → p-51b802fe.system.entry.js} +1 -1
  299. package/lib/duet/{p-a9b6b8d5.entry.js → p-5224b8e7.entry.js} +1 -1
  300. package/lib/duet/{p-4b745f4d.entry.js → p-52811ee4.entry.js} +1 -1
  301. package/lib/duet/{p-c65851ca.entry.js → p-529b0ef8.entry.js} +1 -1
  302. package/lib/duet/{p-c45c621f.js → p-52bcdf36.js} +1 -1
  303. package/lib/duet/{p-8f504a32.system.entry.js → p-530dc869.system.entry.js} +2 -2
  304. package/lib/duet/{p-ea5bad4c.entry.js → p-531c259f.entry.js} +1 -1
  305. package/lib/duet/{p-c1e6dcf6.entry.js → p-57a29655.entry.js} +1 -1
  306. package/lib/duet/{p-2c139545.entry.js → p-57b54fc2.entry.js} +1 -1
  307. package/lib/duet/{p-63150ee3.system.entry.js → p-5983c4c1.system.entry.js} +1 -1
  308. package/lib/duet/{p-993f5974.entry.js → p-59d78e4a.entry.js} +1 -1
  309. package/lib/duet/p-5a5fb62b.system.entry.js +4 -0
  310. package/lib/duet/{p-3865240e.system.entry.js → p-5a8c6db7.system.entry.js} +1 -1
  311. package/lib/duet/{p-82461381.system.entry.js → p-5b2d1616.system.entry.js} +1 -1
  312. package/lib/duet/{p-711c2a2b.system.js → p-5b8477c2.system.js} +1 -1
  313. package/lib/duet/{p-fee4d237.system.entry.js → p-5bd11cd6.system.entry.js} +1 -1
  314. package/lib/duet/{p-1a8494b0.system.entry.js → p-5ed4cad9.system.entry.js} +1 -1
  315. package/lib/duet/{p-0142d94d.entry.js → p-600af4ae.entry.js} +1 -1
  316. package/lib/duet/{p-1e0df043.system.entry.js → p-6073f3e6.system.entry.js} +1 -1
  317. package/lib/duet/p-61a76b2b.system.js +4 -0
  318. package/lib/duet/p-61ab4c50.system.entry.js +4 -0
  319. package/lib/duet/{p-103ab767.system.entry.js → p-62a1697f.system.entry.js} +1 -1
  320. package/lib/duet/{p-42959a52.entry.js → p-62cd7e30.entry.js} +1 -1
  321. package/lib/duet/{p-64c8cce6.entry.js → p-62d30a58.entry.js} +1 -1
  322. package/lib/duet/{p-cf6c967a.entry.js → p-6374b7ea.entry.js} +1 -1
  323. package/lib/duet/{p-9f05508d.entry.js → p-641be297.entry.js} +1 -1
  324. package/lib/duet/{p-5b27ed7e.entry.js → p-64737ee3.entry.js} +1 -1
  325. package/lib/duet/{p-c9a6ad4d.entry.js → p-6484d791.entry.js} +1 -1
  326. package/lib/duet/{p-dc4697ce.system.entry.js → p-692d016e.system.entry.js} +1 -1
  327. package/lib/duet/{p-d206ba69.entry.js → p-697addd1.entry.js} +1 -1
  328. package/lib/duet/p-6e53e390.system.entry.js +4 -0
  329. package/lib/duet/{p-702810e3.system.entry.js → p-73ec169a.system.entry.js} +1 -1
  330. package/lib/duet/{p-9894f629.system.entry.js → p-7576d859.system.entry.js} +1 -1
  331. package/lib/duet/{p-582b7fa7.system.entry.js → p-7694b9fa.system.entry.js} +1 -1
  332. package/lib/duet/{p-6bad895a.system.entry.js → p-7b57105a.system.entry.js} +1 -1
  333. package/lib/duet/{p-9b8c4a19.entry.js → p-7bced88e.entry.js} +1 -1
  334. package/lib/duet/{p-441595f6.entry.js → p-7ceb2a64.entry.js} +1 -1
  335. package/lib/duet/p-7d4f3ee9.entry.js +4 -0
  336. package/lib/duet/{p-066f078b.entry.js → p-7f06df0d.entry.js} +1 -1
  337. package/lib/duet/{p-68967bb9.entry.js → p-7fed706e.entry.js} +1 -1
  338. package/lib/duet/{p-6f9e49da.system.entry.js → p-7ff65dc0.system.entry.js} +1 -1
  339. package/lib/duet/{p-60be4608.system.entry.js → p-802d6f86.system.entry.js} +1 -1
  340. package/lib/duet/p-81c39b69.js +4 -0
  341. package/lib/duet/{p-42f92e6f.entry.js → p-8214bafd.entry.js} +1 -1
  342. package/lib/duet/p-876456fd.entry.js +4 -0
  343. package/lib/duet/{p-d189500a.entry.js → p-87653f71.entry.js} +1 -1
  344. package/lib/duet/{p-722a4867.entry.js → p-877c5c97.entry.js} +1 -1
  345. package/lib/duet/p-89aa11c5.system.entry.js +4 -0
  346. package/lib/duet/p-8a08dc1c.system.entry.js +4 -0
  347. package/lib/duet/{p-95ca3440.system.entry.js → p-8b7288e6.system.entry.js} +1 -1
  348. package/lib/duet/{p-b627091f.system.entry.js → p-8c8752c1.system.entry.js} +1 -1
  349. package/lib/duet/{p-314d5b44.entry.js → p-8c9f4ffd.entry.js} +1 -1
  350. package/lib/duet/{p-67eee05e.system.entry.js → p-8ca7b2fa.system.entry.js} +1 -1
  351. package/lib/duet/{p-010986d1.system.entry.js → p-8dbc03c1.system.entry.js} +1 -1
  352. package/lib/duet/{p-f587e799.entry.js → p-90f13f5e.entry.js} +1 -1
  353. package/lib/duet/p-9333f3f2.entry.js +4 -0
  354. package/lib/duet/{p-45a16be3.system.js → p-95eca09b.system.js} +1 -1
  355. package/lib/duet/{p-5cbc1b17.entry.js → p-97c30079.entry.js} +1 -1
  356. package/lib/duet/p-99269e38.system.js +4 -0
  357. package/lib/duet/p-9a43d193.entry.js +4 -0
  358. package/lib/duet/{p-edd0d41d.system.entry.js → p-9a5fd97c.system.entry.js} +1 -1
  359. package/lib/duet/p-9a7c25f2.entry.js +4 -0
  360. package/lib/duet/{p-ee9d7b51.system.entry.js → p-9ad8c8d4.system.entry.js} +1 -1
  361. package/lib/duet/{p-3515cd72.system.entry.js → p-9d328100.system.entry.js} +1 -1
  362. package/lib/duet/{p-18322745.system.entry.js → p-9de27a8f.system.entry.js} +1 -1
  363. package/lib/duet/{p-e5c0b71a.js → p-9dff8650.js} +1 -1
  364. package/lib/duet/{p-1d11b3b6.entry.js → p-9f939b40.entry.js} +1 -1
  365. package/lib/duet/{p-ac6f456f.system.entry.js → p-9fd8cf3b.system.entry.js} +1 -1
  366. package/lib/duet/{p-eadbc1cf.entry.js → p-9fffb1b4.entry.js} +1 -1
  367. package/lib/duet/p-a13bb243.entry.js +4 -0
  368. package/lib/duet/{p-a075ba4d.entry.js → p-a37947f2.entry.js} +1 -1
  369. package/lib/duet/{p-ce0ffc6e.system.entry.js → p-a658fd46.system.entry.js} +1 -1
  370. package/lib/duet/{p-69ba8b52.entry.js → p-a6a7278c.entry.js} +1 -1
  371. package/lib/duet/{p-b2d010fa.entry.js → p-a71dfbc3.entry.js} +1 -1
  372. package/lib/duet/{p-252baa0d.entry.js → p-a7788ac6.entry.js} +1 -1
  373. package/lib/duet/{p-bdbe3e35.system.entry.js → p-a871d5b1.system.entry.js} +1 -1
  374. package/lib/duet/p-a904b928.entry.js +4 -0
  375. package/lib/duet/{p-f866c944.entry.js → p-a9fb2dad.entry.js} +1 -1
  376. package/lib/duet/{p-24edf4ed.entry.js → p-a9fee462.entry.js} +1 -1
  377. package/lib/duet/{p-d94c8c20.entry.js → p-aad8ab06.entry.js} +1 -1
  378. package/lib/duet/{p-db09c828.system.entry.js → p-ac10c490.system.entry.js} +1 -1
  379. package/lib/duet/{p-8ae84c52.entry.js → p-ac607868.entry.js} +1 -1
  380. package/lib/duet/{p-a09af712.system.entry.js → p-acad0f72.system.entry.js} +1 -1
  381. package/lib/duet/p-aefc858d.entry.js +4 -0
  382. package/lib/duet/{p-244387a0.entry.js → p-af1bc725.entry.js} +1 -1
  383. package/lib/duet/{p-6020800c.system.entry.js → p-af4af7bb.system.entry.js} +1 -1
  384. package/lib/duet/p-b099522e.system.entry.js +4 -0
  385. package/lib/duet/{p-2d366120.system.entry.js → p-b1afb239.system.entry.js} +1 -1
  386. package/lib/duet/{p-8e7dc4ed.system.entry.js → p-b1e84ea2.system.entry.js} +1 -1
  387. package/lib/duet/p-b2608fe2.system.entry.js +4 -0
  388. package/lib/duet/p-b2744aa5.entry.js +4 -0
  389. package/lib/duet/{p-1db3121f.system.entry.js → p-b3a4cb83.system.entry.js} +1 -1
  390. package/lib/duet/{p-84031069.entry.js → p-b4ebdbc3.entry.js} +1 -1
  391. package/lib/duet/{p-ab63306b.entry.js → p-b61c49de.entry.js} +1 -1
  392. package/lib/duet/p-bb24a019.js +4 -0
  393. package/lib/duet/{p-600f3cf8.system.entry.js → p-bb507da0.system.entry.js} +1 -1
  394. package/lib/duet/p-c233d99d.entry.js +4 -0
  395. package/lib/duet/{p-ecf9b56e.system.entry.js → p-c2552968.system.entry.js} +1 -1
  396. package/lib/duet/{p-d053b6be.system.entry.js → p-c521eae3.system.entry.js} +1 -1
  397. package/lib/duet/p-d20b8b82.entry.js +4 -0
  398. package/lib/duet/{p-86251661.system.entry.js → p-d241457a.system.entry.js} +1 -1
  399. package/lib/duet/{p-dba6c1ee.entry.js → p-d577a8d9.entry.js} +1 -1
  400. package/lib/duet/{p-90378229.system.entry.js → p-d6b7c83c.system.entry.js} +1 -1
  401. package/lib/duet/{p-5e849463.js → p-d81ec707.js} +1 -1
  402. package/lib/duet/{p-4fe09b26.system.entry.js → p-d9af65c8.system.entry.js} +1 -1
  403. package/lib/duet/{p-7130f6d6.system.entry.js → p-db73a673.system.entry.js} +1 -1
  404. package/lib/duet/{p-261014df.system.entry.js → p-def2db15.system.entry.js} +1 -1
  405. package/lib/duet/{p-426ba263.entry.js → p-e006f206.entry.js} +1 -1
  406. package/lib/duet/{p-98e033d1.entry.js → p-e108f77f.entry.js} +1 -1
  407. package/lib/duet/{p-21774475.system.js → p-e1868c94.system.js} +1 -1
  408. package/lib/duet/{p-954c7df4.system.entry.js → p-e4cec0cd.system.entry.js} +1 -1
  409. package/lib/duet/{p-77e1b69b.entry.js → p-e55b0091.entry.js} +1 -1
  410. package/lib/duet/{p-f781276f.system.entry.js → p-e634de62.system.entry.js} +1 -1
  411. package/lib/duet/{p-645a4cd3.system.entry.js → p-e87e976f.system.entry.js} +1 -1
  412. package/lib/duet/p-e9dc6d6c.entry.js +4 -0
  413. package/lib/duet/{p-53229ab4.system.entry.js → p-ebc55747.system.entry.js} +1 -1
  414. package/lib/duet/p-ecb2cbbf.entry.js +4 -0
  415. package/lib/duet/{p-a2541d8a.entry.js → p-efa1441d.entry.js} +1 -1
  416. package/lib/duet/p-f041d166.entry.js +4 -0
  417. package/lib/duet/{p-b9157c7e.js → p-f2aa1623.js} +1 -1
  418. package/lib/duet/{p-c6b5368b.entry.js → p-f4551b33.entry.js} +1 -1
  419. package/lib/duet/p-f52a6fc5.system.entry.js +4 -0
  420. package/lib/duet/p-f5909e7f.entry.js +4 -0
  421. package/lib/duet/{p-f7e4069c.entry.js → p-f603773e.entry.js} +1 -1
  422. package/lib/duet/{p-e4231291.system.entry.js → p-fd8935c8.system.entry.js} +1 -1
  423. package/lib/duet/{p-ab9b7324.system.entry.js → p-fef7a17b.system.entry.js} +1 -1
  424. package/lib/esm/duet-action-button.entry.js +3 -3
  425. package/lib/esm/duet-alert.entry.js +1 -1
  426. package/lib/esm/duet-badge.entry.js +3 -3
  427. package/lib/esm/duet-banner.entry.js +7 -5
  428. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  429. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  430. package/lib/esm/duet-button_2.entry.js +6 -6
  431. package/lib/esm/duet-callout.entry.js +4 -3
  432. package/lib/esm/duet-caption_4.entry.js +3 -3
  433. package/lib/esm/duet-card.entry.js +3 -3
  434. package/lib/esm/duet-checkbox.entry.js +1 -1
  435. package/lib/esm/duet-checkmark.entry.js +1 -1
  436. package/lib/esm/duet-chip.entry.js +22 -3
  437. package/lib/esm/duet-choice_2.entry.js +2 -2
  438. package/lib/esm/duet-collapsible.entry.js +2 -2
  439. package/lib/esm/duet-combobox.entry.js +1 -1
  440. package/lib/esm/duet-contact-card.entry.js +1 -1
  441. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  442. package/lib/esm/duet-date-picker.entry.js +2 -2
  443. package/lib/esm/duet-divider_2.entry.js +3 -3
  444. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  445. package/lib/esm/duet-empty-state.entry.js +1 -1
  446. package/lib/esm/duet-fieldset.entry.js +1 -1
  447. package/lib/esm/duet-file-chooser.entry.js +1 -1
  448. package/lib/esm/duet-footer.entry.js +1 -1
  449. package/lib/esm/duet-grid_2.entry.js +2 -2
  450. package/lib/esm/duet-header_2.entry.js +3 -3
  451. package/lib/esm/duet-hero.entry.js +3 -2
  452. package/lib/esm/duet-icon.entry.js +5 -5
  453. package/lib/esm/duet-input_2.entry.js +9 -5
  454. package/lib/esm/duet-layout.entry.js +1 -1
  455. package/lib/esm/duet-list_2.entry.js +1 -1
  456. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  457. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  458. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  459. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  460. package/lib/esm/duet-menu-bar.entry.js +2 -2
  461. package/lib/esm/duet-modal.entry.js +18 -5
  462. package/lib/esm/duet-multiselect.entry.js +4 -2
  463. package/lib/esm/duet-nav.entry.js +1 -1
  464. package/lib/esm/duet-notification_2.entry.js +1 -1
  465. package/lib/esm/duet-number-input.entry.js +1 -1
  466. package/lib/esm/duet-page-heading.entry.js +1 -1
  467. package/lib/esm/duet-pagination_2.entry.js +3 -3
  468. package/lib/esm/duet-popup-menu-item.entry.js +4 -3
  469. package/lib/esm/duet-popup-menu.entry.js +14 -13
  470. package/lib/esm/duet-progress.entry.js +1 -1
  471. package/lib/esm/duet-promo-card.entry.js +5 -4
  472. package/lib/esm/duet-radio_2.entry.js +1 -1
  473. package/lib/esm/duet-range-slider.entry.js +5 -3
  474. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  475. package/lib/esm/duet-section-layout.entry.js +1 -1
  476. package/lib/esm/duet-select.entry.js +4 -2
  477. package/lib/esm/duet-shaped-image.entry.js +1 -1
  478. package/lib/esm/duet-show-more.entry.js +1 -1
  479. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  480. package/lib/esm/duet-slideout-link.entry.js +1 -1
  481. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  482. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  483. package/lib/esm/duet-slideout.entry.js +92 -100
  484. package/lib/esm/duet-step_2.entry.js +1 -1
  485. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  486. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  487. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  488. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  489. package/lib/esm/duet-textarea.entry.js +4 -2
  490. package/lib/esm/duet-toggle.entry.js +4 -2
  491. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  492. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  493. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  494. package/lib/esm/duet-toolbar.entry.js +1 -1
  495. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  496. package/lib/esm/duet-tooltip.entry.js +12 -3
  497. package/lib/esm/duet-tray.entry.js +2 -2
  498. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  499. package/lib/esm/duet-upload-item.entry.js +1 -1
  500. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  501. package/lib/esm/duet.js +3 -3
  502. package/lib/esm/{focus-utils-8f59f0fc.js → focus-utils-d168d36c.js} +1 -1
  503. package/lib/esm/{index-6a5abb95.js → index-5c989c52.js} +1 -1
  504. package/lib/esm/loader.js +3 -3
  505. package/lib/esm/slot-utils-07ba4363.js +18 -0
  506. package/lib/esm/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
  507. package/lib/{dist-custom-elements/p-5e849463.js → esm/tokens-30d01e1d.js} +1 -1
  508. package/lib/esm/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
  509. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  510. package/lib/esm-es5/duet-alert.entry.js +1 -1
  511. package/lib/esm-es5/duet-badge.entry.js +1 -1
  512. package/lib/esm-es5/duet-banner.entry.js +1 -1
  513. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  514. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  515. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  516. package/lib/esm-es5/duet-callout.entry.js +1 -1
  517. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  518. package/lib/esm-es5/duet-card.entry.js +1 -1
  519. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  520. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  521. package/lib/esm-es5/duet-chip.entry.js +1 -1
  522. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  523. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  524. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  525. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  526. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  527. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  528. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  529. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  530. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  531. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  532. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  533. package/lib/esm-es5/duet-footer.entry.js +1 -1
  534. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  535. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  536. package/lib/esm-es5/duet-hero.entry.js +2 -2
  537. package/lib/esm-es5/duet-icon.entry.js +1 -1
  538. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  539. package/lib/esm-es5/duet-layout.entry.js +1 -1
  540. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  541. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  542. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  543. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  544. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  545. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  546. package/lib/esm-es5/duet-modal.entry.js +2 -2
  547. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  548. package/lib/esm-es5/duet-nav.entry.js +1 -1
  549. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  551. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  552. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  553. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  554. package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
  555. package/lib/esm-es5/duet-progress.entry.js +1 -1
  556. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  557. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  558. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  559. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  560. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  561. package/lib/esm-es5/duet-select.entry.js +1 -1
  562. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  563. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  564. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  565. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  566. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  567. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  568. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  569. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  571. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  572. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  573. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  574. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  575. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  576. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  577. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  578. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  579. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  580. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  581. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  582. package/lib/esm-es5/duet-tray.entry.js +1 -1
  583. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  584. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  585. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  586. package/lib/esm-es5/duet.js +1 -1
  587. package/lib/esm-es5/{focus-utils-8f59f0fc.js → focus-utils-d168d36c.js} +1 -1
  588. package/lib/esm-es5/{index-6a5abb95.js → index-5c989c52.js} +1 -1
  589. package/lib/esm-es5/loader.js +1 -1
  590. package/lib/esm-es5/slot-utils-07ba4363.js +4 -0
  591. package/lib/esm-es5/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
  592. package/lib/esm-es5/{tokens-04106a43.js → tokens-30d01e1d.js} +1 -1
  593. package/lib/esm-es5/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
  594. package/lib/types/common/focusable-component.d.ts +4 -0
  595. package/lib/types/common/index.d.ts +2 -0
  596. package/lib/types/common/opener-component.d.ts +5 -0
  597. package/lib/types/common-types.d.ts +2 -0
  598. package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
  599. package/lib/types/components/duet-callout/duet-callout.d.ts +1 -1
  600. package/lib/types/components/duet-chip/duet-chip.d.ts +13 -1
  601. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -3
  602. package/lib/types/components/duet-input/duet-input.d.ts +9 -1
  603. package/lib/types/components/duet-label/duet-label.d.ts +5 -1
  604. package/lib/types/components/duet-modal/duet-modal.d.ts +7 -0
  605. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +9 -1
  606. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +7 -3
  607. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
  608. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +6 -0
  609. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +9 -1
  610. package/lib/types/components/duet-select/duet-select.d.ts +9 -1
  611. package/lib/types/components/duet-slideout/duet-slideout.d.ts +22 -18
  612. package/lib/types/components/duet-textarea/duet-textarea.d.ts +9 -1
  613. package/lib/types/components/duet-toggle/duet-toggle.d.ts +9 -1
  614. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +6 -0
  615. package/lib/types/components.d.ts +160 -6
  616. package/lib/types/utils/slot-utils.d.ts +2 -0
  617. package/package.json +7 -7
  618. package/lib/dist-custom-elements/p-88b5a225.js +0 -205
  619. package/lib/dist-custom-elements/p-b06b80ce.js +0 -60
  620. package/lib/duet/p-00f75643.system.entry.js +0 -4
  621. package/lib/duet/p-0660a9a6.entry.js +0 -4
  622. package/lib/duet/p-088ac559.entry.js +0 -4
  623. package/lib/duet/p-0b2ff6ce.system.entry.js +0 -4
  624. package/lib/duet/p-164be464.entry.js +0 -4
  625. package/lib/duet/p-180c61a0.entry.js +0 -4
  626. package/lib/duet/p-18aaa40c.entry.js +0 -4
  627. package/lib/duet/p-210adc0e.system.entry.js +0 -4
  628. package/lib/duet/p-23914c18.entry.js +0 -4
  629. package/lib/duet/p-2858bbdf.entry.js +0 -4
  630. package/lib/duet/p-38df728c.system.entry.js +0 -4
  631. package/lib/duet/p-41203a2d.entry.js +0 -4
  632. package/lib/duet/p-474f53fe.entry.js +0 -4
  633. package/lib/duet/p-4a130ebf.system.entry.js +0 -4
  634. package/lib/duet/p-4bfc3a15.entry.js +0 -4
  635. package/lib/duet/p-4d3ef5ea.system.entry.js +0 -4
  636. package/lib/duet/p-4e9b4950.entry.js +0 -4
  637. package/lib/duet/p-5373f6cf.system.entry.js +0 -4
  638. package/lib/duet/p-53e33daf.js +0 -4
  639. package/lib/duet/p-594ffed9.entry.js +0 -4
  640. package/lib/duet/p-5eaf9a5e.entry.js +0 -4
  641. package/lib/duet/p-64e16fb9.system.js +0 -4
  642. package/lib/duet/p-7ad157c2.entry.js +0 -4
  643. package/lib/duet/p-9eb39bd3.system.entry.js +0 -4
  644. package/lib/duet/p-ac09ef10.entry.js +0 -4
  645. package/lib/duet/p-bc7e75a7.entry.js +0 -4
  646. package/lib/duet/p-cd13fb8f.system.entry.js +0 -4
  647. package/lib/duet/p-d125d287.system.entry.js +0 -4
  648. package/lib/duet/p-d1a42e5b.system.entry.js +0 -4
  649. package/lib/duet/p-e0aa8284.system.entry.js +0 -4
  650. package/lib/duet/p-e0e5597f.entry.js +0 -4
  651. package/lib/duet/p-e836814b.entry.js +0 -4
  652. package/lib/duet/p-f81647e9.system.entry.js +0 -4
  653. package/lib/duet/p-fb6a8b36.entry.js +0 -4
@@ -1,4 +1,4 @@
1
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,c){function b(t){try{n(i.next(t))}catch(t){c(t)}}function u(t){try{n(i["throw"](t))}catch(t){c(t)}}function n(t){t.done?e(t.value):s(t.value).then(b,u)}n((i=i.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},i,s,c,b;return b={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(b[Symbol.iterator]=function(){return this}),b;function u(t){return function(o){return n([t,o])}}function n(u){if(i)throw new TypeError("Generator is already executing.");while(b&&(b=0,u[0]&&(e=0)),e)try{if(i=1,s&&(c=u[0]&2?s["return"]:u[0]?s["throw"]||((c=s["return"])&&c.call(s),0):s.next)&&!(c=c.call(s,u[1])).done)return c;if(s=0,c)u=[u[0]&2,c.value];switch(u[0]){case 0:case 1:c=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(!(c=e.trys,c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){e.label=u[1];break}if(u[0]===6&&e.label<c[1]){e.label=c[1];c=u;break}if(c&&e.label<c[2]){e.label=c[2];e.ops.push(u);break}if(c[2])e.ops.pop();e.trys.pop();continue}u=o.call(t,e)}catch(t){u=[6,t];s=0}finally{i=c=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-45a16be3.system.js","./p-50f4bca2.system.js","./p-41982d26.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,c,b,u,n,r,d,a,m,l,h,x,f,v,p;return{setters:[function(t){o=t.h;e=t.F;i=t.r;s=t.c;c=t.H;b=t.g},function(t){u=t.i},function(t){n=t.d},function(t){r=t.j;d=t.f;a=t.o;m=t.b;l=t.c},function(t){h=t.g;x=t.a;f=t.c;v=t.d},function(t){p=t.p}],execute:function(){var g=function(t){var i=t.item,s=t.search,c=s===void 0?"":s,b=t.selected;var u=c!==""?new RegExp("("+c.split(" ").join("|")+")","gi"):undefined;return o(e,null,b&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),u?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:i.name.replace(u,'<span class="highlight">$&</span>')})):i.name,i.tags&&o("span",{class:"option-tags"},i.tags.join(", ")))};var w=function(t){var e=t.item,i=t.active,s=t.total,c=t.selected,b=t.label,u=b===void 0?undefined:b,n=t.clickHandler,r=n===void 0?function(t){t.preventDefault()}:n,d=t.keyHandler,a=d===void 0?function(t){t.preventDefault()}:d,m=t.search;return o("li",{class:{"list-item":true,option:true,active:i,selected:c},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":c?"true":undefined,role:"option","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")")},o("a",{tabindex:"-1",onClick:function(t){return r(t)},onKeyUp:function(t){return a(t)},class:"option-link","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")"),"aria-hidden":"true"},o(g,{item:e,search:m,selected:c})))};var y='.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);height:0;overflow:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0}.duet-combobox-list.open.sc-duet-combobox{z-index:700;display:block;height:auto;opacity:1}.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-link.sc-duet-combobox{display:block;width:100%}.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.option-link.sc-duet-combobox{display:block;width:100%}.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 _=t("duet_combobox",function(){function t(t){var o=this;i(this,t);this.duetChange=s(this,"duetChange",3);this.resizeObserver=new ResizeObserver(n((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.processedItems=null;this.inputWidth=0;this.inputValue="";this.selectionMsg="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}};this.accessibleLabels=h(this.accessibleLabelDefaults,x());this.theme="";this.force=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,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(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.items=this.processedItems=p(this.items);return[4,this.updateInputText()];case 1:t.sent();return[2]}}))}))};t.prototype.processValue=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){if(this.value){t=this.items.find((function(t){return t.value===o.value}));this.updateSelectedItems(t.id)}return[2]}))}))};t.prototype.processListOpenChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}return[2]}))}))};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){var t=this;this.items=this.processedItems=p(this.items);this.input=this.element.querySelector("duet-input");this.input.addEventListener("duetChange",this.updateInputValue.bind(this));this.input.addEventListener("click",(function(){if(!t.openListOnClick){t.inputValue.length>=t.minCharacters?t.listOpen=true:t.listOpen=false}else{t.listOpen=!t.listOpen}}));this.element.addEventListener("keydown",this.handleInputKeyDownEvent.bind(this));f(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.input.accessibleAutocomplete="list";this.input.accessibleControls="duet-combobox-list-element";this.processListOpenChange()};t.prototype.disconnectedCallback=function(){var t=this;this.input.removeEventListener("duetChange",this.updateInputValue.bind(this));this.input.removeEventListener("click",(function(){return t.inputValue.length?t.listOpen=true:t.listOpen=false}));this.element.removeEventListener("keydown",this.handleInputKeyDownEvent.bind(this));this.listElement.removeEventListener("click",(function(t){t.stopPropagation()}));this.resizeObserver.disconnect();v(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.listElement.addEventListener("click",(function(t){t.stopPropagation()}));this.processValue()};t.prototype.onListClick=function(t,o){t.preventDefault();this.updateSelectedItems(o.id,true);this.listOpen=false;return this.listOpen};t.prototype.shouldListBeFiltered=function(){var t=this;if(this.selectedItems.size&&this.input.value===this.inputValue){var o=this.items.filter((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.updateSelectedItems=function(t,o){return __awaiter(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:this.selectedItems.clear();if(this.selectedItems){if(this.selectedItems.has(t)){this.selectedItems.delete(t)}else{this.selectedItems.add(t)}}if(o){e=this.selectedItems.size===0?[]:this.items.filter((function(t){return i.selectedItems.has(t.id)}));this.duetChange.emit({value:e[0].value,item:e[0],component:"duet-combobox"})}return[4,this.updateInputText()];case 1:s.sent();return[2]}}))}))};t.prototype.updateInputText=function(t,o){if(t===void 0){t=false}if(o===void 0){o=false}return __awaiter(this,void 0,void 0,(function(){var e,i;var s=this;return __generator(this,(function(c){switch(c.label){case 0:e=this.selectedItems.size===0?[]:this.items.filter((function(t){return s.selectedItems.has(t.id)}));if(e.length===0&&this.selectedItems.size>0){this.selectedItems.clear();this.input.value="";this.value=undefined;this.activeItem=undefined}if(!(!o&&this.selectedItems.size===1))return[3,2];this.input.value="";i=this.input;return[4,this.formatItem(e[0])];case 1:i.value=c.sent();this.input.scrollLeft=this.input.scrollWidth;this.activeItem=undefined;this.value=e[0].value;c.label=2;case 2:if(t&&this.selectedItems.size===0){if(this.force){this.inputValue="";this.input.value=""}this.activeItem=undefined}this.listOpen=false;return[2]}}))}))};t.prototype.updateInputValue=function(t){var o;this.inputValue=t.detail.value;this.listOpen=String(this.inputValue).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0};t.prototype.handleInputKeyDownEvent=function(t){this.input.accessibleActiveDescendant=undefined;if(r(t)){t.preventDefault();this.selectActiveItem();this.updateInputText(false);this.listOpen=false;return}if(d(t)||a(t)){this.updateInputText(true);this.listOpen=false;return}var o=this.activeItem;if(m(t)){t.preventDefault();o=this.activeItem-1}else if(l(t)){t.preventDefault();o=this.listOpen?this.activeItem+1:this.activeItem;this.listOpen=true}if(l(t)||m(t)){var e=this.shouldListBeFiltered()?this.getFilteredItems():this.processedItems;if(o<0||!o){o=0}if(o>=e.length){o=e.length-1}this.input.accessibleActiveDescendant="active_item";this.activeItem=o;this.scrollToActive()}this.announceActive();return};t.prototype.selectActiveItem=function(){if(this.activeItem===undefined){return}var t=this.returnFilteredOrNonFiltered();var o=t[this.activeItem];this.updateSelectedItems(o.id,true)};t.prototype.announceActive=function(t){if(!t){t=this.returnFilteredOrNonFiltered()}if(this.activeItem===undefined||this.activeItem===-1){return}var o=t[this.activeItem];this.selectionMsg=structuredClone(this.formatLabel(o,t.length,this.items.length))};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){if(!t||e===undefined){return""}var i=o===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return i.replace("{name}",String(t.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(o)).replace("{hiddenItems}",String(e-o))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,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]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase()))||t.selectedItems.has(o.id)}));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(c,{role:"combobox","aria-expanded":this.listOpen?"true":"false","aria-owns":"duet-combobox-list-element","aria-haspopup":"listbox",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:"duet-combobox-list-element"},i.map((function(t,s){return o(w,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,total:i.length,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,i.length,e.items.length)})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return b(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}());_.style=y}}}));
4
+ */System.register(["./p-95eca09b.system.js","./p-50f4bca2.system.js","./p-41982d26.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,c,b,u,n,r,d,a,m,l,h,x,f,v,p;return{setters:[function(t){o=t.h;e=t.F;i=t.r;s=t.c;c=t.H;b=t.g},function(t){u=t.i},function(t){n=t.d},function(t){r=t.j;d=t.f;a=t.o;m=t.b;l=t.c},function(t){h=t.g;x=t.a;f=t.c;v=t.d},function(t){p=t.p}],execute:function(){var g=function(t){var i=t.item,s=t.search,c=s===void 0?"":s,b=t.selected;var u=c!==""?new RegExp("("+c.split(" ").join("|")+")","gi"):undefined;return o(e,null,b&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),u?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:i.name.replace(u,'<span class="highlight">$&</span>')})):i.name,i.tags&&o("span",{class:"option-tags"},i.tags.join(", ")))};var w=function(t){var e=t.item,i=t.active,s=t.total,c=t.selected,b=t.label,u=b===void 0?undefined:b,n=t.clickHandler,r=n===void 0?function(t){t.preventDefault()}:n,d=t.keyHandler,a=d===void 0?function(t){t.preventDefault()}:d,m=t.search;return o("li",{class:{"list-item":true,option:true,active:i,selected:c},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":c?"true":undefined,role:"option","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")")},o("a",{tabindex:"-1",onClick:function(t){return r(t)},onKeyUp:function(t){return a(t)},class:"option-link","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")"),"aria-hidden":"true"},o(g,{item:e,search:m,selected:c})))};var y='.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);height:0;overflow:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0}.duet-combobox-list.open.sc-duet-combobox{z-index:700;display:block;height:auto;opacity:1}.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-link.sc-duet-combobox{display:block;width:100%}.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.option-link.sc-duet-combobox{display:block;width:100%}.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 _=t("duet_combobox",function(){function t(t){var o=this;i(this,t);this.duetChange=s(this,"duetChange",3);this.resizeObserver=new ResizeObserver(n((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.processedItems=null;this.inputWidth=0;this.inputValue="";this.selectionMsg="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}};this.accessibleLabels=h(this.accessibleLabelDefaults,x());this.theme="";this.force=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,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(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.items=this.processedItems=p(this.items);return[4,this.updateInputText()];case 1:t.sent();return[2]}}))}))};t.prototype.processValue=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){if(this.value){t=this.items.find((function(t){return t.value===o.value}));this.updateSelectedItems(t.id)}return[2]}))}))};t.prototype.processListOpenChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}return[2]}))}))};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){var t=this;this.items=this.processedItems=p(this.items);this.input=this.element.querySelector("duet-input");this.input.addEventListener("duetChange",this.updateInputValue.bind(this));this.input.addEventListener("click",(function(){if(!t.openListOnClick){t.inputValue.length>=t.minCharacters?t.listOpen=true:t.listOpen=false}else{t.listOpen=!t.listOpen}}));this.element.addEventListener("keydown",this.handleInputKeyDownEvent.bind(this));f(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.input.accessibleAutocomplete="list";this.input.accessibleControls="duet-combobox-list-element";this.processListOpenChange()};t.prototype.disconnectedCallback=function(){var t=this;this.input.removeEventListener("duetChange",this.updateInputValue.bind(this));this.input.removeEventListener("click",(function(){return t.inputValue.length?t.listOpen=true:t.listOpen=false}));this.element.removeEventListener("keydown",this.handleInputKeyDownEvent.bind(this));this.listElement.removeEventListener("click",(function(t){t.stopPropagation()}));this.resizeObserver.disconnect();v(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.listElement.addEventListener("click",(function(t){t.stopPropagation()}));this.processValue()};t.prototype.onListClick=function(t,o){t.preventDefault();this.updateSelectedItems(o.id,true);this.listOpen=false;return this.listOpen};t.prototype.shouldListBeFiltered=function(){var t=this;if(this.selectedItems.size&&this.input.value===this.inputValue){var o=this.items.filter((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.updateSelectedItems=function(t,o){return __awaiter(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:this.selectedItems.clear();if(this.selectedItems){if(this.selectedItems.has(t)){this.selectedItems.delete(t)}else{this.selectedItems.add(t)}}if(o){e=this.selectedItems.size===0?[]:this.items.filter((function(t){return i.selectedItems.has(t.id)}));this.duetChange.emit({value:e[0].value,item:e[0],component:"duet-combobox"})}return[4,this.updateInputText()];case 1:s.sent();return[2]}}))}))};t.prototype.updateInputText=function(t,o){if(t===void 0){t=false}if(o===void 0){o=false}return __awaiter(this,void 0,void 0,(function(){var e,i;var s=this;return __generator(this,(function(c){switch(c.label){case 0:e=this.selectedItems.size===0?[]:this.items.filter((function(t){return s.selectedItems.has(t.id)}));if(e.length===0&&this.selectedItems.size>0){this.selectedItems.clear();this.input.value="";this.value=undefined;this.activeItem=undefined}if(!(!o&&this.selectedItems.size===1))return[3,2];this.input.value="";i=this.input;return[4,this.formatItem(e[0])];case 1:i.value=c.sent();this.input.scrollLeft=this.input.scrollWidth;this.activeItem=undefined;this.value=e[0].value;c.label=2;case 2:if(t&&this.selectedItems.size===0){if(this.force){this.inputValue="";this.input.value=""}this.activeItem=undefined}this.listOpen=false;return[2]}}))}))};t.prototype.updateInputValue=function(t){var o;this.inputValue=t.detail.value;this.listOpen=String(this.inputValue).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0};t.prototype.handleInputKeyDownEvent=function(t){this.input.accessibleActiveDescendant=undefined;if(r(t)){t.preventDefault();this.selectActiveItem();this.updateInputText(false);this.listOpen=false;return}if(d(t)||a(t)){this.updateInputText(true);this.listOpen=false;return}var o=this.activeItem;if(m(t)){t.preventDefault();o=this.activeItem-1}else if(l(t)){t.preventDefault();o=this.listOpen?this.activeItem+1:this.activeItem;this.listOpen=true}if(l(t)||m(t)){var e=this.shouldListBeFiltered()?this.getFilteredItems():this.processedItems;if(o<0||!o){o=0}if(o>=e.length){o=e.length-1}this.input.accessibleActiveDescendant="active_item";this.activeItem=o;this.scrollToActive()}this.announceActive();return};t.prototype.selectActiveItem=function(){if(this.activeItem===undefined){return}var t=this.returnFilteredOrNonFiltered();var o=t[this.activeItem];this.updateSelectedItems(o.id,true)};t.prototype.announceActive=function(t){if(!t){t=this.returnFilteredOrNonFiltered()}if(this.activeItem===undefined||this.activeItem===-1){return}var o=t[this.activeItem];this.selectionMsg=structuredClone(this.formatLabel(o,t.length,this.items.length))};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){if(!t||e===undefined){return""}var i=o===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return i.replace("{name}",String(t.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(o)).replace("{hiddenItems}",String(e-o))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,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]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase()))||t.selectedItems.has(o.id)}));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(c,{role:"combobox","aria-expanded":this.listOpen?"true":"false","aria-owns":"duet-combobox-list-element","aria-haspopup":"listbox",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:"duet-combobox-list-element"},i.map((function(t,s){return o(w,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,total:i.length,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,i.length,e.items.length)})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return b(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}());_.style=y}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function s(t){try{u(n.next(t))}catch(t){a(t)}}function o(t){try{u(n["throw"](t))}catch(t){a(t)}}function u(t){t.done?i(t.value):r(t.value).then(s,o)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return u([t,e])}}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,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;r=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];r=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,n,r,a,s,o,u,c,d,l,f;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;a=t.g},function(t){s=t.i},function(t){o=t.c},function(t){u=t.s;c=t.u},function(t){d=t.g;l=t.c;f=t.d},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing: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:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;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;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.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);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}';var b=t("duet_alert",function(){function t(t){var n=this;e(this,t);this.duetDismiss=i(this,"duetDismiss",7);this.descriptiveId=o("DuetAlert");this.handleDismiss=function(t){n.handleHide();n.duetDismiss.emit({component:"duet-alert",originalEvent:t})};this.handleShow=function(){n.isDismissed=false};this.handleHide=function(){n.isDismissed=true};this.theme="";this.isDismissed=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Sulje viesti",sv:"Stäng meddelandet",en:"Close the message"};this.accessibleLabel=d(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.dismissible=false;this.focusable=false}t.prototype.componentWillLoad=function(){s(this)};t.prototype.componentDidLoad=function(){var t=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return t.handleDismiss()}),this.autoDismiss)}};t.prototype.connectedCallback=function(){l(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});u(this)};t.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}f(this);c(this)};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.handleShow();return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.handleHide();return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.alertContainer.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;var i=this.theme==="turva"?"secondary-turva":"secondary";return n(r,{class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},n("div",{class:(t={"duet-alert":true,"duet-alert-has-icon":!!this.icon,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},n("div",{class:"duet-alert-container",ref:function(t){e.alertContainer=t},tabindex:this.focusable?"0":undefined},this.icon&&n("div",{class:"duet-alert-icon"},n("duet-icon",{size:"auto",name:this.icon,color:"currentColor"})),n("span",{id:this.descriptiveId},n("slot",null))),this.dismissible&&n("div",{class:"duet-alert-dismiss"},n("duet-button",{variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:i,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:true}))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());b.style=h}}}));
4
+ */System.register(["./p-95eca09b.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,n,r,a,s,o,u,c,d,l,f;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;a=t.g},function(t){s=t.i},function(t){o=t.c},function(t){u=t.s;c=t.u},function(t){d=t.g;l=t.c;f=t.d},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing: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:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;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;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.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);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}';var b=t("duet_alert",function(){function t(t){var n=this;e(this,t);this.duetDismiss=i(this,"duetDismiss",7);this.descriptiveId=o("DuetAlert");this.handleDismiss=function(t){n.handleHide();n.duetDismiss.emit({component:"duet-alert",originalEvent:t})};this.handleShow=function(){n.isDismissed=false};this.handleHide=function(){n.isDismissed=true};this.theme="";this.isDismissed=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Sulje viesti",sv:"Stäng meddelandet",en:"Close the message"};this.accessibleLabel=d(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.dismissible=false;this.focusable=false}t.prototype.componentWillLoad=function(){s(this)};t.prototype.componentDidLoad=function(){var t=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return t.handleDismiss()}),this.autoDismiss)}};t.prototype.connectedCallback=function(){l(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});u(this)};t.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}f(this);c(this)};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.handleShow();return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.handleHide();return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.alertContainer.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;var i=this.theme==="turva"?"secondary-turva":"secondary";return n(r,{class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},n("div",{class:(t={"duet-alert":true,"duet-alert-has-icon":!!this.icon,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},n("div",{class:"duet-alert-container",ref:function(t){e.alertContainer=t},tabindex:this.focusable?"0":undefined},this.icon&&n("div",{class:"duet-alert-icon"},n("duet-icon",{size:"auto",name:this.icon,color:"currentColor"})),n("span",{id:this.descriptiveId},n("slot",null))),this.dismissible&&n("div",{class:"duet-alert-dismiss"},n("duet-button",{variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:i,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:true}))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());b.style=h}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,i,e,n){function a(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function r(t){try{u(n.next(t))}catch(t){s(t)}}function o(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?e(t.value):a(t.value).then(r,o)}u((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(i){return u([t,i])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(e=0)),e)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;a=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js","./p-9bd338fd.system.js","./p-21774475.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,l,c,d,p,f,g,m,b,v,y,_,w,k,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){l=t.k;c=t.l;d=t.d;p=t.b;f=t.a;g=t.c;m=t.m;b=t.n},function(t){v=t.g;y=t.c;_=t.d},function(t){w=t.p},function(t){k=t.b;x=t.a},function(){}],execute:function(){var S=function(t,i,e){if(t*2>i/e){return false}return true};var j='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var M=t("duet_pagination",function(){function t(t){var n=this;i(this,t);this.duetPageChange=e(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=k.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,i){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(i!==t))return[3,4];e=Math.ceil(t/this.visibleItems)-1;if(!(e!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=e;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,i){var e=Number(i||n.current);n.duetPageChange.emit({component:"duet-pagination",from:e*n.take,to:e*n.take+n.take,current:e,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}};this.accessibleLabels=v(this.accessibleLabelsDefaults);this.take=5;this.visibleItems=5;this.total=1e3;this.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,i){return this.actionChain(t,i)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;_(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=w(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+i}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){i=this.current;if(d(t)||p(t)){i--}if(f(t)||g(t)){i++}if(l(t)){if(i<=this.totalPages){this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t)}}}if(c(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));i=t;if(!i)return[3,2];return[4,t.setFocus()];case 1:i=e.sent();e.label=2;case 2:i;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var i=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=i}this.emitPageEvent(t,i)};t.prototype.selectClickHandler=function(t){t.preventDefault();var i=Number(t.target.value);this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t,i)}};t.prototype.sectionClickHandler=function(t,i){t.preventDefault();var e=this.internalSectionIndex+i;var n=this.take*this.visibleItems;if(e*n>this.total){e=this.internalSectionIndex}var a=e;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var i=this;return n("duet-button",{class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return i.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var i=[];for(var e=1;e<=this.totalPages;e++){i.push({value:e.toString(),label:e.toString()})}var a=n("duet-select",{theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(i),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(i){return t.selectClickHandler(i)}});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var i=this;return n(s,{onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return i.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks),"data-direction":"back",onClick:function(t){return i.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,-1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,null,(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks),class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return i.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());M.style=j;var C="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";var N=t("duet_range_stepper",function(){function t(t){var n=this;i(this,t);this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,i){t.preventDefault();n.stepIndex+=i;n.clampStepIndex();n.handleStepClick(t)};this.theme="";this.stepIndex=1;this.stepSize=50;this.total=1e3;this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}};this.ariaLabels=v(this.ariaLabelsDefaults);this.ariaControls=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};t.prototype.watchStepSizeStateHandler=function(t,i){if(t!==i){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){_(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){i=this.stepIndex;e=1;if(d(t)||p(t)||m(t)){i--;e=-1;this.leftBnRef.setFocus()}if(f(t)||g(t)||b(t)){i++;e=1}if(l(t)){if(i>0&&i*this.stepSize<=this.total){this.handleClick(t,e)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:function(i){return t.handleClick(i,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(i){return t.leftBnRef=i},part:"navigation-arrow",iconName:"action-arrow-left-small"}),n("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:function(i){return t.handleClick(i,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(i){return t.rightBnRef=i},part:"navigation-arrow",iconName:"action-arrow-right-small"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());N.style=C}}}));
4
+ */System.register(["./p-95eca09b.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js","./p-23354cf7.system.js","./p-e1868c94.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,l,c,d,p,f,g,m,b,v,y,_,w,k,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){l=t.k;c=t.l;d=t.d;p=t.b;f=t.a;g=t.c;m=t.m;b=t.n},function(t){v=t.g;y=t.c;_=t.d},function(t){w=t.p},function(t){k=t.b;x=t.a},function(){}],execute:function(){var S=function(t,i,e){if(t*2>i/e){return false}return true};var j='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var M=t("duet_pagination",function(){function t(t){var n=this;i(this,t);this.duetPageChange=e(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=k.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,i){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(i!==t))return[3,4];e=Math.ceil(t/this.visibleItems)-1;if(!(e!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=e;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,i){var e=Number(i||n.current);n.duetPageChange.emit({component:"duet-pagination",from:e*n.take,to:e*n.take+n.take,current:e,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}};this.accessibleLabels=v(this.accessibleLabelsDefaults);this.take=5;this.visibleItems=5;this.total=1e3;this.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,i){return this.actionChain(t,i)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;_(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=w(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+i}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){i=this.current;if(d(t)||p(t)){i--}if(f(t)||g(t)){i++}if(l(t)){if(i<=this.totalPages){this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t)}}}if(c(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));i=t;if(!i)return[3,2];return[4,t.setFocus()];case 1:i=e.sent();e.label=2;case 2:i;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var i=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=i}this.emitPageEvent(t,i)};t.prototype.selectClickHandler=function(t){t.preventDefault();var i=Number(t.target.value);this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t,i)}};t.prototype.sectionClickHandler=function(t,i){t.preventDefault();var e=this.internalSectionIndex+i;var n=this.take*this.visibleItems;if(e*n>this.total){e=this.internalSectionIndex}var a=e;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var i=this;return n("duet-button",{class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return i.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var i=[];for(var e=1;e<=this.totalPages;e++){i.push({value:e.toString(),label:e.toString()})}var a=n("duet-select",{theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(i),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(i){return t.selectClickHandler(i)}});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var i=this;return n(s,{onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return i.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks),"data-direction":"back",onClick:function(t){return i.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,-1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,null,(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks),class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return i.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());M.style=j;var C="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";var N=t("duet_range_stepper",function(){function t(t){var n=this;i(this,t);this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,i){t.preventDefault();n.stepIndex+=i;n.clampStepIndex();n.handleStepClick(t)};this.theme="";this.stepIndex=1;this.stepSize=50;this.total=1e3;this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}};this.ariaLabels=v(this.ariaLabelsDefaults);this.ariaControls=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};t.prototype.watchStepSizeStateHandler=function(t,i){if(t!==i){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){_(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){i=this.stepIndex;e=1;if(d(t)||p(t)||m(t)){i--;e=-1;this.leftBnRef.setFocus()}if(f(t)||g(t)||b(t)){i++;e=1}if(l(t)){if(i>0&&i*this.stepSize<=this.total){this.handleClick(t,e)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:function(i){return t.handleClick(i,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(i){return t.leftBnRef=i},part:"navigation-arrow",iconName:"action-arrow-left-small"}),n("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:function(i){return t.handleClick(i,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(i){return t.rightBnRef=i},part:"navigation-arrow",iconName:"action-arrow-right-small"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());N.style=C}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,o,n,i,a,s,r,u;return{setters:[function(e){t=e.r;o=e.c;n=e.h;i=e.H;a=e.g},function(e){s=e.i},function(e){r=e.s;u=e.u}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var d=e("duet_cookie_consent",function(){function e(e){var n=this;t(this,e);this.duetCookieConsent=o(this,"duetCookieConsent",7);this.handleClick=function(e){e.preventDefault();n.duetCookieConsent.emit({component:"duet-cookie-consent"})};this.accessibleLabel="Hyväksyn evästeiden käytön";this.theme=""}e.prototype.handleFocusIn=function(e){var t=e.composedPath();var o=t[0];if(o!==this.element){this.element.classList.add("descendant-focused")}};e.prototype.handleFocusOut=function(){this.element.classList.remove("descendant-focused")};e.prototype.componentWillLoad=function(){s(this)};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.render=function(){return n(i,{tabindex:"0",class:{"duet-theme-turva":this.theme==="turva"}},n("div",{class:{"duet-cookie-consent":true,"duet-theme-turva":this.theme==="turva"}},n("div",{class:"duet-cookie-consent-content"},n("div",{class:"expand"},n("slot",null)),n("duet-spacer",{size:"large",direction:"horizontal"}),n("div",null,n("duet-button",{variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());d.style=c}}}));
4
+ System.register(["./p-95eca09b.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,o,n,i,a,s,r,u;return{setters:[function(e){t=e.r;o=e.c;n=e.h;i=e.H;a=e.g},function(e){s=e.i},function(e){r=e.s;u=e.u}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var d=e("duet_cookie_consent",function(){function e(e){var n=this;t(this,e);this.duetCookieConsent=o(this,"duetCookieConsent",7);this.handleClick=function(e){e.preventDefault();n.duetCookieConsent.emit({component:"duet-cookie-consent"})};this.accessibleLabel="Hyväksyn evästeiden käytön";this.theme=""}e.prototype.handleFocusIn=function(e){var t=e.composedPath();var o=t[0];if(o!==this.element){this.element.classList.add("descendant-focused")}};e.prototype.handleFocusOut=function(){this.element.classList.remove("descendant-focused")};e.prototype.componentWillLoad=function(){s(this)};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.render=function(){return n(i,{tabindex:"0",class:{"duet-theme-turva":this.theme==="turva"}},n("div",{class:{"duet-cookie-consent":true,"duet-theme-turva":this.theme==="turva"}},n("div",{class:"duet-cookie-consent-content"},n("div",{class:"expand"},n("slot",null)),n("duet-spacer",{size:"large",direction:"horizontal"}),n("div",null,n("duet-button",{variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());d.style=c}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as i,H as n,g as o}from"./p-c45c621f.js";import{a,c as r}from"./p-5e849463.js";import{i as s}from"./p-a58bd561.js";const l=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.mql=[window.matchMedia(a.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,""))],this.boundMqlFunctions=[],this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.changeLogoSize=()=>{this.logoSize=this.mql[1].matches?"large":"medium"},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.theme="",this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.accessibleLabel=void 0}componentWillLoad(){s(this);const e=Array.from(this.element.children);for(const t of e)if("center"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem");else if("right"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem")}connectedCallback(){this.changeLogoSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeLogoSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(n,null,i("nav",{class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo},"aria-label":this.accessibleLabel},i("div",{class:"top"}),i("div",{class:{container:!0},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",null,i("duet-logo",{size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick})),i("div",{class:"list center",role:"list"},i("div",{class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{name:"center"}),i("div",{class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{class:"list right",role:"list"},i("slot",{name:"right"}))),i("div",{class:"bottom"})))}get element(){return o(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;width:100%}.duet-menu-bar{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128)}.duet-theme-turva .right{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)}';export{l as duet_menu_bar}
4
+ import{r as e,c as t,h as i,H as n,g as o}from"./p-52bcdf36.js";import{a,c as r}from"./p-d81ec707.js";import{i as s}from"./p-a58bd561.js";const l=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.mql=[window.matchMedia(a.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,""))],this.boundMqlFunctions=[],this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.changeLogoSize=()=>{this.logoSize=this.mql[1].matches?"large":"medium"},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.theme="",this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.accessibleLabel=void 0}componentWillLoad(){s(this);const e=Array.from(this.element.children);for(const t of e)if("center"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem");else if("right"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem")}connectedCallback(){this.changeLogoSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeLogoSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(n,null,i("nav",{class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo},"aria-label":this.accessibleLabel},i("div",{class:"top"}),i("div",{class:{container:!0},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",null,i("duet-logo",{size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick})),i("div",{class:"list center",role:"list"},i("div",{class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{name:"center"}),i("div",{class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{class:"list right",role:"list"},i("slot",{name:"right"}))),i("div",{class:"bottom"})))}get element(){return o(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;width:100%}.duet-menu-bar{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128)}.duet-theme-turva .right{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)}';export{l as duet_menu_bar}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{s(i.next(e))}catch(e){a(e)}}function d(e){try{s(i["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):o(e.value).then(r,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;o=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1];a=d;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(d);break}if(a[2])n.ops.pop();n.trys.pop();continue}d=t.call(e,n)}catch(e){d=[6,e];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-45a16be3.system.js","./p-50f4bca2.system.js","./p-6ef75455.system.js","./p-9bd338fd.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-d1cedaa1.system.js","./p-224f6c46.system.js","./p-21774475.system.js"],(function(e){"use strict";var t,n,i,o,a,r,d,s,u,h,l,m,p,c,g,f;return{setters:[function(e){t=e.r;n=e.h;i=e.H;o=e.g;a=e.F},function(e){r=e.i},function(e){d=e.s},function(e){s=e.g;u=e.a},function(e){h=e.a},function(e){l=e.a},function(e){m=e.D},function(e){p=e.a;c=e.g;g=e.c;f=e.d},function(){}],execute:function(){var b=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var k=e("duet_caption",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){return n(i,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=b;var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var v=e("duet_heading",function(){function e(e){t(this,e);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=d(this.level);var i=s(this.color);return n(t,{class:(e={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},e[this.visualLevel?this.visualLevel:this.level]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:i},part:"duet-heading"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());v.style=y;var x='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-is-external.duet-link:not(.block){text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-external{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}';var w=e("duet_link",function(){function e(e){t(this,e);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=m;this.accessibleLabelExternal=c(this.accessibleLabelExternalDefaults);this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconResponsive=false;this.padding="auto";this.isSmallScreen=false}e.prototype.componentWillLoad=function(){r(this);this.initMediaQuery()};e.prototype.connectedCallback=function(){g(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){f(this);this.destroyMediaQuery()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeLink.focus(e);return[2]}))}))};e.prototype.initMediaQuery=function(){this.screenTestBound=this.screenTest.bind(this);this.mediaQuery=window.matchMedia(u["xx-small"]);this.isSmallScreen=this.mediaQuery.matches;this.mediaQuery.addEventListener("change",this.screenTestBound)};e.prototype.destroyMediaQuery=function(){if(!this.mediaQuery){return}this.mediaQuery.removeEventListener("change",this.screenTestBound)};e.prototype.screenTest=function(e){this.isSmallScreen=e.matches};e.prototype.getAccessibleLabel=function(){if(this.accessibleLabel){return this.accessibleLabel}if(!this.element.innerHTML){return""}var e=this.element.innerHTML[0].toUpperCase()+this.element.innerHTML.slice(1);return"".concat(e,". ").concat(this.external?"".concat(this.accessibleLabelExternal,"."):"")};e.prototype.renderContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),this.external&&n(a,null,n("span",{class:"duet-link-external"}," ",n("duet-icon",{icon:l.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};e.prototype.renderGrid=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{size:this.iconResponsive?this.isSmallScreen?"medium":"large":"x-small",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:h.svg,size:"x-small",margin:"none",color:"primary-dark"})))};e.prototype.render=function(){var e;var t=this;return n(i,{class:{"duet-link-block":this.variation==="block"}},n("a",{href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-has-icon":!!this.icon,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.external?"_blank":"_self","aria-label":this.getAccessibleLabel(),id:this.identifier,ref:function(e){return t.nativeLink=e},part:"duet-link",rel:this.external?"noopener":undefined},this.variation==="block"?this.renderGrid():this.renderContent()))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());w.style=x;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;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display: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";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 77, 128);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(148, 9, 37)}::slotted(a):active{opacity:0.75;transition:none}';var z=e("duet_paragraph",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=s(this.color);return n("p",{class:(e={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},e[this.variation]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:t},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());z.style=S}}}));
4
+ */System.register(["./p-95eca09b.system.js","./p-50f4bca2.system.js","./p-6ef75455.system.js","./p-23354cf7.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-d1cedaa1.system.js","./p-224f6c46.system.js","./p-e1868c94.system.js"],(function(e){"use strict";var t,n,i,o,a,r,d,s,u,h,l,m,p,c,g,f;return{setters:[function(e){t=e.r;n=e.h;i=e.H;o=e.g;a=e.F},function(e){r=e.i},function(e){d=e.s},function(e){s=e.g;u=e.a},function(e){h=e.a},function(e){l=e.a},function(e){m=e.D},function(e){p=e.a;c=e.g;g=e.c;f=e.d},function(){}],execute:function(){var b=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var k=e("duet_caption",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){return n(i,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=b;var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var v=e("duet_heading",function(){function e(e){t(this,e);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=d(this.level);var i=s(this.color);return n(t,{class:(e={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},e[this.visualLevel?this.visualLevel:this.level]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:i},part:"duet-heading"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());v.style=y;var x='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-is-external.duet-link:not(.block){text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-external{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}';var w=e("duet_link",function(){function e(e){t(this,e);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=m;this.accessibleLabelExternal=c(this.accessibleLabelExternalDefaults);this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconResponsive=false;this.padding="auto";this.isSmallScreen=false}e.prototype.componentWillLoad=function(){r(this);this.initMediaQuery()};e.prototype.connectedCallback=function(){g(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){f(this);this.destroyMediaQuery()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeLink.focus(e);return[2]}))}))};e.prototype.initMediaQuery=function(){this.screenTestBound=this.screenTest.bind(this);this.mediaQuery=window.matchMedia(u["xx-small"]);this.isSmallScreen=this.mediaQuery.matches;this.mediaQuery.addEventListener("change",this.screenTestBound)};e.prototype.destroyMediaQuery=function(){if(!this.mediaQuery){return}this.mediaQuery.removeEventListener("change",this.screenTestBound)};e.prototype.screenTest=function(e){this.isSmallScreen=e.matches};e.prototype.getAccessibleLabel=function(){if(this.accessibleLabel){return this.accessibleLabel}if(!this.element.innerHTML){return""}var e=this.element.innerHTML[0].toUpperCase()+this.element.innerHTML.slice(1);return"".concat(e,". ").concat(this.external?"".concat(this.accessibleLabelExternal,"."):"")};e.prototype.renderContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),this.external&&n(a,null,n("span",{class:"duet-link-external"}," ",n("duet-icon",{icon:l.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};e.prototype.renderGrid=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{size:this.iconResponsive?this.isSmallScreen?"medium":"large":"x-small",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:h.svg,size:"x-small",margin:"none",color:"primary-dark"})))};e.prototype.render=function(){var e;var t=this;return n(i,{class:{"duet-link-block":this.variation==="block"}},n("a",{href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-has-icon":!!this.icon,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.external?"_blank":"_self","aria-label":this.getAccessibleLabel(),id:this.identifier,ref:function(e){return t.nativeLink=e},part:"duet-link",rel:this.external?"noopener":undefined},this.variation==="block"?this.renderGrid():this.renderContent()))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());w.style=x;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;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display: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";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 77, 128);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(148, 9, 37)}::slotted(a):active{opacity:0.75;transition:none}';var z=e("duet_paragraph",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=s(this.color);return n("p",{class:(e={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},e[this.variation]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:t},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());z.style=S}}}));