@duetds/components 9.2.6 → 9.2.7

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 (591) hide show
  1. package/hydrate/index.js +7 -6
  2. package/lib/cjs/{app-globals-78dc4702.js → app-globals-a1431483.js} +1 -1
  3. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip_3.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
  63. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  70. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-item.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  81. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  82. package/lib/cjs/duet.cjs.js +2 -2
  83. package/lib/cjs/{errorcodes.utils-e044ec9a.js → errorcodes.utils-b4cf3ce2.js} +1 -1
  84. package/lib/cjs/{focus-utils-a25e1b26.js → focus-utils-68fa1c8f.js} +1 -1
  85. package/lib/cjs/{index-efe7ea48.js → index-7e38df71.js} +1 -1
  86. package/lib/cjs/{language-utils-041b3463.js → language-utils-beee36ce.js} +1 -1
  87. package/lib/cjs/loader.cjs.js +2 -2
  88. package/lib/cjs/{slot-utils-c1e99a43.js → slot-utils-f309572d.js} +1 -1
  89. package/lib/collection/components/duet-slideout/duet-slideout.css +6 -0
  90. package/lib/collection/components/duet-slideout/duet-slideout.js +6 -5
  91. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  92. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  93. package/lib/dist-custom-elements/duet-alert.js +1 -1
  94. package/lib/dist-custom-elements/duet-badge.js +1 -1
  95. package/lib/dist-custom-elements/duet-banner.js +3 -3
  96. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  97. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  98. package/lib/dist-custom-elements/duet-button.js +1 -1
  99. package/lib/dist-custom-elements/duet-callout.js +2 -2
  100. package/lib/dist-custom-elements/duet-caption.js +1 -1
  101. package/lib/dist-custom-elements/duet-card.js +3 -3
  102. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  103. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  104. package/lib/dist-custom-elements/duet-chip.js +1 -1
  105. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  106. package/lib/dist-custom-elements/duet-choice.js +4 -4
  107. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  108. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  109. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  110. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  111. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  112. package/lib/dist-custom-elements/duet-divider.js +1 -1
  113. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  114. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  115. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  116. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  117. package/lib/dist-custom-elements/duet-footer.js +7 -7
  118. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  119. package/lib/dist-custom-elements/duet-grid.js +1 -1
  120. package/lib/dist-custom-elements/duet-header.js +8 -8
  121. package/lib/dist-custom-elements/duet-heading.js +1 -1
  122. package/lib/dist-custom-elements/duet-hero.js +9 -9
  123. package/lib/dist-custom-elements/duet-icon.js +1 -1
  124. package/lib/dist-custom-elements/duet-input.js +1 -1
  125. package/lib/dist-custom-elements/duet-label.js +1 -1
  126. package/lib/dist-custom-elements/duet-layout.js +1 -1
  127. package/lib/dist-custom-elements/duet-link.js +1 -1
  128. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  129. package/lib/dist-custom-elements/duet-list.js +1 -1
  130. package/lib/dist-custom-elements/duet-logo.js +1 -1
  131. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  132. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  133. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  134. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  135. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  136. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  137. package/lib/dist-custom-elements/duet-modal.js +8 -8
  138. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  139. package/lib/dist-custom-elements/duet-nav.js +1 -1
  140. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  141. package/lib/dist-custom-elements/duet-notification.js +2 -2
  142. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  143. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  144. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  145. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  146. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  147. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  148. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  149. package/lib/dist-custom-elements/duet-progress.js +1 -1
  150. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  151. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  152. package/lib/dist-custom-elements/duet-radio.js +1 -1
  153. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  154. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  155. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  156. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  157. package/lib/dist-custom-elements/duet-select.js +1 -1
  158. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  159. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  160. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  161. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  162. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  163. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  164. package/lib/dist-custom-elements/duet-slideout.js +9 -8
  165. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  166. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  167. package/lib/dist-custom-elements/duet-step.js +4 -4
  168. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  169. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  170. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  171. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  172. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  173. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  174. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  175. package/lib/dist-custom-elements/duet-tab.js +1 -1
  176. package/lib/dist-custom-elements/duet-table.js +1 -1
  177. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  178. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  179. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  180. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  181. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  182. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  183. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  184. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  185. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  186. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  187. package/lib/dist-custom-elements/duet-tray.js +3 -3
  188. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  189. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  190. package/lib/dist-custom-elements/duet-upload.js +19 -19
  191. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  192. package/lib/dist-custom-elements/index.js +1 -1
  193. package/lib/dist-custom-elements/{p-d84ba8f5.js → p-026f66e3.js} +2 -2
  194. package/lib/dist-custom-elements/{p-8636a95c.js → p-02e6b3aa.js} +1 -1
  195. package/lib/dist-custom-elements/{p-326e709b.js → p-05a0e048.js} +8 -8
  196. package/lib/dist-custom-elements/{p-c9b46160.js → p-0bd5bcab.js} +2 -2
  197. package/lib/dist-custom-elements/{p-bfa56fd6.js → p-1a9028fa.js} +6 -6
  198. package/lib/dist-custom-elements/{p-d84f6aae.js → p-1ae20645.js} +1 -1
  199. package/lib/dist-custom-elements/{p-c14e6ca4.js → p-1f84f4ac.js} +10 -10
  200. package/lib/dist-custom-elements/{p-324773e2.js → p-20906875.js} +1 -1
  201. package/lib/dist-custom-elements/{p-5b74ff74.js → p-23a9891b.js} +2 -2
  202. package/lib/dist-custom-elements/{p-6fcd56d1.js → p-343f0aa2.js} +2 -2
  203. package/lib/dist-custom-elements/{p-db58dd65.js → p-358832fc.js} +1 -1
  204. package/lib/dist-custom-elements/{p-da3148b6.js → p-369da8da.js} +1 -1
  205. package/lib/dist-custom-elements/{p-dbc0966a.js → p-3844adaa.js} +2 -2
  206. package/lib/dist-custom-elements/{p-64ab1e7f.js → p-3cf59aa7.js} +1 -1
  207. package/lib/dist-custom-elements/{p-5096f482.js → p-4b198aee.js} +2 -2
  208. package/lib/dist-custom-elements/{p-d71e24a5.js → p-4d4d8c03.js} +1 -1
  209. package/lib/dist-custom-elements/{p-839fb8d6.js → p-5448ad53.js} +1 -1
  210. package/lib/dist-custom-elements/{p-8778bcdf.js → p-6f149d10.js} +3 -3
  211. package/lib/dist-custom-elements/{p-b597eea5.js → p-7590e1a9.js} +1 -1
  212. package/lib/dist-custom-elements/{p-d44fe5d0.js → p-79372cc4.js} +10 -10
  213. package/lib/dist-custom-elements/{p-16c8b661.js → p-79fb21bb.js} +1 -1
  214. package/lib/dist-custom-elements/{p-02e8f591.js → p-82cbf2aa.js} +6 -6
  215. package/lib/dist-custom-elements/{p-5d5b0bf3.js → p-a19d42f7.js} +1 -1
  216. package/lib/dist-custom-elements/{p-79508a54.js → p-a1c8f31d.js} +1 -1
  217. package/lib/dist-custom-elements/{p-f6926397.js → p-a4667181.js} +5 -5
  218. package/lib/dist-custom-elements/{p-a9d05a98.js → p-a6b39855.js} +1 -1
  219. package/lib/dist-custom-elements/{p-247254f4.js → p-a866db8a.js} +1 -1
  220. package/lib/dist-custom-elements/{p-ec438ba9.js → p-a8b848a0.js} +2 -2
  221. package/lib/dist-custom-elements/{p-561b46f4.js → p-aad0e9d5.js} +3 -3
  222. package/lib/dist-custom-elements/{p-ab4a29e9.js → p-b5b250a2.js} +1 -1
  223. package/lib/dist-custom-elements/{p-44576862.js → p-d0aaf2cd.js} +1 -1
  224. package/lib/dist-custom-elements/{p-ab0d3de7.js → p-d5201dfd.js} +5 -5
  225. package/lib/dist-custom-elements/{p-583817e7.js → p-d58879c8.js} +1 -1
  226. package/lib/dist-custom-elements/{p-c92b6a37.js → p-dde3f1e6.js} +2 -2
  227. package/lib/dist-custom-elements/{p-e1289f43.js → p-e6540ffb.js} +1 -1
  228. package/lib/dist-custom-elements/{p-3100da6e.js → p-e87b21c0.js} +1 -1
  229. package/lib/dist-custom-elements/{p-58f4ac3e.js → p-ee6f575b.js} +4 -4
  230. package/lib/dist-custom-elements/{p-60125797.js → p-f3d279c9.js} +1 -1
  231. package/lib/dist-custom-elements/{p-ddaf17a4.js → p-f66602b0.js} +1 -1
  232. package/lib/duet/duet.esm.js +1 -1
  233. package/lib/duet/duet.js +1 -1
  234. package/lib/duet/{p-7956df66.entry.js → p-02473a29.entry.js} +1 -1
  235. package/lib/duet/{p-59f7aa7f.system.entry.js → p-042ce36a.system.entry.js} +1 -1
  236. package/lib/duet/{p-1fa48eac.system.entry.js → p-0457dff6.system.entry.js} +1 -1
  237. package/lib/duet/{p-79ccf9ad.system.entry.js → p-05ea29c7.system.entry.js} +1 -1
  238. package/lib/duet/{p-c41b616b.system.entry.js → p-062b4356.system.entry.js} +1 -1
  239. package/lib/duet/{p-58c73080.system.entry.js → p-07b9cd1a.system.entry.js} +1 -1
  240. package/lib/duet/{p-9675e1d5.system.entry.js → p-099daa35.system.entry.js} +1 -1
  241. package/lib/duet/{p-092ce0f1.entry.js → p-09b2f2cb.entry.js} +1 -1
  242. package/lib/duet/{p-4ec14860.system.entry.js → p-0b61a372.system.entry.js} +1 -1
  243. package/lib/duet/p-0cb6800d.entry.js +4 -0
  244. package/lib/duet/{p-cbcfcf2f.system.entry.js → p-1037271e.system.entry.js} +1 -1
  245. package/lib/duet/p-14662d84.entry.js +4 -0
  246. package/lib/duet/{p-377315e2.entry.js → p-14d1fc10.entry.js} +1 -1
  247. package/lib/duet/{p-5ae47d2b.entry.js → p-15e00afb.entry.js} +1 -1
  248. package/lib/duet/{p-7f93593e.entry.js → p-180c21a7.entry.js} +1 -1
  249. package/lib/duet/{p-b575bed5.entry.js → p-197fcd81.entry.js} +1 -1
  250. package/lib/duet/{p-615a6764.system.js → p-1ce82dfa.system.js} +1 -1
  251. package/lib/duet/{p-914a0898.system.entry.js → p-1d56f5f8.system.entry.js} +1 -1
  252. package/lib/duet/{p-6f21adbf.entry.js → p-1de76e0d.entry.js} +1 -1
  253. package/lib/duet/{p-0adec9cf.system.entry.js → p-2073ff86.system.entry.js} +1 -1
  254. package/lib/duet/{p-a4164a2d.entry.js → p-20c7ae09.entry.js} +1 -1
  255. package/lib/duet/p-214444f4.js +4 -0
  256. package/lib/duet/{p-6bfc098e.system.entry.js → p-238d490e.system.entry.js} +1 -1
  257. package/lib/duet/{p-f5546613.entry.js → p-24f98450.entry.js} +1 -1
  258. package/lib/duet/{p-e44f1b3a.entry.js → p-2892f9e4.entry.js} +1 -1
  259. package/lib/duet/{p-1d1addfe.entry.js → p-2a4032e4.entry.js} +1 -1
  260. package/lib/duet/{p-854808cd.entry.js → p-2be4521f.entry.js} +1 -1
  261. package/lib/duet/{p-7fadfb31.system.entry.js → p-2fc1b57e.system.entry.js} +1 -1
  262. package/lib/duet/{p-ce9ccf2d.system.js → p-3300a0a4.system.js} +1 -1
  263. package/lib/duet/{p-db17c060.system.entry.js → p-332d0c18.system.entry.js} +1 -1
  264. package/lib/duet/{p-cb26eeef.entry.js → p-34caafca.entry.js} +1 -1
  265. package/lib/duet/{p-626efe62.system.entry.js → p-36593090.system.entry.js} +1 -1
  266. package/lib/duet/{p-266639f9.system.entry.js → p-3c48ca69.system.entry.js} +1 -1
  267. package/lib/duet/{p-5c1467cf.system.entry.js → p-3cb42e12.system.entry.js} +1 -1
  268. package/lib/duet/{p-b84965cf.system.entry.js → p-3deacd18.system.entry.js} +1 -1
  269. package/lib/duet/{p-03b72e84.entry.js → p-3fe02797.entry.js} +1 -1
  270. package/lib/duet/{p-d4756796.system.entry.js → p-3ffcebff.system.entry.js} +1 -1
  271. package/lib/duet/{p-e88c356e.system.js → p-406af1f3.system.js} +1 -1
  272. package/lib/duet/{p-b37f9402.system.entry.js → p-4219eda3.system.entry.js} +1 -1
  273. package/lib/duet/{p-5d89c45e.system.js → p-42d0aeb0.system.js} +1 -1
  274. package/lib/duet/{p-0b2b9fa2.entry.js → p-43a86f8a.entry.js} +1 -1
  275. package/lib/duet/{p-0991986c.entry.js → p-44af6523.entry.js} +1 -1
  276. package/lib/duet/{p-cb0513ed.system.entry.js → p-45c3a7d2.system.entry.js} +1 -1
  277. package/lib/duet/{p-e3d448c5.entry.js → p-46753ebc.entry.js} +1 -1
  278. package/lib/duet/{p-e7e3b445.entry.js → p-4920eb5e.entry.js} +1 -1
  279. package/lib/duet/{p-42778d18.system.entry.js → p-4c79d2a9.system.entry.js} +1 -1
  280. package/lib/duet/{p-a81baadd.entry.js → p-4efc484e.entry.js} +1 -1
  281. package/lib/duet/p-56c887fb.js +4 -0
  282. package/lib/duet/{p-65de8d51.system.entry.js → p-5763afe7.system.entry.js} +1 -1
  283. package/lib/duet/{p-b75f0c5b.system.entry.js → p-5786db38.system.entry.js} +1 -1
  284. package/lib/duet/{p-27480faf.entry.js → p-5ba11951.entry.js} +1 -1
  285. package/lib/duet/p-5d429d2c.entry.js +4 -0
  286. package/lib/duet/{p-1e3d71f9.system.entry.js → p-5e12c437.system.entry.js} +1 -1
  287. package/lib/duet/{p-af35e151.system.entry.js → p-60e1e165.system.entry.js} +1 -1
  288. package/lib/duet/p-618a822d.system.entry.js +4 -0
  289. package/lib/duet/{p-520ac4b7.js → p-63a09802.js} +1 -1
  290. package/lib/duet/{p-a29e4976.entry.js → p-69d18102.entry.js} +1 -1
  291. package/lib/duet/{p-7ec5ee46.system.entry.js → p-6a4f6469.system.entry.js} +1 -1
  292. package/lib/duet/{p-30598218.system.entry.js → p-6abb0f77.system.entry.js} +1 -1
  293. package/lib/duet/{p-e53164d0.system.entry.js → p-6e9ec04c.system.entry.js} +1 -1
  294. package/lib/duet/p-6f3fd8bf.entry.js +4 -0
  295. package/lib/duet/{p-0a42e97a.system.entry.js → p-6f5dbc6e.system.entry.js} +1 -1
  296. package/lib/duet/{p-86a3bc38.entry.js → p-70adc2c4.entry.js} +1 -1
  297. package/lib/duet/{p-eb5844f6.system.entry.js → p-70fab25f.system.entry.js} +1 -1
  298. package/lib/duet/{p-bf804ab7.entry.js → p-74025593.entry.js} +1 -1
  299. package/lib/duet/{p-8ef9cba1.system.entry.js → p-762b831e.system.entry.js} +1 -1
  300. package/lib/duet/{p-476b2cf2.system.entry.js → p-778e26b4.system.entry.js} +1 -1
  301. package/lib/duet/{p-29d9ff1e.entry.js → p-7831e011.entry.js} +1 -1
  302. package/lib/duet/{p-b038b80c.entry.js → p-79c1f08a.entry.js} +1 -1
  303. package/lib/duet/{p-f4c1b623.system.js → p-7d32c253.system.js} +1 -1
  304. package/lib/duet/{p-b7a606a0.system.entry.js → p-8136e15e.system.entry.js} +1 -1
  305. package/lib/duet/{p-6428de74.entry.js → p-8335c1bf.entry.js} +1 -1
  306. package/lib/duet/{p-d7c2f4d7.entry.js → p-835e6d3b.entry.js} +1 -1
  307. package/lib/duet/{p-50260da1.system.entry.js → p-836ae3bb.system.entry.js} +1 -1
  308. package/lib/duet/{p-c42ba43f.system.entry.js → p-8378430a.system.entry.js} +1 -1
  309. package/lib/duet/{p-83dabfc5.system.entry.js → p-83920005.system.entry.js} +1 -1
  310. package/lib/duet/{p-421f851f.system.entry.js → p-83c03efa.system.entry.js} +1 -1
  311. package/lib/duet/{p-d4de8d9f.system.entry.js → p-849ae71a.system.entry.js} +1 -1
  312. package/lib/duet/{p-a0b111e3.system.entry.js → p-87345e08.system.entry.js} +1 -1
  313. package/lib/duet/{p-be815d6f.system.entry.js → p-89558e39.system.entry.js} +1 -1
  314. package/lib/duet/{p-b4e05d38.entry.js → p-8babfd74.entry.js} +1 -1
  315. package/lib/duet/{p-9aee8a81.system.entry.js → p-8bfbadfc.system.entry.js} +1 -1
  316. package/lib/duet/{p-b9f092f2.entry.js → p-8c44d3e9.entry.js} +1 -1
  317. package/lib/duet/{p-ea386f3b.entry.js → p-8d3cb875.entry.js} +1 -1
  318. package/lib/duet/{p-cb39f212.system.entry.js → p-8df1c0da.system.entry.js} +1 -1
  319. package/lib/duet/{p-a987ab9d.entry.js → p-8df4a03c.entry.js} +1 -1
  320. package/lib/duet/{p-d183f34f.entry.js → p-8e672ddb.entry.js} +1 -1
  321. package/lib/duet/{p-4c2d2ce0.system.entry.js → p-8f66a793.system.entry.js} +1 -1
  322. package/lib/duet/{p-f35b246d.entry.js → p-911a8711.entry.js} +1 -1
  323. package/lib/duet/{p-c9fbbebc.system.entry.js → p-919c1794.system.entry.js} +1 -1
  324. package/lib/duet/{p-de0a78f9.entry.js → p-955c3761.entry.js} +1 -1
  325. package/lib/duet/{p-20645770.system.entry.js → p-977e9ed4.system.entry.js} +1 -1
  326. package/lib/duet/{p-2e78b185.system.entry.js → p-9a9505b0.system.entry.js} +1 -1
  327. package/lib/duet/{p-2aaf03e1.system.entry.js → p-9c0b9de2.system.entry.js} +1 -1
  328. package/lib/duet/{p-c2626d64.entry.js → p-9c93192b.entry.js} +1 -1
  329. package/lib/duet/{p-3f3bcada.entry.js → p-9c95fff6.entry.js} +1 -1
  330. package/lib/duet/{p-73e0f5cf.system.entry.js → p-9c9b25f3.system.entry.js} +1 -1
  331. package/lib/duet/{p-521d978e.entry.js → p-9eb974d8.entry.js} +1 -1
  332. package/lib/duet/{p-6bd8fb57.entry.js → p-9eedb975.entry.js} +1 -1
  333. package/lib/duet/{p-18d7d777.entry.js → p-a2e17a01.entry.js} +1 -1
  334. package/lib/duet/{p-572652e8.entry.js → p-a37f93eb.entry.js} +1 -1
  335. package/lib/duet/{p-e10e1117.entry.js → p-a414d7b1.entry.js} +1 -1
  336. package/lib/duet/{p-2c65fead.entry.js → p-a4914611.entry.js} +1 -1
  337. package/lib/duet/{p-e1e65613.entry.js → p-a52fb767.entry.js} +1 -1
  338. package/lib/duet/{p-749267a3.system.entry.js → p-a6f74d7f.system.entry.js} +1 -1
  339. package/lib/duet/{p-b3a2ecfc.system.entry.js → p-a7c7e6a4.system.entry.js} +1 -1
  340. package/lib/duet/{p-7478fc5e.entry.js → p-a8333037.entry.js} +1 -1
  341. package/lib/duet/{p-a1c780b5.entry.js → p-aa61f1da.entry.js} +1 -1
  342. package/lib/duet/{p-a54ec315.entry.js → p-aa8f18b0.entry.js} +1 -1
  343. package/lib/duet/{p-94c63013.system.js → p-aad77751.system.js} +1 -1
  344. package/lib/duet/{p-93ce45ce.system.entry.js → p-ad81986c.system.entry.js} +1 -1
  345. package/lib/duet/{p-08b2f3dd.system.entry.js → p-ae15b924.system.entry.js} +1 -1
  346. package/lib/duet/{p-bae3eb9c.entry.js → p-aeb9568f.entry.js} +1 -1
  347. package/lib/duet/{p-6181c1f5.system.entry.js → p-af0c9fa2.system.entry.js} +1 -1
  348. package/lib/duet/{p-849ffaec.system.entry.js → p-b0632410.system.entry.js} +1 -1
  349. package/lib/duet/{p-cb840c6d.entry.js → p-b11c1b81.entry.js} +1 -1
  350. package/lib/duet/{p-3a8d65e6.entry.js → p-b238bac2.entry.js} +1 -1
  351. package/lib/duet/{p-dd3427ef.entry.js → p-b6e98c33.entry.js} +1 -1
  352. package/lib/duet/{p-818bb33d.system.entry.js → p-b7f262fc.system.entry.js} +1 -1
  353. package/lib/duet/{p-fcc9506a.system.entry.js → p-b7fe31c6.system.entry.js} +1 -1
  354. package/lib/duet/{p-f3e84569.js → p-b899b000.js} +1 -1
  355. package/lib/duet/{p-53dee3c7.system.entry.js → p-b8b011df.system.entry.js} +1 -1
  356. package/lib/duet/{p-1b538c45.system.entry.js → p-bc57459e.system.entry.js} +1 -1
  357. package/lib/duet/{p-49ca595b.system.entry.js → p-bcd88ac2.system.entry.js} +1 -1
  358. package/lib/duet/{p-d8097437.entry.js → p-c1c02b47.entry.js} +1 -1
  359. package/lib/duet/{p-dbcafad8.entry.js → p-c1ef1b6e.entry.js} +1 -1
  360. package/lib/duet/{p-008e68b4.system.entry.js → p-c2ca6ff0.system.entry.js} +1 -1
  361. package/lib/duet/p-c552326c.system.entry.js +4 -0
  362. package/lib/duet/{p-e3e5f427.entry.js → p-c5970ff9.entry.js} +1 -1
  363. package/lib/duet/{p-8d6dcdb1.system.entry.js → p-c620f77b.system.entry.js} +1 -1
  364. package/lib/duet/{p-a60f3669.system.entry.js → p-c8896685.system.entry.js} +1 -1
  365. package/lib/duet/{p-ef65048c.system.entry.js → p-c9d3dd02.system.entry.js} +1 -1
  366. package/lib/duet/{p-e87b84f3.system.entry.js → p-ccc58d5d.system.entry.js} +1 -1
  367. package/lib/duet/{p-23aa27b2.system.entry.js → p-cf16818c.system.entry.js} +1 -1
  368. package/lib/duet/{p-6b3a8a12.entry.js → p-d03accc5.entry.js} +1 -1
  369. package/lib/duet/{p-73c4bdf7.js → p-d048f25c.js} +1 -1
  370. package/lib/duet/{p-44156252.entry.js → p-d1dd14a3.entry.js} +1 -1
  371. package/lib/duet/{p-9b90f38e.system.entry.js → p-d20f0c7d.system.entry.js} +1 -1
  372. package/lib/duet/{p-8a9fe70c.entry.js → p-d25bbacd.entry.js} +1 -1
  373. package/lib/duet/{p-5d5f4146.system.entry.js → p-d3f4d98f.system.entry.js} +1 -1
  374. package/lib/duet/{p-f4be3ed1.system.entry.js → p-d6613fe4.system.entry.js} +1 -1
  375. package/lib/duet/{p-96714a74.entry.js → p-d6efda2f.entry.js} +1 -1
  376. package/lib/duet/{p-64027802.system.entry.js → p-d87f8bb5.system.entry.js} +1 -1
  377. package/lib/duet/{p-e32ff504.system.entry.js → p-d90c1000.system.entry.js} +1 -1
  378. package/lib/duet/{p-d53821a2.entry.js → p-d9845dc6.entry.js} +1 -1
  379. package/lib/duet/{p-63c5fd6b.entry.js → p-da5fbdcd.entry.js} +1 -1
  380. package/lib/duet/{p-8b5976ca.entry.js → p-db3eaaa3.entry.js} +1 -1
  381. package/lib/duet/p-e238bb61.entry.js +4 -0
  382. package/lib/duet/{p-f1e02e7b.js → p-e4d4cc92.js} +1 -1
  383. package/lib/duet/{p-207ea7e9.system.entry.js → p-e6eb1780.system.entry.js} +1 -1
  384. package/lib/duet/{p-50ac9df8.entry.js → p-e7a6457f.entry.js} +1 -1
  385. package/lib/duet/{p-6f66ba45.entry.js → p-e84dc0ac.entry.js} +1 -1
  386. package/lib/duet/{p-b7996eff.system.entry.js → p-e9cecefd.system.entry.js} +1 -1
  387. package/lib/duet/{p-9432f9ec.entry.js → p-ea692823.entry.js} +1 -1
  388. package/lib/duet/{p-4efe4a6c.entry.js → p-edaefdfb.entry.js} +1 -1
  389. package/lib/duet/{p-6decccda.entry.js → p-eeb9da2d.entry.js} +1 -1
  390. package/lib/duet/{p-11fb9dc4.entry.js → p-f022f85b.entry.js} +1 -1
  391. package/lib/duet/{p-8d051bf2.system.entry.js → p-f3d88a94.system.entry.js} +1 -1
  392. package/lib/duet/{p-45bb56a8.entry.js → p-f745dcfb.entry.js} +1 -1
  393. package/lib/duet/{p-cf99e1f3.entry.js → p-f7f098cb.entry.js} +1 -1
  394. package/lib/duet/{p-c54aec23.entry.js → p-f84cdfef.entry.js} +1 -1
  395. package/lib/duet/{p-0ebc6e34.entry.js → p-f86c7315.entry.js} +1 -1
  396. package/lib/duet/{p-79f305ba.system.entry.js → p-f96c47b4.system.entry.js} +1 -1
  397. package/lib/duet/{p-c1b9e00b.system.entry.js → p-f9d54f1a.system.entry.js} +1 -1
  398. package/lib/duet/{p-1eb3f237.entry.js → p-f9d93246.entry.js} +1 -1
  399. package/lib/duet/{p-3ac94cc4.system.entry.js → p-fa115b76.system.entry.js} +1 -1
  400. package/lib/duet/{p-a7d46fef.system.entry.js → p-faa44b79.system.entry.js} +1 -1
  401. package/lib/duet/{p-60a0cb7f.system.js → p-fadcbdae.system.js} +1 -1
  402. package/lib/duet/{p-f6e819df.entry.js → p-fb083164.entry.js} +1 -1
  403. package/lib/duet/{p-200ce847.entry.js → p-fea43afb.entry.js} +1 -1
  404. package/lib/duet/{p-c152f45c.entry.js → p-ff1e3ce2.entry.js} +1 -1
  405. package/lib/esm/{app-globals-60b4029b.js → app-globals-386e1feb.js} +1 -1
  406. package/lib/esm/duet-action-button.entry.js +2 -2
  407. package/lib/esm/duet-alert.entry.js +3 -3
  408. package/lib/esm/duet-badge.entry.js +1 -1
  409. package/lib/esm/duet-banner.entry.js +2 -2
  410. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  411. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  412. package/lib/esm/duet-button_2.entry.js +2 -2
  413. package/lib/esm/duet-callout.entry.js +2 -2
  414. package/lib/esm/duet-caption_4.entry.js +2 -2
  415. package/lib/esm/duet-card.entry.js +1 -1
  416. package/lib/esm/duet-checkbox.entry.js +1 -1
  417. package/lib/esm/duet-checkmark.entry.js +1 -1
  418. package/lib/esm/duet-chip_3.entry.js +3 -3
  419. package/lib/esm/duet-choice_2.entry.js +3 -3
  420. package/lib/esm/duet-collapsible.entry.js +2 -2
  421. package/lib/esm/duet-combobox.entry.js +3 -3
  422. package/lib/esm/duet-contact-card.entry.js +2 -2
  423. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  424. package/lib/esm/duet-date-picker.entry.js +4 -4
  425. package/lib/esm/duet-divider_2.entry.js +1 -1
  426. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  427. package/lib/esm/duet-empty-state.entry.js +1 -1
  428. package/lib/esm/duet-fieldset.entry.js +2 -2
  429. package/lib/esm/duet-file-chooser.entry.js +1 -1
  430. package/lib/esm/duet-footer.entry.js +3 -3
  431. package/lib/esm/duet-grid_2.entry.js +1 -1
  432. package/lib/esm/duet-header_2.entry.js +2 -2
  433. package/lib/esm/duet-hero.entry.js +3 -3
  434. package/lib/esm/duet-icon.entry.js +1 -1
  435. package/lib/esm/duet-input_2.entry.js +3 -3
  436. package/lib/esm/duet-layout.entry.js +2 -2
  437. package/lib/esm/duet-list_2.entry.js +1 -1
  438. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  439. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  440. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  441. package/lib/esm/duet-menu-bar-item.entry.js +2 -2
  442. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  443. package/lib/esm/duet-menu-bar.entry.js +2 -2
  444. package/lib/esm/duet-modal.entry.js +4 -4
  445. package/lib/esm/duet-multiselect.entry.js +3 -3
  446. package/lib/esm/duet-nav.entry.js +1 -1
  447. package/lib/esm/duet-notification_2.entry.js +2 -2
  448. package/lib/esm/duet-number-input.entry.js +3 -3
  449. package/lib/esm/duet-overlay.entry.js +1 -1
  450. package/lib/esm/duet-page-heading.entry.js +1 -1
  451. package/lib/esm/duet-pagination_2.entry.js +2 -2
  452. package/lib/esm/duet-progress.entry.js +2 -2
  453. package/lib/esm/duet-promo-card.entry.js +2 -2
  454. package/lib/esm/duet-radio_2.entry.js +2 -2
  455. package/lib/esm/duet-range-slider.entry.js +1 -1
  456. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  457. package/lib/esm/duet-section-layout.entry.js +1 -1
  458. package/lib/esm/duet-select.entry.js +2 -2
  459. package/lib/esm/duet-shaped-image.entry.js +1 -1
  460. package/lib/esm/duet-show-more.entry.js +2 -2
  461. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  462. package/lib/esm/duet-slideout-link.entry.js +1 -1
  463. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  464. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  465. package/lib/esm/duet-slideout.entry.js +10 -9
  466. package/lib/esm/duet-step_2.entry.js +1 -1
  467. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  468. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  469. package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
  470. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  471. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  472. package/lib/esm/duet-textarea.entry.js +3 -3
  473. package/lib/esm/duet-toggle.entry.js +1 -1
  474. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  475. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  476. package/lib/esm/duet-toolbar-item.entry.js +2 -2
  477. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  478. package/lib/esm/duet-toolbar.entry.js +1 -1
  479. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  480. package/lib/esm/duet-tooltip.entry.js +3 -3
  481. package/lib/esm/duet-tray.entry.js +2 -2
  482. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  483. package/lib/esm/duet-upload-item.entry.js +3 -3
  484. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  485. package/lib/esm/duet.js +3 -3
  486. package/lib/esm/{errorcodes.utils-b639fe8c.js → errorcodes.utils-f2529568.js} +1 -1
  487. package/lib/esm/{focus-utils-fad21cfb.js → focus-utils-fb393f52.js} +1 -1
  488. package/lib/esm/{index-4160b620.js → index-4e3ad237.js} +1 -1
  489. package/lib/esm/{language-utils-afb0d677.js → language-utils-95643489.js} +1 -1
  490. package/lib/esm/loader.js +3 -3
  491. package/lib/esm/{slot-utils-fdd6c75c.js → slot-utils-1be24d72.js} +1 -1
  492. package/lib/esm-es5/{app-globals-60b4029b.js → app-globals-386e1feb.js} +1 -1
  493. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  494. package/lib/esm-es5/duet-alert.entry.js +1 -1
  495. package/lib/esm-es5/duet-badge.entry.js +1 -1
  496. package/lib/esm-es5/duet-banner.entry.js +1 -1
  497. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  498. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  499. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  500. package/lib/esm-es5/duet-callout.entry.js +1 -1
  501. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  502. package/lib/esm-es5/duet-card.entry.js +1 -1
  503. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  504. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  505. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  506. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  507. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  508. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  509. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  510. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  511. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  512. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  513. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  514. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  515. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  516. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  517. package/lib/esm-es5/duet-footer.entry.js +1 -1
  518. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  519. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  520. package/lib/esm-es5/duet-hero.entry.js +1 -1
  521. package/lib/esm-es5/duet-icon.entry.js +1 -1
  522. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  523. package/lib/esm-es5/duet-layout.entry.js +1 -1
  524. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  525. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  526. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  527. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  528. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  529. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  530. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  531. package/lib/esm-es5/duet-modal.entry.js +1 -1
  532. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  533. package/lib/esm-es5/duet-nav.entry.js +1 -1
  534. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  535. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  536. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  537. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  538. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  539. package/lib/esm-es5/duet-progress.entry.js +1 -1
  540. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  541. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  542. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  543. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  544. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  545. package/lib/esm-es5/duet-select.entry.js +1 -1
  546. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  547. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  548. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  549. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  550. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  551. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  552. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  553. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  554. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  555. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  556. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  557. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  558. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  559. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  560. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  561. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  562. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  563. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  564. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  565. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  566. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  567. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  568. package/lib/esm-es5/duet-tray.entry.js +1 -1
  569. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  570. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  571. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  572. package/lib/esm-es5/duet.js +1 -1
  573. package/lib/esm-es5/{errorcodes.utils-b639fe8c.js → errorcodes.utils-f2529568.js} +1 -1
  574. package/lib/esm-es5/focus-utils-fb393f52.js +4 -0
  575. package/lib/esm-es5/{index-4160b620.js → index-4e3ad237.js} +1 -1
  576. package/lib/esm-es5/{language-utils-afb0d677.js → language-utils-95643489.js} +1 -1
  577. package/lib/esm-es5/loader.js +1 -1
  578. package/lib/esm-es5/{slot-utils-fdd6c75c.js → slot-utils-1be24d72.js} +1 -1
  579. package/lib/types/components/duet-slideout/duet-slideout.d.ts +2 -0
  580. package/lib/types/components.d.ts +2 -2
  581. package/package.json +4 -4
  582. package/lib/duet/p-08eb8156.entry.js +0 -4
  583. package/lib/duet/p-4b961592.entry.js +0 -4
  584. package/lib/duet/p-4d8ebbe4.entry.js +0 -4
  585. package/lib/duet/p-5298f539.system.entry.js +0 -4
  586. package/lib/duet/p-539938fb.js +0 -4
  587. package/lib/duet/p-5d3ba53d.system.entry.js +0 -4
  588. package/lib/duet/p-63fd1f1b.entry.js +0 -4
  589. package/lib/duet/p-7d0fcdcd.entry.js +0 -4
  590. package/lib/duet/p-e7c62f85.js +0 -4
  591. package/lib/esm-es5/focus-utils-fad21cfb.js +0 -4
