@duetds/components 7.0.11 → 7.0.13

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 (731) hide show
  1. package/hydrate/index.js +214 -83
  2. package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +22 -4
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -5
  8. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +13 -3
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  28. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +53 -10
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -1
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +6 -6
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
  60. package/lib/cjs/duet-slideout.cjs.entry.js +33 -6
  61. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +14 -10
  66. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +2 -2
  79. package/lib/cjs/{focus-utils-904b5d93.js → focus-utils-a94e86a5.js} +1 -1
  80. package/lib/cjs/{index-87e1f90a.js → index-04d05fd9.js} +1 -1
  81. package/lib/cjs/loader.cjs.js +2 -2
  82. package/lib/cjs/{token-utils-c1864408.js → token-utils-71db4785.js} +1 -1
  83. package/lib/cjs/{tokens-30e7656b.js → tokens-cecc0f2f.js} +24 -0
  84. package/lib/cjs/{tokens.module-5fe478ed.js → tokens.module-10f42b21.js} +16 -0
  85. package/lib/collection/components/duet-action-button/duet-action-button.css +8 -10
  86. package/lib/collection/components/duet-action-button/duet-action-button.js +3 -2
  87. package/lib/collection/components/duet-alert/duet-alert.css +2 -2
  88. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  89. package/lib/collection/components/duet-badge/duet-badge.css +9 -9
  90. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +22 -3
  91. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +23 -2
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +13 -21
  93. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -3
  94. package/lib/collection/components/duet-button/duet-button.css +13 -13
  95. package/lib/collection/components/duet-button/duet-button.js +5 -5
  96. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  97. package/lib/collection/components/duet-card/duet-card.css +4 -4
  98. package/lib/collection/components/duet-card/duet-card.js +3 -3
  99. package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -2
  100. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  101. package/lib/collection/components/duet-chip/duet-chip.css +2 -2
  102. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  103. package/lib/collection/components/duet-choice/duet-choice.css +6 -3
  104. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  105. package/lib/collection/components/duet-collapsible/duet-collapsible.css +2 -2
  106. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  107. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  108. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +6 -6
  109. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +27 -2
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.css +12 -12
  111. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  112. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  113. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  114. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.css +3 -3
  116. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  117. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  118. package/lib/collection/components/duet-header/duet-header.css +12 -12
  119. package/lib/collection/components/duet-header/duet-header.js +15 -15
  120. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  121. package/lib/collection/components/duet-hero/duet-hero.css +2 -2
  122. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  123. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  124. package/lib/collection/components/duet-input/duet-input.css +18 -18
  125. package/lib/collection/components/duet-input/duet-input.js +8 -8
  126. package/lib/collection/components/duet-label/duet-label.js +2 -2
  127. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  128. package/lib/collection/components/duet-link/duet-link.css +2 -2
  129. package/lib/collection/components/duet-list/duet-list.js +3 -3
  130. package/lib/collection/components/duet-logo/duet-logo.css +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
  133. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  134. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -6
  135. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -4
  136. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -7
  137. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +7 -7
  138. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  139. package/lib/collection/components/duet-multiselect/duet-multiselect.css +15 -15
  140. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  141. package/lib/collection/components/duet-notification/duet-notification.css +2 -2
  142. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +2 -2
  143. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  144. package/lib/collection/components/duet-number-input/duet-number-input.css +2 -2
  145. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  146. package/lib/collection/components/duet-pagination/duet-pagination.css +18 -0
  147. package/lib/collection/components/duet-pagination/duet-pagination.js +84 -30
  148. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  149. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -1
  150. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +3 -3
  151. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  152. package/lib/collection/components/duet-radio/duet-radio.css +2 -2
  153. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  154. package/lib/collection/components/duet-range-slider/duet-range-slider.css +2 -2
  155. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  156. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  157. package/lib/collection/components/duet-select/duet-select.css +30 -11
  158. package/lib/collection/components/duet-select/duet-select.js +11 -11
  159. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  160. package/lib/collection/components/duet-slideout/duet-slideout.css +6 -3
  161. package/lib/collection/components/duet-slideout/duet-slideout.js +34 -3
  162. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +6 -6
  163. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +4 -4
  164. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  165. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  166. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  167. package/lib/collection/components/duet-step/duet-step.css +2 -2
  168. package/lib/collection/components/duet-step/duet-step.js +2 -2
  169. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  170. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +8 -8
  171. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +11 -7
  172. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +7 -7
  173. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +7 -7
  174. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +7 -7
  175. package/lib/collection/components/duet-tab-group/duet-tab-group.css +5 -6
  176. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  177. package/lib/collection/components/duet-textarea/duet-textarea.css +8 -8
  178. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  179. package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
  180. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  181. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
  182. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -7
  183. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +7 -7
  184. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
  185. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +4 -4
  186. package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -2
  187. package/lib/collection/components/duet-tray/duet-tray.css +4 -4
  188. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  189. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  190. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  191. package/lib/dist-custom-elements/duet-alert.js +1 -1
  192. package/lib/dist-custom-elements/duet-badge.js +1 -1
  193. package/lib/dist-custom-elements/duet-banner.js +5 -5
  194. package/lib/dist-custom-elements/duet-breadcrumb.js +24 -6
  195. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -12
  196. package/lib/dist-custom-elements/duet-button.js +1 -1
  197. package/lib/dist-custom-elements/duet-callout.js +3 -3
  198. package/lib/dist-custom-elements/duet-caption.js +1 -1
  199. package/lib/dist-custom-elements/duet-card.js +5 -5
  200. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  201. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  202. package/lib/dist-custom-elements/duet-chip.js +3 -3
  203. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  204. package/lib/dist-custom-elements/duet-choice.js +6 -6
  205. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  206. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  207. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  208. package/lib/dist-custom-elements/duet-cookie-consent.js +19 -9
  209. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  210. package/lib/dist-custom-elements/duet-divider.js +1 -1
  211. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  212. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  213. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  214. package/lib/dist-custom-elements/duet-footer.js +5 -5
  215. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  216. package/lib/dist-custom-elements/duet-grid.js +1 -1
  217. package/lib/dist-custom-elements/duet-header.js +10 -10
  218. package/lib/dist-custom-elements/duet-heading.js +1 -1
  219. package/lib/dist-custom-elements/duet-hero.js +10 -10
  220. package/lib/dist-custom-elements/duet-icon.js +1 -1
  221. package/lib/dist-custom-elements/duet-input.js +1 -1
  222. package/lib/dist-custom-elements/duet-label.js +1 -1
  223. package/lib/dist-custom-elements/duet-layout.js +1 -1
  224. package/lib/dist-custom-elements/duet-link.js +1 -1
  225. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  226. package/lib/dist-custom-elements/duet-list.js +1 -1
  227. package/lib/dist-custom-elements/duet-logo.js +1 -1
  228. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  229. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  230. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  231. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  232. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  233. package/lib/dist-custom-elements/duet-modal.js +7 -7
  234. package/lib/dist-custom-elements/duet-multiselect.js +11 -11
  235. package/lib/dist-custom-elements/duet-nav.js +1 -1
  236. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  237. package/lib/dist-custom-elements/duet-notification.js +3 -3
  238. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  239. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  240. package/lib/dist-custom-elements/duet-pagination.js +101 -22
  241. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  242. package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
  243. package/lib/dist-custom-elements/duet-popup-menu.js +3 -1
  244. package/lib/dist-custom-elements/duet-progress.js +1 -1
  245. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  246. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  247. package/lib/dist-custom-elements/duet-radio.js +2 -2
  248. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  249. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  250. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  251. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  252. package/lib/dist-custom-elements/duet-select.js +1 -1
  253. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  254. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  255. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  256. package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
  257. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
  258. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  259. package/lib/dist-custom-elements/duet-slideout.js +33 -5
  260. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  261. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  262. package/lib/dist-custom-elements/duet-step.js +5 -5
  263. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  264. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  265. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  266. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  267. package/lib/dist-custom-elements/duet-submenu-bar.js +15 -11
  268. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  269. package/lib/dist-custom-elements/duet-tab.js +1 -1
  270. package/lib/dist-custom-elements/duet-table.js +1 -1
  271. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  272. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  273. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  274. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  275. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  276. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  277. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  278. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  279. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  280. package/lib/dist-custom-elements/duet-tray.js +5 -5
  281. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  282. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  283. package/lib/dist-custom-elements/duet-upload.js +18 -18
  284. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  285. package/lib/dist-custom-elements/index.js +1 -1
  286. package/lib/dist-custom-elements/{p-de68431d.js → p-03e72a70.js} +1 -1
  287. package/lib/dist-custom-elements/{p-fe16ab51.js → p-147839fe.js} +2 -2
  288. package/lib/dist-custom-elements/{p-0c432f19.js → p-216ee242.js} +2 -2
  289. package/lib/dist-custom-elements/{p-d6ba9330.js → p-235639a0.js} +6 -5
  290. package/lib/dist-custom-elements/{p-c34976a7.js → p-31d056ee.js} +11 -11
  291. package/lib/dist-custom-elements/{p-91c5485e.js → p-32b3e436.js} +1 -1
  292. package/lib/dist-custom-elements/{p-05f08935.js → p-3b2d38bd.js} +3 -3
  293. package/lib/dist-custom-elements/{p-5bd9489b.js → p-444a8a81.js} +1 -1
  294. package/lib/dist-custom-elements/{p-120f66c1.js → p-457ad3b4.js} +2 -2
  295. package/lib/dist-custom-elements/{p-6379e5c0.js → p-5128c90e.js} +2 -2
  296. package/lib/dist-custom-elements/{p-ba5c09ae.js → p-54138086.js} +1 -1
  297. package/lib/dist-custom-elements/{p-687196b5.js → p-580110b9.js} +1 -1
  298. package/lib/dist-custom-elements/{p-b519ac77.js → p-64d43840.js} +24 -0
  299. package/lib/dist-custom-elements/{p-b514c789.js → p-6658c850.js} +2 -2
  300. package/lib/dist-custom-elements/p-6ff6de66.js +262 -0
  301. package/lib/dist-custom-elements/{p-9c9ea306.js → p-70bf0b69.js} +5 -5
  302. package/lib/dist-custom-elements/{p-2b5c6ba3.js → p-735d77aa.js} +1 -1
  303. package/lib/dist-custom-elements/{p-b7079e8b.js → p-778299c4.js} +2 -2
  304. package/lib/dist-custom-elements/{p-a18f1990.js → p-7a8c2aed.js} +7 -7
  305. package/lib/dist-custom-elements/{p-fef085ea.js → p-7ccf98f1.js} +1 -1
  306. package/lib/dist-custom-elements/{p-81c56b23.js → p-811e436b.js} +2 -2
  307. package/lib/dist-custom-elements/{p-7d753a00.js → p-86766141.js} +10 -10
  308. package/lib/dist-custom-elements/{p-bc8d2341.js → p-87ab6444.js} +2 -2
  309. package/lib/dist-custom-elements/{p-acf16b0a.js → p-891cf00a.js} +1 -1
  310. package/lib/dist-custom-elements/{p-afe7886a.js → p-89f61853.js} +2 -2
  311. package/lib/dist-custom-elements/{p-37376979.js → p-8a544a4a.js} +3 -3
  312. package/lib/dist-custom-elements/{p-f14bd0c6.js → p-9510958d.js} +6 -6
  313. package/lib/dist-custom-elements/{p-873b2ba5.js → p-9ec763ef.js} +1 -1
  314. package/lib/dist-custom-elements/{p-d89ad85e.js → p-ae9d10ef.js} +2 -2
  315. package/lib/dist-custom-elements/{p-d111b07b.js → p-b4fb8e06.js} +4 -4
  316. package/lib/dist-custom-elements/{p-e8475b3c.js → p-c057158b.js} +16 -0
  317. package/lib/dist-custom-elements/{p-a741522e.js → p-dddcc1da.js} +3 -3
  318. package/lib/dist-custom-elements/p-e4de8f7b.js +271 -0
  319. package/lib/dist-custom-elements/{p-9ae52620.js → p-e7815ffd.js} +2 -2
  320. package/lib/dist-custom-elements/{p-87306ee7.js → p-e8146874.js} +4 -4
  321. package/lib/dist-custom-elements/{p-15f143d3.js → p-e9d838dd.js} +2 -2
  322. package/lib/dist-custom-elements/{p-cfac6456.js → p-fbdc5afe.js} +1 -1
  323. package/lib/duet/duet.esm.js +1 -1
  324. package/lib/duet/duet.js +1 -1
  325. package/lib/duet/p-00abf5b6.entry.js +4 -0
  326. package/lib/duet/{p-a4f2ef63.system.entry.js → p-02b7e1ef.system.entry.js} +1 -1
  327. package/lib/duet/p-02f1d7cc.system.js +4 -0
  328. package/lib/duet/p-0478d0eb.entry.js +4 -0
  329. package/lib/duet/{p-d9837b02.system.entry.js → p-04940a8a.system.entry.js} +1 -1
  330. package/lib/duet/{p-4bd910ce.entry.js → p-059c9d4e.entry.js} +1 -1
  331. package/lib/duet/{p-cf0b8d70.entry.js → p-066f7fdf.entry.js} +1 -1
  332. package/lib/duet/{p-e655693e.system.entry.js → p-076228e9.system.entry.js} +1 -1
  333. package/lib/duet/{p-e9641c9c.entry.js → p-076aef18.entry.js} +1 -1
  334. package/lib/duet/{p-14572cb2.system.entry.js → p-0acc8f88.system.entry.js} +1 -1
  335. package/lib/duet/{p-2737980f.entry.js → p-0b0a898d.entry.js} +1 -1
  336. package/lib/duet/p-0c3d7e64.system.entry.js +4 -0
  337. package/lib/duet/{p-0ebb9c78.system.entry.js → p-0c6705bb.system.entry.js} +1 -1
  338. package/lib/duet/p-0e697654.system.entry.js +4 -0
  339. package/lib/duet/{p-8a43a36b.entry.js → p-0ffc3cf9.entry.js} +1 -1
  340. package/lib/duet/p-108d9370.system.entry.js +4 -0
  341. package/lib/duet/p-11e79c8c.system.entry.js +4 -0
  342. package/lib/duet/p-14285f86.system.entry.js +4 -0
  343. package/lib/duet/{p-312b8994.entry.js → p-14bd6514.entry.js} +1 -1
  344. package/lib/duet/{p-24be555f.system.entry.js → p-16abb2d5.system.entry.js} +1 -1
  345. package/lib/duet/{p-098a521b.entry.js → p-1719aa4e.entry.js} +1 -1
  346. package/lib/duet/{p-f7418b24.js → p-18f1d30e.js} +1 -1
  347. package/lib/duet/p-1b398a07.entry.js +4 -0
  348. package/lib/duet/p-1c0ad101.system.entry.js +4 -0
  349. package/lib/duet/{p-f83c8880.system.entry.js → p-1d463cc4.system.entry.js} +1 -1
  350. package/lib/duet/p-213ba11f.entry.js +4 -0
  351. package/lib/duet/{p-f8115fd2.entry.js → p-23ba9eba.entry.js} +1 -1
  352. package/lib/duet/{p-9995c95a.system.entry.js → p-243a9ef5.system.entry.js} +1 -1
  353. package/lib/duet/{p-fde69767.entry.js → p-24e2be74.entry.js} +1 -1
  354. package/lib/duet/p-25495204.system.entry.js +4 -0
  355. package/lib/duet/p-29280d68.entry.js +4 -0
  356. package/lib/duet/{p-bcc83d43.entry.js → p-2992af15.entry.js} +1 -1
  357. package/lib/duet/{p-839d40e7.entry.js → p-29be2109.entry.js} +1 -1
  358. package/lib/duet/p-29f1e1a4.system.entry.js +4 -0
  359. package/lib/duet/{p-a76ceaf6.js → p-2bb34e3d.js} +1 -1
  360. package/lib/duet/p-2e9a772c.entry.js +4 -0
  361. package/lib/duet/{p-c074a0e7.entry.js → p-2ea04945.entry.js} +1 -1
  362. package/lib/duet/{p-169ae92e.entry.js → p-2eabea79.entry.js} +1 -1
  363. package/lib/duet/{p-d9dafc19.entry.js → p-31b566c1.entry.js} +1 -1
  364. package/lib/duet/{p-19162fe2.entry.js → p-3346552d.entry.js} +1 -1
  365. package/lib/duet/{p-661f8827.entry.js → p-34928212.entry.js} +1 -1
  366. package/lib/duet/{p-ca5e4a54.system.entry.js → p-3536fd40.system.entry.js} +1 -1
  367. package/lib/duet/{p-956a4a3a.system.entry.js → p-356745e0.system.entry.js} +1 -1
  368. package/lib/duet/{p-765e3ec1.entry.js → p-3709d186.entry.js} +1 -1
  369. package/lib/duet/{p-92e48b99.system.entry.js → p-380c94f6.system.entry.js} +1 -1
  370. package/lib/duet/p-388e6ec4.entry.js +4 -0
  371. package/lib/duet/{p-ba1d3a66.system.js → p-3cb9e865.system.js} +1 -1
  372. package/lib/duet/{p-8c27f203.entry.js → p-3ec86ced.entry.js} +1 -1
  373. package/lib/duet/{p-01b45353.system.entry.js → p-417357f9.system.entry.js} +1 -1
  374. package/lib/duet/p-427dbb96.system.entry.js +4 -0
  375. package/lib/duet/{p-1b518a40.system.entry.js → p-429a181d.system.entry.js} +1 -1
  376. package/lib/duet/p-43b0c3d2.system.entry.js +4 -0
  377. package/lib/duet/p-43b42819.entry.js +4 -0
  378. package/lib/duet/{p-b940581b.entry.js → p-45bec102.entry.js} +1 -1
  379. package/lib/duet/{p-da9649c1.entry.js → p-46b3ed07.entry.js} +1 -1
  380. package/lib/duet/{p-7feb3a81.entry.js → p-4a4faa7d.entry.js} +1 -1
  381. package/lib/duet/p-4ab24dcd.entry.js +4 -0
  382. package/lib/duet/{p-af3f52ec.system.entry.js → p-4e886433.system.entry.js} +1 -1
  383. package/lib/duet/{p-37ebb688.entry.js → p-521c96ec.entry.js} +1 -1
  384. package/lib/duet/p-56952081.entry.js +4 -0
  385. package/lib/duet/{p-1727b8ec.system.entry.js → p-5738c25c.system.entry.js} +1 -1
  386. package/lib/duet/{p-2912650b.entry.js → p-60a70493.entry.js} +1 -1
  387. package/lib/duet/p-64d43840.js +4 -0
  388. package/lib/duet/{p-76f69465.system.entry.js → p-67862509.system.entry.js} +1 -1
  389. package/lib/duet/p-67d9de79.system.entry.js +4 -0
  390. package/lib/duet/p-6c93f614.system.entry.js +4 -0
  391. package/lib/duet/{p-589881f3.entry.js → p-6d711206.entry.js} +1 -1
  392. package/lib/duet/p-6d74aac6.system.entry.js +4 -0
  393. package/lib/duet/p-6f677b2a.system.entry.js +4 -0
  394. package/lib/duet/{p-aff6a3f8.system.entry.js → p-6f6a58e4.system.entry.js} +1 -1
  395. package/lib/duet/{p-7d34f006.entry.js → p-701b89a1.entry.js} +1 -1
  396. package/lib/duet/p-70477e77.system.entry.js +4 -0
  397. package/lib/duet/{p-f86bdaa9.entry.js → p-7174ea1e.entry.js} +1 -1
  398. package/lib/duet/{p-974ec475.entry.js → p-7260f799.entry.js} +1 -1
  399. package/lib/duet/p-7326a4c0.system.entry.js +4 -0
  400. package/lib/duet/{p-33a1196f.entry.js → p-74216caa.entry.js} +1 -1
  401. package/lib/duet/{p-3a9af609.entry.js → p-7804ff1e.entry.js} +1 -1
  402. package/lib/duet/p-79075bec.system.entry.js +4 -0
  403. package/lib/duet/p-7ac0621b.system.entry.js +4 -0
  404. package/lib/duet/{p-f4d36100.system.entry.js → p-7b7faa01.system.entry.js} +1 -1
  405. package/lib/duet/{p-05ba305e.system.entry.js → p-7cf9e266.system.entry.js} +2 -2
  406. package/lib/duet/{p-da51b5d0.system.entry.js → p-7dc87593.system.entry.js} +1 -1
  407. package/lib/duet/{p-5c0b4434.system.entry.js → p-7fe6bf2c.system.entry.js} +1 -1
  408. package/lib/duet/p-81c35152.entry.js +4 -0
  409. package/lib/duet/p-822a791e.entry.js +4 -0
  410. package/lib/duet/{p-37db0554.entry.js → p-8364fae3.entry.js} +1 -1
  411. package/lib/duet/p-8433b6d1.system.entry.js +4 -0
  412. package/lib/duet/p-850eacf6.entry.js +4 -0
  413. package/lib/duet/{p-c529a45e.entry.js → p-87ca87df.entry.js} +1 -1
  414. package/lib/duet/p-8810df88.js +4 -0
  415. package/lib/duet/p-885b38a9.system.js +4 -0
  416. package/lib/duet/{p-938eb486.system.entry.js → p-8a3fcbdb.system.entry.js} +1 -1
  417. package/lib/duet/p-8b5d616e.system.entry.js +4 -0
  418. package/lib/duet/p-8b641c9c.system.entry.js +4 -0
  419. package/lib/duet/{p-3bca30ca.system.entry.js → p-8db716f2.system.entry.js} +1 -1
  420. package/lib/duet/{p-5bc67330.entry.js → p-8e5253bc.entry.js} +1 -1
  421. package/lib/duet/p-97fc4a88.system.entry.js +4 -0
  422. package/lib/duet/p-98488fab.system.entry.js +4 -0
  423. package/lib/duet/{p-84377dda.entry.js → p-9949a334.entry.js} +1 -1
  424. package/lib/duet/p-9ce8627c.system.entry.js +4 -0
  425. package/lib/duet/p-9d033a04.system.js +4 -0
  426. package/lib/duet/{p-27bcd0ee.system.entry.js → p-9d505129.system.entry.js} +1 -1
  427. package/lib/duet/p-9e3276c6.system.entry.js +4 -0
  428. package/lib/duet/{p-918a8ca7.system.entry.js → p-9f9ada02.system.entry.js} +1 -1
  429. package/lib/duet/{p-5cc6f176.entry.js → p-a374de00.entry.js} +1 -1
  430. package/lib/duet/{p-6e5ee495.entry.js → p-a39844b6.entry.js} +1 -1
  431. package/lib/duet/{p-b502b5b8.entry.js → p-a678835a.entry.js} +1 -1
  432. package/lib/duet/{p-c48d8cfe.system.js → p-a7c2017b.system.js} +1 -1
  433. package/lib/duet/p-a87a2760.system.entry.js +4 -0
  434. package/lib/duet/{p-83032abc.entry.js → p-a8e6dcb9.entry.js} +1 -1
  435. package/lib/duet/p-ac962b74.system.entry.js +4 -0
  436. package/lib/duet/p-afee3739.system.entry.js +4 -0
  437. package/lib/duet/p-b0475c8a.entry.js +4 -0
  438. package/lib/duet/p-b07fe45f.system.entry.js +4 -0
  439. package/lib/duet/{p-fb7932ed.entry.js → p-b465c929.entry.js} +1 -1
  440. package/lib/duet/{p-3ad8fd01.system.entry.js → p-b71c141b.system.entry.js} +1 -1
  441. package/lib/duet/{p-393bb353.entry.js → p-b7605eb1.entry.js} +1 -1
  442. package/lib/duet/{p-71a46879.system.js → p-b760c72b.system.js} +1 -1
  443. package/lib/duet/{p-55fd5afe.entry.js → p-b760effb.entry.js} +1 -1
  444. package/lib/duet/{p-ac70bace.system.entry.js → p-b7e61bdc.system.entry.js} +1 -1
  445. package/lib/duet/p-b8b12400.system.entry.js +4 -0
  446. package/lib/duet/p-b9eb37ae.system.entry.js +4 -0
  447. package/lib/duet/p-bd594a8b.entry.js +4 -0
  448. package/lib/duet/p-bde9a702.system.entry.js +4 -0
  449. package/lib/duet/{p-fdeecf57.system.entry.js → p-c1573ac3.system.entry.js} +1 -1
  450. package/lib/duet/p-c1fb544b.system.entry.js +4 -0
  451. package/lib/duet/{p-dfb3dc4a.entry.js → p-c201968f.entry.js} +1 -1
  452. package/lib/duet/{p-03048264.system.entry.js → p-c2731be1.system.entry.js} +1 -1
  453. package/lib/duet/p-c2b0861c.system.entry.js +4 -0
  454. package/lib/duet/p-c3a883e3.entry.js +4 -0
  455. package/lib/duet/p-c4fac0b5.system.entry.js +4 -0
  456. package/lib/duet/{p-b069fbc0.entry.js → p-cb451f23.entry.js} +1 -1
  457. package/lib/duet/{p-0445200d.entry.js → p-cba1009b.entry.js} +1 -1
  458. package/lib/duet/p-cd05fea5.system.entry.js +4 -0
  459. package/lib/duet/p-cf824b6b.system.entry.js +4 -0
  460. package/lib/duet/{p-e845d5f4.system.entry.js → p-d183a3e7.system.entry.js} +1 -1
  461. package/lib/duet/{p-8c8fbad6.system.entry.js → p-d1f815a3.system.entry.js} +1 -1
  462. package/lib/duet/p-d4d63fbd.system.entry.js +4 -0
  463. package/lib/duet/{p-71f9674a.entry.js → p-d68c84ab.entry.js} +1 -1
  464. package/lib/duet/{p-444b3ae5.entry.js → p-d6d5ef13.entry.js} +1 -1
  465. package/lib/duet/{p-eedc5e43.entry.js → p-d7c5ac53.entry.js} +1 -1
  466. package/lib/duet/p-db6887df.entry.js +4 -0
  467. package/lib/duet/{p-78d94bf8.entry.js → p-db95e133.entry.js} +1 -1
  468. package/lib/duet/{p-ad71602b.entry.js → p-dfc66b98.entry.js} +1 -1
  469. package/lib/duet/{p-1200d4b2.system.entry.js → p-e27a7520.system.entry.js} +1 -1
  470. package/lib/duet/{p-3d82ea29.entry.js → p-e356ca29.entry.js} +1 -1
  471. package/lib/duet/{p-2432f0f4.entry.js → p-e3f8becc.entry.js} +1 -1
  472. package/lib/duet/{p-a7253ad1.entry.js → p-e4734600.entry.js} +1 -1
  473. package/lib/duet/{p-7a81869c.entry.js → p-e4e0578f.entry.js} +1 -1
  474. package/lib/duet/{p-50db959c.system.entry.js → p-e50d1003.system.entry.js} +1 -1
  475. package/lib/duet/{p-dd8c607e.system.entry.js → p-e7cc2826.system.entry.js} +1 -1
  476. package/lib/duet/{p-e8c0cf74.entry.js → p-e91a7222.entry.js} +1 -1
  477. package/lib/duet/p-e9b8cee0.system.entry.js +4 -0
  478. package/lib/duet/p-ea1287ce.system.entry.js +4 -0
  479. package/lib/duet/{p-2f431a14.entry.js → p-f0317574.entry.js} +1 -1
  480. package/lib/duet/{p-fd4785ab.js → p-f1d51e20.js} +1 -1
  481. package/lib/duet/p-f27b134c.system.entry.js +4 -0
  482. package/lib/duet/{p-4ad5e118.entry.js → p-f5903e7d.entry.js} +1 -1
  483. package/lib/duet/{p-8abd8397.entry.js → p-f74b6629.entry.js} +1 -1
  484. package/lib/duet/p-faf2b9d1.entry.js +4 -0
  485. package/lib/duet/p-fbdb1eec.entry.js +4 -0
  486. package/lib/duet/p-fc0f56ae.system.entry.js +4 -0
  487. package/lib/duet/{p-9f1e66fa.entry.js → p-fee0f558.entry.js} +1 -1
  488. package/lib/esm/duet-action-button.entry.js +5 -4
  489. package/lib/esm/duet-alert.entry.js +2 -2
  490. package/lib/esm/duet-badge.entry.js +2 -2
  491. package/lib/esm/duet-banner.entry.js +3 -3
  492. package/lib/esm/duet-breadcrumb.entry.js +22 -4
  493. package/lib/esm/duet-breadcrumbs.entry.js +3 -5
  494. package/lib/esm/duet-button_2.entry.js +4 -4
  495. package/lib/esm/duet-callout.entry.js +1 -1
  496. package/lib/esm/duet-caption_4.entry.js +4 -4
  497. package/lib/esm/duet-card.entry.js +4 -4
  498. package/lib/esm/duet-checkbox.entry.js +2 -2
  499. package/lib/esm/duet-checkmark.entry.js +1 -1
  500. package/lib/esm/duet-chip.entry.js +2 -2
  501. package/lib/esm/duet-choice_2.entry.js +3 -3
  502. package/lib/esm/duet-collapsible.entry.js +3 -3
  503. package/lib/esm/duet-combobox.entry.js +1 -1
  504. package/lib/esm/duet-contact-card.entry.js +1 -1
  505. package/lib/esm/duet-cookie-consent.entry.js +13 -3
  506. package/lib/esm/duet-date-picker.entry.js +3 -3
  507. package/lib/esm/duet-divider_2.entry.js +3 -3
  508. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  509. package/lib/esm/duet-empty-state.entry.js +1 -1
  510. package/lib/esm/duet-fieldset.entry.js +1 -1
  511. package/lib/esm/duet-footer.entry.js +2 -2
  512. package/lib/esm/duet-grid_2.entry.js +2 -2
  513. package/lib/esm/duet-header_2.entry.js +5 -5
  514. package/lib/esm/duet-hero.entry.js +2 -2
  515. package/lib/esm/duet-icon.entry.js +3 -3
  516. package/lib/esm/duet-input_2.entry.js +2 -2
  517. package/lib/esm/duet-layout.entry.js +1 -1
  518. package/lib/esm/duet-list_2.entry.js +1 -1
  519. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  520. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  521. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  522. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  523. package/lib/esm/duet-menu-bar.entry.js +3 -3
  524. package/lib/esm/duet-modal.entry.js +2 -2
  525. package/lib/esm/duet-multiselect.entry.js +2 -2
  526. package/lib/esm/duet-nav.entry.js +1 -1
  527. package/lib/esm/duet-notification_2.entry.js +3 -3
  528. package/lib/esm/duet-number-input.entry.js +2 -2
  529. package/lib/esm/duet-page-heading.entry.js +1 -1
  530. package/lib/esm/duet-pagination_2.entry.js +53 -10
  531. package/lib/esm/duet-popup-menu-item.entry.js +2 -2
  532. package/lib/esm/duet-popup-menu.entry.js +3 -1
  533. package/lib/esm/duet-progress.entry.js +1 -1
  534. package/lib/esm/duet-promo-card.entry.js +3 -3
  535. package/lib/esm/duet-radio_2.entry.js +2 -2
  536. package/lib/esm/duet-range-slider.entry.js +3 -3
  537. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  538. package/lib/esm/duet-section-layout.entry.js +1 -1
  539. package/lib/esm/duet-select.entry.js +6 -6
  540. package/lib/esm/duet-shaped-image.entry.js +1 -1
  541. package/lib/esm/duet-show-more.entry.js +1 -1
  542. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  543. package/lib/esm/duet-slideout-link.entry.js +2 -2
  544. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  545. package/lib/esm/duet-slideout-panel.entry.js +5 -5
  546. package/lib/esm/duet-slideout.entry.js +33 -6
  547. package/lib/esm/duet-step_2.entry.js +2 -2
  548. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  549. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  550. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  551. package/lib/esm/duet-submenu-bar.entry.js +14 -10
  552. package/lib/esm/duet-textarea.entry.js +2 -2
  553. package/lib/esm/duet-toggle.entry.js +2 -2
  554. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  555. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  556. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  557. package/lib/esm/duet-toolbar.entry.js +1 -1
  558. package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
  559. package/lib/esm/duet-tooltip.entry.js +3 -3
  560. package/lib/esm/duet-tray.entry.js +3 -3
  561. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  562. package/lib/esm/duet-upload-item.entry.js +1 -1
  563. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  564. package/lib/esm/duet.js +3 -3
  565. package/lib/esm/{focus-utils-6a5d6710.js → focus-utils-e26ba3b3.js} +1 -1
  566. package/lib/esm/{index-461a449b.js → index-c1a17a4c.js} +1 -1
  567. package/lib/esm/loader.js +3 -3
  568. package/lib/esm/{token-utils-a1dcaa4b.js → token-utils-2d3af0db.js} +1 -1
  569. package/lib/esm/{tokens-f6b32339.js → tokens-e6b6db9b.js} +24 -0
  570. package/lib/esm/{tokens.module-ed773027.js → tokens.module-c7944140.js} +16 -0
  571. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  572. package/lib/esm-es5/duet-alert.entry.js +1 -1
  573. package/lib/esm-es5/duet-badge.entry.js +1 -1
  574. package/lib/esm-es5/duet-banner.entry.js +1 -1
  575. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  576. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  577. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  578. package/lib/esm-es5/duet-callout.entry.js +1 -1
  579. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  580. package/lib/esm-es5/duet-card.entry.js +1 -1
  581. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  582. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  583. package/lib/esm-es5/duet-chip.entry.js +1 -1
  584. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  585. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  586. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  587. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  588. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  589. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  590. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  591. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  592. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  593. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  594. package/lib/esm-es5/duet-footer.entry.js +1 -1
  595. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  596. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  597. package/lib/esm-es5/duet-hero.entry.js +1 -1
  598. package/lib/esm-es5/duet-icon.entry.js +1 -1
  599. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-layout.entry.js +1 -1
  601. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  602. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  603. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  604. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  605. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  606. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  607. package/lib/esm-es5/duet-modal.entry.js +1 -1
  608. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  609. package/lib/esm-es5/duet-nav.entry.js +1 -1
  610. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  611. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  612. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  613. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  614. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  615. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  616. package/lib/esm-es5/duet-progress.entry.js +1 -1
  617. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  618. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  620. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  621. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  622. package/lib/esm-es5/duet-select.entry.js +2 -2
  623. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  624. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  625. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  626. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  628. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  629. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  630. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  632. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  633. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  634. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  635. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  636. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  637. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  638. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  639. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  640. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  641. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  642. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  643. package/lib/esm-es5/duet-tray.entry.js +1 -1
  644. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  645. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  646. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  647. package/lib/esm-es5/duet.js +1 -1
  648. package/lib/esm-es5/{focus-utils-6a5d6710.js → focus-utils-e26ba3b3.js} +1 -1
  649. package/lib/esm-es5/{index-461a449b.js → index-c1a17a4c.js} +1 -1
  650. package/lib/esm-es5/loader.js +1 -1
  651. package/lib/esm-es5/{token-utils-a1dcaa4b.js → token-utils-2d3af0db.js} +1 -1
  652. package/lib/esm-es5/tokens-e6b6db9b.js +4 -0
  653. package/lib/esm-es5/tokens.module-c7944140.js +4 -0
  654. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +6 -1
  655. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -0
  656. package/lib/types/components/duet-pagination/duet-pagination.d.ts +10 -4
  657. package/lib/types/components/duet-select/duet-select.d.ts +3 -2
  658. package/lib/types/components/duet-slideout/duet-slideout.d.ts +5 -0
  659. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +2 -2
  660. package/lib/types/components.d.ts +10 -10
  661. package/package.json +5 -5
  662. package/lib/dist-custom-elements/p-1a94e82b.js +0 -262
  663. package/lib/dist-custom-elements/p-bb65095e.js +0 -271
  664. package/lib/duet/p-0037e20d.system.entry.js +0 -4
  665. package/lib/duet/p-0289fbda.entry.js +0 -4
  666. package/lib/duet/p-06f27610.system.entry.js +0 -4
  667. package/lib/duet/p-073d6f97.entry.js +0 -4
  668. package/lib/duet/p-0a30ca43.js +0 -4
  669. package/lib/duet/p-0eee231b.system.entry.js +0 -4
  670. package/lib/duet/p-1300971a.system.entry.js +0 -4
  671. package/lib/duet/p-153a027b.system.entry.js +0 -4
  672. package/lib/duet/p-15534404.system.entry.js +0 -4
  673. package/lib/duet/p-15799688.system.entry.js +0 -4
  674. package/lib/duet/p-1667e146.system.entry.js +0 -4
  675. package/lib/duet/p-16a5c1c3.system.entry.js +0 -4
  676. package/lib/duet/p-1f28890e.entry.js +0 -4
  677. package/lib/duet/p-2220521c.system.entry.js +0 -4
  678. package/lib/duet/p-223e3b4e.system.entry.js +0 -4
  679. package/lib/duet/p-24396004.system.entry.js +0 -4
  680. package/lib/duet/p-2578f223.entry.js +0 -4
  681. package/lib/duet/p-2768e79d.system.entry.js +0 -4
  682. package/lib/duet/p-3a8c1f83.system.entry.js +0 -4
  683. package/lib/duet/p-3ace0310.system.entry.js +0 -4
  684. package/lib/duet/p-3f0e3f2e.system.entry.js +0 -4
  685. package/lib/duet/p-43bf80f7.entry.js +0 -4
  686. package/lib/duet/p-45e609b1.system.js +0 -4
  687. package/lib/duet/p-4a6d2260.system.entry.js +0 -4
  688. package/lib/duet/p-4bebb594.system.entry.js +0 -4
  689. package/lib/duet/p-51d7dce2.entry.js +0 -4
  690. package/lib/duet/p-547f4d57.system.entry.js +0 -4
  691. package/lib/duet/p-54bedfc1.entry.js +0 -4
  692. package/lib/duet/p-54e76170.entry.js +0 -4
  693. package/lib/duet/p-583c363f.system.entry.js +0 -4
  694. package/lib/duet/p-63f0077b.entry.js +0 -4
  695. package/lib/duet/p-64b40242.system.entry.js +0 -4
  696. package/lib/duet/p-6e95e911.entry.js +0 -4
  697. package/lib/duet/p-6ff65c0f.system.entry.js +0 -4
  698. package/lib/duet/p-75e5becf.system.entry.js +0 -4
  699. package/lib/duet/p-775ae756.entry.js +0 -4
  700. package/lib/duet/p-82b579a9.system.entry.js +0 -4
  701. package/lib/duet/p-86364112.system.entry.js +0 -4
  702. package/lib/duet/p-88fbee70.system.entry.js +0 -4
  703. package/lib/duet/p-8c6e3c4f.system.js +0 -4
  704. package/lib/duet/p-94dd060e.system.entry.js +0 -4
  705. package/lib/duet/p-9721d5c8.entry.js +0 -4
  706. package/lib/duet/p-97a0cefa.system.entry.js +0 -4
  707. package/lib/duet/p-a1aae246.entry.js +0 -4
  708. package/lib/duet/p-aa76ed06.system.entry.js +0 -4
  709. package/lib/duet/p-acb8efa3.system.entry.js +0 -4
  710. package/lib/duet/p-b519ac77.js +0 -4
  711. package/lib/duet/p-c0421abd.system.entry.js +0 -4
  712. package/lib/duet/p-c0a1eca6.system.entry.js +0 -4
  713. package/lib/duet/p-c9881968.system.entry.js +0 -4
  714. package/lib/duet/p-cdc5fd58.system.entry.js +0 -4
  715. package/lib/duet/p-d01530c7.entry.js +0 -4
  716. package/lib/duet/p-d6f75b8c.system.entry.js +0 -4
  717. package/lib/duet/p-d89ed9a7.entry.js +0 -4
  718. package/lib/duet/p-dc42d88f.system.entry.js +0 -4
  719. package/lib/duet/p-dd01dec3.entry.js +0 -4
  720. package/lib/duet/p-e0e8af53.system.entry.js +0 -4
  721. package/lib/duet/p-e4408451.system.entry.js +0 -4
  722. package/lib/duet/p-e71c9a22.system.entry.js +0 -4
  723. package/lib/duet/p-e7db4458.system.entry.js +0 -4
  724. package/lib/duet/p-ecb74e7a.system.js +0 -4
  725. package/lib/duet/p-eec6e6f2.entry.js +0 -4
  726. package/lib/duet/p-f5caefda.entry.js +0 -4
  727. package/lib/duet/p-f89a1ae9.system.entry.js +0 -4
  728. package/lib/duet/p-fa3fea8e.entry.js +0 -4
  729. package/lib/duet/p-fcc290f8.system.entry.js +0 -4
  730. package/lib/esm-es5/tokens-f6b32339.js +0 -4
  731. package/lib/esm-es5/tokens.module-ed773027.js +0 -4
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,s){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function o(e){try{d(s.next(e))}catch(e){i(e)}}function a(e){try{d(s["throw"](e))}catch(e){i(e)}}function d(e){e.done?n(e.value):r(e.value).then(o,a)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,r,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return d([e,t])}}function d(a){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(n=0)),n)try{if(s=1,r&&(i=a[0]&2?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;if(r=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];r=0}finally{s=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js"],(function(e){"use strict";var t,n,s,r,i,o,a,d;return{setters:[function(e){t=e.r;n=e.c;s=e.h;r=e.g;i=e.H},function(e){o=e.i},function(e){a=e.c},function(e){d=e.i}],execute:function(){var p={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var u='*.sc-duet-step,*.sc-duet-step::after,*.sc-duet-step::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-step-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step.sc-duet-step{padding:20px !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;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva.sc-duet-step{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top.sc-duet-step{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom.sc-duet-step{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom.sc-duet-step{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step.sc-duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading.sc-duet-step{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false].sc-duet-step{cursor:pointer}.duet-step-heading.sc-duet-step:focus{outline:0}.duet-step-heading.sc-duet-step:active{opacity:0.75}.user-is-tabbing.sc-duet-step-h .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.sc-duet-step-h .duet-theme-turva.sc-duet-step .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#005f8f}.duet-theme-turva.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#9e0a26}.is-current.sc-duet-step .duet-step-heading.sc-duet-step{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading.sc-duet-step{margin-top:8px;margin-bottom:8px !important}.sc-duet-step-h:first-of-type .duet-step-heading.sc-duet-step{margin-top:0}.sc-duet-step-h:last-of-type .duet-step-heading.sc-duet-step{margin-bottom:0 !important}}.duet-step-counter.sc-duet-step{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter.sc-duet-step{width:40px;height:40px;line-height:40px}}.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(198, 12, 48)}.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(101, 119, 135)}.duet-theme-turva.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(116, 116, 117)}.duet-step-icon.sc-duet-step{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step{width:20px;height:20px}}.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper.sc-duet-step{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(225, 227, 230)}.duet-theme-turva.sc-duet-step .duet-step-content-wrapper.sc-duet-step{border-color:rgb(228, 228, 230)}.sc-duet-step-h:last-of-type .duet-step-content-wrapper.sc-duet-step{min-height:0;border:transparent}}.duet-step-content.sc-duet-step{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content.sc-duet-step{padding-bottom:28px}}.is-current.sc-duet-step .duet-step-content.sc-duet-step{display:block}.duet-step-heading-slot.sc-duet-step{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot.sc-duet-step{display:block}}';var c=e("duet_step",function(){function e(e){var s=this;t(this,e);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=a("DuetStepButton");this.contentId=a("DuetStepContent");this.handleKeyDown=function(e){if(s.isClickDisabled()){return}if(d(e)){e.preventDefault();s.handleStepClick(e)}};this.handleClick=function(e){if(s.isClickDisabled()){return}s.handleStepClick(e)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}e.prototype.handleStepClick=function(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})};e.prototype.componentWillLoad=function(){o(this)};e.prototype.setFocus=function(e){if(e===void 0){e={preventScroll:true}}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonElement.focus(e);return[2]}))}))};e.prototype.isClickDisabled=function(){return this.state!=="complete"};e.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};e.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return s("div",{class:"duet-step-icon"},s("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:p.svg}))}return"".concat(this.stepIndex+1," ")};e.prototype.render=function(){var e;var t=this;{return s("div",{class:(e={"duet-step":true},e["is-".concat(this.state)]=true,e["rounded-top"]=this.roundedTop,e["rounded-bottom"]=this.roundedBottom,e["duet-theme-turva"]=this.theme==="turva",e)},s("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(e){return t.buttonElement=e}},s("div",{"aria-hidden":"true"},s("div",{class:"duet-step-counter"},this.renderStepCounter())),s("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),s("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),s("div",null,s("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),s("duet-spacer",{direction:"horizontal",size:"large"}),s("div",{class:"duet-step-heading-slot"},s("slot",{name:"heading-content"}))),s("div",{class:"duet-step-content-wrapper"},s("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},s("slot",null))))}};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());c.style=u;function l(e,t){var n={};t.forEach((function(t){var s=t[e];if(!n[s]){n[s]=[]}n[s].push(t)}));return n}var h=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var m=e("duet_stepper",function(){function e(e){t(this,e);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}e.prototype.currentStepChanged=function(e){var t=this;if(isNaN(e)){throw new Error("step must be a number. got: ".concat(e))}if(e<0){throw new Error("step must be not be less than zero. got: ".concat(e))}if(e>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return t.setStepFocus()}),50)};e.prototype.currentStepInvokedDisable=function(){this.updateStepState()};e.prototype.onDuetStepClick=function(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})};e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.updateStepState();return[2]}))}))};e.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};e.prototype.setStepFocus=function(){var e=this.getSteps();var t=e[this.selected];t.setFocus()};e.prototype.updateStepState=function(){var e=this;var t=this.getSteps();t.forEach((function(t,n){var s;if(n<e.selected){s=e.backDisabled?"disabled":"complete"}else if(n>e.selected){s="incomplete"}else{s="current"}t.theme=e.theme;t.state=s;t.stepIndex=n}));var n=l("state",t);Object.values(n).forEach((function(e){e.forEach((function(t,n){t.roundedTop=n===0;t.roundedBottom=n===e.length-1}))}))};e.prototype.formatAnnouncement=function(){var e=this.getSteps();var t=(this.selected+1).toString(10);var n=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",n)};e.prototype.render=function(){return s(i,{class:{"duet-m-0":this.margin==="none"}},s("div",{class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},s("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),s("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return e}());m.style=h}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-51721695.system.js"],(function(e){"use strict";var t,n,o,r,a,i;return{setters:[function(e){t=e.r;n=e.h;o=e.H;r=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.675rem 16px;font-size:0.875rem}}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(245, 245, 247)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(148, 9, 37)}';var u=e("duet_submenu_bar_dropdown_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-submenu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return n(o,null,n("a",{class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("span",{class:"label"},n("slot",null)),this.caret&&n("duet-icon",{name:"action-arrow-right-small",size:"xxx-small",margin:"none"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const _="rgb(247, 178, 40)",r="rgb(101, 119, 135)",a="rgb(245, 248, 250)",o="rgb(211, 36, 131)",e="rgb(0, 119, 179)",l="rgb(54, 74, 129)",i="rgb(0, 135, 90)",t="rgb(11, 114, 136)",s="rgb(243, 249, 252)",c="rgb(230, 242, 248)",g="rgb(0, 161, 212)",x="rgb(0, 77, 128)",d="rgb(255, 255, 255)",m="rgb(122, 1, 196)",n="rgb(144, 149, 153)",p="rgb(225, 227, 230)",u="rgb(0, 41, 77)",y="rgb(168, 1, 78)",b="rgb(205, 229, 241)",h="rgb(213, 66, 3)",z="rgb(207, 210, 212)",v="rgb(222, 35, 98)",f="rgb(68, 68, 69)",w="rgb(245, 245, 247)",k="rgb(161, 10, 78)",q="rgb(198, 12, 48)",S="rgb(23, 28, 58)",I="rgb(8, 135, 78)",U="rgb(252, 243, 244)",j="rgb(199, 12, 112)",A="rgb(169, 69, 124)",E="rgb(249, 230, 234)",B="rgb(148, 9, 37)",C="rgb(255, 255, 255)",F="rgb(116, 116, 117)",H="rgb(228, 228, 230)",M="rgb(178, 180, 179)",R="rgb(23, 28, 58)",O="rgb(244, 207, 214)",D="rgb(9, 129, 148)",G="rgb(207, 207, 209)",J="rgb(224, 42, 13)",K="rgb(250, 164, 15)",L="rgb(192, 101, 247)",N="rgb(0, 105, 191)",P="rgb(19, 120, 53)",Q="rgb(179, 60, 24)",T="rgb(13, 163, 166)",V="rgb(122, 1, 196)",W="rgb(11, 114, 136)",X="rgb(0, 155, 204)",Y="rgb(179, 137, 24)",Z="rgb(27, 171, 75)",$="rgb(128, 98, 17)",__="rgb(255, 86, 34)",r_="rgb(0, 41, 77)",a_="rgb(245, 76, 154)",o_="rgb(194, 21, 101)",e_="-0.01rem",l_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",i_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",t_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",s_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",c_="4.5rem",g_="3rem",x_="2.25rem",d_="1.5rem",m_="1.25rem",n_="1rem",p_="0.875rem",u_="0.75rem",y_="20px",b_="20rem",h_="0 2px 10px 0 rgba(117, 117, 117, 0.13)",z_="0 2px 6px 0 rgba(0, 41, 77, 0.07)",v_="0 2px 10px 0 rgba(0, 41, 77, 0.07)",f_="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",w_="0 2px 20px 0 rgba(0, 0, 0, 0.2)",k_="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",q_="0 2px 10px 0 rgba(117, 117, 117, 0.15)",S_="0 2px 10px 0 rgba(0, 41, 77, 0.1)",I_="0 2px 6px 0 rgba(117, 117, 117, 0.13)",U_="20px",j_="12px",A_="16px",E_="36px",B_="72px",C_="94px",F_="48px",H_="28px",M_="48px",R_="40px",O_="8rem",D_="4rem",G_="72px",J_="36px",K_="10px",L_="30px",N_="3rem",P_="30px",Q_="1110px",T_="48px",V_="16px",W_="24px",X_="20px",Y_="0.85",Z_="0.75",$_="0.50",_r="0.30",rr="-999999",ar="1.25",or="300ms ease",er="600ms ease",lr="'(min-width: 106.25em)'",ir="'(min-width: 64.0625em)'",tr="'(min-width: 48em)'",sr="'(min-width: 62em)'",cr="'(min-width: 76.25em)'",gr="'(max-width: 35.9375em)'",xr="'(max-width: 20.5em)'",dr="'(min-width: 36em)'",mr="'(max-width: 22.5em)'",nr=Object.freeze({__proto__:null,color_warning:_,color_gray_darker:r,color_gray_lighter:a,color_category_home:o,color_primary:e,color_category_vehicle:l,color_success:i,color_category_family:t,color_primary_lightest:s,color_primary_lighter:c,color_brand_blue:g,color_primary_dark:x,color_gray_lightest:d,color_category_finance:m,color_gray_dark:n,color_gray_light:p,color_secondary:u,color_category_pet:y,color_primary_light:b,color_category_travel:h,color_gray:z,color_danger:v,color_gray_darker_turva:f,color_gray_lighter_turva:w,color_category_home_turva:k,color_primary_turva:q,color_category_vehicle_turva:S,color_success_turva:I,color_primary_lightest_turva:U,color_category_family_turva:j,color_category_union_turva:A,color_primary_lighter_turva:E,color_primary_dark_turva:B,color_gray_lightest_turva:C,color_gray_dark_turva:F,color_gray_light_turva:H,color_brand_gray_turva:M,color_secondary_turva:R,color_primary_light_turva:O,color_category_travel_turva:D,color_gray_turva:G,color_danger_turva:J,color_warning_turva:K,color_data_07:L,color_data_08:N,color_data_09:P,color_data_10:Q,color_data_11:T,color_data_01:V,color_data_12:W,color_data_02:X,color_data_13:Y,color_data_03:Z,color_data_14:$,color_data_04:__,color_data_15:r_,color_data_05:a_,color_data_06:o_,font_weight_extra_bold:"800",letter_spacing_heading:e_,font_family_heading_turva:l_,font_family_text_turva:i_,font_family_heading:t_,font_family_text:s_,font_weight_bold:"700",font_weight_normal:"400",font_weight_semi_bold:"600",font_size_xxxx_large:c_,font_size_xxx_large:g_,font_size_xx_large:x_,font_size_x_large:d_,font_size_large:m_,font_size_medium:n_,font_size_small:p_,font_size_x_small:u_,radius_sharp:"0",radius_default:"4px",radius_medium:"8px",radius_large:y_,radius_circle:"50%",radius_pill:b_,shadow_tooltip_turva:h_,shadow_default:z_,shadow_tooltip:v_,shadow_card_turva:f_,shadow_modal:w_,shadow_card:k_,shadow_hover_turva:q_,shadow_hover:S_,shadow_default_turva:I_,space_xx_small:"4px",space_large:U_,space_x_small:"8px",space_xxx_small:"2px",space_small:j_,space_medium:A_,space_xx_large:E_,space_xxxx_large:B_,space_xxxxx_large:C_,space_xxx_large:F_,space_x_large:H_,size_icon_xx_large:M_,size_form_border:"1px",size_step_medium:R_,size_button_min_width:O_,size_header:D_,size_icon_xxx_large:G_,size_icon_x_large:J_,size_icon_xx_small:K_,size_step_small:L_,size_navigation:N_,size_icon_large:P_,size_layout_max_width:Q_,size_tappable_square:T_,size_icon_x_small:V_,size_icon_xxx_small:"7px",size_button_border:"2px",size_button_tiny_border:"1px",size_icon_medium:W_,size_icon_small:X_,opacity_85:Y_,opacity_75:Z_,opacity_50:$_,opacity_30:_r,z_index_mask_buttons:"250",z_index_dropdown:"600",z_index_spinner:"800",z_index_default:"1",z_index_toast:"500",z_index_popup:"950",z_index_modal:"900",z_index_sticky:"300",z_index_masked:"100",z_index_deep:rr,z_index_overlay:"700",z_index_mask:"200",z_index_header:"400",line_height_medium:"1.5",line_height_small:ar,line_height_x_small:"1.1",transition_quickly:or,transition_slowly:er,media_query_xxx_large:lr,media_query_x_large:ir,media_query_medium:tr,media_query_large:sr,media_query_xx_large:cr,media_query_x_small:gr,media_query_xxx_small:xr,media_query_small:dr,media_query_xx_small:mr,default:{color_warning:_,color_gray_darker:r,color_gray_lighter:a,color_category_home:o,color_primary:e,color_category_vehicle:l,color_success:i,color_category_family:t,color_primary_lightest:s,color_primary_lighter:c,color_brand_blue:g,color_primary_dark:x,color_gray_lightest:d,color_category_finance:m,color_gray_dark:n,color_gray_light:p,color_secondary:u,color_category_pet:y,color_primary_light:b,color_category_travel:h,color_gray:z,color_danger:v,color_gray_darker_turva:f,color_gray_lighter_turva:w,color_category_home_turva:k,color_primary_turva:q,color_category_vehicle_turva:S,color_success_turva:I,color_primary_lightest_turva:U,color_category_family_turva:j,color_category_union_turva:A,color_primary_lighter_turva:E,color_primary_dark_turva:B,color_gray_lightest_turva:C,color_gray_dark_turva:F,color_gray_light_turva:H,color_brand_gray_turva:M,color_secondary_turva:R,color_primary_light_turva:O,color_category_travel_turva:D,color_gray_turva:G,color_danger_turva:J,color_warning_turva:K,color_data_07:L,color_data_08:N,color_data_09:P,color_data_10:Q,color_data_11:T,color_data_01:V,color_data_12:W,color_data_02:X,color_data_13:Y,color_data_03:Z,color_data_14:$,color_data_04:__,color_data_15:r_,color_data_05:a_,color_data_06:o_,font_weight_extra_bold:"800",letter_spacing_heading:e_,font_family_heading_turva:l_,font_family_text_turva:i_,font_family_heading:t_,font_family_text:s_,font_weight_bold:"700",font_weight_normal:"400",font_weight_semi_bold:"600",font_size_xxxx_large:c_,font_size_xxx_large:g_,font_size_xx_large:x_,font_size_x_large:d_,font_size_large:m_,font_size_medium:n_,font_size_small:p_,font_size_x_small:u_,radius_sharp:"0",radius_default:"4px",radius_medium:"8px",radius_large:y_,radius_circle:"50%",radius_pill:b_,shadow_tooltip_turva:h_,shadow_default:z_,shadow_tooltip:v_,shadow_card_turva:f_,shadow_modal:w_,shadow_card:k_,shadow_hover_turva:q_,shadow_hover:S_,shadow_default_turva:I_,space_xx_small:"4px",space_large:U_,space_x_small:"8px",space_xxx_small:"2px",space_small:j_,space_medium:A_,space_xx_large:E_,space_xxxx_large:B_,space_xxxxx_large:C_,space_xxx_large:F_,space_x_large:H_,size_icon_xx_large:M_,size_form_border:"1px",size_step_medium:R_,size_button_min_width:O_,size_header:D_,size_icon_xxx_large:G_,size_icon_x_large:J_,size_icon_xx_small:K_,size_step_small:L_,size_navigation:N_,size_icon_large:P_,size_layout_max_width:Q_,size_tappable_square:T_,size_icon_x_small:V_,size_icon_xxx_small:"7px",size_button_border:"2px",size_button_tiny_border:"1px",size_icon_medium:W_,size_icon_small:X_,opacity_85:Y_,opacity_75:Z_,opacity_50:$_,opacity_30:_r,z_index_mask_buttons:"250",z_index_dropdown:"600",z_index_spinner:"800",z_index_default:"1",z_index_toast:"500",z_index_popup:"950",z_index_modal:"900",z_index_sticky:"300",z_index_masked:"100",z_index_deep:rr,z_index_overlay:"700",z_index_mask:"200",z_index_header:"400",line_height_medium:"1.5",line_height_small:ar,line_height_x_small:"1.1",transition_quickly:or,transition_slowly:er,media_query_xxx_large:lr,media_query_x_large:ir,media_query_medium:tr,media_query_large:sr,media_query_xx_large:cr,media_query_x_small:gr,media_query_xxx_small:xr,media_query_small:dr,media_query_xx_small:mr}});export{sr as a,dr as b,cr as c,n_ as f,tr as m,nr as t}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{d(o.next(t))}catch(t){i(t)}}function a(t){try{d(o["throw"](t))}catch(t){i(t)}}function d(t){t.done?n(t.value):r(t.value).then(u,a)}d((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return d([t,e])}}function d(a){if(o)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(o=1,r&&(i=a[0]&2?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;if(r=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];r=0}finally{o=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-c7ae95bd.system.js","./p-43660fa9.system.js","./p-71a46879.system.js","./p-b6d51921.system.js","./p-8c6e3c4f.system.js"],(function(t){"use strict";var e,n,o,r,i,u,a,d,b,s,l,p;return{setters:[function(t){e=t.r;n=t.c;o=t.h;r=t.H;i=t.g},function(t){u=t.i},function(t){a=t.D},function(t){d=t.a;b=t.g;s=t.c;l=t.d},function(t){p=t.g},function(){},function(){}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(23, 28, 58, 0.7)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px rgb(0, 41, 77), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px rgb(23, 28, 58), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';var h=t("duet_button",function(){function t(t){var o=this;e(this,t);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.handleClick=function(t){if(!o.url&&o.element.closest("form")){t.preventDefault();o.proxyButton.click()}};this.onFocus=function(){o.duetFocus.emit()};this.onBlur=function(){o.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=d();this.accessibleLabelExternalDefaults=a;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){u(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){this.proxyButton=document.createElement("button");this.proxyButton.style.display="none";this.syncToProxyButton();s(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});if(!this.url&&this.element.closest("form")){this.element.insertAdjacentElement("beforebegin",this.proxyButton)}};t.prototype.disconnectedCallback=function(){this.proxyButton.remove();this.proxyButton=null;l(this)};t.prototype.syncToProxyButton=function(){this.proxyButton.type=this.getButtonType();this.proxyButton.disabled=this.disabled;if(this.name!=null){this.proxyButton.name=this.name}else{this.proxyButton.removeAttribute("name")}if(this.value!=null){this.proxyButton.value=this.value}else{this.proxyButton.removeAttribute("value")}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,n;var i=this;var u;var a=this.external&&this.url;var d=a?"action-new-window":this.icon;var b=a?true:this.iconRight;var s=o("span",{class:"duet-button-contents",style:{color:p(this.color)}},d&&o("div",{"aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.iconSize]=true,t)},o("duet-icon",{size:"auto",margin:"none",name:d,color:"currentColor"})),o("slot",null));var l={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return i.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small","duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||this.variation==="negative"},e[this.variation]=true,e.disabled=this.disabled,e.icon=!!d,e["icon-right"]=b,e[this.iconSize]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(r,{onClick:this.handleClick,class:{"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":(u=this.variation)===null||u===void 0?void 0:u.startsWith("input-button")}},o("div",{class:(n={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},n[this.variation]=true,n)},this.url?o("a",Object.assign({},l,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},l,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),s),this.loading&&o("duet-spinner",{color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}},enumerable:false,configurable:true});return t}());h.style=c;var m=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';var g=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){u(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":p(this.color);return o(r,{class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},o("div",{class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}());g.style=m}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var t,i,n,a,o;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(101, 119, 135)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(68, 68, 69)}';var r=e("duet_slideout_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;return i(n,null,i("a",{class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.accessibleLabel},this.icon&&i("duet-icon",{name:this.icon,color:"secondary",size:this.menuItem?"x-small":"medium",margin:"none"}),i("div",{class:"label"},i("span",null,i("slot",null),i("slot",{name:"description"})),this.caret&&i("duet-icon",{name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());r.style=s}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{u(a.next(e))}catch(e){i(e)}}function d(e){try{u(a["throw"](e))}catch(e){i(e)}}function u(e){e.done?r(e.value):n(e.value).then(s,d)}u((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,s;return s={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(e){return function(t){return u([e,t])}}function u(d){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,d[0]&&(r=0)),r)try{if(a=1,n&&(i=d[0]&2?n["return"]:d[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,d[1])).done)return i;if(n=0,i)d=[d[0]&2,i.value];switch(d[0]){case 0:case 1:i=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;n=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1];i=d;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(d);break}if(i[2])r.ops.pop();r.trys.pop();continue}d=t.call(e,r)}catch(e){d=[6,e];n=0}finally{a=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-8c6e3c4f.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-e566ff11.system.js"],(function(e){"use strict";var t,r,a,n,i,s,d,u,o,l,c,g;return{setters:[function(e){t=e.r;r=e.c;a=e.h;n=e.H;i=e.g},function(e){s=e.i;d=e.j;u=e.k;o=e.l},function(e){l=e.i},function(e){c=e.c},function(e){g=e.i}],execute:function(){var b='*.sc-duet-range-slider,*.sc-duet-range-slider::after,*.sc-duet-range-slider::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-range-slider-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-range-slider-h:last-child,.sc-duet-range-slider-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-range-slider-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-range-slider-h{width:100% !important}}.duet-m-0.sc-duet-range-slider-h{margin:0 !important}.duet-range-container.sc-duet-range-slider{position:relative;width:100%}.duet-output.sc-duet-range-slider{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(0, 41, 77);background:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{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.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(144, 149, 153)}.duet-range-disabled.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider{position:relative;z-index:100;width:100%;height:4px;background:rgb(207, 210, 212);border-radius:4px}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider{background:rgb(207, 207, 209)}.duet-ie.sc-duet-range-slider .duet-range.sc-duet-range-slider{display:block;width:auto;height:26px;background:transparent !important}.duet-range.sc-duet-range-slider::-moz-range-track{height:1px;background:transparent !important;border:0;-moz-appearance:none}.duet-range.sc-duet-range-slider::-ms-track{color:transparent;background:transparent;border:0}.duet-range.sc-duet-range-slider:focus,.duet-range.sc-duet-range-slider:active{outline:0}.user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus{box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:focus{box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 3px rgb(23, 28, 58)}.duet-range.sc-duet-range-slider::-webkit-slider-runnable-track{background:transparent}.duet-range.sc-duet-range-slider::-webkit-slider-thumb{position:relative;width:24px;height:24px;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:50%;transition:box-shadow 300ms ease;-webkit-appearance:none}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-webkit-slider-thumb{border-color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range.sc-duet-range-slider::-moz-range-thumb{position:relative;width:24px;height:24px;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:50%;appearance:none}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-moz-range-thumb{border-color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range.sc-duet-range-slider::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:50%}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-thumb{border-color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider:disabled{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled{background:rgb(207, 207, 209) !important}.duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{cursor:default;background:rgb(207, 210, 212);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{background:rgb(207, 207, 209);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{cursor:default;background:rgb(207, 210, 212);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{background:rgb(207, 207, 209);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-ms-thumb{cursor:default;background:rgb(207, 210, 212);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-ms-thumb{background:rgb(207, 207, 209);border-color:transparent}.duet-range.sc-duet-range-slider::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range.sc-duet-range-slider::-ms-fill-upper{height:4px;background:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-upper{background:rgb(207, 207, 209)}.duet-label-hidden.sc-duet-range-slider duet-label.sc-duet-range-slider,.duet-label-hidden.sc-duet-range-slider output.sc-duet-range-slider{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var h={turva:{active:s,inactive:d},default:{active:u,inactive:o}};var p=e("duet_range_slider",function(){function e(e){var a=this;t(this,e);this.duetChange=r(this,"duetChange",3);this.duetInput=r(this,"duetInput",7);this.rangeId=c("DuetRange");this.onInput=function(e){var t=e.target;if(t){a.value=parseFloat(t.value)||0}a.duetInput.emit({originalEvent:e,value:a.value,component:"duet-range-slider"})};this.onChange=function(e){var t=e.target;if(t){a.value=parseFloat(t.value)||0}clearTimeout(a.timeoutId);a.timeoutId=setTimeout((function(){a.duetChange.emit({originalEvent:e,value:a.value,component:"duet-range-slider"})}),a.debounce)};this.theme="";this.margin="auto";this.expand=false;this.identifier=undefined;this.name=undefined;this.required=false;this.disabled=false;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.min=0;this.label="label";this.labelHidden=false;this.unit="";this.max=100;this.step=1;this.locale="fi-FI";this.value=0;this.debounce=0}e.prototype.componentWillLoad=function(){l(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.calculatePercentage=function(){return(this.value-this.min)/(this.max-this.min)*100};e.prototype.render=function(){var e=this;var t=this.identifier||this.rangeId;var r=this.theme==="turva"?"turva":"default";var i=h[r],s=i.inactive,d=i.active;var u=this.calculatePercentage();var o={background:"-webkit-linear-gradient(left,".concat(d," 0%,").concat(d," ").concat(u,"%,").concat(s," ").concat(u,"%)")};return a(n,{class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},a("div",{class:{"duet-range-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-ie":g(),"duet-range-disabled":this.disabled}},a("duet-label",{theme:r,margin:"small",for:t},this.label),a("output",{"aria-hidden":"true",htmlFor:t,class:"duet-output"},this.value.toLocaleString(this.locale),this.unit),a("input",{onInput:this.onInput,onChange:this.onChange,ref:function(t){return e.nativeInput=t},type:"range",min:this.min,max:this.max,step:this.step,value:this.value,style:o,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.value,"aria-valuetext":"".concat(this.value," ").concat(this.unit),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,id:t,name:this.name,disabled:this.disabled,required:this.required,class:"duet-range"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());p.style=b}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,s){function o(e){try{c(i.next(e))}catch(e){s(e)}}function r(e){try{c(i["throw"](e))}catch(e){s(e)}}function c(e){e.done?n(e.value):a(e.value).then(o,r)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,a,s,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(e){return function(t){return c([e,t])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(n=0)),n)try{if(i=1,a&&(s=r[0]&2?a["return"]:r[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,r[1])).done)return s;if(a=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){n.label=r[1];break}if(r[0]===6&&n.label<s[1]){n.label=s[1];s=r;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(r);break}if(s[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(e){r=[6,e];a=0}finally{i=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-45e609b1.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var t,n,i,a,s,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){s=e.a},function(e){o=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-button.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-menu-bar-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-menu-bar-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-button:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var c=e("duet_menu_bar_button",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(s.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.theme="";this.icon=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;return n(i,{onfocus:function(){return e.setFocus()}},n("button",{ref:function(t){return e.nativeButton=t},class:{"duet-menu-bar-button":true,"duet-theme-turva":this.theme==="turva"},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());c.style=r}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as o,g as s}from"./p-f7418b24.js";import{i as a}from"./p-4ebf1618.js";import{F as d}from"./p-0a30ca43.js";import{f as n}from"./p-f077c646.js";import{a as l,c as r,d as u,g as h}from"./p-03baceb5.js";import{g as p}from"./p-a76ceaf6.js";import"./p-5a9d75e1.js";import"./p-fd4785ab.js";const g=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.toggleMenu=t=>{const e=!this.open;if(this.open=e,this.openButton.setAttribute("aria-expanded",this.open.toString()),this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"}),e){const t=this.element.querySelector("duet-slideout-panel[open]");t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else setTimeout((()=>{this.openButton.setFocus()}),200)},this.onClick=t=>{this.toggleMenu(t)},this.language=l(),this.theme="",this.open=!1,this.backgroundColor="gray-lightest"}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}componentWillLoad(){a(this),this.openButton=this.element.querySelector(":scope > [slot='toggle']"),this.openButton&&(this.openButton.accessiblePopup="true",this.openButton.accessibleExpanded=!1,this.openButton.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault(),this.onClick(t)})),this.openButton=this.openButton)}connectedCallback(){r(this)}disconnectedCallback(){u(this)}handleKeyUp(t){n(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){this.openButton.focus(t)}render(){const t={background:p(this.backgroundColor,this.theme)},e=h(this.exitLangObject);return i(o,null,i("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},i("slot",{name:"toggle"}),i("div",{class:{"desktop-bg":!0,hidden:!this.open},onClick:()=>{this.open=!1}}),i("div",{tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"menubar",class:{dialog:!0,hidden:!this.open},style:t},i(d,{moveFocusTo:this.closeButton}),i("div",{class:"top"},i("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${e}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick},i("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{id:"menubar",role:"menubar",class:{items:!0}},i("slot",null)),i(d,{moveFocusTo:this.closeButton}))))}get element(){return s(this)}};g.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;height:100%}:host slot:not([name=toggle])::slotted(*){position:relative;visibility:hidden;opacity:0}:host([open]) slot:not([name=toggle])::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}::slotted(*){width:100%}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=toggle]{color:inherit}';export{g as duet_slideout}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,t,i){function d(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function n(e){try{p(i.next(e))}catch(e){r(e)}}function o(e){try{p(i["throw"](e))}catch(e){r(e)}}function p(e){e.done?t(e.value):d(e.value).then(n,o)}p((i=i.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,d,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(e){return function(a){return p([e,a])}}function p(o){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(t=0)),t)try{if(i=1,d&&(r=o[0]&2?d["return"]:o[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,o[1])).done)return r;if(d=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;d=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=a.call(e,t)}catch(e){o=[6,e];d=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var i=0,d=a.length,r;i<d;i++){if(r||!(i in a)){if(!r)r=Array.prototype.slice.call(a,0,i);r[i]=a[i]}}return e.concat(r||Array.prototype.slice.call(a))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-b6d51921.system.js","./p-71a46879.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var a,t,i,d,r,n,o,p,s,m,c;return{setters:[function(e){a=e.r;t=e.c;i=e.h;d=e.F;r=e.H;n=e.g},function(e){o=e.i},function(e){p=e.c},function(e){s=e.i},function(e){m=e.s},function(e){c=e.g},function(){}],execute:function(){var l=["h1","h2","h3","h4","h5","h6"];var g="div";var u={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var x='*,*::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:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-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);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(0, 80, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 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:1.25rem;font-weight:800;color:rgb(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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(228, 228, 230)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 245, 247)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}';var h=e("duet_card",function(){function e(e){var i=this;a(this,e);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(e){e.preventDefault();i.open=!i.open;i.duetToggle.emit({component:"duet-card",originalEvent:e})};this.handleKeyDown=function(e){if(s(e)){i.togglePanel(e)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}e.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};e.prototype.renderHeading=function(){var e=m(this.headingLevel);var a=__spreadArray(__spreadArray([],l,true),[g],false).some((function(a){return a===e}))?e:"h2";var t={backgroundColor:c(this.headingBackground)};var r=i(d,null,i("div",{class:"duet-card-heading-grid"},this.icon&&i(d,null,i("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),i("duet-spacer",{direction:"horizontal",size:"small"})),i("div",{class:"duet-card-heading-text"},this.heading?this.heading:i("slot",{name:"heading"})),this.secondaryHeading&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("duet-icon",{class:"duet-card-caret",icon:u.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),i("slot",{name:"below-heading"}));if(this.collapsible){return i(a,{style:t,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},i("button",{"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false"},r))}else{return i(a,{style:t,class:"duet-card-heading"},r)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.nativeCard){this.nativeCard.focus(e)}return[2]}))}))};e.prototype.render=function(){var e;var a=this;var t=this.url?"a":"div";var d={backgroundColor:c(this.background)};return i(r,{class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},i(t,{href:this.url,style:d,ref:function(e){return a.nativeCard=e},"aria-label":this.accessibleLabel,class:(e={"duet-card":true},e[this.padding]=true,e[this.variation]=true,e["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,e["duet-p-0"]=this.padding==="none",e["duet-theme-turva"]=this.theme==="turva",e["duet-card-has-bg"]=this.background!=="gray-lightest",e["duet-card-has-icon"]=!!this.icon,e["duet-card-collapsed"]=this.collapsible&&!this.open,e)},this.image&&i("div",{class:"duet-card-image-mask"},i("img",{src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),i("div",{class:"duet-card-content",id:this.cardId},i("slot",null),this.hasFooter&&i("div",{class:"duet-card-footer"},i("slot",{name:"footer"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());h.style=x}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as o,H as n,g as r}from"./p-f7418b24.js";import{i as u}from"./p-4ebf1618.js";import{D as i}from"./p-76f00bd5.js";import{a as d,g as a,c as b,d as s}from"./p-03baceb5.js";import{g as p}from"./p-a76ceaf6.js";import"./p-5a9d75e1.js";import"./p-fd4785ab.js";const l=class{constructor(o){t(this,o),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.handleClick=t=>{!this.url&&this.element.closest("form")&&(t.preventDefault(),this.proxyButton.click())},this.onFocus=()=>{this.duetFocus.emit()},this.onBlur=()=>{this.duetBlur.emit()},this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.loading=!1,this.variation="default",this.negative=!1,this.theme="",this.margin="auto",this.padding="auto",this.centerText=!1,this.wrapping="auto",this.expand=!1,this.fixed=!1,this.disabled=!1,this.name=void 0,this.value=void 0,this.identifier=void 0,this.submit=!1,this.external=!1,this.language=d(),this.accessibleLabelExternalDefaults=i,this.accessibleLabelExternal=a(this.accessibleLabelExternalDefaults),this.icon="",this.color="",this.iconRight=!1,this.iconSize="medium",this.size="medium",this.iconOnly=!1,this.url=void 0}componentWillLoad(){u(this),this.url&&this.external&&this.icon&&console.warn("[DUET]: Button used as an external link will override any icon that is set")}connectedCallback(){this.proxyButton=document.createElement("button"),this.proxyButton.style.display="none",this.syncToProxyButton(),b(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),!this.url&&this.element.closest("form")&&this.element.insertAdjacentElement("beforebegin",this.proxyButton)}disconnectedCallback(){this.proxyButton.remove(),this.proxyButton=null,s(this)}syncToProxyButton(){this.proxyButton.type=this.getButtonType(),this.proxyButton.disabled=this.disabled,null!=this.name?this.proxyButton.name=this.name:this.proxyButton.removeAttribute("name"),null!=this.value?this.proxyButton.value=this.value:this.proxyButton.removeAttribute("value")}getButtonType(){return this.submit?"submit":"button"}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){var t;const e=this.external&&this.url,r=e?"action-new-window":this.icon,u=!!e||this.iconRight,i=o("span",{class:"duet-button-contents",style:{color:p(this.color)}},r&&o("div",{"aria-hidden":"true",class:{"duet-button-icon":!0,left:!u,right:u,[this.iconSize]:!0}},o("duet-icon",{size:"auto",margin:"none",name:r,color:"currentColor"})),o("slot",null)),d={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeButton=t,id:this.identifier,class:{"duet-m-0":"none"===this.margin,"duet-p-0":"none"===this.padding,"duet-no-wrap":"none"===this.wrapping,"duet-button":!0,"duet-button-is-small":"small"===this.size,"duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0,disabled:this.disabled,icon:!!r,"icon-right":u,[this.iconSize]:!0},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(n,{onClick:this.handleClick,class:{"duet-m-0":"none"===this.margin,"duet-small":"small"===this.size,"duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":null===(t=this.variation)||void 0===t?void 0:t.startsWith("input-button")}},o("div",{class:{"duet-button-container":!0,"duet-button-is-loading":this.loading,"duet-theme-turva":"turva"===this.theme,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0}},this.url?o("a",Object.assign({},d,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":void 0}),i,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},d,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,"aria-disabled":this.disabled}),i),this.loading&&o("duet-spinner",{color:"currentColor"})))}get element(){return r(this)}static get watchers(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}}};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;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px rgb(255, 255, 255), 0 0 0 4px rgba(23, 28, 58, 0.7)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px rgb(0, 41, 77), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px rgb(23, 28, 58), 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';const h=class{constructor(e){t(this,e),this.accessibleLabel=void 0,this.color="gray-lightest",this.size="small",this.theme=""}componentWillLoad(){u(this)}render(){const t="currentColor"===this.color?"currentColor":p(this.color);return o(n,{class:{"duet-custom-color":"currentColor"!==this.color&&"turva"!==this.theme&&"default"!==this.theme,"duet-theme-turva":"turva"===this.theme&&"currentColor"!==this.color,"duet-theme-default":"default"===this.theme&&"currentColor"!==this.color}},o("div",{class:{"duet-spinner":!0,[this.size]:!0},style:{color:t},"aria-label":this.accessibleLabel}))}};h.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';export{l as duet_button,h as duet_spinner}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{s(i.next(e))}catch(e){n(e)}}function d(e){try{s(i["throw"](e))}catch(e){n(e)}}function s(e){e.done?r(e.value):o(e.value).then(a,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(r=0)),r)try{if(i=1,o&&(n=d[0]&2?o["return"]:d[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,d[1])).done)return n;if(o=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;o=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){r.label=d[1];break}if(d[0]===6&&r.label<n[1]){r.label=n[1];n=d;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(d);break}if(n[2])r.ops.pop();r.trys.pop();continue}d=t.call(e,r)}catch(e){d=[6,e];o=0}finally{i=n=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-43660fa9.system.js","./p-0c4bbd65.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,r,i,o,n,a,d,s,u;return{setters:[function(e){t=e.r;r=e.h;i=e.g},function(e){o=e.i},function(e){n=e.a;a=e.g;d=e.c;s=e.d},function(e){u=e.a},function(){}],execute:function(){var l="*,*::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-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(252, 243, 244)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(252, 243, 244)}}.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 rgb(0, 119, 179)}: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 rgb(23, 28, 58)}.duet-notification-container{position:relative;display:flex}.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(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";var c=e("duet_notification",function(){function e(e){t(this,e);this.language=n();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=a(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){d(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"})};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.linkElement.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{ref:function(t){return e.linkElement=t},href:this.url,target:this.external?"_blank":"_self"},r("div",{class:"duet-notification-container"},r("div",{class:"duet-notification-badge-container"},this.highlight&&r("div",{class:"duet-notification-badge"},r("duet-visually-hidden",null,this.accessibleLabelUnread,":"))),r("div",{class:"duet-notification-content"},r("slot",null)),r("div",{class:"duet-notification-date"},this.date))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());c.style=l;var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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(0, 41, 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(225, 227, 230);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(228, 228, 230)}.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 rgb(0, 119, 179)}: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 rgb(23, 28, 58)}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.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, 77, 128);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(68, 68, 69);border-color:rgb(245, 245, 247)}@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(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@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(225, 227, 230);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;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.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)}}';var p=27;var g=e("duet_notification_drawer",function(){function e(e){var r=this;t(this,e);this.handleKeyDown=function(e){if(r.isOpen&&e.keyCode===p){r.close()}};this.toggleMenu=function(e){e.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=n();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=a(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}e.prototype.componentWillLoad=function(){o(this);this.updateNotificationState()};e.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null};e.prototype.handleClickFocusOutside=function(e){var t=e.target;if(this.isOpen&&!this.element.contains(t)){this.close(false)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.drawerButtonEl.focus(e);return[2]}))}))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.element.closest("duet-header");if(e){e.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};e.prototype.close=function(e){if(e===void 0){e=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.isOpen=false;if(e){this.setFocus({preventScroll:true})}return[2]}))}))};e.prototype.render=function(){var e=this;return r("div",{class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{ref:function(t){return e.drawerButtonEl=t},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&&r("div",{class:"duet-drawer-icon"},r("duet-icon",{margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("div",{class:"duet-drawer-badge"})),r("span",{class:"duet-drawer-label"},this.label),r("div",{class:"duet-drawer-caret"},r("duet-icon",{margin:"none",size:"auto",icon:u.svg,color:"currentColor"}))),r("div",{id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(t){return e.drawerContentEl=t}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());g.style=h}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as i,H as s,g as e}from"./p-f7418b24.js";import{m as o,a}from"./p-b519ac77.js";import{c as h,f as n,s as l,a as r}from"./p-8adb9463.js";import{i as p}from"./p-4ebf1618.js";import{c}from"./p-c1325e35.js";import{f as d}from"./p-f077c646.js";import{a as m,g as u,c as b,d as g}from"./p-03baceb5.js";import{T as f}from"./p-7394e25f.js";import"./p-5a9d75e1.js";const v=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.openTooltip=()=>{this.active=!0,this.focusTarget="tooltip",this.teleport.go()},this.closeTooltip=(t=!1)=>{this.active=!1,t&&(this.focusTarget="trigger"),setTimeout((()=>{this.teleport.resume(),this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await h(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),r({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.theme="",this.language=m(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=u(this.accessibleLabelDefault,this.language),this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=u(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1}componentWillLoad(){p(this)}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.teleport=new f(this.popupElement),this.updatePlacement(),this.active&&this.openTooltip(),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}componentDidUpdate(){switch(this.focusTarget){case"tooltip":setTimeout((()=>this.contentEl.focus({preventScroll:!0})));break;case"trigger":setTimeout((()=>this.buttonEl.setFocus({preventScroll:!0})))}this.focusTarget=null}connectedCallback(){b(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){g(this)}onScroll(){clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout((()=>{this.active&&this.updatePlacement()}),100)}handleWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.updatePlacement()}),100)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&d(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.updatePlacement():setTimeout((()=>this.updatePlacement()),300)}render(){const t={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},e={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.active,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel?`${this.accessibleInputLabel}, ${this.accessibleLabel}`:this.accessibleLabel,onClick:this.toggleOpen}),i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:e,style:t,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel},i("slot",null)))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};v.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{v as duet_tooltip}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,o,i){function r(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,n){function a(e){try{l(i.next(e))}catch(e){n(e)}}function d(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?o(e.value):r(e.value).then(a,d)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(e){return function(t){return l([e,t])}}function l(d){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(o=0)),o)try{if(i=1,r&&(n=d[0]&2?r["return"]:d[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,d[1])).done)return n;if(r=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:o.label++;return{value:d[1],done:false};case 5:o.label++;r=d[1];d=[0];continue;case 7:d=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){o.label=d[1];break}if(d[0]===6&&o.label<n[1]){o.label=n[1];n=d;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(d);break}if(n[2])o.ops.pop();o.trys.pop();continue}d=t.call(e,o)}catch(e){d=[6,e];r=0}finally{i=n=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-c7ae95bd.system.js","./p-33b3aba4.system.js","./p-43660fa9.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,o,i,r,n,a,d,l,u,s,p,c,f,m;return{setters:[function(e){t=e.r;o=e.c;i=e.h;r=e.F;n=e.g},function(e){a=e.a},function(e){d=e.a},function(e){l=e.D},function(e){u=e.i},function(e){s=e.a;p=e.g;c=e.c;f=e.d},function(e){m=e.p}],execute:function(){var h={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px rgb(255, 255, 255)}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;word-break:break-all}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';var b={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}};var x=function(e,t){return{component:"duet-footer",data:t,originalEvent:e}};var v=e("duet_footer",function(){function e(e){var i=this;t(this,e);this.duetChange=o(this,"duetChange",3);this.duetLogoClick=o(this,"duetLogoClick",7);this.duetMenuClick=o(this,"duetMenuClick",7);this.duetItemClick=o(this,"duetItemClick",7);this.duetAnalytics=o(this,"duetAnalytics",7);this.duetEvent=o(this,"duetEvent",7);this.handleClick=function(e){if(e.data.analyticsId){i.duetAnalytics.emit({component:"duet-footer",analyticsId:e.data.analyticsId})}i.duetChange.emit(e)};this.handleLogoClick=function(e){var t=x(e,{href:i.logoHref,label:"logo"});i.duetLogoClick.emit(t);i.handleClick(t)};this.handleMenuClick=function(e,t){var o=x(e,t);i.handleClick(o);i.duetMenuClick.emit(o)};this.handleItemClick=function(e,t){var o=x(e,t);i.handleClick(o);i.duetItemClick.emit(o)};this.emitDuetEvent=function(e,t){i.duetEvent.emit({component:"duet-footer",data:t,originalEvent:e})};this.processedMainItem=null;this.processedItems=null;this.processedMenu=null;this.theme="";this.variation="default";this.margin="auto";this.logoHref="/";this.language=s();this.items=undefined;this.accessibleLabel=undefined;this.accessibleLabelExternalDefaults=l;this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults);this.menu=undefined}e.prototype.componentWillLoad=function(){u(this);this.refresh();this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")};e.prototype.connectedCallback=function(){c(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.processedItems=m(this.items);this.processedMenu=m(this.menu);return[2]}))}))};e.prototype.renderFooterTop=function(){var e=this;var t=i("div",{class:{"footer-top-logo":this.hasInfoSlot}},this.variation!=="simple"&&i("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:true,language:this.language,theme:this.theme}));var o=this.processedItems&&this.variation!=="simple"&&this.processedItems.map((function(t){return i("a",{class:"duet-footer-link",href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:function(o){return e.handleItemClick(o,t)},onMouseEnter:function(o){return e.emitDuetEvent(o,t)},onTouchStart:function(o){return e.emitDuetEvent(o,t)}},i("div",{class:"duet-footer-icon"},i("duet-icon",{size:"medium",margin:"none",name:t.icon,color:"currentColor"})),i("span",null,t.label),!t.hideArrow&&i(r,null,t.external&&i("duet-visually-hidden",null,", ",e.accessibleLabelExternal),i("div",{class:"duet-footer-arrow"},t.external?i("duet-icon",{icon:h.svg,size:"xx-small",margin:"none",color:"currentColor"}):i("duet-icon",{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))}));if(this.hasInfoSlot){return i(r,null,t,i("div",{class:"footer-top-right-container"},i("slot",{name:"info"}),i("div",{class:"footer-top-items"},o)))}return i(r,null,t,o)};e.prototype.render=function(){var e=this;var t=p(b);var o=this.theme==="turva"?t.turva:t.lahi;return i("footer",{class:{"duet-footer":true,"duet-m-0":this.margin==="none","duet-theme-turva":this.theme==="turva","duet-footer-simple":this.variation==="simple"},"aria-label":this.accessibleLabel},i("div",{class:"duet-footer-wrapper"},i("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),i("slot",{name:"extra"}),i("p",{class:"duet-footer-menu",part:"menu"},i("span",{class:"duet-footer-copyright"},"".concat(o," ").concat((new Date).getFullYear())),i("div",{class:"duet-footer-menu-links"},this.processedMenu&&i(r,null,this.processedMenu.map((function(t){return i("a",{href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:function(o){return e.handleMenuClick(o,t)},onMouseEnter:function(o){return e.emitDuetEvent(o,t)},onTouchStart:function(o){return e.emitDuetEvent(o,t)}},t.label,t.external&&i(r,null,i("duet-visually-hidden",null,", ",e.accessibleLabelExternal),i("div",{class:"duet-footer-external"},i("duet-icon",{icon:d.svg,size:"xx-small",margin:"none",color:"currentColor"}))),i("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))}))))),i("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},"".concat(o," ").concat((new Date).getFullYear()))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{menu:["refresh"],items:["refresh"]}},enumerable:false,configurable:true});return e}());v.style=g}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,n){function r(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,a){function i(t){try{l(n.next(t))}catch(t){a(t)}}function u(t){try{l(n["throw"](t))}catch(t){a(t)}}function l(t){t.done?o(t.value):r(t.value).then(i,u)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(e){return l([t,e])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,u[0]&&(o=0)),o)try{if(n=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:o.label++;return{value:u[1],done:false};case 5:o.label++;r=u[1];u=[0];continue;case 7:u=o.ops.pop();o.trys.pop();continue;default:if(!(a=o.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1];a=u;break}if(a&&o.label<a[2]){o.label=a[2];o.ops.push(u);break}if(a[2])o.ops.pop();o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t];r=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-51721695.system.js"],(function(t){"use strict";var e,o,n,r,a,i;return{setters:[function(t){e=t.r;o=t.h;n=t.H;r=t.g},function(t){a=t.i},function(t){i=t.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(0, 41, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:102%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:1rem 0;color:rgb(0, 41, 77);background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(245, 245, 247)}';var l=t("duet_toolbar_dropdown",function(){function t(t){var o=this;e(this,t);this.onClick=function(){o.open=!o.open};this.theme="";this.accessibleLabel=undefined;this.active=false;this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var o=t.composedPath().every((function(t){return t!==e.element}));if(o){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.handleEscape=function(t){if(i(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;var r="right";if(this.element&&this.element.parentElement){r=this.element.parentElement.getAttribute("slot")==="left"?"right":"left"}return o(n,null,o("div",{class:(t={"duet-toolbar-dropdown":true,"duet-theme-turva":this.theme==="turva"},t[r]=true,t)},o("button",{ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("div",{class:"label"},o("slot",{name:"label"}),o("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),o("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},o("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());l.style=u}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,r){function n(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,i){function a(t){try{p(r.next(t))}catch(t){i(t)}}function l(t){try{p(r["throw"](t))}catch(t){i(t)}}function p(t){t.done?o(t.value):n(t.value).then(a,l)}p((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(t){return function(e){return p([t,e])}}function p(l){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,l[0]&&(o=0)),o)try{if(r=1,n&&(i=l[0]&2?n["return"]:l[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;if(n=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:o.label++;return{value:l[1],done:false};case 5:o.label++;n=l[1];l=[0];continue;case 7:l=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(l[0]===6&&o.label<i[1]){o.label=i[1];i=l;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(l);break}if(i[2])o.ops.pop();o.trys.pop();continue}l=e.call(t,o)}catch(t){l=[6,t];n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-33b3aba4.system.js","./p-ba1d3a66.system.js"],(function(t){"use strict";var e,o,r,n,i,a,l;return{setters:[function(t){e=t.r;o=t.h;r=t.H;n=t.g;i=t.c},function(t){a=t.i},function(t){l=t.F}],execute:function(){var p='*,*::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:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.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 rgb(0, 119, 179) !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 rgb(23, 28, 58) !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"}';var s=t("duet_tooltip_button",function(){function t(t){e(this,t);this.label="";this.accessibleLabel=undefined;this.theme="";this.active=undefined;this.tooltipId=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.buttonElement){this.buttonElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;return o(r,null,o("button",{ref:function(e){return t.buttonElement=e},"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":true,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":this.theme==="turva"}},o("svg",{"aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{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",{cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{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):o("duet-visually-hidden",null,this.accessibleLabel)))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());s.style=p;var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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(0, 41, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);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(228, 228, 230);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(225, 227, 230)}.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(228, 228, 230)}.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(225, 227, 230)}.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(228, 228, 230)}.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 rgb(0, 119, 179)}: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 rgb(23, 28, 58)}.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(225, 227, 230);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(228, 228, 230)}.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(0, 41, 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 rgb(0, 119, 179)}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px rgb(23, 28, 58)}';var d=t("duet_tooltip_popup",function(){function t(t){var o=this;e(this,t);this.tooltipPopupClosed=i(this,"tooltipPopupClosed",7);this.handleCloseClick=function(){o.tooltipPopupClosed.emit()};this.theme="";this.active=undefined;this.tooltipId=undefined;this.arrowStyles=undefined;this.placement=undefined;this.accessibleCloseLabel=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.getArrowElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.arrowEl]}))}))};t.prototype.getContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.contentEl]}))}))};t.prototype.setFocusOnContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.contentEl.focus();return[2]}))}))};t.prototype.render=function(){var t,e;var n=this;return o(r,null,o("div",{class:{"duet-tooltip":true,"duet-theme-turva":this.theme==="turva","duet-tooltip-active":this.active===true}},o(l,{moveFocusTo:this.buttonEl}),o("div",{ref:function(t){return n.contentEl=t},class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},o("slot",null)),o("div",{ref:function(t){return n.arrowEl=t},class:(t={arrow:true},t[this.placement]=true,t),style:this.arrowStyles},o("div",{class:(e={"arrow-container":true},e[this.placement]=true,e)})),o("button",{type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:function(t){return n.buttonEl=t}},o("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",null,this.accessibleCloseLabel)),o(l,{moveFocusTo:this.contentEl})))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=u}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{s(o.next(e))}catch(e){i(e)}}function u(e){try{s(o["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):r(e.value).then(a,u)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(u){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(o=1,r&&(i=u[0]&2?r["return"]:u[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;if(r=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];r=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-c48d8cfe.system.js","./p-45e609b1.system.js","./p-33b3aba4.system.js","./p-51721695.system.js"],(function(e){"use strict";var t,n,o,r,i,a,u;return{setters:[function(e){t=e.r;n=e.h;o=e.H;r=e.g},function(e){i=e.a},function(e){a=e.i},function(e){u=e.f}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;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;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 77, 128)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(230, 242, 248)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(0, 41, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(0, 41, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:102%;z-index:600;min-width:320px;padding:4px 0 0;background:rgb(255, 255, 255);border-radius:0 0 4px 4px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(148, 9, 37)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';var d=e("duet_submenu_bar_dropdown",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(i.replace(/'/g,""))];this.boundMqlFunctions=[];this.checkIsDesktop=function(){if(n.mql[0].matches){n.isDesktop=true;n.iconSize="x-small"}else{n.isDesktop=false;n.iconSize="small"}};this.onClick=function(){var e=n.open;if(!n.isDesktop){var t=Array.from(n.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(var o=0,r=t;o<r.length;o++){var i=r[o];i.open=false}}if(e){n.open=false}else{n.open=true}};this.isDesktop=false;this.iconSize="small";this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n&&this.isDesktop){this.open=false}};e.prototype.componentWillLoad=function(){a(this)};e.prototype.connectedCallback=function(){this.checkIsDesktop();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.handleEscape=function(e){if(u(e)){if(this.open){this.open=false}else{var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(o,null,n("div",{class:{"duet-submenu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",open:this.open,active:this.active}},n("button",{ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),n("div",{class:"label"},n("span",{class:"label-text"},n("slot",{name:"label"})),n("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());d.style=s}}}));