@duetds/components 7.0.4 → 7.0.6

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 (539) hide show
  1. package/hydrate/index.js +39 -10
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +12 -2
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +28 -9
  66. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +1 -1
  79. package/lib/cjs/{focus-utils-667a4f83.js → focus-utils-37040bc8.js} +1 -1
  80. package/lib/cjs/{index-319e30bb.js → index-50db49f8.js} +1 -1
  81. package/lib/cjs/loader.cjs.js +1 -1
  82. package/lib/collection/components/duet-hero/duet-hero.css +62 -3
  83. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +27 -8
  84. package/lib/collection/components/duet-tab-group/duet-tab-group.js +11 -1
  85. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  86. package/lib/dist-custom-elements/duet-alert.js +1 -1
  87. package/lib/dist-custom-elements/duet-badge.js +1 -1
  88. package/lib/dist-custom-elements/duet-banner.js +4 -4
  89. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  90. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  91. package/lib/dist-custom-elements/duet-button.js +1 -1
  92. package/lib/dist-custom-elements/duet-callout.js +3 -3
  93. package/lib/dist-custom-elements/duet-caption.js +1 -1
  94. package/lib/dist-custom-elements/duet-card.js +3 -3
  95. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  96. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  97. package/lib/dist-custom-elements/duet-chip.js +2 -2
  98. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  99. package/lib/dist-custom-elements/duet-choice.js +5 -5
  100. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  101. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  102. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  103. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  104. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  105. package/lib/dist-custom-elements/duet-divider.js +1 -1
  106. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  107. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  108. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  109. package/lib/dist-custom-elements/duet-footer.js +4 -4
  110. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  111. package/lib/dist-custom-elements/duet-grid.js +1 -1
  112. package/lib/dist-custom-elements/duet-header.js +8 -8
  113. package/lib/dist-custom-elements/duet-heading.js +1 -1
  114. package/lib/dist-custom-elements/duet-hero.js +10 -10
  115. package/lib/dist-custom-elements/duet-icon.js +1 -1
  116. package/lib/dist-custom-elements/duet-input.js +1 -1
  117. package/lib/dist-custom-elements/duet-label.js +1 -1
  118. package/lib/dist-custom-elements/duet-layout.js +1 -1
  119. package/lib/dist-custom-elements/duet-link.js +1 -1
  120. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  121. package/lib/dist-custom-elements/duet-list.js +1 -1
  122. package/lib/dist-custom-elements/duet-logo.js +1 -1
  123. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  124. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  125. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  126. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  127. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  128. package/lib/dist-custom-elements/duet-modal.js +7 -7
  129. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  130. package/lib/dist-custom-elements/duet-nav.js +1 -1
  131. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  132. package/lib/dist-custom-elements/duet-notification.js +2 -2
  133. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  134. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  135. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  136. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  137. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  138. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  139. package/lib/dist-custom-elements/duet-progress.js +1 -1
  140. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  141. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  142. package/lib/dist-custom-elements/duet-radio.js +1 -1
  143. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  144. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  145. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  146. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  147. package/lib/dist-custom-elements/duet-select.js +1 -1
  148. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  149. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  150. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  151. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  152. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  153. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  154. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  155. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  156. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  157. package/lib/dist-custom-elements/duet-step.js +4 -4
  158. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  159. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  160. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  161. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  162. package/lib/dist-custom-elements/duet-submenu-bar.js +29 -10
  163. package/lib/dist-custom-elements/duet-tab-group.js +24 -14
  164. package/lib/dist-custom-elements/duet-tab.js +1 -1
  165. package/lib/dist-custom-elements/duet-table.js +1 -1
  166. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  167. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  168. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  169. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  170. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  171. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  172. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  173. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  174. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  175. package/lib/dist-custom-elements/duet-tray.js +3 -3
  176. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  177. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  178. package/lib/dist-custom-elements/duet-upload.js +18 -18
  179. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  180. package/lib/dist-custom-elements/index.js +1 -1
  181. package/lib/dist-custom-elements/{p-cfb28a0c.js → p-0081d1e7.js} +5 -5
  182. package/lib/dist-custom-elements/{p-42c5573b.js → p-009b115c.js} +1 -1
  183. package/lib/dist-custom-elements/{p-0a5bc76d.js → p-02d1f93f.js} +1 -1
  184. package/lib/dist-custom-elements/{p-3bae0600.js → p-0f754f03.js} +1 -1
  185. package/lib/dist-custom-elements/{p-805ba7b9.js → p-1257fcf9.js} +1 -1
  186. package/lib/dist-custom-elements/{p-5c3bcf22.js → p-173ba422.js} +3 -3
  187. package/lib/dist-custom-elements/{p-2f34816f.js → p-17dd1305.js} +1 -1
  188. package/lib/dist-custom-elements/{p-963c4150.js → p-316e2c58.js} +1 -1
  189. package/lib/dist-custom-elements/{p-9284aee2.js → p-406ca621.js} +4 -4
  190. package/lib/dist-custom-elements/{p-b267cbea.js → p-42d4a776.js} +1 -1
  191. package/lib/dist-custom-elements/{p-b2fb181b.js → p-4f892d43.js} +10 -10
  192. package/lib/dist-custom-elements/{p-57a42162.js → p-549b24ed.js} +1 -1
  193. package/lib/dist-custom-elements/{p-9c5d63ad.js → p-598ea604.js} +1 -1
  194. package/lib/dist-custom-elements/{p-a058928f.js → p-6f187144.js} +1 -1
  195. package/lib/dist-custom-elements/{p-8bd6e1bc.js → p-6f4566b8.js} +1 -1
  196. package/lib/dist-custom-elements/{p-dff1e67c.js → p-74b2a6fb.js} +3 -3
  197. package/lib/dist-custom-elements/{p-97227973.js → p-755cbca5.js} +3 -3
  198. package/lib/dist-custom-elements/{p-3f6149bf.js → p-759e8c07.js} +1 -1
  199. package/lib/dist-custom-elements/{p-b80858dd.js → p-7766f2c5.js} +1 -1
  200. package/lib/dist-custom-elements/{p-bb04fe7f.js → p-843e210d.js} +1 -1
  201. package/lib/dist-custom-elements/{p-288a3be1.js → p-8660b689.js} +1 -1
  202. package/lib/dist-custom-elements/{p-0c12cea9.js → p-8ce320f7.js} +1 -1
  203. package/lib/dist-custom-elements/{p-3af7a8f7.js → p-8cfc8429.js} +8 -8
  204. package/lib/dist-custom-elements/{p-1aff20dc.js → p-949832f3.js} +2 -2
  205. package/lib/dist-custom-elements/{p-57e02127.js → p-a457472b.js} +2 -2
  206. package/lib/dist-custom-elements/{p-77f70890.js → p-ad5b9bde.js} +2 -2
  207. package/lib/dist-custom-elements/{p-966b5d62.js → p-b470fc7d.js} +5 -5
  208. package/lib/dist-custom-elements/{p-e8712b99.js → p-c6075596.js} +1 -1
  209. package/lib/dist-custom-elements/{p-71d31bcd.js → p-d4b6f403.js} +1 -1
  210. package/lib/dist-custom-elements/{p-3c204dbe.js → p-d544be51.js} +2 -2
  211. package/lib/dist-custom-elements/{p-78123037.js → p-d95868b7.js} +10 -10
  212. package/lib/dist-custom-elements/{p-7b123b3e.js → p-e1017ec0.js} +5 -5
  213. package/lib/dist-custom-elements/{p-175941db.js → p-e38a8075.js} +2 -2
  214. package/lib/dist-custom-elements/{p-2007bad3.js → p-eb57d3d0.js} +1 -1
  215. package/lib/duet/duet.esm.js +1 -1
  216. package/lib/duet/duet.js +1 -1
  217. package/lib/duet/{p-57c6e5ee.system.entry.js → p-01d72670.system.entry.js} +1 -1
  218. package/lib/duet/{p-346e8e6c.entry.js → p-02361aea.entry.js} +1 -1
  219. package/lib/duet/{p-d1dded0d.entry.js → p-02382b7c.entry.js} +1 -1
  220. package/lib/duet/p-0259f08c.entry.js +4 -0
  221. package/lib/duet/{p-17bdab0e.entry.js → p-05b9b3cb.entry.js} +1 -1
  222. package/lib/duet/{p-c72d03aa.entry.js → p-06fa0fe7.entry.js} +1 -1
  223. package/lib/duet/{p-327ade54.system.entry.js → p-0774ea0a.system.entry.js} +1 -1
  224. package/lib/duet/{p-17b1d9eb.entry.js → p-080187a3.entry.js} +1 -1
  225. package/lib/duet/{p-40123642.entry.js → p-089ac63b.entry.js} +1 -1
  226. package/lib/duet/{p-802b8355.entry.js → p-0b8a1912.entry.js} +1 -1
  227. package/lib/duet/{p-675ade8b.entry.js → p-0f1728e6.entry.js} +1 -1
  228. package/lib/duet/{p-af5fe245.system.entry.js → p-11e6fa23.system.entry.js} +1 -1
  229. package/lib/duet/{p-dcd5c72b.entry.js → p-14f4bbdf.entry.js} +1 -1
  230. package/lib/duet/{p-9a401f2c.system.entry.js → p-1a1ea308.system.entry.js} +1 -1
  231. package/lib/duet/{p-8793bb34.entry.js → p-1a3b2e38.entry.js} +1 -1
  232. package/lib/duet/{p-2ca652ba.system.entry.js → p-1a629c55.system.entry.js} +1 -1
  233. package/lib/duet/{p-123a88d7.entry.js → p-1c7587df.entry.js} +1 -1
  234. package/lib/duet/{p-f9fc8bd8.system.entry.js → p-1d6b8599.system.entry.js} +1 -1
  235. package/lib/duet/{p-e8315560.entry.js → p-1d99803e.entry.js} +1 -1
  236. package/lib/duet/{p-eb6b1675.entry.js → p-2064f7fd.entry.js} +1 -1
  237. package/lib/duet/{p-141c3785.entry.js → p-24f9768d.entry.js} +1 -1
  238. package/lib/duet/{p-a0d6fad9.system.entry.js → p-25bee75b.system.entry.js} +1 -1
  239. package/lib/duet/{p-8a42beda.entry.js → p-260170b2.entry.js} +1 -1
  240. package/lib/duet/{p-3cfb3848.system.entry.js → p-2ac2dbfc.system.entry.js} +1 -1
  241. package/lib/duet/{p-f3832666.system.entry.js → p-2b5fe2a2.system.entry.js} +1 -1
  242. package/lib/duet/{p-ef58820c.system.entry.js → p-2c3ad235.system.entry.js} +1 -1
  243. package/lib/duet/{p-03adf8c5.system.entry.js → p-2c7500c1.system.entry.js} +1 -1
  244. package/lib/duet/{p-5d391571.system.entry.js → p-2e8259f0.system.entry.js} +1 -1
  245. package/lib/duet/{p-82566733.system.entry.js → p-3035ba41.system.entry.js} +1 -1
  246. package/lib/duet/{p-91748013.entry.js → p-338c5077.entry.js} +1 -1
  247. package/lib/duet/{p-e3df0b45.system.entry.js → p-390cf828.system.entry.js} +1 -1
  248. package/lib/duet/{p-deb27a44.system.entry.js → p-39b9e2fd.system.entry.js} +1 -1
  249. package/lib/duet/{p-5923daf6.entry.js → p-3ad099c8.entry.js} +1 -1
  250. package/lib/duet/{p-7b932d97.system.entry.js → p-3b1a2a7c.system.entry.js} +2 -2
  251. package/lib/duet/{p-53e6d1bd.system.entry.js → p-3d227dea.system.entry.js} +1 -1
  252. package/lib/duet/{p-3bcf0e0c.entry.js → p-3d412ec4.entry.js} +1 -1
  253. package/lib/duet/{p-73a10c0b.system.entry.js → p-3db95205.system.entry.js} +1 -1
  254. package/lib/duet/{p-61b928b9.entry.js → p-3ea1aeb6.entry.js} +1 -1
  255. package/lib/duet/{p-01c7ea4c.entry.js → p-405905bc.entry.js} +1 -1
  256. package/lib/duet/{p-9c8b9927.entry.js → p-421b7589.entry.js} +1 -1
  257. package/lib/duet/{p-ba6b526a.system.entry.js → p-441bb0f7.system.entry.js} +1 -1
  258. package/lib/duet/{p-75c3f4c0.system.entry.js → p-4456c79c.system.entry.js} +1 -1
  259. package/lib/duet/{p-1707d400.system.entry.js → p-48cdeffd.system.entry.js} +1 -1
  260. package/lib/duet/{p-d7159142.system.js → p-4bc792ef.system.js} +1 -1
  261. package/lib/duet/{p-a10f7f46.system.entry.js → p-4c4ffb52.system.entry.js} +1 -1
  262. package/lib/duet/{p-462d86f5.system.entry.js → p-4d4d4233.system.entry.js} +1 -1
  263. package/lib/duet/{p-94215f65.entry.js → p-50d03b37.entry.js} +1 -1
  264. package/lib/duet/{p-9da464aa.system.entry.js → p-51ba4d49.system.entry.js} +1 -1
  265. package/lib/duet/{p-fa08ad7c.entry.js → p-52008d93.entry.js} +1 -1
  266. package/lib/duet/{p-40144fe2.entry.js → p-54363734.entry.js} +1 -1
  267. package/lib/duet/{p-311f9175.system.entry.js → p-543c1505.system.entry.js} +1 -1
  268. package/lib/duet/{p-a9de62bc.system.entry.js → p-545cfa16.system.entry.js} +1 -1
  269. package/lib/duet/{p-618be70d.entry.js → p-56f52edb.entry.js} +1 -1
  270. package/lib/duet/{p-3f55918c.system.entry.js → p-59c7a643.system.entry.js} +1 -1
  271. package/lib/duet/{p-293a061c.entry.js → p-5bb54ff4.entry.js} +1 -1
  272. package/lib/duet/{p-91baec23.entry.js → p-5c0cfa7f.entry.js} +1 -1
  273. package/lib/duet/{p-088a661f.system.entry.js → p-5daf6a65.system.entry.js} +1 -1
  274. package/lib/duet/{p-d085c819.entry.js → p-5dfe9295.entry.js} +1 -1
  275. package/lib/duet/{p-2917eb62.entry.js → p-6535748a.entry.js} +1 -1
  276. package/lib/duet/{p-69a57654.entry.js → p-6566e287.entry.js} +1 -1
  277. package/lib/duet/p-660f67a1.js +4 -0
  278. package/lib/duet/{p-cbbe42f5.system.entry.js → p-675b8134.system.entry.js} +1 -1
  279. package/lib/duet/{p-289de2ad.entry.js → p-6abc25fc.entry.js} +1 -1
  280. package/lib/duet/p-6b7a1c28.entry.js +4 -0
  281. package/lib/duet/{p-daecfcdd.system.entry.js → p-70acf448.system.entry.js} +1 -1
  282. package/lib/duet/{p-6c053c50.system.entry.js → p-72d69646.system.entry.js} +1 -1
  283. package/lib/duet/{p-0536d4f1.entry.js → p-73fde318.entry.js} +1 -1
  284. package/lib/duet/{p-207c9c44.entry.js → p-78d02504.entry.js} +1 -1
  285. package/lib/duet/{p-f4a6807b.system.js → p-7b966861.system.js} +1 -1
  286. package/lib/duet/{p-0ca57e44.system.entry.js → p-7ba3e2af.system.entry.js} +1 -1
  287. package/lib/duet/{p-8b1b06da.entry.js → p-7c512256.entry.js} +1 -1
  288. package/lib/duet/{p-a3c12f34.entry.js → p-7e03f456.entry.js} +1 -1
  289. package/lib/duet/{p-833feae6.system.entry.js → p-7e44a5b0.system.entry.js} +1 -1
  290. package/lib/duet/{p-aef57e05.system.entry.js → p-7e715e5f.system.entry.js} +1 -1
  291. package/lib/duet/{p-4468cf59.system.entry.js → p-8305db61.system.entry.js} +1 -1
  292. package/lib/duet/{p-eebdd34f.entry.js → p-8311c2ba.entry.js} +1 -1
  293. package/lib/duet/{p-28ce8bb5.entry.js → p-84ebdda0.entry.js} +1 -1
  294. package/lib/duet/{p-81b80553.entry.js → p-88a4f8d9.entry.js} +1 -1
  295. package/lib/duet/{p-34c79d16.entry.js → p-8b6e124f.entry.js} +1 -1
  296. package/lib/duet/{p-0bdfb054.system.entry.js → p-8d42a14c.system.entry.js} +1 -1
  297. package/lib/duet/{p-eadc7225.entry.js → p-92a3c866.entry.js} +1 -1
  298. package/lib/duet/{p-5fb5197f.system.entry.js → p-93c4ccac.system.entry.js} +1 -1
  299. package/lib/duet/{p-c97ceb80.system.entry.js → p-94304779.system.entry.js} +1 -1
  300. package/lib/duet/{p-5c886ca3.entry.js → p-948fd3f9.entry.js} +1 -1
  301. package/lib/duet/{p-c1847f8b.entry.js → p-9596e5c4.entry.js} +1 -1
  302. package/lib/duet/{p-a894d8ef.system.entry.js → p-95f6f734.system.entry.js} +1 -1
  303. package/lib/duet/{p-718bbfc5.system.entry.js → p-9610bc4b.system.entry.js} +1 -1
  304. package/lib/duet/{p-c24c4722.system.entry.js → p-9698d934.system.entry.js} +1 -1
  305. package/lib/duet/{p-cb221781.system.entry.js → p-98796400.system.entry.js} +1 -1
  306. package/lib/duet/{p-7552ad86.system.entry.js → p-98d26a0c.system.entry.js} +1 -1
  307. package/lib/duet/{p-648b3208.entry.js → p-9a33fad1.entry.js} +1 -1
  308. package/lib/duet/{p-dbb06949.entry.js → p-9ad87f5c.entry.js} +1 -1
  309. package/lib/duet/{p-cfd0f787.system.entry.js → p-9dfb455e.system.entry.js} +1 -1
  310. package/lib/duet/{p-9ba197ac.system.entry.js → p-9e26524d.system.entry.js} +1 -1
  311. package/lib/duet/{p-315dbcb4.entry.js → p-9e2eb2a9.entry.js} +1 -1
  312. package/lib/duet/{p-5c5eabeb.system.entry.js → p-9fa3157a.system.entry.js} +1 -1
  313. package/lib/duet/{p-a37c4fbc.system.entry.js → p-a1d2511a.system.entry.js} +1 -1
  314. package/lib/duet/{p-0ffc30a9.entry.js → p-a394cb20.entry.js} +1 -1
  315. package/lib/duet/{p-38797671.system.js → p-a6ad4094.system.js} +1 -1
  316. package/lib/duet/{p-e8778e62.entry.js → p-a8c7e4e0.entry.js} +1 -1
  317. package/lib/duet/{p-0378492d.entry.js → p-ab04e90a.entry.js} +1 -1
  318. package/lib/duet/{p-0e979bdf.system.entry.js → p-ad763c52.system.entry.js} +1 -1
  319. package/lib/duet/{p-07e6c008.system.entry.js → p-b16ecd9e.system.entry.js} +1 -1
  320. package/lib/duet/{p-1531761d.entry.js → p-b2b447a0.entry.js} +1 -1
  321. package/lib/duet/{p-6a43c3d5.entry.js → p-b4215101.entry.js} +1 -1
  322. package/lib/duet/{p-f2b2855c.entry.js → p-b501d3d3.entry.js} +1 -1
  323. package/lib/duet/{p-6440b594.entry.js → p-b53d42b5.entry.js} +1 -1
  324. package/lib/duet/{p-a9c06558.system.entry.js → p-b576396d.system.entry.js} +1 -1
  325. package/lib/duet/{p-945fd23a.entry.js → p-b5abd8b0.entry.js} +1 -1
  326. package/lib/duet/{p-e8bd1272.entry.js → p-b8997b08.entry.js} +1 -1
  327. package/lib/duet/{p-92d02b5c.entry.js → p-bf534b04.entry.js} +1 -1
  328. package/lib/duet/{p-b06d3b6b.system.entry.js → p-c224a4a9.system.entry.js} +1 -1
  329. package/lib/duet/{p-ad9f0652.system.entry.js → p-c5972fbb.system.entry.js} +1 -1
  330. package/lib/duet/{p-d55907fe.system.entry.js → p-c6c7bae2.system.entry.js} +1 -1
  331. package/lib/duet/{p-6e3445f4.system.entry.js → p-c74aa8ba.system.entry.js} +1 -1
  332. package/lib/duet/{p-c82bbd85.entry.js → p-c902a387.entry.js} +1 -1
  333. package/lib/duet/{p-cb94ffa6.entry.js → p-cb99f401.entry.js} +1 -1
  334. package/lib/duet/{p-4934db85.system.entry.js → p-ce067d82.system.entry.js} +1 -1
  335. package/lib/duet/{p-577b7a04.entry.js → p-d0a3b766.entry.js} +1 -1
  336. package/lib/duet/{p-03301834.system.entry.js → p-d0d15623.system.entry.js} +1 -1
  337. package/lib/duet/{p-c6e8bfef.system.entry.js → p-d11a5599.system.entry.js} +1 -1
  338. package/lib/duet/{p-be1e20e9.entry.js → p-d2199805.entry.js} +1 -1
  339. package/lib/duet/{p-ce33bf44.entry.js → p-d2e100db.entry.js} +1 -1
  340. package/lib/duet/{p-b93753a5.entry.js → p-d533dbf9.entry.js} +1 -1
  341. package/lib/duet/{p-b6d6d658.js → p-d8529336.js} +1 -1
  342. package/lib/duet/{p-7233b7dc.entry.js → p-d8792024.entry.js} +1 -1
  343. package/lib/duet/{p-a7498022.entry.js → p-d8be056b.entry.js} +1 -1
  344. package/lib/duet/{p-a9c261ba.system.entry.js → p-d9b4452a.system.entry.js} +1 -1
  345. package/lib/duet/{p-8fbf3ff6.entry.js → p-daf3f656.entry.js} +1 -1
  346. package/lib/duet/{p-eabda61d.system.entry.js → p-dbd39d82.system.entry.js} +1 -1
  347. package/lib/duet/{p-d4f23a84.system.entry.js → p-dcc06068.system.entry.js} +1 -1
  348. package/lib/duet/{p-1b798cdc.entry.js → p-dcedb48e.entry.js} +1 -1
  349. package/lib/duet/{p-af2421e9.system.entry.js → p-de17fe66.system.entry.js} +1 -1
  350. package/lib/duet/{p-e58c8fec.system.entry.js → p-e010c363.system.entry.js} +1 -1
  351. package/lib/duet/{p-3dca9b7e.system.entry.js → p-e4a83dde.system.entry.js} +1 -1
  352. package/lib/duet/{p-a2b81ad4.system.entry.js → p-e4b79414.system.entry.js} +1 -1
  353. package/lib/duet/{p-eed2cb3c.entry.js → p-e6d693f2.entry.js} +1 -1
  354. package/lib/duet/{p-5498fa78.system.entry.js → p-e7ed18bd.system.entry.js} +1 -1
  355. package/lib/duet/{p-937b5c95.system.entry.js → p-e96ac18a.system.entry.js} +1 -1
  356. package/lib/duet/{p-e67b7a8a.system.entry.js → p-ec6ed053.system.entry.js} +1 -1
  357. package/lib/duet/{p-792ef5b7.entry.js → p-ec8d240e.entry.js} +1 -1
  358. package/lib/duet/{p-b10ebe0a.entry.js → p-eeb8d64d.entry.js} +1 -1
  359. package/lib/duet/{p-de03d535.entry.js → p-efff7cf8.entry.js} +1 -1
  360. package/lib/duet/{p-cb8e71fc.system.entry.js → p-f09c3567.system.entry.js} +1 -1
  361. package/lib/duet/{p-5fd8544a.entry.js → p-f1f5a181.entry.js} +1 -1
  362. package/lib/duet/{p-547cedf7.system.entry.js → p-f36edbe0.system.entry.js} +1 -1
  363. package/lib/duet/{p-7e9b2142.system.entry.js → p-f3e95d90.system.entry.js} +1 -1
  364. package/lib/duet/{p-8aa280f9.system.entry.js → p-f4276d1e.system.entry.js} +1 -1
  365. package/lib/duet/{p-160e3d1a.entry.js → p-f6c7ac3d.entry.js} +1 -1
  366. package/lib/duet/{p-992557fa.system.entry.js → p-f765045d.system.entry.js} +1 -1
  367. package/lib/duet/{p-df06d448.system.entry.js → p-f8ba7e0f.system.entry.js} +1 -1
  368. package/lib/duet/{p-4cf06df4.entry.js → p-f9748f47.entry.js} +1 -1
  369. package/lib/duet/{p-99f0fae9.entry.js → p-faf20d01.entry.js} +1 -1
  370. package/lib/duet/{p-a09aa4ba.entry.js → p-fbd8a819.entry.js} +1 -1
  371. package/lib/duet/p-fcaa12fd.system.entry.js +4 -0
  372. package/lib/duet/{p-1f2e1726.system.entry.js → p-fd4dd6e8.system.entry.js} +1 -1
  373. package/lib/duet/{p-b4aa698b.system.entry.js → p-ffa9484a.system.entry.js} +1 -1
  374. package/lib/esm/duet-action-button.entry.js +1 -1
  375. package/lib/esm/duet-alert.entry.js +1 -1
  376. package/lib/esm/duet-badge.entry.js +1 -1
  377. package/lib/esm/duet-banner.entry.js +1 -1
  378. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  379. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  380. package/lib/esm/duet-button_2.entry.js +1 -1
  381. package/lib/esm/duet-callout.entry.js +1 -1
  382. package/lib/esm/duet-caption_4.entry.js +1 -1
  383. package/lib/esm/duet-card.entry.js +1 -1
  384. package/lib/esm/duet-checkbox.entry.js +1 -1
  385. package/lib/esm/duet-checkmark.entry.js +1 -1
  386. package/lib/esm/duet-chip.entry.js +1 -1
  387. package/lib/esm/duet-choice_2.entry.js +2 -2
  388. package/lib/esm/duet-collapsible.entry.js +1 -1
  389. package/lib/esm/duet-combobox.entry.js +1 -1
  390. package/lib/esm/duet-contact-card.entry.js +1 -1
  391. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  392. package/lib/esm/duet-date-picker.entry.js +2 -2
  393. package/lib/esm/duet-divider_2.entry.js +1 -1
  394. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  395. package/lib/esm/duet-empty-state.entry.js +1 -1
  396. package/lib/esm/duet-fieldset.entry.js +1 -1
  397. package/lib/esm/duet-footer.entry.js +1 -1
  398. package/lib/esm/duet-grid_2.entry.js +1 -1
  399. package/lib/esm/duet-header_2.entry.js +1 -1
  400. package/lib/esm/duet-hero.entry.js +2 -2
  401. package/lib/esm/duet-icon.entry.js +1 -1
  402. package/lib/esm/duet-input_2.entry.js +1 -1
  403. package/lib/esm/duet-layout.entry.js +1 -1
  404. package/lib/esm/duet-list_2.entry.js +1 -1
  405. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  406. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  407. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  408. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  409. package/lib/esm/duet-menu-bar.entry.js +1 -1
  410. package/lib/esm/duet-modal.entry.js +2 -2
  411. package/lib/esm/duet-multiselect.entry.js +1 -1
  412. package/lib/esm/duet-nav.entry.js +1 -1
  413. package/lib/esm/duet-notification_2.entry.js +1 -1
  414. package/lib/esm/duet-number-input.entry.js +1 -1
  415. package/lib/esm/duet-page-heading.entry.js +1 -1
  416. package/lib/esm/duet-pagination_2.entry.js +1 -1
  417. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  418. package/lib/esm/duet-popup-menu.entry.js +1 -1
  419. package/lib/esm/duet-progress.entry.js +1 -1
  420. package/lib/esm/duet-promo-card.entry.js +1 -1
  421. package/lib/esm/duet-radio_2.entry.js +1 -1
  422. package/lib/esm/duet-range-slider.entry.js +1 -1
  423. package/lib/esm/duet-scrollable_3.entry.js +12 -2
  424. package/lib/esm/duet-section-layout.entry.js +1 -1
  425. package/lib/esm/duet-select.entry.js +1 -1
  426. package/lib/esm/duet-shaped-image.entry.js +1 -1
  427. package/lib/esm/duet-show-more.entry.js +1 -1
  428. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  429. package/lib/esm/duet-slideout-link.entry.js +1 -1
  430. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  431. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  432. package/lib/esm/duet-slideout.entry.js +2 -2
  433. package/lib/esm/duet-step_2.entry.js +1 -1
  434. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  435. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  436. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  437. package/lib/esm/duet-submenu-bar.entry.js +28 -9
  438. package/lib/esm/duet-textarea.entry.js +1 -1
  439. package/lib/esm/duet-toggle.entry.js +1 -1
  440. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  441. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  442. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  443. package/lib/esm/duet-toolbar.entry.js +1 -1
  444. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  445. package/lib/esm/duet-tooltip.entry.js +1 -1
  446. package/lib/esm/duet-tray.entry.js +1 -1
  447. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  448. package/lib/esm/duet-upload-item.entry.js +1 -1
  449. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  450. package/lib/esm/duet.js +2 -2
  451. package/lib/esm/{focus-utils-eb9b1f72.js → focus-utils-dcbd8a07.js} +1 -1
  452. package/lib/esm/{index-cc1bfc90.js → index-96382723.js} +1 -1
  453. package/lib/esm/loader.js +2 -2
  454. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  455. package/lib/esm-es5/duet-alert.entry.js +1 -1
  456. package/lib/esm-es5/duet-badge.entry.js +1 -1
  457. package/lib/esm-es5/duet-banner.entry.js +1 -1
  458. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  459. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  460. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  461. package/lib/esm-es5/duet-callout.entry.js +1 -1
  462. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  463. package/lib/esm-es5/duet-card.entry.js +1 -1
  464. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  465. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  466. package/lib/esm-es5/duet-chip.entry.js +1 -1
  467. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  468. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  469. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  470. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  471. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  472. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  473. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  474. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  475. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  476. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  477. package/lib/esm-es5/duet-footer.entry.js +1 -1
  478. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  479. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  480. package/lib/esm-es5/duet-hero.entry.js +2 -2
  481. package/lib/esm-es5/duet-icon.entry.js +1 -1
  482. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  483. package/lib/esm-es5/duet-layout.entry.js +1 -1
  484. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  485. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  486. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  487. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  488. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  489. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  490. package/lib/esm-es5/duet-modal.entry.js +1 -1
  491. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  492. package/lib/esm-es5/duet-nav.entry.js +1 -1
  493. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  494. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  495. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  496. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  497. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  498. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  499. package/lib/esm-es5/duet-progress.entry.js +1 -1
  500. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  501. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  502. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  503. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  504. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  505. package/lib/esm-es5/duet-select.entry.js +1 -1
  506. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  507. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  508. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  509. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  510. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  511. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  512. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  513. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  514. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  515. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  516. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  517. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  518. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  519. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  520. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  521. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  522. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  523. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  524. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  525. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  526. package/lib/esm-es5/duet-tray.entry.js +1 -1
  527. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  528. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  529. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  530. package/lib/esm-es5/duet.js +1 -1
  531. package/lib/esm-es5/{focus-utils-eb9b1f72.js → focus-utils-dcbd8a07.js} +1 -1
  532. package/lib/esm-es5/{index-cc1bfc90.js → index-96382723.js} +1 -1
  533. package/lib/esm-es5/loader.js +1 -1
  534. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +6 -0
  535. package/package.json +5 -5
  536. package/lib/duet/p-16aa0b6d.js +0 -4
  537. package/lib/duet/p-4a28ce2a.entry.js +0 -4
  538. package/lib/duet/p-90fa9e6e.entry.js +0 -4
  539. package/lib/duet/p-af19e892.system.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as i,h as e,H as o,g as a}from"./p-b6d6d658.js";import{i as d}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{f as s,w as n}from"./p-12721178.js";const h=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",7),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.radioId=r("DuetRadio"),this.onClick=t=>{t.stopPropagation()},this.onChange=t=>{this.checked=this.nativeInput.checked||!1,this.checked&&!this.blockEvents&&this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.accessibleActiveDescendant=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleIndex=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.theme="",this.disabled=!1,this.required=!1,this.blockEvents=!1,this.identifier=void 0,this.label="label",this.name=void 0,this.role=void 0,this.groupDisabled=void 0,this.groupDirection=void 0,this.groupResponsive=void 0,this.checked=void 0,this.value=void 0}componentWillLoad(){d(this),this.hasLabel=!!this.element.querySelector(":scope > [slot='label']"),void 0===this.value&&(this.value=this.identifier)}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.radioId;return e(o,{onClick:this.onClick,class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin}},e("div",{class:{"duet-radio-container":!0,"duet-theme-turva":"turva"===this.theme}},e("input",{type:"radio",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,tabindex:this.accessibleIndex,class:{"duet-radio":!0,disabled:this.disabled||this.groupDisabled},checked:this.checked,disabled:this.disabled||this.groupDisabled,required:this.required,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:this.role,name:this.name,id:t,ref:t=>this.nativeInput=t}),e("label",{class:"duet-label",htmlFor:t},e("div",{class:"duet-label-content"},this.hasLabel?e("slot",{name:"label"}):this.label))))}get element(){return a(this)}};h.style='*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{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-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 207, 209)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(101, 119, 135)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}';const u=class{constructor(i){t(this,i),this.onSelect=t=>{const i=t.target;i&&(this.value=i.value),t.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.tooltip="",this.tooltipDirection="auto",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption="",this.responsive=!1,this.value=void 0,this.disabled=void 0}async connectedCallback(){const t=this.element;if(void 0===this.value){const i=s(t,"duet-radio");void 0!==i&&(await i.componentOnReady(),void 0===this.value&&(this.value=i.value))}this.mutationO=n(t,"duet-radio",(t=>{void 0!==t?t.componentOnReady().then((()=>{this.value=t.value})):this.updateRadios()})),this.updateRadios()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this)}async updateRadios(){const t=Array.from(this.element.querySelectorAll("duet-radio")),{value:i}=this;let e=!1;for(const o of t)o.name=this.name,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,e||o.value!==i?o.checked=!1:(e=!0,o.checked=!0);e||(this.value=void 0)}render(){return e(o,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction}},e("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&e("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),e("div",{class:{"duet-radio-group":!0,"duet-no-stacking":!this.responsive}},e("slot",null))))}get element(){return a(this)}static get watchers(){return{name:["updateRadios"],value:["updateRadios"],disabled:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}}};u.style="*.sc-duet-radio-group,*.sc-duet-radio-group::after,*.sc-duet-radio-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-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-radio-group-h .duet-radio-group.sc-duet-radio-group{display:block}@media (min-width: 48em){.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:flex}}.horizontal.sc-duet-radio-group-h .duet-radio-group.duet-no-stacking.sc-duet-radio-group{display:flex}.deut-radio-group.sc-duet-radio-group{width:100%}";export{h as duet_radio,u as duet_radio_group}
