@duetds/components 9.7.3 → 9.8.1

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 (726) hide show
  1. package/hydrate/index.js +167 -158
  2. package/lib/cjs/{a11y-utils-dff7b9d2.js → a11y-utils-097578a2.js} +1 -1
  3. package/lib/cjs/{app-globals-30a48744.js → app-globals-939b4e56.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-alert.cjs.entry.js +14 -11
  6. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-button_2.cjs.entry.js +8 -11
  11. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +9 -8
  13. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +47 -43
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  33. package/lib/cjs/duet-input_2.cjs.entry.js +6 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +5 -5
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +7 -6
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -9
  52. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -4
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +11 -8
  67. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  86. package/lib/cjs/duet.cjs.js +3 -3
  87. package/lib/cjs/{errorcodes.utils-653d3ef3.js → errorcodes.utils-8daf7a3e.js} +1 -1
  88. package/lib/cjs/{floating-ui.dom.esm-806e7c53.js → floating-ui.dom.esm-bdde8521.js} +50 -27
  89. package/lib/cjs/{focus-utils-147b9ceb.js → focus-utils-ea4a19c7.js} +1 -1
  90. package/lib/cjs/{index-a33450b5.js → index-fc6fff62.js} +2 -2
  91. package/lib/cjs/{language-utils-1e374ec6.js → language-utils-57e014ea.js} +1 -1
  92. package/lib/cjs/loader.cjs.js +3 -3
  93. package/lib/cjs/{slot-utils-9a6728d0.js → slot-utils-6c8e09f2.js} +1 -1
  94. package/lib/cjs/{themeable-component-996b489c.js → themeable-component-ad21363c.js} +3 -2
  95. package/lib/cjs/{tokens-202c2577.js → tokens-e6fda5ee.js} +0 -1
  96. package/lib/cjs/{watch-options-30a12622.js → watch-options-31527e7b.js} +0 -20
  97. package/lib/collection/common/themeable-component.js +3 -2
  98. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  99. package/lib/collection/components/duet-alert/duet-alert.js +11 -8
  100. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  101. package/lib/collection/components/duet-button/duet-button.js +10 -13
  102. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  103. package/lib/collection/components/duet-card/duet-card.js +3 -3
  104. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  105. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  106. package/lib/collection/components/duet-choice/duet-choice.js +4 -4
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  109. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  111. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  112. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  113. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  116. package/lib/collection/components/duet-grid/duet-grid.js +50 -49
  117. package/lib/collection/components/duet-header/duet-header.js +15 -15
  118. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  119. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  120. package/lib/collection/components/duet-input/duet-input.css +27 -0
  121. package/lib/collection/components/duet-input/duet-input.js +9 -8
  122. package/lib/collection/components/duet-label/duet-label.js +2 -2
  123. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  124. package/lib/collection/components/duet-link/duet-link.css +33 -11
  125. package/lib/collection/components/duet-link/duet-link.js +4 -3
  126. package/lib/collection/components/duet-list/duet-list.js +3 -3
  127. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  128. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  129. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  130. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  131. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  132. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  133. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  134. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  135. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  136. package/lib/collection/components/duet-phone-input/duet-phone-input.js +7 -6
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +9 -6
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  139. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  140. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  141. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  142. package/lib/collection/components/duet-select/duet-select.js +5 -5
  143. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  144. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  145. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  146. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  147. package/lib/collection/components/duet-status-icon/duet-status-icon.js +9 -6
  148. package/lib/collection/components/duet-step/duet-step.js +2 -2
  149. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  150. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  151. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  152. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  153. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +1 -1
  154. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  155. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  156. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  157. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  158. package/lib/dist-custom-elements/duet-alert.js +1 -1
  159. package/lib/dist-custom-elements/duet-badge.js +1 -1
  160. package/lib/dist-custom-elements/duet-banner.js +4 -4
  161. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  162. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  163. package/lib/dist-custom-elements/duet-button.js +1 -1
  164. package/lib/dist-custom-elements/duet-callout.js +3 -3
  165. package/lib/dist-custom-elements/duet-caption.js +1 -1
  166. package/lib/dist-custom-elements/duet-card.js +4 -4
  167. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  168. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  169. package/lib/dist-custom-elements/duet-chip.js +1 -1
  170. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  171. package/lib/dist-custom-elements/duet-choice.js +6 -6
  172. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  173. package/lib/dist-custom-elements/duet-combobox.js +16 -16
  174. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  175. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
  176. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  177. package/lib/dist-custom-elements/duet-divider.js +1 -1
  178. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  179. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  180. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  181. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  182. package/lib/dist-custom-elements/duet-footer.js +8 -8
  183. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  184. package/lib/dist-custom-elements/duet-grid.js +1 -1
  185. package/lib/dist-custom-elements/duet-header.js +10 -10
  186. package/lib/dist-custom-elements/duet-heading.js +1 -1
  187. package/lib/dist-custom-elements/duet-hero.js +10 -10
  188. package/lib/dist-custom-elements/duet-icon.js +1 -1
  189. package/lib/dist-custom-elements/duet-input.js +1 -1
  190. package/lib/dist-custom-elements/duet-label.js +1 -1
  191. package/lib/dist-custom-elements/duet-layout.js +1 -1
  192. package/lib/dist-custom-elements/duet-link.js +1 -1
  193. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  194. package/lib/dist-custom-elements/duet-list.js +1 -1
  195. package/lib/dist-custom-elements/duet-logo.js +1 -1
  196. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  197. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  198. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  199. package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
  200. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  201. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  202. package/lib/dist-custom-elements/duet-modal.js +9 -9
  203. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  204. package/lib/dist-custom-elements/duet-nav.js +2 -2
  205. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  206. package/lib/dist-custom-elements/duet-notification.js +3 -3
  207. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  208. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  209. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  210. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  211. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  212. package/lib/dist-custom-elements/duet-phone-input.js +20 -19
  213. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  214. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  215. package/lib/dist-custom-elements/duet-progress.js +1 -1
  216. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  217. package/lib/dist-custom-elements/duet-radio-group.js +10 -10
  218. package/lib/dist-custom-elements/duet-radio.js +2 -2
  219. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  220. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  221. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  222. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  223. package/lib/dist-custom-elements/duet-select.js +1 -1
  224. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  225. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  226. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  227. package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
  228. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
  229. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  230. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  231. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  232. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  233. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  234. package/lib/dist-custom-elements/duet-step.js +5 -5
  235. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  236. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  237. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  238. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  239. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  240. package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
  241. package/lib/dist-custom-elements/duet-tab-group.js +8 -8
  242. package/lib/dist-custom-elements/duet-tab.js +2 -2
  243. package/lib/dist-custom-elements/duet-table.js +1 -1
  244. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  245. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  246. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  247. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  248. package/lib/dist-custom-elements/duet-toolbar-item.js +3 -3
  249. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  250. package/lib/dist-custom-elements/duet-toolbar.js +2 -2
  251. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  252. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  253. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  254. package/lib/dist-custom-elements/duet-tray.js +4 -4
  255. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  256. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  257. package/lib/dist-custom-elements/duet-upload.js +21 -21
  258. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  259. package/lib/dist-custom-elements/index.js +1 -1
  260. package/lib/dist-custom-elements/{p-0bc0fae0.js → p-04667e10.js} +2 -2
  261. package/lib/dist-custom-elements/{p-b9038c11.js → p-04f23cbd.js} +2 -2
  262. package/lib/dist-custom-elements/{p-3ec4af1c.js → p-0686dc77.js} +6 -6
  263. package/lib/dist-custom-elements/{p-7f7bbfd6.js → p-096bf531.js} +12 -9
  264. package/lib/dist-custom-elements/{p-3618ad6e.js → p-09910065.js} +2 -2
  265. package/lib/dist-custom-elements/{p-85baafd3.js → p-11a0aa1e.js} +3 -3
  266. package/lib/dist-custom-elements/{p-6fd10f9f.js → p-137202b7.js} +2 -2
  267. package/lib/dist-custom-elements/{p-d22b3e1e.js → p-1dc954e8.js} +10 -13
  268. package/lib/dist-custom-elements/{p-2eed03e9.js → p-24c28a7d.js} +1 -1
  269. package/lib/dist-custom-elements/{p-aaa7a7bd.js → p-2e417433.js} +3 -2
  270. package/lib/dist-custom-elements/{p-df59ab0d.js → p-39b0cc41.js} +2 -2
  271. package/lib/dist-custom-elements/{p-3cbf5b86.js → p-3b006865.js} +2 -2
  272. package/lib/dist-custom-elements/{p-361ee963.js → p-3be17de6.js} +9 -9
  273. package/lib/dist-custom-elements/{p-5ad562f8.js → p-3e85c24b.js} +2 -2
  274. package/lib/dist-custom-elements/{p-9839f95a.js → p-3e8e8086.js} +5 -5
  275. package/lib/dist-custom-elements/{p-ad4e9593.js → p-43bc973b.js} +3 -3
  276. package/lib/dist-custom-elements/{p-de7c425c.js → p-488020a7.js} +2 -2
  277. package/lib/dist-custom-elements/{p-b8f0a57f.js → p-55e9908e.js} +11 -11
  278. package/lib/dist-custom-elements/{p-8bd8a028.js → p-5b8ccb94.js} +3 -3
  279. package/lib/dist-custom-elements/{p-d897581d.js → p-5df3d6fc.js} +2 -2
  280. package/lib/dist-custom-elements/{p-d40dea65.js → p-5f1b2f21.js} +1 -1
  281. package/lib/dist-custom-elements/{p-d3836623.js → p-63fe7ca7.js} +2 -2
  282. package/lib/dist-custom-elements/{p-16d626f7.js → p-667241b7.js} +2 -2
  283. package/lib/dist-custom-elements/{p-1ab17905.js → p-7a72ebb0.js} +2 -2
  284. package/lib/dist-custom-elements/{p-731b9d6d.js → p-834b2a63.js} +4 -4
  285. package/lib/dist-custom-elements/{p-7f801ab9.js → p-83a1e485.js} +7 -6
  286. package/lib/{esm/watch-options-e96ecd92.js → dist-custom-elements/p-8a5bd61a.js} +1 -20
  287. package/lib/dist-custom-elements/{p-e1e94579.js → p-8ba73d37.js} +3 -3
  288. package/lib/dist-custom-elements/{p-071f0e0e.js → p-93b6c77d.js} +3 -3
  289. package/lib/dist-custom-elements/{p-da8bfcfd.js → p-96a35539.js} +2 -2
  290. package/lib/dist-custom-elements/{p-e2ba7871.js → p-9c0c0583.js} +3 -3
  291. package/lib/dist-custom-elements/{p-43c6c2c7.js → p-a250051a.js} +47 -44
  292. package/lib/dist-custom-elements/{p-f161c655.js → p-a79cf453.js} +13 -12
  293. package/lib/dist-custom-elements/{p-49865b1b.js → p-ae395997.js} +18 -15
  294. package/lib/dist-custom-elements/{p-6c0e7ef6.js → p-b9ff419d.js} +7 -7
  295. package/lib/dist-custom-elements/{p-2bba1f11.js → p-c02edb53.js} +20 -17
  296. package/lib/dist-custom-elements/{p-5b3417af.js → p-cbcfee87.js} +3 -3
  297. package/lib/dist-custom-elements/{p-0e2efa7c.js → p-d32bd233.js} +1 -1
  298. package/lib/dist-custom-elements/{p-2912cf42.js → p-d385e3d5.js} +1 -1
  299. package/lib/dist-custom-elements/{p-0f369092.js → p-e6686c28.js} +2 -2
  300. package/lib/dist-custom-elements/{p-503b4e9a.js → p-ec5e2453.js} +2 -2
  301. package/lib/dist-custom-elements/{p-9f8ce24f.js → p-f851b808.js} +2 -2
  302. package/lib/dist-custom-elements/{p-78310bb8.js → p-fd6463e9.js} +57 -34
  303. package/lib/duet/duet.esm.js +1 -1
  304. package/lib/duet/duet.js +1 -1
  305. package/lib/duet/{p-32134eef.system.entry.js → p-00dcfb01.system.entry.js} +1 -1
  306. package/lib/duet/{p-832dc848.system.entry.js → p-04817234.system.entry.js} +1 -1
  307. package/lib/duet/{p-a79e89f7.system.entry.js → p-06d3fe65.system.entry.js} +1 -1
  308. package/lib/duet/{p-2b9f6f73.entry.js → p-0a3a04ef.entry.js} +1 -1
  309. package/lib/duet/{p-684afcde.system.entry.js → p-0bfc0d18.system.entry.js} +1 -1
  310. package/lib/duet/{p-060cdb54.system.js → p-0d66d8aa.system.js} +1 -1
  311. package/lib/duet/{p-5f93edb6.system.entry.js → p-0eb08814.system.entry.js} +1 -1
  312. package/lib/duet/p-10868102.entry.js +4 -0
  313. package/lib/duet/p-10c15de8.js +4 -0
  314. package/lib/duet/{p-7eff9ec4.system.entry.js → p-137c741a.system.entry.js} +1 -1
  315. package/lib/duet/{p-5b4fc043.entry.js → p-14ba3f91.entry.js} +1 -1
  316. package/lib/duet/{p-99917fe3.entry.js → p-18fa97ec.entry.js} +1 -1
  317. package/lib/duet/{p-c9fda76d.system.entry.js → p-1c6c54d7.system.entry.js} +1 -1
  318. package/lib/duet/{p-fceb4498.entry.js → p-1d0fe824.entry.js} +1 -1
  319. package/lib/duet/{p-a24875fa.entry.js → p-1df62080.entry.js} +1 -1
  320. package/lib/duet/{p-97a065d3.js → p-1e507e83.js} +1 -1
  321. package/lib/duet/{p-d8aa6c84.system.entry.js → p-1e8f0c99.system.entry.js} +1 -1
  322. package/lib/duet/{p-38cdebd0.entry.js → p-1ef17cee.entry.js} +1 -1
  323. package/lib/duet/{p-cc05f17e.entry.js → p-21573559.entry.js} +1 -1
  324. package/lib/duet/p-24f81ad8.entry.js +4 -0
  325. package/lib/duet/{p-263edbd6.entry.js → p-26a24272.entry.js} +1 -1
  326. package/lib/duet/{p-bbe6727f.system.entry.js → p-280e5fbc.system.entry.js} +1 -1
  327. package/lib/duet/{p-0e82b604.system.entry.js → p-2b21b9f9.system.entry.js} +1 -1
  328. package/lib/duet/p-2e417433.js +4 -0
  329. package/lib/duet/{p-883d13d2.system.entry.js → p-2f5ae557.system.entry.js} +1 -1
  330. package/lib/duet/p-2ff1d200.entry.js +4 -0
  331. package/lib/duet/{p-31dcdb86.entry.js → p-3095009a.entry.js} +1 -1
  332. package/lib/duet/{p-5a9b782c.entry.js → p-32207489.entry.js} +1 -1
  333. package/lib/duet/{p-91c5a1c8.system.entry.js → p-3447a0d5.system.entry.js} +1 -1
  334. package/lib/duet/{p-b4ad5c7e.system.entry.js → p-389f0a82.system.entry.js} +1 -1
  335. package/lib/duet/{p-cdf0bc59.entry.js → p-38c651af.entry.js} +1 -1
  336. package/lib/duet/{p-d786e65c.entry.js → p-390d28f8.entry.js} +1 -1
  337. package/lib/duet/{p-23b7e9b5.system.entry.js → p-392eff23.system.entry.js} +2 -2
  338. package/lib/duet/{p-102dfbe4.entry.js → p-399daeeb.entry.js} +1 -1
  339. package/lib/duet/{p-de868afd.entry.js → p-3c0c4647.entry.js} +1 -1
  340. package/lib/duet/{p-341c73ed.system.entry.js → p-3d7e8a4c.system.entry.js} +1 -1
  341. package/lib/duet/{p-ae3420e6.system.js → p-3ea20a06.system.js} +1 -1
  342. package/lib/duet/{p-1f9989a6.system.entry.js → p-40a9a9ec.system.entry.js} +1 -1
  343. package/lib/duet/{p-682277c7.system.entry.js → p-424991f9.system.entry.js} +1 -1
  344. package/lib/duet/p-43c0bdf6.system.entry.js +4 -0
  345. package/lib/duet/{p-59443b10.system.entry.js → p-4467e702.system.entry.js} +1 -1
  346. package/lib/duet/{p-5c6f4f5b.entry.js → p-44dbafbc.entry.js} +1 -1
  347. package/lib/duet/{p-28df1178.system.entry.js → p-464ba021.system.entry.js} +1 -1
  348. package/lib/duet/p-46779515.entry.js +4 -0
  349. package/lib/duet/{p-28b04b91.entry.js → p-46862b49.entry.js} +1 -1
  350. package/lib/duet/{p-0cb26302.entry.js → p-46d11c81.entry.js} +1 -1
  351. package/lib/duet/{p-ca52c41a.system.entry.js → p-47639ffb.system.entry.js} +1 -1
  352. package/lib/duet/p-479dbb1a.entry.js +4 -0
  353. package/lib/duet/{p-733a386f.system.entry.js → p-480818a9.system.entry.js} +1 -1
  354. package/lib/duet/{p-a48872f4.system.entry.js → p-4c945e8d.system.entry.js} +1 -1
  355. package/lib/duet/p-4ce3657e.js +5 -0
  356. package/lib/duet/{p-dfc069a4.system.entry.js → p-4d4ee898.system.entry.js} +1 -1
  357. package/lib/duet/{p-edc9b555.entry.js → p-4e8caaa1.entry.js} +1 -1
  358. package/lib/duet/p-4f748c8f.system.entry.js +4 -0
  359. package/lib/duet/{p-b28b6056.entry.js → p-54647826.entry.js} +1 -1
  360. package/lib/duet/{p-65a74e17.system.entry.js → p-56359195.system.entry.js} +2 -2
  361. package/lib/duet/p-56a9d89a.js +4 -0
  362. package/lib/duet/{p-281b2b5d.system.entry.js → p-59e27cad.system.entry.js} +1 -1
  363. package/lib/duet/{p-0ed55531.entry.js → p-5a05ac1c.entry.js} +1 -1
  364. package/lib/duet/{p-c9cab8c2.system.entry.js → p-5c40f796.system.entry.js} +1 -1
  365. package/lib/duet/{p-c6c6c25a.entry.js → p-5ce67557.entry.js} +1 -1
  366. package/lib/duet/{p-e1c09777.system.entry.js → p-5fc41341.system.entry.js} +1 -1
  367. package/lib/duet/{p-6430224c.system.entry.js → p-609ddf66.system.entry.js} +1 -1
  368. package/lib/duet/{p-1ce03a3a.entry.js → p-6127a46f.entry.js} +1 -1
  369. package/lib/duet/{p-3a302ff4.entry.js → p-62197a6b.entry.js} +1 -1
  370. package/lib/duet/p-6229bcd8.system.js +4 -0
  371. package/lib/duet/{p-fd68976a.entry.js → p-64de9f31.entry.js} +1 -1
  372. package/lib/duet/{p-a7f744e6.entry.js → p-65a7b2e7.entry.js} +1 -1
  373. package/lib/duet/{p-746c4bff.system.entry.js → p-667b336e.system.entry.js} +1 -1
  374. package/lib/duet/p-66fa5726.system.js +4 -0
  375. package/lib/duet/{p-9e498391.system.entry.js → p-67928d56.system.entry.js} +1 -1
  376. package/lib/duet/{p-14709e0a.system.entry.js → p-67d95d6b.system.entry.js} +2 -2
  377. package/lib/duet/{p-c18f8690.system.entry.js → p-6b4c3ca3.system.entry.js} +1 -1
  378. package/lib/duet/{p-6409bcfb.system.js → p-6b51c48f.system.js} +1 -1
  379. package/lib/duet/{p-0883306d.entry.js → p-6bd2ee7c.entry.js} +1 -1
  380. package/lib/duet/{p-d56f03f8.system.entry.js → p-6e0bf246.system.entry.js} +1 -1
  381. package/lib/duet/{p-2a0a2d22.entry.js → p-6e7593cc.entry.js} +1 -1
  382. package/lib/duet/{p-23b80b3e.entry.js → p-6efad73a.entry.js} +1 -1
  383. package/lib/duet/{p-f55bc4f2.system.entry.js → p-70597f4c.system.entry.js} +1 -1
  384. package/lib/duet/{p-8d6996cb.system.entry.js → p-72481e45.system.entry.js} +1 -1
  385. package/lib/duet/{p-ec6119b3.system.entry.js → p-72e3606a.system.entry.js} +1 -1
  386. package/lib/duet/p-7610d693.entry.js +4 -0
  387. package/lib/duet/{p-b8a679d4.system.entry.js → p-77a0c991.system.entry.js} +1 -1
  388. package/lib/duet/{p-6bf1d93b.entry.js → p-7a2affb3.entry.js} +1 -1
  389. package/lib/duet/{p-97dcfc10.entry.js → p-7a5289a2.entry.js} +1 -1
  390. package/lib/duet/p-7ec3d3e3.entry.js +4 -0
  391. package/lib/duet/{p-2c780825.system.entry.js → p-8001d81f.system.entry.js} +1 -1
  392. package/lib/duet/{p-c9edc2f5.entry.js → p-80982954.entry.js} +1 -1
  393. package/lib/duet/{p-4ac51cbc.entry.js → p-81f0049b.entry.js} +1 -1
  394. package/lib/duet/p-832472d6.system.entry.js +4 -0
  395. package/lib/duet/{p-c5f069a2.system.entry.js → p-83331645.system.entry.js} +1 -1
  396. package/lib/duet/p-83d919a0.system.entry.js +4 -0
  397. package/lib/duet/{p-c6440b7a.system.entry.js → p-843b6ffb.system.entry.js} +1 -1
  398. package/lib/duet/{p-9b22764a.system.entry.js → p-877d4d36.system.entry.js} +1 -1
  399. package/lib/duet/p-8a5bd61a.js +4 -0
  400. package/lib/duet/{p-e191bcd7.entry.js → p-8a95f91f.entry.js} +1 -1
  401. package/lib/duet/{p-39748f5b.system.entry.js → p-8e4cdc90.system.entry.js} +1 -1
  402. package/lib/duet/{p-96a2950c.system.entry.js → p-90a3d2a3.system.entry.js} +1 -1
  403. package/lib/duet/{p-d0346501.entry.js → p-93063ada.entry.js} +1 -1
  404. package/lib/duet/{p-917794fe.system.entry.js → p-952d883d.system.entry.js} +1 -1
  405. package/lib/duet/{p-036cf847.entry.js → p-9753e113.entry.js} +1 -1
  406. package/lib/duet/{p-d2998633.system.entry.js → p-9801b273.system.entry.js} +1 -1
  407. package/lib/duet/{p-4fe2417b.system.entry.js → p-989e7207.system.entry.js} +1 -1
  408. package/lib/duet/{p-b73a17a4.entry.js → p-99b95f5b.entry.js} +1 -1
  409. package/lib/duet/{p-ad44b252.system.entry.js → p-99f20857.system.entry.js} +1 -1
  410. package/lib/duet/{p-2b88e2a6.entry.js → p-9bcd668f.entry.js} +1 -1
  411. package/lib/duet/p-9d336f77.system.js +4 -0
  412. package/lib/duet/p-9e453fe1.entry.js +4 -0
  413. package/lib/duet/{p-9f289df9.entry.js → p-9ec8dbd7.entry.js} +1 -1
  414. package/lib/duet/p-a30e2463.entry.js +4 -0
  415. package/lib/duet/{p-58df7fa5.system.entry.js → p-a5db972f.system.entry.js} +1 -1
  416. package/lib/duet/{p-561cea14.entry.js → p-a6350c1a.entry.js} +1 -1
  417. package/lib/duet/{p-3ff1b416.entry.js → p-a6bea7ba.entry.js} +1 -1
  418. package/lib/duet/{p-e10bc642.system.entry.js → p-a6cc3e96.system.entry.js} +1 -1
  419. package/lib/duet/{p-cb395cd0.entry.js → p-a78172c5.entry.js} +1 -1
  420. package/lib/duet/{p-c1974cab.system.entry.js → p-a79a1f51.system.entry.js} +1 -1
  421. package/lib/duet/{p-7bc341d3.entry.js → p-ab06a9a9.entry.js} +1 -1
  422. package/lib/duet/{p-534b8454.js → p-ac4e4fce.js} +1 -1
  423. package/lib/duet/{p-21d87f83.entry.js → p-ad30ebd0.entry.js} +1 -1
  424. package/lib/duet/{p-61d393a4.entry.js → p-ad64f0f9.entry.js} +1 -1
  425. package/lib/duet/{p-06f4c377.system.entry.js → p-ae24eb7a.system.entry.js} +1 -1
  426. package/lib/duet/{p-02367465.entry.js → p-ae76d6f4.entry.js} +1 -1
  427. package/lib/duet/{p-7a37a7d4.system.entry.js → p-af8baa25.system.entry.js} +1 -1
  428. package/lib/duet/{p-c594b223.js → p-b076d1e9.js} +1 -1
  429. package/lib/duet/p-b18e0e24.entry.js +4 -0
  430. package/lib/duet/p-b24ea804.system.js +4 -0
  431. package/lib/duet/p-b3d4537f.entry.js +4 -0
  432. package/lib/duet/{p-b3f35171.entry.js → p-b518aa35.entry.js} +1 -1
  433. package/lib/duet/{p-6bff5f9f.system.entry.js → p-b717cd3c.system.entry.js} +1 -1
  434. package/lib/duet/{p-11ee216a.entry.js → p-b8b3d2bd.entry.js} +1 -1
  435. package/lib/duet/{p-c4eda159.system.entry.js → p-b8b78b10.system.entry.js} +1 -1
  436. package/lib/duet/{p-e8388ca9.system.entry.js → p-b9bdc17f.system.entry.js} +1 -1
  437. package/lib/duet/{p-afed10df.entry.js → p-bc33cf30.entry.js} +1 -1
  438. package/lib/duet/{p-49fb1e7a.system.entry.js → p-bd942603.system.entry.js} +1 -1
  439. package/lib/duet/{p-3b6dd272.system.entry.js → p-bea64888.system.entry.js} +1 -1
  440. package/lib/duet/{p-ae790ae1.entry.js → p-c03ab48d.entry.js} +1 -1
  441. package/lib/duet/{p-ed9a284a.entry.js → p-c0f912cc.entry.js} +1 -1
  442. package/lib/duet/{p-e27caa72.system.js → p-c167fa9c.system.js} +1 -1
  443. package/lib/duet/{p-3e6d0c30.system.entry.js → p-c29e36d2.system.entry.js} +1 -1
  444. package/lib/duet/p-c2cc4081.system.entry.js +4 -0
  445. package/lib/duet/{p-e9b67de4.entry.js → p-c418caff.entry.js} +1 -1
  446. package/lib/duet/{p-03ac358d.system.entry.js → p-c4806b54.system.entry.js} +1 -1
  447. package/lib/duet/p-c4fcc1fa.entry.js +4 -0
  448. package/lib/duet/{p-2bb9d33b.system.entry.js → p-c5d5ecc9.system.entry.js} +1 -1
  449. package/lib/duet/p-c5da89d2.entry.js +4 -0
  450. package/lib/duet/{p-3499470e.entry.js → p-c91a0af8.entry.js} +1 -1
  451. package/lib/duet/p-c9906be7.system.js +5 -0
  452. package/lib/duet/p-cbcf289e.entry.js +4 -0
  453. package/lib/duet/{p-71b5840a.entry.js → p-cf7c4d7a.entry.js} +1 -1
  454. package/lib/duet/{p-6b4d54d0.system.entry.js → p-d0ecd074.system.entry.js} +1 -1
  455. package/lib/duet/{p-0e2efa7c.js → p-d32bd233.js} +1 -1
  456. package/lib/duet/{p-b1f363ec.system.js → p-d41d25b8.system.js} +1 -1
  457. package/lib/duet/{p-98c3503e.entry.js → p-d42fdaeb.entry.js} +1 -1
  458. package/lib/duet/{p-5fefa37e.system.entry.js → p-d444335a.system.entry.js} +1 -1
  459. package/lib/duet/{p-3cb26df9.system.entry.js → p-d6a10b17.system.entry.js} +1 -1
  460. package/lib/duet/{p-cb9180df.entry.js → p-d712ab71.entry.js} +1 -1
  461. package/lib/duet/p-d7f543fb.js +4 -0
  462. package/lib/duet/p-d8861775.system.js +4 -0
  463. package/lib/duet/{p-ebdebc5b.entry.js → p-d891a3d5.entry.js} +1 -1
  464. package/lib/duet/{p-5fc533ae.entry.js → p-d937f8a0.entry.js} +1 -1
  465. package/lib/duet/p-d997b605.system.js +4 -0
  466. package/lib/duet/{p-f830361c.entry.js → p-daf28095.entry.js} +1 -1
  467. package/lib/duet/{p-2f5fcc3a.system.entry.js → p-dc03d7c1.system.entry.js} +1 -1
  468. package/lib/duet/{p-9e410004.system.entry.js → p-dca60359.system.entry.js} +1 -1
  469. package/lib/duet/{p-0461e7e9.system.entry.js → p-dd11e9d1.system.entry.js} +1 -1
  470. package/lib/duet/{p-ee0e4a1f.system.entry.js → p-dfb49ef9.system.entry.js} +1 -1
  471. package/lib/duet/{p-eab16154.entry.js → p-dfbe0fb4.entry.js} +1 -1
  472. package/lib/duet/{p-35df4480.system.entry.js → p-e0a33b1b.system.entry.js} +1 -1
  473. package/lib/duet/{p-632353fd.system.entry.js → p-e134a4fb.system.entry.js} +1 -1
  474. package/lib/duet/{p-1d05a412.system.entry.js → p-e1a10b0a.system.entry.js} +1 -1
  475. package/lib/duet/{p-feea3395.system.entry.js → p-e4810a48.system.entry.js} +1 -1
  476. package/lib/duet/{p-e282d081.entry.js → p-e4b1161d.entry.js} +1 -1
  477. package/lib/duet/{p-2b71cb1a.system.entry.js → p-e607f70f.system.entry.js} +1 -1
  478. package/lib/duet/{p-e51b7a02.entry.js → p-e84be897.entry.js} +1 -1
  479. package/lib/duet/{p-c57b845b.entry.js → p-e93e2173.entry.js} +1 -1
  480. package/lib/duet/{p-18a96271.entry.js → p-e9727644.entry.js} +1 -1
  481. package/lib/duet/{p-3c1e1b2d.system.entry.js → p-eae140c0.system.entry.js} +1 -1
  482. package/lib/duet/{p-7559dcad.entry.js → p-eb247c69.entry.js} +1 -1
  483. package/lib/duet/{p-dbec9fa6.system.entry.js → p-eca1a4e7.system.entry.js} +2 -2
  484. package/lib/duet/{p-10524349.entry.js → p-ecca6f8b.entry.js} +1 -1
  485. package/lib/duet/p-eef0fb8e.js +4 -0
  486. package/lib/duet/p-f31077cb.entry.js +4 -0
  487. package/lib/duet/{p-02222785.entry.js → p-f379651a.entry.js} +1 -1
  488. package/lib/duet/{p-fb626606.system.entry.js → p-f55ab6b2.system.entry.js} +1 -1
  489. package/lib/duet/{p-4347d3c9.entry.js → p-f7e90f95.entry.js} +1 -1
  490. package/lib/duet/{p-93541f56.system.entry.js → p-fabffe99.system.entry.js} +1 -1
  491. package/lib/duet/{p-d6f6125e.system.entry.js → p-fe9466e8.system.entry.js} +1 -1
  492. package/lib/esm/{a11y-utils-1b009bcf.js → a11y-utils-2a2d96fc.js} +1 -1
  493. package/lib/esm/{app-globals-b9758fdf.js → app-globals-a715e37b.js} +1 -1
  494. package/lib/esm/duet-action-button.entry.js +3 -3
  495. package/lib/esm/duet-alert.entry.js +14 -11
  496. package/lib/esm/duet-badge.entry.js +2 -2
  497. package/lib/esm/duet-banner.entry.js +3 -3
  498. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  499. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  500. package/lib/esm/duet-button_2.entry.js +8 -11
  501. package/lib/esm/duet-callout.entry.js +3 -3
  502. package/lib/esm/duet-caption_4.entry.js +9 -8
  503. package/lib/esm/duet-card.entry.js +3 -3
  504. package/lib/esm/duet-checkbox.entry.js +2 -2
  505. package/lib/esm/duet-checkmark.entry.js +2 -2
  506. package/lib/esm/duet-chip.entry.js +3 -3
  507. package/lib/esm/duet-choice_2.entry.js +5 -5
  508. package/lib/esm/duet-collapsible.entry.js +4 -4
  509. package/lib/esm/duet-combobox.entry.js +4 -4
  510. package/lib/esm/duet-contact-card.entry.js +3 -3
  511. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  512. package/lib/esm/duet-date-picker.entry.js +5 -5
  513. package/lib/esm/duet-divider_2.entry.js +2 -2
  514. package/lib/esm/duet-editable-table_3.entry.js +4 -4
  515. package/lib/esm/duet-empty-state.entry.js +2 -2
  516. package/lib/esm/duet-fieldset.entry.js +3 -3
  517. package/lib/esm/duet-file-chooser.entry.js +2 -2
  518. package/lib/esm/duet-footer.entry.js +4 -4
  519. package/lib/esm/duet-grid_2.entry.js +47 -43
  520. package/lib/esm/duet-header_2.entry.js +4 -4
  521. package/lib/esm/duet-hero.entry.js +4 -4
  522. package/lib/esm/duet-icon.entry.js +2 -2
  523. package/lib/esm/duet-input_2.entry.js +6 -5
  524. package/lib/esm/duet-layout.entry.js +2 -2
  525. package/lib/esm/duet-list_2.entry.js +3 -3
  526. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  527. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  528. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  529. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  530. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  531. package/lib/esm/duet-menu-bar.entry.js +4 -4
  532. package/lib/esm/duet-modal.entry.js +5 -5
  533. package/lib/esm/duet-multiselect.entry.js +4 -4
  534. package/lib/esm/duet-nav.entry.js +2 -2
  535. package/lib/esm/duet-notification_2.entry.js +3 -3
  536. package/lib/esm/duet-number-input.entry.js +4 -4
  537. package/lib/esm/duet-overlay.entry.js +2 -2
  538. package/lib/esm/duet-page-heading.entry.js +2 -2
  539. package/lib/esm/duet-pagination_2.entry.js +3 -3
  540. package/lib/esm/duet-phone-input.entry.js +7 -6
  541. package/lib/esm/duet-popup-menu_2.entry.js +12 -9
  542. package/lib/esm/duet-progress.entry.js +3 -3
  543. package/lib/esm/duet-promo-card.entry.js +3 -3
  544. package/lib/esm/duet-radio_2.entry.js +4 -4
  545. package/lib/esm/duet-range-slider.entry.js +2 -2
  546. package/lib/esm/duet-scrollable_3.entry.js +4 -4
  547. package/lib/esm/duet-section-layout.entry.js +1 -1
  548. package/lib/esm/duet-select.entry.js +3 -3
  549. package/lib/esm/duet-shaped-image.entry.js +2 -2
  550. package/lib/esm/duet-show-more.entry.js +4 -4
  551. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  552. package/lib/esm/duet-slideout-link.entry.js +5 -5
  553. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  554. package/lib/esm/duet-slideout-panel.entry.js +5 -5
  555. package/lib/esm/duet-slideout.entry.js +5 -5
  556. package/lib/esm/duet-status-icon.entry.js +11 -8
  557. package/lib/esm/duet-step_2.entry.js +2 -2
  558. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  559. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  560. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  561. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  562. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  563. package/lib/esm/duet-textarea.entry.js +4 -4
  564. package/lib/esm/duet-toggle.entry.js +2 -2
  565. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  566. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  567. package/lib/esm/duet-toolbar-item.entry.js +5 -5
  568. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  569. package/lib/esm/duet-toolbar.entry.js +2 -2
  570. package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
  571. package/lib/esm/duet-tooltip.entry.js +5 -5
  572. package/lib/esm/duet-tray.entry.js +3 -3
  573. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  574. package/lib/esm/duet-upload-item.entry.js +4 -4
  575. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  576. package/lib/esm/duet.js +4 -4
  577. package/lib/esm/{errorcodes.utils-fe38d5a8.js → errorcodes.utils-4706f52b.js} +1 -1
  578. package/lib/esm/{floating-ui.dom.esm-ebc91b33.js → floating-ui.dom.esm-ef361ca5.js} +50 -27
  579. package/lib/esm/{focus-utils-81b0913e.js → focus-utils-24b4b611.js} +1 -1
  580. package/lib/esm/{index-7fc39d5e.js → index-34ea6605.js} +2 -2
  581. package/lib/esm/{language-utils-bbed41c3.js → language-utils-b9cfda88.js} +1 -1
  582. package/lib/esm/loader.js +4 -4
  583. package/lib/esm/{slot-utils-b5cb1606.js → slot-utils-c2720dae.js} +1 -1
  584. package/lib/esm/{themeable-component-860041c5.js → themeable-component-2575bd2f.js} +3 -2
  585. package/lib/esm/{tokens-5ce17832.js → tokens-85fb95d1.js} +1 -1
  586. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-e22542d2.js} +1 -20
  587. package/lib/esm-es5/{a11y-utils-1b009bcf.js → a11y-utils-2a2d96fc.js} +1 -1
  588. package/lib/esm-es5/{app-globals-b9758fdf.js → app-globals-a715e37b.js} +1 -1
  589. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  590. package/lib/esm-es5/duet-alert.entry.js +1 -1
  591. package/lib/esm-es5/duet-badge.entry.js +1 -1
  592. package/lib/esm-es5/duet-banner.entry.js +1 -1
  593. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  594. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  595. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  596. package/lib/esm-es5/duet-callout.entry.js +1 -1
  597. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  598. package/lib/esm-es5/duet-card.entry.js +1 -1
  599. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  600. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  601. package/lib/esm-es5/duet-chip.entry.js +1 -1
  602. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  603. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  604. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  605. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  606. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  607. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  608. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  609. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  610. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  611. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  612. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  613. package/lib/esm-es5/duet-footer.entry.js +1 -1
  614. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  615. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  616. package/lib/esm-es5/duet-hero.entry.js +1 -1
  617. package/lib/esm-es5/duet-icon.entry.js +1 -1
  618. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-layout.entry.js +1 -1
  620. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  621. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  622. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  623. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  624. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  625. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  627. package/lib/esm-es5/duet-modal.entry.js +1 -1
  628. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  629. package/lib/esm-es5/duet-nav.entry.js +1 -1
  630. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  632. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  633. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  634. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  635. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  636. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  637. package/lib/esm-es5/duet-progress.entry.js +1 -1
  638. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  639. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  640. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  641. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  642. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  643. package/lib/esm-es5/duet-select.entry.js +1 -1
  644. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  645. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  646. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  647. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  648. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  649. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  651. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  652. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  653. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  654. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  655. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  656. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  658. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  659. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  660. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  661. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  662. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  663. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  664. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  665. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  666. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  667. package/lib/esm-es5/duet-tray.entry.js +1 -1
  668. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  669. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  670. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  671. package/lib/esm-es5/duet.js +1 -1
  672. package/lib/esm-es5/{errorcodes.utils-fe38d5a8.js → errorcodes.utils-4706f52b.js} +1 -1
  673. package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +4 -0
  674. package/lib/esm-es5/{focus-utils-81b0913e.js → focus-utils-24b4b611.js} +1 -1
  675. package/lib/esm-es5/index-34ea6605.js +4 -0
  676. package/lib/esm-es5/{language-utils-bbed41c3.js → language-utils-b9cfda88.js} +1 -1
  677. package/lib/esm-es5/loader.js +2 -2
  678. package/lib/esm-es5/{slot-utils-b5cb1606.js → slot-utils-c2720dae.js} +1 -1
  679. package/lib/esm-es5/themeable-component-2575bd2f.js +4 -0
  680. package/lib/esm-es5/{tokens-5ce17832.js → tokens-85fb95d1.js} +1 -1
  681. package/lib/esm-es5/watch-options-e22542d2.js +4 -0
  682. package/lib/types/common-types.d.ts +1 -1
  683. package/lib/types/components/duet-grid/duet-grid.d.ts +4 -4
  684. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
  685. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -1
  686. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  687. package/lib/types/components.d.ts +2 -2
  688. package/package.json +4 -4
  689. package/lib/duet/p-0dc9089b.system.js +0 -4
  690. package/lib/duet/p-0e753feb.entry.js +0 -4
  691. package/lib/duet/p-1844f05a.entry.js +0 -4
  692. package/lib/duet/p-195ff1d3.entry.js +0 -4
  693. package/lib/duet/p-1bf70e2e.system.js +0 -4
  694. package/lib/duet/p-1fbf259e.js +0 -4
  695. package/lib/duet/p-2b197ef4.entry.js +0 -4
  696. package/lib/duet/p-35374149.entry.js +0 -4
  697. package/lib/duet/p-3c8f2480.entry.js +0 -4
  698. package/lib/duet/p-50e9e9ab.entry.js +0 -4
  699. package/lib/duet/p-56df20b9.js +0 -5
  700. package/lib/duet/p-6040e724.system.js +0 -4
  701. package/lib/duet/p-6312466b.system.js +0 -5
  702. package/lib/duet/p-63ea9155.entry.js +0 -4
  703. package/lib/duet/p-6a5ea5bc.entry.js +0 -4
  704. package/lib/duet/p-74ca330b.entry.js +0 -4
  705. package/lib/duet/p-796281c2.js +0 -4
  706. package/lib/duet/p-7d8a2628.js +0 -4
  707. package/lib/duet/p-7fa80fa6.system.entry.js +0 -4
  708. package/lib/duet/p-81287261.js +0 -4
  709. package/lib/duet/p-93fb1172.system.entry.js +0 -4
  710. package/lib/duet/p-97992dea.system.entry.js +0 -4
  711. package/lib/duet/p-a0109bd5.entry.js +0 -4
  712. package/lib/duet/p-a2ed4290.entry.js +0 -4
  713. package/lib/duet/p-aaa7a7bd.js +0 -4
  714. package/lib/duet/p-afad5fd3.system.js +0 -4
  715. package/lib/duet/p-b8119989.entry.js +0 -4
  716. package/lib/duet/p-c185dfa0.js +0 -4
  717. package/lib/duet/p-d73fbc78.system.entry.js +0 -4
  718. package/lib/duet/p-d7aa5d3b.system.entry.js +0 -4
  719. package/lib/duet/p-da373b15.entry.js +0 -4
  720. package/lib/duet/p-e1b912a0.entry.js +0 -4
  721. package/lib/duet/p-e216bea4.system.js +0 -4
  722. package/lib/duet/p-e9be3542.system.js +0 -4
  723. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  724. package/lib/esm-es5/index-7fc39d5e.js +0 -4
  725. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  726. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,a,r){function o(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function i(e){try{d(r.next(e))}catch(e){n(e)}}function c(e){try{d(r["throw"](e))}catch(e){n(e)}}function d(e){e.done?a(e.value):o(e.value).then(i,c)}d((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,o,n,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return d([e,t])}}function d(c){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,c[0]&&(a=0)),a)try{if(r=1,o&&(n=c[0]&2?o["return"]:c[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,c[1])).done)return n;if(o=0,n)c=[c[0]&2,n.value];switch(c[0]){case 0:case 1:n=c;break;case 4:a.label++;return{value:c[1],done:false};case 5:a.label++;o=c[1];c=[0];continue;case 7:c=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){a.label=c[1];break}if(c[0]===6&&a.label<n[1]){a.label=n[1];n=c;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(c);break}if(n[2])a.ops.pop();a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e];o=0}finally{r=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-6312466b.system.js","./p-e216bea4.system.js","./p-6040e724.system.js","./p-9508ee67.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,a,r,o,n,i,c,d;return{setters:[function(e){t=e.r;a=e.h;r=e.H;o=e.g},function(e){n=e.i},function(e){i=e.h;c=e.c},function(e){d=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;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)}';var f=s;var p=e("duet_promo_card",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}e.prototype.componentWillLoad=function(){n(this);this.hasPreHeadingSlot=i(this.element,"pre-heading");this.hasHeadingSlot=i(this.element,"heading");this.hasDescriptionSlot=i(this.element,"description");this.hasActionSlot=i(this.element,"action");c(this.element,"heading","span");c(this.element,"description","span")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.url&&this.aOrDivElement){this.aOrDivElement.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=d(this.backgroundColor,this.theme);var o={backgroundColor:t?t:"none"};var n=this.url?"a":"div";return a(r,{key:"b73cdd4f3dcd554706a13aeaa706543b681529ec",class:{"duet-m-0":this.margin==="none"}},a("aside",{key:"76f17c86f64af2cea4a60ce9882f8e76bc475ab6",class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:o},a(n,{key:"db345f3d904fc72e3f25618c91ab3f30a0b9e4c7",href:this.url,class:"content-wrapper",ref:function(t){return e.aOrDivElement=t}},a("img",{key:"ac5645fb64cf5872e0735ce3d97939e37fb10f0a",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"c82dc662a938ca4849089a048c57caa8efc54531",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"cd9ce432bdf6f8ffaa63796a258837e9136e1ea4",class:"pre-heading"},a("slot",{key:"257b9408b4489f1cc79f503473a8d458a3cb5456",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"1e93652845c4b65d0ab67a0e05889304064fd7b3",class:"heading"},a("duet-heading",{key:"9e40a46f24aadcee4d43fc36167ed434c2cc8e79",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"d230dbaecd853de2b4b58be416d720048b6ea43b"},a("slot",{key:"1f99efac6f9a6ebdf6e72066b50d3fe647dfc3f1",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"e61cf4abe59d58e15cefb7f7ff7aa573922154b0",class:"description"},a("duet-paragraph",{key:"9594eba29974b0176a2fc986df802c8a5afb43f1",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"e800d7bb777802912b16ad4f5c76bb7f9df8c9fe"},a("slot",{key:"709d27fb9d198c57c8ca8abbbaaedac0790483a8",name:"description"})))),this.hasActionSlot&&a("div",{key:"2a72594c99d4142f7b1f453df4e24ce794833370",class:"action"},a("slot",{key:"07f8ccc33355d4fc7be72c64fd758363f76f609e",name:"action"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());p.style=f}}}));
4
+ */System.register(["./p-c9906be7.system.js","./p-6229bcd8.system.js","./p-b24ea804.system.js","./p-9508ee67.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,a,r,o,n,i,c,d;return{setters:[function(e){t=e.r;a=e.h;r=e.H;o=e.g},function(e){n=e.i},function(e){i=e.h;c=e.c},function(e){d=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;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)}';var f=s;var p=e("duet_promo_card",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}e.prototype.componentWillLoad=function(){n(this);this.hasPreHeadingSlot=i(this.element,"pre-heading");this.hasHeadingSlot=i(this.element,"heading");this.hasDescriptionSlot=i(this.element,"description");this.hasActionSlot=i(this.element,"action");c(this.element,"heading","span");c(this.element,"description","span")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.url&&this.aOrDivElement){this.aOrDivElement.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=d(this.backgroundColor,this.theme);var o={backgroundColor:t?t:"none"};var n=this.url?"a":"div";return a(r,{key:"b73cdd4f3dcd554706a13aeaa706543b681529ec",class:{"duet-m-0":this.margin==="none"}},a("aside",{key:"76f17c86f64af2cea4a60ce9882f8e76bc475ab6",class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:o},a(n,{key:"db345f3d904fc72e3f25618c91ab3f30a0b9e4c7",href:this.url,class:"content-wrapper",ref:function(t){return e.aOrDivElement=t}},a("img",{key:"ac5645fb64cf5872e0735ce3d97939e37fb10f0a",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"c82dc662a938ca4849089a048c57caa8efc54531",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"cd9ce432bdf6f8ffaa63796a258837e9136e1ea4",class:"pre-heading"},a("slot",{key:"257b9408b4489f1cc79f503473a8d458a3cb5456",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"1e93652845c4b65d0ab67a0e05889304064fd7b3",class:"heading"},a("duet-heading",{key:"9e40a46f24aadcee4d43fc36167ed434c2cc8e79",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"d230dbaecd853de2b4b58be416d720048b6ea43b"},a("slot",{key:"1f99efac6f9a6ebdf6e72066b50d3fe647dfc3f1",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"e61cf4abe59d58e15cefb7f7ff7aa573922154b0",class:"description"},a("duet-paragraph",{key:"9594eba29974b0176a2fc986df802c8a5afb43f1",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"e800d7bb777802912b16ad4f5c76bb7f9df8c9fe"},a("slot",{key:"709d27fb9d198c57c8ca8abbbaaedac0790483a8",name:"description"})))),this.hasActionSlot&&a("div",{key:"2a72594c99d4142f7b1f453df4e24ce794833370",class:"action"},a("slot",{key:"07f8ccc33355d4fc7be72c64fd758363f76f609e",name:"action"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());p.style=f}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as i,H as s,g as e}from"./p-4ce3657e.js";import{m as o,a as h}from"./p-d32bd233.js";import{c as a,f as n,s as l,a as p,b as r}from"./p-d7f543fb.js";import{i as d}from"./p-2e417433.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a45e3f8b.js";import{a as u,g as b,c as f,d as v}from"./p-1e507e83.js";import"./p-9c3c64b9.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(h.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1})),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await a(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),p({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1,this.negative=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=r(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{g as duet_tooltip}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import"./p-4ce3657e.js";const o=()=>{globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{o as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-6312466b.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,o,n,a,i,r,s,d;return{setters:[function(e){t=e.r;o=e.c;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){s=e.s;d=e.u}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var u=c;var b=e("duet_cookie_consent",function(){function e(e){var n=this;t(this,e);this.duetCookieConsent=o(this,"duetCookieConsent",7);this.handleClick=function(e){e.preventDefault();n.duetCookieConsent.emit({component:"duet-cookie-consent"})};this.accessibleLabel="Hyväksyn evästeiden käytön";this.theme=""}e.prototype.handleFocusIn=function(e){var t=e.composedPath();var o=t[0];if(o!==this.element){this.element.classList.add("descendant-focused")}};e.prototype.handleFocusOut=function(){this.element.classList.remove("descendant-focused")};e.prototype.componentWillLoad=function(){r(this)};e.prototype.connectedCallback=function(){s(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){return n(a,{key:"db3ddd8a0a2407a2e384bde79d7127ef256fb6b3",tabindex:"0",class:{"duet-theme-turva":this.theme==="turva"}},n("div",{key:"1276595c32686fa653ce214b91bb84d99227a5a8",class:{"duet-cookie-consent":true,"duet-theme-turva":this.theme==="turva"}},n("div",{key:"5a0ca08d5d0367f808b47aa8407a8dd19bf4027e",class:"duet-cookie-consent-content"},n("div",{key:"e448fd48efdeaa9f910feecf6351e70568881717",class:"expand"},n("slot",{key:"ead0e808039184f468a7f0947673d0067b7a7884"})),n("duet-spacer",{key:"5153035c18f03ee55385cc55596d311f333e6f0b",size:"large",direction:"horizontal"}),n("div",{key:"4cc34ed5e5ad66f7fe5df3feddfde240006acbd7"},n("duet-button",{key:"852c21cf5ff585330d3c323b785bb284a0a097e1",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());b.style=u}}}));
4
+ System.register(["./p-c9906be7.system.js","./p-6229bcd8.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,o,n,a,i,r,s,c;return{setters:[function(e){t=e.r;o=e.c;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){s=e.s;c=e.u}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var u=d;var b=e("duet_cookie_consent",function(){function e(e){var n=this;t(this,e);this.duetCookieConsent=o(this,"duetCookieConsent",7);this.handleClick=function(e){e.preventDefault();n.duetCookieConsent.emit({component:"duet-cookie-consent"})};this.accessibleLabel="Hyväksyn evästeiden käytön";this.theme=""}e.prototype.handleFocusIn=function(e){var t=e.composedPath();var o=t[0];if(o!==this.element){this.element.classList.add("descendant-focused")}};e.prototype.handleFocusOut=function(){this.element.classList.remove("descendant-focused")};e.prototype.componentWillLoad=function(){r(this)};e.prototype.connectedCallback=function(){s(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.render=function(){return n(a,{key:"476f5d2cbdca75ceaf88e2f974a1163ad7f0184f",tabindex:"-1",class:{"duet-theme-turva":this.theme==="turva"}},n("div",{key:"9d26bb861fe4beb008d4f7a7c53002942ec93dff",class:{"duet-cookie-consent":true,"duet-theme-turva":this.theme==="turva"}},n("div",{key:"f5906f93ada11a35ee25438441c92c52ed8b8242",class:"duet-cookie-consent-content"},n("div",{key:"93deeef6b190845355a67151301c9087bfad00f1",class:"expand"},n("slot",{key:"8e3df378550301e37c91a6552cf66fdf807862f4"})),n("duet-spacer",{key:"4885fb754af9146111969530157bfba03e0e828a",size:"large",direction:"horizontal"}),n("div",{key:"e1d0ccaac71e1fbfda8d5cc8789c1faed1e45180"},n("duet-button",{key:"63efb1ffe5afabcde47e60eee02915da395eb83c",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());b.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as i}from"./p-56df20b9.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a45e3f8b.js";import{a as n,c as d,d as c,g as b}from"./p-97a065d3.js";import"./p-9c3c64b9.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"fb8525d8da1761cf7ec289bf2ebcdab006edcbaa",role:"listitem"},a("div",{key:"a2a3cf5e15c5ccb962c0da35ae1c4b9efab68590",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"bbf4f84cae4467ae42f85af283947d23f8649a64",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),a("a",{key:"e89ba01440a8d69033de4710b1c943c211c07e5e",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"93d11f8f8eb831623d0157b205ed0b0745804ccb",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"fe74c144a1765dd1fe1de6d463892fa7470651fe",size:"x-small",direction:"horizontal"})],a("slot",{key:"5ad471b0521af2799e4ac7a5934d02e77e6be8d5"}))))}get element(){return i(this)}};l.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
4
+ import{r as e,h as a,H as t,g as i}from"./p-4ce3657e.js";import{i as r}from"./p-2e417433.js";import{s,u as o}from"./p-a45e3f8b.js";import{a as n,c as d,d as c,g as b}from"./p-1e507e83.js";import"./p-9c3c64b9.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"fb8525d8da1761cf7ec289bf2ebcdab006edcbaa",role:"listitem"},a("div",{key:"a2a3cf5e15c5ccb962c0da35ae1c4b9efab68590",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"bbf4f84cae4467ae42f85af283947d23f8649a64",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),a("a",{key:"e89ba01440a8d69033de4710b1c943c211c07e5e",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"93d11f8f8eb831623d0157b205ed0b0745804ccb",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"fe74c144a1765dd1fe1de6d463892fa7470651fe",size:"x-small",direction:"horizontal"})],a("slot",{key:"5ad471b0521af2799e4ac7a5934d02e77e6be8d5"}))))}get element(){return i(this)}};l.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as s,H as i,g as e}from"./p-56df20b9.js";const r=class{constructor(s){t(this,s),this.replacePlaceHolders=t=>{const s=t=>t>1?`${t} ${this.statusMessageLabel.files}`:`${t} ${this.statusMessageLabel.file}`;return t.replace("{filesUploaded}",s(this.valid)).replace("{filesInProgress}",s(this.inprogress)).replace("{filesTotal}",s(this.total)).replace("{filesWithErrors}",s(this.invalid))},this.getStatusMessage=()=>{const{done:t,inProgress:s,doneWithErrors:i,inProgressWithErrors:e}=this.statusMessageLabel,r=this.invalid>0,h=this.inprogress>0,a=this.valid+this.invalid===this.total&&!h;this.valid!==this.total||h||r?this.inprogress>0&&r?this.statusMessage=this.replacePlaceHolders(e):h?this.statusMessage=this.replacePlaceHolders(s):a&&(this.statusMessage=this.replacePlaceHolders(i)):this.statusMessage=this.replacePlaceHolders(t)},this.statusMessage=null,this.statusMessageLabel=null,this.accessibleAriaLive="polite",this.valid=void 0,this.total=void 0,this.invalid=void 0,this.inprogress=void 0}watchHandler(t,s){t!==s&&this.getStatusMessage()}render(){return s(i,{key:"6ce7e291bf1692677f53e496f138d73afb4456db",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},s("duet-visually-hidden",{key:"0a0d3e4ebde361712ebe6ccb7a00aa70947e7110"},this.statusMessage))}get element(){return e(this)}static get watchers(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}}};export{r as duet_upload_aria_status}
4
+ import{r as t,h as s,H as i,g as e}from"./p-4ce3657e.js";const r=class{constructor(s){t(this,s),this.replacePlaceHolders=t=>{const s=t=>t>1?`${t} ${this.statusMessageLabel.files}`:`${t} ${this.statusMessageLabel.file}`;return t.replace("{filesUploaded}",s(this.valid)).replace("{filesInProgress}",s(this.inprogress)).replace("{filesTotal}",s(this.total)).replace("{filesWithErrors}",s(this.invalid))},this.getStatusMessage=()=>{const{done:t,inProgress:s,doneWithErrors:i,inProgressWithErrors:e}=this.statusMessageLabel,r=this.invalid>0,h=this.inprogress>0,a=this.valid+this.invalid===this.total&&!h;this.valid!==this.total||h||r?this.inprogress>0&&r?this.statusMessage=this.replacePlaceHolders(e):h?this.statusMessage=this.replacePlaceHolders(s):a&&(this.statusMessage=this.replacePlaceHolders(i)):this.statusMessage=this.replacePlaceHolders(t)},this.statusMessage=null,this.statusMessageLabel=null,this.accessibleAriaLive="polite",this.valid=void 0,this.total=void 0,this.invalid=void 0,this.inprogress=void 0}watchHandler(t,s){t!==s&&this.getStatusMessage()}render(){return s(i,{key:"6ce7e291bf1692677f53e496f138d73afb4456db",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},s("duet-visually-hidden",{key:"0a0d3e4ebde361712ebe6ccb7a00aa70947e7110"},this.statusMessage))}get element(){return e(this)}static get watchers(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}}};export{r as duet_upload_aria_status}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,o,r){function n(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,a){function i(t){try{d(r.next(t))}catch(t){a(t)}}function u(t){try{d(r["throw"](t))}catch(t){a(t)}}function d(t){t.done?o(t.value):n(t.value).then(i,u)}d((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(e){return d([t,e])}}function d(u){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,u[0]&&(o=0)),o)try{if(r=1,n&&(a=u[0]&2?n["return"]:u[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;if(n=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:o.label++;return{value:u[1],done:false};case 5:o.label++;n=u[1];u=[0];continue;case 7:u=o.ops.pop();o.trys.pop();continue;default:if(!(a=o.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1];a=u;break}if(a&&o.label<a[2]){o.label=a[2];o.ops.push(u);break}if(a[2])o.ops.pop();o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t];n=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-6312466b.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js"],(function(t){"use strict";var e,o,r,n,a,i;return{setters:[function(t){e=t.r;o=t.h;r=t.H;n=t.g},function(t){a=t.i},function(t){i=t.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(8, 42, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(8, 42, 77);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)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(255, 185, 190)}';var d=u;var b=t("duet_toolbar_dropdown",function(){function t(t){var o=this;e(this,t);this.onClick=function(){o.open=!o.open};this.theme="";this.variation="default";this.accessibleLabel=undefined;this.active=false;this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var o=t.composedPath().every((function(t){return t!==e.element}));if(o){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.handleEscape=function(t){if(i(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n="right";if(this.element&&this.element.parentElement){n=this.element.parentElement.getAttribute("slot")==="left"?"right":"left"}var a=this.variation==="negative"?"negative":"white";return o(r,{key:"8b511c738a8995c5a277b0614abeead7e2c64643",role:"listitem"},o("div",{key:"923faa507cfc2540840b56073010bec405c42e43",class:(t={"duet-toolbar-dropdown":true,"duet-theme-turva":this.theme==="turva"},t[n]=true,t[a]=true,t)},o("button",{key:"52a182352b7b15c90547a0f6c9f410b80945dffc",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{key:"d071a84e8a5177e0d83000985acf64d710ce9b97",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("span",{key:"8a377bd964f4d7e8d843ede3783696ee083c711e",class:"label"},o("slot",{key:"21a44500f70a23ec00e000847361dc0cd01cd47e",name:"label"}),o("duet-icon",{key:"0d9fce9714df81c477058c8f9c4a167e5bbc8f87",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),o("div",{key:"f1e87be086a8065e38316c0b1acb3df977b3f245",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},o("slot",{key:"f431ba4cbd6d6bbc66603726a04b9f2f1a041735"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());b.style=d}}}));
4
+ */System.register(["./p-c9906be7.system.js","./p-6229bcd8.system.js","./p-752fa0fc.system.js"],(function(t){"use strict";var e,o,r,n,a,i;return{setters:[function(t){e=t.r;o=t.h;r=t.H;n=t.g},function(t){a=t.i},function(t){i=t.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(8, 42, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(8, 42, 77);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)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(255, 185, 190)}';var d=u;var b=t("duet_toolbar_dropdown",function(){function t(t){var o=this;e(this,t);this.onClick=function(){o.open=!o.open};this.theme="";this.variation="default";this.accessibleLabel=undefined;this.active=false;this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var o=t.composedPath().every((function(t){return t!==e.element}));if(o){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.handleEscape=function(t){if(i(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n="right";if(this.element&&this.element.parentElement){n=this.element.parentElement.getAttribute("slot")==="left"?"right":"left"}var a=this.variation==="negative"?"negative":"white";return o(r,{key:"8b511c738a8995c5a277b0614abeead7e2c64643",role:"listitem"},o("div",{key:"923faa507cfc2540840b56073010bec405c42e43",class:(t={"duet-toolbar-dropdown":true,"duet-theme-turva":this.theme==="turva"},t[n]=true,t[a]=true,t)},o("button",{key:"52a182352b7b15c90547a0f6c9f410b80945dffc",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{key:"d071a84e8a5177e0d83000985acf64d710ce9b97",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("span",{key:"8a377bd964f4d7e8d843ede3783696ee083c711e",class:"label"},o("slot",{key:"21a44500f70a23ec00e000847361dc0cd01cd47e",name:"label"}),o("duet-icon",{key:"0d9fce9714df81c477058c8f9c4a167e5bbc8f87",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),o("div",{key:"f1e87be086a8065e38316c0b1acb3df977b3f245",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},o("slot",{key:"f431ba4cbd6d6bbc66603726a04b9f2f1a041735"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());b.style=d}}}));
@@ -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 r,g as t}from"./p-56df20b9.js";import{i as n}from"./p-aaa7a7bd.js";const d=class{constructor(a){e(this,a),this.theme="",this.icon="messaging-question",this.size="medium"}componentWillLoad(){n(this)}render(){return a(r,{key:"d9379ed3e41dcc39f9fdd2e7f79e8b9c56e1043d"},a("div",{key:"6294425e1d8ad0ce15267d9e3173683af71e7c7b",class:{"duet-empty-state":!0,"duet-theme-turva":"turva"===this.theme,"duet-is-small":"small"===this.size}},a("duet-icon",{key:"8d899d8c9828c5b711b2ef343f47eee033465db2",color:"currentColor",name:this.icon,size:"small"===this.size?"large":"x-large"}),a("div",{key:"2787d3e6c2ffc6d20d09a14271dd39f10e37fb93"},a("slot",{key:"b155444859f180ff4772185c09bc055820c11585"}))))}get element(){return t(this)}};d.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}";export{d as duet_empty_state}
4
+ import{r as e,h as a,H as r,g as t}from"./p-4ce3657e.js";import{i as n}from"./p-2e417433.js";const o=class{constructor(a){e(this,a),this.theme="",this.icon="messaging-question",this.size="medium"}componentWillLoad(){n(this)}render(){return a(r,{key:"d9379ed3e41dcc39f9fdd2e7f79e8b9c56e1043d"},a("div",{key:"6294425e1d8ad0ce15267d9e3173683af71e7c7b",class:{"duet-empty-state":!0,"duet-theme-turva":"turva"===this.theme,"duet-is-small":"small"===this.size}},a("duet-icon",{key:"8d899d8c9828c5b711b2ef343f47eee033465db2",color:"currentColor",name:this.icon,size:"small"===this.size?"large":"x-large"}),a("div",{key:"2787d3e6c2ffc6d20d09a14271dd39f10e37fb93"},a("slot",{key:"b155444859f180ff4772185c09bc055820c11585"}))))}get element(){return t(this)}};o.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}";export{o as duet_empty_state}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as o,h as n,F as i,H as a,g as t}from"./p-56df20b9.js";import{i as s}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{s as C,u as d}from"./p-a45e3f8b.js";import{a as l,g as u,c as h,d as p}from"./p-97a065d3.js";import{c as v}from"./p-534b8454.js";import"./p-9c3c64b9.js";const y={AF:{isoCode:"AF",en:"Afghanistan",fi:"Afganistan",sv:"Afghanistan",telephoneCountryCode:"93"},AL:{isoCode:"AL",en:"Albania",fi:"Albania",sv:"Albanien",telephoneCountryCode:"355"},DZ:{isoCode:"DZ",en:"Algeria",fi:"Algeria",sv:"Algeriet",telephoneCountryCode:"213"},AS:{isoCode:"AS",en:"American Samoa",fi:"Amerikan Samoa",sv:"Amerikanska Samoa",telephoneCountryCode:"1"},AD:{isoCode:"AD",en:"Andorra",fi:"Andorra",sv:"Andorra",telephoneCountryCode:"376"},AO:{isoCode:"AO",en:"Angola",fi:"Angola",sv:"Angola",telephoneCountryCode:"244"},AI:{isoCode:"AI",en:"Anguilla",fi:"Anguilla",sv:"Anguilla",telephoneCountryCode:"1"},AQ:{isoCode:"AQ",en:"Antarctica",fi:"Antarktis",sv:"Antarktis"},AG:{isoCode:"AG",en:"Antigua and Barbuda",fi:"Antigua ja Barbuda",sv:"Antigua och Barbuda",telephoneCountryCode:"1"},AR:{isoCode:"AR",en:"Argentina",fi:"Argentiina",sv:"Argentina",telephoneCountryCode:"54"},AM:{isoCode:"AM",en:"Armenia",fi:"Armenia",sv:"Armenien",telephoneCountryCode:"374"},AW:{isoCode:"AW",en:"Aruba",fi:"Aruba",sv:"Aruba",telephoneCountryCode:"297"},AU:{isoCode:"AU",en:"Australia",fi:"Australia",sv:"Australien",telephoneCountryCode:"61"},AT:{isoCode:"AT",en:"Austria",fi:"Itävalta",sv:"Österrike",telephoneCountryCode:"43"},AZ:{isoCode:"AZ",en:"Azerbaijan",fi:"Azerbaidžan",sv:"Azerbajdzjan",telephoneCountryCode:"994"},BS:{isoCode:"BS",en:"Bahamas",fi:"Bahama",sv:"Bahamas",telephoneCountryCode:"1"},BH:{isoCode:"BH",en:"Bahrain",fi:"Bahrain",sv:"Bahrain",telephoneCountryCode:"973"},BD:{isoCode:"BD",en:"Bangladesh",fi:"Bangladesh",sv:"Bangladesh",telephoneCountryCode:"880"},BB:{isoCode:"BB",en:"Barbados",fi:"Barbados",sv:"Barbados",telephoneCountryCode:"1"},BY:{isoCode:"BY",en:"Belarus",fi:"Valko-Venäjä",sv:"Belarus",telephoneCountryCode:"375"},BE:{isoCode:"BE",en:"Belgium",fi:"Belgia",sv:"Belgien",telephoneCountryCode:"32"},BZ:{isoCode:"BZ",en:"Belize",fi:"Belize",sv:"Belize",telephoneCountryCode:"501"},BJ:{isoCode:"BJ",en:"Benin",fi:"Benin",sv:"Benin",telephoneCountryCode:"229"},BM:{isoCode:"BM",en:"Bermuda",fi:"Bermuda",sv:"Bermuda",telephoneCountryCode:"1"},BT:{isoCode:"BT",en:"Bhutan",fi:"Bhutan",sv:"Bhutan",telephoneCountryCode:"975"},BO:{isoCode:"BO",en:"Bolivia",fi:"Bolivia",sv:"Bolivia",telephoneCountryCode:"591"},BA:{isoCode:"BA",en:"Bosnia and Herzegovina",fi:"Bosnia ja Hertsegovina",sv:"Bosnien och Hercegovina",telephoneCountryCode:"387"},BW:{isoCode:"BW",en:"Botswana",fi:"Botswana",sv:"Botswana",telephoneCountryCode:"267"},BV:{isoCode:"BV",en:"Bouvet Island",fi:"Bouvet’nsaari",sv:"Bouvetön"},BR:{isoCode:"BR",en:"Brazil",fi:"Brasilia",sv:"Brasilien",telephoneCountryCode:"55"},IO:{isoCode:"IO",en:"British Indian Ocean Territory",fi:"Brittiläinen Intian valtameren alue",sv:"Brittiska territoriet i Indiska Oceanen",telephoneCountryCode:"246"},BN:{isoCode:"BN",en:"Brunei Darussalam",fi:"Brunei",sv:"Brunei",telephoneCountryCode:"673"},BG:{isoCode:"BG",en:"Bulgaria",fi:"Bulgaria",sv:"Bulgarien",telephoneCountryCode:"359"},BF:{isoCode:"BF",en:"Burkina Faso",fi:"Burkina Faso",sv:"Burkina Faso",telephoneCountryCode:"226"},BI:{isoCode:"BI",en:"Burundi",fi:"Burundi",sv:"Burundi",telephoneCountryCode:"257"},KH:{isoCode:"KH",en:"Cambodia",fi:"Kambodža",sv:"Kambodja",telephoneCountryCode:"855"},CM:{isoCode:"CM",en:"Cameroon",fi:"Kamerun",sv:"Kamerun",telephoneCountryCode:"237"},CA:{isoCode:"CA",en:"Canada",fi:"Kanada",sv:"Kanada",telephoneCountryCode:"1"},CV:{isoCode:"CV",en:"Cape Verde",fi:"Kap Verde",sv:"Kap Verde",telephoneCountryCode:"238"},KY:{isoCode:"KY",en:"Cayman Islands",fi:"Caymansaaret",sv:"Caymanöarna",telephoneCountryCode:"1"},CF:{isoCode:"CF",en:"Central African Republic",fi:"Keski-Afrikan tasavalta",sv:"Centralafrikanska republiken",telephoneCountryCode:"236"},TD:{isoCode:"TD",en:"Chad",fi:"Tšad",sv:"Tchad",telephoneCountryCode:"235"},CL:{isoCode:"CL",en:"Chile",fi:"Chile",sv:"Chile",telephoneCountryCode:"56"},CN:{isoCode:"CN",en:"People's Republic of China",fi:"Kiina",sv:"Kina",telephoneCountryCode:"86"},CX:{isoCode:"CX",en:"Christmas Island",fi:"Joulusaari",sv:"Julön",telephoneCountryCode:"61"},CC:{isoCode:"CC",en:"Cocos (Keeling) Islands",fi:"Kookossaaret",sv:"Kokosöarna",telephoneCountryCode:"61"},CO:{isoCode:"CO",en:"Colombia",fi:"Kolumbia",sv:"Colombia",telephoneCountryCode:"57"},KM:{isoCode:"KM",en:"Comoros",fi:"Komorit",sv:"Komorerna",telephoneCountryCode:"269"},CG:{isoCode:"CG",en:"Republic of the Congo",fi:"Kongon tasavalta",sv:"Kongo-Brazzaville",telephoneCountryCode:"242"},CD:{isoCode:"CD",en:"Democratic Republic of the Congo",fi:"Kongon demokraattinen tasavalta",sv:"Demokratiska republiken Kongo",telephoneCountryCode:"243"},CK:{isoCode:"CK",en:"Cook Islands",fi:"Cookinsaaret",sv:"Cooköarna",telephoneCountryCode:"682"},CR:{isoCode:"CR",en:"Costa Rica",fi:"Costa Rica",sv:"Costa Rica",telephoneCountryCode:"506"},CI:{isoCode:"CI",en:"Cote D'Ivoire",fi:"Norsunluurannikko",sv:"Elfenbenskusten",telephoneCountryCode:"225"},HR:{isoCode:"HR",en:"Croatia",fi:"Kroatia",sv:"Kroatien",telephoneCountryCode:"385"},CU:{isoCode:"CU",en:"Cuba",fi:"Kuuba",sv:"Kuba",telephoneCountryCode:"53"},CY:{isoCode:"CY",en:"Cyprus",fi:"Kypros",sv:"Cypern",telephoneCountryCode:"357"},CZ:{isoCode:"CZ",en:"Czech Republic",fi:"Tšekki",sv:"Tjeckien",telephoneCountryCode:"420"},DK:{isoCode:"DK",en:"Denmark",fi:"Tanska",sv:"Danmark",telephoneCountryCode:"45"},DJ:{isoCode:"DJ",en:"Djibouti",fi:"Djibouti",sv:"Djibouti",telephoneCountryCode:"253"},DM:{isoCode:"DM",en:"Dominica",fi:"Dominica",sv:"Dominica",telephoneCountryCode:"1"},DO:{isoCode:"DO",en:"Dominican Republic",fi:"Dominikaaninen tasavalta",sv:"Dominikanska republiken",telephoneCountryCode:"1"},EC:{isoCode:"EC",en:"Ecuador",fi:"Ecuador",sv:"Ecuador",telephoneCountryCode:"593"},EG:{isoCode:"EG",en:"Egypt",fi:"Egypti",sv:"Egypten",telephoneCountryCode:"20"},SV:{isoCode:"SV",en:"El Salvador",fi:"El Salvador",sv:"El Salvador",telephoneCountryCode:"503"},GQ:{isoCode:"GQ",en:"Equatorial Guinea",fi:"Päiväntasaajan Guinea",sv:"Ekvatorialguinea",telephoneCountryCode:"240"},ER:{isoCode:"ER",en:"Eritrea",fi:"Eritrea",sv:"Eritrea",telephoneCountryCode:"291"},EE:{isoCode:"EE",en:"Estonia",fi:"Viro",sv:"Estland",telephoneCountryCode:"372"},ET:{isoCode:"ET",en:"Ethiopia",fi:"Etiopia",sv:"Etiopien",telephoneCountryCode:"251"},FK:{isoCode:"FK",en:"Falkland Islands (Malvinas)",fi:"Falklandinsaaret",sv:"Falklandsöarna",telephoneCountryCode:"500"},FO:{isoCode:"FO",en:"Faroe Islands",fi:"Färsaaret",sv:"Färöarna",telephoneCountryCode:"298"},FJ:{isoCode:"FJ",en:"Fiji",fi:"Fidži",sv:"Fiji",telephoneCountryCode:"679"},FI:{isoCode:"FI",en:"Finland",fi:"Suomi",sv:"Finland",telephoneCountryCode:"358"},FR:{isoCode:"FR",en:"France",fi:"Ranska",sv:"Frankrike",telephoneCountryCode:"33"},GF:{isoCode:"GF",en:"French Guiana",fi:"Ranskan Guayana",sv:"Franska Guyana",telephoneCountryCode:"594"},PF:{isoCode:"PF",en:"French Polynesia",fi:"Ranskan Polynesia",sv:"Franska Polynesien",telephoneCountryCode:"689"},TF:{isoCode:"TF",en:"French Southern Territories",fi:"Ranskan eteläiset alueet",sv:"Franska södra territorierna"},GA:{isoCode:"GA",en:"Gabon",fi:"Gabon",sv:"Gabon",telephoneCountryCode:"241"},GM:{isoCode:"GM",en:"Republic of The Gambia",fi:"Gambia",sv:"Gambia",telephoneCountryCode:"220"},GE:{isoCode:"GE",en:"Georgia",fi:"Georgia",sv:"Georgien",telephoneCountryCode:"995"},DE:{isoCode:"DE",en:"Germany",fi:"Saksa",sv:"Tyskland",telephoneCountryCode:"49"},GH:{isoCode:"GH",en:"Ghana",fi:"Ghana",sv:"Ghana",telephoneCountryCode:"233"},GI:{isoCode:"GI",en:"Gibraltar",fi:"Gibraltar",sv:"Gibraltar",telephoneCountryCode:"350"},GR:{isoCode:"GR",en:"Greece",fi:"Kreikka",sv:"Grekland",telephoneCountryCode:"30"},GL:{isoCode:"GL",en:"Greenland",fi:"Grönlanti",sv:"Grönland",telephoneCountryCode:"299"},GD:{isoCode:"GD",en:"Grenada",fi:"Grenada",sv:"Grenada",telephoneCountryCode:"1"},GP:{isoCode:"GP",en:"Guadeloupe",fi:"Guadeloupe",sv:"Guadeloupe",telephoneCountryCode:"590"},GU:{isoCode:"GU",en:"Guam",fi:"Guam",sv:"Guam",telephoneCountryCode:"1"},GT:{isoCode:"GT",en:"Guatemala",fi:"Guatemala",sv:"Guatemala",telephoneCountryCode:"502"},GN:{isoCode:"GN",en:"Guinea",fi:"Guinea",sv:"Guinea",telephoneCountryCode:"224"},GW:{isoCode:"GW",en:"Guinea-Bissau",fi:"Guinea-Bissau",sv:"Guinea Bissau",telephoneCountryCode:"245"},GY:{isoCode:"GY",en:"Guyana",fi:"Guyana",sv:"Guyana",telephoneCountryCode:"592"},HT:{isoCode:"HT",en:"Haiti",fi:"Haiti",sv:"Haiti",telephoneCountryCode:"509"},HM:{isoCode:"HM",en:"Heard Island and McDonald Islands",fi:"Heard ja McDonaldinsaaret",sv:"Heard- och McDonaldsöarna"},VA:{isoCode:"VA",en:"Holy See (Vatican City State)",fi:"Vatikaanivaltio",sv:"Vatikanstaten",telephoneCountryCode:"39"},HN:{isoCode:"HN",en:"Honduras",fi:"Honduras",sv:"Honduras",telephoneCountryCode:"504"},HK:{isoCode:"HK",en:"Hong Kong",fi:"Hongkong",sv:"Hongkong",telephoneCountryCode:"852"},HU:{isoCode:"HU",en:"Hungary",fi:"Unkari",sv:"Ungern",telephoneCountryCode:"36"},IS:{isoCode:"IS",en:"Iceland",fi:"Islanti",sv:"Island",telephoneCountryCode:"354"},IN:{isoCode:"IN",en:"India",fi:"Intia",sv:"Indien",telephoneCountryCode:"91"},ID:{isoCode:"ID",en:"Indonesia",fi:"Indonesia",sv:"Indonesien",telephoneCountryCode:"62"},IR:{isoCode:"IR",en:"Islamic Republic of Iran",fi:"Iran",sv:"Iran",telephoneCountryCode:"98"},IQ:{isoCode:"IQ",en:"Iraq",fi:"Irak",sv:"Irak",telephoneCountryCode:"964"},IE:{isoCode:"IE",en:"Ireland",fi:"Irlanti",sv:"Irland",telephoneCountryCode:"353"},IL:{isoCode:"IL",en:"Israel",fi:"Israel",sv:"Israel",telephoneCountryCode:"972"},IT:{isoCode:"IT",en:"Italy",fi:"Italia",sv:"Italien",telephoneCountryCode:"39"},JM:{isoCode:"JM",en:"Jamaica",fi:"Jamaika",sv:"Jamaica",telephoneCountryCode:"1"},JP:{isoCode:"JP",en:"Japan",fi:"Japani",sv:"Japan",telephoneCountryCode:"81"},JO:{isoCode:"JO",en:"Jordan",fi:"Jordania",sv:"Jordanien",telephoneCountryCode:"962"},KZ:{isoCode:"KZ",en:"Kazakhstan",fi:"Kazakstan",sv:"Kazakstan",telephoneCountryCode:"7"},KE:{isoCode:"KE",en:"Kenya",fi:"Kenia",sv:"Kenya",telephoneCountryCode:"254"},KI:{isoCode:"KI",en:"Kiribati",fi:"Kiribati",sv:"Kiribati",telephoneCountryCode:"686"},KP:{isoCode:"KP",en:"North Korea",fi:"Korean demokraattinen kansantasavalta",sv:"Nordkorea",telephoneCountryCode:"850"},KR:{isoCode:"KR",en:"South Korea",fi:"Korean tasavalta",sv:"Sydkorea",telephoneCountryCode:"82"},KW:{isoCode:"KW",en:"Kuwait",fi:"Kuwait",sv:"Kuwait",telephoneCountryCode:"965"},KG:{isoCode:"KG",en:"Kyrgyzstan",fi:"Kirgisia",sv:"Kirgizistan",telephoneCountryCode:"996"},LA:{isoCode:"LA",en:"Lao People's Democratic Republic",fi:"Laos",sv:"Laos",telephoneCountryCode:"856"},LV:{isoCode:"LV",en:"Latvia",fi:"Latvia",sv:"Lettland",telephoneCountryCode:"371"},LB:{isoCode:"LB",en:"Lebanon",fi:"Libanon",sv:"Libanon",telephoneCountryCode:"961"},LS:{isoCode:"LS",en:"Lesotho",fi:"Lesotho",sv:"Lesotho",telephoneCountryCode:"266"},LR:{isoCode:"LR",en:"Liberia",fi:"Liberia",sv:"Liberia",telephoneCountryCode:"231"},LY:{isoCode:"LY",en:"Libya",fi:"Libya",sv:"Libyen",telephoneCountryCode:"218"},LI:{isoCode:"LI",en:"Liechtenstein",fi:"Liechtenstein",sv:"Liechtenstein",telephoneCountryCode:"423"},LT:{isoCode:"LT",en:"Lithuania",fi:"Liettua",sv:"Litauen",telephoneCountryCode:"370"},LU:{isoCode:"LU",en:"Luxembourg",fi:"Luxemburg",sv:"Luxemburg",telephoneCountryCode:"352"},MO:{isoCode:"MO",en:"Macao",fi:"Macao",sv:"Macau",telephoneCountryCode:"853"},MG:{isoCode:"MG",en:"Madagascar",fi:"Madagaskar",sv:"Madagaskar",telephoneCountryCode:"261"},MW:{isoCode:"MW",en:"Malawi",fi:"Malawi",sv:"Malawi",telephoneCountryCode:"265"},MY:{isoCode:"MY",en:"Malaysia",fi:"Malesia",sv:"Malaysia",telephoneCountryCode:"60"},MV:{isoCode:"MV",en:"Maldives",fi:"Malediivit",sv:"Maldiverna",telephoneCountryCode:"960"},ML:{isoCode:"ML",en:"Mali",fi:"Mali",sv:"Mali",telephoneCountryCode:"223"},MT:{isoCode:"MT",en:"Malta",fi:"Malta",sv:"Malta",telephoneCountryCode:"356"},MH:{isoCode:"MH",en:"Marshall Islands",fi:"Marshallinsaaret",sv:"Marshallöarna",telephoneCountryCode:"692"},MQ:{isoCode:"MQ",en:"Martinique",fi:"Martinique",sv:"Martinique",telephoneCountryCode:"596"},MR:{isoCode:"MR",en:"Mauritania",fi:"Mauritania",sv:"Mauretanien",telephoneCountryCode:"222"},MU:{isoCode:"MU",en:"Mauritius",fi:"Mauritius",sv:"Mauritius",telephoneCountryCode:"230"},YT:{isoCode:"YT",en:"Mayotte",fi:"Mayotte",sv:"Mayotte",telephoneCountryCode:"262"},MX:{isoCode:"MX",en:"Mexico",fi:"Meksiko",sv:"Mexiko",telephoneCountryCode:"52"},FM:{isoCode:"FM",en:"Micronesia, Federated States of",fi:"Mikronesian liittovaltio",sv:"Mikronesiska federationen",telephoneCountryCode:"691"},MD:{isoCode:"MD",en:"Moldova, Republic of",fi:"Moldova",sv:"Moldavien",telephoneCountryCode:"373"},MC:{isoCode:"MC",en:"Monaco",fi:"Monaco",sv:"Monaco",telephoneCountryCode:"377"},MN:{isoCode:"MN",en:"Mongolia",fi:"Mongolia",sv:"Mongoliet",telephoneCountryCode:"976"},MS:{isoCode:"MS",en:"Montserrat",fi:"Montserrat",sv:"Montserrat",telephoneCountryCode:"1"},MA:{isoCode:"MA",en:"Morocco",fi:"Marokko",sv:"Marocko",telephoneCountryCode:"212"},MZ:{isoCode:"MZ",en:"Mozambique",fi:"Mosambik",sv:"Moçambique",telephoneCountryCode:"258"},MM:{isoCode:"MM",en:"Myanmar",fi:"Myanmar",sv:"Burma",telephoneCountryCode:"95"},NA:{isoCode:"NA",en:"Namibia",fi:"Namibia",sv:"Namibia",telephoneCountryCode:"264"},NR:{isoCode:"NR",en:"Nauru",fi:"Nauru",sv:"Nauru",telephoneCountryCode:"674"},NP:{isoCode:"NP",en:"Nepal",fi:"Nepal",sv:"Nepal",telephoneCountryCode:"977"},NL:{isoCode:"NL",en:"Netherlands",fi:"Alankomaat",sv:"Nederländerna",telephoneCountryCode:"31"},NC:{isoCode:"NC",en:"New Caledonia",fi:"Uusi-Kaledonia",sv:"Nya Kaledonien",telephoneCountryCode:"687"},NZ:{isoCode:"NZ",en:"New Zealand",fi:"Uusi-Seelanti",sv:"Nya Zeeland",telephoneCountryCode:"64"},NI:{isoCode:"NI",en:"Nicaragua",fi:"Nicaragua",sv:"Nicaragua",telephoneCountryCode:"505"},NE:{isoCode:"NE",en:"Niger",fi:"Niger",sv:"Niger",telephoneCountryCode:"227"},NG:{isoCode:"NG",en:"Nigeria",fi:"Nigeria",sv:"Nigeria",telephoneCountryCode:"234"},NU:{isoCode:"NU",en:"Niue",fi:"Niue",sv:"Niue",telephoneCountryCode:"683"},NF:{isoCode:"NF",en:"Norfolk Island",fi:"Norfolkinsaari",sv:"Norfolkön",telephoneCountryCode:"672"},MK:{isoCode:"MK",en:"The Republic of North Macedonia",fi:"Pohjois-Makedonia",sv:"Nordmakedonien",telephoneCountryCode:"389"},MP:{isoCode:"MP",en:"Northern Mariana Islands",fi:"Pohjois-Mariaanit",sv:"Nordmarianerna",telephoneCountryCode:"1"},NO:{isoCode:"NO",en:"Norway",fi:"Norja",sv:"Norge",telephoneCountryCode:"47"},OM:{isoCode:"OM",en:"Oman",fi:"Oman",sv:"Oman",telephoneCountryCode:"968"},PK:{isoCode:"PK",en:"Pakistan",fi:"Pakistan",sv:"Pakistan",telephoneCountryCode:"92"},PW:{isoCode:"PW",en:"Palau",fi:"Palau",sv:"Palau",telephoneCountryCode:"680"},PS:{isoCode:"PS",en:"State of Palestine",fi:"Palestiina",sv:"Palestinska territoriet, ockuperade",telephoneCountryCode:"970"},PA:{isoCode:"PA",en:"Panama",fi:"Panama",sv:"Panama",telephoneCountryCode:"507"},PG:{isoCode:"PG",en:"Papua New Guinea",fi:"Papua-Uusi-Guinea",sv:"Papua Nya Guinea",telephoneCountryCode:"675"},PY:{isoCode:"PY",en:"Paraguay",fi:"Paraguay",sv:"Paraguay",telephoneCountryCode:"595"},PE:{isoCode:"PE",en:"Peru",fi:"Peru",sv:"Peru",telephoneCountryCode:"51"},PH:{isoCode:"PH",en:"Philippines",fi:"Filippiinit",sv:"Filippinerna",telephoneCountryCode:"63"},PN:{isoCode:"PN",en:"Pitcairn",fi:"Pitcairn",sv:"Pitcairnöarna"},PL:{isoCode:"PL",en:"Poland",fi:"Puola",sv:"Polen",telephoneCountryCode:"48"},PT:{isoCode:"PT",en:"Portugal",fi:"Portugali",sv:"Portugal",telephoneCountryCode:"351"},PR:{isoCode:"PR",en:"Puerto Rico",fi:"Puerto Rico",sv:"Puerto Rico",telephoneCountryCode:"1"},QA:{isoCode:"QA",en:"Qatar",fi:"Qatar",sv:"Qatar",telephoneCountryCode:"974"},RE:{isoCode:"RE",en:"Reunion",fi:"Réunion",sv:"Réunion",telephoneCountryCode:"262"},RO:{isoCode:"RO",en:"Romania",fi:"Romania",sv:"Rumänien",telephoneCountryCode:"40"},RU:{isoCode:"RU",en:"Russian Federation",fi:"Venäjä",sv:"Ryssland",telephoneCountryCode:"7"},RW:{isoCode:"RW",en:"Rwanda",fi:"Ruanda",sv:"Rwanda",telephoneCountryCode:"250"},SH:{isoCode:"SH",en:"Saint Helena",fi:"Saint Helena",sv:"Sankta Helena",telephoneCountryCode:"290"},KN:{isoCode:"KN",en:"Saint Kitts and Nevis",fi:"Saint Kitts ja Nevis",sv:"Saint Kitts och Nevis",telephoneCountryCode:"1"},LC:{isoCode:"LC",en:"Saint Lucia",fi:"Saint Lucia",sv:"Saint Lucia",telephoneCountryCode:"1"},PM:{isoCode:"PM",en:"Saint Pierre and Miquelon",fi:"Saint-Pierre ja Miquelon",sv:"Saint-Pierre och Miquelon",telephoneCountryCode:"508"},VC:{isoCode:"VC",en:"Saint Vincent and the Grenadines",fi:"Saint Vincent ja Grenadiinit",sv:"Saint Vincent och Grenadinerna",telephoneCountryCode:"1"},WS:{isoCode:"WS",en:"Samoa",fi:"Samoa",sv:"Samoa",telephoneCountryCode:"685"},SM:{isoCode:"SM",en:"San Marino",fi:"San Marino",sv:"San Marino",telephoneCountryCode:"378"},ST:{isoCode:"ST",en:"Sao Tome and Principe",fi:"São Tomé ja Príncipe",sv:"São Tomé och Príncipe",telephoneCountryCode:"239"},SA:{isoCode:"SA",en:"Saudi Arabia",fi:"Saudi-Arabia",sv:"Saudiarabien",telephoneCountryCode:"966"},SN:{isoCode:"SN",en:"Senegal",fi:"Senegal",sv:"Senegal",telephoneCountryCode:"221"},SC:{isoCode:"SC",en:"Seychelles",fi:"Seychellit",sv:"Seychellerna",telephoneCountryCode:"248"},SL:{isoCode:"SL",en:"Sierra Leone",fi:"Sierra Leone",sv:"Sierra Leone",telephoneCountryCode:"232"},SG:{isoCode:"SG",en:"Singapore",fi:"Singapore",sv:"Singapore",telephoneCountryCode:"65"},SK:{isoCode:"SK",en:"Slovakia",fi:"Slovakia",sv:"Slovakien",telephoneCountryCode:"421"},SI:{isoCode:"SI",en:"Slovenia",fi:"Slovenia",sv:"Slovenien",telephoneCountryCode:"386"},SB:{isoCode:"SB",en:"Solomon Islands",fi:"Salomonsaaret",sv:"Salomonöarna",telephoneCountryCode:"677"},SO:{isoCode:"SO",en:"Somalia",fi:"Somalia",sv:"Somalia",telephoneCountryCode:"252"},ZA:{isoCode:"ZA",en:"South Africa",fi:"Etelä-Afrikka",sv:"Sydafrika",telephoneCountryCode:"27"},GS:{isoCode:"GS",en:"South Georgia and the South Sandwich Islands",fi:"Etelä-Georgia ja Eteläiset Sandwichsaaret",sv:"Sydgeorgien och Sydsandwichöarna"},ES:{isoCode:"ES",en:"Spain",fi:"Espanja",sv:"Spanien",telephoneCountryCode:"34"},LK:{isoCode:"LK",en:"Sri Lanka",fi:"Sri Lanka",sv:"Sri Lanka",telephoneCountryCode:"94"},SD:{isoCode:"SD",en:"Sudan",fi:"Sudan",sv:"Sudan",telephoneCountryCode:"249"},SR:{isoCode:"SR",en:"Suriname",fi:"Suriname",sv:"Surinam",telephoneCountryCode:"597"},SJ:{isoCode:"SJ",en:"Svalbard and Jan Mayen",fi:"Svalbard ja Jan Mayen",sv:"Svalbard och Jan Mayen",telephoneCountryCode:"47"},SZ:{isoCode:"SZ",en:"Eswatini",fi:"Swazimaa",sv:"Eswatini",telephoneCountryCode:"268"},SE:{isoCode:"SE",en:"Sweden",fi:"Ruotsi",sv:"Sverige",telephoneCountryCode:"46"},CH:{isoCode:"CH",en:"Switzerland",fi:"Sveitsi",sv:"Schweiz",telephoneCountryCode:"41"},SY:{isoCode:"SY",en:"Syrian Arab Republic",fi:"Syyria",sv:"Syrien",telephoneCountryCode:"963"},TW:{isoCode:"TW",en:"Taiwan, Province of China",fi:"Taiwan",sv:"Taiwan",telephoneCountryCode:"886"},TJ:{isoCode:"TJ",en:"Tajikistan",fi:"Tadžikistan",sv:"Tadzjikistan",telephoneCountryCode:"992"},TZ:{isoCode:"TZ",en:"United Republic of Tanzania",fi:"Tansania",sv:"Tanzania",telephoneCountryCode:"255"},TH:{isoCode:"TH",en:"Thailand",fi:"Thaimaa",sv:"Thailand",telephoneCountryCode:"66"},TL:{isoCode:"TL",en:"Timor-Leste",fi:"Itä-Timor",sv:"Östtimor",telephoneCountryCode:"670"},TG:{isoCode:"TG",en:"Togo",fi:"Togo",sv:"Togo",telephoneCountryCode:"228"},TK:{isoCode:"TK",en:"Tokelau",fi:"Tokelau",sv:"Tokelauöarna",telephoneCountryCode:"690"},TO:{isoCode:"TO",en:"Tonga",fi:"Tonga",sv:"Tonga",telephoneCountryCode:"676"},TT:{isoCode:"TT",en:"Trinidad and Tobago",fi:"Trinidad ja Tobago",sv:"Trinidad och Tobago",telephoneCountryCode:"1"},TN:{isoCode:"TN",en:"Tunisia",fi:"Tunisia",sv:"Tunisien",telephoneCountryCode:"216"},TR:{isoCode:"TR",en:"Türkiye",fi:"Turkki",sv:"Turkiet",telephoneCountryCode:"90"},TM:{isoCode:"TM",en:"Turkmenistan",fi:"Turkmenistan",sv:"Turkmenistan",telephoneCountryCode:"993"},TC:{isoCode:"TC",en:"Turks and Caicos Islands",fi:"Turks- ja Caicossaaret",sv:"Turks- och Caicosöarna",telephoneCountryCode:"1"},TV:{isoCode:"TV",en:"Tuvalu",fi:"Tuvalu",sv:"Tuvalu",telephoneCountryCode:"688"},UG:{isoCode:"UG",en:"Uganda",fi:"Uganda",sv:"Uganda",telephoneCountryCode:"256"},UA:{isoCode:"UA",en:"Ukraine",fi:"Ukraina",sv:"Ukraina",telephoneCountryCode:"380"},AE:{isoCode:"AE",en:"United Arab Emirates",fi:"Arabiemiirikunnat",sv:"Förenade Arabemiraten",telephoneCountryCode:"971"},GB:{isoCode:"GB",en:"United Kingdom",fi:"Yhdistynyt kuningaskunta",sv:"Storbritannien",telephoneCountryCode:"44"},US:{isoCode:"US",en:"United States of America",fi:"Yhdysvallat",sv:"USA",telephoneCountryCode:"1"},UM:{isoCode:"UM",en:"United States Minor Outlying Islands",fi:"Yhdysvaltain pienet erillissaaret",sv:"USA:s yttre öar"},UY:{isoCode:"UY",en:"Uruguay",fi:"Uruguay",sv:"Uruguay",telephoneCountryCode:"598"},UZ:{isoCode:"UZ",en:"Uzbekistan",fi:"Uzbekistan",sv:"Uzbekistan",telephoneCountryCode:"998"},VU:{isoCode:"VU",en:"Vanuatu",fi:"Vanuatu",sv:"Vanuatu",telephoneCountryCode:"678"},VE:{isoCode:"VE",en:"Venezuela",fi:"Venezuela",sv:"Venezuela",telephoneCountryCode:"58"},VN:{isoCode:"VN",en:"Vietnam",fi:"Vietnam",sv:"Vietnam",telephoneCountryCode:"84"},VG:{isoCode:"VG",en:"Virgin Islands, British",fi:"Brittiläiset Neitsytsaaret",sv:"Brittiska Jungfruöarna",telephoneCountryCode:"1"},VI:{isoCode:"VI",en:"Virgin Islands, U.S.",fi:"Yhdysvaltain Neitsytsaaret",sv:"Amerikanska Jungfruöarna",telephoneCountryCode:"1"},WF:{isoCode:"WF",en:"Wallis and Futuna",fi:"Wallis ja Futunasaaret",sv:"Wallis- och Futunaöarna",telephoneCountryCode:"681"},EH:{isoCode:"EH",en:"Western Sahara",fi:"Länsi-Sahara",sv:"Västsahara",telephoneCountryCode:"212"},YE:{isoCode:"YE",en:"Yemen",fi:"Jemen",sv:"Jemen",telephoneCountryCode:"967"},ZM:{isoCode:"ZM",en:"Zambia",fi:"Sambia",sv:"Zambia",telephoneCountryCode:"260"},ZW:{isoCode:"ZW",en:"Zimbabwe",fi:"Zimbabwe",sv:"Zimbabwe",telephoneCountryCode:"263"},AX:{isoCode:"AX",en:"Åland Islands",fi:"Ahvenanmaa",sv:"Åland",telephoneCountryCode:"358"},BQ:{isoCode:"BQ",en:"Bonaire, Sint Eustatius and Saba",fi:"Bonaire, Sint Eustatius ja Saba",sv:"Bonaire, Saint Eustatius och Saba",telephoneCountryCode:"599"},CW:{isoCode:"CW",en:"Curaçao",fi:"Curaçao",sv:"Curacao",telephoneCountryCode:"599"},GG:{isoCode:"GG",en:"Guernsey",fi:"Guernsey",sv:"Guernsey",telephoneCountryCode:"44"},IM:{isoCode:"IM",en:"Isle of Man",fi:"Mansaari",sv:"Isle of Man",telephoneCountryCode:"44"},JE:{isoCode:"JE",en:"Jersey",fi:"Jersey",sv:"Jersey",telephoneCountryCode:"44"},ME:{isoCode:"ME",en:"Montenegro",fi:"Montenegro",sv:"Montenegro",telephoneCountryCode:"382"},BL:{isoCode:"BL",en:"Saint Barthélemy",fi:"Saint-Barthélemy",sv:"Saint-Barthélemy",telephoneCountryCode:"590"},MF:{isoCode:"MF",en:"Saint Martin (French part)",fi:"Saint-Martin",sv:"Saint Martin (franska delen)",telephoneCountryCode:"590"},RS:{isoCode:"RS",en:"Serbia",fi:"Serbia",sv:"Serbien",telephoneCountryCode:"381"},SX:{isoCode:"SX",en:"Sint Maarten (Dutch part)",fi:"Sint Maarten",sv:"Sint Maarten (nederländska delen)",telephoneCountryCode:"1"},SS:{isoCode:"SS",en:"South Sudan",fi:"Etelä-Sudan",sv:"Sydsudan",telephoneCountryCode:"211"},XK:{isoCode:"XK",en:"Kosovo",fi:"Kosovo",sv:"Kosovo",telephoneCountryCode:"383"}},f={1:"US",7:"RU",39:"IT",44:"GB",47:"NO",61:"AU",212:"MA",262:"RE",358:"FI",590:"GP",599:"CW"},c=class{constructor(n){e(this,n),this.duetChange=o(this,"duetChange",3),this.duetInput=o(this,"duetInput",3),this.duetBlur=o(this,"duetBlur",7),this.duetFocus=o(this,"duetFocus",7),this.countriesToList=Object.values(y).filter((e=>!!e.telephoneCountryCode)),this.countryFlagCDNUrl="https://cdn.duetds.com/api/assets/country-flags/",this.inputId=r("DuetInput"),this.buttonAriaLabel={en:"Choose country code",fi:"Valitse maatunnus",sv:"Välj landskod"},this.setListFirstCountries=()=>{const e=("string"==typeof this.listFirst?this.listFirst.split(","):this.listFirst).map((e=>e.trim().toUpperCase())),o=Object.values(y).filter((o=>e.includes(o.isoCode))),n=this.countriesToList.filter((o=>!e.includes(o.isoCode)));n.sort(((e,o)=>e[this.language]>o[this.language]?1:-1)),this.countriesToList=[...o,...n]},this.handleFocus=()=>{},this.handleChange=()=>{},this.handleBlur=()=>{},this.handleInput=()=>{var e,o;const n=null===(e=this.duetInputElement.value)||void 0===e?void 0:e.trim(),i="error"!==this.currentCountry&&(null===(o=this.currentCountry)||void 0===o?void 0:o.telephoneCountryCode)||"",a=this.findCountryCode(n)||"";n?i!==a&&(a?this.currentCountry=this.findCountryForCode(a):"error"!==i&&(this.currentCountry="error")):this.currentCountry=void 0},this.handleCountryCodeSelectorOpen=()=>{this.countryCodePopup.controller=this.countryCodeButton,this.countryCodePopup.show()},this.handleCountryCodeSelectorSelect=e=>{const o=e.target.closest("duet-popup-menu-item");this.currentCountry=y[o.value],this.countryCodePopup.hide(),this.setInputCountryCode()},this.language=l(),this.currentCountry=void 0,this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleDescribedBy=void 0,this.disabled=!1,this.required=!1,this.labelDefaults={fi:"Puhelinnumero",en:"Phone number",sv:"Telefonnummer"},this.label=u(this.labelDefaults,this.language),this.labelHidden=!1,this.caption=void 0,this.name=void 0,this.error="",this.tooltip="",this.listFirst=["FI","SE"]}get countries(){return this.countriesToList}set countries(e){let o=e,n="";"string"==typeof e&&(o=JSON.parse(e)),Array.isArray(o)?o.every((e=>"string"==typeof e))?this.countriesToList=Object.values(y).filter((e=>o.includes(e.isoCode)&&!!e.telephoneCountryCode)):o.every((e=>{return o=e,["en","fi","sv","isoCode","telephoneCountryCode"].every((e=>Object.keys(o).includes(e)))&&/^[A-Z]{2}$/.test(o.isoCode)&&/^[1-9][0-9]{0,2}$/.test(o.telephoneCountryCode);var o}))?this.countriesToList=o:n="Invalid array provided for countries in Phone Input":n="Country list for Phone Input must be an array",n&&(console.error(n),this.countriesToList=Object.values(y).filter((e=>!!e.telephoneCountryCode))),this.setListFirstCountries()}get value(){var e;return null===(e=this.duetInputElement.value)||void 0===e?void 0:e.replace(/\s/g,"")}set value(e){this._value=e}get validity(){return this.duetInputElement.validity}componentWillLoad(){s(this),v(this.element,"tooltip","duet-tooltip",1,!0),this.setListFirstCountries()}connectedCallback(){h(this,{prop:"label",defaults:"labelDefaults"}),C(this)}disconnectedCallback(){p(this),d(this)}async setFocus(e){this.duetInputElement.setFocus(e)}setInputCountryCode(){if("error"===this.currentCountry)return;const e=`+${this.currentCountry.telephoneCountryCode} `,o=this.duetInputElement.value;if(!(null==o?void 0:o.trim().startsWith("+")))return void(this.duetInputElement.value=`${e}${(null==o?void 0:o.trimStart())||""}`);const n=this.findCountryCode(o);console.log("Old code",n),this.duetInputElement.value=n?o.replace(`+${n}`,e).replace(" "," "):o.replace("+",e)}findCountryCode(e){const o=e.trim();if(!o.startsWith("+"))return;const n=Object.values(y).find((e=>o.startsWith(`+${e.telephoneCountryCode}`)));return null==n?void 0:n.telephoneCountryCode}findCountryForCode(e){const o=f[e]||"";return o?y[o]:Object.values(y).find((o=>o.telephoneCountryCode===e))}renderFlag(e,o=!1){return n("img",{src:`${this.countryFlagCDNUrl}${e}.svg`,"aria-hidden":"true",style:{height:o?"34px":"24px",width:o?"27px":"24px","margin-right":o?"0":"10px","object-fit":"contain","object-position":"center",filter:"drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 2px 6px rgba(0, 41, 77, 0.1))"},loading:"lazy"})}getFlagForButton(){return this.currentCountry&&"error"!==this.currentCountry?this.renderFlag(this.currentCountry.isoCode,!0):n("duet-icon",{name:this.currentCountry?"messaging-alert":"form-country",margin:"none"})}render(){const e=("string"==typeof this.listFirst?this.listFirst.split(","):this.listFirst).map((e=>e.trim().toUpperCase())).pop(),o=this.identifier||this.inputId;return n(a,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},n("div",{class:"duet-phone-input-container"},n("duet-popup-menu",{ref:e=>this.countryCodePopup=e,scrollLimit:10,showFilterInput:!0},this.countriesToList.map((o=>o.isoCode===e?n(i,null,n("duet-popup-menu-item",{value:o.isoCode,onClick:this.handleCountryCodeSelectorSelect},n("duet-grid",{alignment:"center"},this.renderFlag(o.isoCode),n("span",null,o[this.language]," (+",o.telephoneCountryCode,")"))),n("duet-spacer",{size:"x-small"}),n("duet-divider",{margin:"small"})):n("duet-popup-menu-item",{value:o.isoCode,onClick:this.handleCountryCodeSelectorSelect},n("duet-grid",{alignment:"center"},this.renderFlag(o.isoCode),n("span",null,o[this.language]," (+",o.telephoneCountryCode,")")))))),n("duet-input",{ref:e=>this.duetInputElement=e,onDuetChange:this.handleChange,onDuetFocus:this.handleFocus,onDuetBlur:this.handleBlur,onDuetInput:this.handleInput,label:this.label,caption:this.caption,value:this._value,error:this.error,name:this.name,component:"phone",variation:"button-left",type:"tel",disallowPattern:"[^\\+0-9 ]",required:this.required,disabled:this.disabled,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:o,theme:this.theme,margin:"none",expand:!0},n("duet-button",{ref:e=>this.countryCodeButton=e,slot:"button-left",variation:"input-button-left-secondary",margin:"none",fixed:!0,icon:"action-arrow-down-small",iconSize:"small",iconRight:!0,accessibleLabel:this.buttonAriaLabel[this.language],onClick:this.handleCountryCodeSelectorOpen},n("span",{class:"flag-container"},this.getFlagForButton())),n("slot",{name:"tooltip"}))))}get element(){return t(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}span.flag-container{display:flex;align-items:center;justify-content:center;width:30px;height:30px}:host{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}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-phone-input-container{position:relative;width:100%;height:100%}";export{c as duet_phone_input}
4
+ import{r as e,c as o,h as n,F as i,H as a,g as t}from"./p-4ce3657e.js";import{i as s}from"./p-2e417433.js";import{c as r}from"./p-5e59e970.js";import{s as C,u as d}from"./p-a45e3f8b.js";import{a as l,g as u,c as h,d as p}from"./p-1e507e83.js";import{c as v}from"./p-ac4e4fce.js";import"./p-9c3c64b9.js";const y={AF:{isoCode:"AF",en:"Afghanistan",fi:"Afganistan",sv:"Afghanistan",telephoneCountryCode:"93"},AL:{isoCode:"AL",en:"Albania",fi:"Albania",sv:"Albanien",telephoneCountryCode:"355"},DZ:{isoCode:"DZ",en:"Algeria",fi:"Algeria",sv:"Algeriet",telephoneCountryCode:"213"},AS:{isoCode:"AS",en:"American Samoa",fi:"Amerikan Samoa",sv:"Amerikanska Samoa",telephoneCountryCode:"1"},AD:{isoCode:"AD",en:"Andorra",fi:"Andorra",sv:"Andorra",telephoneCountryCode:"376"},AO:{isoCode:"AO",en:"Angola",fi:"Angola",sv:"Angola",telephoneCountryCode:"244"},AI:{isoCode:"AI",en:"Anguilla",fi:"Anguilla",sv:"Anguilla",telephoneCountryCode:"1"},AQ:{isoCode:"AQ",en:"Antarctica",fi:"Antarktis",sv:"Antarktis"},AG:{isoCode:"AG",en:"Antigua and Barbuda",fi:"Antigua ja Barbuda",sv:"Antigua och Barbuda",telephoneCountryCode:"1"},AR:{isoCode:"AR",en:"Argentina",fi:"Argentiina",sv:"Argentina",telephoneCountryCode:"54"},AM:{isoCode:"AM",en:"Armenia",fi:"Armenia",sv:"Armenien",telephoneCountryCode:"374"},AW:{isoCode:"AW",en:"Aruba",fi:"Aruba",sv:"Aruba",telephoneCountryCode:"297"},AU:{isoCode:"AU",en:"Australia",fi:"Australia",sv:"Australien",telephoneCountryCode:"61"},AT:{isoCode:"AT",en:"Austria",fi:"Itävalta",sv:"Österrike",telephoneCountryCode:"43"},AZ:{isoCode:"AZ",en:"Azerbaijan",fi:"Azerbaidžan",sv:"Azerbajdzjan",telephoneCountryCode:"994"},BS:{isoCode:"BS",en:"Bahamas",fi:"Bahama",sv:"Bahamas",telephoneCountryCode:"1"},BH:{isoCode:"BH",en:"Bahrain",fi:"Bahrain",sv:"Bahrain",telephoneCountryCode:"973"},BD:{isoCode:"BD",en:"Bangladesh",fi:"Bangladesh",sv:"Bangladesh",telephoneCountryCode:"880"},BB:{isoCode:"BB",en:"Barbados",fi:"Barbados",sv:"Barbados",telephoneCountryCode:"1"},BY:{isoCode:"BY",en:"Belarus",fi:"Valko-Venäjä",sv:"Belarus",telephoneCountryCode:"375"},BE:{isoCode:"BE",en:"Belgium",fi:"Belgia",sv:"Belgien",telephoneCountryCode:"32"},BZ:{isoCode:"BZ",en:"Belize",fi:"Belize",sv:"Belize",telephoneCountryCode:"501"},BJ:{isoCode:"BJ",en:"Benin",fi:"Benin",sv:"Benin",telephoneCountryCode:"229"},BM:{isoCode:"BM",en:"Bermuda",fi:"Bermuda",sv:"Bermuda",telephoneCountryCode:"1"},BT:{isoCode:"BT",en:"Bhutan",fi:"Bhutan",sv:"Bhutan",telephoneCountryCode:"975"},BO:{isoCode:"BO",en:"Bolivia",fi:"Bolivia",sv:"Bolivia",telephoneCountryCode:"591"},BA:{isoCode:"BA",en:"Bosnia and Herzegovina",fi:"Bosnia ja Hertsegovina",sv:"Bosnien och Hercegovina",telephoneCountryCode:"387"},BW:{isoCode:"BW",en:"Botswana",fi:"Botswana",sv:"Botswana",telephoneCountryCode:"267"},BV:{isoCode:"BV",en:"Bouvet Island",fi:"Bouvet’nsaari",sv:"Bouvetön"},BR:{isoCode:"BR",en:"Brazil",fi:"Brasilia",sv:"Brasilien",telephoneCountryCode:"55"},IO:{isoCode:"IO",en:"British Indian Ocean Territory",fi:"Brittiläinen Intian valtameren alue",sv:"Brittiska territoriet i Indiska Oceanen",telephoneCountryCode:"246"},BN:{isoCode:"BN",en:"Brunei Darussalam",fi:"Brunei",sv:"Brunei",telephoneCountryCode:"673"},BG:{isoCode:"BG",en:"Bulgaria",fi:"Bulgaria",sv:"Bulgarien",telephoneCountryCode:"359"},BF:{isoCode:"BF",en:"Burkina Faso",fi:"Burkina Faso",sv:"Burkina Faso",telephoneCountryCode:"226"},BI:{isoCode:"BI",en:"Burundi",fi:"Burundi",sv:"Burundi",telephoneCountryCode:"257"},KH:{isoCode:"KH",en:"Cambodia",fi:"Kambodža",sv:"Kambodja",telephoneCountryCode:"855"},CM:{isoCode:"CM",en:"Cameroon",fi:"Kamerun",sv:"Kamerun",telephoneCountryCode:"237"},CA:{isoCode:"CA",en:"Canada",fi:"Kanada",sv:"Kanada",telephoneCountryCode:"1"},CV:{isoCode:"CV",en:"Cape Verde",fi:"Kap Verde",sv:"Kap Verde",telephoneCountryCode:"238"},KY:{isoCode:"KY",en:"Cayman Islands",fi:"Caymansaaret",sv:"Caymanöarna",telephoneCountryCode:"1"},CF:{isoCode:"CF",en:"Central African Republic",fi:"Keski-Afrikan tasavalta",sv:"Centralafrikanska republiken",telephoneCountryCode:"236"},TD:{isoCode:"TD",en:"Chad",fi:"Tšad",sv:"Tchad",telephoneCountryCode:"235"},CL:{isoCode:"CL",en:"Chile",fi:"Chile",sv:"Chile",telephoneCountryCode:"56"},CN:{isoCode:"CN",en:"People's Republic of China",fi:"Kiina",sv:"Kina",telephoneCountryCode:"86"},CX:{isoCode:"CX",en:"Christmas Island",fi:"Joulusaari",sv:"Julön",telephoneCountryCode:"61"},CC:{isoCode:"CC",en:"Cocos (Keeling) Islands",fi:"Kookossaaret",sv:"Kokosöarna",telephoneCountryCode:"61"},CO:{isoCode:"CO",en:"Colombia",fi:"Kolumbia",sv:"Colombia",telephoneCountryCode:"57"},KM:{isoCode:"KM",en:"Comoros",fi:"Komorit",sv:"Komorerna",telephoneCountryCode:"269"},CG:{isoCode:"CG",en:"Republic of the Congo",fi:"Kongon tasavalta",sv:"Kongo-Brazzaville",telephoneCountryCode:"242"},CD:{isoCode:"CD",en:"Democratic Republic of the Congo",fi:"Kongon demokraattinen tasavalta",sv:"Demokratiska republiken Kongo",telephoneCountryCode:"243"},CK:{isoCode:"CK",en:"Cook Islands",fi:"Cookinsaaret",sv:"Cooköarna",telephoneCountryCode:"682"},CR:{isoCode:"CR",en:"Costa Rica",fi:"Costa Rica",sv:"Costa Rica",telephoneCountryCode:"506"},CI:{isoCode:"CI",en:"Cote D'Ivoire",fi:"Norsunluurannikko",sv:"Elfenbenskusten",telephoneCountryCode:"225"},HR:{isoCode:"HR",en:"Croatia",fi:"Kroatia",sv:"Kroatien",telephoneCountryCode:"385"},CU:{isoCode:"CU",en:"Cuba",fi:"Kuuba",sv:"Kuba",telephoneCountryCode:"53"},CY:{isoCode:"CY",en:"Cyprus",fi:"Kypros",sv:"Cypern",telephoneCountryCode:"357"},CZ:{isoCode:"CZ",en:"Czech Republic",fi:"Tšekki",sv:"Tjeckien",telephoneCountryCode:"420"},DK:{isoCode:"DK",en:"Denmark",fi:"Tanska",sv:"Danmark",telephoneCountryCode:"45"},DJ:{isoCode:"DJ",en:"Djibouti",fi:"Djibouti",sv:"Djibouti",telephoneCountryCode:"253"},DM:{isoCode:"DM",en:"Dominica",fi:"Dominica",sv:"Dominica",telephoneCountryCode:"1"},DO:{isoCode:"DO",en:"Dominican Republic",fi:"Dominikaaninen tasavalta",sv:"Dominikanska republiken",telephoneCountryCode:"1"},EC:{isoCode:"EC",en:"Ecuador",fi:"Ecuador",sv:"Ecuador",telephoneCountryCode:"593"},EG:{isoCode:"EG",en:"Egypt",fi:"Egypti",sv:"Egypten",telephoneCountryCode:"20"},SV:{isoCode:"SV",en:"El Salvador",fi:"El Salvador",sv:"El Salvador",telephoneCountryCode:"503"},GQ:{isoCode:"GQ",en:"Equatorial Guinea",fi:"Päiväntasaajan Guinea",sv:"Ekvatorialguinea",telephoneCountryCode:"240"},ER:{isoCode:"ER",en:"Eritrea",fi:"Eritrea",sv:"Eritrea",telephoneCountryCode:"291"},EE:{isoCode:"EE",en:"Estonia",fi:"Viro",sv:"Estland",telephoneCountryCode:"372"},ET:{isoCode:"ET",en:"Ethiopia",fi:"Etiopia",sv:"Etiopien",telephoneCountryCode:"251"},FK:{isoCode:"FK",en:"Falkland Islands (Malvinas)",fi:"Falklandinsaaret",sv:"Falklandsöarna",telephoneCountryCode:"500"},FO:{isoCode:"FO",en:"Faroe Islands",fi:"Färsaaret",sv:"Färöarna",telephoneCountryCode:"298"},FJ:{isoCode:"FJ",en:"Fiji",fi:"Fidži",sv:"Fiji",telephoneCountryCode:"679"},FI:{isoCode:"FI",en:"Finland",fi:"Suomi",sv:"Finland",telephoneCountryCode:"358"},FR:{isoCode:"FR",en:"France",fi:"Ranska",sv:"Frankrike",telephoneCountryCode:"33"},GF:{isoCode:"GF",en:"French Guiana",fi:"Ranskan Guayana",sv:"Franska Guyana",telephoneCountryCode:"594"},PF:{isoCode:"PF",en:"French Polynesia",fi:"Ranskan Polynesia",sv:"Franska Polynesien",telephoneCountryCode:"689"},TF:{isoCode:"TF",en:"French Southern Territories",fi:"Ranskan eteläiset alueet",sv:"Franska södra territorierna"},GA:{isoCode:"GA",en:"Gabon",fi:"Gabon",sv:"Gabon",telephoneCountryCode:"241"},GM:{isoCode:"GM",en:"Republic of The Gambia",fi:"Gambia",sv:"Gambia",telephoneCountryCode:"220"},GE:{isoCode:"GE",en:"Georgia",fi:"Georgia",sv:"Georgien",telephoneCountryCode:"995"},DE:{isoCode:"DE",en:"Germany",fi:"Saksa",sv:"Tyskland",telephoneCountryCode:"49"},GH:{isoCode:"GH",en:"Ghana",fi:"Ghana",sv:"Ghana",telephoneCountryCode:"233"},GI:{isoCode:"GI",en:"Gibraltar",fi:"Gibraltar",sv:"Gibraltar",telephoneCountryCode:"350"},GR:{isoCode:"GR",en:"Greece",fi:"Kreikka",sv:"Grekland",telephoneCountryCode:"30"},GL:{isoCode:"GL",en:"Greenland",fi:"Grönlanti",sv:"Grönland",telephoneCountryCode:"299"},GD:{isoCode:"GD",en:"Grenada",fi:"Grenada",sv:"Grenada",telephoneCountryCode:"1"},GP:{isoCode:"GP",en:"Guadeloupe",fi:"Guadeloupe",sv:"Guadeloupe",telephoneCountryCode:"590"},GU:{isoCode:"GU",en:"Guam",fi:"Guam",sv:"Guam",telephoneCountryCode:"1"},GT:{isoCode:"GT",en:"Guatemala",fi:"Guatemala",sv:"Guatemala",telephoneCountryCode:"502"},GN:{isoCode:"GN",en:"Guinea",fi:"Guinea",sv:"Guinea",telephoneCountryCode:"224"},GW:{isoCode:"GW",en:"Guinea-Bissau",fi:"Guinea-Bissau",sv:"Guinea Bissau",telephoneCountryCode:"245"},GY:{isoCode:"GY",en:"Guyana",fi:"Guyana",sv:"Guyana",telephoneCountryCode:"592"},HT:{isoCode:"HT",en:"Haiti",fi:"Haiti",sv:"Haiti",telephoneCountryCode:"509"},HM:{isoCode:"HM",en:"Heard Island and McDonald Islands",fi:"Heard ja McDonaldinsaaret",sv:"Heard- och McDonaldsöarna"},VA:{isoCode:"VA",en:"Holy See (Vatican City State)",fi:"Vatikaanivaltio",sv:"Vatikanstaten",telephoneCountryCode:"39"},HN:{isoCode:"HN",en:"Honduras",fi:"Honduras",sv:"Honduras",telephoneCountryCode:"504"},HK:{isoCode:"HK",en:"Hong Kong",fi:"Hongkong",sv:"Hongkong",telephoneCountryCode:"852"},HU:{isoCode:"HU",en:"Hungary",fi:"Unkari",sv:"Ungern",telephoneCountryCode:"36"},IS:{isoCode:"IS",en:"Iceland",fi:"Islanti",sv:"Island",telephoneCountryCode:"354"},IN:{isoCode:"IN",en:"India",fi:"Intia",sv:"Indien",telephoneCountryCode:"91"},ID:{isoCode:"ID",en:"Indonesia",fi:"Indonesia",sv:"Indonesien",telephoneCountryCode:"62"},IR:{isoCode:"IR",en:"Islamic Republic of Iran",fi:"Iran",sv:"Iran",telephoneCountryCode:"98"},IQ:{isoCode:"IQ",en:"Iraq",fi:"Irak",sv:"Irak",telephoneCountryCode:"964"},IE:{isoCode:"IE",en:"Ireland",fi:"Irlanti",sv:"Irland",telephoneCountryCode:"353"},IL:{isoCode:"IL",en:"Israel",fi:"Israel",sv:"Israel",telephoneCountryCode:"972"},IT:{isoCode:"IT",en:"Italy",fi:"Italia",sv:"Italien",telephoneCountryCode:"39"},JM:{isoCode:"JM",en:"Jamaica",fi:"Jamaika",sv:"Jamaica",telephoneCountryCode:"1"},JP:{isoCode:"JP",en:"Japan",fi:"Japani",sv:"Japan",telephoneCountryCode:"81"},JO:{isoCode:"JO",en:"Jordan",fi:"Jordania",sv:"Jordanien",telephoneCountryCode:"962"},KZ:{isoCode:"KZ",en:"Kazakhstan",fi:"Kazakstan",sv:"Kazakstan",telephoneCountryCode:"7"},KE:{isoCode:"KE",en:"Kenya",fi:"Kenia",sv:"Kenya",telephoneCountryCode:"254"},KI:{isoCode:"KI",en:"Kiribati",fi:"Kiribati",sv:"Kiribati",telephoneCountryCode:"686"},KP:{isoCode:"KP",en:"North Korea",fi:"Korean demokraattinen kansantasavalta",sv:"Nordkorea",telephoneCountryCode:"850"},KR:{isoCode:"KR",en:"South Korea",fi:"Korean tasavalta",sv:"Sydkorea",telephoneCountryCode:"82"},KW:{isoCode:"KW",en:"Kuwait",fi:"Kuwait",sv:"Kuwait",telephoneCountryCode:"965"},KG:{isoCode:"KG",en:"Kyrgyzstan",fi:"Kirgisia",sv:"Kirgizistan",telephoneCountryCode:"996"},LA:{isoCode:"LA",en:"Lao People's Democratic Republic",fi:"Laos",sv:"Laos",telephoneCountryCode:"856"},LV:{isoCode:"LV",en:"Latvia",fi:"Latvia",sv:"Lettland",telephoneCountryCode:"371"},LB:{isoCode:"LB",en:"Lebanon",fi:"Libanon",sv:"Libanon",telephoneCountryCode:"961"},LS:{isoCode:"LS",en:"Lesotho",fi:"Lesotho",sv:"Lesotho",telephoneCountryCode:"266"},LR:{isoCode:"LR",en:"Liberia",fi:"Liberia",sv:"Liberia",telephoneCountryCode:"231"},LY:{isoCode:"LY",en:"Libya",fi:"Libya",sv:"Libyen",telephoneCountryCode:"218"},LI:{isoCode:"LI",en:"Liechtenstein",fi:"Liechtenstein",sv:"Liechtenstein",telephoneCountryCode:"423"},LT:{isoCode:"LT",en:"Lithuania",fi:"Liettua",sv:"Litauen",telephoneCountryCode:"370"},LU:{isoCode:"LU",en:"Luxembourg",fi:"Luxemburg",sv:"Luxemburg",telephoneCountryCode:"352"},MO:{isoCode:"MO",en:"Macao",fi:"Macao",sv:"Macau",telephoneCountryCode:"853"},MG:{isoCode:"MG",en:"Madagascar",fi:"Madagaskar",sv:"Madagaskar",telephoneCountryCode:"261"},MW:{isoCode:"MW",en:"Malawi",fi:"Malawi",sv:"Malawi",telephoneCountryCode:"265"},MY:{isoCode:"MY",en:"Malaysia",fi:"Malesia",sv:"Malaysia",telephoneCountryCode:"60"},MV:{isoCode:"MV",en:"Maldives",fi:"Malediivit",sv:"Maldiverna",telephoneCountryCode:"960"},ML:{isoCode:"ML",en:"Mali",fi:"Mali",sv:"Mali",telephoneCountryCode:"223"},MT:{isoCode:"MT",en:"Malta",fi:"Malta",sv:"Malta",telephoneCountryCode:"356"},MH:{isoCode:"MH",en:"Marshall Islands",fi:"Marshallinsaaret",sv:"Marshallöarna",telephoneCountryCode:"692"},MQ:{isoCode:"MQ",en:"Martinique",fi:"Martinique",sv:"Martinique",telephoneCountryCode:"596"},MR:{isoCode:"MR",en:"Mauritania",fi:"Mauritania",sv:"Mauretanien",telephoneCountryCode:"222"},MU:{isoCode:"MU",en:"Mauritius",fi:"Mauritius",sv:"Mauritius",telephoneCountryCode:"230"},YT:{isoCode:"YT",en:"Mayotte",fi:"Mayotte",sv:"Mayotte",telephoneCountryCode:"262"},MX:{isoCode:"MX",en:"Mexico",fi:"Meksiko",sv:"Mexiko",telephoneCountryCode:"52"},FM:{isoCode:"FM",en:"Micronesia, Federated States of",fi:"Mikronesian liittovaltio",sv:"Mikronesiska federationen",telephoneCountryCode:"691"},MD:{isoCode:"MD",en:"Moldova, Republic of",fi:"Moldova",sv:"Moldavien",telephoneCountryCode:"373"},MC:{isoCode:"MC",en:"Monaco",fi:"Monaco",sv:"Monaco",telephoneCountryCode:"377"},MN:{isoCode:"MN",en:"Mongolia",fi:"Mongolia",sv:"Mongoliet",telephoneCountryCode:"976"},MS:{isoCode:"MS",en:"Montserrat",fi:"Montserrat",sv:"Montserrat",telephoneCountryCode:"1"},MA:{isoCode:"MA",en:"Morocco",fi:"Marokko",sv:"Marocko",telephoneCountryCode:"212"},MZ:{isoCode:"MZ",en:"Mozambique",fi:"Mosambik",sv:"Moçambique",telephoneCountryCode:"258"},MM:{isoCode:"MM",en:"Myanmar",fi:"Myanmar",sv:"Burma",telephoneCountryCode:"95"},NA:{isoCode:"NA",en:"Namibia",fi:"Namibia",sv:"Namibia",telephoneCountryCode:"264"},NR:{isoCode:"NR",en:"Nauru",fi:"Nauru",sv:"Nauru",telephoneCountryCode:"674"},NP:{isoCode:"NP",en:"Nepal",fi:"Nepal",sv:"Nepal",telephoneCountryCode:"977"},NL:{isoCode:"NL",en:"Netherlands",fi:"Alankomaat",sv:"Nederländerna",telephoneCountryCode:"31"},NC:{isoCode:"NC",en:"New Caledonia",fi:"Uusi-Kaledonia",sv:"Nya Kaledonien",telephoneCountryCode:"687"},NZ:{isoCode:"NZ",en:"New Zealand",fi:"Uusi-Seelanti",sv:"Nya Zeeland",telephoneCountryCode:"64"},NI:{isoCode:"NI",en:"Nicaragua",fi:"Nicaragua",sv:"Nicaragua",telephoneCountryCode:"505"},NE:{isoCode:"NE",en:"Niger",fi:"Niger",sv:"Niger",telephoneCountryCode:"227"},NG:{isoCode:"NG",en:"Nigeria",fi:"Nigeria",sv:"Nigeria",telephoneCountryCode:"234"},NU:{isoCode:"NU",en:"Niue",fi:"Niue",sv:"Niue",telephoneCountryCode:"683"},NF:{isoCode:"NF",en:"Norfolk Island",fi:"Norfolkinsaari",sv:"Norfolkön",telephoneCountryCode:"672"},MK:{isoCode:"MK",en:"The Republic of North Macedonia",fi:"Pohjois-Makedonia",sv:"Nordmakedonien",telephoneCountryCode:"389"},MP:{isoCode:"MP",en:"Northern Mariana Islands",fi:"Pohjois-Mariaanit",sv:"Nordmarianerna",telephoneCountryCode:"1"},NO:{isoCode:"NO",en:"Norway",fi:"Norja",sv:"Norge",telephoneCountryCode:"47"},OM:{isoCode:"OM",en:"Oman",fi:"Oman",sv:"Oman",telephoneCountryCode:"968"},PK:{isoCode:"PK",en:"Pakistan",fi:"Pakistan",sv:"Pakistan",telephoneCountryCode:"92"},PW:{isoCode:"PW",en:"Palau",fi:"Palau",sv:"Palau",telephoneCountryCode:"680"},PS:{isoCode:"PS",en:"State of Palestine",fi:"Palestiina",sv:"Palestinska territoriet, ockuperade",telephoneCountryCode:"970"},PA:{isoCode:"PA",en:"Panama",fi:"Panama",sv:"Panama",telephoneCountryCode:"507"},PG:{isoCode:"PG",en:"Papua New Guinea",fi:"Papua-Uusi-Guinea",sv:"Papua Nya Guinea",telephoneCountryCode:"675"},PY:{isoCode:"PY",en:"Paraguay",fi:"Paraguay",sv:"Paraguay",telephoneCountryCode:"595"},PE:{isoCode:"PE",en:"Peru",fi:"Peru",sv:"Peru",telephoneCountryCode:"51"},PH:{isoCode:"PH",en:"Philippines",fi:"Filippiinit",sv:"Filippinerna",telephoneCountryCode:"63"},PN:{isoCode:"PN",en:"Pitcairn",fi:"Pitcairn",sv:"Pitcairnöarna"},PL:{isoCode:"PL",en:"Poland",fi:"Puola",sv:"Polen",telephoneCountryCode:"48"},PT:{isoCode:"PT",en:"Portugal",fi:"Portugali",sv:"Portugal",telephoneCountryCode:"351"},PR:{isoCode:"PR",en:"Puerto Rico",fi:"Puerto Rico",sv:"Puerto Rico",telephoneCountryCode:"1"},QA:{isoCode:"QA",en:"Qatar",fi:"Qatar",sv:"Qatar",telephoneCountryCode:"974"},RE:{isoCode:"RE",en:"Reunion",fi:"Réunion",sv:"Réunion",telephoneCountryCode:"262"},RO:{isoCode:"RO",en:"Romania",fi:"Romania",sv:"Rumänien",telephoneCountryCode:"40"},RU:{isoCode:"RU",en:"Russian Federation",fi:"Venäjä",sv:"Ryssland",telephoneCountryCode:"7"},RW:{isoCode:"RW",en:"Rwanda",fi:"Ruanda",sv:"Rwanda",telephoneCountryCode:"250"},SH:{isoCode:"SH",en:"Saint Helena",fi:"Saint Helena",sv:"Sankta Helena",telephoneCountryCode:"290"},KN:{isoCode:"KN",en:"Saint Kitts and Nevis",fi:"Saint Kitts ja Nevis",sv:"Saint Kitts och Nevis",telephoneCountryCode:"1"},LC:{isoCode:"LC",en:"Saint Lucia",fi:"Saint Lucia",sv:"Saint Lucia",telephoneCountryCode:"1"},PM:{isoCode:"PM",en:"Saint Pierre and Miquelon",fi:"Saint-Pierre ja Miquelon",sv:"Saint-Pierre och Miquelon",telephoneCountryCode:"508"},VC:{isoCode:"VC",en:"Saint Vincent and the Grenadines",fi:"Saint Vincent ja Grenadiinit",sv:"Saint Vincent och Grenadinerna",telephoneCountryCode:"1"},WS:{isoCode:"WS",en:"Samoa",fi:"Samoa",sv:"Samoa",telephoneCountryCode:"685"},SM:{isoCode:"SM",en:"San Marino",fi:"San Marino",sv:"San Marino",telephoneCountryCode:"378"},ST:{isoCode:"ST",en:"Sao Tome and Principe",fi:"São Tomé ja Príncipe",sv:"São Tomé och Príncipe",telephoneCountryCode:"239"},SA:{isoCode:"SA",en:"Saudi Arabia",fi:"Saudi-Arabia",sv:"Saudiarabien",telephoneCountryCode:"966"},SN:{isoCode:"SN",en:"Senegal",fi:"Senegal",sv:"Senegal",telephoneCountryCode:"221"},SC:{isoCode:"SC",en:"Seychelles",fi:"Seychellit",sv:"Seychellerna",telephoneCountryCode:"248"},SL:{isoCode:"SL",en:"Sierra Leone",fi:"Sierra Leone",sv:"Sierra Leone",telephoneCountryCode:"232"},SG:{isoCode:"SG",en:"Singapore",fi:"Singapore",sv:"Singapore",telephoneCountryCode:"65"},SK:{isoCode:"SK",en:"Slovakia",fi:"Slovakia",sv:"Slovakien",telephoneCountryCode:"421"},SI:{isoCode:"SI",en:"Slovenia",fi:"Slovenia",sv:"Slovenien",telephoneCountryCode:"386"},SB:{isoCode:"SB",en:"Solomon Islands",fi:"Salomonsaaret",sv:"Salomonöarna",telephoneCountryCode:"677"},SO:{isoCode:"SO",en:"Somalia",fi:"Somalia",sv:"Somalia",telephoneCountryCode:"252"},ZA:{isoCode:"ZA",en:"South Africa",fi:"Etelä-Afrikka",sv:"Sydafrika",telephoneCountryCode:"27"},GS:{isoCode:"GS",en:"South Georgia and the South Sandwich Islands",fi:"Etelä-Georgia ja Eteläiset Sandwichsaaret",sv:"Sydgeorgien och Sydsandwichöarna"},ES:{isoCode:"ES",en:"Spain",fi:"Espanja",sv:"Spanien",telephoneCountryCode:"34"},LK:{isoCode:"LK",en:"Sri Lanka",fi:"Sri Lanka",sv:"Sri Lanka",telephoneCountryCode:"94"},SD:{isoCode:"SD",en:"Sudan",fi:"Sudan",sv:"Sudan",telephoneCountryCode:"249"},SR:{isoCode:"SR",en:"Suriname",fi:"Suriname",sv:"Surinam",telephoneCountryCode:"597"},SJ:{isoCode:"SJ",en:"Svalbard and Jan Mayen",fi:"Svalbard ja Jan Mayen",sv:"Svalbard och Jan Mayen",telephoneCountryCode:"47"},SZ:{isoCode:"SZ",en:"Eswatini",fi:"Swazimaa",sv:"Eswatini",telephoneCountryCode:"268"},SE:{isoCode:"SE",en:"Sweden",fi:"Ruotsi",sv:"Sverige",telephoneCountryCode:"46"},CH:{isoCode:"CH",en:"Switzerland",fi:"Sveitsi",sv:"Schweiz",telephoneCountryCode:"41"},SY:{isoCode:"SY",en:"Syrian Arab Republic",fi:"Syyria",sv:"Syrien",telephoneCountryCode:"963"},TW:{isoCode:"TW",en:"Taiwan, Province of China",fi:"Taiwan",sv:"Taiwan",telephoneCountryCode:"886"},TJ:{isoCode:"TJ",en:"Tajikistan",fi:"Tadžikistan",sv:"Tadzjikistan",telephoneCountryCode:"992"},TZ:{isoCode:"TZ",en:"United Republic of Tanzania",fi:"Tansania",sv:"Tanzania",telephoneCountryCode:"255"},TH:{isoCode:"TH",en:"Thailand",fi:"Thaimaa",sv:"Thailand",telephoneCountryCode:"66"},TL:{isoCode:"TL",en:"Timor-Leste",fi:"Itä-Timor",sv:"Östtimor",telephoneCountryCode:"670"},TG:{isoCode:"TG",en:"Togo",fi:"Togo",sv:"Togo",telephoneCountryCode:"228"},TK:{isoCode:"TK",en:"Tokelau",fi:"Tokelau",sv:"Tokelauöarna",telephoneCountryCode:"690"},TO:{isoCode:"TO",en:"Tonga",fi:"Tonga",sv:"Tonga",telephoneCountryCode:"676"},TT:{isoCode:"TT",en:"Trinidad and Tobago",fi:"Trinidad ja Tobago",sv:"Trinidad och Tobago",telephoneCountryCode:"1"},TN:{isoCode:"TN",en:"Tunisia",fi:"Tunisia",sv:"Tunisien",telephoneCountryCode:"216"},TR:{isoCode:"TR",en:"Türkiye",fi:"Turkki",sv:"Turkiet",telephoneCountryCode:"90"},TM:{isoCode:"TM",en:"Turkmenistan",fi:"Turkmenistan",sv:"Turkmenistan",telephoneCountryCode:"993"},TC:{isoCode:"TC",en:"Turks and Caicos Islands",fi:"Turks- ja Caicossaaret",sv:"Turks- och Caicosöarna",telephoneCountryCode:"1"},TV:{isoCode:"TV",en:"Tuvalu",fi:"Tuvalu",sv:"Tuvalu",telephoneCountryCode:"688"},UG:{isoCode:"UG",en:"Uganda",fi:"Uganda",sv:"Uganda",telephoneCountryCode:"256"},UA:{isoCode:"UA",en:"Ukraine",fi:"Ukraina",sv:"Ukraina",telephoneCountryCode:"380"},AE:{isoCode:"AE",en:"United Arab Emirates",fi:"Arabiemiirikunnat",sv:"Förenade Arabemiraten",telephoneCountryCode:"971"},GB:{isoCode:"GB",en:"United Kingdom",fi:"Yhdistynyt kuningaskunta",sv:"Storbritannien",telephoneCountryCode:"44"},US:{isoCode:"US",en:"United States of America",fi:"Yhdysvallat",sv:"USA",telephoneCountryCode:"1"},UM:{isoCode:"UM",en:"United States Minor Outlying Islands",fi:"Yhdysvaltain pienet erillissaaret",sv:"USA:s yttre öar"},UY:{isoCode:"UY",en:"Uruguay",fi:"Uruguay",sv:"Uruguay",telephoneCountryCode:"598"},UZ:{isoCode:"UZ",en:"Uzbekistan",fi:"Uzbekistan",sv:"Uzbekistan",telephoneCountryCode:"998"},VU:{isoCode:"VU",en:"Vanuatu",fi:"Vanuatu",sv:"Vanuatu",telephoneCountryCode:"678"},VE:{isoCode:"VE",en:"Venezuela",fi:"Venezuela",sv:"Venezuela",telephoneCountryCode:"58"},VN:{isoCode:"VN",en:"Vietnam",fi:"Vietnam",sv:"Vietnam",telephoneCountryCode:"84"},VG:{isoCode:"VG",en:"Virgin Islands, British",fi:"Brittiläiset Neitsytsaaret",sv:"Brittiska Jungfruöarna",telephoneCountryCode:"1"},VI:{isoCode:"VI",en:"Virgin Islands, U.S.",fi:"Yhdysvaltain Neitsytsaaret",sv:"Amerikanska Jungfruöarna",telephoneCountryCode:"1"},WF:{isoCode:"WF",en:"Wallis and Futuna",fi:"Wallis ja Futunasaaret",sv:"Wallis- och Futunaöarna",telephoneCountryCode:"681"},EH:{isoCode:"EH",en:"Western Sahara",fi:"Länsi-Sahara",sv:"Västsahara",telephoneCountryCode:"212"},YE:{isoCode:"YE",en:"Yemen",fi:"Jemen",sv:"Jemen",telephoneCountryCode:"967"},ZM:{isoCode:"ZM",en:"Zambia",fi:"Sambia",sv:"Zambia",telephoneCountryCode:"260"},ZW:{isoCode:"ZW",en:"Zimbabwe",fi:"Zimbabwe",sv:"Zimbabwe",telephoneCountryCode:"263"},AX:{isoCode:"AX",en:"Åland Islands",fi:"Ahvenanmaa",sv:"Åland",telephoneCountryCode:"358"},BQ:{isoCode:"BQ",en:"Bonaire, Sint Eustatius and Saba",fi:"Bonaire, Sint Eustatius ja Saba",sv:"Bonaire, Saint Eustatius och Saba",telephoneCountryCode:"599"},CW:{isoCode:"CW",en:"Curaçao",fi:"Curaçao",sv:"Curacao",telephoneCountryCode:"599"},GG:{isoCode:"GG",en:"Guernsey",fi:"Guernsey",sv:"Guernsey",telephoneCountryCode:"44"},IM:{isoCode:"IM",en:"Isle of Man",fi:"Mansaari",sv:"Isle of Man",telephoneCountryCode:"44"},JE:{isoCode:"JE",en:"Jersey",fi:"Jersey",sv:"Jersey",telephoneCountryCode:"44"},ME:{isoCode:"ME",en:"Montenegro",fi:"Montenegro",sv:"Montenegro",telephoneCountryCode:"382"},BL:{isoCode:"BL",en:"Saint Barthélemy",fi:"Saint-Barthélemy",sv:"Saint-Barthélemy",telephoneCountryCode:"590"},MF:{isoCode:"MF",en:"Saint Martin (French part)",fi:"Saint-Martin",sv:"Saint Martin (franska delen)",telephoneCountryCode:"590"},RS:{isoCode:"RS",en:"Serbia",fi:"Serbia",sv:"Serbien",telephoneCountryCode:"381"},SX:{isoCode:"SX",en:"Sint Maarten (Dutch part)",fi:"Sint Maarten",sv:"Sint Maarten (nederländska delen)",telephoneCountryCode:"1"},SS:{isoCode:"SS",en:"South Sudan",fi:"Etelä-Sudan",sv:"Sydsudan",telephoneCountryCode:"211"},XK:{isoCode:"XK",en:"Kosovo",fi:"Kosovo",sv:"Kosovo",telephoneCountryCode:"383"}},f={1:"US",7:"RU",39:"IT",44:"GB",47:"NO",61:"AU",212:"MA",262:"RE",358:"FI",590:"GP",599:"CW"},c=class{constructor(n){e(this,n),this.duetChange=o(this,"duetChange",3),this.duetInput=o(this,"duetInput",3),this.duetBlur=o(this,"duetBlur",7),this.duetFocus=o(this,"duetFocus",7),this.countriesToList=Object.values(y).filter((e=>!!e.telephoneCountryCode)),this.countryFlagCDNUrl="https://cdn.duetds.com/api/assets/country-flags/",this.inputId=r("DuetInput"),this.buttonAriaLabel={en:"Choose country code",fi:"Valitse maatunnus",sv:"Välj landskod"},this.setListFirstCountries=()=>{const e=("string"==typeof this.listFirst?this.listFirst.split(","):this.listFirst).map((e=>e.trim().toUpperCase())),o=Object.values(y).filter((o=>e.includes(o.isoCode))),n=this.countriesToList.filter((o=>!e.includes(o.isoCode)));n.sort(((e,o)=>e[this.language]>o[this.language]?1:-1)),this.countriesToList=[...o,...n]},this.handleFocus=()=>{},this.handleChange=()=>{},this.handleBlur=()=>{},this.handleInput=()=>{var e,o;const n=null===(e=this.duetInputElement.value)||void 0===e?void 0:e.trim(),i="error"!==this.currentCountry&&(null===(o=this.currentCountry)||void 0===o?void 0:o.telephoneCountryCode)||"",a=this.findCountryCode(n)||"";n?i!==a&&(a?this.currentCountry=this.findCountryForCode(a):"error"!==i&&(this.currentCountry="error")):this.currentCountry=void 0},this.handleCountryCodeSelectorOpen=()=>{this.countryCodePopup.controller=this.countryCodeButton,this.countryCodePopup.show()},this.handleCountryCodeSelectorSelect=e=>{const o=e.target.closest("duet-popup-menu-item");this.currentCountry=y[o.value],this.countryCodePopup.hide(),this.setInputCountryCode()},this.language=l(),this.currentCountry=void 0,this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleDescribedBy=void 0,this.disabled=!1,this.required=!1,this.labelDefaults={fi:"Puhelinnumero",en:"Phone number",sv:"Telefonnummer"},this.label=u(this.labelDefaults,this.language),this.labelHidden=!1,this.caption=void 0,this.name=void 0,this.error="",this.tooltip="",this.listFirst=["FI","SE"]}get countries(){return this.countriesToList}set countries(e){let o=e,n="";"string"==typeof e&&(o=JSON.parse(e)),Array.isArray(o)?o.every((e=>"string"==typeof e))?this.countriesToList=Object.values(y).filter((e=>o.includes(e.isoCode)&&!!e.telephoneCountryCode)):o.every((e=>{return o=e,["en","fi","sv","isoCode","telephoneCountryCode"].every((e=>Object.keys(o).includes(e)))&&/^[A-Z]{2}$/.test(o.isoCode)&&/^[1-9][0-9]{0,2}$/.test(o.telephoneCountryCode);var o}))?this.countriesToList=o:n="Invalid array provided for countries in Phone Input":n="Country list for Phone Input must be an array",n&&(console.error(n),this.countriesToList=Object.values(y).filter((e=>!!e.telephoneCountryCode))),this.setListFirstCountries()}get value(){var e;return null===(e=this.duetInputElement.value)||void 0===e?void 0:e.replace(/\s/g,"")}set value(e){this.duetInputElement.value=e,this.handleInput()}get validity(){return this.duetInputElement.validity}componentWillLoad(){s(this),v(this.element,"tooltip","duet-tooltip",1,!0),this.setListFirstCountries()}connectedCallback(){h(this,{prop:"label",defaults:"labelDefaults"}),C(this)}disconnectedCallback(){p(this),d(this)}async setFocus(e){this.duetInputElement.setFocus(e)}setInputCountryCode(){if("error"===this.currentCountry)return;const e=`+${this.currentCountry.telephoneCountryCode} `,o=this.duetInputElement.value;if(!(null==o?void 0:o.trim().startsWith("+")))return void(this.duetInputElement.value=`${e}${(null==o?void 0:o.trimStart())||""}`);const n=this.findCountryCode(o);console.log("Old code",n),this.duetInputElement.value=n?o.replace(`+${n}`,e).replace(" "," "):o.replace("+",e)}findCountryCode(e){const o=e.trim();if(!o.startsWith("+"))return;const n=Object.values(y).find((e=>o.startsWith(`+${e.telephoneCountryCode}`)));return null==n?void 0:n.telephoneCountryCode}findCountryForCode(e){const o=f[e]||"";return o?y[o]:Object.values(y).find((o=>o.telephoneCountryCode===e))}renderFlag(e,o=!1){return n("img",{src:`${this.countryFlagCDNUrl}${e}.svg`,"aria-hidden":"true",style:{height:o?"34px":"24px",width:o?"27px":"24px","margin-right":o?"0":"10px","object-fit":"contain","object-position":"center",filter:"drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 2px 6px rgba(0, 41, 77, 0.1))"},loading:"lazy"})}getFlagForButton(){return this.currentCountry&&"error"!==this.currentCountry?this.renderFlag(this.currentCountry.isoCode,!0):n("duet-icon",{name:this.currentCountry?"messaging-alert":"form-country",margin:"none"})}render(){const e=("string"==typeof this.listFirst?this.listFirst.split(","):this.listFirst).map((e=>e.trim().toUpperCase())).pop(),o=this.identifier||this.inputId;return n(a,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},n("div",{class:"duet-phone-input-container"},n("duet-popup-menu",{ref:e=>this.countryCodePopup=e,scrollLimit:10,showFilterInput:!0},this.countriesToList.map((o=>o.isoCode===e?n(i,null,n("duet-popup-menu-item",{value:o.isoCode,onClick:this.handleCountryCodeSelectorSelect},n("duet-grid",{alignment:"center"},this.renderFlag(o.isoCode),n("span",null,o[this.language]," (+",o.telephoneCountryCode,")"))),n("duet-spacer",{size:"x-small"}),n("duet-divider",{margin:"small"})):n("duet-popup-menu-item",{value:o.isoCode,onClick:this.handleCountryCodeSelectorSelect},n("duet-grid",{alignment:"center"},this.renderFlag(o.isoCode),n("span",null,o[this.language]," (+",o.telephoneCountryCode,")")))))),n("duet-input",{ref:e=>this.duetInputElement=e,onDuetChange:this.handleChange,onDuetFocus:this.handleFocus,onDuetBlur:this.handleBlur,onDuetInput:this.handleInput,label:this.label,caption:this.caption,error:this.error,name:this.name,component:"phone",variation:"button-left",type:"tel",disallowPattern:"[^\\+0-9 ]",required:this.required,disabled:this.disabled,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:o,theme:this.theme,margin:"none",expand:!0},n("duet-button",{ref:e=>this.countryCodeButton=e,slot:"button-left",variation:"input-button-left-secondary",margin:"none",fixed:!0,icon:"action-arrow-down-small",iconSize:"small",iconRight:!0,accessibleLabel:this.buttonAriaLabel[this.language],onClick:this.handleCountryCodeSelectorOpen},n("span",{class:"flag-container"},this.getFlagForButton())),n("slot",{name:"tooltip"}))))}get element(){return t(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}span.flag-container{display:flex;align-items:center;justify-content:center;width:30px;height:30px}:host{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}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-phone-input-container{position:relative;width:100%;height:100%}";export{c as duet_phone_input}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import"./p-56df20b9.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()]},d=new Set,l=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&&d.forEach((e=>{e.language&&(e.language=i()),l.has(e)&&l.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 p=(e,t)=>{d.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))),l.set(e,t))},g=e=>{d.delete(e),l.delete(e)};export{i as a,c as b,p as c,g as d,f as g,u as s}
4
+ import"./p-4ce3657e.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}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{r(a.next(e))}catch(e){o(e)}}function l(e){try{r(a["throw"](e))}catch(e){o(e)}}function r(e){e.done?i(e.value):n(e.value).then(s,l)}r((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return r([e,t])}}function r(l){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(a=1,n&&(o=l[0]&2?n["return"]:l[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;if(n=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;n=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];n=0}finally{a=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-6312466b.system.js","./p-e216bea4.system.js","./p-db2ccb9d.system.js","./p-e9be3542.system.js","./p-b1f363ec.system.js","./p-6040e724.system.js","./p-9508ee67.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,i,a,n,o,s,l,r,d,u,c,f,p,b;return{setters:[function(e){t=e.r;i=e.h;a=e.H;n=e.g},function(e){o=e.i},function(e){s=e.e;l=e.d},function(e){r=e.F},function(e){d=e.a;u=e.c;c=e.d;f=e.g},function(e){p=e.h},function(e){b=e.g},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .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:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{position:absolute;top:0;left:16px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{background:rgb(247, 178, 40)}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{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);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var m=h;var y=e("duet_slideout_panel",function(){function e(e){var i=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=i.element.querySelector("[slot='label']");i.label=e};this.toggleMenu=function(){i.open=!i.open};this.onClick=function(){i.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var t=i.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var a=i.element.parentElement;s(i.dialog);i.bodyScrollLocked=false;a.toggle()}};this.label=undefined;this.language=d();this.bodyScrollLocked=false;this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest";this.badge=false}e.prototype.componentWillLoad=function(){o(this);this.updateLabel();this.hasStickyHeaderSlot=p(this.element,"sticky-header")};e.prototype.connectedCallback=function(){var e=this;u(this);this.mutationObserver=new MutationObserver((function(){var t=e.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var i=e.element.parentElement;if(i.open&&e.open&&!e.bodyScrollLocked){e.bodyScrollLocked=true;l(e.dialog,{reserveScrollBarGap:true})}else if(!i.open&&e.bodyScrollLocked){e.bodyScrollLocked=false;s(e.dialog)}}}));this.mutationObserver.observe(this.element.parentElement,{childList:false,attributeFilter:["open"],subtree:false})};e.prototype.disconnectedCallback=function(){c(this);if(this.dialog){s(this.dialog);this.bodyScrollLocked=false}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.handleOpenChange=function(e,t){var i=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(i.element.parentElement.children);e.forEach((function(e){if(e!==i.element){e.inert=true}}));if(!i.bodyScrollLocked){l(i.dialog,{reserveScrollBarGap:true});i.bodyScrollLocked=true}i.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(i.element.parentElement.children);e.forEach((function(e){e.inert=false}));i.openButton.focus();s(i.dialog);i.bodyScrollLocked=false}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var n=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var o={background:b(n,this.theme)};var s=f(this.exitLangObject);var l=f(this.backLangObject);return i(a,{key:"2b36b05ce039386747c09abf0e5323c48b5e0488"},i("div",{key:"d58f2b9732c3ab38b13bd4f0439efe9012b9d515",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},i("button",{key:"529140519e744fd8e36ff8afea01ca18938414b0",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&i("div",{key:"4f8d0249d6221a523a3a0b3836933b432829d8c8",class:"duet-slideout-icon"},i("duet-icon",{key:"230b927f9771d593709e791c14618db90d7aa895",name:this.icon,size:"medium",margin:"none",color:"secondary"}),this.badge&&i("div",{key:"33617258b158f4f59b6e9655b058a84a3ee47af1",class:"duet-slideout-badge"})),i("span",{key:"7da950982ae9adb1e9d37515b3e271e506836d41",class:"label"},i("span",{key:"6046719acd63d608ed7a2a47452f5dba66c99d8b",class:(e={"label-text":true},e[this.labelSize]=true,e)},i("slot",{key:"4d7b76d2d25171390101ef25f431af7c8ef1a008",name:"label"})),i("duet-icon",{key:"d9c3ae0d685375bc29e8901f2c41bf8e2028a1db",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),i("div",{key:"4e5a633d2f18f22bcf2cb69252f8f497def373fe",ref:function(e){return t.dialog=e},class:{dialog:true,hidden:!this.open},style:o},i(r,{key:"9f810bf575701688ab08f60726de6da69bc12635",moveFocusTo:this.closeButton}),i("div",{key:"13828354ebc908614edfa649b633c78b5ca040d0",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{key:"d3a965830f5cb2f31d767b925c9f35470dab844d",class:"top"},i("button",{key:"c07c0504cb16358d05e42cce8554b99f034d07b9",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(l),type:"button",class:{back:true},onClick:this.onClick},i("duet-icon",{key:"521c0a3724fe426035c1c941752d1498e41034be",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),i("span",{key:"e9727f3f182d3bbfd2aa5f65d3f750b0e1da6131"},this.label.innerHTML),i("button",{key:"6132ffcdc5f194d857698b0a8e4bb6b725113af2",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(s)},i("duet-icon",{key:"2aa67d1f3468592b7886bafa0b168db8a8156b9b",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{key:"bc7eec6649885a979ed139c6742de251672a9821",class:"sticky-header"},i("slot",{key:"b9983428eb3d8232c5d68154a8bb200cd4cc7e2a",name:"sticky-header"}))),i("div",{key:"20ea66396b8e7d802a44d36c7aa326294e7a95cb",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},i("slot",{key:"625703e33ae89586ed068b86912c37721035c645"})),i(r,{key:"e34b98e036503d08b5d653169fbff5bd8dea058f",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());y.style=m}}}));
4
+ */System.register(["./p-c9906be7.system.js","./p-6229bcd8.system.js","./p-db2ccb9d.system.js","./p-66fa5726.system.js","./p-d41d25b8.system.js","./p-b24ea804.system.js","./p-9508ee67.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,i,a,n,o,s,l,r,d,u,c,f,p,b;return{setters:[function(e){t=e.r;i=e.h;a=e.H;n=e.g},function(e){o=e.i},function(e){s=e.e;l=e.d},function(e){r=e.F},function(e){d=e.a;u=e.c;c=e.d;f=e.g},function(e){p=e.h},function(e){b=e.g},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .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:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{position:absolute;top:0;left:16px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{background:rgb(247, 178, 40)}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{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);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var m=h;var y=e("duet_slideout_panel",function(){function e(e){var i=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=i.element.querySelector("[slot='label']");i.label=e};this.toggleMenu=function(){i.open=!i.open};this.onClick=function(){i.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var t=i.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var a=i.element.parentElement;s(i.dialog);i.bodyScrollLocked=false;a.toggle()}};this.label=undefined;this.language=d();this.bodyScrollLocked=false;this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest";this.badge=false}e.prototype.componentWillLoad=function(){o(this);this.updateLabel();this.hasStickyHeaderSlot=p(this.element,"sticky-header")};e.prototype.connectedCallback=function(){var e=this;u(this);this.mutationObserver=new MutationObserver((function(){var t=e.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var i=e.element.parentElement;if(i.open&&e.open&&!e.bodyScrollLocked){e.bodyScrollLocked=true;l(e.dialog,{reserveScrollBarGap:true})}else if(!i.open&&e.bodyScrollLocked){e.bodyScrollLocked=false;s(e.dialog)}}}));this.mutationObserver.observe(this.element.parentElement,{childList:false,attributeFilter:["open"],subtree:false})};e.prototype.disconnectedCallback=function(){c(this);if(this.dialog){s(this.dialog);this.bodyScrollLocked=false}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.handleOpenChange=function(e,t){var i=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(i.element.parentElement.children);e.forEach((function(e){if(e!==i.element){e.inert=true}}));if(!i.bodyScrollLocked){l(i.dialog,{reserveScrollBarGap:true});i.bodyScrollLocked=true}i.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(i.element.parentElement.children);e.forEach((function(e){e.inert=false}));i.openButton.focus();s(i.dialog);i.bodyScrollLocked=false}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var n=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var o={background:b(n,this.theme)};var s=f(this.exitLangObject);var l=f(this.backLangObject);return i(a,{key:"2b36b05ce039386747c09abf0e5323c48b5e0488"},i("div",{key:"d58f2b9732c3ab38b13bd4f0439efe9012b9d515",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},i("button",{key:"529140519e744fd8e36ff8afea01ca18938414b0",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&i("div",{key:"4f8d0249d6221a523a3a0b3836933b432829d8c8",class:"duet-slideout-icon"},i("duet-icon",{key:"230b927f9771d593709e791c14618db90d7aa895",name:this.icon,size:"medium",margin:"none",color:"secondary"}),this.badge&&i("div",{key:"33617258b158f4f59b6e9655b058a84a3ee47af1",class:"duet-slideout-badge"})),i("span",{key:"7da950982ae9adb1e9d37515b3e271e506836d41",class:"label"},i("span",{key:"6046719acd63d608ed7a2a47452f5dba66c99d8b",class:(e={"label-text":true},e[this.labelSize]=true,e)},i("slot",{key:"4d7b76d2d25171390101ef25f431af7c8ef1a008",name:"label"})),i("duet-icon",{key:"d9c3ae0d685375bc29e8901f2c41bf8e2028a1db",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),i("div",{key:"4e5a633d2f18f22bcf2cb69252f8f497def373fe",ref:function(e){return t.dialog=e},class:{dialog:true,hidden:!this.open},style:o},i(r,{key:"9f810bf575701688ab08f60726de6da69bc12635",moveFocusTo:this.closeButton}),i("div",{key:"13828354ebc908614edfa649b633c78b5ca040d0",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{key:"d3a965830f5cb2f31d767b925c9f35470dab844d",class:"top"},i("button",{key:"c07c0504cb16358d05e42cce8554b99f034d07b9",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(l),type:"button",class:{back:true},onClick:this.onClick},i("duet-icon",{key:"521c0a3724fe426035c1c941752d1498e41034be",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),i("span",{key:"e9727f3f182d3bbfd2aa5f65d3f750b0e1da6131"},this.label.innerHTML),i("button",{key:"6132ffcdc5f194d857698b0a8e4bb6b725113af2",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(s)},i("duet-icon",{key:"2aa67d1f3468592b7886bafa0b168db8a8156b9b",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{key:"bc7eec6649885a979ed139c6742de251672a9821",class:"sticky-header"},i("slot",{key:"b9983428eb3d8232c5d68154a8bb200cd4cc7e2a",name:"sticky-header"}))),i("div",{key:"20ea66396b8e7d802a44d36c7aa326294e7a95cb",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},i("slot",{key:"625703e33ae89586ed068b86912c37721035c645"})),i(r,{key:"e34b98e036503d08b5d653169fbff5bd8dea058f",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());y.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,H as d,g as a}from"./p-56df20b9.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-534b8454.js";const p=class{constructor(e){t(this,e),this.hasSidebar=!1,this.hasTop=!1,this.hasPageHeading=!1,this.sticky=!1,this.margin="auto",this.stickyDistance="with-links",this.center=!1,this.tabs=!1,this.middle=!1,this.paddingBreakpoint=void 0}componentWillLoad(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']"),this.hasTop=!!this.element.querySelector("[slot='top']"),this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']"),n(this.element,"page-heading","duet-page-heading",1,!0),this.element.querySelector("[slot='main']")||console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}render(){return e(d,{key:"939cedfacbeb6cc0069fdca4c80909580937143f",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"04e36c83cf0d51f536377f6679e455765e98c837",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"316f74d7dbf89cd2da0122cf0c169af3c1abca94",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"4ab63842f267fca4adadd6bed7c88a5509e6b792",class:"duet-layout-top-wrapper"},e("slot",{key:"c512f4e7f30bb6a1e7159a79d3bc24ba05cf3640",name:"top"}))),e("div",{key:"9d6a034aa4a5e0a1c4e5293b2755be1d304be851",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"5d98c6a1feb7e641bf95140b957f1c23add97d4e",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"3f321ec210469b09507b8d1f3f457a4486912eba",name:"page-heading"}),e("slot",{key:"df7d9350f8cfcaadde996fb8507570e80a4b542f",name:"main"})),this.hasSidebar&&e("aside",{key:"ab2cde3f205725d4e4994aa68a93ab79a5df2b7e",class:"duet-sidebar"},e("div",{key:"66865fbd9febf8a642c39db1b1f37a915bef1a1a",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"4869dd5a533b2adb3d166e27a81820df7b6a7692",name:"sidebar"}))))))}get element(){return a(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";export{p as duet_layout}
4
+ import{r as t,h as e,H as d,g as a}from"./p-4ce3657e.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-ac4e4fce.js";const p=class{constructor(e){t(this,e),this.hasSidebar=!1,this.hasTop=!1,this.hasPageHeading=!1,this.sticky=!1,this.margin="auto",this.stickyDistance="with-links",this.center=!1,this.tabs=!1,this.middle=!1,this.paddingBreakpoint=void 0}componentWillLoad(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']"),this.hasTop=!!this.element.querySelector("[slot='top']"),this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']"),n(this.element,"page-heading","duet-page-heading",1,!0),this.element.querySelector("[slot='main']")||console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}render(){return e(d,{key:"939cedfacbeb6cc0069fdca4c80909580937143f",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"04e36c83cf0d51f536377f6679e455765e98c837",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"316f74d7dbf89cd2da0122cf0c169af3c1abca94",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"4ab63842f267fca4adadd6bed7c88a5509e6b792",class:"duet-layout-top-wrapper"},e("slot",{key:"c512f4e7f30bb6a1e7159a79d3bc24ba05cf3640",name:"top"}))),e("div",{key:"9d6a034aa4a5e0a1c4e5293b2755be1d304be851",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"5d98c6a1feb7e641bf95140b957f1c23add97d4e",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"3f321ec210469b09507b8d1f3f457a4486912eba",name:"page-heading"}),e("slot",{key:"df7d9350f8cfcaadde996fb8507570e80a4b542f",name:"main"})),this.hasSidebar&&e("aside",{key:"ab2cde3f205725d4e4994aa68a93ab79a5df2b7e",class:"duet-sidebar"},e("div",{key:"66865fbd9febf8a642c39db1b1f37a915bef1a1a",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"4869dd5a533b2adb3d166e27a81820df7b6a7692",name:"sidebar"}))))))}get element(){return a(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";export{p as duet_layout}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as o,F as i,g as r}from"./p-56df20b9.js";import{a}from"./p-f11208c3.js";import{D as d}from"./p-beeb12f1.js";import{i as n}from"./p-aaa7a7bd.js";import{s,u as l}from"./p-a45e3f8b.js";import{a as p,g as f,c as m,d as u}from"./p-97a065d3.js";import{h}from"./p-534b8454.js";import{p as c}from"./p-9c3c64b9.js";const g={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}},b=(e,t)=>({component:"duet-footer",data:t,originalEvent:e}),x=class{constructor(o){e(this,o),this.duetChange=t(this,"duetChange",3),this.duetLogoClick=t(this,"duetLogoClick",7),this.duetMenuClick=t(this,"duetMenuClick",7),this.duetItemClick=t(this,"duetItemClick",7),this.duetAnalytics=t(this,"duetAnalytics",7),this.duetEvent=t(this,"duetEvent",7),this.handleClick=e=>{e.data.analyticsId&&this.duetAnalytics.emit({component:"duet-footer",analyticsId:e.data.analyticsId}),this.duetChange.emit(e)},this.handleLogoClick=e=>{const t=b(e,{href:this.logoHref,label:"logo"});this.duetLogoClick.emit(t),this.handleClick(t)},this.handleMenuClick=(e,t)=>{const o=b(e,t);this.handleClick(o),this.duetMenuClick.emit(o)},this.handleItemClick=(e,t)=>{const o=b(e,t);this.handleClick(o),this.duetItemClick.emit(o)},this.emitDuetEvent=(e,t)=>{this.duetEvent.emit({component:"duet-footer",data:t,originalEvent:e})},this.setDataAttributes=(e,t)=>{if(t.data)for(const o in t.data)e.dataset[o]=t.data[o]},this.processedMainItem=null,this.processedItems=null,this.processedMenu=null,this.theme="",this.variation="default",this.margin="auto",this.logoHref="/",this.language=p(),this.items=void 0,this.accessibleLabel=void 0,this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=f(this.accessibleLabelExternalDefaults),this.menu=void 0}componentWillLoad(){n(this),this.refresh(),this.hasInfoSlot=h(this.element,"info")}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),s(this)}disconnectedCallback(){u(this),l(this)}async refresh(){this.processedItems=c(this.items),this.processedMenu=c(this.menu)}render(){const e=f(g,this.language),t="turva"===this.theme?e.turva:e.lahi;return o("footer",{key:"2f5358cae2af364591436b923621558a7db0b892",class:{"duet-footer":!0,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-footer-simple":"simple"===this.variation},"aria-label":this.accessibleLabel},o("div",{key:"55bd20ce5008bacebb5258d6abb3060f79055cc8",class:"duet-footer-wrapper"},"simple"!==this.variation&&o("div",{key:"439a668cb7bf800d15a16e04cb65c0db890821f1",class:{"duet-footer-top":!0,"duet-has-info":this.hasInfoSlot},part:"top"},o("div",{key:"a050517126f6e7b7387a40d4780f31fd8c61df96",class:"footer-top-logo"},o("duet-logo",{key:"a3d3dfd589b1a6a2c28942b7bbf06146e2117a2b",href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:!0,language:this.language,theme:this.theme})),o("div",{key:"464c8146c94cf0d301777700924b7fb446b86526",class:"footer-top-right-container"},o("slot",{key:"15486e3da1f50b0b42875f81c92739bb47ee0988",name:"info"}),o("div",{key:"6f6addf850f9abf70a3bec2d7fb990c6ee8bc79d",class:"footer-top-items"},this.processedItems&&this.processedItems.map(((e,t)=>{var r,a,d,n,s,l;return o(i,null,t>0&&o("duet-spacer",{size:"x-large",direction:"horizontal"}),o("duet-button",{ref:t=>this.setDataAttributes(t,e),theme:this.theme,id:e.id,class:"duet-footer-link",variation:"plain",margin:"none",fixed:!0,negative:!0,url:e.href,external:e.external,icon:(null===(r=e.href)||void 0===r?void 0:r.startsWith("tel:"))?"form-tel":(null===(a=e.href)||void 0===a?void 0:a.startsWith("mailto:"))?"navigation-message":"navigation-arrow-right","icon-right":!(null===(d=e.href)||void 0===d?void 0:d.startsWith("tel:"))&&!(null===(n=e.href)||void 0===n?void 0:n.startsWith("mailto:")),"icon-size":(null===(s=e.href)||void 0===s?void 0:s.startsWith("tel:"))||(null===(l=e.href)||void 0===l?void 0:l.startsWith("mailto:"))?"medium":"medium-small",onClick:t=>this.handleItemClick(t,e),onMouseEnter:t=>this.emitDuetEvent(t,e),onTouchStart:t=>this.emitDuetEvent(t,e)},e.label))}))))),o("slot",{key:"9abeaa9ef15e10aa69f0c481f8cd3b1b65ab4273",name:"extra"}),o("p",{key:"9266f09430c4ab355227d765ebb47019453cd175",class:"duet-footer-menu",part:"menu"},o("span",{key:"0b9db71f2534e447db290320c03af61e719c2d20",class:"duet-footer-copyright"},`${t} ${(new Date).getFullYear()}`),o("span",{key:"5d989664700ee20c32bc3debcfc71fa167976514",class:"duet-footer-menu-links"},this.processedMenu&&o(i,{key:"c38f8fa4d356c5f83159e94c445bf6779b357c8b"},this.processedMenu.map((e=>o("a",{ref:t=>this.setDataAttributes(t,e),href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:t=>this.handleMenuClick(t,e),onMouseEnter:t=>this.emitDuetEvent(t,e),onTouchStart:t=>this.emitDuetEvent(t,e)},e.label,e.external&&o(i,null,o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("span",{class:"duet-footer-external"},o("duet-icon",{icon:a.svg,size:"xx-small",margin:"none",color:"currentColor"}))),o("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))))))),o("p",{key:"c9a5926823a901f267f0369a97a244bc2596b6f8",class:"duet-footer-copyright duet-footer-copyright-mobile"},`${t} ${(new Date).getFullYear()}`)))}get element(){return r(this)}static get watchers(){return{menu:["refresh"],items:["refresh"]}}};x.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:0;margin-bottom:16px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin-top:calc(20px - 0.5em);margin-bottom:0}}.duet-footer{display:block;width:100%;padding-top:24px;padding-bottom:16px;margin-top:48px;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(255, 255, 255);text-align:left;background:rgb(8, 42, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center}.duet-footer-top.duet-has-info{align-items:flex-start}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1}@media (min-width: 62em){.duet-footer-top .footer-top-right-container{text-align:right}}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-left:28px}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row;justify-content:flex-end}}duet-logo{margin-bottom:24px;margin-left:16px !important}@media (min-width: 62em){duet-logo{margin-bottom:0;margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;padding-left:28px !important;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-right:0 !important;padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;overflow-wrap:break-word}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{display:block;flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:28px;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(8, 42, 77);background:transparent !important;border-top:1px solid rgb(212, 223, 229)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(8, 42, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';export{x as duet_footer}
4
+ import{r as e,c as t,h as o,F as i,g as r}from"./p-4ce3657e.js";import{a}from"./p-f11208c3.js";import{D as d}from"./p-beeb12f1.js";import{i as n}from"./p-2e417433.js";import{s,u as l}from"./p-a45e3f8b.js";import{a as p,g as f,c as m,d as u}from"./p-1e507e83.js";import{h}from"./p-ac4e4fce.js";import{p as c}from"./p-9c3c64b9.js";const g={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}},b=(e,t)=>({component:"duet-footer",data:t,originalEvent:e}),x=class{constructor(o){e(this,o),this.duetChange=t(this,"duetChange",3),this.duetLogoClick=t(this,"duetLogoClick",7),this.duetMenuClick=t(this,"duetMenuClick",7),this.duetItemClick=t(this,"duetItemClick",7),this.duetAnalytics=t(this,"duetAnalytics",7),this.duetEvent=t(this,"duetEvent",7),this.handleClick=e=>{e.data.analyticsId&&this.duetAnalytics.emit({component:"duet-footer",analyticsId:e.data.analyticsId}),this.duetChange.emit(e)},this.handleLogoClick=e=>{const t=b(e,{href:this.logoHref,label:"logo"});this.duetLogoClick.emit(t),this.handleClick(t)},this.handleMenuClick=(e,t)=>{const o=b(e,t);this.handleClick(o),this.duetMenuClick.emit(o)},this.handleItemClick=(e,t)=>{const o=b(e,t);this.handleClick(o),this.duetItemClick.emit(o)},this.emitDuetEvent=(e,t)=>{this.duetEvent.emit({component:"duet-footer",data:t,originalEvent:e})},this.setDataAttributes=(e,t)=>{if(t.data)for(const o in t.data)e.dataset[o]=t.data[o]},this.processedMainItem=null,this.processedItems=null,this.processedMenu=null,this.theme="",this.variation="default",this.margin="auto",this.logoHref="/",this.language=p(),this.items=void 0,this.accessibleLabel=void 0,this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=f(this.accessibleLabelExternalDefaults),this.menu=void 0}componentWillLoad(){n(this),this.refresh(),this.hasInfoSlot=h(this.element,"info")}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),s(this)}disconnectedCallback(){u(this),l(this)}async refresh(){this.processedItems=c(this.items),this.processedMenu=c(this.menu)}render(){const e=f(g,this.language),t="turva"===this.theme?e.turva:e.lahi;return o("footer",{key:"2f5358cae2af364591436b923621558a7db0b892",class:{"duet-footer":!0,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-footer-simple":"simple"===this.variation},"aria-label":this.accessibleLabel},o("div",{key:"55bd20ce5008bacebb5258d6abb3060f79055cc8",class:"duet-footer-wrapper"},"simple"!==this.variation&&o("div",{key:"439a668cb7bf800d15a16e04cb65c0db890821f1",class:{"duet-footer-top":!0,"duet-has-info":this.hasInfoSlot},part:"top"},o("div",{key:"a050517126f6e7b7387a40d4780f31fd8c61df96",class:"footer-top-logo"},o("duet-logo",{key:"a3d3dfd589b1a6a2c28942b7bbf06146e2117a2b",href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:!0,language:this.language,theme:this.theme})),o("div",{key:"464c8146c94cf0d301777700924b7fb446b86526",class:"footer-top-right-container"},o("slot",{key:"15486e3da1f50b0b42875f81c92739bb47ee0988",name:"info"}),o("div",{key:"6f6addf850f9abf70a3bec2d7fb990c6ee8bc79d",class:"footer-top-items"},this.processedItems&&this.processedItems.map(((e,t)=>{var r,a,d,n,s,l;return o(i,null,t>0&&o("duet-spacer",{size:"x-large",direction:"horizontal"}),o("duet-button",{ref:t=>this.setDataAttributes(t,e),theme:this.theme,id:e.id,class:"duet-footer-link",variation:"plain",margin:"none",fixed:!0,negative:!0,url:e.href,external:e.external,icon:(null===(r=e.href)||void 0===r?void 0:r.startsWith("tel:"))?"form-tel":(null===(a=e.href)||void 0===a?void 0:a.startsWith("mailto:"))?"navigation-message":"navigation-arrow-right","icon-right":!(null===(d=e.href)||void 0===d?void 0:d.startsWith("tel:"))&&!(null===(n=e.href)||void 0===n?void 0:n.startsWith("mailto:")),"icon-size":(null===(s=e.href)||void 0===s?void 0:s.startsWith("tel:"))||(null===(l=e.href)||void 0===l?void 0:l.startsWith("mailto:"))?"medium":"medium-small",onClick:t=>this.handleItemClick(t,e),onMouseEnter:t=>this.emitDuetEvent(t,e),onTouchStart:t=>this.emitDuetEvent(t,e)},e.label))}))))),o("slot",{key:"9abeaa9ef15e10aa69f0c481f8cd3b1b65ab4273",name:"extra"}),o("p",{key:"9266f09430c4ab355227d765ebb47019453cd175",class:"duet-footer-menu",part:"menu"},o("span",{key:"0b9db71f2534e447db290320c03af61e719c2d20",class:"duet-footer-copyright"},`${t} ${(new Date).getFullYear()}`),o("span",{key:"5d989664700ee20c32bc3debcfc71fa167976514",class:"duet-footer-menu-links"},this.processedMenu&&o(i,{key:"c38f8fa4d356c5f83159e94c445bf6779b357c8b"},this.processedMenu.map((e=>o("a",{ref:t=>this.setDataAttributes(t,e),href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:t=>this.handleMenuClick(t,e),onMouseEnter:t=>this.emitDuetEvent(t,e),onTouchStart:t=>this.emitDuetEvent(t,e)},e.label,e.external&&o(i,null,o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("span",{class:"duet-footer-external"},o("duet-icon",{icon:a.svg,size:"xx-small",margin:"none",color:"currentColor"}))),o("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))))))),o("p",{key:"c9a5926823a901f267f0369a97a244bc2596b6f8",class:"duet-footer-copyright duet-footer-copyright-mobile"},`${t} ${(new Date).getFullYear()}`)))}get element(){return r(this)}static get watchers(){return{menu:["refresh"],items:["refresh"]}}};x.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:0;margin-bottom:16px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin-top:calc(20px - 0.5em);margin-bottom:0}}.duet-footer{display:block;width:100%;padding-top:24px;padding-bottom:16px;margin-top:48px;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(255, 255, 255);text-align:left;background:rgb(8, 42, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center}.duet-footer-top.duet-has-info{align-items:flex-start}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1}@media (min-width: 62em){.duet-footer-top .footer-top-right-container{text-align:right}}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-left:28px}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row;justify-content:flex-end}}duet-logo{margin-bottom:24px;margin-left:16px !important}@media (min-width: 62em){duet-logo{margin-bottom:0;margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;padding-left:28px !important;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-right:0 !important;padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;overflow-wrap:break-word}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{display:block;flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:28px;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(8, 42, 77);background:transparent !important;border-top:1px solid rgb(212, 223, 229)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(8, 42, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';export{x as duet_footer}