@duetds/components 8.5.0 → 8.5.2

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 (644) hide show
  1. package/hydrate/index.js +270 -197
  2. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +29 -6
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  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 +4 -2
  11. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +20 -36
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +72 -60
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  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 +2 -2
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-modal.cjs.entry.js +21 -22
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-overlay.cjs.entry.js +5 -5
  46. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-popup-menu.cjs.entry.js +13 -7
  50. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-slideout.cjs.entry.js +15 -7
  64. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -15
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +6 -22
  79. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +2 -2
  84. package/lib/cjs/{floating-ui.dom.esm-91f66430.js → floating-ui.dom.esm-806e7c53.js} +69 -0
  85. package/lib/cjs/{focus-utils-d5ff73a3.js → focus-utils-0a3cc66a.js} +1 -1
  86. package/lib/cjs/{index-55b9eb77.js → index-16863efb.js} +1 -1
  87. package/lib/cjs/{keyboard-utils-66ecb5d6.js → keyboard-utils-681e11ec.js} +2 -1
  88. package/lib/cjs/loader.cjs.js +2 -2
  89. package/lib/cjs/{teleport-6a1f83a1.js → teleport-a2fa9434.js} +37 -29
  90. package/lib/collection/collection-manifest.json +1 -1
  91. package/lib/collection/components/duet-banner/duet-banner.css +4 -134
  92. package/lib/collection/components/duet-banner/duet-banner.js +43 -9
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -1
  94. package/lib/collection/components/duet-choice/duet-choice.css +43 -12
  95. package/lib/collection/components/duet-choice/duet-choice.js +18 -56
  96. package/lib/collection/components/duet-combobox/duet-combobox.css +2 -6
  97. package/lib/collection/components/duet-combobox/duet-combobox.js +70 -58
  98. package/lib/collection/components/duet-fieldset/duet-fieldset.js +4 -4
  99. package/lib/collection/components/duet-hero/duet-hero.js +1 -1
  100. package/lib/collection/components/duet-icon/duet-icon.css +2 -0
  101. package/lib/collection/components/duet-link/duet-link.css +4 -0
  102. package/lib/collection/components/duet-link/duet-link.js +26 -0
  103. package/lib/collection/components/duet-modal/duet-modal.css +11 -6
  104. package/lib/collection/components/duet-modal/duet-modal.e2e.js +1 -34
  105. package/lib/collection/components/duet-modal/duet-modal.js +21 -19
  106. package/lib/collection/components/duet-overlay/duet-overlay.css +8 -1
  107. package/lib/collection/components/duet-overlay/duet-overlay.js +11 -11
  108. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -2
  109. package/lib/collection/components/duet-slideout/duet-slideout.js +11 -3
  110. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -15
  111. package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -32
  112. package/lib/collection/utils/keyboard-utils.js +2 -1
  113. package/lib/collection/utils/teleport.js +37 -29
  114. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  115. package/lib/dist-custom-elements/duet-alert.js +1 -1
  116. package/lib/dist-custom-elements/duet-badge.js +1 -1
  117. package/lib/dist-custom-elements/duet-banner.js +33 -9
  118. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  119. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  120. package/lib/dist-custom-elements/duet-button.js +1 -1
  121. package/lib/dist-custom-elements/duet-callout.js +2 -2
  122. package/lib/dist-custom-elements/duet-caption.js +1 -1
  123. package/lib/dist-custom-elements/duet-card.js +4 -4
  124. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  125. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  126. package/lib/dist-custom-elements/duet-chip.js +3 -3
  127. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  128. package/lib/dist-custom-elements/duet-choice.js +27 -50
  129. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  130. package/lib/dist-custom-elements/duet-combobox.js +73 -61
  131. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  132. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  133. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  134. package/lib/dist-custom-elements/duet-divider.js +1 -1
  135. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  136. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  137. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  138. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  139. package/lib/dist-custom-elements/duet-footer.js +5 -5
  140. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  141. package/lib/dist-custom-elements/duet-grid.js +1 -1
  142. package/lib/dist-custom-elements/duet-header.js +9 -9
  143. package/lib/dist-custom-elements/duet-heading.js +1 -1
  144. package/lib/dist-custom-elements/duet-hero.js +10 -10
  145. package/lib/dist-custom-elements/duet-icon.js +1 -1
  146. package/lib/dist-custom-elements/duet-input.js +1 -1
  147. package/lib/dist-custom-elements/duet-label.js +1 -1
  148. package/lib/dist-custom-elements/duet-layout.js +1 -1
  149. package/lib/dist-custom-elements/duet-link.js +1 -1
  150. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  151. package/lib/dist-custom-elements/duet-list.js +1 -1
  152. package/lib/dist-custom-elements/duet-logo.js +1 -1
  153. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  154. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  155. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  156. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  157. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  158. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  159. package/lib/dist-custom-elements/duet-modal.js +28 -29
  160. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  161. package/lib/dist-custom-elements/duet-nav.js +1 -1
  162. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  163. package/lib/dist-custom-elements/duet-notification.js +3 -3
  164. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  165. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  166. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  167. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  168. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  169. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  170. package/lib/dist-custom-elements/duet-popup-menu.js +12 -6
  171. package/lib/dist-custom-elements/duet-progress.js +1 -1
  172. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  173. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  174. package/lib/dist-custom-elements/duet-radio.js +1 -1
  175. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  176. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  177. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  178. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  179. package/lib/dist-custom-elements/duet-select.js +1 -1
  180. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  181. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  182. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  183. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  184. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  185. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  186. package/lib/dist-custom-elements/duet-slideout.js +16 -8
  187. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  188. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  189. package/lib/dist-custom-elements/duet-step.js +5 -5
  190. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  191. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  192. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  193. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  194. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  195. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  196. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  197. package/lib/dist-custom-elements/duet-tab.js +2 -2
  198. package/lib/dist-custom-elements/duet-table.js +1 -1
  199. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  200. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  201. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  202. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  203. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  204. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  205. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  206. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  207. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  208. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  209. package/lib/dist-custom-elements/duet-tray.js +4 -4
  210. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  211. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  212. package/lib/dist-custom-elements/duet-upload.js +19 -19
  213. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  214. package/lib/dist-custom-elements/index.js +1 -1
  215. package/lib/dist-custom-elements/{p-c5cbad6a.js → p-0013bbd9.js} +5 -5
  216. package/lib/dist-custom-elements/{p-e041a480.js → p-0df120f7.js} +11 -11
  217. package/lib/dist-custom-elements/{p-872e2f85.js → p-1ff11eb0.js} +1 -1
  218. package/lib/dist-custom-elements/{p-a7a43cc8.js → p-227546cf.js} +2 -2
  219. package/lib/dist-custom-elements/{p-7e0593c4.js → p-2a3d455e.js} +1 -1
  220. package/lib/dist-custom-elements/{p-11e152cd.js → p-31ed51c3.js} +69 -1
  221. package/lib/dist-custom-elements/{p-020faef4.js → p-3e413cfd.js} +1 -1
  222. package/lib/dist-custom-elements/{p-1ce04b25.js → p-3fbeb75f.js} +1 -1
  223. package/lib/dist-custom-elements/{p-2f740f34.js → p-4021501c.js} +4 -4
  224. package/lib/dist-custom-elements/{p-a2e4cefc.js → p-532e0afe.js} +11 -27
  225. package/lib/dist-custom-elements/{p-fa57c719.js → p-53f70c5c.js} +1 -1
  226. package/lib/dist-custom-elements/{p-1c41e380.js → p-6783b103.js} +7 -7
  227. package/lib/dist-custom-elements/{p-1ab843a7.js → p-69fa1487.js} +1 -1
  228. package/lib/dist-custom-elements/{p-2ccce086.js → p-6f10ebc0.js} +4 -4
  229. package/lib/dist-custom-elements/{p-d4229a56.js → p-77552eed.js} +1 -1
  230. package/lib/dist-custom-elements/{p-ccdff614.js → p-7796b4bf.js} +37 -29
  231. package/lib/dist-custom-elements/{p-76ce0f9b.js → p-821bb92e.js} +11 -18
  232. package/lib/dist-custom-elements/{p-0a49f6e7.js → p-8cb2b7fe.js} +1 -1
  233. package/lib/dist-custom-elements/{p-979bd60b.js → p-8e696845.js} +1 -1
  234. package/lib/dist-custom-elements/{p-d321d5fc.js → p-8f86417c.js} +1 -1
  235. package/lib/dist-custom-elements/{p-935d79ab.js → p-934d4db1.js} +2 -2
  236. package/lib/dist-custom-elements/{p-17d5c190.js → p-9a2b977c.js} +2 -2
  237. package/lib/dist-custom-elements/{p-422afb9b.js → p-9af6adea.js} +1 -1
  238. package/lib/dist-custom-elements/{p-ea85bdb3.js → p-a13ff0ba.js} +2 -2
  239. package/lib/dist-custom-elements/{p-c79fe592.js → p-ab97f5a6.js} +1 -1
  240. package/lib/dist-custom-elements/{p-fb5d5f01.js → p-b35f5feb.js} +2 -2
  241. package/lib/dist-custom-elements/{p-8b86f3bd.js → p-c3ee68d3.js} +10 -10
  242. package/lib/dist-custom-elements/{p-79459d6e.js → p-c7e4d8c0.js} +3 -3
  243. package/lib/dist-custom-elements/{p-e1dc8e10.js → p-cbc5e3c2.js} +3 -3
  244. package/lib/dist-custom-elements/{p-69e641c9.js → p-cc019e60.js} +6 -6
  245. package/lib/dist-custom-elements/{p-e4a6f691.js → p-d5e33f97.js} +6 -3
  246. package/lib/dist-custom-elements/{p-bec3a15c.js → p-e44c0eff.js} +2 -1
  247. package/lib/dist-custom-elements/{p-baf436c1.js → p-e67b79bd.js} +6 -6
  248. package/lib/dist-custom-elements/{p-fbdd04e4.js → p-e77cc4f8.js} +1 -1
  249. package/lib/dist-custom-elements/{p-efa5851d.js → p-ed283f4c.js} +1 -1
  250. package/lib/dist-custom-elements/{p-0fce9d94.js → p-f0eaa248.js} +1 -1
  251. package/lib/dist-custom-elements/{p-b8844392.js → p-f843d6ff.js} +8 -8
  252. package/lib/dist-custom-elements/{p-d71a2b7b.js → p-fcd3721b.js} +1 -1
  253. package/lib/dist-custom-elements/{p-94656301.js → p-fce4d62c.js} +1 -1
  254. package/lib/duet/duet.esm.js +1 -1
  255. package/lib/duet/duet.js +1 -1
  256. package/lib/duet/p-002e18db.system.entry.js +4 -0
  257. package/lib/duet/p-027e5569.entry.js +4 -0
  258. package/lib/duet/{p-a19429c2.system.entry.js → p-030253f2.system.entry.js} +1 -1
  259. package/lib/duet/{p-cd6471b4.entry.js → p-03183a0f.entry.js} +1 -1
  260. package/lib/duet/{p-ea115f4e.system.entry.js → p-05f294b6.system.entry.js} +2 -2
  261. package/lib/duet/{p-9f54fc54.system.entry.js → p-0b8849bd.system.entry.js} +1 -1
  262. package/lib/duet/{p-93e74683.system.entry.js → p-0d37679b.system.entry.js} +1 -1
  263. package/lib/duet/{p-9d1cef64.system.entry.js → p-0d8cdce3.system.entry.js} +1 -1
  264. package/lib/duet/{p-0456ff4d.entry.js → p-0e265cf5.entry.js} +1 -1
  265. package/lib/duet/{p-27e81b06.entry.js → p-0e3a5d41.entry.js} +1 -1
  266. package/lib/duet/{p-b5b79a9c.entry.js → p-0e56bbe4.entry.js} +1 -1
  267. package/lib/duet/{p-401a3854.system.entry.js → p-0e6d65b4.system.entry.js} +1 -1
  268. package/lib/duet/p-103be53e.system.entry.js +4 -0
  269. package/lib/duet/{p-b3377755.system.entry.js → p-1047951a.system.entry.js} +1 -1
  270. package/lib/duet/{p-604c51f9.entry.js → p-1054ebce.entry.js} +1 -1
  271. package/lib/duet/{p-33f698d1.entry.js → p-11076593.entry.js} +1 -1
  272. package/lib/duet/{p-4729bcef.entry.js → p-129045fa.entry.js} +1 -1
  273. package/lib/duet/p-15d65ccc.system.js +4 -0
  274. package/lib/duet/{p-65468b0d.system.entry.js → p-17c077ab.system.entry.js} +1 -1
  275. package/lib/duet/{p-efd90de0.system.entry.js → p-188a000d.system.entry.js} +1 -1
  276. package/lib/duet/{p-8cd0cd03.entry.js → p-189a6d7a.entry.js} +1 -1
  277. package/lib/duet/{p-9b21ed50.entry.js → p-19714cb0.entry.js} +1 -1
  278. package/lib/duet/{p-2be0df40.system.entry.js → p-1a5d2b48.system.entry.js} +1 -1
  279. package/lib/duet/p-1c5b9e11.entry.js +4 -0
  280. package/lib/duet/{p-6aa4f325.entry.js → p-1cd772fc.entry.js} +1 -1
  281. package/lib/duet/{p-d925ab53.entry.js → p-1d90e7f5.entry.js} +1 -1
  282. package/lib/duet/{p-0d3f184b.entry.js → p-20601453.entry.js} +1 -1
  283. package/lib/duet/p-20d8f5b3.system.entry.js +4 -0
  284. package/lib/duet/{p-592edf29.system.entry.js → p-220ed4df.system.entry.js} +1 -1
  285. package/lib/duet/{p-13cd24b7.entry.js → p-244dd96f.entry.js} +1 -1
  286. package/lib/duet/p-261f4be7.entry.js +4 -0
  287. package/lib/duet/{p-a18768aa.entry.js → p-26224b8d.entry.js} +1 -1
  288. package/lib/duet/{p-e6cf95c7.entry.js → p-262cad2f.entry.js} +1 -1
  289. package/lib/duet/{p-f5578381.entry.js → p-26e9b71a.entry.js} +1 -1
  290. package/lib/duet/p-28829e73.system.entry.js +4 -0
  291. package/lib/duet/{p-01a8bdf7.system.entry.js → p-291921b6.system.entry.js} +1 -1
  292. package/lib/duet/{p-6af28665.system.entry.js → p-29cf9d3a.system.entry.js} +1 -1
  293. package/lib/duet/{p-801471d9.system.entry.js → p-2a5a769f.system.entry.js} +1 -1
  294. package/lib/duet/{p-9059866a.entry.js → p-2acd082d.entry.js} +1 -1
  295. package/lib/duet/{p-09af7801.system.entry.js → p-2ae068ec.system.entry.js} +1 -1
  296. package/lib/duet/{p-c9710402.entry.js → p-2e78e388.entry.js} +1 -1
  297. package/lib/duet/{p-5c5cd6d1.entry.js → p-2f4b30bc.entry.js} +1 -1
  298. package/lib/duet/p-31ed51c3.js +4 -0
  299. package/lib/duet/{p-b2716337.system.js → p-34d7dd10.system.js} +1 -1
  300. package/lib/duet/{p-4572372a.system.entry.js → p-3653b2fb.system.entry.js} +1 -1
  301. package/lib/duet/{p-5117272c.entry.js → p-3c521995.entry.js} +1 -1
  302. package/lib/duet/{p-6bd0ede9.system.entry.js → p-3cd16df4.system.entry.js} +1 -1
  303. package/lib/duet/{p-5e1d1a77.entry.js → p-3d5bd0bc.entry.js} +1 -1
  304. package/lib/duet/{p-5c3e7e35.entry.js → p-41b41654.entry.js} +1 -1
  305. package/lib/duet/{p-7559791e.system.entry.js → p-41dbacca.system.entry.js} +1 -1
  306. package/lib/duet/{p-daea7400.entry.js → p-42c4d8eb.entry.js} +1 -1
  307. package/lib/duet/{p-88079356.system.entry.js → p-458a582a.system.entry.js} +1 -1
  308. package/lib/duet/{p-73b9f01f.system.entry.js → p-46ae8180.system.entry.js} +1 -1
  309. package/lib/duet/{p-70521845.system.entry.js → p-472290cf.system.entry.js} +1 -1
  310. package/lib/duet/{p-51443fe0.system.entry.js → p-4829dff1.system.entry.js} +1 -1
  311. package/lib/duet/{p-64bc51ee.entry.js → p-4960de67.entry.js} +1 -1
  312. package/lib/duet/{p-6bfb1097.system.entry.js → p-4cc23ad9.system.entry.js} +1 -1
  313. package/lib/duet/{p-f831f948.system.entry.js → p-4dc42560.system.entry.js} +1 -1
  314. package/lib/duet/{p-ab5e0012.js → p-4ffa264b.js} +1 -1
  315. package/lib/duet/p-543274cc.entry.js +4 -0
  316. package/lib/duet/p-546f6d45.system.entry.js +4 -0
  317. package/lib/duet/{p-86a1f736.entry.js → p-55d583ae.entry.js} +1 -1
  318. package/lib/duet/{p-66ab34e4.system.entry.js → p-5639ce0e.system.entry.js} +1 -1
  319. package/lib/duet/p-5bd22454.system.entry.js +4 -0
  320. package/lib/duet/{p-5fcfa176.system.entry.js → p-5bfe7045.system.entry.js} +1 -1
  321. package/lib/duet/{p-2a664c02.system.entry.js → p-5c1601ff.system.entry.js} +1 -1
  322. package/lib/duet/{p-2fd5aa00.entry.js → p-5d2c26b0.entry.js} +1 -1
  323. package/lib/duet/{p-2ad5fbae.entry.js → p-5e55c792.entry.js} +1 -1
  324. package/lib/duet/{p-67d81156.entry.js → p-5ea3014b.entry.js} +1 -1
  325. package/lib/duet/p-5ee6ee0f.entry.js +4 -0
  326. package/lib/duet/{p-f62e0d80.entry.js → p-62fe20b3.entry.js} +1 -1
  327. package/lib/duet/p-68139eec.entry.js +4 -0
  328. package/lib/duet/{p-f42c2d6e.system.js → p-6ad43e56.system.js} +1 -1
  329. package/lib/duet/{p-256cd41d.system.entry.js → p-6b09f77a.system.entry.js} +1 -1
  330. package/lib/duet/{p-6d928783.system.entry.js → p-6dfd2ad4.system.entry.js} +2 -2
  331. package/lib/duet/{p-e8b9e8ef.entry.js → p-6f86849a.entry.js} +1 -1
  332. package/lib/duet/{p-ae604d66.entry.js → p-750b8092.entry.js} +1 -1
  333. package/lib/duet/p-7796b4bf.js +4 -0
  334. package/lib/duet/{p-76ae0bc6.system.entry.js → p-779cc0e2.system.entry.js} +1 -1
  335. package/lib/duet/{p-66584477.entry.js → p-7a4f6f61.entry.js} +1 -1
  336. package/lib/duet/{p-cbcbab5e.entry.js → p-7a851859.entry.js} +1 -1
  337. package/lib/duet/{p-151493bf.entry.js → p-7af65952.entry.js} +1 -1
  338. package/lib/duet/p-7c4bccd0.entry.js +4 -0
  339. package/lib/duet/{p-317012d4.system.entry.js → p-7ce56bbb.system.entry.js} +1 -1
  340. package/lib/duet/{p-14ab0d93.system.entry.js → p-7d41397d.system.entry.js} +1 -1
  341. package/lib/duet/{p-863e4171.system.entry.js → p-7e694c23.system.entry.js} +1 -1
  342. package/lib/duet/{p-a7752b9e.system.entry.js → p-7f73ca35.system.entry.js} +1 -1
  343. package/lib/duet/{p-b28be710.system.entry.js → p-8046702e.system.entry.js} +1 -1
  344. package/lib/duet/{p-8e3b762b.system.entry.js → p-811d068d.system.entry.js} +1 -1
  345. package/lib/duet/p-856aabfc.entry.js +4 -0
  346. package/lib/duet/{p-c0109cdc.entry.js → p-890d2216.entry.js} +1 -1
  347. package/lib/duet/{p-33a5b8d1.entry.js → p-8e6a3459.entry.js} +1 -1
  348. package/lib/duet/{p-6a21013d.system.entry.js → p-90945aa7.system.entry.js} +1 -1
  349. package/lib/duet/{p-9228a4db.system.entry.js → p-91a7213e.system.entry.js} +1 -1
  350. package/lib/duet/{p-658480e9.entry.js → p-924d010a.entry.js} +1 -1
  351. package/lib/duet/{p-8f12df73.entry.js → p-934fbd8c.entry.js} +1 -1
  352. package/lib/duet/{p-05e3d13d.system.entry.js → p-945299e5.system.entry.js} +1 -1
  353. package/lib/duet/{p-8dafd7ea.entry.js → p-94f1da1e.entry.js} +1 -1
  354. package/lib/duet/p-9b7e4770.entry.js +4 -0
  355. package/lib/duet/{p-d2b114c3.system.entry.js → p-9c29c451.system.entry.js} +1 -1
  356. package/lib/duet/{p-0f34e239.entry.js → p-9c8eff95.entry.js} +1 -1
  357. package/lib/duet/{p-3d15f7c8.system.entry.js → p-9db7f0ee.system.entry.js} +1 -1
  358. package/lib/duet/{p-3a954cff.system.entry.js → p-9dfddcfe.system.entry.js} +1 -1
  359. package/lib/duet/{p-15b98f96.entry.js → p-a0bf2426.entry.js} +1 -1
  360. package/lib/duet/{p-7a98b0ec.entry.js → p-a104d690.entry.js} +1 -1
  361. package/lib/duet/p-a1b7f2a0.js +4 -0
  362. package/lib/duet/{p-2d3595b0.system.entry.js → p-a2c5ed9f.system.entry.js} +1 -1
  363. package/lib/duet/{p-073a10d2.entry.js → p-a4d3867b.entry.js} +1 -1
  364. package/lib/duet/{p-86aaa7a8.entry.js → p-a4f6e7a4.entry.js} +1 -1
  365. package/lib/duet/{p-d6902713.system.entry.js → p-aa34aa28.system.entry.js} +1 -1
  366. package/lib/duet/{p-31ab2fac.system.entry.js → p-abb6b45d.system.entry.js} +2 -2
  367. package/lib/duet/{p-0d618124.entry.js → p-abb6c6d6.entry.js} +1 -1
  368. package/lib/duet/{p-988683bf.entry.js → p-ace84e21.entry.js} +1 -1
  369. package/lib/duet/{p-19987cc7.entry.js → p-b0092c61.entry.js} +1 -1
  370. package/lib/duet/{p-1622a8dc.entry.js → p-b16f7f88.entry.js} +1 -1
  371. package/lib/duet/{p-c168a681.entry.js → p-b188ca10.entry.js} +1 -1
  372. package/lib/duet/{p-c417f6e2.entry.js → p-b19584f8.entry.js} +1 -1
  373. package/lib/duet/{p-608649b0.system.entry.js → p-b34e1fe3.system.entry.js} +1 -1
  374. package/lib/duet/{p-1ff168a6.system.entry.js → p-b3ec72f4.system.entry.js} +1 -1
  375. package/lib/duet/{p-a5a66e00.system.entry.js → p-b501aa93.system.entry.js} +1 -1
  376. package/lib/duet/{p-7cf1ec7c.system.entry.js → p-b61e64ec.system.entry.js} +1 -1
  377. package/lib/duet/p-b641b843.entry.js +4 -0
  378. package/lib/duet/p-b71802e6.entry.js +4 -0
  379. package/lib/duet/{p-38ad9e4e.system.entry.js → p-b9235db5.system.entry.js} +1 -1
  380. package/lib/duet/{p-a0675b54.system.entry.js → p-b93f7135.system.entry.js} +1 -1
  381. package/lib/duet/{p-226f6be1.system.entry.js → p-ba472cc3.system.entry.js} +1 -1
  382. package/lib/duet/p-be07ec36.entry.js +4 -0
  383. package/lib/duet/{p-1fdaa565.system.entry.js → p-c0773d8a.system.entry.js} +1 -1
  384. package/lib/duet/p-c0b43b78.system.js +4 -0
  385. package/lib/duet/{p-8a8945a6.system.entry.js → p-c0f4fc0f.system.entry.js} +1 -1
  386. package/lib/duet/{p-4f4e7905.entry.js → p-c1226bac.entry.js} +1 -1
  387. package/lib/duet/{p-3199cd51.system.entry.js → p-c3324ec1.system.entry.js} +1 -1
  388. package/lib/duet/{p-9f7b6689.entry.js → p-c3dcf506.entry.js} +1 -1
  389. package/lib/duet/{p-1a3f475b.system.entry.js → p-c3df6a13.system.entry.js} +1 -1
  390. package/lib/duet/{p-23a308b4.entry.js → p-c436c489.entry.js} +1 -1
  391. package/lib/duet/{p-d7dc7cbe.system.entry.js → p-c6d0fa16.system.entry.js} +1 -1
  392. package/lib/duet/{p-a3295b50.entry.js → p-c9e60391.entry.js} +1 -1
  393. package/lib/duet/p-cc12db97.entry.js +4 -0
  394. package/lib/duet/{p-0389a394.js → p-cd0a050c.js} +1 -1
  395. package/lib/duet/p-cd5db171.system.entry.js +4 -0
  396. package/lib/duet/{p-f2c72c35.entry.js → p-cfaa9978.entry.js} +1 -1
  397. package/lib/duet/{p-c83596f4.entry.js → p-d0b4d585.entry.js} +1 -1
  398. package/lib/duet/{p-77056d41.entry.js → p-d1e721c0.entry.js} +1 -1
  399. package/lib/duet/{p-45e825a2.entry.js → p-d222404e.entry.js} +1 -1
  400. package/lib/duet/{p-ccce468e.entry.js → p-d43cb576.entry.js} +1 -1
  401. package/lib/duet/{p-74d3d7c2.system.entry.js → p-d723e2bf.system.entry.js} +1 -1
  402. package/lib/duet/{p-ca0f477d.system.entry.js → p-d72c9b61.system.entry.js} +1 -1
  403. package/lib/duet/{p-047c3e3b.system.entry.js → p-d8b5bb36.system.entry.js} +1 -1
  404. package/lib/duet/{p-354c17a2.entry.js → p-d8de1209.entry.js} +1 -1
  405. package/lib/duet/{p-ce0c1247.system.js → p-d98dd209.system.js} +1 -1
  406. package/lib/duet/p-d9b6cabf.system.js +4 -0
  407. package/lib/duet/{p-96731c5a.system.entry.js → p-dada7734.system.entry.js} +1 -1
  408. package/lib/duet/{p-9c4066c6.system.entry.js → p-db6b760d.system.entry.js} +1 -1
  409. package/lib/duet/p-e211e155.system.entry.js +4 -0
  410. package/lib/duet/{p-eb376f0d.entry.js → p-e4174ecb.entry.js} +1 -1
  411. package/lib/duet/{p-f45745d0.entry.js → p-e5f42099.entry.js} +1 -1
  412. package/lib/duet/{p-d4056106.entry.js → p-e696786c.entry.js} +1 -1
  413. package/lib/duet/{p-c059695b.system.entry.js → p-e6f52d21.system.entry.js} +1 -1
  414. package/lib/duet/{p-247f0bf4.system.entry.js → p-e82699f0.system.entry.js} +1 -1
  415. package/lib/duet/{p-9a8f0bb2.system.entry.js → p-ea4a51dd.system.entry.js} +1 -1
  416. package/lib/duet/{p-f3009df9.entry.js → p-ebcacf15.entry.js} +1 -1
  417. package/lib/duet/{p-fcc4a7c1.system.entry.js → p-ec31cc90.system.entry.js} +1 -1
  418. package/lib/duet/{p-09a780a9.entry.js → p-ecf78455.entry.js} +1 -1
  419. package/lib/duet/{p-6833ff0d.entry.js → p-f0ede3b6.entry.js} +1 -1
  420. package/lib/duet/{p-a04c76f4.system.entry.js → p-f1984238.system.entry.js} +1 -1
  421. package/lib/duet/{p-ebef8737.system.entry.js → p-f505766a.system.entry.js} +1 -1
  422. package/lib/duet/{p-8e30f9a6.system.entry.js → p-f7719d79.system.entry.js} +1 -1
  423. package/lib/duet/{p-c0715203.system.entry.js → p-f7e80bed.system.entry.js} +1 -1
  424. package/lib/duet/{p-e45e0200.system.entry.js → p-f97f62e2.system.entry.js} +2 -2
  425. package/lib/duet/{p-c8f68ea5.entry.js → p-fbd2a797.entry.js} +1 -1
  426. package/lib/duet/{p-256b1c93.entry.js → p-fd8f15ff.entry.js} +1 -1
  427. package/lib/duet/{p-80f53550.system.entry.js → p-fe77631b.system.entry.js} +1 -1
  428. package/lib/duet/{p-ae58e4dd.system.entry.js → p-ffcbc32e.system.entry.js} +2 -2
  429. package/lib/esm/duet-action-button.entry.js +2 -2
  430. package/lib/esm/duet-alert.entry.js +2 -2
  431. package/lib/esm/duet-badge.entry.js +1 -1
  432. package/lib/esm/duet-banner.entry.js +29 -6
  433. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  434. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  435. package/lib/esm/duet-button_2.entry.js +1 -1
  436. package/lib/esm/duet-callout.entry.js +1 -1
  437. package/lib/esm/duet-caption_4.entry.js +4 -2
  438. package/lib/esm/duet-card.entry.js +2 -2
  439. package/lib/esm/duet-checkbox.entry.js +2 -2
  440. package/lib/esm/duet-checkmark.entry.js +1 -1
  441. package/lib/esm/duet-chip.entry.js +2 -2
  442. package/lib/esm/duet-choice_2.entry.js +20 -36
  443. package/lib/esm/duet-collapsible.entry.js +2 -2
  444. package/lib/esm/duet-combobox.entry.js +72 -60
  445. package/lib/esm/duet-contact-card.entry.js +1 -1
  446. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  447. package/lib/esm/duet-date-picker.entry.js +2 -2
  448. package/lib/esm/duet-divider_2.entry.js +1 -1
  449. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  450. package/lib/esm/duet-empty-state.entry.js +1 -1
  451. package/lib/esm/duet-fieldset.entry.js +2 -2
  452. package/lib/esm/duet-file-chooser.entry.js +1 -1
  453. package/lib/esm/duet-footer.entry.js +2 -2
  454. package/lib/esm/duet-grid_2.entry.js +1 -1
  455. package/lib/esm/duet-header_2.entry.js +2 -2
  456. package/lib/esm/duet-hero.entry.js +2 -2
  457. package/lib/esm/duet-icon.entry.js +2 -2
  458. package/lib/esm/duet-input_2.entry.js +2 -2
  459. package/lib/esm/duet-layout.entry.js +1 -1
  460. package/lib/esm/duet-list_2.entry.js +1 -1
  461. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  462. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  463. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  464. package/lib/esm/duet-menu-bar-item.entry.js +1 -1
  465. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  466. package/lib/esm/duet-menu-bar.entry.js +1 -1
  467. package/lib/esm/duet-modal.entry.js +21 -22
  468. package/lib/esm/duet-multiselect.entry.js +2 -2
  469. package/lib/esm/duet-nav.entry.js +1 -1
  470. package/lib/esm/duet-notification_2.entry.js +2 -2
  471. package/lib/esm/duet-number-input.entry.js +2 -2
  472. package/lib/esm/duet-overlay.entry.js +5 -5
  473. package/lib/esm/duet-page-heading.entry.js +1 -1
  474. package/lib/esm/duet-pagination_2.entry.js +2 -2
  475. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  476. package/lib/esm/duet-popup-menu.entry.js +13 -7
  477. package/lib/esm/duet-progress.entry.js +1 -1
  478. package/lib/esm/duet-promo-card.entry.js +1 -1
  479. package/lib/esm/duet-radio_2.entry.js +1 -1
  480. package/lib/esm/duet-range-slider.entry.js +2 -2
  481. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  482. package/lib/esm/duet-section-layout.entry.js +1 -1
  483. package/lib/esm/duet-select.entry.js +1 -1
  484. package/lib/esm/duet-shaped-image.entry.js +1 -1
  485. package/lib/esm/duet-show-more.entry.js +2 -2
  486. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  487. package/lib/esm/duet-slideout-link.entry.js +1 -1
  488. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  489. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  490. package/lib/esm/duet-slideout.entry.js +15 -7
  491. package/lib/esm/duet-step_2.entry.js +2 -2
  492. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  493. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  494. package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
  495. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  496. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  497. package/lib/esm/duet-textarea.entry.js +1 -1
  498. package/lib/esm/duet-toggle.entry.js +2 -2
  499. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  500. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  501. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  502. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  503. package/lib/esm/duet-toolbar.entry.js +1 -1
  504. package/lib/esm/duet-tooltip-button_2.entry.js +10 -15
  505. package/lib/esm/duet-tooltip.entry.js +6 -22
  506. package/lib/esm/duet-tray.entry.js +2 -2
  507. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  508. package/lib/esm/duet-upload-item.entry.js +1 -1
  509. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  510. package/lib/esm/duet.js +3 -3
  511. package/lib/esm/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +69 -1
  512. package/lib/esm/{focus-utils-a10adf64.js → focus-utils-aa3a68f0.js} +1 -1
  513. package/lib/esm/{index-64c1298f.js → index-453deef5.js} +1 -1
  514. package/lib/esm/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +2 -1
  515. package/lib/esm/loader.js +3 -3
  516. package/lib/esm/{teleport-d66d62e4.js → teleport-13402d94.js} +37 -29
  517. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  518. package/lib/esm-es5/duet-alert.entry.js +1 -1
  519. package/lib/esm-es5/duet-badge.entry.js +1 -1
  520. package/lib/esm-es5/duet-banner.entry.js +1 -1
  521. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  522. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  523. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  524. package/lib/esm-es5/duet-callout.entry.js +1 -1
  525. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  526. package/lib/esm-es5/duet-card.entry.js +1 -1
  527. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  528. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  529. package/lib/esm-es5/duet-chip.entry.js +1 -1
  530. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  531. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  532. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  533. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  534. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  535. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  536. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  537. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  538. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  539. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  540. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  541. package/lib/esm-es5/duet-footer.entry.js +1 -1
  542. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  543. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-hero.entry.js +1 -1
  545. package/lib/esm-es5/duet-icon.entry.js +1 -1
  546. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  547. package/lib/esm-es5/duet-layout.entry.js +1 -1
  548. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  549. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  550. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  551. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  552. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  553. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  554. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  555. package/lib/esm-es5/duet-modal.entry.js +2 -2
  556. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  557. package/lib/esm-es5/duet-nav.entry.js +1 -1
  558. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  560. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  561. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  562. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  563. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  564. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  565. package/lib/esm-es5/duet-progress.entry.js +1 -1
  566. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  567. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  569. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  570. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  571. package/lib/esm-es5/duet-select.entry.js +1 -1
  572. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  573. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  574. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  575. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  576. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  577. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  578. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  579. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  581. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  582. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  583. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  584. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  585. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  586. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  587. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  588. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  589. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  590. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  591. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  592. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  593. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  594. package/lib/esm-es5/duet-tray.entry.js +1 -1
  595. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  596. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  597. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  598. package/lib/esm-es5/duet.js +1 -1
  599. package/lib/esm-es5/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +1 -1
  600. package/lib/esm-es5/focus-utils-aa3a68f0.js +4 -0
  601. package/lib/esm-es5/{index-64c1298f.js → index-453deef5.js} +1 -1
  602. package/lib/esm-es5/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +1 -1
  603. package/lib/esm-es5/loader.js +1 -1
  604. package/lib/esm-es5/{teleport-d66d62e4.js → teleport-13402d94.js} +1 -1
  605. package/lib/types/components/duet-banner/duet-banner.d.ts +8 -3
  606. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
  607. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  608. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
  609. package/lib/types/components/duet-link/duet-link.d.ts +5 -1
  610. package/lib/types/components/duet-modal/duet-modal.d.ts +2 -4
  611. package/lib/types/components/duet-overlay/duet-overlay.d.ts +2 -2
  612. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
  613. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -7
  614. package/lib/types/components.d.ts +28 -18
  615. package/lib/types/utils/teleport.d.ts +12 -10
  616. package/package.json +5 -5
  617. package/lib/duet/p-108e590d.entry.js +0 -4
  618. package/lib/duet/p-11e152cd.js +0 -4
  619. package/lib/duet/p-2acc7234.entry.js +0 -4
  620. package/lib/duet/p-314584b6.entry.js +0 -4
  621. package/lib/duet/p-3624bad1.js +0 -4
  622. package/lib/duet/p-492f593d.system.entry.js +0 -4
  623. package/lib/duet/p-4ce604e7.system.entry.js +0 -4
  624. package/lib/duet/p-5b26e3f6.entry.js +0 -4
  625. package/lib/duet/p-5d4415c4.entry.js +0 -4
  626. package/lib/duet/p-65e3c5b0.system.js +0 -4
  627. package/lib/duet/p-6628b910.entry.js +0 -4
  628. package/lib/duet/p-75ddb749.system.entry.js +0 -4
  629. package/lib/duet/p-8d9eed3a.entry.js +0 -4
  630. package/lib/duet/p-906431d6.system.entry.js +0 -4
  631. package/lib/duet/p-954187ca.entry.js +0 -4
  632. package/lib/duet/p-a8ec05ce.entry.js +0 -4
  633. package/lib/duet/p-ad8f72c1.entry.js +0 -4
  634. package/lib/duet/p-add5965e.system.entry.js +0 -4
  635. package/lib/duet/p-b7de6cf2.system.js +0 -4
  636. package/lib/duet/p-c6504e8e.system.entry.js +0 -4
  637. package/lib/duet/p-ccdff614.js +0 -4
  638. package/lib/duet/p-cda576c3.entry.js +0 -4
  639. package/lib/duet/p-d9e75bb3.entry.js +0 -4
  640. package/lib/duet/p-e639b9ee.system.js +0 -4
  641. package/lib/duet/p-e8320a1b.system.entry.js +0 -4
  642. package/lib/duet/p-e8d4440f.system.entry.js +0 -4
  643. package/lib/duet/p-fb543570.entry.js +0 -4
  644. package/lib/esm-es5/focus-utils-a10adf64.js +0 -4