4
+ import{r as t,c as i,h as e,H as o,g as a}from"./p-d8529336.js";import{i as d}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{f as s,w as n}from"./p-12721178.js";const h=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",7),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.radioId=r("DuetRadio"),this.onClick=t=>{t.stopPropagation()},this.onChange=t=>{this.checked=this.nativeInput.checked||!1,this.checked&&!this.blockEvents&&this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.accessibleActiveDescendant=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleIndex=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.theme="",this.disabled=!1,this.required=!1,this.blockEvents=!1,this.identifier=void 0,this.label="label",this.name=void 0,this.role=void 0,this.groupDisabled=void 0,this.groupDirection=void 0,this.groupResponsive=void 0,this.checked=void 0,this.value=void 0}componentWillLoad(){d(this),this.hasLabel=!!this.element.querySelector(":scope > [slot='label']"),void 0===this.value&&(this.value=this.identifier)}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.radioId;return e(o,{onClick:this.onClick,class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin}},e("div",{class:{"duet-radio-container":!0,"duet-theme-turva":"turva"===this.theme}},e("input",{type:"radio",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,tabindex:this.accessibleIndex,class:{"duet-radio":!0,disabled:this.disabled||this.groupDisabled},checked:this.checked,disabled:this.disabled||this.groupDisabled,required:this.required,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:this.role,name:this.name,id:t,ref:t=>this.nativeInput=t}),e("label",{class:"duet-label",htmlFor:t},e("div",{class:"duet-label-content"},this.hasLabel?e("slot",{name:"label"}):this.label))))}get element(){return a(this)}};h.style='*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{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-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 207, 209)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(101, 119, 135)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}';const u=class{constructor(i){t(this,i),this.onSelect=t=>{const i=t.target;i&&(this.value=i.value),t.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.tooltip="",this.tooltipDirection="auto",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption="",this.responsive=!1,this.value=void 0,this.disabled=void 0}async connectedCallback(){const t=this.element;if(void 0===this.value){const i=s(t,"duet-radio");void 0!==i&&(await i.componentOnReady(),void 0===this.value&&(this.value=i.value))}this.mutationO=n(t,"duet-radio",(t=>{void 0!==t?t.componentOnReady().then((()=>{this.value=t.value})):this.updateRadios()})),this.updateRadios()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this)}async updateRadios(){const t=Array.from(this.element.querySelectorAll("duet-radio")),{value:i}=this;let e=!1;for(const o of t)o.name=this.name,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,e||o.value!==i?o.checked=!1:(e=!0,o.checked=!0);e||(this.value=void 0)}render(){return e(o,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction}},e("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&e("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),e("div",{class:{"duet-radio-group":!0,"duet-no-stacking":!this.responsive}},e("slot",null))))}get element(){return a(this)}static get watchers(){return{name:["updateRadios"],value:["updateRadios"],disabled:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}}};u.style="*.sc-duet-radio-group,*.sc-duet-radio-group::after,*.sc-duet-radio-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-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-radio-group-h .duet-radio-group.sc-duet-radio-group{display:block}@media (min-width: 48em){.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:flex}}.horizontal.sc-duet-radio-group-h .duet-radio-group.duet-no-stacking.sc-duet-radio-group{display:flex}.deut-radio-group.sc-duet-radio-group{width:100%}";export{h as duet_radio,u as duet_radio_group}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,a,t,i){function d(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function n(e){try{p(i.next(e))}catch(e){r(e)}}function o(e){try{p(i["throw"](e))}catch(e){r(e)}}function p(e){e.done?t(e.value):d(e.value).then(n,o)}p((i=i.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,d,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(e){return function(a){return p([e,a])}}function p(o){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(t=0)),t)try{if(i=1,d&&(r=o[0]&2?d["return"]:o[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,o[1])).done)return r;if(d=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;d=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=a.call(e,t)}catch(e){o=[6,e];d=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var i=0,d=a.length,r;i<d;i++){if(r||!(i in a)){if(!r)r=Array.prototype.slice.call(a,0,i);r[i]=a[i]}}return e.concat(r||Array.prototype.slice.call(a))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d7159142.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-b6d51921.system.js","./p-71a46879.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var a,t,i,d,r,n,o,p,s,m,c;return{setters:[function(e){a=e.r;t=e.c;i=e.h;d=e.F;r=e.H;n=e.g},function(e){o=e.i},function(e){p=e.c},function(e){s=e.i},function(e){m=e.s},function(e){c=e.g},function(){}],execute:function(){var l=["h1","h2","h3","h4","h5","h6"];var g="div";var u={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var x='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(0, 80, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 245, 247)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}';var h=e("duet_card",function(){function e(e){var i=this;a(this,e);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(e){e.preventDefault();i.open=!i.open;i.duetToggle.emit({component:"duet-card",originalEvent:e})};this.handleKeyDown=function(e){if(s(e)){i.togglePanel(e)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}e.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};e.prototype.renderHeading=function(){var e=m(this.headingLevel);var a=__spreadArray(__spreadArray([],l,true),[g],false).some((function(a){return a===e}))?e:"h2";var t={backgroundColor:c(this.headingBackground)};var r=i(d,null,i("div",{class:"duet-card-heading-grid"},this.icon&&i(d,null,i("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),i("duet-spacer",{direction:"horizontal",size:"small"})),i("div",{class:"duet-card-heading-text"},this.heading?this.heading:i("slot",{name:"heading"})),this.secondaryHeading&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("duet-icon",{class:"duet-card-caret",icon:u.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),i("slot",{name:"below-heading"}));if(this.collapsible){return i(a,{style:t,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},i("button",{"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false"},r))}else{return i(a,{style:t,class:"duet-card-heading"},r)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.nativeCard){this.nativeCard.focus(e)}return[2]}))}))};e.prototype.render=function(){var e;var a=this;var t=this.url?"a":"div";var d={backgroundColor:c(this.background)};return i(r,{class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},i(t,{href:this.url,style:d,ref:function(e){return a.nativeCard=e},"aria-label":this.accessibleLabel,class:(e={"duet-card":true},e[this.padding]=true,e[this.variation]=true,e["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,e["duet-p-0"]=this.padding==="none",e["duet-theme-turva"]=this.theme==="turva",e["duet-card-has-bg"]=this.background!=="gray-lightest",e["duet-card-has-icon"]=!!this.icon,e["duet-card-collapsed"]=this.collapsible&&!this.open,e)},this.image&&i("div",{class:"duet-card-image-mask"},i("img",{src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),i("div",{class:"duet-card-content",id:this.cardId},i("slot",null),this.hasFooter&&i("div",{class:"duet-card-footer"},i("slot",{name:"footer"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());h.style=x}}}));
4
+ */System.register(["./p-4bc792ef.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-b6d51921.system.js","./p-71a46879.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var a,t,i,d,r,n,o,p,s,m,c;return{setters:[function(e){a=e.r;t=e.c;i=e.h;d=e.F;r=e.H;n=e.g},function(e){o=e.i},function(e){p=e.c},function(e){s=e.i},function(e){m=e.s},function(e){c=e.g},function(){}],execute:function(){var l=["h1","h2","h3","h4","h5","h6"];var g="div";var u={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var x='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(0, 80, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 245, 247)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}';var h=e("duet_card",function(){function e(e){var i=this;a(this,e);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(e){e.preventDefault();i.open=!i.open;i.duetToggle.emit({component:"duet-card",originalEvent:e})};this.handleKeyDown=function(e){if(s(e)){i.togglePanel(e)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}e.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};e.prototype.renderHeading=function(){var e=m(this.headingLevel);var a=__spreadArray(__spreadArray([],l,true),[g],false).some((function(a){return a===e}))?e:"h2";var t={backgroundColor:c(this.headingBackground)};var r=i(d,null,i("div",{class:"duet-card-heading-grid"},this.icon&&i(d,null,i("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),i("duet-spacer",{direction:"horizontal",size:"small"})),i("div",{class:"duet-card-heading-text"},this.heading?this.heading:i("slot",{name:"heading"})),this.secondaryHeading&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&i(d,null,i("duet-spacer",{direction:"horizontal",size:"small"}),i("duet-icon",{class:"duet-card-caret",icon:u.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&i("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),i("slot",{name:"below-heading"}));if(this.collapsible){return i(a,{style:t,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},i("button",{"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false"},r))}else{return i(a,{style:t,class:"duet-card-heading"},r)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.nativeCard){this.nativeCard.focus(e)}return[2]}))}))};e.prototype.render=function(){var e;var a=this;var t=this.url?"a":"div";var d={backgroundColor:c(this.background)};return i(r,{class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},i(t,{href:this.url,style:d,ref:function(e){return a.nativeCard=e},"aria-label":this.accessibleLabel,class:(e={"duet-card":true},e[this.padding]=true,e[this.variation]=true,e["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,e["duet-p-0"]=this.padding==="none",e["duet-theme-turva"]=this.theme==="turva",e["duet-card-has-bg"]=this.background!=="gray-lightest",e["duet-card-has-icon"]=!!this.icon,e["duet-card-collapsed"]=this.collapsible&&!this.open,e)},this.image&&i("div",{class:"duet-card-image-mask"},i("img",{src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),i("div",{class:"duet-card-content",id:this.cardId},i("slot",null),this.hasFooter&&i("div",{class:"duet-card-footer"},i("slot",{name:"footer"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());h.style=x}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,H as o,g as a,c as i}from"./p-b6d6d658.js";import{i as n}from"./p-4ebf1618.js";import{g as r,c as s,d,a as l}from"./p-03baceb5.js";import{c as b}from"./p-c1325e35.js";import{d as c,b as u,a as h,c as p}from"./p-f077c646.js";import"./p-5a9d75e1.js";const g=class{constructor(e){t(this,e),this.currentIndex=0,this.tabListElement=void 0,this.tabListClass="duet-scrollable-list",this.hasCollapseButtonLabelSlot=!1,this.resizeObserver=new ResizeObserver((t=>{var e,o,a,i;if(1===(null==t?void 0:t.length)){const n=null===(o=null===(e=t[0])||void 0===e?void 0:e.target)||void 0===o?void 0:o.getBoundingClientRect().width,r=null===(i=null===(a=t[0])||void 0===a?void 0:a.target)||void 0===i?void 0:i.scrollWidth;this.isTabContentSmallerThanWrapper=r>n+5}})),this.collapsedOnClick=()=>{this.collapsed=!this.collapsed},this.tablistAtStart=!0,this.isTabContentSmallerThanWrapper=!1,this.tablistAtEnd=!1,this.childrenData={},this.theme="",this.identifier="",this.collapsed=!1,this.buttons=!0,this.center=!1,this.selected=0}watchPropHandler(t){this.scrollToTab(t,"center")}componentWillLoad(){n(this),this.hasCollapseButtonLabelSlot=!!this.host.querySelector(":scope > [slot='collapse-button-label']");const t=this.host.querySelectorAll(":scope > :not([slot='collapse-button-label'])");this.childrenData={hasChildren:t&&t.length>0,numberOfChildren:t&&t.length}}componentDidLoad(){this.resizeObserver.observe(this.tabListElement)}disconnectedCallback(){this.resizeObserver.disconnect()}getLastVisibleElement(){const t=this.tabListElement.clientWidth;return Array.from(this.host.querySelectorAll("button")).findIndex((e=>e.getBoundingClientRect().x>t))}getFirstVisibleElement(){const t=this.host.querySelectorAll("button");return Array.from(t).map((t=>t.getBoundingClientRect().x-t.getBoundingClientRect().width)).findIndex((t=>t>0))}updateScrollButtons(t=this.tabListElement){this.buttons&&(t.scrollLeft<=0?this.tablistAtStart=!0:t.scrollLeft>0&&(this.tablistAtStart=!1),t.clientWidth+t.scrollLeft+10>=t.scrollWidth?this.tablistAtEnd=!0:t.clientWidth+t.scrollLeft+10<t.scrollWidth&&(this.tablistAtEnd=!1))}scrollToTab(t=this.currentIndex,e){if(!this.childrenData.hasChildren)return;t+1>=this.childrenData.numberOfChildren&&(t=this.childrenData.numberOfChildren-1),t<0&&(t=0);const o=this.host.querySelectorAll("button");let a=o[0].getBoundingClientRect().x,i=5;const n=()=>{if(o[0].getBoundingClientRect().x===a){if(i--,0!==i)return void window.requestAnimationFrame(n);this.updateScrollButtons()}else window.requestAnimationFrame(n),a=o[0].getBoundingClientRect().x};o[t].scrollIntoView({behavior:"smooth",inline:e}),window.requestAnimationFrame(n)}scrollLeft(){this.tablistAtEnd=!1;const t=this.getFirstVisibleElement()-1;this.scrollToTab(t,"center")}scrollRight(){this.tablistAtStart=!1;const t=this.getLastVisibleElement()+1;this.scrollToTab(t,"center")}render(){return e(o,{class:{"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme}},this.hasCollapseButtonLabelSlot&&e("div",{class:{collapse:!0,hide:!this.isTabContentSmallerThanWrapper&&!this.collapsed}},e("duet-button",{variation:"plain",margin:"none","center-text":!0,onClick:()=>this.collapsedOnClick()},e("slot",{name:"collapse-button-label"}))),e("div",{class:{"duet-scrollable-items":!0,buttons:this.buttons,center:this.center}},e("button",{part:`${this.identifier}-button-left`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,"duet-scrollable-button--left":!0,"duet-scrollable-button--occluded":!this.isTabContentSmallerThanWrapper},onClick:()=>this.scrollLeft(),disabled:this.tablistAtStart,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{name:"action-arrow-left-small",size:"small",margin:"none"})),e("div",{class:{[this.tabListClass]:!0,collapsed:this.collapsed},onScroll:()=>this.updateScrollButtons(),ref:t=>this.tabListElement=t},e("slot",null)),e("button",{part:`${this.identifier}-button-right`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,"duet-scrollable-button--right":!0,"duet-scrollable-button--occluded":!this.isTabContentSmallerThanWrapper},onClick:()=>this.scrollRight(),disabled:this.tablistAtEnd,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{name:"action-arrow-right-small",size:"small",margin:"none"}))))}get host(){return a(this)}static get watchers(){return{selected:["watchPropHandler"]}}};g.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{visibility:hidden}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";const m=class{constructor(e){t(this,e),this.label=void 0,this.caption=void 0,this.selected=void 0,this.accessibleDescriptionDefault=null,this.accessibleDescription=this.accessibleDescriptionDefault?r(this.accessibleDescriptionDefault):null}connectedCallback(){s(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"})}disconnectedCallback(){d(this)}render(){return e("div",{role:"tabpanel",class:{"duet-tab":!0,selected:this.selected},"aria-description":this.accessibleDescription},e("slot",null))}};m.style=".sc-duet-tab-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%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}";const k=class{constructor(o){t(this,o),this.duetChange=i(this,"duetChange",3),this.duetTabChange=i(this,"duetTabChange",7),this.duetTabChangeRequested=i(this,"duetTabChangeRequested",7),this.id=b("DuetTabGroup"),this.handleKeyDown=t=>{let e;c(t)||u(t)?e=t.target.previousElementSibling:(h(t)||p(t))&&(e=t.target.nextElementSibling),e&&(t.preventDefault(),e.click(),e.focus())},this.onTabSelect=t=>{this.tabChangeConfirm?t!==this.selected&&this.duetTabChangeRequested.emit({value:t,component:"duet-tab-group"}):this.openTab(t)},this.scrollToActive=()=>{"checked"!==this.variation&&"plain-scrolling"!==this.variation||setTimeout((()=>{const t=this.tabsContainer.querySelector(".selected");t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}),50)},this.renderTab=()=>{const t=this.tabs.map(((t,o)=>e("button",{role:"tab",id:this.getButtonId(o),"aria-controls":this.getTabId(o),"aria-selected":t.selected?"true":"false","aria-description":this.getAccessibleDescription(o),tabindex:0===o?"0":"-1",part:`${this.identifier}-button ${t.selected?`${this.identifier}-button--selected`:""}`,type:"button",class:{"duet-p-0":"none"===this.padding,"duet-tab-button":!0,"stackable-tab":"checked"===this.variation&&this.tabs.length<=3,selected:t.selected},onClick:()=>this.onTabSelect(o),onKeyDown:t=>this.handleKeyDown(t)},"checked"===this.variation?e("div",{class:{"checked-tab-content":!0,"stackable-checked-tab-content":this.tabs.length<=3}},e("div",{class:{"checked-tab-description":!0,"stackable-description":this.tabs.length<=3}},e("p",null,t.label),e("p",{class:{"tab-caption":!0,selected:t.selected}},t.caption)),e("div",{class:{"stackable-checkmark":this.tabs.length<=3}},e("duet-checkmark",{theme:this.theme,checked:t.selected,type:"radio","presentation-only":!0,center:!0}))):t.label)));return this.scrolls?e("duet-scrollable",{selected:this.selected,identifier:this.identifier},t):t},this.tabs=[],this.selected=void 0,this.theme="",this.scrolls=!1,this.collapses=!0,this.accessibleLabel=void 0,this.variation="default",this.language=l(),this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"},this.label=r(this.labelDefaults,this.language),this.labelHidden=!0,this.identifier=this.id,this.margin="auto",this.padding="auto",this.setTabIndex=!1,this.tabChangeConfirm=!1}async connectedCallback(){"undefined"!=typeof MutationObserver&&(this.mutationO=new MutationObserver((()=>{this.updateTabs()})),this.mutationO.observe(this.element,{attributes:!0,attributeFilter:["label"],childList:!0,characterData:!0,subtree:!0})),await this.updateTabs()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){n(this)}componentDidLoad(){this.scrollToActive()}async openTab(t){if(t>=this.tabs.length)throw new Error(`[duet-tabs] Index ${t} is out of bounds of tabs length`);this.selected=t,this.tabs.forEach(((e,o)=>{e.selected=o===t})),this.scrollToActive();const e={value:t,component:"duet-tab-group"};this.duetChange.emit(e),this.duetTabChange.emit(e)}async refresh(){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.")}getTabs(){const t=Array.from(this.element.querySelectorAll("duet-tab")).filter((t=>t.closest("duet-tab-group")===this.element));if(0===t.length)throw new Error("[duet-tabs] Must have at least one tab");return t}getButtonId(t){return`${this.id}-button-${t}`}getTabId(t){return`${this.id}-tab-${t}`}getAccessibleDescription(t){return this.tabs[t].getAttribute("accessible-description")||null}async updateTabs(){this.tabs=this.getTabs(),this.tabs.forEach(((t,e)=>{t.id=this.getTabId(e),t.setAttribute("aria-labelledby",this.getButtonId(e)),t.selected&&(this.selected=e)}))}render(){const t="checked"===this.variation||"plain-scrolling"===this.variation;return e("div",{class:{"duet-tab-group":!0,"duet-theme-turva":"turva"===this.theme,["plain-scrolling"===this.variation?"duet-tab-variation-plain":`duet-tab-variation-${this.variation}`]:!0,"duet-tab-plain-scrolling":"plain-scrolling"===this.variation,"duet-tab-group-scrolls":this.scrolls,"duet-tab-group-collapses":this.collapses},"aria-label":this.accessibleLabel},!t&&this.tabs.length>3&&this.collapses&&e("duet-select",{value:this.selected.toString(),expand:!0,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:t=>this.onTabSelect(Number(t.detail.value)),items:this.tabs.map(((t,e)=>({label:t.label,value:e.toString()})))}),e("div",{role:"tablist",class:{"duet-m-0":"none"===this.margin||"checked"===this.variation,"duet-tab-group-tabs":!0,"duet-tab-group-hidden":this.tabs.length>3&&!t,"duet-tab-group-collapses":this.collapses},ref:t=>{this.tabsContainer=t}},this.renderTab()),e("div",{role:"tabpanel",tabindex:this.setTabIndex?null:"0",class:{"duet-tab-group-content":!0,"duet-m-0":"none"===this.margin,"checked-group-content":"checked"===this.variation}},e("slot",null)))}get element(){return a(this)}};k.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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;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.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-theme-turva .duet-tab-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);border-color:rgb(228, 228, 230)}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}.duet-theme-turva .duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';export{g as duet_scrollable,m as duet_tab,k as duet_tab_group}
4
+ import{r as t,h as e,H as o,g as a,c as i}from"./p-d8529336.js";import{i as n}from"./p-4ebf1618.js";import{g as r,c as s,d,a as l}from"./p-03baceb5.js";import{c as b}from"./p-c1325e35.js";import{d as c,b as u,a as h,c as p}from"./p-f077c646.js";import"./p-5a9d75e1.js";const g=class{constructor(e){t(this,e),this.currentIndex=0,this.tabListElement=void 0,this.tabListClass="duet-scrollable-list",this.hasCollapseButtonLabelSlot=!1,this.resizeObserver=new ResizeObserver((t=>{var e,o,a,i;if(1===(null==t?void 0:t.length)){const n=null===(o=null===(e=t[0])||void 0===e?void 0:e.target)||void 0===o?void 0:o.getBoundingClientRect().width,r=null===(i=null===(a=t[0])||void 0===a?void 0:a.target)||void 0===i?void 0:i.scrollWidth;this.isTabContentSmallerThanWrapper=r>n+5}})),this.collapsedOnClick=()=>{this.collapsed=!this.collapsed},this.tablistAtStart=!0,this.isTabContentSmallerThanWrapper=!1,this.tablistAtEnd=!1,this.childrenData={},this.theme="",this.identifier="",this.collapsed=!1,this.buttons=!0,this.center=!1,this.selected=0}watchPropHandler(t){this.scrollToTab(t,"center")}componentWillLoad(){n(this),this.hasCollapseButtonLabelSlot=!!this.host.querySelector(":scope > [slot='collapse-button-label']");const t=this.host.querySelectorAll(":scope > :not([slot='collapse-button-label'])");this.childrenData={hasChildren:t&&t.length>0,numberOfChildren:t&&t.length}}componentDidLoad(){this.resizeObserver.observe(this.tabListElement)}disconnectedCallback(){this.resizeObserver.disconnect()}getLastVisibleElement(){const t=this.tabListElement.clientWidth;return Array.from(this.host.querySelectorAll("button")).findIndex((e=>e.getBoundingClientRect().x>t))}getFirstVisibleElement(){const t=this.host.querySelectorAll("button");return Array.from(t).map((t=>t.getBoundingClientRect().x-t.getBoundingClientRect().width)).findIndex((t=>t>0))}updateScrollButtons(t=this.tabListElement){this.buttons&&(t.scrollLeft<=0?this.tablistAtStart=!0:t.scrollLeft>0&&(this.tablistAtStart=!1),t.clientWidth+t.scrollLeft+10>=t.scrollWidth?this.tablistAtEnd=!0:t.clientWidth+t.scrollLeft+10<t.scrollWidth&&(this.tablistAtEnd=!1))}scrollToTab(t=this.currentIndex,e){if(!this.childrenData.hasChildren)return;t+1>=this.childrenData.numberOfChildren&&(t=this.childrenData.numberOfChildren-1),t<0&&(t=0);const o=this.host.querySelectorAll("button");let a=o[0].getBoundingClientRect().x,i=5;const n=()=>{if(o[0].getBoundingClientRect().x===a){if(i--,0!==i)return void window.requestAnimationFrame(n);this.updateScrollButtons()}else window.requestAnimationFrame(n),a=o[0].getBoundingClientRect().x};o[t].scrollIntoView({behavior:"smooth",inline:e}),window.requestAnimationFrame(n)}scrollLeft(){this.tablistAtEnd=!1;const t=this.getFirstVisibleElement()-1;this.scrollToTab(t,"center")}scrollRight(){this.tablistAtStart=!1;const t=this.getLastVisibleElement()+1;this.scrollToTab(t,"center")}render(){return e(o,{class:{"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme}},this.hasCollapseButtonLabelSlot&&e("div",{class:{collapse:!0,hide:!this.isTabContentSmallerThanWrapper&&!this.collapsed}},e("duet-button",{variation:"plain",margin:"none","center-text":!0,onClick:()=>this.collapsedOnClick()},e("slot",{name:"collapse-button-label"}))),e("div",{class:{"duet-scrollable-items":!0,buttons:this.buttons,center:this.center}},e("button",{part:`${this.identifier}-button-left`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,"duet-scrollable-button--left":!0,"duet-scrollable-button--occluded":!this.isTabContentSmallerThanWrapper},onClick:()=>this.scrollLeft(),disabled:this.tablistAtStart,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{name:"action-arrow-left-small",size:"small",margin:"none"})),e("div",{class:{[this.tabListClass]:!0,collapsed:this.collapsed},onScroll:()=>this.updateScrollButtons(),ref:t=>this.tabListElement=t},e("slot",null)),e("button",{part:`${this.identifier}-button-right`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,"duet-scrollable-button--right":!0,"duet-scrollable-button--occluded":!this.isTabContentSmallerThanWrapper},onClick:()=>this.scrollRight(),disabled:this.tablistAtEnd,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{name:"action-arrow-right-small",size:"small",margin:"none"}))))}get host(){return a(this)}static get watchers(){return{selected:["watchPropHandler"]}}};g.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{visibility:hidden}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";const m=class{constructor(e){t(this,e),this.label=void 0,this.caption=void 0,this.selected=void 0,this.accessibleDescriptionDefault=null,this.accessibleDescription=this.accessibleDescriptionDefault?r(this.accessibleDescriptionDefault):null}connectedCallback(){s(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"})}disconnectedCallback(){d(this)}render(){return e("div",{role:"tabpanel",class:{"duet-tab":!0,selected:this.selected},"aria-description":this.accessibleDescription},e("slot",null))}};m.style=".sc-duet-tab-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%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}";const k=class{constructor(o){t(this,o),this.duetChange=i(this,"duetChange",3),this.duetTabChange=i(this,"duetTabChange",7),this.duetTabChangeRequested=i(this,"duetTabChangeRequested",7),this.id=b("DuetTabGroup"),this.handleKeyDown=t=>{let e;c(t)||u(t)?e=t.target.previousElementSibling:(h(t)||p(t))&&(e=t.target.nextElementSibling),e&&(t.preventDefault(),e.click(),e.focus())},this.onTabSelect=t=>{this.tabChangeConfirm?t!==this.selected&&this.duetTabChangeRequested.emit({value:t,component:"duet-tab-group"}):this.openTab(t)},this.scrollToActive=()=>{"checked"!==this.variation&&"plain-scrolling"!==this.variation||setTimeout((()=>{const t=this.tabsContainer.querySelector(".selected");t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}),50)},this.renderTab=()=>{const t=this.tabs.map(((t,o)=>e("button",{role:"tab",id:this.getButtonId(o),"aria-controls":this.getTabId(o),"aria-selected":t.selected?"true":"false","aria-description":this.getAccessibleDescription(o),tabindex:0===o?"0":"-1",part:`${this.identifier}-button ${t.selected?`${this.identifier}-button--selected`:""}`,type:"button",class:{"duet-p-0":"none"===this.padding,"duet-tab-button":!0,"stackable-tab":"checked"===this.variation&&this.tabs.length<=3,selected:t.selected},onClick:()=>this.onTabSelect(o),onKeyDown:t=>this.handleKeyDown(t)},"checked"===this.variation?e("div",{class:{"checked-tab-content":!0,"stackable-checked-tab-content":this.tabs.length<=3}},e("div",{class:{"checked-tab-description":!0,"stackable-description":this.tabs.length<=3}},e("p",null,t.label),e("p",{class:{"tab-caption":!0,selected:t.selected}},t.caption)),e("div",{class:{"stackable-checkmark":this.tabs.length<=3}},e("duet-checkmark",{theme:this.theme,checked:t.selected,type:"radio","presentation-only":!0,center:!0}))):t.label)));return this.scrolls?e("duet-scrollable",{selected:this.selected,identifier:this.identifier},t):t},this.tabs=[],this.selected=void 0,this.theme="",this.scrolls=!1,this.collapses=!0,this.accessibleLabel=void 0,this.variation="default",this.language=l(),this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"},this.label=r(this.labelDefaults,this.language),this.labelHidden=!0,this.identifier=this.id,this.margin="auto",this.padding="auto",this.setTabIndex=!1,this.tabChangeConfirm=!1}async connectedCallback(){"undefined"!=typeof MutationObserver&&(this.mutationO=new MutationObserver((()=>{this.updateTabs()})),this.mutationO.observe(this.element,{attributes:!0,attributeFilter:["label"],childList:!0,characterData:!0,subtree:!0})),await this.updateTabs()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){n(this)}componentDidLoad(){this.scrollToActive()}async openTab(t){if(t>=this.tabs.length)throw new Error(`[duet-tabs] Index ${t} is out of bounds of tabs length`);this.selected=t,this.tabs.forEach(((e,o)=>{e.selected=o===t})),this.scrollToActive();const e={value:t,component:"duet-tab-group"};this.duetChange.emit(e),this.duetTabChange.emit(e)}async refresh(){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.")}getTabs(){const t=Array.from(this.element.querySelectorAll("duet-tab")).filter((t=>t.closest("duet-tab-group")===this.element));if(0===t.length)throw new Error("[duet-tabs] Must have at least one tab");return t}getButtonId(t){return`${this.id}-button-${t}`}getTabId(t){return`${this.id}-tab-${t}`}getAccessibleDescription(t){return this.tabs[t].getAttribute("accessible-description")||null}async updateTabs(){this.selected=void 0,this.tabs=this.getTabs(),this.tabs.forEach(((t,e)=>{t.id=this.getTabId(e),t.setAttribute("aria-labelledby",this.getButtonId(e)),t.selected&&(void 0===this.selected?this.selected=e:t.selected=!1)})),void 0===this.selected&&(this.selected=0,this.tabs[0].selected=!0)}render(){const t="checked"===this.variation||"plain-scrolling"===this.variation;return e("div",{class:{"duet-tab-group":!0,"duet-theme-turva":"turva"===this.theme,["plain-scrolling"===this.variation?"duet-tab-variation-plain":`duet-tab-variation-${this.variation}`]:!0,"duet-tab-plain-scrolling":"plain-scrolling"===this.variation,"duet-tab-group-scrolls":this.scrolls,"duet-tab-group-collapses":this.collapses},"aria-label":this.accessibleLabel},!t&&this.tabs.length>3&&this.collapses&&e("duet-select",{value:this.selected.toString(),expand:!0,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:t=>this.onTabSelect(Number(t.detail.value)),items:this.tabs.map(((t,e)=>({label:t.label,value:e.toString()})))}),e("div",{role:"tablist",class:{"duet-m-0":"none"===this.margin||"checked"===this.variation,"duet-tab-group-tabs":!0,"duet-tab-group-hidden":this.tabs.length>3&&!t,"duet-tab-group-collapses":this.collapses},ref:t=>{this.tabsContainer=t}},this.renderTab()),e("div",{role:"tabpanel",tabindex:this.setTabIndex?null:"0",class:{"duet-tab-group-content":!0,"duet-m-0":"none"===this.margin,"checked-group-content":"checked"===this.variation}},e("slot",null)))}get element(){return a(this)}};k.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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;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.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-theme-turva .duet-tab-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);border-color:rgb(228, 228, 230)}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}.duet-theme-turva .duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';export{g as duet_scrollable,m as duet_tab,k as duet_tab_group}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-d7159142.system.js","./p-33b3aba4.system.js","./p-71a46879.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var t,o,r,i,n,a;return{setters:[function(e){t=e.r;o=e.h;r=e.H;i=e.g},function(e){n=e.i},function(e){a=e.g},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var l=e("duet_promo_card",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}e.prototype.componentWillLoad=function(){n(this);this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]');this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};e.prototype.render=function(){var e=a(this.backgroundColor,this.theme);var t={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return o(r,{class:{"duet-m-0":this.margin==="none"}},o("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor},style:t},o(i,{href:this.url,class:"content-wrapper"},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("slot",{name:"heading"}))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("slot",{name:"description"}))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=s}}}));
4
+ System.register(["./p-4bc792ef.system.js","./p-33b3aba4.system.js","./p-71a46879.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var t,o,r,i,n,a;return{setters:[function(e){t=e.r;o=e.h;r=e.H;i=e.g},function(e){n=e.i},function(e){a=e.g},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var l=e("duet_promo_card",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}e.prototype.componentWillLoad=function(){n(this);this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]');this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};e.prototype.render=function(){var e=a(this.backgroundColor,this.theme);var t={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return o(r,{class:{"duet-m-0":this.margin==="none"}},o("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor},style:t},o(i,{href:this.url,class:"content-wrapper"},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("slot",{name:"heading"}))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("slot",{name:"description"}))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=s}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,o,n){function i(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,a){function l(e){try{r(n.next(e))}catch(e){a(e)}}function s(e){try{r(n["throw"](e))}catch(e){a(e)}}function r(e){e.done?o(e.value):i(e.value).then(l,s)}r((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return r([e,t])}}function r(s){if(n)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(o=0)),o)try{if(n=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;i=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(a=o.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(s[0]===6&&o.label<a[1]){o.label=a[1];a=s;break}if(a&&o.label<a[2]){o.label=a[2];o.ops.push(s);break}if(a[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d7159142.system.js","./p-33b3aba4.system.js","./p-f4a6807b.system.js","./p-43660fa9.system.js","./p-71a46879.system.js","./p-b6d51921.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var t,o,n,i,a,l,s,r,u,c,p;return{setters:[function(e){t=e.r;o=e.h;n=e.H;i=e.g},function(e){a=e.i},function(e){l=e.F},function(e){s=e.a;r=e.c;u=e.d;c=e.g},function(e){p=e.g},function(){},function(){}],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;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .top span{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var f=e("duet_slideout_panel",function(){function e(e){var o=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.updateLabel=function(){var e=o.element.querySelector("[slot='label']");o.label=e};this.onToggleClick=function(){var e=!o.open;o.open=e;if(e){setTimeout((function(){o.closeButton.focus()}),200)}else{setTimeout((function(){o.openButton.focus()}),200)}};this.onCloseClick=function(e){e.stopPropagation();var t=o.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var n=o.element.parentElement;n.toggle()}};this.label=undefined;this.language=s();this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest"}e.prototype.componentWillLoad=function(){a(this);this.updateLabel()};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(o){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var i=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var a={background:p(i,this.theme)};var s=c(this.exitLangObject);var r=c(this.backLangObject);return o(n,null,o("div",{class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},o("button",{ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onToggleClick},this.icon&&o("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),o("div",{class:"label"},o("span",{class:(e={"label-text":true},e[this.labelSize]=true,e)},o("slot",{name:"label"})),o("duet-icon",{class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),o("div",{class:{dialog:true,hidden:!this.open},style:a},o(l,{moveFocusTo:this.closeButton}),o("div",{class:"top"},o("button",{ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(r),type:"button",class:{back:true},onClick:this.onToggleClick},o("duet-icon",{class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),o("span",null,this.label.innerHTML),o("button",{class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(s)},o("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),o("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},o("slot",null)),o(l,{moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());f.style=d}}}));
4
+ */System.register(["./p-4bc792ef.system.js","./p-33b3aba4.system.js","./p-7b966861.system.js","./p-43660fa9.system.js","./p-71a46879.system.js","./p-b6d51921.system.js","./p-8c6e3c4f.system.js"],(function(e){"use strict";var t,o,n,i,a,l,s,r,u,c,p;return{setters:[function(e){t=e.r;o=e.h;n=e.H;i=e.g},function(e){a=e.i},function(e){l=e.F},function(e){s=e.a;r=e.c;u=e.d;c=e.g},function(e){p=e.g},function(){},function(){}],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;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .top span{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var f=e("duet_slideout_panel",function(){function e(e){var o=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.updateLabel=function(){var e=o.element.querySelector("[slot='label']");o.label=e};this.onToggleClick=function(){var e=!o.open;o.open=e;if(e){setTimeout((function(){o.closeButton.focus()}),200)}else{setTimeout((function(){o.openButton.focus()}),200)}};this.onCloseClick=function(e){e.stopPropagation();var t=o.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var n=o.element.parentElement;n.toggle()}};this.label=undefined;this.language=s();this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest"}e.prototype.componentWillLoad=function(){a(this);this.updateLabel()};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(o){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var i=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var a={background:p(i,this.theme)};var s=c(this.exitLangObject);var r=c(this.backLangObject);return o(n,null,o("div",{class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},o("button",{ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onToggleClick},this.icon&&o("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),o("div",{class:"label"},o("span",{class:(e={"label-text":true},e[this.labelSize]=true,e)},o("slot",{name:"label"})),o("duet-icon",{class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),o("div",{class:{dialog:true,hidden:!this.open},style:a},o(l,{moveFocusTo:this.closeButton}),o("div",{class:"top"},o("button",{ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(r),type:"button",class:{back:true},onClick:this.onToggleClick},o("duet-icon",{class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),o("span",null,this.label.innerHTML),o("button",{class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(s)},o("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),o("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},o("slot",null)),o(l,{moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());f.style=d}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,g as i,H as a}from"./p-b6d6d658.js";import{i as h}from"./p-4ebf1618.js";import{g as d}from"./p-a76ceaf6.js";import"./p-fd4785ab.js";const r=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.color=""}componentWillLoad(){h(this)}render(){const e=d(this.color);return t("div",{class:{"duet-m-0":"none"===this.margin,"duet-m-s":"small"===this.margin,"duet-divider":!0,"duet-theme-turva":"turva"===this.theme},style:{background:e}})}get element(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";const s=class{constructor(t){e(this,t),this.size="medium",this.direction="vertical",this.breakpoint=""}render(){return t(a,{class:{"duet-spacer":!0,"duet-spacer-xx-small":"xx-small"===this.breakpoint,"duet-spacer-x-small":"x-small"===this.breakpoint,"duet-spacer-small":"small"===this.breakpoint,"duet-spacer-medium":"medium"===this.breakpoint,"duet-spacer-large":"large"===this.breakpoint,"duet-spacer-x-large":"x-large"===this.breakpoint,"duet-spacer-xx-large":"xx-large"===this.breakpoint,[this.size]:!0,[`duet-spacer-${this.direction}`]:!0}})}};s.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";export{r as duet_divider,s as duet_spacer}
4
+ import{r as e,h as t,g as i,H as a}from"./p-d8529336.js";import{i as h}from"./p-4ebf1618.js";import{g as d}from"./p-a76ceaf6.js";import"./p-fd4785ab.js";const r=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.color=""}componentWillLoad(){h(this)}render(){const e=d(this.color);return t("div",{class:{"duet-m-0":"none"===this.margin,"duet-m-s":"small"===this.margin,"duet-divider":!0,"duet-theme-turva":"turva"===this.theme},style:{background:e}})}get element(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";const s=class{constructor(t){e(this,t),this.size="medium",this.direction="vertical",this.breakpoint=""}render(){return t(a,{class:{"duet-spacer":!0,"duet-spacer-xx-small":"xx-small"===this.breakpoint,"duet-spacer-x-small":"x-small"===this.breakpoint,"duet-spacer-small":"small"===this.breakpoint,"duet-spacer-medium":"medium"===this.breakpoint,"duet-spacer-large":"large"===this.breakpoint,"duet-spacer-x-large":"x-large"===this.breakpoint,"duet-spacer-xx-large":"xx-large"===this.breakpoint,[this.size]:!0,[`duet-spacer-${this.direction}`]:!0}})}};s.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";export{r as duet_divider,s as duet_spacer}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as o,F as i,g as r}from"./p-b6d6d658.js";import{a}from"./p-6fa39608.js";import{a as n}from"./p-f11208c3.js";import{D as d}from"./p-76f00bd5.js";import{i as s}from"./p-4ebf1618.js";import{a as l,g as p,c as m,d as u}from"./p-03baceb5.js";import{p as f}from"./p-5a9d75e1.js";const h={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}},c=(t,e)=>({component:"duet-footer",data:e,originalEvent:t}),g=class{constructor(o){t(this,o),this.duetChange=e(this,"duetChange",3),this.duetLogoClick=e(this,"duetLogoClick",7),this.duetMenuClick=e(this,"duetMenuClick",7),this.duetItemClick=e(this,"duetItemClick",7),this.duetAnalytics=e(this,"duetAnalytics",7),this.duetEvent=e(this,"duetEvent",7),this.handleClick=t=>{t.data.analyticsId&&this.duetAnalytics.emit({component:"duet-footer",analyticsId:t.data.analyticsId}),this.duetChange.emit(t)},this.handleLogoClick=t=>{const e=c(t,{href:this.logoHref,label:"logo"});this.duetLogoClick.emit(e),this.handleClick(e)},this.handleMenuClick=(t,e)=>{const o=c(t,e);this.handleClick(o),this.duetMenuClick.emit(o)},this.handleItemClick=(t,e)=>{const o=c(t,e);this.handleClick(o),this.duetItemClick.emit(o)},this.emitDuetEvent=(t,e)=>{this.duetEvent.emit({component:"duet-footer",data:e,originalEvent:t})},this.processedMainItem=null,this.processedItems=null,this.processedMenu=null,this.theme="",this.variation="default",this.margin="auto",this.logoHref="/",this.language=l(),this.items=void 0,this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults),this.menu=void 0}componentWillLoad(){s(this),this.refresh(),this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){u(this)}async refresh(){this.processedItems=f(this.items),this.processedMenu=f(this.menu)}renderFooterTop(){const t=o("div",{class:{"footer-top-logo":this.hasInfoSlot}},"simple"!==this.variation&&o("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:!0,language:this.language,theme:this.theme})),e=this.processedItems&&"simple"!==this.variation&&this.processedItems.map((t=>o("a",{class:"duet-footer-link",href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:e=>this.handleItemClick(e,t),onMouseEnter:e=>this.emitDuetEvent(e,t),onTouchStart:e=>this.emitDuetEvent(e,t)},o("div",{class:"duet-footer-icon"},o("duet-icon",{size:"medium",margin:"none",name:t.icon,color:"currentColor"})),o("span",null,t.label),!t.hideArrow&&o(i,null,t.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("div",{class:"duet-footer-arrow"},o("duet-icon",t.external?{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>',size:"xx-small",margin:"none",color:"currentColor"}:{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))));return o(i,null,t,this.hasInfoSlot?o("div",{class:"footer-top-right-container"},o("slot",{name:"info"}),o("div",{class:"footer-top-items"},e)):e)}render(){const t=p(h),e="turva"===this.theme?t.turva:t.lahi;return o("footer",{class:{"duet-footer":!0,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-footer-simple":"simple"===this.variation}},o("div",{class:"duet-footer-wrapper"},o("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),o("slot",{name:"extra"}),o("p",{class:"duet-footer-menu",part:"menu"},o("span",{class:"duet-footer-copyright"},`${e} ${(new Date).getFullYear()}`),o("div",{class:"duet-footer-menu-links"},this.processedMenu&&o(i,null,this.processedMenu.map((t=>o("a",{href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:e=>this.handleMenuClick(e,t),onMouseEnter:e=>this.emitDuetEvent(e,t),onTouchStart:e=>this.emitDuetEvent(e,t)},t.label,t.external&&o(i,null,o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("div",{class:"duet-footer-external"},o("duet-icon",{icon:n.svg,size:"xx-small",margin:"none",color:"currentColor"}))),o("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))))))),o("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},`${e} ${(new Date).getFullYear()}`)))}get element(){return r(this)}static get watchers(){return{menu:["refresh"],items:["refresh"]}}};g.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px rgb(255, 255, 255)}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;word-break:break-all}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';export{g as duet_footer}
4
+ import{r as t,c as e,h as o,F as i,g as r}from"./p-d8529336.js";import{a}from"./p-6fa39608.js";import{a as n}from"./p-f11208c3.js";import{D as d}from"./p-76f00bd5.js";import{i as s}from"./p-4ebf1618.js";import{a as l,g as p,c as m,d as u}from"./p-03baceb5.js";import{p as f}from"./p-5a9d75e1.js";const h={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}},c=(t,e)=>({component:"duet-footer",data:e,originalEvent:t}),g=class{constructor(o){t(this,o),this.duetChange=e(this,"duetChange",3),this.duetLogoClick=e(this,"duetLogoClick",7),this.duetMenuClick=e(this,"duetMenuClick",7),this.duetItemClick=e(this,"duetItemClick",7),this.duetAnalytics=e(this,"duetAnalytics",7),this.duetEvent=e(this,"duetEvent",7),this.handleClick=t=>{t.data.analyticsId&&this.duetAnalytics.emit({component:"duet-footer",analyticsId:t.data.analyticsId}),this.duetChange.emit(t)},this.handleLogoClick=t=>{const e=c(t,{href:this.logoHref,label:"logo"});this.duetLogoClick.emit(e),this.handleClick(e)},this.handleMenuClick=(t,e)=>{const o=c(t,e);this.handleClick(o),this.duetMenuClick.emit(o)},this.handleItemClick=(t,e)=>{const o=c(t,e);this.handleClick(o),this.duetItemClick.emit(o)},this.emitDuetEvent=(t,e)=>{this.duetEvent.emit({component:"duet-footer",data:e,originalEvent:t})},this.processedMainItem=null,this.processedItems=null,this.processedMenu=null,this.theme="",this.variation="default",this.margin="auto",this.logoHref="/",this.language=l(),this.items=void 0,this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults),this.menu=void 0}componentWillLoad(){s(this),this.refresh(),this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){u(this)}async refresh(){this.processedItems=f(this.items),this.processedMenu=f(this.menu)}renderFooterTop(){const t=o("div",{class:{"footer-top-logo":this.hasInfoSlot}},"simple"!==this.variation&&o("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:!0,language:this.language,theme:this.theme})),e=this.processedItems&&"simple"!==this.variation&&this.processedItems.map((t=>o("a",{class:"duet-footer-link",href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:e=>this.handleItemClick(e,t),onMouseEnter:e=>this.emitDuetEvent(e,t),onTouchStart:e=>this.emitDuetEvent(e,t)},o("div",{class:"duet-footer-icon"},o("duet-icon",{size:"medium",margin:"none",name:t.icon,color:"currentColor"})),o("span",null,t.label),!t.hideArrow&&o(i,null,t.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("div",{class:"duet-footer-arrow"},o("duet-icon",t.external?{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>',size:"xx-small",margin:"none",color:"currentColor"}:{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))));return o(i,null,t,this.hasInfoSlot?o("div",{class:"footer-top-right-container"},o("slot",{name:"info"}),o("div",{class:"footer-top-items"},e)):e)}render(){const t=p(h),e="turva"===this.theme?t.turva:t.lahi;return o("footer",{class:{"duet-footer":!0,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-footer-simple":"simple"===this.variation}},o("div",{class:"duet-footer-wrapper"},o("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),o("slot",{name:"extra"}),o("p",{class:"duet-footer-menu",part:"menu"},o("span",{class:"duet-footer-copyright"},`${e} ${(new Date).getFullYear()}`),o("div",{class:"duet-footer-menu-links"},this.processedMenu&&o(i,null,this.processedMenu.map((t=>o("a",{href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:e=>this.handleMenuClick(e,t),onMouseEnter:e=>this.emitDuetEvent(e,t),onTouchStart:e=>this.emitDuetEvent(e,t)},t.label,t.external&&o(i,null,o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("div",{class:"duet-footer-external"},o("duet-icon",{icon:n.svg,size:"xx-small",margin:"none",color:"currentColor"}))),o("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))))))),o("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},`${e} ${(new Date).getFullYear()}`)))}get element(){return r(this)}static get watchers(){return{menu:["refresh"],items:["refresh"]}}};g.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px rgb(255, 255, 255)}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;word-break:break-all}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';export{g as duet_footer}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as i,H as n,g as o}from"./p-b6d6d658.js";import{a,c as r}from"./p-b519ac77.js";import{i as s}from"./p-4ebf1618.js";const h=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.mql=[window.matchMedia(a.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,""))],this.boundMqlFunctions=[],this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.changeLogoSize=()=>{this.logoSize=this.mql[1].matches?"large":"medium"},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.theme="",this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.accessibleLabel=void 0}componentWillLoad(){s(this);const e=Array.from(this.element.children);for(const t of e)if("center"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem");else if("right"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem")}connectedCallback(){this.changeLogoSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeLogoSize.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=[]}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(n,null,i("nav",{class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo},"aria-label":this.accessibleLabel},i("div",{class:"top"}),i("div",{class:{container:!0},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",null,i("duet-logo",{size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick})),i("div",{class:"list center",role:"list"},i("div",{class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{name:"center"}),i("div",{class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{class:"list right",role:"list"},i("slot",{name:"right"}))),i("div",{class:"bottom"})))}get element(){return o(this)}};h.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.duet-menu-bar{display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(117, 117, 117, 0.15)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128)}.duet-theme-turva .right{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)}';export{h as duet_menu_bar}
4
+ import{r as e,c as t,h as i,H as n,g as o}from"./p-d8529336.js";import{a,c as r}from"./p-b519ac77.js";import{i as s}from"./p-4ebf1618.js";const h=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.mql=[window.matchMedia(a.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,""))],this.boundMqlFunctions=[],this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.changeLogoSize=()=>{this.logoSize=this.mql[1].matches?"large":"medium"},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.theme="",this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.accessibleLabel=void 0}componentWillLoad(){s(this);const e=Array.from(this.element.children);for(const t of e)if("center"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem");else if("right"===t.getAttribute("slot"))for(const e of Array.from(t.children))e.setAttribute("role","listitem")}connectedCallback(){this.changeLogoSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeLogoSize.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=[]}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(n,null,i("nav",{class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo},"aria-label":this.accessibleLabel},i("div",{class:"top"}),i("div",{class:{container:!0},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",null,i("duet-logo",{size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick})),i("div",{class:"list center",role:"list"},i("div",{class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{name:"center"}),i("div",{class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{class:"list right",role:"list"},i("slot",{name:"right"}))),i("div",{class:"bottom"})))}get element(){return o(this)}};h.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.duet-menu-bar{display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(117, 117, 117, 0.15)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128)}.duet-theme-turva .right{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)}';export{h as duet_menu_bar}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.4"};let n,l,s,o=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",$="sty-id",d="c-id",h="http://www.w3.org/1999/xlink",m={},p=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!p(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,g);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=s,u.u=o,u},w=(e,t)=>({$:0,h:e,t,m:null,o:null,l:null,i:null,u:null}),v={},g={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(j)},k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),j=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},O=(e,t,n,l,s,o,i)=>{let c,r,f,u;if(1===o.nodeType){for(c=o.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],v:r[1],g:r[2],k:r[3],h:o.tagName.toLowerCase(),m:o,l:null,o:null,i:null,u:null,t:null},t.push(f),o.removeAttribute(d),e.o||(e.o=[]),e.o[f.k]=f,e=f,l&&"0"===f.g&&(l[f.k]=f.m))),u=o.childNodes.length-1;u>=0;u--)O(e,t,n,l,s,o.childNodes[u],i);if(o.shadowRoot)for(u=o.shadowRoot.childNodes.length-1;u>=0;u--)O(e,t,n,l,s,o.shadowRoot.childNodes[u],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],v:r[2],g:r[3],k:r[4],m:o,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(f.m=o.nextSibling,f.m&&3===f.m.nodeType&&(f.t=f.m.textContent,t.push(f),o.remove(),e.o||(e.o=[]),e.o[f.k]=f,l&&"0"===f.g&&(l[f.k]=f.m))):f.p===i&&("s"===c?(f.h="slot",o["s-sn"]=r[5]?f.u=r[5]:"",o["s-sr"]=!0,l&&(f.m=Re.createElement(f.h),f.u&&f.m.setAttribute("name",f.u),o.parentNode.insertBefore(f.m,o),o.remove(),"0"===f.g&&(l[f.k]=f.m)),n.push(f),e.o||(e.o=[]),e.o[f.k]=f):"r"===c&&(l?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,o.textContent);t.m=o,t.k="0",e.o=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},x=e=>ve(e).j,C=(e,t,n)=>{const l=x(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Ie.ce(t,n);return e.dispatchEvent(l),l},R=new WeakMap,I=(e,t,n)=>{let l=Ce.get(e);Pe&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ce.set(e,l)},N=(e,t)=>{var n;let l=E(t);const s=Ce.get(l);if(e=11===e.nodeType?e:Re,s)if("string"==typeof s){let t,o=R.get(e=e.head||e);if(o||R.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${$}="${l}"]`)))t.innerHTML=s;else{t=Re.createElement("style"),t.innerHTML=s;const l=null!==(n=Ie.O)&&void 0!==n?n:y(Re);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},E=e=>"sc-"+e.S,P=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),T=(e,t,n,l,s,o)=>{if(n!==l){let i=je(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=U(n),o=U(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=p(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&o||s)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):je(Me,c)?c.slice(2):c[2]+t.slice(3),n&&Ie.rel(e,t,n,!1),l&&Ie.ael(e,t,l,!1)}},L=/\s/,U=e=>e?e.split(L):[],D=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.l||m,i=t.l||m;for(l in o)l in i||T(s,l,o[l],void 0,n,t.$);for(l in i)T(s,l,o[l],i[l],n,t.$)},F=(e,t,i,f)=>{const u=t.o[i];let a,$,d,h=0;if(o||(c=!0,"slot"===u.h&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.m=Re.createTextNode(u.t);else if(1&u.$)a=u.m=Re.createTextNode("");else{if(r||(r="svg"===u.h),a=u.m=Re.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.h),r&&"foreignObject"===u.h&&(r=!1),D(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(h=0;h<u.o.length;++h)$=F(e,u,h,a),$&&a.appendChild($);"svg"===u.h?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=s,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",d=e&&e.o&&e.o[i],d&&d.h===u.h&&e.m&&W(e.m,!1)),a},W=(e,t)=>{Ie.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==s&&l["s-ol"]&&(q(l).insertBefore(l,V(l)),l["s-ol"].remove(),l["s-ol"]=void 0,c=!0),t&&W(l,t)}Ie.$&=-2},A=(e,t,n,l,o,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===s&&(r=r.shadowRoot);o<=i;++o)l[o]&&(c=F(null,n,o,e),c&&(l[o].m=c,r.insertBefore(c,V(t))))},B=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.m,Q(l),i=!0,s["s-ol"]?s["s-ol"].remove():W(s,!0),s.remove())},H=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),V=e=>e&&e["s-ol"]||e,q=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t)=>{const n=t.m=e.m,l=e.o,s=t.o,o=t.h,i=t.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||D(e,t,r),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,f=0,u=t.length-1,a=t[0],$=t[u],d=l.length-1,h=l[0],m=l[d];for(;i<=u&&c<=d;)if(null==a)a=t[++i];else if(null==$)$=t[--u];else if(null==h)h=l[++c];else if(null==m)m=l[--d];else if(H(a,h))_(a,h),a=t[++i],h=l[++c];else if(H($,m))_($,m),$=t[--u],m=l[--d];else if(H(a,m))"slot"!==a.h&&"slot"!==m.h||W(a.m.parentNode,!1),_(a,m),e.insertBefore(a.m,$.m.nextSibling),a=t[++i],m=l[--d];else if(H($,h))"slot"!==a.h&&"slot"!==m.h||W($.m.parentNode,!1),_($,h),e.insertBefore($.m,a.m),$=t[--u],h=l[++c];else{for(r=-1,f=i;f<=u;++f)if(t[f]&&null!==t[f].i&&t[f].i===h.i){r=f;break}r>=0?(o=t[r],o.h!==h.h?s=F(t&&t[c],n,r,e):(_(o,h),t[r]=void 0,s=o.m),h=l[++c]):(s=F(t&&t[c],n,c,e),h=l[++c]),s&&q(a.m).insertBefore(s,V(a.m))}i>u?A(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&B(t,i,u)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),A(n,null,t,s,0,s.length-1)):null!==l&&B(l,0,l.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},z=e=>{const t=e.childNodes;let n,l,s,o,i,c;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(c=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],J=e=>{let t,n,l,s,o,c,r=0;const f=e.childNodes,u=f.length;for(;r<u;r++){if(t=f[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=G.find((e=>e.C===n)),i=!0,n["s-sn"]=n["s-sn"]||s,o?o.M=t:G.push({M:t,C:n}),n["s-sr"]&&G.map((e=>{K(e.C,n["s-sn"])&&(o=G.find((e=>e.C===n)),o&&!e.M&&(e.M=o.M))}))):G.some((e=>e.C===n))||G.push({C:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Q)},X=(e,t)=>{t&&!e.R&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.R=t)))},Y=(e,t)=>{if(e.$|=16,!(4&e.$))return X(e,e.I),Ae((()=>Z(e,t)));e.$|=512},Z=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>se(n,e,t))),e.P=null),l=se(n,"componentWillLoad")),l=oe(l,(()=>se(n,"componentWillRender"))),oe(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.T,n=e.j,l=t.$,s=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},te=(e,t)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t)=>{const r=e.j,f=e.T,u=e.L||w(null,null),a=(e=>e&&e.h===v)(t)?t:b(null,null,t);if(s=r.tagName,f.U&&(a.l=a.l||{},f.U.map((([e,t])=>a.l[t]=r[e]))),a.h=null,a.$|=4,e.L=a,a.m=u.m=r.shadowRoot||r,n=r["s-sc"],l=r["s-cr"],o=0!=(1&f.$),i=!1,_(u,a),Ie.$|=1,c){let e,t,n,l,s,o;J(a.m);let i=0;for(;i<G.length;i++)e=G[i],t=e.C,t["s-ol"]||(n=Re.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.C,e.M){for(l=e.M.parentNode,s=e.M.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}i&&z(a.m),Ie.$&=-2,G.length=0})(e,t)}catch(t){Oe(t,e.j)}return null},ne=e=>{const t=e.j,n=e.N,l=e.I;se(n,"componentDidRender"),64&e.$?se(n,"componentDidUpdate"):(e.$|=64,ie(t),se(n,"componentDidLoad"),e.D(t),l||le()),e.F(t),e.R&&(e.R(),e.R=void 0),512&e.$&&We((()=>Y(e,!1))),e.$&=-517},le=()=>{ie(Re.documentElement),We((()=>M(Me,"appload",{detail:{namespace:e}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Oe(e)}},oe=(e,t)=>e&&e.then?e.then(t):t(),ie=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.W){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.W),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ve(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ve(e),o=s.j,i=s.B.get(t),c=s.$,r=s.N;if(n=((e,t)=>null==e||p(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.W[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.B.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Oe(e,o)}}))}2==(18&c)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ve(this);return n.H.then((()=>n.N[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){Ie.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.U.push([e,s]),s}))}}return e},re=e=>{se(e,"connectedCallback")},fe=e=>{if(0==(1&Ie.$)){const t=ve(e),n=t.T,l=()=>{};if(1&t.$)he(e,t,n.V),re(t.N);else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.L=w(t,null);Ie.q||S(Re.body,Ie.q=new Map),e[a]=n,e.removeAttribute(a),O(c,o,[],i,e,e,n),o.map((e=>{const n=e.p+"."+e.v,l=Ie.q.get(n),o=e.m;l&&Ne&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),Ie.q.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ue(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){X(t,t.I=n);break}}n.W&&Object.entries(n.W).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),We((()=>(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=xe(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,ce(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){Oe(e)}t.$&=-9,t.$|=128,e(),re(t.N)}if(s.style){let e=s.style;const t=E(n);if(!Ce.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}},ue=e=>{const t=e["s-cr"]=Re.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ae=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Ie.$)&&2&ve(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},$e=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=Me.customElements,i=Re.head,c=i.querySelector("meta[charset]"),r=Re.createElement("style"),f=[],u=Re.querySelectorAll(`[${$}]`);let a,d=!0,h=0;for(Object.assign(Ie,t),Ie._=new URL(t.resourcesUrl||"./",Re.baseURI).href,Ie.$|=2;h<u.length;h++)I(u[h].getAttribute($),P(u[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],S:t[1],W:t[2],V:t[3]};n.W=t[2],n.V=t[3],n.U=[],n.A={};const i=n.S,c=class extends HTMLElement{constructor(e){super(e),ke(e=this,n),1&n.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)}),ae(e,n)}connectedCallback(){a&&(clearTimeout(a),a=null),d?f.push(this):Ie.jmp((()=>fe(this)))}disconnectedCallback(){Ie.jmp((()=>(()=>{if(0==(1&Ie.$)){const e=ve(this),t=e.N;e.G&&(e.G.map((e=>e())),e.G=void 0),se(t,"disconnectedCallback")}})()))}componentOnReady(){return ve(this).J}};n.K=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,ce(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=Ie.O)&&void 0!==n?n:y(Re);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((e=>e.connectedCallback())):Ie.jmp((()=>a=setTimeout(le,30)))},de=(e,t)=>t,he=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=pe(e,n),i=me(t,s),c=ye(n);Ie.ael(o,l,i,c),(t.G=t.G||[]).push((()=>Ie.rel(o,l,i,c)))}))},me=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Oe(e)}},pe=(e,t)=>4&t?Re:8&t?Me:16&t?Re.body:e,ye=e=>0!=(2&e),be=e=>Ie.O=e,we=new WeakMap,ve=e=>we.get(e),ge=(e,t)=>we.set(t.N=e,t),ke=(e,t)=>{const n={$:0,j:e,T:t,B:new Map};return n.H=new Promise((e=>n.F=e)),n.J=new Promise((e=>n.D=e)),e["s-p"]=[],e["s-rc"]=[],he(e,n,t.V),we.set(e,n)},je=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),Se=new Map,xe=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Se.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Se.set(n,e),e[t])),Oe)
4
+ const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.6"};let n,l,s,o=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",$="sty-id",d="c-id",h="http://www.w3.org/1999/xlink",m={},p=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!p(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,g);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=s,u.u=o,u},w=(e,t)=>({$:0,h:e,t,m:null,o:null,l:null,i:null,u:null}),v={},g={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(j)},k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),j=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},O=(e,t,n,l,s,o,i)=>{let c,r,f,u;if(1===o.nodeType){for(c=o.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],v:r[1],g:r[2],k:r[3],h:o.tagName.toLowerCase(),m:o,l:null,o:null,i:null,u:null,t:null},t.push(f),o.removeAttribute(d),e.o||(e.o=[]),e.o[f.k]=f,e=f,l&&"0"===f.g&&(l[f.k]=f.m))),u=o.childNodes.length-1;u>=0;u--)O(e,t,n,l,s,o.childNodes[u],i);if(o.shadowRoot)for(u=o.shadowRoot.childNodes.length-1;u>=0;u--)O(e,t,n,l,s,o.shadowRoot.childNodes[u],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],v:r[2],g:r[3],k:r[4],m:o,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(f.m=o.nextSibling,f.m&&3===f.m.nodeType&&(f.t=f.m.textContent,t.push(f),o.remove(),e.o||(e.o=[]),e.o[f.k]=f,l&&"0"===f.g&&(l[f.k]=f.m))):f.p===i&&("s"===c?(f.h="slot",o["s-sn"]=r[5]?f.u=r[5]:"",o["s-sr"]=!0,l&&(f.m=Re.createElement(f.h),f.u&&f.m.setAttribute("name",f.u),o.parentNode.insertBefore(f.m,o),o.remove(),"0"===f.g&&(l[f.k]=f.m)),n.push(f),e.o||(e.o=[]),e.o[f.k]=f):"r"===c&&(l?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,o.textContent);t.m=o,t.k="0",e.o=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},x=e=>ve(e).j,C=(e,t,n)=>{const l=x(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Ie.ce(t,n);return e.dispatchEvent(l),l},R=new WeakMap,I=(e,t,n)=>{let l=Ce.get(e);Pe&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ce.set(e,l)},N=(e,t)=>{var n;let l=E(t);const s=Ce.get(l);if(e=11===e.nodeType?e:Re,s)if("string"==typeof s){let t,o=R.get(e=e.head||e);if(o||R.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${$}="${l}"]`)))t.innerHTML=s;else{t=Re.createElement("style"),t.innerHTML=s;const l=null!==(n=Ie.O)&&void 0!==n?n:y(Re);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},E=e=>"sc-"+e.S,P=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),T=(e,t,n,l,s,o)=>{if(n!==l){let i=je(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=U(n),o=U(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=p(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&o||s)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):je(Me,c)?c.slice(2):c[2]+t.slice(3),n&&Ie.rel(e,t,n,!1),l&&Ie.ael(e,t,l,!1)}},L=/\s/,U=e=>e?e.split(L):[],D=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.l||m,i=t.l||m;for(l in o)l in i||T(s,l,o[l],void 0,n,t.$);for(l in i)T(s,l,o[l],i[l],n,t.$)},F=(e,t,i,f)=>{const u=t.o[i];let a,$,d,h=0;if(o||(c=!0,"slot"===u.h&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.m=Re.createTextNode(u.t);else if(1&u.$)a=u.m=Re.createTextNode("");else{if(r||(r="svg"===u.h),a=u.m=Re.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.h),r&&"foreignObject"===u.h&&(r=!1),D(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(h=0;h<u.o.length;++h)$=F(e,u,h,a),$&&a.appendChild($);"svg"===u.h?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=s,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",d=e&&e.o&&e.o[i],d&&d.h===u.h&&e.m&&W(e.m,!1)),a},W=(e,t)=>{Ie.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==s&&l["s-ol"]&&(q(l).insertBefore(l,V(l)),l["s-ol"].remove(),l["s-ol"]=void 0,c=!0),t&&W(l,t)}Ie.$&=-2},A=(e,t,n,l,o,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===s&&(r=r.shadowRoot);o<=i;++o)l[o]&&(c=F(null,n,o,e),c&&(l[o].m=c,r.insertBefore(c,V(t))))},B=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.m,Q(l),i=!0,s["s-ol"]?s["s-ol"].remove():W(s,!0),s.remove())},H=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),V=e=>e&&e["s-ol"]||e,q=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t)=>{const n=t.m=e.m,l=e.o,s=t.o,o=t.h,i=t.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||D(e,t,r),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,f=0,u=t.length-1,a=t[0],$=t[u],d=l.length-1,h=l[0],m=l[d];for(;i<=u&&c<=d;)if(null==a)a=t[++i];else if(null==$)$=t[--u];else if(null==h)h=l[++c];else if(null==m)m=l[--d];else if(H(a,h))_(a,h),a=t[++i],h=l[++c];else if(H($,m))_($,m),$=t[--u],m=l[--d];else if(H(a,m))"slot"!==a.h&&"slot"!==m.h||W(a.m.parentNode,!1),_(a,m),e.insertBefore(a.m,$.m.nextSibling),a=t[++i],m=l[--d];else if(H($,h))"slot"!==a.h&&"slot"!==m.h||W($.m.parentNode,!1),_($,h),e.insertBefore($.m,a.m),$=t[--u],h=l[++c];else{for(r=-1,f=i;f<=u;++f)if(t[f]&&null!==t[f].i&&t[f].i===h.i){r=f;break}r>=0?(o=t[r],o.h!==h.h?s=F(t&&t[c],n,r,e):(_(o,h),t[r]=void 0,s=o.m),h=l[++c]):(s=F(t&&t[c],n,c,e),h=l[++c]),s&&q(a.m).insertBefore(s,V(a.m))}i>u?A(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&B(t,i,u)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),A(n,null,t,s,0,s.length-1)):null!==l&&B(l,0,l.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},z=e=>{const t=e.childNodes;let n,l,s,o,i,c;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(c=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],J=e=>{let t,n,l,s,o,c,r=0;const f=e.childNodes,u=f.length;for(;r<u;r++){if(t=f[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=G.find((e=>e.C===n)),i=!0,n["s-sn"]=n["s-sn"]||s,o?o.M=t:G.push({M:t,C:n}),n["s-sr"]&&G.map((e=>{K(e.C,n["s-sn"])&&(o=G.find((e=>e.C===n)),o&&!e.M&&(e.M=o.M))}))):G.some((e=>e.C===n))||G.push({C:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Q)},X=(e,t)=>{t&&!e.R&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.R=t)))},Y=(e,t)=>{if(e.$|=16,!(4&e.$))return X(e,e.I),Ae((()=>Z(e,t)));e.$|=512},Z=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>se(n,e,t))),e.P=null),l=se(n,"componentWillLoad")),l=oe(l,(()=>se(n,"componentWillRender"))),oe(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.T,n=e.j,l=t.$,s=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},te=(e,t)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t)=>{const r=e.j,f=e.T,u=e.L||w(null,null),a=(e=>e&&e.h===v)(t)?t:b(null,null,t);if(s=r.tagName,f.U&&(a.l=a.l||{},f.U.map((([e,t])=>a.l[t]=r[e]))),a.h=null,a.$|=4,e.L=a,a.m=u.m=r.shadowRoot||r,n=r["s-sc"],l=r["s-cr"],o=0!=(1&f.$),i=!1,_(u,a),Ie.$|=1,c){let e,t,n,l,s,o;J(a.m);let i=0;for(;i<G.length;i++)e=G[i],t=e.C,t["s-ol"]||(n=Re.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.C,e.M){for(l=e.M.parentNode,s=e.M.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}i&&z(a.m),Ie.$&=-2,G.length=0})(e,t)}catch(t){Oe(t,e.j)}return null},ne=e=>{const t=e.j,n=e.N,l=e.I;se(n,"componentDidRender"),64&e.$?se(n,"componentDidUpdate"):(e.$|=64,ie(t),se(n,"componentDidLoad"),e.D(t),l||le()),e.F(t),e.R&&(e.R(),e.R=void 0),512&e.$&&We((()=>Y(e,!1))),e.$&=-517},le=()=>{ie(Re.documentElement),We((()=>M(Me,"appload",{detail:{namespace:e}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Oe(e)}},oe=(e,t)=>e&&e.then?e.then(t):t(),ie=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.W){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.W),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ve(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ve(e),o=s.j,i=s.B.get(t),c=s.$,r=s.N;if(n=((e,t)=>null==e||p(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.W[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.B.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Oe(e,o)}}))}2==(18&c)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ve(this);return n.H.then((()=>n.N[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){Ie.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.U.push([e,s]),s}))}}return e},re=e=>{se(e,"connectedCallback")},fe=e=>{if(0==(1&Ie.$)){const t=ve(e),n=t.T,l=()=>{};if(1&t.$)he(e,t,n.V),re(t.N);else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.L=w(t,null);Ie.q||S(Re.body,Ie.q=new Map),e[a]=n,e.removeAttribute(a),O(c,o,[],i,e,e,n),o.map((e=>{const n=e.p+"."+e.v,l=Ie.q.get(n),o=e.m;l&&Ne&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),Ie.q.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ue(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){X(t,t.I=n);break}}n.W&&Object.entries(n.W).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),We((()=>(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=xe(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,ce(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(e){Oe(e)}t.$&=-9,t.$|=128,e(),re(t.N)}if(s.style){let e=s.style;const t=E(n);if(!Ce.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}},ue=e=>{const t=e["s-cr"]=Re.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ae=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Ie.$)&&2&ve(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},$e=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=Me.customElements,i=Re.head,c=i.querySelector("meta[charset]"),r=Re.createElement("style"),f=[],u=Re.querySelectorAll(`[${$}]`);let a,d=!0,h=0;for(Object.assign(Ie,t),Ie._=new URL(t.resourcesUrl||"./",Re.baseURI).href,Ie.$|=2;h<u.length;h++)I(u[h].getAttribute($),P(u[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],S:t[1],W:t[2],V:t[3]};n.W=t[2],n.V=t[3],n.U=[],n.A={};const i=n.S,c=class extends HTMLElement{constructor(e){super(e),ke(e=this,n),1&n.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)}),ae(e,n)}connectedCallback(){a&&(clearTimeout(a),a=null),d?f.push(this):Ie.jmp((()=>fe(this)))}disconnectedCallback(){Ie.jmp((()=>(()=>{if(0==(1&Ie.$)){const e=ve(this),t=e.N;e.G&&(e.G.map((e=>e())),e.G=void 0),se(t,"disconnectedCallback")}})()))}componentOnReady(){return ve(this).J}};n.K=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,ce(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=Ie.O)&&void 0!==n?n:y(Re);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((e=>e.connectedCallback())):Ie.jmp((()=>a=setTimeout(le,30)))},de=(e,t)=>t,he=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=pe(e,n),i=me(t,s),c=ye(n);Ie.ael(o,l,i,c),(t.G=t.G||[]).push((()=>Ie.rel(o,l,i,c)))}))},me=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Oe(e)}},pe=(e,t)=>4&t?Re:8&t?Me:16&t?Re.body:e,ye=e=>0!=(2&e),be=e=>Ie.O=e,we=new WeakMap,ve=e=>we.get(e),ge=(e,t)=>we.set(t.N=e,t),ke=(e,t)=>{const n={$:0,j:e,T:t,B:new Map};return n.H=new Promise((e=>n.F=e)),n.J=new Promise((e=>n.D=e)),e["s-p"]=[],e["s-rc"]=[],he(e,n,t.V),we.set(e,n)},je=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),Se=new Map,xe=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Se.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Se.set(n,e),e[t])),Oe)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ce=new Map,Me="undefined"!=typeof window?window:{},Re=Me.document||{head:{}},Ie={$:0,_:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ne=!0,Ee=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Te=[],Le=[],Ue=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Ie.$?We(Fe):Ie.raf(Fe))},De=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Oe(e)}e.length=0},Fe=()=>{De(Te),De(Le),(f=Te.length>0)&&Ie.raf(Fe)},We=e=>Ee().then(e),Ae=Ue(Le,!0);export{u as B,t as E,de as F,v as H,e as N,$e as b,C as c,Re as d,x as g,b as h,Ee as p,ge as r,be as s}