@duetds/components 9.0.0 → 9.0.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 (622) hide show
  1. package/hydrate/index.js +23 -12
  2. package/lib/cjs/{app-globals-facb1a52.js → app-globals-ea68dfa3.js} +1 -1
  3. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-input_2.cjs.entry.js +9 -6
  33. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-textarea.cjs.entry.js +19 -9
  72. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  82. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  84. package/lib/cjs/duet.cjs.js +3 -3
  85. package/lib/cjs/{errorcodes.utils-44c562a4.js → errorcodes.utils-fa515fad.js} +1 -1
  86. package/lib/cjs/{focus-utils-27911306.js → focus-utils-c8454b0e.js} +1 -1
  87. package/lib/cjs/{index-194c257f.js → index-77ef38d9.js} +1 -1
  88. package/lib/cjs/{language-utils-1742f9aa.js → language-utils-48d507db.js} +1 -1
  89. package/lib/cjs/loader.cjs.js +3 -3
  90. package/lib/cjs/{slot-utils-ad766f8a.js → slot-utils-a914b77c.js} +1 -1
  91. package/lib/collection/components/duet-grid/duet-grid.css +25 -0
  92. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  93. package/lib/collection/components/duet-hero/duet-hero.css +303 -171
  94. package/lib/collection/components/duet-input/duet-input.css +12 -0
  95. package/lib/collection/components/duet-input/duet-input.js +47 -2
  96. package/lib/collection/components/duet-textarea/duet-textarea.js +24 -11
  97. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  98. package/lib/dist-custom-elements/duet-alert.js +1 -1
  99. package/lib/dist-custom-elements/duet-badge.js +1 -1
  100. package/lib/dist-custom-elements/duet-banner.js +3 -3
  101. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  102. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  103. package/lib/dist-custom-elements/duet-button.js +1 -1
  104. package/lib/dist-custom-elements/duet-callout.js +2 -2
  105. package/lib/dist-custom-elements/duet-caption.js +1 -1
  106. package/lib/dist-custom-elements/duet-card.js +3 -3
  107. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  108. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  109. package/lib/dist-custom-elements/duet-chip.js +1 -1
  110. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  111. package/lib/dist-custom-elements/duet-choice.js +4 -4
  112. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  113. package/lib/dist-custom-elements/duet-combobox.js +12 -12
  114. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  115. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  116. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  117. package/lib/dist-custom-elements/duet-divider.js +1 -1
  118. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  119. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  120. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  121. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  122. package/lib/dist-custom-elements/duet-footer.js +7 -7
  123. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  124. package/lib/dist-custom-elements/duet-grid.js +1 -1
  125. package/lib/dist-custom-elements/duet-header.js +8 -8
  126. package/lib/dist-custom-elements/duet-heading.js +1 -1
  127. package/lib/dist-custom-elements/duet-hero.js +10 -10
  128. package/lib/dist-custom-elements/duet-icon.js +1 -1
  129. package/lib/dist-custom-elements/duet-input.js +1 -1
  130. package/lib/dist-custom-elements/duet-label.js +1 -1
  131. package/lib/dist-custom-elements/duet-layout.js +1 -1
  132. package/lib/dist-custom-elements/duet-link.js +1 -1
  133. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  134. package/lib/dist-custom-elements/duet-list.js +1 -1
  135. package/lib/dist-custom-elements/duet-logo.js +1 -1
  136. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  137. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  138. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  139. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  140. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  141. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  142. package/lib/dist-custom-elements/duet-modal.js +8 -8
  143. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  144. package/lib/dist-custom-elements/duet-nav.js +1 -1
  145. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  146. package/lib/dist-custom-elements/duet-notification.js +2 -2
  147. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  148. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  149. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  150. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  151. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  152. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  153. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  154. package/lib/dist-custom-elements/duet-progress.js +1 -1
  155. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  156. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  157. package/lib/dist-custom-elements/duet-radio.js +1 -1
  158. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  159. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  160. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  161. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  162. package/lib/dist-custom-elements/duet-select.js +1 -1
  163. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  164. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  165. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  166. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  167. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  168. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  169. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  170. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  171. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  172. package/lib/dist-custom-elements/duet-step.js +4 -4
  173. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  174. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  175. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  176. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  177. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  178. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  179. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  180. package/lib/dist-custom-elements/duet-tab.js +1 -1
  181. package/lib/dist-custom-elements/duet-table.js +1 -1
  182. package/lib/dist-custom-elements/duet-textarea.js +26 -17
  183. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  184. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  185. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  186. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  187. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  188. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  189. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  190. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  191. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  192. package/lib/dist-custom-elements/duet-tray.js +3 -3
  193. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  194. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  195. package/lib/dist-custom-elements/duet-upload.js +19 -19
  196. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  197. package/lib/dist-custom-elements/index.js +1 -1
  198. package/lib/dist-custom-elements/{p-9c5f6b97.js → p-02005902.js} +1 -1
  199. package/lib/dist-custom-elements/{p-f1772057.js → p-0c1a8c61.js} +1 -1
  200. package/lib/dist-custom-elements/{p-f473f372.js → p-0c2421ed.js} +3 -3
  201. package/lib/dist-custom-elements/{p-9c079599.js → p-203ae2e7.js} +5 -5
  202. package/lib/dist-custom-elements/{p-d8fe5bf2.js → p-23a36860.js} +1 -1
  203. package/lib/dist-custom-elements/{p-726c448e.js → p-2686d381.js} +1 -1
  204. package/lib/dist-custom-elements/{p-928fd687.js → p-30bd8b81.js} +1 -1
  205. package/lib/dist-custom-elements/{p-38e7c29a.js → p-31932263.js} +1 -1
  206. package/lib/dist-custom-elements/{p-a88c8a83.js → p-3236c232.js} +6 -6
  207. package/lib/dist-custom-elements/{p-a6699e20.js → p-47c7860f.js} +4 -4
  208. package/lib/dist-custom-elements/{p-72a86502.js → p-49e5becc.js} +5 -5
  209. package/lib/dist-custom-elements/{p-b640b46b.js → p-5a3e8d37.js} +2 -2
  210. package/lib/dist-custom-elements/{p-44f483cf.js → p-5d662897.js} +2 -2
  211. package/lib/dist-custom-elements/{p-4cb39695.js → p-646f2766.js} +2 -2
  212. package/lib/dist-custom-elements/{p-2ab1b82b.js → p-6c76ef5f.js} +3 -3
  213. package/lib/dist-custom-elements/{p-7622e7c2.js → p-6d323107.js} +5 -5
  214. package/lib/dist-custom-elements/{p-607e6b2f.js → p-7acaa80f.js} +1 -1
  215. package/lib/dist-custom-elements/{p-01d99db1.js → p-813c3b7e.js} +1 -1
  216. package/lib/dist-custom-elements/{p-2381dc5a.js → p-917183fc.js} +2 -2
  217. package/lib/dist-custom-elements/{p-92468f92.js → p-91d87226.js} +18 -13
  218. package/lib/dist-custom-elements/{p-ed7ebe18.js → p-940209c1.js} +1 -1
  219. package/lib/dist-custom-elements/{p-87613c37.js → p-98e97672.js} +2 -2
  220. package/lib/dist-custom-elements/{p-0f675524.js → p-9b9d67cc.js} +1 -1
  221. package/lib/dist-custom-elements/{p-e1acaa2f.js → p-9bcfe1fd.js} +1 -1
  222. package/lib/dist-custom-elements/{p-1fcfc5cd.js → p-a32bc785.js} +1 -1
  223. package/lib/dist-custom-elements/{p-5d4df509.js → p-a3706081.js} +8 -8
  224. package/lib/dist-custom-elements/{p-a8067de5.js → p-a427adbf.js} +1 -1
  225. package/lib/dist-custom-elements/{p-d857a1c4.js → p-a72e5b7a.js} +1 -1
  226. package/lib/dist-custom-elements/{p-3d250ee3.js → p-b6ae3f0f.js} +1 -1
  227. package/lib/dist-custom-elements/{p-e56b6ead.js → p-bc78082f.js} +2 -2
  228. package/lib/dist-custom-elements/{p-43561600.js → p-c2e792ff.js} +1 -1
  229. package/lib/dist-custom-elements/{p-29c09881.js → p-d2a380bb.js} +10 -10
  230. package/lib/dist-custom-elements/{p-aee08ffa.js → p-dbd3f1f5.js} +1 -1
  231. package/lib/dist-custom-elements/{p-f2c13723.js → p-e107da9a.js} +2 -2
  232. package/lib/dist-custom-elements/{p-64704a72.js → p-ea482c86.js} +1 -1
  233. package/lib/dist-custom-elements/{p-ff219485.js → p-fb0d43f7.js} +1 -1
  234. package/lib/dist-custom-elements/p-fd50fe15.js +192 -0
  235. package/lib/duet/duet.esm.js +1 -1
  236. package/lib/duet/duet.js +1 -1
  237. package/lib/duet/{p-35387742.system.entry.js → p-01478b10.system.entry.js} +1 -1
  238. package/lib/duet/{p-77578dad.system.entry.js → p-01faaa37.system.entry.js} +1 -1
  239. package/lib/duet/{p-dd997c58.entry.js → p-022bb645.entry.js} +1 -1
  240. package/lib/duet/{p-24ce8a20.entry.js → p-0303b9f5.entry.js} +1 -1
  241. package/lib/duet/{p-f879ef38.entry.js → p-0319560a.entry.js} +1 -1
  242. package/lib/duet/{p-7f2a065a.system.entry.js → p-049e0344.system.entry.js} +1 -1
  243. package/lib/duet/{p-ec5257d5.entry.js → p-07a3a4b2.entry.js} +1 -1
  244. package/lib/duet/{p-f291076d.system.entry.js → p-08890e7d.system.entry.js} +1 -1
  245. package/lib/duet/{p-22eb7da6.system.entry.js → p-0a858564.system.entry.js} +1 -1
  246. package/lib/duet/{p-8445f863.system.entry.js → p-0b25ce98.system.entry.js} +1 -1
  247. package/lib/duet/{p-e818c71c.system.entry.js → p-0c75814e.system.entry.js} +1 -1
  248. package/lib/duet/{p-b7ffc45d.system.entry.js → p-0e232ca3.system.entry.js} +1 -1
  249. package/lib/duet/{p-47972d97.entry.js → p-0e73b18c.entry.js} +1 -1
  250. package/lib/duet/{p-c38f507c.system.entry.js → p-0f2dc8b4.system.entry.js} +1 -1
  251. package/lib/duet/{p-cdd507da.entry.js → p-131f4e80.entry.js} +1 -1
  252. package/lib/duet/{p-e285bc6b.system.entry.js → p-1437b0fb.system.entry.js} +1 -1
  253. package/lib/duet/{p-03c07ea0.system.entry.js → p-14668571.system.entry.js} +2 -2
  254. package/lib/duet/{p-0c646508.entry.js → p-1633785d.entry.js} +1 -1
  255. package/lib/duet/p-168fce1a.entry.js +4 -0
  256. package/lib/duet/{p-cf7e866c.js → p-18ada958.js} +1 -1
  257. package/lib/duet/{p-72a9cd23.entry.js → p-199129a0.entry.js} +1 -1
  258. package/lib/duet/{p-10cb78d2.entry.js → p-1af2bfd6.entry.js} +1 -1
  259. package/lib/duet/{p-73deeebf.entry.js → p-1dcd3dc3.entry.js} +1 -1
  260. package/lib/duet/{p-672d827a.entry.js → p-1e2ff860.entry.js} +1 -1
  261. package/lib/duet/{p-4c8534b8.system.entry.js → p-205485aa.system.entry.js} +2 -2
  262. package/lib/duet/{p-5a27c25c.system.entry.js → p-22e8c418.system.entry.js} +1 -1
  263. package/lib/duet/p-2455ba6c.entry.js +4 -0
  264. package/lib/duet/{p-6fd15d81.system.entry.js → p-24c7bb10.system.entry.js} +1 -1
  265. package/lib/duet/p-26fa8650.entry.js +4 -0
  266. package/lib/duet/{p-8c4af698.system.entry.js → p-27680688.system.entry.js} +1 -1
  267. package/lib/duet/{p-b8036748.system.entry.js → p-28721f4b.system.entry.js} +1 -1
  268. package/lib/duet/{p-23bd51b4.system.entry.js → p-2ad7e778.system.entry.js} +1 -1
  269. package/lib/duet/{p-5df80e76.system.entry.js → p-2bcb1acd.system.entry.js} +1 -1
  270. package/lib/duet/{p-0a5cf5c1.entry.js → p-2d76a7e9.entry.js} +1 -1
  271. package/lib/duet/{p-8a7f5446.entry.js → p-2e3cb88f.entry.js} +1 -1
  272. package/lib/duet/{p-119a2b31.system.entry.js → p-2f840cf0.system.entry.js} +1 -1
  273. package/lib/duet/{p-88567708.entry.js → p-31a0880f.entry.js} +1 -1
  274. package/lib/duet/{p-c42756a8.system.entry.js → p-31dfefa7.system.entry.js} +1 -1
  275. package/lib/duet/{p-c44eacb5.system.entry.js → p-344db520.system.entry.js} +1 -1
  276. package/lib/duet/{p-018f8ca6.entry.js → p-37497801.entry.js} +1 -1
  277. package/lib/duet/{p-c05fdbf8.system.js → p-3788db5a.system.js} +1 -1
  278. package/lib/duet/{p-85278ebf.system.entry.js → p-391e19af.system.entry.js} +1 -1
  279. package/lib/duet/{p-d078c3c1.entry.js → p-395be269.entry.js} +1 -1
  280. package/lib/duet/{p-7684fee7.entry.js → p-3a6b59f3.entry.js} +1 -1
  281. package/lib/duet/{p-2205ead8.entry.js → p-3c969f9f.entry.js} +1 -1
  282. package/lib/duet/{p-321b8f6b.system.entry.js → p-3cefca19.system.entry.js} +1 -1
  283. package/lib/duet/{p-2b559f47.system.entry.js → p-3d669958.system.entry.js} +1 -1
  284. package/lib/duet/{p-0b29c189.entry.js → p-3db5f59f.entry.js} +1 -1
  285. package/lib/duet/{p-55470572.entry.js → p-3f307671.entry.js} +1 -1
  286. package/lib/duet/p-3f91a919.system.entry.js +4 -0
  287. package/lib/duet/p-3f920565.entry.js +4 -0
  288. package/lib/duet/{p-c54766bc.system.entry.js → p-4019294d.system.entry.js} +1 -1
  289. package/lib/duet/{p-952646f9.entry.js → p-41681b12.entry.js} +1 -1
  290. package/lib/duet/{p-7daa713c.system.entry.js → p-42ffb47d.system.entry.js} +1 -1
  291. package/lib/duet/{p-6b04f07c.entry.js → p-43b90254.entry.js} +1 -1
  292. package/lib/duet/{p-d3d1a88d.system.entry.js → p-440dbcfa.system.entry.js} +1 -1
  293. package/lib/duet/p-467fe4e3.js +4 -0
  294. package/lib/duet/{p-1d3596ec.entry.js → p-46dc8a34.entry.js} +1 -1
  295. package/lib/duet/{p-960983c8.system.entry.js → p-47e5e138.system.entry.js} +1 -1
  296. package/lib/duet/{p-b6534120.entry.js → p-4a899a1e.entry.js} +1 -1
  297. package/lib/duet/{p-dd60c809.entry.js → p-4b9d877b.entry.js} +1 -1
  298. package/lib/duet/{p-f93337ab.entry.js → p-4ca01f5c.entry.js} +1 -1
  299. package/lib/duet/{p-fe462e44.system.entry.js → p-4dc6516a.system.entry.js} +1 -1
  300. package/lib/duet/{p-d681d3c1.entry.js → p-4e7460f7.entry.js} +1 -1
  301. package/lib/duet/{p-dc68aed1.system.entry.js → p-4e9b200c.system.entry.js} +1 -1
  302. package/lib/duet/p-4f2e28d3.entry.js +4 -0
  303. package/lib/duet/{p-64642f02.entry.js → p-561420f0.entry.js} +1 -1
  304. package/lib/duet/{p-10584a55.system.entry.js → p-565a2910.system.entry.js} +1 -1
  305. package/lib/duet/{p-0bda7f25.entry.js → p-57cd8490.entry.js} +1 -1
  306. package/lib/duet/{p-a7bf74dc.entry.js → p-5df3b779.entry.js} +1 -1
  307. package/lib/duet/{p-4ea8cc9a.entry.js → p-5fe66e38.entry.js} +1 -1
  308. package/lib/duet/p-61dffe85.entry.js +4 -0
  309. package/lib/duet/{p-13c254a8.system.entry.js → p-62a6a013.system.entry.js} +1 -1
  310. package/lib/duet/{p-9a581f28.system.entry.js → p-63c519cd.system.entry.js} +1 -1
  311. package/lib/duet/{p-d7b4abef.entry.js → p-64c4c515.entry.js} +1 -1
  312. package/lib/duet/{p-22602fec.entry.js → p-654abd38.entry.js} +1 -1
  313. package/lib/duet/p-66e157a0.system.entry.js +4 -0
  314. package/lib/duet/{p-37fc6aae.system.entry.js → p-6c279a88.system.entry.js} +1 -1
  315. package/lib/duet/{p-973cb931.system.entry.js → p-6c2c7e28.system.entry.js} +1 -1
  316. package/lib/duet/{p-1a60ed65.entry.js → p-6e2f38e0.entry.js} +1 -1
  317. package/lib/duet/{p-cf703c16.system.entry.js → p-7099651c.system.entry.js} +1 -1
  318. package/lib/duet/{p-0df583ba.system.entry.js → p-722a6c62.system.entry.js} +1 -1
  319. package/lib/duet/{p-a2ed62fa.entry.js → p-72d3ddd8.entry.js} +1 -1
  320. package/lib/duet/{p-1e583d02.system.entry.js → p-73091ce2.system.entry.js} +1 -1
  321. package/lib/duet/p-7549617b.entry.js +4 -0
  322. package/lib/duet/{p-4bbafd50.system.entry.js → p-77f25e03.system.entry.js} +1 -1
  323. package/lib/duet/{p-97562ca4.entry.js → p-7af1306c.entry.js} +1 -1
  324. package/lib/duet/{p-c29653d6.system.entry.js → p-7d1cc9e0.system.entry.js} +1 -1
  325. package/lib/duet/p-7d277f55.js +4 -0
  326. package/lib/duet/{p-b70eca12.js → p-7d6b40d1.js} +1 -1
  327. package/lib/duet/{p-9b544536.system.entry.js → p-804331ed.system.entry.js} +1 -1
  328. package/lib/duet/{p-1bd80a20.system.entry.js → p-8154981f.system.entry.js} +1 -1
  329. package/lib/duet/{p-6c1f92c1.entry.js → p-81b39f95.entry.js} +1 -1
  330. package/lib/duet/{p-5b5ecc28.entry.js → p-822b290a.entry.js} +1 -1
  331. package/lib/duet/p-85acf080.system.js +4 -0
  332. package/lib/duet/{p-734282fb.entry.js → p-86375ce8.entry.js} +1 -1
  333. package/lib/duet/{p-b52c8e76.system.entry.js → p-866ce73e.system.entry.js} +1 -1
  334. package/lib/duet/{p-fe23551d.system.entry.js → p-886652fa.system.entry.js} +1 -1
  335. package/lib/duet/{p-8971e8ff.system.entry.js → p-8a6233b0.system.entry.js} +1 -1
  336. package/lib/duet/p-8a7ee339.js +4 -0
  337. package/lib/duet/{p-72c00a2a.system.entry.js → p-8c621b3a.system.entry.js} +1 -1
  338. package/lib/duet/{p-0f0484db.entry.js → p-90852c89.entry.js} +1 -1
  339. package/lib/duet/{p-ee36625d.system.entry.js → p-91131ad1.system.entry.js} +2 -2
  340. package/lib/duet/{p-95b9bd5e.entry.js → p-918f8fc2.entry.js} +1 -1
  341. package/lib/duet/{p-256c8e39.system.entry.js → p-950a1ca8.system.entry.js} +1 -1
  342. package/lib/duet/{p-fbe99df0.system.entry.js → p-9829ea64.system.entry.js} +1 -1
  343. package/lib/duet/{p-89c303b0.entry.js → p-9a323612.entry.js} +1 -1
  344. package/lib/duet/p-9f10e97c.entry.js +4 -0
  345. package/lib/duet/{p-93af0671.entry.js → p-a0cb7a26.entry.js} +1 -1
  346. package/lib/duet/{p-ab909eff.entry.js → p-a37c90b6.entry.js} +1 -1
  347. package/lib/duet/{p-89658744.entry.js → p-a45d4d3c.entry.js} +1 -1
  348. package/lib/duet/{p-a4f44dd2.system.entry.js → p-a8d970a0.system.entry.js} +1 -1
  349. package/lib/duet/{p-fc7d841e.entry.js → p-ab6d32f0.entry.js} +1 -1
  350. package/lib/duet/{p-998ae744.entry.js → p-ae79dc98.entry.js} +1 -1
  351. package/lib/duet/{p-518aec2d.system.entry.js → p-aea3bb6c.system.entry.js} +1 -1
  352. package/lib/duet/{p-dd0ade1f.entry.js → p-af32d23a.entry.js} +1 -1
  353. package/lib/duet/{p-63080cb6.system.entry.js → p-b0305a06.system.entry.js} +1 -1
  354. package/lib/duet/{p-1f3d8384.system.entry.js → p-b18dd714.system.entry.js} +1 -1
  355. package/lib/duet/{p-e7b99079.system.entry.js → p-b1f2e5bb.system.entry.js} +1 -1
  356. package/lib/duet/{p-8d5abd69.system.entry.js → p-b3c28d88.system.entry.js} +1 -1
  357. package/lib/duet/{p-fc824e9d.system.entry.js → p-b6db5cd9.system.entry.js} +1 -1
  358. package/lib/duet/{p-5b1559ef.system.entry.js → p-b6fbd465.system.entry.js} +1 -1
  359. package/lib/duet/{p-c98a1e4d.system.entry.js → p-b729cc91.system.entry.js} +1 -1
  360. package/lib/duet/{p-9fce822c.entry.js → p-b8b217c6.entry.js} +1 -1
  361. package/lib/duet/{p-b0016bf9.entry.js → p-b93f0810.entry.js} +1 -1
  362. package/lib/duet/{p-56eeb997.entry.js → p-b9526c80.entry.js} +1 -1
  363. package/lib/duet/{p-84497c0b.system.js → p-b9d4ed8d.system.js} +1 -1
  364. package/lib/duet/{p-b02c9331.system.entry.js → p-bcbbf38f.system.entry.js} +1 -1
  365. package/lib/duet/{p-d62a9cb4.system.entry.js → p-befd80a8.system.entry.js} +1 -1
  366. package/lib/duet/{p-80309aad.entry.js → p-c0149766.entry.js} +1 -1
  367. package/lib/duet/{p-610a051f.entry.js → p-c506e25e.entry.js} +1 -1
  368. package/lib/duet/{p-dd5a9f97.system.entry.js → p-c6c02f20.system.entry.js} +1 -1
  369. package/lib/duet/p-c7c73778.system.entry.js +4 -0
  370. package/lib/duet/{p-d41d8233.system.entry.js → p-c99d1412.system.entry.js} +1 -1
  371. package/lib/duet/{p-c84569a1.system.entry.js → p-cb046607.system.entry.js} +2 -2
  372. package/lib/duet/{p-228d541f.entry.js → p-cce2db8f.entry.js} +1 -1
  373. package/lib/duet/{p-88f85be6.system.js → p-cd172ca7.system.js} +1 -1
  374. package/lib/duet/{p-fd4d6626.entry.js → p-cd686b5b.entry.js} +1 -1
  375. package/lib/duet/p-ce3c4f7c.entry.js +4 -0
  376. package/lib/duet/p-cec00890.system.entry.js +4 -0
  377. package/lib/duet/{p-42ad25a2.entry.js → p-cef34307.entry.js} +1 -1
  378. package/lib/duet/{p-60c00b2e.system.entry.js → p-d161b8f7.system.entry.js} +1 -1
  379. package/lib/duet/p-d283b94b.js +4 -0
  380. package/lib/duet/{p-f7d5aaba.system.entry.js → p-d3cf62ab.system.entry.js} +2 -2
  381. package/lib/duet/p-d5580da3.entry.js +4 -0
  382. package/lib/duet/{p-41577f94.system.js → p-d5a206c2.system.js} +1 -1
  383. package/lib/duet/{p-fcaae32c.system.js → p-d6dcd05f.system.js} +1 -1
  384. package/lib/duet/{p-51c164c8.system.entry.js → p-db0b37db.system.entry.js} +1 -1
  385. package/lib/duet/{p-bd271f9a.entry.js → p-dc21c27a.entry.js} +1 -1
  386. package/lib/duet/{p-6d165414.system.entry.js → p-e0a86887.system.entry.js} +1 -1
  387. package/lib/duet/p-e12af479.system.js +4 -0
  388. package/lib/duet/{p-db20774e.entry.js → p-e31ca113.entry.js} +1 -1
  389. package/lib/duet/{p-95c98805.system.entry.js → p-e3607cb9.system.entry.js} +1 -1
  390. package/lib/duet/{p-fba7f0c3.system.entry.js → p-e4077171.system.entry.js} +1 -1
  391. package/lib/duet/{p-d45264d3.system.entry.js → p-e52a8c04.system.entry.js} +1 -1
  392. package/lib/duet/{p-a2c7b770.entry.js → p-e604697b.entry.js} +1 -1
  393. package/lib/duet/{p-d3e936ce.entry.js → p-e6b8b574.entry.js} +1 -1
  394. package/lib/duet/{p-6cbfc733.system.entry.js → p-ec19c198.system.entry.js} +1 -1
  395. package/lib/duet/{p-65f73266.entry.js → p-edc24761.entry.js} +1 -1
  396. package/lib/duet/{p-4a9fd187.system.entry.js → p-edc43bc3.system.entry.js} +1 -1
  397. package/lib/duet/{p-b5406615.system.entry.js → p-ef6095d7.system.entry.js} +1 -1
  398. package/lib/duet/{p-fce87378.entry.js → p-ef7fa8fb.entry.js} +1 -1
  399. package/lib/duet/p-f5b3bfa2.entry.js +4 -0
  400. package/lib/duet/{p-67898378.system.entry.js → p-f5ff737f.system.entry.js} +1 -1
  401. package/lib/duet/{p-d93827e8.entry.js → p-f684afe3.entry.js} +1 -1
  402. package/lib/duet/{p-d8bee371.entry.js → p-f71e27e4.entry.js} +1 -1
  403. package/lib/duet/{p-e9b66f5c.system.entry.js → p-f79a827f.system.entry.js} +1 -1
  404. package/lib/duet/{p-e0a8d390.system.entry.js → p-f80c4c88.system.entry.js} +1 -1
  405. package/lib/duet/{p-6b11aadf.entry.js → p-f8e658cc.entry.js} +1 -1
  406. package/lib/duet/p-f8ede563.entry.js +4 -0
  407. package/lib/duet/{p-be871d64.entry.js → p-f99bd1ae.entry.js} +1 -1
  408. package/lib/duet/p-fc308e26.entry.js +4 -0
  409. package/lib/duet/{p-763b2a31.system.entry.js → p-fd097ec7.system.entry.js} +1 -1
  410. package/lib/duet/p-fd9cb821.entry.js +4 -0
  411. package/lib/duet/p-fdaa6789.entry.js +4 -0
  412. package/lib/esm/{app-globals-dc520c4b.js → app-globals-8ff73e1c.js} +1 -1
  413. package/lib/esm/duet-action-button.entry.js +2 -2
  414. package/lib/esm/duet-alert.entry.js +3 -3
  415. package/lib/esm/duet-badge.entry.js +1 -1
  416. package/lib/esm/duet-banner.entry.js +2 -2
  417. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  418. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  419. package/lib/esm/duet-button_2.entry.js +2 -2
  420. package/lib/esm/duet-callout.entry.js +2 -2
  421. package/lib/esm/duet-caption_4.entry.js +2 -2
  422. package/lib/esm/duet-card.entry.js +1 -1
  423. package/lib/esm/duet-checkbox.entry.js +1 -1
  424. package/lib/esm/duet-checkmark.entry.js +1 -1
  425. package/lib/esm/duet-chip.entry.js +1 -1
  426. package/lib/esm/duet-choice_2.entry.js +3 -3
  427. package/lib/esm/duet-collapsible.entry.js +2 -2
  428. package/lib/esm/duet-combobox.entry.js +3 -3
  429. package/lib/esm/duet-contact-card.entry.js +2 -2
  430. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  431. package/lib/esm/duet-date-picker.entry.js +4 -4
  432. package/lib/esm/duet-divider_2.entry.js +1 -1
  433. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  434. package/lib/esm/duet-empty-state.entry.js +1 -1
  435. package/lib/esm/duet-fieldset.entry.js +2 -2
  436. package/lib/esm/duet-file-chooser.entry.js +1 -1
  437. package/lib/esm/duet-footer.entry.js +3 -3
  438. package/lib/esm/duet-grid_2.entry.js +2 -2
  439. package/lib/esm/duet-header_2.entry.js +2 -2
  440. package/lib/esm/duet-hero.entry.js +4 -4
  441. package/lib/esm/duet-icon.entry.js +1 -1
  442. package/lib/esm/duet-input_2.entry.js +9 -6
  443. package/lib/esm/duet-layout.entry.js +2 -2
  444. package/lib/esm/duet-list_2.entry.js +1 -1
  445. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  446. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  447. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  448. package/lib/esm/duet-menu-bar-item.entry.js +1 -1
  449. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  450. package/lib/esm/duet-menu-bar.entry.js +2 -2
  451. package/lib/esm/duet-modal.entry.js +4 -4
  452. package/lib/esm/duet-multiselect.entry.js +3 -3
  453. package/lib/esm/duet-nav.entry.js +1 -1
  454. package/lib/esm/duet-notification_2.entry.js +2 -2
  455. package/lib/esm/duet-number-input.entry.js +3 -3
  456. package/lib/esm/duet-overlay.entry.js +1 -1
  457. package/lib/esm/duet-page-heading.entry.js +1 -1
  458. package/lib/esm/duet-pagination_2.entry.js +2 -2
  459. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  460. package/lib/esm/duet-popup-menu.entry.js +2 -2
  461. package/lib/esm/duet-progress.entry.js +2 -2
  462. package/lib/esm/duet-promo-card.entry.js +2 -2
  463. package/lib/esm/duet-radio_2.entry.js +2 -2
  464. package/lib/esm/duet-range-slider.entry.js +1 -1
  465. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  466. package/lib/esm/duet-section-layout.entry.js +1 -1
  467. package/lib/esm/duet-select.entry.js +2 -2
  468. package/lib/esm/duet-shaped-image.entry.js +1 -1
  469. package/lib/esm/duet-show-more.entry.js +2 -2
  470. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  471. package/lib/esm/duet-slideout-link.entry.js +1 -1
  472. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  473. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  474. package/lib/esm/duet-slideout.entry.js +4 -4
  475. package/lib/esm/duet-step_2.entry.js +1 -1
  476. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  477. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  478. package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
  479. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  480. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  481. package/lib/esm/duet-textarea.entry.js +19 -9
  482. package/lib/esm/duet-toggle.entry.js +1 -1
  483. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  484. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  485. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  486. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  487. package/lib/esm/duet-toolbar.entry.js +1 -1
  488. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  489. package/lib/esm/duet-tooltip.entry.js +2 -2
  490. package/lib/esm/duet-tray.entry.js +2 -2
  491. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  492. package/lib/esm/duet-upload-item.entry.js +3 -3
  493. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  494. package/lib/esm/duet.js +4 -4
  495. package/lib/esm/{errorcodes.utils-9ce2a020.js → errorcodes.utils-59416946.js} +1 -1
  496. package/lib/esm/{focus-utils-bed18fbb.js → focus-utils-53d44671.js} +1 -1
  497. package/lib/esm/{index-08324586.js → index-ea400af3.js} +1 -1
  498. package/lib/esm/{language-utils-f48554b9.js → language-utils-27773807.js} +1 -1
  499. package/lib/esm/loader.js +4 -4
  500. package/lib/esm/{slot-utils-704f534d.js → slot-utils-95c2258f.js} +1 -1
  501. package/lib/esm-es5/{app-globals-dc520c4b.js → app-globals-8ff73e1c.js} +1 -1
  502. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  503. package/lib/esm-es5/duet-alert.entry.js +1 -1
  504. package/lib/esm-es5/duet-badge.entry.js +1 -1
  505. package/lib/esm-es5/duet-banner.entry.js +1 -1
  506. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  507. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  508. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  509. package/lib/esm-es5/duet-callout.entry.js +1 -1
  510. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  511. package/lib/esm-es5/duet-card.entry.js +1 -1
  512. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  513. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  514. package/lib/esm-es5/duet-chip.entry.js +1 -1
  515. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  516. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  517. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  518. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  519. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  520. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  521. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  522. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  523. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  524. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  525. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  526. package/lib/esm-es5/duet-footer.entry.js +1 -1
  527. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  528. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  529. package/lib/esm-es5/duet-hero.entry.js +2 -2
  530. package/lib/esm-es5/duet-icon.entry.js +1 -1
  531. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  532. package/lib/esm-es5/duet-layout.entry.js +1 -1
  533. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  534. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  535. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  536. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  537. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  538. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  539. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  540. package/lib/esm-es5/duet-modal.entry.js +1 -1
  541. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  542. package/lib/esm-es5/duet-nav.entry.js +1 -1
  543. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  545. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  546. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  547. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  548. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  549. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  550. package/lib/esm-es5/duet-progress.entry.js +1 -1
  551. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  552. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  553. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  554. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  555. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  556. package/lib/esm-es5/duet-select.entry.js +1 -1
  557. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  558. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  559. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  560. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  561. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  562. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  563. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  564. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  565. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  566. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  567. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  568. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  569. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  570. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  571. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  572. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  573. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  574. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  575. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  576. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  577. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  578. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  579. package/lib/esm-es5/duet-tray.entry.js +1 -1
  580. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  581. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  582. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  583. package/lib/esm-es5/duet.js +1 -1
  584. package/lib/esm-es5/{errorcodes.utils-9ce2a020.js → errorcodes.utils-59416946.js} +1 -1
  585. package/lib/esm-es5/focus-utils-53d44671.js +4 -0
  586. package/lib/esm-es5/{index-08324586.js → index-ea400af3.js} +1 -1
  587. package/lib/esm-es5/{language-utils-f48554b9.js → language-utils-27773807.js} +1 -1
  588. package/lib/esm-es5/loader.js +1 -1
  589. package/lib/esm-es5/{slot-utils-704f534d.js → slot-utils-95c2258f.js} +1 -1
  590. package/lib/types/common-types.d.ts +1 -0
  591. package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
  592. package/lib/types/components/duet-input/duet-input.d.ts +11 -1
  593. package/lib/types/components/duet-textarea/duet-textarea.d.ts +6 -4
  594. package/lib/types/components.d.ts +40 -8
  595. package/package.json +4 -4
  596. package/lib/dist-custom-elements/p-a8c7984b.js +0 -192
  597. package/lib/duet/p-04d69e43.entry.js +0 -4
  598. package/lib/duet/p-07e51cdb.js +0 -4
  599. package/lib/duet/p-17636432.system.entry.js +0 -4
  600. package/lib/duet/p-1ba7fe48.entry.js +0 -4
  601. package/lib/duet/p-1eb6a15a.entry.js +0 -4
  602. package/lib/duet/p-25c1138f.system.js +0 -4
  603. package/lib/duet/p-2d1739f6.js +0 -4
  604. package/lib/duet/p-34a1b289.entry.js +0 -4
  605. package/lib/duet/p-4bbcbda0.entry.js +0 -4
  606. package/lib/duet/p-622f880c.system.entry.js +0 -4
  607. package/lib/duet/p-73e2b843.system.entry.js +0 -4
  608. package/lib/duet/p-7aadb36b.entry.js +0 -4
  609. package/lib/duet/p-7d6bdef2.system.entry.js +0 -4
  610. package/lib/duet/p-801cdc6c.entry.js +0 -4
  611. package/lib/duet/p-869cf227.entry.js +0 -4
  612. package/lib/duet/p-b732d704.js +0 -4
  613. package/lib/duet/p-b9016f0b.entry.js +0 -4
  614. package/lib/duet/p-bc36d650.entry.js +0 -4
  615. package/lib/duet/p-c89f1986.entry.js +0 -4
  616. package/lib/duet/p-cb85bc47.js +0 -4
  617. package/lib/duet/p-cd0dc0f3.entry.js +0 -4
  618. package/lib/duet/p-e18d82b8.system.js +0 -4
  619. package/lib/duet/p-e87aff33.entry.js +0 -4
  620. package/lib/duet/p-ed30c961.entry.js +0 -4
  621. package/lib/duet/p-f1b8b5b8.entry.js +0 -4
  622. package/lib/esm-es5/focus-utils-bed18fbb.js +0 -4