@@ -1,4 +1,4 @@
1
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
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f4c1b623.system.js","./p-8f477bd6.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-34d7dd10.system.js","./p-ce9ccf2d.system.js","./p-60a0cb7f.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}}}));
4
+ */System.register(["./p-7d32c253.system.js","./p-8f477bd6.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-34d7dd10.system.js","./p-3300a0a4.system.js","./p-fadcbdae.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 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f4c1b623.system.js","./p-e216bea4.system.js","./p-cbbf6d6a.system.js","./p-ef731dfb.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"2c46d1a310dd476d040392ebcda6643f1981d624",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
4
+ System.register(["./p-7d32c253.system.js","./p-e216bea4.system.js","./p-cbbf6d6a.system.js","./p-ef731dfb.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"2c46d1a310dd476d040392ebcda6643f1981d624",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as o,g as t}from"./p-f3e84569.js";import{i as r}from"./p-aaa7a7bd.js";import{h as d,c as i}from"./p-520ac4b7.js";import{g as n}from"./p-10c530d1.js";import"./p-1004af75.js";const s=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=d(this.element,"pre-heading"),this.hasHeadingSlot=d(this.element,"heading"),this.hasDescriptionSlot=d(this.element,"description"),this.hasActionSlot=d(this.element,"action"),i(this.element,"heading","span"),i(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=n(this.backgroundColor,this.theme);return a(o,{key:"c1a1de7dff739a9682d326b8d95ebc1a6b654116",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"ca9a98e6b0fd507a266e7df4ea2c9f633c025e94",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"ecd0f55f11b5ab945cb5f8731bfcdf0f9896329f",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"5e172fe31a4f2f5f2a1a332fa8d8b5a1cbf3d01e",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"0dd4c9c41fea8db65956d2c844fb78a97ab279ef",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"2d89e751682632487cfcefcdce063886070711a1",class:"pre-heading"},a("slot",{key:"0e4a51c40d95dd0080de19cd45bf70e117f4a131",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"72a74b257a084c3ddf7e7285da10875c21db8790",class:"heading"},a("duet-heading",{key:"b34a76dad87e9726296d775f3145b2c7b640bee4",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"3fd56ffd4b2600856059091709f347f689e8a017"},a("slot",{key:"ce33481480a296bc9884ed1de8b77e31232b0f23",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"a3c2f1b7a9bc92599183ce1ea8aabebd0849b30b",class:"description"},a("duet-paragraph",{key:"2e90a512af33afbf6635faa626ff038d3beb2034",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"0d774578043b823e14e314169fdcde5d4a4f002d"},a("slot",{key:"2da893d28fe769d4d5b9bc46104be41223eb96d8",name:"description"})))),this.hasActionSlot&&a("div",{key:"b20a53961de0cf3392ab726634262978ecb3a6f1",class:"action"},a("slot",{key:"1221939ab0a8061182f7b648c104ad75ae6f36b4",name:"action"}))))))}get element(){return t(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height: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;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{s as duet_promo_card}
4
+ import{r as e,h as a,H as o,g as t}from"./p-b899b000.js";import{i as r}from"./p-aaa7a7bd.js";import{h as d,c as i}from"./p-63a09802.js";import{g as n}from"./p-10c530d1.js";import"./p-1004af75.js";const s=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=d(this.element,"pre-heading"),this.hasHeadingSlot=d(this.element,"heading"),this.hasDescriptionSlot=d(this.element,"description"),this.hasActionSlot=d(this.element,"action"),i(this.element,"heading","span"),i(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=n(this.backgroundColor,this.theme);return a(o,{key:"c1a1de7dff739a9682d326b8d95ebc1a6b654116",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"ca9a98e6b0fd507a266e7df4ea2c9f633c025e94",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"ecd0f55f11b5ab945cb5f8731bfcdf0f9896329f",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"5e172fe31a4f2f5f2a1a332fa8d8b5a1cbf3d01e",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"0dd4c9c41fea8db65956d2c844fb78a97ab279ef",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"2d89e751682632487cfcefcdce063886070711a1",class:"pre-heading"},a("slot",{key:"0e4a51c40d95dd0080de19cd45bf70e117f4a131",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"72a74b257a084c3ddf7e7285da10875c21db8790",class:"heading"},a("duet-heading",{key:"b34a76dad87e9726296d775f3145b2c7b640bee4",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"3fd56ffd4b2600856059091709f347f689e8a017"},a("slot",{key:"ce33481480a296bc9884ed1de8b77e31232b0f23",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"a3c2f1b7a9bc92599183ce1ea8aabebd0849b30b",class:"description"},a("duet-paragraph",{key:"2e90a512af33afbf6635faa626ff038d3beb2034",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"0d774578043b823e14e314169fdcde5d4a4f002d"},a("slot",{key:"2da893d28fe769d4d5b9bc46104be41223eb96d8",name:"description"})))),this.hasActionSlot&&a("div",{key:"b20a53961de0cf3392ab726634262978ecb3a6f1",class:"action"},a("slot",{key:"1221939ab0a8061182f7b648c104ad75ae6f36b4",name:"action"}))))))}get element(){return t(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height: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;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{s as duet_promo_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f4c1b623.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var n,t,a,o,r,i;return{setters:[function(e){n=e.r;t=e.h;a=e.H;o=e.g},function(e){r=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';var u=d;var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-submenu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e=this;return t(a,{key:"06b062162cb366accf11fd8844dc842cb4086e11"},t("a",{key:"aeba09894b5f6a4aec3c462fef6f62966fd3849f",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(n){return e.handleEscape(n)}},this.icon&&t("duet-icon",{key:"72463c8f6d29475ed51097a63b8c627e35454570",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("span",{key:"457b5b54be2bdbb03e665ed5549ac06b45e0a591",class:"label-container"},t("span",{key:"0fe3839576cb252a5f928774b0808bf85913d6fe",class:"label"},t("slot",{key:"4ca119e9809d2122107fbade53b8f0d21f499f99"})),this.caret&&t("duet-icon",{key:"98119ea79cc812daa6857fa4286c97f0ffd6d4ca",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&t("duet-icon",{key:"c4cbb062c343bb3bf6b15d771de4618f1d75b531",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
4
+ System.register(["./p-7d32c253.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var n,t,a,o,r,i;return{setters:[function(e){n=e.r;t=e.h;a=e.H;o=e.g},function(e){r=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';var u=d;var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-submenu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e=this;return t(a,{key:"06b062162cb366accf11fd8844dc842cb4086e11"},t("a",{key:"aeba09894b5f6a4aec3c462fef6f62966fd3849f",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(n){return e.handleEscape(n)}},this.icon&&t("duet-icon",{key:"72463c8f6d29475ed51097a63b8c627e35454570",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("span",{key:"457b5b54be2bdbb03e665ed5549ac06b45e0a591",class:"label-container"},t("span",{key:"0fe3839576cb252a5f928774b0808bf85913d6fe",class:"label"},t("slot",{key:"4ca119e9809d2122107fbade53b8f0d21f499f99"})),this.caret&&t("duet-icon",{key:"98119ea79cc812daa6857fa4286c97f0ffd6d4ca",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&t("duet-icon",{key:"c4cbb062c343bb3bf6b15d771de4618f1d75b531",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f4c1b623.system.js","./p-e216bea4.system.js","./p-ce9ccf2d.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,a,i,n,d,o,c,s;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){d=e.i},function(e){o=e.a;c=e.c;s=e.d},function(){}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';var m=r;var l=e("duet_contact_card",function(){function e(e){t(this,e);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=o();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.render=function(){var e=this.theme==="turva";var t=e?"turva":"default";return a(i,{key:"710493f629c7d9cac46f490f0dee228f7242a95c",class:{"duet-m-0":this.margin==="none"}},a("div",{key:"6ebe03954a2fa70044934971a113f2799d883a61",class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"38bd574fe717f2d7b57c74cde6d5ac57f148b23c"},this.name&&a("duet-heading",{key:"72ef2682da855b8cb86c2537843b864121b1529b",class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&a("duet-paragraph",{key:"b657102818b5864f82ddc9de07ff4c910024e46f",class:"description",margin:"none",theme:t},this.description),this.email&&a("div",{key:"310a665ff9dad389ea89c74bcda6b5b637513eca",class:"email"},a("duet-icon",{key:"0d15be99d190d285cead78ef5a1356ce88802e21",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"67e957450d29245d930ca9b8366cdc421c95b5a0",url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:t},this.email)),this.phone&&a("div",{key:"3c7f8dbef0143be61c6da4e5c5aaf50036a5a795",class:"phone"},a("duet-icon",{key:"107635e97ef8980ce1f9d91cc7c0a20132967d50",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"30993d3b47125ecd85527fd664596deb5b1e6c55",url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:t},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"08e0710a040f7775d7a8b2c61b5e803212b1a344",class:"call-to-action"},a("duet-button",{key:"33b3f9f83c8b98df670211fa786bc91e1daeb33f",variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),a("div",{key:"6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95"}),a("slot",{key:"ddcf2048393c89dbc94c29254ee703829cdc08a2"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=m}}}));
4
+ System.register(["./p-7d32c253.system.js","./p-e216bea4.system.js","./p-3300a0a4.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,a,i,n,d,o,c,s;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){d=e.i},function(e){o=e.a;c=e.c;s=e.d},function(){}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';var m=r;var l=e("duet_contact_card",function(){function e(e){t(this,e);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=o();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.render=function(){var e=this.theme==="turva";var t=e?"turva":"default";return a(i,{key:"710493f629c7d9cac46f490f0dee228f7242a95c",class:{"duet-m-0":this.margin==="none"}},a("div",{key:"6ebe03954a2fa70044934971a113f2799d883a61",class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"38bd574fe717f2d7b57c74cde6d5ac57f148b23c"},this.name&&a("duet-heading",{key:"72ef2682da855b8cb86c2537843b864121b1529b",class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&a("duet-paragraph",{key:"b657102818b5864f82ddc9de07ff4c910024e46f",class:"description",margin:"none",theme:t},this.description),this.email&&a("div",{key:"310a665ff9dad389ea89c74bcda6b5b637513eca",class:"email"},a("duet-icon",{key:"0d15be99d190d285cead78ef5a1356ce88802e21",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"67e957450d29245d930ca9b8366cdc421c95b5a0",url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:t},this.email)),this.phone&&a("div",{key:"3c7f8dbef0143be61c6da4e5c5aaf50036a5a795",class:"phone"},a("duet-icon",{key:"107635e97ef8980ce1f9d91cc7c0a20132967d50",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"30993d3b47125ecd85527fd664596deb5b1e6c55",url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:t},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"08e0710a040f7775d7a8b2c61b5e803212b1a344",class:"call-to-action"},a("duet-button",{key:"33b3f9f83c8b98df670211fa786bc91e1daeb33f",variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),a("div",{key:"6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95"}),a("slot",{key:"ddcf2048393c89dbc94c29254ee703829cdc08a2"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as n}from"./p-f3e84569.js";import{i as o}from"./p-aaa7a7bd.js";import{a as r,c as i,d as s,g as d}from"./p-f1e02e7b.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(){s(this)}render(){const e=d(this.chooseLangObject);return a(t,{key:"a3f0902bcc3942cfdd9bd39d753bfcfeeebf8bd4"},a("div",{key:"e4b2d5245b065602e7b74bab03d2ad9a6390d5ab",class:"duet-slideout-lang",role:"group","aria-label":e},a("duet-icon",{key:"10f383d1179787ca4dda410b10ac2785bcbbcc36",name:"navigation-language",margin:"none",color:"secondary"}),a("slot",{key:"3a3f899dd72eb996f48ac588474810a95fa6fc19"})))}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}
4
+ import{r as e,h as a,H as t,g as n}from"./p-b899b000.js";import{i as o}from"./p-aaa7a7bd.js";import{a as r,c as i,d as s,g as d}from"./p-e4d4cc92.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(){s(this)}render(){const e=d(this.chooseLangObject);return a(t,{key:"a3f0902bcc3942cfdd9bd39d753bfcfeeebf8bd4"},a("div",{key:"e4b2d5245b065602e7b74bab03d2ad9a6390d5ab",class:"duet-slideout-lang",role:"group","aria-label":e},a("duet-icon",{key:"10f383d1179787ca4dda410b10ac2785bcbbcc36",name:"navigation-language",margin:"none",color:"secondary"}),a("slot",{key:"3a3f899dd72eb996f48ac588474810a95fa6fc19"})))}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 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as o,g as n}from"./p-f3e84569.js";import{i as a}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{s as c,u as r,f as h,c as d,b as p,o as u}from"./p-a1b7f2a0.js";import{g as l}from"./p-f1e02e7b.js";import{q as b}from"./p-1004af75.js";import{o as m,f as g,s as f,c as k,b as v}from"./p-81287261.js";import{f as x}from"./p-539938fb.js";import{T as y}from"./p-ca3cb21e.js";import{a as w}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const C=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetRemove=e(this,"duetRemove",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.chipId=s("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=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onRadioChange),t.removeEventListener("click",this.onRadioClick),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onRadioChange),t.addEventListener("click",this.onRadioClick),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),e=t||document.createElement("input");e.slot="input",e.ariaDisabled=this.disabled?"true":void 0,e.id=this.identifier||this.chipId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const e=this.element.textContent,i=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var a;const s=null!==(a=t.value)&&void 0!==a?a:t.innerText;t.active?(o(),this.element.textContent=e,this.value=i,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=s,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onRadioClick=t=>{this.disabled&&t.preventDefault()},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),this.duetRemove.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){a(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${l(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${l(this.selectedForDeletionLabels)}) `:""},`}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var t;const e=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},a={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return i(o,{key:"a1e4d371f57abce15c06aa88bf2faab012bde60a",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"48b8e4b70be8c4511a33be55c6fd25ec850fe1c2",class:n},i("button",Object.assign({key:"1e92c0aff2f7d6817644759f8fc0a338a12e651e",id:e,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},a),i("span",{key:"f0dfef6892bc184005d490ad2d1d5f9ff5c21fe9",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"490e975ca8e0573278761ac8fe978a5bac7f1188",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"1e44610c8ab2868243517a700bfdb9e5adbd5d0d"}))),"input"===this.variation&&i("span",{key:"b4340e31757471ddf6e7e326c4738a34f57d668c",class:n,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"dbb4afd5b7f46baa28a026ff4531db068eac8980",id:e,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},a),i("span",{key:"6e871c13f043685a2bd1fbf484256e801437a86b",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"74c2893dc01e6e13a2baf628908c5f92a3bfc9d5",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"f0600d50d6bc3a1b549d9d7b8a3c62d4d02ab53f"})),i("button",{key:"70055da94df9cb43034d6b70e63c2748ca91eee5",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:t=>this.deleteButtonElement=t},i("duet-icon",{key:"1201fc54755c07ce2bbadfc2ec8aa29d5faa43eb",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"c6c3ddfc24d0bce8113029c644f01c5eceee6936",class:n},i("input",Object.assign({key:"dae5813deea4c2b7798852027cc65d2be069fa05","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:e,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),i("label",{key:"5c7534979701b02d02649f0b77aadfae19568c15",htmlFor:e},this.icon&&i("span",{key:"a92359d55dae65066120c53db2f8fcfa09f89904",class:"duet-chip-icon-container"},i("duet-icon",{key:"9193a5782a8848231e53276b90b0ce2e665e2812",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"78717f62e085fb0528f6ee7b141691f6c7555f42",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"7c210530d8bb610ac7aaadd0f4a7510ddd020d12"}),this.popupElement&&i("span",{key:"2a6053db849ac7543ce7649c94a3fda09d7dd2f3",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"e21b78ef1b4fca374c1112e4d492ed57f8ab9cab",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"a964e2e03bfbf19d8a01f8475ee6d4b81c671c76",class:n},i("slot",{key:"3b64cb528868bf3f36b83bfe613df41d7ee17513",name:"input"}),i("label",{key:"f3f52816c1229c2446f51642bcba073e95d44139",htmlFor:e},this.icon&&i("span",{key:"e5d0dbadb5b2cc473dd1ad618bdc3f0e00d3f02c",class:"duet-chip-icon-container"},i("duet-icon",{key:"498cf093393d6b44a60aad4b73520d4f3ebecde2",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"153615d1f9923f824ca91a8799dfaebb9489ad47",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"6f89ed2bcee2e5cdf1b6505f04be602fad04b904"}))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};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;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}';const z=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[m({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&g(),f({padding:5})].filter(Boolean),e=await k(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){a(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new y(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&h(t)&&this.hide()}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(e<this.itemElements.length-1?this.itemElements[e+1].setFocus():this.itemElements[0].setFocus())}if(p(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(0===e?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[e-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=v(this.openButton,this.menuElement,this.updatePlacement)),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&x(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){if(this.itemElements.length>0&&this.scrollLimit){const t=2*Number(b.replace("px",""));return`${this.itemElements[0].offsetHeight*this.scrollLimit+t}px`}return"auto"}async getFocusedItemIndex(){const t=this.itemElements;for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(o,{key:"4754c8522cdd93a4e90398840cb321821636b489"},i("div",{key:"45ceb31093aa93bf21e61daed2c77c4ba816556f",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},i("slot",{key:"88dde9607c352adc70eb6a27b5fab917585cef1e"})))}get element(){return n(this)}static get watchers(){return{open:["handleOpenChange"]}}};z.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-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}";const j=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){a(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(o,{key:"02e7a087e9f8df28e015c45b2182ab19167c39a2",role:this.accessibleRole},i(t,{key:"ac6c8e523bb7dbd6ce78dfb8e5ba1a34c765f538",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"003f72c807601366ce44ba41c92d01cc3867a995",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"5936e48916d5c665070e490074e5310b52ad0cd9",class:"duet-popup-menu-item-label"},i("slot",{key:"4f365167fa1ae20a9a26f91352791b8b94007088"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"52e54059ac3b56ad022ed42085029a58b7010806",name:this.url&&this.external?w.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&&i("span",{key:"16fb5260a8d79c5b20bc7dcbb0d6fb078d41f0d5",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};j.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display: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}';export{C as duet_chip,z as duet_popup_menu,j as duet_popup_menu_item}
4
+ import{r as t,c as e,h as i,H as o,g as n}from"./p-b899b000.js";import{i as a}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{s as c,u as r,f as h,c as d,b as p,o as u}from"./p-a1b7f2a0.js";import{g as l}from"./p-e4d4cc92.js";import{q as b}from"./p-1004af75.js";import{o as m,f as g,s as f,c as k,b as v}from"./p-81287261.js";import{f as x}from"./p-214444f4.js";import{T as y}from"./p-ca3cb21e.js";import{a as w}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const C=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetRemove=e(this,"duetRemove",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.chipId=s("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=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onRadioChange),t.removeEventListener("click",this.onRadioClick),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onRadioChange),t.addEventListener("click",this.onRadioClick),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),e=t||document.createElement("input");e.slot="input",e.ariaDisabled=this.disabled?"true":void 0,e.id=this.identifier||this.chipId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const e=this.element.textContent,i=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var a;const s=null!==(a=t.value)&&void 0!==a?a:t.innerText;t.active?(o(),this.element.textContent=e,this.value=i,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=s,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onRadioClick=t=>{this.disabled&&t.preventDefault()},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),this.duetRemove.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){a(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${l(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${l(this.selectedForDeletionLabels)}) `:""},`}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var t;const e=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},a={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return i(o,{key:"a1e4d371f57abce15c06aa88bf2faab012bde60a",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"48b8e4b70be8c4511a33be55c6fd25ec850fe1c2",class:n},i("button",Object.assign({key:"1e92c0aff2f7d6817644759f8fc0a338a12e651e",id:e,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},a),i("span",{key:"f0dfef6892bc184005d490ad2d1d5f9ff5c21fe9",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"490e975ca8e0573278761ac8fe978a5bac7f1188",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"1e44610c8ab2868243517a700bfdb9e5adbd5d0d"}))),"input"===this.variation&&i("span",{key:"b4340e31757471ddf6e7e326c4738a34f57d668c",class:n,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"dbb4afd5b7f46baa28a026ff4531db068eac8980",id:e,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},a),i("span",{key:"6e871c13f043685a2bd1fbf484256e801437a86b",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"74c2893dc01e6e13a2baf628908c5f92a3bfc9d5",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"f0600d50d6bc3a1b549d9d7b8a3c62d4d02ab53f"})),i("button",{key:"70055da94df9cb43034d6b70e63c2748ca91eee5",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:t=>this.deleteButtonElement=t},i("duet-icon",{key:"1201fc54755c07ce2bbadfc2ec8aa29d5faa43eb",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"c6c3ddfc24d0bce8113029c644f01c5eceee6936",class:n},i("input",Object.assign({key:"dae5813deea4c2b7798852027cc65d2be069fa05","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:e,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),i("label",{key:"5c7534979701b02d02649f0b77aadfae19568c15",htmlFor:e},this.icon&&i("span",{key:"a92359d55dae65066120c53db2f8fcfa09f89904",class:"duet-chip-icon-container"},i("duet-icon",{key:"9193a5782a8848231e53276b90b0ce2e665e2812",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"78717f62e085fb0528f6ee7b141691f6c7555f42",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"7c210530d8bb610ac7aaadd0f4a7510ddd020d12"}),this.popupElement&&i("span",{key:"2a6053db849ac7543ce7649c94a3fda09d7dd2f3",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"e21b78ef1b4fca374c1112e4d492ed57f8ab9cab",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"a964e2e03bfbf19d8a01f8475ee6d4b81c671c76",class:n},i("slot",{key:"3b64cb528868bf3f36b83bfe613df41d7ee17513",name:"input"}),i("label",{key:"f3f52816c1229c2446f51642bcba073e95d44139",htmlFor:e},this.icon&&i("span",{key:"e5d0dbadb5b2cc473dd1ad618bdc3f0e00d3f02c",class:"duet-chip-icon-container"},i("duet-icon",{key:"498cf093393d6b44a60aad4b73520d4f3ebecde2",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"153615d1f9923f824ca91a8799dfaebb9489ad47",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"6f89ed2bcee2e5cdf1b6505f04be602fad04b904"}))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};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;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}';const z=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[m({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&g(),f({padding:5})].filter(Boolean),e=await k(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){a(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new y(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&h(t)&&this.hide()}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(e<this.itemElements.length-1?this.itemElements[e+1].setFocus():this.itemElements[0].setFocus())}if(p(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(0===e?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[e-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=v(this.openButton,this.menuElement,this.updatePlacement)),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&x(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){if(this.itemElements.length>0&&this.scrollLimit){const t=2*Number(b.replace("px",""));return`${this.itemElements[0].offsetHeight*this.scrollLimit+t}px`}return"auto"}async getFocusedItemIndex(){const t=this.itemElements;for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(o,{key:"4754c8522cdd93a4e90398840cb321821636b489"},i("div",{key:"45ceb31093aa93bf21e61daed2c77c4ba816556f",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},i("slot",{key:"88dde9607c352adc70eb6a27b5fab917585cef1e"})))}get element(){return n(this)}static get watchers(){return{open:["handleOpenChange"]}}};z.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-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}";const j=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){a(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(o,{key:"02e7a087e9f8df28e015c45b2182ab19167c39a2",role:this.accessibleRole},i(t,{key:"ac6c8e523bb7dbd6ce78dfb8e5ba1a34c765f538",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"003f72c807601366ce44ba41c92d01cc3867a995",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"5936e48916d5c665070e490074e5310b52ad0cd9",class:"duet-popup-menu-item-label"},i("slot",{key:"4f365167fa1ae20a9a26f91352791b8b94007088"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"52e54059ac3b56ad022ed42085029a58b7010806",name:this.url&&this.external?w.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&&i("span",{key:"16fb5260a8d79c5b20bc7dcbb0d6fb078d41f0d5",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};j.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display: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}';export{C as duet_chip,z as duet_popup_menu,j as duet_popup_menu_item}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as i}from"./p-f3e84569.js";import{i as o}from"./p-aaa7a7bd.js";import{c as d}from"./p-5e59e970.js";import{h as s}from"./p-520ac4b7.js";const n=class{constructor(t){e(this,t),this.errorId=d("DuetError"),this.labelId=d("DuetLabel"),this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.hasTooltip=!1,this.theme="",this.margin="auto",this.caption=void 0,this.label=void 0,this.compactLabel=!1,this.error=void 0,this.accessibleLiveError="polite",this.labelHeadingLevel="span",this.labelHidden=!1}componentWillLoad(){o(this),this.checkHasTooltip()}render(){return t(a,{key:"4eb384f65662406ceb5dac5d3afa3123b53d559f",class:{"duet-m-0":"none"===this.margin}},t("fieldset",{key:"1b74d77a9bee7a63d9667dcc2f7bbe1894e18857","aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{key:"bc8894df307f0f7895ca65a8833f00de91c6d902",id:this.labelId},t(this.labelHeadingLevel,{key:"d4e9c87bccf8f2848af9caacac7b04a6eeaac99f"},this.label),this.caption&&t("span",{key:"0e3b310bcff0a568df84daccd3c87a2032a1951f"},this.caption)),t("div",{key:"3e4a21c9412a2aa7c8e7b3af233ff78db59de3f3",class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{key:"2d56b17a53ac005d77452fa00e066dd9cd60d03c",class:"duet-fieldset-label"},t("span",{key:"1653d740645fba60cf74ab251adc37c29292e68e","aria-hidden":"true"},this.label),t("slot",{key:"963c6394ba6b4be1a8ee6b8e89101ec96bf96fa0",onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{key:"2d7809730f5df2d775397ffaddd1c433bf920cae",class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{key:"d8c54c2135dfd07adf048ddc6e6408b23e263a1f",theme:this.theme,margin:"none"},this.caption))),t("slot",{key:"4bccca3aa117b4fd2756065bbaadb3313e29976b"}),t("span",{key:"4be6ce9f08b7f9264378bfa2ca59c253a84e00ed",class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",{key:"9f9394081a9ce027ac98aed5af00f4f7c960cf96"},this.error))))}get element(){return i(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;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-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{n as duet_fieldset}
4
+ import{r as e,h as t,H as a,g as i}from"./p-b899b000.js";import{i as o}from"./p-aaa7a7bd.js";import{c as d}from"./p-5e59e970.js";import{h as s}from"./p-63a09802.js";const n=class{constructor(t){e(this,t),this.errorId=d("DuetError"),this.labelId=d("DuetLabel"),this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.hasTooltip=!1,this.theme="",this.margin="auto",this.caption=void 0,this.label=void 0,this.compactLabel=!1,this.error=void 0,this.accessibleLiveError="polite",this.labelHeadingLevel="span",this.labelHidden=!1}componentWillLoad(){o(this),this.checkHasTooltip()}render(){return t(a,{key:"4eb384f65662406ceb5dac5d3afa3123b53d559f",class:{"duet-m-0":"none"===this.margin}},t("fieldset",{key:"1b74d77a9bee7a63d9667dcc2f7bbe1894e18857","aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{key:"bc8894df307f0f7895ca65a8833f00de91c6d902",id:this.labelId},t(this.labelHeadingLevel,{key:"d4e9c87bccf8f2848af9caacac7b04a6eeaac99f"},this.label),this.caption&&t("span",{key:"0e3b310bcff0a568df84daccd3c87a2032a1951f"},this.caption)),t("div",{key:"3e4a21c9412a2aa7c8e7b3af233ff78db59de3f3",class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{key:"2d56b17a53ac005d77452fa00e066dd9cd60d03c",class:"duet-fieldset-label"},t("span",{key:"1653d740645fba60cf74ab251adc37c29292e68e","aria-hidden":"true"},this.label),t("slot",{key:"963c6394ba6b4be1a8ee6b8e89101ec96bf96fa0",onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{key:"2d7809730f5df2d775397ffaddd1c433bf920cae",class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{key:"d8c54c2135dfd07adf048ddc6e6408b23e263a1f",theme:this.theme,margin:"none"},this.caption))),t("slot",{key:"4bccca3aa117b4fd2756065bbaadb3313e29976b"}),t("span",{key:"4be6ce9f08b7f9264378bfa2ca59c253a84e00ed",class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",{key:"9f9394081a9ce027ac98aed5af00f4f7c960cf96"},this.error))))}get element(){return i(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;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-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{n as duet_fieldset}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{h as t,r as i,c as s,H as e,g as h}from"./p-b899b000.js";import{i as o}from"./p-aaa7a7bd.js";import{c as n}from"./p-5e59e970.js";import{d as a}from"./p-9e371678.js";import{j as r,f as l,o as d,b as c,c as u}from"./p-a1b7f2a0.js";import{g as m,a as p,c as v,d as b}from"./p-e4d4cc92.js";import{g}from"./p-63a09802.js";import{r as f,p as x}from"./p-9c3c64b9.js";const y=({item:i,activeDescendant:s,selected:e,label:h,clickHandler:o=(t=>{t.preventDefault()}),keyHandler:n=(t=>{t.preventDefault()}),search:a,isAndroidDevice:r,id:l})=>{const d=a.split(" ").filter((t=>!!t.trim())).map((t=>f(t))),c=""!==a?new RegExp(`(${d.join("|")})`,"i"):void 0;return t("duet-popup-menu-item",{id:s?l:"",active:e,"data-index":i.id,"aria-selected":s?"true":void 0,"aria-current":e?"true":void 0,role:"option","aria-label":h,tabindex:r?"-1":null,onClick:t=>o(t),onKeyUp:t=>n(t),accessibleRole:"option",activeDescendant:s},c?t("span",{class:"option-container","aria-hidden":"true"},t("span",{innerHTML:i.name.replace(c,'<span style="text-decoration: underline">$&</span>')})):i.name,i.tags&&t("span",{class:"option-tags"},i.tags.join(", ")))},S=class{constructor(t){var e,h;i(this,t),this.duetChange=s(this,"duetChange",3),this.listBoxId=n("duet-combobox-list-element"),this.inputId=n("duet-combobox-input-id"),this.activeDescendantId=n("duet-combobox-active-descendant"),this.isAndroidDevice=(null===(h=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.toLowerCase())||void 0===h?void 0:h.indexOf("android"))>-1||null,this.resizeObserver=new ResizeObserver(a((t=>{var i,s,e;if(1===(null==t?void 0:t.length)){const h=null===(s=null===(i=t[0])||void 0===i?void 0:i.target)||void 0===s?void 0:s.getBoundingClientRect().width,o=parseInt(null===(e=getComputedStyle(this.listContainer.shadowRoot.querySelector(".duet-popup-menu-list")))||void 0===e?void 0:e.padding);this.listContainer.style.setProperty("--popup-width",h-2*o+"px")}}),100)),this.onInputChange=async t=>{this.inputValue=t.detail.value},this.onInputClick=()=>{var t,i;this.listOpen=this.openListOnClick?!this.listOpen:(null===(t=this.inputValue)||void 0===t?void 0:t.length)>=this.minCharacters,(null===(i=this.getFilteredItems())||void 0===i?void 0:i.length)||(this.listOpen=!1)},this.onInputTyping=async t=>{var i;const s=t.detail.value;!this.force&&!this.multiple&&this.selectedItems.size>0&&s!==this.getSelectedItemLabel()&&this.selectedItems.clear(),this.force||this.multiple||""!==s||(this.value=void 0),this.listOpen=String(s).length>=this.minCharacters&&(null===(i=this.getFilteredItems())||void 0===i?void 0:i.length)>0},this.onKeyDown=t=>{var i,s,e;const h=this.returnFilteredOrNonFiltered(),o=h.filter((t=>!this.selectedItems.has(t.id)));if(this.input.accessibleActiveDescendant=void 0,r(t))return t.preventDefault(),this.listOpen&&void 0!==this.activeItem&&h[this.activeItem]&&!this.selectedItems.has(h[this.activeItem].id)?this.multiple?this.addSelectedItem(h[this.activeItem].id,!0):this.updateSelectedItem(h[this.activeItem].id,!0):!this.multiple&&this.listOpen&&1===o.length&&o[0].name.toLowerCase()===this.input.value.toLowerCase()&&this.updateSelectedItem(o[0].id,!0),this.activeItem=void 0,void(this.listOpen=!1);if(l(t)||d(t))return this.listOpen&&t.preventDefault(),this.updateInputText(!0),this.activeItem=void 0,void(this.listOpen=!1);let n=this.activeItem;if(c(t))t.preventDefault(),n=this.activeItem-1;else if(u(t)){if((null!==(e=null===(s=null===(i=this.input)||void 0===i?void 0:i.value)||void 0===s?void 0:s.length)&&void 0!==e?e:0)<this.minCharacters)return;t.preventDefault(),n=this.listOpen?this.activeItem+1:this.activeItem,this.listOpen=!0}(u(t)||c(t))&&((n<0||!n)&&(n=0),n>=h.length&&(n=h.length-1),this.input.accessibleActiveDescendant=this.activeDescendantId,this.activeItem=n,this.scrollToActive())},this.processedItems=null,this.inputValue="",this.listOpen=!1,this.selectedItems=new Set,this.activeItem=void 0,this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtered"},fi:{heading:"Valitse:",item:"{name}",itemFiltered:"{name}, {hiddenItems} suodatettu"},sv:{heading:"Välj:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtrerade"}},this.accessibleLabels=m(this.accessibleLabelDefaults,p()),this.label="",this.caption="",this.theme="",this.force=!1,this.multiple=!1,this.items=void 0,this.formatter=t=>t&&t.name?t.name:"",this.value=void 0,this.minCharacters=0,this.openListOnClick=!1,this.filterType="startsWith"}popupMenuOpenHandler(){this.listOpen?this.listContainer.show():this.listContainer.hide()}activeItemHandler(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||0===t)?this.activeDescendantId:""}inputValueHandler(){setTimeout((async()=>{const t=await this.getSelectedItemLabel();""==this.input.value&&t&&(this.input.value="",this.value=void 0)}),200)}handleDocumentClick(t){t.composedPath().every((t=>t!==this.element))&&(this.updateInputText(!0),this.listOpen=!1)}async formatItem(t){return this.formatter(t)}processItems(){const t=[];if(this.processedItems=x(this.items),!Array.isArray(this.processedItems))return void console.error("DuetCombobox: Items should be an array");this.processedItems.length!==new Set([...this.processedItems]).size&&console.warn("DuetCombobox: Duplicate item values found in the list"),this.processedItems=this.processedItems.map(((i,s)=>("string"==typeof i&&(i={name:i,value:i}),i.id=void 0!==i.id?String(i.id):`${JSON.stringify(i.value)}-${i.name}`,t.includes(i.id)&&(console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index"),i.id=`${i.id}-${s}`),t.push(i.id),i)));const i=Array.from(this.selectedItems).filter((t=>!this.processedItems.find((i=>i.id===t))));i.length&&(this.multiple?i.forEach((t=>this.removeSelectedItem(t))):this.updateSelectedItem(i[0],!0))}processValue(){if(""!==this.value&&!this.value)return void this.selectedItems.clear();const t=Array.isArray(this.value)?this.value:[this.value],i=this.processedItems.filter((i=>t.includes(i.value))).map((t=>t.id));if(i.length!==this.selectedItems.size||!i.every((t=>this.selectedItems.has(t))))if(this.multiple)this.selectedItems.clear(),this.input.clearChips(),i.forEach((t=>this.addSelectedItem(t)));else{const t=this.processedItems.find((t=>t.value===this.value));this.updateSelectedItem(t.id)}}processListOpenChange(){this.openListOnClick&&(this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"),this.input.accessibleExpanded=this.listOpen?"true":"false"}componentWillLoad(){o(this)}connectedCallback(){this.items&&this.processItems();const t=g(this.element);t.length?this.input=t[0]:(this.input=document.createElement("duet-input"),this.input.label=this.label,this.input.caption=this.caption,this.input.expand=!0,this.element.prepend(this.input)),this.input.chips=this.multiple,this.input.addEventListener("duetChange",this.onInputChange),this.input.addEventListener("duetInput",this.onInputTyping),this.input.addEventListener("click",this.onInputClick),this.input.role="combobox",this.input.accessibleExpanded=this.listOpen?"true":"false",this.input.accessibleAutocomplete="list",this.input.accessibleControls=this.listBoxId,this.input.id=this.inputId,this.element.addEventListener("keydown",this.onKeyDown),v(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"}),this.processListOpenChange()}disconnectedCallback(){this.input.removeEventListener("duetChange",this.onInputChange),this.input.removeEventListener("click",this.onInputClick),this.element.removeEventListener("keydown",this.onKeyDown),this.resizeObserver.disconnect(),b(this)}componentDidLoad(){this.resizeObserver.observe(this.input),this.processValue()}shouldListBeFiltered(){var t;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue&&(null===(t=this.inputValue)||void 0===t?void 0:t.length)<this.minCharacters){const t=this.processedItems.find((t=>this.selectedItems.has(t.id)));return!(this.formatter(t).toLowerCase()===this.input.value.toLowerCase())}return!0}returnFilteredOrNonFiltered(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]}emitChangeEvent(t){const i=this.processedItems.find((i=>i.id===t));this.duetChange.emit({item:i,value:this.value,component:"duet-combobox"})}updateMultipleValue(){this.value=this.processedItems.filter((t=>this.selectedItems.has(t.id))).map((t=>t.value)),this.input.value="",this.updateChips(),this.input.setFocus()}addSelectedItem(t,i){this.selectedItems.has(t)||(this.selectedItems.add(t),this.updateMultipleValue(),i&&this.emitChangeEvent(t))}removeSelectedItem(t,i){this.selectedItems.has(t)&&(this.selectedItems.delete(t),this.updateMultipleValue(),i&&this.emitChangeEvent(t))}async updateSelectedItem(t,i){this.selectedItems.clear(),this.selectedItems.add(t),this.value=this.processedItems.find((i=>i.id===t)).value,i&&this.emitChangeEvent(this.value&&t),await this.updateInputText()}async updateChips(){const t=Array.from(this.selectedItems),i=await this.input.getChips();t.forEach((async t=>{const i=this.processedItems.find((i=>i.id===t)),s=await this.formatItem(i);if(!await this.input.hasChip({value:`${t}`,text:s})){const i=document.createElement("duet-chip");i.variation="input",i.role="option",i.value=`${t}`,i.textContent=s,i.addEventListener("duetRemove",(t=>{this.removeSelectedItem(t.detail.value,!0)})),this.input.addChip(i)}})),i.forEach((i=>{t.includes(i.value)||i.remove()}))}async getSelectedItemLabel(){const t=this.processedItems.find((t=>this.selectedItems.has(t.id)));return t?await this.formatItem(t):""}async updateInputText(t=!1){if(t&&this.multiple)this.input.value="";else{if(t&&this.force){const t=this.returnFilteredOrNonFiltered();!this.multiple&&this.listOpen&&1===t.length&&t[0].name.toLowerCase()===this.input.value.toLowerCase()&&this.updateSelectedItem(t[0].id,!0),this.input.value=0===this.selectedItems.size?"":await this.getSelectedItemLabel()}!t&&this.selectedItems.size>0&&(this.input.value="",this.input.value=await this.getSelectedItemLabel(),this.input.scrollLeft=this.input.scrollWidth,await this.input.setFocus())}}onListClick(t,i){return t.preventDefault(),t.stopPropagation(),this.multiple?this.addSelectedItem(i.id,!0):this.updateSelectedItem(i.id,!0),this.activeItem=void 0,this.listOpen=!1,this.listOpen}scrollToActive(){const t=document.getElementById(`${this.activeDescendantId}`);t&&t.scrollIntoView({behavior:"smooth",block:"center"})}formatLabel(t,i,s,e){return t&&void 0!==e?(s===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered).replace("{name}",String(t.name)).replace("{current}",String(i+1)).replace("{total}",String(s)).replace("{hiddenItems}",String(e-s)):""}getFilteredItems(){const t=this.processedItems.filter((t=>{var i,s,e,h,o;return(null===(i=String(t.value))||void 0===i?void 0:i.toLowerCase()[this.filterType](null===(s=this.inputValue)||void 0===s?void 0:s.toLowerCase()))||(null===(e=String(t.name))||void 0===e?void 0:e.toLowerCase()[this.filterType](null===(h=this.inputValue)||void 0===h?void 0:h.toLowerCase()))||this.formatter(t).toLowerCase()[this.filterType](null===(o=this.inputValue)||void 0===o?void 0:o.toLowerCase())||this.selectedItems.has(t.id)})).filter((t=>{let i=!0;return this.multiple&&this.selectedItems.has(t.id)&&(i=!1),i}));return this.sortFilteredItems(t)}sortFilteredItems(t){return t.length>0&&t.filter((t=>this.selectedItems.has(t.id))).forEach((i=>{const s=t.indexOf(i);t.splice(s,1),t.unshift(i)})),t}render(){const i=this.returnFilteredOrNonFiltered();return t(e,{class:{"duet-combobox":!0,[`duet-theme-${this.theme}`]:!0}},t("slot",null),t("div",null,t("duet-popup-menu",{id:this.listBoxId,controller:this.input,ref:t=>this.listContainer=t,accessibleRole:"listbox",allowVerticalFlip:!1},t("div",{class:"combobox-menu-container"},this.listOpen&&i.map(((s,e)=>t(y,{id:this.activeDescendantId,item:s,activeDescendant:e===this.activeItem,selected:this.selectedItems.has(s.id),search:this.inputValue,clickHandler:t=>this.onListClick(t,s),label:this.formatLabel(s,e,i.length,this.processedItems.length),isAndroidDevice:this.isAndroidDevice}))),t("duet-spacer",{size:"x-small"})))))}get element(){return h(this)}static get watchers(){return{listOpen:["popupMenuOpenHandler","processListOpenChange"],activeItem:["activeItemHandler"],inputValue:["inputValueHandler"],items:["processItems"],value:["processValue"]}}};S.style='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(8, 42, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(8, 42, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.combobox-menu-container.sc-duet-combobox{width:var(--popup-width);max-height:200px}';export{S as duet_combobox}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import"./p-f3e84569.js";import{c as e}from"./p-9c3c64b9.js";const t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"},n={fi:"€",en:"£",us:"$",sv:"€"},r=["fi","en","sv"],o="fi",a=()=>document.documentElement.lang?document.documentElement.lang.toLowerCase():o,s=(e=a())=>r.includes(e)?e:o,i=(e=a())=>s(e),c=e=>{const r={locale:t[e],money:n[e]};if(r.locale&&r.money)return r;throw new Error(`Locale for "${e}" not found`)},u=t=>{if("string"==typeof t)try{return JSON.parse(e(t))}catch(e){console.log("sanitizeString received a string, that didnt parse to json object",t,e)}return t},f=(e,t)=>{const n=u(e);return t?n[s(t)]:n[i()]},l=new Set,p=new WeakMap;new MutationObserver((e=>{let t=o;for(const n of e)if("attributes"===n.type&&"lang"===n.attributeName){t=n.oldValue;break}"false"!==document.documentElement.dataset.duetLangObserve&&l.forEach((e=>{e.language&&(e.language=i()),p.has(e)&&p.get(e).forEach((n=>{e[n.defaults]&&e[n.prop]===e[n.defaults][t]&&(e[n.prop]=f(e[n.defaults]))}))}))})).observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:!0});const d=(e,t)=>{l.add(e),t&&(Array.isArray(t)||(t=[t]),t.some((t=>!(t.prop in e)||!(t.defaults in e)))&&(console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties"),t=t.filter((t=>t.prop in e&&t.defaults in e))),p.set(e,t))},g=e=>{l.delete(e),p.delete(e)};export{i as a,c as b,d as c,g as d,f as g,u as s}
4
+ import"./p-b899b000.js";import{c as e}from"./p-9c3c64b9.js";const t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"},n={fi:"€",en:"£",us:"$",sv:"€"},r=["fi","en","sv"],o="fi",a=()=>document.documentElement.lang?document.documentElement.lang.toLowerCase():o,s=(e=a())=>r.includes(e)?e:o,i=(e=a())=>s(e),c=e=>{const r={locale:t[e],money:n[e]};if(r.locale&&r.money)return r;throw new Error(`Locale for "${e}" not found`)},u=t=>{if("string"==typeof t)try{return JSON.parse(e(t))}catch(e){console.log("sanitizeString received a string, that didnt parse to json object",t,e)}return t},f=(e,t)=>{const n=u(e);return t?n[s(t)]:n[i()]},l=new Set,p=new WeakMap;new MutationObserver((e=>{let t=o;for(const n of e)if("attributes"===n.type&&"lang"===n.attributeName){t=n.oldValue;break}"false"!==document.documentElement.dataset.duetLangObserve&&l.forEach((e=>{e.language&&(e.language=i()),p.has(e)&&p.get(e).forEach((n=>{e[n.defaults]&&e[n.prop]===e[n.defaults][t]&&(e[n.prop]=f(e[n.defaults]))}))}))})).observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:!0});const d=(e,t)=>{l.add(e),t&&(Array.isArray(t)||(t=[t]),t.some((t=>!(t.prop in e)||!(t.defaults in e)))&&(console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties"),t=t.filter((t=>t.prop in e&&t.defaults in e))),p.set(e,t))},b=e=>{l.delete(e),p.delete(e)};export{i as a,c as b,d as c,b as d,f as g,u as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-f4c1b623.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,a,n,o;return{setters:[function(e){t=e.r;i=e.h;a=e.H;n=e.g},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}';var r=s;var l=e("duet_slideout_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;return i(a,{key:"756d30871c5f34ca3520a5bdecf5269c6a0b4afb"},i("a",{key:"16dfc8d2bcae2379ab25ce353eda255e79d6ad6b",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.accessibleLabel},this.icon&&i("duet-icon",{key:"6551aa92fee9498b1fc2b4ebb18a89ff1c72e607",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"medium",margin:"none"}),i("div",{key:"f841f0d234ffca0d1dbaaae18e9de9f1de02de55",class:"label"},i("span",{key:"452f28fecf67c0da43ea807dd572d1db83e10ae6"},i("slot",{key:"896258d4f5fbcc5efa21d49cd867e0578302dbef"}),i("slot",{key:"6de4aa964201a5ffe68d7f894a499289db302527",name:"description"})),this.caret&&i("duet-icon",{key:"3b7c9337d8d76eb9bcc71fe7277e84599692bce4",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=r}}}));
4
+ System.register(["./p-7d32c253.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,a,n,o;return{setters:[function(e){t=e.r;i=e.h;a=e.H;n=e.g},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}';var r=s;var d=e("duet_slideout_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;return i(a,{key:"756d30871c5f34ca3520a5bdecf5269c6a0b4afb"},i("a",{key:"16dfc8d2bcae2379ab25ce353eda255e79d6ad6b",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.accessibleLabel},this.icon&&i("duet-icon",{key:"6551aa92fee9498b1fc2b4ebb18a89ff1c72e607",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"medium",margin:"none"}),i("div",{key:"f841f0d234ffca0d1dbaaae18e9de9f1de02de55",class:"label"},i("span",{key:"452f28fecf67c0da43ea807dd572d1db83e10ae6"},i("slot",{key:"896258d4f5fbcc5efa21d49cd867e0578302dbef"}),i("slot",{key:"6de4aa964201a5ffe68d7f894a499289db302527",name:"description"})),this.caret&&i("duet-icon",{key:"3b7c9337d8d76eb9bcc71fe7277e84599692bce4",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=r}}}));