@duetds/components 9.2.3 → 9.2.5

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 (686) hide show
  1. package/hydrate/index.js +167 -127
  2. package/lib/cjs/{app-globals-76b570cd.js → app-globals-b7ff47d8.js} +1 -1
  3. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-button_2.cjs.entry.js +48 -38
  10. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +17 -8
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip_3.cjs.entry.js +8 -13
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
  18. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-number-input.cjs.entry.js +12 -6
  46. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-page-heading.cjs.entry.js +15 -4
  48. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +8 -8
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  70. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  73. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -7
  77. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
  78. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  79. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  81. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  82. package/lib/cjs/duet.cjs.js +3 -3
  83. package/lib/cjs/{errorcodes.utils-ba7fae1c.js → errorcodes.utils-c6d081c3.js} +1 -1
  84. package/lib/cjs/{focus-utils-ce2b65c9.js → focus-utils-23e4ff8f.js} +1 -1
  85. package/lib/cjs/{index-340b85bb.js → index-1e60119f.js} +1 -1
  86. package/lib/cjs/{language-utils-07b9f155.js → language-utils-81d6b885.js} +1 -1
  87. package/lib/cjs/loader.cjs.js +3 -3
  88. package/lib/cjs/{slot-utils-ac35c5be.js → slot-utils-48acde5d.js} +1 -1
  89. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  90. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  91. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  92. package/lib/collection/components/duet-button/duet-button.js +70 -50
  93. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  94. package/lib/collection/components/duet-card/duet-card.js +3 -3
  95. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  96. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  97. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  98. package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -0
  99. package/lib/collection/components/duet-collapsible/duet-collapsible.js +26 -5
  100. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  101. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  102. package/lib/collection/components/duet-date-picker/duet-date-picker.js +6 -6
  103. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  104. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  105. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  106. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  107. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  108. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  109. package/lib/collection/components/duet-header/duet-header.js +15 -15
  110. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  111. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  112. package/lib/collection/components/duet-input/duet-input.js +8 -8
  113. package/lib/collection/components/duet-label/duet-label.js +2 -2
  114. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  115. package/lib/collection/components/duet-link/duet-link.css +89 -24
  116. package/lib/collection/components/duet-link/duet-link.js +15 -6
  117. package/lib/collection/components/duet-list/duet-list.js +3 -3
  118. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  119. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  120. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  121. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  122. package/lib/collection/components/duet-notification/duet-notification.css +4 -0
  123. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  124. package/lib/collection/components/duet-number-input/duet-number-input.js +13 -7
  125. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  126. package/lib/collection/components/duet-page-heading/duet-page-heading.css +14 -0
  127. package/lib/collection/components/duet-page-heading/duet-page-heading.js +51 -2
  128. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  129. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  130. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +6 -11
  131. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  132. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  133. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  134. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  135. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  136. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  137. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  138. package/lib/collection/components/duet-select/duet-select.js +5 -5
  139. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  140. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  141. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  142. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  143. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  144. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  145. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  146. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  147. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  148. package/lib/collection/components/duet-step/duet-step.js +2 -2
  149. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  150. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  151. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  152. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  153. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  154. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  155. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  156. package/lib/collection/components/duet-table/duet-table.js +2 -2
  157. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  158. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  159. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  160. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  161. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  162. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  163. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  164. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +6 -0
  165. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +24 -2
  166. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  167. package/lib/collection/components/duet-tooltip/duet-tooltip.js +23 -2
  168. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  169. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  170. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  171. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  172. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  173. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  174. package/lib/dist-custom-elements/duet-alert.js +1 -1
  175. package/lib/dist-custom-elements/duet-badge.js +1 -1
  176. package/lib/dist-custom-elements/duet-banner.js +3 -3
  177. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  178. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  179. package/lib/dist-custom-elements/duet-button.js +1 -1
  180. package/lib/dist-custom-elements/duet-callout.js +2 -2
  181. package/lib/dist-custom-elements/duet-caption.js +1 -1
  182. package/lib/dist-custom-elements/duet-card.js +3 -3
  183. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  184. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  185. package/lib/dist-custom-elements/duet-chip.js +1 -1
  186. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  187. package/lib/dist-custom-elements/duet-choice.js +4 -4
  188. package/lib/dist-custom-elements/duet-collapsible.js +7 -5
  189. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  190. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  191. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  192. package/lib/dist-custom-elements/duet-date-picker.js +15 -15
  193. package/lib/dist-custom-elements/duet-divider.js +1 -1
  194. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  195. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  196. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  197. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  198. package/lib/dist-custom-elements/duet-footer.js +7 -7
  199. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  200. package/lib/dist-custom-elements/duet-grid.js +1 -1
  201. package/lib/dist-custom-elements/duet-header.js +8 -8
  202. package/lib/dist-custom-elements/duet-heading.js +1 -1
  203. package/lib/dist-custom-elements/duet-hero.js +9 -9
  204. package/lib/dist-custom-elements/duet-icon.js +1 -1
  205. package/lib/dist-custom-elements/duet-input.js +1 -1
  206. package/lib/dist-custom-elements/duet-label.js +1 -1
  207. package/lib/dist-custom-elements/duet-layout.js +1 -1
  208. package/lib/dist-custom-elements/duet-link.js +1 -1
  209. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  210. package/lib/dist-custom-elements/duet-list.js +1 -1
  211. package/lib/dist-custom-elements/duet-logo.js +1 -1
  212. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  213. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  214. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  215. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  216. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  217. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  218. package/lib/dist-custom-elements/duet-modal.js +8 -8
  219. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  220. package/lib/dist-custom-elements/duet-nav.js +1 -1
  221. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  222. package/lib/dist-custom-elements/duet-notification.js +3 -3
  223. package/lib/dist-custom-elements/duet-number-input.js +20 -14
  224. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  225. package/lib/dist-custom-elements/duet-page-heading.js +26 -7
  226. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  227. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  228. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  229. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  230. package/lib/dist-custom-elements/duet-progress.js +1 -1
  231. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  232. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  233. package/lib/dist-custom-elements/duet-radio.js +1 -1
  234. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  235. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  236. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  237. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  238. package/lib/dist-custom-elements/duet-select.js +1 -1
  239. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  240. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  241. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  242. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  243. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  244. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  245. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  246. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  247. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  248. package/lib/dist-custom-elements/duet-step.js +4 -4
  249. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  250. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  251. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  252. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  253. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  254. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  255. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  256. package/lib/dist-custom-elements/duet-tab.js +1 -1
  257. package/lib/dist-custom-elements/duet-table.js +1 -1
  258. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  259. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  260. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  261. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  262. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  263. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  264. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  265. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  266. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  267. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  268. package/lib/dist-custom-elements/duet-tray.js +5 -5
  269. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  270. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  271. package/lib/dist-custom-elements/duet-upload.js +19 -19
  272. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  273. package/lib/dist-custom-elements/index.js +1 -1
  274. package/lib/dist-custom-elements/{p-6fba1a8d.js → p-02d4e255.js} +5 -5
  275. package/lib/dist-custom-elements/{p-1ea54c70.js → p-05efc2ad.js} +1 -1
  276. package/lib/dist-custom-elements/{p-26b7ade3.js → p-0c33376d.js} +1 -1
  277. package/lib/dist-custom-elements/{p-78a5f782.js → p-14cf0405.js} +1 -1
  278. package/lib/dist-custom-elements/{p-1cb8476a.js → p-154e23a4.js} +5 -5
  279. package/lib/dist-custom-elements/{p-8d2d00df.js → p-1fc83053.js} +1 -1
  280. package/lib/dist-custom-elements/{p-4dc547d5.js → p-25ae787d.js} +8 -6
  281. package/lib/dist-custom-elements/{p-78ce84c0.js → p-2c618331.js} +1 -1
  282. package/lib/dist-custom-elements/{p-b0182f1f.js → p-2fe0ec41.js} +1 -1
  283. package/lib/dist-custom-elements/{p-92271f30.js → p-33b25588.js} +10 -10
  284. package/lib/dist-custom-elements/{p-2b8ce441.js → p-355cf1a0.js} +1 -1
  285. package/lib/dist-custom-elements/{p-f4db5912.js → p-399b6852.js} +3 -3
  286. package/lib/dist-custom-elements/{p-a8ec8761.js → p-3a3c57fa.js} +1 -1
  287. package/lib/dist-custom-elements/{p-63d7f555.js → p-40537c50.js} +51 -45
  288. package/lib/dist-custom-elements/{p-ee7efc3d.js → p-468e836e.js} +8 -8
  289. package/lib/dist-custom-elements/{p-38184acb.js → p-4ed3e96b.js} +1 -1
  290. package/lib/dist-custom-elements/{p-dac0f309.js → p-56bf7077.js} +17 -8
  291. package/lib/dist-custom-elements/{p-02c633ce.js → p-5ac3eb9e.js} +1 -1
  292. package/lib/dist-custom-elements/{p-8e6d8a49.js → p-66068065.js} +10 -10
  293. package/lib/dist-custom-elements/{p-b5e71a67.js → p-66e2fc31.js} +1 -1
  294. package/lib/dist-custom-elements/{p-8a6272fd.js → p-7024496b.js} +2 -2
  295. package/lib/dist-custom-elements/{p-c5aac304.js → p-7392954a.js} +2 -2
  296. package/lib/dist-custom-elements/{p-0230e9f7.js → p-7afc4806.js} +6 -6
  297. package/lib/dist-custom-elements/{p-f76d6e43.js → p-7c94fabf.js} +1 -1
  298. package/lib/dist-custom-elements/{p-d824ce45.js → p-8039b3f4.js} +1 -1
  299. package/lib/dist-custom-elements/{p-52a71225.js → p-82a1767d.js} +1 -1
  300. package/lib/dist-custom-elements/{p-b0a7f776.js → p-8aa90244.js} +1 -1
  301. package/lib/dist-custom-elements/{p-5be05df5.js → p-a52ad515.js} +10 -10
  302. package/lib/dist-custom-elements/{p-40eaa1e8.js → p-a584dec5.js} +8 -5
  303. package/lib/dist-custom-elements/{p-94084f9c.js → p-b27d6385.js} +6 -11
  304. package/lib/dist-custom-elements/{p-70dc7a81.js → p-b8b6704c.js} +2 -2
  305. package/lib/dist-custom-elements/{p-fabc88b7.js → p-c6032aa6.js} +3 -3
  306. package/lib/dist-custom-elements/{p-3eae8aeb.js → p-c79e2c95.js} +1 -1
  307. package/lib/dist-custom-elements/{p-75e5bd55.js → p-cefeff34.js} +3 -3
  308. package/lib/dist-custom-elements/{p-aee0da4a.js → p-d87c57a6.js} +2 -2
  309. package/lib/dist-custom-elements/{p-9f29df11.js → p-e874eaab.js} +1 -1
  310. package/lib/dist-custom-elements/{p-b5ab185d.js → p-eaa86979.js} +2 -2
  311. package/lib/dist-custom-elements/{p-5474eeba.js → p-f4db6b2b.js} +1 -1
  312. package/lib/dist-custom-elements/{p-f0080861.js → p-fde3372c.js} +2 -2
  313. package/lib/duet/duet.esm.js +1 -1
  314. package/lib/duet/duet.js +1 -1
  315. package/lib/duet/{p-29dbe11f.system.entry.js → p-002bf3cc.system.entry.js} +2 -2
  316. package/lib/duet/{p-7456c30b.system.entry.js → p-0094ced9.system.entry.js} +2 -2
  317. package/lib/duet/{p-091a5f13.system.entry.js → p-00d6ff94.system.entry.js} +1 -1
  318. package/lib/duet/p-01866a30.entry.js +4 -0
  319. package/lib/duet/{p-9ac83cce.system.entry.js → p-021f11c6.system.entry.js} +1 -1
  320. package/lib/duet/{p-079f9e29.entry.js → p-07e37dc1.entry.js} +1 -1
  321. package/lib/duet/{p-af70b228.system.entry.js → p-0b5e025a.system.entry.js} +1 -1
  322. package/lib/duet/{p-0c9851a1.entry.js → p-10ad52f7.entry.js} +1 -1
  323. package/lib/duet/{p-e9246c27.system.entry.js → p-13b0b22a.system.entry.js} +1 -1
  324. package/lib/duet/{p-b51e2eee.system.entry.js → p-13b3ed39.system.entry.js} +1 -1
  325. package/lib/duet/{p-c1d59f6d.entry.js → p-13b65b53.entry.js} +1 -1
  326. package/lib/duet/{p-cf4ce1f7.entry.js → p-14d66f8d.entry.js} +1 -1
  327. package/lib/duet/{p-e9f172ff.entry.js → p-15695a8a.entry.js} +1 -1
  328. package/lib/duet/p-1787fcf6.entry.js +4 -0
  329. package/lib/duet/{p-b98222bd.system.entry.js → p-18335d08.system.entry.js} +1 -1
  330. package/lib/duet/{p-cd30e156.system.entry.js → p-1a04fb37.system.entry.js} +1 -1
  331. package/lib/duet/{p-ab6f31bd.js → p-1c87928d.js} +1 -1
  332. package/lib/duet/{p-30e9baf8.system.js → p-1ef8d7b8.system.js} +1 -1
  333. package/lib/duet/{p-9050c043.entry.js → p-224c8856.entry.js} +1 -1
  334. package/lib/duet/{p-ea2463be.entry.js → p-22d3f1d3.entry.js} +1 -1
  335. package/lib/duet/{p-672c2725.system.entry.js → p-23d08e5a.system.entry.js} +1 -1
  336. package/lib/duet/{p-618bf010.entry.js → p-2514de10.entry.js} +1 -1
  337. package/lib/duet/{p-4d5f2668.system.entry.js → p-25413f44.system.entry.js} +1 -1
  338. package/lib/duet/{p-626be65a.system.entry.js → p-257310a0.system.entry.js} +1 -1
  339. package/lib/duet/{p-b69bc1e1.system.entry.js → p-264a86f2.system.entry.js} +1 -1
  340. package/lib/duet/{p-91967747.entry.js → p-27f2b20a.entry.js} +1 -1
  341. package/lib/duet/{p-38b0ae95.system.entry.js → p-28177fca.system.entry.js} +1 -1
  342. package/lib/duet/{p-d84bf562.system.entry.js → p-29c02e96.system.entry.js} +2 -2
  343. package/lib/duet/{p-8e94ee62.system.entry.js → p-2a38085c.system.entry.js} +1 -1
  344. package/lib/duet/{p-c6f946fe.entry.js → p-2ad210fa.entry.js} +1 -1
  345. package/lib/duet/p-2bd88784.system.entry.js +4 -0
  346. package/lib/duet/{p-17a92a57.entry.js → p-2e1b1a11.entry.js} +1 -1
  347. package/lib/duet/{p-b79fe3aa.entry.js → p-308b5569.entry.js} +1 -1
  348. package/lib/duet/{p-454ce0a7.system.entry.js → p-351da421.system.entry.js} +1 -1
  349. package/lib/duet/{p-72d24fa8.system.entry.js → p-35b04619.system.entry.js} +1 -1
  350. package/lib/duet/{p-5ae54542.entry.js → p-35ce3a56.entry.js} +1 -1
  351. package/lib/duet/{p-ccf771f5.entry.js → p-35dc94c1.entry.js} +1 -1
  352. package/lib/duet/{p-5bd68f1e.entry.js → p-35f1b130.entry.js} +1 -1
  353. package/lib/duet/{p-6586fb03.js → p-365388f0.js} +1 -1
  354. package/lib/duet/{p-2e8c2654.system.entry.js → p-375d3aca.system.entry.js} +1 -1
  355. package/lib/duet/p-37d1aa40.entry.js +4 -0
  356. package/lib/duet/{p-f0443463.system.entry.js → p-3d74cf08.system.entry.js} +1 -1
  357. package/lib/duet/{p-821e7df8.system.entry.js → p-3df2ac28.system.entry.js} +1 -1
  358. package/lib/duet/{p-e7f2c310.js → p-3e56dd95.js} +1 -1
  359. package/lib/duet/{p-efa9f8e3.entry.js → p-41a27bcd.entry.js} +1 -1
  360. package/lib/duet/{p-63f0c13f.entry.js → p-41f0c04a.entry.js} +1 -1
  361. package/lib/duet/{p-f082acbe.system.entry.js → p-42c69580.system.entry.js} +1 -1
  362. package/lib/duet/{p-feb2f78b.entry.js → p-43ef68ba.entry.js} +1 -1
  363. package/lib/duet/{p-94283cba.system.entry.js → p-44c403ac.system.entry.js} +1 -1
  364. package/lib/duet/p-451455ca.system.entry.js +4 -0
  365. package/lib/duet/{p-d4a56ffe.system.entry.js → p-452833b3.system.entry.js} +1 -1
  366. package/lib/duet/{p-9ad418dc.entry.js → p-465862f2.entry.js} +1 -1
  367. package/lib/duet/{p-bce0fb51.system.entry.js → p-4d37b916.system.entry.js} +1 -1
  368. package/lib/duet/{p-1a05b9bb.entry.js → p-4d9f9fdb.entry.js} +1 -1
  369. package/lib/duet/{p-25c77fc5.system.js → p-51054013.system.js} +1 -1
  370. package/lib/duet/p-52252725.entry.js +4 -0
  371. package/lib/duet/{p-33b69886.system.entry.js → p-530b6cc2.system.entry.js} +1 -1
  372. package/lib/duet/{p-b2e5c45c.system.entry.js → p-56521b98.system.entry.js} +1 -1
  373. package/lib/duet/{p-e6364b25.entry.js → p-5773ee91.entry.js} +1 -1
  374. package/lib/duet/{p-f829fc48.entry.js → p-59322124.entry.js} +1 -1
  375. package/lib/duet/p-5be299a4.system.entry.js +4 -0
  376. package/lib/duet/{p-4304cb65.system.entry.js → p-5c89cfdb.system.entry.js} +1 -1
  377. package/lib/duet/{p-f3bf0f9b.system.entry.js → p-5e4ea777.system.entry.js} +1 -1
  378. package/lib/duet/{p-c5746dd0.system.js → p-5f5f29a5.system.js} +1 -1
  379. package/lib/duet/p-63b19495.entry.js +4 -0
  380. package/lib/duet/p-66aba5e8.entry.js +4 -0
  381. package/lib/duet/{p-9629f198.entry.js → p-6a864de0.entry.js} +1 -1
  382. package/lib/duet/{p-bf8b75d0.system.entry.js → p-6b5f51f7.system.entry.js} +2 -2
  383. package/lib/duet/{p-582c6653.entry.js → p-6cdc9618.entry.js} +1 -1
  384. package/lib/duet/{p-dc5c5cc4.system.js → p-6d6da8d4.system.js} +1 -1
  385. package/lib/duet/{p-973eb9ef.entry.js → p-6e29ea66.entry.js} +1 -1
  386. package/lib/duet/{p-ad8efcc9.system.entry.js → p-6feb3768.system.entry.js} +1 -1
  387. package/lib/duet/{p-f263a147.entry.js → p-73acfb63.entry.js} +1 -1
  388. package/lib/duet/{p-8158f08f.entry.js → p-76f217d8.entry.js} +1 -1
  389. package/lib/duet/{p-ff664cb1.entry.js → p-77cb106a.entry.js} +1 -1
  390. package/lib/duet/{p-a45b41a5.system.js → p-7a0fcd46.system.js} +1 -1
  391. package/lib/duet/{p-2d3f0a48.entry.js → p-7ca89aeb.entry.js} +1 -1
  392. package/lib/duet/{p-7eb1ccc1.system.js → p-7d7bb04d.system.js} +1 -1
  393. package/lib/duet/{p-53a79c8c.system.entry.js → p-7de4ac42.system.entry.js} +1 -1
  394. package/lib/duet/{p-fc406422.system.entry.js → p-7e21da73.system.entry.js} +2 -2
  395. package/lib/duet/{p-539b8b9b.system.entry.js → p-8220db21.system.entry.js} +1 -1
  396. package/lib/duet/{p-068cf24e.system.entry.js → p-83a399bf.system.entry.js} +1 -1
  397. package/lib/duet/{p-d468472d.entry.js → p-846ef8b1.entry.js} +1 -1
  398. package/lib/duet/{p-ce59f561.entry.js → p-852f0847.entry.js} +1 -1
  399. package/lib/duet/{p-25390477.entry.js → p-8583c6b9.entry.js} +1 -1
  400. package/lib/duet/{p-f6795cc3.entry.js → p-87f7c9bc.entry.js} +1 -1
  401. package/lib/duet/{p-2665d9ca.system.entry.js → p-8894e5a7.system.entry.js} +1 -1
  402. package/lib/duet/{p-ccc9e30f.system.entry.js → p-89367601.system.entry.js} +1 -1
  403. package/lib/duet/{p-9220b2f7.system.entry.js → p-8a0e329d.system.entry.js} +1 -1
  404. package/lib/duet/{p-8db4323f.system.entry.js → p-8a313958.system.entry.js} +1 -1
  405. package/lib/duet/p-8d6462de.entry.js +4 -0
  406. package/lib/duet/{p-503b1f9c.system.entry.js → p-9069a1f3.system.entry.js} +1 -1
  407. package/lib/duet/{p-f9f8cc8b.system.entry.js → p-91cb87ba.system.entry.js} +1 -1
  408. package/lib/duet/p-929c8b3d.system.js +4 -0
  409. package/lib/duet/{p-ad9a28ce.system.entry.js → p-9341c743.system.entry.js} +1 -1
  410. package/lib/duet/{p-af614927.entry.js → p-956d80fb.entry.js} +1 -1
  411. package/lib/duet/{p-64b767a1.system.entry.js → p-957a0c56.system.entry.js} +1 -1
  412. package/lib/duet/{p-b948418d.system.entry.js → p-977e2130.system.entry.js} +1 -1
  413. package/lib/duet/{p-761a7665.system.entry.js → p-987e6aa0.system.entry.js} +1 -1
  414. package/lib/duet/{p-73251b4a.system.entry.js → p-990588e1.system.entry.js} +1 -1
  415. package/lib/duet/{p-cd7e44b4.entry.js → p-9971a65e.entry.js} +1 -1
  416. package/lib/duet/p-9cb29a55.js +4 -0
  417. package/lib/duet/{p-3e580d39.system.entry.js → p-a0dc1f6d.system.entry.js} +1 -1
  418. package/lib/duet/{p-0bb7e6db.system.entry.js → p-a274696d.system.entry.js} +1 -1
  419. package/lib/duet/{p-9f887a8b.system.entry.js → p-a383d286.system.entry.js} +1 -1
  420. package/lib/duet/{p-91e74580.entry.js → p-a3bec159.entry.js} +1 -1
  421. package/lib/duet/{p-959d0b38.entry.js → p-a46066aa.entry.js} +1 -1
  422. package/lib/duet/{p-08b0bbbb.entry.js → p-a53450ca.entry.js} +1 -1
  423. package/lib/duet/{p-7aa134f8.system.entry.js → p-a76b263a.system.entry.js} +1 -1
  424. package/lib/duet/{p-558ea33c.system.entry.js → p-a958020f.system.entry.js} +1 -1
  425. package/lib/duet/{p-b3512b93.entry.js → p-a95b8264.entry.js} +1 -1
  426. package/lib/duet/{p-b89a059e.system.entry.js → p-ac9518a7.system.entry.js} +1 -1
  427. package/lib/duet/{p-4c513203.entry.js → p-b0be95a6.entry.js} +1 -1
  428. package/lib/duet/{p-df2bdfe3.system.entry.js → p-b130d257.system.entry.js} +1 -1
  429. package/lib/duet/{p-72e2c5ff.system.entry.js → p-b21e6519.system.entry.js} +1 -1
  430. package/lib/duet/{p-b4d15993.system.entry.js → p-b2326ad6.system.entry.js} +1 -1
  431. package/lib/duet/{p-ef266490.system.entry.js → p-b4567c69.system.entry.js} +1 -1
  432. package/lib/duet/{p-f0017b76.system.entry.js → p-b8b541cd.system.entry.js} +1 -1
  433. package/lib/duet/{p-8a709b0d.system.entry.js → p-b90cebca.system.entry.js} +1 -1
  434. package/lib/duet/p-ba1ab5f9.js +4 -0
  435. package/lib/duet/{p-86c7b940.entry.js → p-c2fcc299.entry.js} +1 -1
  436. package/lib/duet/{p-7c665c7b.system.entry.js → p-c3ea56be.system.entry.js} +2 -2
  437. package/lib/duet/{p-b081da29.system.entry.js → p-c5469ea2.system.entry.js} +1 -1
  438. package/lib/duet/{p-3c427358.entry.js → p-c650f822.entry.js} +1 -1
  439. package/lib/duet/{p-7a111f40.entry.js → p-c8af869d.entry.js} +1 -1
  440. package/lib/duet/{p-9ff81f9a.entry.js → p-ca56b16f.entry.js} +1 -1
  441. package/lib/duet/{p-cccc8a6c.entry.js → p-ca6732cb.entry.js} +1 -1
  442. package/lib/duet/{p-567227f2.system.entry.js → p-cad6ed3b.system.entry.js} +1 -1
  443. package/lib/duet/{p-9828d01b.entry.js → p-cb4f47d1.entry.js} +1 -1
  444. package/lib/duet/{p-bd74bd69.entry.js → p-cc12c946.entry.js} +1 -1
  445. package/lib/duet/{p-e511bbaa.entry.js → p-cd26c6c0.entry.js} +1 -1
  446. package/lib/duet/{p-b8faf306.system.entry.js → p-cd663c85.system.entry.js} +1 -1
  447. package/lib/duet/{p-c558abb2.system.entry.js → p-cdff6669.system.entry.js} +1 -1
  448. package/lib/duet/{p-a120b25b.entry.js → p-d02ea48b.entry.js} +1 -1
  449. package/lib/duet/{p-217328d7.system.entry.js → p-d1c5c251.system.entry.js} +1 -1
  450. package/lib/duet/{p-6647e622.js → p-d4db67a4.js} +1 -1
  451. package/lib/duet/{p-02380a84.entry.js → p-d566253b.entry.js} +1 -1
  452. package/lib/duet/{p-a84ae2da.entry.js → p-d630a0af.entry.js} +1 -1
  453. package/lib/duet/{p-2993a8c3.entry.js → p-d65bbecf.entry.js} +1 -1
  454. package/lib/duet/{p-2247d351.system.entry.js → p-d7b3bd9e.system.entry.js} +1 -1
  455. package/lib/duet/{p-4f198ebe.entry.js → p-d7d732e5.entry.js} +1 -1
  456. package/lib/duet/{p-5727dc58.entry.js → p-da81e72a.entry.js} +1 -1
  457. package/lib/duet/p-db444ca2.entry.js +4 -0
  458. package/lib/duet/{p-9ea6b9ea.entry.js → p-dd03e6da.entry.js} +1 -1
  459. package/lib/duet/{p-d81cefba.entry.js → p-deb4416d.entry.js} +1 -1
  460. package/lib/duet/{p-12a7249e.entry.js → p-e0a47a33.entry.js} +1 -1
  461. package/lib/duet/{p-e04146a1.entry.js → p-e19ad158.entry.js} +1 -1
  462. package/lib/duet/{p-54e46011.entry.js → p-e36ca835.entry.js} +1 -1
  463. package/lib/duet/{p-2e96eecc.entry.js → p-e4c02878.entry.js} +1 -1
  464. package/lib/duet/{p-98ea8c33.entry.js → p-e58f9bd2.entry.js} +1 -1
  465. package/lib/duet/{p-e2bafc44.entry.js → p-e5c6ee3d.entry.js} +1 -1
  466. package/lib/duet/{p-1057521d.entry.js → p-e7873f38.entry.js} +1 -1
  467. package/lib/duet/{p-f06b4e50.system.entry.js → p-e8974e61.system.entry.js} +1 -1
  468. package/lib/duet/{p-6f86fd58.system.entry.js → p-e8b4895b.system.entry.js} +1 -1
  469. package/lib/duet/{p-3f4b8a20.entry.js → p-e99b9a59.entry.js} +1 -1
  470. package/lib/duet/{p-f98d46b5.system.entry.js → p-ec97ec3f.system.entry.js} +1 -1
  471. package/lib/duet/{p-a7873d11.entry.js → p-ec9ce83a.entry.js} +1 -1
  472. package/lib/duet/p-ef06b281.entry.js +4 -0
  473. package/lib/duet/{p-f55a55e1.system.entry.js → p-ef3be375.system.entry.js} +1 -1
  474. package/lib/duet/{p-c7cbe815.system.entry.js → p-ef77b290.system.entry.js} +1 -1
  475. package/lib/duet/{p-c01383c1.entry.js → p-f03a1d74.entry.js} +1 -1
  476. package/lib/duet/p-f2789a61.entry.js +4 -0
  477. package/lib/duet/{p-8845de2e.system.entry.js → p-f2ada1c4.system.entry.js} +1 -1
  478. package/lib/duet/{p-16038e7f.system.entry.js → p-f42f420c.system.entry.js} +1 -1
  479. package/lib/duet/{p-04422a4f.entry.js → p-f5369d88.entry.js} +1 -1
  480. package/lib/duet/{p-ee4a44f2.system.entry.js → p-f55a996b.system.entry.js} +1 -1
  481. package/lib/duet/{p-d0aae845.system.entry.js → p-f8295455.system.entry.js} +1 -1
  482. package/lib/duet/{p-f805492f.entry.js → p-fad68076.entry.js} +1 -1
  483. package/lib/duet/p-fb6715c3.entry.js +4 -0
  484. package/lib/duet/{p-d6fa4e11.system.entry.js → p-fd78b4d5.system.entry.js} +1 -1
  485. package/lib/duet/{p-78c0a939.system.entry.js → p-fec136a9.system.entry.js} +2 -2
  486. package/lib/esm/{app-globals-154dbc04.js → app-globals-8a91dfa2.js} +1 -1
  487. package/lib/esm/duet-action-button.entry.js +2 -2
  488. package/lib/esm/duet-alert.entry.js +3 -3
  489. package/lib/esm/duet-badge.entry.js +1 -1
  490. package/lib/esm/duet-banner.entry.js +2 -2
  491. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  492. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  493. package/lib/esm/duet-button_2.entry.js +48 -38
  494. package/lib/esm/duet-callout.entry.js +2 -2
  495. package/lib/esm/duet-caption_4.entry.js +17 -8
  496. package/lib/esm/duet-card.entry.js +1 -1
  497. package/lib/esm/duet-checkbox.entry.js +1 -1
  498. package/lib/esm/duet-checkmark.entry.js +1 -1
  499. package/lib/esm/duet-chip_3.entry.js +8 -13
  500. package/lib/esm/duet-choice_2.entry.js +3 -3
  501. package/lib/esm/duet-collapsible.entry.js +6 -5
  502. package/lib/esm/duet-combobox.entry.js +3 -3
  503. package/lib/esm/duet-contact-card.entry.js +2 -2
  504. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  505. package/lib/esm/duet-date-picker.entry.js +6 -6
  506. package/lib/esm/duet-divider_2.entry.js +1 -1
  507. package/lib/esm/duet-editable-table_3.entry.js +5 -5
  508. package/lib/esm/duet-empty-state.entry.js +1 -1
  509. package/lib/esm/duet-fieldset.entry.js +2 -2
  510. package/lib/esm/duet-file-chooser.entry.js +1 -1
  511. package/lib/esm/duet-footer.entry.js +3 -3
  512. package/lib/esm/duet-grid_2.entry.js +1 -1
  513. package/lib/esm/duet-header_2.entry.js +2 -2
  514. package/lib/esm/duet-hero.entry.js +3 -3
  515. package/lib/esm/duet-icon.entry.js +1 -1
  516. package/lib/esm/duet-input_2.entry.js +3 -3
  517. package/lib/esm/duet-layout.entry.js +2 -2
  518. package/lib/esm/duet-list_2.entry.js +1 -1
  519. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  520. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  521. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  522. package/lib/esm/duet-menu-bar-item.entry.js +2 -2
  523. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  524. package/lib/esm/duet-menu-bar.entry.js +2 -2
  525. package/lib/esm/duet-modal.entry.js +4 -4
  526. package/lib/esm/duet-multiselect.entry.js +3 -3
  527. package/lib/esm/duet-nav.entry.js +1 -1
  528. package/lib/esm/duet-notification_2.entry.js +3 -3
  529. package/lib/esm/duet-number-input.entry.js +12 -6
  530. package/lib/esm/duet-overlay.entry.js +1 -1
  531. package/lib/esm/duet-page-heading.entry.js +15 -4
  532. package/lib/esm/duet-pagination_2.entry.js +2 -2
  533. package/lib/esm/duet-progress.entry.js +2 -2
  534. package/lib/esm/duet-promo-card.entry.js +4 -4
  535. package/lib/esm/duet-radio_2.entry.js +2 -2
  536. package/lib/esm/duet-range-slider.entry.js +1 -1
  537. package/lib/esm/duet-scrollable_3.entry.js +8 -8
  538. package/lib/esm/duet-section-layout.entry.js +4 -4
  539. package/lib/esm/duet-select.entry.js +2 -2
  540. package/lib/esm/duet-shaped-image.entry.js +3 -3
  541. package/lib/esm/duet-show-more.entry.js +2 -2
  542. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  543. package/lib/esm/duet-slideout-link.entry.js +3 -3
  544. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  545. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  546. package/lib/esm/duet-slideout.entry.js +4 -4
  547. package/lib/esm/duet-step_2.entry.js +1 -1
  548. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  549. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  550. package/lib/esm/duet-submenu-bar-item.entry.js +3 -3
  551. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  552. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  553. package/lib/esm/duet-textarea.entry.js +3 -3
  554. package/lib/esm/duet-toggle.entry.js +1 -1
  555. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  556. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  557. package/lib/esm/duet-toolbar-item.entry.js +5 -5
  558. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  559. package/lib/esm/duet-toolbar.entry.js +3 -3
  560. package/lib/esm/duet-tooltip-button_2.entry.js +9 -7
  561. package/lib/esm/duet-tooltip.entry.js +4 -3
  562. package/lib/esm/duet-tray.entry.js +4 -4
  563. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  564. package/lib/esm/duet-upload-item.entry.js +3 -3
  565. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  566. package/lib/esm/duet.js +4 -4
  567. package/lib/esm/{errorcodes.utils-55018fd0.js → errorcodes.utils-8340df32.js} +1 -1
  568. package/lib/esm/{focus-utils-29c235cb.js → focus-utils-82b4ada4.js} +1 -1
  569. package/lib/esm/{index-f5d67bb6.js → index-6a453dd4.js} +1 -1
  570. package/lib/esm/{language-utils-bd643c5c.js → language-utils-0506f7de.js} +1 -1
  571. package/lib/esm/loader.js +4 -4
  572. package/lib/esm/{slot-utils-5369c9ff.js → slot-utils-d6bf0119.js} +1 -1
  573. package/lib/esm-es5/{app-globals-154dbc04.js → app-globals-8a91dfa2.js} +1 -1
  574. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  575. package/lib/esm-es5/duet-alert.entry.js +1 -1
  576. package/lib/esm-es5/duet-badge.entry.js +1 -1
  577. package/lib/esm-es5/duet-banner.entry.js +1 -1
  578. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  579. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  580. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  581. package/lib/esm-es5/duet-callout.entry.js +1 -1
  582. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  583. package/lib/esm-es5/duet-card.entry.js +1 -1
  584. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  585. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  586. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  587. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  588. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  589. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  590. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  591. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  592. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  593. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  594. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  595. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  596. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  597. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  598. package/lib/esm-es5/duet-footer.entry.js +1 -1
  599. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  601. package/lib/esm-es5/duet-hero.entry.js +2 -2
  602. package/lib/esm-es5/duet-icon.entry.js +1 -1
  603. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  604. package/lib/esm-es5/duet-layout.entry.js +1 -1
  605. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  607. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  608. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  609. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  610. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  611. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  612. package/lib/esm-es5/duet-modal.entry.js +1 -1
  613. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  614. package/lib/esm-es5/duet-nav.entry.js +1 -1
  615. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  616. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  617. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  618. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  619. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  620. package/lib/esm-es5/duet-progress.entry.js +1 -1
  621. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  622. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  624. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  625. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  626. package/lib/esm-es5/duet-select.entry.js +1 -1
  627. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  628. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  629. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  630. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  631. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  632. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  633. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  634. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  635. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  636. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  637. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  638. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  639. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  640. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  641. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  642. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  643. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  644. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  645. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  646. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  647. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  648. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  649. package/lib/esm-es5/duet-tray.entry.js +1 -1
  650. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  651. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  652. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  653. package/lib/esm-es5/duet.js +1 -1
  654. package/lib/esm-es5/{errorcodes.utils-55018fd0.js → errorcodes.utils-8340df32.js} +1 -1
  655. package/lib/esm-es5/{focus-utils-29c235cb.js → focus-utils-82b4ada4.js} +1 -1
  656. package/lib/esm-es5/{index-f5d67bb6.js → index-6a453dd4.js} +1 -1
  657. package/lib/esm-es5/{language-utils-bd643c5c.js → language-utils-0506f7de.js} +1 -1
  658. package/lib/esm-es5/loader.js +1 -1
  659. package/lib/esm-es5/{slot-utils-5369c9ff.js → slot-utils-d6bf0119.js} +1 -1
  660. package/lib/types/common-types.d.ts +1 -1
  661. package/lib/types/components/duet-button/duet-button.d.ts +6 -1
  662. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -0
  663. package/lib/types/components/duet-link/duet-link.d.ts +1 -1
  664. package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +12 -0
  665. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +0 -1
  666. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
  667. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +4 -0
  668. package/lib/types/components.d.ts +42 -0
  669. package/package.json +4 -4
  670. package/lib/duet/p-37f9b3f3.entry.js +0 -4
  671. package/lib/duet/p-416c6bd2.entry.js +0 -4
  672. package/lib/duet/p-45085ca6.system.js +0 -4
  673. package/lib/duet/p-4b880bb3.entry.js +0 -4
  674. package/lib/duet/p-5fb91cf2.entry.js +0 -4
  675. package/lib/duet/p-742e42e3.entry.js +0 -4
  676. package/lib/duet/p-7c7c220c.entry.js +0 -4
  677. package/lib/duet/p-7e709290.entry.js +0 -4
  678. package/lib/duet/p-84ee5bc9.entry.js +0 -4
  679. package/lib/duet/p-888e855d.entry.js +0 -4
  680. package/lib/duet/p-8c628593.entry.js +0 -4
  681. package/lib/duet/p-aa908860.system.entry.js +0 -4
  682. package/lib/duet/p-b2c3d1b0.entry.js +0 -4
  683. package/lib/duet/p-bfa34b21.js +0 -4
  684. package/lib/duet/p-c249faed.system.entry.js +0 -4
  685. package/lib/duet/p-d75c8108.system.entry.js +0 -4
  686. package/lib/duet/p-fe85cfac.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c,h as t,H as i,g as o}from"./p-6586fb03.js";import{i as d}from"./p-aaa7a7bd.js";import{D as h}from"./p-beeb12f1.js";import{c as s}from"./p-5e59e970.js";import{i as r,h as a,s as u,u as n,f as l}from"./p-a1b7f2a0.js";import{g as p,a as b,c as g,d as m}from"./p-ab6f31bd.js";import{h as f,c as k}from"./p-e7f2c310.js";import"./p-9c3c64b9.js";const v=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChoiceRemove=c(this,"duetChoiceRemove",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{r(e)&&this.toggleChecked(e),a(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"}))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}),150)},this.isHovering=!1,this.isInfoOpen=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=h,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,b()),this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"},this.collapsibleNotification=p(this.collapsibleNotificationDefaults,b())}componentWillLoad(){d(this),this.hasInfo=f(this.element,"info"),this.hasHeader=f(this.element,"header"),this.hasAdditional=f(this.element,"additional"),this.hasLabel=f(this.element,"label"),this.hasBeforeText=f(this.element,"before-text"),this.duetChoiceReady.emit()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]),u(this),this.duetChoiceReady.emit()}disconnectedCallback(){m(this),n(this),this.duetChoiceRemove.emit()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}handleEscape(e){l(e)&&this.isInfoOpen&&(this.isInfoOpen=!1,this.infoButtonEl&&this.infoButtonEl.focus())}isCollapsibleAnnounceable(){if(!this.collapsible||!this.getExpanded())return!1;const e=Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`)||[]),c=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((e=>c.includes(e.tagName.toLowerCase())))}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.isCollapsibleAnnounceable()?this.expandId:`${this.choiceId}-collapsible-notification`:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.identifier||this.choiceId;return t(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:e,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:e,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button",onKeyUp:e=>this.handleEscape(e)},t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&t("span",{id:`${this.choiceId}-collapsible-notification`,hidden:!0},this.collapsibleNotification),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"0",class:"duet-choice-info-container",onKeyUp:e=>this.handleEscape(e)},t("span",null,t("slot",{name:"info"})),t("slot",null)):t("span",{id:`${this.choiceId}-collapsible-content`},t("slot",null)))):null)}get element(){return o(this)}};v.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-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;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;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:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const x=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=e=>{const c=e.target;c.closest("duet-choice-group")!==this.element||this.choices.has(c)||(this.choices.add(c),this.updateChoices())},this.onChoiceRemove=e=>{this.choices.delete(e.target),this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}async connectedCallback(){this.setInitialValue(),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this),k(this.element,"tooltip","duet-tooltip",1,!0)}setInitialValue(){void 0===this.initialValue&&(this.initialValue=this.value)}async getInitialValue(){return this.initialValue}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;for(const e of Array.from(this.choices))e.name=this.name,e.required=this.required,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(i,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("slot",{name:"tooltip"}),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{v as duet_choice,x as duet_choice_group}
4
+ import{r as e,c,h as t,H as i,g as o}from"./p-365388f0.js";import{i as d}from"./p-aaa7a7bd.js";import{D as h}from"./p-beeb12f1.js";import{c as s}from"./p-5e59e970.js";import{i as r,h as a,s as u,u as n,f as l}from"./p-a1b7f2a0.js";import{g as p,a as b,c as g,d as m}from"./p-1c87928d.js";import{h as f,c as k}from"./p-3e56dd95.js";import"./p-9c3c64b9.js";const v=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChoiceRemove=c(this,"duetChoiceRemove",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{r(e)&&this.toggleChecked(e),a(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"}))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}),150)},this.isHovering=!1,this.isInfoOpen=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=h,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,b()),this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"},this.collapsibleNotification=p(this.collapsibleNotificationDefaults,b())}componentWillLoad(){d(this),this.hasInfo=f(this.element,"info"),this.hasHeader=f(this.element,"header"),this.hasAdditional=f(this.element,"additional"),this.hasLabel=f(this.element,"label"),this.hasBeforeText=f(this.element,"before-text"),this.duetChoiceReady.emit()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]),u(this),this.duetChoiceReady.emit()}disconnectedCallback(){m(this),n(this),this.duetChoiceRemove.emit()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}handleEscape(e){l(e)&&this.isInfoOpen&&(this.isInfoOpen=!1,this.infoButtonEl&&this.infoButtonEl.focus())}isCollapsibleAnnounceable(){if(!this.collapsible||!this.getExpanded())return!1;const e=Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`)||[]),c=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((e=>c.includes(e.tagName.toLowerCase())))}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.isCollapsibleAnnounceable()?this.expandId:`${this.choiceId}-collapsible-notification`:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.identifier||this.choiceId;return t(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:e,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:e,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button",onKeyUp:e=>this.handleEscape(e)},t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&t("span",{id:`${this.choiceId}-collapsible-notification`,hidden:!0},this.collapsibleNotification),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"0",class:"duet-choice-info-container",onKeyUp:e=>this.handleEscape(e)},t("span",null,t("slot",{name:"info"})),t("slot",null)):t("span",{id:`${this.choiceId}-collapsible-content`},t("slot",null)))):null)}get element(){return o(this)}};v.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-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;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;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:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const x=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=e=>{const c=e.target;c.closest("duet-choice-group")!==this.element||this.choices.has(c)||(this.choices.add(c),this.updateChoices())},this.onChoiceRemove=e=>{this.choices.delete(e.target),this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}async connectedCallback(){this.setInitialValue(),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this),k(this.element,"tooltip","duet-tooltip",1,!0)}setInitialValue(){void 0===this.initialValue&&(this.initialValue=this.value)}async getInitialValue(){return this.initialValue}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;for(const e of Array.from(this.choices))e.name=this.name,e.required=this.required,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(i,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("slot",{name:"tooltip"}),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{v as duet_choice,x as duet_choice_group}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,r){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function n(t){try{s(r.next(t))}catch(t){o(t)}}function d(t){try{s(r["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):a(t.value).then(n,d)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,n;return n={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(t){return function(e){return s([t,e])}}function s(d){if(r)throw new TypeError("Generator is already executing.");while(n&&(n=0,d[0]&&(i=0)),i)try{if(r=1,a&&(o=d[0]&2?a["return"]:d[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,d[1])).done)return o;if(a=0,o)d=[d[0]&2,o.value];switch(d[0]){case 0:case 1:o=d;break;case 4:i.label++;return{value:d[1],done:false};case 5:i.label++;a=d[1];d=[0];continue;case 7:d=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){i=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){i.label=d[1];break}if(d[0]===6&&i.label<o[1]){i.label=o[1];o=d;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(d);break}if(o[2])i.ops.pop();i.trys.pop();continue}d=e.call(t,i)}catch(t){d=[6,t];a=0}finally{r=o=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-6d6da8d4.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js","./p-7a0fcd46.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,r,a,o,n,d,s,u,c,f;return{setters:[function(t){e=t.r;i=t.h;r=t.g},function(t){a=t.i},function(t){o=t.s;n=t.u},function(t){d=t.a;s=t.g;u=t.c;c=t.d},function(t){f=t.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%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";var h=l;var b=t("duet_notification",function(){function t(t){e(this,t);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=s(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});o(this)};t.prototype.disconnectedCallback=function(){c(this);n(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.linkElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return i("div",{key:"95f620022395e56f383b054bdd44e43eef780659",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},i("a",{key:"c2b26563af673ed607eda71ac73618a97df4182d",ref:function(e){return t.linkElement=e},href:this.url,target:this.external?"_blank":"_self"},i("div",{key:"3a4d58c959a73f4eb54b7b1f2341b6cf47b3111d",class:"duet-notification-container"},i("div",{key:"a98286e2d2c067a14faa839ab3dec3d29ff29014",class:"duet-notification-badge-container"},this.highlight&&i("div",{key:"fdd7359a0ca2bec377cc7312f1005bb351dc9f81",class:"duet-notification-badge"},i("duet-visually-hidden",{key:"4974d054afafb18ff69c464d722ee606c02a73fc"},this.accessibleLabelUnread,":"))),i("div",{key:"5ce2f9c01226ba63cb3d23f1b878d8384040e92b",class:"duet-notification-content"},i("slot",{key:"f99affc9adf412fd40861d10bccd092bfb08f2e9"})),i("div",{key:"de4db79428641035052ede5c208377823828bcab",class:"duet-notification-date"},this.date))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());b.style=h;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;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;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=g;var m=27;var w=t("duet_notification_drawer",function(){function t(t){var i=this;e(this,t);this.handleKeyDown=function(t){if(i.isOpen&&t.keyCode===m){i.close()}};this.toggleMenu=function(t){t.stopPropagation();i.isOpen?i.close():i.open()};this.updateNotificationState=function(){i.hasNotifications=i.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=s(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}t.prototype.componentWillLoad=function(){a(this);this.updateNotificationState()};t.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});o(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;n(this)};t.prototype.handleClickFocusOutside=function(t){var e=t.target;if(this.isOpen&&!this.element.contains(e)){this.close(false)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.drawerButtonEl.focus(t);return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.element.closest("duet-header");if(t){t.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpen=false;if(t){this.setFocus({preventScroll:true})}return[2]}))}))};t.prototype.render=function(){var t=this;return i("div",{key:"181a6a82f04afb895830cf36e265a4f770f05188",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},i("button",{key:"f4276d12063ff62d10998b80cd7621c3ceadc302",ref:function(e){return t.drawerButtonEl=e},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&i("div",{key:"0c1a27d913b2ba53d8f6ef2eef3f0d05c251fabc",class:"duet-drawer-icon"},i("duet-icon",{key:"c32b7ae6a90f0d32f0d6b46aad6e9ba0fb0bf952",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&i("div",{key:"e698da96829cac38cfeab0a15734f3be7a679455",class:"duet-drawer-badge"})),i("span",{key:"2725ba4970bcc2e6213f69c64d25a3dc7d9f005b",class:"duet-drawer-label"},this.label),i("div",{key:"71ae5369660c95fed7635cb7d5ae25fa5b9dde7a",class:"duet-drawer-caret"},i("duet-icon",{key:"1ac223f256804f95ff4a35f8fc115999d86fec8c",margin:"none",size:"auto",icon:f.svg,color:"currentColor"}))),i("div",{key:"aaa99d0c45b1f8218f0f999c9558f374799dc6a5",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(e){return t.drawerContentEl=e}},this.hasNotifications?i("div",{role:"list"},i("slot",null)):i("duet-empty-state",{size:"small"},i("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());w.style=p}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,F as a,g as i}from"./p-6586fb03.js";import{s}from"./p-8b3b5673.js";import{i as r}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{s as d,u as n}from"./p-a1b7f2a0.js";import{a as b,g as p,c as l,d as c}from"./p-ab6f31bd.js";import"./p-9c3c64b9.js";const h=2*parseFloat(s)*16,u=class{constructor(e){t(this,e),this.isTicking=!1,this.expandableId=o("DuetTray"),this.animationLoop=()=>{this.hiddenState=window.pageYOffset<h,this.isTicking=!1},this.toggleExpandable=t=>{t.preventDefault(),this.expanded=!this.expanded},this.expanded=!1,this.hiddenState=!1,this.language=b(),this.accessibleCloseLabelDefaults={fi:"Sulje",en:"Close",sv:"Stäng"},this.accessibleCloseLabel=p(this.accessibleCloseLabelDefaults,this.language),this.accessibleOpenLabelDefaults={fi:"Avaa",en:"Open",sv:"Öppna"},this.accessibleOpenLabel=p(this.accessibleOpenLabelDefaults,this.language),this.theme="",this.active=!1,this.autoHide=!0,this.responsive=!0}componentWillLoad(){r(this),this.hasAdditionalContent=!!this.element.querySelector("[slot='additional']")}connectedCallback(){l(this,[{prop:"accessibleOpenLabel",defaults:"accessibleOpenLabelDefaults"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"}]),d(this)}disconnectedCallback(){c(this),n(this)}getFrame(){!this.isTicking&&this.autoHide&&this.active&&(requestAnimationFrame(this.animationLoop),this.isTicking=!0)}handleBodyClick(t){this.expanded&&(this.expanded=this.element.contains(t.target))}render(){return e("div",{key:"af731c19d4212111de75c1139143fb61ead407f9",class:{"duet-tray":!0,"duet-tray-is-active":this.active,"duet-tray-is-hidden":this.hiddenState,"duet-tray-is-responsive":this.responsive,"duet-theme-turva":"turva"===this.theme,"duet-tray-is-expandable":this.hasAdditionalContent}},e("div",{key:"d30232c120431a614bfc0d09d76d4a7f05566438",class:"duet-tray-default-content",role:"status"},e("slot",{key:"7f80168e4f76c059270f5953bfd21ff246bb1c8b"})),this.hasAdditionalContent&&e(a,{key:"f9471563527b0eb48b97e9a54ab79e077c84f870"},e("button",{key:"ee0f09f493a9232167d519e2f411a4155fb78daf","aria-expanded":this.expanded?"true":"false","aria-controls":this.expandableId,onClick:t=>this.toggleExpandable(t),class:{"duet-tray-button":!0,"duet-tray-is-expanded":this.expanded}},e("duet-icon",{key:"a3e68b89194d9cabe4fb47353fb4205f144a1f2f",name:"action-arrow-down",size:"small",color:"currentColor",margin:"none"}),e("duet-visually-hidden",{key:"c2061393b18fc5b5dfb45212d4368c35539d4085"},this.expanded?this.accessibleCloseLabel:this.accessibleOpenLabel)),e("div",{key:"9071e6c8781bfc923180274f4abfd7176a910e64",id:this.expandableId,class:{"duet-tray-expandable":!0,active:this.expanded}},e("div",{key:"05da9977c8cec61537e1e5ef2764e8332d734794",class:"duet-tray-expandable-content"},e("slot",{key:"db5336ed7b03e1bbc98c56b8ebe1af91b46e308c",name:"additional"})))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);visibility:hidden;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(222, 224, 228)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(8, 42, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray-button:active{box-shadow:none;opacity:0.75}';export{u as duet_tray}
4
+ import{r as t,h as e,F as a,g as i}from"./p-365388f0.js";import{s}from"./p-8b3b5673.js";import{i as r}from"./p-aaa7a7bd.js";import{c as o}from"./p-5e59e970.js";import{s as d,u as n}from"./p-a1b7f2a0.js";import{a as p,g as b,c as l,d as c}from"./p-1c87928d.js";import"./p-9c3c64b9.js";const h=2*parseFloat(s)*16,u=class{constructor(e){t(this,e),this.isTicking=!1,this.expandableId=o("DuetTray"),this.animationLoop=()=>{this.hiddenState=window.pageYOffset<h,this.isTicking=!1},this.toggleExpandable=t=>{t.preventDefault(),this.expanded=!this.expanded},this.expanded=!1,this.hiddenState=!1,this.language=p(),this.accessibleCloseLabelDefaults={fi:"Sulje",en:"Close",sv:"Stäng"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefaults,this.language),this.accessibleOpenLabelDefaults={fi:"Avaa",en:"Open",sv:"Öppna"},this.accessibleOpenLabel=b(this.accessibleOpenLabelDefaults,this.language),this.theme="",this.active=!1,this.autoHide=!0,this.responsive=!0}componentWillLoad(){r(this),this.hasAdditionalContent=!!this.element.querySelector("[slot='additional']")}connectedCallback(){l(this,[{prop:"accessibleOpenLabel",defaults:"accessibleOpenLabelDefaults"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"}]),d(this)}disconnectedCallback(){c(this),n(this)}getFrame(){!this.isTicking&&this.autoHide&&this.active&&(requestAnimationFrame(this.animationLoop),this.isTicking=!0)}handleBodyClick(t){this.expanded&&(this.expanded=this.element.contains(t.target))}render(){return e("div",{key:"e80fe0fea16e56fab163357063b7e4872396a5ec",class:{"duet-tray":!0,"duet-tray-is-active":this.active,"duet-tray-is-hidden":this.hiddenState,"duet-tray-is-responsive":this.responsive,"duet-theme-turva":"turva"===this.theme,"duet-tray-is-expandable":this.hasAdditionalContent}},e("div",{key:"262559150a618ae013cc1585a11f5c4dfa5b81ad",class:"duet-tray-default-content",role:"status"},e("slot",{key:"2ad15f10fb23db0693d3a39d6c30f5b8f0eff769"})),this.hasAdditionalContent&&e(a,{key:"61ac87d6890bf410e73f5fddbf7e2f348ae2fb12"},e("button",{key:"7ae889dcf9db8311adffc4f88e75d9280c23752c","aria-expanded":this.expanded?"true":"false","aria-controls":this.expandableId,onClick:t=>this.toggleExpandable(t),class:{"duet-tray-button":!0,"duet-tray-is-expanded":this.expanded}},e("duet-icon",{key:"a514192731466d4e27aca7dc6b350aa3f8782616",name:"action-arrow-down",size:"small",color:"currentColor",margin:"none"}),e("duet-visually-hidden",{key:"b93df79ffc46a2e60b7568b393c5643997e9d0ae"},this.expanded?this.accessibleCloseLabel:this.accessibleOpenLabel)),e("div",{key:"d611d0e82cd9fa7fdcbbe203986f2a82bd44e02f",id:this.expandableId,class:{"duet-tray-expandable":!0,active:this.expanded}},e("div",{key:"30fe3c388378678752f99d6cb9548d7ec7c42c4d",class:"duet-tray-expandable-content"},e("slot",{key:"e25622cbef097b9ac74de3a8264a7556f4be7722",name:"additional"})))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);visibility:hidden;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(222, 224, 228)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(8, 42, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray-button:active{box-shadow:none;opacity:0.75}';export{u as duet_tray}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as n}from"./p-6586fb03.js";import{a}from"./p-f6000a03.js";import{i as r}from"./p-aaa7a7bd.js";import{f as d}from"./p-a1b7f2a0.js";const i=class{constructor(t){e(this,t),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.isDesktop=!!this.mql[0].matches},this.onClick=()=>{const e=this.open;if(!this.isDesktop){const e=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const t of e)t.open=!1}this.open=!e},this.isDesktop=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}connectedCallback(){this.checkIsDesktop();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(d(e))if(this.open)this.open=!1;else{const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"c3cf8eb945cf4d95dc90722856d85478a478c3d1",role:"listitem"},t("div",{key:"c33c4274767aa171529c12d7998be90c12c80d79",class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},t("button",{key:"0c2bca528aaf0c1f528634636e7d16007dd66e8e",ref:e=>this.button=e,"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:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"b6d67b23e9e144930f6dbd3f7cb645dcc08757bc",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"d4671d5f840303ad923d50ad7314a5ca13a95840",class:"label"},t("span",{key:"ec5e80db693fdd7b50ad9fcf3d40300858bd3036",class:"label-text"},t("slot",{key:"42be40ec38e6e46bf516d581e0cf7204d3a43ecc",name:"label"})),t("duet-icon",{key:"28fce54b06d8489c35a017371ccbcf3ff357261c",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"23ee904f9e7e8953b79be8c1903787e0ad0ed389",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"18d9b43b76fd13faa5c1e95e50253d4ba067dbbd"}))))}get element(){return n(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@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(8, 42, 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, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.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(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 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 .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.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(8, 42, 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:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);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)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.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 #171c3a}.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(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{i as duet_submenu_bar_dropdown}
4
+ import{r as e,h as t,H as o,g as n}from"./p-365388f0.js";import{a}from"./p-f6000a03.js";import{i as r}from"./p-aaa7a7bd.js";import{f as d}from"./p-a1b7f2a0.js";const i=class{constructor(t){e(this,t),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.isDesktop=!!this.mql[0].matches},this.onClick=()=>{const e=this.open;if(!this.isDesktop){const e=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const t of e)t.open=!1}this.open=!e},this.isDesktop=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}connectedCallback(){this.checkIsDesktop();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(d(e))if(this.open)this.open=!1;else{const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"82d9bb10d3b975fb643a1ff0735369158fc0267d",role:"listitem"},t("div",{key:"04220a59fb49f405a8e072c61dd7f629275844a9",class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},t("button",{key:"e3b117a883729e81e5b044b700638798005758a7",ref:e=>this.button=e,"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:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"4f6aa1cd847b01bb6149300dd095bc2d90f0f8ee",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"e4e0fe843ffb97eb94ac1940b3daabbfdebaed09",class:"label"},t("span",{key:"7527471d9064055386d235ff8a576a66b93e9246",class:"label-text"},t("slot",{key:"13887aced4d286f3a79ffd7f125f124801d436a8",name:"label"})),t("duet-icon",{key:"aa48764d6c7ee181d825621d1b565a92d0ac1a58",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"b03feb7412459e67e233d5c1dcf6f6263e574898",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"a1ad4d341602b1f922d38f24c8183be203867abb"}))))}get element(){return n(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@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(8, 42, 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, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.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(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 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 .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.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(8, 42, 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:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);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)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.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 #171c3a}.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(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{i as duet_submenu_bar_dropdown}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{u(n.next(e))}catch(e){r(e)}}function o(e){try{u(n["throw"](e))}catch(e){r(e)}}function u(e){e.done?i(e.value):a(e.value).then(s,o)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-dc5c5cc4.system.js","./p-e4c8559c.system.js","./p-49957220.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,u;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){s=e.e;o=e.d},function(e){u=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 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:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';var b=d;var c=e("duet_submenu_bar",function(){function e(e){var i=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.handleMobileView=function(){if(i.mql[0].matches){i.mobile=false;i.enableBodyScroll()}else{i.mobile=true;if(!i.bodyScroll){i.disableBodyScroll()}}};this.onClick=function(){i.open=!i.open};this.enableBodyScroll=function(){if(i.nav){s(i.nav)}if(i.itemsContainer){s(i.itemsContainer)}};this.disableBodyScroll=function(){if(i.nav){o(i.nav,{reserveScrollBarGap:true})}if(i.itemsContainer){o(i.itemsContainer,{reserveScrollBarGap:true})}};this.checkIfHasItems=function(){var e=!!i.element.querySelector("duet-submenu-bar-dropdown-link");var t=!!i.element.querySelector("duet-submenu-bar-link");var n=!!i.element.querySelector("duet-submenu-bar-item");return e||t||n};this.hidden=false;this.mobile=true;this.bodyScroll=true;this.theme="";this.hideOnScroll=false;this.open=false;this.accessibleLabel=undefined}e.prototype.watchOpenStateHandler=function(e){var t=e;if(t){this.bodyScroll=false;this.disableBodyScroll()}else{this.enableBodyScroll();this.bodyScroll=true}};e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){this.nav=document.querySelector("duet-nav > [slot='mobile']");this.hasItems=this.checkIfHasItems();this.handleMobileView();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.handleMobileView.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=[];this.enableBodyScroll()};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.checkScroll=function(){if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){this.hidden=true}}else{if(window.scrollY<150){this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.render=function(){var e=this;return i(n,{key:"1469bb18585b64778dd536fe0b0a8f727e065578"},i("nav",{key:"a399b3bd25d1674641715545c4d9ad33a997cce8",class:{"duet-submenu-bar":true,"duet-theme-turva":this.theme==="turva",hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&i("button",{key:"3226732e632347a9a90f39c7408f444841ed565d",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},i("span",{key:"7796972e15445991d3de043e8729a8ba33fff6e3",class:"label"},i("slot",{key:"31c5d6e4d7b63589b161e5a286e4c8fb17858f94",name:"label"}),i("duet-icon",{key:"e48e347ab980b919e9b405bcce57b653902b8cb5",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),i("div",{key:"bdc071c610af92ccd78d692c5cb54dd3807d4110",class:{"menu-container":true,hidden:!this.open},role:"presentation"},i("div",{key:"59b34793b7a78f7b6408ba05fe8e1e8d2cd68fcd",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:true,hidden:!this.open},ref:function(t){return e.itemsContainer=t}},i("div",{key:"0b1cb47d7dd37179e422758a9450f257383330f6",class:"list",role:this.mobile?"presentation":"list"},i("slot",{key:"2c0b696924ab664b00ee2c79cdd8c49fc2134837"}),i("div",{key:"5b6ffbcc4d64adbb050c1d195e5e98dc015a20bf",class:"list-padding"}))),i("duet-overlay",{key:"96fde4e8c50d9d655e4f336f9c88ba14e2378069","keep-stacking-context":true,visible:this.open,"display-device":"not-large",transition:"immediate"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["watchOpenStateHandler"]}},enumerable:false,configurable:true});return e}());c.style=b}}}));
4
+ */System.register(["./p-6d6da8d4.system.js","./p-e4c8559c.system.js","./p-49957220.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,u;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){s=e.e;o=e.d},function(e){u=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 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:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';var b=d;var c=e("duet_submenu_bar",function(){function e(e){var i=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.handleMobileView=function(){if(i.mql[0].matches){i.mobile=false;i.enableBodyScroll()}else{i.mobile=true;if(!i.bodyScroll){i.disableBodyScroll()}}};this.onClick=function(){i.open=!i.open};this.enableBodyScroll=function(){if(i.nav){s(i.nav)}if(i.itemsContainer){s(i.itemsContainer)}};this.disableBodyScroll=function(){if(i.nav){o(i.nav,{reserveScrollBarGap:true})}if(i.itemsContainer){o(i.itemsContainer,{reserveScrollBarGap:true})}};this.checkIfHasItems=function(){var e=!!i.element.querySelector("duet-submenu-bar-dropdown-link");var t=!!i.element.querySelector("duet-submenu-bar-link");var n=!!i.element.querySelector("duet-submenu-bar-item");return e||t||n};this.hidden=false;this.mobile=true;this.bodyScroll=true;this.theme="";this.hideOnScroll=false;this.open=false;this.accessibleLabel=undefined}e.prototype.watchOpenStateHandler=function(e){var t=e;if(t){this.bodyScroll=false;this.disableBodyScroll()}else{this.enableBodyScroll();this.bodyScroll=true}};e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){this.nav=document.querySelector("duet-nav > [slot='mobile']");this.hasItems=this.checkIfHasItems();this.handleMobileView();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.handleMobileView.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=[];this.enableBodyScroll()};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.checkScroll=function(){if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){this.hidden=true}}else{if(window.scrollY<150){this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.render=function(){var e=this;return i(n,{key:"e1887ce1a641c6c58a54f0cc22d6548b71274312"},i("nav",{key:"324f9788c4c5f0f07b6a6462e6333b9021c24b8d",class:{"duet-submenu-bar":true,"duet-theme-turva":this.theme==="turva",hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&i("button",{key:"5f4aab6f8d310a840b9428d100990a279bd88344",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},i("span",{key:"80740c4fe31825abf62d11762f8c11bcab49b3c1",class:"label"},i("slot",{key:"b59a92e6417e6c0da5dfce940b386cd026fa4f26",name:"label"}),i("duet-icon",{key:"370f031d4cd186535f3f62f5952461914364ca8a",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),i("div",{key:"a482eaf5d9705512b952c67ef7e038fcce800c5a",class:{"menu-container":true,hidden:!this.open},role:"presentation"},i("div",{key:"8e71057de372c6ec2c2c9b00a754e9dddbe5ff14",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:true,hidden:!this.open},ref:function(t){return e.itemsContainer=t}},i("div",{key:"6b216f3309c1da5a171a3fa39b31fcad805d76f4",class:"list",role:this.mobile?"presentation":"list"},i("slot",{key:"f4c31cc6c1c32d56d50a0d2e664ebf727255a025"}),i("div",{key:"0a170fb9952aefa7fa6150514497fdef9caf8cea",class:"list-padding"}))),i("duet-overlay",{key:"d513c9c698863e334c70587b7d905023d48d2f46","keep-stacking-context":true,visible:this.open,"display-device":"not-large",transition:"immediate"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["watchOpenStateHandler"]}},enumerable:false,configurable:true});return e}());c.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-dc5c5cc4.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var t,o,n,a,r,i;return{setters:[function(e){t=e.r;o=e.h;n=e.H;a=e.g},function(e){r=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-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-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';var l=d;var s=e("duet_toolbar_dropdown_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.href="#";this.icon=undefined;this.active=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-toolbar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return o(n,{key:"ca2c386337ef8052184214a47865bc93b192efea"},o("a",{key:"2601354c27b7ff3858e561585176e040d2bfce25",class:{"duet-toolbar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{key:"0f941114682ef7527bf69e9e5a42ef0d095a1b2b",name:this.icon,size:"x-small",margin:"none"}),o("span",{key:"f5eac01e244e0cf0bb48229c58076580fea8e5d6",class:"label"},o("slot",{key:"afc1ab27f5e67371e52fa2e4da46b453b24ab75c"})),this.active&&o("duet-icon",{key:"041c528108a13b672788bbc254d7d6c0ee362008",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=l}}}));
4
+ System.register(["./p-6d6da8d4.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var t,o,n,a,r,i;return{setters:[function(e){t=e.r;o=e.h;n=e.H;a=e.g},function(e){r=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-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-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';var l=d;var s=e("duet_toolbar_dropdown_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.href="#";this.icon=undefined;this.active=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-toolbar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return o(n,{key:"e3efb6b70c66d5e89b942e11630bd1f3ca09da23"},o("a",{key:"82b9283918f64f724ff10590e14e6267b4d228a5",class:{"duet-toolbar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{key:"566a78b23fde16d94550884b68c34cc0174de0dc",name:this.icon,size:"x-small",margin:"none"}),o("span",{key:"2c87685e3a77848c8571c42f5dc4f8e57f566dfd",class:"label"},o("slot",{key:"69dca8568d3358138faa101900b558daf8709b4f"})),this.active&&o("duet-icon",{key:"a646b68f9de5deba152c5c57d1f35ac9d8d65db0",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=l}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as i}from"./p-6586fb03.js";import{i as o}from"./p-aaa7a7bd.js";import{a as d,c as n,d as c}from"./p-ab6f31bd.js";import"./p-9c3c64b9.js";const s=class{constructor(a){e(this,a),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=d(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){n(this)}disconnectedCallback(){c(this)}render(){const e="turva"===this.theme?"turva":"default";return a(t,{key:"710493f629c7d9cac46f490f0dee228f7242a95c",class:{"duet-m-0":"none"===this.margin}},a("div",{key:"6ebe03954a2fa70044934971a113f2799d883a61",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"38bd574fe717f2d7b57c74cde6d5ac57f148b23c"},this.name&&a("duet-heading",{key:"72ef2682da855b8cb86c2537843b864121b1529b",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&a("duet-paragraph",{key:"b657102818b5864f82ddc9de07ff4c910024e46f",class:"description",margin:"none",theme:e},this.description),this.email&&a("div",{key:"310a665ff9dad389ea89c74bcda6b5b637513eca",class:"email"},a("duet-icon",{key:"0d15be99d190d285cead78ef5a1356ce88802e21",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"67e957450d29245d930ca9b8366cdc421c95b5a0",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&a("div",{key:"3c7f8dbef0143be61c6da4e5c5aaf50036a5a795",class:"phone"},a("duet-icon",{key:"107635e97ef8980ce1f9d91cc7c0a20132967d50",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),a("duet-link",{key:"30993d3b47125ecd85527fd664596deb5b1e6c55",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"08e0710a040f7775d7a8b2c61b5e803212b1a344",class:"call-to-action"},a("duet-button",{key:"33b3f9f83c8b98df670211fa786bc91e1daeb33f",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),a("div",{key:"6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95"}),a("slot",{key:"ddcf2048393c89dbc94c29254ee703829cdc08a2"})))}get element(){return i(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{s as duet_contact_card}
4
+ import{r as e,h as t,H as a,g as i}from"./p-365388f0.js";import{i as o}from"./p-aaa7a7bd.js";import{a as d,c as n,d as c}from"./p-1c87928d.js";import"./p-9c3c64b9.js";const s=class{constructor(t){e(this,t),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=d(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){n(this)}disconnectedCallback(){c(this)}render(){const e="turva"===this.theme?"turva":"default";return t(a,{key:"710493f629c7d9cac46f490f0dee228f7242a95c",class:{"duet-m-0":"none"===this.margin}},t("div",{key:"6ebe03954a2fa70044934971a113f2799d883a61",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?t("img",{class:"image",src:this.image,alt:this.name}):t("div",null),t("div",{key:"38bd574fe717f2d7b57c74cde6d5ac57f148b23c"},this.name&&t("duet-heading",{key:"72ef2682da855b8cb86c2537843b864121b1529b",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&t("duet-paragraph",{key:"b657102818b5864f82ddc9de07ff4c910024e46f",class:"description",margin:"none",theme:e},this.description),this.email&&t("div",{key:"310a665ff9dad389ea89c74bcda6b5b637513eca",class:"email"},t("duet-icon",{key:"0d15be99d190d285cead78ef5a1356ce88802e21",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),t("duet-link",{key:"67e957450d29245d930ca9b8366cdc421c95b5a0",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&t("div",{key:"3c7f8dbef0143be61c6da4e5c5aaf50036a5a795",class:"phone"},t("duet-icon",{key:"107635e97ef8980ce1f9d91cc7c0a20132967d50",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),t("duet-link",{key:"30993d3b47125ecd85527fd664596deb5b1e6c55",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&t("div",{key:"08e0710a040f7775d7a8b2c61b5e803212b1a344",class:"call-to-action"},t("duet-button",{key:"33b3f9f83c8b98df670211fa786bc91e1daeb33f",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),t("div",{key:"6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95"}),t("slot",{key:"ddcf2048393c89dbc94c29254ee703829cdc08a2"})))}get element(){return i(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{s as duet_contact_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as a,h as e,H as t}from"./p-6586fb03.js";import{i as r}from"./p-aaa7a7bd.js";const i=class{constructor(e){a(this,e),this.theme="",this.accessibleLabel=void 0,this.margin="auto",this.src=void 0,this.rotation=7}componentWillLoad(){r(this)}render(){return e(t,{key:"5df9410ffe66931da7f0559adbceaafd268eef43",class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("span",{key:"abcaa854db75c947ce79be2b14b0a7ad47fbb59d",class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},e("span",{key:"2891f9a50a69234a4caee374bedd5d145bc8e945",class:"shaped-image-mask",role:"presentation"},e("span",{key:"d6a4e824422d03984a69fdf34a815f569a30e636",class:"shaped-image-img",role:"presentation",style:{backgroundImage:`url("${this.src}")`}}))))}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';export{i as duet_shaped_image}
4
+ import{r as a,h as e,H as t}from"./p-365388f0.js";import{i as r}from"./p-aaa7a7bd.js";const i=class{constructor(e){a(this,e),this.theme="",this.accessibleLabel=void 0,this.margin="auto",this.src=void 0,this.rotation=7}componentWillLoad(){r(this)}render(){return e(t,{key:"cb4154853051eec78a10658344407c1653d737b3",class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("span",{key:"5cab0035d46b9e020cf7e4a18105a999646ad437",class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},e("span",{key:"8c2d2bb60ac9042377402dea4453e4ec17885aac",class:"shaped-image-mask",role:"presentation"},e("span",{key:"765b32769035c6746c0412be9fe3b70bf8c75039",class:"shaped-image-img",role:"presentation",style:{backgroundImage:`url("${this.src}")`}}))))}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';export{i as duet_shaped_image}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as n}from"./p-6586fb03.js";import{i}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const o=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){i(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}render(){return t(a,{key:"fb94eb65690b10d78ba72790a1653d129d509aab",role:"listitem"},t("a",{key:"3997d3a5848880c3c8fe0a81ff3c0ea243bf1328",class:{"duet-submenu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false"},this.icon&&t("duet-icon",{key:"56fd2d97c86ae74b00ad7661840e543e12f771c2",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("span",{key:"cacd3d410a7774d1c9919af8f2fca12a7150fb65",class:"label"},t("slot",{key:"ab7dc74da327c9eac6ed6c8a72edb1b194623949"}))))}get element(){return n(this)}};o.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;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(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-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}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::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-submenu-bar-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-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';export{o as duet_submenu_bar_link}
4
+ import{r as e,h as t,H as a,g as n}from"./p-365388f0.js";import{i}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const o=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){i(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}render(){return t(a,{key:"0a4400868d61377b3ce3df2c080a0aa42ad53a8b",role:"listitem"},t("a",{key:"005d137af08a1c049d12707de80a41968e29b6fe",class:{"duet-submenu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false"},this.icon&&t("duet-icon",{key:"3d900e1209d6e99e2361348c9fda2b0e562987b4",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("span",{key:"99b597aeb8dbe29036e8e006160c86884f5e3387",class:"label"},t("slot",{key:"8c81d3eb726c6e5fd647e351f1fdeb7eab64d109"}))))}get element(){return n(this)}};o.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;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(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-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}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::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-submenu-bar-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-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';export{o as duet_submenu_bar_link}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const t="duet",e={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.72"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=t=>o.get(t),i=(t,e)=>o.set(e.t=t,e),r=(t,e)=>e in t,c=(t,e)=>(0,console.error)(t,e),f=new Map,u=new Map,a="s-id",d="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",$="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},y=t=>Promise.resolve(t),b=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),w=!1,g=[],j=[],O=(t,e)=>n=>{t.push(n),w||(w=!0,e&&4&v.l?E(k):v.raf(k))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){c(t)}t.length=0},k=()=>{S(g),S(j),(w=g.length>0)&&v.raf(k)},E=t=>y().then(t),x=O(j,!0),C={},I=t=>"object"==(t=typeof t)||"function"===t;function M(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,e)=>{for(var l in e)n(t,l,{get:e[l],enumerable:!0})})({},{err:()=>A,map:()=>N,ok:()=>R,unwrap:()=>U,unwrapErr:()=>F});var R=t=>({isOk:!0,isErr:!1,value:t}),A=t=>({isOk:!1,isErr:!0,value:t});function N(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>R(t))):R(n)}if(t.isErr)return A(t.value);throw"should never get here"}var P,T,D,U=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof t&&!I(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),e){e.key&&(o=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const u=L(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=o,u.p=s,u},L=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,$:null,p:null}),_={},W={forEach:(t,e)=>t.map(B).forEach(e),map:(t,e)=>t.map(B).map(e).map(V)},B=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.m,vtext:t.i}),V=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},q=(t,e,n,l,o,s)=>{if(n!==l){let i=r(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=z(n),s=z(l);t["s-si"]&&s.indexOf(t["s-si"])<0&&s.push(t["s-si"]),e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=I(l);if((i||r&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS($,e):t.removeAttribute(e)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?t.setAttributeNS($,e,l):t.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):r(p,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(J);e=e.replace(K,""),n&&v.rel(t,e,n,o),l&&v.ael(t,e,l,o)}}},G=/\s/,z=t=>t?t.split(G):[],J="Capture",K=RegExp(J+"$"),Q=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||C,s=e.u||C;for(const t of X(Object.keys(o)))t in s||q(l,t,o[t],void 0,n,e.l);for(const t of X(Object.keys(s)))q(l,t,o[t],s[t],n,e.l)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,Z=!1,tt=!1,et=!1,nt=(t,e,n,l)=>{var o;const s=e.h[n];let i,r,c,f=0;if(Y||(tt=!0,"slot"===s.m&&(P&&l.classList.add(P+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=m.createTextNode(s.i);else if(1&s.l)i=s.v=m.createTextNode("");else{if(et||(et="svg"===s.m),i=s.v=m.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Y&&2&s.l?"slot-fb":s.m),et&&"foreignObject"===s.m&&(et=!1),Q(null,s,et),!!i.getRootNode().querySelector("body")&&null!=P&&i["s-si"]!==P&&i.classList.add(i["s-si"]=P),vt(i,l),s.h)for(f=0;f<s.h.length;++f)r=nt(t,s,f,i),r&&i.appendChild(r);"svg"===s.m?et=!1:"foreignObject"===i.tagName&&(et=!0)}return i["s-hn"]=D,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=T,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=t&&t.h&&t.h[n],c&&c.m===s.m&&t.v&&lt(t.v,!1)),i},lt=(t,e)=>{v.l|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const l=n[t];l["s-hn"]!==D&&l["s-ol"]&&(pt(ct(l),l,rt(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,tt=!0),e&&lt(l,e)}v.l&=-2},ot=(t,e,n,l,o,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=nt(null,n,o,t),i&&(l[o].v=i,pt(r,i,rt(e))))},st=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;$t(e),t&&(Z=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},it=(t,e,n=!1)=>!(t.m!==e.m||("slot"===t.m?"j"in t&&n&&8!==t.v.nodeType||t.p!==e.p:!n&&t.$!==e.$)),rt=t=>t&&t["s-ol"]||t,ct=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;let c;null===r?(et="svg"===i||"foreignObject"!==i&&et,("slot"!==i||Y)&&Q(t,e,et),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=l.length-1,p=l[0],m=l[$];for(;r<=a&&c<=$;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(it(d,p,o))ft(d,p,o),d=e[++r],p=l[++c];else if(it(h,m,o))ft(h,m,o),h=e[--a],m=l[--$];else if(it(d,m,o))"slot"!==d.m&&"slot"!==m.m||lt(d.v.parentNode,!1),ft(d,m,o),pt(t,d.v,h.v.nextSibling),d=e[++r],m=l[--$];else if(it(h,p,o))"slot"!==d.m&&"slot"!==m.m||lt(h.v.parentNode,!1),ft(h,p,o),pt(t,h.v,d.v),h=e[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(i=e[f],i.m!==p.m?s=nt(e&&e[c],n,f,t):(ft(i,p,o),e[f]=void 0,s=i.v),p=l[++c]):(s=nt(e&&e[c],n,c,t),p=l[++c]),s&&pt(ct(d.v),s,rt(d.v))}r>a?ot(t,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&st(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),ot(l,null,e,s,0,s.length-1)):!n&&null!==o&&st(o,0,o.length-1),et&&"svg"===i&&(et=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(l.data=r)},ut=t=>{const e=t.__childNodes||t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const l of e)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){t.hidden=!0;break}}else if(n===l["s-sn"]&&(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim())){t.hidden=!0;break}}ut(t)}},at=[],dt=t=>{let e,n,l;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(l=n.length-1;l>=0;l--)if(e=n[l],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ht(e,o)){let n=at.find((t=>t.O===e));Z=!0,e["s-sn"]=e["s-sn"]||o,n?(n.O["s-sh"]=t["s-hn"],n.S=t):(e["s-sh"]=t["s-hn"],at.push({S:t,O:e})),e["s-sr"]&&at.map((t=>{ht(t.O,e["s-sn"])&&(n=at.find((t=>t.O===e)),n&&!t.S&&(t.S=n.S))}))}else at.some((t=>t.O===e))||at.push({O:e})}1===t.nodeType&&dt(t)}},ht=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,$t=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map($t)},pt=(t,e,n)=>{const l=null==t?void 0:t.insertBefore(e,n);return vt(e,t),l},mt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...mt(t.parentElement)),e},vt=(t,e,n=!1)=>{var l;if(t&&e&&1===t.nodeType){const o=new Set(mt(e).filter(Boolean));if(o.size&&(null==(l=t.classList)||l.add(...t["s-scs"]=Array.from(o)),t["s-ol"]||n))for(const e of Array.from(t.__childNodes||t.childNodes))vt(e,t,!0)}},yt=t=>{class e extends Array{item(t){return this[t]}}let n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");n||(n=Object.getOwnPropertyDescriptor(t,"childNodes")),n&&Object.defineProperty(t,"__childNodes",n);let l=Object.getOwnPropertyDescriptor(Element.prototype,"children");l||(l=Object.getOwnPropertyDescriptor(t,"children")),l&&Object.defineProperty(t,"__children",l),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),n&&Object.defineProperty(t,"childNodes",{get(){var t,n;if(!v.l||!(null==(t=s(this))?void 0:t.l)||!(1&v.l)&&2&(null==(n=s(this))?void 0:n.l)){const t=new e,n=wt(this.__childNodes);return t.push(...n),t}return e.from(this.__childNodes)}})},bt=(t,e,n,l)=>{let o;if(t["s-ol"]&&t["s-ol"].isConnected?o=t["s-ol"]:(o=document.createTextNode(""),o["s-nr"]=t),!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,i=n?s.__prepend||s.prepend:s.__appendChild||s.appendChild;if(void 0!==l){o["s-oo"]=l;const t=[o];(s.__childNodes||s.childNodes).forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<e["s-oo"]?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),t.forEach((t=>i.call(s,t)))}else i.call(s,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},wt=t=>{const e=[];for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&l.isConnected&&e.push(l)}return e},gt=(t,e,n,l,o,s,i,r=[])=>{let c,f,u,a;const h=o["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(d),c&&(f=c.split("."),f[0]===i||"0"===f[0])){u=Ot({l:0,k:f[0],j:f[1],C:f[2],I:f[3],m:s.tagName.toLowerCase(),v:s,u:{class:s.className}}),e.push(u),s.removeAttribute(d),t.h||(t.h=[]);const o=u.v.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===u.m&&St(o,f[2],u,s,t,e,n,l,r),u.v["s-sn"]=o,u.v.removeAttribute("s-sn")),void 0!==u.I&&(t.h[u.I]=u),h&&(s["s-si"]=h),t=u,l&&"0"===u.C&&(l[u.I]=u.v)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)gt(t,e,n,l,o,s.shadowRoot.childNodes[a],i,r);const $=s.__childNodes||s.childNodes;for(a=$.length-1;a>=0;a--)gt(t,e,n,l,o,$[a],i,r)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===i||"0"===f[1])&&(c=f[0],u=Ot({k:f[1],j:f[2],C:f[3],I:f[4]||"0",v:s,u:null,h:null,$:null,p:null,m:null,i:null}),"t"===c?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,e.push(u),s.remove(),i===u.k&&(t.h||(t.h=[]),t.h[u.I]=u),l&&"0"===u.C&&(l[u.I]=u.v))):"c"===c?(u.v=s.nextSibling,u.v&&8===u.v.nodeType&&(e.push(u),s.remove())):u.k===i&&("s"===c?(u.m="slot",St(s["s-sn"]=u.p=f[5]||"",f[2],u,s,t,e,n,l,r)):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.m){const e=L(null,s.textContent);e.v=s,e.I="0",t.h=[e]}return t},jt=(t,e)=>{if(1===t.nodeType){const n=t[a]||t.getAttribute(a);n&&e.set(n,t);let l=0;if(t.shadowRoot)for(;l<t.shadowRoot.childNodes.length;l++)jt(t.shadowRoot.childNodes[l],e);const o=t.__childNodes||t.childNodes;for(l=0;l<o.length;l++)jt(o[l],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Ot=t=>({l:0,k:null,j:null,C:null,I:"0",v:null,u:null,h:null,$:null,p:null,m:null,i:null,...t});function St(t,e,n,l,o,s,i,r,c){l["s-sr"]=!0;const f=(null==o?void 0:o.v)?o.v["s-id"]||o.v.getAttribute("s-id"):"";if(r){const s=n.v=m.createElement(n.m);n.p&&n.v.setAttribute("name",t),f&&f!==n.k?o.v.insertBefore(s,o.v.children[0]):l.parentNode.insertBefore(n.v,l),kt(c,e,t,l,n.k),l.remove(),"0"===n.C&&(r[n.I]=n.v)}else{const i=n.v,r=f&&f!==n.k&&o.v.shadowRoot;kt(c,e,t,l,r?f:n.k),r&&o.v.insertBefore(i,o.v.children[0]),s.push(n)}i.push(n),o.h||(o.h=[]),o.h[n.I]=n}var kt=(t,e,n,l,o)=>{let s=l.nextSibling;for(t[e]=t[e]||[];s&&((s.getAttribute&&s.getAttribute("slot")||s["s-sn"])===n||""===n&&!s["s-sn"]&&(8===s.nodeType&&1!==s.nodeValue.indexOf(".")||3===s.nodeType));)s["s-sn"]=n,t[e].push({slot:l,node:s,hostId:o}),s=s.nextSibling},Et=(t,e)=>null==t||I(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,xt=t=>s(t).$hostElement$,Ct=(t,e,n)=>{const l=xt(t);return{emit:t=>It(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},It=(t,e,n)=>{const l=v.ce(e,n);return t.dispatchEvent(l),l},Mt=new WeakMap,Rt=(t,e)=>{var n;const l=At(e),o=u.get(l);if(t=11===t.nodeType?t:m,o)if("string"==typeof o){let s,i=Mt.get(t=t.head||t);if(i||Mt.set(t,i=new Set),!i.has(l)){if(t.host&&(s=t.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.M)?n:M(m);if(null!=l&&s.setAttribute("nonce",l),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(b){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=h),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l},At=t=>"sc-"+t.R,Nt=(t,e)=>{e&&!t.A&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.A=e)))},Pt=(t,e)=>{if(t.l|=16,!(4&t.l))return Nt(t,t.N),x((()=>Tt(t,e)));t.l|=512},Tt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.l|=256,t.P&&(t.P.map((([t,e])=>Wt(n,t,e))),t.P=void 0),l=Wt(n,"componentWillLoad")),l=Dt(l,(()=>Wt(n,"componentWillRender"))),Dt(l,(()=>Ft(t,n,e)))},Dt=(t,e)=>Ut(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.T,n=t.$hostElement$,l=e.l,o=Rt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(t);Ht(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>Lt(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Ht=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{var l,o,s,i;const r=t.$hostElement$,c=t.T,f=t.D||L(null,null),u=(t=>t&&t.m===_)(e)?e:H(null,null,e);if(D=r.tagName,c.U&&(u.u=u.u||{},c.U.map((([t,e])=>u.u[e]=r[t]))),n&&u.u)for(const t of Object.keys(u.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.u[t]=r[t]);if(u.m=null,u.l|=4,t.D=u,u.v=f.v=r.shadowRoot||r,P=r["s-sc"],Y=!!(1&c.l),T=r["s-cr"],Z=!1,ft(f,u,n),v.l|=1,tt){dt(u.v);for(const t of at){const e=t.O;if(!e["s-ol"]){const t=m.createTextNode("");t["s-nr"]=e,pt(e.parentNode,e["s-ol"]=t,e)}}for(const t of at){const e=t.O,r=t.S;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(l=e["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){for(l=l.nextSibling;l===e||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),pt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}Z&&ut(u.v),v.l&=-2,at.length=0,T=void 0})(t,e,l)}catch(e){c(e,t.$hostElement$)}return null},Lt=t=>{const e=t.$hostElement$,n=t.t,l=t.N;Wt(n,"componentDidRender"),64&t.l?Wt(n,"componentDidUpdate"):(t.l|=64,Bt(e),Wt(n,"componentDidLoad"),t.F(e),l||_t()),t.H(e),t.A&&(t.A(),t.A=void 0),512&t.l&&E((()=>Pt(t,!1))),t.l&=-517},_t=()=>{Bt(m.documentElement),E((()=>It(p,"appload",{detail:{namespace:t}})))},Wt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){c(t)}},Bt=t=>t.classList.add("hydrated"),Vt=(t,e,n,l)=>{const o=s(t);if(!o)throw Error(`Couldn't find host element for "${l.R}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=o.$hostElement$,r=o.L.get(e),f=o.l,u=o.t;if(n=Et(n,l._[e][0]),(!(8&f)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.L.set(e,n),u)){if(l.W&&128&f){const t=l.W[e];t&&t.map((t=>{try{u[t](n,r,e)}catch(t){c(t,i)}}))}2==(18&f)&&Pt(o,!1)}},qt=(t,e,n)=>{var l,o;const i=t.prototype;if(e._||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(l=e._)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&n&&32&l)if(2048&l){if(1&n&&2048&l&&(Object.defineProperty(i,t,{get(){const e=s(this),n=e?e.t:i;if(n)return n[t]},configurable:!0,enumerable:!0}),4096&l)){const n=Object.getOwnPropertyDescriptor(i,t).set;Object.defineProperty(i,t,{set(l){const o=s(this);if(n){const s=o.$hostElement$[t];return!o.L.get(t)&&s&&o.L.set(t,s),n.call(this,Et(l,e._[t][0])),void Vt(this,t,o.$hostElement$[t],e)}if(!o)return;const i=()=>{const n=o.t[t];!o.L.get(t)&&n&&o.L.set(t,n),o.t[t]=Et(l,e._[t][0]),Vt(this,t,o.t[t],e)};o.t?i():o.B.then((()=>i()))}})}}else Object.defineProperty(i,t,{get(){return((t,e)=>s(this).L.get(e))(0,t)},set(n){Vt(this,t,n,e)},configurable:!0,enumerable:!0});else 1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,o){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),i=null==n?void 0:n.l;if(i&&!(8&i)&&128&i&&o!==l){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,t)}))}return}}const f=Object.getOwnPropertyDescriptor(i,c);f.get&&!f.set||(this[c]=(null!==o||"boolean"!=typeof this[c])&&o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.W)?o:{}),...r.filter((([t,e])=>15&e[0])).map((([t,l])=>{var o;const s=l[1]||t;return n.set(s,t),512&l[0]&&(null==(o=e.U)||o.push([t,s])),s}))]))}}return t},Gt=t=>{Wt(t,"connectedCallback")},zt=t=>{if(!(1&v.l)){const e=s(t),n=e.T,l=()=>{};if(1&e.l)Yt(t,e,n.q),(null==e?void 0:e.t)?Gt(e.t):(null==e?void 0:e.B)&&e.B.then((()=>Gt(e.t)));else{let l;if(e.l|=1,l=t.getAttribute(a),l){if(1&n.l){const e=Rt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.l){const e=At(n);t["s-sc"]=e}((t,e,n,l)=>{const o=t.shadowRoot,s=[],i=[],r=o?[]:null,c=L(e,null);c.v=t,v.G||jt(m.body,v.G=new Map),t[a]=n,t.removeAttribute(a),l.D=gt(c,s,[],r,t,t,n,i);let f=0;const u=s.length;let d;for(;f<u;f++){d=s[f];const n=d.k+"."+d.j,l=v.G.get(n),i=d.v;o||(i["s-hn"]=e.toUpperCase(),"slot"===d.m&&(i["s-cr"]=t["s-cr"])),l&&l.isConnected&&(o&&""===l["s-en"]&&l.parentNode.insertBefore(i,l.nextSibling),l.parentNode.removeChild(l),o||(i["s-oo"]=parseInt(d.j))),v.G.delete(n)}const h=[];let $=0;const p=i.length;let y,b,w,g;for(;$<p;$++)if(y=i[$],y&&y.length)for(w=y.length,b=0;b<w;b++){if(g=y[b],h[g.hostId]||(h[g.hostId]=v.G.get(g.hostId)),!h[g.hostId])continue;const t=h[g.hostId];t.shadowRoot&&o||(g.slot["s-cr"]=t["s-cr"],g.slot["s-cr"]=!g.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],bt(g.node,g.slot,!1,g.node["s-oo"])),t.shadowRoot&&g.node.parentElement!==t&&t.appendChild(g.node)}if(o){let e=0;const n=r.length;for(;e<n;e++)o.appendChild(r[e]);Array.from(t.childNodes).forEach((t=>{8===t.nodeType&&"string"!=typeof t["s-sn"]&&t.parentNode.removeChild(t)}))}l.$hostElement$=t})(t,n.R,l,e)}l||12&n.l&&Jt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Nt(e,e.N=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),E((()=>(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.J){const t=(t=>{const e=t.R.replace(/-/g,"_"),n=t.J;if(!n)return;const l=f.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(f.set(n,t),t[e])),c)
4
+ const t="duet",e={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.74"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=t=>o.get(t),i=(t,e)=>o.set(e.t=t,e),r=(t,e)=>e in t,c=(t,e)=>(0,console.error)(t,e),f=new Map,u=new Map,a="s-id",d="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",$="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},y=t=>Promise.resolve(t),b=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),w=!1,g=[],j=[],O=(t,e)=>n=>{t.push(n),w||(w=!0,e&&4&v.l?E(k):v.raf(k))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){c(t)}t.length=0},k=()=>{S(g),S(j),(w=g.length>0)&&v.raf(k)},E=t=>y().then(t),x=O(j,!0),C={},I=t=>"object"==(t=typeof t)||"function"===t;function M(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,e)=>{for(var l in e)n(t,l,{get:e[l],enumerable:!0})})({},{err:()=>A,map:()=>N,ok:()=>R,unwrap:()=>U,unwrapErr:()=>F});var R=t=>({isOk:!0,isErr:!1,value:t}),A=t=>({isOk:!1,isErr:!0,value:t});function N(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>R(t))):R(n)}if(t.isErr)return A(t.value);throw"should never get here"}var P,T,D,U=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof t&&!I(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),e){e.key&&(o=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const u=L(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=o,u.p=s,u},L=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,$:null,p:null}),_={},W={forEach:(t,e)=>t.map(B).forEach(e),map:(t,e)=>t.map(B).map(e).map(V)},B=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.m,vtext:t.i}),V=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},q=(t,e,n,l,o,s)=>{if(n!==l){let i=r(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=z(n),s=z(l);t["s-si"]&&s.indexOf(t["s-si"])<0&&s.push(t["s-si"]),e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=I(l);if((i||r&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS($,e):t.removeAttribute(e)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?t.setAttributeNS($,e,l):t.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):r(p,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(J);e=e.replace(K,""),n&&v.rel(t,e,n,o),l&&v.ael(t,e,l,o)}}},G=/\s/,z=t=>t?t.split(G):[],J="Capture",K=RegExp(J+"$"),Q=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||C,s=e.u||C;for(const t of X(Object.keys(o)))t in s||q(l,t,o[t],void 0,n,e.l);for(const t of X(Object.keys(s)))q(l,t,o[t],s[t],n,e.l)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,Z=!1,tt=!1,et=!1,nt=(t,e,n,l)=>{var o;const s=e.h[n];let i,r,c,f=0;if(Y||(tt=!0,"slot"===s.m&&(P&&l.classList.add(P+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=m.createTextNode(s.i);else if(1&s.l)i=s.v=m.createTextNode("");else{if(et||(et="svg"===s.m),i=s.v=m.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Y&&2&s.l?"slot-fb":s.m),et&&"foreignObject"===s.m&&(et=!1),Q(null,s,et),!!i.getRootNode().querySelector("body")&&null!=P&&i["s-si"]!==P&&i.classList.add(i["s-si"]=P),vt(i,l),s.h)for(f=0;f<s.h.length;++f)r=nt(t,s,f,i),r&&i.appendChild(r);"svg"===s.m?et=!1:"foreignObject"===i.tagName&&(et=!0)}return i["s-hn"]=D,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=T,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=t&&t.h&&t.h[n],c&&c.m===s.m&&t.v&&lt(t.v,!1)),i},lt=(t,e)=>{v.l|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const l=n[t];l["s-hn"]!==D&&l["s-ol"]&&(pt(ct(l),l,rt(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,tt=!0),e&&lt(l,e)}v.l&=-2},ot=(t,e,n,l,o,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=nt(null,n,o,t),i&&(l[o].v=i,pt(r,i,rt(e))))},st=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;$t(e),t&&(Z=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},it=(t,e,n=!1)=>!(t.m!==e.m||("slot"===t.m?"j"in t&&n&&8!==t.v.nodeType||t.p!==e.p:!n&&t.$!==e.$)),rt=t=>t&&t["s-ol"]||t,ct=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;let c;null===r?(et="svg"===i||"foreignObject"!==i&&et,("slot"!==i||Y)&&Q(t,e,et),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=l.length-1,p=l[0],m=l[$];for(;r<=a&&c<=$;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(it(d,p,o))ft(d,p,o),d=e[++r],p=l[++c];else if(it(h,m,o))ft(h,m,o),h=e[--a],m=l[--$];else if(it(d,m,o))"slot"!==d.m&&"slot"!==m.m||lt(d.v.parentNode,!1),ft(d,m,o),pt(t,d.v,h.v.nextSibling),d=e[++r],m=l[--$];else if(it(h,p,o))"slot"!==d.m&&"slot"!==m.m||lt(h.v.parentNode,!1),ft(h,p,o),pt(t,h.v,d.v),h=e[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(i=e[f],i.m!==p.m?s=nt(e&&e[c],n,f,t):(ft(i,p,o),e[f]=void 0,s=i.v),p=l[++c]):(s=nt(e&&e[c],n,c,t),p=l[++c]),s&&pt(ct(d.v),s,rt(d.v))}r>a?ot(t,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&st(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),ot(l,null,e,s,0,s.length-1)):!n&&null!==o&&st(o,0,o.length-1),et&&"svg"===i&&(et=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(l.data=r)},ut=t=>{const e=t.__childNodes||t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const l of e)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){t.hidden=!0;break}}else if(n===l["s-sn"]&&(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim())){t.hidden=!0;break}}ut(t)}},at=[],dt=t=>{let e,n,l;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(l=n.length-1;l>=0;l--)if(e=n[l],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ht(e,o)){let n=at.find((t=>t.O===e));Z=!0,e["s-sn"]=e["s-sn"]||o,n?(n.O["s-sh"]=t["s-hn"],n.S=t):(e["s-sh"]=t["s-hn"],at.push({S:t,O:e})),e["s-sr"]&&at.map((t=>{ht(t.O,e["s-sn"])&&(n=at.find((t=>t.O===e)),n&&!t.S&&(t.S=n.S))}))}else at.some((t=>t.O===e))||at.push({O:e})}1===t.nodeType&&dt(t)}},ht=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,$t=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map($t)},pt=(t,e,n)=>{const l=null==t?void 0:t.insertBefore(e,n);return vt(e,t),l},mt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...mt(t.parentElement)),e},vt=(t,e,n=!1)=>{var l;if(t&&e&&1===t.nodeType){const o=new Set(mt(e).filter(Boolean));if(o.size&&(null==(l=t.classList)||l.add(...t["s-scs"]=Array.from(o)),t["s-ol"]||n))for(const e of Array.from(t.__childNodes||t.childNodes))vt(e,t,!0)}},yt=t=>{class e extends Array{item(t){return this[t]}}let n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");n||(n=Object.getOwnPropertyDescriptor(t,"childNodes")),n&&Object.defineProperty(t,"__childNodes",n);let l=Object.getOwnPropertyDescriptor(Element.prototype,"children");l||(l=Object.getOwnPropertyDescriptor(t,"children")),l&&Object.defineProperty(t,"__children",l),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),n&&Object.defineProperty(t,"childNodes",{get(){var t,n;if(!v.l||!(null==(t=s(this))?void 0:t.l)||!(1&v.l)&&2&(null==(n=s(this))?void 0:n.l)){const t=new e,n=wt(this.__childNodes);return t.push(...n),t}return e.from(this.__childNodes)}})},bt=(t,e,n,l)=>{let o;if(t["s-ol"]&&t["s-ol"].isConnected?o=t["s-ol"]:(o=document.createTextNode(""),o["s-nr"]=t),!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,i=n?s.__prepend||s.prepend:s.__appendChild||s.appendChild;if(void 0!==l){o["s-oo"]=l;const t=[o];(s.__childNodes||s.childNodes).forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<e["s-oo"]?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),t.forEach((t=>i.call(s,t)))}else i.call(s,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},wt=t=>{const e=[];for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&l.isConnected&&e.push(l)}return e},gt=(t,e,n,l,o,s,i,r=[])=>{let c,f,u,a;const h=o["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(d),c&&(f=c.split("."),f[0]===i||"0"===f[0])){u=Ot({l:0,k:f[0],j:f[1],C:f[2],I:f[3],m:s.tagName.toLowerCase(),v:s,u:{class:s.className}}),e.push(u),s.removeAttribute(d),t.h||(t.h=[]);const o=u.v.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===u.m&&St(o,f[2],u,s,t,e,n,l,r),u.v["s-sn"]=o,u.v.removeAttribute("s-sn")),void 0!==u.I&&(t.h[u.I]=u),h&&(s["s-si"]=h),t=u,l&&"0"===u.C&&(l[u.I]=u.v)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)gt(t,e,n,l,o,s.shadowRoot.childNodes[a],i,r);const $=s.__childNodes||s.childNodes;for(a=$.length-1;a>=0;a--)gt(t,e,n,l,o,$[a],i,r)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===i||"0"===f[1])&&(c=f[0],u=Ot({k:f[1],j:f[2],C:f[3],I:f[4]||"0",v:s,u:null,h:null,$:null,p:null,m:null,i:null}),"t"===c?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,e.push(u),s.remove(),i===u.k&&(t.h||(t.h=[]),t.h[u.I]=u),l&&"0"===u.C&&(l[u.I]=u.v))):"c"===c?(u.v=s.nextSibling,u.v&&8===u.v.nodeType&&(e.push(u),s.remove())):u.k===i&&("s"===c?(u.m="slot",St(s["s-sn"]=u.p=f[5]||"",f[2],u,s,t,e,n,l,r)):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.m){const e=L(null,s.textContent);e.v=s,e.I="0",t.h=[e]}return t},jt=(t,e)=>{if(1===t.nodeType){const n=t[a]||t.getAttribute(a);n&&e.set(n,t);let l=0;if(t.shadowRoot)for(;l<t.shadowRoot.childNodes.length;l++)jt(t.shadowRoot.childNodes[l],e);const o=t.__childNodes||t.childNodes;for(l=0;l<o.length;l++)jt(o[l],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Ot=t=>({l:0,k:null,j:null,C:null,I:"0",v:null,u:null,h:null,$:null,p:null,m:null,i:null,...t});function St(t,e,n,l,o,s,i,r,c){l["s-sr"]=!0;const f=(null==o?void 0:o.v)?o.v["s-id"]||o.v.getAttribute("s-id"):"";if(r){const s=n.v=m.createElement(n.m);n.p&&n.v.setAttribute("name",t),f&&f!==n.k?o.v.insertBefore(s,o.v.children[0]):l.parentNode.insertBefore(n.v,l),kt(c,e,t,l,n.k),l.remove(),"0"===n.C&&(r[n.I]=n.v)}else{const i=n.v,r=f&&f!==n.k&&o.v.shadowRoot;kt(c,e,t,l,r?f:n.k),r&&o.v.insertBefore(i,o.v.children[0]),s.push(n)}i.push(n),o.h||(o.h=[]),o.h[n.I]=n}var kt=(t,e,n,l,o)=>{let s=l.nextSibling;for(t[e]=t[e]||[];s&&((s.getAttribute&&s.getAttribute("slot")||s["s-sn"])===n||""===n&&!s["s-sn"]&&(8===s.nodeType&&1!==s.nodeValue.indexOf(".")||3===s.nodeType));)s["s-sn"]=n,t[e].push({slot:l,node:s,hostId:o}),s=s.nextSibling},Et=(t,e)=>null==t||I(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,xt=t=>s(t).$hostElement$,Ct=(t,e,n)=>{const l=xt(t);return{emit:t=>It(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},It=(t,e,n)=>{const l=v.ce(e,n);return t.dispatchEvent(l),l},Mt=new WeakMap,Rt=(t,e)=>{var n;const l=At(e),o=u.get(l);if(t=11===t.nodeType?t:m,o)if("string"==typeof o){let s,i=Mt.get(t=t.head||t);if(i||Mt.set(t,i=new Set),!i.has(l)){if(t.host&&(s=t.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.M)?n:M(m);if(null!=l&&s.setAttribute("nonce",l),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(b){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=h),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l},At=t=>"sc-"+t.R,Nt=(t,e)=>{e&&!t.A&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.A=e)))},Pt=(t,e)=>{if(t.l|=16,!(4&t.l))return Nt(t,t.N),x((()=>Tt(t,e)));t.l|=512},Tt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.l|=256,t.P&&(t.P.map((([t,e])=>Wt(n,t,e))),t.P=void 0),l=Wt(n,"componentWillLoad")),l=Dt(l,(()=>Wt(n,"componentWillRender"))),Dt(l,(()=>Ft(t,n,e)))},Dt=(t,e)=>Ut(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.T,n=t.$hostElement$,l=e.l,o=Rt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(t);Ht(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>Lt(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Ht=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{var l,o,s,i;const r=t.$hostElement$,c=t.T,f=t.D||L(null,null),u=(t=>t&&t.m===_)(e)?e:H(null,null,e);if(D=r.tagName,c.U&&(u.u=u.u||{},c.U.map((([t,e])=>u.u[e]=r[t]))),n&&u.u)for(const t of Object.keys(u.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.u[t]=r[t]);if(u.m=null,u.l|=4,t.D=u,u.v=f.v=r.shadowRoot||r,P=r["s-sc"],Y=!!(1&c.l),T=r["s-cr"],Z=!1,ft(f,u,n),v.l|=1,tt){dt(u.v);for(const t of at){const e=t.O;if(!e["s-ol"]){const t=m.createTextNode("");t["s-nr"]=e,pt(e.parentNode,e["s-ol"]=t,e)}}for(const t of at){const e=t.O,r=t.S;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(l=e["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){for(l=l.nextSibling;l===e||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),pt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}Z&&ut(u.v),v.l&=-2,at.length=0,T=void 0})(t,e,l)}catch(e){c(e,t.$hostElement$)}return null},Lt=t=>{const e=t.$hostElement$,n=t.t,l=t.N;Wt(n,"componentDidRender"),64&t.l?Wt(n,"componentDidUpdate"):(t.l|=64,Bt(e),Wt(n,"componentDidLoad"),t.F(e),l||_t()),t.H(e),t.A&&(t.A(),t.A=void 0),512&t.l&&E((()=>Pt(t,!1))),t.l&=-517},_t=()=>{Bt(m.documentElement),E((()=>It(p,"appload",{detail:{namespace:t}})))},Wt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){c(t)}},Bt=t=>t.classList.add("hydrated"),Vt=(t,e,n,l)=>{const o=s(t);if(!o)throw Error(`Couldn't find host element for "${l.R}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=o.$hostElement$,r=o.L.get(e),f=o.l,u=o.t;if(n=Et(n,l._[e][0]),(!(8&f)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.L.set(e,n),u)){if(l.W&&128&f){const t=l.W[e];t&&t.map((t=>{try{u[t](n,r,e)}catch(t){c(t,i)}}))}2==(18&f)&&Pt(o,!1)}},qt=(t,e,n)=>{var l,o;const i=t.prototype;if(e._||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(l=e._)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&n&&32&l)if(2048&l){if(1&n&&2048&l&&(Object.defineProperty(i,t,{get(){const e=s(this),n=e?e.t:i;if(n)return n[t]},configurable:!0,enumerable:!0}),4096&l)){const n=Object.getOwnPropertyDescriptor(i,t).set;Object.defineProperty(i,t,{set(l){const o=s(this);if(n){const s=o.$hostElement$[t];return!o.L.get(t)&&s&&o.L.set(t,s),n.call(this,Et(l,e._[t][0])),void Vt(this,t,o.$hostElement$[t],e)}if(!o)return;const i=()=>{const n=o.t[t];!o.L.get(t)&&n&&o.L.set(t,n),o.t[t]=Et(l,e._[t][0]),Vt(this,t,o.t[t],e)};o.t?i():o.B.then((()=>i()))}})}}else Object.defineProperty(i,t,{get(){return((t,e)=>s(this).L.get(e))(0,t)},set(n){Vt(this,t,n,e)},configurable:!0,enumerable:!0});else 1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,o){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),i=null==n?void 0:n.l;if(i&&!(8&i)&&128&i&&o!==l){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,t)}))}return}}const f=Object.getOwnPropertyDescriptor(i,c);f.get&&!f.set||(this[c]=(null!==o||"boolean"!=typeof this[c])&&o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.W)?o:{}),...r.filter((([t,e])=>15&e[0])).map((([t,l])=>{var o;const s=l[1]||t;return n.set(s,t),512&l[0]&&(null==(o=e.U)||o.push([t,s])),s}))]))}}return t},Gt=t=>{Wt(t,"connectedCallback")},zt=t=>{if(!(1&v.l)){const e=s(t),n=e.T,l=()=>{};if(1&e.l)Yt(t,e,n.q),(null==e?void 0:e.t)?Gt(e.t):(null==e?void 0:e.B)&&e.B.then((()=>Gt(e.t)));else{let l;if(e.l|=1,l=t.getAttribute(a),l){if(1&n.l){const e=Rt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.l){const e=At(n);t["s-sc"]=e}((t,e,n,l)=>{const o=t.shadowRoot,s=[],i=[],r=o?[]:null,c=L(e,null);c.v=t,v.G||jt(m.body,v.G=new Map),t[a]=n,t.removeAttribute(a),l.D=gt(c,s,[],r,t,t,n,i);let f=0;const u=s.length;let d;for(;f<u;f++){d=s[f];const n=d.k+"."+d.j,l=v.G.get(n),i=d.v;o||(i["s-hn"]=e.toUpperCase(),"slot"===d.m&&(i["s-cr"]=t["s-cr"])),l&&l.isConnected&&(o&&""===l["s-en"]&&l.parentNode.insertBefore(i,l.nextSibling),l.parentNode.removeChild(l),o||(i["s-oo"]=parseInt(d.j))),v.G.delete(n)}const h=[];let $=0;const p=i.length;let y,b,w,g;for(;$<p;$++)if(y=i[$],y&&y.length)for(w=y.length,b=0;b<w;b++){if(g=y[b],h[g.hostId]||(h[g.hostId]=v.G.get(g.hostId)),!h[g.hostId])continue;const t=h[g.hostId];t.shadowRoot&&o||(g.slot["s-cr"]=t["s-cr"],g.slot["s-cr"]=!g.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],bt(g.node,g.slot,!1,g.node["s-oo"])),t.shadowRoot&&g.node.parentElement!==t&&t.appendChild(g.node)}if(o){let e=0;const n=r.length;for(;e<n;e++)o.appendChild(r[e]);Array.from(t.childNodes).forEach((t=>{8===t.nodeType&&"string"!=typeof t["s-sn"]&&t.parentNode.removeChild(t)}))}l.$hostElement$=t})(t,n.R,l,e)}l||12&n.l&&Jt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Nt(e,e.N=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),E((()=>(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.J){const t=(t=>{const e=t.R.replace(/-/g,"_"),n=t.J;if(!n)return;const l=f.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(f.set(n,t),t[e])),c)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};l=await t,e()}else l=t;if(!l)throw Error(`Constructor for "${n.R}#${e.K}" was not found`);l.isProxied||(n.W=l.watchers,qt(l,n,2),l.isProxied=!0);const o=()=>{};e.l|=8;try{new l(e)}catch(t){c(t)}e.l&=-9,e.l|=128,o(),Gt(e.t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=At(n);if(!u.has(e)){const l=()=>{};((t,e,n)=>{let l=u.get(t);b&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,u.set(t,l)})(e,t,!!(1&n.l)),l()}}}const o=e.N,s=()=>Pt(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(t,e,n)))}l()}},Jt=t=>{const e=t["s-cr"]=m.createComment("");e["s-cn"]=!0,pt(t,e,t.firstChild)},Kt=t=>{Wt(t,"disconnectedCallback")},Qt=(t,e={})=>{var n;const l=[],i=e.exclude||[],r=p.customElements,c=m.head,f=c.querySelector("meta[charset]"),u=m.createElement("style"),a=[];let d,$=!0;Object.assign(v,e),v.o=new URL(e.resourcesUrl||"./",m.baseURI).href,v.l|=2;let y=!1;if(t.map((t=>{t[1].map((e=>{var n;const c={l:e[0],R:e[1],_:e[2],q:e[3]};4&c.l&&(y=!0),c._=e[2],c.q=e[3],c.U=[],c.W=null!=(n=e[4])?n:{};const f=c.R,u=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={l:0,$hostElement$:t,T:e,L:new Map};n.V=new Promise((t=>n.H=t)),n.B=new Promise((t=>n.F=t)),t["s-p"]=[],t["s-rc"]=[],o.set(t,n)})(t=this,c),1&c.l)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.R}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const t=s(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Yt(this,t,c.q)),d&&(clearTimeout(d),d=null),$?a.push(this):v.jmp((()=>zt(this)))}disconnectedCallback(){v.jmp((()=>(async()=>{if(!(1&v.l)){const t=s(this);t.X&&(t.X.map((t=>t())),t.X=void 0),(null==t?void 0:t.t)?Kt(t.t):(null==t?void 0:t.B)&&t.B.then((()=>Kt(t.t)))}})()))}componentOnReady(){return s(this).B}};yt(u.prototype),c.J=t[0],i.includes(f)||r.get(f)||(l.push(f),r.define(f,qt(u,c,1)))}))})),l.length>0&&(y&&(u.textContent+=h),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(n=v.M)?n:M(m);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,f?f.nextSibling:c.firstChild)}$=!1,a.length?a.map((t=>t.connectedCallback())):v.jmp((()=>d=setTimeout(_t,30)))},Xt=(t,e)=>e,Yt=(t,e,n)=>{n&&n.map((([n,l,o])=>{const s=te(t,n),i=Zt(e,o),r=ee(n);v.ael(s,l,i,r),(e.X=e.X||[]).push((()=>v.rel(s,l,i,r)))}))},Zt=(t,e)=>n=>{var l;try{256&t.l?null==(l=t.t)||l[e](n):(t.P=t.P||[]).push([e,n])}catch(t){c(t)}},te=(t,e)=>4&e?m:8&e?p:16&e?m.body:t,ee=t=>({passive:!!(1&t),capture:!!(2&t)}),ne=t=>v.M=t;export{l as B,e as E,Xt as F,_ as H,t as N,Qt as b,Ct as c,m as d,xt as g,H as h,y as p,i as r,ne as s}