@duetds/components 9.7.2 → 9.8.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 (721) hide show
  1. package/hydrate/index.js +147 -142
  2. package/lib/cjs/{a11y-utils-ae1e63c4.js → a11y-utils-a2456285.js} +1 -1
  3. package/lib/cjs/{app-globals-540cd51d.js → app-globals-d1845172.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -9
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +46 -42
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -9
  52. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -6
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  86. package/lib/cjs/duet.cjs.js +3 -3
  87. package/lib/cjs/{errorcodes.utils-b47aaa45.js → errorcodes.utils-f65f1fe3.js} +1 -1
  88. package/lib/cjs/{floating-ui.dom.esm-806e7c53.js → floating-ui.dom.esm-bdde8521.js} +50 -27
  89. package/lib/cjs/{focus-utils-c4163f8f.js → focus-utils-923b8b88.js} +1 -1
  90. package/lib/cjs/{index-00821d28.js → index-3d8a31a0.js} +1 -1
  91. package/lib/cjs/{language-utils-77bf1c27.js → language-utils-53bb7035.js} +1 -1
  92. package/lib/cjs/loader.cjs.js +3 -3
  93. package/lib/cjs/{slot-utils-55f6a689.js → slot-utils-f85c14a2.js} +1 -1
  94. package/lib/cjs/{token-utils-12717808.js → token-utils-6258d3f7.js} +1 -1
  95. package/lib/cjs/{tokens-57e06fe4.js → tokens-e6fda5ee.js} +2 -3
  96. package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-a7c77c13.js} +2 -2
  97. package/lib/cjs/{watch-options-30a12622.js → watch-options-31527e7b.js} +0 -20
  98. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  99. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  100. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  101. package/lib/collection/components/duet-button/duet-button.js +5 -5
  102. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  103. package/lib/collection/components/duet-card/duet-card.js +3 -3
  104. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  105. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  106. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  109. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  111. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  112. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  113. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  116. package/lib/collection/components/duet-grid/duet-grid.js +50 -49
  117. package/lib/collection/components/duet-header/duet-header.js +15 -15
  118. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  119. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  120. package/lib/collection/components/duet-input/duet-input.js +8 -8
  121. package/lib/collection/components/duet-label/duet-label.js +2 -2
  122. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  123. package/lib/collection/components/duet-link/duet-link.css +33 -11
  124. package/lib/collection/components/duet-link/duet-link.js +4 -3
  125. package/lib/collection/components/duet-list/duet-list.js +3 -3
  126. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  127. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  128. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
  129. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  130. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  131. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  132. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  133. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  134. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  135. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  136. package/lib/collection/components/duet-phone-input/duet-phone-input.js +4 -4
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +9 -6
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  139. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  140. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  141. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  142. package/lib/collection/components/duet-select/duet-select.js +5 -5
  143. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  144. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  145. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  146. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  147. package/lib/collection/components/duet-step/duet-step.js +2 -2
  148. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  149. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  150. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  151. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  152. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -2
  153. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  154. package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -2
  155. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  156. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  157. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  158. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  159. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  160. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  161. package/lib/dist-custom-elements/duet-alert.js +1 -1
  162. package/lib/dist-custom-elements/duet-badge.js +1 -1
  163. package/lib/dist-custom-elements/duet-banner.js +4 -4
  164. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  165. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  166. package/lib/dist-custom-elements/duet-button.js +1 -1
  167. package/lib/dist-custom-elements/duet-callout.js +2 -2
  168. package/lib/dist-custom-elements/duet-caption.js +1 -1
  169. package/lib/dist-custom-elements/duet-card.js +4 -4
  170. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  171. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  172. package/lib/dist-custom-elements/duet-chip.js +1 -1
  173. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  174. package/lib/dist-custom-elements/duet-choice.js +4 -4
  175. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  176. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  177. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  178. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  179. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  180. package/lib/dist-custom-elements/duet-divider.js +1 -1
  181. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  182. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  183. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  184. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  185. package/lib/dist-custom-elements/duet-footer.js +7 -7
  186. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  187. package/lib/dist-custom-elements/duet-grid.js +1 -1
  188. package/lib/dist-custom-elements/duet-header.js +9 -9
  189. package/lib/dist-custom-elements/duet-heading.js +1 -1
  190. package/lib/dist-custom-elements/duet-hero.js +9 -9
  191. package/lib/dist-custom-elements/duet-icon.js +1 -1
  192. package/lib/dist-custom-elements/duet-input.js +1 -1
  193. package/lib/dist-custom-elements/duet-label.js +1 -1
  194. package/lib/dist-custom-elements/duet-layout.js +1 -1
  195. package/lib/dist-custom-elements/duet-link.js +1 -1
  196. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  197. package/lib/dist-custom-elements/duet-list.js +1 -1
  198. package/lib/dist-custom-elements/duet-logo.js +1 -1
  199. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  200. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  201. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  202. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  203. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  204. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  205. package/lib/dist-custom-elements/duet-modal.js +8 -8
  206. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  207. package/lib/dist-custom-elements/duet-nav.js +1 -1
  208. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  209. package/lib/dist-custom-elements/duet-notification.js +2 -2
  210. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  211. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  212. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  213. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  214. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  215. package/lib/dist-custom-elements/duet-phone-input.js +16 -16
  216. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  217. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  218. package/lib/dist-custom-elements/duet-progress.js +1 -1
  219. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  220. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  221. package/lib/dist-custom-elements/duet-radio.js +1 -1
  222. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  223. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  224. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  225. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  226. package/lib/dist-custom-elements/duet-select.js +1 -1
  227. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  228. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  229. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  230. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  231. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  232. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  233. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  234. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  235. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  236. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  237. package/lib/dist-custom-elements/duet-step.js +4 -4
  238. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  239. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  240. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  241. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  242. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  243. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  244. package/lib/dist-custom-elements/duet-tab-group.js +7 -7
  245. package/lib/dist-custom-elements/duet-tab.js +2 -2
  246. package/lib/dist-custom-elements/duet-table.js +1 -1
  247. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  248. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  249. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  250. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  251. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  252. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  253. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  254. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  255. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  256. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  257. package/lib/dist-custom-elements/duet-tray.js +6 -6
  258. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  259. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  260. package/lib/dist-custom-elements/duet-upload.js +20 -20
  261. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  262. package/lib/dist-custom-elements/index.js +1 -1
  263. package/lib/dist-custom-elements/{p-cc3db4b5.js → p-04762e09.js} +3 -3
  264. package/lib/dist-custom-elements/{p-294be03e.js → p-0d73c2f1.js} +47 -44
  265. package/lib/dist-custom-elements/{p-b2209719.js → p-0e65f2d7.js} +10 -10
  266. package/lib/dist-custom-elements/{p-f2c2f3d2.js → p-0e694c06.js} +1 -1
  267. package/lib/dist-custom-elements/{p-ef48f2c7.js → p-153359ff.js} +1 -1
  268. package/lib/dist-custom-elements/{p-2f35ab6d.js → p-2a6040d0.js} +5 -5
  269. package/lib/dist-custom-elements/{p-2c553cff.js → p-30c1366b.js} +2 -2
  270. package/lib/dist-custom-elements/{p-cc4d7cd3.js → p-30ef95ec.js} +2 -2
  271. package/lib/dist-custom-elements/{p-8dc35603.js → p-31dbfae1.js} +7 -6
  272. package/lib/dist-custom-elements/{p-5830b545.js → p-364b7287.js} +2 -2
  273. package/lib/dist-custom-elements/{p-60321ce4.js → p-3c4c4976.js} +2 -2
  274. package/lib/dist-custom-elements/{p-65a2c6d6.js → p-40ede289.js} +5 -5
  275. package/lib/dist-custom-elements/{p-90074c50.js → p-4365799e.js} +5 -4
  276. package/lib/dist-custom-elements/{p-198d7866.js → p-498c5db1.js} +2 -2
  277. package/lib/dist-custom-elements/{p-d8dddc51.js → p-4e2c2dde.js} +5 -5
  278. package/lib/dist-custom-elements/{p-521ea41a.js → p-5330f4d6.js} +2 -2
  279. package/lib/dist-custom-elements/{p-92f53ff1.js → p-5980607d.js} +1 -1
  280. package/lib/dist-custom-elements/{p-5c9414bb.js → p-59a8e5d4.js} +1 -1
  281. package/lib/dist-custom-elements/{p-30c909e0.js → p-614647ec.js} +2 -2
  282. package/lib/dist-custom-elements/{p-28e818db.js → p-685e9f01.js} +3 -3
  283. package/lib/dist-custom-elements/{p-4c179c1e.js → p-6f42296b.js} +2 -2
  284. package/lib/dist-custom-elements/{p-fcea7cb2.js → p-7247730a.js} +10 -10
  285. package/lib/dist-custom-elements/{p-6e022235.js → p-77260ba8.js} +1 -1
  286. package/lib/dist-custom-elements/{p-f0e6f0d8.js → p-7fc5f0dc.js} +1 -1
  287. package/lib/{esm/watch-options-e96ecd92.js → dist-custom-elements/p-8a5bd61a.js} +1 -20
  288. package/lib/dist-custom-elements/{p-9cd492a4.js → p-8d795f62.js} +2 -2
  289. package/lib/dist-custom-elements/{p-821b01b0.js → p-991fa955.js} +3 -3
  290. package/lib/dist-custom-elements/{p-3c061dcb.js → p-9978e596.js} +1 -1
  291. package/lib/dist-custom-elements/{p-d383dac5.js → p-9a109585.js} +56 -33
  292. package/lib/dist-custom-elements/{p-3e0e12ca.js → p-9e65e6c5.js} +4 -4
  293. package/lib/dist-custom-elements/{p-bb35f7e7.js → p-a80179a7.js} +1 -1
  294. package/lib/dist-custom-elements/{p-b16d3074.js → p-ad18c534.js} +20 -17
  295. package/lib/dist-custom-elements/{p-1b9771cc.js → p-b29b6605.js} +2 -2
  296. package/lib/dist-custom-elements/{p-a42d6be2.js → p-b78caef0.js} +7 -7
  297. package/lib/dist-custom-elements/{p-874675e6.js → p-c4fbeffc.js} +1 -1
  298. package/lib/dist-custom-elements/{p-4ce79667.js → p-c824afc6.js} +2 -2
  299. package/lib/dist-custom-elements/{p-3fda4c4e.js → p-c8aa0c8c.js} +8 -8
  300. package/lib/dist-custom-elements/{p-931ac5ac.js → p-d0fa2af7.js} +2 -2
  301. package/lib/dist-custom-elements/{p-f6000a03.js → p-d32bd233.js} +3 -3
  302. package/lib/dist-custom-elements/{p-9b364696.js → p-dda43548.js} +1 -1
  303. package/lib/dist-custom-elements/{p-e9121d56.js → p-e3decce6.js} +2 -2
  304. package/lib/dist-custom-elements/{p-e096b297.js → p-eafee3ad.js} +5 -5
  305. package/lib/dist-custom-elements/{p-1bc9fed2.js → p-ebecd579.js} +2 -2
  306. package/lib/dist-custom-elements/{p-ac057b32.js → p-f0d133ad.js} +2 -2
  307. package/lib/duet/duet.esm.js +1 -1
  308. package/lib/duet/duet.js +1 -1
  309. package/lib/duet/{p-69e3ec89.entry.js → p-00eead31.entry.js} +1 -1
  310. package/lib/duet/p-00feb58c.system.entry.js +4 -0
  311. package/lib/duet/{p-fee19c9f.entry.js → p-01182f5e.entry.js} +1 -1
  312. package/lib/duet/{p-c760a6bc.system.entry.js → p-018b754d.system.entry.js} +1 -1
  313. package/lib/duet/{p-91d4e473.entry.js → p-01c72f8e.entry.js} +1 -1
  314. package/lib/duet/{p-2e66d74b.entry.js → p-02ce78c7.entry.js} +1 -1
  315. package/lib/duet/{p-4952116e.entry.js → p-02ea4090.entry.js} +1 -1
  316. package/lib/duet/{p-b49e5c58.system.entry.js → p-038e3b41.system.entry.js} +1 -1
  317. package/lib/duet/{p-4853837e.system.entry.js → p-03ec5f79.system.entry.js} +1 -1
  318. package/lib/duet/{p-142afd63.entry.js → p-03ff933b.entry.js} +1 -1
  319. package/lib/duet/{p-56ad7189.system.js → p-058dde3c.system.js} +1 -1
  320. package/lib/duet/{p-d384e575.entry.js → p-09bd9f19.entry.js} +1 -1
  321. package/lib/duet/{p-7fed5b14.system.entry.js → p-09cb29f2.system.entry.js} +1 -1
  322. package/lib/duet/{p-f8314996.system.entry.js → p-0aaa3c39.system.entry.js} +1 -1
  323. package/lib/duet/{p-f6cbe5d9.system.entry.js → p-0c8421f5.system.entry.js} +1 -1
  324. package/lib/duet/{p-ba08c98a.entry.js → p-0fa57cb4.entry.js} +1 -1
  325. package/lib/duet/{p-9a43132b.system.js → p-122d1eb2.system.js} +1 -1
  326. package/lib/duet/{p-facb3115.entry.js → p-13381697.entry.js} +1 -1
  327. package/lib/duet/{p-1004af75.js → p-17efced0.js} +1 -1
  328. package/lib/duet/{p-9c75c38d.entry.js → p-198b651e.entry.js} +1 -1
  329. package/lib/duet/{p-e51d65c9.entry.js → p-1b7c607c.entry.js} +1 -1
  330. package/lib/duet/{p-229649f1.system.entry.js → p-1d5686e9.system.entry.js} +2 -2
  331. package/lib/duet/{p-f11db08e.system.entry.js → p-1d81cad7.system.entry.js} +1 -1
  332. package/lib/duet/{p-744b8ee1.js → p-1ebe06b3.js} +1 -1
  333. package/lib/duet/{p-14857c6a.system.entry.js → p-22ab9afa.system.entry.js} +1 -1
  334. package/lib/duet/{p-171a126f.entry.js → p-242b4466.entry.js} +1 -1
  335. package/lib/duet/{p-6d0be00f.entry.js → p-26095d4c.entry.js} +1 -1
  336. package/lib/duet/{p-25caa9f7.entry.js → p-26ec4dbe.entry.js} +1 -1
  337. package/lib/duet/{p-bf9205ac.system.entry.js → p-2cd44aef.system.entry.js} +1 -1
  338. package/lib/duet/{p-64a9d71c.system.entry.js → p-2f2954b2.system.entry.js} +1 -1
  339. package/lib/duet/{p-b562ad7e.entry.js → p-315b2470.entry.js} +1 -1
  340. package/lib/duet/p-32c98c69.system.entry.js +4 -0
  341. package/lib/duet/{p-f2ccd2cc.system.entry.js → p-34a25d95.system.entry.js} +1 -1
  342. package/lib/duet/{p-101d8dd9.system.entry.js → p-35d29de1.system.entry.js} +1 -1
  343. package/lib/duet/{p-e4d173cc.entry.js → p-35ef7ec4.entry.js} +1 -1
  344. package/lib/duet/p-36ea2c29.entry.js +4 -0
  345. package/lib/duet/{p-b40ce0fa.entry.js → p-36f4e631.entry.js} +1 -1
  346. package/lib/duet/{p-cab23b7f.entry.js → p-3848cdc3.entry.js} +1 -1
  347. package/lib/duet/{p-22a75312.entry.js → p-3e748a32.entry.js} +1 -1
  348. package/lib/duet/{p-9eb022e9.system.entry.js → p-40c929c7.system.entry.js} +1 -1
  349. package/lib/duet/{p-fcafbcd4.entry.js → p-40de9bfa.entry.js} +1 -1
  350. package/lib/duet/p-411366b0.system.js +4 -0
  351. package/lib/duet/{p-905072e0.entry.js → p-41b3ba17.entry.js} +1 -1
  352. package/lib/duet/{p-9c155069.system.entry.js → p-451b4abc.system.entry.js} +1 -1
  353. package/lib/duet/{p-d9e3c5d3.entry.js → p-457fc76a.entry.js} +1 -1
  354. package/lib/duet/{p-e80dd41f.system.entry.js → p-47c86331.system.entry.js} +1 -1
  355. package/lib/duet/{p-ebb8d192.entry.js → p-4ed96d6a.entry.js} +1 -1
  356. package/lib/duet/{p-c3e52ce9.system.entry.js → p-52a7b68f.system.entry.js} +1 -1
  357. package/lib/duet/{p-b75e6fd7.entry.js → p-575df633.entry.js} +1 -1
  358. package/lib/duet/{p-5e0654cc.system.js → p-57dbe566.system.js} +1 -1
  359. package/lib/duet/{p-0511fd26.system.js → p-585fb676.system.js} +1 -1
  360. package/lib/duet/{p-9bd3407d.system.entry.js → p-58c9bd19.system.entry.js} +1 -1
  361. package/lib/duet/{p-d3bde4cc.system.entry.js → p-5939ca51.system.entry.js} +1 -1
  362. package/lib/duet/{p-44b36dbf.js → p-5c1cada7.js} +1 -1
  363. package/lib/duet/{p-db9ef24f.system.entry.js → p-5c732e81.system.entry.js} +1 -1
  364. package/lib/duet/{p-4d3c01fa.system.entry.js → p-5cce55d7.system.entry.js} +1 -1
  365. package/lib/duet/p-5de30279.js +4 -0
  366. package/lib/duet/p-5ee5540a.js +4 -0
  367. package/lib/duet/{p-3b4f6e4b.entry.js → p-5eee138b.entry.js} +1 -1
  368. package/lib/duet/{p-bf0f7acd.entry.js → p-5f13e48c.entry.js} +1 -1
  369. package/lib/duet/{p-820937d1.system.entry.js → p-5f38327e.system.entry.js} +1 -1
  370. package/lib/duet/{p-c2a22f7e.entry.js → p-5fdc84cf.entry.js} +1 -1
  371. package/lib/duet/{p-8097eb44.entry.js → p-5fef7caf.entry.js} +1 -1
  372. package/lib/duet/{p-6f415c0f.system.entry.js → p-5ff67999.system.entry.js} +1 -1
  373. package/lib/duet/p-600b6b9f.entry.js +4 -0
  374. package/lib/duet/{p-ce1ee182.entry.js → p-630e7601.entry.js} +1 -1
  375. package/lib/duet/{p-185cd6bd.system.entry.js → p-630fd37d.system.entry.js} +1 -1
  376. package/lib/duet/{p-c3a69e37.js → p-63675f5c.js} +1 -1
  377. package/lib/duet/{p-ef731dfb.system.js → p-64959c1d.system.js} +1 -1
  378. package/lib/duet/{p-1d94d37d.system.entry.js → p-64f9793b.system.entry.js} +1 -1
  379. package/lib/duet/{p-1d32c95c.system.entry.js → p-6722009a.system.entry.js} +1 -1
  380. package/lib/duet/{p-f64e1189.system.entry.js → p-67cccb20.system.entry.js} +1 -1
  381. package/lib/duet/{p-706f68c0.entry.js → p-6dcdd126.entry.js} +1 -1
  382. package/lib/duet/{p-c0137b84.system.entry.js → p-6e2b62bf.system.entry.js} +1 -1
  383. package/lib/duet/{p-fd3af4d2.entry.js → p-700a2c3e.entry.js} +1 -1
  384. package/lib/duet/{p-1b031645.system.entry.js → p-71639b6e.system.entry.js} +1 -1
  385. package/lib/duet/{p-c4204738.entry.js → p-7186b899.entry.js} +1 -1
  386. package/lib/duet/{p-10e56ab2.entry.js → p-71c75b42.entry.js} +1 -1
  387. package/lib/duet/{p-32a2d722.entry.js → p-71fe9d70.entry.js} +1 -1
  388. package/lib/duet/{p-1515a887.entry.js → p-72ce083f.entry.js} +1 -1
  389. package/lib/duet/{p-0b3cb828.system.entry.js → p-739a8ad7.system.entry.js} +1 -1
  390. package/lib/duet/{p-5ede36ae.entry.js → p-7476c2a6.entry.js} +1 -1
  391. package/lib/duet/{p-926266f1.system.entry.js → p-760c9e95.system.entry.js} +2 -2
  392. package/lib/duet/{p-1c2eb6d0.system.entry.js → p-77163df8.system.entry.js} +1 -1
  393. package/lib/duet/{p-74331989.system.entry.js → p-799a3c7b.system.entry.js} +1 -1
  394. package/lib/duet/{p-bd6a9171.system.entry.js → p-7bd75507.system.entry.js} +1 -1
  395. package/lib/duet/{p-7a2f8df9.entry.js → p-7ff31aac.entry.js} +1 -1
  396. package/lib/duet/{p-6372e73b.entry.js → p-801fd1e1.entry.js} +1 -1
  397. package/lib/duet/{p-f1ba5666.system.entry.js → p-80b1d485.system.entry.js} +1 -1
  398. package/lib/duet/{p-776ed377.system.entry.js → p-815520c1.system.entry.js} +1 -1
  399. package/lib/duet/{p-54188be3.system.entry.js → p-83114a6d.system.entry.js} +1 -1
  400. package/lib/duet/{p-e7185338.entry.js → p-834cbeea.entry.js} +1 -1
  401. package/lib/duet/{p-50a13103.system.entry.js → p-86b908de.system.entry.js} +1 -1
  402. package/lib/duet/{p-c44b5ed2.system.entry.js → p-8a388f5b.system.entry.js} +1 -1
  403. package/lib/duet/p-8a5bd61a.js +4 -0
  404. package/lib/duet/{p-f2d5c69e.system.js → p-90dad2bc.system.js} +1 -1
  405. package/lib/duet/{p-a2fa6a72.system.entry.js → p-9141866f.system.entry.js} +1 -1
  406. package/lib/duet/{p-3bb14438.entry.js → p-933894b9.entry.js} +1 -1
  407. package/lib/duet/{p-7cb195ba.entry.js → p-946b9f45.entry.js} +1 -1
  408. package/lib/duet/p-9508ee67.system.js +4 -0
  409. package/lib/duet/{p-6cbe31c3.system.entry.js → p-97b94b88.system.entry.js} +1 -1
  410. package/lib/duet/{p-453f791b.system.entry.js → p-97ff0a20.system.entry.js} +1 -1
  411. package/lib/duet/{p-4f0be726.system.entry.js → p-985a89d4.system.entry.js} +1 -1
  412. package/lib/duet/{p-1144fc8e.system.entry.js → p-9b2636f0.system.entry.js} +1 -1
  413. package/lib/duet/p-9d336f77.system.js +4 -0
  414. package/lib/duet/{p-495e7223.system.entry.js → p-9edfcaf6.system.entry.js} +1 -1
  415. package/lib/duet/{p-db36e60c.entry.js → p-a0703d11.entry.js} +1 -1
  416. package/lib/duet/{p-50c18c14.system.js → p-a0a62431.system.js} +1 -1
  417. package/lib/duet/{p-73eb17ac.entry.js → p-a31a969b.entry.js} +1 -1
  418. package/lib/duet/{p-0af2a9fd.entry.js → p-a420b2d1.entry.js} +1 -1
  419. package/lib/duet/{p-ce25bba1.entry.js → p-a438841c.entry.js} +1 -1
  420. package/lib/duet/{p-da4450d1.system.entry.js → p-a671f12e.system.entry.js} +1 -1
  421. package/lib/duet/p-a7a13290.entry.js +4 -0
  422. package/lib/duet/{p-15560f1b.entry.js → p-a9b1974d.entry.js} +1 -1
  423. package/lib/duet/{p-56c617ae.entry.js → p-ab0bf0f4.entry.js} +1 -1
  424. package/lib/duet/p-acb3b427.system.entry.js +4 -0
  425. package/lib/duet/{p-0071a5b9.system.entry.js → p-b0839ac6.system.entry.js} +1 -1
  426. package/lib/duet/{p-a234eaa5.system.entry.js → p-b1242cfd.system.entry.js} +1 -1
  427. package/lib/duet/{p-f6c64bac.entry.js → p-b1a2f837.entry.js} +1 -1
  428. package/lib/duet/{p-dee5d396.system.entry.js → p-b26f5296.system.entry.js} +1 -1
  429. package/lib/duet/{p-2d73a182.entry.js → p-b31efa7d.entry.js} +1 -1
  430. package/lib/duet/{p-579d96f9.system.entry.js → p-b4cfa7bb.system.entry.js} +1 -1
  431. package/lib/duet/{p-f4a74e37.entry.js → p-b53d454b.entry.js} +1 -1
  432. package/lib/duet/{p-ed3748dc.js → p-b54f9b74.js} +1 -1
  433. package/lib/duet/{p-d01c4f4b.entry.js → p-b5d3ae06.entry.js} +1 -1
  434. package/lib/duet/{p-9b7649d6.system.entry.js → p-b5fe55fe.system.entry.js} +1 -1
  435. package/lib/duet/{p-0e883b85.entry.js → p-b7646687.entry.js} +1 -1
  436. package/lib/duet/{p-99e02dad.entry.js → p-b8c6086f.entry.js} +1 -1
  437. package/lib/duet/{p-63fef46e.system.entry.js → p-ba8e2d0a.system.entry.js} +1 -1
  438. package/lib/duet/{p-04f1897d.system.entry.js → p-bb6aee0a.system.entry.js} +1 -1
  439. package/lib/duet/{p-611dd17d.entry.js → p-bbfe0fc7.entry.js} +1 -1
  440. package/lib/duet/{p-24bace56.entry.js → p-bc4acf3c.entry.js} +1 -1
  441. package/lib/duet/{p-792c9b83.system.entry.js → p-bc7d623e.system.entry.js} +1 -1
  442. package/lib/duet/{p-5c8ad4d6.system.entry.js → p-bc923039.system.entry.js} +1 -1
  443. package/lib/duet/{p-8d19eece.entry.js → p-be301324.entry.js} +1 -1
  444. package/lib/duet/{p-afd26f78.entry.js → p-c15b13a7.entry.js} +1 -1
  445. package/lib/duet/{p-d6806be3.system.entry.js → p-c387c23d.system.entry.js} +1 -1
  446. package/lib/duet/p-c854531e.system.entry.js +4 -0
  447. package/lib/duet/{p-3a85f7b2.system.entry.js → p-c8cad658.system.entry.js} +1 -1
  448. package/lib/duet/{p-7f03dd39.entry.js → p-ccfce1f5.entry.js} +1 -1
  449. package/lib/duet/p-cd16c798.system.entry.js +4 -0
  450. package/lib/duet/{p-fff58939.entry.js → p-cd3bd02d.entry.js} +1 -1
  451. package/lib/duet/{p-ae0b5812.entry.js → p-cf66bd19.entry.js} +1 -1
  452. package/lib/duet/p-cfa74eff.js +4 -0
  453. package/lib/duet/{p-33433426.system.entry.js → p-d10be375.system.entry.js} +1 -1
  454. package/lib/duet/{p-7f85afa0.entry.js → p-d21b4ed5.entry.js} +1 -1
  455. package/lib/duet/{p-f6000a03.js → p-d32bd233.js} +1 -1
  456. package/lib/duet/{p-a0e30584.entry.js → p-d6d0230a.entry.js} +1 -1
  457. package/lib/duet/p-d7f543fb.js +4 -0
  458. package/lib/duet/p-d8861775.system.js +4 -0
  459. package/lib/duet/{p-d159fb1f.system.entry.js → p-d8a4ec3a.system.entry.js} +1 -1
  460. package/lib/duet/{p-4118597d.entry.js → p-d8c070da.entry.js} +1 -1
  461. package/lib/duet/p-d997b605.system.js +4 -0
  462. package/lib/duet/p-daf57f21.entry.js +4 -0
  463. package/lib/duet/{p-5475be04.entry.js → p-dc844ded.entry.js} +1 -1
  464. package/lib/duet/{p-a4c84b87.system.entry.js → p-df163adc.system.entry.js} +1 -1
  465. package/lib/duet/p-df6faea3.entry.js +4 -0
  466. package/lib/duet/{p-51e5cc18.system.entry.js → p-e180ccbf.system.entry.js} +1 -1
  467. package/lib/duet/{p-8b570e72.system.entry.js → p-e24cf47d.system.entry.js} +1 -1
  468. package/lib/duet/{p-50551117.system.entry.js → p-e35fa4c0.system.entry.js} +1 -1
  469. package/lib/duet/{p-f51c3456.entry.js → p-e59aa740.entry.js} +1 -1
  470. package/lib/duet/{p-60c66aa9.entry.js → p-e72daab4.entry.js} +1 -1
  471. package/lib/duet/{p-bc20b234.system.entry.js → p-e78deb4d.system.entry.js} +1 -1
  472. package/lib/duet/{p-a7e80b9d.system.entry.js → p-e7ca4c2a.system.entry.js} +1 -1
  473. package/lib/duet/{p-b6f08326.entry.js → p-e80aa07c.entry.js} +1 -1
  474. package/lib/duet/{p-77d28810.system.entry.js → p-e82e56d1.system.entry.js} +1 -1
  475. package/lib/duet/p-e8532ea6.js +4 -0
  476. package/lib/duet/{p-4d7186ca.system.entry.js → p-e981142d.system.entry.js} +1 -1
  477. package/lib/duet/{p-a6e8ceb0.system.entry.js → p-ea419ab1.system.entry.js} +1 -1
  478. package/lib/duet/{p-0217b93f.system.entry.js → p-eac48d1e.system.entry.js} +1 -1
  479. package/lib/duet/{p-2fafdd81.entry.js → p-ec025b1a.entry.js} +1 -1
  480. package/lib/duet/{p-2c7d99df.system.entry.js → p-ec6820d3.system.entry.js} +1 -1
  481. package/lib/duet/{p-7443f659.system.entry.js → p-ee209df1.system.entry.js} +1 -1
  482. package/lib/duet/{p-8b301afb.entry.js → p-ee2ad3a0.entry.js} +1 -1
  483. package/lib/duet/{p-67e6cff0.system.entry.js → p-ef35aa03.system.entry.js} +1 -1
  484. package/lib/duet/{p-5c3f4962.system.entry.js → p-efb38f60.system.entry.js} +2 -2
  485. package/lib/duet/{p-34569fd2.entry.js → p-efdcb86f.entry.js} +1 -1
  486. package/lib/duet/{p-6d5e9383.entry.js → p-f075d310.entry.js} +1 -1
  487. package/lib/duet/{p-5940d019.entry.js → p-f3285f42.entry.js} +1 -1
  488. package/lib/duet/{p-3b2c0995.system.entry.js → p-f46c78c3.system.entry.js} +1 -1
  489. package/lib/duet/{p-05931a12.system.entry.js → p-fa2753c1.system.entry.js} +1 -1
  490. package/lib/duet/{p-f7a870e4.entry.js → p-fc16a9c7.entry.js} +1 -1
  491. package/lib/duet/{p-0bc30861.system.entry.js → p-fc7fd7e4.system.entry.js} +1 -1
  492. package/lib/duet/{p-49ee5283.entry.js → p-fcd270af.entry.js} +1 -1
  493. package/lib/duet/{p-5c870999.entry.js → p-fe1cf73e.entry.js} +1 -1
  494. package/lib/duet/p-fe982640.entry.js +4 -0
  495. package/lib/duet/p-ff1194f7.system.js +4 -0
  496. package/lib/duet/{p-d30e2e4f.system.entry.js → p-ff643468.system.entry.js} +1 -1
  497. package/lib/duet/{p-e874b49c.entry.js → p-ffc592b1.entry.js} +1 -1
  498. package/lib/esm/{a11y-utils-3b7c95b9.js → a11y-utils-02146774.js} +1 -1
  499. package/lib/esm/{app-globals-2c6c1103.js → app-globals-3f3fcf1f.js} +1 -1
  500. package/lib/esm/duet-action-button.entry.js +4 -4
  501. package/lib/esm/duet-alert.entry.js +3 -3
  502. package/lib/esm/duet-badge.entry.js +1 -1
  503. package/lib/esm/duet-banner.entry.js +4 -4
  504. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  505. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  506. package/lib/esm/duet-button_2.entry.js +4 -4
  507. package/lib/esm/duet-callout.entry.js +2 -2
  508. package/lib/esm/duet-caption_4.entry.js +10 -9
  509. package/lib/esm/duet-card.entry.js +4 -4
  510. package/lib/esm/duet-checkbox.entry.js +1 -1
  511. package/lib/esm/duet-checkmark.entry.js +1 -1
  512. package/lib/esm/duet-chip.entry.js +2 -2
  513. package/lib/esm/duet-choice_2.entry.js +3 -3
  514. package/lib/esm/duet-collapsible.entry.js +3 -3
  515. package/lib/esm/duet-combobox.entry.js +3 -3
  516. package/lib/esm/duet-contact-card.entry.js +2 -2
  517. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  518. package/lib/esm/duet-date-picker.entry.js +4 -4
  519. package/lib/esm/duet-divider_2.entry.js +3 -3
  520. package/lib/esm/duet-editable-table_3.entry.js +5 -5
  521. package/lib/esm/duet-empty-state.entry.js +1 -1
  522. package/lib/esm/duet-fieldset.entry.js +2 -2
  523. package/lib/esm/duet-file-chooser.entry.js +1 -1
  524. package/lib/esm/duet-footer.entry.js +3 -3
  525. package/lib/esm/duet-grid_2.entry.js +46 -42
  526. package/lib/esm/duet-header_2.entry.js +4 -4
  527. package/lib/esm/duet-hero.entry.js +3 -3
  528. package/lib/esm/duet-icon.entry.js +3 -3
  529. package/lib/esm/duet-input_2.entry.js +5 -5
  530. package/lib/esm/duet-layout.entry.js +2 -2
  531. package/lib/esm/duet-list_2.entry.js +2 -2
  532. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  533. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  534. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  535. package/lib/esm/duet-menu-bar-item.entry.js +4 -4
  536. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  537. package/lib/esm/duet-menu-bar.entry.js +3 -3
  538. package/lib/esm/duet-modal.entry.js +4 -4
  539. package/lib/esm/duet-multiselect.entry.js +3 -3
  540. package/lib/esm/duet-nav.entry.js +1 -1
  541. package/lib/esm/duet-notification_2.entry.js +2 -2
  542. package/lib/esm/duet-number-input.entry.js +3 -3
  543. package/lib/esm/duet-overlay.entry.js +1 -1
  544. package/lib/esm/duet-page-heading.entry.js +1 -1
  545. package/lib/esm/duet-pagination_2.entry.js +4 -4
  546. package/lib/esm/duet-phone-input.entry.js +3 -3
  547. package/lib/esm/duet-popup-menu_2.entry.js +12 -9
  548. package/lib/esm/duet-progress.entry.js +2 -2
  549. package/lib/esm/duet-promo-card.entry.js +4 -4
  550. package/lib/esm/duet-radio_2.entry.js +3 -3
  551. package/lib/esm/duet-range-slider.entry.js +2 -2
  552. package/lib/esm/duet-scrollable_3.entry.js +5 -5
  553. package/lib/esm/duet-section-layout.entry.js +1 -1
  554. package/lib/esm/duet-select.entry.js +2 -2
  555. package/lib/esm/duet-shaped-image.entry.js +1 -1
  556. package/lib/esm/duet-show-more.entry.js +2 -2
  557. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  558. package/lib/esm/duet-slideout-link.entry.js +4 -4
  559. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  560. package/lib/esm/duet-slideout-panel.entry.js +6 -6
  561. package/lib/esm/duet-slideout.entry.js +6 -6
  562. package/lib/esm/duet-status-icon.entry.js +2 -2
  563. package/lib/esm/duet-step_2.entry.js +1 -1
  564. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  565. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  566. package/lib/esm/duet-submenu-bar-item.entry.js +4 -4
  567. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  568. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  569. package/lib/esm/duet-textarea.entry.js +3 -3
  570. package/lib/esm/duet-toggle.entry.js +1 -1
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  573. package/lib/esm/duet-toolbar-item.entry.js +4 -4
  574. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  575. package/lib/esm/duet-toolbar.entry.js +1 -1
  576. package/lib/esm/duet-tooltip-button_2.entry.js +7 -6
  577. package/lib/esm/duet-tooltip.entry.js +4 -4
  578. package/lib/esm/duet-tray.entry.js +5 -5
  579. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  580. package/lib/esm/duet-upload-item.entry.js +3 -3
  581. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  582. package/lib/esm/duet.js +4 -4
  583. package/lib/esm/{errorcodes.utils-86af68b7.js → errorcodes.utils-0b711abe.js} +1 -1
  584. package/lib/esm/{floating-ui.dom.esm-ebc91b33.js → floating-ui.dom.esm-ef361ca5.js} +50 -27
  585. package/lib/esm/{focus-utils-9bbe977f.js → focus-utils-59c3798e.js} +1 -1
  586. package/lib/esm/{index-a830b2de.js → index-dd60f5fc.js} +1 -1
  587. package/lib/esm/{language-utils-40caac4f.js → language-utils-47475a59.js} +1 -1
  588. package/lib/esm/loader.js +4 -4
  589. package/lib/esm/{slot-utils-a481f2c6.js → slot-utils-205a8937.js} +1 -1
  590. package/lib/esm/{token-utils-a32eb753.js → token-utils-7360bb84.js} +1 -1
  591. package/lib/esm/{tokens-84fb2357.js → tokens-85fb95d1.js} +3 -3
  592. package/lib/esm/{tokens.module-a746651a.js → tokens.module-821694bb.js} +2 -2
  593. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-e22542d2.js} +1 -20
  594. package/lib/esm-es5/{a11y-utils-3b7c95b9.js → a11y-utils-02146774.js} +1 -1
  595. package/lib/esm-es5/{app-globals-2c6c1103.js → app-globals-3f3fcf1f.js} +1 -1
  596. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  597. package/lib/esm-es5/duet-alert.entry.js +1 -1
  598. package/lib/esm-es5/duet-badge.entry.js +1 -1
  599. package/lib/esm-es5/duet-banner.entry.js +1 -1
  600. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  601. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  602. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  603. package/lib/esm-es5/duet-callout.entry.js +1 -1
  604. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  605. package/lib/esm-es5/duet-card.entry.js +1 -1
  606. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  607. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  608. package/lib/esm-es5/duet-chip.entry.js +1 -1
  609. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  610. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  611. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  612. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  613. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  614. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  615. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  616. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  617. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  618. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  619. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  620. package/lib/esm-es5/duet-footer.entry.js +1 -1
  621. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  622. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-hero.entry.js +1 -1
  624. package/lib/esm-es5/duet-icon.entry.js +1 -1
  625. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  626. package/lib/esm-es5/duet-layout.entry.js +1 -1
  627. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  630. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  631. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  632. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  633. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  634. package/lib/esm-es5/duet-modal.entry.js +1 -1
  635. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  636. package/lib/esm-es5/duet-nav.entry.js +1 -1
  637. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  638. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  639. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  640. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  641. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  642. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  643. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-progress.entry.js +1 -1
  645. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  646. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  648. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  649. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  650. package/lib/esm-es5/duet-select.entry.js +1 -1
  651. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  652. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  653. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  654. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  655. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  656. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  657. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  658. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  659. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  660. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  661. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  662. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  663. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  664. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  665. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  666. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  667. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  668. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  669. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  670. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  671. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  672. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  673. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  674. package/lib/esm-es5/duet-tray.entry.js +1 -1
  675. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  676. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  677. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  678. package/lib/esm-es5/duet.js +1 -1
  679. package/lib/esm-es5/{errorcodes.utils-86af68b7.js → errorcodes.utils-0b711abe.js} +1 -1
  680. package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +4 -0
  681. package/lib/esm-es5/focus-utils-59c3798e.js +4 -0
  682. package/lib/esm-es5/{index-a830b2de.js → index-dd60f5fc.js} +1 -1
  683. package/lib/esm-es5/{language-utils-40caac4f.js → language-utils-47475a59.js} +1 -1
  684. package/lib/esm-es5/loader.js +1 -1
  685. package/lib/esm-es5/{slot-utils-a481f2c6.js → slot-utils-205a8937.js} +1 -1
  686. package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-7360bb84.js} +1 -1
  687. package/lib/esm-es5/{tokens-84fb2357.js → tokens-85fb95d1.js} +1 -1
  688. package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-821694bb.js} +1 -1
  689. package/lib/esm-es5/watch-options-e22542d2.js +4 -0
  690. package/lib/types/common-types.d.ts +1 -1
  691. package/lib/types/components/duet-grid/duet-grid.d.ts +4 -4
  692. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -1
  693. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  694. package/lib/types/components.d.ts +4 -4
  695. package/package.json +4 -4
  696. package/lib/duet/p-055e24d8.system.entry.js +0 -4
  697. package/lib/duet/p-0dc9089b.system.js +0 -4
  698. package/lib/duet/p-10c530d1.js +0 -4
  699. package/lib/duet/p-1cb66641.js +0 -4
  700. package/lib/duet/p-22064e74.entry.js +0 -4
  701. package/lib/duet/p-2683cdc8.entry.js +0 -4
  702. package/lib/duet/p-2e346b26.system.entry.js +0 -4
  703. package/lib/duet/p-4a3dae6f.js +0 -4
  704. package/lib/duet/p-5080b864.system.entry.js +0 -4
  705. package/lib/duet/p-5577da59.system.js +0 -4
  706. package/lib/duet/p-61ac836c.system.js +0 -4
  707. package/lib/duet/p-6e1f8ca5.system.entry.js +0 -4
  708. package/lib/duet/p-718585c1.entry.js +0 -4
  709. package/lib/duet/p-79d7199e.entry.js +0 -4
  710. package/lib/duet/p-7d8a2628.js +0 -4
  711. package/lib/duet/p-81287261.js +0 -4
  712. package/lib/duet/p-81c3bbcc.system.entry.js +0 -4
  713. package/lib/duet/p-a0a5581f.js +0 -4
  714. package/lib/duet/p-a62f7dce.entry.js +0 -4
  715. package/lib/duet/p-afad5fd3.system.js +0 -4
  716. package/lib/duet/p-cbbf6d6a.system.js +0 -4
  717. package/lib/duet/p-dcc6df5e.entry.js +0 -4
  718. package/lib/duet/p-e4c8559c.system.js +0 -4
  719. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  720. package/lib/esm-es5/focus-utils-9bbe977f.js +0 -4
  721. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