@@ -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 s,H as i,g as o}from"./p-ab5e0012.js";import{i as c}from"./p-a58bd561.js";import{c as l}from"./p-5e59e970.js";import{c as r}from"./p-d87f6dd5.js";import{p as a}from"./p-0e052642.js";function d(e){return"options"in e}function u(e,t){for(var s=0;s<e.length;s++){let i=e[s];if(d(i)&&(i=u(i.options,t)),i&&i.value===t)return i}}const n=class{constructor(s){e(this,s),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.selectId=l("DuetSelect"),this.errorId=l("DuetError"),this.labelId=l("DuetLabel"),this.topCaptionId=l("DuetCaptionTop"),this.topCaptionPlaceholderId=l("DuetCaptionPlaceholderTop"),this.onClick=e=>{e.stopPropagation()},this.onChange=()=>{this.value=this.nativeSelect.value,this.duetChange.emit({value:this.value,component:"duet-select"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,value:this.value,component:"duet-select"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,value:this.value,component:"duet-select"})},this.getDescribedBy=()=>{const e=[];return this.isCaptionVisible&&this.topCaptionId&&e.push(this.topCaptionId),this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.processedItems=null,this.variation="default",this.accessibleActiveDescendant=void 0,this.accessibleDescribedBy=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleOwns=void 0,this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=void 0,this.theme="",this.labelHidden=!1,this.identifier=void 0,this.name=void 0,this.placeholder="",this.caption=void 0,this.echoPlaceholder=!1,this.items=void 0,this.disabled=!1,this.required=!1,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.role=void 0,this.tooltip="",this.tooltipDirection="auto"}valueChanged(){this.nativeSelect&&(this.nativeSelect.value=this.value),this.isCaptionVisible=!!this.caption}componentWillLoad(){c(this),this.isCaptionVisible=!!this.caption,r(this.element,"tooltip","duet-tooltip",1,!0),this.refresh()}async setFocus(e){this.nativeSelect&&this.nativeSelect.focus(e)}async refresh(){this.processedItems=a(this.items)}getSelectedItemLabel(){let e;return this.processedItems&&(e=u(this.processedItems,this.value)),e?e.label:this.placeholder||""}renderOption(e){return s("option",{"aria-label":e.ariaLabel,value:e.value,key:e.value,selected:this.value===e.value,disabled:e.disabled},e.label)}renderOptionGroup(e){return s("optgroup",{key:e.label,label:e.label,disabled:e.disabled},e.options.map((e=>this.renderOption(e))))}render(){const e=this.identifier||this.selectId;return s(i,{onClick:this.onClick,class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand,[`duet-select-variation-${this.variation}`]:!0}},s("div",{class:{"duet-select-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,[`duet-select-variation-${this.variation}`]:!0,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},s("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&s("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),s("slot",{name:"tooltip"}),this.caption&&s("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),s("div",{class:"duet-select-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&s("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-select-placeholder",size:"small"},this.placeholder),s("select",{ref:e=>this.nativeSelect=e,disabled:this.disabled,name:this.name,id:e,role:this.role,"aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,required:this.required},this.placeholder&&s("option",{disabled:!0,selected:!0,value:""},this.placeholder),this.processedItems?this.processedItems.map((e=>d(e)?this.renderOptionGroup(e):this.renderOption(e))):s("option",null,"Virhe valintoja ladattaessa. Päivitä sivu ja kokeile uusiksi.")),s("div",{class:{"duet-select":!0,[`duet-select-variation-${this.variation}`]:!0},"aria-hidden":"true"},s("span",{key:this.value,class:"duet-select-selected-value"},this.getSelectedItemLabel()),"default"===this.variation&&s("svg",{role:"img",class:"duet-select-icon",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))||s("duet-icon",{theme:this.theme,name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"compact"===this.variation?"xxx-small":"xx-small"})),s("span",{class:"duet-keep-container-height",role:"presention","aria-hidden":"true"},"_")),s("span",{class:"duet-select-help",id:this.errorId,"aria-live":this.accessibleLiveError,"aria-atomic":"true","aria-relevant":"additions removals"},this.error&&s("span",null,this.error))))}get element(){return o(this)}static get watchers(){return{value:["valueChanged"],items:["refresh"]}}};n.style='*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h,.duet-select-variation-compact.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-select-variation-compact.sc-duet-select-h{width:auto}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select,.sc-duet-select-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select,.sc-duet-select-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select{padding:0 !important;line-height:1}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin: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:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{opacity:0}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{display:none}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(224, 42, 13) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{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(116, 116, 117)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help.sc-duet-select{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{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(116, 116, 117)}.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{n as duet_select}
4
+ import{r as e,c as t,h as s,H as i,g as o}from"./p-4ffa264b.js";import{i as c}from"./p-a58bd561.js";import{c as l}from"./p-5e59e970.js";import{c as r}from"./p-d87f6dd5.js";import{p as a}from"./p-0e052642.js";function d(e){return"options"in e}function u(e,t){for(var s=0;s<e.length;s++){let i=e[s];if(d(i)&&(i=u(i.options,t)),i&&i.value===t)return i}}const n=class{constructor(s){e(this,s),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.selectId=l("DuetSelect"),this.errorId=l("DuetError"),this.labelId=l("DuetLabel"),this.topCaptionId=l("DuetCaptionTop"),this.topCaptionPlaceholderId=l("DuetCaptionPlaceholderTop"),this.onClick=e=>{e.stopPropagation()},this.onChange=()=>{this.value=this.nativeSelect.value,this.duetChange.emit({value:this.value,component:"duet-select"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,value:this.value,component:"duet-select"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,value:this.value,component:"duet-select"})},this.getDescribedBy=()=>{const e=[];return this.isCaptionVisible&&this.topCaptionId&&e.push(this.topCaptionId),this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.processedItems=null,this.variation="default",this.accessibleActiveDescendant=void 0,this.accessibleDescribedBy=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleOwns=void 0,this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=void 0,this.theme="",this.labelHidden=!1,this.identifier=void 0,this.name=void 0,this.placeholder="",this.caption=void 0,this.echoPlaceholder=!1,this.items=void 0,this.disabled=!1,this.required=!1,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.role=void 0,this.tooltip="",this.tooltipDirection="auto"}valueChanged(){this.nativeSelect&&(this.nativeSelect.value=this.value),this.isCaptionVisible=!!this.caption}componentWillLoad(){c(this),this.isCaptionVisible=!!this.caption,r(this.element,"tooltip","duet-tooltip",1,!0),this.refresh()}async setFocus(e){this.nativeSelect&&this.nativeSelect.focus(e)}async refresh(){this.processedItems=a(this.items)}getSelectedItemLabel(){let e;return this.processedItems&&(e=u(this.processedItems,this.value)),e?e.label:this.placeholder||""}renderOption(e){return s("option",{"aria-label":e.ariaLabel,value:e.value,key:e.value,selected:this.value===e.value,disabled:e.disabled},e.label)}renderOptionGroup(e){return s("optgroup",{key:e.label,label:e.label,disabled:e.disabled},e.options.map((e=>this.renderOption(e))))}render(){const e=this.identifier||this.selectId;return s(i,{onClick:this.onClick,class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand,[`duet-select-variation-${this.variation}`]:!0}},s("div",{class:{"duet-select-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,[`duet-select-variation-${this.variation}`]:!0,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},s("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&s("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),s("slot",{name:"tooltip"}),this.caption&&s("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),s("div",{class:"duet-select-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&s("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-select-placeholder",size:"small"},this.placeholder),s("select",{ref:e=>this.nativeSelect=e,disabled:this.disabled,name:this.name,id:e,role:this.role,"aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,required:this.required},this.placeholder&&s("option",{disabled:!0,selected:!0,value:""},this.placeholder),this.processedItems?this.processedItems.map((e=>d(e)?this.renderOptionGroup(e):this.renderOption(e))):s("option",null,"Virhe valintoja ladattaessa. Päivitä sivu ja kokeile uusiksi.")),s("div",{class:{"duet-select":!0,[`duet-select-variation-${this.variation}`]:!0},"aria-hidden":"true"},s("span",{key:this.value,class:"duet-select-selected-value"},this.getSelectedItemLabel()),"default"===this.variation&&s("svg",{role:"img",class:"duet-select-icon",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))||s("duet-icon",{theme:this.theme,name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"compact"===this.variation?"xxx-small":"xx-small"})),s("span",{class:"duet-keep-container-height",role:"presention","aria-hidden":"true"},"_")),s("span",{class:"duet-select-help",id:this.errorId,"aria-live":this.accessibleLiveError,"aria-atomic":"true","aria-relevant":"additions removals"},this.error&&s("span",null,this.error))))}get element(){return o(this)}static get watchers(){return{value:["valueChanged"],items:["refresh"]}}};n.style='*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h,.duet-select-variation-compact.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-select-variation-compact.sc-duet-select-h{width:auto}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select,.sc-duet-select-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select,.sc-duet-select-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select{padding:0 !important;line-height:1}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin: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:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{opacity:0}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{display:none}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(224, 42, 13) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{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(116, 116, 117)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help.sc-duet-select{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{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(116, 116, 117)}.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{n as duet_select}
@@ -0,0 +1,4 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{f(e.next(r))}catch(r){a(r)}}function o(r){try{f(e["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(u,o)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(r){return function(t){return f([r,t])}}function f(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(r,n)}catch(r){o=[6,r];i=0}finally{e=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var n={};for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0)n[e]=r[e];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(r);i<e.length;i++){if(t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i]))n[e[i]]=r[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,a;e<i;e++){if(a||!(e in t)){if(!a)a=Array.prototype.slice.call(t,0,e);a[e]=t[e]}}return r.concat(a||Array.prototype.slice.call(t))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register([],(function(r){"use strict";return{execute:function(){var t=this;r("a",mr);var n=Math.min;var e=Math.max;var i={left:"right",right:"left",bottom:"top",top:"bottom"};var a={start:"end",end:"start"};function u(r,t,i){return e(r,n(t,i))}function o(r,t){return typeof r==="function"?r(t):r}function f(r){return r.split("-")[0]}function c(r){return r.split("-")[1]}function s(r){return r==="x"?"y":"x"}function v(r){return r==="y"?"height":"width"}function l(r){return["top","bottom"].includes(f(r))?"y":"x"}function d(r){return s(l(r))}function h(r,t,n){if(n===void 0){n=false}var e=c(r);var i=d(r);var a=v(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=m(u)}return[u,m(u)]}function _(r){var t=m(r);return[g(r),t,g(t)]}function g(r){return r.replace(/start|end/g,(function(r){return a[r]}))}function y(r,t,n){var e=["left","right"];var i=["right","left"];var a=["top","bottom"];var u=["bottom","top"];switch(r){case"top":case"bottom":if(n)return t?i:e;return t?e:i;case"left":case"right":return t?a:u;default:return[]}}function p(r,t,n,e){var i=c(r);var a=y(f(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(g))}}return a}function m(r){return r.replace(/left|right|bottom|top/g,(function(r){return i[r]}))}function w(r){return __assign({top:0,right:0,bottom:0,left:0},r)}function x(r){return typeof r!=="number"?w(r):{top:r,right:r,bottom:r,left:r}}function b(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function A(r,t,n){var e=r.reference,i=r.floating;var a=l(t);var u=d(t);var o=v(u);var s=f(t);var h=a==="y";var _=e.x+e.width/2-i.width/2;var g=e.y+e.height/2-i.height/2;var y=e[o]/2-i[o]/2;var p;switch(s){case"top":p={x:_,y:e.y-i.height};break;case"bottom":p={x:_,y:e.y+e.height};break;case"right":p={x:e.x+e.width,y:g};break;case"left":p={x:e.x-i.width,y:g};break;default:p={x:e.x,y:e.y}}switch(c(t)){case"start":p[u]-=y*(n&&h?-1:1);break;case"end":p[u]+=y*(n&&h?-1:1);break}return p}var k=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,s,v,l,d,h,_,g,y,p,m,w,x,b,k,S,R,O,F,j;var P,T;return __generator(this,(function(C){switch(C.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;s=f.filter(Boolean);return[4,c.isRTL==null?void 0:c.isRTL(n)];case 1:v=C.sent();return[4,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=C.sent();d=A(l,i,v),h=d.x,_=d.y;g=i;y={};p=0;m=0;C.label=3;case 3:if(!(m<s.length))return[3,11];w=s[m],x=w.name,b=w.fn;return[4,b({x:h,y:_,initialPlacement:i,placement:g,strategy:u,middlewareData:y,rects:l,platform:c,elements:{reference:r,floating:n}})];case 4:k=C.sent(),S=k.x,R=k.y,O=k.data,F=k.reset;h=S!=null?S:h;_=R!=null?R:_;y=__assign(__assign({},y),(P={},P[x]=__assign(__assign({},y[x]),O),P));if(!(F&&p<=50))return[3,10];p++;if(!(typeof F==="object"))return[3,9];if(F.placement){g=F.placement}if(!F.rects)return[3,8];if(!(F.rects===true))return[3,6];return[4,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:j=C.sent();return[3,7];case 6:j=F.rects;C.label=7;case 7:l=j;C.label=8;case 8:T=A(l,g,v),h=T.x,_=T.y;C.label=9;case 9:m=-1;C.label=10;case 10:m++;return[3,3];case 11:return[2,{x:h,y:_,placement:g,strategy:u,middlewareData:y}]}}))}))};function S(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,f,c,s,v,l,d,h,_,g,y,p,m,w,A,k,S,R,O,F,j,P,T,C,M,D,L,E,z,N;var V;return __generator(this,(function(q){switch(q.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,f=r.elements,c=r.strategy;s=o(t,r),v=s.boundary,l=v===void 0?"clippingAncestors":v,d=s.rootBoundary,h=d===void 0?"viewport":d,_=s.elementContext,g=_===void 0?"floating":_,y=s.altBoundary,p=y===void 0?false:y,m=s.padding,w=m===void 0?0:m;A=x(w);k=g==="floating"?"reference":"floating";S=f[p?k:g];O=b;j=(F=a).getClippingRect;V={};return[4,a.isElement==null?void 0:a.isElement(S)];case 1:if(!((n=q.sent())!=null?n:true))return[3,2];P=S;return[3,5];case 2:T=S.contextElement;if(T)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(f.floating)];case 3:T=q.sent();q.label=4;case 4:P=T;q.label=5;case 5:return[4,j.apply(F,[(V.element=P,V.boundary=l,V.rootBoundary=h,V.strategy=c,V)])];case 6:R=O.apply(void 0,[q.sent()]);C=g==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(f.floating)];case 7:M=q.sent();return[4,a.isElement==null?void 0:a.isElement(M)];case 8:if(!q.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(M)];case 9:L=q.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};q.label=11;case 11:D=L;z=b;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:C,offsetParent:M,strategy:c})];case 12:N=q.sent();return[3,14];case 13:N=C;q.label=14;case 14:E=z.apply(void 0,[N]);return[2,{top:(R.top-E.top+A.top)/D.y,bottom:(E.bottom-R.bottom+A.bottom)/D.y,left:(R.left-E.left+A.left)/D.x,right:(E.right-R.right+A.right)/D.x}]}}))}))}var R=r("b",(function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,a,f,s,l,h,_,g,y,p,m,w,b,A,k,S,R,O,F,j,P,T,C,M,D,L,E,z,N,V,q,B,G,H;var W,I;return __generator(this,(function(J){switch(J.label){case 0:e=t.x,i=t.y,a=t.placement,f=t.rects,s=t.platform,l=t.elements,h=t.middlewareData;_=o(r,t)||{},g=_.element,y=_.padding,p=y===void 0?0:y;if(g==null){return[2,{}]}m=x(p);w={x:e,y:i};b=d(a);A=v(b);return[4,s.getDimensions(g)];case 1:k=J.sent();S=b==="y";R=S?"top":"left";O=S?"bottom":"right";F=S?"clientHeight":"clientWidth";j=f.reference[A]+f.reference[b]-w[b]-f.floating[A];P=w[b]-f.reference[b];return[4,s.getOffsetParent==null?void 0:s.getOffsetParent(g)];case 2:T=J.sent();C=T?T[F]:0;M=!C;if(M)return[3,4];return[4,s.isElement==null?void 0:s.isElement(T)];case 3:M=!J.sent();J.label=4;case 4:if(M){C=l.floating[F]||f.floating[A]}D=j/2-P/2;L=C/2-k[A]/2-1;E=n(m[R],L);z=n(m[O],L);N=E;V=C-k[A]-z;q=C/2-k[A]/2+D;B=u(N,q,V);G=!h.arrow&&c(a)!=null&&q!==B&&f.reference[A]/2-(q<N?E:z)-k[A]/2<0;H=G?q<N?q-N:q-V:0;return[2,(W={},W[b]=w[b]+H,W.data=__assign((I={},I[b]=B,I.centerOffset=q-B-H,I),G&&{alignmentOffset:H}),W.reset=G,W)]}}))}))}}}));var O=r("f",(function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,c,s,v,l,d,g,y,w,x,b,A,k,R,O,F,j,P,T,C,M,D,L,E,z,N,V,q,B,G,H,W,I;return __generator(this,(function(J){switch(J.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,c=t.initialPlacement,s=t.platform,v=t.elements;l=o(r,t),d=l.mainAxis,g=d===void 0?true:d,y=l.crossAxis,w=y===void 0?true:y,x=l.fallbackPlacements,b=l.fallbackStrategy,A=b===void 0?"bestFit":b,k=l.fallbackAxisSideDirection,R=k===void 0?"none":k,O=l.flipAlignment,F=O===void 0?true:O,j=__rest(l,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}P=f(i);T=f(c)===c;return[4,s.isRTL==null?void 0:s.isRTL(v.floating)];case 1:C=J.sent();M=x||(T||!F?[m(c)]:_(c));if(!x&&R!=="none"){M.push.apply(M,p(c,F,R,C))}D=__spreadArray([c],M,true);return[4,S(t,j)];case 2:L=J.sent();E=[];z=((e=a.flip)==null?void 0:e.overflows)||[];if(g){E.push(L[P])}if(w){N=h(i,u,C);E.push(L[N[0]],L[N[1]])}z=__spreadArray(__spreadArray([],z,true),[{placement:i,overflows:E}],false);if(!E.every((function(r){return r<=0}))){B=(((V=a.flip)==null?void 0:V.index)||0)+1;G=D[B];if(G){return[2,{data:{index:B,overflows:z},reset:{placement:G}}]}H=(q=z.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:q.placement;if(!H){switch(A){case"bestFit":{I=(W=z.map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:W[0];if(I){H=I}break}case"initialPlacement":H=c;break}}if(i!==H){return[2,{reset:{placement:H}}]}}return[2,{}]}}))}))}}}));function F(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,s,v,d,h,_,g,y,p,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=f(n);s=c(n);v=l(n)==="y";d=["left","top"].includes(u)?-1:1;h=a&&v?-1:1;_=o(t,r);g=typeof _==="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},_),y=g.mainAxis,p=g.crossAxis,m=g.alignmentAxis;if(s&&typeof m==="number"){p=s==="end"?m*-1:m}return[2,v?{x:p*h,y:y*d}:{x:y*d,y:p*h}]}}))}))}var j=r("o",(function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4,F(t,r)];case 1:f=c.sent();if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2,{}]}return[2,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}}));var P=r("s",(function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,c,v,d,h,_,g,y,p,m,w,x,b,A,k,R,O,F,k,R,j,P,T;var C;return __generator(this,(function(M){switch(M.label){case 0:n=t.x,e=t.y,i=t.placement;a=o(r,t),c=a.mainAxis,v=c===void 0?true:c,d=a.crossAxis,h=d===void 0?false:d,_=a.limiter,g=_===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:_,y=__rest(a,["mainAxis","crossAxis","limiter"]);p={x:n,y:e};return[4,S(t,y)];case 1:m=M.sent();w=l(f(i));x=s(w);b=p[x];A=p[w];if(v){k=x==="y"?"top":"left";R=x==="y"?"bottom":"right";O=b+m[k];F=b-m[R];b=u(O,b,F)}if(h){k=w==="y"?"top":"left";R=w==="y"?"bottom":"right";j=A+m[k];P=A-m[R];A=u(j,A,P)}T=g.fn(__assign(__assign({},t),(C={},C[x]=b,C[w]=A,C)));return[2,__assign(__assign({},T),{data:{x:T.x-n,y:T.y-e}})]}}))}))}}}));function T(r){var t;return((t=r.ownerDocument)==null?void 0:t.defaultView)||window}function C(r){return T(r).getComputedStyle(r)}function M(r){return r instanceof T(r).Node}function D(r){return M(r)?(r.nodeName||"").toLowerCase():""}function L(r){return r instanceof T(r).HTMLElement}function E(r){return r instanceof T(r).Element}function z(r){if(typeof ShadowRoot==="undefined"){return false}var t=T(r).ShadowRoot;return r instanceof t||r instanceof ShadowRoot}function N(r){var t=C(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!["inline","contents"].includes(a)}function V(r){return["table","td","th"].includes(D(r))}function q(r){var t=B();var n=C(r);return n.transform!=="none"||n.perspective!=="none"||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(r){return(n.willChange||"").includes(r)}))||["paint","layout","strict","content"].some((function(r){return(n.contain||"").includes(r)}))}function B(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function G(r){return["html","body","#document"].includes(D(r))}var H=Math.min;var W=Math.max;var I=Math.round;function J(r){var t=C(r);var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=L(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var o=I(n)!==a||I(e)!==u;if(o){n=a;e=u}return{width:n,height:e,fallback:o}}function K(r){return!E(r)?r.contextElement:r}var Q={x:1,y:1};function U(r){var t=K(r);if(!L(t)){return Q}var n=t.getBoundingClientRect();var e=J(t),i=e.width,a=e.height,u=e.fallback;var o=(u?I(n.width):n.width)/i;var f=(u?I(n.height):n.height)/a;if(!o||!Number.isFinite(o)){o=1}if(!f||!Number.isFinite(f)){f=1}return{x:o,y:f}}var X={x:0,y:0};function Y(r,t,n){var e,i;if(t===void 0){t=true}if(!B()){return X}var a=r?T(r):window;if(!n||t&&n!==a){return X}return{x:((e=a.visualViewport)==null?void 0:e.offsetLeft)||0,y:((i=a.visualViewport)==null?void 0:i.offsetTop)||0}}function Z(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=K(r);var u=Q;if(t){if(e){if(E(e)){u=U(e)}}else{u=U(r)}}var o=Y(a,n,e);var f=(i.left+o.x)/u.x;var c=(i.top+o.y)/u.y;var s=i.width/u.x;var v=i.height/u.y;if(a){var l=T(a);var d=e&&E(e)?T(e):e;var h=l.frameElement;while(h&&e&&d!==l){var _=U(h);var g=h.getBoundingClientRect();var y=getComputedStyle(h);g.x+=(h.clientLeft+parseFloat(y.paddingLeft))*_.x;g.y+=(h.clientTop+parseFloat(y.paddingTop))*_.y;f*=_.x;c*=_.y;s*=_.x;v*=_.y;f+=g.x;c+=g.y;h=T(h).frameElement}}return b({width:s,height:v,x:f,y:c})}function $(r){return((M(r)?r.ownerDocument:r.document)||window.document).documentElement}function rr(r){if(E(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function tr(r){var t=r.rect,n=r.offsetParent,e=r.strategy;var i=L(n);var a=$(n);if(n===a){return t}var u={scrollLeft:0,scrollTop:0};var o={x:1,y:1};var f={x:0,y:0};if(i||!i&&e!=="fixed"){if(D(n)!=="body"||N(a)){u=rr(n)}if(L(n)){var c=Z(n);o=U(n);f.x=c.x+n.clientLeft;f.y=c.y+n.clientTop}}return{width:t.width*o.x,height:t.height*o.y,x:t.x*o.x-u.scrollLeft*o.x+f.x,y:t.y*o.y-u.scrollTop*o.y+f.y}}function nr(r){return Z($(r)).left+rr(r).scrollLeft}function er(r){var t=$(r);var n=rr(r);var e=r.ownerDocument.body;var i=W(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth);var a=W(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);var u=-n.scrollLeft+nr(r);var o=-n.scrollTop;if(C(e).direction==="rtl"){u+=W(t.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:u,y:o}}function ir(r){if(D(r)==="html"){return r}var t=r.assignedSlot||r.parentNode||z(r)&&r.host||$(r);return z(t)?t.host:t}function ar(r){var t=ir(r);if(G(t)){return t.ownerDocument.body}if(L(t)&&N(t)){return t}return ar(t)}function ur(r,t){var n;if(t===void 0){t=[]}var e=ar(r);var i=e===((n=r.ownerDocument)==null?void 0:n.body);var a=T(e);if(i){return t.concat(a,a.visualViewport||[],N(e)?e:[])}return t.concat(e,ur(e))}function or(r,t){var n=T(r);var e=$(r);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var c=B();if(!c||c&&t==="fixed"){o=i.offsetLeft;f=i.offsetTop}}return{width:a,height:u,x:o,y:f}}function fr(r,t){var n=Z(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=L(r)?U(r):{x:1,y:1};var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:u,height:o,x:f,y:c}}function cr(r,t,n){var e;if(t==="viewport"){e=or(r,n)}else if(t==="document"){e=er($(r))}else if(E(t)){e=fr(t,n)}else{var i=Y(r);e=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return b(e)}function sr(r,t){var n=ir(r);if(n===t||!E(n)||G(n)){return false}return C(n).position==="fixed"||sr(n,t)}function vr(r,t){var n=t.get(r);if(n){return n}var e=ur(r).filter((function(r){return E(r)&&D(r)!=="body"}));var i=null;var a=C(r).position==="fixed";var u=a?ir(r):r;while(E(u)&&!G(u)){var o=C(u);var f=q(u);if(!f&&o.position==="fixed"){i=null}var c=a?!f&&!i:!f&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||N(u)&&!f&&sr(r,u);if(c){e=e.filter((function(r){return r!==u}))}else{i=o}u=ir(u)}t.set(r,e);return e}function lr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var a=n==="clippingAncestors"?vr(t,this._c):[].concat(n);var u=__spreadArray(__spreadArray([],a,true),[e],false);var o=u[0];var f=u.reduce((function(r,n){var e=cr(t,n,i);r.top=W(e.top,r.top);r.right=H(e.right,r.right);r.bottom=H(e.bottom,r.bottom);r.left=W(e.left,r.left);return r}),cr(t,o,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function dr(r){return J(r)}function hr(r,t){if(!L(r)||C(r).position==="fixed"){return null}if(t){return t(r)}return r.offsetParent}function _r(r){var t=ir(r);while(L(t)&&!G(t)){if(q(t)){return t}else{t=ir(t)}}return null}function gr(r,t){var n=T(r);if(!L(r)){return n}var e=hr(r,t);while(e&&V(e)&&C(e).position==="static"){e=hr(e,t)}if(e&&(D(e)==="html"||D(e)==="body"&&C(e).position==="static"&&!q(e))){return n}return e||_r(r)||n}function yr(r,t,n){var e=L(t);var i=$(t);var a=n==="fixed";var u=Z(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(e||!e&&!a){if(D(t)!=="body"||N(i)){o=rr(t)}if(L(t)){var c=Z(t,true,a,t);f.x=c.x+t.clientLeft;f.y=c.y+t.clientTop}else if(i){f.x=nr(i)}}return{x:u.left+o.scrollLeft-f.x,y:u.top+o.scrollTop-f.y,width:u.width,height:u.height}}var pr={getClippingRect:lr,convertOffsetParentRelativeRectToViewportRelativeRect:tr,isElement:E,getDimensions:dr,getOffsetParent:gr,getDocumentElement:$,getScale:U,getElementRects:function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a,u,o,f;var c;return __generator(this,(function(s){switch(s.label){case 0:t=r.reference,n=r.floating,e=r.strategy;i=this.getOffsetParent||gr;a=this.getDimensions;c={};u=yr;o=[t];return[4,i(n)];case 1:c.reference=u.apply(void 0,o.concat([s.sent(),e]));f=[{x:0,y:0}];return[4,a(n)];case 2:return[2,(c.floating=__assign.apply(void 0,f.concat([s.sent()])),c)]}}))}))},getClientRects:function(r){return Array.from(r.getClientRects())},isRTL:function(r){return C(r).direction==="rtl"}};function mr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?true:f,s=e.animationFrame,v=s===void 0?false:s;var l=a||o?__spreadArray(__spreadArray([],E(r)?ur(r):r.contextElement?ur(r.contextElement):[],true),ur(t),true):[];l.forEach((function(r){var t=!E(r)&&r.toString().includes("V");if(a&&(v?t:true)){r.addEventListener("scroll",n,{passive:true})}o&&r.addEventListener("resize",n)}));var d=null;if(c){d=new ResizeObserver((function(){n()}));E(r)&&!v&&d.observe(r);if(!E(r)&&r.contextElement&&!v){d.observe(r.contextElement)}d.observe(t)}var h;var _=v?Z(r):null;if(v){g()}function g(){var t=Z(r);if(_&&(t.x!==_.x||t.y!==_.y||t.width!==_.width||t.height!==_.height)){n()}_=t;h=requestAnimationFrame(g)}n();return function(){var r;l.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));(r=d)==null?void 0:r.disconnect();d=null;if(v){cancelAnimationFrame(h)}}}var wr=r("c",(function(r,t,n){var e=new Map;var i=__assign({platform:pr},n);var a=__assign(__assign({},i.platform),{_c:e});return k(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-ce0c1247.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var n,t,a,o,i;return{setters:[function(e){n=e.r;t=e.h;a=e.H;o=e.g},function(e){i=e.i}],execute:function(){var r="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.container{position:relative;z-index:400}slot[name=mobile]{display:inherit}slot[name=desktop]{display:none}@media (min-width: 62em){slot[name=mobile]{display:none}slot[name=desktop]{display:inherit}}";var s=e("duet_nav",function(){function e(e){n(this,e);this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return t(a,null,t("div",{class:"container"},t("slot",null),t("slot",{name:"mobile"}),t("slot",{name:"desktop"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=r}}}));
4
+ System.register(["./p-d98dd209.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var n,t,a,o,i;return{setters:[function(e){n=e.r;t=e.h;a=e.H;o=e.g},function(e){i=e.i}],execute:function(){var r="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.container{position:relative;z-index:400}slot[name=mobile]{display:inherit}slot[name=desktop]{display:none}@media (min-width: 62em){slot[name=mobile]{display:none}slot[name=desktop]{display:inherit}}";var s=e("duet_nav",function(){function e(e){n(this,e);this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return t(a,null,t("div",{class:"container"},t("slot",null),t("slot",{name:"mobile"}),t("slot",{name:"desktop"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=r}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{r(n.next(e))}catch(e){o(e)}}function l(e){try{r(n["throw"](e))}catch(e){o(e)}}function r(e){e.done?i(e.value):a(e.value).then(s,l)}r((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return r([e,t])}}function r(l){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(n=1,a&&(o=l[0]&2?a["return"]:l[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,l[1])).done)return o;if(a=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;a=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];a=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-ce0c1247.system.js","./p-0c4bbd65.system.js","./p-1c689a26.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-b2716337.system.js","./p-7cf03aa8.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,i,n,a,o,s,l,r,c,u,d,h,f,p,g;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){s=e.a},function(e){l=e.f;r=e.t},function(e){c=e.i},function(e){u=e.c},function(e){d=e.i;h=e.s;f=e.u},function(e){p=e.h},function(e){g=e.s}],execute:function(){var m='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;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)}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;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);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}';var b=e("duet_collapsible",function(){function e(e){var n=this;t(this,e);this.duetToggle=i(this,"duetToggle",7);this.id=u("DuetCollapsible");this.handleKeyDown=function(e){if(d(e)){n.handleClick(e)}};this.getFontSizeFromTokens=function(e){if(e===void 0){e=n.headingSize}if(!e){return l}else{var t=/-/g;var i=e.replace(t,"_");return r["font_size_".concat(i)]}};this.getEquivalentIconSize=function(e){if(e===void 0){e=n.headingSize}switch(e){case"x-small":return"xx-small";case"small":return"xx-small";case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}};this.handleClick=function(e){e.preventDefault();n.open=!n.open;n.duetToggle.emit({component:"duet-collapsible",originalEvent:e})};this.theme="";this.accessibleLabel=undefined;this.heading="";this.headingFullWidth=false;this.centerHeading=false;this.headingWeight="semibold";this.headingSize=undefined;this.headingLevel=undefined;this.margin="auto";this.open=false}e.prototype.componentWillLoad=function(){c(this);this.hasAfterHeading=p(this.element,"after-heading")};e.prototype.connectedCallback=function(){h(this)};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.element.classList.add("user-is-tabbing");this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.headingLevel?g(this.headingLevel):"div";return n(a,{class:{"duet-m-0":this.margin==="none"}},n(t,null,n("button",{class:{"duet-collapsible-heading":true,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":this.theme==="turva","duet-collapsible-normal-weight":this.headingWeight==="normal","has-after-heading":this.hasAfterHeading,"full-width":this.headingFullWidth},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:function(t){return e.nativeButton=t},"aria-label":this.accessibleLabel,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},n("div",{class:"duet-collapsible-heading-icon"},n("duet-icon",{margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:s.svg})),n("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading),this.hasAfterHeading&&n("div",{part:"duet-collapsible-after-heading"},n("slot",{name:"after-heading"})))),n("div",{id:this.id,class:{"duet-collapsible-content":true,"duet-theme-turva":this.theme==="turva"},part:"duet-collapsible-content"},n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=m}}}));
4
+ */System.register(["./p-d98dd209.system.js","./p-0c4bbd65.system.js","./p-1c689a26.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-7cf03aa8.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,i,n,a,o,s,l,r,c,u,d,h,f,p,g;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){s=e.a},function(e){l=e.f;r=e.t},function(e){c=e.i},function(e){u=e.c},function(e){d=e.i;h=e.s;f=e.u},function(e){p=e.h},function(e){g=e.s}],execute:function(){var m='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;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)}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;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);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}';var b=e("duet_collapsible",function(){function e(e){var n=this;t(this,e);this.duetToggle=i(this,"duetToggle",7);this.id=u("DuetCollapsible");this.handleKeyDown=function(e){if(d(e)){n.handleClick(e)}};this.getFontSizeFromTokens=function(e){if(e===void 0){e=n.headingSize}if(!e){return l}else{var t=/-/g;var i=e.replace(t,"_");return r["font_size_".concat(i)]}};this.getEquivalentIconSize=function(e){if(e===void 0){e=n.headingSize}switch(e){case"x-small":return"xx-small";case"small":return"xx-small";case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}};this.handleClick=function(e){e.preventDefault();n.open=!n.open;n.duetToggle.emit({component:"duet-collapsible",originalEvent:e})};this.theme="";this.accessibleLabel=undefined;this.heading="";this.headingFullWidth=false;this.centerHeading=false;this.headingWeight="semibold";this.headingSize=undefined;this.headingLevel=undefined;this.margin="auto";this.open=false}e.prototype.componentWillLoad=function(){c(this);this.hasAfterHeading=p(this.element,"after-heading")};e.prototype.connectedCallback=function(){h(this)};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.element.classList.add("user-is-tabbing");this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.headingLevel?g(this.headingLevel):"div";return n(a,{class:{"duet-m-0":this.margin==="none"}},n(t,null,n("button",{class:{"duet-collapsible-heading":true,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":this.theme==="turva","duet-collapsible-normal-weight":this.headingWeight==="normal","has-after-heading":this.hasAfterHeading,"full-width":this.headingFullWidth},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:function(t){return e.nativeButton=t},"aria-label":this.accessibleLabel,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},n("div",{class:"duet-collapsible-heading-icon"},n("duet-icon",{margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:s.svg})),n("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading),this.hasAfterHeading&&n("div",{part:"duet-collapsible-after-heading"},n("slot",{name:"after-heading"})))),n("div",{id:this.id,class:{"duet-collapsible-content":true,"duet-theme-turva":this.theme==="turva"},part:"duet-collapsible-content"},n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=m}}}));
@@ -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 n}from"./p-ab5e0012.js";import{i as c}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{s as a,u as h}from"./p-3624bad1.js";const d=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",3),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.chipId=r("DuetChip"),this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const i=this.element.textContent,e=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var c;const r=null!==(c=t.value)&&void 0!==c?c:t.innerText;t.active?(o(),this.element.textContent=i,this.value=e,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=r,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{t.stopPropagation(),t.preventDefault(),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){c(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){h(this)}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}render(){var t;const i=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},c={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return e(o,null,"button"===this.variation&&e("span",{class:n},e("button",Object.assign({id:i,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},c),e("span",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null))),"input"===this.variation&&e("span",{class:n},e("button",Object.assign({id:i,class:"duet-chip-input-button","aria-label":this.accessibleLabel},c),e("span",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null)),e("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},e("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&e("span",{class:n},e("input",Object.assign({"aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:i,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},c)),e("label",{htmlFor:i},this.icon&&e("span",{class:"duet-chip-icon-container"},e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null),this.popupElement&&e("span",{class:"duet-chip-popup-disclosure"},e("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&e("span",{class:n},e("input",Object.assign({"aria-disabled":this.disabled?"true":void 0,id:i,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?t=>t.preventDefault():void 0},c)),e("label",{htmlFor:i},this.icon&&e("span",{class:"duet-chip-icon-container"},e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';export{d as duet_chip}
4
+ import{r as t,c as i,h as e,H as o,g as n}from"./p-4ffa264b.js";import{i as c}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{s as a,u as h}from"./p-a1b7f2a0.js";const d=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",3),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.chipId=r("DuetChip"),this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const i=this.element.textContent,e=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var c;const r=null!==(c=t.value)&&void 0!==c?c:t.innerText;t.active?(o(),this.element.textContent=i,this.value=e,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=r,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{t.stopPropagation(),t.preventDefault(),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){c(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){h(this)}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}render(){var t;const i=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},c={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return e(o,null,"button"===this.variation&&e("span",{class:n},e("button",Object.assign({id:i,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},c),e("span",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null))),"input"===this.variation&&e("span",{class:n},e("button",Object.assign({id:i,class:"duet-chip-input-button","aria-label":this.accessibleLabel},c),e("span",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null)),e("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},e("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&e("span",{class:n},e("input",Object.assign({"aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:i,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},c)),e("label",{htmlFor:i},this.icon&&e("span",{class:"duet-chip-icon-container"},e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null),this.popupElement&&e("span",{class:"duet-chip-popup-disclosure"},e("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&e("span",{class:n},e("input",Object.assign({"aria-disabled":this.disabled?"true":void 0,id:i,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?t=>t.preventDefault():void 0},c)),e("label",{htmlFor:i},this.icon&&e("span",{class:"duet-chip-icon-container"},e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';export{d as duet_chip}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as M,h as N,g}from"./p-ab5e0012.js";import{i as j}from"./p-a58bd561.js";const D=class{constructor(N){M(this,N),this.theme="",this.icon="",this.layout="narrow"}componentWillLoad(){j(this)}render(){return N("div",{class:{"duet-page-heading":!0,"duet-theme-turva":"turva"===this.theme,[this.layout]:!0}},N("div",{class:"background"},"turva"===this.theme&&N("div",{class:"background-mask"}),"turva"!==this.theme&&N("div",{class:"brand-shape"}),"turva"!==this.theme&&N("div",{class:"brand-shape second-shape"}),this.icon&&N("div",{class:"brand-shaped-icon"},N("duet-icon",{background:"none",name:this.icon,margin:"none",size:"auto",responsive:!1}))),N("div",{class:"heading"},N("slot",{name:"heading"})))}get element(){return g(this)}};D.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-page-heading{position:relative;display:block;width:100%;margin:0 auto;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";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44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NC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}';export{D as duet_page_heading}
4
+ import{r as M,h as N,g}from"./p-4ffa264b.js";import{i as j}from"./p-a58bd561.js";const D=class{constructor(N){M(this,N),this.theme="",this.icon="",this.layout="narrow"}componentWillLoad(){j(this)}render(){return N("div",{class:{"duet-page-heading":!0,"duet-theme-turva":"turva"===this.theme,[this.layout]:!0}},N("div",{class:"background"},"turva"===this.theme&&N("div",{class:"background-mask"}),"turva"!==this.theme&&N("div",{class:"brand-shape"}),"turva"!==this.theme&&N("div",{class:"brand-shape second-shape"}),this.icon&&N("div",{class:"brand-shaped-icon"},N("duet-icon",{background:"none",name:this.icon,margin:"none",size:"auto",responsive:!1}))),N("div",{class:"heading"},N("slot",{name:"heading"})))}get element(){return g(this)}};D.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-page-heading{position:relative;display:block;width:100%;margin:0 auto;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";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTNDMTg0LjczNSAtNTEuMTM1IDE4MC43NTkgLTQyLjk2MDIgMTc3LjAxNyAtMzQuOTAyN0MxNzMuMjg4IC0yNi44NDUyIDE2Ny42ODEgLTE5LjEyNjggMTYwLjIxMSAtMTEuNzYwM0MxNTIuNzUzIC00LjM4MDgzIDE0NC45NTYgMy4zMTE1MiAxMzYuODQ3IDExLjM2OUMxMjguNzI0IDE5LjQyNjUgMTIwLjk2NiAyNy4xNDUgMTEzLjQ4MyAzNC40OTg0Qzk3LjQ5OCA0OS44MTggNzkuNjYyIDU2LjAyNDEgNjAuMDAwOCA1My4xNjg4QzQwLjI4NzQgNTAuMzEzNSAyNS41NDE0IDM5LjA3NDcgMTUuNjk3NyAxOS40Nzg2QzMuOTI0NDUgLTIuMz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wNCAxMi42NzMgNDE5LjA1NCAyNS45NDU2IDQxNC44MyAzOS45ODc1QzQwNi40NzMgNjEuOTU2NSA0MDQuMjgyIDgyLjI2OTcgNDA4LjI4NSAxMDAuOTY2QzQxMi4wMTQgMTIwLjQ1OCA0MTguODMzIDEzOC40NjMgNDI4LjcyOCAxNTQuOTgyQzQzOC42MTEgMTcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}';export{D as duet_page_heading}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-ce0c1247.system.js","./p-50f4bca2.system.js","./p-b2716337.system.js"],(function(e){"use strict";var n,t,r,o,a,i;return{setters:[function(e){n=e.r;t=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';var s=e("duet_menu_bar_dropdown_link",function(){function e(e){var t=this;n(this,e);this.getVariant=function(){var e=t.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-menu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e;var n=this;return t(r,null,t("a",{class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return n.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
4
+ System.register(["./p-d98dd209.system.js","./p-50f4bca2.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var n,t,r,o,a,i;return{setters:[function(e){n=e.r;t=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';var s=e("duet_menu_bar_dropdown_link",function(){function e(e){var t=this;n(this,e);this.getVariant=function(){var e=t.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-menu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e;var n=this;return t(r,null,t("a",{class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return n.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as i,H as s,g as o}from"./p-4ffa264b.js";import{e as a,d}from"./p-8354d1f1.js";import{i as n}from"./p-a58bd561.js";import{f as l,F as r}from"./p-cd0a050c.js";import{f as h}from"./p-a1b7f2a0.js";import{a as u,c as p,d as c,g}from"./p-2e36d5bf.js";import{h as m}from"./p-d87f6dd5.js";import{T as b}from"./p-7796b4bf.js";import{g as v}from"./p-0bdcf67f.js";import"./p-0e052642.js";import"./p-67dc45d7.js";const f=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.openButton=e}catch(t){}},this.setStickHeaderStyleMutations=(t=!1)=>{this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group').forEach((e=>{e.style.position=t?null:"relative",e.style.top=t?null:"1px"}))},this.openButtonEventListener=t=>{t.stopPropagation(),t.preventDefault(),this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{this.open=!this.open,this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"})},this.bgOnClick=t=>{this.open&&this.toggleMenu(t)},this.onClick=t=>{this.toggleMenu(t)},this.language=u(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.opener=void 0,this.backgroundColor="gray-lightest"}componentWillLoad(){n(this),this.hasStickyHeaderSlot=m(this.element,"sticky-header"),this.teleport=new b(this.element)}connectedCallback(){p(this),this.teleport||(this.teleport=new b(this.element)),this.teleport&&this.teleport.activate(),this.opener&&(this.setOpenButton(document.getElementById(this.opener)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)),this.setStickHeaderStyleMutations(),this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()})),this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){c(this),this.dialog&&a(this.dialog),this.mutationObserver&&this.mutationObserver.disconnect(),this.openButton&&this.openButton.removeEventListener("click",this.openButtonEventListener),this.setStickHeaderStyleMutations(!0)}handleOpenChange(t,e){if(!!t!=!!e)if(this.open&&!e){this.openButton&&(this.openButton.accessibleExpanded=!0);const t=this.getOpenPanel();this.teleport.makeSiblingsInert(),d(this.dialog,{reserveScrollBarGap:!0}),t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{l(this.openButton),a(this.dialog),this.teleport.removeInertFromSiblings()}),200))}handleKeyUp(t){h(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){var e;null===(e=this.openButton)||void 0===e||e.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:v(this.backgroundColor,this.theme)},e=g(this.topLevelOpenMenuBarLangObject),o=g(this.exitLangObject);return i(s,null,i("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},i("duet-overlay",{onClick:this.bgOnClick,visible:this.open,"display-device":"large"}),i("div",{ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open},style:t},i(r,{moveFocusTo:this.closeButton}),i("div",{class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{class:"top"},i("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},i("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{class:"sticky-header"},i("slot",{name:"sticky-header"}))),i("div",{id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?e:null,class:{items:!0}},i("slot",null)),i(r,{moveFocusTo:this.closeButton}))))}get element(){return o(this)}static get watchers(){return{open:["handleOpenChange"]}}};f.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;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-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.duet-slideout.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{f as duet_slideout}
@@ -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 a}from"./p-ab5e0012.js";import{i as n}from"./p-a58bd561.js";const r=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.onChange=e=>{e.preventDefault(),e.stopPropagation(),this.duetChange.emit({originalEvent:e,data:{files:this.nativeInput.files},component:"duet-file-chooser"})},this.theme="",this.multiple=!1,this.accept=void 0}async open(){var e;null===(e=this.nativeInput)||void 0===e||e.click()}async getFiles(){return this.nativeInput.files}componentWillLoad(){n(this)}render(){return i(a,null,i("duet-visually-hidden",{"aria-hidden":"true"},i("input",{ref:e=>{this.nativeInput=e},type:"file",class:{"duet-upload":!0},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";export{r as duet_file_chooser}
4
+ import{r as e,c as t,h as i,H as a}from"./p-4ffa264b.js";import{i as n}from"./p-a58bd561.js";const r=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.onChange=e=>{e.preventDefault(),e.stopPropagation(),this.duetChange.emit({originalEvent:e,data:{files:this.nativeInput.files},component:"duet-file-chooser"})},this.theme="",this.multiple=!1,this.accept=void 0}async open(){var e;null===(e=this.nativeInput)||void 0===e||e.click()}async getFiles(){return this.nativeInput.files}componentWillLoad(){n(this)}render(){return i(a,null,i("duet-visually-hidden",{"aria-hidden":"true"},i("input",{ref:e=>{this.nativeInput=e},type:"file",class:{"duet-upload":!0},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";export{r as duet_file_chooser}
@@ -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 a,g as i}from"./p-ab5e0012.js";import{i as o}from"./p-a58bd561.js";import{a as n,c as s,d as r}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(e){t(this,e),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=n(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const t="turva"===this.theme?"turva":"default";return e(a,{class:{"duet-m-0":"none"===this.margin}},e("div",{class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?e("img",{class:"image",src:this.image,alt:this.name}):e("div",null),e("div",null,this.name&&e("duet-heading",{class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&e("duet-paragraph",{class:"description",margin:"none",theme:t},this.description),this.email&&e("div",{class:"email"},e("duet-icon",{name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:t},this.email)),this.phone&&e("div",{class:"phone"},e("duet-icon",{name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:t},this.phone))),this.buttonUrl&&this.buttonText&&e("div",{class:"call-to-action"},e("duet-button",{variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),e("div",null),e("slot",null)))}get element(){return i(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{d as duet_contact_card}
4
+ import{r as t,h as e,H as a,g as i}from"./p-4ffa264b.js";import{i as o}from"./p-a58bd561.js";import{a as n,c as s,d as r}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(e){t(this,e),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=n(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){o(this)}connectedCallback(){s(this)}disconnectedCallback(){r(this)}render(){const t="turva"===this.theme?"turva":"default";return e(a,{class:{"duet-m-0":"none"===this.margin}},e("div",{class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?e("img",{class:"image",src:this.image,alt:this.name}):e("div",null),e("div",null,this.name&&e("duet-heading",{class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&e("duet-paragraph",{class:"description",margin:"none",theme:t},this.description),this.email&&e("div",{class:"email"},e("duet-icon",{name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:t},this.email)),this.phone&&e("div",{class:"phone"},e("duet-icon",{name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),e("duet-link",{url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:t},this.phone))),this.buttonUrl&&this.buttonText&&e("div",{class:"call-to-action"},e("duet-button",{variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),e("div",null),e("slot",null)))}get element(){return i(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{d as duet_contact_card}
@@ -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 i,H as s,g as n}from"./p-ab5e0012.js";import{i as u}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{a,b as o,c as h,d,e as b,s as l,u as c}from"./p-3624bad1.js";import{a as p,b as m,g,c as v,d as f}from"./p-2e36d5bf.js";import{c as x}from"./p-d87f6dd5.js";import"./p-0e052642.js";function w(t,e){let i;if("string"==typeof t){if(""===t)return null;let s=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(s=function(t,e,i=!1){let s;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return s=t.replace(n,"DECIMALSEPARATOR"),s=s.replace(r,i?"THOUSANDSEPARATOR":""),s=s.replace("DECIMALSEPARATOR",u),s=s.replace("THOUSANDSEPARATOR",a),s}(s,e,!1)),s=s.replace(/\s+/g,""),s=s.replace(/(?!^-?\d*\.{0,1}\d+$)/g,""),i=parseFloat(s)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const y=(t,e,i)=>Math.min(Math.max(t,e),i),A=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||d(t)?this.subtract(t):b(t)&&this.clearValue()},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=w(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:w(this.value,this.locale).toString(),valueAsNumber:i})}catch(e){this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let s=w(e.value,this.locale);this.rounding&&(i=this.step,s=Math.round(s/i)*i),s=y(s,this.min,this.max),s===w(this.value,this.locale)&&s===w(this.focusedValue,this.locale)||(this.setValue(s),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=w(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const s=y(i,this.min,this.max);this.value=this.localizeValue(s),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=y(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=p(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(w(this.value,this.locale))),x(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){v(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),l(this)}disconnectedCallback(){f(this),c(this)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=w(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(){this.value=null,this.duetInputElement.value=""}formatAnnouncement(){const t=this.value?w(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,n=this.value?w(this.value,this.locale):null;return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{name:"tooltip"}),i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};A.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(207, 210, 212)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(225, 227, 230)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(228, 228, 230)}';export{A as duet_number_input}
4
+ import{r as t,c as e,h as i,H as s,g as n}from"./p-4ffa264b.js";import{i as u}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{a,b as o,c as h,d,e as b,s as l,u as c}from"./p-a1b7f2a0.js";import{a as p,b as m,g,c as f,d as v}from"./p-2e36d5bf.js";import{c as x}from"./p-d87f6dd5.js";import"./p-0e052642.js";function w(t,e){let i;if("string"==typeof t){if(""===t)return null;let s=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(s=function(t,e,i=!1){let s;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return s=t.replace(n,"DECIMALSEPARATOR"),s=s.replace(r,i?"THOUSANDSEPARATOR":""),s=s.replace("DECIMALSEPARATOR",u),s=s.replace("THOUSANDSEPARATOR",a),s}(s,e,!1)),s=s.replace(/\s+/g,""),s=s.replace(/(?!^-?\d*\.{0,1}\d+$)/g,""),i=parseFloat(s)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const y=(t,e,i)=>Math.min(Math.max(t,e),i),A=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||d(t)?this.subtract(t):b(t)&&this.clearValue()},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=w(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:w(this.value,this.locale).toString(),valueAsNumber:i})}catch(e){this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let s=w(e.value,this.locale);this.rounding&&(i=this.step,s=Math.round(s/i)*i),s=y(s,this.min,this.max),s===w(this.value,this.locale)&&s===w(this.focusedValue,this.locale)||(this.setValue(s),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=w(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const s=y(i,this.min,this.max);this.value=this.localizeValue(s),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=w(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=y(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=p(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(w(this.value,this.locale))),x(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){f(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),l(this)}disconnectedCallback(){v(this),c(this)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=w(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(){this.value=null,this.duetInputElement.value=""}formatAnnouncement(){const t=this.value?w(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,n=this.value?w(this.value,this.locale):null;return i(s,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("slot",{name:"tooltip"}),i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};A.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(207, 210, 212)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(225, 227, 230)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(228, 228, 230)}';export{A as duet_number_input}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-d98dd209.system.js","./p-50f4bca2.system.js","./p-7cf03aa8.system.js","./p-6ef75455.system.js","./p-73e66b09.system.js","./p-b31d31d8.system.js"],(function(e){"use strict";var t,a,i,n,r,o,s,l,u;return{setters:[function(e){t=e.h;a=e.r;i=e.H;n=e.g},function(e){r=e.i},function(e){o=e.h;s=e.c},function(e){l=e.p},function(e){u=e.g},function(){}],execute:function(){var d=function(e){var a=e.img,i=e.sources;return t("picture",null,i&&i.map((function(e){return t("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes})})),t("img",Object.assign({},a)))};var m='*,*::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:36px !important;margin-bottom:36px !important;display:flex;justify-content:center;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;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;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.medium{grid-template-rows:none;grid-template-columns:50% 50%;max-width:542px;height:288px}.duet-banner.medium .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.medium .visual .image-container{position:absolute;bottom:-72px;left:-178px}.duet-banner.medium .visual .image{width:auto;height:auto}.duet-banner.medium .visual .icon{top:36px;left:168px}.duet-banner.medium .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.medium .action{flex-grow:0}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{position:relative;top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px;width:100%;height:100%}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.medium .visual .image-container{top:-54.923px;left:-185px;width:410px;height:422px}.duet-banner.duet-theme-turva.medium .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px;width:526px;height:456px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}';var p=e("duet_banner",function(){function e(e){var t=this;a(this,e);this.checkBannerSize=function(){var e=t.element.clientWidth;if(e<500||t.size==="small"){t.currentSize="small"}else if(e<900||t.size==="medium"){t.currentSize="medium"}else{t.currentSize="large"}t.setButtonSize()};this.setButtonSize=function(){if(t.hasActionSlot){var e=t.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var a=0,i=e;a<i.length;a++){var n=i[a];if(n&&n.getAttribute("size")===null&&t.currentSize!=="large"){n.size="small"}}}};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}e.prototype.componentWillLoad=function(){var e=this;r(this);this.hasHeadingSlot=o(this.element,"heading");this.hasDescriptionSlot=o(this.element,"description");this.hasActionSlot=o(this.element,"action");s(this.element,"heading","span");this.setButtonSize();setTimeout((function(){e.checkBannerSize()}),0)};e.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkBannerSize)};e.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkBannerSize)};e.prototype.render=function(){var e;var a=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var n=u(a,this.theme);var r=u(this.textColor,this.theme);var o={backgroundColor:n};var s={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:l(this.sources)};return t(i,{class:{"duet-m-0":this.margin==="none"}},t("aside",{class:(e={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},e[this.currentSize]=true,e),style:o},t("div",{class:"visual"},t("div",{class:"image-container"},this.image&&t(d,Object.assign({},s))),this.icon&&t("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:this.currentSize==="large"?"xx-large":"x-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),t("div",{class:"content"},this.hasHeadingSlot&&t("div",{class:"heading"},t("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:this.textColor},t("span",null,t("slot",{name:"heading"})))),this.hasDescriptionSlot&&t("div",{class:"description",style:{color:r}},t("slot",{name:"description"})),this.hasActionSlot&&t("div",{class:"action"},t("slot",{name:"action"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());p.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-ce0c1247.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var n,t,r,a,o;return{setters:[function(e){n=e.r;t=e.h;r=e.H;a=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(0, 41, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}";var s=e("duet_empty_state",function(){function e(e){n(this,e);this.theme="";this.icon="messaging-question";this.size="medium"}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return t(r,null,t("div",{class:{"duet-empty-state":true,"duet-theme-turva":this.theme==="turva","duet-is-small":this.size==="small"}},t("duet-icon",{color:"currentColor",name:this.icon,size:this.size==="small"?"large":"x-large"}),t("div",null,t("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=i}}}));
4
+ System.register(["./p-d98dd209.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var n,t,r,a,o;return{setters:[function(e){n=e.r;t=e.h;r=e.H;a=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(0, 41, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}";var s=e("duet_empty_state",function(){function e(e){n(this,e);this.theme="";this.icon="messaging-question";this.size="medium"}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return t(r,null,t("div",{class:{"duet-empty-state":true,"duet-theme-turva":this.theme==="turva","duet-is-small":this.size==="small"}},t("duet-icon",{color:"currentColor",name:this.icon,size:this.size==="small"?"large":"x-large"}),t("div",null,t("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=i}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as i}from"./p-ab5e0012.js";import{a as n}from"./p-f9a8d356.js";import{i as o}from"./p-a58bd561.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){o(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.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=[]}render(){return t(a,{role:"listitem"},t("a",{class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),t("slot",null)))}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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{r as duet_menu_bar_link}
4
+ import{r as e,h as t,H as a,g as i}from"./p-4ffa264b.js";import{a as n}from"./p-f9a8d356.js";import{i as o}from"./p-a58bd561.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){o(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.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=[]}render(){return t(a,{role:"listitem"},t("a",{class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),t("slot",null)))}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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{r as duet_menu_bar_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as i,H as s,g as e}from"./p-4ffa264b.js";import{m as o,a as h}from"./p-f9a8d356.js";import{c as a,a as n,f as l,s as p,b as r}from"./p-31ed51c3.js";import{i as d}from"./p-a58bd561.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a1b7f2a0.js";import{a as u,g as b,c as f,d as v}from"./p-2e36d5bf.js";import"./p-0e052642.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(h.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1}),201),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await a(this.buttonEl,this.popupElement,{placement:e,middleware:[l(),p({padding:5}),r({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=n(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{g as duet_tooltip}