@duetds/components 10.0.0-alpha.21 → 10.0.0-alpha.23

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 (542) hide show
  1. package/hydrate/index.js +702 -356
  2. package/hydrate/index.mjs +702 -356
  3. package/lib/cjs/{a11y-utils-qqRC-Gci.js → a11y-utils-aMJTxbM9.js} +1 -1
  4. package/lib/cjs/{app-globals-B6AFACoz.js → app-globals-DN9e0v8L.js} +1 -1
  5. package/lib/cjs/{common-strings-BhhnIQp3.js → common-strings-DQ3xONmA.js} +6 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-alert.cjs.entry.js +32 -9
  8. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  9. package/lib/cjs/duet-banner.cjs.entry.js +5 -5
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  12. package/lib/cjs/duet-button_2.cjs.entry.js +14 -16
  13. package/lib/cjs/duet-callout.cjs.entry.js +6 -6
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +21 -18
  15. package/lib/cjs/duet-card.cjs.entry.js +7 -7
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
  18. package/lib/cjs/duet-chip.cjs.entry.js +13 -6
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +22 -16
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  21. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +70 -10
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-footer.cjs.entry.js +10 -10
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +38 -9
  32. package/lib/cjs/duet-header_2.cjs.entry.js +11 -8
  33. package/lib/cjs/duet-hero.cjs.entry.js +37 -11
  34. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  35. package/lib/cjs/duet-input_2.cjs.entry.js +14 -13
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +15 -6
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +9 -9
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +7 -7
  49. package/lib/cjs/duet-overlay.cjs.entry.js +5 -4
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +17 -15
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +41 -13
  54. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +15 -9
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +19 -19
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +83 -0
  64. package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  69. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-step_2.cjs.entry.js +22 -8
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +8 -8
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  77. package/lib/cjs/duet-textarea.cjs.entry.js +16 -10
  78. package/lib/cjs/duet-toggle.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +10 -4
  86. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-CWkNAdwZ.js → errorcodes.utils-CSxc4txc.js} +1 -1
  92. package/lib/cjs/{focus-utils-C1gNgKW5.js → focus-utils-R3gIGr8k.js} +1 -1
  93. package/lib/cjs/{index-C-4fRZp1.js → index-cypK_uRu.js} +9 -1
  94. package/lib/cjs/{label-BYZNaLK_.js → label-61f_b8fi.js} +1 -1
  95. package/lib/cjs/{language-utils-DjPkoVoW.js → language-utils-DIDyCgUk.js} +9 -1
  96. package/lib/cjs/loader.cjs.js +3 -3
  97. package/lib/cjs/{slot-utils-DYGV7vRF.js → slot-utils-BC5Q3UDm.js} +1 -1
  98. package/lib/cjs/themeable-component-BWW4XmUY.js +62 -0
  99. package/lib/collection/collection-manifest.json +2 -0
  100. package/lib/collection/common/themeable-component.js +49 -3
  101. package/lib/collection/common-strings.js +5 -0
  102. package/lib/collection/components/duet-action-button/duet-action-button.css +19 -0
  103. package/lib/collection/components/duet-alert/duet-alert.js +28 -5
  104. package/lib/collection/components/duet-badge/duet-badge.css +12 -0
  105. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  106. package/lib/collection/components/duet-banner/duet-banner.js +2 -2
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +11 -0
  109. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  110. package/lib/collection/components/duet-button/duet-button.css +61 -0
  111. package/lib/collection/components/duet-button/duet-button.js +5 -8
  112. package/lib/collection/components/duet-callout/duet-callout.css +5 -0
  113. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  114. package/lib/collection/components/duet-caption/duet-caption.css +4 -0
  115. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  116. package/lib/collection/components/duet-card/duet-card.css +13 -0
  117. package/lib/collection/components/duet-card/duet-card.js +3 -3
  118. package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -0
  119. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  120. package/lib/collection/components/duet-chip/duet-chip.css +25 -0
  121. package/lib/collection/components/duet-chip/duet-chip.js +10 -1
  122. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  123. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  124. package/lib/collection/components/duet-choice/duet-choice.css +52 -0
  125. package/lib/collection/components/duet-choice/duet-choice.js +7 -7
  126. package/lib/collection/components/duet-choice-group/duet-choice-group.js +11 -2
  127. package/lib/collection/components/duet-collapsible/duet-collapsible.css +8 -0
  128. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  129. package/lib/collection/components/duet-combobox/duet-combobox.css +7 -0
  130. package/lib/collection/components/duet-contact-card/duet-contact-card.css +4 -0
  131. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  132. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +9 -0
  133. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  134. package/lib/collection/components/duet-date-picker/duet-date-picker.css +37 -1
  135. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
  136. package/lib/collection/components/duet-divider/duet-divider.css +8 -2
  137. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  138. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  139. package/lib/collection/components/duet-empty-state/duet-empty-state.css +5 -0
  140. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  141. package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -0
  142. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  143. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  144. package/lib/collection/components/duet-footer/duet-footer.css +15 -0
  145. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  146. package/lib/collection/components/duet-grid/duet-grid.js +33 -4
  147. package/lib/collection/components/duet-grid-item/duet-grid-item.css +4 -0
  148. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  149. package/lib/collection/components/duet-header/duet-header.css +69 -0
  150. package/lib/collection/components/duet-heading/duet-heading.css +4 -0
  151. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  152. package/lib/collection/components/duet-hero/duet-hero.css +17 -0
  153. package/lib/collection/components/duet-hero/duet-hero.js +32 -6
  154. package/lib/collection/components/duet-icon/duet-icon.css +7 -0
  155. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  156. package/lib/collection/components/duet-input/duet-input.css +70 -0
  157. package/lib/collection/components/duet-input/duet-input.js +7 -6
  158. package/lib/collection/components/duet-label/duet-label.css +4 -0
  159. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  160. package/lib/collection/components/duet-link/duet-link.css +74 -0
  161. package/lib/collection/components/duet-link/duet-link.js +10 -3
  162. package/lib/collection/components/duet-list/duet-list.js +1 -1
  163. package/lib/collection/components/duet-list-item/duet-list-item.css +20 -0
  164. package/lib/collection/components/duet-list-item/duet-list-item.js +38 -2
  165. package/lib/collection/components/duet-logo/duet-logo.css +9 -0
  166. package/lib/collection/components/duet-logo/duet-logo.js +5 -2
  167. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +7 -0
  168. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  169. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -0
  170. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  171. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -0
  172. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  173. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
  174. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  175. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +15 -0
  176. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  177. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +12 -0
  178. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  179. package/lib/collection/components/duet-modal/duet-modal.css +10 -2
  180. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  181. package/lib/collection/components/duet-multiselect/duet-multiselect.css +30 -0
  182. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  183. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  184. package/lib/collection/components/duet-notification/duet-notification.css +16 -0
  185. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  186. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +13 -0
  187. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  188. package/lib/collection/components/duet-number-input/duet-number-input.css +7 -0
  189. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  190. package/lib/collection/components/duet-overlay/duet-overlay.css +4 -0
  191. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -1
  192. package/lib/collection/components/duet-page-heading/duet-page-heading.css +27 -11
  193. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  194. package/lib/collection/components/duet-pagination/duet-pagination.css +4 -0
  195. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  196. package/lib/collection/components/duet-paragraph/duet-paragraph.css +10 -0
  197. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  198. package/lib/collection/components/duet-phone-input/duet-phone-input.js +13 -11
  199. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -0
  200. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +30 -5
  201. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +10 -0
  202. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +5 -2
  203. package/lib/collection/components/duet-progress/duet-progress.css +19 -0
  204. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  205. package/lib/collection/components/duet-radio/duet-radio.css +20 -0
  206. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  207. package/lib/collection/components/duet-radio-group/duet-radio-group.js +10 -1
  208. package/lib/collection/components/duet-range-slider/duet-range-slider.css +37 -0
  209. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  210. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -0
  211. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  212. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -0
  213. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  214. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  215. package/lib/collection/components/duet-select/duet-select.css +23 -0
  216. package/lib/collection/components/duet-select/duet-select.js +5 -5
  217. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  218. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  219. package/lib/collection/components/duet-share-chart/duet-share-chart.js +139 -0
  220. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  221. package/lib/collection/components/duet-show-more/duet-show-more.css +4 -0
  222. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  223. package/lib/collection/components/duet-slideout/duet-slideout.css +28 -0
  224. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  225. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +4 -0
  226. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  227. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +10 -0
  228. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  229. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +20 -0
  230. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  231. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +13 -0
  232. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  233. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  234. package/lib/collection/components/duet-spinner/duet-spinner.css +3 -0
  235. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -5
  236. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  237. package/lib/collection/components/duet-step/duet-step.css +13 -0
  238. package/lib/collection/components/duet-step/duet-step.js +2 -2
  239. package/lib/collection/components/duet-stepper/duet-stepper.js +24 -6
  240. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +14 -0
  241. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  242. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +31 -0
  243. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  244. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +18 -0
  245. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  246. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -0
  247. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  248. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +22 -0
  249. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  250. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  251. package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -0
  252. package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
  253. package/lib/collection/components/duet-table/duet-table-styles.js +60 -0
  254. package/lib/collection/components/duet-table/duet-table.js +2 -2
  255. package/lib/collection/components/duet-textarea/duet-textarea.css +32 -0
  256. package/lib/collection/components/duet-textarea/duet-textarea.js +36 -7
  257. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -0
  258. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  259. package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
  260. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  261. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +21 -0
  262. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  263. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +10 -0
  264. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  265. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +25 -0
  266. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  267. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +24 -0
  268. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  269. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +7 -0
  270. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  271. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +25 -0
  272. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  273. package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -0
  274. package/lib/collection/components/duet-tray/duet-tray.css +12 -0
  275. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  276. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  277. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  278. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  279. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  280. package/lib/collection/utils/language-utils.js +7 -0
  281. package/lib/duet/duet.esm.js +1 -1
  282. package/lib/duet/{p-008beeb0.entry.js → p-05cb3ef2.entry.js} +1 -1
  283. package/lib/duet/p-061f484f.entry.js +4 -0
  284. package/lib/duet/p-0710ad83.entry.js +4 -0
  285. package/lib/duet/p-07cd31d4.entry.js +4 -0
  286. package/lib/duet/p-11b6b71d.entry.js +4 -0
  287. package/lib/duet/{p-068cfada.entry.js → p-1662ddb0.entry.js} +1 -1
  288. package/lib/duet/p-1b4e4213.entry.js +4 -0
  289. package/lib/duet/{p-2c420105.entry.js → p-1cc69291.entry.js} +1 -1
  290. package/lib/duet/p-2354e2c1.entry.js +4 -0
  291. package/lib/duet/p-24f39c08.entry.js +4 -0
  292. package/lib/duet/{p-1b3b9ed6.entry.js → p-26ef0a2c.entry.js} +1 -1
  293. package/lib/duet/{p-547e30c3.entry.js → p-2b2be1ce.entry.js} +1 -1
  294. package/lib/duet/p-2c2a8a28.entry.js +4 -0
  295. package/lib/duet/{p-3381e3e2.entry.js → p-2de0e6b5.entry.js} +1 -1
  296. package/lib/duet/{p-62c46ebb.entry.js → p-32352972.entry.js} +1 -1
  297. package/lib/duet/p-3d266d49.entry.js +4 -0
  298. package/lib/duet/p-3ea842ba.entry.js +4 -0
  299. package/lib/duet/p-44786477.entry.js +4 -0
  300. package/lib/duet/{p-2df8b608.entry.js → p-48bcf197.entry.js} +1 -1
  301. package/lib/duet/p-50Jw5Ir2.js +4 -0
  302. package/lib/duet/{p-abe188c7.entry.js → p-5432f24c.entry.js} +1 -1
  303. package/lib/duet/p-54b978c0.entry.js +4 -0
  304. package/lib/duet/p-5956c71f.entry.js +4 -0
  305. package/lib/duet/p-5b2e8342.entry.js +4 -0
  306. package/lib/duet/p-5c749aae.entry.js +4 -0
  307. package/lib/duet/{p-294adde1.entry.js → p-5f437262.entry.js} +1 -1
  308. package/lib/duet/p-61da8d25.entry.js +4 -0
  309. package/lib/duet/{p-3ae06437.entry.js → p-625a23c2.entry.js} +1 -1
  310. package/lib/duet/p-626e92a9.entry.js +4 -0
  311. package/lib/duet/{p-4ec38183.entry.js → p-6fa05aeb.entry.js} +1 -1
  312. package/lib/duet/{p-7189e720.entry.js → p-70fd5cb5.entry.js} +1 -1
  313. package/lib/duet/p-710ae64d.entry.js +4 -0
  314. package/lib/duet/p-73f38d13.entry.js +4 -0
  315. package/lib/duet/p-779380f8.entry.js +4 -0
  316. package/lib/duet/{p-0e78737d.entry.js → p-7a9e6423.entry.js} +1 -1
  317. package/lib/duet/{p-2661240f.entry.js → p-7ac87fc1.entry.js} +1 -1
  318. package/lib/duet/{p-d74bb3b4.entry.js → p-7c4f010e.entry.js} +1 -1
  319. package/lib/duet/{p-6b17cd4a.entry.js → p-7cfcd244.entry.js} +1 -1
  320. package/lib/duet/{p-fde72aa3.entry.js → p-8057c9e5.entry.js} +1 -1
  321. package/lib/duet/{p-d195712b.entry.js → p-80f567c7.entry.js} +1 -1
  322. package/lib/duet/p-828a4e8b.entry.js +4 -0
  323. package/lib/duet/p-835874ed.entry.js +4 -0
  324. package/lib/duet/{p-66693593.entry.js → p-85ddf215.entry.js} +1 -1
  325. package/lib/duet/{p-d7990dff.entry.js → p-88773ebf.entry.js} +1 -1
  326. package/lib/duet/{p-e232c7ad.entry.js → p-89e6b8d0.entry.js} +1 -1
  327. package/lib/duet/{p-23adcf71.entry.js → p-89e9badf.entry.js} +1 -1
  328. package/lib/duet/p-8ae3ba95.entry.js +4 -0
  329. package/lib/duet/p-95dd811d.entry.js +4 -0
  330. package/lib/duet/{p-8c02d2af.entry.js → p-9b9031cf.entry.js} +1 -1
  331. package/lib/duet/{p-2f30e410.entry.js → p-9d16f09d.entry.js} +1 -1
  332. package/lib/duet/p-9d501c34.entry.js +4 -0
  333. package/lib/duet/p-9d5be586.entry.js +4 -0
  334. package/lib/duet/p-BI7G8d3Z.js +4 -0
  335. package/lib/duet/p-B_RHZ7jo.js +4 -0
  336. package/lib/duet/p-Be6-farU.js +4 -0
  337. package/lib/duet/p-CF5Kkdym.js +4 -0
  338. package/lib/duet/p-CUNSbdt4.js +5 -0
  339. package/lib/duet/p-M3ljdQX1.js +4 -0
  340. package/lib/duet/p-MxsWrBCY.js +4 -0
  341. package/lib/duet/{p-e0fcc26a.entry.js → p-a40fbcac.entry.js} +1 -1
  342. package/lib/duet/p-a544dcb2.entry.js +4 -0
  343. package/lib/duet/{p-91e669ab.entry.js → p-a854a83c.entry.js} +1 -1
  344. package/lib/duet/{p-08affd1f.entry.js → p-a930cc2b.entry.js} +1 -1
  345. package/lib/duet/{p-42621b5c.entry.js → p-a9353027.entry.js} +1 -1
  346. package/lib/duet/{p-5964d490.entry.js → p-a94d6219.entry.js} +1 -1
  347. package/lib/duet/{p-155586a6.entry.js → p-b2c2a24e.entry.js} +1 -1
  348. package/lib/duet/p-b314a75a.entry.js +4 -0
  349. package/lib/duet/p-b3547427.entry.js +4 -0
  350. package/lib/duet/p-b4569b01.entry.js +4 -0
  351. package/lib/duet/p-b52c9aed.entry.js +4 -0
  352. package/lib/duet/p-b5cdfd48.entry.js +4 -0
  353. package/lib/duet/{p-958a2b42.entry.js → p-bd6f7e7b.entry.js} +1 -1
  354. package/lib/duet/{p-f865dcfc.entry.js → p-c037858f.entry.js} +1 -1
  355. package/lib/duet/{p-722eb4b8.entry.js → p-c0721ad9.entry.js} +1 -1
  356. package/lib/duet/p-d154fb42.entry.js +4 -0
  357. package/lib/duet/p-d29c6c90.entry.js +4 -0
  358. package/lib/duet/p-d2e1cef2.entry.js +4 -0
  359. package/lib/duet/{p-d064dd2d.entry.js → p-d5270614.entry.js} +1 -1
  360. package/lib/duet/p-e1715e1f.entry.js +4 -0
  361. package/lib/duet/p-e3c9a33a.entry.js +4 -0
  362. package/lib/duet/p-e6a5676c.entry.js +4 -0
  363. package/lib/duet/{p-0fb24b59.entry.js → p-e72e498d.entry.js} +1 -1
  364. package/lib/duet/{p-90c43d96.entry.js → p-e8668d1a.entry.js} +1 -1
  365. package/lib/duet/p-e89e940b.entry.js +4 -0
  366. package/lib/duet/{p-580d558b.entry.js → p-e89f59fe.entry.js} +1 -1
  367. package/lib/duet/{p-595b2f3b.entry.js → p-e8bf81e8.entry.js} +1 -1
  368. package/lib/duet/{p-a24fff3c.entry.js → p-eafab2a1.entry.js} +1 -1
  369. package/lib/duet/p-ekdrapBY.js +4 -0
  370. package/lib/duet/{p-909352a9.entry.js → p-f2e88086.entry.js} +1 -1
  371. package/lib/duet/p-f3d5e40a.entry.js +4 -0
  372. package/lib/duet/{p-9f48a30c.entry.js → p-f7782ce5.entry.js} +1 -1
  373. package/lib/duet/p-fc319c57.entry.js +4 -0
  374. package/lib/duet/p-fcb87d86.entry.js +4 -0
  375. package/lib/duet/{p-BAFwjrjc.js → p-fwfCVW-k.js} +1 -1
  376. package/lib/esm/{a11y-utils-CQOH3qGQ.js → a11y-utils-Do8wJ0uc.js} +1 -1
  377. package/lib/esm/{app-globals-D3VunZ8x.js → app-globals-CM7s1rys.js} +1 -1
  378. package/lib/esm/{common-strings-D6YBFNe9.js → common-strings-MxsWrBCY.js} +6 -1
  379. package/lib/esm/duet-action-button.entry.js +4 -4
  380. package/lib/esm/duet-alert.entry.js +32 -9
  381. package/lib/esm/duet-badge.entry.js +5 -5
  382. package/lib/esm/duet-banner.entry.js +5 -5
  383. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  384. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  385. package/lib/esm/duet-button_2.entry.js +14 -16
  386. package/lib/esm/duet-callout.entry.js +6 -6
  387. package/lib/esm/duet-caption_4.entry.js +21 -18
  388. package/lib/esm/duet-card.entry.js +7 -7
  389. package/lib/esm/duet-checkbox.entry.js +5 -5
  390. package/lib/esm/duet-checkmark.entry.js +5 -5
  391. package/lib/esm/duet-chip.entry.js +13 -6
  392. package/lib/esm/duet-choice_2.entry.js +22 -16
  393. package/lib/esm/duet-collapsible.entry.js +6 -6
  394. package/lib/esm/duet-combobox.entry.js +5 -5
  395. package/lib/esm/duet-contact-card.entry.js +6 -6
  396. package/lib/esm/duet-cookie-consent.entry.js +4 -4
  397. package/lib/esm/duet-date-picker.entry.js +9 -9
  398. package/lib/esm/duet-divider_2.entry.js +5 -5
  399. package/lib/esm/duet-editable-table_3.entry.js +70 -10
  400. package/lib/esm/duet-empty-state.entry.js +5 -5
  401. package/lib/esm/duet-fieldset.entry.js +7 -7
  402. package/lib/esm/duet-file-chooser.entry.js +3 -3
  403. package/lib/esm/duet-footer.entry.js +10 -10
  404. package/lib/esm/duet-grid_2.entry.js +38 -9
  405. package/lib/esm/duet-header_2.entry.js +11 -8
  406. package/lib/esm/duet-hero.entry.js +37 -11
  407. package/lib/esm/duet-icon.entry.js +6 -6
  408. package/lib/esm/duet-input_2.entry.js +14 -13
  409. package/lib/esm/duet-layout.entry.js +7 -7
  410. package/lib/esm/duet-list_2.entry.js +15 -6
  411. package/lib/esm/duet-menu-bar-button.entry.js +5 -5
  412. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  413. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  414. package/lib/esm/duet-menu-bar-item.entry.js +9 -9
  415. package/lib/esm/duet-menu-bar-link.entry.js +5 -5
  416. package/lib/esm/duet-menu-bar.entry.js +6 -6
  417. package/lib/esm/duet-modal.entry.js +13 -13
  418. package/lib/esm/duet-multiselect.entry.js +11 -11
  419. package/lib/esm/duet-nav.entry.js +3 -3
  420. package/lib/esm/duet-notification_2.entry.js +9 -9
  421. package/lib/esm/duet-number-input.entry.js +7 -7
  422. package/lib/esm/duet-overlay.entry.js +5 -4
  423. package/lib/esm/duet-page-heading.entry.js +5 -5
  424. package/lib/esm/duet-pagination_2.entry.js +18 -18
  425. package/lib/esm/duet-phone-input.entry.js +17 -15
  426. package/lib/esm/duet-popup-menu_2.entry.js +41 -13
  427. package/lib/esm/duet-progress.entry.js +4 -4
  428. package/lib/esm/duet-promo-card.entry.js +5 -5
  429. package/lib/esm/duet-radio_2.entry.js +15 -9
  430. package/lib/esm/duet-range-slider.entry.js +7 -7
  431. package/lib/esm/duet-scrollable_3.entry.js +19 -19
  432. package/lib/esm/duet-section-layout.entry.js +4 -4
  433. package/lib/esm/duet-select.entry.js +10 -10
  434. package/lib/esm/duet-shaped-image.entry.js +4 -4
  435. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  436. package/lib/esm/duet-share-chart.entry.js +81 -0
  437. package/lib/esm/duet-show-more.entry.js +6 -6
  438. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  439. package/lib/esm/duet-slideout-link.entry.js +9 -9
  440. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  441. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  442. package/lib/esm/duet-slideout.entry.js +10 -10
  443. package/lib/esm/duet-status-icon.entry.js +3 -3
  444. package/lib/esm/duet-step_2.entry.js +22 -8
  445. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  446. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  447. package/lib/esm/duet-submenu-bar-item.entry.js +8 -8
  448. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  449. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  450. package/lib/esm/duet-textarea.entry.js +16 -10
  451. package/lib/esm/duet-toggle.entry.js +7 -7
  452. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  453. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  454. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  455. package/lib/esm/duet-toolbar-link.entry.js +5 -5
  456. package/lib/esm/duet-toolbar.entry.js +5 -5
  457. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  458. package/lib/esm/duet-tooltip.entry.js +10 -4
  459. package/lib/esm/duet-tray.entry.js +6 -6
  460. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  461. package/lib/esm/duet-upload-item.entry.js +6 -6
  462. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  463. package/lib/esm/duet.js +4 -4
  464. package/lib/esm/{errorcodes.utils--4tOXPNI.js → errorcodes.utils-jdmUflM5.js} +1 -1
  465. package/lib/esm/{focus-utils-CUvuUZuo.js → focus-utils-Fb4Hjq5k.js} +1 -1
  466. package/lib/esm/{index-Djr45qSY.js → index-CUNSbdt4.js} +9 -1
  467. package/lib/esm/{label-DoZNNWYj.js → label-CSouuUKb.js} +1 -1
  468. package/lib/esm/{language-utils-BCnFs8Da.js → language-utils-fAqNRSrI.js} +9 -2
  469. package/lib/esm/loader.js +4 -4
  470. package/lib/esm/{slot-utils-CSLPO69o.js → slot-utils-CgXzS75x.js} +2 -2
  471. package/lib/esm/themeable-component-EVqsr6Ut.js +60 -0
  472. package/lib/types/common-strings.d.ts +1 -0
  473. package/lib/types/common-types.d.ts +1 -1
  474. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
  475. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  476. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  477. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
  478. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  479. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  480. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
  481. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -0
  482. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  483. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  484. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  485. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  486. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  487. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  488. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  489. package/lib/types/components.d.ts +92 -8
  490. package/lib/types/utils/language-utils.d.ts +1 -0
  491. package/package.json +3 -3
  492. package/lib/cjs/themeable-component-C57DSx5w.js +0 -15
  493. package/lib/duet/p-0239abf5.entry.js +0 -4
  494. package/lib/duet/p-088001ee.entry.js +0 -4
  495. package/lib/duet/p-1326964d.entry.js +0 -4
  496. package/lib/duet/p-214a4675.entry.js +0 -4
  497. package/lib/duet/p-22773cce.entry.js +0 -4
  498. package/lib/duet/p-27fbdb67.entry.js +0 -4
  499. package/lib/duet/p-2b3219a7.entry.js +0 -4
  500. package/lib/duet/p-412ef68f.entry.js +0 -4
  501. package/lib/duet/p-47597304.entry.js +0 -4
  502. package/lib/duet/p-4a791521.entry.js +0 -4
  503. package/lib/duet/p-4f750925.entry.js +0 -4
  504. package/lib/duet/p-50d0ff41.entry.js +0 -4
  505. package/lib/duet/p-56574361.entry.js +0 -4
  506. package/lib/duet/p-60eb6013.entry.js +0 -4
  507. package/lib/duet/p-6fe83dd7.entry.js +0 -4
  508. package/lib/duet/p-72a4ada8.entry.js +0 -4
  509. package/lib/duet/p-75db52e4.entry.js +0 -4
  510. package/lib/duet/p-77d68685.entry.js +0 -4
  511. package/lib/duet/p-8974c058.entry.js +0 -4
  512. package/lib/duet/p-8d5e5316.entry.js +0 -4
  513. package/lib/duet/p-9302dba5.entry.js +0 -4
  514. package/lib/duet/p-948f9054.entry.js +0 -4
  515. package/lib/duet/p-96e70d5b.entry.js +0 -4
  516. package/lib/duet/p-98f1ee13.entry.js +0 -4
  517. package/lib/duet/p-9f2785ce.entry.js +0 -4
  518. package/lib/duet/p-CCVcVc3m.js +0 -4
  519. package/lib/duet/p-CDAA0sDY.js +0 -4
  520. package/lib/duet/p-CO8vqpmW.js +0 -4
  521. package/lib/duet/p-D6YBFNe9.js +0 -4
  522. package/lib/duet/p-DX5mWLkB.js +0 -4
  523. package/lib/duet/p-Djr45qSY.js +0 -5
  524. package/lib/duet/p-FCSGJbLJ.js +0 -4
  525. package/lib/duet/p-WhCDf9tt.js +0 -4
  526. package/lib/duet/p-a47e139c.entry.js +0 -4
  527. package/lib/duet/p-b0dc7df5.entry.js +0 -4
  528. package/lib/duet/p-cb60a521.entry.js +0 -4
  529. package/lib/duet/p-cebee4a6.entry.js +0 -4
  530. package/lib/duet/p-d2402c02.entry.js +0 -4
  531. package/lib/duet/p-d56c1db9.entry.js +0 -4
  532. package/lib/duet/p-d60c71fc.entry.js +0 -4
  533. package/lib/duet/p-de5e4a26.entry.js +0 -4
  534. package/lib/duet/p-e8718555.entry.js +0 -4
  535. package/lib/duet/p-ed9b30ed.entry.js +0 -4
  536. package/lib/duet/p-f110c4fb.entry.js +0 -4
  537. package/lib/duet/p-f383ccca.entry.js +0 -4
  538. package/lib/duet/p-f593a703.entry.js +0 -4
  539. package/lib/duet/p-fa355e38.entry.js +0 -4
  540. package/lib/duet/p-fc83b2e2.entry.js +0 -4
  541. package/lib/duet/p-k-CbGkPp.js +0 -4
  542. package/lib/esm/themeable-component-WhCDf9tt.js +0 -13
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as d,g as r}from"./p-Djr45qSY.js";import{n as i}from"./p-vVCYtBMj.js";import{D as o}from"./p-D6YBFNe9.js";import{i as u}from"./p-WhCDf9tt.js";import{a,g as h,c as M,d as g}from"./p-FCSGJbLJ.js";import{h as n,c as N}from"./p-CO8vqpmW.js";import{p as m}from"./p-C6E9F6QT.js";import"./p-DvwKrUS6.js";const p=class{constructor(d){e(this,d),this.duetClick=t(this,"duetClick",7),this.duetAnalytics=t(this,"duetAnalytics",7),this.processedListItems=null,this.processedActions=null,this.processedBack=null,this.theme="",this.heading="",this.preHeading="",this.level="h1",this.subHeadingLevel="h2",this.description="",this.icon="",this.iconSize="medium",this.iconRight=!1,this.categoryIcon="",this.categoryIconColor="category-pet",this.buttonLabel="",this.language=a(),this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=h(this.accessibleLabelExternalDefaults),this.buttonUrl="#",this.buttonId="",this.textCenter=!1,this.leftAlign=!1,this.image="",this.imageSize="auto",this.imagePosition="auto",this.variation="default",this.layout="narrow",this.handleClick=(e,t)=>{t&&t.analytics&&this.duetAnalytics.emit({component:"duet-hero",analyticsId:t.analytics}),this.emitChange(e,t)}}componentWillLoad(){u(this),this.hasPreHeadingSlot=n(this.element,"pre-heading"),this.hasHeadingSlot=n(this.element,"heading"),this.hasSubHeadingSlot=n(this.element,"subheading"),N(this.element,"pre-heading","span"),N(this.element,"heading","span"),N(this.element,"subheading","span"),this.refresh()}connectedCallback(){M(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){g(this)}async refresh(){this.processedListItems=m(this.listItems),this.processedActions=m(this.actions),this.processedBack=m(this.back)}emitChange(e,t){t||(t={}),this.buttonLabel&&(t.label=this.buttonLabel,t.href=this.buttonUrl,t.id=this.buttonId||"No ID defined via buttonId prop"),this.duetClick.emit({originalEvent:e,data:t,component:"duet-hero"})}render(){const e="campaign"===this.variation||"section"===this.variation,t="cover"===this.imageSize,r="center"===this.imagePosition,o={backgroundImage:`url(${this.image})`,backgroundSize:t?"cover":null,backgroundPosition:r?"center":null};let u="gray"===this.variation||"minimal"===this.variation?"h2":"h1";e?u="h0":"product"===this.variation&&(u="h1");let a="default"===this.variation?"gray-lightest":"";e&&(a="color-gray-lightest","turva"===this.theme&&(a="color-gray-lightest-turva"));let h="turva"===this.theme?"negative":"primary",M="primary-blue",g="gray-lightest",n="primary";return("light"===this.variation||"image"===this.variation||"gray"===this.variation||"minimal"===this.variation||e||"product"===this.variation||"content"===this.variation)&&(g="secondary","turva"===this.theme&&(g="secondary-turva",h="primary",n="color-primary-turva",M="color-primary-turva")),d("div",{key:"f257142549f96ec7a2bc7b55d2a94db30255fda0",role:"region",class:{"duet-hero":!0,"duet-theme-turva":"turva"===this.theme,"duet-has-category-icon":!!this.categoryIcon,"duet-hero-light":"light"===this.variation,"duet-hero-gray":"gray"===this.variation||"minimal"===this.variation,"duet-hero-minimal":"minimal"===this.variation,"duet-hero-with-image":"image"===this.variation,"duet-hero-has-image":!!this.image,"duet-hero-campaign":"campaign"===this.variation,"duet-hero-section":"section"===this.variation,"duet-hero-product":"product"===this.variation,"duet-hero-content":"content"===this.variation,"duet-hero-gray-with-actions":!!this.processedActions,"duet-hero-gray-with-back":!!this.processedBack,"duet-hero-text-center":this.textCenter&&!this.leftAlign||e,"duet-hero-left-align":this.leftAlign&&!e,"duet-hero-narrow":"narrow"===this.layout},part:"duet-hero"},e&&this.image&&d("div",{key:"a0ba1d5fd6f3f34801d8414e83861224fd5e59ef",class:"background-area"},d("div",{key:"9a63de55091585f7b293848d95866486b5f6bea2",class:"background-container"},d("div",{key:"4d33ed0f59978f56e9125a39a1deb7f87bcee57f",class:"background"},d("img",{key:"d7f5cc1eeb1bce111f0a88e58f920281da590b5d",class:`${t?"cover":""} ${r?"center":""}`,src:this.image,alt:"",role:"presentation"})),d("div",{key:"0d3008474a17986da34f5ba31dc8be1564c82783",class:"brand-shape"}))),"product"===this.variation&&this.image&&d("div",{key:"1b8f2936dd72a822d49a7233b565e8ea48ebdd2d",class:{"background-area":!0,[this.layout]:!0}},d("div",{key:"229b3c5552e4d81eafe28b94b5fcec63ee60670d",class:{"background-container":!0,[this.layout]:!0}},d("div",{key:"3b8e2aee66245f324c426c240143b96a99b8e9ca",class:{background:!0,[this.layout]:!0}},d("div",{key:"7d5f3a207b65d18034fbec1d9f368b1f6ee99218",class:{"background-mask":!0,[this.layout]:!0}}),"turva"!==this.theme&&d("div",{key:"77ccfe53bf8deb878b44891a6d5c75f33189144d",class:{"brand-shape":!0,[this.layout]:!0}}),d("div",{key:"5d6bd03904ac0d45359b892b1e726adf994bf3c4",class:{"brand-shaped-image":!0,[this.layout]:!0}},d("div",{key:"bd0ad4df2ca91ed8d331bdb8edd03ea6969f0c91",class:{"brand-shaped-image-wrapper":!0,[this.layout]:!0}},d("div",{key:"72d4659196b1861f52fcf0f89e8de980d6bb0bf0",class:{"brand-shaped-image-bg":!0,[this.layout]:!0},style:o}))),this.categoryIcon&&d("div",{key:"a65fe28b15facb9ccd2b7e5efee8706563b6616b",class:{"brand-shaped-icon":!0,[this.layout]:!0}},d("duet-icon",{key:"b720cd36ac4d5ed3fc933a7cb1cbb1c568a624e8",class:{[this.layout]:!0},background:"none",name:this.categoryIcon,margin:"none",size:"auto",responsive:!1}))))),"content"===this.variation&&this.image&&d("div",{key:"0e15cd2a65dbe97bb5739fbfd750e08fbc22efc7",class:"background-area"},d("div",{key:"00ac94552b4d687692b3b4022e3e999bb142056f",class:"background"},d("div",{key:"6d8fa037c5bff6784c8365f7b80ae04c431f6a76",class:"background-mask"}),"turva"!==this.theme&&d("div",{key:"923fc35eec5ec58405f7aaf2ac7d2c2e3285fb4f",class:"brand-shape"}),d("div",{key:"1cef468ea49ef89bb095d8d33d7af1133edfe110",class:"brand-shaped-image"},d("div",{key:"450b2f27e16145aa148bc9acbb2d2881de110013",class:"brand-shaped-image-wrapper"},d("div",{key:"cf4f3d1aa4f738b0122fad2ffec9bdf96c0bce67",class:"brand-shaped-image-bg",style:o}))))),d("div",{key:"f8a47ed4de939d4731214996232a125a8447eb57",class:{"duet-hero-wrapper":!0,[this.layout]:!0}},this.image&&"image"===this.variation&&d("div",{key:"39e087e5cc31c4e2a027f2c26176724895477056",class:"duet-hero-image-mask"},d("div",{key:"05a38f40913d646a60f91d200ef8e15c109ba99f",class:"duet-hero-image-wrapper"},d("div",{key:"64a89962f4e3566ff396f9f16037952461f2b0d7",class:"duet-hero-image",style:o}))),("gray"===this.variation||"light"===this.variation||"minimal"===this.variation)&&this.processedBack&&d("div",{key:"6d3d2474cadf286c387403671599e6538d3cf9b1",class:"duet-hero-back"},d("duet-button",{key:"4e77d833102623cf2b354537b6b9f87ab764eaa2",style:{transform:"translateX(-8px)"},variation:"plain",icon:"action-arrow-left-small",theme:this.theme,iconSize:"small",color:n,padding:"none",margin:"none",fixed:!0,url:this.processedBack.href,identifier:this.processedBack.id,onClick:e=>this.handleClick(e,{label:this.processedBack.label,href:this.processedBack.href,id:this.processedBack.id,analyticsId:this.processedBack.analyticsId})},this.processedBack.label)),("gray"===this.variation||"minimal"===this.variation)&&this.categoryIcon&&d("duet-icon",{key:"8069d1d43db52a1ccc41bf283c4659c03761392b",class:{"duet-hero-icon":!0,"duet-hero-icon-has-heading":""!==this.preHeading},size:"x-large",background:this.categoryIconColor,name:this.categoryIcon}),d("div",{key:"9aadf0c2ee516c9f4f37a41e340b115fc539d99d",class:{"duet-hero-text":!0},part:"duet-hero-text"},(this.preHeading||this.hasPreHeadingSlot)&&d("duet-paragraph",{key:"10b4c3254d59c69843c27095bef45950ea49fddd",margin:"none",class:"duet-hero-pre",size:"content"===this.variation?"small":"medium"},this.preHeading?this.preHeading:d("span",null,d("slot",{name:"pre-heading"}))),d("slot",{key:"68247fb226b12dd8e2141e2a7b8b63f8276ba8ac",name:"badge"}),(this.heading||this.hasHeadingSlot)&&d("duet-heading",{key:"a16fdad82bd4ebd4c6858ab4f5bd92122623b407",theme:this.theme,level:this.level,class:{"duet-hero-heading":!0,"duet-hero-heading-has-pre":""!==this.preHeading},color:a,visualLevel:u,margin:e?"none":"auto"},this.heading?this.heading:d("slot",{name:"heading"})),e&&this.hasSubHeadingSlot&&d("duet-heading",{key:"80b8ec3ec3dd54c2041bc2282c4676e0b4eb63a4",theme:this.theme,level:this.subHeadingLevel,class:{"duet-hero-subheading":!0},color:"turva"===this.theme?"secondary-turva":"secondary",visualLevel:"h2"},d("slot",{key:"b4b6f35e0393cb5981c1f8f41be47866e21d7c13",name:"subheading"})),this.description&&d("duet-paragraph",{key:"de42a54944a83f5d8d18eafbc75a31852d8ba375",theme:this.theme,color:g,variation:"intro"},this.description),("gray"===this.variation||"minimal"===this.variation)&&this.processedListItems&&d("duet-list",{key:"725ba3215c20f61dab481e4727ee64a2ba604fa4",theme:this.theme,"label-width":"30",breakpoint:"large",mobile:this.leftAlign?void 0:"center"},this.processedListItems.map((e=>d("duet-list-item",null,d("span",{slot:"label"},e.label),d("span",{slot:"value"},e.value))))),this.buttonLabel&&d("duet-button",{key:"c87f70f6e3116d72fb5eb1041e2f5d698665c604",url:this.buttonUrl,icon:this.icon,iconRight:this.iconRight,iconSize:this.iconSize,variation:h,theme:this.theme,identifier:this.buttonId,onClick:e=>this.handleClick(e,this.buttonData),fixed:!0},this.buttonLabel),d("slot",{key:"644f0119c10be1fb8b4c741703203307fac76fe7"})),("gray"===this.variation||"minimal"===this.variation)&&this.processedActions&&d("div",{key:"35e6c2c19c28662be697b4fbfa701a8f1c930fb8",class:"duet-hero-links"},this.processedActions.map((e=>d("a",{class:"duet-hero-link",href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:t=>this.handleClick(t,e)},d("div",{class:"duet-hero-action-icon"},d("duet-icon",{size:"small",margin:"none",name:e.icon,color:"currentColor",outline:M})),d("span",null,e.label),e.external&&d("duet-visually-hidden",null,", ",this.accessibleLabelExternal),e.external&&d("div",{class:"duet-hero-action-arrow"},d("duet-icon",{icon:i.svg,size:"xx-small",margin:"none",color:"currentColor"})))))),this.image&&"image"!==this.variation&&!e&&"product"!==this.variation&&"content"!==this.variation&&d("div",{key:"4e4b7dfb82883d5ff581b7f94abad8894222b241",class:"duet-hero-image",style:o}),d("slot",{key:"d8ea8f05d57854169d1f991fc28f10735bff38ed",name:"bottom"})))}get element(){return r(this)}static get watchers(){return{back:["refresh"],listItems:["refresh"],actions:["refresh"]}}};p.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-hero{position:relative;display:block;width:100%;padding:48px 28px;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;line-height:1.5;text-decoration:none;text-shadow:none;text-transform:none;background:rgb(8, 42, 77)}.duet-hero.duet-p-0{padding:0 !important}.duet-hero.duet-m-0{margin:0 !important}.duet-hero.duet-hero-text-center{text-align:center !important}.duet-hero.duet-hero-light{padding-bottom:0 !important}@media (min-width: 62em){.duet-hero.duet-hero-light{padding-bottom:28px !important}}.duet-hero.duet-hero-with-image{padding-bottom:20px !important;margin-bottom:-36px}@media (min-width: 48em){.duet-hero.duet-hero-with-image{padding-bottom:28px !important}}@media (min-width: 62em){.duet-hero.duet-hero-with-image{padding-bottom:36px !important;margin-bottom:-20px}}.duet-hero.duet-hero-light,.duet-hero.duet-hero-with-image{color:rgb(8, 42, 77);background-color:rgb(255, 255, 255);background-image:linear-gradient(rgb(240, 247, 250), #f8fbfd)}.duet-hero.duet-hero-light::before,.duet-hero.duet-hero-with-image::before{position:absolute;top:100%;left:0;z-index:-1;width:100%;height:400px;content:"";background-image:linear-gradient(#f8fbfd, rgb(255, 255, 255))}.duet-hero.duet-hero-light.duet-theme-turva,.duet-hero.duet-hero-with-image.duet-theme-turva{color:rgb(23, 28, 58);background-image:linear-gradient(rgb(245, 247, 250), #fafbfd)}.duet-hero.duet-hero-light.duet-theme-turva::before,.duet-hero.duet-hero-with-image.duet-theme-turva::before{background-image:linear-gradient(#fafbfd, rgb(255, 255, 255))}.duet-hero.duet-hero-gray{color:rgb(8, 42, 77);background:rgb(245, 248, 250)}.duet-hero.duet-hero-gray.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-hero.duet-hero-gray .duet-hero-text{display:inline-block;vertical-align:top}.duet-hero.duet-hero-gray .duet-hero-icon+.duet-hero-text{margin-left:28px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-actions{padding-bottom:65.4545454545px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-back{padding-top:72px}}.duet-hero.duet-hero-campaign,.duet-hero.duet-hero-section{padding:0 0 48px;margin:0;background:none}@media (min-width: 48em){.duet-hero.duet-hero-campaign,.duet-hero.duet-hero-section{min-height:490px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign,.duet-hero.duet-hero-section{min-height:540px}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign,.duet-hero.duet-hero-section{min-height:620px}}.duet-hero.duet-hero-campaign .background-area,.duet-hero.duet-hero-section .background-area{height:1px;margin-bottom:-1px}.duet-hero.duet-hero-campaign .background-container,.duet-hero.duet-hero-section .background-container{position:absolute;right:0;left:0;display:grid;align-items:flex-start;justify-content:center;overflow:hidden}.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{display:flex;align-items:flex-start;justify-content:center;height:220px;margin:0 auto}.duet-hero.duet-hero-campaign .background img,.duet-hero.duet-hero-section .background img{height:100%}.duet-hero.duet-hero-campaign .background img.cover,.duet-hero.duet-hero-section .background img.cover{object-fit:cover}.duet-hero.duet-hero-campaign .background img.center,.duet-hero.duet-hero-section .background img.center{object-position:center}@media (min-width: 1440px){.duet-hero.duet-hero-campaign .background img,.duet-hero.duet-hero-section .background img{width:100%;height:auto}}@media (min-width: 36em){.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{height:300px}}@media (min-width: 48em){.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{height:450px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{height:500px}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{height:580px}}@media (min-width: 1600px){.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{width:1600px;overflow:hidden}}.duet-hero.duet-hero-campaign .background .brand-container,.duet-hero.duet-hero-section .background .brand-container{position:relative;width:100%;height:100%;min-height:220px;overflow:hidden}.duet-hero.duet-hero-campaign .background .brand,.duet-hero.duet-hero-section .background .brand{position:absolute;width:100%;height:220px;background-repeat:no-repeat;background-position:center center;background-size:cover}@media (min-width: 36em){.duet-hero.duet-hero-campaign .background .brand,.duet-hero.duet-hero-section .background .brand{left:-200px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .background .brand,.duet-hero.duet-hero-section .background .brand{left:auto;height:1100px;background-position:140% -200%}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign .background .brand,.duet-hero.duet-hero-section .background .brand{background-position:right -200%}}.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{position:absolute;top:143px;right:0;left:-30px;width:340px;height:340px;margin-right:auto;margin-left:auto;background:rgb(255, 255, 255);border-radius:20%;mix-blend-mode:normal;transform:rotate(8deg)}@media (min-width: 22.5em){.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{top:160px;width:450px;height:450px}}@media (min-width: 36em){.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{top:215px;left:-50px;width:550px;height:550px}}@media (min-width: 48em){.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{top:250px;left:0;width:712.18px;height:712.18px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{top:240px}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{top:280px}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign .brand-shape,.duet-hero.duet-hero-section .brand-shape{top:310px}}.duet-hero.duet-hero-campaign .duet-hero-text,.duet-hero.duet-hero-section .duet-hero-text{width:100%}.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-heading::part(duet-heading),.duet-hero.duet-hero-section .duet-hero-text .duet-hero-heading::part(duet-heading){font-size:36px}@media (min-width: 36em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-heading::part(duet-heading),.duet-hero.duet-hero-section .duet-hero-text .duet-hero-heading::part(duet-heading){font-size:48px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-heading::part(duet-heading),.duet-hero.duet-hero-section .duet-hero-text .duet-hero-heading::part(duet-heading){font-size:64px}}.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{margin:0 auto}@media (min-width: 22.5em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:90%}}@media (min-width: 25em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:80%}}@media (min-width: 30em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:70%}}@media (min-width: 36em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:70%}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:52%}}.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{display:flex;align-items:center;height:6rem;padding:0 1rem;margin:1rem 0 4.5rem}@media (min-width: 22.5em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{margin:2rem 0 4rem}}@media (min-width: 36em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{margin:3rem 0 8rem}}@media (min-width: 48em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{margin:4rem 0 10rem}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{margin:5rem 0 10rem}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{margin:6rem 0 10rem}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{margin:8rem 0 11rem}}.duet-hero.duet-hero-campaign .duet-hero-wrapper.fluid,.duet-hero.duet-hero-campaign .duet-hero-wrapper.narrow,.duet-hero.duet-hero-section .duet-hero-wrapper.fluid,.duet-hero.duet-hero-section .duet-hero-wrapper.narrow{padding:0 16px}.duet-hero.duet-hero-campaign.duet-theme-turva,.duet-hero.duet-hero-section.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:none}.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:125px;left:-10px;width:350px;height:350px;background:rgb(255, 255, 255);transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}@media (min-width: 22.5em){.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:143px;left:-30px;width:450px;height:450px}}@media (min-width: 36em){.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:180px;left:0;width:550px;height:550px}}@media (min-width: 48em){.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:220px;width:712.18px;height:712.18px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:230px}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:260px}}@media (min-width: 106.25em){.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{top:290px}}.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:98%}@media (min-width: 22.5em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:90%}}@media (min-width: 25em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:78%}}@media (min-width: 30em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:66%}}@media (min-width: 36em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:65%}}@media (min-width: 48em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:70%}}@media (min-width: 62em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-text duet-paragraph{width:52%}}@media (min-width: 22.5em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-heading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-heading{margin:2rem 0 5rem}}@media (min-width: 36em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-heading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-heading{margin:3rem 0 8rem}}@media (min-width: 48em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-heading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-heading{margin:4rem 0 10rem}}@media (min-width: 62em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-heading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-heading{margin:5rem 0 10rem}}@media (min-width: 76.25em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-heading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-heading{margin:6rem 0 12rem}}@media (min-width: 106.25em){.duet-hero.duet-hero-campaign.duet-theme-turva .duet-hero-heading,.duet-hero.duet-hero-section.duet-theme-turva .duet-hero-heading{margin:8rem 0 13rem}}@media (min-width: 48em){.duet-hero.duet-hero-section{min-height:490px}}@media (min-width: 62em){.duet-hero.duet-hero-section{min-height:auto}}@media (min-width: 76.25em){.duet-hero.duet-hero-section{min-height:560px}}@media (min-width: 62em){.duet-hero.duet-hero-section .background img{width:100%;height:auto}}@media (min-width: 62em){.duet-hero.duet-hero-section .background{width:1400px;height:436px;overflow:hidden}}@media (min-width: 76.25em){.duet-hero.duet-hero-section .background{width:1536px;height:516px}}@media (min-width: 106.25em){.duet-hero.duet-hero-section .background{width:1536px}}.duet-hero.duet-hero-product{position:relative;padding:0 0 48px;margin:0;background:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-hero.duet-hero-product{padding-top:240px}}@media (max-width: 22.5em){.duet-hero.duet-hero-product{padding-top:200px}}@media (min-width: 36em){.duet-hero.duet-hero-product{padding-top:260px}}@media (min-width: 48em){.duet-hero.duet-hero-product{padding-top:250px}}@media (min-width: 48em){.duet-hero.duet-hero-product{min-height:400px;padding:72px 0}}@media (min-width: 62em){.duet-hero.duet-hero-product{min-height:500px;padding:96px 0}}@media (min-width: 76.25em){.duet-hero.duet-hero-product{min-height:575px;padding:120px 0}}.duet-hero.duet-hero-product .background-area{position:absolute;top:0;width:100%;height:600px;overflow:hidden;pointer-events:none}.duet-hero.duet-hero-product .background-area *{pointer-events:auto}.duet-hero.duet-hero-product .background-container{position:absolute;top:-150px;width:100%;height:600px;overflow:hidden;pointer-events:none}.duet-hero.duet-hero-product .background-container *{pointer-events:auto}@media (min-width: 62em){.duet-hero.duet-hero-product .background-container{top:-48px}}.duet-hero.duet-hero-product .background{position:absolute;top:145px;width:100%;overflow:visible}.duet-hero.duet-hero-product .background .background-mask{display:none}@media (min-width: 48em){.duet-hero.duet-hero-product .background{top:130px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background{top:35px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background{position:absolute;right:0;left:0;max-width:1440px;height:100%;margin:0 auto}}.duet-hero.duet-hero-product .background .brand-shaped-image{position:absolute;top:-160px;right:-15%;z-index:0;width:375px;height:375px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}@media (max-width: 35.9375em){.duet-hero.duet-hero-product .background .brand-shaped-image{top:-160px;right:-60px;width:360px;height:360px}}@media (max-width: 22.5em){.duet-hero.duet-hero-product .background .brand-shaped-image{top:-120px;right:-14px;width:290px;height:290px}}@media (min-width: 36em){.duet-hero.duet-hero-product .background .brand-shaped-image{top:-175px;right:-20px;width:400px;height:400px}}@media (min-width: 48em){.duet-hero.duet-hero-product .background .brand-shaped-image{top:-145px;right:-150px;width:414px;height:414px}}@media (min-width: 860px){.duet-hero.duet-hero-product .background .brand-shaped-image{right:-105px}}@media (min-width: 960px){.duet-hero.duet-hero-product .background .brand-shaped-image{right:-45px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-image{top:-190px;right:-150px;width:552px;height:552px}}@media (min-width: 1100px){.duet-hero.duet-hero-product .background .brand-shaped-image{right:-35px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .background .brand-shaped-image{top:-300px;right:-128px;width:736px;height:736px}.duet-hero.duet-hero-product .background .brand-shaped-image.narrow{right:-160px}}@media (min-width: 1300px){.duet-hero.duet-hero-product .background .brand-shaped-image.narrow{right:-128px}}.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-wrapper{position:relative;width:100%;height:100%}.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{position:absolute;bottom:0;left:50%;z-index:1;width:600px;height:256px;background-repeat:no-repeat;background-position:40px;background-size:100%;transform:rotate(-7deg) translate(-50%, 0)}@media (max-width: 35.9375em){.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{width:520px;height:240px}}@media (max-width: 22.5em){.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{width:440px;height:200px}}@media (min-width: 36em){.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{width:600px;height:260px}}@media (min-width: 48em){.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{width:500px;height:292px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{width:720px;height:420px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg{width:950px;height:540px}}.duet-hero.duet-hero-product .background .brand-shape{position:absolute;background:rgb(228, 241, 247);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (max-width: 35.9375em){.duet-hero.duet-hero-product .background .brand-shape{top:20px;right:210px;width:200px;height:200px}}@media (max-width: 22.5em){.duet-hero.duet-hero-product .background .brand-shape{top:24px;right:199px;width:162px;height:162px}}@media (min-width: 36em){.duet-hero.duet-hero-product .background .brand-shape{top:25px;right:290px;width:220px;height:220px}}@media (min-width: 48em){.duet-hero.duet-hero-product .background .brand-shape{top:90px;right:145px;width:225px;height:225px}}@media (min-width: 860px){.duet-hero.duet-hero-product .background .brand-shape{right:195px}}@media (min-width: 960px){.duet-hero.duet-hero-product .background .brand-shape{right:245px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shape{top:115px;right:228px;width:300px;height:300px}}@media (min-width: 1100px){.duet-hero.duet-hero-product .background .brand-shape{right:343px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .background .brand-shape{right:394px;width:400px;height:400px}}.duet-hero.duet-hero-product .background .brand-shaped-icon{position:absolute;display:flex;align-items:center;justify-content:center;background:rgba(0, 119, 179, 0.85);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (max-width: 35.9375em){.duet-hero.duet-hero-product .background .brand-shaped-icon{top:165px;right:25px;width:69px;height:69px}}@media (max-width: 22.5em){.duet-hero.duet-hero-product .background .brand-shaped-icon{top:138px;right:50px;width:57px;height:57px}}@media (min-width: 36em){.duet-hero.duet-hero-product .background .brand-shaped-icon{top:175px;right:125px;width:78px;height:78px}}@media (min-width: 48em){.duet-hero.duet-hero-product .background .brand-shaped-icon{top:220px;right:60px}}@media (min-width: 860px){.duet-hero.duet-hero-product .background .brand-shaped-icon{right:110px}}@media (min-width: 960px){.duet-hero.duet-hero-product .background .brand-shaped-icon{right:160px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-icon{top:296px;right:120px;width:105px;height:105px}}@media (min-width: 1100px){.duet-hero.duet-hero-product .background .brand-shaped-icon{right:235px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .background .brand-shaped-icon{top:345px;right:245px;width:140px;height:140px}}.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{transform:rotate(-7deg)}@media (max-width: 35.9375em){.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:100%;height:100%}}@media (min-width: 36em){.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:72px;height:72px}}@media (min-width: 48em){.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:72px;height:72px}}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:86px;height:86px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:104px;height:104px}}.duet-hero.duet-hero-product .duet-hero-wrapper{max-width:100%;margin:0 auto}.duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-text{margin-top:0}@media (min-width: 62em){.duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-heading{margin-top:0}}.duet-hero.duet-hero-product .duet-hero-wrapper.fluid,.duet-hero.duet-hero-product .duet-hero-wrapper.narrow{padding:0 16px}@media (min-width: 36em){.duet-hero.duet-hero-product .duet-hero-wrapper.fluid{padding:0 28px}}@media (min-width: 62em){.duet-hero.duet-hero-product .duet-hero-wrapper.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .duet-hero-wrapper.fluid{max-width:1110px;padding:0}}@media (min-width: 48em){.duet-hero.duet-hero-product .duet-hero-wrapper.fluid .duet-hero-text{width:60%}}@media (min-width: 62em){.duet-hero.duet-hero-product .duet-hero-wrapper.fluid .duet-hero-text{width:50%}}@media (min-width: 76.25em){.duet-hero.duet-hero-product .duet-hero-wrapper.fluid .duet-hero-text{width:47%}}.duet-hero.duet-hero-product .duet-hero-wrapper.narrow{max-width:888px}@media (min-width: 36em){.duet-hero.duet-hero-product .duet-hero-wrapper.narrow{padding:0 48px}}@media (min-width: 48em){.duet-hero.duet-hero-product .duet-hero-wrapper.narrow{padding:0 72px}}@media (min-width: 48em){.duet-hero.duet-hero-product .duet-hero-wrapper.narrow .duet-hero-text{width:60%}}@media (min-width: 62em){.duet-hero.duet-hero-product .duet-hero-wrapper.narrow .duet-hero-text{width:47%}}.duet-hero.duet-hero-product.duet-theme-turva{background:rgb(255, 255, 255)}.duet-hero.duet-hero-product.duet-theme-turva .background .background-mask{position:absolute;top:0;left:0;display:block;width:721px;height:256.85px;pointer-events:none;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTNDMTg0LjczNSAtNTEuMTM1IDE4MC43NTkgLTQyLjk2MDIgMTc3LjAxNyAtMzQuOTAyN0MxNzMuMjg4IC0yNi44NDUyIDE2Ny42ODEgLTE5LjEyNjggMTYwLjIxMSAtMTEuNzYwM0MxNTIuNzUzIC00LjM4MDgzIDE0NC45NTYgMy4zMTE1MiAxMzYuODQ3IDExLjM2OUMxMjguNzI0IDE5LjQyNjUgMTIwLjk2NiAyNy4xNDUgMT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2IDI4Ljc2MThDNTYwLjA5OSAyOC42MTg0IDU2MC4wMzQgMjguMTYyIDU2MC4yOTUgMjcuMzUzN0M1NjUuMzc5IDE4LjE3NDkgNTcwLjc3NyA5LjEwMDU1IDU3Ni40MzYgMC4wOTEzMDg2SDQzMC4xNzZDNDI0LjIwNCAxMi42NzMgNDE5LjA1NCAyNS45NDU2IDQxNC44MyAzOS45ODc1QzQwNi40NzMgNjEuOTU2NSA0MDQuMjgyIDgyLjI2OTcgNDA4LjI4NSAxMDAuOTY2QzQxMi4wMTQgMTIwLjQ1OCA0MTguODMzIDEzOC40NjMgNDI4LjcyOCAxNTQuOTgyQzQzOC42MTEgMTcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat}@media (min-width: 48em){.duet-hero.duet-hero-product.duet-theme-turva .background .background-mask{left:181px}}.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{margin:0 auto;border-radius:0;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}@media (max-width: 35.9375em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{top:-120px;width:385px}}@media (max-width: 22.5em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{top:-95px;width:320px}}@media (min-width: 36em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{top:-135px;width:420px}}@media (min-width: 48em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{top:-110px;right:-110px;width:418px}}@media (min-width: 860px){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{right:-75px}}@media (min-width: 960px){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{right:-40px}}@media (min-width: 62em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{top:-130px;right:-100px;width:552px}}@media (min-width: 1100px){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{right:-35px}}@media (min-width: 76.25em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image{top:-215px;width:736px}.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image.narrow{right:-115px}}@media (min-width: 1300px){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image.narrow{right:-50px}}@media (min-width: 1400px){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image.narrow{right:-35px}}.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-image .brand-shaped-image-bg{transform:translate(-50%, 0)}.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat;transform:rotate(0deg)}.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-icon duet-icon{position:relative;top:-6px;transform:rotate(0deg)}@media (min-width: 48em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-icon duet-icon{top:-8px}}@media (min-width: 62em){.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-icon duet-icon{top:-12px}}.duet-hero.duet-hero-content{padding:0 0 48px;padding-top:236px;background:rgb(255, 255, 255)}@media (min-width: 48em){.duet-hero.duet-hero-content{padding-top:384px}}.duet-hero.duet-hero-content:not(.duet-hero-has-image){padding:72px 0 48px}.duet-hero.duet-hero-content .background-area{position:absolute;width:100%}.duet-hero.duet-hero-content .background{position:absolute;top:-236px;width:100%;height:600px;overflow:hidden;pointer-events:none}.duet-hero.duet-hero-content .background *{pointer-events:auto}.duet-hero.duet-hero-content .background .background-mask{display:none}@media (min-width: 48em){.duet-hero.duet-hero-content .background{top:-384px}}.duet-hero.duet-hero-content .background .brand-shaped-image{position:absolute;top:-165px;right:0;left:30px;z-index:0;width:375px;height:375px;margin:0 auto;overflow:hidden;border-radius:20%;transform:rotate(7deg)}@media (min-width: 48em){.duet-hero.duet-hero-content .background .brand-shaped-image{top:-325px;left:250px;width:687px;height:687px}}.duet-hero.duet-hero-content .background .brand-shaped-image .brand-shaped-image-wrapper{position:relative;width:100%;height:100%}.duet-hero.duet-hero-content .background .brand-shaped-image .brand-shaped-image-bg{position:absolute;bottom:0;left:50%;z-index:1;width:600px;height:256px;background-repeat:no-repeat;background-size:100%;transform:rotate(-7deg) translate(-50%, 0)}@media (min-width: 48em){.duet-hero.duet-hero-content .background .brand-shaped-image .brand-shaped-image-bg{width:733px;height:413px}}.duet-hero.duet-hero-content .background .brand-shape{position:absolute;top:-25px;right:0;left:-300px;width:240px;height:240px;margin-right:auto;margin-left:auto;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.07;transform:rotate(7deg)}@media (min-width: 48em){.duet-hero.duet-hero-content .background .brand-shape{top:80px;left:-400px;width:373px;height:373px}}.duet-hero.duet-hero-content .duet-hero-wrapper{max-width:100%;margin:0 auto}.duet-hero.duet-hero-content .duet-hero-wrapper.fluid,.duet-hero.duet-hero-content .duet-hero-wrapper.narrow{padding:0 16px}@media (min-width: 36em){.duet-hero.duet-hero-content .duet-hero-wrapper.fluid{padding:0 28px}}@media (min-width: 62em){.duet-hero.duet-hero-content .duet-hero-wrapper.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-hero.duet-hero-content .duet-hero-wrapper.fluid{max-width:1110px;padding:0}}.duet-hero.duet-hero-content .duet-hero-wrapper.narrow{max-width:888px}@media (min-width: 36em){.duet-hero.duet-hero-content .duet-hero-wrapper.narrow{padding:0 48px}}@media (min-width: 48em){.duet-hero.duet-hero-content .duet-hero-wrapper.narrow{padding:0 72px}}.duet-hero.duet-hero-content .duet-hero-text{max-width:100%}@media (min-width: 62em){.duet-hero.duet-hero-content .duet-hero-text{width:80%}}.duet-hero.duet-hero-content .duet-hero-text .duet-hero-pre{margin-top:1rem;margin-bottom:0.5rem}@media (min-width: 62em){.duet-hero.duet-hero-content .duet-hero-text .duet-hero-pre{margin-top:1.5rem;margin-bottom:0}}.duet-hero.duet-hero-content.duet-theme-turva{background:rgb(255, 255, 255)}.duet-hero.duet-hero-content.duet-theme-turva .background-mask{position:absolute;top:0;left:0;display:block;width:721px;height:256.85px;pointer-events:none;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTNDMTg0LjczNSAtNTEuMTM1IDE4MC43NTkgLTQyLjk2MDIgMTc3LjAxNyAtMzQuOTAyN0MxNzMuMjg4IC0yNi44NDUyIDE2Ny42ODEgLTE5LjEyNjggMTYwLjIxMSAtMTEuNzYwM0MxNTIuNzUzIC00LjM4MDgzIDE0NC45NTYgMy4zMTE1MiAxMzYuODQ3IDExLjM2OUMxMjguNzI0IDE5LjQyNjUgMTIwLjk2NiAyNy4xNDUgMTEzLjQ4MyAzNC40OTg0Qzk3LjQ5OCA0OS44MTggNzkuNjYyIDU2LjAyNDEgNjAuMDAwOCA1My4xNjg4QzQwLjI4NzQgNTAuMzEzNSAyNS41NDE0IDM5LjA3NDcgMTUuNjk3NyAxOS40Nzg2QzMuOTI0NDUgLTIuMzcyOTkgLTEuMjI1NTUgLTI0LjQ3MjQgMC4yNDc3NDMgL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45ODc1QzQwNi40NzMgNjEuOTU2NSA0MDQuMjgyIDgyLjI2OTcgNDA4LjI4NSAxMDAuOTY2QzQxMi4wMTQgMTIwLjQ1OCA0MTguODMzIDEzOC40NjMgNDI4LjcyOCAxNTQuOTgyQzQzOC42MTEgMTcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat}@media (min-width: 48em){.duet-hero.duet-hero-content.duet-theme-turva .background-mask{left:181px}}.duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image{top:-155px;right:0;left:0;width:420px;height:420px;margin:0 auto;border-radius:0;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}@media (min-width: 48em){.duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image{top:-230px;width:687px;height:637px}}.duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image .brand-shaped-image-bg{width:600px;height:280px;transform:translate(-50%, 0)}@media (min-width: 48em){.duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image .brand-shaped-image-bg{width:733px;height:413px}}.duet-hero.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-hero{min-height:290px;padding:111.6px 56px;overflow:visible}}.duet-hero-icon{display:inline-block;vertical-align:top}@media (min-width: 62em){.duet-hero-icon{margin-top:-8px}}@media (min-width: 62em){.duet-hero-heading{margin-top:12px}}@media (min-width: 62em){.duet-hero-heading-has-pre{margin-top:0}}.duet-hero-wrapper{position:relative;width:100%;max-width:1110px;margin:0 auto;text-align:center}.duet-hero-left-align .duet-hero-wrapper{text-align:left}.duet-hero-with-image .duet-hero-wrapper{position:static}@media (min-width: 62em){.duet-hero-wrapper{text-align:left}}.duet-hero-text{max-width:50rem;margin:0 auto}.duet-hero-text-center .duet-hero-text{text-align:center !important}@media (min-width: 48em){.duet-hero-text{width:80%}.duet-hero-left-align .duet-hero-text{margin:0}}@media (min-width: 62em){.duet-hero-text{width:52%;max-width:none;margin-top:-10px;margin-left:0}.duet-hero-text-center .duet-hero-text{margin-left:auto}}.duet-hero:not(.duet-hero-with-image) .duet-hero-image{width:100%;max-width:400px;height:0;padding-bottom:50%;margin:28px auto 0;background-repeat:no-repeat;background-position:50% 50%;background-size:contain}@media (min-width: 36em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{padding-bottom:40%}}@media (min-width: 48em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:420px;padding-bottom:34%}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:540px}}@media (min-width: 62em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{position:absolute;top:50%;right:0;padding-bottom:30%;margin:0;transform:translateY(-50%)}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-60px;padding-bottom:26%}.duet-hero-gray .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}@media (min-width: 62em){.duet-hero-gray:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}.duet-hero-image-wrapper{position:relative;width:80%;height:0;padding-bottom:80%;margin:-30px auto 36px;overflow:hidden;border-radius:28%;box-shadow:0 0 20px rgba(255, 255, 255, 0.5);transform:rotate(10deg)}.duet-theme-turva .duet-hero-image-wrapper{padding-bottom:68%;border-radius:44% 47% 38% 54%;transform:none}@media screen and (min-width: 440px){.duet-hero-image-wrapper{width:300px;padding-bottom:300px}.duet-theme-turva .duet-hero-image-wrapper{width:80%;padding-bottom:68%}}@media (min-width: 62em){.duet-hero-image-wrapper{position:absolute;top:-60px;right:-50px;width:470px;padding-bottom:470px;margin:0}.duet-theme-turva .duet-hero-image-wrapper{top:-40px;right:-80px;width:536px;padding-bottom:470px}}@media (min-width: 76.25em){.duet-hero-image-wrapper{top:-70px;right:-60px;width:600px;padding-bottom:600px}.duet-theme-turva .duet-hero-image-wrapper{top:-70px;right:-60px;width:650px;padding-bottom:600px}}@media screen and (min-width: 1450px){.duet-hero-image-wrapper{top:-70px;right:25px}.duet-theme-turva .duet-hero-image-wrapper{right:0}}.duet-hero-image-wrapper .duet-hero-image{position:absolute;top:-5%;left:-5%;width:110%;height:110%;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;transform:rotate(-10deg)}.duet-theme-turva .duet-hero-image-wrapper .duet-hero-image{top:0;left:0;width:100%;height:100%;transform:none}.duet-hero-image-mask{position:relative;margin:-48px auto 0;overflow:hidden}@media (min-width: 62em){.duet-hero-image-mask{position:absolute;top:0;right:0;width:470px;height:460px;margin:0}}@media (min-width: 76.25em){.duet-hero-image-mask{width:650px;height:580px}}@media screen and (min-width: 1450px){.duet-hero-image-mask{right:50%;transform:translateX(110%)}.duet-theme-turva .duet-hero-image-mask{transform:translateX(108%)}}duet-heading+duet-button{margin-top:12px !important}.duet-hero-links{width:calc(100% + 56px);margin-top:48px;margin-left:-28px}.duet-hero-minimal .duet-hero-links{margin-top:28px}@media (min-width: 36em){.duet-hero-links{margin-top:72px}.duet-hero-minimal .duet-hero-links{margin-top:28px}}@media (min-width: 62em){.duet-hero-links{width:auto;margin:36px 0 0}.duet-hero-minimal .duet-hero-links{margin-top:28px}}.duet-hero-link{display:flex;align-items:center;width:100%;padding:16px 16px 8px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.25;color:rgb(0, 119, 179);text-align:left;text-decoration:none;border-bottom:1px solid rgb(212, 223, 229);transition:background-color 300ms ease}.duet-hero-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-hero-link:focus,.duet-hero-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-hero-link:hover,.duet-hero-link:hover .duet-hero-action-arrow{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-hero-link:hover,.duet-theme-turva .duet-hero-link:hover .duet-hero-action-arrow{color:rgb(126, 2, 35) !important}.duet-theme-turva .duet-hero-link{color:rgb(198, 12, 48)}@media (min-width: 36em){.duet-hero-link{padding:16px 16px 16px 28px}}@media (min-width: 62em){.duet-hero-link{display:inline-flex;width:auto;max-width:350px;padding:0;margin:0 28px 16px 0;border:0;border-radius:4px}}.duet-hero-link:hover{background:rgba(0, 0, 0, 0.02)}@media (min-width: 62em){.duet-hero-link:hover{background:transparent}}.duet-hero-link:first-of-type{border-top:1px solid rgb(212, 223, 229)}@media (min-width: 62em){.duet-hero-link:first-of-type{margin-top:0;border:0}}.duet-hero-link:last-of-type{margin-bottom:-48px}@media (min-width: 62em){.duet-hero-link:last-of-type{margin-right:0;margin-bottom:0}}.duet-hero-link span{margin-top:-8px}@media (min-width: 36em){.duet-hero-link span{margin:0}}.duet-hero-action-icon{margin-right:8px}@media (min-width: 36em){.duet-hero-action-icon{margin-right:12px}}.duet-hero-action-arrow{margin:0 0 0 8px;color:rgb(0, 119, 179)}@media (max-width: 35.9375em){.duet-hero-action-arrow{margin-top:-9px}}.duet-theme-turva .duet-hero-action-arrow{color:rgb(198, 12, 48)}.duet-hero-back{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center}.duet-hero-left-align .duet-hero-back{align-items:self-start;justify-content:flex-start}@media (min-width: 36em){.duet-hero-back{margin-bottom:36px !important}.duet-hero-minimal .duet-hero-back{margin-bottom:28px !important}}@media (min-width: 62em){.duet-hero-back{display:block}}.duet-hero-pre{display:inline-block;width:auto;margin-right:8px}.duet-hero-pre+duet-heading{margin-top:0 !important}';export{p as duet_hero}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as t,r as e,c as a,H as i,g as o}from"./p-Djr45qSY.js";import{D as n}from"./p-BAFwjrjc.js";import{i as r}from"./p-WhCDf9tt.js";import{c as s}from"./p-Cfr_DJqU.js";import{F as d}from"./p-CDAA0sDY.js";import{a as l,g as u,c,d as h}from"./p-FCSGJbLJ.js";import{c as b,p}from"./p-CO8vqpmW.js";import{g as m}from"./p-DvwKrUS6.js";import"./p-C6E9F6QT.js";const g={day:"numeric",month:"long",weekday:"long"},f={day:"numeric",month:"long",year:"numeric"},y={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",g),formatterLong:new Intl.DateTimeFormat("fi-FI",f)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",g),formatterLong:new Intl.DateTimeFormat("en-GB",f)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",g),formatterLong:new Intl.DateTimeFormat("sv-SE",f)}};var v,x,k=m(x?v:(x=1,v={title:"form-date",tags:"form date calendar date picker",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>'}));const w=({onClick:e,placeholder:a,inputLabel:i,valueAsDate:o,formattedValue:n,language:r,identifier:s,theme:d,disabled:l,error:u,role:c,required:h,tooltip:b,tooltipDirection:p,labelHidden:m,buttonRef:g,inputRef:f,onInput:v,onBlur:x,onFocus:w,hasFocus:D,accessibleActiveDescendant:S,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,accessibleLiveError:A,echoPlaceholder:F,caption:j})=>{const{buttonLabel:C,selected:E,formatterLong:z}=y[r];return t("div",{class:{"duet-theme-turva":"turva"===d,"duet-date-input":!0,"duet-date-input-has-focus":D}},t("duet-input",{label:i,value:n,placeholder:a,id:s,disabled:l,theme:d,error:u,role:c,required:h,tooltip:b,tooltipDirection:p,margin:"none",labelHidden:m,accessibleAutocomplete:"none",onDuetChange:t=>t.stopImmediatePropagation(),onDuetInput:v,onDuetFocus:w,onDuetBlur:x,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:!0,ref:f,accessibleActiveDescendant:S,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,accessibleLiveError:A,echoPlaceholder:F,caption:j,variation:"button"},t("slot",{name:"tooltip"}),t("button",{class:{"duet-date-button":!0,"duet-no-label":m,"input-error":!!u},onClick:e,disabled:l,ref:g,type:"button",slot:"button"},t("duet-icon",{icon:k.svg,margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,C,o&&t("span",null,", ",E," ",z.format(o))))))},D=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/,S=/^(\d{4})-(\d{2})-(\d{2})$/;function M(t,e,a){var i=parseInt(a,10),o=parseInt(e,10),n=parseInt(t,10);if(Number.isInteger(n)&&Number.isInteger(o)&&Number.isInteger(i)&&o>0&&o<=12&&i>0&&i<=31&&n>0)return new Date(n,o-1,i)}function L(t){if(!t)return;const e=t.match(D);return e?M(e[3],e[2],e[1]):void 0}function I(t){if(!t)return;const e=t.match(S);return e?M(e[1],e[2],e[3]):void 0}function A(t,e){if(!t)return"";var a=t.getDate().toString(10),i=(t.getMonth()+1).toString(10),o=t.getFullYear().toString(10);return t.getDate()<10&&(a=`0${a}`),t.getMonth()<9&&(i=`0${i}`),e.replace(/MM/i,i).replace(/YYYY/i,o).replace(/DD/i,a)}function F(t){return A(t,"YYYY-MM-DD")}function j(t,e){return null!=t&&null!=e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function C(t,e){var a=new Date(t);return a.setDate(a.getDate()+e),a}function E(t,e=1){var a=new Date(t),i=a.getDay(),o=(i<e?7:0)+i-e;return a.setDate(a.getDate()-o),a}function z(t,e=1){var a=new Date(t),i=a.getDay(),o=6+(i<e?-7:0)-(i-e);return a.setDate(a.getDate()+o),a}function U(t){return new Date(t.getFullYear(),t.getMonth(),1)}function V(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function H(t,e){const a=new Date(t);return a.setMonth(e),a}function B(t,e){const a=new Date(t);return a.setFullYear(e),a}function Y(t,e,a){return R(t,e,a)===t}function R(t,e,a){const i=t.getTime();return e&&e instanceof Date&&i<e.getTime()?e:a&&a instanceof Date&&i>a.getTime()?a:t}const J=({focusedDay:e,today:a,day:i,language:o,onDaySelect:n,onKeyboardNavigation:r,ref:s,inRange:d,isSelected:l})=>{const u=j(i,a),c=j(i,e),h=i.getMonth()!==e.getMonth(),b=!d,{formatterShort:p}=y[o];return t("td",{"data-day":F(i),class:"duet-date-table-cell","aria-label":p.format(i),role:"button",tabIndex:c?0:-1,onClick:function(t){n(t,i)},onKeyDown:r,"aria-disabled":b||h,"aria-pressed":l?"true":"false",ref:s},t("span",{class:{"duet-date-table-button":!0,outside:b,disabled:h,today:u}},i.getDate()))};function T(t){var e;const a=t.trim().split("+"),i=a.pop();return["shift"===(null===(e=a[0])||void 0===e?void 0:e.toLowerCase()),i]}function N(t){const e=Object.keys(t).map((e=>[T(e),t[e]]));return function(t){if(!(t instanceof KeyboardEvent))return;const a=e.find((([[e,a]])=>(a.toUpperCase()===t.key.toUpperCase()||a===t.code)&&e===t.shiftKey));a&&(a[1](t),t.preventDefault())}}const O=({selectedDate:e,focusedDate:a,labelledById:i,theme:o,language:n,min:r,max:s,onDateSelect:d,onKeyboardNavigation:l,focusedDayRef:u,onFocusEnter:c,onFocusExit:h})=>{const{dayLabels:b}=y[n],p=new Date,m=function(t,e=1){return function(t,e){const a=[];let i=t;for(;!j(i,e);)a.push(i),i=C(i,1);return a.push(i),a}(E(U(t),e),z(V(t),e))}(a);return t("div",{role:"application"},t("table",{role:"presentation",class:{"duet-date-table":!0,"duet-theme-turva":"turva"===o},"aria-labelledby":i,onFocusin:c,onFocusout:function(t){const e=t.relatedTarget;e&&!t.currentTarget.contains(e)&&h(t)}},t("thead",null,t("tr",null,b.map((e=>t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2))))))),t("tbody",null,function(t){const e=[];for(let a=0;a<t.length;a+=7)e.push(t.slice(a,a+7));return e}(m).map((i=>t("tr",{class:"duet-date-table-row"},i.map((i=>t(J,{day:i,today:p,language:n,focusedDay:a,inRange:Y(i,r,s),isSelected:j(i,e),onDaySelect:d,onKeyboardNavigation:l,ref:t=>{t&&j(i,a)&&u(t)}})))))))))},P=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",7),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.proxyId=s("DuetDatePicker"),this.monthSelectId=s("DuetDatePicker"),this.yearSelectId=s("DuetDatePicker"),this.dialogLabelId=s("DuetDatePicker"),this.initialTouchX=null,this.initialTouchY=null,this.focusTarget=null,this.dateErrorMessages={badInput:{en:"Wrong date format",fi:"Väärä päivämäärämuoto",sv:"Fel datumformat"},rangeUnderflow:{en:"Date too early",fi:"Liian aikainen päivämäärä",sv:"Datum för tidigt"},rangeOverflow:{en:"Date too late",fi:"Liian myöhäinen päivämäärä",sv:"Datum för sent"},valueMissing:{en:"Date required",fi:"Päivämäärä vaaditaan",sv:"Datum krävs"}},this.open=!1,this.focusedDay=new Date,this.inputValue="",this.inputHasFocus=!1,this.internalValidityError="",this.theme="",this.expand=!1,this.name="",this.identifier="",this.label="",this.margin="auto",this.language=l(),this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"},this.placeholder=u(this.placeholderDefaults,this.language),this.echoPlaceholder=!1,this.disabled=!1,this.error="",this.disableBuiltInErrors=!1,this.labelHidden=!1,this.required=!1,this.direction="right",this.tooltip="",this.tooltipDirection="auto",this.value="",this.min="",this.max="",this.incrementYears=10,this.accessibleLiveError="polite",this.enableActiveFocus=()=>{this.focusTarget="day-button"},this.disableActiveFocus=()=>{this.focusTarget=null},this.toggleOpen=t=>{t.preventDefault(),this.open?this.hide(!1):this.show()},this.handleBlur=t=>{if(t.stopPropagation(),this.inputHasFocus=!1,!this._validity.valid){this.value=null;const t=Object.entries(this._validity).find((t=>!!t[1]))[0];this.internalValidityError=u(this.dateErrorMessages[t])}this.duetBlur.emit({component:"duet-date-picker"})},this.handleFocus=t=>{t.stopPropagation(),this.inputHasFocus=!0,this.duetFocus.emit({component:"duet-date-picker"})},this.handleTouchStart=t=>{const e=t.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchMove=t=>{t.preventDefault()},this.handleTouchEnd=t=>{const e=t.changedTouches[0],a=e.pageX-this.initialTouchX,i=e.pageY-this.initialTouchY,o=Math.abs(a)>=70&&Math.abs(i)<=70,n=Math.abs(i)>=70&&Math.abs(a)<=70&&i>0;o?this.addMonths(a<0?1:-1):n&&(this.hide(),t.preventDefault()),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=t=>{t.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=t=>{t.preventDefault(),this.addMonths(-1)},this.handleEscKey=N({Escape:()=>this.hide(),Esc:()=>this.hide()}),this.handleKeyboardNavigation=N({ArrowRight:()=>this.addDays(1),Right:()=>this.addDays(1),ArrowLeft:()=>this.addDays(-1),Left:()=>this.addDays(-1),ArrowDown:()=>this.addDays(7),Down:()=>this.addDays(7),ArrowUp:()=>this.addDays(-7),Up:()=>this.addDays(-7),Home:()=>this.startOfWeek(),End:()=>this.endOfWeek(),PageUp:()=>this.addMonths(-1),PageDown:()=>this.addMonths(1),"Shift+PageUp":()=>this.addYears(-1),"Shift+PageDown":()=>this.addYears(1),Space:t=>this.handleKeyboardDaySelect(t),Enter:t=>this.handleKeyboardDaySelect(t)}),this.handleKeyboardDaySelect=t=>{const e=I(t.target.dataset.day);this.handleDaySelect(t,e)},this.handleDaySelect=(t,e)=>{const a=I(this.min),i=I(this.max);this.determineValidity(e),Y(e,a,i)&&(this.setValue(e),this.hide())},this.handleMonthSelect=t=>{this.setMonth(parseInt(t.target.value,10))},this.handleYearSelect=t=>{this.setYear(parseInt(t.target.value,10))},this.handleInputChange=t=>{this.inputValue=t.detail.value;const e=L(this.inputValue);this.determineValidity(e),(e||""===this.inputValue)&&this.setValue(e)}}get validity(){return this._validity}updateValidity(t,e,a){"value"===a&&null===t||(this.determineValidity(I(this.value)),this._validity.valid&&(this.internalValidityError=""))}updateInternalValue(){if(null===this.value)return;const t=I(this.value),e=L(this.inputValue);t?j(t,e)||(this.inputValue=A(t,"dd.mm.yyyy")):this.inputValue=""}componentWillLoad(){r(this),this.determineValidity(I(this.value)),this.updateInternalValue(),b(this.element,"tooltip","duet-tooltip",1,!0)}componentDidUpdate(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus(),this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus(),this.focusTarget=null}}componentDidRender(){p(this.element,this.proxyId,this.name,this.value,this.required)}connectedCallback(){c(this,{prop:"placeholder",defaults:"placeholderDefaults"})}disconnectedCallback(){h(this)}async setFocus(t){this.datePickerInput.setFocus(t)}async show(){this.open=!0,this.focusTarget="month-select",this.setFocusedDay(I(this.value)||new Date)}async hide(t=!0){this.open=!1,t&&(this.focusTarget="toggle-button")}addDays(t){this.setFocusedDay(C(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(E(this.focusedDay))}endOfWeek(){this.setFocusedDay(z(this.focusedDay))}setMonth(t){const e=H(U(this.focusedDay),t),a=V(e),i=H(this.focusedDay,t);this.setFocusedDay(R(i,e,a))}setYear(t){const e=B(U(this.focusedDay),t),a=V(e),i=B(this.focusedDay,t);this.setFocusedDay(R(i,e,a))}setFocusedDay(t){this.focusedDay=R(t,I(this.min),I(this.max))}determineValidity(t){var e,a;const i=""!==(null!==(a=null===(e=this.datePickerInput)||void 0===e?void 0:e.value)&&void 0!==a?a:"")&&null==t,o=this.required&&null==t,n=!!t&&!Y(t,null,I(this.max)),r=!!t&&!Y(t,I(this.min));this._validity={patternMismatch:!1,customError:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,badInput:i,rangeUnderflow:r,rangeOverflow:n,valueMissing:o,valid:!(o||i||r||n)}}setValue(t){const e=F(t);e!==this.value&&(this.value=e,this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:t}))}handleDocumentClick(t){this.open&&t.composedPath().every((t=>t!==this.dialogWrapperNode&&t!==this.datePickerButton))&&this.hide(!1)}render(){const e=I(this.value),a=(e||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),r=this.focusedDay.getFullYear(),s=y[this.language],l=I(this.min),u=I(this.max),c=null!=l&&l.getMonth()===o&&l.getFullYear()===r,h=null!=u&&u.getMonth()===o&&u.getFullYear()===r;let b=a-this.incrementYears,p=a+this.incrementYears;return l&&(b=Math.max(b,l.getFullYear())),u&&(p=Math.min(p,u.getFullYear())),t(i,{key:"cb9845ce610b07e9c3ee1eed878e8bc8ce018459",class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},t("div",{key:"9136d8bd2bfa2fdcd56789cba998d54d6a663d00",class:"duet-date"},t(w,{key:"d273a896ab5775b8f2de47d0408b512213731006",hasFocus:this.inputHasFocus,value:this.value,valueAsDate:e,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error||!this.disableBuiltInErrors&&this.internalValidityError||null,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:t=>this.datePickerButton=t,inputRef:t=>this.datePickerInput=t,accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,accessibleLiveError:this.accessibleLiveError,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{key:"ac93b73b4e207311461374c7fde8b550b7b5aea6",class:{"duet-theme-turva":"turva"===this.theme,"duet-date-dialog":!0,left:"left"===this.direction,error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("duet-overlay",{key:"5cdb9465322b0e94e00fa77e8dbdc49f7a3e3d80",visible:this.open,"display-device":"x-small"}),t(d,{key:"424a6e5b1acf0fd1d186207cc918c49cd96f2c83",moveFocusTo:this.focusedDayNode}),t("div",{key:"afa48891f98d6029638b28b6d262237aa6b74b87",class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:t=>this.dialogWrapperNode=t},t("duet-visually-hidden",{key:"d74b52c947c6e4ccf14c30005f22e2436dbc728d","aria-live":"polite"},s.keyboardInstruction),t("div",{key:"546e84a8a3cbab555ee262759adfb2e77a08ecb5",class:"duet-date-dialog-mobile-header"},t(n,{key:"372d8064bf5a956b4bdc42ed975630c5a4619ebb",margin:"none"},this.label),t("button",{key:"1850243d9af86b20cd03b6ec9dd92f7ef13d91b1",class:"duet-date-picker-close",ref:t=>this.closeButtonNode=t,onClick:()=>this.hide(),type:"button"},t("duet-icon",{key:"33861012c05b49081bd813e323d881855b86ac4c",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",{key:"39bae44b56d60c7117199763166ce097349c9866"},s.closeLabel))),t("div",{key:"f0994f2a30581567406ad6a36a3c36d61d01c352",class:"duet-date-dialog-header"},t("div",{key:"b8b380f3761394628127ccb41718b82fa4d1423c",class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",{key:"ca290b58c995ae474a3b60fef19b38206807a20e"},t("h2",{key:"27f68c536215973cf1203bf3cee52de0443eff0c",id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},s.monthLabels[o]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",{key:"29bd3976ea9734c02aae33721e181417c577bcc1"},t("label",{key:"8183aa79bdcb18a5a6f33447f628ea2a94fe275c",htmlFor:this.monthSelectId},s.monthSelectLabel)),t("div",{key:"1860110277653760de4fabb7f23cf641457184bc",class:"duet-date-dialog-select"},t("select",{key:"10e94ebbfadcd6c97e20bf45754fcc3a73074bd2",id:this.monthSelectId,class:"duet-date-month-select",ref:t=>this.monthSelectNode=t,onChange:this.handleMonthSelect},s.monthLabels.map(((e,a)=>t("option",{key:e,value:a,selected:a===o,disabled:!Y(new Date(r,a,1),l?U(l):null,u?V(u):null)},e)))),t("div",{key:"deffc1742f3855666fa7ea3e9c94ec05c5244b15",class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",{key:"250ffdb114542531c02de80fb9ac33583374783c"},s.monthLabelsShort[o]),t("duet-icon",{key:"fa1f1e35fc0cf93572135a63d9749eb99a3ac640",name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",{key:"9ad3ad9f5dcc139472cc205949140a0498d559f3"},t("label",{key:"1a6738bc37053cd0266f2660ddf8b0a211d71a4f",htmlFor:this.yearSelectId},s.yearSelectLabel)),t("div",{key:"a46e74ba3f51a9909a1b93988e9c0ffa48c7a696",class:"duet-date-dialog-select"},t("select",{key:"01d3a4c7397d7a7702f15cbd6d354c085fb39213",id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},function(t,e){for(var a=[],i=t;i<=e;i++)a.push(i);return a}(b,p).map((e=>t("option",{key:e,selected:e===r},e)))),t("div",{key:"627ac82de8935938f75b3cdb8096db62a74346db",class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",{key:"c4c5d67ab6aa7c3f1c116981bfc8b7569f3b0854"},this.focusedDay.getFullYear()),t("duet-icon",{key:"877b67f1ba519d2b988cd06796fce29a36c0d738",name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{key:"08b758011468574e5f1c3f497f332e4bc01b5682",class:"duet-date-dialog-buttons"},t("duet-action-button",{key:"38e273f78b20a59b586207480c884a4f554538da",accessibleLabel:y[this.language].prevMonthLabel,actionName:y[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},s.prevMonthLabel),t("duet-action-button",{key:"412ccd58b096a8451a2371def3ca3f5fdc909c4f",accessibleLabel:y[this.language].nextMonthLabel,actionName:y[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:h,"icon-name":"action-arrow-right-small"},s.nextMonthLabel))),t(O,{key:"5599f98bd9f9385f58de71cfd2e33ff86fc23f62",selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:l,max:u,focusedDayRef:t=>this.focusedDayNode=t,onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(d,{key:"e1a22b3aeff86d4bf76c92ccb46dca73c8171dcc",moveFocusTo:this.closeButtonNode})))}get element(){return o(this)}static get watchers(){return{min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}}};P.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva .duet-date-button{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva .duet-date-button:disabled{background:rgb(245, 247, 250) !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.duet-date-input-has-focus .duet-date-button,.duet-theme-turva .duet-date-button:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva .duet-date-dialog-wrapper{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active .duet-date-dialog-wrapper{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.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-date-table th{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva .duet-date-table-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva .duet-date-table-button:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-date-table-button.today{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true] .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}:focus .duet-date-table-button{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva :focus .duet-date-table-button{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva .duet-date-table-button.outside{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva .duet-date-dialog-select .duet-date-dialog-select-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-date-dialog-select span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header duet-label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header duet-label{display:none}}.duet-date-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close{opacity:0}}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 247, 250) !important}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-picker-close:focus{box-shadow:0 0 0 2px #171c3a !important}';export{P as duet_date_picker}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,F as a,g as i}from"./p-Djr45qSY.js";import{s}from"./p-D5_4M8f7.js";import{i as r}from"./p-WhCDf9tt.js";import{c as o}from"./p-Cfr_DJqU.js";import{s as d,u as n}from"./p-Db8rvjPI.js";import{a as b,g as p,c,d as l}from"./p-FCSGJbLJ.js";import"./p-C6E9F6QT.js";const h=2*parseFloat(s)*16,u=class{constructor(e){t(this,e),this.isTicking=!1,this.expandableId=o("DuetTray"),this.expanded=!1,this.hiddenState=!1,this.language=b(),this.accessibleCloseLabelDefaults={fi:"Sulje",en:"Close",sv:"Stäng"},this.accessibleCloseLabel=p(this.accessibleCloseLabelDefaults,this.language),this.accessibleOpenLabelDefaults={fi:"Avaa",en:"Open",sv:"Öppna"},this.accessibleOpenLabel=p(this.accessibleOpenLabelDefaults,this.language),this.theme="",this.active=!1,this.autoHide=!0,this.responsive=!0,this.animationLoop=()=>{this.hiddenState=window.pageYOffset<h,this.isTicking=!1},this.toggleExpandable=t=>{t.preventDefault(),this.expanded=!this.expanded}}componentWillLoad(){r(this),this.hasAdditionalContent=!!this.element.querySelector("[slot='additional']")}connectedCallback(){c(this,[{prop:"accessibleOpenLabel",defaults:"accessibleOpenLabelDefaults"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"}]),d(this)}disconnectedCallback(){l(this),n(this)}getFrame(){!this.isTicking&&this.autoHide&&this.active&&(requestAnimationFrame(this.animationLoop),this.isTicking=!0)}handleBodyClick(t){this.expanded&&(this.expanded=this.element.contains(t.target))}render(){return e("div",{key:"605fe95d69472a37afbc3c383995519d38e1aa1b",class:{"duet-tray":!0,"duet-tray-is-active":this.active,"duet-tray-is-hidden":this.hiddenState,"duet-tray-is-responsive":this.responsive,"duet-theme-turva":"turva"===this.theme,"duet-tray-is-expandable":this.hasAdditionalContent}},e("div",{key:"ecc3ed51d8cb28ed84ccc1a8b3281b6978eb538a",class:"duet-tray-default-content",role:"status"},e("slot",{key:"47300dfc0f931963d174a1f2685cf75be737f962"})),this.hasAdditionalContent&&e(a,{key:"ac26cb19e5d91d38fb967d7c7e318e1b95856637"},e("button",{key:"b67d6274b52a7775756222eb9c4a129742e91c20","aria-expanded":this.expanded?"true":"false","aria-controls":this.expandableId,onClick:t=>this.toggleExpandable(t),class:{"duet-tray-button":!0,"duet-tray-is-expanded":this.expanded}},e("duet-icon",{key:"47e72504f591aec9b126dd837cc9064ac7939c81",name:"action-arrow-down",size:"small",color:"currentColor",margin:"none"}),e("duet-visually-hidden",{key:"4bb141a2f2bcbccb491463233083265e2cc57daa"},this.expanded?this.accessibleCloseLabel:this.accessibleOpenLabel)),e("div",{key:"79d248cbf05cfb2148e1bccf1f92f99402874a3d",id:this.expandableId,class:{"duet-tray-expandable":!0,active:this.expanded}},e("div",{key:"258b18afe4f0da7910ba5595bf47589ac0a320fb",class:"duet-tray-expandable-content"},e("slot",{key:"40ba0345baa699a558f3ec4e99a3784530349f2f",name:"additional"})))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);visibility:hidden;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray.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);background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(222, 224, 228)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(8, 42, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray-button:active{box-shadow:none;opacity:0.75}';export{u as duet_tray}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as o,H as e,g as r,c as a}from"./p-Djr45qSY.js";import{i}from"./p-WhCDf9tt.js";import{s as n,u as s}from"./p-Db8rvjPI.js";import{F as p}from"./p-CDAA0sDY.js";import{T as d}from"./p-CooAqTCj.js";const l=class{constructor(o){t(this,o),this.label="",this.theme="",this.negative=!1}componentWillLoad(){i(this)}connectedCallback(){n(this)}disconnectedCallback(){s(this)}async setFocus(t){this.buttonElement&&this.buttonElement.focus(t)}render(){const t=o("duet-visually-hidden",{key:"84e1407b8d44d6fa187a497d805a3c2802aaa892"},this.accessibleLabel);return o(e,{key:"d5de1fcf670925b807040c74083b6919de874e0c"},o("button",{key:"1f217b883a504d88592bf345c9fddaff0ca143d5",ref:t=>this.buttonElement=t,"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":!0,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":"turva"===this.theme,"duet-tooltip-button-negative":this.negative}},o("svg",{key:"04d473825d0490b6246756921f03ea36b1331100","aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"98983872a65c6009cdb1e1a7510cc38ca8b82d32",d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),o("circle",{key:"f24d36c72ad470a57077701d60ab5c1bdee55c18",cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{key:"7c8461a095d107306c19bffc7501aff26598ca5f",d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?o("span",{class:"duet-tooltip-label"},this.label,t):t))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';const b=class{constructor(o){t(this,o),this.tooltipPopupClosed=a(this,"tooltipPopupClosed",7),this.theme="",this.handleCloseClick=()=>{this.tooltipPopupClosed.emit()}}componentWillLoad(){i(this)}connectedCallback(){n(this),this.teleport||(this.teleport=new d(this.element)),this.teleport.isActive?this.teleport.observeDeletion():this.teleport.activate()}disconnectedCallback(){s(this)}async getArrowElement(){return this.arrowEl}async getContentElement(){return this.contentEl}async setFocusOnContentElement(){this.contentEl.focus()}render(){return o(e,{key:"57b4b273a91c4fb5d8c56ab0abf55876cdc4273b"},o("div",{key:"abfb1a16bbf44db2092cd9ff38539987c07f9d0e",class:{"duet-tooltip":!0,"duet-theme-turva":"turva"===this.theme,"duet-tooltip-active":!0===this.active}},o(p,{key:"3248fd881540ad207fcf4b2b57e5e4718a9107e3",moveFocusTo:this.buttonEl}),o("div",{key:"0ade1a78889b7820398402749f63e025e6f439a7",ref:t=>this.contentEl=t,class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},o("slot",{key:"c492b4a6ee40ac3a41af10bbbae1db9b2bc8dc2f"})),o("div",{key:"31f43b1e37efbedb09b7f0f16d7c863e9620298e",ref:t=>this.arrowEl=t,class:{arrow:!0,[this.placement]:!0},style:this.arrowStyles},o("div",{key:"7a9d3a3194d26cee1d99bdfc9c9ace8df0f9eb22",class:{"arrow-container":!0,[this.placement]:!0}})),o("button",{key:"c13fca4f5d79bd66a28979e5ff9122a9acc37471",type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:t=>this.buttonEl=t},o("duet-icon",{key:"1f1510c125ca6eb058a3a9400b9ec361f90f74b4",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",{key:"766a9f2960c339042df0cdd0a277bdfc22aa1418"},this.accessibleCloseLabel)),o(p,{key:"9027271dded28b444f902ec98beb32034c81cabb",moveFocusTo:this.contentEl})))}get element(){return r(this)}};b.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;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}';export{l as duet_tooltip_button,b as duet_tooltip_popup}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{g as n}from"./p-CO8vqpmW.js";function o(o){const r=o.element.textContent;return o.accessibleLabel?o.accessibleLabel:(o.download||""===o.download)&&r?`${r}. ${o.accessibleLabelDownload}.`:o.external&&r?`${r}. ${o.accessibleLabelExternal}.`:n(o.element).length?r:null}export{o as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as o}from"./p-Djr45qSY.js";const s=o=>{"setFocus"in o?o.setFocus():o.focus()},a=({moveFocusTo:a})=>o("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:()=>s(a)});export{a as F,s as f}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-Djr45qSY.js";const n=(n,e)=>Array.from(n.querySelectorAll(":scope > *")).filter((n=>n.matches(`[slot='${e}']`))),e=n=>Array.from(n.querySelectorAll(":scope > *")).filter((n=>!n.getAttribute("slot"))),s=(s,t)=>t?n(s,t).length>0:e(s).length>0,t=(e,s,t,o=0,l=!1)=>{const a=l?"error":"warn",r=[],$=n(e,s),u=$.filter((n=>!!n.matches(t)||(r.push(`Only elements matcing selector "${t}" may be used in slot ${s}, found:\n${n.outerHTML}`),!l||(n.remove(),!1))));o&&u.length>o&&(r.push(`Only ${o} element${o>1?"s":""} may be used in slot ${s}, found ${$.length}.`),l&&u.slice(o).forEach((n=>n.remove()))),r.length>0&&console[a](`Duet ${a} in ${e.tagName.toLowerCase()}:\n${r.join("\n")}${l?`\nElement${r.length>1?"s":""} removed.`:""}`)},o=(n,e)=>{e.innerHTML="",0===n.childNodes.length?e.innerHTML=n.innerHTML:n.childNodes.forEach((n=>{const s=n.cloneNode(!0);e.appendChild(s)}))},l=(n,e,s,t,o,l)=>{const a=n.querySelector("input"),r=a||document.createElement("input");!1!==l?(r.id=e,null!=s&&(r.name=s),o?(r.type="text",r.hidden=!0,r.required=!0):(r.type="hidden",r.hidden=!1,r.required=!1),r.value=t,null!=t?r.value=t:null==t&&(r.value=null),a||n.appendChild(r)):r.remove()};export{o as a,n as b,t as c,e as g,s as h,l as p}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const n={fi:"Linkki tallennetaan laitteellesi",sv:"Nedladdningslänk",en:"Download link"},a={fi:"Avautuu uuteen ikkunaan",sv:"Öppnas i nytt fönster",en:"Opens in a new window"},e={fi:"Ladataan",sv:"Laddas",en:"Loading…"},i={fi:"Odota, ole hyvä.",sv:"Vänligen vänta.",en:"Please wait."};export{a as D,i as a,e as b,n as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-Djr45qSY.js";const o=()=>{globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{o as g}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const t="duet",e={cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.19"};var n=Object.defineProperty,o={isServer:!1},l=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(l||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",c="serialized:",u=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},f=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},a=(t,e)=>e in t,d=(t,e)=>(0,console.error)(t,e),h=new Map,p=new Map,v="s-id",$="sty-id",m="c-id",b="slot-fb{display:contents}slot-fb[hidden]{display:none}",y="http://www.w3.org/1999/xlink",g="undefined"!=typeof window?window:{},w={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},S=t=>Promise.resolve(t),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),O=!!j&&(()=>!!g.document&&Object.getOwnPropertyDescriptor(g.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],N=[],E=(t,e)=>n=>{t.push(n),k||(k=!0,e&&4&w.o?M(I):w.raf(I))},C=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){d(t)}t.length=0},I=()=>{C(x),C(N),(k=x.length>0)&&w.raf(I)},M=t=>S().then(t),R=E(N,!0),T=t=>"object"==(t=typeof t)||"function"===t;function L(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var P=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,l]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,s=t.fromLocalValue(l);e.set(o,s)}return e;case"object":const l={};for(const[e,n]of o)l[e]=t.fromLocalValue(n);return l;case"regexp":const{pattern:s,flags:r}=o;return RegExp(s,r);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...l,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};((t,e)=>{for(var o in e)n(t,o,{get:e[o],enumerable:!0})})({},{err:()=>F,map:()=>U,ok:()=>A,unwrap:()=>D,unwrapErr:()=>_});var A=t=>({isOk:!0,isErr:!1,value:t}),F=t=>({isOk:!1,isErr:!0,value:t});function U(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>A(t))):A(n)}if(t.isErr)return F(t.value);throw"should never get here"}var B,D=t=>{if(t.isOk)return t.value;throw t.value},_=t=>{if(t.isErr)return t.value;throw t.value};function V(t){const e=this.attachShadow({mode:"open",delegatesFocus:!!(16&t.o)});void 0===B&&(B=null),B&&(O?e.adoptedStyleSheets.push(B):e.adoptedStyleSheets=[...e.adoptedStyleSheets,B])}var W=t=>{const e=et(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&z(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!q(t,G(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&et(t,"childNodes").length&&W(t)}},H=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function z(t,e,n){let o,l=0,s=[];for(;l<t.length;l++)o=t[l],!o["s-sr"]||e&&o["s-hn"]!==e||void 0!==n||s.push(o),s=[...s,...z(o.childNodes,e,n)];return s}var q=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)G(l)!==e||!n&&l["s-sr"]||o.push(l);return o},J=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Y=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,r=et(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=et(s,"childNodes"),e=[l];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=e["s-hn"]},G=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function K(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:H(l.childNodes)).forEach((t=>{o===G(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}var Q=t=>{class e extends Array{item(t){return this[t]}}tt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),tt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),tt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),tt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...H(this.__childNodes)),t}})},X=["children","nextElementSibling","previousElementSibling"],Z=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function tt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;X.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Z.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function et(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var nt=new WeakMap,ot=(t,e,n)=>{let o=p.get(t);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,p.set(t,o)},lt=(t,e)=>{var n;const o=st(e),l=p.get(o);if(!g.document)return o;if(t=11===t.nodeType?t:g.document,l)if("string"==typeof l){let s,r=nt.get(t=t.head||t);if(r||nt.set(t,r=new Set),!r.has(o)){if(t.host&&(s=t.querySelector(`[${$}="${o}"]`)))s.innerHTML=l;else{s=g.document.createElement("style"),s.innerHTML=l;const o=null!=(n=w.i)?n:L(g.document);if(null!=o&&s.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(j){const e=new CSSStyleSheet;e.replaceSync(l),O?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=b),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(O?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o},st=t=>"sc-"+t.u,rt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),it=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!T(o))&&(o+=""),r&&i?c[c.length-1].h+=o:c.push(r?ct(null,o):o),i=r)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,ft);const f=ct(t,null);return f.p=e,c.length>0&&(f.v=c),f.$=l,f.m=s,f},ct=(t,e)=>({o:0,S:t,h:e,j:null,v:null,p:null,$:null,m:null}),ut={},ft={forEach:(t,e)=>t.map(at).forEach(e),map:(t,e)=>t.map(at).map(e).map(dt)},at=t=>({vattrs:t.p,vchildren:t.v,vkey:t.$,vname:t.m,vtag:t.S,vtext:t.h}),dt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),it(t.vtag,e,...t.vchildren||[])}const e=ct(t.vtag,t.vtext);return e.p=t.vattrs,e.v=t.vchildren,e.$=t.vkey,e.m=t.vname,e},ht=(t,e,n,o,l,s,r,i=[])=>{let c,u,f,a;const d=l["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(m),c&&(u=c.split("."),u[0]===r||"0"===u[0])){f=vt({o:0,O:u[0],k:u[1],N:u[2],C:u[3],S:s.tagName.toLowerCase(),j:s,p:{class:s.className||""}}),e.push(f),s.removeAttribute(m),t.v||(t.v=[]),d&&u[0]===r&&(s["s-si"]=d,f.p.class+=" "+d);const l=f.j.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===f.S&&($t(l,u[2],f,s,t,e,n,o,i),d&&s.classList.add(d)),f.j["s-sn"]=l,f.j.removeAttribute("s-sn")),void 0!==f.C&&(t.v[f.C]=f),t=f,o&&"0"===f.N&&(o[f.C]=f.j)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)ht(t,e,n,o,l,s.shadowRoot.childNodes[a],r,i);const h=s.__childNodes||s.childNodes;for(a=h.length-1;a>=0;a--)ht(t,e,n,o,l,h[a],r,i)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===r||"0"===u[1])&&(c=u[0],f=vt({O:u[1],k:u[2],N:u[3],C:u[4]||"0",j:s,p:null,v:null,$:null,m:null,S:null,h:null}),"t"===c?(f.j=bt(s,3),f.j&&3===f.j.nodeType&&(f.h=f.j.textContent,e.push(f),s.remove(),r===f.O&&(t.v||(t.v=[]),t.v[f.C]=f),o&&"0"===f.N&&(o[f.C]=f.j))):"c"===c?(f.j=bt(s,8),f.j&&8===f.j.nodeType&&(e.push(f),s.remove())):f.O===r&&("s"===c?$t(s["s-sn"]=u[5]||"",u[2],f,s,t,e,n,o,i):"r"===c&&(o?s.remove():(l["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.S){const e=ct(null,s.textContent);e.j=s,e.C="0",t.v=[e]}else 3!==s.nodeType||s.wholeText.trim()||s["s-nr"]||s.remove();return t},pt=(t,e)=>{if(1===t.nodeType){const n=t[v]||t.getAttribute(v);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)pt(t.shadowRoot.childNodes[o],e);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)pt(l[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},vt=t=>({o:0,O:null,k:null,N:null,C:"0",j:null,p:null,v:null,$:null,m:null,S:null,h:null,...t});function $t(t,e,n,o,l,s,r,i,c){o["s-sr"]=!0,n.m=t||null,n.S="slot";const u=(null==l?void 0:l.j)?l.j["s-id"]||l.j.getAttribute("s-id"):"";if(i&&g.document){const s=n.j=g.document.createElement(n.S);n.m&&n.j.setAttribute("name",t),l.j.shadowRoot&&u&&u!==n.O?et(l.j,"insertBefore")(s,et(l.j,"children")[0]):et(et(o,"parentNode"),"insertBefore")(s,o),mt(c,e,t,o,n.O),o.remove(),"0"===n.N&&(i[n.C]=n.j)}else{const s=n.j,r=u&&u!==n.O&&l.j.shadowRoot;mt(c,e,t,o,r?u:n.O),K(o),r&&l.j.insertBefore(s,l.j.children[0])}s.push(n),r.push(n),l.v||(l.v=[]),l.v[n.C]=n}var mt=(t,e,n,o,l)=>{var s,r;let i=o.nextSibling;if(t[e]=t[e]||[],i&&!(null==(s=i.nodeValue)?void 0:s.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,t[e].push({slot:o,node:i,hostId:l})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))},bt=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},yt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};yt("::slotted"),yt(":host"),yt(":host-context");var gt,wt,St,jt=(t,e)=>{if("string"==typeof t&&t.startsWith(c))return function(t){return"string"==typeof t&&t.startsWith(c)?P.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t);if("string"==typeof t&&(16&e||8&e)&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return null==t||T(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},Ot=t=>{var e;return null==(e=u(t))?void 0:e.$hostElement$},kt=(t,e,n)=>{const o=Ot(t);return{emit:t=>xt(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},xt=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},Nt=(t,e,n,o,l,s,r)=>{if(n===o)return;let i=a(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=Ct(n);let s=Ct(o);if((t["s-si"]||t["s-sc"])&&r){const n=t["s-sc"]||t["s-si"];s.push(n),l.forEach((t=>{t.startsWith(n)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=T(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(y,e):t.removeAttribute(e)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(y,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):a(g,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(It);e=e.replace(Mt,""),n&&w.rel(t,e,n,l),o&&w.ael(t,e,o,l)}},Et=/\s/,Ct=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Et):[]),It="Capture",Mt=RegExp(It+"$"),Rt=(t,e,n,o)=>{const l=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.p||{},r=e.p||{};for(const t of Tt(Object.keys(s)))t in r||Nt(l,t,s[t],void 0,n,e.o,o);for(const t of Tt(Object.keys(r)))Nt(l,t,s[t],r[t],n,e.o,o)};function Tt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Lt=!1,Pt=!1,At=!1,Ft=!1,Ut=(t,e,n)=>{var o;const l=e.v[n];let s,r,i,c=0;if(Lt||(At=!0,"slot"===l.S&&(l.o|=l.v?2:1)),null!==l.h)s=l.j=g.document.createTextNode(l.h);else if(1&l.o)s=l.j=g.document.createTextNode(""),Rt(null,l,Ft);else{if(Ft||(Ft="svg"===l.S),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=l.j=g.document.createElementNS(Ft?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Lt&&2&l.o?"slot-fb":l.S),Ft&&"foreignObject"===l.S&&(Ft=!1),Rt(null,l,Ft),null!=gt&&void 0!==gt&&s["s-si"]!==gt&&s.classList.add(s["s-si"]=gt),l.v)for(c=0;c<l.v.length;++c)r=Ut(t,l,c),r&&s.appendChild(r);"svg"===l.S?Ft=!1:"foreignObject"===s.tagName&&(Ft=!0)}return s["s-hn"]=St,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=wt,s["s-sn"]=l.m||"",s["s-rf"]=null==(o=l.p)?void 0:o.ref,K(s),i=t&&t.v&&t.v[n],i&&i.S===l.S&&t.j&&Bt(t.j,!1),Gt(wt,s,e.j,null==t?void 0:t.j)),s},Bt=(t,e)=>{w.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==St&&o["s-ol"]&&(Yt(Wt(o).parentNode,o,Wt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,At=!0),e&&Bt(o,e)}w.o&=-2},Dt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===St&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=Ut(null,n,l),r&&(o[l].j=r,Yt(i,r,Wt(e))))},_t=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.j;Jt(e),t&&(Pt=!0,t["s-ol"]?t["s-ol"].remove():Bt(t,!0),t.remove())}}},Vt=(t,e,n=!1)=>t.S===e.S&&("slot"===t.S?t.m===e.m:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Wt=t=>t&&t["s-ol"]||t,Ht=(t,e,n=!1)=>{const o=e.j=t.j,l=t.v,s=e.v,r=e.S,i=e.h;let c;null===i?(Rt(t,e,Ft="svg"===r||"foreignObject"!==r&&Ft,n),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],$=o[p];for(;i<=a&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--p];else if(Vt(d,v,l))Ht(d,v,l),d=e[++i],v=o[++c];else if(Vt(h,$,l))Ht(h,$,l),h=e[--a],$=o[--p];else if(Vt(d,$,l))"slot"!==d.S&&"slot"!==$.S||Bt(d.j.parentNode,!1),Ht(d,$,l),Yt(t,d.j,h.j.nextSibling),d=e[++i],$=o[--p];else if(Vt(h,v,l))"slot"!==d.S&&"slot"!==$.S||Bt(h.j.parentNode,!1),Ht(h,v,l),Yt(t,h.j,d.j),h=e[--a],v=o[++c];else{for(u=-1,f=i;f<=a;++f)if(e[f]&&null!==e[f].$&&e[f].$===v.$){u=f;break}u>=0?(r=e[u],r.S!==v.S?s=Ut(e&&e[c],n,u):(Ht(r,v,l),e[u]=void 0,s=r.j),v=o[++c]):(s=Ut(e&&e[c],n,c),v=o[++c]),s&&Yt(Wt(d.j).parentNode,s,Wt(d.j))}i>a?Dt(t,null==o[p+1]?null:o[p+1].j,n,o,c,p):c>p&&_t(e,i,a)})(o,l,e,s,n):null!==s?(null!==t.h&&(o.textContent=""),Dt(o,null,e,s,0,s.length-1)):n||null===l?n&&null!==l&&null===s&&(e.v=l):_t(l,0,l.length-1),Ft&&"svg"===r&&(Ft=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.h!==i&&(o.data=i)},zt=[],qt=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(J(e,l)){let n=zt.find((t=>t.I===e));Pt=!0,e["s-sn"]=e["s-sn"]||l,n?(n.I["s-sh"]=t["s-hn"],n.M=t):(e["s-sh"]=t["s-hn"],zt.push({M:t,I:e})),e["s-sr"]&&zt.map((t=>{J(t.I,e["s-sn"])&&(n=zt.find((t=>t.I===e)),n&&!t.M&&(t.M=n.M))}))}else zt.some((t=>t.I===e))||zt.push({I:e})}1===t.nodeType&&qt(t)}},Jt=t=>{t.p&&t.p.ref&&t.p.ref(null),t.v&&t.v.map(Jt)},Yt=(t,e,n)=>("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"]&&Gt(e["s-cr"],e,t,e.parentElement),null==t?void 0:t.insertBefore(e,n));function Gt(t,e,n,o){var l,s;let r;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(r=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(l=n.classList)||l.add(r+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(r+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(r+"-s")}}}var Kt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.R=()=>{e["s-p"].splice(n-1,1),o()})))}},Qt=(t,e)=>{if(t.o|=16,4&t.o)return void(t.o|=512);Kt(t,t.T);const n=()=>Xt(t,e);if(!e)return R(n);queueMicrotask((()=>{n()}))},Xt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.o|=256,t.L&&(t.L.map((([t,e])=>se(o,t,e,n))),t.L=void 0),l=se(o,"componentWillLoad",void 0,n)):l=se(o,"componentWillUpdate",void 0,n),l=Zt(l,(()=>se(o,"componentWillRender",void 0,n))),Zt(l,(()=>ee(t,o,e)))},Zt=(t,e)=>te(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),te=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ee=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.P,n=t.$hostElement$,o=e.o,l=lt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ne(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>oe(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},ne=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.P,u=t.A||ct(null,null),f=(t=>t&&t.S===ut)(e)?e:it(null,null,e);if(St=i.tagName,c.F&&(f.p=f.p||{},c.F.map((([t,e])=>f.p[e]=i[t]))),n&&f.p)for(const t of Object.keys(f.p))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.p[t]=i[t]);if(f.S=null,f.o|=4,t.A=f,f.j=u.j=i.shadowRoot||i,gt=i["s-sc"],Lt=!(!(1&c.o)||128&c.o),wt=i["s-cr"],Pt=!1,Ht(u,f,n),w.o|=1,At){qt(f.j);for(const t of zt){const e=t.I;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,Yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of zt){const e=t.I,i=t.M;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),Yt(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}Pt&&W(f.j),w.o&=-2,zt.length=0,wt=void 0})(t,e,o)}catch(e){d(e,t.$hostElement$)}return null},oe=t=>{const e=t.$hostElement$,n=t.t,o=t.T;se(n,"componentDidRender",void 0,e),64&t.o?se(n,"componentDidUpdate",void 0,e):(t.o|=64,re(e),se(n,"componentDidLoad",void 0,e),t.U(e),o||le()),t.B(e),t.R&&(t.R(),t.R=void 0),512&t.o&&M((()=>Qt(t,!1))),t.o&=-517},le=()=>{var e;M((()=>xt(g,"appload",{detail:{namespace:t}}))),(null==(e=w.D)?void 0:e.size)&&w.D.clear()},se=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){d(t,o)}},re=t=>t.classList.add("hydrated"),ie=(t,e,n,o)=>{const l=u(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.u}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=l.$hostElement$,r=l._.get(e),i=l.o,c=l.t;if(n=jt(n,o.V[e][0]),(!(8&i)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(l._.set(e,n),c)){if(o.W&&128&i){const t=o.W[e];t&&t.map((t=>{try{c[t](n,r,e)}catch(t){d(t,s)}}))}if(2==(18&i)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,r,e))return;Qt(l,!1)}}},ce=(t,e,n)=>{var o,l;const s=t.prototype;if(e.V||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(o=e.V)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:l,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};l&&(e.V[t][0]|=2048),r&&(e.V[t][0]|=4096),(1&n||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.V[t][0]))return((t,e)=>u(this)._.get(e))(0,t);const n=u(this),o=n?n.t:s;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(l){const s=u(this);if(s){if(r){const n=32&o?this[t]:s.$hostElement$[t];return void 0===n&&s._.get(t)?l=s._.get(t):!s._.get(t)&&n&&s._.set(t,n),r.call(this,jt(l,o)),void ie(this,t,l=32&o?this[t]:s.$hostElement$[t],e)}{if(!(1&n&&4096&e.V[t][0]))return ie(this,t,l,e),void(1&n&&!s.t&&s.H.then((()=>{4096&e.V[t][0]&&s.t[t]!==s._.get(t)&&(s.t[t]=l)})));const r=()=>{const n=s.t[t];!s._.get(t)&&n&&s._.set(t,n),s.t[t]=jt(l,o),ie(this,t,s.t[t],e)};s.t?r():s.H.then((()=>r()))}}}})}else 1&n&&64&o&&Object.defineProperty(s,t,{value(...e){var n;const o=u(this);return null==(n=null==o?void 0:o.q)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(t,o,l){w.jmp((()=>{var r;const i=n.get(t);if(this.hasOwnProperty(i))l=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==l)return;if(null==i){const n=u(this),s=null==n?void 0:n.o;if(n&&s&&!(8&s)&&128&s&&l!==o){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,l,o,t)}))}return}}const c=Object.getOwnPropertyDescriptor(s,i);(l=(null!==l||"boolean"!=typeof this[i])&&l)===this[i]||c.get&&!c.set||(this[i]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.W)?l:{}),...r.filter((([t,e])=>31&e[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e.F)||l.push([t,s])),s}))]))}}return t},ue=(t,e)=>{se(t,"connectedCallback",void 0,e)},fe=t=>{if(!(1&w.o)){const e=u(t);if(!e)return;const n=e.P,o=()=>{};if(1&e.o)ve(t,e,n.J),(null==e?void 0:e.t)?ue(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>ue(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(v),o){if(1&n.o){const e=lt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.o){const e=st(n);t["s-sc"]=e}((t,e,n,o)=>{var l,s,r;const i=t.shadowRoot,c=[],f=[],a=[],d=i?[]:null,h=ct(e,null);let p;h.j=t,Object.entries((null==(l=o.P)?void 0:l.V)||{}).forEach((([e,[n,l]])=>{var s;if(!(31&n))return;const r=t.getAttribute(l||e);if(null!==r){const t=jt(r,n);null==(s=null==o?void 0:o._)||s.set(e,t)}}));{const e=o.P;e&&10&e.o&&t["s-sc"]?(p=t["s-sc"],t.classList.add(p+"-h")):t["s-sc"]&&delete t["s-sc"]}!g.document||w.D&&w.D.size||pt(g.document.body,w.D=new Map),t[v]=n,t.removeAttribute(v),o.A=ht(h,c,f,d,t,t,n,a);let $=0;const m=c.length;let b;for(;$<m;$++){b=c[$];const n=b.O+"."+b.k,o=w.D.get(n),l=b.j;if(i){if((null==(s=b.S)?void 0:(""+s).includes("-"))&&"slot-fb"!==b.S&&!b.j.shadowRoot){const e=u(b.j);if(e){const n=st(e.P),o=g.document.querySelector(`style[sty-id="${n}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else l["s-hn"]=e.toUpperCase(),"slot"===b.S&&(l["s-cr"]=t["s-cr"]);"slot"===b.S&&(b.m=b.j["s-sn"]||b.j.name||null,b.v?(b.o|=2,b.j.childNodes.length||b.v.forEach((t=>{b.j.appendChild(t.j)}))):b.o|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),i||(l["s-oo"]=parseInt(b.k))),o&&!o["s-id"]&&w.D.delete(n)}const y=[],S=a.length;let j,O,k,x,N=0;for(;N<S;N++)if(j=a[N],j&&j.length)for(k=j.length,O=0;O<k;O++){if(x=j[O],y[x.hostId]||(y[x.hostId]=w.D.get(x.hostId)),!y[x.hostId])continue;const t=y[x.hostId];t.shadowRoot&&x.node.parentElement!==t&&t.appendChild(x.node),t.shadowRoot&&i||(x.slot["s-cr"]||(x.slot["s-cr"]=t["s-cr"],x.slot["s-cr"]=!x.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),Y(x.node,x.slot,0,x.node["s-oo"]),(null==(r=x.node.parentElement)?void 0:r.shadowRoot)&&x.node.getAttribute&&x.node.getAttribute("slot")&&x.node.removeAttribute("slot"))}if(p&&f.length&&f.forEach((t=>{t.j.parentElement.classList.add(p+"-s")})),i){let e=0;const n=d.length;if(n){for(;e<n;e++){const t=d[e];t&&i.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType&&!t.nodeValue||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,n.u,o,e)}o||12&n.o&&ae(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Kt(e,e.T=n);break}}n.V&&Object.entries(n.V).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),M((()=>(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.Y){const l=((t,e)=>{const n=t.u.replace(/-/g,"_"),o=t.Y;if(!o)return;const l=h.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(h.set(o,t),t[n])),(t=>{d(t,e.$hostElement$)}))
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.u}#${e.G}" was not found`);o.isProxied||(n.W=o.watchers,ce(o,n,2),o.isProxied=!0);const s=()=>{};e.o|=8;try{new o(e)}catch(e){d(e,t)}e.o&=-9,e.o|=128,s(),ue(e.t,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=st(n);if(!p.has(e)){const o=()=>{};ot(e,t,!!(1&n.o)),o()}}}const l=e.T,s=()=>Qt(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()})(t,e,n)))}o()}},ae=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,Yt(t,e,t.firstChild)},de=(t,e)=>{se(t,"disconnectedCallback",void 0,e||t)},he=(t,e={})=>{var n;if(!g.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=e.exclude||[],s=g.customElements,r=g.document.head,i=r.querySelector("meta[charset]"),c=g.document.createElement("style"),f=[];let a,d=!0;Object.assign(w,e),w.l=new URL(e.resourcesUrl||"./",g.document.baseURI).href,w.o|=2,(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${$}]`);let e=0;for(;e<t.length;e++)ot(t[e].getAttribute($),rt(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((e=>{var n;const r={o:e[0],u:e[1],V:e[2],J:e[3]};4&r.o&&(h=!0),r.V=e[2],r.J=e[3],r.F=[],r.W=null!=(n=e[4])?n:{};const i=r.u,c=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,P:e,_:new Map};n.q=new Promise((t=>n.B=t)),n.H=new Promise((t=>n.U=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.u}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else V.call(t,r)}connectedCallback(){const t=u(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ve(this,t,r.J)),a&&(clearTimeout(a),a=null),d?f.push(this):w.jmp((()=>fe(this))))}disconnectedCallback(){w.jmp((()=>(async t=>{if(!(1&w.o)){const e=u(t);(null==e?void 0:e.K)&&(e.K.map((t=>t())),e.K=void 0),(null==e?void 0:e.t)?de(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>de(e.t,t)))}nt.has(t)&&nt.delete(t),t.shadowRoot&&nt.has(t.shadowRoot)&&nt.delete(t.shadowRoot)})(this))),w.raf((()=>{var t;const e=u(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.A)?void 0:t.j)instanceof Node&&!e.A.j.isConnected&&delete e.A.j}))}componentOnReady(){var t;return null==(t=u(this))?void 0:t.H}};!(1&r.o)&&256&r.o&&Q(c.prototype),r.Y=t[0],l.includes(i)||s.get(i)||(o.push(i),s.define(i,ce(c,r,1)))}))})),o.length>0&&(h&&(c.textContent+=b),c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(n=w.i)?n:L(g.document);null!=t&&c.setAttribute("nonce",t),r.insertBefore(c,i?i.nextSibling:r.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):w.jmp((()=>a=setTimeout(le,30)))},pe=(t,e)=>e,ve=(t,e,n)=>{n&&g.document&&n.map((([n,o,l])=>{const s=me(g.document,t,n),r=$e(e,l),i=be(n);w.ael(s,o,r,i),(e.K=e.K||[]).push((()=>w.rel(s,o,r,i)))}))},$e=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.L=t.L||[]).push([e,n])}catch(e){d(e,t.$hostElement$)}},me=(t,e,n)=>4&n?t:8&n?g:16&n?t.body:e,be=t=>({passive:!!(1&t),capture:!!(2&t)}),ye=t=>w.i=t;export{o as B,e as E,pe as F,ut as H,t as N,he as b,kt as c,Ot as g,it as h,S as p,f as r,ye as s,g as w}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-Djr45qSY.js";import{c as e}from"./p-C6E9F6QT.js";const t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"},n={fi:"€",en:"£",us:"$",sv:"€"},r=["fi","en","sv"],o="fi",a=()=>document.documentElement.lang?document.documentElement.lang.toLowerCase():o,s=(e=a())=>r.includes(e)?e:o,i=(e=a())=>s(e),c=e=>{const r={locale:t[e],money:n[e]};if(r.locale&&r.money)return r;throw new Error(`Locale for "${e}" not found`)},u=t=>{if("string"==typeof t)try{return JSON.parse(e(t))}catch(e){console.log("sanitizeString received a string, that didnt parse to json object",t,e)}return t},f=(e,t)=>{const n=u(e);return t?n[s(t)]:n[i()]},l=new Set,p=new WeakMap;new MutationObserver((e=>{let t=o;for(const n of e)if("attributes"===n.type&&"lang"===n.attributeName){t=n.oldValue;break}"false"!==document.documentElement.dataset.duetLangObserve&&l.forEach((e=>{e.language&&(e.language=i()),p.has(e)&&p.get(e).forEach((n=>{e[n.defaults]&&e[n.prop]===e[n.defaults][t]&&(e[n.prop]=f(e[n.defaults]))}))}))})).observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:!0});const d=(e,t)=>{l.add(e),t&&(Array.isArray(t)||(t=[t]),t.some((t=>!(t.prop in e)||!(t.defaults in e)))&&(console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties"),t=t.filter((t=>t.prop in e&&t.defaults in e))),p.set(e,t))},g=e=>{l.delete(e),p.delete(e)};export{i as a,c as b,d as c,g as d,f as g,u as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const e=e=>{const t=Array.from(document.documentElement.classList).join(" ")||"",a=/(duet-theme-)([a-z]*)/gi.exec(t);a&&"duet-theme-"===a[1]&&(e.theme="default"===a[2]?"":a[2])};export{e as i}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as t,g as i}from"./p-Djr45qSY.js";import{i as o}from"./p-WhCDf9tt.js";import{a as n,c as d,d as c}from"./p-FCSGJbLJ.js";import"./p-C6E9F6QT.js";const r=class{constructor(a){e(this,a),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=n(),this.theme="",this.margin="auto",this.buttonIcon="form-date"}componentWillLoad(){o(this)}connectedCallback(){d(this)}disconnectedCallback(){c(this)}render(){const e="turva"===this.theme?"turva":"default";return a(t,{key:"b0c36badfe9ad51afdf85655fd60cf2d5aa3c1bc",class:{"duet-m-0":"none"===this.margin}},a("div",{key:"91ae8f5dd2f9d51deec7b7d541815b174192d069",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"2b1b6ce9bea2d827f70ac908db390e480c2ed4f4"},this.name&&a("duet-heading",{key:"fc5f8996740e7be6f563d7aefdc4f2937922763a",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&a("duet-paragraph",{key:"618c252939e12d7de69832fc38625825f7fcccf4",class:"description",margin:"none",theme:e},this.description),this.email&&a("div",{key:"64cfcf022b32d7c26f329463f5d843c390b2e433",class:"email"},a("duet-icon",{key:"b5736012fefed4c34d135ad282cda14b6353554b",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"5c57b7ed447681f458af6cd668663b9d197a5d08",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&a("div",{key:"8c41242e1376c1f8afbcf0b1e7c2d414d7a85640",class:"phone"},a("duet-icon",{key:"bccc433c5d267385f46ff318be7610fa84cde07a",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"49faa83e88a7feb9533717a08b451b2c9f6164f1",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"b4e5155d34f399665499a8f35eb47b9a02c450bc",class:"call-to-action"},a("duet-button",{key:"f7ab7302ee6b77498628f954ab3553a1cfcd8a5c",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),a("div",{key:"6edc65ed13b8b80bef7a4e756c1a942752fd948e"}),a("slot",{key:"13472a80b020da3fe1f095d21bc1a20fc8293a09"})))}get element(){return i(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{r as duet_contact_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,g as i}from"./p-Djr45qSY.js";import{i as a}from"./p-WhCDf9tt.js";import{s as o,u as r}from"./p-Db8rvjPI.js";import{a as d,g as n,c as s,d as c}from"./p-FCSGJbLJ.js";import{a as l}from"./p-BVgBUIYF.js";import"./p-C6E9F6QT.js";import"./p-DvwKrUS6.js";const h=class{constructor(t){e(this,t),this.language=d(),this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"},this.accessibleLabelUnread=n(this.accessibleLabelUnreadDefaults,this.language),this.url="#",this.date="",this.highlight=!1,this.external=!1,this.theme=""}componentWillLoad(){a(this)}connectedCallback(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"}),o(this)}disconnectedCallback(){c(this),r(this)}async setFocus(e){this.linkElement.focus(e)}render(){return t("div",{key:"ca3ab09712e8c37bccd234d83b8685864fe9c6e2",role:"listitem",class:{"duet-notification":!0,"duet-notification-highlight":this.highlight,"duet-theme-turva":"turva"===this.theme}},t("a",{key:"2042476b8c42b4cb9a4aec6057dbe563772fb9ec",ref:e=>this.linkElement=e,href:this.url,target:this.external?"_blank":"_self"},t("div",{key:"082ba1ab481221f0954c6a9a59e07856af32898c",class:"duet-notification-container"},t("div",{key:"dde13f7597e7114096d5bae94ebc1b282154de8a",class:"duet-notification-badge-container"},this.highlight&&t("div",{key:"4b70454b825191fe9a40450c7739bce6cdd059b4",class:"duet-notification-badge"},t("duet-visually-hidden",{key:"8c038435ee5b35b2d35095eafa7f4b833de4e57f"},this.accessibleLabelUnread,":"))),t("div",{key:"7c8f2d236a8d922e6b21f65585b00f096134a8f3",class:"duet-notification-content"},t("slot",{key:"911e94ff943e9ace002dd0cda2579a80ae42eda1"})),t("div",{key:"dc50e21df86731f26269d4778e18b08a19444d01",class:"duet-notification-date"},this.date))))}get element(){return i(this)}};h.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";const u=class{constructor(t){e(this,t),this.isOpen=!1,this.icon="",this.label="Label",this.language=d(),this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"},this.accessibleLabelNotifications=n(this.accessibleLabelNotificationsDefaults),this.badge=!1,this.theme="",this.direction="left",this.handleKeyDown=e=>{this.isOpen&&27===e.keyCode&&this.close()},this.toggleMenu=e=>{e.stopPropagation(),this.isOpen?this.close():this.open()},this.updateNotificationState=()=>{this.hasNotifications=this.element.children.length>0}}componentWillLoad(){a(this),this.updateNotificationState()}connectedCallback(){this.observer=new MutationObserver(this.updateNotificationState),this.observer.observe(this.element,{childList:!0}),o(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,r(this)}handleClickFocusOutside(e){this.isOpen&&!this.element.contains(e.target)&&this.close(!1)}async setFocus(e){this.drawerButtonEl.focus(e)}async open(){const e=this.element.closest("duet-header");e&&e.closeMenus(),this.isOpen=!0,this.drawerContentEl.scrollTop=0}async close(e=!0){this.isOpen=!1,e&&this.setFocus({preventScroll:!0})}render(){return t("div",{key:"9f4089715c79f3098cbddd19ecb0fe9f625e60dc",class:{"duet-drawer":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:this.handleKeyDown},t("button",{key:"847f74b2cd54afe289a50fefd441409e3d10835d",ref:e=>this.drawerButtonEl=e,type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&t("div",{key:"c887681d1b69bea0d71fdb2f9a9da04162252ba7",class:"duet-drawer-icon"},t("duet-icon",{key:"4ff950e8cbacfe8c26b45aa84c5ca6371afa5806",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&t("div",{key:"3db0ee999568e116bff201633722e984ffaa4432",class:"duet-drawer-badge"})),t("span",{key:"73962ec83f1a6cf91c488f06a5aef5200d4c38b0",class:"duet-drawer-label"},this.label),t("div",{key:"4c821d69d5bd6ac7ced0b42ea8e762503db12836",class:"duet-drawer-caret"},t("duet-icon",{key:"85e247216c488c0f39e3e1d7f47d88ed19e77c6d",margin:"none",size:"auto",icon:l.svg,color:"currentColor"}))),t("div",{key:"ca5f050d99a3055e0ada249e72b08ba4a2614c54",id:"duet-drawer-content",class:{"duet-drawer-content":!0,"duet-drawer-right":"right"===this.direction,"duet-drawer-left":"left"===this.direction,"duet-drawer-open":this.isOpen},ref:e=>this.drawerContentEl=e},this.hasNotifications?t("div",{role:"list"},t("slot",null)):t("duet-empty-state",{size:"small"},t("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;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;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}';export{h as duet_notification,u as duet_notification_drawer}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as a,H as r,g as i}from"./p-Djr45qSY.js";import{i as n,j as o,k as s,l as d}from"./p-D5_4M8f7.js";import{D as l}from"./p-BAFwjrjc.js";import{i as u}from"./p-WhCDf9tt.js";import{c as b}from"./p-Cfr_DJqU.js";import{i as g}from"./p-DxESMgwA.js";import{s as h,u as p}from"./p-Db8rvjPI.js";import{p as m}from"./p-CO8vqpmW.js";const c={turva:{active:d,inactive:s},default:{active:o,inactive:n}},f=class{constructor(a){e(this,a),this.duetChange=t(this,"duetChange",3),this.duetInput=t(this,"duetInput",7),this.rangeId=b("DuetRange"),this.proxyId=b("DuetRange"),this.theme="",this.margin="auto",this.expand=!1,this.required=!1,this.disabled=!1,this.min=0,this.label="label",this.labelHidden=!1,this.unit="",this.max=100,this.step=1,this.locale="fi-FI",this.value=0,this.debounce=0,this.onInput=e=>{const t=e.target;t&&(this.value=parseFloat(t.value)||0),this.duetInput.emit({originalEvent:e,value:this.value,component:"duet-range-slider"})},this.onChange=e=>{const t=e.target;t&&(this.value=parseFloat(t.value)||0),clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{this.duetChange.emit({originalEvent:e,value:this.value,component:"duet-range-slider"})}),this.debounce)}}componentWillLoad(){u(this)}connectedCallback(){h(this)}disconnectedCallback(){p(this)}componentDidRender(){m(this.element,this.proxyId,this.name,this.value,this.required)}async setFocus(e){this.nativeInput.focus(e)}calculatePercentage(){return(this.value-this.min)/(this.max-this.min)*100}render(){const e=this.identifier||this.rangeId,t="turva"===this.theme?"turva":"default",{inactive:i,active:n}=c[t],o=this.calculatePercentage(),s={background:`-webkit-linear-gradient(left,${n} 0%,${n} ${o}%,${i} ${o}%)`};return a(r,{key:"591c961de650998ecf1680202b9d6ebb85e88d76",class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},a("div",{key:"d7992dd90cba5c881171c75377573bc0f650923c",class:{"duet-range-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-ie":g(),"duet-range-disabled":this.disabled}},a(l,{key:"69abfec74af9aae13ebc498374205c571667ace2",theme:t,color:this.labelColor,weight:this.labelWeight,margin:"small",for:e},this.label),a("output",{key:"a165cce8cbd95b8e5f62f03473b7741df139a4f1","aria-hidden":"true",htmlFor:e,class:"duet-output"},this.value.toLocaleString(this.locale),this.unit),a("input",{key:"d88393860f5ba334044588500ef6f762bc32ea2e",onInput:this.onInput,onChange:this.onChange,ref:e=>this.nativeInput=e,type:"range",min:this.min,max:this.max,step:this.step,value:this.value,style:s,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.value,"aria-valuetext":`${this.value} ${this.unit}`,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,id:e,name:this.name,disabled:this.disabled,required:this.required,class:"duet-range"})))}get element(){return i(this)}};f.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;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-range-container{position:relative;width:100%}.duet-output{position:absolute;top:12px;right:0;z-index:200;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-theme-turva .duet-output{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-range-disabled .duet-output{color:rgb(127, 150, 165)}.duet-range-disabled.duet-theme-turva .duet-output{color:rgb(143, 147, 158)}.duet-range{position:relative;z-index:100;width:100%;height:4px;background:rgb(181, 198, 208);border-radius:4px}.duet-theme-turva .duet-range{background:rgb(199, 202, 207)}.duet-ie .duet-range{display:block;width:auto;height:26px;background:transparent !important}.duet-range::-moz-range-track{height:1px;background:transparent !important;border:0;-moz-appearance:none}.duet-range::-ms-track{color:transparent;background:transparent;border:0}.duet-range:focus,.duet-range:active{outline:0}:host(.user-is-tabbing) .duet-range:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-range:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-range::-webkit-slider-runnable-track{background:transparent}.duet-range::-webkit-slider-thumb{position:relative;width:24px;height:24px;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;transition:box-shadow 300ms ease;-webkit-appearance:none}.duet-theme-turva .duet-range::-webkit-slider-thumb{border-color:rgb(143, 147, 158)}.duet-range:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range::-moz-range-thumb{position:relative;width:24px;height:24px;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;appearance:none}.duet-theme-turva .duet-range::-moz-range-thumb{border-color:rgb(143, 147, 158)}.duet-range:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%}.duet-theme-turva .duet-range::-ms-thumb{border-color:rgb(143, 147, 158)}.duet-range:disabled{background:rgb(181, 198, 208) !important}.duet-theme-turva .duet-range:disabled{background:rgb(199, 202, 207) !important}.duet-range:disabled::-webkit-slider-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-webkit-slider-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range:disabled::-moz-range-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-moz-range-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range:disabled::-ms-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-ms-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva .duet-range::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range::-ms-fill-upper{height:4px;background:rgb(181, 198, 208)}.duet-theme-turva .duet-range::-ms-fill-upper{background:rgb(199, 202, 207)}.duet-label-hidden .duet-internal-label,.duet-label-hidden output{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{f as duet_range_slider}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as o,H as t,g as n}from"./p-Djr45qSY.js";import{i as r}from"./p-WhCDf9tt.js";import{a}from"./p-Db8rvjPI.js";const i=class{constructor(o){e(this,o),this.theme="",this.href="#",this.icon=void 0,this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right")}componentWillLoad(){r(this)}handleEscape(e){if(a(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,{key:"3b1594a79e3d1fe88e179e683df893d3e83c407e"},o("a",{key:"10724f053d791def92e9fe21773b4a65f20926de",class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"6658417e520a3d6347859fa434fb527f8f376fbe",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",{key:"d8f728e9d507f4a3ccdda23ed33a958ec5e4e98c"})))}get element(){return n(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';export{i as duet_menu_bar_dropdown_link}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as i,H as a,g as o}from"./p-Djr45qSY.js";import{i as r}from"./p-WhCDf9tt.js";import{D as d}from"./p-BAFwjrjc.js";import{c as n}from"./p-Cfr_DJqU.js";import{s,u as l}from"./p-Db8rvjPI.js";import{p as h}from"./p-CO8vqpmW.js";const u=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.toggleId=n("DuetToggle"),this.proxyId=n("DuetToggle"),this.theme="",this.margin="auto",this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.label="label",this.labelPosition="top",this.required=!1,this.disabled=!1,this.checked=!1,this.onClick=e=>{e.preventDefault(),this.setFocus(),this.checked=!this.checked}}checkedChanged(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})}componentWillLoad(){r(this),void 0===this.value&&(this.value=this.identifier)}connectedCallback(){s(this)}disconnectedCallback(){l(this)}componentDidRender(){h(this.element,this.proxyId,this.name,this.value,this.required,this.checked)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.toggleId;return i(a,{key:"3e49848af5bc84ef2315c914d48994fa138701d2",onClick:this.disabled?void 0:this.onClick,class:{"duet-m-0":"none"===this.margin}},i("div",{key:"17ab866aef36079e345e21861590553339bc9d25",class:{"duet-toggle":!0,"duet-theme-turva":"turva"===this.theme,"duet-side-label":"top"!==this.labelPosition,"duet-reverse-label":"right"===this.labelPosition}},i(d,{key:"6bb1a5485b6960782198191ebbe15d96c86e679b",theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:e,margin:"top"===this.labelPosition?"auto":"none"},this.label),i("label",{key:"7b1b017c1ea022f45b936c24bc01ef0d93c23082",class:"duet-switch"},i("input",{key:"ae7a107807365d80fbd627c76731c4458d4a9ba1",type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:e,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:e=>this.nativeInput=e}),i("div",{key:"a2dd4e29a641754c9c9fad87d6a0216900436557",class:"duet-slider"}))))}get element(){return o(this)}static get watchers(){return{checked:["checkedChanged"]}}};u.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';export{u as duet_toggle}