@@ -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-44b36dbf.js";import{i as r}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{s as d,u as n}from"./p-a45e3f8b.js";import{g as l,c,d as p}from"./p-744b8ee1.js";import{h}from"./p-1cb66641.js";import"./p-9c3c64b9.js";const u=class{constructor(a){e(this,a),this.duetDismiss=t(this,"duetDismiss",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.descriptiveId=o("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.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=l(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(){r(this),this.hasShowMoreSlot=h(this.element,"show-more")}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){c(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"}),d(this)}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),p(this),n(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(e){this.alertContainer.focus(e)}render(){return a(i,{key:"ae55751444a59a0630329e55f88711761506aa5f",class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":void 0},a("div",{key:"03074d2258592e0ffa63f933f291667050116d87",class:{"duet-alert-wrapper":!0,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[this.variation]:!0,[this.position]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"8a8ba0be00f76fc59c9e6f800ab5e7187c1708d9",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,[this.variation]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"7ea557b2dbf25762a9382fb05a562dd92ba94a0d",class:"duet-alert-container",ref:e=>{this.alertContainer=e},tabindex:this.focusable?"0":void 0},"below-nav"!==this.position&&a("div",{key:"8e1ffa6107c2cd63f831bdfa0d80fdc0565bdfc1",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"0e2cddc6680f121ac6837f426c135d94fec8fd4f",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"22400d9ead5d0d2153077460773ac2dc3b60b0ec",strong:!0,variation:this.variation,margin:"none",size:"auto"})),"below-nav"===this.position&&a("div",{key:"5b40ce74518e3cd6d0bb90d925578b1b8118ca82",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"2be267d6749de5f4ba1694b82c2117b2553834e3",strong:!0,variation:this.variation,margin:"none",size:"auto"})),a("div",{key:"b806ffa20525c37ea87b4e57b5354181fa4cb8ea",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"04956e8168dbd2e3dc200b0c0a4ccd5da3290f2a","aria-expanded":this.isExpanded.toString(),"aria-controls":`${this.descriptiveId}-content`,class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"63ae4a87fbe7e728c81183def7afdf108588f83e",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"fb34541b1a576e13e5505e38a944b03a4799a0cf",name:"action-arrow-down",color:"default"===this.variation?"lt-blue-800":`${this.variation}-800`,margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"05754aa30c0d0f9062047c766c0a1151b4599a26",id:`${this.descriptiveId}-content`},a("slot",{key:"213940d0f233bd4762584448579ad48477d564dd"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"328837aa4a239bdad2e1a63811ccf64d818863b1",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"6200788cc7facca8507701008dfdb22d5034a974",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"0302d1c6d386bdca47034e4e08f694d6dcd64149",class:"duet-alert-dismiss"},a("duet-button",{key:"73c78cce1ec34e97b139d267d7efd56d231a8a95",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",color:"default"===this.variation?"lt-blue-800":`${this.variation}-800`,theme:this.theme,onClick:this.handleDismiss,fixed:!0})))))}get element(){return s(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;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{u as duet_alert}
4
+ import{r as e,c as t,h as a,H as i,g as s}from"./p-5c1cada7.js";import{i as r}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{s as d,u as n}from"./p-a45e3f8b.js";import{g as l,c,d as p}from"./p-1ebe06b3.js";import{h}from"./p-cfa74eff.js";import"./p-9c3c64b9.js";const u=class{constructor(a){e(this,a),this.duetDismiss=t(this,"duetDismiss",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.descriptiveId=o("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.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=l(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(){r(this),this.hasShowMoreSlot=h(this.element,"show-more")}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){c(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"}),d(this)}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),p(this),n(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(e){this.alertContainer.focus(e)}render(){return a(i,{key:"ae55751444a59a0630329e55f88711761506aa5f",class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":void 0},a("div",{key:"03074d2258592e0ffa63f933f291667050116d87",class:{"duet-alert-wrapper":!0,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[this.variation]:!0,[this.position]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"8a8ba0be00f76fc59c9e6f800ab5e7187c1708d9",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,[this.variation]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"7ea557b2dbf25762a9382fb05a562dd92ba94a0d",class:"duet-alert-container",ref:e=>{this.alertContainer=e},tabindex:this.focusable?"0":void 0},"below-nav"!==this.position&&a("div",{key:"8e1ffa6107c2cd63f831bdfa0d80fdc0565bdfc1",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"0e2cddc6680f121ac6837f426c135d94fec8fd4f",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"22400d9ead5d0d2153077460773ac2dc3b60b0ec",strong:!0,variation:this.variation,margin:"none",size:"auto"})),"below-nav"===this.position&&a("div",{key:"5b40ce74518e3cd6d0bb90d925578b1b8118ca82",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"2be267d6749de5f4ba1694b82c2117b2553834e3",strong:!0,variation:this.variation,margin:"none",size:"auto"})),a("div",{key:"b806ffa20525c37ea87b4e57b5354181fa4cb8ea",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"04956e8168dbd2e3dc200b0c0a4ccd5da3290f2a","aria-expanded":this.isExpanded.toString(),"aria-controls":`${this.descriptiveId}-content`,class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"63ae4a87fbe7e728c81183def7afdf108588f83e",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"fb34541b1a576e13e5505e38a944b03a4799a0cf",name:"action-arrow-down",color:"default"===this.variation?"lt-blue-800":`${this.variation}-800`,margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"05754aa30c0d0f9062047c766c0a1151b4599a26",id:`${this.descriptiveId}-content`},a("slot",{key:"213940d0f233bd4762584448579ad48477d564dd"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"328837aa4a239bdad2e1a63811ccf64d818863b1",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"6200788cc7facca8507701008dfdb22d5034a974",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"0302d1c6d386bdca47034e4e08f694d6dcd64149",class:"duet-alert-dismiss"},a("duet-button",{key:"73c78cce1ec34e97b139d267d7efd56d231a8a95",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",color:"default"===this.variation?"lt-blue-800":`${this.variation}-800`,theme:this.theme,onClick:this.handleDismiss,fixed:!0})))))}get element(){return s(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;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{u as duet_alert}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as n}from"./p-44b36dbf.js";import{a}from"./p-f6000a03.js";import{i as r}from"./p-aaa7a7bd.js";import{f as d}from"./p-a45e3f8b.js";const i=class{constructor(t){e(this,t),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.isDesktop=!!this.mql[0].matches},this.onClick=()=>{const e=this.open;if(!this.isDesktop){const e=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const t of e)t.open=!1}this.open=!e},this.isDesktop=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}connectedCallback(){this.checkIsDesktop();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(d(e))if(this.open)this.open=!1;else{const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"1eb547e5709ea63b23354ca9c59b1b19c038c102",role:"listitem"},t("div",{key:"570a652c6c926ccebcb1a9541fd676558a2239a4",class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},t("button",{key:"cb6806df3c0914e15d8b5fdfa96cdaba6b36ad6d",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"3c866f7cb7ccf04b91b02bd01fa4a2e57462bc10",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"a5aa098f80c23566bb2c91b50ce002a36c18a0ba",class:"label"},t("span",{key:"dbc5f7743345200a326a2367107b0b1fa3245ded",class:"label-text"},t("slot",{key:"5da6e5fcef0e333fe29fb08b72696251cb067436",name:"label"})),t("duet-icon",{key:"875a3ffcc5d12b13e2d52fc338373c160f77939a",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"0d53fb12a29c3ef496d588e07565c47bf07c9fee",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"aca1769900ed458bdfd1e8da0bd6cd516b0026db"}))))}get element(){return n(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{i as duet_submenu_bar_dropdown}
4
+ import{r as e,h as t,H as o,g as n}from"./p-5c1cada7.js";import{a}from"./p-d32bd233.js";import{i as r}from"./p-aaa7a7bd.js";import{f as d}from"./p-a45e3f8b.js";const i=class{constructor(t){e(this,t),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.isDesktop=!!this.mql[0].matches},this.onClick=()=>{const e=this.open;if(!this.isDesktop){const e=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const t of e)t.open=!1}this.open=!e},this.isDesktop=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}connectedCallback(){this.checkIsDesktop();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(d(e))if(this.open)this.open=!1;else{const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"1eb547e5709ea63b23354ca9c59b1b19c038c102",role:"listitem"},t("div",{key:"570a652c6c926ccebcb1a9541fd676558a2239a4",class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},t("button",{key:"cb6806df3c0914e15d8b5fdfa96cdaba6b36ad6d",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"3c866f7cb7ccf04b91b02bd01fa4a2e57462bc10",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"a5aa098f80c23566bb2c91b50ce002a36c18a0ba",class:"label"},t("span",{key:"dbc5f7743345200a326a2367107b0b1fa3245ded",class:"label-text"},t("slot",{key:"5da6e5fcef0e333fe29fb08b72696251cb067436",name:"label"})),t("duet-icon",{key:"875a3ffcc5d12b13e2d52fc338373c160f77939a",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"0d53fb12a29c3ef496d588e07565c47bf07c9fee",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"aca1769900ed458bdfd1e8da0bd6cd516b0026db"}))))}get element(){return n(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{i as duet_submenu_bar_dropdown}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as i,h as o,H as e,g as a}from"./p-44b36dbf.js";import{i as n}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a45e3f8b.js";import{g as c,c as h,d as u}from"./p-744b8ee1.js";import{c as b,g as l,s as p}from"./p-10c530d1.js";import"./p-9c3c64b9.js";import"./p-1004af75.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),a=i?p(i,-.1):i,n=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:t=>this.onKeyboardDown(t)},o("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:n}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return a(this)}};m.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";export{m as duet_action_button}
4
+ import{r as t,c as i,h as o,H as e,g as a}from"./p-5c1cada7.js";import{i as n}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a45e3f8b.js";import{g as c,c as h,d as u}from"./p-1ebe06b3.js";import{c as b,g as l,s as p}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),a=i?p(i,-.1):i,n=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:t=>this.onKeyboardDown(t)},o("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:n}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return a(this)}};m.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";export{m as duet_action_button}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f2d5c69e.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.h;n=e.H;i=e.g}],execute:function(){var a=e("duet_upload_aria_status",function(){function e(e){var r=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(r.statusMessageLabel.files):"".concat(e," ").concat(r.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(r.valid)).replace("{filesInProgress}",t(r.inprogress)).replace("{filesTotal}",t(r.total)).replace("{filesWithErrors}",t(r.invalid))};this.getStatusMessage=function(){var e=r.statusMessageLabel,t=e.done,n=e.inProgress,i=e.doneWithErrors,a=e.inProgressWithErrors;var u=r.invalid>0;var s=r.inprogress>0;var l=r.inprogress>0&&u;var f=r.valid===r.total&&!s&&!u;var c=r.valid+r.invalid===r.total&&!s;if(f){r.statusMessage=r.replacePlaceHolders(t);return}else if(l){r.statusMessage=r.replacePlaceHolders(a);return}else if(s){r.statusMessage=r.replacePlaceHolders(n);return}else if(c){r.statusMessage=r.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.render=function(){return r(n,{key:"8948ec63ae13945fc073c3d4f00a6581a31b7912",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},r("duet-visually-hidden",{key:"a38c48be4058bfc510ff185cb29dc4b187c9cbd2"},this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
4
+ System.register(["./p-90dad2bc.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.h;n=e.H;i=e.g}],execute:function(){var a=e("duet_upload_aria_status",function(){function e(e){var r=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(r.statusMessageLabel.files):"".concat(e," ").concat(r.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(r.valid)).replace("{filesInProgress}",t(r.inprogress)).replace("{filesTotal}",t(r.total)).replace("{filesWithErrors}",t(r.invalid))};this.getStatusMessage=function(){var e=r.statusMessageLabel,t=e.done,n=e.inProgress,i=e.doneWithErrors,a=e.inProgressWithErrors;var u=r.invalid>0;var s=r.inprogress>0;var l=r.inprogress>0&&u;var f=r.valid===r.total&&!s&&!u;var c=r.valid+r.invalid===r.total&&!s;if(f){r.statusMessage=r.replacePlaceHolders(t);return}else if(l){r.statusMessage=r.replacePlaceHolders(a);return}else if(s){r.statusMessage=r.replacePlaceHolders(n);return}else if(c){r.statusMessage=r.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.render=function(){return r(n,{key:"6ce7e291bf1692677f53e496f138d73afb4456db",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},r("duet-visually-hidden",{key:"0a0d3e4ebde361712ebe6ccb7a00aa70947e7110"},this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,d){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function u(e){try{r(d.next(e))}catch(e){s(e)}}function n(e){try{r(d["throw"](e))}catch(e){s(e)}}function r(e){e.done?i(e.value):o(e.value).then(u,n)}r((d=d.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},d,o,s,u;return u={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function n(e){return function(t){return r([e,t])}}function r(n){if(d)throw new TypeError("Generator is already executing.");while(u&&(u=0,n[0]&&(i=0)),i)try{if(d=1,o&&(s=n[0]&2?o["return"]:n[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,n[1])).done)return s;if(o=0,s)n=[n[0]&2,s.value];switch(n[0]){case 0:case 1:s=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;o=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!s||n[1]>s[0]&&n[1]<s[3])){i.label=n[1];break}if(n[0]===6&&i.label<s[1]){i.label=s[1];s=n;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(n);break}if(s[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];o=0}finally{d=s=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,i,d,o,s,u,n,r,c;return{setters:[function(e){t=e.r;i=e.c;d=e.h;o=e.H;s=e.g},function(e){u=e.i},function(e){n=e.c},function(e){r=e.s;c=e.u}],execute:function(){var g='*.sc-duet-toggle,*.sc-duet-toggle::after,*.sc-duet-toggle::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-toggle-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-toggle-h:last-child,.sc-duet-toggle-h:last-of-type{margin-right:0 !important}.duet-m-0.sc-duet-toggle-h{margin:0 !important}duet-label.sc-duet-toggle{display:block !important;width:100% !important}.duet-side-label.sc-duet-toggle{display:flex;gap:12px;align-items:center}.duet-side-label.sc-duet-toggle duet-label.sc-duet-toggle{width:auto !important}.duet-reverse-label.sc-duet-toggle{flex-direction:row-reverse}.duet-switch.sc-duet-toggle{position:relative;display:block;width:48px;height:28px}.duet-switch.sc-duet-toggle input.sc-duet-toggle{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(198, 12, 48)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle{cursor:default}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#bfcbd2}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#c7c9cf}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#80bbd9}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#e38698}.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-toggle-h .duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider.sc-duet-toggle{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider.sc-duet-toggle::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle{background-color:rgb(143, 147, 158)}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';var a=g;var l=e("duet_toggle",function(){function e(e){var d=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.toggleId=n("DuetToggle");this.onClick=function(e){e.preventDefault();d.setFocus();d.checked=!d.checked};this.theme="";this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelPosition="top";this.required=false;this.disabled=false;this.checked=false;this.value=undefined;this.identifier=undefined;this.name=undefined;this.role=undefined}e.prototype.checkedChanged=function(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})};e.prototype.componentWillLoad=function(){u(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.toggleId;return d(o,{onClick:this.disabled?undefined:this.onClick,class:{"duet-m-0":this.margin==="none"}},d("div",{class:{"duet-toggle":true,"duet-theme-turva":this.theme==="turva","duet-side-label":this.labelPosition!=="top","duet-reverse-label":this.labelPosition==="right"}},d("duet-label",{theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:t,margin:this.labelPosition==="top"?"auto":"none"},this.label),d("label",{class:"duet-switch",htmlFor:t},d("input",{type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:t,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:function(t){return e.nativeInput=t}}),d("div",{class:"duet-slider"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["checkedChanged"]}},enumerable:false,configurable:true});return e}());l.style=a}}}));
4
+ */System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,i,d,o,s,u,n,r,c;return{setters:[function(e){t=e.r;i=e.c;d=e.h;o=e.H;s=e.g},function(e){u=e.i},function(e){n=e.c},function(e){r=e.s;c=e.u}],execute:function(){var g='*.sc-duet-toggle,*.sc-duet-toggle::after,*.sc-duet-toggle::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-toggle-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-toggle-h:last-child,.sc-duet-toggle-h:last-of-type{margin-right:0 !important}.duet-m-0.sc-duet-toggle-h{margin:0 !important}duet-label.sc-duet-toggle{display:block !important;width:100% !important}.duet-side-label.sc-duet-toggle{display:flex;gap:12px;align-items:center}.duet-side-label.sc-duet-toggle duet-label.sc-duet-toggle{width:auto !important}.duet-reverse-label.sc-duet-toggle{flex-direction:row-reverse}.duet-switch.sc-duet-toggle{position:relative;display:block;width:48px;height:28px}.duet-switch.sc-duet-toggle input.sc-duet-toggle{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(198, 12, 48)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle{cursor:default}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#bfcbd2}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#c7c9cf}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#80bbd9}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#e38698}.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-toggle-h .duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider.sc-duet-toggle{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider.sc-duet-toggle::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle{background-color:rgb(143, 147, 158)}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';var a=g;var l=e("duet_toggle",function(){function e(e){var d=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.toggleId=n("DuetToggle");this.onClick=function(e){e.preventDefault();d.setFocus();d.checked=!d.checked};this.theme="";this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelPosition="top";this.required=false;this.disabled=false;this.checked=false;this.value=undefined;this.identifier=undefined;this.name=undefined;this.role=undefined}e.prototype.checkedChanged=function(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})};e.prototype.componentWillLoad=function(){u(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.toggleId;return d(o,{onClick:this.disabled?undefined:this.onClick,class:{"duet-m-0":this.margin==="none"}},d("div",{class:{"duet-toggle":true,"duet-theme-turva":this.theme==="turva","duet-side-label":this.labelPosition!=="top","duet-reverse-label":this.labelPosition==="right"}},d("duet-label",{theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:t,margin:this.labelPosition==="top"?"auto":"none"},this.label),d("label",{class:"duet-switch",htmlFor:t},d("input",{type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:t,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:function(t){return e.nativeInput=t}}),d("div",{class:"duet-slider"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["checkedChanged"]}},enumerable:false,configurable:true});return e}());l.style=a}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as s,g as n}from"./p-44b36dbf.js";import{i as u}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{a,b as o,c as h,d as b,e as d,s as l,u as c}from"./p-a45e3f8b.js";import{a as p,b as m,g,c as v,d as f}from"./p-744b8ee1.js";import{c as x}from"./p-1cb66641.js";import"./p-9c3c64b9.js";function w(t,e){let i;if("string"==typeof t){if(""===t)return null;let s=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(s=function(t,e,i=!1){let s;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return s=t.replace(n,"DECIMALSEPARATOR"),s=s.replace(r,i?"THOUSANDSEPARATOR":""),s=s.replace("DECIMALSEPARATOR",u),s=s.replace("THOUSANDSEPARATOR",a),s}(s,e,!1)),s=s.replace(/\s+/g,""),i=parseFloat(s)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const y=(t,e,i)=>Math.min(Math.max(t,e),i),A=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||b(t)?this.subtract(t):d(t)&&this.clearValue(t)},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=w(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:w(this.value,this.locale).toString(),valueAsNumber:i})}catch(i){"-"!==e.value&&this.clearValue(t),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let s=w(e.value,this.locale);this.rounding&&(i=this.step,s=Math.round(s/i)*i),s=y(s,this.min,this.max),s===w(this.value,this.locale)&&s===w(this.focusedValue,this.locale)||(this.setValue(s),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=w(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale,{useGrouping:!1}),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const s=y(i,this.min,this.max);this.value=this.localizeValue(s),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=y(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=p(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(w(this.value,this.locale))),x(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){v(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),l(this)}disconnectedCallback(){f(this),c(this)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=w(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(t){this.duetInputElement.value="",null!==this.value&&(this.value=null,this.emitNull(t))}formatAnnouncement(){const t=this.value?w(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,n=this.value?w(this.value,this.locale):null;return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{name:"tooltip"}),i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};A.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(222, 224, 228)}';export{A as duet_number_input}
4
+ import{r as t,c as e,h as i,H as s,g as n}from"./p-5c1cada7.js";import{i as u}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{a,b as o,c as h,d as b,e as d,s as l,u as c}from"./p-a45e3f8b.js";import{a as p,b as m,g,c as f,d as v}from"./p-1ebe06b3.js";import{c as x}from"./p-cfa74eff.js";import"./p-9c3c64b9.js";function w(t,e){let i;if("string"==typeof t){if(""===t)return null;let s=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(s=function(t,e,i=!1){let s;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return s=t.replace(n,"DECIMALSEPARATOR"),s=s.replace(r,i?"THOUSANDSEPARATOR":""),s=s.replace("DECIMALSEPARATOR",u),s=s.replace("THOUSANDSEPARATOR",a),s}(s,e,!1)),s=s.replace(/\s+/g,""),i=parseFloat(s)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const y=(t,e,i)=>Math.min(Math.max(t,e),i),A=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||b(t)?this.subtract(t):d(t)&&this.clearValue(t)},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=w(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:w(this.value,this.locale).toString(),valueAsNumber:i})}catch(i){"-"!==e.value&&this.clearValue(t),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let s=w(e.value,this.locale);this.rounding&&(i=this.step,s=Math.round(s/i)*i),s=y(s,this.min,this.max),s===w(this.value,this.locale)&&s===w(this.focusedValue,this.locale)||(this.setValue(s),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=w(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale,{useGrouping:!1}),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const s=y(i,this.min,this.max);this.value=this.localizeValue(s),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=y(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=p(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(w(this.value,this.locale))),x(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){f(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),l(this)}disconnectedCallback(){v(this),c(this)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=w(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(t){this.duetInputElement.value="",null!==this.value&&(this.value=null,this.emitNull(t))}formatAnnouncement(){const t=this.value?w(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,n=this.value?w(this.value,this.locale):null;return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{name:"tooltip"}),i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};A.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(222, 224, 228)}';export{A as duet_number_input}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f2d5c69e.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var t=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var r=function(){t()};var u=n("g",r)}}}));
4
+ System.register(["./p-90dad2bc.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var t=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var r=function(){t()};var u=n("g",r)}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as n,g as t}from"./p-44b36dbf.js";import{i as o}from"./p-aaa7a7bd.js";import{f as r}from"./p-a45e3f8b.js";const i=class{constructor(a){e(this,a),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.caret=!1,this.highlight=!1}componentWillLoad(){o(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return a(n,{key:"8e171bfdd3a97a208d76852cad10497303cc6a41"},a("a",{key:"6ef3bedf1b242e3564a6a32b5e564e50c0ca6e08",class:{"duet-submenu-bar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:e=>this.handleEscape(e)},this.icon&&a("duet-icon",{key:"696a5c14ddf44486ccd7ae685987d3ae73819eda",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"0066ac29350ba089295585f001dde093e303028b",class:"label-container"},a("span",{key:"003bfe108d7aa853d32238e6b888587965e63710",class:"label"},a("slot",{key:"82c97684842fa6839700732f1bc75ef2b7eeda68"})),this.caret&&a("duet-icon",{key:"e85bc1b85802155eb3044d8ab5c78d7e4e8a247b",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"ba3841ab9bd427fb8b9b31fb1f9340b59afd2949",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;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);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';export{i as duet_submenu_bar_dropdown_link}
4
+ import{r as e,h as a,H as n,g as t}from"./p-5c1cada7.js";import{i as o}from"./p-aaa7a7bd.js";import{f as r}from"./p-a45e3f8b.js";const i=class{constructor(a){e(this,a),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.caret=!1,this.highlight=!1}componentWillLoad(){o(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return a(n,{key:"8e171bfdd3a97a208d76852cad10497303cc6a41"},a("a",{key:"6ef3bedf1b242e3564a6a32b5e564e50c0ca6e08",class:{"duet-submenu-bar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:e=>this.handleEscape(e)},this.icon&&a("duet-icon",{key:"696a5c14ddf44486ccd7ae685987d3ae73819eda",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"0066ac29350ba089295585f001dde093e303028b",class:"label-container"},a("span",{key:"003bfe108d7aa853d32238e6b888587965e63710",class:"label"},a("slot",{key:"82c97684842fa6839700732f1bc75ef2b7eeda68"})),this.caret&&a("duet-icon",{key:"e85bc1b85802155eb3044d8ab5c78d7e4e8a247b",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"ba3841ab9bd427fb8b9b31fb1f9340b59afd2949",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;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);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';export{i as duet_submenu_bar_dropdown_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-cbbf6d6a.system.js","./p-ef731dfb.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"6f7070cd1039fa6f21a079e0d3c6b3682678ad91",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"8f58f01a032554c469822d7f0529e3a1a5f5bc72",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
4
+ System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-9508ee67.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"6f7070cd1039fa6f21a079e0d3c6b3682678ad91",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"8f58f01a032554c469822d7f0529e3a1a5f5bc72",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,n){function c(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function o(e){try{d(n.next(e))}catch(e){r(e)}}function a(e){try{d(n["throw"](e))}catch(e){r(e)}}function d(e){e.done?i(e.value):c(e.value).then(o,a)}d((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,c,r,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return d([e,t])}}function d(a){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(i=0)),i)try{if(n=1,c&&(r=a[0]&2?c["return"]:a[0]?c["throw"]||((r=c["return"])&&r.call(c),0):c.next)&&!(r=r.call(c,a[1])).done)return r;if(c=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;c=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(a[0]===6&&i.label<r[1]){i.label=r[1];r=a;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(a);break}if(r[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];c=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-9a43132b.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,c,r,o,a,d,u,h,s;return{setters:[function(e){t=e.r;i=e.c;n=e.h;c=e.H;r=e.g},function(e){o=e.i},function(e){a=e.c},function(e){d=e.s;u=e.u;h=e.q},function(e){s=e.g},function(){}],execute:function(){var p='*,*::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;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';var l=p;var b=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetRemove=i(this,"duetRemove",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"};this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"};this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.radioInputListenersRemove=function(e){e.removeEventListener("change",n.onRadioChange);e.removeEventListener("click",n.onRadioClick);e.removeEventListener("focus",n.onFocus);e.removeEventListener("blur",n.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",n.onRadioChange);e.addEventListener("click",n.onRadioClick);e.addEventListener("focus",n.onFocus);e.addEventListener("blur",n.onBlur)};this.radioInputSetUp=function(){var e=n.element.querySelector("input[slot=input]");var t=e||document.createElement("input");t.slot="input";t.ariaDisabled=n.disabled?"true":undefined;t.id=n.identifier||n.chipId;t.type="radio";t.name=n.name;t.value=n.value;t.checked=n.checked;t.ariaLabel=n.element.textContent;if(e){n.radioInputListenersRemove(t)}else{n.element.appendChild(t)}n.radioInputListenersAdd(t);n.focusableElement=t};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var c=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(r){var o;var a=(o=e.value)!==null&&o!==void 0?o:e.innerText;if(!e.active){c();e.active=true;n.element.textContent=e.innerText;n.value=a;n.checked=true}else{c();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(r);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onRadioClick=function(e){if(n.disabled){e.preventDefault()}};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e===null||e===void 0?void 0:e.stopPropagation();e===null||e===void 0?void 0:e.preventDefault();n.duetRemove.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"});n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.inputChipHover=false;this.inputChipDeleteFocus=false;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.selected=false;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){o(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){d(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.componentDidRender=function(){if(this.variation==="radio"){this.radioInputSetUp()}};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.getAccessibleDeleteLabel=function(){return"".concat(s(this.deleteLabels)," ").concat(this.element.textContent)};e.prototype.getAccessibleInputChipLabel=function(){return"".concat(this.element.textContent).concat(this.selected?" (".concat(s(this.selectedForDeletionLabels),") "):"",",")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){h();setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.setDeleteFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){setTimeout((function(){return e.deleteButtonElement.focus()}),200);return[2]}))}))};e.prototype.removeChip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.onRemoveClick();return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var r;var o=this.identifier||this.chipId;var a=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-selected"]=this.selected,e["duet-chip-hover"]=this.inputChipHover,e["duet-chip-delete-focus"]=this.inputChipDeleteFocus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var d={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return i.focusableElement=e}};return n(c,{key:"7be8a97618afcc5aa95a73b6999cbd21a9efe66d",class:(t={},t[this.variation]=true,t)},this.variation==="button"&&n("span",{key:"20a79f42019bb5456940c408f16cfe4398ce752b",class:a},n("button",Object.assign({key:"0da848870e5d364e5a0c96286863abb8846f3b43",id:o,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},d),n("span",{key:"65963c49ac15e31be9e6c155d713895011247c75",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"6bdaf78c4129a2e195b2c8d8615fbc030892b35f",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"115c67252b400a3796064d80b48c940f5db630f6"}))),this.variation==="input"&&n("span",{key:"f88e9e882256e176835645274c7f3ad5feeb43f4",class:a,"aria-label":this.getAccessibleInputChipLabel()},n("button",Object.assign({key:"8966730749b28a27a8d9c3ad0cc5384d7365a224",id:o,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:function(){return i.inputChipHover=true},onMouseOut:function(){return i.inputChipHover=false},onClick:function(){return i.selected=!i.selected}},d),n("span",{key:"0c5090f2ae94e37ca202aecfdd26793617d96fcb",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"296fc12572a339b123691ad64e5140187bc8ce6f",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"52de610f0eef8aaf1fc353e4832460823b3483b9"})),n("button",{key:"863d5afcb642ad16aea0567cf6043106231e7947",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:function(){return i.inputChipDeleteFocus=true},onBlur:function(){return i.inputChipDeleteFocus=false},ref:function(e){return i.deleteButtonElement=e}},n("duet-icon",{key:"bccf50bd40c6e81cb150f8667065b2951b592aa5",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{key:"d4d7899b9a4398b11426408014e383041393a0cf",class:a},n("input",Object.assign({key:"b0ba6a4dbe7b1539188e433a26bfd8610619e4c5","aria-haspopup":this.getAccessiblePopup(),"aria-controls":(r=this.popupElement)===null||r===void 0?void 0:r.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:o,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),n("label",{key:"8facc59cf10af72eec36071be9ae95556591d1cf",htmlFor:o},this.icon&&n("span",{key:"91f1eac1be716140991470852ed8a0844f2b9cec",class:"duet-chip-icon-container"},n("duet-icon",{key:"d12dc4aab88af37f6668cb0d7de0293cd319fa63",name:this.icon,size:this.size==="large"?"small":"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"96e623db103b6c37aa16ea7bcdd0e539f65c0779",name:"messaging-checked-small",size:this.size==="large"?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"06d2be3eaf95ef1f220bc8a7db8b4ba2fa0fd5f9"}),this.popupElement&&n("span",{key:"f0052c0bf5bbd556635f863e164b009d427c015a",class:"duet-chip-popup-disclosure"},n("duet-icon",{key:"532ebe9e456eed2c9b7047fc0d3e77a4d42794f3",name:"action-arrow-down-small",size:this.size==="large"?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{key:"ccec7cbb1911a9abaf25e08332465cbfc4553509",class:a},n("slot",{key:"0a00e98beb564f77355171c715497f512b7d9ad7",name:"input"}),n("label",{key:"158960fb6a55998d2341c3dcf27b20ffd2ed33cf",htmlFor:o},this.icon&&n("span",{key:"84a00e30b7143110f22d24df70819bc16f6ad383",class:"duet-chip-icon-container"},n("duet-icon",{key:"5b54634097eae34dacfd2691add70781facdd268",name:this.icon,size:this.size==="large"?"small":"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"a9fefdc0b6b89369275e2f79215475e45e3dc99c",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"638309e8b35428dfc269605e65905aa7e8f7c831"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());b.style=l}}}));
4
+ */System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-122d1eb2.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,c,r,o,a,d,u,h,s;return{setters:[function(e){t=e.r;i=e.c;n=e.h;c=e.H;r=e.g},function(e){o=e.i},function(e){a=e.c},function(e){d=e.s;u=e.u;h=e.q},function(e){s=e.g},function(){}],execute:function(){var p='*,*::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;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';var l=p;var b=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetRemove=i(this,"duetRemove",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"};this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"};this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.radioInputListenersRemove=function(e){e.removeEventListener("change",n.onRadioChange);e.removeEventListener("click",n.onRadioClick);e.removeEventListener("focus",n.onFocus);e.removeEventListener("blur",n.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",n.onRadioChange);e.addEventListener("click",n.onRadioClick);e.addEventListener("focus",n.onFocus);e.addEventListener("blur",n.onBlur)};this.radioInputSetUp=function(){var e=n.element.querySelector("input[slot=input]");var t=e||document.createElement("input");t.slot="input";t.ariaDisabled=n.disabled?"true":undefined;t.id=n.identifier||n.chipId;t.type="radio";t.name=n.name;t.value=n.value;t.checked=n.checked;t.ariaLabel=n.element.textContent;if(e){n.radioInputListenersRemove(t)}else{n.element.appendChild(t)}n.radioInputListenersAdd(t);n.focusableElement=t};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var c=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(r){var o;var a=(o=e.value)!==null&&o!==void 0?o:e.innerText;if(!e.active){c();e.active=true;n.element.textContent=e.innerText;n.value=a;n.checked=true}else{c();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(r);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onRadioClick=function(e){if(n.disabled){e.preventDefault()}};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e===null||e===void 0?void 0:e.stopPropagation();e===null||e===void 0?void 0:e.preventDefault();n.duetRemove.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"});n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.inputChipHover=false;this.inputChipDeleteFocus=false;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.selected=false;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){o(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){d(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.componentDidRender=function(){if(this.variation==="radio"){this.radioInputSetUp()}};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.getAccessibleDeleteLabel=function(){return"".concat(s(this.deleteLabels)," ").concat(this.element.textContent)};e.prototype.getAccessibleInputChipLabel=function(){return"".concat(this.element.textContent).concat(this.selected?" (".concat(s(this.selectedForDeletionLabels),") "):"",",")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){h();setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.setDeleteFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){setTimeout((function(){return e.deleteButtonElement.focus()}),200);return[2]}))}))};e.prototype.removeChip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.onRemoveClick();return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var r;var o=this.identifier||this.chipId;var a=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-selected"]=this.selected,e["duet-chip-hover"]=this.inputChipHover,e["duet-chip-delete-focus"]=this.inputChipDeleteFocus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var d={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return i.focusableElement=e}};return n(c,{key:"7be8a97618afcc5aa95a73b6999cbd21a9efe66d",class:(t={},t[this.variation]=true,t)},this.variation==="button"&&n("span",{key:"20a79f42019bb5456940c408f16cfe4398ce752b",class:a},n("button",Object.assign({key:"0da848870e5d364e5a0c96286863abb8846f3b43",id:o,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},d),n("span",{key:"65963c49ac15e31be9e6c155d713895011247c75",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"6bdaf78c4129a2e195b2c8d8615fbc030892b35f",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"115c67252b400a3796064d80b48c940f5db630f6"}))),this.variation==="input"&&n("span",{key:"f88e9e882256e176835645274c7f3ad5feeb43f4",class:a,"aria-label":this.getAccessibleInputChipLabel()},n("button",Object.assign({key:"8966730749b28a27a8d9c3ad0cc5384d7365a224",id:o,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:function(){return i.inputChipHover=true},onMouseOut:function(){return i.inputChipHover=false},onClick:function(){return i.selected=!i.selected}},d),n("span",{key:"0c5090f2ae94e37ca202aecfdd26793617d96fcb",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"296fc12572a339b123691ad64e5140187bc8ce6f",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"52de610f0eef8aaf1fc353e4832460823b3483b9"})),n("button",{key:"863d5afcb642ad16aea0567cf6043106231e7947",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:function(){return i.inputChipDeleteFocus=true},onBlur:function(){return i.inputChipDeleteFocus=false},ref:function(e){return i.deleteButtonElement=e}},n("duet-icon",{key:"bccf50bd40c6e81cb150f8667065b2951b592aa5",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{key:"d4d7899b9a4398b11426408014e383041393a0cf",class:a},n("input",Object.assign({key:"b0ba6a4dbe7b1539188e433a26bfd8610619e4c5","aria-haspopup":this.getAccessiblePopup(),"aria-controls":(r=this.popupElement)===null||r===void 0?void 0:r.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:o,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),n("label",{key:"8facc59cf10af72eec36071be9ae95556591d1cf",htmlFor:o},this.icon&&n("span",{key:"91f1eac1be716140991470852ed8a0844f2b9cec",class:"duet-chip-icon-container"},n("duet-icon",{key:"d12dc4aab88af37f6668cb0d7de0293cd319fa63",name:this.icon,size:this.size==="large"?"small":"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"96e623db103b6c37aa16ea7bcdd0e539f65c0779",name:"messaging-checked-small",size:this.size==="large"?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"06d2be3eaf95ef1f220bc8a7db8b4ba2fa0fd5f9"}),this.popupElement&&n("span",{key:"f0052c0bf5bbd556635f863e164b009d427c015a",class:"duet-chip-popup-disclosure"},n("duet-icon",{key:"532ebe9e456eed2c9b7047fc0d3e77a4d42794f3",name:"action-arrow-down-small",size:this.size==="large"?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{key:"ccec7cbb1911a9abaf25e08332465cbfc4553509",class:a},n("slot",{key:"0a00e98beb564f77355171c715497f512b7d9ad7",name:"input"}),n("label",{key:"158960fb6a55998d2341c3dcf27b20ffd2ed33cf",htmlFor:o},this.icon&&n("span",{key:"84a00e30b7143110f22d24df70819bc16f6ad383",class:"duet-chip-icon-container"},n("duet-icon",{key:"5b54634097eae34dacfd2691add70781facdd268",name:this.icon,size:this.size==="large"?"small":"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"a9fefdc0b6b89369275e2f79215475e45e3dc99c",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"638309e8b35428dfc269605e65905aa7e8f7c831"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());b.style=l}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{s(i.next(e))}catch(e){r(e)}}function u(e){try{s(i["throw"](e))}catch(e){r(e)}}function s(e){e.done?n(e.value):a(e.value).then(o,u)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,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(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(i=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:n.label++;return{value:u[1],done:false};case 5:n.label++;a=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){n.label=u[1];break}if(u[0]===6&&n.label<r[1]){n.label=r[1];r=u;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(u);break}if(r[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];a=0}finally{i=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-f2d5c69e.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-e216bea4.system.js","./p-50c18c14.system.js","./p-9a43132b.system.js","./p-61ac836c.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,o,u,s,c,d,m;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.D},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)}}';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(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,{key:"df9bbe4dc4bf8f4e51209669b9d338d294a9eeaa",role:"listitem"},n(t,{key:"549949b05fc9290ade7bd94fff4cfbee0bae8f04",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&&n("duet-icon",{key:"2bf91a8c0f70bc9a0a4dff411757e41900c049b7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),n("slot",{key:"3d72b9e811d6caeb973f5e21ac995d21da6444a6"}),(this.trailingIcon||this.external)&&n("duet-icon",{key:"81b25dce0c79f0b71cc832e7ac6da9197c69e1f9",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-90dad2bc.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-e216bea4.system.js","./p-a0a62431.system.js","./p-122d1eb2.system.js","./p-ff1194f7.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,o,u,s,c,d,m;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.D},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)}}';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(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,{key:"df9bbe4dc4bf8f4e51209669b9d338d294a9eeaa",role:"listitem"},n(t,{key:"549949b05fc9290ade7bd94fff4cfbee0bae8f04",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&&n("duet-icon",{key:"2bf91a8c0f70bc9a0a4dff411757e41900c049b7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),n("slot",{key:"3d72b9e811d6caeb973f5e21ac995d21da6444a6"}),(this.trailingIcon||this.external)&&n("duet-icon",{key:"81b25dce0c79f0b71cc832e7ac6da9197c69e1f9",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 e,h as a,H as t,g as i}from"./p-44b36dbf.js";import{i as o}from"./p-aaa7a7bd.js";import{a as d,c as n,d as c}from"./p-744b8ee1.js";import"./p-9c3c64b9.js";const s=class{constructor(a){e(this,a),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=d(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){n(this)}disconnectedCallback(){c(this)}render(){const e="turva"===this.theme?"turva":"default";return a(t,{key:"de2706d6aba03e8de9dc6c048f81eb8d334af5f7",class:{"duet-m-0":"none"===this.margin}},a("div",{key:"762f5154121fbf1dc8bafb92595b291f82a011f1",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"5842b3cf401981d0c06cd644916669eab604bae3"},this.name&&a("duet-heading",{key:"fde8f62fc3664388be9644f1a3c38966adfd298c",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&a("duet-paragraph",{key:"1b036c57a6e3e0a9e4669b0e12304c5a6977c112",class:"description",margin:"none",theme:e},this.description),this.email&&a("div",{key:"6545c1be32cff4f5aa0ff43cee338c9b857730fd",class:"email"},a("duet-icon",{key:"c5f1abb56941064a201337bb44f8b773853e60ff",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"ddc6c729a1abea64a502403b75221fb813fa4c8b",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&a("div",{key:"5dc0b7078b20a9f1790fe2a04b4fa74bfeea65b0",class:"phone"},a("duet-icon",{key:"1d29a1b982d4efeb7f685b8ecbee8db257ab63cb",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"989b6d03684dcab0b99031e05e323185d5aa19bf",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"20263d42cf642136939c5920bc235c599ca8cb01",class:"call-to-action"},a("duet-button",{key:"5a84ba6f2d66651f03caf0338050bb7dd8c21a7d",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),a("div",{key:"0f4bbbefc3beccbd9d81bfa65af65c44cfdbb231"}),a("slot",{key:"0a50d298edbb6dc88d428e3ddae6c00bf84658ae"})))}get element(){return i(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns: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:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-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)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{s as duet_contact_card}
4
+ import{r as e,h as a,H as t,g as i}from"./p-5c1cada7.js";import{i as o}from"./p-aaa7a7bd.js";import{a as d,c as n,d as c}from"./p-1ebe06b3.js";import"./p-9c3c64b9.js";const s=class{constructor(a){e(this,a),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=d(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){n(this)}disconnectedCallback(){c(this)}render(){const e="turva"===this.theme?"turva":"default";return a(t,{key:"de2706d6aba03e8de9dc6c048f81eb8d334af5f7",class:{"duet-m-0":"none"===this.margin}},a("div",{key:"762f5154121fbf1dc8bafb92595b291f82a011f1",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"5842b3cf401981d0c06cd644916669eab604bae3"},this.name&&a("duet-heading",{key:"fde8f62fc3664388be9644f1a3c38966adfd298c",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&a("duet-paragraph",{key:"1b036c57a6e3e0a9e4669b0e12304c5a6977c112",class:"description",margin:"none",theme:e},this.description),this.email&&a("div",{key:"6545c1be32cff4f5aa0ff43cee338c9b857730fd",class:"email"},a("duet-icon",{key:"c5f1abb56941064a201337bb44f8b773853e60ff",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"ddc6c729a1abea64a502403b75221fb813fa4c8b",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&a("div",{key:"5dc0b7078b20a9f1790fe2a04b4fa74bfeea65b0",class:"phone"},a("duet-icon",{key:"1d29a1b982d4efeb7f685b8ecbee8db257ab63cb",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"989b6d03684dcab0b99031e05e323185d5aa19bf",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"20263d42cf642136939c5920bc235c599ca8cb01",class:"call-to-action"},a("duet-button",{key:"5a84ba6f2d66651f03caf0338050bb7dd8c21a7d",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),a("div",{key:"0f4bbbefc3beccbd9d81bfa65af65c44cfdbb231"}),a("slot",{key:"0a50d298edbb6dc88d428e3ddae6c00bf84658ae"})))}get element(){return i(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns: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:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-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)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{s as duet_contact_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f2d5c69e.system.js","./p-98636086.system.js"],(function(n){"use strict";var r;return{setters:[function(){},function(n){r=n.c}],execute:function(){var t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"};var e={fi:"€",en:"£",us:"$",sv:"€"};var i=["fi","en","sv"];var a="fi";var u=function(){return document.documentElement.lang?document.documentElement.lang.toLowerCase():a};var o=function(n){return i.includes(n)};var f=function(n){if(n===void 0){n=u()}if(o(n)){return n}else{return a}};var c=n("a",(function(n){if(n===void 0){n=u()}return f(n)}));var s=n("b",(function(n){var r={locale:t[n],money:e[n]};if(r.locale&&r.money){return r}throw new Error('Locale for "'.concat(n,'" not found'))}));var v=n("s",(function(n){var t=typeof n==="string";if(t){try{return JSON.parse(r(n))}catch(r){console.log("sanitizeString received a string, that didnt parse to json object",n,r)}}return n}));var d=n("g",(function(n,r){var t=v(n);if(r){return t[f(r)]}else{return t[c()]}}));var l=new Set;var g=new WeakMap;var m=function(n){var r=a;for(var t=0,e=n;t<e.length;t++){var i=e[t];if(i.type==="attributes"&&i.attributeName==="lang"){r=i.oldValue;break}}if(document.documentElement.dataset.duetLangObserve!=="false"){l.forEach((function(n){if(n.language){n.language=c()}if(g.has(n)){g.get(n).forEach((function(t){if(n[t.defaults]&&n[t.prop]===n[t.defaults][r]){n[t.prop]=d(n[t.defaults])}}))}}))}};{var p=new MutationObserver(m);p.observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:true})}var b=n("c",(function(n,r){l.add(n);if(r){if(!Array.isArray(r)){r=[r]}if(r.some((function(r){return!(r.prop in n)||!(r.defaults in n)}))){console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties");r=r.filter((function(r){return r.prop in n&&r.defaults in n}))}g.set(n,r)}}));var y=n("d",(function(n){l.delete(n);g.delete(n)}))}}}));
4
+ System.register(["./p-90dad2bc.system.js","./p-98636086.system.js"],(function(n){"use strict";var r;return{setters:[function(){},function(n){r=n.c}],execute:function(){var t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"};var e={fi:"€",en:"£",us:"$",sv:"€"};var i=["fi","en","sv"];var a="fi";var u=function(){return document.documentElement.lang?document.documentElement.lang.toLowerCase():a};var o=function(n){return i.includes(n)};var f=function(n){if(n===void 0){n=u()}if(o(n)){return n}else{return a}};var c=n("a",(function(n){if(n===void 0){n=u()}return f(n)}));var s=n("b",(function(n){var r={locale:t[n],money:e[n]};if(r.locale&&r.money){return r}throw new Error('Locale for "'.concat(n,'" not found'))}));var v=n("s",(function(n){var t=typeof n==="string";if(t){try{return JSON.parse(r(n))}catch(r){console.log("sanitizeString received a string, that didnt parse to json object",n,r)}}return n}));var d=n("g",(function(n,r){var t=v(n);if(r){return t[f(r)]}else{return t[c()]}}));var l=new Set;var g=new WeakMap;var m=function(n){var r=a;for(var t=0,e=n;t<e.length;t++){var i=e[t];if(i.type==="attributes"&&i.attributeName==="lang"){r=i.oldValue;break}}if(document.documentElement.dataset.duetLangObserve!=="false"){l.forEach((function(n){if(n.language){n.language=c()}if(g.has(n)){g.get(n).forEach((function(t){if(n[t.defaults]&&n[t.prop]===n[t.defaults][r]){n[t.prop]=d(n[t.defaults])}}))}}))}};{var p=new MutationObserver(m);p.observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:true})}var b=n("c",(function(n,r){l.add(n);if(r){if(!Array.isArray(r)){r=[r]}if(r.some((function(r){return!(r.prop in n)||!(r.defaults in n)}))){console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties");r=r.filter((function(r){return r.prop in n&&r.defaults in n}))}g.set(n,r)}}));var y=n("d",(function(n){l.delete(n);g.delete(n)}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as a,h as e,H as t,g as r}from"./p-44b36dbf.js";const n=class{constructor(e){a(this,e)}render(){return e(t,{key:"6563b3eb72eca7f7fc6ada1c16f665323fa2f50a",class:"duet-visually-hidden"},e("slot",{key:"519ee0a9f051b05113347a2458b0fc82805558ba"}))}get element(){return r(this)}};n.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{n as duet_visually_hidden}
4
+ import{r as a,h as e,H as t,g as r}from"./p-5c1cada7.js";const n=class{constructor(e){a(this,e)}render(){return e(t,{key:"24755bb4e4af07508a94d0028c1e162bd67d823f",class:"duet-visually-hidden"},e("slot",{key:"d5082bd91ecd1872b50a20a9cda3e92ac45a701e"}))}get element(){return r(this)}};n.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{n as duet_visually_hidden}