@@ -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 i,g as a,c as o}from"./p-cf7e866c.js";import{i as s}from"./p-aaa7a7bd.js";import{h as r,g as n}from"./p-cb85bc47.js";import{s as d,u as l,o as b,p as c,d as u,b as h,a as p,c as g}from"./p-a1b7f2a0.js";import{g as m,c as f,d as k,a as x}from"./p-b70eca12.js";import{d as v}from"./p-1784b1d2.js";import{c as w}from"./p-5e59e970.js";import"./p-0e052642.js";import"./p-4a901bfc.js";const y=class{constructor(e){t(this,e),this.currentIndex=0,this.scrollPaneElement=void 0,this.hasCollapseButtonLabelSlot=!1,this.resizeObserver=new ResizeObserver((t=>{var e,i,a,o;if(1===(null==t?void 0:t.length)){const s=null===(i=null===(e=t[0])||void 0===e?void 0:e.target)||void 0===i?void 0:i.getBoundingClientRect().width,r=null===(o=null===(a=t[0])||void 0===a?void 0:a.target)||void 0===o?void 0:o.scrollWidth;this.isScrollPaneContentSmallerThanWrapper=r>s+5}})),this.collapsedOnClick=()=>{this.collapsed=!this.collapsed},this.scrollPaneAtStart=!0,this.isScrollPaneContentSmallerThanWrapper=!0,this.scrollPaneAtEnd=!1,this.childrenData={},this.theme="",this.identifier="",this.collapsed=!1,this.buttons=!0,this.buttonAlignment="center",this.center=!1,this.selected=0}watchPropHandler(t){this.scrollToElement(t,"center")}componentWillLoad(){s(this),this.hasCollapseButtonLabelSlot=r(this.element,"collapse-button-label")}componentDidLoad(){this.resizeObserver.observe(this.scrollPaneElement),this.updateScrollButtons(this.getScrollPaneElements()[0])}disconnectedCallback(){this.resizeObserver.disconnect()}getScrollPaneElements(){return n(this.element)}getLastVisibleElement(){const t=this.getScrollPaneElements().find((t=>t.getBoundingClientRect().x+t.getBoundingClientRect().width-this.scrollPaneElement.getBoundingClientRect().x>this.scrollPaneElement.clientWidth)),e=this.getScrollPaneElements().indexOf(t);return t.clientWidth>this.scrollPaneElement.clientWidth?e:e-1}getFirstVisibleElement(){const t=this.getScrollPaneElements(),e=t.find((t=>t.getBoundingClientRect().x>this.scrollPaneElement.getBoundingClientRect().x)),i=e?t.indexOf(e):t.length;var a=Math.max(i-1,0);return t[a].clientWidth>this.scrollPaneElement.clientWidth?a:i}updateScrollButtons(t=null,e=this.scrollPaneElement){if(this.buttons){if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){const e=this.getScrollPaneElements().indexOf(t);return 0==e&&(this.scrollPaneAtStart=!0),void(e==this.getScrollPaneElements().length-1&&(this.scrollPaneAtEnd=!0))}e.scrollLeft<=0?this.scrollPaneAtStart=!0:e.scrollLeft>0&&(this.scrollPaneAtStart=!1),e.clientWidth+e.scrollLeft+10>=e.scrollWidth?this.scrollPaneAtEnd=!0:e.clientWidth+e.scrollLeft+10<e.scrollWidth&&(this.scrollPaneAtEnd=!1)}}scrollToElement(t=this.currentIndex,e){const i=this.getScrollPaneElements();if(!i||0===i.length)return;t+1>=i.length&&(t=i.length-1),t<0&&(t=0);let a=i[0].getBoundingClientRect().x,o=5;const s=()=>{if(i[0].getBoundingClientRect().x===a){if(o--,0!==o)return void window.requestAnimationFrame(s);this.updateScrollButtons(i[t])}else window.requestAnimationFrame(s),a=i[0].getBoundingClientRect().x};i[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e}),window.requestAnimationFrame(s)}scrollLeft(){this.scrollPaneAtEnd=!1;const t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")}scrollRight(){this.scrollPaneAtStart=!1;const t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")}render(){const t="turva"===this.theme?"color-primary-darker-turva":"color-primary",a="turva"===this.theme?"color-gray-turva":"color-gray";return e(i,{key:"5e613776bc5519bb5706b51a2c7e0eb430a67886",class:{"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme}},this.hasCollapseButtonLabelSlot&&e("div",{key:"7642df92bec227d43dde6cdad844a50b8a75fd40",class:{collapse:!0,hide:!this.isScrollPaneContentSmallerThanWrapper&&!this.collapsed}},e("duet-button",{key:"2a2b9c955233ce02fba939b7a8366f0381d1c349",variation:"plain",margin:"none","center-text":!0,onClick:()=>this.collapsedOnClick()},e("slot",{key:"403bb72d92de84245e7d17116848faf8d1ca3996",name:"collapse-button-label"}))),e("div",{key:"4e4628fc421a80139fd71d3a0232159b7d31a53b",class:{"duet-scrollable-items":!0,buttons:this.buttons,center:this.center}},e("div",{key:"7391cc68e6fcc4921bc23417a45e9144ba64d406",class:{"duet-scrollable-button-container":!0,left:!0,"duet-scrollable-button-container--occluded":!this.isScrollPaneContentSmallerThanWrapper}},e("button",{key:"1764f20c98b87d8755d14f8ff9991ede35f50d83",part:`${this.identifier}-button-left`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,[`duet-scrollable-button--${this.buttonAlignment}`]:!0,"duet-scrollable-button--left":!0},onClick:()=>this.scrollLeft(),disabled:this.scrollPaneAtStart,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{key:"16edd1294a131c36f59f67179e8b1447d7eed983",color:this.scrollPaneAtStart?a:t,name:"action-arrow-left",size:"small",margin:"none"}))),e("div",{key:"b8c2cbd51498d4f6a2a85a8004396e6b379f8407",class:{"duet-scrollable-list":!0,collapsed:this.collapsed},onScroll:()=>this.updateScrollButtons(),ref:t=>this.scrollPaneElement=t},e("slot",{key:"f1981b1e9fe15b835253820136cbdcc32c193c93"})),e("div",{key:"8be1066f5def1e2891f3fd49bb5db5c9639f6c77",class:{"duet-scrollable-button-container":!0,right:!0,"duet-scrollable-button-container--occluded":!this.isScrollPaneContentSmallerThanWrapper}},e("button",{key:"7764023d0ef66c068d4731c59d86d44f780b189a",part:`${this.identifier}-button-right`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,[`duet-scrollable-button--${this.buttonAlignment}`]:!0,"duet-scrollable-button--right":!0},onClick:()=>this.scrollRight(),disabled:this.scrollPaneAtEnd,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{key:"945e693aa629bac7e39d40ab4c6361a92e2cab32",color:this.scrollPaneAtEnd?a:t,name:"action-arrow-right",size:"small",margin:"none"})))))}get element(){return a(this)}static get watchers(){return{selected:["watchPropHandler"]}}};y.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px;transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button-container.left::after{position:relative;top:-50px;left:20px;z-index:250;display:block;width:30px;height:100%;content:"";background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0));transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button-container.right::after{position:relative;top:-50px;right:15px;z-index:250;display:block;width:30px;height:100%;content:"";background-image:linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255, 255, 255));transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;height:100%;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--top{align-self:flex-start}:host .duet-scrollable-items .duet-scrollable-button--bottom{align-self:flex-end}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;padding-right:5px;padding-left:5px;margin:0 -5px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}';const z=class{constructor(e){t(this,e),this.setupContentElement=()=>{this.contentId&&(this.tabpanelElement=document.getElementById(this.contentId),this.tabpanelElement&&(this.tabpanelElement.setAttribute("role","tabpanel"),this.tabpanelElement.setAttribute("tabindex","-1"),this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener),this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener),this.tabpanelElement.addEventListener("focus",this.tabpanelElementFocusListener),this.tabpanelElement.addEventListener("blur",this.tabpanelElementBlurListener),this.accessibleDescription&&this.tabpanelElement.setAttribute("aria-description",this.accessibleDescription),this.accessibleLabelledBy&&this.tabpanelElement.setAttribute("aria-labelledby",this.accessibleLabelledBy),this.tabpanelElement.toggleAttribute("hidden",!this.selected)))},this.tabpanelElementFocusListener=()=>{this.element.classList.contains("user-is-tabbing")&&(this.tabpanelElement.style.outline="0",this.tabpanelElement.style.boxShadow=v("turva"===this.theme?"focus-turva":"focus"))},this.tabpanelElementBlurListener=()=>{this.tabpanelElement.style.outline=null,this.tabpanelElement.style.boxShadow=null},this.theme="",this.label=void 0,this.caption=void 0,this.selected=void 0,this.notificationMark=void 0,this.accessibleDescriptionDefault=null,this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null,this.accessibleLabelledBy=void 0,this.contentId=void 0}componentWillLoad(){s(this)}connectedCallback(){f(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"}),d(this),this.setupContentElement()}disconnectedCallback(){k(this),l(this),this.tabpanelElement&&(this.tabpanelElement.removeAttribute("role"),this.tabpanelElement.removeAttribute("tabindex"),this.tabpanelElement.removeAttribute("aria-description"),this.tabpanelElement.removeAttribute("aria-labelledby"),this.tabpanelElement.removeAttribute("hidden"),this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this)),this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this)),this.tabpanelElement=void 0)}setupSelected(t,e){!!t!=!!e&&this.setupContentElement()}async setFocus(t){this.tabpanelElement.focus(t)}render(){return e("div",{ref:t=>{this.contentId||(this.tabpanelElement=t)},role:"tabpanel",class:{"duet-theme-turva":"turva"===this.theme,"duet-tab":!0,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},e("slot",null))}get element(){return a(this)}static get watchers(){return{selected:["setupSelected"]}}};z.style=".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";const S=class{constructor(i){t(this,i),this.duetChange=o(this,"duetChange",3),this.duetTabChange=o(this,"duetTabChange",7),this.duetTabChangeRequested=o(this,"duetTabChangeRequested",7),this.id=w("DuetTabGroup"),this.handleKeyDown=t=>{let e;u(t)||h(t)?e=t.target.previousElementSibling:(p(t)||g(t))&&(e=t.target.nextElementSibling),b(t)&&!c(t)&&(t.preventDefault(),this.element.querySelector("duet-tab[selected]").setFocus()),e&&(t.preventDefault(),e.click(),e.focus())},this.onTabSelect=t=>{this.tabChangeConfirm?t!==this.selected&&this.duetTabChangeRequested.emit({value:t,component:"duet-tab-group"}):this.openTab(t)},this.scrollToActive=()=>{"checked"!==this.variation&&"plain-scrolling"!==this.variation||setTimeout((()=>{const t=this.tabsContainer.querySelector(".selected");t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}),50)},this.renderTab=()=>{const t=this.tabs.map(((t,i)=>e("button",{role:"tab",id:this.getButtonId(i),"aria-selected":t.selected?"true":"false","aria-description":this.getAccessibleDescription(i),tabindex:t.selected?"0":"-1",part:`${this.identifier}-button ${t.selected?`${this.identifier}-button--selected`:""}`,type:"button",class:{"duet-p-0":"none"===this.padding,"duet-tab-button":!0,"stackable-tab":"checked"===this.variation&&this.tabs.length<=3,selected:t.selected,[`duet-notification-mark-${t.notificationMark}`]:!!t.notificationMark},onClick:()=>this.onTabSelect(i),onKeyDown:t=>this.handleKeyDown(t)},"checked"===this.variation?e("div",{class:{"checked-tab-content":!0,"stackable-checked-tab-content":this.tabs.length<=3}},e("div",{class:{"checked-tab-description":!0,"stackable-description":this.tabs.length<=3}},e("p",null,t.label),e("p",{class:{"tab-caption":!0,selected:t.selected}},t.caption)),e("div",{class:{"stackable-checkmark":this.tabs.length<=3}},e("duet-checkmark",{theme:this.theme,checked:t.selected,type:"radio","presentation-only":!0,center:!0}))):t.label)));return this.scrolls?e("duet-scrollable",{selected:this.selected,identifier:this.identifier},t):t},this.tabs=[],this.selected=void 0,this.theme="",this.scrolls=!1,this.collapses=!0,this.accessibleLabel=void 0,this.variation="default",this.language=x(),this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"},this.label=m(this.labelDefaults,this.language),this.labelHidden=!0,this.identifier=this.id,this.margin="auto",this.padding="auto",this.setTabIndex=!0,this.tabChangeConfirm=!1}async connectedCallback(){"undefined"!=typeof MutationObserver&&(this.mutationO=new MutationObserver((()=>{this.updateTabs()})),this.mutationO.observe(this.element,{attributes:!0,attributeFilter:["label"],childList:!0,characterData:!0,subtree:!0})),await this.updateTabs(),d(this)}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),l(this)}componentWillLoad(){s(this)}componentDidLoad(){this.scrollToActive()}async openTab(t){if(t>=this.tabs.length)throw new Error(`[duet-tabs] Index ${t} is out of bounds of tabs length`);this.selected=t,this.tabs.forEach(((e,i)=>{e.selected=i===t})),this.scrollToActive();const e={value:t,component:"duet-tab-group"};this.duetChange.emit(e),this.duetTabChange.emit(e)}async refresh(){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.")}getTabs(){const t=Array.from(this.element.querySelectorAll("duet-tab")).filter((t=>t.closest("duet-tab-group")===this.element));if(0===t.length)throw new Error("[duet-tabs] Must have at least one tab");return t}getButtonId(t){return`${this.id}-button-${t}`}getTabId(t){return`${this.id}-tab-${t}`}getAccessibleDescription(t){return this.tabs[t].getAttribute("accessible-description")||null}async updateTabs(){this.selected=void 0,this.tabs=this.getTabs(),this.tabs.forEach(((t,e)=>{t.id=this.getTabId(e),t.selected&&(void 0===this.selected?this.selected=e:t.selected=!1)})),void 0===this.selected&&(this.selected=0,this.tabs[0].selected=!0)}render(){const t="plain-scrolling"===this.variation?"duet-tab-variation-plain":`duet-tab-variation-${this.variation}`,i="checked"===this.variation||"plain-scrolling"===this.variation;return e("div",{key:"a09d023095d80f1984c13102ed5f85594d0c2e54",class:{"duet-tab-group":!0,"duet-theme-turva":"turva"===this.theme,[t]:!0,"duet-tab-plain-scrolling":"plain-scrolling"===this.variation,"duet-tab-group-scrolls":this.scrolls,"duet-tab-group-collapses":this.collapses},"aria-label":this.accessibleLabel},!i&&this.tabs.length>3&&this.collapses&&e("duet-select",{key:"6d5a053f2a39b2e5042fa199b50ef6dfcb2e8395",value:this.selected.toString(),expand:!0,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:t=>this.onTabSelect(Number(t.detail.value)),items:this.tabs.map(((t,e)=>({label:t.label,value:e.toString()})))}),e("div",{key:"c314e15b44bfec35a9dce7f0b3343adb2560eb1e",role:"tablist",class:{"duet-m-0":"none"===this.margin||"checked"===this.variation,"duet-tab-group-tabs":!0,"duet-tab-group-hidden":this.tabs.length>3&&!i,"duet-tab-group-collapses":this.collapses},ref:t=>{this.tabsContainer=t}},this.renderTab()),e("div",{key:"a05213a66ee2ac2103eeb887312551edde85914c",class:{"duet-tab-group-content":!0,"duet-m-0":"none"===this.margin,"checked-group-content":"checked"===this.variation}},e("slot",{key:"4e1231a85f36bf98be1d5ab1054e031dd2b4b814"})))}get element(){return a(this)}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(222, 35, 98);box-shadow:0 0 0 1px #c82058}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(250, 164, 15);box-shadow:0 0 0 1px #e1940e}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(224, 42, 13);box-shadow:0 0 0 1px #ca260c}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';export{y as duet_scrollable,z as duet_tab,S as duet_tab_group}
4
+ import{r as t,h as e,H as a,g as i,c as o}from"./p-18ada958.js";import{i as s}from"./p-aaa7a7bd.js";import{h as r,g as n}from"./p-8a7ee339.js";import{s as d,u as l,o as b,p as c,d as u,b as h,a as p,c as g}from"./p-a1b7f2a0.js";import{g as m,c as f,d as k,a as x}from"./p-7d6b40d1.js";import{d as v}from"./p-1784b1d2.js";import{c as w}from"./p-5e59e970.js";import"./p-0e052642.js";import"./p-4a901bfc.js";const y=class{constructor(e){t(this,e),this.currentIndex=0,this.scrollPaneElement=void 0,this.hasCollapseButtonLabelSlot=!1,this.resizeObserver=new ResizeObserver((t=>{var e,a,i,o;if(1===(null==t?void 0:t.length)){const s=null===(a=null===(e=t[0])||void 0===e?void 0:e.target)||void 0===a?void 0:a.getBoundingClientRect().width,r=null===(o=null===(i=t[0])||void 0===i?void 0:i.target)||void 0===o?void 0:o.scrollWidth;this.isScrollPaneContentSmallerThanWrapper=r>s+5}})),this.collapsedOnClick=()=>{this.collapsed=!this.collapsed},this.scrollPaneAtStart=!0,this.isScrollPaneContentSmallerThanWrapper=!0,this.scrollPaneAtEnd=!1,this.childrenData={},this.theme="",this.identifier="",this.collapsed=!1,this.buttons=!0,this.buttonAlignment="center",this.center=!1,this.selected=0}watchPropHandler(t){this.scrollToElement(t,"center")}componentWillLoad(){s(this),this.hasCollapseButtonLabelSlot=r(this.element,"collapse-button-label")}componentDidLoad(){this.resizeObserver.observe(this.scrollPaneElement),this.updateScrollButtons(this.getScrollPaneElements()[0])}disconnectedCallback(){this.resizeObserver.disconnect()}getScrollPaneElements(){return n(this.element)}getLastVisibleElement(){const t=this.getScrollPaneElements().find((t=>t.getBoundingClientRect().x+t.getBoundingClientRect().width-this.scrollPaneElement.getBoundingClientRect().x>this.scrollPaneElement.clientWidth)),e=this.getScrollPaneElements().indexOf(t);return t.clientWidth>this.scrollPaneElement.clientWidth?e:e-1}getFirstVisibleElement(){const t=this.getScrollPaneElements(),e=t.find((t=>t.getBoundingClientRect().x>this.scrollPaneElement.getBoundingClientRect().x)),a=e?t.indexOf(e):t.length;var i=Math.max(a-1,0);return t[i].clientWidth>this.scrollPaneElement.clientWidth?i:a}updateScrollButtons(t=null,e=this.scrollPaneElement){if(this.buttons){if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){const e=this.getScrollPaneElements().indexOf(t);return 0==e&&(this.scrollPaneAtStart=!0),void(e==this.getScrollPaneElements().length-1&&(this.scrollPaneAtEnd=!0))}e.scrollLeft<=0?this.scrollPaneAtStart=!0:e.scrollLeft>0&&(this.scrollPaneAtStart=!1),e.clientWidth+e.scrollLeft+10>=e.scrollWidth?this.scrollPaneAtEnd=!0:e.clientWidth+e.scrollLeft+10<e.scrollWidth&&(this.scrollPaneAtEnd=!1)}}scrollToElement(t=this.currentIndex,e){const a=this.getScrollPaneElements();if(!a||0===a.length)return;t+1>=a.length&&(t=a.length-1),t<0&&(t=0);let i=a[0].getBoundingClientRect().x,o=5;const s=()=>{if(a[0].getBoundingClientRect().x===i){if(o--,0!==o)return void window.requestAnimationFrame(s);this.updateScrollButtons(a[t])}else window.requestAnimationFrame(s),i=a[0].getBoundingClientRect().x};a[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e}),window.requestAnimationFrame(s)}scrollLeft(){this.scrollPaneAtEnd=!1;const t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")}scrollRight(){this.scrollPaneAtStart=!1;const t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")}render(){const t="turva"===this.theme?"color-primary-darker-turva":"color-primary",i="turva"===this.theme?"color-gray-turva":"color-gray";return e(a,{key:"5e613776bc5519bb5706b51a2c7e0eb430a67886",class:{"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme}},this.hasCollapseButtonLabelSlot&&e("div",{key:"7642df92bec227d43dde6cdad844a50b8a75fd40",class:{collapse:!0,hide:!this.isScrollPaneContentSmallerThanWrapper&&!this.collapsed}},e("duet-button",{key:"2a2b9c955233ce02fba939b7a8366f0381d1c349",variation:"plain",margin:"none","center-text":!0,onClick:()=>this.collapsedOnClick()},e("slot",{key:"403bb72d92de84245e7d17116848faf8d1ca3996",name:"collapse-button-label"}))),e("div",{key:"4e4628fc421a80139fd71d3a0232159b7d31a53b",class:{"duet-scrollable-items":!0,buttons:this.buttons,center:this.center}},e("div",{key:"7391cc68e6fcc4921bc23417a45e9144ba64d406",class:{"duet-scrollable-button-container":!0,left:!0,"duet-scrollable-button-container--occluded":!this.isScrollPaneContentSmallerThanWrapper}},e("button",{key:"1764f20c98b87d8755d14f8ff9991ede35f50d83",part:`${this.identifier}-button-left`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,[`duet-scrollable-button--${this.buttonAlignment}`]:!0,"duet-scrollable-button--left":!0},onClick:()=>this.scrollLeft(),disabled:this.scrollPaneAtStart,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{key:"16edd1294a131c36f59f67179e8b1447d7eed983",color:this.scrollPaneAtStart?i:t,name:"action-arrow-left",size:"small",margin:"none"}))),e("div",{key:"b8c2cbd51498d4f6a2a85a8004396e6b379f8407",class:{"duet-scrollable-list":!0,collapsed:this.collapsed},onScroll:()=>this.updateScrollButtons(),ref:t=>this.scrollPaneElement=t},e("slot",{key:"f1981b1e9fe15b835253820136cbdcc32c193c93"})),e("div",{key:"8be1066f5def1e2891f3fd49bb5db5c9639f6c77",class:{"duet-scrollable-button-container":!0,right:!0,"duet-scrollable-button-container--occluded":!this.isScrollPaneContentSmallerThanWrapper}},e("button",{key:"7764023d0ef66c068d4731c59d86d44f780b189a",part:`${this.identifier}-button-right`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,[`duet-scrollable-button--${this.buttonAlignment}`]:!0,"duet-scrollable-button--right":!0},onClick:()=>this.scrollRight(),disabled:this.scrollPaneAtEnd,tabindex:"-1",hidden:!this.buttons},e("duet-icon",{key:"945e693aa629bac7e39d40ab4c6361a92e2cab32",color:this.scrollPaneAtEnd?i:t,name:"action-arrow-right",size:"small",margin:"none"})))))}get element(){return i(this)}static get watchers(){return{selected:["watchPropHandler"]}}};y.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px;transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button-container.left::after{position:relative;top:-50px;left:20px;z-index:250;display:block;width:30px;height:100%;content:"";background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0));transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button-container.right::after{position:relative;top:-50px;right:15px;z-index:250;display:block;width:30px;height:100%;content:"";background-image:linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255, 255, 255));transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;height:100%;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--top{align-self:flex-start}:host .duet-scrollable-items .duet-scrollable-button--bottom{align-self:flex-end}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;padding-right:5px;padding-left:5px;margin:0 -5px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}';const z=class{constructor(e){t(this,e),this.setupContentElement=()=>{this.contentId&&(this.tabpanelElement=document.getElementById(this.contentId),this.tabpanelElement&&(this.tabpanelElement.setAttribute("role","tabpanel"),this.tabpanelElement.setAttribute("tabindex","-1"),this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener),this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener),this.tabpanelElement.addEventListener("focus",this.tabpanelElementFocusListener),this.tabpanelElement.addEventListener("blur",this.tabpanelElementBlurListener),this.accessibleDescription&&this.tabpanelElement.setAttribute("aria-description",this.accessibleDescription),this.accessibleLabelledBy&&this.tabpanelElement.setAttribute("aria-labelledby",this.accessibleLabelledBy),this.tabpanelElement.toggleAttribute("hidden",!this.selected)))},this.tabpanelElementFocusListener=()=>{this.element.classList.contains("user-is-tabbing")&&(this.tabpanelElement.style.outline="0",this.tabpanelElement.style.boxShadow=v("turva"===this.theme?"focus-turva":"focus"))},this.tabpanelElementBlurListener=()=>{this.tabpanelElement.style.outline=null,this.tabpanelElement.style.boxShadow=null},this.theme="",this.label=void 0,this.caption=void 0,this.selected=void 0,this.notificationMark=void 0,this.accessibleDescriptionDefault=null,this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null,this.accessibleLabelledBy=void 0,this.contentId=void 0}componentWillLoad(){s(this)}connectedCallback(){f(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"}),d(this),this.setupContentElement()}disconnectedCallback(){k(this),l(this),this.tabpanelElement&&(this.tabpanelElement.removeAttribute("role"),this.tabpanelElement.removeAttribute("tabindex"),this.tabpanelElement.removeAttribute("aria-description"),this.tabpanelElement.removeAttribute("aria-labelledby"),this.tabpanelElement.removeAttribute("hidden"),this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this)),this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this)),this.tabpanelElement=void 0)}setupSelected(t,e){!!t!=!!e&&this.setupContentElement()}async setFocus(t){this.tabpanelElement.focus(t)}render(){return e("div",{ref:t=>{this.contentId||(this.tabpanelElement=t)},role:"tabpanel",class:{"duet-theme-turva":"turva"===this.theme,"duet-tab":!0,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},e("slot",null))}get element(){return i(this)}static get watchers(){return{selected:["setupSelected"]}}};z.style=".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";const S=class{constructor(a){t(this,a),this.duetChange=o(this,"duetChange",3),this.duetTabChange=o(this,"duetTabChange",7),this.duetTabChangeRequested=o(this,"duetTabChangeRequested",7),this.id=w("DuetTabGroup"),this.handleKeyDown=t=>{let e;u(t)||h(t)?e=t.target.previousElementSibling:(p(t)||g(t))&&(e=t.target.nextElementSibling),b(t)&&!c(t)&&(t.preventDefault(),this.element.querySelector("duet-tab[selected]").setFocus()),e&&(t.preventDefault(),e.click(),e.focus())},this.onTabSelect=t=>{this.tabChangeConfirm?t!==this.selected&&this.duetTabChangeRequested.emit({value:t,component:"duet-tab-group"}):this.openTab(t)},this.scrollToActive=()=>{"checked"!==this.variation&&"plain-scrolling"!==this.variation||setTimeout((()=>{const t=this.tabsContainer.querySelector(".selected");t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}),50)},this.renderTab=()=>{const t=this.tabs.map(((t,a)=>e("button",{role:"tab",id:this.getButtonId(a),"aria-selected":t.selected?"true":"false","aria-description":this.getAccessibleDescription(a),tabindex:t.selected?"0":"-1",part:`${this.identifier}-button ${t.selected?`${this.identifier}-button--selected`:""}`,type:"button",class:{"duet-p-0":"none"===this.padding,"duet-tab-button":!0,"stackable-tab":"checked"===this.variation&&this.tabs.length<=3,selected:t.selected,[`duet-notification-mark-${t.notificationMark}`]:!!t.notificationMark},onClick:()=>this.onTabSelect(a),onKeyDown:t=>this.handleKeyDown(t)},"checked"===this.variation?e("div",{class:{"checked-tab-content":!0,"stackable-checked-tab-content":this.tabs.length<=3}},e("div",{class:{"checked-tab-description":!0,"stackable-description":this.tabs.length<=3}},e("p",null,t.label),e("p",{class:{"tab-caption":!0,selected:t.selected}},t.caption)),e("div",{class:{"stackable-checkmark":this.tabs.length<=3}},e("duet-checkmark",{theme:this.theme,checked:t.selected,type:"radio","presentation-only":!0,center:!0}))):t.label)));return this.scrolls?e("duet-scrollable",{selected:this.selected,identifier:this.identifier},t):t},this.tabs=[],this.selected=void 0,this.theme="",this.scrolls=!1,this.collapses=!0,this.accessibleLabel=void 0,this.variation="default",this.language=x(),this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"},this.label=m(this.labelDefaults,this.language),this.labelHidden=!0,this.identifier=this.id,this.margin="auto",this.padding="auto",this.setTabIndex=!0,this.tabChangeConfirm=!1}async connectedCallback(){"undefined"!=typeof MutationObserver&&(this.mutationO=new MutationObserver((()=>{this.updateTabs()})),this.mutationO.observe(this.element,{attributes:!0,attributeFilter:["label"],childList:!0,characterData:!0,subtree:!0})),await this.updateTabs(),d(this)}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),l(this)}componentWillLoad(){s(this)}componentDidLoad(){this.scrollToActive()}async openTab(t){if(t>=this.tabs.length)throw new Error(`[duet-tabs] Index ${t} is out of bounds of tabs length`);this.selected=t,this.tabs.forEach(((e,a)=>{e.selected=a===t})),this.scrollToActive();const e={value:t,component:"duet-tab-group"};this.duetChange.emit(e),this.duetTabChange.emit(e)}async refresh(){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.")}getTabs(){const t=Array.from(this.element.querySelectorAll("duet-tab")).filter((t=>t.closest("duet-tab-group")===this.element));if(0===t.length)throw new Error("[duet-tabs] Must have at least one tab");return t}getButtonId(t){return`${this.id}-button-${t}`}getTabId(t){return`${this.id}-tab-${t}`}getAccessibleDescription(t){return this.tabs[t].getAttribute("accessible-description")||null}async updateTabs(){this.selected=void 0,this.tabs=this.getTabs(),this.tabs.forEach(((t,e)=>{t.id=this.getTabId(e),t.selected&&(void 0===this.selected?this.selected=e:t.selected=!1)})),void 0===this.selected&&(this.selected=0,this.tabs[0].selected=!0)}render(){const t="plain-scrolling"===this.variation?"duet-tab-variation-plain":`duet-tab-variation-${this.variation}`,a="checked"===this.variation||"plain-scrolling"===this.variation;return e("div",{key:"a09d023095d80f1984c13102ed5f85594d0c2e54",class:{"duet-tab-group":!0,"duet-theme-turva":"turva"===this.theme,[t]:!0,"duet-tab-plain-scrolling":"plain-scrolling"===this.variation,"duet-tab-group-scrolls":this.scrolls,"duet-tab-group-collapses":this.collapses},"aria-label":this.accessibleLabel},!a&&this.tabs.length>3&&this.collapses&&e("duet-select",{key:"6d5a053f2a39b2e5042fa199b50ef6dfcb2e8395",value:this.selected.toString(),expand:!0,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:t=>this.onTabSelect(Number(t.detail.value)),items:this.tabs.map(((t,e)=>({label:t.label,value:e.toString()})))}),e("div",{key:"c314e15b44bfec35a9dce7f0b3343adb2560eb1e",role:"tablist",class:{"duet-m-0":"none"===this.margin||"checked"===this.variation,"duet-tab-group-tabs":!0,"duet-tab-group-hidden":this.tabs.length>3&&!a,"duet-tab-group-collapses":this.collapses},ref:t=>{this.tabsContainer=t}},this.renderTab()),e("div",{key:"a05213a66ee2ac2103eeb887312551edde85914c",class:{"duet-tab-group-content":!0,"duet-m-0":"none"===this.margin,"checked-group-content":"checked"===this.variation}},e("slot",{key:"4e1231a85f36bf98be1d5ab1054e031dd2b4b814"})))}get element(){return i(this)}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(222, 35, 98);box-shadow:0 0 0 1px #c82058}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(250, 164, 15);box-shadow:0 0 0 1px #e1940e}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(224, 42, 13);box-shadow:0 0 0 1px #ca260c}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';export{y as duet_scrollable,z as duet_tab,S as duet_tab_group}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as n}from"./p-cf7e866c.js";import{i}from"./p-aaa7a7bd.js";const r=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){i(this)}render(){return t(a,{key:"570640efc7db1d51c8ec33f775b2b13ffd8fd909",role:"listitem"},t("a",{key:"62ed2f6bf339d40211f56ff0e78ab61aa71a6c9a",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",{key:"45e66a513cff3cda4b8f4ab51fc0d404391265a1",class:"menu-bar-link-icon",theme:this.theme,size:"auto",name:this.icon,margin:"none",color:"currentColor"}),t("slot",{key:"144d7755346f5dc042b2ad7836a3020d954b6648"})))}get element(){return n(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 .menu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-link .menu-bar-link-icon{width:16px;height:16px}}.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 a,H as t,g as n}from"./p-18ada958.js";import{i}from"./p-aaa7a7bd.js";const r=class{constructor(a){e(this,a),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){i(this)}render(){return a(t,{key:"570640efc7db1d51c8ec33f775b2b13ffd8fd909",role:"listitem"},a("a",{key:"62ed2f6bf339d40211f56ff0e78ab61aa71a6c9a",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&&a("duet-icon",{key:"45e66a513cff3cda4b8f4ab51fc0d404391265a1",class:"menu-bar-link-icon",theme:this.theme,size:"auto",name:this.icon,margin:"none",color:"currentColor"}),a("slot",{key:"144d7755346f5dc042b2ad7836a3020d954b6648"})))}get element(){return n(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 .menu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-link .menu-bar-link-icon{width:16px;height:16px}}.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}
@@ -1,5 +1,5 @@
1
1
  var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(f,u)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return o([r,e])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.63"});var f=Object.defineProperty;var u=function(r,e){for(var n in e)f(r,n,{get:e[n],enumerable:true})};var o=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var l=new WeakMap;var v=function(r){return l.get(r)};var s=r("r",(function(r,e){return l.set(e.t=r,e)}));var c=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.p=r}));r["s-p"]=[];r["s-rc"]=[]}return l.set(r,n)};var d=function(r,e){return e in r};var h=function(r,e){return(0,console.error)(r,e)};var p=new Map;var m=function(r,n,t){var i=r.m.replace(/-/g,"_");var a=r.$;if(!a){return void 0}var f=p.get(a);if(f){return f[i]}
