@duetds/components 5.3.4 → 5.4.1

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 (266) hide show
  1. package/hydrate/index.js +82 -51
  2. package/lib/cjs/duet-action-button.cjs.entry.js +24 -6
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-editable-table_3.cjs.entry.js +14 -14
  18. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-hero.cjs.entry.js +4 -3
  24. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-input_2.cjs.entry.js +21 -4
  26. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  44. package/lib/cjs/duet.cjs.js +2 -2
  45. package/lib/cjs/{focus-utils-1e064c1a.js → focus-utils-61a69e27.js} +1 -1
  46. package/lib/cjs/{index-b08d523c.js → index-e68830a0.js} +1 -1
  47. package/lib/cjs/loader.cjs.js +2 -2
  48. package/lib/cjs/{token-utils-50a1f7e2.js → token-utils-fef5b4eb.js} +1 -0
  49. package/lib/collection/components/duet-action-button/duet-action-button.js +47 -11
  50. package/lib/collection/components/duet-choice-group/duet-choice-group.js +7 -1
  51. package/lib/collection/components/duet-collapsible/duet-collapsible.js +1 -1
  52. package/lib/collection/components/duet-header/duet-header.css +14 -0
  53. package/lib/collection/components/duet-hero/duet-hero.js +13 -5
  54. package/lib/collection/components/duet-input/duet-input.js +21 -3
  55. package/lib/collection/components/duet-pagination/duet-pagination.js +6 -0
  56. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +4 -0
  57. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  58. package/lib/collection/components/duet-upload/upload-validators.js +1 -1
  59. package/lib/collection/utils/token-utils.js +1 -1
  60. package/lib/custom-elements-bundle/index.js +63 -28
  61. package/lib/duet/duet.esm.js +1 -1
  62. package/lib/duet/duet.js +1 -1
  63. package/lib/duet/{p-5b53cbe4.entry.js → p-00e1e70f.entry.js} +1 -1
  64. package/lib/duet/{p-01e956be.system.entry.js → p-0230f7c1.system.entry.js} +1 -1
  65. package/lib/duet/{p-283e7edf.entry.js → p-025d4390.entry.js} +1 -1
  66. package/lib/duet/{p-cbe17092.system.entry.js → p-0ba86e25.system.entry.js} +1 -1
  67. package/lib/duet/{p-1a9c5935.system.entry.js → p-0d100aa6.system.entry.js} +1 -1
  68. package/lib/duet/{p-e143250f.system.entry.js → p-0fe5d208.system.entry.js} +1 -1
  69. package/lib/duet/{p-52fafe76.system.entry.js → p-111d9c07.system.entry.js} +1 -1
  70. package/lib/duet/{p-9dfe4fb2.system.entry.js → p-11cab757.system.entry.js} +1 -1
  71. package/lib/duet/{p-8eb83c70.system.entry.js → p-138dc194.system.entry.js} +1 -1
  72. package/lib/duet/{p-fb0ba613.entry.js → p-13f46ee7.entry.js} +1 -1
  73. package/lib/duet/{p-52b2e660.entry.js → p-16952e4c.entry.js} +1 -1
  74. package/lib/duet/{p-c00a8662.entry.js → p-18d48e33.entry.js} +1 -1
  75. package/lib/duet/{p-b07cff09.system.entry.js → p-19ae7dfc.system.entry.js} +1 -1
  76. package/lib/duet/{p-fc6477cb.system.js → p-1b17eaf5.system.js} +1 -1
  77. package/lib/duet/{p-c684be20.entry.js → p-1d6e11db.entry.js} +1 -1
  78. package/lib/duet/{p-d3588478.entry.js → p-1f411205.entry.js} +1 -1
  79. package/lib/duet/{p-1424dd91.system.entry.js → p-1f70eb19.system.entry.js} +1 -1
  80. package/lib/duet/{p-68654401.system.entry.js → p-25b2f6c4.system.entry.js} +1 -1
  81. package/lib/duet/{p-e64f06ad.entry.js → p-27af3967.entry.js} +1 -1
  82. package/lib/duet/{p-5f4c5789.entry.js → p-2c8c61ce.entry.js} +1 -1
  83. package/lib/duet/{p-910e40c6.entry.js → p-2d865c6b.entry.js} +1 -1
  84. package/lib/duet/{p-32e8ace8.system.entry.js → p-30d9f5f4.system.entry.js} +1 -1
  85. package/lib/duet/{p-4cce146f.entry.js → p-3262c779.entry.js} +1 -1
  86. package/lib/duet/{p-acd8c72d.system.entry.js → p-358583f9.system.entry.js} +1 -1
  87. package/lib/duet/{p-930217e1.entry.js → p-36c2321d.entry.js} +1 -1
  88. package/lib/duet/{p-fd56a160.system.entry.js → p-3753f57c.system.entry.js} +1 -1
  89. package/lib/duet/{p-cd7046d0.entry.js → p-38316d12.entry.js} +1 -1
  90. package/lib/duet/{p-0fff5922.js → p-3d7ab631.js} +1 -1
  91. package/lib/duet/{p-168dfa2e.system.entry.js → p-3f60c823.system.entry.js} +1 -1
  92. package/lib/duet/{p-ebc5e48a.system.entry.js → p-46364bc6.system.entry.js} +2 -2
  93. package/lib/duet/{p-996c2570.entry.js → p-4651626c.entry.js} +1 -1
  94. package/lib/duet/{p-96a303e2.system.entry.js → p-49060f77.system.entry.js} +1 -1
  95. package/lib/duet/{p-2c2f15ed.system.entry.js → p-4f12201d.system.entry.js} +1 -1
  96. package/lib/duet/{p-e559b25d.entry.js → p-514d1b2d.entry.js} +1 -1
  97. package/lib/duet/p-5ae9988c.entry.js +4 -0
  98. package/lib/duet/{p-7a35c2ed.system.entry.js → p-5f4253e1.system.entry.js} +1 -1
  99. package/lib/duet/p-6002f3d2.system.js +4 -0
  100. package/lib/duet/{p-4f4e115c.system.entry.js → p-61a46581.system.entry.js} +1 -1
  101. package/lib/duet/{p-b2299d5e.system.entry.js → p-62a74682.system.entry.js} +1 -1
  102. package/lib/duet/{p-8a5a3be9.entry.js → p-634fbfc5.entry.js} +1 -1
  103. package/lib/duet/{p-fa215ef0.entry.js → p-652b1bad.entry.js} +1 -1
  104. package/lib/duet/{p-d1d1d93b.entry.js → p-656c6565.entry.js} +1 -1
  105. package/lib/duet/{p-959a7ad8.entry.js → p-6842301e.entry.js} +1 -1
  106. package/lib/duet/p-6c6bd25f.entry.js +4 -0
  107. package/lib/duet/{p-5d09d62d.system.js → p-6d8b50c4.system.js} +1 -1
  108. package/lib/duet/{p-5a819674.entry.js → p-6daec143.entry.js} +1 -1
  109. package/lib/duet/{p-95415b84.entry.js → p-7169f6c1.entry.js} +1 -1
  110. package/lib/duet/{p-825e7d9d.system.entry.js → p-72428669.system.entry.js} +1 -1
  111. package/lib/duet/{p-f61e1ecd.entry.js → p-76b9d26f.entry.js} +1 -1
  112. package/lib/duet/{p-82ef3411.system.entry.js → p-78ae6f30.system.entry.js} +1 -1
  113. package/lib/duet/{p-76d74ee4.js → p-7b6f2f71.js} +1 -1
  114. package/lib/duet/{p-da116a8f.system.entry.js → p-81365c09.system.entry.js} +1 -1
  115. package/lib/duet/{p-e86b6f2c.system.entry.js → p-86aacc6c.system.entry.js} +1 -1
  116. package/lib/duet/{p-adb0f1e6.system.entry.js → p-895bbb3c.system.entry.js} +1 -1
  117. package/lib/duet/{p-1d1db285.entry.js → p-8d16d52d.entry.js} +1 -1
  118. package/lib/duet/{p-7c3c9370.entry.js → p-8e9bd0bb.entry.js} +1 -1
  119. package/lib/duet/{p-6d5f7b4a.system.entry.js → p-930ef39a.system.entry.js} +1 -1
  120. package/lib/duet/{p-716e2748.entry.js → p-932bf52a.entry.js} +1 -1
  121. package/lib/duet/p-983ce052.system.entry.js +4 -0
  122. package/lib/duet/{p-9aa80a41.system.entry.js → p-985cad9f.system.entry.js} +1 -1
  123. package/lib/duet/{p-316cbc58.entry.js → p-9b558995.entry.js} +1 -1
  124. package/lib/duet/{p-f95a4c07.entry.js → p-9d9c2b86.entry.js} +1 -1
  125. package/lib/duet/{p-3e86dc85.entry.js → p-a290738e.entry.js} +1 -1
  126. package/lib/duet/{p-10618639.system.entry.js → p-a35ad2c1.system.entry.js} +1 -1
  127. package/lib/duet/{p-d371126f.entry.js → p-a90075e7.entry.js} +1 -1
  128. package/lib/duet/{p-faecd6ac.entry.js → p-aa09f585.entry.js} +1 -1
  129. package/lib/duet/{p-81a809f7.system.entry.js → p-aaf68044.system.entry.js} +1 -1
  130. package/lib/duet/{p-493db25c.entry.js → p-ab7ab38c.entry.js} +1 -1
  131. package/lib/duet/{p-df8c26db.entry.js → p-af5ad080.entry.js} +1 -1
  132. package/lib/duet/{p-89da1904.system.entry.js → p-b6959e10.system.entry.js} +1 -1
  133. package/lib/duet/{p-7f10e686.system.entry.js → p-b9955a11.system.entry.js} +1 -1
  134. package/lib/duet/p-ba362a52.entry.js +4 -0
  135. package/lib/duet/{p-5b3543a7.system.entry.js → p-bd6a7d90.system.entry.js} +1 -1
  136. package/lib/duet/{p-3162e948.system.entry.js → p-c12f6508.system.entry.js} +1 -1
  137. package/lib/duet/{p-027d8655.entry.js → p-c6c6518c.entry.js} +1 -1
  138. package/lib/duet/{p-f5d3f655.system.entry.js → p-c8cdb936.system.entry.js} +1 -1
  139. package/lib/duet/{p-4c25d11d.system.entry.js → p-cec93899.system.entry.js} +1 -1
  140. package/lib/duet/{p-c50ce0f6.entry.js → p-cffc34b3.entry.js} +1 -1
  141. package/lib/duet/{p-f543d4f6.system.js → p-d073feef.system.js} +1 -1
  142. package/lib/duet/{p-5669caf1.entry.js → p-d134b0b3.entry.js} +1 -1
  143. package/lib/duet/{p-0f75a34a.entry.js → p-d3443dea.entry.js} +1 -1
  144. package/lib/duet/{p-1b846637.system.entry.js → p-d3d948a3.system.entry.js} +1 -1
  145. package/lib/duet/p-d828722e.entry.js +4 -0
  146. package/lib/duet/p-de3c0f4d.js +4 -0
  147. package/lib/duet/{p-2a7a9d9d.entry.js → p-e2f2be10.entry.js} +1 -1
  148. package/lib/duet/p-e89aeabf.system.entry.js +4 -0
  149. package/lib/duet/{p-08e4ce01.system.entry.js → p-ea1e9c21.system.entry.js} +1 -1
  150. package/lib/duet/{p-8a07cadd.system.entry.js → p-f1ed2527.system.entry.js} +1 -1
  151. package/lib/duet/p-fc4fd026.system.entry.js +4 -0
  152. package/lib/duet/{p-d3fafe31.system.entry.js → p-fcecdd10.system.entry.js} +1 -1
  153. package/lib/duet/{p-da82238c.entry.js → p-fe47e5d0.entry.js} +1 -1
  154. package/lib/esm/duet-action-button.entry.js +24 -6
  155. package/lib/esm/duet-alert.entry.js +1 -1
  156. package/lib/esm/duet-badge.entry.js +1 -1
  157. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  158. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  159. package/lib/esm/duet-button_2.entry.js +2 -2
  160. package/lib/esm/duet-caption_4.entry.js +2 -2
  161. package/lib/esm/duet-card.entry.js +2 -2
  162. package/lib/esm/duet-checkbox.entry.js +1 -1
  163. package/lib/esm/duet-choice_2.entry.js +2 -2
  164. package/lib/esm/duet-collapsible.entry.js +2 -2
  165. package/lib/esm/duet-combobox.entry.js +1 -1
  166. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  167. package/lib/esm/duet-date-picker.entry.js +2 -2
  168. package/lib/esm/duet-divider_2.entry.js +1 -1
  169. package/lib/esm/duet-editable-table_3.entry.js +14 -14
  170. package/lib/esm/duet-empty-state.entry.js +1 -1
  171. package/lib/esm/duet-fieldset.entry.js +1 -1
  172. package/lib/esm/duet-footer.entry.js +1 -1
  173. package/lib/esm/duet-grid_2.entry.js +1 -1
  174. package/lib/esm/duet-header_2.entry.js +2 -2
  175. package/lib/esm/duet-hero.entry.js +4 -3
  176. package/lib/esm/duet-icon.entry.js +2 -2
  177. package/lib/esm/duet-input_2.entry.js +21 -4
  178. package/lib/esm/duet-layout.entry.js +1 -1
  179. package/lib/esm/duet-list_2.entry.js +1 -1
  180. package/lib/esm/duet-modal.entry.js +2 -2
  181. package/lib/esm/duet-notification_2.entry.js +1 -1
  182. package/lib/esm/duet-number-input.entry.js +1 -1
  183. package/lib/esm/duet-pagination_2.entry.js +1 -1
  184. package/lib/esm/duet-progress.entry.js +1 -1
  185. package/lib/esm/duet-radio_2.entry.js +1 -1
  186. package/lib/esm/duet-range-slider.entry.js +1 -1
  187. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  188. package/lib/esm/duet-select.entry.js +1 -1
  189. package/lib/esm/duet-step_2.entry.js +1 -1
  190. package/lib/esm/duet-textarea.entry.js +1 -1
  191. package/lib/esm/duet-toggle.entry.js +1 -1
  192. package/lib/esm/duet-tooltip.entry.js +1 -1
  193. package/lib/esm/duet-tray.entry.js +1 -1
  194. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  195. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  196. package/lib/esm/duet.js +2 -2
  197. package/lib/esm/{focus-utils-c10fe816.js → focus-utils-f28f7d53.js} +1 -1
  198. package/lib/esm/{index-45038eda.js → index-1e42fd5c.js} +1 -1
  199. package/lib/esm/loader.js +2 -2
  200. package/lib/esm/{token-utils-1f9435bc.js → token-utils-df78f4d8.js} +1 -1
  201. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  202. package/lib/esm-es5/duet-alert.entry.js +1 -1
  203. package/lib/esm-es5/duet-badge.entry.js +1 -1
  204. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  205. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  206. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  207. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  208. package/lib/esm-es5/duet-card.entry.js +1 -1
  209. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  210. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  211. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  212. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  213. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  214. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  215. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  216. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  217. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  218. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  219. package/lib/esm-es5/duet-footer.entry.js +1 -1
  220. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  221. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  222. package/lib/esm-es5/duet-hero.entry.js +1 -1
  223. package/lib/esm-es5/duet-icon.entry.js +1 -1
  224. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  225. package/lib/esm-es5/duet-layout.entry.js +1 -1
  226. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  227. package/lib/esm-es5/duet-modal.entry.js +1 -1
  228. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  229. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  230. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  231. package/lib/esm-es5/duet-progress.entry.js +1 -1
  232. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  233. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  234. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  235. package/lib/esm-es5/duet-select.entry.js +1 -1
  236. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  237. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  238. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  239. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  240. package/lib/esm-es5/duet-tray.entry.js +1 -1
  241. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  242. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  243. package/lib/esm-es5/duet.js +1 -1
  244. package/lib/esm-es5/{focus-utils-c10fe816.js → focus-utils-f28f7d53.js} +1 -1
  245. package/lib/esm-es5/{index-45038eda.js → index-1e42fd5c.js} +1 -1
  246. package/lib/esm-es5/loader.js +1 -1
  247. package/lib/esm-es5/token-utils-df78f4d8.js +4 -0
  248. package/lib/types/components/duet-action-button/duet-action-button.d.ts +15 -7
  249. package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
  250. package/lib/types/components/duet-input/duet-input.d.ts +2 -1
  251. package/lib/types/components/duet-pagination/duet-pagination.d.ts +6 -0
  252. package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +4 -0
  253. package/lib/types/components/duet-upload/duet-upload.d.ts +1 -2
  254. package/lib/types/components.d.ts +15 -7
  255. package/lib/types/utils/token-utils.d.ts +1 -0
  256. package/package.json +5 -5
  257. package/lib/duet/p-10103b60.system.entry.js +0 -4
  258. package/lib/duet/p-229cda36.system.entry.js +0 -4
  259. package/lib/duet/p-26a66f14.entry.js +0 -4
  260. package/lib/duet/p-4ac5dc48.entry.js +0 -4
  261. package/lib/duet/p-5e67150f.system.entry.js +0 -4
  262. package/lib/duet/p-6190e2d6.system.js +0 -4
  263. package/lib/duet/p-760633b3.entry.js +0 -4
  264. package/lib/duet/p-9cca0bb4.js +0 -4
  265. package/lib/duet/p-a27e1bba.entry.js +0 -4
  266. package/lib/esm-es5/token-utils-1f9435bc.js +0 -4
