@duetds/components 9.16.1 → 9.17.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 (668) hide show
  1. package/hydrate/index.js +87 -63
  2. package/lib/cjs/{a11y-utils-113bdcf1.js → a11y-utils-3f03a649.js} +1 -1
  3. package/lib/cjs/{app-globals-2ad7d0da.js → app-globals-ec84cf84.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-alert.cjs.entry.js +5 -5
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -9
  13. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +18 -6
  30. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-hero.cjs.entry.js +12 -9
  32. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  33. package/lib/cjs/duet-indicator.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-input_2.cjs.entry.js +13 -13
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-modal.cjs.entry.js +25 -13
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  45. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  48. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-panel.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
  69. package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  78. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  86. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-b3a3ed44.js → errorcodes.utils-42b43a15.js} +1 -1
  92. package/lib/cjs/{focus-utils-5c4526cd.js → focus-utils-c047d67f.js} +1 -1
  93. package/lib/cjs/{index-caee10a4.js → index-a23bb130.js} +1 -1
  94. package/lib/cjs/{language-utils-9e3aebfc.js → language-utils-ebd2e191.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-d034ca5f.js → slot-utils-628154c1.js} +1 -1
  97. package/lib/cjs/{themeable-component-98732ad8.js → themeable-component-7637c899.js} +1 -1
  98. package/lib/collection/components/duet-alert/duet-alert.css +1 -0
  99. package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
  100. package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
  101. package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
  102. package/lib/collection/components/duet-fieldset/duet-fieldset.js +6 -5
  103. package/lib/collection/components/duet-grid/duet-grid.js +22 -8
  104. package/lib/collection/components/duet-hero/duet-hero.js +8 -5
  105. package/lib/collection/components/duet-input/duet-input.css +7 -0
  106. package/lib/collection/components/duet-input/duet-input.js +19 -34
  107. package/lib/collection/components/duet-link/duet-link.css +6 -0
  108. package/lib/collection/components/duet-modal/duet-modal.js +20 -8
  109. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  110. package/lib/collection/components/duet-number-input/duet-number-input.js +1 -1
  111. package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -0
  112. package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -2
  113. package/lib/collection/components/duet-phone-input/duet-phone-input.js +1 -1
  114. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  115. package/lib/collection/components/duet-select/duet-select.js +1 -1
  116. package/lib/collection/components/duet-table/duet-table.css +1 -0
  117. package/lib/collection/components/duet-textarea/duet-textarea.js +1 -1
  118. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  119. package/lib/dist-custom-elements/duet-alert.js +1 -1
  120. package/lib/dist-custom-elements/duet-badge.js +1 -1
  121. package/lib/dist-custom-elements/duet-banner.js +3 -3
  122. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  123. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  124. package/lib/dist-custom-elements/duet-button.js +1 -1
  125. package/lib/dist-custom-elements/duet-callout.js +2 -2
  126. package/lib/dist-custom-elements/duet-caption.js +1 -1
  127. package/lib/dist-custom-elements/duet-card.js +3 -3
  128. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  129. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  130. package/lib/dist-custom-elements/duet-chip.js +1 -1
  131. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  132. package/lib/dist-custom-elements/duet-choice.js +4 -4
  133. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  134. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  135. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  136. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  137. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  138. package/lib/dist-custom-elements/duet-divider.js +1 -1
  139. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  140. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  141. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  142. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  143. package/lib/dist-custom-elements/duet-footer.js +7 -7
  144. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  145. package/lib/dist-custom-elements/duet-grid.js +1 -1
  146. package/lib/dist-custom-elements/duet-header.js +8 -8
  147. package/lib/dist-custom-elements/duet-heading.js +1 -1
  148. package/lib/dist-custom-elements/duet-hero.js +17 -14
  149. package/lib/dist-custom-elements/duet-icon.js +1 -1
  150. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  151. package/lib/dist-custom-elements/duet-input.js +1 -1
  152. package/lib/dist-custom-elements/duet-label.js +1 -1
  153. package/lib/dist-custom-elements/duet-layout.js +1 -1
  154. package/lib/dist-custom-elements/duet-link.js +1 -1
  155. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  156. package/lib/dist-custom-elements/duet-list.js +1 -1
  157. package/lib/dist-custom-elements/duet-logo.js +1 -1
  158. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  159. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  160. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  161. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  162. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  163. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  164. package/lib/dist-custom-elements/duet-modal.js +28 -16
  165. package/lib/dist-custom-elements/duet-multiselect.js +15 -15
  166. package/lib/dist-custom-elements/duet-nav.js +1 -1
  167. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  168. package/lib/dist-custom-elements/duet-notification.js +3 -3
  169. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  170. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  171. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  172. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  173. package/lib/dist-custom-elements/duet-panel.js +1 -1
  174. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  175. package/lib/dist-custom-elements/duet-phone-input.js +17 -17
  176. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  177. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  178. package/lib/dist-custom-elements/duet-progress.js +1 -1
  179. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  180. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  181. package/lib/dist-custom-elements/duet-radio.js +1 -1
  182. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  183. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  184. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  185. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  186. package/lib/dist-custom-elements/duet-select.js +1 -1
  187. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  188. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  189. package/lib/dist-custom-elements/duet-share-chart.js +2 -2
  190. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  191. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  192. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  193. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  194. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  195. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  196. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  197. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  198. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  199. package/lib/dist-custom-elements/duet-step.js +4 -4
  200. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  201. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  202. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  203. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  204. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  205. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  206. package/lib/dist-custom-elements/duet-tab-group.js +8 -8
  207. package/lib/dist-custom-elements/duet-tab.js +1 -1
  208. package/lib/dist-custom-elements/duet-table.js +1 -1
  209. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  210. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  211. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  212. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  213. package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
  214. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  215. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  216. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  217. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  218. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  219. package/lib/dist-custom-elements/duet-tray.js +3 -3
  220. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  221. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  222. package/lib/dist-custom-elements/duet-upload.js +20 -20
  223. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  224. package/lib/dist-custom-elements/index.js +1 -1
  225. package/lib/dist-custom-elements/{p-051e8432.js → p-04b7c053.js} +1 -1
  226. package/lib/dist-custom-elements/{p-5fac1036.js → p-16e2a02e.js} +1 -1
  227. package/lib/dist-custom-elements/{p-4f0b365b.js → p-197ff38c.js} +1 -1
  228. package/lib/dist-custom-elements/{p-211bbab4.js → p-24702026.js} +1 -1
  229. package/lib/dist-custom-elements/{p-8284b970.js → p-314fe903.js} +3 -3
  230. package/lib/dist-custom-elements/{p-979b130b.js → p-3875b690.js} +5 -5
  231. package/lib/dist-custom-elements/{p-45a25e1c.js → p-3fe34e20.js} +1 -1
  232. package/lib/dist-custom-elements/{p-90ef4cdf.js → p-4019d212.js} +19 -6
  233. package/lib/dist-custom-elements/{p-afa85350.js → p-414a9cf3.js} +5 -5
  234. package/lib/dist-custom-elements/{p-e167506b.js → p-474d3bfc.js} +1 -1
  235. package/lib/dist-custom-elements/{p-60827675.js → p-495059d2.js} +2 -2
  236. package/lib/dist-custom-elements/{p-186bf66e.js → p-5251b6f3.js} +2 -2
  237. package/lib/dist-custom-elements/{p-01808ae4.js → p-54c30917.js} +1 -1
  238. package/lib/dist-custom-elements/{p-fa3ebc1e.js → p-5e60533d.js} +1 -1
  239. package/lib/dist-custom-elements/{p-84c12085.js → p-5fa530e0.js} +2 -2
  240. package/lib/dist-custom-elements/{p-8e5437bd.js → p-6a3c8021.js} +2 -2
  241. package/lib/dist-custom-elements/{p-07aea296.js → p-7500a672.js} +4 -4
  242. package/lib/dist-custom-elements/{p-4228d649.js → p-7937b6b8.js} +7 -7
  243. package/lib/dist-custom-elements/{p-4c39b06e.js → p-7b1d0747.js} +3 -3
  244. package/lib/dist-custom-elements/{p-68221361.js → p-80451d58.js} +9 -9
  245. package/lib/dist-custom-elements/{p-5bf73913.js → p-858e92f7.js} +2 -2
  246. package/lib/dist-custom-elements/p-96c4a294.js +148 -0
  247. package/lib/dist-custom-elements/{p-8aa9471e.js → p-9ffaf6b5.js} +10 -10
  248. package/lib/dist-custom-elements/{p-d723c019.js → p-a0a4aa34.js} +2 -2
  249. package/lib/dist-custom-elements/{p-e3b560d3.js → p-a1e9e10b.js} +3 -3
  250. package/lib/dist-custom-elements/{p-1be25f37.js → p-a1ec8b34.js} +1 -1
  251. package/lib/dist-custom-elements/{p-21425713.js → p-a69b6577.js} +1 -1
  252. package/lib/dist-custom-elements/{p-2c95a055.js → p-a6e34cfd.js} +6 -4
  253. package/lib/dist-custom-elements/{p-2c6c022f.js → p-a81fd33c.js} +1 -1
  254. package/lib/dist-custom-elements/{p-57091005.js → p-a92010cb.js} +12 -12
  255. package/lib/dist-custom-elements/{p-cbb101aa.js → p-ad548c39.js} +1 -1
  256. package/lib/dist-custom-elements/{p-747f6fa4.js → p-b0f1b267.js} +1 -1
  257. package/lib/dist-custom-elements/{p-07d58c18.js → p-b2b8bd32.js} +8 -8
  258. package/lib/dist-custom-elements/{p-09eeb0d8.js → p-b678c2ea.js} +5 -5
  259. package/lib/dist-custom-elements/{p-c5dcc0ea.js → p-bf4a60a5.js} +1 -1
  260. package/lib/dist-custom-elements/{p-63bad120.js → p-e2596bcf.js} +2 -2
  261. package/lib/dist-custom-elements/{p-5a556f9a.js → p-e772674e.js} +2 -2
  262. package/lib/dist-custom-elements/{p-897cd468.js → p-ec992e6a.js} +2 -2
  263. package/lib/dist-custom-elements/{p-1428bca8.js → p-f1ad635a.js} +1 -1
  264. package/lib/dist-custom-elements/{p-1c3b7df5.js → p-f90dc0c0.js} +20 -20
  265. package/lib/dist-custom-elements/{p-f8c458d0.js → p-fedfd826.js} +2 -2
  266. package/lib/duet/duet.esm.js +1 -1
  267. package/lib/duet/duet.js +1 -1
  268. package/lib/duet/{p-6bb80546.system.entry.js → p-008bb91e.system.entry.js} +1 -1
  269. package/lib/duet/p-0438375f.entry.js +4 -0
  270. package/lib/duet/p-049c988c.entry.js +4 -0
  271. package/lib/duet/{p-6bc99ba8.entry.js → p-04d95150.entry.js} +1 -1
  272. package/lib/duet/{p-5a623866.system.entry.js → p-05ca0ad3.system.entry.js} +1 -1
  273. package/lib/duet/{p-69a8abac.system.entry.js → p-05cdcf47.system.entry.js} +1 -1
  274. package/lib/duet/{p-73508ab7.entry.js → p-061ef483.entry.js} +1 -1
  275. package/lib/duet/{p-907af7da.system.entry.js → p-06359695.system.entry.js} +1 -1
  276. package/lib/duet/{p-aeb3d682.system.entry.js → p-0b80b34f.system.entry.js} +1 -1
  277. package/lib/duet/{p-1f082e57.system.entry.js → p-0fa600fe.system.entry.js} +1 -1
  278. package/lib/duet/{p-1971f9b0.system.entry.js → p-0ff69fd9.system.entry.js} +1 -1
  279. package/lib/duet/{p-c797a3e6.entry.js → p-1070bd45.entry.js} +1 -1
  280. package/lib/duet/{p-4594e530.entry.js → p-19b6319d.entry.js} +1 -1
  281. package/lib/duet/{p-7f2855e9.entry.js → p-1adddd5f.entry.js} +1 -1
  282. package/lib/duet/p-1c37974e.entry.js +4 -0
  283. package/lib/duet/{p-9012c4d7.system.entry.js → p-1cd1ae13.system.entry.js} +1 -1
  284. package/lib/duet/{p-b58e595a.system.entry.js → p-1d003050.system.entry.js} +1 -1
  285. package/lib/duet/{p-6592e02c.system.js → p-1f4fc545.system.js} +1 -1
  286. package/lib/duet/{p-dde34236.entry.js → p-1f9e01ca.entry.js} +1 -1
  287. package/lib/duet/{p-e19b45d6.system.entry.js → p-212cdff6.system.entry.js} +1 -1
  288. package/lib/duet/{p-1060aa25.entry.js → p-23e07f62.entry.js} +1 -1
  289. package/lib/duet/{p-a966bbcf.system.js → p-2436f107.system.js} +1 -1
  290. package/lib/duet/{p-03b5f65a.entry.js → p-2437fb8b.entry.js} +1 -1
  291. package/lib/duet/{p-480ed6f7.entry.js → p-273b65d0.entry.js} +1 -1
  292. package/lib/duet/{p-364526bf.system.entry.js → p-29076935.system.entry.js} +1 -1
  293. package/lib/duet/{p-eb01f00b.system.entry.js → p-293e9e27.system.entry.js} +1 -1
  294. package/lib/duet/{p-7397dd4f.system.entry.js → p-29d51b92.system.entry.js} +1 -1
  295. package/lib/duet/{p-6b371ce8.system.entry.js → p-2d1690fa.system.entry.js} +1 -1
  296. package/lib/duet/{p-578b1556.entry.js → p-2e8124ec.entry.js} +1 -1
  297. package/lib/duet/{p-58b1748d.entry.js → p-2fa5de89.entry.js} +1 -1
  298. package/lib/duet/{p-28ac2fa8.entry.js → p-3294a767.entry.js} +1 -1
  299. package/lib/duet/{p-c27dc664.system.entry.js → p-33700431.system.entry.js} +1 -1
  300. package/lib/duet/{p-6b02af30.entry.js → p-3476ee3c.entry.js} +1 -1
  301. package/lib/duet/{p-91ab1514.entry.js → p-39754220.entry.js} +1 -1
  302. package/lib/duet/{p-4452e6e8.entry.js → p-3a36c86a.entry.js} +1 -1
  303. package/lib/duet/{p-c97d9b65.entry.js → p-3cff3d41.entry.js} +1 -1
  304. package/lib/duet/{p-1b7c7390.entry.js → p-3dc9bee2.entry.js} +1 -1
  305. package/lib/duet/{p-7132e6b1.system.js → p-3f42d7b1.system.js} +1 -1
  306. package/lib/duet/{p-ddc0706b.system.entry.js → p-410c86aa.system.entry.js} +1 -1
  307. package/lib/duet/{p-89636372.entry.js → p-42d40a3c.entry.js} +1 -1
  308. package/lib/duet/{p-23486542.system.entry.js → p-443ac457.system.entry.js} +1 -1
  309. package/lib/duet/{p-2cf70fac.system.entry.js → p-46183ffe.system.entry.js} +1 -1
  310. package/lib/duet/{p-e73a7c54.system.entry.js → p-47d5e1ce.system.entry.js} +1 -1
  311. package/lib/duet/{p-7732213d.entry.js → p-493aa637.entry.js} +1 -1
  312. package/lib/duet/{p-1d2cadcc.entry.js → p-496f50a3.entry.js} +1 -1
  313. package/lib/duet/{p-1e6bf17e.system.entry.js → p-4b6044f0.system.entry.js} +1 -1
  314. package/lib/duet/{p-f208d55c.entry.js → p-4bb73342.entry.js} +1 -1
  315. package/lib/duet/{p-354763bd.entry.js → p-4d453e20.entry.js} +1 -1
  316. package/lib/duet/p-4da157c6.entry.js +4 -0
  317. package/lib/duet/{p-746cc1a2.system.entry.js → p-52284920.system.entry.js} +1 -1
  318. package/lib/duet/{p-dc172d1c.entry.js → p-537a1070.entry.js} +1 -1
  319. package/lib/duet/{p-08f35dcb.js → p-53e6e1da.js} +1 -1
  320. package/lib/duet/{p-baaac8e6.system.entry.js → p-55666326.system.entry.js} +1 -1
  321. package/lib/duet/{p-ace83b4d.system.js → p-56774ba4.system.js} +1 -1
  322. package/lib/duet/{p-49d3f1f8.system.entry.js → p-56c98bbe.system.entry.js} +1 -1
  323. package/lib/duet/{p-bfaf639a.system.entry.js → p-57184a72.system.entry.js} +1 -1
  324. package/lib/duet/{p-34b57104.system.entry.js → p-577ef99d.system.entry.js} +1 -1
  325. package/lib/duet/{p-7b28d664.entry.js → p-57e79e5a.entry.js} +1 -1
  326. package/lib/duet/{p-147a0d89.entry.js → p-581391e8.entry.js} +1 -1
  327. package/lib/duet/{p-935bb380.system.entry.js → p-58deab8e.system.entry.js} +1 -1
  328. package/lib/duet/{p-24c27df5.system.entry.js → p-5b1d7d11.system.entry.js} +1 -1
  329. package/lib/duet/{p-37687656.entry.js → p-5bbfd1f3.entry.js} +1 -1
  330. package/lib/duet/{p-d8739243.system.entry.js → p-5f76cca6.system.entry.js} +1 -1
  331. package/lib/duet/{p-3420a2e4.entry.js → p-60e0b1b3.entry.js} +1 -1
  332. package/lib/duet/{p-a331720c.system.entry.js → p-62f62a4e.system.entry.js} +1 -1
  333. package/lib/duet/{p-e39afbb1.entry.js → p-64fff9d4.entry.js} +1 -1
  334. package/lib/duet/{p-5cbbad67.entry.js → p-65282a91.entry.js} +1 -1
  335. package/lib/duet/{p-da7ff7a2.entry.js → p-65b5d699.entry.js} +1 -1
  336. package/lib/duet/{p-440018ce.system.entry.js → p-663ffd9a.system.entry.js} +1 -1
  337. package/lib/duet/{p-fe6123a8.entry.js → p-67c1b790.entry.js} +1 -1
  338. package/lib/duet/{p-ccdecd17.entry.js → p-67c57029.entry.js} +1 -1
  339. package/lib/duet/p-68b8d3a7.entry.js +4 -0
  340. package/lib/duet/{p-dfb4edcc.system.entry.js → p-68ec675c.system.entry.js} +1 -1
  341. package/lib/duet/{p-106cd6ab.js → p-68fea15e.js} +1 -1
  342. package/lib/duet/{p-ed4b8ef4.system.entry.js → p-6a768ba8.system.entry.js} +1 -1
  343. package/lib/duet/p-6af320c5.system.entry.js +4 -0
  344. package/lib/duet/{p-0fec0e03.system.entry.js → p-6e179c6b.system.entry.js} +1 -1
  345. package/lib/duet/{p-eb19b715.system.entry.js → p-700d90be.system.entry.js} +1 -1
  346. package/lib/duet/{p-abe3827d.entry.js → p-718db92a.entry.js} +1 -1
  347. package/lib/duet/p-74a09baf.system.entry.js +4 -0
  348. package/lib/duet/{p-8fb46b02.system.js → p-76503ac9.system.js} +1 -1
  349. package/lib/duet/{p-5af19c0d.entry.js → p-76fa145c.entry.js} +1 -1
  350. package/lib/duet/{p-36b45ca1.entry.js → p-79f4d63d.entry.js} +1 -1
  351. package/lib/duet/{p-684278ce.system.entry.js → p-7a4605fd.system.entry.js} +1 -1
  352. package/lib/duet/{p-9a68836b.entry.js → p-7a9e70bd.entry.js} +1 -1
  353. package/lib/duet/p-7ae725cf.system.js +4 -0
  354. package/lib/duet/{p-39cd22a6.system.entry.js → p-7c11a214.system.entry.js} +1 -1
  355. package/lib/duet/{p-f92ce1f9.js → p-7ea0d841.js} +1 -1
  356. package/lib/duet/{p-d93881ea.entry.js → p-7fb3b41a.entry.js} +1 -1
  357. package/lib/duet/{p-9a6959da.entry.js → p-823df6f8.entry.js} +1 -1
  358. package/lib/duet/{p-745b87a1.system.entry.js → p-847984b4.system.entry.js} +1 -1
  359. package/lib/duet/{p-118dae54.entry.js → p-8480c4ef.entry.js} +1 -1
  360. package/lib/duet/{p-9ac8d40d.system.entry.js → p-85e2b80d.system.entry.js} +1 -1
  361. package/lib/duet/{p-36a29933.js → p-8642fde1.js} +1 -1
  362. package/lib/duet/{p-8283b6dc.system.entry.js → p-86482d30.system.entry.js} +1 -1
  363. package/lib/duet/{p-8d42cd8e.entry.js → p-8668b568.entry.js} +1 -1
  364. package/lib/duet/{p-d433e813.system.entry.js → p-87097e7a.system.entry.js} +1 -1
  365. package/lib/duet/{p-feaa9ad0.entry.js → p-876e3c63.entry.js} +1 -1
  366. package/lib/duet/{p-ad14a7bb.entry.js → p-88cf5661.entry.js} +1 -1
  367. package/lib/duet/{p-eb817c52.entry.js → p-899d6d41.entry.js} +1 -1
  368. package/lib/duet/{p-3c7cc108.entry.js → p-8ab631e7.entry.js} +1 -1
  369. package/lib/duet/p-8ab69ada.entry.js +4 -0
  370. package/lib/duet/p-8e2ffeb6.system.entry.js +4 -0
  371. package/lib/duet/{p-990cd307.system.entry.js → p-9117cb65.system.entry.js} +1 -1
  372. package/lib/duet/{p-dc332043.entry.js → p-9468eb9d.entry.js} +1 -1
  373. package/lib/duet/{p-03b9211c.system.entry.js → p-94b4498f.system.entry.js} +1 -1
  374. package/lib/duet/{p-66663bdd.entry.js → p-95193904.entry.js} +1 -1
  375. package/lib/duet/{p-021c152c.system.entry.js → p-97374309.system.entry.js} +1 -1
  376. package/lib/duet/{p-c51a586e.system.entry.js → p-9b4645ac.system.entry.js} +1 -1
  377. package/lib/duet/{p-0b275971.entry.js → p-9d8190ef.entry.js} +1 -1
  378. package/lib/duet/{p-a607febe.system.entry.js → p-a0b4a7c0.system.entry.js} +1 -1
  379. package/lib/duet/{p-f3d5cc54.system.entry.js → p-a270142b.system.entry.js} +1 -1
  380. package/lib/duet/{p-fa69c713.system.entry.js → p-a2b06e6c.system.entry.js} +1 -1
  381. package/lib/duet/{p-6fb94ef4.system.entry.js → p-a3e95ce2.system.entry.js} +1 -1
  382. package/lib/duet/{p-2bbc034f.system.entry.js → p-a40be7c9.system.entry.js} +1 -1
  383. package/lib/duet/{p-17e9f5f2.entry.js → p-a5997dea.entry.js} +1 -1
  384. package/lib/duet/{p-f033bc52.system.js → p-a5ddcabc.system.js} +1 -1
  385. package/lib/duet/{p-0c012ed1.entry.js → p-a65df70c.entry.js} +1 -1
  386. package/lib/duet/{p-666775c7.system.entry.js → p-a6944360.system.entry.js} +1 -1
  387. package/lib/duet/{p-46ac8eb2.entry.js → p-a9c973e2.entry.js} +1 -1
  388. package/lib/duet/{p-5be1c8ca.system.entry.js → p-ad04b6d1.system.entry.js} +1 -1
  389. package/lib/duet/{p-750e4ab4.entry.js → p-ae7b2ff0.entry.js} +1 -1
  390. package/lib/duet/{p-29f97ffb.entry.js → p-ae898815.entry.js} +1 -1
  391. package/lib/duet/{p-2c164336.entry.js → p-b0d6f6da.entry.js} +1 -1
  392. package/lib/duet/{p-9a099e32.entry.js → p-b28604f2.entry.js} +1 -1
  393. package/lib/duet/{p-880bccc7.entry.js → p-b348dd23.entry.js} +1 -1
  394. package/lib/duet/p-b4bdd169.entry.js +4 -0
  395. package/lib/duet/p-b4ffb80d.js +4 -0
  396. package/lib/duet/{p-f7f0b74f.entry.js → p-b62b157d.entry.js} +1 -1
  397. package/lib/duet/{p-ad6ccb39.js → p-b81c80d4.js} +1 -1
  398. package/lib/duet/{p-a7442f4e.system.entry.js → p-badd028d.system.entry.js} +1 -1
  399. package/lib/duet/{p-c1a87168.entry.js → p-bb69d7c1.entry.js} +1 -1
  400. package/lib/duet/{p-f57a788d.system.entry.js → p-bd89ee4c.system.entry.js} +1 -1
  401. package/lib/duet/{p-a28a52b8.system.entry.js → p-bf2ef446.system.entry.js} +1 -1
  402. package/lib/duet/{p-6e575dd4.system.entry.js → p-c01ab555.system.entry.js} +1 -1
  403. package/lib/duet/{p-b23fd2cf.system.entry.js → p-c185128e.system.entry.js} +1 -1
  404. package/lib/duet/{p-de531c22.system.entry.js → p-c1b0c2d9.system.entry.js} +1 -1
  405. package/lib/duet/{p-e2f6279e.entry.js → p-c2a4fdd4.entry.js} +1 -1
  406. package/lib/duet/{p-23601b3e.system.entry.js → p-c34f89af.system.entry.js} +1 -1
  407. package/lib/duet/{p-a19e945f.entry.js → p-c6b55245.entry.js} +1 -1
  408. package/lib/duet/{p-63045d0e.js → p-c6d073be.js} +1 -1
  409. package/lib/duet/{p-7089e938.system.entry.js → p-c843e862.system.entry.js} +1 -1
  410. package/lib/duet/{p-8fbb5ff5.entry.js → p-c97abf64.entry.js} +1 -1
  411. package/lib/duet/{p-b25490a8.js → p-ca32f459.js} +1 -1
  412. package/lib/duet/{p-48049d11.system.entry.js → p-caa37dc7.system.entry.js} +1 -1
  413. package/lib/duet/{p-dbe48d3c.entry.js → p-cbf98d67.entry.js} +1 -1
  414. package/lib/duet/{p-393f3d40.system.entry.js → p-cd1744f2.system.entry.js} +1 -1
  415. package/lib/duet/{p-3ba94b3e.entry.js → p-ceb58878.entry.js} +1 -1
  416. package/lib/duet/{p-2144ed7e.entry.js → p-cfa5ca24.entry.js} +1 -1
  417. package/lib/duet/{p-5db55c55.system.entry.js → p-d191efda.system.entry.js} +1 -1
  418. package/lib/duet/{p-f00388be.system.entry.js → p-d2e4bd07.system.entry.js} +1 -1
  419. package/lib/duet/p-d384c9b0.entry.js +4 -0
  420. package/lib/duet/{p-e2373985.system.entry.js → p-d5ddd427.system.entry.js} +2 -2
  421. package/lib/duet/{p-1066dc94.entry.js → p-da1d7e82.entry.js} +1 -1
  422. package/lib/duet/{p-65dac1a2.entry.js → p-dbb01db7.entry.js} +1 -1
  423. package/lib/duet/{p-ff6049c7.system.entry.js → p-dc330b8c.system.entry.js} +1 -1
  424. package/lib/duet/{p-219cd158.entry.js → p-dcd63244.entry.js} +1 -1
  425. package/lib/duet/{p-db398834.system.js → p-ddf20691.system.js} +1 -1
  426. package/lib/duet/{p-808c5e03.system.entry.js → p-ddf7a3ca.system.entry.js} +1 -1
  427. package/lib/duet/{p-60672e19.entry.js → p-dfe1b2d2.entry.js} +1 -1
  428. package/lib/duet/{p-3c3bc9fb.system.entry.js → p-e080806b.system.entry.js} +1 -1
  429. package/lib/duet/{p-63b3eff1.entry.js → p-e14eece2.entry.js} +1 -1
  430. package/lib/duet/{p-430c421b.system.entry.js → p-e177046c.system.entry.js} +1 -1
  431. package/lib/duet/{p-89363c87.system.entry.js → p-e1d27084.system.entry.js} +1 -1
  432. package/lib/duet/{p-6950f757.system.entry.js → p-e3656611.system.entry.js} +1 -1
  433. package/lib/duet/{p-00b27ded.entry.js → p-e3752ac5.entry.js} +1 -1
  434. package/lib/duet/{p-55ed83fd.entry.js → p-e3c246cb.entry.js} +1 -1
  435. package/lib/duet/{p-08b08728.entry.js → p-e58784e3.entry.js} +1 -1
  436. package/lib/duet/{p-01f6825e.system.entry.js → p-e5f8e365.system.entry.js} +1 -1
  437. package/lib/duet/{p-236aec93.entry.js → p-e94c7242.entry.js} +1 -1
  438. package/lib/duet/{p-2747b44c.system.entry.js → p-e9a0f29e.system.entry.js} +1 -1
  439. package/lib/duet/{p-17db9cab.system.entry.js → p-ebe1da5f.system.entry.js} +1 -1
  440. package/lib/duet/{p-2063c660.system.entry.js → p-ed759aeb.system.entry.js} +1 -1
  441. package/lib/duet/{p-d7d5874f.system.entry.js → p-ef853142.system.entry.js} +1 -1
  442. package/lib/duet/{p-57941503.system.js → p-f183abd6.system.js} +1 -1
  443. package/lib/duet/{p-1bb0af1a.entry.js → p-f55a48a1.entry.js} +1 -1
  444. package/lib/duet/{p-b09cf28d.system.entry.js → p-f6711efe.system.entry.js} +2 -2
  445. package/lib/duet/{p-43e7ee1b.system.entry.js → p-f6b920dd.system.entry.js} +1 -1
  446. package/lib/duet/{p-90448156.system.entry.js → p-f6d7404f.system.entry.js} +1 -1
  447. package/lib/duet/{p-accae6ec.entry.js → p-f6efded0.entry.js} +1 -1
  448. package/lib/duet/{p-632bb443.entry.js → p-f6f1463b.entry.js} +1 -1
  449. package/lib/duet/{p-8810586f.system.entry.js → p-fa1176a3.system.entry.js} +1 -1
  450. package/lib/duet/{p-8fa26acd.system.entry.js → p-fa24fae9.system.entry.js} +1 -1
  451. package/lib/duet/{p-6f2c6bff.entry.js → p-fa2f610d.entry.js} +1 -1
  452. package/lib/duet/{p-eaf7a202.system.entry.js → p-fb26ac12.system.entry.js} +1 -1
  453. package/lib/duet/{p-6f05d7e7.entry.js → p-fd806af2.entry.js} +1 -1
  454. package/lib/duet/{p-1e5c76d7.system.entry.js → p-fdf201cd.system.entry.js} +1 -1
  455. package/lib/duet/{p-56d797a7.system.entry.js → p-fe781761.system.entry.js} +1 -1
  456. package/lib/duet/{p-032230dd.entry.js → p-ff8570f9.entry.js} +1 -1
  457. package/lib/esm/{a11y-utils-fcabbbe4.js → a11y-utils-477acfdc.js} +1 -1
  458. package/lib/esm/{app-globals-df3febf1.js → app-globals-fbabb161.js} +1 -1
  459. package/lib/esm/duet-action-button.entry.js +3 -3
  460. package/lib/esm/duet-alert.entry.js +5 -5
  461. package/lib/esm/duet-badge.entry.js +3 -3
  462. package/lib/esm/duet-banner.entry.js +3 -3
  463. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  464. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  465. package/lib/esm/duet-button_2.entry.js +3 -3
  466. package/lib/esm/duet-callout.entry.js +3 -3
  467. package/lib/esm/duet-caption_4.entry.js +11 -9
  468. package/lib/esm/duet-card.entry.js +3 -3
  469. package/lib/esm/duet-checkbox.entry.js +2 -2
  470. package/lib/esm/duet-checkmark.entry.js +2 -2
  471. package/lib/esm/duet-chip.entry.js +3 -3
  472. package/lib/esm/duet-choice_2.entry.js +4 -4
  473. package/lib/esm/duet-collapsible.entry.js +3 -3
  474. package/lib/esm/duet-combobox.entry.js +4 -4
  475. package/lib/esm/duet-contact-card.entry.js +3 -3
  476. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  477. package/lib/esm/duet-date-picker.entry.js +5 -5
  478. package/lib/esm/duet-divider_2.entry.js +2 -2
  479. package/lib/esm/duet-editable-table_3.entry.js +5 -5
  480. package/lib/esm/duet-empty-state.entry.js +2 -2
  481. package/lib/esm/duet-fieldset.entry.js +7 -7
  482. package/lib/esm/duet-file-chooser.entry.js +2 -2
  483. package/lib/esm/duet-footer.entry.js +4 -4
  484. package/lib/esm/duet-grid_2.entry.js +18 -6
  485. package/lib/esm/duet-header_2.entry.js +3 -3
  486. package/lib/esm/duet-hero.entry.js +12 -9
  487. package/lib/esm/duet-icon.entry.js +2 -2
  488. package/lib/esm/duet-indicator.entry.js +2 -2
  489. package/lib/esm/duet-input_2.entry.js +13 -13
  490. package/lib/esm/duet-layout.entry.js +2 -2
  491. package/lib/esm/duet-list_2.entry.js +2 -2
  492. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  493. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  494. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  495. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  496. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  497. package/lib/esm/duet-menu-bar.entry.js +3 -3
  498. package/lib/esm/duet-modal.entry.js +25 -13
  499. package/lib/esm/duet-multiselect.entry.js +9 -9
  500. package/lib/esm/duet-nav.entry.js +2 -2
  501. package/lib/esm/duet-notification_2.entry.js +3 -3
  502. package/lib/esm/duet-number-input.entry.js +4 -4
  503. package/lib/esm/duet-overlay.entry.js +2 -2
  504. package/lib/esm/duet-page-heading.entry.js +2 -2
  505. package/lib/esm/duet-pagination_2.entry.js +3 -3
  506. package/lib/esm/duet-panel.entry.js +2 -2
  507. package/lib/esm/duet-phone-input.entry.js +4 -4
  508. package/lib/esm/duet-popup-menu_2.entry.js +4 -4
  509. package/lib/esm/duet-progress.entry.js +3 -3
  510. package/lib/esm/duet-promo-card.entry.js +3 -3
  511. package/lib/esm/duet-radio_2.entry.js +3 -3
  512. package/lib/esm/duet-range-slider.entry.js +2 -2
  513. package/lib/esm/duet-scrollable_3.entry.js +4 -4
  514. package/lib/esm/duet-section-layout.entry.js +1 -1
  515. package/lib/esm/duet-select.entry.js +3 -3
  516. package/lib/esm/duet-shaped-image.entry.js +2 -2
  517. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  518. package/lib/esm/duet-share-chart.entry.js +4 -4
  519. package/lib/esm/duet-show-more.entry.js +3 -3
  520. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  521. package/lib/esm/duet-slideout-link.entry.js +5 -5
  522. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  523. package/lib/esm/duet-slideout-panel.entry.js +5 -5
  524. package/lib/esm/duet-slideout.entry.js +5 -5
  525. package/lib/esm/duet-status-icon.entry.js +1 -1
  526. package/lib/esm/duet-step_2.entry.js +3 -3
  527. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  528. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  529. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  530. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  531. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  532. package/lib/esm/duet-textarea.entry.js +4 -4
  533. package/lib/esm/duet-toggle.entry.js +2 -2
  534. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  535. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  536. package/lib/esm/duet-toolbar-item.entry.js +5 -5
  537. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  538. package/lib/esm/duet-toolbar.entry.js +2 -2
  539. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  540. package/lib/esm/duet-tooltip.entry.js +3 -3
  541. package/lib/esm/duet-tray.entry.js +3 -3
  542. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  543. package/lib/esm/duet-upload-item.entry.js +4 -4
  544. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  545. package/lib/esm/duet.js +4 -4
  546. package/lib/esm/{errorcodes.utils-2bbac3d7.js → errorcodes.utils-3b160dbb.js} +1 -1
  547. package/lib/esm/{focus-utils-86d0936a.js → focus-utils-1bece0cd.js} +1 -1
  548. package/lib/esm/{index-c99b5a3a.js → index-79fc1b32.js} +1 -1
  549. package/lib/esm/{language-utils-0881a2a9.js → language-utils-a17dc5f3.js} +1 -1
  550. package/lib/esm/loader.js +4 -4
  551. package/lib/esm/{slot-utils-a65ef46f.js → slot-utils-b099bb75.js} +1 -1
  552. package/lib/esm/{themeable-component-e3661133.js → themeable-component-356b273d.js} +1 -1
  553. package/lib/esm-es5/{a11y-utils-fcabbbe4.js → a11y-utils-477acfdc.js} +1 -1
  554. package/lib/esm-es5/{app-globals-df3febf1.js → app-globals-fbabb161.js} +1 -1
  555. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  556. package/lib/esm-es5/duet-alert.entry.js +1 -1
  557. package/lib/esm-es5/duet-badge.entry.js +1 -1
  558. package/lib/esm-es5/duet-banner.entry.js +1 -1
  559. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  560. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  561. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-callout.entry.js +1 -1
  563. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  564. package/lib/esm-es5/duet-card.entry.js +1 -1
  565. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  566. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  567. package/lib/esm-es5/duet-chip.entry.js +1 -1
  568. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  569. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  570. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  571. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  572. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  573. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  574. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  575. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  576. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  577. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  578. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  579. package/lib/esm-es5/duet-footer.entry.js +1 -1
  580. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  581. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  582. package/lib/esm-es5/duet-hero.entry.js +1 -1
  583. package/lib/esm-es5/duet-icon.entry.js +1 -1
  584. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  585. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  586. package/lib/esm-es5/duet-layout.entry.js +1 -1
  587. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  588. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  589. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  590. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  591. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  592. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  594. package/lib/esm-es5/duet-modal.entry.js +1 -1
  595. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  596. package/lib/esm-es5/duet-nav.entry.js +1 -1
  597. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  598. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  599. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  600. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  601. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  602. package/lib/esm-es5/duet-panel.entry.js +1 -1
  603. package/lib/esm-es5/duet-phone-input.entry.js +2 -2
  604. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  605. package/lib/esm-es5/duet-progress.entry.js +1 -1
  606. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  607. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  608. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  609. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  610. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  611. package/lib/esm-es5/duet-select.entry.js +1 -1
  612. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  613. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  614. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  615. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  616. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  617. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  618. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  619. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  620. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  621. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  622. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  624. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  625. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  626. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  628. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  629. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  630. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  631. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  632. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  633. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  634. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  635. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  636. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  637. package/lib/esm-es5/duet-tray.entry.js +1 -1
  638. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  639. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  640. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  641. package/lib/esm-es5/duet.js +1 -1
  642. package/lib/esm-es5/{errorcodes.utils-2bbac3d7.js → errorcodes.utils-3b160dbb.js} +1 -1
  643. package/lib/esm-es5/{focus-utils-86d0936a.js → focus-utils-1bece0cd.js} +1 -1
  644. package/lib/esm-es5/{index-c99b5a3a.js → index-79fc1b32.js} +1 -1
  645. package/lib/esm-es5/{language-utils-0881a2a9.js → language-utils-a17dc5f3.js} +1 -1
  646. package/lib/esm-es5/loader.js +1 -1
  647. package/lib/esm-es5/{slot-utils-a65ef46f.js → slot-utils-b099bb75.js} +1 -1
  648. package/lib/esm-es5/{themeable-component-e3661133.js → themeable-component-356b273d.js} +1 -1
  649. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -3
  650. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  651. package/lib/types/components/duet-input/duet-input.d.ts +5 -10
  652. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  653. package/lib/types/components.d.ts +21 -2
  654. package/package.json +4 -4
  655. package/lib/dist-custom-elements/p-2dc31d71.js +0 -148
  656. package/lib/duet/p-27fecfaa.entry.js +0 -4
  657. package/lib/duet/p-3390de84.entry.js +0 -4
  658. package/lib/duet/p-33b6ad8b.system.entry.js +0 -4
  659. package/lib/duet/p-7b845013.entry.js +0 -4
  660. package/lib/duet/p-85023f68.entry.js +0 -4
  661. package/lib/duet/p-9171868a.system.js +0 -4
  662. package/lib/duet/p-98c47715.entry.js +0 -4
  663. package/lib/duet/p-9ecf83ca.system.entry.js +0 -4
  664. package/lib/duet/p-aa75307b.entry.js +0 -4
  665. package/lib/duet/p-ad570b3d.entry.js +0 -4
  666. package/lib/duet/p-d0b307cc.js +0 -4
  667. package/lib/duet/p-d2d74167.system.entry.js +0 -4
  668. package/lib/duet/p-fac03927.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function o(e){try{s(n.next(e))}catch(e){r(e)}}function u(e){try{s(n["throw"](e))}catch(e){r(e)}}function s(e){e.done?i(e.value):a(e.value).then(o,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(i=0)),i)try{if(n=1,a&&(r=u[0]&2?a["return"]:u[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,u[1])).done)return r;if(a=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;a=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){i.label=u[1];break}if(u[0]===6&&i.label<r[1]){i.label=r[1];r=u;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(u);break}if(r[2])i.ops.pop();i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e];a=0}finally{n=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-8fb46b02.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-57941503.system.js","./p-ace83b4d.system.js","./p-db398834.system.js","./p-f033bc52.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,r,o,u,s,c,d,m;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){o=e.a},function(e){u=e.i},function(e){s=e.g},function(e){c=e.g;d=e.c;m=e.d},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:#e61740}}';var f=h;var l=e("duet_menu_bar_item",function(){function e(e){t(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=o;this.accessibleLabelExternal=c(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){m(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return i(n,{key:"6c892062c0bd92db9f57b96b7180f9eef0801255",role:"listitem"},i(t,{key:"a23d9012b6e382756434132bdfbe2f42b11e12d6",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-menu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,role:"".concat(t==="a"?"link":"button"),"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,rel:this.external?"noopener":undefined},this.leadingIcon&&i("duet-icon",{key:"799e99c90de77fc27884390cee54a2f5ef2b86c7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),i("slot",{key:"a3e5ca49f3a3ebea08b83ea25eb7f1c9978ac33a"}),(this.trailingIcon||this.external)&&i("duet-icon",{key:"bfc604da6076597a4bbf67adb54020f911a4070b",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=f}}}));