4
+ */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.65"});var f=Object.defineProperty;var u=function(r,e){for(var n in e)f(r,n,{get:e[n],enumerable:true})};var o=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var l=new WeakMap;var v=function(r){return l.get(r)};var s=r("r",(function(r,e){return l.set(e.t=r,e)}));var c=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.p=r}));r["s-p"]=[];r["s-rc"]=[]}return l.set(r,n)};var d=function(r,e){return e in r};var h=function(r,e){return(0,console.error)(r,e)};var p=new Map;var m=function(r,n,t){var i=r.m.replace(/-/g,"_");var a=r.$;if(!a){return void 0}var f=p.get(a);if(f){return f[i]}
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{p.set(a,r)}return r[i]}),h)};var y=new Map;var $="r";var w="o";var b="s";var g="t";var _="s-id";var S="sty-id";var k="c-id";var x="slot-fb{display:contents}slot-fb[hidden]{display:none}";var A="http://www.w3.org/1999/xlink";var j=typeof window!=="undefined"?window:{};var O=r("d",j.document||{head:{}});var C={i:0,_:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var E=i.shadowDom;var T=function(){var r=false;try{O.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(r){}return r}();var D=r("p",(function(r){return Promise.resolve(r)}));var R=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var L=false;var F=[];var M=[];var N=function(r,e){return function(n){r.push(n);if(!L){L=true;if(e&&C.i&4){I(U)}else{C.raf(U)}}}};var P=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){h(r)}}r.length=0};var U=function(){P(F);{P(M);if(L=F.length>0){C.raf(U)}}};var I=function(r){return D().then(r)};var W=N(M,true);var B={};var H="http://www.w3.org/2000/svg";var z="http://www.w3.org/1999/xhtml";var G=function(r){return r!=null};var Q=function(r){r=typeof r;return r==="object"||r==="function"};function V(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var q={};u(q,{err:function(){return X},map:function(){return J},ok:function(){return K},unwrap:function(){return Y},unwrapErr:function(){return Z}});var K=function(r){return{isOk:true,isErr:false,value:r}};var X=function(r){return{isOk:false,isErr:true,value:r}};function J(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return K(r)}))}else{return K(n)}}if(r.isErr){var t=r.value;return X(t)}throw"should never get here"}var Y=function(r){if(r.isOk){return r.value}else{throw r.value}};var Z=function(r){if(r.isErr){return r.value}else{throw r.value}};var rr=function(r,e){if(e===void 0){e=""}{return function(){return}}};var er=function(r,e){{return function(){return}}};var nr=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!Q(i)){i=String(i)}if(u&&o){l[l.length-1].S+=i}else{l.push(u?tr(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,fr)}var c=tr(r,null);c.k=e;if(l.length>0){c.A=l}{c.j=a}{c.O=f}return c}));var tr=function(r,e){var n={i:0,C:r,S:e,T:null,A:null};{n.k=null}{n.j=null}{n.O=null}return n};var ir=r("H",{});var ar=function(r){return r&&r.C===ir};var fr={forEach:function(r,e){return r.map(ur).forEach(e)},map:function(r,e){return r.map(ur).map(e).map(or)}};var ur=function(r){return{vattrs:r.k,vchildren:r.A,vkey:r.j,vname:r.O,vtag:r.C,vtext:r.S}};var or=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return nr.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=tr(r.vtag,r.vtext);n.k=r.vattrs;n.A=r.vchildren;n.j=r.vkey;n.O=r.vname;return n};var lr=function(r,e,n,t){var i=rr("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=a?[]:null;var l=t.D=tr(e,null);if(!C.R){sr(O.body,C.R=new Map)}r[_]=n;r.removeAttribute(_);vr(l,f,u,o,r,r,n);f.map((function(r){var n=r.L+"."+r.F;var t=C.R.get(n);var i=r.T;if(t&&E&&t["s-en"]===""){t.parentNode.insertBefore(i,t.nextSibling)}if(!a){i["s-hn"]=e;if(t){i["s-ol"]=t;i["s-ol"]["s-nr"]=i}}C.R.delete(n)}));if(a){o.map((function(r){if(r){a.appendChild(r)}}))}i()};var vr=function(r,e,n,t,i,a,f){var u;var o;var l;var v;if(a.nodeType===1){u=a.getAttribute(k);if(u){o=u.split(".");if(o[0]===f||o[0]==="0"){l={i:0,L:o[0],F:o[1],M:o[2],N:o[3],C:a.tagName.toLowerCase(),T:a,k:null,A:null,j:null,O:null,S:null};e.push(l);a.removeAttribute(k);if(!r.A){r.A=[]}r.A[l.N]=l;r=l;if(t&&l.M==="0"){t[l.N]=l.T}}}if(a.shadowRoot){for(v=a.shadowRoot.childNodes.length-1;v>=0;v--){vr(r,e,n,t,i,a.shadowRoot.childNodes[v],f)}}for(v=a.childNodes.length-1;v>=0;v--){vr(r,e,n,t,i,a.childNodes[v],f)}}else if(a.nodeType===8){o=a.nodeValue.split(".");if(o[1]===f||o[1]==="0"){u=o[0];l={i:0,L:o[1],F:o[2],M:o[3],N:o[4],T:a,k:null,A:null,j:null,O:null,C:null,S:null};if(u===g){l.T=a.nextSibling;if(l.T&&l.T.nodeType===3){l.S=l.T.textContent;e.push(l);a.remove();if(!r.A){r.A=[]}r.A[l.N]=l;if(t&&l.M==="0"){t[l.N]=l.T}}}else if(l.L===f){if(u===b){l.C="slot";if(o[5]){a["s-sn"]=l.O=o[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(t){l.T=O.createElement(l.C);if(l.O){l.T.setAttribute("name",l.O)}a.parentNode.insertBefore(l.T,a);a.remove();if(l.M==="0"){t[l.N]=l.T}}n.push(l);if(!r.A){r.A=[]}r.A[l.N]=l}else if(u===$){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.C==="style"){var s=tr(null,a.textContent);s.T=a;s.N="0";r.A=[s]}};var sr=function(r,e){if(r.nodeType===1){var n=0;if(r.shadowRoot){for(;n<r.shadowRoot.childNodes.length;n++){sr(r.shadowRoot.childNodes[n],e)}}for(n=0;n<r.childNodes.length;n++){sr(r.childNodes[n],e)}}else if(r.nodeType===8){var t=r.nodeValue.split(".");if(t[0]===w){e.set(t[1]+"."+t[2],r);r.nodeValue="";r["s-en"]=t[3]}}};var cr=function(r,e){if(r!=null&&!Q(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var dr=r("g",(function(r){return v(r).$hostElement$}));var hr=r("c",(function(r,e,n){var t=dr(r);return{emit:function(r){return pr(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var pr=function(r,e,n){var t=C.ce(e,n);r.dispatchEvent(t);return t};var mr=new WeakMap;var yr=function(r,e,n){var t=y.get(r);if(R&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}y.set(r,t)};var $r=function(r,e,n){var t;var i=br(e);var a=y.get(i);r=r.nodeType===11?r:O;if(a){if(typeof a==="string"){r=r.head||r;var f=mr.get(r);var u=void 0;if(!f){mr.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(S,'="').concat(i,'"]')))){u.innerHTML=a}else{u=O.createElement("style");u.innerHTML=a;var o=(t=C.P)!=null?t:V(O);if(o!=null){u.setAttribute("nonce",o)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var v=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(u,v)}else if("host"in r){if(R){var s=new CSSStyleSheet;s.replaceSync(a);r.adoptedStyleSheets=__spreadArray([s],r.adoptedStyleSheets,true)}else{var c=r.querySelector("style");if(c){c.innerHTML=a+c.innerHTML}else{r.prepend(u)}}}else{r.append(u)}}if(e.i&1&&r.nodeName!=="HEAD"){r.insertBefore(u,null)}}if(e.i&4){u.innerHTML+=x}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var wr=function(r){var e=r.u;var n=r.$hostElement$;var t=e.i;var i=rr("attachStyles",e.m);var a=$r(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var br=function(r,e){return"sc-"+r.m};var gr=function(r,e,n,t,i,a){if(n!==t){var f=d(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=Sr(n);var v=Sr(t);o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(d(j,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(kr);e=e.replace(xr,"");if(n){C.rel(r,e,n,c)}if(t){C.ael(r,e,t,c)}}}else{var h=Q(t);if((f||h&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var p=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=p){if(typeof r.__lookupSetter__(e)==="function"){r[e]=p}else{r.setAttribute(e,p)}}}else{r[e]=t}}catch(r){}}var m=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;m=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(m){r.removeAttributeNS(A,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!h){t=t===true?"":t;if(m){r.setAttributeNS(A,e,t)}else{r.setAttribute(e,t)}}}}};var _r=/\s/;var Sr=function(r){return!r?[]:r.split(_r)};var kr="Capture";var xr=new RegExp(kr+"$");var Ar=function(r,e,n){var t=e.T.nodeType===11&&e.T.host?e.T.host:e.T;var i=r&&r.k||B;var a=e.k||B;{for(var f=0,u=jr(Object.keys(i));f<u.length;f++){var o=u[f];if(!(o in a)){gr(t,o,i[o],void 0,n,e.i)}}}for(var l=0,v=jr(Object.keys(a));l<v.length;l++){var o=v[l];gr(t,o,i[o],a[o],n,e.i)}};function jr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Or;var Cr;var Er;var Tr=false;var Dr=false;var Rr=false;var Lr=false;var Fr=function(r,e,n,t){var a;var f=e.A[n];var u=0;var o;var l;var v;if(!Tr){Rr=true;if(f.C==="slot"){if(Or){t.classList.add(Or+"-s")}f.i|=f.A?2:1}}if(f.S!==null){o=f.T=O.createTextNode(f.S)}else if(f.i&1){o=f.T=O.createTextNode("")}else{if(!Lr){Lr=f.C==="svg"}o=f.T=O.createElementNS(Lr?H:z,!Tr&&i.slotRelocation&&f.i&2?"slot-fb":f.C);if(Lr&&f.C==="foreignObject"){Lr=false}{Ar(null,f,Lr)}var s=o.getRootNode();var c=!s.querySelector("body");if(!c&&i.scoped&&G(Or)&&o["s-si"]!==Or){o.classList.add(o["s-si"]=Or)}{Jr(o,t)}if(f.A){for(u=0;u<f.A.length;++u){l=Fr(r,f,u,o);if(l){o.appendChild(l)}}}{if(f.C==="svg"){Lr=false}else if(o.tagName==="foreignObject"){Lr=true}}}o["s-hn"]=Er;{if(f.i&(2|1)){o["s-sr"]=true;o["s-cr"]=Cr;o["s-sn"]=f.O||"";o["s-rf"]=(a=f.k)==null?void 0:a.ref;v=r&&r.A&&r.A[n];if(v&&v.C===f.C&&r.T){{Mr(r.T,false)}}}}return o};var Mr=function(r,e){C.i|=1;var n=Array.from(r.childNodes);if(r["s-sr"]&&i.experimentalSlotFixes){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===Er){n.push(t)}}}for(var a=n.length-1;a>=0;a--){var f=n[a];if(f["s-hn"]!==Er&&f["s-ol"]){Kr(Br(f),f,Wr(f));f["s-ol"].remove();f["s-ol"]=void 0;f["s-sh"]=void 0;Rr=true}if(e){Mr(f,e)}}C.i&=~1};var Nr=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(f.shadowRoot&&f.tagName===Er){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=Fr(null,n,i,r);if(u){t[i].T=u;Kr(f,u,Wr(e))}}}};var Pr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.T;qr(i);if(a){{Dr=true;if(a["s-ol"]){a["s-ol"].remove()}else{Mr(a,true)}}a.remove()}}}};var Ur=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=e.length-1;var v=e[0];var s=e[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var m;while(a<=l&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(Ir(v,d,i)){Hr(v,d,i);v=e[++a];d=t[++f]}else if(Ir(s,h,i)){Hr(s,h,i);s=e[--l];h=t[--c]}else if(Ir(v,h,i)){if(v.C==="slot"||h.C==="slot"){Mr(v.T.parentNode,false)}Hr(v,h,i);Kr(r,v.T,s.T.nextSibling);v=e[++a];h=t[--c]}else if(Ir(s,d,i)){if(v.C==="slot"||h.C==="slot"){Mr(s.T.parentNode,false)}Hr(s,d,i);Kr(r,s.T,v.T);s=e[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].j!==null&&e[o].j===d.j){u=o;break}}}if(u>=0){m=e[u];if(m.C!==d.C){p=Fr(e&&e[f],n,u,r)}else{Hr(m,d,i);e[u]=void 0;p=m.T}d=t[++f]}else{p=Fr(e&&e[f],n,f,r);d=t[++f]}if(p){{Kr(Br(v.T),p,Wr(v.T))}}}}if(a>l){Nr(r,t[c+1]==null?null:t[c+1].T,n,t,f,c)}else if(f>c){Pr(e,a,l)}};var Ir=function(r,e,n){if(n===void 0){n=false}if(r.C===e.C){if(r.C==="slot"){if("F"in r&&n&&r.T.nodeType!==8){return false}return r.O===e.O}if(!n){return r.j===e.j}return true}return false};var Wr=function(r){return r&&r["s-ol"]||r};var Br=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var Hr=function(r,e,n){if(n===void 0){n=false}var t=e.T=r.T;var a=r.A;var f=e.A;var u=e.C;var o=e.S;var l;if(o===null){{Lr=u==="svg"?true:u==="foreignObject"?false:Lr}{if(u==="slot"&&!Tr);else{Ar(r,e,Lr)}}if(a!==null&&f!==null){Ur(t,a,e,f,n)}else if(f!==null){if(r.S!==null){t.textContent=""}Nr(t,null,e,f,0,f.length-1)}else if(!n&&i.updatable&&a!==null){Pr(a,0,a.length-1)}if(Lr&&u==="svg"){Lr=false}}else if(l=t["s-cr"]){l.parentNode.textContent=o}else if(r.S!==o){t.data=o}};var zr=function(r){var e=r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o!==i){if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&(a===o.getAttribute("slot")||a===o["s-sn"])||o.nodeType===3&&a===o["s-sn"]){i.hidden=true;break}}else{if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}}zr(i)}}};var Gr=[];var Qr=function(r){var e;var n;var t;for(var a=0,f=r.childNodes;a<f.length;a++){var u=f[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;var o=u["s-sn"];var l=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&!i.experimentalSlotFixes){if(Vr(e,o)){var r=Gr.find((function(r){return r.U===e}));Dr=true;e["s-sn"]=e["s-sn"]||o;if(r){r.U["s-sh"]=u["s-hn"];r.I=u}else{e["s-sh"]=u["s-hn"];Gr.push({I:u,U:e})}if(e["s-sr"]){Gr.map((function(n){if(Vr(n.U,e["s-sn"])){r=Gr.find((function(r){return r.U===e}));if(r&&!n.I){n.I=r.I}}}))}}else if(!Gr.some((function(r){return r.U===e}))){Gr.push({U:e})}}};for(t=n.length-1;t>=0;t--){l()}}if(u.nodeType===1){Qr(u)}}};var Vr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var qr=function(r){{r.k&&r.k.ref&&r.k.ref(null);r.A&&r.A.map(qr)}};var Kr=function(r,e,n){var t=r==null?void 0:r.insertBefore(e,n);{Jr(e,r)}return t};var Xr=function(r){var e=[];if(r){e.push.apply(e,__spreadArray(__spreadArray(__spreadArray([],r["s-scs"]||[],false),[r["s-si"],r["s-sc"]],false),Xr(r.parentElement),false))}return e};var Jr=function(r,e,n){if(n===void 0){n=false}var t;if(r&&e&&r.nodeType===1){var i=new Set(Xr(e).filter(Boolean));if(i.size){(t=r.classList)==null?void 0:t.add.apply(t,r["s-scs"]=Array.from(i));if(r["s-ol"]||n){for(var a=0,f=Array.from(r.childNodes);a<f.length;a++){var u=f[a];Jr(u,r,true)}}}}};var Yr=function(r,e,n){if(n===void 0){n=false}var t,i,a,f;var u=r.$hostElement$;var o=r.u;var l=r.D||tr(null,null);var v=ar(e)?e:nr(null,null,e);Er=u.tagName;if(o.W){v.k=v.k||{};o.W.map((function(r){var e=r[0],n=r[1];return v.k[n]=u[e]}))}if(n&&v.k){for(var s=0,c=Object.keys(v.k);s<c.length;s++){var d=c[s];if(u.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){v.k[d]=u[d]}}}v.C=null;v.i|=4;r.D=v;v.T=l.T=u.shadowRoot||u;{Or=u["s-sc"]}Tr=(o.i&1)!==0;{Cr=u["s-cr"];Dr=false}Hr(l,v,n);{C.i|=1;if(Rr){Qr(v.T);for(var h=0,p=Gr;h<p.length;h++){var m=p[h];var y=m.U;if(!y["s-ol"]){var $=O.createTextNode("");$["s-nr"]=y;Kr(y.parentNode,y["s-ol"]=$,y)}}for(var w=0,b=Gr;w<b.length;w++){var m=b[w];var y=m.U;var g=m.I;if(g){var _=g.parentNode;var S=g.nextSibling;{var $=(t=y["s-ol"])==null?void 0:t.previousSibling;while($){var k=(i=$["s-nr"])!=null?i:null;if(k&&k["s-sn"]===y["s-sn"]&&_===k.parentNode){k=k.nextSibling;while(k===y||(k==null?void 0:k["s-sr"])){k=k==null?void 0:k.nextSibling}if(!k||!k["s-nr"]){S=k;break}}$=$.previousSibling}}if(!S&&_!==y.parentNode||y.nextSibling!==S){if(y!==S){if(!y["s-hn"]&&y["s-ol"]){y["s-hn"]=y["s-ol"].parentNode.nodeName}Kr(_,y,S);if(y.nodeType===1){y.hidden=(a=y["s-ih"])!=null?a:false}}}y&&typeof g["s-rf"]==="function"&&g["s-rf"](y)}else{if(y.nodeType===1){if(n){y["s-ih"]=(f=y.hidden)!=null?f:false}y.hidden=true}}}}if(Dr){zr(v.T)}C.i&=~1;Gr.length=0}Cr=void 0};var Zr=function(r,e){if(e&&!r.B&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.B=e})))}};var re=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}Zr(r,r.H);var n=function(){return ee(r,e)};return W(n)};var ee=function(r,e){var n=r.$hostElement$;var t=rr("scheduleUpdate",r.u.m);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.G){r.G.map((function(r){var e=r[0],n=r[1];return oe(i,e,n)}));r.G=void 0}}{a=oe(i,"componentWillLoad")}}{a=ne(a,(function(){return oe(i,"componentWillRender")}))}t();return ne(a,(function(){return ie(r,i,e)}))};var ne=function(r,e){return te(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var te=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var ie=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=rr("update",r.u.m);f=i["s-rc"];if(t){wr(r)}u=rr("render",r.u.m);{ae(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return fe(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.i|=4;o.length=0}}return[2]}))}))};var ae=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{Yr(r,e,t)}}}}catch(e){h(e,r.$hostElement$)}return null};var fe=function(r){var e=r.u.m;var n=r.$hostElement$;var t=rr("postUpdate",e);var i=r.t;var a=r.H;{oe(i,"componentDidRender")}if(!(r.i&64)){r.i|=64;{le(n)}{oe(i,"componentDidLoad")}t();{r.p(n);if(!a){ue()}}}else{{oe(i,"componentDidUpdate")}t()}{r.v(n)}{if(r.B){r.B();r.B=void 0}if(r.i&512){I((function(){return re(r,false)}))}r.i&=~(4|512)}};var ue=function(r){{le(O.documentElement)}I((function(){return pr(j,"appload",{detail:{namespace:t}})}))};var oe=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){h(r)}}return void 0};var le=function(r){var e;return r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated")};var ve=function(r,e){return v(r).o.get(e)};var se=function(r,e,n,t){var i=v(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.m,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=i.$hostElement$;var f=i.o.get(e);var u=i.i;var o=i.t;n=cr(n,t.V[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var s=n!==f&&!l;if((!(u&8)||f===void 0)&&s){i.o.set(e,n);if(o){if(t.q&&u&128){var c=t.q[e];if(c){c.map((function(r){try{o[r](n,f,e)}catch(r){h(r,a)}}))}}if((u&(2|16))===2){re(i,false)}}}};var ce=function(r,e,n){var t,i;var a=r.prototype;if(e.V||(e.q||r.watchers)){if(r.watchers&&!e.q){e.q=r.watchers}var f=Object.entries((t=e.V)!=null?t:{});f.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,t,{get:function(){return ve(this,t)},set:function(r){se(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=v(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var e;return(e=i.t)==null?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var u=new Map;a.attributeChangedCallback=function(r,n,t){var i=this;C.jmp((function(){var f;var o=u.get(r);if(i.hasOwnProperty(o)){t=i[o];delete i[o]}else if(a.hasOwnProperty(o)&&typeof i[o]==="number"&&i[o]==t){return}else if(o==null){var l=v(i);var s=l==null?void 0:l.i;if(s&&!(s&8)&&s&128&&t!==n){var c=l.t;var d=(f=e.q)==null?void 0:f[r];d==null?void 0:d.forEach((function(e){if(c[e]!=null){c[e].call(c,t,n,r)}}))}return}i[o]=t===null&&typeof i[o]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=e.q)!=null?i:{}),true),f.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;u.set(a,n);if(t[0]&512){(i=e.W)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var de=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l,v,s,c,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.$;if(!i)return[3,4];a=m(t);if(!(a&&"then"in a))return[3,2];f=er();return[4,a];case 1:n=p.sent();f();return[3,3];case 2:n=a;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.m,"#").concat(e.K,'" was not found'))}if(!n.isProxied){{t.q=n.watchers}ce(n,t,2);n.isProxied=true}u=rr("createInstance",t.m);{e.i|=8}try{new n(e)}catch(r){h(r)}{e.i&=~8}{e.i|=128}u();he(e.t);return[3,5];case 4:n=r.constructor;o=r.localName;customElements.whenDefined(o).then((function(){return e.i|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}v=br(t);if(!y.has(v)){s=rr("registerStyles",t.m);yr(v,l,!!(t.i&1));s()}}p.label=6;case 6:c=e.H;d=function(){return re(e,true)};if(c&&c["s-rc"]){c["s-rc"].push(d)}else{d()}return[2]}}))}))};var he=function(r){{oe(r,"connectedCallback")}};var pe=function(r){if((C.i&1)===0){var e=v(r);var n=e.u;var t=rr("connectedCallback",n.m);if(!(e.i&1)){e.i|=1;var i=void 0;{i=r.getAttribute(_);if(i){if(n.i&1){var a=$r(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}lr(r,n.m,i,e)}}if(!i){if(n.i&(4|8)){me(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){Zr(e,e.H=f);break}}}if(n.V){Object.entries(n.V).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{I((function(){return de(r,e,n)}))}}else{_e(r,e,n.X);if(e==null?void 0:e.t){he(e.t)}else if(e==null?void 0:e.h){e.h.then((function(){return he(e.t)}))}}t()}};var me=function(r){var e=r["s-cr"]=O.createComment("");e["s-cn"]=true;Kr(r,e,r.firstChild)};var ye=function(r){{oe(r,"disconnectedCallback")}};var $e=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((C.i&1)===0){e=v(r);{if(e.J){e.J.map((function(r){return r()}));e.J=void 0}}if(e==null?void 0:e.t){ye(e.t)}else if(e==null?void 0:e.h){e.h.then((function(){return ye(e.t)}))}}return[2]}))}))};var we=function(r,e){var n=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);if(e.i&8){var t=r.__lookupGetter__("childNodes");Object.defineProperty(r,"children",{get:function(){return this.childNodes.map((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return r.children.length}});Object.defineProperty(r,"childNodes",{get:function(){var r=t.call(this);if((C.i&1)===0&&v(this).i&2){var e=new n;for(var i=0;i<r.length;i++){var a=r[i]["s-nr"];if(a){e.push(a)}}return e}return n.from(r)}})}};var be=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=rr();var i=[];var a=e.exclude||[];var f=j.customElements;var u=O.head;var o=u.querySelector("meta[charset]");var l=O.createElement("style");var s=[];var d;var h=true;Object.assign(C,e);C._=new URL(e.resourcesUrl||"./",O.baseURI).href;{C.i|=2}var p=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],m:e[1],V:e[2],X:e[3]};if(t.i&4){p=true}{t.V=e[2]}{t.X=e[3]}{t.W=[]}{t.q=(n=e[4])!=null?n:{}}var u=t.m;var o=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;c(e,t);if(t.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open",delegatesFocus:!!(t.i&16)})}}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.m,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=v(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;_e(this,e,t.X)}if(d){clearTimeout(d);d=null}if(h){s.push(this)}else{C.jmp((function(){return pe(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;C.jmp((function(){return $e(r)}))};e.prototype.componentOnReady=function(){return v(this).h};return e}(HTMLElement);{{we(o.prototype,t)}}t.$=r[0];if(!a.includes(u)&&!f.get(u)){i.push(u);f.define(u,ce(o,t,1))}}))}));if(i.length>0){if(p){l.textContent+=x}if(l.innerHTML.length){l.setAttribute("data-styles","");var m=(n=C.P)!=null?n:V(O);if(m!=null){l.setAttribute("nonce",m)}u.insertBefore(l,o?o.nextSibling:u.firstChild)}}h=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{C.jmp((function(){return d=setTimeout(ue,30)}))}}t()}));var ge=r("F",(function(r,e){return e}));var _e=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=ke(r,t);var u=Se(e,a);var o=xe(t);C.ael(f,i,u,o);(e.J=e.J||[]).push((function(){return C.rel(f,i,u,o)}))}))}};var Se=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.G=r.G||[]).push([e,n])}}}catch(r){h(r)}}};var ke=function(r,e){if(e&4)return O;if(e&8)return j;if(e&16)return O.body;return r};var xe=function(r){return T?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Ae=r("s",(function(r){return C.P=r}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-84497c0b.system.js","./p-e216bea4.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"a1b6a9855c52785dc640ef0687b936220e386943",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
4
+ System.register(["./p-b9d4ed8d.system.js","./p-e216bea4.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=s;var p=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{key:"2caae5a247c86ce334214ce1efd4155d9941df6a",class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=n;var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=m;var l=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{key:"a1b6a9855c52785dc640ef0687b936220e386943",class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());l.style=o}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function r(t){try{d(n.next(t))}catch(t){s(t)}}function o(t){try{d(n["throw"](t))}catch(t){s(t)}}function d(t){t.done?i(t.value):a(t.value).then(r,o)}d((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return d([t,e])}}function d(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(i=0)),i)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(o[0]===6&&i.label<s[1]){i.label=s[1];s=o;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(o);break}if(s[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-84497c0b.system.js","./p-e216bea4.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,i,n,a,s,r,o,d;return{setters:[function(t){e=t.E;i=t.r;n=t.h;a=t.H;s=t.g},function(t){r=t.i},function(t){o=t.g;d=t.r},function(){}],execute:function(){var h=function(t){if(typeof document==="undefined"||!t){return}var e=document.createElement("div");e.innerHTML=t;for(var i=e.childNodes.length-1;i>=0;i--){var n=e.childNodes[i];if(n.nodeName.toLowerCase()!=="svg"){e.removeChild(e.childNodes[i])}}return e.firstElementChild};var u=function(t){if(t.nodeName.toLowerCase()==="script"){return false}for(var e=0;e<t.attributes.length;e++){var i=t.attributes[e];if(i.name.toLowerCase().indexOf("on")===0){return false}}if(t.children){for(var e=0;e<t.children.length;e++){if(!u(t.children[e])){return false}}}return true};var c=function(){if(window["duetcdnuri"]){return window["duetcdnuri"]}else{return e.cdnURIProd}};var l=function(t){var i=c();if(i.includes("localhost")){return"".concat(i,"/icons/lib/assets/").concat(t,".svg")}else{return"".concat(i,"/icons/").concat(e.duetIconVersion,"/lib/assets/").concat(t,".svg")}};var p={};function g(t){if(p[t]){return p[t]}function e(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,fetch(t)];case 1:e=s.sent();if(!e.ok){throw new Error("SVG request failed: ".concat(e.status," ").concat(e.statusText))}return[4,e.text()];case 2:i=s.sent();n=h(i);if(!u(n)){throw new Error("SVG validation failed")}a=document.createElement("div");a.appendChild(n);return[2,a.innerHTML]}}))}))}var i=e();return p[t]=i}var x="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}";var m=x;var f=t("duet_icon",function(){function t(t){i(this,t);this.svgContent=undefined;this.theme="";this.icon=undefined;this.src=undefined;this.name="action-add";this.margin="auto";this.responsive=true;this.color="";this.background="";this.backgroundOpacity=1;this.backgroundRotation=0;this.size="medium";this.outline="";this.shape="circle"}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:r(this);if(this.src&&this.icon){console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src)}return[4,this.loadIcon(null,null)];case 1:t.sent();return[2]}}))}))};t.prototype.loadIcon=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.icon){this.svgContent=this.icon;return[2]}if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(e===null&&t===null){return[2]}else if(this.element.shadowRoot.querySelector('.duet-icon-svg[data-name="'.concat(t,'"]'))){return[2]}}i=this.src?this.src:l(this.name);s.label=1;case 1:s.trys.push([1,3,,4]);n=this;return[4,g(i)];case 2:n.svgContent=s.sent();return[3,4];case 3:a=s.sent();console.warn("[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ".concat(i,"."),a);return[3,4];case 4:return[2]}}))}))};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":o(this.color,this.theme)||o(this.outline,this.theme);var i=this.backgroundRotation?{transform:"rotate(".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var s=Object.assign({color:e,background:d(o(this.background,this.theme),this.backgroundOpacity),"border-color":o(this.outline,this.theme)},i);var r=this.backgroundRotation?{transform:"rotate(-".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var h=Object.assign({},r);var u=this.shape==="brand-rotated"?"duet-icon-shape-brand":"duet-icon-shape-".concat(this.shape);return n(a,{key:"036bd71920292b0eb364007a8d38b01a01e07ce3",class:{"duet-m-0":this.margin==="none","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},n("span",{key:"2959987408354e2be6c726b2d66087479c0651f0","aria-hidden":"true",style:s,class:(t={"duet-icon":true,"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background},t[u]=true,t.rotated=this.shape==="brand-rotated"&&this.theme!=="turva",t["duet-icon-not-responsive"]=!this.responsive,t)},n("span",{key:"e75af917059142d7f015109e7224fba0cc2e18b3","aria-hidden":"true",class:{"duet-icon-svg":true,rotated:this.shape==="brand-rotated"&&this.theme!=="turva"},"data-name":this.name,innerHTML:this.svgContent,style:h})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}},enumerable:false,configurable:true});return t}());f.style=m}}}));
4
+ */System.register(["./p-b9d4ed8d.system.js","./p-e216bea4.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,i,n,a,s,r,o,d;return{setters:[function(t){e=t.E;i=t.r;n=t.h;a=t.H;s=t.g},function(t){r=t.i},function(t){o=t.g;d=t.r},function(){}],execute:function(){var h=function(t){if(typeof document==="undefined"||!t){return}var e=document.createElement("div");e.innerHTML=t;for(var i=e.childNodes.length-1;i>=0;i--){var n=e.childNodes[i];if(n.nodeName.toLowerCase()!=="svg"){e.removeChild(e.childNodes[i])}}return e.firstElementChild};var u=function(t){if(t.nodeName.toLowerCase()==="script"){return false}for(var e=0;e<t.attributes.length;e++){var i=t.attributes[e];if(i.name.toLowerCase().indexOf("on")===0){return false}}if(t.children){for(var e=0;e<t.children.length;e++){if(!u(t.children[e])){return false}}}return true};var c=function(){if(window["duetcdnuri"]){return window["duetcdnuri"]}else{return e.cdnURIProd}};var l=function(t){var i=c();if(i.includes("localhost")){return"".concat(i,"/icons/lib/assets/").concat(t,".svg")}else{return"".concat(i,"/icons/").concat(e.duetIconVersion,"/lib/assets/").concat(t,".svg")}};var p={};function g(t){if(p[t]){return p[t]}function e(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,fetch(t)];case 1:e=s.sent();if(!e.ok){throw new Error("SVG request failed: ".concat(e.status," ").concat(e.statusText))}return[4,e.text()];case 2:i=s.sent();n=h(i);if(!u(n)){throw new Error("SVG validation failed")}a=document.createElement("div");a.appendChild(n);return[2,a.innerHTML]}}))}))}var i=e();return p[t]=i}var x="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}";var m=x;var f=t("duet_icon",function(){function t(t){i(this,t);this.svgContent=undefined;this.theme="";this.icon=undefined;this.src=undefined;this.name="action-add";this.margin="auto";this.responsive=true;this.color="";this.background="";this.backgroundOpacity=1;this.backgroundRotation=0;this.size="medium";this.outline="";this.shape="circle"}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:r(this);if(this.src&&this.icon){console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src)}return[4,this.loadIcon(null,null)];case 1:t.sent();return[2]}}))}))};t.prototype.loadIcon=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.icon){this.svgContent=this.icon;return[2]}if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(e===null&&t===null){return[2]}else if(this.element.shadowRoot.querySelector('.duet-icon-svg[data-name="'.concat(t,'"]'))){return[2]}}i=this.src?this.src:l(this.name);s.label=1;case 1:s.trys.push([1,3,,4]);n=this;return[4,g(i)];case 2:n.svgContent=s.sent();return[3,4];case 3:a=s.sent();console.warn("[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ".concat(i,"."),a);return[3,4];case 4:return[2]}}))}))};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":o(this.color,this.theme)||o(this.outline,this.theme);var i=this.backgroundRotation?{transform:"rotate(".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var s=Object.assign({color:e,background:d(o(this.background,this.theme),this.backgroundOpacity),"border-color":o(this.outline,this.theme)},i);var r=this.backgroundRotation?{transform:"rotate(-".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var h=Object.assign({},r);var u=this.shape==="brand-rotated"?"duet-icon-shape-brand":"duet-icon-shape-".concat(this.shape);return n(a,{key:"036bd71920292b0eb364007a8d38b01a01e07ce3",class:{"duet-m-0":this.margin==="none","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},n("span",{key:"2959987408354e2be6c726b2d66087479c0651f0","aria-hidden":"true",style:s,class:(t={"duet-icon":true,"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background},t[u]=true,t.rotated=this.shape==="brand-rotated"&&this.theme!=="turva",t["duet-icon-not-responsive"]=!this.responsive,t)},n("span",{key:"e75af917059142d7f015109e7224fba0cc2e18b3","aria-hidden":"true",class:{"duet-icon-svg":true,rotated:this.shape==="brand-rotated"&&this.theme!=="turva"},"data-name":this.name,innerHTML:this.svgContent,style:h})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}},enumerable:false,configurable:true});return t}());f.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{h as t,r as e,c as a,H as i,g as o}from"./p-cf7e866c.js";import{i as d}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{F as s}from"./p-07e51cdb.js";import{a as n,g as l,c,d as u}from"./p-b70eca12.js";import{c as p}from"./p-cb85bc47.js";import"./p-0e052642.js";const h={day:"numeric",month:"long"},b={day:"numeric",month:"long",year:"numeric"},m={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",h),formatterLong:new Intl.DateTimeFormat("fi-FI",b)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",h),formatterLong:new Intl.DateTimeFormat("en-GB",b)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",h),formatterLong:new Intl.DateTimeFormat("sv-SE",b)}};const g=({onClick:e,placeholder:a,name:i,inputLabel:o,value:d,valueAsDate:r,formattedValue:s,language:n,identifier:l,theme:c,disabled:u,error:p,role:h,required:b,tooltip:g,tooltipDirection:k,labelHidden:f,buttonRef:v,inputRef:y,onInput:x,onBlur:w,onFocus:S,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,accessibleLiveError:A,echoPlaceholder:F,caption:C})=>{const{buttonLabel:E,selected:j,formatterLong:V}=m[n];return t("div",{class:{"duet-theme-turva":"turva"===c,"duet-date-input":!0}},t("duet-input",{label:o,value:s,placeholder:a,id:l,disabled:u,theme:c,error:p,role:h,required:b,tooltip:g,tooltipDirection:k,margin:"none",component:"date",labelHidden:f,accessibleAutocomplete:"none",onDuetInput:x,onDuetFocus:S,onDuetBlur:w,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:!0,ref:y,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,accessibleLiveError:A,echoPlaceholder:F,caption:C},t("slot",{name:"tooltip"}),t("button",{class:{"duet-date-button":!0,"duet-no-label":f},onClick:e,disabled:u,ref:v,type:"button"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>',margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,E,r&&t("span",null,", ",j," ",V.format(r))))),t("input",{type:"hidden",name:i,value:d}))},k=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/,f=/^(\d{4})-(\d{2})-(\d{2})$/;function v(t,e,a){var i=parseInt(a,10),o=parseInt(e,10),d=parseInt(t,10);if(Number.isInteger(d)&&Number.isInteger(o)&&Number.isInteger(i)&&o>0&&o<=12&&i>0&&i<=31&&d>0)return new Date(d,o-1,i)}function y(t){if(!t)return;const e=t.match(k);return e?v(e[3],e[2],e[1]):void 0}function x(t){if(!t)return;const e=t.match(f);return e?v(e[1],e[2],e[3]):void 0}function w(t,e){if(!t)return"";var a=t.getDate().toString(10),i=(t.getMonth()+1).toString(10),o=t.getFullYear().toString(10);return t.getDate()<10&&(a=`0${a}`),t.getMonth()<9&&(i=`0${i}`),e.replace(/MM/i,i).replace(/YYYY/i,o).replace(/DD/i,a)}function S(t,e){return null!=t&&null!=e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function D(t,e){var a=new Date(t);return a.setDate(a.getDate()+e),a}function M(t,e=1){var a=new Date(t),i=a.getDay(),o=(i<e?7:0)+i-e;return a.setDate(a.getDate()-o),a}function L(t,e=1){var a=new Date(t),i=a.getDay(),o=6+(i<e?-7:0)-(i-e);return a.setDate(a.getDate()+o),a}function I(t){return new Date(t.getFullYear(),t.getMonth(),1)}function A(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function F(t,e){const a=new Date(t);return a.setMonth(e),a}function C(t,e){const a=new Date(t);return a.setFullYear(e),a}function E(t,e,a){return j(t,e,a)===t}function j(t,e,a){const i=t.getTime();return e&&e instanceof Date&&i<e.getTime()?e:a&&a instanceof Date&&i>a.getTime()?a:t}const V=({focusedDay:e,today:a,day:i,language:o,onDaySelect:d,onKeyboardNavigation:r,ref:s,inRange:n,isSelected:l})=>{const c=S(i,a),u=S(i,e),p=i.getMonth()!==e.getMonth(),h=!n,{formatterShort:b}=m[o];return t("button",{class:{"duet-date-table-button":!0,outside:h,disabled:p,today:c},tabIndex:u?0:-1,onClick:function(t){d(t,i)},onKeyDown:r,"aria-disabled":h||p,"aria-pressed":l?"true":"false",type:"button",ref:s},t("span",{"aria-hidden":"true"},i.getDate()),t("duet-visually-hidden",null,b.format(i)))};function z(t){var e;const a=t.trim().split("+"),i=a.pop();return["shift"===(null===(e=a[0])||void 0===e?void 0:e.toLowerCase()),i]}function U(t){const e=Object.keys(t).map((e=>[z(e),t[e]]));return function(t){if(!(t instanceof KeyboardEvent))return;const a=e.find((([[e,a]])=>(a.toUpperCase()===t.key.toUpperCase()||a===t.code)&&e===t.shiftKey));a&&(a[1](t),t.preventDefault())}}const H=({selectedDate:e,focusedDate:a,labelledById:i,theme:o,language:d,min:r,max:s,onDateSelect:n,onKeyboardNavigation:l,focusedDayRef:c,onFocusEnter:u,onFocusExit:p})=>{const{dayLabels:h}=m[d],b=new Date,g=function(t,e=1){return function(t,e){const a=[];let i=t;for(;!S(i,e);)a.push(i),i=D(i,1);return a.push(i),a}(M(I(t),e),L(A(t),e))}(a);return t("table",{class:{"duet-date-table":!0,"duet-theme-turva":"turva"===o},"aria-labelledby":i,onFocusin:u,onFocusout:function(t){const e=t.relatedTarget;e&&!t.currentTarget.contains(e)&&p(t)}},t("thead",null,t("tr",null,h.map((e=>t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2)),t("duet-visually-hidden",null,e)))))),t("tbody",null,function(t){const e=[];for(let a=0;a<t.length;a+=7)e.push(t.slice(a,a+7));return e}(g).map((i=>t("tr",{class:"duet-date-table-row"},i.map((i=>t("td",{class:"duet-date-table-cell"},t(V,{day:i,today:b,language:d,focusedDay:a,inRange:E(i,r,s),isSelected:S(i,e),onDaySelect:n,onKeyboardNavigation:l,ref:t=>{t&&S(i,a)&&c(t)}})))))))))},B=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",7),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.monthSelectId=r("DuetDatePicker"),this.yearSelectId=r("DuetDatePicker"),this.dialogLabelId=r("DuetDatePicker"),this.initialTouchX=null,this.initialTouchY=null,this.focusTarget=null,this.enableActiveFocus=()=>{this.focusTarget="day-button"},this.disableActiveFocus=()=>{this.focusTarget=null},this.toggleOpen=t=>{t.preventDefault(),this.open?this.hide(!1):this.show()},this.handleBlur=t=>{t.stopPropagation(),this.duetBlur.emit({component:"duet-date-picker"})},this.handleFocus=t=>{t.stopPropagation(),this.duetFocus.emit({component:"duet-date-picker"})},this.handleTouchStart=t=>{const e=t.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchMove=t=>{t.preventDefault()},this.handleTouchEnd=t=>{const e=t.changedTouches[0],a=e.pageX-this.initialTouchX,i=e.pageY-this.initialTouchY,o=Math.abs(a)>=70&&Math.abs(i)<=70,d=Math.abs(i)>=70&&Math.abs(a)<=70&&i>0;o?this.addMonths(a<0?1:-1):d&&(this.hide(),t.preventDefault()),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=t=>{t.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=t=>{t.preventDefault(),this.addMonths(-1)},this.handleEscKey=U({Escape:()=>this.hide(),Esc:()=>this.hide()}),this.handleKeyboardNavigation=U({ArrowRight:()=>this.addDays(1),Right:()=>this.addDays(1),ArrowLeft:()=>this.addDays(-1),Left:()=>this.addDays(-1),ArrowDown:()=>this.addDays(7),Down:()=>this.addDays(7),ArrowUp:()=>this.addDays(-7),Up:()=>this.addDays(-7),Home:()=>this.startOfWeek(),End:()=>this.endOfWeek(),PageUp:()=>this.addMonths(-1),PageDown:()=>this.addMonths(1),"Shift+PageUp":()=>this.addYears(-1),"Shift+PageDown":()=>this.addYears(1)}),this.handleDaySelect=(t,e)=>{const a=x(this.min),i=x(this.max);this.determineValidity(e),E(e,a,i)&&(this.setValue(e),this.hide())},this.handleMonthSelect=t=>{this.setMonth(parseInt(t.target.value,10))},this.handleYearSelect=t=>{this.setYear(parseInt(t.target.value,10))},this.handleInputChange=t=>{this.inputValue=t.detail.value;const e=y(this.inputValue);this.determineValidity(e),(e||""===this.inputValue)&&this.setValue(e)},this.open=!1,this.focusedDay=new Date,this.inputValue="",this.theme="",this.expand=!1,this.name="",this.identifier="",this.label="",this.caption=void 0,this.margin="auto",this.language=n(),this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"},this.placeholder=l(this.placeholderDefaults,this.language),this.echoPlaceholder=!1,this.disabled=!1,this.error="",this.labelHidden=!1,this.role=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.required=!1,this.direction="right",this.tooltip="",this.tooltipDirection="auto",this.value="",this.min="",this.max="",this.incrementYears=10,this.validity=void 0,this.accessibleLiveError="polite"}updateValidity(){this.determineValidity(x(this.value))}updateInternalValue(){const t=x(this.value),e=y(this.inputValue);t?S(t,e)||(this.inputValue=w(t,"dd.mm.yyyy")):this.inputValue=""}componentWillLoad(){d(this),this.determineValidity(x(this.value)),this.updateInternalValue(),p(this.element,"tooltip","duet-tooltip",1,!0)}componentDidUpdate(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus(),this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus(),this.focusTarget=null}}connectedCallback(){c(this,{prop:"placeholder",defaults:"placeholderDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.datePickerInput.setFocus(t)}async show(){this.open=!0,this.focusTarget="month-select",this.setFocusedDay(x(this.value)||new Date)}async hide(t=!0){this.open=!1,t&&(this.focusTarget="toggle-button")}addDays(t){this.setFocusedDay(D(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(M(this.focusedDay))}endOfWeek(){this.setFocusedDay(L(this.focusedDay))}setMonth(t){const e=F(I(this.focusedDay),t),a=A(e),i=F(this.focusedDay,t);this.setFocusedDay(j(i,e,a))}setYear(t){const e=C(I(this.focusedDay),t),a=A(e),i=C(this.focusedDay,t);this.setFocusedDay(j(i,e,a))}setFocusedDay(t){this.focusedDay=j(t,x(this.min),x(this.max))}determineValidity(t){var e,a;const i=""!==(null!==(a=null===(e=this.datePickerInput)||void 0===e?void 0:e.value)&&void 0!==a?a:"")&&null==t,o=this.required&&null==t,d=!!t&&!E(t,null,x(this.max)),r=!!t&&!E(t,x(this.min));this.validity={patternMismatch:!1,customError:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:o,badInput:i,rangeUnderflow:r,rangeOverflow:d,valid:!(o||i||r||d)}}setValue(t){const e=function(t){return w(t,"YYYY-MM-DD")}(t);e!==this.value&&(this.value=e,this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:t}))}handleDocumentClick(t){this.open&&t.composedPath().every((t=>t!==this.dialogWrapperNode&&t!==this.datePickerButton))&&this.hide(!1)}render(){const e=x(this.value),a=(e||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),d=this.focusedDay.getFullYear(),r=m[this.language],n=x(this.min),l=x(this.max),c=null!=n&&n.getMonth()===o&&n.getFullYear()===d,u=null!=l&&l.getMonth()===o&&l.getFullYear()===d;let p=a-this.incrementYears,h=a+this.incrementYears;return n&&(p=Math.max(p,n.getFullYear())),l&&(h=Math.min(h,l.getFullYear())),t(i,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},t("div",{class:"duet-date"},t(g,{value:this.value,valueAsDate:e,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:t=>this.datePickerButton=t,inputRef:t=>this.datePickerInput=t,accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,accessibleLiveError:this.accessibleLiveError,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{class:{"duet-theme-turva":"turva"===this.theme,"duet-date-dialog":!0,left:"left"===this.direction,error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("duet-overlay",{visible:this.open,"display-device":"x-small"}),t(s,{moveFocusTo:this.focusedDayNode}),t("div",{class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:t=>this.dialogWrapperNode=t},t("duet-visually-hidden",{"aria-live":"polite"},r.keyboardInstruction),t("div",{class:"duet-date-dialog-mobile-header"},t("duet-label",{margin:"none"},this.label),t("button",{class:"duet-date-picker-close",ref:t=>this.closeButtonNode=t,onClick:()=>this.hide(),type:"button"},t("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",null,r.closeLabel))),t("div",{class:"duet-date-dialog-header"},t("div",{class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",null,t("h2",{id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},r.monthLabels[o]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",null,t("label",{htmlFor:this.monthSelectId},r.monthSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.monthSelectId,class:"duet-date-month-select",ref:t=>this.monthSelectNode=t,onChange:this.handleMonthSelect},r.monthLabels.map(((e,a)=>t("option",{key:e,value:a,selected:a===o,disabled:!E(new Date(d,a,1),n?I(n):null,l?A(l):null)},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,r.monthLabelsShort[o]),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",null,t("label",{htmlFor:this.yearSelectId},r.yearSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},function(t,e){for(var a=[],i=t;i<=e;i++)a.push(i);return a}(p,h).map((e=>t("option",{key:e,selected:e===d},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,this.focusedDay.getFullYear()),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{class:"duet-date-dialog-buttons"},t("duet-action-button",{accessibleLabel:m[this.language].prevMonthLabel,actionName:m[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},r.prevMonthLabel),t("duet-action-button",{accessibleLabel:m[this.language].nextMonthLabel,actionName:m[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:u,"icon-name":"action-arrow-right-small"},r.nextMonthLabel))),t(H,{selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:n,max:l,focusedDayRef:t=>this.focusedDayNode=t,onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(s,{moveFocusTo:this.closeButtonNode})))}get element(){return o(this)}static get watchers(){return{min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}}};B.style='*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-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;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(0, 41, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(207, 210, 212) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(207, 207, 209)}.duet-date-button.sc-duet-date-picker::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-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 245, 247) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(228, 228, 230)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(0, 41, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(230, 242, 248) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(249, 230, 234) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 77, 128) !important;background:rgb(243, 249, 252) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(148, 9, 37) !important;background:rgb(252, 243, 244) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(144, 149, 153) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(116, 116, 117) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(144, 149, 153) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(116, 116, 117);background:rgb(245, 245, 247);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(207, 210, 212)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(207, 207, 209)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(0, 41, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}';export{B as duet_date_picker}
4
+ import{h as t,r as e,c as a,H as i,g as o}from"./p-18ada958.js";import{i as d}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{F as s}from"./p-d283b94b.js";import{a as n,g as l,c,d as u}from"./p-7d6b40d1.js";import{c as p}from"./p-8a7ee339.js";import"./p-0e052642.js";const h={day:"numeric",month:"long"},b={day:"numeric",month:"long",year:"numeric"},m={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",h),formatterLong:new Intl.DateTimeFormat("fi-FI",b)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",h),formatterLong:new Intl.DateTimeFormat("en-GB",b)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",h),formatterLong:new Intl.DateTimeFormat("sv-SE",b)}};const g=({onClick:e,placeholder:a,name:i,inputLabel:o,value:d,valueAsDate:r,formattedValue:s,language:n,identifier:l,theme:c,disabled:u,error:p,role:h,required:b,tooltip:g,tooltipDirection:k,labelHidden:f,buttonRef:v,inputRef:y,onInput:x,onBlur:w,onFocus:S,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,accessibleLiveError:A,echoPlaceholder:F,caption:C})=>{const{buttonLabel:E,selected:j,formatterLong:V}=m[n];return t("div",{class:{"duet-theme-turva":"turva"===c,"duet-date-input":!0}},t("duet-input",{label:o,value:s,placeholder:a,id:l,disabled:u,theme:c,error:p,role:h,required:b,tooltip:g,tooltipDirection:k,margin:"none",component:"date",labelHidden:f,accessibleAutocomplete:"none",onDuetInput:x,onDuetFocus:S,onDuetBlur:w,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:!0,ref:y,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,accessibleLiveError:A,echoPlaceholder:F,caption:C},t("slot",{name:"tooltip"}),t("button",{class:{"duet-date-button":!0,"duet-no-label":f},onClick:e,disabled:u,ref:v,type:"button"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>',margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,E,r&&t("span",null,", ",j," ",V.format(r))))),t("input",{type:"hidden",name:i,value:d}))},k=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/,f=/^(\d{4})-(\d{2})-(\d{2})$/;function v(t,e,a){var i=parseInt(a,10),o=parseInt(e,10),d=parseInt(t,10);if(Number.isInteger(d)&&Number.isInteger(o)&&Number.isInteger(i)&&o>0&&o<=12&&i>0&&i<=31&&d>0)return new Date(d,o-1,i)}function y(t){if(!t)return;const e=t.match(k);return e?v(e[3],e[2],e[1]):void 0}function x(t){if(!t)return;const e=t.match(f);return e?v(e[1],e[2],e[3]):void 0}function w(t,e){if(!t)return"";var a=t.getDate().toString(10),i=(t.getMonth()+1).toString(10),o=t.getFullYear().toString(10);return t.getDate()<10&&(a=`0${a}`),t.getMonth()<9&&(i=`0${i}`),e.replace(/MM/i,i).replace(/YYYY/i,o).replace(/DD/i,a)}function S(t,e){return null!=t&&null!=e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function D(t,e){var a=new Date(t);return a.setDate(a.getDate()+e),a}function M(t,e=1){var a=new Date(t),i=a.getDay(),o=(i<e?7:0)+i-e;return a.setDate(a.getDate()-o),a}function L(t,e=1){var a=new Date(t),i=a.getDay(),o=6+(i<e?-7:0)-(i-e);return a.setDate(a.getDate()+o),a}function I(t){return new Date(t.getFullYear(),t.getMonth(),1)}function A(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function F(t,e){const a=new Date(t);return a.setMonth(e),a}function C(t,e){const a=new Date(t);return a.setFullYear(e),a}function E(t,e,a){return j(t,e,a)===t}function j(t,e,a){const i=t.getTime();return e&&e instanceof Date&&i<e.getTime()?e:a&&a instanceof Date&&i>a.getTime()?a:t}const V=({focusedDay:e,today:a,day:i,language:o,onDaySelect:d,onKeyboardNavigation:r,ref:s,inRange:n,isSelected:l})=>{const c=S(i,a),u=S(i,e),p=i.getMonth()!==e.getMonth(),h=!n,{formatterShort:b}=m[o];return t("button",{class:{"duet-date-table-button":!0,outside:h,disabled:p,today:c},tabIndex:u?0:-1,onClick:function(t){d(t,i)},onKeyDown:r,"aria-disabled":h||p,"aria-pressed":l?"true":"false",type:"button",ref:s},t("span",{"aria-hidden":"true"},i.getDate()),t("duet-visually-hidden",null,b.format(i)))};function z(t){var e;const a=t.trim().split("+"),i=a.pop();return["shift"===(null===(e=a[0])||void 0===e?void 0:e.toLowerCase()),i]}function U(t){const e=Object.keys(t).map((e=>[z(e),t[e]]));return function(t){if(!(t instanceof KeyboardEvent))return;const a=e.find((([[e,a]])=>(a.toUpperCase()===t.key.toUpperCase()||a===t.code)&&e===t.shiftKey));a&&(a[1](t),t.preventDefault())}}const H=({selectedDate:e,focusedDate:a,labelledById:i,theme:o,language:d,min:r,max:s,onDateSelect:n,onKeyboardNavigation:l,focusedDayRef:c,onFocusEnter:u,onFocusExit:p})=>{const{dayLabels:h}=m[d],b=new Date,g=function(t,e=1){return function(t,e){const a=[];let i=t;for(;!S(i,e);)a.push(i),i=D(i,1);return a.push(i),a}(M(I(t),e),L(A(t),e))}(a);return t("table",{class:{"duet-date-table":!0,"duet-theme-turva":"turva"===o},"aria-labelledby":i,onFocusin:u,onFocusout:function(t){const e=t.relatedTarget;e&&!t.currentTarget.contains(e)&&p(t)}},t("thead",null,t("tr",null,h.map((e=>t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2)),t("duet-visually-hidden",null,e)))))),t("tbody",null,function(t){const e=[];for(let a=0;a<t.length;a+=7)e.push(t.slice(a,a+7));return e}(g).map((i=>t("tr",{class:"duet-date-table-row"},i.map((i=>t("td",{class:"duet-date-table-cell"},t(V,{day:i,today:b,language:d,focusedDay:a,inRange:E(i,r,s),isSelected:S(i,e),onDaySelect:n,onKeyboardNavigation:l,ref:t=>{t&&S(i,a)&&c(t)}})))))))))},B=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",7),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.monthSelectId=r("DuetDatePicker"),this.yearSelectId=r("DuetDatePicker"),this.dialogLabelId=r("DuetDatePicker"),this.initialTouchX=null,this.initialTouchY=null,this.focusTarget=null,this.enableActiveFocus=()=>{this.focusTarget="day-button"},this.disableActiveFocus=()=>{this.focusTarget=null},this.toggleOpen=t=>{t.preventDefault(),this.open?this.hide(!1):this.show()},this.handleBlur=t=>{t.stopPropagation(),this.duetBlur.emit({component:"duet-date-picker"})},this.handleFocus=t=>{t.stopPropagation(),this.duetFocus.emit({component:"duet-date-picker"})},this.handleTouchStart=t=>{const e=t.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchMove=t=>{t.preventDefault()},this.handleTouchEnd=t=>{const e=t.changedTouches[0],a=e.pageX-this.initialTouchX,i=e.pageY-this.initialTouchY,o=Math.abs(a)>=70&&Math.abs(i)<=70,d=Math.abs(i)>=70&&Math.abs(a)<=70&&i>0;o?this.addMonths(a<0?1:-1):d&&(this.hide(),t.preventDefault()),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=t=>{t.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=t=>{t.preventDefault(),this.addMonths(-1)},this.handleEscKey=U({Escape:()=>this.hide(),Esc:()=>this.hide()}),this.handleKeyboardNavigation=U({ArrowRight:()=>this.addDays(1),Right:()=>this.addDays(1),ArrowLeft:()=>this.addDays(-1),Left:()=>this.addDays(-1),ArrowDown:()=>this.addDays(7),Down:()=>this.addDays(7),ArrowUp:()=>this.addDays(-7),Up:()=>this.addDays(-7),Home:()=>this.startOfWeek(),End:()=>this.endOfWeek(),PageUp:()=>this.addMonths(-1),PageDown:()=>this.addMonths(1),"Shift+PageUp":()=>this.addYears(-1),"Shift+PageDown":()=>this.addYears(1)}),this.handleDaySelect=(t,e)=>{const a=x(this.min),i=x(this.max);this.determineValidity(e),E(e,a,i)&&(this.setValue(e),this.hide())},this.handleMonthSelect=t=>{this.setMonth(parseInt(t.target.value,10))},this.handleYearSelect=t=>{this.setYear(parseInt(t.target.value,10))},this.handleInputChange=t=>{this.inputValue=t.detail.value;const e=y(this.inputValue);this.determineValidity(e),(e||""===this.inputValue)&&this.setValue(e)},this.open=!1,this.focusedDay=new Date,this.inputValue="",this.theme="",this.expand=!1,this.name="",this.identifier="",this.label="",this.caption=void 0,this.margin="auto",this.language=n(),this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"},this.placeholder=l(this.placeholderDefaults,this.language),this.echoPlaceholder=!1,this.disabled=!1,this.error="",this.labelHidden=!1,this.role=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.required=!1,this.direction="right",this.tooltip="",this.tooltipDirection="auto",this.value="",this.min="",this.max="",this.incrementYears=10,this.validity=void 0,this.accessibleLiveError="polite"}updateValidity(){this.determineValidity(x(this.value))}updateInternalValue(){const t=x(this.value),e=y(this.inputValue);t?S(t,e)||(this.inputValue=w(t,"dd.mm.yyyy")):this.inputValue=""}componentWillLoad(){d(this),this.determineValidity(x(this.value)),this.updateInternalValue(),p(this.element,"tooltip","duet-tooltip",1,!0)}componentDidUpdate(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus(),this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus(),this.focusTarget=null}}connectedCallback(){c(this,{prop:"placeholder",defaults:"placeholderDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.datePickerInput.setFocus(t)}async show(){this.open=!0,this.focusTarget="month-select",this.setFocusedDay(x(this.value)||new Date)}async hide(t=!0){this.open=!1,t&&(this.focusTarget="toggle-button")}addDays(t){this.setFocusedDay(D(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(M(this.focusedDay))}endOfWeek(){this.setFocusedDay(L(this.focusedDay))}setMonth(t){const e=F(I(this.focusedDay),t),a=A(e),i=F(this.focusedDay,t);this.setFocusedDay(j(i,e,a))}setYear(t){const e=C(I(this.focusedDay),t),a=A(e),i=C(this.focusedDay,t);this.setFocusedDay(j(i,e,a))}setFocusedDay(t){this.focusedDay=j(t,x(this.min),x(this.max))}determineValidity(t){var e,a;const i=""!==(null!==(a=null===(e=this.datePickerInput)||void 0===e?void 0:e.value)&&void 0!==a?a:"")&&null==t,o=this.required&&null==t,d=!!t&&!E(t,null,x(this.max)),r=!!t&&!E(t,x(this.min));this.validity={patternMismatch:!1,customError:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:o,badInput:i,rangeUnderflow:r,rangeOverflow:d,valid:!(o||i||r||d)}}setValue(t){const e=function(t){return w(t,"YYYY-MM-DD")}(t);e!==this.value&&(this.value=e,this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:t}))}handleDocumentClick(t){this.open&&t.composedPath().every((t=>t!==this.dialogWrapperNode&&t!==this.datePickerButton))&&this.hide(!1)}render(){const e=x(this.value),a=(e||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),d=this.focusedDay.getFullYear(),r=m[this.language],n=x(this.min),l=x(this.max),c=null!=n&&n.getMonth()===o&&n.getFullYear()===d,u=null!=l&&l.getMonth()===o&&l.getFullYear()===d;let p=a-this.incrementYears,h=a+this.incrementYears;return n&&(p=Math.max(p,n.getFullYear())),l&&(h=Math.min(h,l.getFullYear())),t(i,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},t("div",{class:"duet-date"},t(g,{value:this.value,valueAsDate:e,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:t=>this.datePickerButton=t,inputRef:t=>this.datePickerInput=t,accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,accessibleLiveError:this.accessibleLiveError,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{class:{"duet-theme-turva":"turva"===this.theme,"duet-date-dialog":!0,left:"left"===this.direction,error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("duet-overlay",{visible:this.open,"display-device":"x-small"}),t(s,{moveFocusTo:this.focusedDayNode}),t("div",{class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:t=>this.dialogWrapperNode=t},t("duet-visually-hidden",{"aria-live":"polite"},r.keyboardInstruction),t("div",{class:"duet-date-dialog-mobile-header"},t("duet-label",{margin:"none"},this.label),t("button",{class:"duet-date-picker-close",ref:t=>this.closeButtonNode=t,onClick:()=>this.hide(),type:"button"},t("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",null,r.closeLabel))),t("div",{class:"duet-date-dialog-header"},t("div",{class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",null,t("h2",{id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},r.monthLabels[o]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",null,t("label",{htmlFor:this.monthSelectId},r.monthSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.monthSelectId,class:"duet-date-month-select",ref:t=>this.monthSelectNode=t,onChange:this.handleMonthSelect},r.monthLabels.map(((e,a)=>t("option",{key:e,value:a,selected:a===o,disabled:!E(new Date(d,a,1),n?I(n):null,l?A(l):null)},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,r.monthLabelsShort[o]),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",null,t("label",{htmlFor:this.yearSelectId},r.yearSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},function(t,e){for(var a=[],i=t;i<=e;i++)a.push(i);return a}(p,h).map((e=>t("option",{key:e,selected:e===d},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,this.focusedDay.getFullYear()),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{class:"duet-date-dialog-buttons"},t("duet-action-button",{accessibleLabel:m[this.language].prevMonthLabel,actionName:m[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},r.prevMonthLabel),t("duet-action-button",{accessibleLabel:m[this.language].nextMonthLabel,actionName:m[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:u,"icon-name":"action-arrow-right-small"},r.nextMonthLabel))),t(H,{selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:n,max:l,focusedDayRef:t=>this.focusedDayNode=t,onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(s,{moveFocusTo:this.closeButtonNode})))}get element(){return o(this)}static get watchers(){return{min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}}};B.style='*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-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;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(0, 41, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(207, 210, 212) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(207, 207, 209)}.duet-date-button.sc-duet-date-picker::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-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 245, 247) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(228, 228, 230)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(0, 41, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(230, 242, 248) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(249, 230, 234) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 77, 128) !important;background:rgb(243, 249, 252) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(148, 9, 37) !important;background:rgb(252, 243, 244) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(144, 149, 153) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(116, 116, 117) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(144, 149, 153) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(116, 116, 117);background:rgb(245, 245, 247);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(207, 210, 212)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(207, 207, 209)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(0, 41, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}';export{B as duet_date_picker}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as i}from"./p-cf7e866c.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a1b7f2a0.js";import{a as n,c as d,d as c,g as b}from"./p-b70eca12.js";import"./p-0e052642.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"18c37fc7d84fbfe09c1eb285e16388ec70e9a307",role:"listitem"},a("div",{key:"efc47db8c7eb8f922c361ac9399196a7af3be21d",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"108f30568f7f84babd579658721f1c0448288ebc",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),a("a",{key:"b03774c0f0d44955355121d6e235882edda6838c",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"085844d9dce555398be1e6889151600d54eb65f7",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"0746ad63079cbce6f54f7be5b2679a786d711ee0",size:"x-small",direction:"horizontal"})],a("slot",{key:"d0f45ff3fa075427e14b90ef6eb06ebc1c03ddc7"}))))}get element(){return i(this)}};l.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
4
+ import{r as e,h as a,H as t,g as i}from"./p-18ada958.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a1b7f2a0.js";import{a as n,c as d,d as c,g as b}from"./p-7d6b40d1.js";import"./p-0e052642.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"18c37fc7d84fbfe09c1eb285e16388ec70e9a307",role:"listitem"},a("div",{key:"efc47db8c7eb8f922c361ac9399196a7af3be21d",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"108f30568f7f84babd579658721f1c0448288ebc",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),a("a",{key:"b03774c0f0d44955355121d6e235882edda6838c",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"085844d9dce555398be1e6889151600d54eb65f7",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"0746ad63079cbce6f54f7be5b2679a786d711ee0",size:"x-small",direction:"horizontal"})],a("slot",{key:"d0f45ff3fa075427e14b90ef6eb06ebc1c03ddc7"}))))}get element(){return i(this)}};l.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-84497c0b.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,a,i,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){o=e.i}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host([sticky]){position:relative;z-index:300}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}.sticky{position:sticky;top:0}@media (min-width: 62em){.sticky{position:relative;top:unset}}";var r=s;var d=e("duet_nav",function(){function e(e){t(this,e);this.theme="";this.sticky=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return n(a,{key:"a92a1ddaae09ce96b5e5d11f75b90e890e405494"},n("div",{key:"5ff997d4da49fc082af18866b7e19ded4d64566c",class:{container:true,sticky:this.sticky}},n("slot",{key:"e18cbf0c99d69c3457eda1ff7f291161f10547d4"}),n("slot",{key:"70b3b0456c5e4e3307b12ad9a44f87c4861b98a5",name:"mobile"}),n("slot",{key:"2ad5781a32b89b6857505c0bb6bfba2c95422dbe",name:"desktop"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());d.style=r}}}));
4
+ System.register(["./p-b9d4ed8d.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,n,a,i,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){o=e.i}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host([sticky]){position:relative;z-index:300}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}.sticky{position:sticky;top:0}@media (min-width: 62em){.sticky{position:relative;top:unset}}";var r=s;var d=e("duet_nav",function(){function e(e){t(this,e);this.theme="";this.sticky=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return n(a,{key:"a92a1ddaae09ce96b5e5d11f75b90e890e405494"},n("div",{key:"5ff997d4da49fc082af18866b7e19ded4d64566c",class:{container:true,sticky:this.sticky}},n("slot",{key:"e18cbf0c99d69c3457eda1ff7f291161f10547d4"}),n("slot",{key:"70b3b0456c5e4e3307b12ad9a44f87c4861b98a5",name:"mobile"}),n("slot",{key:"2ad5781a32b89b6857505c0bb6bfba2c95422dbe",name:"desktop"})))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());d.style=r}}}));