@@ -6,7 +6,7 @@ export declare type DuetInputEvent = {
6
6
  value: string;
7
7
  component: "duet-input";
8
8
  };
9
- export declare type DuetInputType = "text" | "email" | "password" | "search" | "tel";
9
+ export declare type DuetInputType = "text" | "email" | "password" | "search" | "tel" | "time";
10
10
  export declare type DuetInputComponentType = "input" | "number" | "date";
11
11
  export declare type DuetVariationType = "default" | "button";
12
12
  export declare class DuetInput implements ThemeableComponent, InputComponent, A11yComponent {
@@ -24,6 +24,7 @@ export declare class DuetInput implements ThemeableComponent, InputComponent, A1
24
24
  private timeoutId;
25
25
  private disallowPatternRegex;
26
26
  private clearLabel;
27
+ private timeAnnouncement;
27
28
  /**
28
29
  * Reference to host HTML element.
29
30
  */
@@ -12,6 +12,12 @@ export declare type DuetPaginationPageEvent = {
12
12
  type: "page" | "jump";
13
13
  };
14
14
  export declare type DuetPaginationVariation = "default" | "compact";
15
+ /**
16
+ * @part navigation-arrow - this part enables style overrides for the navigation-arrow
17
+ * @part navigation-jump - this part enables style overrides for the navigation-jump
18
+ * @part navigation-overlay - this part enables style overrides for the navigation-overlay
19
+ * @part navigation-section - this part enables style overrides for the navigation-section
20
+ */
15
21
  export declare class DuetPagination implements ThemeableComponent, A11yComponent {
16
22
  private listId;
17
23
  private nativeNav;
@@ -9,6 +9,10 @@ export declare type DuetRangeStepperUpdateEvent = {
9
9
  to: number;
10
10
  index: number;
11
11
  };
12
+ /**
13
+ * @part navigation-arrow - this part enables style overrides for the navigation-arrow
14
+ * @part range-numbers - this part enables style overrides for the range-numbers
15
+ */
12
16
  export declare class DuetRangeStepper implements ThemeableComponent {
13
17
  private leftBn;
14
18
  private rightBn;
@@ -1,7 +1,6 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { FormComponent, ThemeableComponent } from "../../common";
2
3
  import { DuetMargin, DuetTheme } from "../../common-types";
3
- import { FormComponent } from "../../common/form-components";
4
- import { ThemeableComponent } from "../../common/themeable-component";
5
4
  import { DuetLangObject } from "../../utils/language-utils";
6
5
  import { DuetEditableTableActions } from "../duet-editable-table/duet-editable-table";
7
6
  import { StatusMessage } from "../duet-upload-aria-status/duet-upload-aria-status";
@@ -79,13 +79,17 @@ export namespace Components {
79
79
  */
80
80
  "accessibleLabelledBy": string;
81
81
  /**
82
- * Default pagination labels
82
+ * Default accessible labels
83
83
  */
84
84
  "accessibleLabels": Record<string, string>;
85
85
  /**
86
- * Default pagination labels
86
+ * Default accessible labels
87
87
  */
88
88
  "accessibleLabelsDefaults": DuetLangObject;
89
+ /**
90
+ * Title of the action button (shows as DOM tooltip when hovering) if set to true, this will try to add a best-guess title based on action-name if set to a string the string is used if set to false nothing is set
91
+ */
92
+ "accessibleTitle": string | boolean;
89
93
  /**
90
94
  * Name of id of action that was called being called
91
95
  */
@@ -1288,7 +1292,7 @@ export namespace Components {
1288
1292
  */
1289
1293
  "description": string;
1290
1294
  /**
1291
- * The heading of the hero area, rendered in an H1 tag. P.S. you can control the level of the HTML heading by using “level” prop. If empty, heading will be hidden.
1295
+ * @deprecated please use heading slot instead. The heading of the hero area, rendered in an H1 tag. P.S. you can control the level of the HTML heading by using “level” prop. If empty, heading will be hidden.
1292
1296
  */
1293
1297
  "heading": string;
1294
1298
  /**
@@ -3821,13 +3825,17 @@ declare namespace LocalJSX {
3821
3825
  */
3822
3826
  "accessibleLabelledBy"?: string;
3823
3827
  /**
3824
- * Default pagination labels
3828
+ * Default accessible labels
3825
3829
  */
3826
3830
  "accessibleLabels"?: Record<string, string>;
3827
3831
  /**
3828
- * Default pagination labels
3832
+ * Default accessible labels
3829
3833
  */
3830
3834
  "accessibleLabelsDefaults"?: DuetLangObject;
3835
+ /**
3836
+ * Title of the action button (shows as DOM tooltip when hovering) if set to true, this will try to add a best-guess title based on action-name if set to a string the string is used if set to false nothing is set
3837
+ */
3838
+ "accessibleTitle"?: string | boolean;
3831
3839
  /**
3832
3840
  * Name of id of action that was called being called
3833
3841
  */
@@ -3865,7 +3873,7 @@ declare namespace LocalJSX {
3865
3873
  */
3866
3874
  "iconSize"?: DuetActionButtonIconSize;
3867
3875
  /**
3868
- * Emitted a page selection has been made
3876
+ * Emitted when an action has been invoked
3869
3877
  */
3870
3878
  "onDuetActionEvent"?: (event: DuetActionButtonCustomEvent<DuetActionButtonEvent>) => void;
3871
3879
  /**
@@ -5124,7 +5132,7 @@ declare namespace LocalJSX {
5124
5132
  */
5125
5133
  "description"?: string;
5126
5134
  /**
5127
- * The heading of the hero area, rendered in an H1 tag. P.S. you can control the level of the HTML heading by using “level” prop. If empty, heading will be hidden.
5135
+ * @deprecated please use heading slot instead. The heading of the hero area, rendered in an H1 tag. P.S. you can control the level of the HTML heading by using “level” prop. If empty, heading will be hidden.
5128
5136
  */
5129
5137
  "heading"?: string;
5130
5138
  /**
@@ -4,6 +4,7 @@ export declare function isDashCase(str: any): boolean;
4
4
  export declare function capitalize(str?: string): string;
5
5
  export declare function camelize(str?: string): string;
6
6
  export declare function getTheme(theme?: DuetTheme): DuetTheme;
7
+ export declare function capitalizeFirstLetter(string: any): any;
7
8
  export declare function getColorByName(name: string, theme?: DuetTheme): string | undefined;
8
9
  export declare function convertToColorName(name?: string, theme?: DuetTheme): string;
9
10
  export declare function getFontSizeByName(name: string): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "5.3.4",
3
+ "version": "5.4.1",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -50,11 +50,11 @@
50
50
  "body-scroll-lock": "3.1.5"
51
51
  },
52
52
  "devDependencies": {
53
- "@duetds/fonts": "1.4.40",
54
- "@duetds/icons": "2.4.0",
53
+ "@duetds/fonts": "1.4.43",
54
+ "@duetds/icons": "2.5.1",
55
55
  "@duetds/stencil-angular-output-target": "0.0.2",
56
56
  "@duetds/stencil-react-output-target": "0.0.10",
57
- "@duetds/tokens": "2.5.23",
57
+ "@duetds/tokens": "2.6.1",
58
58
  "@koa/cors": "3.3.0",
59
59
  "@rollup/plugin-replace": "3.1.0",
60
60
  "@stencil/core": "2.16.0",
@@ -85,5 +85,5 @@
85
85
  "collection": "lib/collection/collection-manifest.json",
86
86
  "es2015": "lib/esm/index.js",
87
87
  "es2017": "lib/esm/index.js",
88
- "gitHead": "6d8f538881d35941a44d824a0178c0b3cb533654"
88
+ "gitHead": "7c3fc11eedc5fcb9f690fa8ab6cd70a4651f304c"
89
89
  }
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{r(o.next(e))}catch(t){a(t)}}function s(e){try{r(o["throw"](e))}catch(t){a(t)}}function r(e){e.done?n(e.value):i(e.value).then(l,s)}r((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return r([e,t])}}function r(l){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(a=l[0]&2?i["return"]:l[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;if(i=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;i=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1];a=l;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(l);break}if(a[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(s){l=[6,s];i=0}finally{o=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-fc6477cb.system.js","./p-0c4bbd65.system.js","./p-a93a04b9.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-a63f753e.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,n,o,i,a,l,s,r,c,u,d,p;return{setters:[function(e){t=e.r;n=e.c;o=e.h;i=e.H;a=e.g},function(e){l=e.a},function(e){s=e.f;r=e.t},function(e){c=e.i},function(e){u=e.c},function(e){d=e.i},function(e){p=e.s}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}:host([open]) .duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-collapsible-heading .duet-collapsible-heading-content{flex:1}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}';var m=e("duet_collapsible",function(){function e(e){var o=this;t(this,e);this.duetToggle=n(this,"duetToggle",7);this.id=u("DuetCollapsible");this.theme="";this.heading="";this.headingWeight="semibold";this.headingSize=undefined;this.headingLevel=undefined;this.margin="auto";this.open=false;this.handleKeyDown=function(e){if(d(e)){o.handleClick(e)}};this.getFontSizeFromTokens=function(e){if(e===void 0){e=o.headingSize}if(!e){return s}else{var t=/-/g;var n=e.replace(t,"_");return r["font_size_".concat(n)]}};this.getEquivalentIconSize=function(e){if(e===void 0){e=o.headingSize}switch(e){case"x-small":return"xx-small";case"small":return"xx-small";case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}};this.handleClick=function(e){e.preventDefault();o.open=!o.open;o.duetToggle.emit({component:"duet-collapsible",originalEvent:e})}}e.prototype.componentWillLoad=function(){c(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.element.classList.add("user-is-tabbing");this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.headingLevel?p(this.headingLevel):"div";return o(i,{class:{"duet-m-0":this.margin==="none"}},o(t,{class:{"duet-collapsible-heading":true,"duet-theme-turva":this.theme==="turva","duet-collapsible-normal-weight":this.headingWeight==="normal"},style:{"font-size":this.getFontSizeFromTokens()},role:"button",tabindex:"0",ref:function(t){return e.nativeButton=t},"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},o("div",{class:"duet-collapsible-heading-icon"},o("duet-icon",{margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:l.svg})),o("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading)),o("div",{id:this.id,class:{"duet-collapsible-content":true,"duet-theme-turva":this.theme==="turva"},part:"duet-collapsible-content"},o("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());m.style=h}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,d){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,o){function r(e){try{s(d.next(e))}catch(t){o(t)}}function n(e){try{s(d["throw"](e))}catch(t){o(t)}}function s(e){e.done?a(e.value):i(e.value).then(r,n)}s((d=d.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},d,i,o,r;return r={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function n(e){return function(t){return s([e,t])}}function s(r){if(d)throw new TypeError("Generator is already executing.");while(a)try{if(d=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:a.label++;return{value:r[1],done:false};case 5:a.label++;i=r[1];r=[0];continue;case 7:r=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){a=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(r[0]===6&&a.label<o[1]){a.label=o[1];o=r;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(r);break}if(o[2])a.ops.pop();a.trys.pop();continue}r=t.call(e,a)}catch(n){r=[6,n];i=0}finally{d=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var d=0,i=t.length,o;d<i;d++){if(o||!(d in t)){if(!o)o=Array.prototype.slice.call(t,0,d);o[d]=t[d]}}return e.concat(o||Array.prototype.slice.call(t))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-fc6477cb.system.js","./p-8f477bd6.system.js","./p-a93a04b9.system.js","./p-d863e150.system.js","./p-c7ae95bd.system.js","./p-33b3aba4.system.js","./p-a63f753e.system.js","./p-f69b64c9.system.js","./p-b6d51921.system.js","./p-0c4bbd65.system.js","./p-18cc5627.system.js","./p-5f6bd5db.system.js"],(function(e){"use strict";var t,a,d,i,o,r,n,s,l,u,h,c,p,m,g,v,f,b,w,x,k,y,C,S,M,z,L;return{setters:[function(e){t=e.h;a=e.r;d=e.c;i=e.F;o=e.H;r=e.g},function(e){n=e.f},function(e){s=e.m},function(e){l=e.d;u=e.e},function(e){h=e.D},function(e){c=e.i},function(e){p=e.f;m=e.g;g=e.d;v=e.b;f=e.a;b=e.c},function(e){w=e.a;x=e.g},function(e){k=e.p},function(e){y=e.a},function(e){C=e.e;S=e.f;M=e.c;z=e.g},function(e){L=e.c}],execute:function(){var I={title:"navigation-contact-dropdown",tags:"navigation contact dropdown speech bubbles",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M20.247 24a.743.743 0 0 1-.53-.22l-4.28-4.28h-.439c-3.308 0-6-2.692-6-6s2.692-6 6-6h3c3.309.001 6 2.692 6 6a5.974 5.974 0 0 1-3 5.179v4.571a.75.75 0 0 1-.751.75zm-5.25-15c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5h.75c.198 0 .391.08.53.22l3.22 3.22v-3.213c0-.289.169-.555.429-.678a4.51 4.51 0 0 0 2.571-4.049 4.504 4.504 0 0 0-4.498-4.499h-3.002z"/><path d="M3.747 16.5a.747.747 0 0 1-.75-.75v-4.57a5.967 5.967 0 0 1-2.65-3.171A5.948 5.948 0 0 1 .57 3.431 6.014 6.014 0 0 1 5.985 0h3.012a6.04 6.04 0 0 1 5.752 4.286.751.751 0 0 1-.718.964.755.755 0 0 1-.719-.536A4.531 4.531 0 0 0 8.997 1.5h-3a4.511 4.511 0 0 0-4.071 2.572c-.512 1.084-.571 2.302-.167 3.431s1.224 2.032 2.308 2.545c.261.123.43.39.43.678v3.214l1.72-1.72a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3 3a.744.744 0 0 1-.53.219z"/></svg>'};var O={title:"navigation-language",tags:"navigation language earth world map",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M11.996 24c-2.732 0-5.309-.901-7.453-2.605l-.017-.012-.031-.025a12.68 12.68 0 0 1-.238-.196c-.071-.06-.142-.122-.213-.184l-.143-.126c-.13-.118-.257-.24-.381-.363l-.018-.018a11.904 11.904 0 0 1-3.445-9.695l.001-.007c.018-.174.041-.348.067-.523l.019-.125c.028-.174.058-.348.093-.521l.003-.013C1.379 4.031 6.321 0 11.996 0c6.617 0 12 5.383 12 12 0 1.083-.148 2.164-.44 3.214l-.009.032a12.172 12.172 0 0 1-.671 1.809s-.072.155-.1.212a11.896 11.896 0 0 1-.189.368A11.987 11.987 0 0 1 11.996 24zm-6.181-3.519a10.388 10.388 0 0 0 6.181 2.019c3.471 0 6.642-1.669 8.611-4.497h-.59a2.244 2.244 0 0 1-2.22-1.879L17.111 12h-.944a2.252 2.252 0 0 1-2.182-2.796l.75-3A2.245 2.245 0 0 1 16.917 4.5h2.416A10.49 10.49 0 0 0 1.934 9h4.391c1.034 0 1.932.701 2.183 1.704l.75 3a2.235 2.235 0 0 1-.592 2.137c-.425.425-.99.659-1.591.659h-.464zm-4.248-9.687-.015.116a9.092 9.092 0 0 0-.053.96l-.002.17c.001.145.005.29.011.435l.006.127c.009.154.02.308.035.461l.005.041c.071.68.209 1.354.411 2.003l.009.028a10.457 10.457 0 0 0 2.537 4.222l.75-3.751A.75.75 0 0 1 5.996 15h1.079a.75.75 0 0 0 .728-.932l-.75-3a.751.751 0 0 0-.729-.568H1.606l-.039.294zM16.917 6a.75.75 0 0 0-.728.568l-.75 3a.752.752 0 0 0 .728.932h1.579c.368 0 .679.264.74.627l.791 4.75a.748.748 0 0 0 .74.626h1.461c.171-.358.321-.727.449-1.1l.021-.062A10.486 10.486 0 0 0 20.598 6z"/></svg>'};var A={title:"navigation-login",tags:"navigation login sign in lock locked key",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.25 24A2.252 2.252 0 0 1 3 21.75v-10.5A2.252 2.252 0 0 1 5.25 9H6V6c0-3.308 2.692-6 6-6s6 2.692 6 6v3h.75A2.252 2.252 0 0 1 21 11.25v10.5A2.252 2.252 0 0 1 18.75 24zm0-13.5a.75.75 0 0 0-.75.75v10.5c0 .414.336.75.75.75h13.5a.75.75 0 0 0 .75-.75v-10.5a.75.75 0 0 0-.75-.75zM16.5 9V6c0-2.481-2.019-4.5-4.5-4.5S7.5 3.519 7.5 6v3z"/><path d="M12 17.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.923-.794A1.126 1.126 0 0 1 12 17.25z"/></svg>'};var E={title:"navigation-logout",tags:"navigation logout sign out lock unlocked key",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M8.25 24A2.252 2.252 0 0 1 6 21.75v-10.5A2.252 2.252 0 0 1 8.25 9h2.25V6c0-2.481-2.019-4.5-4.5-4.5S1.5 3.519 1.5 6v3.75a.75.75 0 0 1-1.5 0V6c0-3.308 2.692-6 6-6s6 2.692 6 6v3h9.75A2.252 2.252 0 0 1 24 11.25v10.5A2.252 2.252 0 0 1 21.75 24zm0-13.5a.75.75 0 0 0-.75.75v10.5c0 .414.336.75.75.75h13.5a.75.75 0 0 0 .75-.75v-10.5a.75.75 0 0 0-.75-.75z"/><path d="M15 17.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.923-.794A1.126 1.126 0 0 1 15 17.25z"/></svg>'};var _={title:"navigation-user",tags:"navigation user human person head circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 15.75c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6-2.692 6-6 6zm0-10.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/><path d="M12 24c-2.677 0-5.211-.868-7.332-2.51a.507.507 0 0 1-.126-.099C1.655 19.094 0 15.674 0 12 0 5.383 5.383 0 12 0s12 5.383 12 12c0 3.674-1.655 7.094-4.543 9.391l-.015.016c-.043.043-.087.069-.112.084A11.868 11.868 0 0 1 12 24zm-5.716-3.199A10.408 10.408 0 0 0 12 22.5a10.41 10.41 0 0 0 5.717-1.699 8.966 8.966 0 0 0-5.716-2.045 8.965 8.965 0 0 0-5.717 2.045zM12 1.5C6.21 1.5 1.5 6.21 1.5 12c0 3.023 1.294 5.875 3.562 7.874A10.449 10.449 0 0 1 12 17.257c2.573 0 5.023.927 6.938 2.616 2.268-2 3.562-4.851 3.562-7.874C22.5 6.21 17.79 1.5 12 1.5z"/></svg>'};var B=function(e,a){var d=e.iconSize?e.iconSize:"x-small";return t("span",{class:"duet-header-icon"},t("duet-icon",{margin:"none",size:d,icon:e.icon,color:"currentColor"}))};var V=function(e,a){var d,i,o;var r=e.accessibleText?e.accessibleText:e.label;return t("div",{class:(d={},d["duet-header-dropdown"]=true,d[e.className]=!!e.className,d)},t("button",{ref:e.toggleRef,"aria-haspopup":"listbox","aria-controls":e.id,"aria-expanded":e.isOpen?"true":"false","aria-labelledby":"".concat(e.id,"-accessible-label"),id:"".concat(e.id,"-button"),type:"button",class:(i={},i[e.id]=true,i["duet-header-dropdown-toggle"]=true,i["duet-header-button"]=true,i.active=e.active,i.open=e.isOpen,i),onClick:e.onToggle},e.icon&&t(B,{icon:e.icon}),t("span",{"aria-hidden":"true",id:"".concat(e.id,"-label"),class:"duet-header-dropdown-label"},e.label),e.badge&&t("div",{class:"duet-header-badge"}),t("div",{class:"duet-header-caret","aria-hidden":"true"},t("duet-icon",{margin:"none",size:"auto",icon:y.svg,color:"currentColor"})),t("duet-visually-hidden",{id:"".concat(e.id,"-accessible-label")},r)),t("div",{ref:e.itemsRef,tabindex:"-1",role:"menu",id:e.id,"aria-labelledby":"".concat(e.id,"-button"),class:(o={"duet-header-dropdown-content":true},o["".concat(e.id,"-items")]=true,o.active=e.isOpen,o)},a))};var U=function(){return t("div",{class:"duet-header-hamburger"},t("span",{class:"duet-header-bar"}),t("span",{class:"duet-header-bar"}),t("span",{class:"duet-header-bar"}),t("span",{class:"duet-header-bar"}))};var j='*,*::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%}@supports (position: -webkit-sticky){:host{position:-webkit-sticky;top:-4rem;z-index:400}}@supports (position: sticky){:host{position:sticky;top:-4rem;z-index:400}}@supports (position: -webkit-sticky){:host(.duet-header-multi-level-desktop-variation){top:0}}@supports (position: sticky){:host(.duet-header-multi-level-desktop-variation){top:0}}.duet-header-reserved-space{height:4rem}@media (min-width: 62em){.duet-header-reserved-space.duet-with-links{height:7rem}}.duet-header{-webkit-user-select:none;user-select:none;position:fixed;top:0;left:0;z-index:400;display:block;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:0.875rem;font-weight:400;line-height:1.5;color:#00294d;text-align:left}.duet-header.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}@media (min-width: 62em){.duet-header.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}}@media (min-width: 62em){.duet-header{position:absolute;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}.duet-header.duet-header-inactive{position:fixed}}.duet-header *{-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.duet-header-top{position:relative;z-index:200;display:flex;flex-direction:row;align-items:center;width:100%;height:4rem;padding:0 16px;background:white;border-bottom:1px solid #e1e3e6;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-header-top{z-index:100;padding:0 28px;box-shadow:none}.duet-header-top duet-logo{padding-right:4px}}@media (min-width: 106.25em){.duet-header-top{padding:0 48px}}.duet-theme-turva .duet-header-top{border-color:#e4e4e6;box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}@media (min-width: 62em){.duet-theme-turva .duet-header-top{box-shadow:none}}.duet-theme-turva .duet-header-top duet-logo{left:-80px !important;margin-top:-8px !important}.duet-header-top .duet-header-region{max-width:200px;padding-left:16px;margin-top:1px;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:1px solid #cfd2d4}.duet-theme-turva .duet-header-top .duet-header-region{border-color:#cfcfd1}@media (max-width: 35.9375em){.duet-header-top .duet-header-region{display:none}}@media (min-width: 62em){.duet-header-top .duet-header-region{padding-left:19px}}.duet-header-bottom{position:fixed;top:4rem;bottom:0;left:0;z-index:100;display:flex;flex-direction:column;width:100%;overflow-y:auto;visibility:hidden;background:#f3f9fc;opacity:0;-webkit-overflow-scrolling:touch}.duet-theme-turva .duet-header-bottom{background:#f5f5f7}@media (min-width: 62em){.duet-header-bottom{position:relative;top:auto;bottom:auto;z-index:200;flex-direction:row;overflow:visible;visibility:visible;background:white;opacity:1}.duet-header-bottom.duet-header-inactive{position:relative}}.duet-header-bottom.active{visibility:visible;opacity:1;transition:opacity 300ms ease, visibility 300ms ease}@media (min-width: 62em){.duet-header-bottom{position:relative;transition:none !important}}.duet-header-items,.duet-header-bottom-utils,.duet-header-utils{opacity:0;transition:transform 600ms ease, opacity 600ms ease;transform:translateY(-28px)}@media (min-width: 62em){.duet-header-items,.duet-header-bottom-utils,.duet-header-utils{opacity:1;transition:none !important;transform:none}}.active .duet-header-items,.active .duet-header-bottom-utils,.active .duet-header-utils{opacity:1;transform:translateY(0)}.duet-header-items{position:relative;z-index:300;display:block;width:100%;font-size:1rem;font-weight:400;line-height:1.5;background:white}@media (min-width: 62em){.duet-header-items{z-index:100;display:flex;flex-direction:row;padding:0 21.5384615385px}}@media (min-width: 106.25em){.duet-header-items{padding-left:43.6363636364px}}.duet-header-items .duet-header-item-container{border-bottom:1px solid #e1e3e6;border-radius:0}@media (min-width: 62em){.duet-header-items .duet-header-item-container{border:0}}.duet-header-items .duet-header-second-level .duet-header-item{padding:0 40px;border:0}.duet-header-items .duet-header-second-level .duet-header-button{border:0}.duet-header-items .duet-header-second-level .duet-header-dropdown-content{padding:0;border:0}.duet-header-items .duet-header-third-level .duet-header-item{padding:0 75px}.duet-header-items .duet-header-item{position:relative;display:flex;align-items:center;width:100%;padding:0 20px;overflow:hidden;font-size:1rem;line-height:48px;color:#00294d;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 62em){.duet-header-items .duet-header-item{font-weight:600;border-radius:4px}}.duet-theme-turva .duet-header-items .duet-header-item{color:#171c3a;border-color:#e1e3e6}.duet-header-items .duet-header-item:hover{color:#004d80}.duet-theme-turva .duet-header-items .duet-header-item:hover{color:#444445}.duet-header-items .duet-header-item:focus{outline:0}:host(.user-is-tabbing) .duet-header-items .duet-header-item:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-items .duet-header-item:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (min-width: 62em){.duet-header-items .duet-header-item{width:auto;max-width:300px;padding:0 12px;overflow:hidden;font-size:0.875rem;text-overflow:ellipsis;border:0}}.duet-header-items .duet-header-item.active{color:#0077b3}.duet-theme-turva .duet-header-items .duet-header-item.active{color:#c60c30}.duet-header-items .duet-header-item.active:hover{color:#0077b3}.duet-theme-turva .duet-header-items .duet-header-item.active:hover{color:#c60c30}.duet-header-items .duet-header-item.active::after{position:absolute;top:0;bottom:0;left:0;width:4px;content:"";background:#0077b3}.duet-theme-turva .duet-header-items .duet-header-item.active::after{background:#c60c30}@media (min-width: 62em){.duet-header-items .duet-header-item.active::after{top:auto;left:12px;width:calc(100% - 24px);height:3px}}.duet-header-toggle{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-right:-8px;margin-left:auto;cursor:pointer;border-radius:4px;-webkit-appearance:none;appearance:none}.duet-header-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-header-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (min-width: 62em){.duet-header-toggle{display:none}}.duet-header-hamburger{position:relative;width:24px;height:24px;margin-top:5px !important;pointer-events:none;transition:0.4s ease-in-out;backface-visibility:hidden}.duet-header-hamburger .duet-header-bar{position:absolute;left:0;display:block;width:100%;height:2px;background:#00294d;border-radius:20rem;opacity:1;transition:0.25s ease-in-out;transform:rotate(0deg) scale(0.98)}.duet-theme-turva .duet-header-hamburger .duet-header-bar{background:#171c3a}.duet-header-hamburger .duet-header-bar:nth-child(1){top:0}.duet-header-hamburger .duet-header-bar:nth-child(2),.duet-header-hamburger .duet-header-bar:nth-child(3){top:7px}.duet-header-hamburger .duet-header-bar:nth-child(4){top:14px}button.active .duet-header-hamburger .duet-header-bar:nth-child(1){top:7px;left:50%;width:0%}button.active .duet-header-hamburger .duet-header-bar:nth-child(2){transform:rotate(45deg)}button.active .duet-header-hamburger .duet-header-bar:nth-child(3){transform:rotate(-45deg)}button.active .duet-header-hamburger .duet-header-bar:nth-child(4){top:7px;left:50%;width:0%}.duet-header-utils{display:flex;flex-direction:column;width:100%}@media (min-width: 62em){.duet-header-utils{position:absolute;top:-4rem;right:0;z-index:999999999;flex-direction:row;align-items:center;justify-content:space-between;width:auto;margin-right:20px}}@media (min-width: 106.25em){.duet-header-utils{margin-right:36px}}@media (min-width: 62em){.duet-header-bottom-utils{position:absolute;top:0;right:0;z-index:999999999;margin-right:20px}}@media (min-width: 106.25em){.duet-header-bottom-utils{margin-right:36px}}button{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-header-button{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-size:1rem;font-weight:400;line-height:48px;color:#00294d;text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-bottom:1px solid #e1e3e6;border-radius:4px;-webkit-appearance:none;appearance:none}.duet-theme-turva .duet-header-button{color:#171c3a;border-color:#e4e4e6}.duet-header-button:hover{color:#004d80}.duet-theme-turva .duet-header-button:hover{color:#940925}.duet-header-button:focus{outline:0}:host(.user-is-tabbing) .duet-header-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-header-button:active{opacity:0.75}@media (min-width: 62em){.duet-header-button{width:auto;max-width:200px;height:4rem;padding:0 16px;font-size:0.875rem;line-height:4rem;border:0}.duet-header-button::before{position:absolute;top:50%;right:0;width:1px;height:20px;content:"";background:#cfd2d4;transform:translateY(-50%)}.duet-theme-turva .duet-header-button::before{background:#cfcfd1}}.duet-header-button.active{color:#0077b3;border-radius:0}.duet-theme-turva .duet-header-button.active{color:#c60c30}.duet-header-button.active:hover{color:#0077b3}.duet-theme-turva .duet-header-button.active:hover{color:#c60c30}@media (min-width: 62em){.duet-header-button.active::after{position:absolute;top:0;bottom:0;left:0;width:3px;content:"";background:#0077b3}.duet-theme-turva .duet-header-button.active::after{color:#c60c30}}.duet-header-utils .duet-header-button.duet-header-logout{align-self:center;justify-content:center;width:auto;height:2.5rem;margin:2.25rem 0;font-weight:600;border:2px solid #00294d;border-radius:20rem}.duet-theme-turva .duet-header-utils .duet-header-button.duet-header-logout{border-color:#171c3a}.duet-header-utils .duet-header-button.duet-header-logout .duet-header-icon{margin-right:0.5rem}.duet-header-utils .duet-header-button.duet-header-logout .duet-header-button-label{font-size:0.875rem}@media (min-width: 62em){.duet-header-utils .duet-header-button.duet-header-logout{height:4rem;margin:0;font-weight:400;border:0}.duet-header-utils .duet-header-button.duet-header-logout .duet-header-icon{margin-right:0.75rem}}.duet-header-no-action{pointer-events:none}.duet-header-user-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 62em){.duet-header-utils>*:last-child::before,.duet-header-utils>*:last-child button::before{display:none}}@media (min-width: 62em){.duet-header-utils>*:last-child .duet-header-dropdown-content{right:0;left:auto}}.duet-header-language{text-transform:uppercase}.duet-header-language.active,.duet-header-language.active:hover,.duet-header-contact.active,.duet-header-contact.active:hover{color:inherit}.duet-theme-turva .duet-header-language.active,.duet-theme-turva .duet-header-language.active:hover,.duet-theme-turva .duet-header-contact.active,.duet-theme-turva .duet-header-contact.active:hover{color:inherit}.duet-header-dropdown .duet-header-language.duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-language.duet-header-dropdown-toggle.active:hover::after,.duet-header-dropdown .duet-header-contact.duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-contact.duet-header-dropdown-toggle.active:hover::after{width:0}@media (min-width: 62em){.duet-header-dropdown .duet-header-language.duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-language.duet-header-dropdown-toggle.active:hover::after,.duet-header-dropdown .duet-header-contact.duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-contact.duet-header-dropdown-toggle.active:hover::after{width:100%}}.duet-header-icon{display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-header-icon{margin-right:8px}}.duet-header-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-header-caret{width:7px;height:7px}}.duet-header-caret duet-icon{width:10px}.duet-header-dropdown-toggle.active .duet-header-caret{transform:translateY(-50%) rotate(180deg)}.duet-header-dropdown-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-header-dropdown-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-dropdown-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-header-dropdown-toggle:active{outline:none}.duet-header-badge{display:inline-block;width:6px;height:6px;margin-top:-1rem;margin-left:5px;vertical-align:top;background:#f7b228;border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-header-badge{background:#faa40f}.active-bar{color:#0077b3}.active-bar::after{position:absolute;top:0;bottom:0;left:0;width:4px;content:"";background:#0077b3}.duet-theme-turva .active-bar::after{background:#c60c30}.duet-header-dropdown{position:relative}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-toggle{z-index:200;padding-right:36px;overflow:hidden;transition:border 300ms ease}}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px !important;content:"";background:#0077b3;transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle::after{background:#c60c30}}.duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover{border-bottom:1px solid #f5f8fa}.duet-header-dropdown .duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover::after{position:absolute;top:0;bottom:0;left:0;width:4px;content:"";background:#0077b3}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active::after,.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active:hover::after{background:#c60c30}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active:hover{border-color:#f5f5f7}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover{color:#004d80;border:0}.duet-header-dropdown .duet-header-dropdown-toggle.active::after,.duet-header-dropdown .duet-header-dropdown-toggle.active:hover::after{position:absolute;top:auto;bottom:0;left:0;width:100%;height:3px;transform:translateY(0)}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active,.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active:hover{color:#940925}}.duet-header-dropdown .duet-header-dropdown-content{display:none;padding-bottom:16px;background:#f3f9fc;border-bottom:1px solid #e1e3e6}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content{background:#f5f5f7;border-color:#e1e3e6}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content{position:absolute;top:100%;left:0;z-index:600;display:block;min-width:150px;padding-top:16px;padding-left:0;visibility:hidden;border:0;border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.85) translateZ(0) translateY(-20px)}.duet-header-dropdown .duet-header-dropdown-content.duet-header-session-items{right:0%;left:auto;min-width:225px}.duet-header-dropdown .duet-header-dropdown-content.duet-header-session-items .duet-header-session-label{padding:0 20px;font-weight:600}}@media (min-width: 64.0625em){.duet-header-dropdown .duet-header-dropdown-content{min-width:170px}.duet-header-dropdown .duet-header-dropdown-content.duet-header-session-items{min-width:225px}}.duet-header-dropdown .duet-header-dropdown-content.active{display:block}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content.active{visibility:visible;opacity:1;transform:translateZ(0) translateY(0)}}.duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item){padding:3px 8px 4px !important;position:relative;display:block;width:100%;padding-right:16px;padding-left:48px !important;overflow:hidden;font-size:0.875rem;font-weight:400;line-height:1.5;color:#00294d;text-align:left;text-decoration:none;white-space:nowrap;cursor:pointer;transition:300ms ease}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item){color:#171c3a}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item){padding-right:20px !important;padding-left:20px !important}}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):hover{background:#e6f2f8}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):hover{background:#e4e4e6}}.duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):focus{outline:0}:host(.user-is-tabbing) .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item).active{padding-right:36px;font-weight:600;vertical-align:baseline}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item).active{font-weight:700}@media (min-width: 62em){.duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item).active{color:white;background:#0077b3}.duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item).active{background:#c60c30}}.duet-header-dropdown .duet-header-dropdown-content .duet-header-link-external{margin-left:4px}.duet-header-back .duet-header-top{flex-direction:row;align-items:center;justify-content:center}.duet-header-back duet-button{position:absolute;top:50%;left:36px;transform:translateY(-50%)}@media (max-width: 35.9375em){.duet-header-back duet-button{left:20px;max-width:40px;padding:0 12px;overflow:hidden}}.duet-header-back .duet-header-toggle{display:none !important}.duet-header-skip{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:#0077b3;text-align:center;text-decoration:none;background:white;border-radius:4px;opacity:0}.duet-header-skip:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-header-skip:focus,.duet-header-skip:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-theme-turva .duet-header-skip{min-width:120px;color:#171c3a}@media (min-width: 106.25em){.duet-header-skip{margin-left:20px}}.duet-header-skip:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.duet-header-multi-level-desktop{height:6rem}.duet-header-multi-level-desktop .duet-header-top{justify-content:space-between;height:6rem}.duet-header-multi-level-desktop .duet-header-button{height:6rem}.duet-header-multi-level-desktop .logo-and-segment{display:flex;flex-basis:0;flex-direction:column;flex-grow:1;padding-top:1rem}.duet-header-multi-level-desktop .logo-and-segment .duet-header-dropdown{z-index:400;margin-left:2rem}.duet-header-multi-level-desktop .logo-and-segment .duet-header-dropdown .duet-header-dropdown-content{background:#f3f9fc}.duet-header-multi-level-desktop .logo-and-segment button{align-items:flex-start;height:2rem;font-weight:600;line-height:1rem}.duet-header-multi-level-desktop .logo-and-segment button::before{display:none}.duet-header-multi-level-desktop .logo-and-segment .duet-header-caret{top:25%}.duet-header-multi-level-desktop-nav{display:flex}.duet-header-multi-level-desktop-nav .duet-header-dropdown{position:static}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle{z-index:400;padding-right:1rem;font-size:1rem;font-weight:600}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active{color:#0077b3}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active:not(.open) .duet-header-caret{transform:translateY(-50%) rotate(0deg)}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content{z-index:399;display:flex;justify-content:center;width:100%;height:4.5rem;padding:0;background:#f3f9fc;border-top:1px solid #e1e3e6;border-bottom:1px solid #e1e3e6;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:none}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;min-width:6rem;height:100%;padding:0 1rem !important;font-weight:600}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:#0077b3;transition:300ms ease;transform:translateY(3px)}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a.active{font-weight:600;color:#0077b3;background:none}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a.active::after{transform:translateY(0)}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a .duet-header-icon{margin:0}.duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content .duet-header-badge{position:absolute;margin-top:-2rem;margin-right:-2.25rem}.duet-header-multi-level-desktop-nav button::before{display:none}.duet-header-multi-level-desktop-nav .duet-header-caret{right:1%}.duet-header-multi-level-desktop-utils{display:flex;flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-header-multi-level-desktop-utils>:last-child::before{display:none}.duet-header-multi-level-desktop-utils>:last-child.duet-header-dropdown .duet-header-button::before{display:none}.duet-header-multi-level-desktop-utils .duet-header-dropdown{z-index:400}.duet-header-multi-level-desktop-utils .duet-header-dropdown .duet-header-dropdown-content{background:#f3f9fc}.duet-header-multi-level-desktop-utils .duet-header-button-label,.duet-header-multi-level-desktop-utils .duet-header-dropdown-label{display:none}@media (min-width: 64.0625em){.duet-header-multi-level-desktop-utils .duet-header-button-label,.duet-header-multi-level-desktop-utils .duet-header-dropdown-label{display:initial}}.duet-header-multi-level-desktop .duet-theme-turva .logo-and-segment .duet-header-dropdown{margin-left:0}.duet-header-multi-level-desktop .duet-theme-turva .logo-and-segment .duet-header-dropdown-toggle{padding-left:0.5rem}.duet-header-multi-level-desktop .duet-theme-turva .logo-and-segment .duet-header-dropdown .duet-header-dropdown-content{background:#f5f5f7}.duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-toggle.active{color:#c60c30}.duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content{background:#f5f5f7;border-color:#e4e4e6}.duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a::after{background:#c60c30}.duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-nav .duet-header-dropdown .duet-header-dropdown-content a.active{color:#c60c30;background:none}.duet-header-multi-level-desktop .duet-theme-turva .duet-header-multi-level-desktop-utils .duet-header-dropdown .duet-header-dropdown-content{background:#f5f5f7}';var R=function(e,t){return{component:"duet-header",data:t,originalEvent:e}};var D=e("duet_header",function(){function e(e){var t=this;a(this,e);this.duetChange=d(this,"duetChange",3);this.duetSessionClick=d(this,"duetSessionClick",7);this.duetSearchClick=d(this,"duetSearchClick",7);this.duetUserClick=d(this,"duetUserClick",7);this.duetLanguageSelect=d(this,"duetLanguageSelect",7);this.duetLogoClick=d(this,"duetLogoClick",7);this.duetBackClick=d(this,"duetBackClick",7);this.duetContactClick=d(this,"duetContactClick",7);this.duetItemClick=d(this,"duetItemClick",7);this.duetSkipClick=d(this,"duetSkipClick",7);this.duetAnalytics=d(this,"duetAnalytics",7);this.duetMobileNavToggle=d(this,"duetMobileNavToggle",7);var i;this.subMenuItemRefs={};this.subMenuButtonRefs={};this.hasLanguageChanged=false;this.mql=[window.matchMedia(s.replace(/'/g,""))];this.boundMqlFunctions=[];this.isContactOpen=false;this.isLanguageOpen=false;this.isSessionOpen=false;this.isSlideOutOpen=false;this.isSegmentOpen=false;this.openMenu=null;this.closedActives=null;this.processedItems=null;this.processedLanguageItems=null;this.processedContactItems=null;this.processedSession=null;this.processedSearch=null;this.processedUser=null;this.processedBack=null;this.renderDesktopNav=(i=this.mql[0])===null||i===void 0?void 0:i.matches;this.theme="";this.language=w();this.accessibleI18nLabelsDefaults={fi:{skipLabel:"Siirry pääsisältöön",changeLanguage:"Vaihda kieltä",activeLanguage:"Suomi valittuna"},sv:{skipLabel:"Gå till huvudinnehåll",changeLanguage:"Ändra Språk",activeLanguage:"Svenska valt"},en:{skipLabel:"Skip to main content",changeLanguage:"Change language",activeLanguage:"English selected"}};this.accessibleI18nLabels=x(this.accessibleI18nLabelsDefaults);this.accessibleLabelExternalDefaults=h;this.accessibleLabelExternal=x(this.accessibleLabelExternalDefaults);this.accessibleLabelDefaults={fi:"Valikko",sv:"Meny",en:"Menu"};this.accessibleLabel=x(this.accessibleLabelDefaults);this.logoHref="/";this.currentHref="/";this.skipToId="";this.region="";this.contact="";this.handleClick=function(e){if(e.data.analyticsId){t.duetAnalytics.emit({component:"duet-header",analyticsId:e.data.analyticsId})}t.duetChange.emit(e);t.closeMenus();t.closeMobileNavigation()};this.handleSessionClick=function(e){var a=R(e,t.processedSession);t.handleClick(a);t.duetSessionClick.emit(a)};this.handleSessionItemClick=function(e,a){var d=R(e,a);t.handleClick(d);t.duetSessionClick.emit(d)};this.handleSearchClick=function(e){var a=R(e,t.processedSearch);t.handleClick(a);t.duetSearchClick.emit(a)};this.handleUserClick=function(e){var a=R(e,t.processedUser);t.handleClick(a);t.duetUserClick.emit(a)};this.handleBackClick=function(e){var a=R(e,t.processedBack);t.handleClick(a);t.duetBackClick.emit(a)};this.handleSkipClick=function(e){var a=t.accessibleI18nLabels.skipLabel;var d=R(e,{href:t.skipToId,label:a});t.handleClick(d);t.duetSkipClick.emit(d)};this.handleLogoClick=function(e){var a=R(e,{href:t.logoHref,label:"logo"});t.handleClick(a);t.duetLogoClick.emit(a)};this.handleArrowKeys=function(e){var t;if(g(e)||v(e)){t=e.target.previousElementSibling}else if(f(e)||b(e)){t=e.target.nextElementSibling}if(t){e.preventDefault();t.focus()}};this.toggleMenu=function(e,a,d,i){var o;e.preventDefault();e.stopPropagation();if(i===true&&!t.openMenu){var r=t.closedActives?__spreadArray([],t.closedActives,true):[];var n=r.findIndex((function(e){return e===d}));if(n>-1){r.splice(n,1);t.closedActives=__spreadArray([],r,true)}else{t.closedActives=__spreadArray(__spreadArray([],r,true),[d],false)}}else{t.openMenu=t.openMenu===d?null:d}if(a==="language"){t.isContactOpen=false;t.isLanguageOpen=!t.isLanguageOpen;t.isSegmentOpen=false;t.isSessionOpen=false;o=t.languageItemsEl}if(a==="session"){t.isContactOpen=false;t.isLanguageOpen=false;t.isSegmentOpen=false;t.isSessionOpen=!t.isSessionOpen;o=t.sessionItemsEl}else if(a==="contact"){t.isLanguageOpen=false;t.isContactOpen=!t.isContactOpen;t.isSegmentOpen=false;t.isSessionOpen=false;o=t.contactItemsEl}else if(a==="mobile"){t.isContactOpen=false;t.isLanguageOpen=false;t.isSegmentOpen=false;t.isSessionOpen=false;o=t.navigationEl;var s=!t.isSlideOutOpen;t.isSlideOutOpen=s;t.duetMobileNavToggle.emit({originalEvent:e,open:s});if(t.isSlideOutOpen){l(t.navigationEl,{reserveScrollBarGap:true})}else{u(t.navigationEl)}}else if(a==="sub"){t.isContactOpen=false;t.isLanguageOpen=false;t.isSegmentOpen=false;t.isSessionOpen=false;o=t.subMenuItemRefs[d]}else if(a==="segment"){t.isContactOpen=false;t.isLanguageOpen=false;t.isSessionOpen=false;t.isSegmentOpen=!t.isSegmentOpen;o=t.segmentItemsEl}if(t.isSlideOutOpen||t.isLanguageOpen||t.isContactOpen||t.isSegmentOpen||t.isSessionOpen||t.openMenu){var h=t.element.querySelector("duet-notification-drawer");if(h){h.close(false)}setTimeout((function(){o.querySelector("a").focus()}),300)}}}e.prototype.componentWillLoad=function(){c(this);this.refresh()};e.prototype.connectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.refresh.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){if(this.navigationEl){u(this.navigationEl)}for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.handleKeyUp=function(e){if(p(e)){this.closeMenus(true);this.closeMobileNavigation()}};e.prototype.handleKeyDown=function(e){if(this.isContactOpen||this.isLanguageOpen||this.isSegmentOpen){var t=this.element.shadowRoot.activeElement;if(m(e)&&t){e.preventDefault();e.stopPropagation();if(this.isContactOpen){this.closeMenus()}else if(this.isLanguageOpen){this.closeMenus(true)}else if(this.isSegmentOpen){this.closeMenus()}else if(this.openMenu){this.closeMenus()}t.click()}}};e.prototype.handleDocumentClick=function(){this.closeMenus();this.closeMobileNavigation()};e.prototype.handleLanguageClick=function(e,t){this.language=t.country;this.hasLanguageChanged=true;var a=R(e,t);this.handleClick(a);this.duetLanguageSelect.emit(a)};e.prototype.handleContactClick=function(e,t){var a=R(e,t);this.handleClick(a);this.duetContactClick.emit(a)};e.prototype.handleItemClick=function(e,t){var a=R(e,t);this.handleClick(a);this.duetItemClick.emit(a)};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.renderDesktopNav!==this.mql[0].matches){this.renderDesktopNav=this.mql[0].matches;this.openMenu=null;if(this.isSlideOutOpen){this.toggleMenu(document.createEvent("UIEvents"),"mobile")}}this.processedItems=k(this.items);this.processedLanguageItems=k(this.languageItems);this.processedContactItems=k(this.contactItems);this.processedSession=k(this.session);this.processedSearch=k(this.search);this.processedUser=k(this.user);this.processedBack=k(this.back);return[2]}))}))};e.prototype.closeMobileNavigation=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.isSlideOutOpen){this.isSlideOutOpen=false;u(this.navigationEl)}return[2]}))}))};e.prototype.closeMenus=function(e){if(e===void 0){e=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isContactOpen||this.isLanguageOpen||this.isSegmentOpen||this.isSessionOpen||this.openMenu){if(this.isContactOpen&&e){this.contactItemsButtonEl.focus({preventScroll:true})}if(this.isLanguageOpen&&e){this.languageItemsButtonEl.focus({preventScroll:true})}if(this.isSegmentOpen&&e){this.segmentItemsButtonEl.focus({preventScroll:true})}if(this.isSessionOpen&&e){this.sessionItemsButtonEl.focus({preventScroll:true})}if(this.openMenu&&e){this.subMenuButtonRefs[this.openMenu].focus({preventScroll:true})}this.isContactOpen=false;this.isLanguageOpen=false;this.isSegmentOpen=false;this.isSessionOpen=false;this.openMenu=null}return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.logoEl.setFocus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var a=this.accessibleI18nLabels,d=a.skipLabel,r=a.changeLanguage,s=a.activeLanguage;var l=this.skipToId?t("a",{href:this.skipToId,class:"duet-header-skip",onClick:this.handleSkipClick},d):null;var u=t("duet-logo",{href:this.logoHref,size:"medium",ref:function(t){return e.logoEl=t},language:this.language,theme:this.theme,onClick:this.handleLogoClick});var h=t("duet-logo",{href:this.logoHref,size:"large",ref:function(t){return e.logoEl=t},language:this.language,theme:this.theme,onClick:this.handleLogoClick});var c=this.contact&&this.processedContactItems?t(V,{id:"duet-header-contact",label:this.contact,icon:I.svg,active:this.isContactOpen,isOpen:this.isContactOpen,badge:false,toggleRef:function(t){return e.contactItemsButtonEl=t},itemsRef:function(t){return e.contactItemsEl=t},onToggle:function(t){return e.toggleMenu(t,"contact")}},this.processedContactItems.map((function(a){return t("a",{role:"menuitem",href:a.href||"#",id:a.id,onClick:function(t){return e.handleContactClick(t,a)},onKeyDown:function(t){return e.handleArrowKeys(t)},target:a.external?"_blank":"_self"},a.label,a.external&&t(i,null,t("duet-visually-hidden",null,", ",e.accessibleLabelExternal),t("span",{class:"duet-header-link-external"},t("duet-icon",{name:"action-new-window-small",size:"xx-small",margin:"none",color:e.theme==="turva"?"primary-turva":"primary"}))))}))):null;var p=this.language&&this.processedLanguageItems?t(V,{id:"duet-header-language",label:this.language,icon:O.svg,accessibleText:"".concat(r).concat(this.hasLanguageChanged?", ".concat(s):""),active:this.isLanguageOpen,isOpen:this.isLanguageOpen,badge:false,toggleRef:function(t){return e.languageItemsButtonEl=t},itemsRef:function(t){return e.languageItemsEl=t},onToggle:function(t){return e.toggleMenu(t,"language")}},this.processedLanguageItems.map((function(a){return t("a",{class:{active:e.language===a.country},"aria-selected":e.language===a.country,role:"menuitem",id:a.id,lang:a.country,href:a.href||"#",onClick:function(t){return e.handleLanguageClick(t,a)},onKeyDown:e.handleArrowKeys},a.label)}))):null;var m=this.processedUser&&this.processedUser.href?t("a",{href:this.processedUser.href||"#",id:this.processedUser.id,class:"duet-header-user duet-header-button",onClick:this.handleUserClick},t(B,{icon:_.svg}),t("span",{class:"duet-header-user-label"},this.processedUser.label)):null;var g=this.processedUser&&!this.processedUser.href?t("span",{id:this.processedUser.id,class:"duet-header-user duet-header-button duet-header-no-action"},t(B,{icon:_.svg}),t("span",{class:"duet-header-user-label"},this.processedUser.label)):null;var v=this.renderDesktopNav?"x-small":"small";var f=this.processedSession?t("a",{href:this.processedSession.href||"#",id:this.processedSession.id,class:"duet-header-logout duet-header-button",onClick:this.handleSessionClick},t(B,{icon:this.processedSession.type==="logout"?E.svg:A.svg,iconSize:v}),t("span",{class:"duet-header-button-label"},this.processedSession.label)):null;var b=this.processedSession&&this.processedSession.sessionItems?t(V,{className:"duet-header-session",id:"duet-header-session",label:this.processedSession.label,icon:this.processedSession.type==="logout"?E.svg:A.svg,active:this.isSessionOpen,isOpen:this.isSessionOpen,badge:false,toggleRef:function(t){return e.sessionItemsButtonEl=t},itemsRef:function(t){return e.sessionItemsEl=t},onToggle:function(t){return e.toggleMenu(t,"session")}},this.processedSession.sessionItems.map((function(a,d){return t(i,null,a.label&&t("span",{class:"duet-header-session-label"},a.label),t("duet-spacer",{size:"small","aria-hidden":"true"}),a.items.map((function(d){return t("a",{role:"menuitem","aria-label":a.label?"".concat(a.label," ").concat(d.label):d.label,id:d.id,href:d.href||"#",onClick:function(t){return e.handleSessionItemClick(t,d)},onKeyDown:e.handleArrowKeys},d.label)})),d!==e.processedSession.sessionItems.length-1&&t(i,null,t("duet-spacer",{size:"x-small","aria-hidden":"true"}),t("duet-divider",{margin:"none","aria-hidden":"true"})))}))):null;var w=this.processedSearch?t("a",{href:this.processedSearch.href||"#",id:this.processedSearch.id,class:"duet-header-search duet-header-button",onClick:this.handleSearchClick},t(B,{icon:n.svg}),t("span",{class:"duet-header-button-label"},this.processedSearch.label)):null;if(this.processedBack){return t(o,{class:"duet-header-back-variation"},t("div",{class:"duet-header-reserved-space"},t("header",{class:{"duet-header":true,"duet-theme-turva":this.theme==="turva","duet-header-back":true,"duet-header-inactive":true},part:"header"},t("div",{class:"duet-header-top"},l,t("duet-button",{url:this.processedBack.href,id:this.processedBack.id,theme:this.theme,variation:"plain",color:this.theme==="turva"?"secondary-turva":"secondary",icon:"navigation-arrow-left",iconSize:"large",onClick:this.handleBackClick},this.processedBack.label),u,t("slot",{name:"logo-utility"})))))}var x=this.processedItems&&this.processedItems.some((function(e){return e.items&&e.items.length>0}));if(this.renderDesktopNav&&x){var k=this.processedItems.find((function(e){return e.active}));var y=this.processedItems&&this.processedItems.some((function(e){return e.items&&e.items.some((function(e){return e.items&&e.items.some((function(e){return e.active===true}))}))}));var C="duet-header-segment";return t(o,{class:"duet-header-multi-level-desktop-variation"},t("div",{class:{"duet-header-multi-level-desktop":true,"duet-header-multi-level-desktop-third-level-is-open":y}},t("header",{class:{"duet-header":true,"duet-theme-turva":this.theme==="turva","duet-header-inactive":!this.processedItems},part:"header"},t("div",{class:"duet-header-top"},l,t("div",{class:"logo-and-segment"},t("div",null,h),this.processedItems&&t(V,{id:C,label:k.label,active:this.isSegmentOpen,isOpen:this.isSegmentOpen,badge:false,toggleRef:function(t){return e.segmentItemsButtonEl=t},itemsRef:function(t){return e.segmentItemsEl=t},onToggle:function(t){return e.toggleMenu(t,"segment")}},this.processedItems.map((function(a){return t("a",{class:{active:k===a},role:"menuitem",href:a.href||"#",id:a.id,onClick:function(t){return e.handleItemClick(t,a)},onKeyDown:function(t){return e.handleArrowKeys(t)},target:a.external?"_blank":"_self"},a.icon&&t("div",{class:"duet-header-icon"},t("duet-icon",{margin:"none",size:"x-small",name:a.icon,color:"currentColor"})),t("span",null,a.label),a.badge&&t("div",{class:"duet-header-badge"}))})))),t("nav",{class:"duet-header-multi-level-desktop-nav"},k.items&&k.items.filter((function(e){return e.items&&e.items.length>0})).map((function(a,d){var i=a.id||"segment-item-".concat(d);return t(V,{id:i,label:a.label,active:!e.openMenu&&a.active===true||e.openMenu===i,isOpen:e.openMenu===i,badge:a.badge,toggleRef:function(t){return e.subMenuButtonRefs[i]=t},itemsRef:function(t){return e.subMenuItemRefs[i]=t},onToggle:function(t){return e.toggleMenu(t,"sub",i)}},a.items&&a.items.map((function(a){return t("a",{class:{active:a.active},role:"menuitem",href:a.href||"#",id:a.id,onClick:function(t){return e.handleItemClick(t,a)},onKeyDown:function(t){return e.handleArrowKeys(t)},target:a.external?"_blank":"_self"},a.icon&&t("div",{class:"duet-header-icon"},t("duet-icon",{margin:"none",size:"medium",name:a.icon,color:"currentColor"})),t("span",null,a.label),a.badge&&t("div",{class:"duet-header-badge"}))})))}))),t("div",{class:"duet-header-multi-level-desktop-utils"},w,p,b!=null?b:f),t("slot",{name:"utility"})))))}var S=this.processedItems&&this.processedItems.some((function(e){return e.items&&e.items.some((function(e){return e.active===true}))}));var M=this.processedItems&&this.processedItems.some((function(e){return e.items&&e.items.some((function(e){return e.items&&e.items.some((function(e){return e.active===true}))}))}));return t(o,{class:{"duet-header-default-variation":true}},t("div",{class:{"duet-header-reserved-space":true,"duet-with-links":!!this.processedItems,"duet-header-second-level-active":S,"duet-header-third-level-active":M}},t("header",{class:{"duet-header":true,"duet-theme-turva":this.theme==="turva","duet-header-inactive":!this.processedItems},part:"header"},t("div",{class:"duet-header-top"},l,u,t("slot",{name:"logo-utility"},this.region&&t("div",{class:"duet-header-region"},this.region)),(this.processedItems||p||c||this.processedSession||this.processedUser)&&t("button",{class:{"duet-header-toggle":true,active:this.isSlideOutOpen},onClick:function(t){return e.toggleMenu(t,"mobile")},type:"button"},t("duet-visually-hidden",null,this.accessibleLabel),t(U,null))),t("div",{ref:function(t){return e.navigationEl=t},class:{"duet-header-bottom":true,active:this.isSlideOutOpen,inactive:!this.processedItems}},t("nav",{class:"duet-header-items",role:"navigation"},this.processedItems&&this.processedItems.map((function(a,d){return t("div",{class:"duet-header-item-container"},t("a",{class:{"duet-header-first-level":true,"duet-header-item":true,active:!x&&e.currentHref===a.href||a.active===true&&!e.openMenu&&e.closedActives&&e.closedActives.length===1||a.active===true&&!e.openMenu&&a.items&&!a.items.some((function(e){return e.active===true}))},href:a.href||"#",id:a.id||"header-item-".concat(d),onClick:function(t){return e.handleItemClick(t,a)}},a.label,a.badge&&t("div",{class:"duet-header-badge"})),a.items&&a.items.filter((function(e){return e.items&&e.items.length>0})).map((function(a,i){var o=a.id||"header-item-".concat(d,"-").concat(i);var r=!e.openMenu&&a.active===true&&!(e.closedActives&&!!e.closedActives.find((function(e){return e===o})))||e.openMenu===o;var n=r&&!(a.items&&a.items.some((function(e){return e.active===true})));return t(V,{id:o,className:"duet-header-second-level",label:a.label,icon:"".concat(a.icon,".svg"),active:n,isOpen:r,badge:a.badge,toggleRef:function(t){return e.subMenuButtonRefs[o]=t},itemsRef:function(t){return e.subMenuItemRefs[o]=t},onToggle:function(t){return e.toggleMenu(t,"sub",o,a.active===true)}},t("div",{class:"duet-header-third-level"},a.items&&a.items.map((function(a){return t("a",{class:{"duet-header-item":true,active:a.active===true},role:"menuitem",href:a.href||"#",id:a.id,onClick:function(t){return e.handleItemClick(t,a)},onKeyDown:function(t){return e.handleArrowKeys(t)},target:a.external?"_blank":"_self"},a.icon&&t("div",{class:"duet-header-icon"},t("duet-icon",{margin:"none",size:"medium",name:a.icon,color:"currentColor"})),t("span",null,a.label),a.badge&&t("div",{class:"duet-header-badge"}))}))))})))}))),t("div",{class:"duet-header-bottom-utils"},t("slot",{name:"utility"})),t("div",{class:"duet-header-utils"},!x&&c,p,!x&&t(i,null,m,g),w,f)))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{user:["refresh"],items:["refresh"],session:["refresh"],back:["refresh"],contactItems:["refresh"],languageItems:["refresh"]}},enumerable:false,configurable:true});return e}());D.style=j;var T="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}";var H=function(e){var a=e.inverse,d=e.logoId;var i=a?C:S;var o=a?C:M;return t("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":d,viewBox:"0 0 305 111"},t("title",{id:d},"Turva"),t("path",{fill:i,d:"M79 90.1A40.5 40.5 0 0 0 98.3 58H79v32.2z"}),t("path",{fill:i,d:"M45.1 57.9V46.4h52.3a40.5 40.5 0 1 0-30 48.5V58H45z"}),t("path",{fill:o,d:"M278.9 80.3v-9.8l-7.4.4c-2.4.3-4.3.6-5.7 1-1.7.4-4 1.3-5 2.3-1 1-2.3 2.8-2.3 4.6 0 2 .8 3.8 2 4.8s3.3 2 5.7 2a22 22 0 0 0 12.7-5.3zm4.2 8H279v-4.1l-3 1.9-2.8 1.5a17.4 17.4 0 0 1-7.4 1.6c-3 0-6.3-.7-8-2.3a9.6 9.6 0 0 1-3.4-7.2 9 9 0 0 1 1.8-5.9c1.1-1.6 3.1-3.3 5.2-4.2 2.1-1 4.7-1.6 7.7-1.9 3.4-.4 6.8-.6 9.8-.7v-1.1a6 6 0 0 0-.7-3.3 8 8 0 0 0-2.6-2.5c-.8-.5-2.2-1-3.4-1.1a25.7 25.7 0 0 0-8.8.4c-1.9.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.2-.5.5-1.1.8l-2 1a18.2 18.2 0 0 1-6.3 1A18 18 0 0 1 179 72c-2-.7-3.6-1.8-5-3.3a14.7 14.7 0 0 1-3-5.4c-.7-2.2-1.1-4.8-1.1-7.7 0-3 .4-5.6 1.2-7.9.8-2.3 1.9-4.2 3.3-5.7 1.4-1.6 3.1-2.8 5-3.6a17.2 17.2 0 0 1 14 .6l1.3.8.5.6.2.7.1.9a16.4 16.4 0 0 1-.2 3.5c0 .2-.2.4-.3.5l-.5.2-1-.5a16.8 16.8 0 0 0-4-2 10 10 0 0 0-6.9.3 8 8 0 0 0-2.7 2.4c-.8 1-1.4 2.3-1.8 3.8-.4 1.5-.6 3.2-.6 5 0 2 .3 3.9.7 5.4.4 1.5 1 2.7 1.8 3.7s1.7 1.7 2.8 2.1c1.1.5 2.3.7 3.7.7a10.6 10.6 0 0 0 5.6-1.4l1.7-1c.4-.2.7-.4 1-.4l.4.1c0 .1.2.2.2.5l.2.9v1.5"}};var N=function(e){var a=e.inverse,d=e.logoId,i=e.language;var o=a?C:z;var r=q[i],n=r.title,s=r.path,l=r.viewBox;return t("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",fill:o,"aria-labelledby":d,viewBox:l},t("title",{id:d},n),t("path",{d:s}))};var K=e("duet_logo",function(){function e(e){a(this,e);this.logoId=L("DuetLogo");this.theme="";this.margin="auto";this.inverse=false;this.size="medium";this.href="/";this.language=w()}e.prototype.componentWillLoad=function(){c(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeLink){this.nativeLink.focus(e)}return[2]}))}))};e.prototype.render=function(){var e;var a=this;var d=this.href?"a":"div";return t(o,{class:{"duet-m-0":this.margin==="none"}},t(d,{href:this.href,ref:function(e){return a.nativeLink=e},class:(e={"duet-logo":true},e[this.size]=true,e["duet-theme-turva"]=this.theme==="turva",e["duet-logo-en"]=this.language==="en",e["duet-logo-sv"]=this.language==="sv",e)},this.theme==="turva"?t(H,{logoId:this.logoId,inverse:this.inverse}):t(N,{logoId:this.logoId,inverse:this.inverse,language:this.language})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());K.style=T}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,H as n,g as o}from"./p-0fff5922.js";import{f as u}from"./p-d004da5f.js";import{i as s}from"./p-4ebf1618.js";import{c as a}from"./p-c1325e35.js";import{c as p,r}from"./p-56118313.js";import{f as d}from"./p-54f35a79.js";import{g as l}from"./p-ede854e1.js";import"./p-5a9d75e1.js";const c={search:u,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},h=class{constructor(e){t(this,e),this.duetInput=i(this,"duetInput",7),this.duetChange=i(this,"duetChange",3),this.duetBlur=i(this,"duetBlur",7),this.duetClear=i(this,"duetClear",7),this.duetFocus=i(this,"duetFocus",7),this.inputId=a("DuetInput"),this.clearId=a("DuetInputClear"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.topCaptionPlaceholderId=a("DuetCaptionPlaceholderTop"),this.errorId=a("DuetError"),this.disallowPatternRegex=null,this.clearLabel=l({en:"Clear",fi:"Tyhjennä",sv:"Rensa"}),this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.debounce=0,this.clear=!1,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.margin="auto",this.required=!1,this.type="text",this.variation="default",this.label="label",this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.component="input",this.autoComplete="on",this.disallowPattern=null,this.tooltip="",this.tooltipDirection="auto",this.onInput=t=>{this.disallowPatternRegex&&p(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getDescribedBy=()=>{let t="";return this.isCaptionVisible&&this.topCaptionId?(t=this.topCaptionId,this.accessibleDescribedBy&&(t+=" "+this.accessibleDescribedBy)):t=this.accessibleDescribedBy.length>0?this.accessibleDescribedBy:void 0,t},this.handleClearClick=t=>{const i=this.clearInput();return this.onClear(t),i},this.keyHandler=t=>(d(t)&&this.clear&&this.handleClearClick(t),t)}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"g"):null}valueChanged(){var t;if((null===(t=null==this?void 0:this.nativeInput)||void 0===t?void 0:t.value)!==this.value){const t=r(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const i=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?i():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(i,this.debounce))}componentWillLoad(){s(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=r(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.value="")}render(){const t=this.identifier||this.inputId,i={};return this.numericKeyboard&&(i.inputmode="numeric"),this.pattern&&"tel"!==this.type?i.pattern=this.pattern:this.pattern||"tel"!==this.type||(i.pattern="[0-9+ ]+"),e(n,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},e("div",{class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type,"has-error":!!this.error,"has-clear":this.clear}},e("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",id:this.labelId,for:t},this.label),this.tooltip&&e("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&e("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),e("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&this.value&&e("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),e("input",Object.assign({ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.type,class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.errorId} ${this.accessibleLabelledBy}`:`${this.labelId} ${this.errorId}`,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},i)),!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"button"!==this.variation&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",icon:c[this.type].svg,color:"currentColor"})),this.clear&&this.value&&e("div",{class:"duet-input-clear-icon"},e("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel,"aria-keyshortcuts":"Escape"},e("duet-icon",{margin:"none",size:"xx-small",name:"activity-close",color:"currentColor"}))),this.icon&&"button"!==this.variation&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&e("slot",{name:"button"}),e("slot",null)),e("span",{class:"duet-input-help",id:this.errorId,"aria-live":"assertive","aria-relevant":"additions removals"},this.error&&e("span",{class:"duet-input-error"},this.error))))}get element(){return o(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};h.style='*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}duet-tooltip.sc-duet-input{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{position:relative;top:4px;right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:white}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:#00294d;pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:#171c3a}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:0;min-width:48px;min-height:48px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:#00294d !important;cursor:initial !important;background:white !important;background-clip:initial !important;border:1px solid #909599 !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#de2362 !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#e02a0d !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#e02a0d !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a !important;border-color:#747475 !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:#657787;opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfcfd1}.duet-input.sc-duet-input::-moz-placeholder{color:#657787;opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfcfd1}.duet-input.sc-duet-input:-ms-input-placeholder{color:#657787}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfcfd1}.duet-input[disabled].sc-duet-input{color:#00294d !important;cursor:text !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus{border-color:#0077b3 !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:#171c3a !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#171c3a}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#0077b3}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:#657787;border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#747475}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#e02a0d}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}';const m=class{constructor(i){t(this,i),this.theme="",this.margin="auto",this.size="medium"}componentWillLoad(){s(this)}render(){return e(n,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin}},e("label",{htmlFor:this.for},e("span",null,e("slot",null))))}};m.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:#00294d;text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}';export{h as duet_input,m as duet_label}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as o,h as i,H as n,g as a}from"./p-0fff5922.js";import{i as e}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{d as s}from"./p-dbb4a588.js";import{i as d}from"./p-54f35a79.js";import{g as u}from"./p-ede854e1.js";import{g as c,s as b}from"./p-9cca0bb4.js";import"./p-5a9d75e1.js";import"./p-398a79a0.js";const h=class{constructor(i){t(this,i),this.duetActionEvent=o(this,"duetActionEvent",6),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName="default-action",this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{label:"Click to activate action"},fi:{label:"Klikkaa toiminnon aktivointiin"},sv:{label:"Klicka för att aktivera åtgärd"}},this.accessibleLabels=u(this.accessibleLabelsDefaults),this.accessibleControls="",this.listId=r("duet-action-button"),this.emitPageEvent=s((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})}))}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){e(this)}render(){const t="currentColor"===this.color?"currentColor":c(this.color,this.theme),o=c(this.background,this.theme),a=o?b(o,-.1):o,e=o?`\n button.duet-action-button {\n background: ${o} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",r={color:t,"border-color":c(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};return i(n,{onKeyDown:t=>this.onKeyboardDown(t)},i("style",{innerHTML:e}),i("button",{part:"button",style:r,disabled:this.disabled,id:this.listId,class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme},type:"button",onClick:t=>this.onMouseHandler(t),"aria-label":this.accessibleLabels.label,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls},i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),i("duet-visually-hidden",null,i("slot",null))))}get element(){return a(this)}};h.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:#00294d;cursor:pointer;background:#f5f8fa;border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:#171c3a;background:#f5f5f7}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px #171c3a !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:#909599;cursor:default;background:#f5f8fa;opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:#747475;background:#f5f5f7}";export{h as duet_action_button}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(o.next(t))}catch(e){a(e)}}function c(t){try{s(o["throw"](t))}catch(e){a(e)}}function s(t){t.done?n(t.value):i(t.value).then(r,c)}s((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(a=r[0]&2?i["return"]:r[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;if(i=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(c){r=[6,c];i=0}finally{o=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-fc6477cb.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-92639d0b.system.js","./p-a63f753e.system.js","./p-f69b64c9.system.js","./p-6190e2d6.system.js","./p-b6d51921.system.js","./p-18cc5627.system.js"],(function(t){"use strict";var e,n,o,i,a,r,c,s,u,d,l,b;return{setters:[function(t){e=t.r;n=t.c;o=t.h;i=t.H;a=t.g},function(t){r=t.i},function(t){c=t.c},function(t){s=t.d},function(t){u=t.i},function(t){d=t.g},function(t){l=t.g;b=t.s},function(){},function(){}],execute:function(){var h="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:#00294d;cursor:pointer;background:#f5f8fa;border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:#171c3a;background:#f5f5f7}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px #171c3a !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:#909599;cursor:default;background:#f5f8fa;opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:#747475;background:#f5f5f7}";var f=t("duet_action_button",function(){function t(t){var o=this;e(this,t);this.duetActionEvent=n(this,"duetActionEvent",6);this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName="default-action";this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{label:"Click to activate action"},fi:{label:"Klikkaa toiminnon aktivointiin"},sv:{label:"Klicka för att aktivera åtgärd"}};this.accessibleLabels=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.listId=c("duet-action-button");this.emitPageEvent=s((function(t){o.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:o.actionId,name:o.actionName,meta:o.actionMeta,id:o.listId})}))}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(u(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var a=l(this.background,this.theme);var r=a?b(a,-.1):a;var c=a?"\n button.duet-action-button {\n background: ".concat(a," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(r," !important;\n }\n "):"";var s={color:n,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};return o(i,{onKeyDown:function(t){return e.onKeyboardDown(t)}},o("style",{innerHTML:c}),o("button",{part:"button",style:s,disabled:this.disabled,id:this.listId,class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t),type:"button",onClick:function(t){return e.onMouseHandler(t)},"aria-label":this.accessibleLabels.label,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls},o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());f.style=h}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-18cc5627.system.js"],(function(n){"use strict";var t;return{setters:[function(n){t=n.t}],execute:function(){n({g:d,s:p});var r=["turva"];function i(n){var t=n.includes("-");var r=n.includes(" ")||n.includes("_");var i=n.charAt(0)==="-";return t&&!r&&!i}function c(n){if(n===void 0){n=""}return"".concat(n.charAt(0).toUpperCase()).concat(n.slice(1))}function e(n){if(n===void 0){n=""}return"".concat(n.charAt(0).toLowerCase()).concat(n.slice(1))}function o(n){if(n===void 0){n=""}var t=n.split("-");t.forEach((function(n,r){t[r]=c(n)}));return t.join("")}function u(n){if(n===void 0){n=""}if(r.includes(n.toLowerCase())){return n.toLowerCase()}return""}function a(n){return n.charAt(0).toUpperCase()+n.slice(1)}function f(n,t){if(t===void 0){t=""}return t.indexOf(a(n))===0||t.indexOf(n)===0}function s(n,t){if(t===void 0){t=""}if(t&&!i(t)&&!f(n,t)){return"".concat(n).concat(c(t))}return t}function v(n,t){var r=u(t).length;if(r&&n.indexOf(t)===-1){return"".concat(n).concat(c(t))}return n}function d(n,r){if(r===void 0){r=""}if(!n){return undefined}var i=l(n);var c=l(n,r);var e=t[c];if(!e){e=t[i]}return e}function l(n,t){if(n===void 0){n=""}if(t===void 0){t=""}var r=n;var c=i(n);if(c){r=o(r)}r=s("color",r);r=v(r,t);r=e(r);return r}function p(n,t){var r=n.split(","),i=t<0?0:255,c=t<0?t*-1:t;var e=parseInt(r[0].slice(4)),o=parseInt(r[1]),u=parseInt(r[2]);e=Math.round((i-e)*c)+e;o=Math.round((i-o)*c)+o;u=Math.round((i-u)*c)+u;e=e<0?0:e;e=e>255?255:e;o=o<0?0:o;o=o>255?255:o;u=u<0?0:u;u=u>255?255:u;return"rgb(".concat(e,",").concat(o,",").concat(u,")")}}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as o,H as a,g as i}from"./p-0fff5922.js";import{a as s}from"./p-115c79b6.js";import{f as l,t as n}from"./p-d1746325.js";import{i as r}from"./p-4ebf1618.js";import{c}from"./p-c1325e35.js";import{i as p}from"./p-54f35a79.js";import{s as d}from"./p-5a9d75e1.js";const m=class{constructor(o){e(this,o),this.duetToggle=t(this,"duetToggle",7),this.id=c("DuetCollapsible"),this.theme="",this.heading="",this.headingWeight="semibold",this.headingSize=void 0,this.headingLevel=void 0,this.margin="auto",this.open=!1,this.handleKeyDown=e=>{p(e)&&this.handleClick(e)},this.getFontSizeFromTokens=(e=this.headingSize)=>{if(e){const t=e.replace(/-/g,"_");return n[`font_size_${t}`]}return l},this.getEquivalentIconSize=(e=this.headingSize)=>{switch(e){case"x-small":case"small":case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}},this.handleClick=e=>{e.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-collapsible",originalEvent:e})}}componentWillLoad(){r(this)}async setFocus(e){this.nativeButton&&(this.element.classList.add("user-is-tabbing"),this.nativeButton.focus(e))}render(){const e=this.headingLevel?d(this.headingLevel):"div";return o(a,{class:{"duet-m-0":"none"===this.margin}},o(e,{class:{"duet-collapsible-heading":!0,"duet-theme-turva":"turva"===this.theme,"duet-collapsible-normal-weight":"normal"===this.headingWeight},style:{"font-size":this.getFontSizeFromTokens()},role:"button",tabindex:"0",ref:e=>this.nativeButton=e,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},o("div",{class:"duet-collapsible-heading-icon"},o("duet-icon",{margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:s.svg})),o("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading)),o("div",{id:this.id,class:{"duet-collapsible-content":!0,"duet-theme-turva":"turva"===this.theme},part:"duet-collapsible-content"},o("slot",null)))}get element(){return i(this)}};m.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}:host([open]) .duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-collapsible-heading .duet-collapsible-heading-content{flex:1}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}';export{m as duet_collapsible}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{t as n}from"./p-398a79a0.js";const t=["turva"];function r(n){const t=n.includes("-"),r=n.includes(" ")||n.includes("_"),u="-"===n.charAt(0);return t&&!r&&!u}function u(n=""){return`${n.charAt(0).toUpperCase()}${n.slice(1)}`}function o(t,r=""){if(!t)return;const u=e(t),o=e(t,r);let c=n[o];return c||(c=n[u]),c}function e(n="",o=""){let e=n;return r(n)&&(e=function(n=""){const t=n.split("-");return t.forEach(((n,r)=>{t[r]=u(n)})),t.join("")}(e)),e=function(n,t=""){return!t||r(t)||function(n,t=""){return 0===t.indexOf((r=n).charAt(0).toUpperCase()+r.slice(1))||0===t.indexOf(n);var r}(n,t)?t:`${n}${u(t)}`}("color",e),e=function(n,r){return function(n=""){return t.includes(n.toLowerCase())?n.toLowerCase():""}(r).length&&-1===n.indexOf(r)?`${n}${u(r)}`:n}(e,o),e=function(n=""){return`${n.charAt(0).toLowerCase()}${n.slice(1)}`}(e),e}function c(n,t){const r=n.split(","),u=t<0?0:255,o=t<0?-1*t:t;let e=parseInt(r[0].slice(4)),c=parseInt(r[1]),a=parseInt(r[2]);return e=Math.round((u-e)*o)+e,c=Math.round((u-c)*o)+c,a=Math.round((u-a)*o)+a,e=e<0?0:e,e=e>255?255:e,c=c<0?0:c,c=c>255?255:c,a=a<0?0:a,a=a>255?255:a,`rgb(${e},${c},${a})`}export{o as g,c as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as i,g as o}from"./p-0fff5922.js";import{a as r}from"./p-f11208c3.js";import{D as a}from"./p-76f00bd5.js";import{i as h}from"./p-4ebf1618.js";import{a as d,g as n}from"./p-ede854e1.js";import{p as m}from"./p-5a9d75e1.js";const s=class{constructor(i){e(this,i),this.duetClick=t(this,"duetClick",7),this.duetAnalytics=t(this,"duetAnalytics",7),this.processedListItems=null,this.processedActions=null,this.processedBack=null,this.theme="",this.heading="",this.preHeading="",this.level="h1",this.description="",this.icon="",this.iconSize="medium",this.iconRight=!1,this.categoryIcon="",this.categoryIconColor="category-pet",this.buttonLabel="",this.language=d(),this.accessibleLabelExternalDefaults=a,this.accessibleLabelExternal=n(this.accessibleLabelExternalDefaults),this.buttonUrl="#",this.buttonId="",this.textCenter=!1,this.leftAlign=!1,this.image="",this.variation="default",this.handleClick=(e,t)=>{t&&t.analytics&&this.duetAnalytics.emit({component:"duet-hero",analyticsId:t.analytics}),this.emitChange(e,t)}}componentWillLoad(){h(this),this.refresh()}async refresh(){this.processedListItems=m(this.listItems),this.processedActions=m(this.actions),this.processedBack=m(this.back)}emitChange(e,t){t||(t={}),this.buttonLabel&&(t.label=this.buttonLabel,t.href=this.buttonUrl,t.id=this.buttonId||"No ID defined via buttonId prop"),this.duetClick.emit({originalEvent:e,data:t,component:"duet-hero"})}render(){const e={backgroundImage:`url(${this.image})`};let t="turva"===this.theme?"negative":"primary",o="primary-blue",a="gray-lightest",h="primary";return"light"!==this.variation&&"image"!==this.variation&&"gray"!==this.variation&&"minimal"!==this.variation||(a="secondary","turva"===this.theme&&(a="secondary-turva",t="primary",h="color-primary-turva",o="color-primary-turva")),i("div",{role:"region",class:{"duet-hero":!0,"duet-theme-turva":"turva"===this.theme,"duet-has-category-icon":!!this.categoryIcon,"duet-hero-light":"light"===this.variation,"duet-hero-gray":"gray"===this.variation||"minimal"===this.variation,"duet-hero-minimal":"minimal"===this.variation,"duet-hero-with-image":"image"===this.variation,"duet-hero-gray-with-actions":!!this.processedActions,"duet-hero-gray-with-back":!!this.processedBack,"duet-hero-text-center":this.textCenter&&!this.leftAlign,"duet-hero-left-align":this.leftAlign}},i("div",{class:"duet-hero-wrapper"},this.image&&"image"===this.variation&&i("div",{class:"duet-hero-image-mask"},i("div",{class:"duet-hero-image-wrapper"},i("div",{class:"duet-hero-image",style:e}))),("gray"===this.variation||"light"===this.variation||"minimal"===this.variation)&&this.processedBack&&i("div",{class:"duet-hero-back"},i("duet-button",{style:{transform:"translateX(-8px)"},variation:"plain",icon:"action-arrow-left-small",theme:this.theme,iconSize:"small",color:h,padding:"none",margin:"none",fixed:!0,url:this.processedBack.href,identifier:this.processedBack.id,onClick:e=>this.handleClick(e,{label:this.processedBack.label,href:this.processedBack.href,id:this.processedBack.id,analyticsId:this.processedBack.analyticsId})},this.processedBack.label)),("gray"===this.variation||"minimal"===this.variation)&&this.categoryIcon&&i("duet-icon",{class:{"duet-hero-icon":!0,"duet-hero-icon-has-heading":""!==this.preHeading},size:"x-large",background:this.categoryIconColor,name:this.categoryIcon}),i("div",{class:"duet-hero-text"},this.preHeading&&i("duet-paragraph",{margin:"none",class:"duet-hero-pre"},this.preHeading),i("slot",{name:"badge"}),i("duet-heading",{theme:this.theme,level:this.level,class:{"duet-hero-heading":!0,"duet-hero-heading-has-pre":""!==this.preHeading},color:"default"===this.variation?"gray-lightest":"",visualLevel:"gray"===this.variation||"minimal"===this.variation?"h2":"h1"},this.heading),this.description&&i("duet-paragraph",{theme:this.theme,color:a,variation:"intro"},this.description),("gray"===this.variation||"minimal"===this.variation)&&this.processedListItems&&i("duet-list",{theme:this.theme,"label-width":"30",breakpoint:"large",mobile:this.leftAlign?void 0:"center"},this.processedListItems.map((e=>i("duet-list-item",null,i("span",{slot:"label"},e.label),i("span",{slot:"value"},e.value))))),this.buttonLabel&&i("duet-button",{url:this.buttonUrl,icon:this.icon,iconRight:this.iconRight,iconSize:this.iconSize,variation:t,theme:this.theme,identifier:this.buttonId,onClick:e=>this.handleClick(e,this.buttonData),fixed:!0},this.buttonLabel),i("span",{class:"duet-hero-slot-unnamed"},i("slot",null))),("gray"===this.variation||"minimal"===this.variation)&&this.processedActions&&i("div",{class:"duet-hero-links"},this.processedActions.map((e=>i("a",{class:"duet-hero-link",href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:t=>this.handleClick(t,e)},i("div",{class:"duet-hero-action-icon"},i("duet-icon",{size:"small",margin:"none",name:e.icon,color:"currentColor",outline:o})),i("span",null,e.label),e.external&&i("duet-visually-hidden",null,", ",this.accessibleLabelExternal),e.external&&i("div",{class:"duet-hero-action-arrow"},i("duet-icon",{icon:r.svg,size:"xx-small",margin:"none",color:"currentColor"})))))),this.image&&"image"!==this.variation&&i("div",{class:"duet-hero-image",style:e})))}get element(){return o(this)}static get watchers(){return{back:["refresh"],listItems:["refresh"],actions:["refresh"]}}};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;display:block;width:100%}.duet-hero{position:relative;display:block;width:100%;padding:48px 28px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;text-decoration:none;text-shadow:none;text-transform:none;background:#00294d}.duet-hero.duet-p-0{padding:0 !important}.duet-hero.duet-m-0{margin:0 !important}.duet-hero.duet-hero-text-center{text-align:center !important}.duet-hero.duet-hero-light{padding-bottom:0 !important}@media (min-width: 62em){.duet-hero.duet-hero-light{padding-bottom:28px !important}}.duet-hero.duet-hero-with-image{padding-bottom:20px !important;margin-bottom:-36px}@media (min-width: 48em){.duet-hero.duet-hero-with-image{padding-bottom:28px !important}}@media (min-width: 62em){.duet-hero.duet-hero-with-image{padding-bottom:36px !important;margin-bottom:-20px}}.duet-hero.duet-hero-light,.duet-hero.duet-hero-with-image{color:#00294d;background-color:white;background-image:linear-gradient(#f3f9fc, #f9fcfe)}.duet-hero.duet-hero-light::before,.duet-hero.duet-hero-with-image::before{position:absolute;top:100%;left:0;z-index:-1;width:100%;height:400px;content:"";background-image:linear-gradient(#f9fcfe, white)}.duet-hero.duet-hero-light.duet-theme-turva,.duet-hero.duet-hero-with-image.duet-theme-turva{color:#171c3a;background-image:linear-gradient(#f5f5f7, #fafafb)}.duet-hero.duet-hero-light.duet-theme-turva::before,.duet-hero.duet-hero-with-image.duet-theme-turva::before{background-image:linear-gradient(#fafafb, white)}.duet-hero.duet-hero-gray{color:#00294d;background:#f5f8fa}.duet-hero.duet-hero-gray.duet-theme-turva{background:#f5f5f7}@media (min-width: 62em){.duet-hero.duet-hero-gray .duet-hero-text{display:inline-block;vertical-align:top}.duet-hero.duet-hero-gray .duet-hero-icon+.duet-hero-text{margin-left:28px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-actions{padding-bottom:65.4545454545px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-back{padding-top:72px}}.duet-hero.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:#c60c30}@media (min-width: 62em){.duet-hero{min-height:290px;padding:111.6px 56px;overflow:visible}}.duet-hero-icon{display:inline-block;vertical-align:top}@media (min-width: 62em){.duet-hero-icon{margin-top:-8px}}@media (min-width: 62em){.duet-hero-heading{margin-top:12px}}@media (min-width: 62em){.duet-hero-heading-has-pre{margin-top:0}}.duet-hero-wrapper{position:relative;width:100%;max-width:1110px;margin:0 auto;text-align:center}.duet-hero-left-align .duet-hero-wrapper{text-align:left}.duet-hero-with-image .duet-hero-wrapper{position:static}@media (min-width: 62em){.duet-hero-wrapper{text-align:left}}.duet-hero-text{max-width:50rem;margin:0 auto}.duet-hero-text-center .duet-hero-text{text-align:center !important}@media (min-width: 48em){.duet-hero-text{width:80%}.duet-hero-left-align .duet-hero-text{margin:0}}@media (min-width: 62em){.duet-hero-text{width:52%;max-width:none;margin-top:-10px;margin-left:0}.duet-hero-text-center .duet-hero-text{margin-left:auto}}.duet-hero:not(.duet-hero-with-image) .duet-hero-image{width:100%;max-width:400px;height:0;padding-bottom:50%;margin:28px auto 0;background-repeat:no-repeat;background-position:50% 50%;background-size:contain}@media (min-width: 36em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{padding-bottom:40%}}@media (min-width: 48em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:420px;padding-bottom:34%}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:540px}}@media (min-width: 62em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{position:absolute;top:50%;right:0;padding-bottom:30%;margin:0;transform:translateY(-50%)}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-60px;padding-bottom:26%}.duet-hero-gray .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}@media (min-width: 62em){.duet-hero-gray:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}.duet-hero-image-wrapper{position:relative;width:80%;height:0;padding-bottom:80%;margin:-30px auto 36px;overflow:hidden;border-radius:28%;box-shadow:0 0 20px rgba(255, 255, 255, 0.5);transform:rotate(10deg)}.duet-theme-turva .duet-hero-image-wrapper{padding-bottom:68%;border-radius:44% 47% 38% 54%;transform:none}@media screen and (min-width: 440px){.duet-hero-image-wrapper{width:300px;padding-bottom:300px}.duet-theme-turva .duet-hero-image-wrapper{width:80%;padding-bottom:68%}}@media (min-width: 62em){.duet-hero-image-wrapper{position:absolute;top:-60px;right:-50px;width:470px;padding-bottom:470px;margin:0}.duet-theme-turva .duet-hero-image-wrapper{top:-40px;right:-80px;width:536px;padding-bottom:470px}}@media (min-width: 76.25em){.duet-hero-image-wrapper{top:-70px;right:-60px;width:600px;padding-bottom:600px}.duet-theme-turva .duet-hero-image-wrapper{top:-70px;right:-60px;width:650px;padding-bottom:600px}}@media screen and (min-width: 1450px){.duet-hero-image-wrapper{top:-70px;right:25px}.duet-theme-turva .duet-hero-image-wrapper{right:0}}.duet-hero-image-wrapper .duet-hero-image{position:absolute;top:-5%;left:-5%;width:110%;height:110%;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;transform:rotate(-10deg)}.duet-theme-turva .duet-hero-image-wrapper .duet-hero-image{top:0;left:0;width:100%;height:100%;transform:none}.duet-hero-image-mask{position:relative;margin:-48px auto 0;overflow:hidden}@media (min-width: 62em){.duet-hero-image-mask{position:absolute;top:0;right:0;width:470px;height:460px;margin:0}}@media (min-width: 76.25em){.duet-hero-image-mask{width:650px;height:580px}}@media screen and (min-width: 1450px){.duet-hero-image-mask{right:50%;transform:translateX(110%)}.duet-theme-turva .duet-hero-image-mask{transform:translateX(108%)}}duet-heading+duet-button{margin-top:12px !important}.duet-hero-links{width:calc(100% + 56px);margin-top:48px;margin-left:-28px}.duet-hero-minimal .duet-hero-links{margin-top:28px}@media (min-width: 36em){.duet-hero-links{margin-top:72px}.duet-hero-minimal .duet-hero-links{margin-top:28px}}@media (min-width: 62em){.duet-hero-links{width:auto;margin:36px 0 0}.duet-hero-minimal .duet-hero-links{margin-top:28px}}.duet-hero-link{display:flex;align-items:center;width:100%;padding:16px 16px 8px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.25;color:#0077b3;text-align:left;text-decoration:none;border-bottom:1px solid #e1e3e6;transition:background-color 300ms ease}.duet-hero-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-hero-link:focus,.duet-hero-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-hero-link:hover,.duet-hero-link:hover .duet-hero-action-arrow{color:#004d80 !important;background:transparent !important}.duet-theme-turva .duet-hero-link:hover,.duet-theme-turva .duet-hero-link:hover .duet-hero-action-arrow{color:#940925 !important}.duet-theme-turva .duet-hero-link{color:#c60c30}@media (min-width: 36em){.duet-hero-link{padding:16px 16px 16px 28px}}@media (min-width: 62em){.duet-hero-link{display:inline-flex;width:auto;max-width:350px;padding:0;margin:0 28px 16px 0;border:0;border-radius:4px}}.duet-hero-link:hover{background:rgba(0, 0, 0, 0.02)}@media (min-width: 62em){.duet-hero-link:hover{background:transparent}}.duet-hero-link:first-of-type{border-top:1px solid #e1e3e6}@media (min-width: 62em){.duet-hero-link:first-of-type{margin-top:0;border:0}}.duet-hero-link:last-of-type{margin-bottom:-48px}@media (min-width: 62em){.duet-hero-link:last-of-type{margin-right:0;margin-bottom:0}}.duet-hero-link span{margin-top:-8px}@media (min-width: 36em){.duet-hero-link span{margin:0}}.duet-hero-action-icon{margin-right:8px}@media (min-width: 36em){.duet-hero-action-icon{margin-right:12px}}.duet-hero-action-arrow{margin:0 0 0 8px;color:#0077b3}@media (max-width: 35.9375em){.duet-hero-action-arrow{margin-top:-9px}}.duet-theme-turva .duet-hero-action-arrow{color:#c60c30}.duet-hero-back{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center}.duet-hero-left-align .duet-hero-back{align-items:self-start;justify-content:flex-start}@media (min-width: 36em){.duet-hero-back{margin-bottom:36px !important}.duet-hero-minimal .duet-hero-back{margin-bottom:28px !important}}@media (min-width: 62em){.duet-hero-back{display:block}}.duet-hero-pre{display:inline-block;width:auto;margin-right:8px}.duet-hero-pre+duet-heading{margin-top:0 !important}';export{s as duet_hero}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{t as tokens}from"./tokens.module-f4572ed7.js";var allowedThemes=["turva"];function isDashCase(e){var r=e.includes("-");var t=e.includes(" ")||e.includes("_");var a=e.charAt(0)==="-";return r&&!t&&!a}function capitalize(e){if(e===void 0){e=""}return"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1))}function lowerCaseFirst(e){if(e===void 0){e=""}return"".concat(e.charAt(0).toLowerCase()).concat(e.slice(1))}function camelize(e){if(e===void 0){e=""}var r=e.split("-");r.forEach((function(e,t){r[t]=capitalize(e)}));return r.join("")}function getTheme(e){if(e===void 0){e=""}if(allowedThemes.includes(e.toLowerCase())){return e.toLowerCase()}return""}function capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}function hasType(e,r){if(r===void 0){r=""}return r.indexOf(capitalizeFirstLetter(e))===0||r.indexOf(e)===0}function addPrefix(e,r){if(r===void 0){r=""}if(r&&!isDashCase(r)&&!hasType(e,r)){return"".concat(e).concat(capitalize(r))}return r}function addTheme(e,r){var t=getTheme(r).length;if(t&&e.indexOf(r)===-1){return"".concat(e).concat(capitalize(r))}return e}function getColorByName(e,r){if(r===void 0){r=""}if(!e){return undefined}var t=convertToColorName(e);var a=convertToColorName(e,r);var o=tokens[a];if(!o){o=tokens[t]}return o}function convertToColorName(e,r){if(e===void 0){e=""}if(r===void 0){r=""}var t=e;var a=isDashCase(e);if(a){t=camelize(t)}t=addPrefix("color",t);t=addTheme(t,r);t=lowerCaseFirst(t);return t}function shadeRGBColor(e,r){var t=e.split(","),a=r<0?0:255,o=r<0?r*-1:r;var n=parseInt(t[0].slice(4)),i=parseInt(t[1]),c=parseInt(t[2]);n=Math.round((a-n)*o)+n;i=Math.round((a-i)*o)+i;c=Math.round((a-c)*o)+c;n=n<0?0:n;n=n>255?255:n;i=i<0?0:i;i=i>255?255:i;c=c<0?0:c;c=c>255?255:c;return"rgb(".concat(n,",").concat(i,",").concat(c,")")}export{getColorByName as g,shadeRGBColor as s};