@duetds/components 9.16.0 → 9.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (704) hide show
  1. package/hydrate/index.js +126 -97
  2. package/lib/cjs/{a11y-utils-5a9c531a.js → a11y-utils-3f03a649.js} +1 -1
  3. package/lib/cjs/{app-globals-1cf9bebc.js → app-globals-ec84cf84.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +5 -5
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +10 -19
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  10. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +12 -10
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -6
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +18 -6
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +18 -11
  32. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-indicator.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-input_2.cjs.entry.js +14 -14
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +26 -14
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  48. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  78. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  86. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-cd519cbd.js → errorcodes.utils-42b43a15.js} +1 -1
  92. package/lib/cjs/{focus-utils-241733db.js → focus-utils-c047d67f.js} +1 -1
  93. package/lib/cjs/{index-f3dac623.js → index-a23bb130.js} +1 -1
  94. package/lib/cjs/{language-utils-cf6db76f.js → language-utils-ebd2e191.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-872ee5f7.js → slot-utils-628154c1.js} +1 -1
  97. package/lib/cjs/{themeable-component-002fbe60.js → themeable-component-7637c899.js} +1 -1
  98. package/lib/cjs/{token-utils-658c4c54.js → token-utils-c73ca50c.js} +3 -3
  99. package/lib/collection/components/duet-alert/duet-alert.css +1 -0
  100. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  101. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +8 -21
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  103. package/lib/collection/components/duet-button/duet-button.css +3 -0
  104. package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
  105. package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
  106. package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
  107. package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
  108. package/lib/collection/components/duet-fieldset/duet-fieldset.js +6 -5
  109. package/lib/collection/components/duet-grid/duet-grid.js +22 -8
  110. package/lib/collection/components/duet-hero/duet-hero.css +4 -0
  111. package/lib/collection/components/duet-hero/duet-hero.js +13 -6
  112. package/lib/collection/components/duet-input/duet-input.css +7 -0
  113. package/lib/collection/components/duet-input/duet-input.js +19 -34
  114. package/lib/collection/components/duet-link/duet-link.css +6 -0
  115. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
  116. package/lib/collection/components/duet-modal/duet-modal.js +20 -8
  117. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  118. package/lib/collection/components/duet-nav/duet-nav.css +4 -0
  119. package/lib/collection/components/duet-number-input/duet-number-input.js +1 -1
  120. package/lib/collection/components/duet-page-heading/duet-page-heading.js +1 -1
  121. package/lib/collection/components/duet-panel/duet-panel.css +5 -4
  122. package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -0
  123. package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -2
  124. package/lib/collection/components/duet-phone-input/duet-phone-input.js +1 -1
  125. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  126. package/lib/collection/components/duet-select/duet-select.js +1 -1
  127. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
  128. package/lib/collection/components/duet-table/duet-table.css +1 -0
  129. package/lib/collection/components/duet-textarea/duet-textarea.js +1 -1
  130. package/lib/collection/utils/token-utils.js +3 -3
  131. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  132. package/lib/dist-custom-elements/duet-alert.js +1 -1
  133. package/lib/dist-custom-elements/duet-badge.js +1 -1
  134. package/lib/dist-custom-elements/duet-banner.js +4 -4
  135. package/lib/dist-custom-elements/duet-breadcrumb.js +12 -21
  136. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  137. package/lib/dist-custom-elements/duet-button.js +1 -1
  138. package/lib/dist-custom-elements/duet-callout.js +2 -2
  139. package/lib/dist-custom-elements/duet-caption.js +1 -1
  140. package/lib/dist-custom-elements/duet-card.js +4 -4
  141. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  142. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  143. package/lib/dist-custom-elements/duet-chip.js +1 -1
  144. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  145. package/lib/dist-custom-elements/duet-choice.js +4 -4
  146. package/lib/dist-custom-elements/duet-collapsible.js +18 -9
  147. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  148. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  149. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  150. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  151. package/lib/dist-custom-elements/duet-divider.js +1 -1
  152. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  153. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  154. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  155. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  156. package/lib/dist-custom-elements/duet-footer.js +7 -7
  157. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  158. package/lib/dist-custom-elements/duet-grid.js +1 -1
  159. package/lib/dist-custom-elements/duet-header.js +9 -9
  160. package/lib/dist-custom-elements/duet-heading.js +1 -1
  161. package/lib/dist-custom-elements/duet-hero.js +23 -16
  162. package/lib/dist-custom-elements/duet-icon.js +1 -1
  163. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  164. package/lib/dist-custom-elements/duet-input.js +1 -1
  165. package/lib/dist-custom-elements/duet-label.js +1 -1
  166. package/lib/dist-custom-elements/duet-layout.js +1 -1
  167. package/lib/dist-custom-elements/duet-link.js +1 -1
  168. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  169. package/lib/dist-custom-elements/duet-list.js +1 -1
  170. package/lib/dist-custom-elements/duet-logo.js +1 -1
  171. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  172. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  173. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  174. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  175. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  176. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  177. package/lib/dist-custom-elements/duet-modal.js +29 -17
  178. package/lib/dist-custom-elements/duet-multiselect.js +15 -15
  179. package/lib/dist-custom-elements/duet-nav.js +2 -2
  180. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  181. package/lib/dist-custom-elements/duet-notification.js +3 -3
  182. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  183. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  184. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  185. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  186. package/lib/dist-custom-elements/duet-panel.js +2 -2
  187. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  188. package/lib/dist-custom-elements/duet-phone-input.js +17 -17
  189. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  190. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  191. package/lib/dist-custom-elements/duet-progress.js +1 -1
  192. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  193. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  194. package/lib/dist-custom-elements/duet-radio.js +1 -1
  195. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  196. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  197. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  198. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  199. package/lib/dist-custom-elements/duet-select.js +1 -1
  200. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  201. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  202. package/lib/dist-custom-elements/duet-share-chart.js +3 -3
  203. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  204. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  205. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  206. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  207. package/lib/dist-custom-elements/duet-slideout-panel.js +5 -5
  208. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  209. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  210. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  211. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  212. package/lib/dist-custom-elements/duet-step.js +4 -4
  213. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  214. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  215. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  216. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  217. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  218. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  219. package/lib/dist-custom-elements/duet-tab-group.js +8 -8
  220. package/lib/dist-custom-elements/duet-tab.js +2 -2
  221. package/lib/dist-custom-elements/duet-table.js +1 -1
  222. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  223. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  224. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  225. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  226. package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
  227. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  228. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  229. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  230. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  231. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  232. package/lib/dist-custom-elements/duet-tray.js +3 -3
  233. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  234. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  235. package/lib/dist-custom-elements/duet-upload.js +20 -20
  236. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  237. package/lib/dist-custom-elements/index.js +1 -1
  238. package/lib/dist-custom-elements/{p-7e7dcf59.js → p-04b7c053.js} +1 -1
  239. package/lib/dist-custom-elements/{p-41ce0759.js → p-16e2a02e.js} +2 -2
  240. package/lib/dist-custom-elements/{p-bb3c4ead.js → p-197ff38c.js} +1 -1
  241. package/lib/dist-custom-elements/{p-c0f48cc4.js → p-24702026.js} +1 -1
  242. package/lib/dist-custom-elements/{p-21d23d6c.js → p-314fe903.js} +4 -4
  243. package/lib/dist-custom-elements/{p-867790e2.js → p-3875b690.js} +5 -5
  244. package/lib/dist-custom-elements/{p-139e1daa.js → p-3fe34e20.js} +1 -1
  245. package/lib/dist-custom-elements/{p-42a5e1de.js → p-4019d212.js} +19 -6
  246. package/lib/dist-custom-elements/{p-dc0c957e.js → p-414a9cf3.js} +5 -5
  247. package/lib/dist-custom-elements/{p-24404a59.js → p-474d3bfc.js} +1 -1
  248. package/lib/dist-custom-elements/{p-1172497f.js → p-495059d2.js} +2 -2
  249. package/lib/dist-custom-elements/{p-8653283d.js → p-5251b6f3.js} +2 -2
  250. package/lib/dist-custom-elements/{p-6bcaf414.js → p-54c30917.js} +2 -2
  251. package/lib/dist-custom-elements/{p-f5c2e1f7.js → p-5e60533d.js} +1 -1
  252. package/lib/dist-custom-elements/{p-6402ad5d.js → p-5fa530e0.js} +2 -2
  253. package/lib/dist-custom-elements/{p-81d2c117.js → p-6a3c8021.js} +2 -2
  254. package/lib/dist-custom-elements/{p-292fa964.js → p-7500a672.js} +6 -6
  255. package/lib/dist-custom-elements/{p-499da71e.js → p-78b6337a.js} +3 -3
  256. package/lib/dist-custom-elements/{p-bb928027.js → p-7937b6b8.js} +7 -7
  257. package/lib/dist-custom-elements/{p-3972dc75.js → p-7b1d0747.js} +3 -3
  258. package/lib/dist-custom-elements/{p-a019caf4.js → p-80451d58.js} +9 -9
  259. package/lib/dist-custom-elements/{p-1c66f5a0.js → p-858e92f7.js} +2 -2
  260. package/lib/dist-custom-elements/p-96c4a294.js +148 -0
  261. package/lib/dist-custom-elements/{p-886f39eb.js → p-9ffaf6b5.js} +10 -10
  262. package/lib/dist-custom-elements/{p-d40a8125.js → p-a0a4aa34.js} +2 -2
  263. package/lib/dist-custom-elements/{p-a1827b91.js → p-a1e9e10b.js} +4 -4
  264. package/lib/dist-custom-elements/{p-60ffc3cf.js → p-a1ec8b34.js} +1 -1
  265. package/lib/dist-custom-elements/{p-7d6b4a88.js → p-a69b6577.js} +1 -1
  266. package/lib/dist-custom-elements/{p-ab6148ae.js → p-a6e34cfd.js} +7 -5
  267. package/lib/dist-custom-elements/{p-8959f96f.js → p-a81fd33c.js} +2 -2
  268. package/lib/dist-custom-elements/{p-38dd3c2b.js → p-a92010cb.js} +12 -12
  269. package/lib/dist-custom-elements/{p-271a8315.js → p-ad548c39.js} +2 -2
  270. package/lib/dist-custom-elements/{p-52a4d93a.js → p-b0f1b267.js} +1 -1
  271. package/lib/dist-custom-elements/{p-21f19284.js → p-b2b8bd32.js} +8 -8
  272. package/lib/dist-custom-elements/{p-b74c6798.js → p-b678c2ea.js} +5 -5
  273. package/lib/dist-custom-elements/{p-9aa4a7b3.js → p-bf4a60a5.js} +1 -1
  274. package/lib/dist-custom-elements/{p-6c16fc37.js → p-e2596bcf.js} +2 -2
  275. package/lib/dist-custom-elements/{p-7a60242d.js → p-e772674e.js} +2 -2
  276. package/lib/dist-custom-elements/{p-d1f886eb.js → p-ec992e6a.js} +2 -2
  277. package/lib/dist-custom-elements/{p-3663183a.js → p-f1ad635a.js} +2 -2
  278. package/lib/dist-custom-elements/{p-f75df296.js → p-f90dc0c0.js} +20 -20
  279. package/lib/dist-custom-elements/{p-03c9ec22.js → p-fedfd826.js} +2 -2
  280. package/lib/duet/duet.esm.js +1 -1
  281. package/lib/duet/duet.js +1 -1
  282. package/lib/duet/{p-21352a03.system.entry.js → p-008bb91e.system.entry.js} +1 -1
  283. package/lib/duet/p-0438375f.entry.js +4 -0
  284. package/lib/duet/p-049c988c.entry.js +4 -0
  285. package/lib/duet/{p-1ea2eed2.entry.js → p-04d95150.entry.js} +1 -1
  286. package/lib/duet/{p-bb6d4e02.system.entry.js → p-05ca0ad3.system.entry.js} +1 -1
  287. package/lib/duet/{p-b07a5883.system.entry.js → p-05cdcf47.system.entry.js} +1 -1
  288. package/lib/duet/{p-296d890c.entry.js → p-061ef483.entry.js} +1 -1
  289. package/lib/duet/{p-6e9997df.system.entry.js → p-06359695.system.entry.js} +1 -1
  290. package/lib/duet/{p-839650fa.system.entry.js → p-0b80b34f.system.entry.js} +1 -1
  291. package/lib/duet/{p-2a01ec55.system.entry.js → p-0fa600fe.system.entry.js} +1 -1
  292. package/lib/duet/p-0ff69fd9.system.entry.js +4 -0
  293. package/lib/duet/{p-f32df45c.entry.js → p-1070bd45.entry.js} +1 -1
  294. package/lib/duet/{p-59777da7.system.js → p-13eec75c.system.js} +1 -1
  295. package/lib/duet/{p-b50db31a.entry.js → p-19b6319d.entry.js} +1 -1
  296. package/lib/duet/{p-abbe0bdb.entry.js → p-1adddd5f.entry.js} +1 -1
  297. package/lib/duet/p-1c37974e.entry.js +4 -0
  298. package/lib/duet/p-1cd1ae13.system.entry.js +4 -0
  299. package/lib/duet/{p-f7f9a565.system.entry.js → p-1d003050.system.entry.js} +1 -1
  300. package/lib/duet/{p-2ca74bdf.system.js → p-1f4fc545.system.js} +1 -1
  301. package/lib/duet/p-1f9e01ca.entry.js +4 -0
  302. package/lib/duet/{p-f743f28c.system.entry.js → p-212cdff6.system.entry.js} +1 -1
  303. package/lib/duet/{p-85b614eb.entry.js → p-23e07f62.entry.js} +1 -1
  304. package/lib/duet/p-2436f107.system.js +4 -0
  305. package/lib/duet/{p-adef3dfe.entry.js → p-2437fb8b.entry.js} +1 -1
  306. package/lib/duet/{p-891b2193.entry.js → p-273b65d0.entry.js} +1 -1
  307. package/lib/duet/{p-249ece01.system.entry.js → p-29076935.system.entry.js} +1 -1
  308. package/lib/duet/{p-e4e4e4d7.system.entry.js → p-293e9e27.system.entry.js} +1 -1
  309. package/lib/duet/p-29d51b92.system.entry.js +4 -0
  310. package/lib/duet/{p-5f1e33f1.system.entry.js → p-2d1690fa.system.entry.js} +1 -1
  311. package/lib/duet/p-2e8124ec.entry.js +4 -0
  312. package/lib/duet/{p-11158849.entry.js → p-2fa5de89.entry.js} +1 -1
  313. package/lib/duet/{p-8d82f49d.entry.js → p-3294a767.entry.js} +1 -1
  314. package/lib/duet/{p-9cbabc0b.system.entry.js → p-33700431.system.entry.js} +1 -1
  315. package/lib/duet/{p-143df6ab.entry.js → p-3476ee3c.entry.js} +1 -1
  316. package/lib/duet/{p-58f230b9.entry.js → p-39754220.entry.js} +1 -1
  317. package/lib/duet/{p-b137766b.entry.js → p-3a36c86a.entry.js} +1 -1
  318. package/lib/duet/{p-a195d9c1.entry.js → p-3cff3d41.entry.js} +1 -1
  319. package/lib/duet/{p-20ad3525.entry.js → p-3dc9bee2.entry.js} +1 -1
  320. package/lib/duet/{p-adc02ebb.system.js → p-3f42d7b1.system.js} +1 -1
  321. package/lib/duet/{p-0e638ebd.system.entry.js → p-410c86aa.system.entry.js} +2 -2
  322. package/lib/duet/{p-e89c1ca6.entry.js → p-42d40a3c.entry.js} +1 -1
  323. package/lib/duet/{p-05e0ef86.system.entry.js → p-443ac457.system.entry.js} +1 -1
  324. package/lib/duet/{p-c73fad00.system.entry.js → p-46183ffe.system.entry.js} +1 -1
  325. package/lib/duet/{p-7677fb67.system.entry.js → p-47d5e1ce.system.entry.js} +1 -1
  326. package/lib/duet/{p-fcdf0b4f.entry.js → p-493aa637.entry.js} +1 -1
  327. package/lib/duet/{p-a07cef22.entry.js → p-496f50a3.entry.js} +1 -1
  328. package/lib/duet/{p-a0512a05.system.entry.js → p-4b6044f0.system.entry.js} +1 -1
  329. package/lib/duet/{p-e0308e1f.entry.js → p-4bb73342.entry.js} +1 -1
  330. package/lib/duet/{p-489f6566.entry.js → p-4d453e20.entry.js} +1 -1
  331. package/lib/duet/{p-e78a7199.entry.js → p-4da157c6.entry.js} +1 -1
  332. package/lib/duet/{p-38838777.system.entry.js → p-52284920.system.entry.js} +1 -1
  333. package/lib/duet/{p-00c65f9d.entry.js → p-537a1070.entry.js} +1 -1
  334. package/lib/duet/{p-3f59cd08.js → p-53e6e1da.js} +1 -1
  335. package/lib/duet/p-55666326.system.entry.js +4 -0
  336. package/lib/duet/p-56774ba4.system.js +4 -0
  337. package/lib/duet/{p-757f068a.system.entry.js → p-56c98bbe.system.entry.js} +1 -1
  338. package/lib/duet/{p-c0ad7828.system.entry.js → p-57184a72.system.entry.js} +1 -1
  339. package/lib/duet/{p-8dad8fce.system.entry.js → p-577ef99d.system.entry.js} +1 -1
  340. package/lib/duet/{p-85ed8d2a.entry.js → p-57e79e5a.entry.js} +1 -1
  341. package/lib/duet/{p-29287b24.entry.js → p-581391e8.entry.js} +1 -1
  342. package/lib/duet/{p-8f0bdfa8.system.entry.js → p-58deab8e.system.entry.js} +1 -1
  343. package/lib/duet/{p-1db742d9.system.entry.js → p-5b1d7d11.system.entry.js} +1 -1
  344. package/lib/duet/{p-de4d3f16.entry.js → p-5bbfd1f3.entry.js} +1 -1
  345. package/lib/duet/{p-c7fc62e7.system.entry.js → p-5f76cca6.system.entry.js} +1 -1
  346. package/lib/duet/{p-1ea05c4e.entry.js → p-60e0b1b3.entry.js} +1 -1
  347. package/lib/duet/{p-5a5d2bd5.system.entry.js → p-62f62a4e.system.entry.js} +2 -2
  348. package/lib/duet/{p-ec3ce240.entry.js → p-64fff9d4.entry.js} +1 -1
  349. package/lib/duet/p-65282a91.entry.js +4 -0
  350. package/lib/duet/{p-b4f2405c.entry.js → p-65b5d699.entry.js} +1 -1
  351. package/lib/duet/{p-c4eff1d7.system.entry.js → p-663ffd9a.system.entry.js} +1 -1
  352. package/lib/duet/{p-0ee0acc5.entry.js → p-67c1b790.entry.js} +1 -1
  353. package/lib/duet/{p-c282ebfd.entry.js → p-67c57029.entry.js} +1 -1
  354. package/lib/duet/p-68b8d3a7.entry.js +4 -0
  355. package/lib/duet/{p-a15d9a7f.system.entry.js → p-68ec675c.system.entry.js} +1 -1
  356. package/lib/duet/{p-688647ad.js → p-68fea15e.js} +1 -1
  357. package/lib/duet/{p-ce5b779c.system.entry.js → p-6a768ba8.system.entry.js} +1 -1
  358. package/lib/duet/p-6af320c5.system.entry.js +4 -0
  359. package/lib/duet/{p-9bb58dc0.system.entry.js → p-6e179c6b.system.entry.js} +1 -1
  360. package/lib/duet/{p-9aa64cd1.system.entry.js → p-700d90be.system.entry.js} +2 -2
  361. package/lib/duet/{p-b31576e2.entry.js → p-718db92a.entry.js} +1 -1
  362. package/lib/duet/p-74a09baf.system.entry.js +4 -0
  363. package/lib/duet/{p-a3ea8aa0.system.js → p-76503ac9.system.js} +1 -1
  364. package/lib/duet/{p-68e43f24.entry.js → p-76fa145c.entry.js} +1 -1
  365. package/lib/duet/{p-53f7c29f.entry.js → p-79f4d63d.entry.js} +1 -1
  366. package/lib/duet/{p-15745be0.system.entry.js → p-7a4605fd.system.entry.js} +1 -1
  367. package/lib/duet/p-7a9e70bd.entry.js +4 -0
  368. package/lib/duet/p-7ae725cf.system.js +4 -0
  369. package/lib/duet/{p-79565bed.system.entry.js → p-7c11a214.system.entry.js} +1 -1
  370. package/lib/duet/{p-1dcaf506.js → p-7ea0d841.js} +1 -1
  371. package/lib/duet/{p-e30f0acf.entry.js → p-7fb3b41a.entry.js} +1 -1
  372. package/lib/duet/p-80bf7a6d.js +4 -0
  373. package/lib/duet/{p-9ddf4f25.entry.js → p-823df6f8.entry.js} +1 -1
  374. package/lib/duet/{p-eecbc77f.system.entry.js → p-847984b4.system.entry.js} +1 -1
  375. package/lib/duet/{p-0db191ad.entry.js → p-8480c4ef.entry.js} +1 -1
  376. package/lib/duet/{p-777d0fdd.system.entry.js → p-85e2b80d.system.entry.js} +1 -1
  377. package/lib/duet/p-8642fde1.js +4 -0
  378. package/lib/duet/{p-7582d712.system.entry.js → p-86482d30.system.entry.js} +1 -1
  379. package/lib/duet/{p-84c3c6a9.entry.js → p-8668b568.entry.js} +1 -1
  380. package/lib/duet/{p-b7706f3e.system.entry.js → p-87097e7a.system.entry.js} +1 -1
  381. package/lib/duet/{p-09f85d39.entry.js → p-876e3c63.entry.js} +1 -1
  382. package/lib/duet/{p-32d67711.entry.js → p-88cf5661.entry.js} +1 -1
  383. package/lib/duet/{p-a1b74038.entry.js → p-899d6d41.entry.js} +1 -1
  384. package/lib/duet/p-8ab631e7.entry.js +4 -0
  385. package/lib/duet/p-8ab69ada.entry.js +4 -0
  386. package/lib/duet/p-8e2ffeb6.system.entry.js +4 -0
  387. package/lib/duet/{p-6796f3c3.system.entry.js → p-9117cb65.system.entry.js} +1 -1
  388. package/lib/duet/{p-73db1b4e.entry.js → p-9468eb9d.entry.js} +1 -1
  389. package/lib/duet/{p-66fbd83d.system.entry.js → p-94b4498f.system.entry.js} +1 -1
  390. package/lib/duet/{p-d02c0a0b.entry.js → p-95193904.entry.js} +1 -1
  391. package/lib/duet/{p-fc154425.system.entry.js → p-97374309.system.entry.js} +1 -1
  392. package/lib/duet/{p-578c23a4.system.entry.js → p-9b4645ac.system.entry.js} +1 -1
  393. package/lib/duet/{p-449238fa.entry.js → p-9d8190ef.entry.js} +1 -1
  394. package/lib/duet/{p-be76413c.system.entry.js → p-a0b4a7c0.system.entry.js} +1 -1
  395. package/lib/duet/{p-b9ea2688.system.entry.js → p-a270142b.system.entry.js} +1 -1
  396. package/lib/duet/p-a2b06e6c.system.entry.js +4 -0
  397. package/lib/duet/{p-ed9f7d82.system.entry.js → p-a3e95ce2.system.entry.js} +1 -1
  398. package/lib/duet/{p-0e1edb8d.system.entry.js → p-a40be7c9.system.entry.js} +1 -1
  399. package/lib/duet/{p-a1166aa4.entry.js → p-a5997dea.entry.js} +1 -1
  400. package/lib/duet/p-a5ddcabc.system.js +4 -0
  401. package/lib/duet/{p-f922b327.entry.js → p-a65df70c.entry.js} +1 -1
  402. package/lib/duet/{p-34b4e0d4.system.entry.js → p-a6944360.system.entry.js} +1 -1
  403. package/lib/duet/{p-75e98d7d.entry.js → p-a9c973e2.entry.js} +1 -1
  404. package/lib/duet/{p-b737793a.system.entry.js → p-ad04b6d1.system.entry.js} +1 -1
  405. package/lib/duet/{p-c1186d0d.entry.js → p-ae7b2ff0.entry.js} +1 -1
  406. package/lib/duet/{p-1e543545.entry.js → p-ae898815.entry.js} +1 -1
  407. package/lib/duet/{p-817e80e5.entry.js → p-b0d6f6da.entry.js} +1 -1
  408. package/lib/duet/{p-ef3038cf.entry.js → p-b28604f2.entry.js} +1 -1
  409. package/lib/duet/{p-e05bbc0f.entry.js → p-b348dd23.entry.js} +1 -1
  410. package/lib/duet/p-b4bdd169.entry.js +4 -0
  411. package/lib/duet/p-b4ffb80d.js +4 -0
  412. package/lib/duet/{p-c327a6b9.entry.js → p-b62b157d.entry.js} +1 -1
  413. package/lib/duet/p-b81c80d4.js +4 -0
  414. package/lib/duet/{p-103e565a.system.entry.js → p-badd028d.system.entry.js} +1 -1
  415. package/lib/duet/{p-96d506b1.entry.js → p-bb69d7c1.entry.js} +1 -1
  416. package/lib/duet/p-bd89ee4c.system.entry.js +4 -0
  417. package/lib/duet/{p-9f6eba5f.system.entry.js → p-bf2ef446.system.entry.js} +1 -1
  418. package/lib/duet/{p-335f3ad7.system.entry.js → p-c01ab555.system.entry.js} +1 -1
  419. package/lib/duet/{p-5610daf3.system.entry.js → p-c185128e.system.entry.js} +1 -1
  420. package/lib/duet/{p-8808de6e.system.entry.js → p-c1b0c2d9.system.entry.js} +1 -1
  421. package/lib/duet/{p-9c0eb1e6.entry.js → p-c2a4fdd4.entry.js} +1 -1
  422. package/lib/duet/{p-f1f892da.system.entry.js → p-c34f89af.system.entry.js} +1 -1
  423. package/lib/duet/{p-53601652.entry.js → p-c6b55245.entry.js} +1 -1
  424. package/lib/duet/{p-682a0ad1.js → p-c6d073be.js} +1 -1
  425. package/lib/duet/{p-f2c7e3ee.system.entry.js → p-c843e862.system.entry.js} +1 -1
  426. package/lib/duet/{p-12398ce3.entry.js → p-c97abf64.entry.js} +1 -1
  427. package/lib/duet/{p-7da818b1.js → p-ca32f459.js} +1 -1
  428. package/lib/duet/{p-181b00e5.system.entry.js → p-caa37dc7.system.entry.js} +1 -1
  429. package/lib/duet/{p-b5defe7d.entry.js → p-cbf98d67.entry.js} +1 -1
  430. package/lib/duet/{p-17375bc6.system.entry.js → p-cd1744f2.system.entry.js} +1 -1
  431. package/lib/duet/{p-bf53d017.entry.js → p-ceb58878.entry.js} +1 -1
  432. package/lib/duet/{p-b3e8a986.entry.js → p-cfa5ca24.entry.js} +1 -1
  433. package/lib/duet/{p-a90271b5.system.entry.js → p-d191efda.system.entry.js} +1 -1
  434. package/lib/duet/{p-a388ed17.system.entry.js → p-d2e4bd07.system.entry.js} +1 -1
  435. package/lib/duet/p-d384c9b0.entry.js +4 -0
  436. package/lib/duet/{p-67ce5fe7.system.entry.js → p-d5ddd427.system.entry.js} +1 -1
  437. package/lib/duet/{p-29a57223.entry.js → p-da1d7e82.entry.js} +1 -1
  438. package/lib/duet/{p-1c21d6bb.entry.js → p-dbb01db7.entry.js} +1 -1
  439. package/lib/duet/{p-c70b69a7.system.entry.js → p-dc330b8c.system.entry.js} +1 -1
  440. package/lib/duet/{p-ab8f38c1.entry.js → p-dcd63244.entry.js} +1 -1
  441. package/lib/duet/{p-a142a88f.system.js → p-ddf20691.system.js} +1 -1
  442. package/lib/duet/{p-ff81c192.system.entry.js → p-ddf7a3ca.system.entry.js} +1 -1
  443. package/lib/duet/{p-69186487.entry.js → p-dfe1b2d2.entry.js} +1 -1
  444. package/lib/duet/{p-185be698.system.entry.js → p-e080806b.system.entry.js} +1 -1
  445. package/lib/duet/{p-c398295a.entry.js → p-e14eece2.entry.js} +1 -1
  446. package/lib/duet/{p-928c05ef.system.entry.js → p-e177046c.system.entry.js} +1 -1
  447. package/lib/duet/{p-5c636299.system.entry.js → p-e1d27084.system.entry.js} +1 -1
  448. package/lib/duet/{p-700d96c2.system.entry.js → p-e3656611.system.entry.js} +1 -1
  449. package/lib/duet/{p-151e589f.entry.js → p-e3752ac5.entry.js} +1 -1
  450. package/lib/duet/{p-c861f3d9.entry.js → p-e3c246cb.entry.js} +1 -1
  451. package/lib/duet/{p-6d52ee47.entry.js → p-e58784e3.entry.js} +1 -1
  452. package/lib/duet/{p-5df26556.system.entry.js → p-e5f8e365.system.entry.js} +1 -1
  453. package/lib/duet/{p-d33eef1f.entry.js → p-e94c7242.entry.js} +1 -1
  454. package/lib/duet/p-e9a0f29e.system.entry.js +4 -0
  455. package/lib/duet/{p-bbb5ceff.system.entry.js → p-ebe1da5f.system.entry.js} +1 -1
  456. package/lib/duet/{p-31740db1.system.entry.js → p-ed759aeb.system.entry.js} +1 -1
  457. package/lib/duet/{p-144aab10.system.entry.js → p-ef853142.system.entry.js} +1 -1
  458. package/lib/duet/{p-f50d1845.system.js → p-f183abd6.system.js} +1 -1
  459. package/lib/duet/{p-770aa3e8.entry.js → p-f55a48a1.entry.js} +1 -1
  460. package/lib/duet/{p-9dc73fc9.system.entry.js → p-f6711efe.system.entry.js} +1 -1
  461. package/lib/duet/{p-0e414d45.system.entry.js → p-f6b920dd.system.entry.js} +1 -1
  462. package/lib/duet/{p-bcadf02c.system.entry.js → p-f6d7404f.system.entry.js} +1 -1
  463. package/lib/duet/{p-c7d0fd92.entry.js → p-f6efded0.entry.js} +1 -1
  464. package/lib/duet/{p-709df441.entry.js → p-f6f1463b.entry.js} +1 -1
  465. package/lib/duet/{p-a47b5cf0.system.entry.js → p-fa1176a3.system.entry.js} +2 -2
  466. package/lib/duet/{p-0ab42908.system.entry.js → p-fa24fae9.system.entry.js} +1 -1
  467. package/lib/duet/{p-e7f98811.entry.js → p-fa2f610d.entry.js} +1 -1
  468. package/lib/duet/{p-fc168be9.system.entry.js → p-fb26ac12.system.entry.js} +1 -1
  469. package/lib/duet/{p-1eac8308.entry.js → p-fd806af2.entry.js} +1 -1
  470. package/lib/duet/{p-efd3c1ca.system.entry.js → p-fdf201cd.system.entry.js} +1 -1
  471. package/lib/duet/{p-28439eeb.system.entry.js → p-fe781761.system.entry.js} +1 -1
  472. package/lib/duet/{p-9e2eef25.entry.js → p-ff8570f9.entry.js} +1 -1
  473. package/lib/esm/{a11y-utils-056fbc86.js → a11y-utils-477acfdc.js} +1 -1
  474. package/lib/esm/{app-globals-2e3fbb8b.js → app-globals-fbabb161.js} +1 -1
  475. package/lib/esm/duet-action-button.entry.js +4 -4
  476. package/lib/esm/duet-alert.entry.js +5 -5
  477. package/lib/esm/duet-badge.entry.js +3 -3
  478. package/lib/esm/duet-banner.entry.js +4 -4
  479. package/lib/esm/duet-breadcrumb.entry.js +10 -19
  480. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  481. package/lib/esm/duet-button_2.entry.js +5 -5
  482. package/lib/esm/duet-callout.entry.js +3 -3
  483. package/lib/esm/duet-caption_4.entry.js +12 -10
  484. package/lib/esm/duet-card.entry.js +4 -4
  485. package/lib/esm/duet-checkbox.entry.js +2 -2
  486. package/lib/esm/duet-checkmark.entry.js +2 -2
  487. package/lib/esm/duet-chip.entry.js +3 -3
  488. package/lib/esm/duet-choice_2.entry.js +4 -4
  489. package/lib/esm/duet-collapsible.entry.js +17 -8
  490. package/lib/esm/duet-combobox.entry.js +4 -4
  491. package/lib/esm/duet-contact-card.entry.js +3 -3
  492. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  493. package/lib/esm/duet-date-picker.entry.js +5 -5
  494. package/lib/esm/duet-divider_2.entry.js +3 -3
  495. package/lib/esm/duet-editable-table_3.entry.js +6 -6
  496. package/lib/esm/duet-empty-state.entry.js +2 -2
  497. package/lib/esm/duet-fieldset.entry.js +7 -7
  498. package/lib/esm/duet-file-chooser.entry.js +2 -2
  499. package/lib/esm/duet-footer.entry.js +4 -4
  500. package/lib/esm/duet-grid_2.entry.js +18 -6
  501. package/lib/esm/duet-header_2.entry.js +4 -4
  502. package/lib/esm/duet-hero.entry.js +18 -11
  503. package/lib/esm/duet-icon.entry.js +3 -3
  504. package/lib/esm/duet-indicator.entry.js +2 -2
  505. package/lib/esm/duet-input_2.entry.js +14 -14
  506. package/lib/esm/duet-layout.entry.js +2 -2
  507. package/lib/esm/duet-list_2.entry.js +2 -2
  508. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  509. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  510. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  511. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  512. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  513. package/lib/esm/duet-menu-bar.entry.js +4 -4
  514. package/lib/esm/duet-modal.entry.js +26 -14
  515. package/lib/esm/duet-multiselect.entry.js +9 -9
  516. package/lib/esm/duet-nav.entry.js +3 -3
  517. package/lib/esm/duet-notification_2.entry.js +3 -3
  518. package/lib/esm/duet-number-input.entry.js +4 -4
  519. package/lib/esm/duet-overlay.entry.js +2 -2
  520. package/lib/esm/duet-page-heading.entry.js +3 -3
  521. package/lib/esm/duet-pagination_2.entry.js +4 -4
  522. package/lib/esm/duet-panel.entry.js +3 -3
  523. package/lib/esm/duet-phone-input.entry.js +4 -4
  524. package/lib/esm/duet-popup-menu_2.entry.js +4 -4
  525. package/lib/esm/duet-progress.entry.js +3 -3
  526. package/lib/esm/duet-promo-card.entry.js +4 -4
  527. package/lib/esm/duet-radio_2.entry.js +3 -3
  528. package/lib/esm/duet-range-slider.entry.js +2 -2
  529. package/lib/esm/duet-scrollable_3.entry.js +5 -5
  530. package/lib/esm/duet-section-layout.entry.js +1 -1
  531. package/lib/esm/duet-select.entry.js +3 -3
  532. package/lib/esm/duet-shaped-image.entry.js +2 -2
  533. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  534. package/lib/esm/duet-share-chart.entry.js +5 -5
  535. package/lib/esm/duet-show-more.entry.js +3 -3
  536. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  537. package/lib/esm/duet-slideout-link.entry.js +5 -5
  538. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  539. package/lib/esm/duet-slideout-panel.entry.js +6 -6
  540. package/lib/esm/duet-slideout.entry.js +6 -6
  541. package/lib/esm/duet-status-icon.entry.js +1 -1
  542. package/lib/esm/duet-step_2.entry.js +3 -3
  543. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  544. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  545. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  546. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  547. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  548. package/lib/esm/duet-textarea.entry.js +4 -4
  549. package/lib/esm/duet-toggle.entry.js +2 -2
  550. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  551. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  552. package/lib/esm/duet-toolbar-item.entry.js +5 -5
  553. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  554. package/lib/esm/duet-toolbar.entry.js +2 -2
  555. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  556. package/lib/esm/duet-tooltip.entry.js +3 -3
  557. package/lib/esm/duet-tray.entry.js +3 -3
  558. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  559. package/lib/esm/duet-upload-item.entry.js +4 -4
  560. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  561. package/lib/esm/duet.js +4 -4
  562. package/lib/esm/{errorcodes.utils-1673d536.js → errorcodes.utils-3b160dbb.js} +1 -1
  563. package/lib/esm/{focus-utils-ef5827e9.js → focus-utils-1bece0cd.js} +1 -1
  564. package/lib/esm/{index-917bdca5.js → index-79fc1b32.js} +1 -1
  565. package/lib/esm/{language-utils-fc71dceb.js → language-utils-a17dc5f3.js} +1 -1
  566. package/lib/esm/loader.js +4 -4
  567. package/lib/esm/{slot-utils-e20aeb67.js → slot-utils-b099bb75.js} +1 -1
  568. package/lib/esm/{themeable-component-5aa6dce7.js → themeable-component-356b273d.js} +1 -1
  569. package/lib/esm/{token-utils-06ae5c10.js → token-utils-cf052bc0.js} +3 -3
  570. package/lib/esm-es5/{a11y-utils-056fbc86.js → a11y-utils-477acfdc.js} +1 -1
  571. package/lib/esm-es5/{app-globals-2e3fbb8b.js → app-globals-fbabb161.js} +1 -1
  572. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  573. package/lib/esm-es5/duet-alert.entry.js +1 -1
  574. package/lib/esm-es5/duet-badge.entry.js +1 -1
  575. package/lib/esm-es5/duet-banner.entry.js +1 -1
  576. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  577. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  578. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  579. package/lib/esm-es5/duet-callout.entry.js +1 -1
  580. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  581. package/lib/esm-es5/duet-card.entry.js +1 -1
  582. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  583. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  584. package/lib/esm-es5/duet-chip.entry.js +1 -1
  585. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  586. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  587. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  588. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  589. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  590. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  591. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  592. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  593. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  594. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  595. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  596. package/lib/esm-es5/duet-footer.entry.js +1 -1
  597. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  598. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-hero.entry.js +1 -1
  600. package/lib/esm-es5/duet-icon.entry.js +1 -1
  601. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  602. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  603. package/lib/esm-es5/duet-layout.entry.js +1 -1
  604. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  605. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  606. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  607. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  608. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  609. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  610. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  611. package/lib/esm-es5/duet-modal.entry.js +1 -1
  612. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  613. package/lib/esm-es5/duet-nav.entry.js +1 -1
  614. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  615. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  616. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  617. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  618. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-panel.entry.js +1 -1
  620. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  621. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  622. package/lib/esm-es5/duet-progress.entry.js +1 -1
  623. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  624. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  626. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  627. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  628. package/lib/esm-es5/duet-select.entry.js +1 -1
  629. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  630. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  631. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  632. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  633. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  634. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  635. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  636. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  637. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  638. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  639. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  640. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  641. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  642. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  643. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  644. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  645. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  646. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  647. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  648. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  649. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  650. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  652. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  653. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  654. package/lib/esm-es5/duet-tray.entry.js +1 -1
  655. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  656. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  657. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  658. package/lib/esm-es5/duet.js +1 -1
  659. package/lib/esm-es5/{errorcodes.utils-1673d536.js → errorcodes.utils-3b160dbb.js} +1 -1
  660. package/lib/esm-es5/{focus-utils-ef5827e9.js → focus-utils-1bece0cd.js} +1 -1
  661. package/lib/esm-es5/{index-917bdca5.js → index-79fc1b32.js} +1 -1
  662. package/lib/esm-es5/{language-utils-fc71dceb.js → language-utils-a17dc5f3.js} +1 -1
  663. package/lib/esm-es5/loader.js +1 -1
  664. package/lib/esm-es5/{slot-utils-e20aeb67.js → slot-utils-b099bb75.js} +1 -1
  665. package/lib/esm-es5/{themeable-component-5aa6dce7.js → themeable-component-356b273d.js} +1 -1
  666. package/lib/esm-es5/{token-utils-06ae5c10.js → token-utils-cf052bc0.js} +1 -1
  667. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  668. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -3
  669. package/lib/types/components/duet-hero/duet-hero.d.ts +2 -0
  670. package/lib/types/components/duet-input/duet-input.d.ts +5 -10
  671. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  672. package/lib/types/components.d.ts +23 -4
  673. package/package.json +4 -4
  674. package/lib/dist-custom-elements/p-4f923779.js +0 -148
  675. package/lib/duet/p-07eaae93.js +0 -4
  676. package/lib/duet/p-0b1f9ab1.entry.js +0 -4
  677. package/lib/duet/p-0faea567.js +0 -4
  678. package/lib/duet/p-1099e3c1.entry.js +0 -4
  679. package/lib/duet/p-202295c7.system.entry.js +0 -4
  680. package/lib/duet/p-297be33a.entry.js +0 -4
  681. package/lib/duet/p-2a327afb.system.js +0 -4
  682. package/lib/duet/p-314579ab.system.entry.js +0 -4
  683. package/lib/duet/p-39c9a066.system.entry.js +0 -4
  684. package/lib/duet/p-3ad777ed.system.js +0 -4
  685. package/lib/duet/p-3b48325f.entry.js +0 -4
  686. package/lib/duet/p-49e49df2.entry.js +0 -4
  687. package/lib/duet/p-51680ed4.system.js +0 -4
  688. package/lib/duet/p-617a3a36.system.entry.js +0 -4
  689. package/lib/duet/p-7c726fa5.entry.js +0 -4
  690. package/lib/duet/p-88433a46.system.entry.js +0 -4
  691. package/lib/duet/p-90f215e3.system.entry.js +0 -4
  692. package/lib/duet/p-931c3e0e.system.entry.js +0 -4
  693. package/lib/duet/p-9cf1f9b9.entry.js +0 -4
  694. package/lib/duet/p-9ecf394a.system.js +0 -4
  695. package/lib/duet/p-a2a4a889.entry.js +0 -4
  696. package/lib/duet/p-a652025e.system.entry.js +0 -4
  697. package/lib/duet/p-c0de9913.entry.js +0 -4
  698. package/lib/duet/p-d329f24b.system.entry.js +0 -4
  699. package/lib/duet/p-d66c0235.entry.js +0 -4
  700. package/lib/duet/p-dc68a5b4.entry.js +0 -4
  701. package/lib/duet/p-deec5fa6.entry.js +0 -4
  702. package/lib/duet/p-e63f5ff5.js +0 -4
  703. package/lib/duet/p-f33021ec.system.entry.js +0 -4
  704. package/lib/duet/p-f587ebfc.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{u(i.next(t))}catch(t){a(t)}}function d(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(r,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;o=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1];a=d;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(d);break}if(a[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-a3ea8aa0.system.js","./p-f50d1845.system.js","./p-98636086.system.js","./p-59777da7.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-9ecf394a.system.js","./p-a142a88f.system.js","./p-e6b5a1c7.system.js","./p-64959c1d.system.js","./p-3ad777ed.system.js"],(function(t){"use strict";var e,n,i,o,a,r,d,u,l,s,h,c,p,m,b,g,k;return{setters:[function(t){e=t.r;n=t.h;i=t.H;o=t.g;a=t.F},function(t){r=t.i},function(t){d=t.s},function(t){u=t.g},function(t){l=t.a},function(t){s=t.a;h=t.e},function(t){c=t.g},function(t){p=t.a;m=t.g;b=t.c;g=t.d},function(t){k=t.c},function(){},function(){}],execute:function(){var f=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}:host(.duet-theme-turva2.duet-caption-selected.duet-theme-turva){color:#172a3b}';var v=f;var x=t("duet_caption",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){return n(i,{key:"6536dfff2137c85741a34401a550ecd205ba897a",class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",{key:"61789c613b54670e42ca147df64c22c5896d7cec"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());x.style=v;var w='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}:host(.duet-theme-turva2) .duet-heading.duet-theme-turva{font-style:normal !important;color:#172a3b}';var y=w;var _=t("duet_heading",function(){function t(t){e(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false;this.accessibleLabel=undefined}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=d(this.level);var i=u(this.color);return n(e,{key:"bc299c0ea4ad4bdd99c0639232256d05f5b9f7ae",class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),"aria-label":this.accessibleLabel,style:{color:i},part:"duet-heading"},n("slot",{key:"df40f8253af53c92014919c80b9fc9ad1d7eaafb"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());_.style=y;var z={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'};var S={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'};var j={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link,.block-center.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon,.block-center.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none,.block-center.duet-link.none{padding:0}.block .block__icon,.block-center .block__icon{display:flex}.block .block__icon duet-icon,.block-center .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content,.block-center .block__content{position:relative;bottom:2px}.block .block__chevron,.block-center .block__chevron{align-self:center}.block .block__chevron-icon,.block-center .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon,.block-center:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.block-center.duet-link{align-items:center}.block-center .block__content{position:static}.block-center .block__chevron{display:flex;align-items:center}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.list-button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.list-button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.list-button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.list-button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.list-button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.list-button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.list-button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.list-button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.list-button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.list-button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.list-button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.list-button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.list-button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.list-button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.list-button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.list-button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.list-button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.list-button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.list-button{padding:20px 12px 20px 4px;margin-top:-1px;border:solid 1px rgb(181, 198, 208);border-width:1px 0;border-radius:0}.duet-link.list-button .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.list-button .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.list-button:hover{border-color:rgb(181, 198, 208);outline:0}.duet-link.list-button:hover .duet-link-content{color:rgb(0, 119, 179)}.duet-link.list-button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.list-button.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-link.list-button.duet-theme-turva:hover .duet-link-content{color:rgb(198, 12, 48)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}:host(.duet-theme-turva2) .duet-tab-to-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva,:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva .duet-link-content,:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva .duet-link-content{color:#172a3b}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover .duet-link-content{color:#e61740}';var U=I;var A=t("duet_link",function(){function t(t){e(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=s;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=h;this.accessibleLabelDownload=m(this.accessibleLabelDownloadDefaults);this.accessibleExpanded=undefined;this.accessiblePopup="false";this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.margin="auto";this.padding="auto";this.isMediumScreen=false;this.ariaLabel=undefined}t.prototype.componentWillLoad=function(){r(this);this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){b(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});this.setAriaLabel();{this.mutationObserver=new MutationObserver(this.setAriaLabel.bind(this));this.mutationObserver.observe(this.element,{subtree:true,childList:true,characterData:true})}};t.prototype.disconnectedCallback=function(){g(this);if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.setAriaLabel=function(){var t=this;setTimeout((function(){t.ariaLabel=t.url&&c(t)||t.accessibleLabel}))};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&n(a,null,n("span",{class:"duet-link-icon-tail"}," ",n("duet-icon",{icon:this.resolvedDownload?S.svg:l.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderDefaultContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:z.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonCardContent=function(){var t={"background-color":u(this.iconBackground,this.theme)};return n(a,null,this.icon&&n("span",{class:"icon-wrap",style:t},n("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("div",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),n("span",{class:"chevron-wrap"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:z.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":case"block-center":return this.renderBlockContent();case"button":case"list-button":case"card":return this.renderButtonCardContent()}};t.prototype.render=function(){var t,e;var o=this;var a=!this.url&&this.variation!=="default"?"button":"a";var r=!this.url&&this.variation==="default"?"button":null;var d=a==="button";return n(i,{key:"d83502af54d3fa4f2aec80d7082a5a6969207a39",class:(t={},t["duet-link-".concat(this.variation)]=true,t["duet-m-0"]=this.margin==="none",t)},n(a,{key:"534e9bcb74e02dc050ac1986b251f08215c8aa7d",href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.ariaLabel,"aria-expanded":this.accessibleExpanded!=null&&d?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null&&d?this.accessiblePopup.toString():undefined,id:this.identifier,ref:function(t){return o.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined,role:r},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{download:["setAriaLabel"],external:["setAriaLabel"],language:["setAriaLabel"]}},enumerable:false,configurable:true});return t}());A.style=U;var E='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}:host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) ::slotted(a).duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva{color:#8c001e}';var C=E;var M=t("duet_paragraph",function(){function t(t){e(this,t);this.id=k("duet-paragraph");this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=u(this.color);return n(i,{key:"6c38dc5fb6f87779ecd9ea5b619940c7f867f52d","aria-describedby":this.id},n("p",{key:"8f022c00f776608c4f37b84de10e7fe8224552d9",id:this.id,class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t),style:{color:e},part:"duet-paragraph"},n("slot",{key:"0a60d3f54e35dc856a508c399dfe965695761324"})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());M.style=C}}}));
4
+ */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-98636086.system.js","./p-13eec75c.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-56774ba4.system.js","./p-ddf20691.system.js","./p-e6b5a1c7.system.js","./p-64959c1d.system.js","./p-a5ddcabc.system.js"],(function(t){"use strict";var e,n,i,o,a,r,d,u,l,s,h,c,p,m,b,g,k;return{setters:[function(t){e=t.r;n=t.h;i=t.H;o=t.g;a=t.F},function(t){r=t.i},function(t){d=t.s},function(t){u=t.g},function(t){l=t.a},function(t){s=t.a;h=t.e},function(t){c=t.g},function(t){p=t.a;m=t.g;b=t.c;g=t.d},function(t){k=t.c},function(){},function(){}],execute:function(){var f=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}:host(.duet-theme-turva2.duet-caption-selected.duet-theme-turva){color:#172a3b}';var v=f;var x=t("duet_caption",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){return n(i,{key:"6536dfff2137c85741a34401a550ecd205ba897a",class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",{key:"61789c613b54670e42ca147df64c22c5896d7cec"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());x.style=v;var w='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}:host(.duet-theme-turva2) .duet-heading.duet-theme-turva{font-style:normal !important;color:#172a3b}';var y=w;var _=t("duet_heading",function(){function t(t){e(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false;this.accessibleLabel=undefined}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=d(this.level);var i=u(this.color);return n(e,{key:"bc299c0ea4ad4bdd99c0639232256d05f5b9f7ae",class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),"aria-label":this.accessibleLabel,style:{color:i},part:"duet-heading"},n("slot",{key:"df40f8253af53c92014919c80b9fc9ad1d7eaafb"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());_.style=y;var z={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'};var S={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'};var j={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link,.block-center.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon,.block-center.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none,.block-center.duet-link.none{padding:0}.block .block__icon,.block-center .block__icon{display:flex}.block .block__icon duet-icon,.block-center .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content,.block-center .block__content{position:relative;bottom:2px}.block .block__chevron,.block-center .block__chevron{align-self:center}.block .block__chevron-icon,.block-center .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon,.block-center:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.block-center.duet-link{align-items:center}.block-center .block__content{position:static}.block-center .block__chevron{display:flex;align-items:center}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.list-button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.list-button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.list-button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.list-button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.list-button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.list-button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.list-button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.list-button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.list-button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.list-button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.list-button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.list-button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.list-button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.list-button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.list-button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.list-button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.list-button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.list-button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.list-button{padding:20px 12px 20px 4px;margin-top:-1px;border:solid 1px rgb(181, 198, 208);border-width:1px 0;border-radius:0}.duet-link.list-button .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.list-button .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.list-button:hover{border-color:rgb(181, 198, 208);outline:0}.duet-link.list-button:hover .duet-link-content{color:rgb(0, 119, 179)}.duet-link.list-button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.list-button.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-link.list-button.duet-theme-turva:hover .duet-link-content{color:rgb(198, 12, 48)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}:host(.duet-theme-turva2) .duet-link.duet-theme-turva{color:#b90329}:host(.duet-theme-turva2) .duet-link.duet-theme-turva:hover{color:#8c001e}:host(.duet-theme-turva2) .duet-tab-to-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva,:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva .duet-link-content,:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva .duet-link-content{color:#172a3b}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover .duet-link-content{color:#e61740}';var U=I;var A=t("duet_link",function(){function t(t){e(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=s;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=h;this.accessibleLabelDownload=m(this.accessibleLabelDownloadDefaults);this.accessibleExpanded=undefined;this.accessiblePopup="false";this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.margin="auto";this.padding="auto";this.isMediumScreen=false;this.ariaLabel=undefined}t.prototype.componentWillLoad=function(){r(this);this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){b(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});this.setAriaLabel();{this.mutationObserver=new MutationObserver(this.setAriaLabel.bind(this));this.mutationObserver.observe(this.element,{subtree:true,childList:true,characterData:true})}};t.prototype.disconnectedCallback=function(){g(this);if(this.mutationObserver){this.mutationObserver.disconnect()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.setAriaLabel=function(){var t=this;setTimeout((function(){t.ariaLabel=t.url&&c(t)||t.accessibleLabel}))};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&n(a,null,n("span",{class:"duet-link-icon-tail"}," ",n("duet-icon",{icon:this.resolvedDownload?S.svg:l.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderDefaultContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:z.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonCardContent=function(){var t={"background-color":u(this.iconBackground,this.theme)};return n(a,null,this.icon&&n("span",{class:"icon-wrap",style:t},n("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),n("div",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),n("span",{class:"chevron-wrap"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?j.svg:z.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":case"block-center":return this.renderBlockContent();case"button":case"list-button":case"card":return this.renderButtonCardContent()}};t.prototype.render=function(){var t,e;var o=this;var a=!this.url&&this.variation!=="default"?"button":"a";var r=!this.url&&this.variation==="default"?"button":null;var d=a==="button";return n(i,{key:"d83502af54d3fa4f2aec80d7082a5a6969207a39",class:(t={},t["duet-link-".concat(this.variation)]=true,t["duet-m-0"]=this.margin==="none",t)},n(a,{key:"534e9bcb74e02dc050ac1986b251f08215c8aa7d",href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.ariaLabel,"aria-expanded":this.accessibleExpanded!=null&&d?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null&&d?this.accessiblePopup.toString():undefined,id:this.identifier,ref:function(t){return o.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined,role:r},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{download:["setAriaLabel"],external:["setAriaLabel"],language:["setAriaLabel"]}},enumerable:false,configurable:true});return t}());A.style=U;var E='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-inherit-color{color:inherit !important}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}:host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) ::slotted(a).duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva{color:#8c001e}';var C=E;var M=t("duet_paragraph",function(){function t(t){e(this,t);this.id=k("duet-paragraph");this.inheritingParents=["duet-alert"];this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=this;var o=u(this.color);return n(i,{key:"ae1829736233d0cca98338cea16cc7100c5a934a","aria-describedby":this.id},n("p",{key:"39c89484d021d8e468607b50509ef3c280d7e8a2",id:this.id,class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t["duet-inherit-color"]=!this.color&&this.inheritingParents.some((function(t){return e.element.closest(t)})),t),style:{color:o},part:"duet-paragraph"},n("slot",{key:"d6e51ca09e84d7659ef95d10a5702c967351a5e7"})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());M.style=C}}}));
@@ -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-682a0ad1.js";import{i as s}from"./p-3f59cd08.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-7da818b1.js";import{c as v}from"./p-f587ebfc.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.pendingValue=void 0,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,n;const i=null===(o=null===(e=this.duetInputElement)||void 0===e?void 0:e.value)||void 0===o?void 0:o.trim(),a="error"!==this.currentCountry&&(null===(n=this.currentCountry)||void 0===n?void 0:n.telephoneCountryCode)||"",t=this.findCountryCode(i)||"";i?a!==t&&(t?this.currentCountry=this.findCountryForCode(t):"error"!==a&&(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.maxlength=void 0,this.minlength=void 0,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,o,n;return null!==(n=null===(o=null===(e=this.duetInputElement)||void 0===e?void 0:e.value)||void 0===o?void 0:o.replace(/\s/g,""))&&void 0!==n?n:""}set value(e){this.duetInputElement?(this.duetInputElement.value=`${e}`.replace(/[^\d+ ]/g,""),this.handleInput()):this.pendingValue=e}get validity(){var e;return null===(e=this.duetInputElement)||void 0===e?void 0:e.validity}componentWillLoad(){s(this),v(this.element,"tooltip","duet-tooltip",1,!0),this.setListFirstCountries()}componentDidLoad(){this.pendingValue&&(this.duetInputElement.value=this.pendingValue)}connectedCallback(){h(this,{prop:"label",defaults:"labelDefaults"}),C(this)}disconnectedCallback(){p(this),d(this)}async setFocus(e){var o;null===(o=this.duetInputElement)||void 0===o||o.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);this.duetInputElement.value=n?o.replace(`+${n}`,e).replace(" "," "):o.replace("+",e)}findCountryCode(e){const o=(null==e?void 0: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-divider",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-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,minlength:this.minlength,maxlength:this.maxlength,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-c6d073be.js";import{i as s}from"./p-53e6e1da.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-ca32f459.js";import{c as v}from"./p-8642fde1.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.pendingValue=void 0,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,n;const i=null===(o=null===(e=this.duetInputElement)||void 0===e?void 0:e.value)||void 0===o?void 0:o.trim(),a="error"!==this.currentCountry&&(null===(n=this.currentCountry)||void 0===n?void 0:n.telephoneCountryCode)||"",t=this.findCountryCode(i)||"";i?a!==t&&(t?this.currentCountry=this.findCountryForCode(t):"error"!==a&&(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.maxlength=void 0,this.minlength=void 0,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,o,n;return null!==(n=null===(o=null===(e=this.duetInputElement)||void 0===e?void 0:e.value)||void 0===o?void 0:o.replace(/\s/g,""))&&void 0!==n?n:""}set value(e){this.duetInputElement?(this.duetInputElement.value=`${e}`.replace(/[^\d+ ]/g,""),this.handleInput()):this.pendingValue=e}get validity(){var e;return null===(e=this.duetInputElement)||void 0===e?void 0:e.validity}componentWillLoad(){s(this),v(this.element,"tooltip","duet-tooltip",1,!0),this.setListFirstCountries()}componentDidLoad(){this.pendingValue&&(this.duetInputElement.value=this.pendingValue)}connectedCallback(){h(this,{prop:"label",defaults:"labelDefaults"}),C(this)}disconnectedCallback(){p(this),d(this)}async setFocus(e){var o;null===(o=this.duetInputElement)||void 0===o||o.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);this.duetInputElement.value=n?o.replace(`+${n}`,e).replace(" "," "):o.replace("+",e)}findCountryCode(e){const o=(null==e?void 0: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-divider",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-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,minlength:this.minlength,maxlength:this.maxlength,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
- System.register(["./p-a3ea8aa0.system.js","./p-f50d1845.system.js","./p-a142a88f.system.js","./p-3ad777ed.system.js","./p-59777da7.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,a,r,s,i,n,o,c;return{setters:[function(e){t=e.r;a=e.h;r=e.H;s=e.g},function(e){i=e.i},function(e){n=e.f},function(e){o=e.a},function(e){c=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}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';var u=h;var d=e("duet_share_chart",function(){function e(e){t(this,e);this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"];this.items=undefined;this.theme="";this.unit="%"}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){{this.childObserver=new MutationObserver(this.updateChartItems.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true,attributes:true,characterData:true})}this.updateChartItems()};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.updateChartItems=function(){var e=this;var t=o(this.element).filter((function(e){return e.tagName.toLocaleLowerCase()==="duet-share-chart-item"}));this.items=t.map((function(t,a){return{text:t.textContent,value:t.value,color:t.color||e.defaultColors[a%e.defaultColors.length]}}));this.itemsTotalValue=this.items.reduce((function(e,t){var a=t.value;return e+a}),0)};e.prototype.render=function(){var e=this;return a(r,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},a("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((function(e){return!!e.value})).map((function(t){return a("span",{class:"duet-share-chart-share",style:{width:"".concat(t.value/e.itemsTotalValue*100,"%"),backgroundColor:c(t.color,e.theme)}})}))),a("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((function(t){return a("li",{class:{"duet-theme-turva":e.theme==="turva"}},a("span",{class:"duet-share-chart-item-color",style:{background:c(t.color,e.theme)}}),a("span",{class:"duet-share-chart-item-text"},t.text,":"),a("span",{class:"duet-share-chart-item-value"}," ",n(t.value)," ",e.unit),e.unit!=="%"&&a("duet-visually-hidden",null,"".concat(n(t.value/e.itemsTotalValue*100,0)," %")))}))),a("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());d.style=u}}}));
4
+ System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-ddf20691.system.js","./p-a5ddcabc.system.js","./p-13eec75c.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,r,a,s,i,n,o,c;return{setters:[function(e){t=e.r;r=e.h;a=e.H;s=e.g},function(e){i=e.i},function(e){n=e.f},function(e){o=e.a},function(e){c=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}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';var u=h;var d=e("duet_share_chart",function(){function e(e){t(this,e);this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"];this.items=undefined;this.theme="";this.unit="%"}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){{this.childObserver=new MutationObserver(this.updateChartItems.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true,attributes:true,characterData:true})}this.updateChartItems()};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.updateChartItems=function(){var e=this;var t=o(this.element).filter((function(e){return e.tagName.toLocaleLowerCase()==="duet-share-chart-item"}));this.items=t.map((function(t,r){return{text:t.textContent,value:t.value,color:t.color||e.defaultColors[r%e.defaultColors.length]}}));this.itemsTotalValue=this.items.reduce((function(e,t){var r=t.value;return e+r}),0)};e.prototype.render=function(){var e=this;return r(a,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},r("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((function(e){return!!e.value})).map((function(t){return r("span",{class:"duet-share-chart-share",style:{width:"".concat(t.value/e.itemsTotalValue*100,"%"),backgroundColor:c(t.color,e.theme)}})}))),r("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((function(t){return r("li",{class:{"duet-theme-turva":e.theme==="turva"}},r("span",{class:"duet-share-chart-item-color",style:{background:c(t.color,e.theme)}}),r("span",{class:"duet-share-chart-item-text"},t.text,":"),r("span",{class:"duet-share-chart-item-value"}," ",n(t.value)," ",e.unit),e.unit!=="%"&&r("duet-visually-hidden",null,"".concat(n(t.value/e.itemsTotalValue*100,0)," %")))}))),r("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());d.style=u}}}));
@@ -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-682a0ad1.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-f587ebfc.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:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},e("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),e("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),e("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&e("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},e("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",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-c6d073be.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-8642fde1.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:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},e("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),e("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),e("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&e("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},e("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",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 i,H as c,g as o}from"./p-682a0ad1.js";import{i as d}from"./p-3f59cd08.js";import{c as r}from"./p-5e59e970.js";import{s as a,u as n,q as h}from"./p-a45e3f8b.js";import{g as s}from"./p-7da818b1.js";import"./p-9c3c64b9.js";const u=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetRemove=t(this,"duetRemove",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.chipId=r("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=e=>{e.removeEventListener("change",this.onRadioChange),e.removeEventListener("click",this.onRadioClick),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=e=>{e.addEventListener("change",this.onRadioChange),e.addEventListener("click",this.onRadioClick),e.addEventListener("focus",this.onFocus),e.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const e=this.element.querySelector("input[slot=input]"),t=e||document.createElement("input");t.slot="input",t.ariaDisabled=this.disabled?"true":void 0,t.id=this.identifier||this.chipId,t.type="radio",t.name=this.name,t.value=this.value,t.checked=this.checked,t.ariaLabel=this.element.textContent,e?this.radioInputListenersRemove(t):this.element.appendChild(t),this.radioInputListenersAdd(t),this.focusableElement=t},this.popupSetUp=()=>{const e=document.querySelector(`duet-popup-menu#${this.popup}`);if(e){this.popupElement=e,e.controller=this.element;const t=this.element.textContent,i=this.value;e.id||(e.id="popup-menu"),e.addEventListener("duetToggle",(e=>{this.popupOpen=e.detail.open}));const c=()=>{e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.active=!1}))};e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.addEventListener("click",(o=>{var d;const r=null!==(d=e.value)&&void 0!==d?d:e.innerText;e.active?(c(),this.element.textContent=t,this.value=i,this.checked=!1):(c(),e.active=!0,this.element.textContent=e.innerText,this.value=r,this.checked=!0),this.emitChange(o),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=e=>{this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=e=>{this.checked=!this.checked,this.emitChange(e)},this.onRadioChange=e=>{this.checked=this.focusableElement.checked,this.emitChange(e)},this.onRadioClick=e=>{this.disabled&&e.preventDefault()},this.onFilterClick=e=>{if(this.disabled)return e.stopPropagation(),void e.preventDefault();this.popupElement&&(e.stopPropagation(),e.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),this.duetRemove.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((e=>{e!==this.element&&(e.checked=!1)}))}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}componentWillLoad(){d(this),this.removeDisabledAttributeWhenFalse(),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){n(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${s(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${s(this.selectedForDeletionLabels)}) `:""},`}async setFocus(e){h(),setTimeout((()=>this.focusableElement.focus(e)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var e;const t=this.identifier||this.chipId,o={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},d={onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusableElement=e};return i(c,{key:"b6fb72c89bb3173bbab5a049fa15e1952c16205e",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"67b4e89093f32e48fa8b0f34cc0bb04cf84fe4d7",class:o},i("button",Object.assign({key:"136da64b566f3ab1aac3ac06e221b382293eafc1",id:t,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?e=>e.stopPropagation():void 0},d),i("span",{key:"edd95585532bb3793d25c9d59ff736bfd93a698f",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"7eee1a45099e4b7e887ca9c18973d5491eebc49e",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"22c6c1e797b3d7ae8d5066e5e54d9d9b091fd8af"}))),"input"===this.variation&&i("span",{key:"6190f5af72bea43c3225440e936d6bcac3ee1a1a",class:o,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"684bbf1c87dbcc51074a469fef71eabc67b8b3cc",id:t,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},d),i("span",{key:"3e9d81e6b529cbedd4dc059d2a69c7672dba4c15",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"4eb3a40447390af6f7005afdaf8a892fdb1a37a0",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"6a41790d5bb9b18d29aed4104f7875f4b82a6182"})),i("button",{key:"2aa0bd85705bd9d0f2f9107b81e1c478b79670e7",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:e=>this.deleteButtonElement=e},i("duet-icon",{key:"42142c43f116826ea4754ad43715380a5168a4a0",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"da7635d906a3000bdba610b199be6e02e67999a3",class:o},i("input",Object.assign({key:"991860c1d1faaf8b0b94c23878c0fda4cc57d5b2","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(e=this.popupElement)||void 0===e?void 0:e.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:t,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),i("label",{key:"19200514b12edc1c34ee60d7141e2e443de2f4eb",htmlFor:t},this.icon&&i("span",{key:"e829017680ab4f77b068a795500ab0e228252910",class:"duet-chip-icon-container"},i("duet-icon",{key:"f3726f51afd71e1621bc838d3a5bb01ac741898a",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"38ebb64dffbad02205d259ddc908ad4448146e2c",name:"messaging-checked-small",size:"large"===this.size?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"fdc200f7e366b400ee41adcc43793c1b57c73044"}),this.popupElement&&i("span",{key:"154e4ee257d7152de4bd6089d650f89abab7849b",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"51559fda4889f9b1d1c5db56005140037d10bbe0",name:"action-arrow-down-small",size:"large"===this.size?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"05b32d584d059da2136a8c3bf615d8c54733b242",class:o},i("slot",{key:"4b75c8a08549ecefda7cbc774e6877a688c5c96a",name:"input"}),i("label",{key:"08d85749a874e5196eb21eb54a132156c7cc6dcf",htmlFor:t},this.icon&&i("span",{key:"48ed797d8716ecaea0c06bd2dcd41ab28bbc14e9",class:"duet-chip-icon-container"},i("duet-icon",{key:"befa22bdb1d0b2682d316551eb8ac873128b0ccf",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"3eab74ef52e823c81daf1c71379127c7650bba80",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"460c29546099eb06cc2dfa71baf9a57999d4f838"}))))}get element(){return o(this)}static get watchers(){return{checked:["clearOtherRadioButtons"],disabled:["removeDisabledAttributeWhenFalse"]}}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(255, 213, 215)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fdf7f2;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#fbe1d1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fdf7f2;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}';export{u as duet_chip}
4
+ import{r as e,c as t,h as i,H as c,g as o}from"./p-c6d073be.js";import{i as d}from"./p-53e6e1da.js";import{c as r}from"./p-5e59e970.js";import{s as a,u as n,q as h}from"./p-a45e3f8b.js";import{g as s}from"./p-ca32f459.js";import"./p-9c3c64b9.js";const u=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetRemove=t(this,"duetRemove",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.chipId=r("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=e=>{e.removeEventListener("change",this.onRadioChange),e.removeEventListener("click",this.onRadioClick),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=e=>{e.addEventListener("change",this.onRadioChange),e.addEventListener("click",this.onRadioClick),e.addEventListener("focus",this.onFocus),e.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const e=this.element.querySelector("input[slot=input]"),t=e||document.createElement("input");t.slot="input",t.ariaDisabled=this.disabled?"true":void 0,t.id=this.identifier||this.chipId,t.type="radio",t.name=this.name,t.value=this.value,t.checked=this.checked,t.ariaLabel=this.element.textContent,e?this.radioInputListenersRemove(t):this.element.appendChild(t),this.radioInputListenersAdd(t),this.focusableElement=t},this.popupSetUp=()=>{const e=document.querySelector(`duet-popup-menu#${this.popup}`);if(e){this.popupElement=e,e.controller=this.element;const t=this.element.textContent,i=this.value;e.id||(e.id="popup-menu"),e.addEventListener("duetToggle",(e=>{this.popupOpen=e.detail.open}));const c=()=>{e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.active=!1}))};e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.addEventListener("click",(o=>{var d;const r=null!==(d=e.value)&&void 0!==d?d:e.innerText;e.active?(c(),this.element.textContent=t,this.value=i,this.checked=!1):(c(),e.active=!0,this.element.textContent=e.innerText,this.value=r,this.checked=!0),this.emitChange(o),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=e=>{this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=e=>{this.checked=!this.checked,this.emitChange(e)},this.onRadioChange=e=>{this.checked=this.focusableElement.checked,this.emitChange(e)},this.onRadioClick=e=>{this.disabled&&e.preventDefault()},this.onFilterClick=e=>{if(this.disabled)return e.stopPropagation(),void e.preventDefault();this.popupElement&&(e.stopPropagation(),e.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),this.duetRemove.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((e=>{e!==this.element&&(e.checked=!1)}))}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}componentWillLoad(){d(this),this.removeDisabledAttributeWhenFalse(),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){n(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${s(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${s(this.selectedForDeletionLabels)}) `:""},`}async setFocus(e){h(),setTimeout((()=>this.focusableElement.focus(e)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var e;const t=this.identifier||this.chipId,o={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},d={onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusableElement=e};return i(c,{key:"b6fb72c89bb3173bbab5a049fa15e1952c16205e",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"67b4e89093f32e48fa8b0f34cc0bb04cf84fe4d7",class:o},i("button",Object.assign({key:"136da64b566f3ab1aac3ac06e221b382293eafc1",id:t,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?e=>e.stopPropagation():void 0},d),i("span",{key:"edd95585532bb3793d25c9d59ff736bfd93a698f",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"7eee1a45099e4b7e887ca9c18973d5491eebc49e",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"22c6c1e797b3d7ae8d5066e5e54d9d9b091fd8af"}))),"input"===this.variation&&i("span",{key:"6190f5af72bea43c3225440e936d6bcac3ee1a1a",class:o,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"684bbf1c87dbcc51074a469fef71eabc67b8b3cc",id:t,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},d),i("span",{key:"3e9d81e6b529cbedd4dc059d2a69c7672dba4c15",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"4eb3a40447390af6f7005afdaf8a892fdb1a37a0",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"6a41790d5bb9b18d29aed4104f7875f4b82a6182"})),i("button",{key:"2aa0bd85705bd9d0f2f9107b81e1c478b79670e7",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:e=>this.deleteButtonElement=e},i("duet-icon",{key:"42142c43f116826ea4754ad43715380a5168a4a0",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"da7635d906a3000bdba610b199be6e02e67999a3",class:o},i("input",Object.assign({key:"991860c1d1faaf8b0b94c23878c0fda4cc57d5b2","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(e=this.popupElement)||void 0===e?void 0:e.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:t,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),i("label",{key:"19200514b12edc1c34ee60d7141e2e443de2f4eb",htmlFor:t},this.icon&&i("span",{key:"e829017680ab4f77b068a795500ab0e228252910",class:"duet-chip-icon-container"},i("duet-icon",{key:"f3726f51afd71e1621bc838d3a5bb01ac741898a",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"38ebb64dffbad02205d259ddc908ad4448146e2c",name:"messaging-checked-small",size:"large"===this.size?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"fdc200f7e366b400ee41adcc43793c1b57c73044"}),this.popupElement&&i("span",{key:"154e4ee257d7152de4bd6089d650f89abab7849b",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"51559fda4889f9b1d1c5db56005140037d10bbe0",name:"action-arrow-down-small",size:"large"===this.size?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"05b32d584d059da2136a8c3bf615d8c54733b242",class:o},i("slot",{key:"4b75c8a08549ecefda7cbc774e6877a688c5c96a",name:"input"}),i("label",{key:"08d85749a874e5196eb21eb54a132156c7cc6dcf",htmlFor:t},this.icon&&i("span",{key:"48ed797d8716ecaea0c06bd2dcd41ab28bbc14e9",class:"duet-chip-icon-container"},i("duet-icon",{key:"befa22bdb1d0b2682d316551eb8ac873128b0ccf",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"3eab74ef52e823c81daf1c71379127c7650bba80",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"460c29546099eb06cc2dfa71baf9a57999d4f838"}))))}get element(){return o(this)}static get watchers(){return{checked:["clearOtherRadioButtons"],disabled:["removeDisabledAttributeWhenFalse"]}}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(255, 213, 215)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fdf7f2;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#fbe1d1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fdf7f2;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}';export{u as duet_chip}