@duetds/components 9.4.1 → 9.5.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 (724) hide show
  1. package/hydrate/index.js +2284 -205
  2. package/lib/cjs/{a11y-utils-d8d25cf4.js → a11y-utils-103b327e.js} +1 -1
  3. package/lib/cjs/{app-globals-99f2f39f.js → app-globals-2b7fff72.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +10 -10
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -10
  13. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/{duet-chip_3.cjs.entry.js → duet-chip.cjs.entry.js} +3 -377
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  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 +7 -7
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +2002 -0
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +426 -0
  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 +2 -2
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +27 -18
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +22 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  65. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  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 +3 -3
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  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-2db03da6.js → errorcodes.utils-e3a0f607.js} +1 -1
  88. package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-47d23c45.js} +1 -1
  89. package/lib/cjs/{index-9c3aea30.js → index-7b1d76ef.js} +11 -3
  90. package/lib/cjs/{language-utils-9499975c.js → language-utils-a6a152b8.js} +1 -1
  91. package/lib/cjs/loader.cjs.js +3 -3
  92. package/lib/cjs/{slot-utils-58467702.js → slot-utils-6864011f.js} +1 -1
  93. package/lib/collection/collection-manifest.json +1 -0
  94. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  97. package/lib/collection/components/duet-button/duet-button.css +32 -18
  98. package/lib/collection/components/duet-button/duet-button.js +6 -6
  99. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  100. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  101. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  102. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  103. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  104. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  105. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  106. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  107. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  108. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  109. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  110. package/lib/collection/components/duet-heading/duet-heading.js +22 -2
  111. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  112. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  113. package/lib/collection/components/duet-input/duet-input.css +34 -3
  114. package/lib/collection/components/duet-input/duet-input.js +4 -4
  115. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  116. package/lib/collection/components/duet-link/duet-link.js +2 -2
  117. package/lib/collection/components/duet-list/duet-list.js +1 -1
  118. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  119. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  120. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  121. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  123. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  126. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  127. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  128. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  129. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  130. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  131. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  132. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  133. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  134. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  135. package/lib/collection/components/duet-phone-input/duet-phone-input.css +20 -0
  136. package/lib/collection/components/duet-phone-input/duet-phone-input.js +777 -0
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +69 -9
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  139. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  140. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  141. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -6
  142. package/lib/collection/components/duet-scrollable/duet-scrollable.js +12 -9
  143. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  144. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  145. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  146. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  147. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  148. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +17 -2
  149. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +90 -2
  150. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  151. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  152. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  153. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  154. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  155. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  156. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  157. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  158. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  159. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  160. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  161. package/lib/collection/components/duet-tab-group/duet-tab-group.js +11 -5
  162. package/lib/collection/components/duet-table/duet-table.js +2 -2
  163. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  164. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  165. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  166. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  167. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  168. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  169. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  170. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  171. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  172. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  173. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  174. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  175. package/lib/collection/data/countries.js +1762 -0
  176. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  177. package/lib/dist-custom-elements/duet-alert.js +1 -1
  178. package/lib/dist-custom-elements/duet-badge.js +1 -1
  179. package/lib/dist-custom-elements/duet-banner.js +3 -3
  180. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  181. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  182. package/lib/dist-custom-elements/duet-button.js +1 -1
  183. package/lib/dist-custom-elements/duet-callout.js +4 -4
  184. package/lib/dist-custom-elements/duet-caption.js +1 -1
  185. package/lib/dist-custom-elements/duet-card.js +3 -3
  186. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  187. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  188. package/lib/dist-custom-elements/duet-chip.js +1 -1
  189. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  190. package/lib/dist-custom-elements/duet-choice.js +4 -4
  191. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  192. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  193. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  194. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  195. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  196. package/lib/dist-custom-elements/duet-divider.js +1 -1
  197. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  198. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  199. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  200. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  201. package/lib/dist-custom-elements/duet-footer.js +11 -11
  202. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-grid.js +1 -1
  204. package/lib/dist-custom-elements/duet-header.js +8 -8
  205. package/lib/dist-custom-elements/duet-heading.js +1 -1
  206. package/lib/dist-custom-elements/duet-hero.js +14 -14
  207. package/lib/dist-custom-elements/duet-icon.js +1 -1
  208. package/lib/dist-custom-elements/duet-input.js +1 -1
  209. package/lib/dist-custom-elements/duet-label.js +1 -1
  210. package/lib/dist-custom-elements/duet-layout.js +6 -6
  211. package/lib/dist-custom-elements/duet-link.js +1 -1
  212. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  213. package/lib/dist-custom-elements/duet-list.js +1 -1
  214. package/lib/dist-custom-elements/duet-logo.js +1 -1
  215. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  216. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  217. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  218. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  219. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  220. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  221. package/lib/dist-custom-elements/duet-modal.js +14 -14
  222. package/lib/dist-custom-elements/duet-multiselect.js +14 -14
  223. package/lib/dist-custom-elements/duet-nav.js +2 -2
  224. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  225. package/lib/dist-custom-elements/duet-notification.js +4 -4
  226. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  227. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  228. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  229. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  230. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  231. package/lib/dist-custom-elements/duet-phone-input.d.ts +11 -0
  232. package/lib/dist-custom-elements/duet-phone-input.js +2128 -0
  233. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  234. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  235. package/lib/dist-custom-elements/duet-progress.js +1 -1
  236. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  237. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  238. package/lib/dist-custom-elements/duet-radio.js +1 -1
  239. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  240. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  241. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  242. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  243. package/lib/dist-custom-elements/duet-select.js +1 -1
  244. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  245. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  246. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  247. package/lib/dist-custom-elements/duet-slideout-link.js +25 -6
  248. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  249. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  250. package/lib/dist-custom-elements/duet-slideout.js +7 -7
  251. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  252. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  253. package/lib/dist-custom-elements/duet-status-icon.js +4 -4
  254. package/lib/dist-custom-elements/duet-step.js +4 -4
  255. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  256. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  257. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  258. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  259. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  260. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  261. package/lib/dist-custom-elements/duet-tab-group.js +18 -12
  262. package/lib/dist-custom-elements/duet-tab.js +1 -1
  263. package/lib/dist-custom-elements/duet-table.js +1 -1
  264. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  265. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  266. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  267. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  268. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  269. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  270. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  271. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  272. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  273. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  274. package/lib/dist-custom-elements/duet-tray.js +5 -5
  275. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  276. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  277. package/lib/dist-custom-elements/duet-upload.js +21 -21
  278. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  279. package/lib/dist-custom-elements/index.js +1 -1
  280. package/lib/dist-custom-elements/{p-705254ba.js → p-18bc63f3.js} +3 -3
  281. package/lib/dist-custom-elements/{p-d8ca9bb0.js → p-19b9ead1.js} +7 -7
  282. package/lib/dist-custom-elements/{p-77a6d407.js → p-26c7e23f.js} +1 -1
  283. package/lib/dist-custom-elements/{p-6617d6ac.js → p-2ecca38c.js} +3 -3
  284. package/lib/dist-custom-elements/{p-0a959269.js → p-2f6cc198.js} +4 -4
  285. package/lib/dist-custom-elements/{p-86bff8f2.js → p-32ca7625.js} +1 -1
  286. package/lib/dist-custom-elements/{p-f2e41ed9.js → p-39b87412.js} +2 -2
  287. package/lib/dist-custom-elements/{p-4c77c6a3.js → p-41403f71.js} +3 -3
  288. package/lib/dist-custom-elements/{p-2ccad3d5.js → p-4ccd7bcc.js} +4 -4
  289. package/lib/dist-custom-elements/{p-447bdf9c.js → p-4d6f6627.js} +3 -3
  290. package/lib/dist-custom-elements/{p-54a8c7e1.js → p-4ed8da23.js} +6 -4
  291. package/lib/dist-custom-elements/{p-e95fb79b.js → p-52df4164.js} +1 -1
  292. package/lib/dist-custom-elements/{p-1080a6c7.js → p-548610a6.js} +1 -1
  293. package/lib/dist-custom-elements/{p-81287261.js → p-7327e3d5.js} +264 -1
  294. package/lib/dist-custom-elements/{p-8381740e.js → p-76415eb2.js} +4 -4
  295. package/lib/dist-custom-elements/{p-195bcbbc.js → p-76f76fab.js} +119 -12
  296. package/lib/dist-custom-elements/{p-9a854b9b.js → p-7b74fee9.js} +3 -3
  297. package/lib/dist-custom-elements/{p-1b3d1a63.js → p-87df2d6e.js} +10 -10
  298. package/lib/dist-custom-elements/{p-e6396ef5.js → p-8ad5e64f.js} +3 -3
  299. package/lib/dist-custom-elements/{p-67704520.js → p-8f1394dd.js} +2 -2
  300. package/lib/dist-custom-elements/{p-ef906a44.js → p-9cb035b0.js} +5 -5
  301. package/lib/dist-custom-elements/{p-283c8c77.js → p-a013e7b0.js} +18 -15
  302. package/lib/dist-custom-elements/{p-02060606.js → p-a201b49f.js} +12 -12
  303. package/lib/dist-custom-elements/{p-c1f97fa7.js → p-ad89064b.js} +6 -6
  304. package/lib/dist-custom-elements/{p-a8859d41.js → p-b2599bdb.js} +2 -2
  305. package/lib/dist-custom-elements/{p-3392a6b5.js → p-b3a6e82a.js} +8 -8
  306. package/lib/dist-custom-elements/{p-5c11ac99.js → p-b8bae8c7.js} +2 -2
  307. package/lib/dist-custom-elements/{p-bcdec622.js → p-c577fbfe.js} +2 -2
  308. package/lib/dist-custom-elements/{p-269887e7.js → p-c69401c2.js} +4 -4
  309. package/lib/dist-custom-elements/{p-dafd01b3.js → p-cf1df71c.js} +1 -1
  310. package/lib/dist-custom-elements/{p-6657fbee.js → p-d01a8307.js} +5 -5
  311. package/lib/dist-custom-elements/{p-1e473975.js → p-d05c6565.js} +2 -2
  312. package/lib/dist-custom-elements/{p-159ce59f.js → p-d5859ccf.js} +3 -3
  313. package/lib/dist-custom-elements/{p-0323fc27.js → p-da60c00a.js} +4 -4
  314. package/lib/dist-custom-elements/{p-538c0817.js → p-db1f42f3.js} +3 -3
  315. package/lib/dist-custom-elements/{p-8885bff1.js → p-dce51f6d.js} +2 -2
  316. package/lib/dist-custom-elements/{p-ccfdbbfd.js → p-eb768545.js} +3 -3
  317. package/lib/dist-custom-elements/{p-d74ee462.js → p-ed6a907e.js} +1 -1
  318. package/lib/dist-custom-elements/{p-0a566079.js → p-fc9e69ed.js} +12 -12
  319. package/lib/duet/duet.esm.js +1 -1
  320. package/lib/duet/duet.js +1 -1
  321. package/lib/duet/{p-4f672fb0.entry.js → p-00ab909e.entry.js} +1 -1
  322. package/lib/duet/{p-f1ba826c.system.entry.js → p-00dd59e4.system.entry.js} +1 -1
  323. package/lib/duet/{p-e39d08e7.system.entry.js → p-033947e4.system.entry.js} +1 -1
  324. package/lib/duet/{p-a9d41a98.entry.js → p-03abf8be.entry.js} +1 -1
  325. package/lib/duet/{p-fbeb26a6.entry.js → p-04090a71.entry.js} +1 -1
  326. package/lib/duet/p-083bbc28.js +4 -0
  327. package/lib/duet/{p-ef40ca12.system.entry.js → p-0c5d595b.system.entry.js} +1 -1
  328. package/lib/duet/{p-1f059581.entry.js → p-0d1c524e.entry.js} +1 -1
  329. package/lib/duet/p-0d443be5.js +4 -0
  330. package/lib/duet/{p-41cced2e.entry.js → p-0d626d2e.entry.js} +1 -1
  331. package/lib/duet/{p-c5938aef.entry.js → p-0e2727b2.entry.js} +1 -1
  332. package/lib/duet/{p-54689a14.entry.js → p-0e3a6d04.entry.js} +1 -1
  333. package/lib/duet/p-1052f050.entry.js +4 -0
  334. package/lib/duet/{p-54e704a1.entry.js → p-1057eeaa.entry.js} +1 -1
  335. package/lib/duet/{p-a90beab2.entry.js → p-1275c867.entry.js} +1 -1
  336. package/lib/duet/{p-8984c2a3.system.entry.js → p-1317da1c.system.entry.js} +1 -1
  337. package/lib/duet/{p-86150b9f.system.entry.js → p-1364a715.system.entry.js} +1 -1
  338. package/lib/duet/{p-d3790473.entry.js → p-148be53e.entry.js} +1 -1
  339. package/lib/duet/{p-ca5d23f8.system.entry.js → p-15bd06bb.system.entry.js} +1 -1
  340. package/lib/duet/{p-2f021c6a.system.entry.js → p-1744b916.system.entry.js} +1 -1
  341. package/lib/duet/{p-59c9d492.entry.js → p-17592731.entry.js} +1 -1
  342. package/lib/duet/{p-126d3a77.system.entry.js → p-17d11f8c.system.entry.js} +1 -1
  343. package/lib/duet/p-19625473.entry.js +4 -0
  344. package/lib/duet/{p-8aa37257.entry.js → p-1b1d98b4.entry.js} +1 -1
  345. package/lib/duet/{p-36a9f7ef.entry.js → p-1c0ace6c.entry.js} +1 -1
  346. package/lib/duet/{p-6d41bea4.system.entry.js → p-1ea716c1.system.entry.js} +1 -1
  347. package/lib/duet/{p-51b198a9.entry.js → p-1fc48a8d.entry.js} +1 -1
  348. package/lib/duet/{p-03259614.entry.js → p-202f526f.entry.js} +1 -1
  349. package/lib/duet/{p-544acabc.system.entry.js → p-207e46dc.system.entry.js} +1 -1
  350. package/lib/duet/{p-56d8b241.system.entry.js → p-26df85b3.system.entry.js} +1 -1
  351. package/lib/duet/{p-291d313b.system.entry.js → p-28cc13b6.system.entry.js} +1 -1
  352. package/lib/duet/{p-afbd4b56.system.entry.js → p-28ef1aaf.system.entry.js} +1 -1
  353. package/lib/duet/{p-280630b2.entry.js → p-295396cd.entry.js} +1 -1
  354. package/lib/duet/{p-5b8a114c.system.entry.js → p-2a0c7157.system.entry.js} +1 -1
  355. package/lib/duet/{p-ab67d864.system.entry.js → p-2a0e1cd2.system.entry.js} +1 -1
  356. package/lib/duet/{p-e03a4cf1.system.entry.js → p-2a4f4522.system.entry.js} +1 -1
  357. package/lib/duet/{p-85641c26.entry.js → p-2b082283.entry.js} +1 -1
  358. package/lib/duet/{p-74aa0f9d.system.js → p-2bb44297.system.js} +1 -1
  359. package/lib/duet/{p-352dae35.entry.js → p-2c64554e.entry.js} +1 -1
  360. package/lib/duet/{p-63b854a7.system.entry.js → p-2efdf39c.system.entry.js} +1 -1
  361. package/lib/duet/{p-bc5fa50f.entry.js → p-3072addc.entry.js} +1 -1
  362. package/lib/duet/{p-086a3406.entry.js → p-345ac2e1.entry.js} +1 -1
  363. package/lib/duet/{p-66bfcb56.system.entry.js → p-346f8340.system.entry.js} +1 -1
  364. package/lib/duet/{p-c4c02007.entry.js → p-35600b76.entry.js} +1 -1
  365. package/lib/duet/{p-452883d8.entry.js → p-35c49132.entry.js} +1 -1
  366. package/lib/duet/{p-51f95f2e.entry.js → p-37c469ec.entry.js} +1 -1
  367. package/lib/duet/{p-99cdf534.entry.js → p-3ac058e8.entry.js} +1 -1
  368. package/lib/duet/{p-e5395121.system.entry.js → p-3bcc4ed9.system.entry.js} +1 -1
  369. package/lib/duet/p-42a1b0f0.system.js +4 -0
  370. package/lib/duet/{p-96201a4f.system.entry.js → p-433fad0d.system.entry.js} +1 -1
  371. package/lib/duet/{p-5c8de709.system.entry.js → p-435f700f.system.entry.js} +1 -1
  372. package/lib/duet/{p-f973c743.entry.js → p-45beef6d.entry.js} +1 -1
  373. package/lib/duet/{p-5645fe0f.entry.js → p-477e39b0.entry.js} +1 -1
  374. package/lib/duet/{p-8968462d.entry.js → p-48bb29d2.entry.js} +1 -1
  375. package/lib/duet/{p-87040cdc.entry.js → p-497fe0b1.entry.js} +1 -1
  376. package/lib/duet/p-4a2ccec7.entry.js +4 -0
  377. package/lib/duet/{p-7fb92a7e.system.entry.js → p-4af9bc5f.system.entry.js} +1 -1
  378. package/lib/duet/p-4ebb368b.entry.js +4 -0
  379. package/lib/duet/{p-fbc233bb.system.entry.js → p-4f2c25a0.system.entry.js} +1 -1
  380. package/lib/duet/{p-d080e1b9.system.js → p-4f945200.system.js} +1 -1
  381. package/lib/duet/{p-e7fe5dda.entry.js → p-4fc8517e.entry.js} +1 -1
  382. package/lib/duet/{p-d4d5010c.entry.js → p-4fc945d4.entry.js} +1 -1
  383. package/lib/duet/{p-33d04b9b.entry.js → p-52829324.entry.js} +1 -1
  384. package/lib/duet/{p-5555c8b1.system.entry.js → p-53b9b442.system.entry.js} +1 -1
  385. package/lib/duet/p-55bafbde.system.entry.js +4 -0
  386. package/lib/duet/{p-eeca1e90.entry.js → p-56b48e3d.entry.js} +1 -1
  387. package/lib/duet/{p-bcee92ef.entry.js → p-580a6591.entry.js} +1 -1
  388. package/lib/duet/p-587a9d58.system.entry.js +4 -0
  389. package/lib/duet/{p-8860ca98.system.entry.js → p-5ab4313d.system.entry.js} +1 -1
  390. package/lib/duet/{p-da959774.system.entry.js → p-5c561b82.system.entry.js} +1 -1
  391. package/lib/duet/{p-f5056fd8.system.entry.js → p-5d5ba6ed.system.entry.js} +1 -1
  392. package/lib/duet/{p-70a6edcd.system.entry.js → p-5e01a303.system.entry.js} +1 -1
  393. package/lib/duet/{p-3aa36e16.entry.js → p-5e2d4a51.entry.js} +1 -1
  394. package/lib/duet/{p-4289c19b.system.js → p-61173f11.system.js} +1 -1
  395. package/lib/duet/p-622e1ffc.js +4 -0
  396. package/lib/duet/{p-fef429fb.system.entry.js → p-64651bff.system.entry.js} +1 -1
  397. package/lib/duet/p-64853b73.entry.js +4 -0
  398. package/lib/duet/{p-839b3553.system.entry.js → p-66021b00.system.entry.js} +2 -2
  399. package/lib/duet/{p-795bf9ca.system.entry.js → p-68cbc985.system.entry.js} +1 -1
  400. package/lib/duet/{p-c705b8d5.entry.js → p-6c36ad85.entry.js} +1 -1
  401. package/lib/duet/p-6eb279dd.system.entry.js +4 -0
  402. package/lib/duet/{p-7069c290.system.entry.js → p-6fb72847.system.entry.js} +1 -1
  403. package/lib/duet/{p-a14a68fe.entry.js → p-71ec5b28.entry.js} +1 -1
  404. package/lib/duet/p-73853b36.system.entry.js +4 -0
  405. package/lib/duet/{p-8c78634e.system.entry.js → p-7567fef0.system.entry.js} +1 -1
  406. package/lib/duet/{p-e08088cb.system.entry.js → p-76361fed.system.entry.js} +2 -2
  407. package/lib/duet/p-7638da3f.entry.js +4 -0
  408. package/lib/duet/{p-cd4dce06.js → p-76927493.js} +1 -1
  409. package/lib/duet/{p-37085adb.entry.js → p-7ac466a3.entry.js} +1 -1
  410. package/lib/duet/{p-241e3985.system.entry.js → p-7b5541e9.system.entry.js} +1 -1
  411. package/lib/duet/{p-0a675075.js → p-7be5b9a7.js} +1 -1
  412. package/lib/duet/{p-4ca75b84.system.entry.js → p-7cad68ea.system.entry.js} +1 -1
  413. package/lib/duet/{p-fb713ab0.entry.js → p-7fceb8c8.entry.js} +1 -1
  414. package/lib/duet/{p-e4b910b4.system.entry.js → p-84b24dcc.system.entry.js} +1 -1
  415. package/lib/duet/{p-d5fedd59.system.entry.js → p-84c02ce1.system.entry.js} +1 -1
  416. package/lib/duet/p-84f2cc6b.entry.js +4 -0
  417. package/lib/duet/p-85261a28.entry.js +4 -0
  418. package/lib/duet/p-85a38287.system.entry.js +4 -0
  419. package/lib/duet/{p-c55fd9d3.entry.js → p-88e0e42c.entry.js} +1 -1
  420. package/lib/duet/{p-054f5ec6.system.js → p-89cf1a91.system.js} +1 -1
  421. package/lib/duet/p-8b59d885.entry.js +4 -0
  422. package/lib/duet/{p-95c6d4d0.entry.js → p-8bfb6649.entry.js} +1 -1
  423. package/lib/duet/{p-b4fb5d47.entry.js → p-8d6e249b.entry.js} +1 -1
  424. package/lib/duet/p-8ecbac63.system.entry.js +4 -0
  425. package/lib/duet/{p-8ff659e3.system.entry.js → p-8f698359.system.entry.js} +1 -1
  426. package/lib/duet/{p-b08ae8a2.system.entry.js → p-91a98b52.system.entry.js} +1 -1
  427. package/lib/duet/{p-b19b9511.system.entry.js → p-91f7ae75.system.entry.js} +1 -1
  428. package/lib/duet/{p-18cee812.system.entry.js → p-925da010.system.entry.js} +1 -1
  429. package/lib/duet/{p-f2311beb.entry.js → p-943edeef.entry.js} +1 -1
  430. package/lib/duet/{p-e8084ea9.system.entry.js → p-9525c31e.system.entry.js} +1 -1
  431. package/lib/duet/{p-ef2ee599.entry.js → p-95f1b9a1.entry.js} +1 -1
  432. package/lib/duet/p-96a6cca2.entry.js +4 -0
  433. package/lib/duet/p-98fd263d.entry.js +4 -0
  434. package/lib/duet/{p-38e51258.system.entry.js → p-9d3e0050.system.entry.js} +2 -2
  435. package/lib/duet/{p-296d5473.entry.js → p-9f377238.entry.js} +1 -1
  436. package/lib/duet/p-9f3a5506.entry.js +4 -0
  437. package/lib/duet/{p-c6384d36.entry.js → p-9f9e4b5a.entry.js} +1 -1
  438. package/lib/duet/{p-e73965c8.system.entry.js → p-a0229b56.system.entry.js} +1 -1
  439. package/lib/duet/p-a083b91a.js +5 -0
  440. package/lib/duet/{p-2d6410d0.system.js → p-a331ae6e.system.js} +1 -1
  441. package/lib/duet/{p-fa402e10.system.entry.js → p-a637d6a7.system.entry.js} +1 -1
  442. package/lib/duet/{p-257b436e.system.entry.js → p-a90243df.system.entry.js} +1 -1
  443. package/lib/duet/{p-b8327514.entry.js → p-afc011e1.entry.js} +1 -1
  444. package/lib/duet/p-aff748c3.entry.js +4 -0
  445. package/lib/duet/{p-f17324db.system.entry.js → p-b1c2ab61.system.entry.js} +1 -1
  446. package/lib/duet/p-b3076f6c.system.entry.js +4 -0
  447. package/lib/duet/{p-145d2c10.entry.js → p-b327a269.entry.js} +1 -1
  448. package/lib/duet/{p-def465ae.entry.js → p-b32dcb86.entry.js} +1 -1
  449. package/lib/duet/{p-c91ee9a4.system.entry.js → p-b336e3fb.system.entry.js} +1 -1
  450. package/lib/duet/{p-71b99868.entry.js → p-b410d85d.entry.js} +1 -1
  451. package/lib/duet/p-b56915bb.system.entry.js +4 -0
  452. package/lib/duet/{p-6899c158.system.entry.js → p-b642d349.system.entry.js} +1 -1
  453. package/lib/duet/{p-7718746e.entry.js → p-b79ca71d.entry.js} +1 -1
  454. package/lib/duet/{p-2eaefb06.entry.js → p-baf88ca9.entry.js} +1 -1
  455. package/lib/duet/{p-f739d912.system.entry.js → p-bbb9a30a.system.entry.js} +1 -1
  456. package/lib/duet/{p-e50de9e7.entry.js → p-bcd14101.entry.js} +1 -1
  457. package/lib/duet/{p-3a16a027.entry.js → p-bcfd5746.entry.js} +1 -1
  458. package/lib/duet/{p-1aac7b52.entry.js → p-bfb897ab.entry.js} +1 -1
  459. package/lib/duet/{p-36a1de2f.system.entry.js → p-c2befbf1.system.entry.js} +1 -1
  460. package/lib/duet/{p-0dfbe740.entry.js → p-c2d61f47.entry.js} +1 -1
  461. package/lib/duet/{p-26b99c47.system.entry.js → p-c3d6433f.system.entry.js} +1 -1
  462. package/lib/duet/{p-541429d7.system.entry.js → p-c50c0b02.system.entry.js} +2 -2
  463. package/lib/duet/{p-b501865b.system.entry.js → p-c5117f90.system.entry.js} +1 -1
  464. package/lib/duet/{p-ab885d81.entry.js → p-c56c0b41.entry.js} +1 -1
  465. package/lib/duet/{p-73ff5910.system.entry.js → p-c581e6d3.system.entry.js} +1 -1
  466. package/lib/duet/{p-74c70041.system.entry.js → p-c734cff9.system.entry.js} +1 -1
  467. package/lib/duet/p-ca29569e.system.js +4 -0
  468. package/lib/duet/{p-b2d5f07c.system.js → p-cdba12cc.system.js} +1 -1
  469. package/lib/duet/{p-a3efd322.system.entry.js → p-ce8d83cf.system.entry.js} +2 -2
  470. package/lib/duet/{p-21631e83.entry.js → p-d2059383.entry.js} +1 -1
  471. package/lib/duet/{p-673b20ea.system.entry.js → p-d2e9bcdf.system.entry.js} +1 -1
  472. package/lib/duet/{p-b6ea05f0.system.entry.js → p-d3e906da.system.entry.js} +1 -1
  473. package/lib/duet/{p-f937ba7d.entry.js → p-d49076b6.entry.js} +1 -1
  474. package/lib/duet/{p-140fd433.system.entry.js → p-d66a0251.system.entry.js} +1 -1
  475. package/lib/duet/{p-dd4374fe.system.entry.js → p-d8c356eb.system.entry.js} +1 -1
  476. package/lib/duet/{p-ae82df47.system.entry.js → p-d915362b.system.entry.js} +1 -1
  477. package/lib/duet/{p-cb00bf45.system.entry.js → p-da49ab05.system.entry.js} +2 -2
  478. package/lib/duet/{p-7f6a61f0.system.entry.js → p-dc186a2f.system.entry.js} +1 -1
  479. package/lib/duet/p-dcb8b2e2.entry.js +4 -0
  480. package/lib/duet/{p-8ca8ab58.system.entry.js → p-dd3fff16.system.entry.js} +2 -2
  481. package/lib/duet/{p-7c235af5.entry.js → p-dd7ec171.entry.js} +1 -1
  482. package/lib/duet/{p-4d06fd44.js → p-e3857119.js} +1 -1
  483. package/lib/duet/p-e67910bf.system.entry.js +4 -0
  484. package/lib/duet/{p-274b3451.system.entry.js → p-e81eade0.system.entry.js} +1 -1
  485. package/lib/duet/{p-4afae9c6.entry.js → p-e8b5235d.entry.js} +1 -1
  486. package/lib/duet/{p-59a32595.system.entry.js → p-eaff90e5.system.entry.js} +1 -1
  487. package/lib/duet/{p-8305c56f.system.entry.js → p-ed4e9cd6.system.entry.js} +1 -1
  488. package/lib/duet/{p-f90407fc.entry.js → p-edd39bb2.entry.js} +1 -1
  489. package/lib/duet/p-ef7b1342.entry.js +4 -0
  490. package/lib/duet/{p-91f6cf96.system.entry.js → p-f268a161.system.entry.js} +1 -1
  491. package/lib/duet/p-f3737a2b.entry.js +4 -0
  492. package/lib/duet/{p-10c5ce3a.entry.js → p-f38a5f44.entry.js} +1 -1
  493. package/lib/duet/{p-5f06bb51.entry.js → p-f631a689.entry.js} +1 -1
  494. package/lib/duet/{p-67da02dd.system.entry.js → p-f7d083c5.system.entry.js} +1 -1
  495. package/lib/duet/p-f89d7751.entry.js +4 -0
  496. package/lib/duet/{p-5df12983.system.entry.js → p-f8f56a8e.system.entry.js} +1 -1
  497. package/lib/duet/{p-db291b81.entry.js → p-fb9b0a2f.entry.js} +1 -1
  498. package/lib/duet/{p-55ecc86b.entry.js → p-fce0a87d.entry.js} +1 -1
  499. package/lib/duet/{p-e0e6e461.system.entry.js → p-ff2aca13.system.entry.js} +2 -2
  500. package/lib/esm/{a11y-utils-c9bd2c27.js → a11y-utils-9dbc7c3d.js} +1 -1
  501. package/lib/esm/{app-globals-f12e0500.js → app-globals-e00fbe9c.js} +1 -1
  502. package/lib/esm/duet-action-button.entry.js +2 -2
  503. package/lib/esm/duet-alert.entry.js +3 -3
  504. package/lib/esm/duet-badge.entry.js +3 -3
  505. package/lib/esm/duet-banner.entry.js +2 -2
  506. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  507. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  508. package/lib/esm/duet-button_2.entry.js +10 -10
  509. package/lib/esm/duet-callout.entry.js +4 -4
  510. package/lib/esm/duet-caption_4.entry.js +11 -10
  511. package/lib/esm/duet-card.entry.js +2 -2
  512. package/lib/esm/duet-checkbox.entry.js +1 -1
  513. package/lib/esm/duet-checkmark.entry.js +3 -3
  514. package/lib/esm/{duet-chip_3.entry.js → duet-chip.entry.js} +5 -377
  515. package/lib/esm/duet-choice_2.entry.js +3 -3
  516. package/lib/esm/duet-collapsible.entry.js +4 -4
  517. package/lib/esm/duet-combobox.entry.js +3 -3
  518. package/lib/esm/duet-contact-card.entry.js +4 -4
  519. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  520. package/lib/esm/duet-date-picker.entry.js +4 -4
  521. package/lib/esm/duet-divider_2.entry.js +3 -3
  522. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  523. package/lib/esm/duet-empty-state.entry.js +3 -3
  524. package/lib/esm/duet-fieldset.entry.js +5 -5
  525. package/lib/esm/duet-file-chooser.entry.js +2 -2
  526. package/lib/esm/duet-footer.entry.js +7 -7
  527. package/lib/esm/duet-grid_2.entry.js +1 -1
  528. package/lib/esm/duet-header_2.entry.js +3 -3
  529. package/lib/esm/duet-hero.entry.js +8 -8
  530. package/lib/esm/duet-icon.entry.js +4 -4
  531. package/lib/esm/duet-input_2.entry.js +5 -5
  532. package/lib/esm/duet-layout.entry.js +7 -7
  533. package/lib/esm/duet-list_2.entry.js +4 -4
  534. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  535. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  536. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  537. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  538. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  539. package/lib/esm/duet-menu-bar.entry.js +4 -4
  540. package/lib/esm/duet-modal.entry.js +10 -10
  541. package/lib/esm/duet-multiselect.entry.js +8 -8
  542. package/lib/esm/duet-nav.entry.js +2 -2
  543. package/lib/esm/duet-notification_2.entry.js +6 -6
  544. package/lib/esm/duet-number-input.entry.js +3 -3
  545. package/lib/esm/duet-overlay.entry.js +2 -2
  546. package/lib/esm/duet-page-heading.entry.js +3 -3
  547. package/lib/esm/duet-pagination_2.entry.js +15 -15
  548. package/lib/esm/duet-phone-input.entry.js +1998 -0
  549. package/lib/esm/duet-popup-menu_2.entry.js +421 -0
  550. package/lib/esm/duet-progress.entry.js +2 -2
  551. package/lib/esm/duet-promo-card.entry.js +4 -4
  552. package/lib/esm/duet-radio_2.entry.js +2 -2
  553. package/lib/esm/duet-range-slider.entry.js +1 -1
  554. package/lib/esm/duet-scrollable_3.entry.js +27 -18
  555. package/lib/esm/duet-section-layout.entry.js +4 -4
  556. package/lib/esm/duet-select.entry.js +2 -2
  557. package/lib/esm/duet-shaped-image.entry.js +3 -3
  558. package/lib/esm/duet-show-more.entry.js +4 -4
  559. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  560. package/lib/esm/duet-slideout-link.entry.js +22 -4
  561. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  562. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  563. package/lib/esm/duet-slideout.entry.js +8 -8
  564. package/lib/esm/duet-status-icon.entry.js +3 -3
  565. package/lib/esm/duet-step_2.entry.js +2 -2
  566. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  567. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  568. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  569. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  570. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  571. package/lib/esm/duet-textarea.entry.js +3 -3
  572. package/lib/esm/duet-toggle.entry.js +1 -1
  573. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  574. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  575. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  576. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  577. package/lib/esm/duet-toolbar.entry.js +3 -3
  578. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  579. package/lib/esm/duet-tooltip.entry.js +2 -2
  580. package/lib/esm/duet-tray.entry.js +4 -4
  581. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  582. package/lib/esm/duet-upload-item.entry.js +5 -5
  583. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  584. package/lib/esm/duet.js +4 -4
  585. package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-416994cc.js} +1 -1
  586. package/lib/esm/{focus-utils-fc101536.js → focus-utils-7bc146cd.js} +1 -1
  587. package/lib/esm/{index-fa810c91.js → index-1a6cee61.js} +11 -3
  588. package/lib/esm/{language-utils-35eb1c9f.js → language-utils-8a9d5323.js} +1 -1
  589. package/lib/esm/loader.js +4 -4
  590. package/lib/esm/{slot-utils-adbc7a01.js → slot-utils-9633ef1e.js} +1 -1
  591. package/lib/esm-es5/{a11y-utils-c9bd2c27.js → a11y-utils-9dbc7c3d.js} +1 -1
  592. package/lib/esm-es5/{app-globals-f12e0500.js → app-globals-e00fbe9c.js} +1 -1
  593. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  594. package/lib/esm-es5/duet-alert.entry.js +1 -1
  595. package/lib/esm-es5/duet-badge.entry.js +1 -1
  596. package/lib/esm-es5/duet-banner.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  598. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  599. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  600. package/lib/esm-es5/duet-callout.entry.js +1 -1
  601. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  602. package/lib/esm-es5/duet-card.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  604. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  605. package/lib/esm-es5/duet-chip.entry.js +4 -0
  606. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  607. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  608. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  609. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  610. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  611. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  612. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  613. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  614. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  615. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  616. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  617. package/lib/esm-es5/duet-footer.entry.js +1 -1
  618. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  620. package/lib/esm-es5/duet-hero.entry.js +2 -2
  621. package/lib/esm-es5/duet-icon.entry.js +1 -1
  622. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-layout.entry.js +1 -1
  624. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  630. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  631. package/lib/esm-es5/duet-modal.entry.js +1 -1
  632. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  633. package/lib/esm-es5/duet-nav.entry.js +1 -1
  634. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  635. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  636. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  637. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  638. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  639. package/lib/esm-es5/duet-phone-input.entry.js +4 -0
  640. package/lib/esm-es5/duet-popup-menu_2.entry.js +4 -0
  641. package/lib/esm-es5/duet-progress.entry.js +1 -1
  642. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  643. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  645. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  646. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  647. package/lib/esm-es5/duet-select.entry.js +1 -1
  648. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  649. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  651. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  653. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  654. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  655. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  656. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  658. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  659. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  660. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  661. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  662. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  663. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  664. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  665. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  666. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  667. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  668. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  669. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  670. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  671. package/lib/esm-es5/duet-tray.entry.js +1 -1
  672. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  673. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  674. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  675. package/lib/esm-es5/duet.js +1 -1
  676. package/lib/esm-es5/{errorcodes.utils-d594aed8.js → errorcodes.utils-416994cc.js} +1 -1
  677. package/lib/esm-es5/focus-utils-7bc146cd.js +4 -0
  678. package/lib/esm-es5/index-1a6cee61.js +4 -0
  679. package/lib/esm-es5/{language-utils-35eb1c9f.js → language-utils-8a9d5323.js} +1 -1
  680. package/lib/esm-es5/loader.js +1 -1
  681. package/lib/esm-es5/{slot-utils-adbc7a01.js → slot-utils-9633ef1e.js} +1 -1
  682. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  683. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  684. package/lib/types/components/duet-input/duet-input.d.ts +4 -3
  685. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +156 -0
  686. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +11 -1
  687. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -0
  688. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  689. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -0
  690. package/lib/types/components.d.ts +259 -2
  691. package/lib/types/data/countries.d.ts +22 -0
  692. package/package.json +4 -4
  693. package/lib/dist-custom-elements/p-35014c4b.js +0 -268
  694. package/lib/duet/p-0750dca1.entry.js +0 -4
  695. package/lib/duet/p-07f685d3.entry.js +0 -4
  696. package/lib/duet/p-28696d40.entry.js +0 -4
  697. package/lib/duet/p-2981b2b9.system.entry.js +0 -4
  698. package/lib/duet/p-344ead85.system.entry.js +0 -4
  699. package/lib/duet/p-3933c84c.system.entry.js +0 -4
  700. package/lib/duet/p-4a91b8bc.system.entry.js +0 -4
  701. package/lib/duet/p-56d9a98c.system.entry.js +0 -4
  702. package/lib/duet/p-659d4dd6.entry.js +0 -4
  703. package/lib/duet/p-745a94fa.entry.js +0 -4
  704. package/lib/duet/p-7648f559.system.js +0 -4
  705. package/lib/duet/p-76fd0ec2.entry.js +0 -4
  706. package/lib/duet/p-7d6ddeec.js +0 -4
  707. package/lib/duet/p-7efd74ca.entry.js +0 -4
  708. package/lib/duet/p-87302bc0.entry.js +0 -4
  709. package/lib/duet/p-8bfce1f7.entry.js +0 -4
  710. package/lib/duet/p-97fe4968.js +0 -5
  711. package/lib/duet/p-9d6f6707.entry.js +0 -4
  712. package/lib/duet/p-a17a2112.entry.js +0 -4
  713. package/lib/duet/p-ac7ef7e2.js +0 -4
  714. package/lib/duet/p-b5b8973c.js +0 -4
  715. package/lib/duet/p-b7ecf91a.entry.js +0 -4
  716. package/lib/duet/p-bc440286.entry.js +0 -4
  717. package/lib/duet/p-c1802d38.system.js +0 -4
  718. package/lib/duet/p-c403a5b5.entry.js +0 -4
  719. package/lib/duet/p-d819ba34.entry.js +0 -4
  720. package/lib/duet/p-e81db273.system.entry.js +0 -4
  721. package/lib/duet/p-eaa81178.system.entry.js +0 -4
  722. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  723. package/lib/esm-es5/focus-utils-fc101536.js +0 -4
  724. package/lib/esm-es5/index-fa810c91.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "9.4.1",