4
+ */System.register(["./p-76503ac9.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-f183abd6.system.js","./p-56774ba4.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,r,o,u,s,c,d,m;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){o=e.a},function(e){u=e.i},function(e){s=e.g},function(e){c=e.g;d=e.c;m=e.d},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:#e61740}}';var f=h;var l=e("duet_menu_bar_item",function(){function e(e){t(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=o;this.accessibleLabelExternal=c(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){m(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return i(n,{key:"6c892062c0bd92db9f57b96b7180f9eef0801255",role:"listitem"},i(t,{key:"a23d9012b6e382756434132bdfbe2f42b11e12d6",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-menu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,role:"".concat(t==="a"?"link":"button"),"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,rel:this.external?"noopener":undefined},this.leadingIcon&&i("duet-icon",{key:"799e99c90de77fc27884390cee54a2f5ef2b86c7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),i("slot",{key:"a3e5ca49f3a3ebea08b83ea25eb7f1c9978ac33a"}),(this.trailingIcon||this.external)&&i("duet-icon",{key:"bfc604da6076597a4bbf67adb54020f911a4070b",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=f}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as a,c as e,h as d,F as t,H as i,g as r}from"./p-63045d0e.js";import{i as n}from"./p-08f35dcb.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a45e3f8b.js";import{g as x}from"./p-36a29933.js";import{s as c}from"./p-9c3c64b9.js";import{g as h}from"./p-80bf7a6d.js";import"./p-17efced0.js";const g=["h1","h2","h3","h4","h5","h6"],l="div";const u=class{constructor(d){a(this,d),this.duetToggle=e(this,"duetToggle",7),this.cardId=o("DuetCard"),this.togglePanel=a=>{a.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-card",originalEvent:a})},this.handleKeyDown=a=>{p(a)&&this.togglePanel(a)},this.accessibleLabel=void 0,this.heading="",this.secondaryHeading="",this.variation="default",this.collapsible=!1,this.open=!0,this.headingLevel="h2",this.headingBackground=void 0,this.icon=void 0,this.iconColor="currentColor",this.image=void 0,this.background="gray-lightest",this.padding="small",this.margin="auto",this.theme="",this.url=void 0,this.shadowBreakpoint=void 0}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']"),this.hasFooter=!!this.element.querySelector("[slot='footer']")}connectedCallback(){m(this)}disconnectedCallback(){s(this)}renderHeading(){var a;const e=c(this.headingLevel),i=[...g,l].some((a=>a===e))?e:"h2",r={backgroundColor:h(this.headingBackground)},n=d(t,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(t,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>',size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){const e=null===(a=x(this.element,"heading"))||void 0===a?void 0:a.map((a=>a.textContent)).join(" ");return d(i,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":e},n))}return d(i,{style:r,class:"duet-card-heading"},n)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:h(this.background)};return d(i,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:e,ref:a=>this.nativeCard=a,"aria-label":this.accessibleLabel,class:{"duet-card":!0,[this.padding]:!0,[this.variation]:!0,[`shadow-${this.shadowBreakpoint}`]:!!this.shadowBreakpoint,"duet-p-0":"none"===this.padding,"duet-theme-turva":"turva"===this.theme,"duet-card-has-bg":"gray-lightest"!==this.background,"duet-card-has-icon":!!this.icon,"duet-card-collapsed":this.collapsible&&!this.open}},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))}get element(){return r(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';export{u as duet_card}
4
+ import{r as a,c as e,h as d,F as t,H as i,g as r}from"./p-c6d073be.js";import{i as n}from"./p-53e6e1da.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a45e3f8b.js";import{g as x}from"./p-8642fde1.js";import{s as c}from"./p-9c3c64b9.js";import{g as h}from"./p-80bf7a6d.js";import"./p-17efced0.js";const g=["h1","h2","h3","h4","h5","h6"],l="div";const u=class{constructor(d){a(this,d),this.duetToggle=e(this,"duetToggle",7),this.cardId=o("DuetCard"),this.togglePanel=a=>{a.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-card",originalEvent:a})},this.handleKeyDown=a=>{p(a)&&this.togglePanel(a)},this.accessibleLabel=void 0,this.heading="",this.secondaryHeading="",this.variation="default",this.collapsible=!1,this.open=!0,this.headingLevel="h2",this.headingBackground=void 0,this.icon=void 0,this.iconColor="currentColor",this.image=void 0,this.background="gray-lightest",this.padding="small",this.margin="auto",this.theme="",this.url=void 0,this.shadowBreakpoint=void 0}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']"),this.hasFooter=!!this.element.querySelector("[slot='footer']")}connectedCallback(){m(this)}disconnectedCallback(){s(this)}renderHeading(){var a;const e=c(this.headingLevel),i=[...g,l].some((a=>a===e))?e:"h2",r={backgroundColor:h(this.headingBackground)},n=d(t,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(t,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>',size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){const e=null===(a=x(this.element,"heading"))||void 0===a?void 0:a.map((a=>a.textContent)).join(" ");return d(i,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":e},n))}return d(i,{style:r,class:"duet-card-heading"},n)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:h(this.background)};return d(i,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:e,ref:a=>this.nativeCard=a,"aria-label":this.accessibleLabel,class:{"duet-card":!0,[this.padding]:!0,[this.variation]:!0,[`shadow-${this.shadowBreakpoint}`]:!!this.shadowBreakpoint,"duet-p-0":"none"===this.padding,"duet-theme-turva":"turva"===this.theme,"duet-card-has-bg":"gray-lightest"!==this.background,"duet-card-has-icon":!!this.icon,"duet-card-collapsed":this.collapsible&&!this.open}},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))}get element(){return r(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';export{u as duet_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-8fb46b02.system.js","./p-57941503.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva .container{border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva.primary{background:#e61740}";var i=d;var b=e("duet_toolbar",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t=this.variation==="primary"||this.variation==="negative"||this.theme==="turva"&&this.variation==="secondary"?"primary":this.variation==="secondary"?"secondary":"default";return r(a,{key:"ef985ffd5d6ace34e338b68d717e0ff4ddfba289"},r("nav",{key:"e7ca6e1aaa3342e2422c4ad43e6a52162f1b181e",class:(e={"duet-toolbar":true,"duet-theme-turva":this.theme==="turva"},e[t]=true,e),"aria-label":this.accessibleLabel},r("div",{key:"3c0c92fc2fdd0b5736bc9c61951d4269b24580f8",class:"container"},r("div",{key:"f9f17a0ed80a2c530caf8537857dfc76d51c4a50",class:"list",role:"list"},r("slot",{key:"22cd0173e2588e554cbb8ef035da5d875b28927b",name:"left"})),r("div",{key:"28483b4d1a73201f840eb08fcbf5be41250142a1",class:"list",role:"list"},r("slot",{key:"97e0bad5bdb1951d56d8c0bb30d031e1d0404d6c",name:"right"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=i}}}));
4
+ System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva .container{border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva.primary{background:#e61740}";var i=d;var b=e("duet_toolbar",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t=this.variation==="primary"||this.variation==="negative"||this.theme==="turva"&&this.variation==="secondary"?"primary":this.variation==="secondary"?"secondary":"default";return r(a,{key:"ef985ffd5d6ace34e338b68d717e0ff4ddfba289"},r("nav",{key:"e7ca6e1aaa3342e2422c4ad43e6a52162f1b181e",class:(e={"duet-toolbar":true,"duet-theme-turva":this.theme==="turva"},e[t]=true,e),"aria-label":this.accessibleLabel},r("div",{key:"3c0c92fc2fdd0b5736bc9c61951d4269b24580f8",class:"container"},r("div",{key:"f9f17a0ed80a2c530caf8537857dfc76d51c4a50",class:"list",role:"list"},r("slot",{key:"22cd0173e2588e554cbb8ef035da5d875b28927b",name:"left"})),r("div",{key:"28483b4d1a73201f840eb08fcbf5be41250142a1",class:"list",role:"list"},r("slot",{key:"97e0bad5bdb1951d56d8c0bb30d031e1d0404d6c",name:"right"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=i}}}));
@@ -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 a,H as i,g as s}from"./p-63045d0e.js";import{D as r}from"./p-24954951.js";import{i as o}from"./p-08f35dcb.js";import{c as d}from"./p-5e59e970.js";import{s as n,u as l}from"./p-a45e3f8b.js";import{g as c,c as p,d as u}from"./p-b25490a8.js";import{h}from"./p-36a29933.js";import"./p-9c3c64b9.js";const b=class{constructor(a){e(this,a),this.duetDismiss=t(this,"duetDismiss",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.descriptiveId=d("DuetAlert"),this.hasShowMoreSlot=!1,this.handleDismiss=e=>{this.handleHide(),this.duetDismiss.emit({component:"duet-alert",originalEvent:e})},this.handleShow=()=>{this.isDismissed=!1},this.handleHide=()=>{this.isDismissed=!0,this.element.addEventListener("transitionend",(()=>this.duetCloseComplete.emit()),{once:!0})},this.handleExpandToggle=()=>{this.isExpanded=!this.isExpanded},this.getRole=()=>{if(this.announcements)return["warning","danger"].includes(this.variation)?"alert":"status"},this.theme="",this.isDismissed=!1,this.isExpanded=!1,this.timeoutID=void 0,this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"},this.accessibleLabel=c(this.accessibleLabelDefaults),this.announcements=!0,this.icon="",this.autoDismiss=void 0,this.margin="auto",this.padding="auto",this.variation="default",this.position="content",this.dismissible=!1,this.focusable=!1,this.expandingTitle=""}componentWillLoad(){o(this),this.hasShowMoreSlot=h(this.element,"show-more")}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){p(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"}),n(this)}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),u(this),l(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(e){this.alertContainer.focus(e)}render(){const e=["default","success","danger","warning"].includes(this.variation)?this.variation:"default",t=c(r[e]);return a(i,{key:"b204a657de629955d04058f3c43813aa00980c1e",class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.getRole()},a("div",{key:"0d573c37ae4013f7fdef0d89a7d2cfff38157b44",class:{"duet-alert-wrapper":!0,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,[this.position]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"ecb946bd29811c5ee207804498810a6cd3c83889",class:{"duet-alert":!0,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||"below-nav"===this.position,"duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"88e63f17d9d316a933266a2d98be63f1cf6fa939",class:"duet-alert-container",ref:e=>{this.alertContainer=e},tabindex:this.focusable?"0":void 0},"below-nav"!==this.position&&a("div",{key:"d0e266b3c576ec9c2532053c292c3bfbbc9d92b0",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"efa5d1133ba832aa3e88fb419b8f2b454b5536c1",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"7e00c8f29fb7a33a041acfbd82d1c359eadaf605",strong:!0,variation:e,margin:"none",size:"auto"})),"below-nav"===this.position&&a("div",{key:"0314c3a000a06a357a7850f6c72002df3d32a541",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"aec093d7be9e0c0d8940a5e0813495f707daefc0",strong:!0,variation:e,margin:"none",size:"auto"})),a("div",{key:"97522cbf67c23477ae71603418f85f3d1a13d3c2",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"08d8a6d3b089bad3c54727907f6ba1df213a9103","aria-expanded":this.isExpanded.toString(),"aria-controls":`${this.descriptiveId}-content`,class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"4efe686cc2dff3077ea3efed7a52c79c3b8c090a",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"2da0cd85883d2e850d65e0682c391079bcce2001",name:"action-arrow-down",color:"default"===e?"lt-blue-800":`${e}-800`,margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355",id:`${this.descriptiveId}-content`},a("duet-visually-hidden",{key:"0f892f87996b79076b9c04e9d66fadbe681cf913"},t),a("slot",{key:"fac36116e1b9128ad398c4cf997d8c0fd3bca795"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"10530ff533c94cb9c85eb23cae9ed3475f3567f2",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"06e77a909ef86b0ae2e83e818e88c75b8caa9969",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"65f541e6bf54abcfa91757571cffb18013188c39",class:"duet-alert-dismiss"},a("duet-button",{key:"a2e00a7f2d07d04bf388544893ddb56d332c8929",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",color:"default"===e?"lt-blue-800":`${e}-800`,theme:this.theme,onClick:this.handleDismiss,fixed:!0})))))}get element(){return s(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;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-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';export{b as duet_alert}
4
+ import{r as e,c as t,h as a,H as i,g as s}from"./p-c6d073be.js";import{D as r}from"./p-24954951.js";import{i as o}from"./p-53e6e1da.js";import{c as d}from"./p-5e59e970.js";import{s as n,u as l}from"./p-a45e3f8b.js";import{g as c,c as p,d as u}from"./p-ca32f459.js";import{h}from"./p-8642fde1.js";import"./p-9c3c64b9.js";const b=class{constructor(a){e(this,a),this.duetDismiss=t(this,"duetDismiss",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.descriptiveId=d("DuetAlert"),this.hasShowMoreSlot=!1,this.handleDismiss=e=>{this.handleHide(),this.duetDismiss.emit({component:"duet-alert",originalEvent:e})},this.handleShow=()=>{this.isDismissed=!1},this.handleHide=()=>{this.isDismissed=!0,this.element.addEventListener("transitionend",(()=>this.duetCloseComplete.emit()),{once:!0})},this.handleExpandToggle=()=>{this.isExpanded=!this.isExpanded},this.getRole=()=>{if(this.announcements)return["warning","danger"].includes(this.variation)?"alert":"status"},this.theme="",this.isDismissed=!1,this.isExpanded=!1,this.timeoutID=void 0,this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"},this.accessibleLabel=c(this.accessibleLabelDefaults),this.announcements=!0,this.icon="",this.autoDismiss=void 0,this.margin="auto",this.padding="auto",this.variation="default",this.position="content",this.dismissible=!1,this.focusable=!1,this.expandingTitle=""}componentWillLoad(){o(this),this.hasShowMoreSlot=h(this.element,"show-more")}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){p(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"}),n(this)}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),u(this),l(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(e){this.alertContainer.focus(e)}render(){const e=["default","success","danger","warning"].includes(this.variation)?this.variation:"default",t=c(r[e]);return a(i,{key:"b204a657de629955d04058f3c43813aa00980c1e",class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.getRole()},a("div",{key:"0d573c37ae4013f7fdef0d89a7d2cfff38157b44",class:{"duet-alert-wrapper":!0,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,[this.position]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"ecb946bd29811c5ee207804498810a6cd3c83889",class:{"duet-alert":!0,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||"below-nav"===this.position,"duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"88e63f17d9d316a933266a2d98be63f1cf6fa939",class:"duet-alert-container",ref:e=>{this.alertContainer=e},tabindex:this.focusable?"0":void 0},"below-nav"!==this.position&&a("div",{key:"d0e266b3c576ec9c2532053c292c3bfbbc9d92b0",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"efa5d1133ba832aa3e88fb419b8f2b454b5536c1",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"7e00c8f29fb7a33a041acfbd82d1c359eadaf605",strong:!0,variation:e,margin:"none",size:"auto"})),"below-nav"===this.position&&a("div",{key:"0314c3a000a06a357a7850f6c72002df3d32a541",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"aec093d7be9e0c0d8940a5e0813495f707daefc0",strong:!0,variation:e,margin:"none",size:"auto"})),a("div",{key:"97522cbf67c23477ae71603418f85f3d1a13d3c2",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"08d8a6d3b089bad3c54727907f6ba1df213a9103","aria-expanded":this.isExpanded.toString(),"aria-controls":`${this.descriptiveId}-content`,class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"4efe686cc2dff3077ea3efed7a52c79c3b8c090a",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"2da0cd85883d2e850d65e0682c391079bcce2001",name:"action-arrow-down",color:"default"===e?"lt-blue-800":`${e}-800`,margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355",id:`${this.descriptiveId}-content`},a("duet-visually-hidden",{key:"0f892f87996b79076b9c04e9d66fadbe681cf913"},t),a("slot",{key:"fac36116e1b9128ad398c4cf997d8c0fd3bca795"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"10530ff533c94cb9c85eb23cae9ed3475f3567f2",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"06e77a909ef86b0ae2e83e818e88c75b8caa9969",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"65f541e6bf54abcfa91757571cffb18013188c39",class:"duet-alert-dismiss"},a("duet-button",{key:"a2e00a7f2d07d04bf388544893ddb56d332c8929",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",color:"default"===e?"lt-blue-800":`${e}-800`,theme:this.theme,onClick:this.handleDismiss,fixed:!0})))))}get element(){return s(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;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-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{z-index:1;margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';export{b as duet_alert}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,r,i){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function n(t){try{u(i.next(t))}catch(t){a(t)}}function d(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?r(t.value):o(t.value).then(n,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n;return n={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,d[0]&&(r=0)),r)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:r.label++;return{value:d[1],done:false};case 5:r.label++;o=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1];a=d;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(d);break}if(a[2])r.ops.pop();r.trys.pop();continue}d=e.call(t,r)}catch(t){d=[6,t];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-8fb46b02.system.js","./p-57941503.system.js","./p-752fa0fc.system.js","./p-db398834.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,r,i,o,a,n,d,u,s,c,h;return{setters:[function(t){e=t.r;r=t.h;i=t.g},function(t){o=t.i},function(t){a=t.s;n=t.u},function(t){d=t.a;u=t.g;s=t.c;c=t.d},function(t){h=t.a},function(){}],execute:function(){var l="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-indicator-container{position:relative;width:10px;margin-top:6px;margin-left:6px}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:#172a3b;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:#fdf7f2}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:#fdf7f2}}";var f=l;var b=t("duet_notification",function(){function t(t){e(this,t);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=u(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});a(this)};t.prototype.disconnectedCallback=function(){c(this);n(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.linkElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"d277f46ce75b675a1b2dc80863ab5c6e79608d77",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"64c9209bdab15027121f6c52ef86327ce415f685",ref:function(e){return t.linkElement=e},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"9fa32762c6c1805a3c15d1a57f5882c82d36607d",class:"duet-notification-container"},r("div",{key:"80bb71a20d0c3f7c23d455758025b080e128ca35",class:"duet-indicator-container"},this.highlight&&r("duet-indicator",{key:"4ea88060a28ed5abad5ff09dbf9fcdbab758bdf9",variation:"new","accessible-label":this.accessibleLabelUnread})),r("div",{key:"b3c53a5318b7dae17185948ba480ee2665e8f67e",class:"duet-notification-content"},r("slot",{key:"88463f9aeca48107382f18f377132015ef037115"})),r("div",{key:"cac28a3e91a692ae7ad32bdb95768b1c39141c54",class:"duet-notification-date"},this.date))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());b.style=f;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:#172a3b;border-color:#d4dde2}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:#8c001e;border-color:#f5f6f7}';var p=g;var m=27;var w=t("duet_notification_drawer",function(){function t(t){var r=this;e(this,t);this.handleKeyDown=function(t){if(r.isOpen&&t.keyCode===m){r.close()}};this.toggleMenu=function(t){t.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=u(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}t.prototype.componentWillLoad=function(){o(this);this.updateNotificationState()};t.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});a(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;n(this)};t.prototype.handleClickFocusOutside=function(t){var e=t.target;if(this.isOpen&&!this.element.contains(e)){this.close(false)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.drawerButtonEl.focus(t);return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.element.closest("duet-header");if(t){t.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpen=false;if(t){this.setFocus({preventScroll:true})}return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"469b8f1022a88519a9f0aa400d56641c29e11b88",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"00b263a2e4980db5c31e03994c347871b024b588",ref:function(e){return t.drawerButtonEl=e},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"2cde7596baa2aa3ab9465213d5e5b500c33310f3",class:"duet-drawer-icon"},r("duet-icon",{key:"220c78141beee80d57077b270e8521b633128201",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("duet-indicator",{key:"25ccfdf0643a4e7d41a36479cf43dc94db12df4f",variation:"change"})),r("span",{key:"9b416e1ddcbc0acaab40f5c8bc6c5f9885037c8f",class:"duet-drawer-label"},this.label),r("div",{key:"157c0eeaf53edadea7ee8f8c6f4a526d055960ac",class:"duet-drawer-caret"},r("duet-icon",{key:"8f0e4deafa0f3550173266e0934dae7fb2dfcc99",margin:"none",size:"auto",icon:h.svg,color:"currentColor"}))),r("div",{key:"e77866382b60d4c6bdf4d2526f9913a333e563b8",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(e){return t.drawerContentEl=e}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=p}}}));
4
+ */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-752fa0fc.system.js","./p-ddf20691.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,r,i,o,a,n,d,u,s,c,h;return{setters:[function(t){e=t.r;r=t.h;i=t.g},function(t){o=t.i},function(t){a=t.s;n=t.u},function(t){d=t.a;u=t.g;s=t.c;c=t.d},function(t){h=t.a},function(){}],execute:function(){var l="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-indicator-container{position:relative;width:10px;margin-top:6px;margin-left:6px}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:#172a3b;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:#fdf7f2}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:#fdf7f2}}";var f=l;var b=t("duet_notification",function(){function t(t){e(this,t);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=u(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});a(this)};t.prototype.disconnectedCallback=function(){c(this);n(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.linkElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"d277f46ce75b675a1b2dc80863ab5c6e79608d77",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"64c9209bdab15027121f6c52ef86327ce415f685",ref:function(e){return t.linkElement=e},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"9fa32762c6c1805a3c15d1a57f5882c82d36607d",class:"duet-notification-container"},r("div",{key:"80bb71a20d0c3f7c23d455758025b080e128ca35",class:"duet-indicator-container"},this.highlight&&r("duet-indicator",{key:"4ea88060a28ed5abad5ff09dbf9fcdbab758bdf9",variation:"new","accessible-label":this.accessibleLabelUnread})),r("div",{key:"b3c53a5318b7dae17185948ba480ee2665e8f67e",class:"duet-notification-content"},r("slot",{key:"88463f9aeca48107382f18f377132015ef037115"})),r("div",{key:"cac28a3e91a692ae7ad32bdb95768b1c39141c54",class:"duet-notification-date"},this.date))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());b.style=f;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:#172a3b;border-color:#d4dde2}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:#8c001e;border-color:#f5f6f7}';var p=g;var m=27;var w=t("duet_notification_drawer",function(){function t(t){var r=this;e(this,t);this.handleKeyDown=function(t){if(r.isOpen&&t.keyCode===m){r.close()}};this.toggleMenu=function(t){t.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=u(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}t.prototype.componentWillLoad=function(){o(this);this.updateNotificationState()};t.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});a(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;n(this)};t.prototype.handleClickFocusOutside=function(t){var e=t.target;if(this.isOpen&&!this.element.contains(e)){this.close(false)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.drawerButtonEl.focus(t);return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.element.closest("duet-header");if(t){t.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpen=false;if(t){this.setFocus({preventScroll:true})}return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"469b8f1022a88519a9f0aa400d56641c29e11b88",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"00b263a2e4980db5c31e03994c347871b024b588",ref:function(e){return t.drawerButtonEl=e},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"2cde7596baa2aa3ab9465213d5e5b500c33310f3",class:"duet-drawer-icon"},r("duet-icon",{key:"220c78141beee80d57077b270e8521b633128201",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("duet-indicator",{key:"25ccfdf0643a4e7d41a36479cf43dc94db12df4f",variation:"change"})),r("span",{key:"9b416e1ddcbc0acaab40f5c8bc6c5f9885037c8f",class:"duet-drawer-label"},this.label),r("div",{key:"157c0eeaf53edadea7ee8f8c6f4a526d055960ac",class:"duet-drawer-caret"},r("duet-icon",{key:"8f0e4deafa0f3550173266e0934dae7fb2dfcc99",margin:"none",size:"auto",icon:h.svg,color:"currentColor"}))),r("div",{key:"e77866382b60d4c6bdf4d2526f9913a333e563b8",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(e){return t.drawerContentEl=e}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=p}}}));
@@ -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,g as r,H as o}from"./p-63045d0e.js";import{i as s}from"./p-08f35dcb.js";import{c as a}from"./p-5e59e970.js";import{i as n,s as d,u as p}from"./p-a45e3f8b.js";import{d as u}from"./p-24954951.js";import{a as h,g as c}from"./p-b25490a8.js";import"./p-9c3c64b9.js";const l=class{constructor(i){e(this,i),this.duetStepClick=t(this,"duetStepClick",7),this.buttonId=a("DuetStepButton"),this.contentId=a("DuetStepContent"),this.handleKeyDown=e=>{this.isClickDisabled()||n(e)&&(e.preventDefault(),this.handleStepClick(e))},this.handleClick=e=>{this.isClickDisabled()||this.handleStepClick(e)},this.theme="",this.heading=void 0,this.headingLevel=void 0,this.stepIndex=void 0,this.state=void 0,this.roundedTop=!1,this.roundedBottom=!1}handleStepClick(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})}componentWillLoad(){s(this)}connectedCallback(){d(this)}disconnectedCallback(){p(this)}async setFocus(e={preventScroll:!0}){this.buttonElement.focus(e)}isClickDisabled(){return"complete"!==this.state}headingColor(){return"incomplete"!==this.state?"":"turva"!==this.theme?"gray-darker":"gray-dark-turva"}renderStepCounter(){return"complete"===this.state||"disabled"===this.state?i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'})):`${this.stepIndex+1} `}render(){return i("div",{class:{"duet-step":!0,[`is-${this.state}`]:!0,"rounded-top":this.roundedTop,"rounded-bottom":this.roundedBottom,"duet-theme-turva":"turva"===this.theme}},i("div",{class:"duet-step-heading",id:this.buttonId,role:"current"!==this.state?"button":"region","aria-current":"current"===this.state?"step":void 0,tabindex:"current"!==this.state?"0":void 0,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":("current"===this.state).toString(),"aria-controls":this.contentId,"aria-selected":("current"===this.state).toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:e=>this.buttonElement=e},i("div",{"aria-hidden":"true"},i("div",{class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",null,i("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{direction:"horizontal",size:"large"}),i("div",{class:"duet-step-heading-slot"},i("slot",{name:"heading-content"}))),i("div",{class:"duet-step-content-wrapper"},i("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",null))))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-current .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-counter{background-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#b81233}:host(.duet-theme-turva2) .duet-theme-turva .duet-step-content-wrapper{border-color:#fbe1d1}';const m=class{constructor(i){e(this,i),this.duetStepChange=t(this,"duetStepChange",7),this.language=h(),this.theme="",this.accessibleLive=c(u,this.language),this.margin="auto",this.backDisabled=!1,this.selected=0}currentStepChanged(e){if(isNaN(e))throw new Error(`step must be a number. got: ${e}`);if(e<0)throw new Error(`step must be not be less than zero. got: ${e}`);if(e>this.getSteps().length)throw new Error("step must not exceed total number of steps");this.updateStepState(),setTimeout((()=>this.setStepFocus()),50)}currentStepInvokedDisable(){this.updateStepState()}onDuetStepClick(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})}componentWillLoad(){s(this)}async connectedCallback(){this.childObserver=new MutationObserver(this.updateStepState.bind(this)),this.childObserver.observe(this.element,{childList:!0}),this.updateStepState()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}getSteps(){return Array.from(this.element.querySelectorAll("duet-step"))}setStepFocus(){this.getSteps()[this.selected].setFocus()}updateStepState(){const e=this.getSteps();e.forEach(((e,t)=>{let i;i=t<this.selected?this.backDisabled?"disabled":"complete":t>this.selected?"incomplete":"current",e.theme=this.theme,e.state=i,e.stepIndex=t}));const t=function(e,t){const i={};return t.forEach((e=>{const t=e.state;i[t]||(i[t]=[]),i[t].push(e)})),i}(0,e);Object.values(t).forEach((e=>{e.forEach(((t,i)=>{t.roundedTop=0===i,t.roundedBottom=i===e.length-1}))}))}formatAnnouncement(){const e=this.getSteps(),t=(this.selected+1).toString(10),i=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",i)}render(){return i(o,{key:"8990256cd5a15e62e1e41d4d99ec61376c0fab88",class:{"duet-m-0":"none"===this.margin}},i("div",{key:"6a9e41f275fa7183528d2ef71eaf9b0964883aa0",class:{"duet-stepper":!0,"duet-theme-turva":"turva"===this.theme}},i("duet-visually-hidden",{key:"0afabdd2da5214751347e4c8cd6b364012eeda47","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"e2f78e4998188083683ca19ea28cb04eba2b893c"})))}get element(){return r(this)}static get watchers(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}}};m.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";export{l as duet_step,m as duet_stepper}
4
+ import{r as e,c as t,h as i,g as r,H as o}from"./p-c6d073be.js";import{i as s}from"./p-53e6e1da.js";import{c as a}from"./p-5e59e970.js";import{i as n,s as d,u as p}from"./p-a45e3f8b.js";import{d as u}from"./p-24954951.js";import{a as h,g as c}from"./p-ca32f459.js";import"./p-9c3c64b9.js";const l=class{constructor(i){e(this,i),this.duetStepClick=t(this,"duetStepClick",7),this.buttonId=a("DuetStepButton"),this.contentId=a("DuetStepContent"),this.handleKeyDown=e=>{this.isClickDisabled()||n(e)&&(e.preventDefault(),this.handleStepClick(e))},this.handleClick=e=>{this.isClickDisabled()||this.handleStepClick(e)},this.theme="",this.heading=void 0,this.headingLevel=void 0,this.stepIndex=void 0,this.state=void 0,this.roundedTop=!1,this.roundedBottom=!1}handleStepClick(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})}componentWillLoad(){s(this)}connectedCallback(){d(this)}disconnectedCallback(){p(this)}async setFocus(e={preventScroll:!0}){this.buttonElement.focus(e)}isClickDisabled(){return"complete"!==this.state}headingColor(){return"incomplete"!==this.state?"":"turva"!==this.theme?"gray-darker":"gray-dark-turva"}renderStepCounter(){return"complete"===this.state||"disabled"===this.state?i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'})):`${this.stepIndex+1} `}render(){return i("div",{class:{"duet-step":!0,[`is-${this.state}`]:!0,"rounded-top":this.roundedTop,"rounded-bottom":this.roundedBottom,"duet-theme-turva":"turva"===this.theme}},i("div",{class:"duet-step-heading",id:this.buttonId,role:"current"!==this.state?"button":"region","aria-current":"current"===this.state?"step":void 0,tabindex:"current"!==this.state?"0":void 0,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":("current"===this.state).toString(),"aria-controls":this.contentId,"aria-selected":("current"===this.state).toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:e=>this.buttonElement=e},i("div",{"aria-hidden":"true"},i("div",{class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",null,i("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{direction:"horizontal",size:"large"}),i("div",{class:"duet-step-heading-slot"},i("slot",{name:"heading-content"}))),i("div",{class:"duet-step-content-wrapper"},i("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",null))))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-current .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-counter{background-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#b81233}:host(.duet-theme-turva2) .duet-theme-turva .duet-step-content-wrapper{border-color:#fbe1d1}';const m=class{constructor(i){e(this,i),this.duetStepChange=t(this,"duetStepChange",7),this.language=h(),this.theme="",this.accessibleLive=c(u,this.language),this.margin="auto",this.backDisabled=!1,this.selected=0}currentStepChanged(e){if(isNaN(e))throw new Error(`step must be a number. got: ${e}`);if(e<0)throw new Error(`step must be not be less than zero. got: ${e}`);if(e>this.getSteps().length)throw new Error("step must not exceed total number of steps");this.updateStepState(),setTimeout((()=>this.setStepFocus()),50)}currentStepInvokedDisable(){this.updateStepState()}onDuetStepClick(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})}componentWillLoad(){s(this)}async connectedCallback(){this.childObserver=new MutationObserver(this.updateStepState.bind(this)),this.childObserver.observe(this.element,{childList:!0}),this.updateStepState()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}getSteps(){return Array.from(this.element.querySelectorAll("duet-step"))}setStepFocus(){this.getSteps()[this.selected].setFocus()}updateStepState(){const e=this.getSteps();e.forEach(((e,t)=>{let i;i=t<this.selected?this.backDisabled?"disabled":"complete":t>this.selected?"incomplete":"current",e.theme=this.theme,e.state=i,e.stepIndex=t}));const t=function(e,t){const i={};return t.forEach((e=>{const t=e.state;i[t]||(i[t]=[]),i[t].push(e)})),i}(0,e);Object.values(t).forEach((e=>{e.forEach(((t,i)=>{t.roundedTop=0===i,t.roundedBottom=i===e.length-1}))}))}formatAnnouncement(){const e=this.getSteps(),t=(this.selected+1).toString(10),i=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",i)}render(){return i(o,{key:"8990256cd5a15e62e1e41d4d99ec61376c0fab88",class:{"duet-m-0":"none"===this.margin}},i("div",{key:"6a9e41f275fa7183528d2ef71eaf9b0964883aa0",class:{"duet-stepper":!0,"duet-theme-turva":"turva"===this.theme}},i("duet-visually-hidden",{key:"0afabdd2da5214751347e4c8cd6b364012eeda47","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"e2f78e4998188083683ca19ea28cb04eba2b893c"})))}get element(){return r(this)}static get watchers(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}}};m.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";export{l as duet_step,m as duet_stepper}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as n,h as e,H as a,g as t}from"./p-63045d0e.js";import{i as o}from"./p-08f35dcb.js";const r=class{constructor(e){n(this,e),this.theme="",this.padding="medium",this.variation="",this.margin="auto",this.border=void 0,this.accessibleLabel=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescribedBy=void 0}componentWillLoad(){o(this)}render(){return e(a,{key:"8b846b25b51818d64ede169d7eb7a178e7620658"},e("section",{key:"9825b3985ca00766d50876ba21a7cf4fc8aa1e64","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-describedby":this.accessibleDescribedBy,class:{"duet-panel":!0,"duet-theme-turva":"turva"===this.theme,[this.variation.split("-")[0]]:!0,[this.variation.split("-")[1]]:!0,[`padding-${this.padding}`]:!0,border:this.border,"duet-m-0":"none"===this.margin}},e("slot",{key:"c5470707b941b16e0ea79c1a13b6b9b6056f4e22"})))}get element(){return t(this)}};r.style='/* stylelint-disable scss/at-rule-no-unknown */\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n position: relative;\n display: block;\n width: 100%;\n margin: 8px 0 20px 0;\n}\n@container (width > 36em) {\n :host {\n margin: 12px 0 28px 0;\n }\n}\n:host .duet-m-0 {\n margin: 0 !important;\n}\n\n.duet-panel {\n font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n color: rgb(8, 42, 77);\n background-color: rgb(255, 255, 255);\n border: 0 solid rgb(212, 223, 229);\n border-radius: 16px;\n}\n.duet-panel.duet-theme-turva {\n font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n color: rgb(23, 28, 58);\n border-color: rgb(222, 224, 228);\n}\n.duet-panel.padding-small {\n padding: 16px;\n border-radius: 12px;\n}\n@container (width > 36em) {\n .duet-panel.padding-small {\n padding: 20px;\n }\n}\n.duet-panel.padding-medium {\n padding: 20px;\n}\n@container (width > 36em) {\n .duet-panel.padding-medium {\n padding: 28px;\n }\n}\n.duet-panel.padding-large {\n padding: 28px;\n}\n@container (width > 36em) {\n .duet-panel.padding-large {\n padding: 36px;\n }\n}\n.duet-panel.border {\n border-width: 1px;\n}\n.duet-panel.secondary {\n background-color: rgb(245, 248, 250);\n}\n.duet-panel.secondary.duet-theme-turva {\n background-color: rgb(245, 247, 250);\n}\n.duet-panel.accent {\n background-color: rgb(240, 247, 250);\n border-color: rgb(198, 225, 238);\n}\n.duet-panel.accent.duet-theme-turva {\n background-color: rgb(245, 247, 250);\n border-color: rgb(199, 202, 207);\n}\n.duet-panel.accent.secondary {\n background-color: rgb(217, 236, 245);\n}\n.duet-panel.accent.secondary.duet-theme-turva {\n background-color: rgb(222, 224, 228);\n}\n\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva {\n color: #172a3b;\n border-color: #d4dde2;\n}\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.secondary {\n background-color: #f5f6f7;\n}\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent {\n background-color: #fdf7f2;\n border-color: #f1cab2;\n}\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent.secondary {\n background-color: #fbe1d1;\n}';export{r as duet_panel}
4
+ import{r as n,h as e,H as a,g as t}from"./p-c6d073be.js";import{i as o}from"./p-53e6e1da.js";const r=class{constructor(e){n(this,e),this.theme="",this.padding="medium",this.variation="",this.margin="auto",this.border=void 0,this.accessibleLabel=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescribedBy=void 0}componentWillLoad(){o(this)}render(){return e(a,{key:"8b846b25b51818d64ede169d7eb7a178e7620658"},e("section",{key:"9825b3985ca00766d50876ba21a7cf4fc8aa1e64","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-describedby":this.accessibleDescribedBy,class:{"duet-panel":!0,"duet-theme-turva":"turva"===this.theme,[this.variation.split("-")[0]]:!0,[this.variation.split("-")[1]]:!0,[`padding-${this.padding}`]:!0,border:this.border,"duet-m-0":"none"===this.margin}},e("slot",{key:"c5470707b941b16e0ea79c1a13b6b9b6056f4e22"})))}get element(){return t(this)}};r.style='/* stylelint-disable scss/at-rule-no-unknown */\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n position: relative;\n display: block;\n width: 100%;\n margin: 8px 0 20px 0;\n}\n@container (width > 36em) {\n :host {\n margin: 12px 0 28px 0;\n }\n}\n:host .duet-m-0 {\n margin: 0 !important;\n}\n\n.duet-panel {\n font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n color: rgb(8, 42, 77);\n background-color: rgb(255, 255, 255);\n border: 0 solid rgb(212, 223, 229);\n border-radius: 16px;\n}\n.duet-panel.duet-theme-turva {\n font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n color: rgb(23, 28, 58);\n border-color: rgb(222, 224, 228);\n}\n.duet-panel.padding-small {\n padding: 16px;\n border-radius: 12px;\n}\n@container (width > 36em) {\n .duet-panel.padding-small {\n padding: 20px;\n }\n}\n.duet-panel.padding-medium {\n padding: 20px;\n}\n@container (width > 36em) {\n .duet-panel.padding-medium {\n padding: 28px;\n }\n}\n.duet-panel.padding-large {\n padding: 28px;\n}\n@container (width > 36em) {\n .duet-panel.padding-large {\n padding: 36px;\n }\n}\n.duet-panel.border {\n border-width: 1px;\n}\n.duet-panel.secondary {\n background-color: rgb(245, 248, 250);\n}\n.duet-panel.secondary.duet-theme-turva {\n background-color: rgb(245, 247, 250);\n}\n.duet-panel.accent {\n background-color: rgb(240, 247, 250);\n border-color: rgb(198, 225, 238);\n}\n.duet-panel.accent.duet-theme-turva {\n background-color: rgb(245, 247, 250);\n border-color: rgb(199, 202, 207);\n}\n.duet-panel.accent.secondary {\n background-color: rgb(217, 236, 245);\n}\n.duet-panel.accent.secondary.duet-theme-turva {\n background-color: rgb(222, 224, 228);\n}\n\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva {\n color: #172a3b;\n border-color: #d4dde2;\n}\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.secondary {\n background-color: #f5f6f7;\n}\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent {\n background-color: #fdf7f2;\n border-color: #f1cab2;\n}\n:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent.secondary {\n background-color: #fbe1d1;\n}';export{r as duet_panel}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as o,H as u,g as n}from"./p-63045d0e.js";import{i as r}from"./p-08f35dcb.js";import{a as d,c as i}from"./p-24954951.js";import{a,g as b,c as s,d as l}from"./p-b25490a8.js";import{g as h}from"./p-80bf7a6d.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const p=class{constructor(o){t(this,o),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.proxyButtonSetUp=()=>{const t=this.element.querySelector("button[slot=proxybutton]"),e=t||document.createElement("button");if(this.url)return t&&t.remove(),void(this.proxyButton=null);e.setAttribute("slot","proxybutton"),e.style.display="none",e.type=this.getButtonType(),e.disabled=this.disabled,e.setAttribute("form",this.form),this.form||e.removeAttribute("form"),null!=this.name?e.name=this.name:e.removeAttribute("name"),null!=this.value?e.value=this.value:e.removeAttribute("value"),t||this.element.appendChild(e),this.proxyButton=e},this.handleClick=t=>{this.submit&&!this.url&&(this.element.closest("form")||this.form)&&(t.stopPropagation(),t.preventDefault(),this.proxyButton.click())},this.onFocus=()=>{this.duetFocus.emit()},this.onBlur=()=>{this.duetBlur.emit()},this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.loading=!1,this.variation="default",this.negative=!1,this.theme="",this.margin="auto",this.form=void 0,this.padding="auto",this.centerText=!1,this.wrapping="auto",this.expand=!1,this.fixed=!1,this.disabled=!1,this.name=void 0,this.value=void 0,this.identifier=void 0,this.submit=!1,this.external=!1,this.language=a(),this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.accessibleLabelLoadingDefaults=i,this.accessibleLabelLoading=b(this.accessibleLabelLoadingDefaults),this.icon="",this.color="",this.iconRight=!1,this.iconSize="medium",this.size="medium",this.iconOnly=!1,this.url=void 0}componentWillLoad(){r(this),this.url&&this.external&&this.icon&&console.warn("[DUET]: Button used as an external link will override any icon that is set")}connectedCallback(){s(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])}disconnectedCallback(){l(this)}componentDidRender(){!1===this.disabled&&this.element.removeAttribute("disabled"),this.submit&&this.proxyButtonSetUp()}getButtonType(){return this.submit?"submit":"button"}getButtonIconSize(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":default:return"medium";case"large":return"large"}}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){var t,e;const n=this.external&&this.url,r=n?"action-new-window":this.icon,d=!!n||this.iconRight,i=o("span",{key:"4b6618222c037ec329c118f7ad247b9fd514e878",class:{"duet-button-contents":!0,"icon-right":d},style:{color:h(this.color,this.theme)}},r&&o("span",{key:"67492c9b50231879ba232f7c6bcdadcb2d219875","aria-hidden":"true",class:{"duet-button-icon":!0,left:!d,right:d,[this.getButtonIconSize()]:!0}},o("duet-icon",{key:"fce0630d78df187c2a7f3946ff3d262c43e5ce95",size:"auto",margin:"none",name:r,color:"currentColor"})),o("span",{key:"34d608211bac6921c4aec51f71a9b33e2ac2b7b0",class:"duet-button-contents-slot"},o("slot",{key:"b2478d851993c148be6a83a76f9f725469bc9944"}))),a="medium"==this.size||"small"==this.size||"x-small"==this.size?this.size:"medium",b={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeButton=t,id:this.identifier,class:{"duet-m-0":"none"===this.margin,"duet-p-0":"none"===this.padding,"duet-no-wrap":"none"===this.wrapping,"duet-button":!0,"duet-button-is-small":"small"===this.size,[`duet-button-size-${a}`]:!0,"duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0,"input-button":null===(t=this.variation)||void 0===t?void 0:t.startsWith("input-button"),disabled:this.disabled,icon:!!r,"icon-right":d,"icon-left":!!r&&!d,[this.getButtonIconSize()]:!0},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(u,{key:"c70e2d9cbe884c7b6cc3012721f01ce6d54b4555",class:{"duet-m-0":"none"===this.margin,"duet-small":"small"===this.size,"duet-x-small":"x-small"===this.size,"duet-fixed":this.fixed,"duet-expand":this.expand,[this.variation]:!0,"input-button":null===(e=this.variation)||void 0===e?void 0:e.startsWith("input-button")}},o("span",{key:"c8be7792d2ae572befbfbe921a3ec453c073637d",onClick:this.handleClick,class:{"duet-button-container":!0,"duet-button-is-loading":this.loading,"duet-theme-turva":"turva"===this.theme,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0}},this.url?o("a",Object.assign({},b,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":void 0}),i,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},b,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,"aria-disabled":this.disabled}),i,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{key:"da956cda627d2afc5084ee69629b54ffabcb672b",color:"currentColor"})),o("slot",{key:"0ead01a475d6242c0049a259f9b9c725830d4b80",name:"proxybutton"}))}get element(){return n(this)}};p.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:#8c001e !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:#5f7a8f !important;background:transparent !important;border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#7891a4 !important;cursor:not-allowed;background:#d4dde2 !important;border-color:#d4dde2 !important;outline-color:#d4dde2 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}';const m=class{constructor(e){t(this,e),this.accessibleLabel=void 0,this.color="gray-lightest",this.size="small",this.theme=""}componentWillLoad(){r(this)}render(){const t="currentColor"===this.color?"currentColor":h(this.color);return o(u,{key:"feb500dd4e62ad66f8d1caed2c882a89acddc938",class:{"duet-custom-color":"currentColor"!==this.color&&"turva"!==this.theme&&"default"!==this.theme,"duet-theme-turva":"turva"===this.theme&&"currentColor"!==this.color,"duet-theme-default":"default"===this.theme&&"currentColor"!==this.color}},o("div",{key:"9483e2ed54fc623f7ae129808bbd88607c0de1e2",class:{"duet-spinner":!0,[this.size]:!0},style:{color:t},"aria-label":this.accessibleLabel}))}get element(){return n(this)}};m.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}:host(.duet-theme-turva2) .duet-spinner{color:#e61740 !important}';export{p as duet_button,m as duet_spinner}
4
+ import{r as t,c as e,h as o,H as u,g as n}from"./p-c6d073be.js";import{i as r}from"./p-53e6e1da.js";import{a as d,c as i}from"./p-24954951.js";import{a,g as b,c as s,d as l}from"./p-ca32f459.js";import{g as h}from"./p-80bf7a6d.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const p=class{constructor(o){t(this,o),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.proxyButtonSetUp=()=>{const t=this.element.querySelector("button[slot=proxybutton]"),e=t||document.createElement("button");if(this.url)return t&&t.remove(),void(this.proxyButton=null);e.setAttribute("slot","proxybutton"),e.style.display="none",e.type=this.getButtonType(),e.disabled=this.disabled,e.setAttribute("form",this.form),this.form||e.removeAttribute("form"),null!=this.name?e.name=this.name:e.removeAttribute("name"),null!=this.value?e.value=this.value:e.removeAttribute("value"),t||this.element.appendChild(e),this.proxyButton=e},this.handleClick=t=>{this.submit&&!this.url&&(this.element.closest("form")||this.form)&&(t.stopPropagation(),t.preventDefault(),this.proxyButton.click())},this.onFocus=()=>{this.duetFocus.emit()},this.onBlur=()=>{this.duetBlur.emit()},this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.loading=!1,this.variation="default",this.negative=!1,this.theme="",this.margin="auto",this.form=void 0,this.padding="auto",this.centerText=!1,this.wrapping="auto",this.expand=!1,this.fixed=!1,this.disabled=!1,this.name=void 0,this.value=void 0,this.identifier=void 0,this.submit=!1,this.external=!1,this.language=a(),this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.accessibleLabelLoadingDefaults=i,this.accessibleLabelLoading=b(this.accessibleLabelLoadingDefaults),this.icon="",this.color="",this.iconRight=!1,this.iconSize="medium",this.size="medium",this.iconOnly=!1,this.url=void 0}componentWillLoad(){r(this),this.url&&this.external&&this.icon&&console.warn("[DUET]: Button used as an external link will override any icon that is set")}connectedCallback(){s(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])}disconnectedCallback(){l(this)}componentDidRender(){!1===this.disabled&&this.element.removeAttribute("disabled"),this.submit&&this.proxyButtonSetUp()}getButtonType(){return this.submit?"submit":"button"}getButtonIconSize(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":default:return"medium";case"large":return"large"}}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){var t,e;const n=this.external&&this.url,r=n?"action-new-window":this.icon,d=!!n||this.iconRight,i=o("span",{key:"4b6618222c037ec329c118f7ad247b9fd514e878",class:{"duet-button-contents":!0,"icon-right":d},style:{color:h(this.color,this.theme)}},r&&o("span",{key:"67492c9b50231879ba232f7c6bcdadcb2d219875","aria-hidden":"true",class:{"duet-button-icon":!0,left:!d,right:d,[this.getButtonIconSize()]:!0}},o("duet-icon",{key:"fce0630d78df187c2a7f3946ff3d262c43e5ce95",size:"auto",margin:"none",name:r,color:"currentColor"})),o("span",{key:"34d608211bac6921c4aec51f71a9b33e2ac2b7b0",class:"duet-button-contents-slot"},o("slot",{key:"b2478d851993c148be6a83a76f9f725469bc9944"}))),a="medium"==this.size||"small"==this.size||"x-small"==this.size?this.size:"medium",b={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeButton=t,id:this.identifier,class:{"duet-m-0":"none"===this.margin,"duet-p-0":"none"===this.padding,"duet-no-wrap":"none"===this.wrapping,"duet-button":!0,"duet-button-is-small":"small"===this.size,[`duet-button-size-${a}`]:!0,"duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0,"input-button":null===(t=this.variation)||void 0===t?void 0:t.startsWith("input-button"),disabled:this.disabled,icon:!!r,"icon-right":d,"icon-left":!!r&&!d,[this.getButtonIconSize()]:!0},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(u,{key:"c70e2d9cbe884c7b6cc3012721f01ce6d54b4555",class:{"duet-m-0":"none"===this.margin,"duet-small":"small"===this.size,"duet-x-small":"x-small"===this.size,"duet-fixed":this.fixed,"duet-expand":this.expand,[this.variation]:!0,"input-button":null===(e=this.variation)||void 0===e?void 0:e.startsWith("input-button")}},o("span",{key:"c8be7792d2ae572befbfbe921a3ec453c073637d",onClick:this.handleClick,class:{"duet-button-container":!0,"duet-button-is-loading":this.loading,"duet-theme-turva":"turva"===this.theme,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0}},this.url?o("a",Object.assign({},b,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":void 0}),i,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},b,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,"aria-disabled":this.disabled}),i,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{key:"da956cda627d2afc5084ee69629b54ffabcb672b",color:"currentColor"})),o("slot",{key:"0ead01a475d6242c0049a259f9b9c725830d4b80",name:"proxybutton"}))}get element(){return n(this)}};p.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:#8c001e !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:#5f7a8f !important;background:transparent !important;border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#7891a4 !important;cursor:not-allowed;background:#d4dde2 !important;border-color:#d4dde2 !important;outline-color:#d4dde2 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}';const m=class{constructor(e){t(this,e),this.accessibleLabel=void 0,this.color="gray-lightest",this.size="small",this.theme=""}componentWillLoad(){r(this)}render(){const t="currentColor"===this.color?"currentColor":h(this.color);return o(u,{key:"feb500dd4e62ad66f8d1caed2c882a89acddc938",class:{"duet-custom-color":"currentColor"!==this.color&&"turva"!==this.theme&&"default"!==this.theme,"duet-theme-turva":"turva"===this.theme&&"currentColor"!==this.color,"duet-theme-default":"default"===this.theme&&"currentColor"!==this.color}},o("div",{key:"9483e2ed54fc623f7ae129808bbd88607c0de1e2",class:{"duet-spinner":!0,[this.size]:!0},style:{color:t},"aria-label":this.accessibleLabel}))}get element(){return n(this)}};m.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}:host(.duet-theme-turva2) .duet-spinner{color:#e61740 !important}';export{p as duet_button,m as duet_spinner}