3
+ "version": "9.5.0",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@duetds/fonts": "3.0.51",
48
- "@duetds/icons": "4.1.9",
49
- "@duetds/tokens": "4.0.86",
48
+ "@duetds/icons": "4.1.11",
49
+ "@duetds/tokens": "4.0.88",
50
50
  "@percy/cli": "1.30.1",
51
51
  "@rollup/plugin-replace": "5.0.2",
52
52
  "@stencil/core": "4.23.0",
@@ -77,5 +77,5 @@
77
77
  "collection": "lib/collection/collection-manifest.json",
78
78
  "es2015": "lib/esm/index.js",
79
79
  "es2017": "lib/esm/index.js",
80
- "gitHead": "3c47974325c6f8353735749a48f152cd7135fb90"
80
+ "gitHead": "23e8880af9188f1ea65c3863965f417fc3bb3748"
81
81
  }
@@ -1,268 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-1080a6c7.js';
5
- import { m as media_query_medium, a as media_query_large } from './p-f6000a03.js';
6
- import { c as computePosition, f as flip, s as shift, a as arrow, b as autoUpdate } from './p-81287261.js';
7
- import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
8
- import { c as createID } from './p-5e59e970.js';
9
- import { b as isEscapeKey } from './p-8db11326.js';
10
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-35375593.js';
11
- import { d as defineCustomElement$4 } from './p-2ccad3d5.js';
12
- import { d as defineCustomElement$3 } from './p-0323fc27.js';
13
- import { d as defineCustomElement$2 } from './p-6657fbee.js';
14
- import { d as defineCustomElement$1 } from './p-f2e41ed9.js';
15
-
16
- const duetTooltipCss = "*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";
17
- const DuetTooltipStyle0 = duetTooltipCss;
18
-
19
- const DuetTooltip = /*@__PURE__*/ proxyCustomElement(class DuetTooltip extends H {
20
- constructor() {
21
- super();
22
- this.__registerHost();
23
- /**
24
- * Own Properties.
25
- */
26
- this.mql = [
27
- window.matchMedia(media_query_medium.replace(/'/g, "")),
28
- window.matchMedia(media_query_large.replace(/'/g, "")),
29
- ];
30
- this.tooltipId = createID("DuetTooltip");
31
- this.aboutString = {
32
- fi: "aiheesta",
33
- en: "about",
34
- sv: "om",
35
- };
36
- /**
37
- * Local methods
38
- */
39
- this.openTooltip = () => {
40
- this.active = true;
41
- setTimeout(() => {
42
- this.contentEl.focus({ preventScroll: true });
43
- this.buttonActive = true;
44
- }, 200);
45
- };
46
- this.closeTooltip = (moveFocusToButton = false) => {
47
- this.active = false;
48
- if (moveFocusToButton) {
49
- setTimeout(() => {
50
- this.buttonEl.setFocus({ preventScroll: true });
51
- }, 200);
52
- }
53
- setTimeout(() => {
54
- this.buttonActive = false;
55
- });
56
- setTimeout(() => {
57
- this.updatePlacement();
58
- }, 200);
59
- };
60
- this.toggleOpen = () => {
61
- this.active ? this.closeTooltip() : this.openTooltip();
62
- };
63
- this.updatePlacement = async () => {
64
- var _a, _b;
65
- let preferRight = true;
66
- if (this.breakpoint === "large" && !this.mql[1].matches) {
67
- preferRight = false;
68
- }
69
- else if (this.breakpoint === "medium" && !this.mql[0].matches) {
70
- preferRight = false;
71
- }
72
- let placement = preferRight ? "top-start" : "top-end";
73
- if (this.direction === "left") {
74
- placement = "top-end";
75
- }
76
- else if (this.direction === "right") {
77
- placement = "top-start";
78
- }
79
- const position = await computePosition(this.buttonEl, this.popupElement, {
80
- placement,
81
- middleware: [flip(), shift({ padding: 5 }), arrow({ element: this.arrowEl })],
82
- });
83
- this.tooltipY = position.y;
84
- this.tooltipX = position.x;
85
- this.placement = position.placement;
86
- this.arrowY = (_a = position.middlewareData.arrow) === null || _a === void 0 ? void 0 : _a.y;
87
- this.arrowX = (_b = position.middlewareData.arrow) === null || _b === void 0 ? void 0 : _b.x;
88
- };
89
- this.placement = "bottom";
90
- this.tooltipY = undefined;
91
- this.tooltipX = undefined;
92
- this.arrowX = undefined;
93
- this.arrowY = undefined;
94
- this.buttonActive = undefined;
95
- this.theme = "";
96
- this.language = getLanguage();
97
- this.accessibleLabelDefault = {
98
- fi: "Näytä lisätietoja",
99
- en: "Show more information",
100
- sv: "Visa mer tilläggsuppgifter",
101
- };
102
- this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, this.language);
103
- this.accessibleAboutLabel = undefined;
104
- this.accessibleInputLabel = undefined;
105
- this.accessibleCloseLabelDefault = {
106
- fi: "Sulje lisätiedot",
107
- en: "Close details",
108
- sv: "Stäng tilläggsuppgifter",
109
- };
110
- this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefault, this.language);
111
- this.label = "";
112
- this.breakpoint = "medium";
113
- this.direction = "auto";
114
- this.positionVertical = "0";
115
- this.positionHorizontal = "0";
116
- this.active = false;
117
- this.negative = false;
118
- }
119
- /**
120
- * Component lifecycle events.
121
- */
122
- componentWillLoad() {
123
- inheritGlobalTheme(this);
124
- this.buttonActive = this.active;
125
- }
126
- async componentDidLoad() {
127
- this.arrowEl = await this.popupElement.getArrowElement();
128
- this.contentEl = await this.popupElement.getContentElement();
129
- this.updatePlacement();
130
- if (this.active) {
131
- this.openTooltip();
132
- await this.handleActiveChange(this.active);
133
- }
134
- this.intersectionObserver = new IntersectionObserver(this.updatePlacement, { root: document.body });
135
- this.intersectionObserver.observe(this.element);
136
- }
137
- connectedCallback() {
138
- connectLanguageChangeObserver(this, [
139
- { prop: "accessibleLabel", defaults: "accessibleLabelDefault" },
140
- { prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefault" },
141
- ]);
142
- }
143
- disconnectedCallback() {
144
- disconnectLanguageChangeObserver(this);
145
- }
146
- handleDocumentClick(e) {
147
- if (!this.active) {
148
- return;
149
- }
150
- const path = e.composedPath();
151
- const isClickOutside = path.every(el => el !== this.element && el !== this.contentEl);
152
- if (isClickOutside) {
153
- this.closeTooltip();
154
- }
155
- }
156
- handleKeyDown(e) {
157
- if (this.active && isEscapeKey(e)) {
158
- this.closeTooltip(true);
159
- }
160
- }
161
- handlePopupClose() {
162
- if (this.active) {
163
- this.closeTooltip(true);
164
- }
165
- }
166
- async handleActiveChange(newActiveValue) {
167
- if (newActiveValue) {
168
- this.autoUpdateCleanup = autoUpdate(this.buttonEl, this.popupElement, this.updatePlacement);
169
- }
170
- else {
171
- this.autoUpdateCleanup();
172
- }
173
- }
174
- /**
175
- * render() function.
176
- * Always the last one in the class.
177
- */
178
- render() {
179
- const tooltipStyles = {
180
- transform: `translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,
181
- // This is needed to that the active tooltip stacks on
182
- // top of other tooltips and the header.
183
- zIndex: this.active ? "201" : "",
184
- };
185
- const popupContainerStyles = {
186
- position: "relative",
187
- overflow: this.active ? "visible" : "hidden",
188
- };
189
- const positionStyles = {
190
- top: `${this.tooltipY}px`,
191
- left: `${this.tooltipX}px`,
192
- display: "block",
193
- "pointer-events": this.active ? "auto" : "none",
194
- };
195
- const arrowStyles = {
196
- top: this.arrowY ? `${this.arrowY}px` : undefined,
197
- left: this.arrowX ? `${this.arrowX}px` : undefined,
198
- };
199
- return (h(Host, { style: tooltipStyles }, h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.buttonActive, tooltipId: this.tooltipId, label: this.label, accessibleLabel: (this.accessibleInputLabel && `${this.accessibleInputLabel}, ${this.accessibleLabel}`) ||
200
- (this.accessibleAboutLabel &&
201
- `${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`) ||
202
- this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme, negative: this.negative }), h("div", { style: popupContainerStyles }, h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, theme: this.theme }, h("slot", null)))));
203
- }
204
- get element() { return this; }
205
- static get watchers() { return {
206
- "active": ["handleActiveChange"]
207
- }; }
208
- static get style() { return DuetTooltipStyle0; }
209
- }, [6, "duet-tooltip", {
210
- "theme": [1025],
211
- "language": [1025],
212
- "accessibleLabelDefault": [1, "accessible-label-default"],
213
- "accessibleLabel": [1025, "accessible-label"],
214
- "accessibleAboutLabel": [1, "accessible-about-label"],
215
- "accessibleInputLabel": [1, "accessible-input-label"],
216
- "accessibleCloseLabelDefault": [1, "accessible-close-label-default"],
217
- "accessibleCloseLabel": [1025, "accessible-close-label"],
218
- "label": [1],
219
- "breakpoint": [1],
220
- "direction": [1],
221
- "positionVertical": [513, "position-vertical"],
222
- "positionHorizontal": [513, "position-horizontal"],
223
- "active": [1540],
224
- "negative": [4],
225
- "placement": [32],
226
- "tooltipY": [32],
227
- "tooltipX": [32],
228
- "arrowX": [32],
229
- "arrowY": [32],
230
- "buttonActive": [32]
231
- }, [[4, "click", "handleDocumentClick"], [4, "keydown", "handleKeyDown"], [4, "tooltipPopupClosed", "handlePopupClose"]], {
232
- "active": ["handleActiveChange"]
233
- }]);
234
- function defineCustomElement() {
235
- if (typeof customElements === "undefined") {
236
- return;
237
- }
238
- const components = ["duet-tooltip", "duet-icon", "duet-tooltip-button", "duet-tooltip-popup", "duet-visually-hidden"];
239
- components.forEach(tagName => { switch (tagName) {
240
- case "duet-tooltip":
241
- if (!customElements.get(tagName)) {
242
- customElements.define(tagName, DuetTooltip);
243
- }
244
- break;
245
- case "duet-icon":
246
- if (!customElements.get(tagName)) {
247
- defineCustomElement$4();
248
- }
249
- break;
250
- case "duet-tooltip-button":
251
- if (!customElements.get(tagName)) {
252
- defineCustomElement$3();
253
- }
254
- break;
255
- case "duet-tooltip-popup":
256
- if (!customElements.get(tagName)) {
257
- defineCustomElement$2();
258
- }
259
- break;
260
- case "duet-visually-hidden":
261
- if (!customElements.get(tagName)) {
262
- defineCustomElement$1();
263
- }
264
- break;
265
- } });
266
- }
267
-
268
- export { DuetTooltip as D, defineCustomElement as d };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as i,H as s,g as e}from"./p-97fe4968.js";import{m as o,a as h}from"./p-f6000a03.js";import{c as a,f as n,s as l,a as p,b as r}from"./p-81287261.js";import{i as d}from"./p-aaa7a7bd.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a45e3f8b.js";import{a as u,g as b,c as f,d as v}from"./p-4d06fd44.js";import"./p-9c3c64b9.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(h.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1})),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await a(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),p({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1,this.negative=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=r(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{g as duet_tooltip}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as t,g as n}from"./p-97fe4968.js";import{i as o}from"./p-aaa7a7bd.js";import{a as r,c as i,d,g as s}from"./p-4d06fd44.js";import"./p-9c3c64b9.js";const c=class{constructor(a){e(this,a),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=r(),this.theme=""}componentWillLoad(){o(this)}connectedCallback(){i(this)}disconnectedCallback(){d(this)}render(){const e=s(this.chooseLangObject);return a(t,{key:"31b6e57b23d0936cc4147741caf528521e1e82a1"},a("div",{key:"74b2d0ddf3a4a21c4d9368e9e7e00e6e223e78c6",class:"duet-slideout-lang",role:"group","aria-label":e},a("duet-icon",{key:"1f6beba2dcad7302f4e3db4395435d7c5e39730d",name:"navigation-language",margin:"none",color:"secondary"}),a("slot",{key:"ead217fcb33aeced035ef571dbe57de7857d0c84"})))}get element(){return n(this)}};c.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}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}';export{c as duet_slideout_lang}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,g as a}from"./p-97fe4968.js";import{i}from"./p-aaa7a7bd.js";import{g as s}from"./p-4d06fd44.js";import{a as o}from"./p-0a675075.js";import"./p-9c3c64b9.js";const n=class{constructor(t){e(this,t),this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},this.onLinkClick=e=>{const{url:t,meta:a}=this.data;this.linkClickEvent&&(e.preventDefault(),this.linkClickEvent.emit({component:"duet-upload",data:{name:this.data.item.name,url:t,meta:a}}))},this.theme="",this.data=void 0,this.type=void 0,this.showLinks=void 0,this.actions=void 0,this.buttonTitles=void 0,this.label=void 0,this.categoryLabel=void 0,this.errorCodes=void 0,this.showCategory=void 0,this.linkClickEvent=void 0}componentWillLoad(){i(this)}async focusActionButton(){this.actionButton&&(await this.actionButton.setFocus({preventScroll:!0}),this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}getFileNameLine(){const{item:e,size:a,uploaded:i,url:n,progress:r,error:l}=this.data,{name:d}=e,c=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),h=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((e,t=2)=>{if(0===e)return"0 Bytes";const a=t<0?0:t,i=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,i)).toFixed(a))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]})(a),")");switch(this.type){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-visually-hidden",null,t("duet-paragraph",null,s(this.fileUploadingInfo))),t("duet-progress",{theme:this.theme,progress:Math.ceil(r),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},o(l.type,this.errorCodes)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},i&&n&&this.showLinks?t("duet-link",{class:"file-link",onClick:this.onLinkClick,url:n},c):c,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}}getActionButtonTitle(e){return!0===this.buttonTitles[e.name]||!1===this.buttonTitles[e.name]?e:s(this.buttonTitles[e.name])}render(){const{uid:e,meta:a,item:i}=this.data,o=a&&a.badges?t("span",null,a.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,n=`${a&&a.badges?a.badges.join(","):""} ${i.name}`;return t("div",{key:"9a4a5dc0a101ccb013a41d6b87a8c9ed8b0e2d7b",class:{"upload-item-row":!0}},this.showCategory&&t("div",{key:"ecdfc43a5217eb4b917c54c728c751d7457fc4b8",class:"item-categories"},t("duet-heading",{key:"d8ebd5747f8a58146523c31cfe9a145fcaccb673",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.categoryLabel)),o),t("div",{key:"8cff3489a1f96f62170c2653c3b10bca450db5e2",class:{"item-name":!0,"no-category":!this.showCategory}},!!this.label&&t("duet-heading",{key:"45f4bbb20e7a4d1f6b3ba0022e54c01c4340a740",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.label)),this.getFileNameLine()),t("div",{key:"2e20dafc9e776166217d42e921c942344d61c26f",class:"item-actions"},this.actions.map((i=>t("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:e||null,actionName:i.name,theme:this.theme,iconName:i.icon,iconColor:i.color,iconSize:i.size,background:i.background,"accessible-label":`${n} ${s(i.label)} `,accessibleTitle:this.getActionButtonTitle(i),ref:e=>this.actionButton=e})))))}get element(){return a(this)}};n.style=".file-link::part(duet-link){text-decoration:none}";export{n as duet_upload_item}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(i.next(t))}catch(t){a(t)}}function d(t){try{s(i["throw"](t))}catch(t){a(t)}}function s(t){t.done?n(t.value):o(t.value).then(r,d)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(t){return function(e){return s([t,e])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;o=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1];a=d;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(d);break}if(a[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-98636086.system.js","./p-cbbf6d6a.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-c1802d38.system.js","./p-74aa0f9d.system.js","./p-e6b5a1c7.system.js","./p-ef731dfb.system.js","./p-2d6410d0.system.js"],(function(t){"use strict";var e,n,i,o,a,r,d,s,u,l,h,c,p,m,g,b,f;return{setters:[function(t){e=t.r;n=t.h;i=t.H;o=t.g;a=t.F},function(t){r=t.i},function(t){d=t.s},function(t){s=t.g},function(t){u=t.a},function(t){l=t.D;h=t.c},function(t){c=t.g},function(t){p=t.a;m=t.g;g=t.c;b=t.d},function(t){f=t.c},function(){},function(){}],execute:function(){var k=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var x=k;var w=t("duet_caption",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){return n(i,{key:"cefb662c677d5a45cc8e007a68ab67b0698ce2ee",class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",{key:"4a38bee52925d9c7db4473dd0e5bc92797b0b058"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());w.style=x;var v='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var y=v;var z=t("duet_heading",function(){function t(t){e(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=d(this.level);var i=s(this.color);return n(e,{key:"9a91dd0a097a00c6412b6b759df13aaa814430e8",class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),style:{color:i},part:"duet-heading"},n("slot",{key:"01f466dbadd345dac83e12dea63809ad46a70f2b"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());z.style=y;var S={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'};var _={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'};var j={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}';var U=I;var A=t("duet_link",function(){function t(t){e(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=l;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=h;this.accessibleLabelDownload=m(this.accessibleLabelDownloadDefaults);this.accessibleExpanded=undefined;this.accessiblePopup="false";this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.margin="auto";this.padding="auto";this.isMediumScreen=false}t.prototype.componentWillLoad=function(){r(this);this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){g(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&n(a,null,n("span",{class:"duet-link-icon-tail"}," ",n("duet-icon",{icon:this.resolvedDownload?_.svg:u.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderDefaultContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:S.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonCardContent=function(){var t={"background-color":s(this.iconBackground,this.theme)};return n(a,null,this.icon&&n("span",{class:"icon-wrap",style:t},n("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("div",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),n("span",{class:"chevron-wrap"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:S.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":return this.renderBlockContent();case"button":case"card":return this.renderButtonCardContent()}};t.prototype.render=function(){var t,e;var o=this;var a=!this.url?"button":"a";var r=a==="button";return n(i,{key:"70bc31e1d10efda3453e16b689e38d3a4834a4bc",class:(t={},t["duet-link-".concat(this.variation)]=true,t["duet-m-0"]=this.margin==="none",t)},n(a,{key:"1989da3829486cf23e4a50a7e36d93156f816404",href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.url&&c(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null&&r?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null&&r?this.accessiblePopup.toString():undefined,id:this.identifier,ref:function(t){return o.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());A.style=U;var E='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}';var C=E;var M=t("duet_paragraph",function(){function t(t){e(this,t);this.id=f("duet-paragraph");this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=s(this.color);return n(i,{key:"64a84c4df04a399b3f9378b2fc4742c06767e0c3","aria-describedby":this.id},n("p",{key:"6d9c8a61f8506ecb6e8e8391ab5d645555e36055",id:this.id,class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t),style:{color:e},part:"duet-paragraph"},n("slot",{key:"482892006f59215f0d9e7ba05b66bed8c5cee719"})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());M.style=C}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function c(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?i(e.value):r(e.value).then(a,c)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(i=0)),i)try{if(n=1,r&&(o=c[0]&2?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;if(r=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1];o=c;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(c);break}if(o[2])i.ops.pop();i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e];r=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-ef731dfb.system.js","./p-0dc9089b.system.js","./p-054f5ec6.system.js","./p-f6b21d17.system.js","./p-053b71e6.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,r,o,a,c,u,s,d,h,p,l,f,b,m,g,v,k,x,y,w,_,j;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){c=e.c},function(e){u=e.s;s=e.u;d=e.q;h=e.f;p=e.c;l=e.b;f=e.o},function(e){b=e.g},function(e){m=e.q},function(e){g=e.o;v=e.f;k=e.s;x=e.c;y=e.b},function(e){w=e.f},function(e){_=e.T},function(e){j=e.a},function(){}],execute:function(){var z='*,*::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:10px}.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:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.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 22px}: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 C=z;var S=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=c("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 r=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(o){var a;var c=(a=e.value)!==null&&a!==void 0?a:e.innerText;if(!e.active){r();e.active=true;n.element.textContent=e.innerText;n.value=c;n.checked=true}else{r();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(o);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(){a(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){s(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(b(this.deleteLabels)," ").concat(this.element.textContent)};e.prototype.getAccessibleInputChipLabel=function(){return"".concat(this.element.textContent).concat(this.selected?" (".concat(b(this.selectedForDeletionLabels),") "):"",",")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){d();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 o;var a=this.identifier||this.chipId;var c=(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 u={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return i.focusableElement=e}};return n(r,{key:"f37063c1c2ecee6f4eb47f74012694c6eb944941",class:(t={},t[this.variation]=true,t)},this.variation==="button"&&n("span",{key:"3460b9ab3ca900f021fe6dc6af90ac8427f6c7e5",class:c},n("button",Object.assign({key:"8fa57c1746f083618d4d4709fa685dbc70dcded5",id:a,"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},u),n("span",{key:"fd48b92328f4fdeba76a6523a5aa86b45ad740ed",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"875f64c17c2c540e4c774053a994402957754308",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"4e0c29ccf168b3e0f8564003c094326ff0695412"}))),this.variation==="input"&&n("span",{key:"9f69917e7cc2f33bcf0842342b653a0302e7b188",class:c,"aria-label":this.getAccessibleInputChipLabel()},n("button",Object.assign({key:"98d020d64882839dad553eaeadd4e39587d6b276",id:a,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}},u),n("span",{key:"375c4df2c400928cec38ed160526aa7e8f483c52",class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{key:"e8382d2439f56f61a7219ccc2cbfe5e3b1b16975",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",{key:"f7c17cc36818a5e1621421c39e3ea38692cd1e21"})),n("button",{key:"25a649ba24d9279330a2a1d243be81d617f2fe69",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:"be4f0062c4b924c65101accaa0d156d7c7d3954c",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{key:"b53a71340c36da0290474301a5ab236b675ee881",class:c},n("input",Object.assign({key:"52a7b2d41f97077b0412a67cd01b9d027f8035aa","aria-haspopup":this.getAccessiblePopup(),"aria-controls":(o=this.popupElement)===null||o===void 0?void 0:o.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:a,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},u)),n("label",{key:"30820154c15957181130801c462f1674343e0673",htmlFor:a},this.icon&&n("span",{key:"7c75e8be6a1bb29e24646d7531caa8e251535804",class:"duet-chip-icon-container"},n("duet-icon",{key:"cfb4ce296a83a8073d2853f1a2555665434dcc06",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"2a6ea0ea51ce7cda8933e3a74e3c001eeced1d37",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"9aa3af935055abe7847a80fd3569275522b6ef7f"}),this.popupElement&&n("span",{key:"1483c767339e447362361ee3691e660a22277cf2",class:"duet-chip-popup-disclosure"},n("duet-icon",{key:"ba8293f1b0f0d1b97e12aacc9d53c9bfd5cfc751",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{key:"55bd9c33a98e6c03542abc48c300159a1e97ed16",class:c},n("slot",{key:"45a049c652e9895d7a36d6131c6aeaa98edcd572",name:"input"}),n("label",{key:"793c24a45d8cbfab53d1fac9967849cc86a06a94",htmlFor:a},this.icon&&n("span",{key:"bd54aa850144b45c57c6a9c0f75c7f6729417850",class:"duet-chip-icon-container"},n("duet-icon",{key:"2bdfed396d600a5f0da3eccc3de6cbabd41460d4",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{key:"ac3722012743cbe2aa4f612f75cd10c97a0f7d9d",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",{key:"bf9d8af5da2754882e7fbe69f193d9b494dfa429"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());S.style=C;var O="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;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);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";var E=O;var A=e("duet_popup_menu",function(){function e(e){var n=this;t(this,e);this.duetToggle=i(this,"duetToggle",7);this.setOpenButton=function(e){if(!e){return}try{var t=e;t.accessiblePopup="true";t.accessibleExpanded=false;if(n.controllerIcon){t.setAttribute("trailing-icon","action-arrow-down-small")}n.openButton=t}catch(e){}};this.openButtonEventListener=function(){n.toggle()};this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}e=[g({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&v(),k({padding:5})].filter(Boolean);return[4,x(this.openButton,this.menuElement,{middleware:e,placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.placement="bottom-start";this.forcePlacement=false;this.allowVerticalFlip=true;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0;this.controllerIcon="action-arrow-down-small";this.scrollLimit=undefined}Object.defineProperty(e.prototype,"controller",{get:function(){return this._controller},set:function(e){if(this._controller===e){return}this._controller=e;if(typeof e==="string"){this.setOpenButton(document.getElementById(e));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(e)}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"opener",{get:function(){return this._controller},set:function(e){this.controller=e},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){a(this)};e.prototype.componentDidLoad=function(){{this.updatePlacement()}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new _(this.element)}if(this.teleport){this.teleport.activate()}};e.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);if(this.controllerIcon){this.openButton.removeAttribute("trailing-icon")}}};e.prototype.handleKeyUp=function(e){if(this.open){if(h(e)){this.hide()}}};e.prototype.handleKeyDown=function(e){return __awaiter(this,void 0,void 0,(function(){var t,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.open)return[3,5];if(!p(e))return[3,2];e.preventDefault();return[4,this.getFocusedItemIndex()];case 1:t=i.sent();if(t!==-1){if(t<this.itemElements.length-1){this.itemElements[t+1].setFocus()}else{this.itemElements[0].setFocus()}}i.label=2;case 2:if(!l(e))return[3,4];e.preventDefault();return[4,this.getFocusedItemIndex()];case 3:t=i.sent();if(t!==-1){if(t===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[t-1].setFocus()}}i.label=4;case 4:if(f(e)&&this.accessibleRole==="menu"){e.preventDefault();this.hide()}i.label=5;case 5:return[2]}}))}))};e.prototype.handleClick=function(e){var t=this;var i=e.composedPath().every((function(e){return e!==t.element&&e!==t.openButton}));if(this.open&&i){this.hide()}};e.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.open]}))}))};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.open=false;return[2]}))}))};e.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.open){this.hide()}else{this.show()}return[2]}))}))};e.prototype.handleOpenChange=function(e,t){var i=this;if(!!e===!!t){return}if(this.open&&!t){if(this.openButton){this.openButton.accessibleExpanded=true}if(this.accessibleRole!=="listbox"){this.teleport.makeSiblingsInert()}this.updatePlacement();if(this.menuElement&&this.openButton){this.autoUpdateCleanup=y(this.openButton,this.menuElement,this.updatePlacement)}setTimeout((function(){if(i.accessibleRole==="menu"){i.itemElements[0].setFocus()}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&t){if(this.openButton){this.openButton.accessibleExpanded=false}if(this.autoUpdateCleanup){this.autoUpdateCleanup()}setTimeout((function(){if(i.accessibleRole==="menu"){w(i.openButton)}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"});if(i.accessibleRole!=="listbox"){i.teleport.removeInertFromSiblings()}}),200)}};Object.defineProperty(e.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"popupMenuStyleHeight",{get:function(){var e=":scope duet-popup-menu-item, :scope duet-notification";var t=Array.from(this.element.querySelectorAll(e));if(t.length>0&&this.scrollLimit){var i=Number(m.replace("px",""))*2;return"".concat(t[0].offsetHeight*this.scrollLimit+i,"px")}else{return"auto"}},enumerable:false,configurable:true});e.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:e=this.itemElements;t=0;i.label=1;case 1:if(!(t<e.length))return[3,4];return[4,e[t].isFocused()];case 2:if(i.sent()){return[2,t]}i.label=3;case 3:t++;return[3,1];case 4:return[2,-1]}}))}))};e.prototype.render=function(){var e=this;var t={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight};return n(r,{key:"df95a1ca83bfed0e3c2e62e4de9a03563491b7a4"},n("div",{key:"0da0cb7b5bf6b0950b867af9d93a8937d40c4223",ref:function(t){e.menuElement=t},style:t,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva","scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},n("slot",{key:"f2e56ae51be1d5eb1b8c14a67496079e3dbcd3d1"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());A.style=E;var B='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-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-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-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";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var F=B;var I=e("duet_popup_menu_item",function(){function e(e){var n=this;t(this,e);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,value:n.value,component:"duet-popup-menu-item"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,value:n.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.accessibleRole="menuitem";this.theme="";this.url=undefined;this.external=false;this.targetLanguage=undefined;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false;this.activeDescendant=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.focus]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var i={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva","active-descendant":this.activeDescendant};return n(r,{key:"bf1b38aa7684c8cc3959b6b0725f83962341d58d",role:this.accessibleRole},n(t,{key:"71cfa30d7780f2ab9a31f2aa3ff4bec91b8e0b7e",ref:function(t){return e.itemElement=t},tabIndex:this.accessibleRole==="listitem"?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"".concat(t==="a"?"link":"button"),"aria-label":this.accessibleLabel,class:i,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined,lang:t==="button"?undefined:this.targetLanguage,hreflang:t==="button"?undefined:this.targetLanguage},this.leadingIcon&&n("duet-icon",{key:"3552f0f0e6e303f23e012a9baa0b646d7f3eeb5e",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),n("span",{key:"1c26c319a37978618960dce5c0e5de9731a576c9",class:"duet-popup-menu-item-label"},n("slot",{key:"c3f9e10b0f5c5af06d79ba6760b924f5abfb02d9"})),(this.trailingIcon||this.active||this.url&&this.external)&&n("duet-icon",{key:"2b5f54ffc9063c6ef1dfb38d59724a1ff9307ede",name:this.url&&this.external?j.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&n("span",{key:"b9a42c7f906f16c62189ce82f8c1bbdeee169a7e",class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());I.style=F}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function u(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function r(t){try{s(n.next(t))}catch(t){a(t)}}function o(t){try{s(n["throw"](t))}catch(t){a(t)}}function s(t){t.done?i(t.value):u(t.value).then(r,o)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,u,a,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return s([t,e])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(i=0)),i)try{if(n=1,u&&(a=o[0]&2?u["return"]:o[0]?u["throw"]||((a=u["return"])&&a.call(u),0):u.next)&&!(a=a.call(u,o[1])).done)return a;if(u=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;u=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];u=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-4289c19b.system.js","./p-8f477bd6.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-752fa0fc.system.js","./p-74aa0f9d.system.js","./p-2d6410d0.system.js","./p-cbbf6d6a.system.js","./p-98636086.system.js","./p-ef731dfb.system.js"],(function(t){"use strict";var e,i,n,u,a,r,o,s,d,p,c,l,h,b,m,f,v,g,x,w,y;return{setters:[function(t){e=t.r;i=t.c;n=t.h;u=t.H;a=t.g},function(t){r=t.f},function(t){o=t.i},function(t){s=t.c},function(t){d=t.c;p=t.r},function(t){c=t.f;l=t.j;h=t.e;b=t.d;m=t.a},function(t){f=t.a;v=t.c;g=t.d;x=t.g},function(t){w=t.c},function(t){y=t.g},function(){},function(){}],execute:function(){var k={title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'};var S='*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-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%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}';var j=S;var _={search:r,email:k};var z=t("duet_input",function(){function t(t){var n=this;e(this,t);this.duetInput=i(this,"duetInput",7);this.duetChange=i(this,"duetChange",3);this.duetBlur=i(this,"duetBlur",7);this.duetClear=i(this,"duetClear",7);this.duetFocus=i(this,"duetFocus",7);this.inputId=s("DuetInput");this.clearId=s("DuetInputClear");this.labelId=s("DuetLabel");this.topCaptionId=s("DuetCaptionTop");this.topCaptionPlaceholderId=s("DuetCaptionPlaceholderTop");this.chipCountId=s("DuetInputChipCount");this.errorId=s("DuetError");this.disallowPatternRegex=null;this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"};this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"};this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"};this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"};this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"};this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"};this.chipsSelectedDesriptionLabel={en:"selected",fi:"valittu",sv:"valt"};this.onInput=function(t){if(n.disallowPatternRegex){d(n.nativeInput,n.disallowPatternRegex)}if(n.chips){n.clearChipSelection()}n.value=n.nativeInput.value||"";n.duetInput.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.onBlur=function(t){if(t.relatedTarget===n.nativeInput||t.relatedTarget===n.togglePasswordRevealedButton){return}if(n.variation==="revealable"&&n.isPasswordRevealed){n.isPasswordRevealed=false}n.isFocused=false;n.duetBlur.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.onFocus=function(t){n.clearChipSelection();n.isFocused=true;n.duetFocus.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.onClear=function(t){n.duetClear.emit({originalEvent:t,value:n.value,component:"duet-input"})};this.getAriaDescribedBy=function(){var t=[];if(n.isCaptionVisible&&n.topCaptionId){t.push(n.topCaptionId)}if(n.accessibleDescribedBy){t.push(n.accessibleDescribedBy)}if(n.chips){var e=n.getAllChips();if(e.length){t.push(n.chipCountId);e.forEach((function(e){return t.push(e.id)}))}}if(n.error){t.push(n.errorId)}return t.length>0?t.join(" "):null};this.handleClearClick=function(t){var e=n.clearInput();n.onClear(t);return e};this.keyHandler=function(t){if(c(t)&&n.clear){n.handleClearClick(t)}if(l(t)&&n.variation==="revealable"){if(t.target===n.togglePasswordRevealedButton){t.stopPropagation()}else{n.isPasswordRevealed=false}}if(n.chips&&n.nativeInput.value.length===0){if(h(t)){if(n.isChipSelected()){n.getSelectedChip().removeChip();setTimeout((function(){return n.selectLastChip()}))}n.selectLastChip()}if(b(t)){n.selectChipToLeft()}if(m(t)&&n.isChipSelected()){n.selectChipToRight()}}return t};this.togglePasswordRevealed=function(){n.isPasswordRevealed=!n.isPasswordRevealed};this.getInputType=function(){if(n.variation==="revealable"){return n.isPasswordRevealed?"text":"password"}return n.type};this.language=f();this.isPasswordRevealed=undefined;this.isFocused=false;this.accessibleActiveDescendant=undefined;this.accessibleAutocomplete=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleExpanded=undefined;this.accessibleDescribedBy="";this.accessibleHasPopup=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLiveError="polite";this.debounce=0;this.clear=false;this.caption=undefined;this.echoPlaceholder=false;this.theme="";this.expand=false;this.disabled=false;this.identifier=undefined;this.margin="auto";this.inputAlign="left";this.inputPadding="medium";this.required=false;this.type="text";this.variation="default";this.chips=false;this.label="Label";this.labelColor=undefined;this.labelWeight=undefined;this.error="";this.labelHidden=false;this.numericKeyboard=false;this.name=undefined;this.pattern=undefined;this.maxlength=undefined;this.minlength=undefined;this.placeholder=undefined;this.component="input";this.role=undefined;this.icon=undefined;this.autoComplete="on";this.disallowPattern=null;this.value=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.disallowedPatternChange=function(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null};t.prototype.valueChanged=function(){var t=this;if(this.nativeInput&&this.nativeInput.value!==this.value){var e=p(this.nativeInput);this.nativeInput.value=this.value;e()}this.isCaptionVisible=!!this.caption;var i=function(){return t.duetChange.emit({value:t.value,component:"duet-input"})};if(this.debounce===0){i()}else{clearTimeout(this.timeoutId);this.timeoutId=setTimeout(i,this.debounce)}};t.prototype.componentWillLoad=function(){o(this);this.disallowedPatternChange();this.isCaptionVisible=!!this.caption;w(this.element,"tooltip","duet-tooltip",1,true)};t.prototype.componentDidLoad=function(){var t=this;if(this.variation==="revealable"&&this.nativeInput.form){this.nativeInput.form.addEventListener("submit",(function(){t.isPasswordRevealed=false}))}};t.prototype.connectedCallback=function(){v(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeInput){this.nativeInput.focus(t)}return[2]}))}))};t.prototype.resetCursor=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){if(this.nativeInput){t=p(this.nativeInput);this.nativeInput.value=this.value;t()}return[2]}))}))};t.prototype.clearInput=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeInput){this.nativeInput.value="";this.nativeInput.focus();this.value=""}return[2]}))}))};t.prototype.getAllChips=function(){return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"))};t.prototype.isChipSelected=function(){return this.getAllChips().some((function(t){return t.selected}))};t.prototype.getSelectedChip=function(){return this.getAllChips().find((function(t){return t.selected}))};t.prototype.clearChipSelection=function(){var t=this.getAllChips();t.forEach((function(t){return t.selected=false}))};t.prototype.selectLastChip=function(){var t=this.getAllChips();if(t.length){t.forEach((function(t){return t.selected=false}));t.at(-1).selected=true}};t.prototype.selectChipToLeft=function(){var t=this.getAllChips();var e=t.findIndex((function(t){return t.selected}));if(t.length){t.forEach((function(t){return t.selected=false}));if(e===-1){t.at(-1).selected=true}else if(e===0){t[0].selected=true}else{t[e-1].selected=true}}};t.prototype.selectChipToRight=function(){var t=this.getAllChips();var e=t.findIndex((function(t){return t.selected}));if(t.length){t.forEach((function(t){return t.selected=false}));if(e>-1&&e<t.length-1){t[e+1].selected=true}}};t.prototype.addChip=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){e=this.element.querySelector(".duet-input-relative");i=e.querySelector("input:not(duet-chip input)");t.id=s("DuetInputChip");e.insertBefore(t,i);return[2]}))}))};t.prototype.hasChip=function(t){return __awaiter(this,arguments,void 0,(function(t){var e=t.value,i=t.text;return __generator(this,(function(t){return[2,this.getAllChips().some((function(t){return t.value===e&&t.textContent===i}))]}))}))};t.prototype.getChips=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getAllChips()]}))}))};t.prototype.clearChips=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.getAllChips().forEach((function(t){return t.remove()}));return[2]}))}))};t.prototype.render=function(){var t,e;var i=this;var a=this.identifier||this.inputId;var r={};if(this.numericKeyboard){r.inputmode="numeric"}if(this.pattern&&this.type!=="tel"){r.pattern=this.pattern}else if(!this.pattern&&this.type==="tel"){r.pattern="[0-9+ ]+"}var o;if(this.value){o=new Date;try{o.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){o=undefined}}var s=!this.icon&&this.type!=="text"&&this.type!=="tel"&&this.type!=="password"&&this.type!=="time"&&this.variation!=="button";return n(u,{class:{"duet-expand":this.expand,"duet-m-0":this.margin==="none"},onKeyUp:function(t){return i.keyHandler(t)}},this.type==="time"&&n("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true"},o?"".concat(this.timeAnnouncement[this.language]," ").concat(o.toLocaleTimeString()):""),n("div",{class:(t={"duet-input-container":true,"duet-theme-turva":this.theme==="turva"},t["duet-input-variation-".concat(this.variation)]=true,t["duet-label-hidden"]=this.labelHidden,t["duet-input-top-caption-shown"]=this.isCaptionVisible,t["has-icon"]=this.variation!=="button"&&(!!this.icon||this.type!=="text"&&this.type!=="tel"&&this.type!=="password"&&this.type!=="time"),t["has-error"]=!!this.error,t["has-chips"]=this.chips,t["has-clear"]=this.clear,t["has-focus"]=this.isFocused,t.disabled=this.disabled,t)},n("div",{class:"duet-input-label-container"},n("duet-label",{theme:this.theme==="turva"?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:a},this.label),this.tooltip&&n("duet-tooltip",{class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:this.theme==="turva"?"turva":"default"},this.tooltip),n("slot",{name:"tooltip"})),this.caption&&n("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),n("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||this.type==="time")&&n("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),this.chips&&n("duet-visually-hidden",{id:this.chipCountId},", ","".concat(this.getAllChips().length," ").concat(x(this.chipsSelectedDesriptionLabel)),","),n("input",Object.assign({ref:function(t){return i.nativeInput=t},onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:(e={"duet-input":true,disabled:this.disabled,"is-number":this.component==="number","is-date":this.component==="date","after-chip":this.getAllChips().length>0,"align-right":this.inputAlign==="right"},e["input-padding-".concat(this.inputPadding)]=true,e),value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?"".concat(this.labelId," ").concat(this.accessibleLabelledBy):this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.type==="password"?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:a},r)),!this.value&&s&&n("div",{class:"duet-input-icon"},n("duet-icon",{margin:"none",size:"small",icon:_[this.type].svg,color:"currentColor"})),this.clear&&this.value&&n("div",{class:{"duet-input-clear-icon":true,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":this.variation==="button"}},n("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},n("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&this.variation!=="button"&&n("div",{class:"duet-input-icon"},n("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),this.variation==="button"&&n("slot",{name:"button"}),this.variation==="revealable"&&n("duet-button",{ref:function(t){return i.togglePasswordRevealedButton=t},onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:true,iconOnly:true}),this.variation==="revealable"&&this.isPasswordRevealed!==undefined&&n("duet-visually-hidden",null,n("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),n("slot",null)),n("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&n("span",{class:"duet-input-error"},this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}},enumerable:false,configurable:true});return t}());z.style=j;var I='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var C=I;var E=t("duet_label",function(){function t(t){e(this,t);this.theme="";this.for=undefined;this.margin="auto";this.size="medium";this.weight="semi-bold";this.color=""}t.prototype.componentWillLoad=function(){o(this)};t.prototype.render=function(){var t;var e=y(this.color);return n(u,{class:(t={"duet-label":true,"duet-label-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-small-margin":this.margin==="small","duet-m-0":this.margin==="none"},t["duet-weight-".concat(this.weight)]=true,t)},n("label",{htmlFor:this.for,style:{color:e}},n("span",null,n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());E.style=C}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-4289c19b.system.js"],(function(t){"use strict";var e,n,a,r;return{setters:[function(t){e=t.r;n=t.h;a=t.H;r=t.g}],execute:function(){var i=":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}";var o=i;var c=t("duet_visually_hidden",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(a,{key:"1a63587b9972cddb552468bea28f8146b8d302df",class:"duet-visually-hidden"},n("slot",{key:"a3e8c6847caa94f67d82569bc769a6397ccc8c56"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));