@duetds/components 10.0.0-alpha.23 → 10.0.0-alpha.25

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 (418) hide show
  1. package/hydrate/index.js +414 -261
  2. package/hydrate/index.mjs +414 -261
  3. package/lib/cjs/{a11y-utils-aMJTxbM9.js → a11y-utils-BeS3x4Hg.js} +1 -1
  4. package/lib/cjs/{app-globals-DN9e0v8L.js → app-globals-BvljEFtV.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-banner.cjs.entry.js +7 -7
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  11. package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
  14. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-header_2.cjs.entry.js +54 -12
  32. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  34. package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +10 -42
  43. package/lib/cjs/duet-modal.cjs.entry.js +37 -20
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
  47. package/lib/cjs/duet-number-input.cjs.entry.js +14 -9
  48. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
  51. package/lib/cjs/duet-panel.cjs.entry.js +53 -0
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  54. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +16 -16
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  64. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  69. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  77. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-CSxc4txc.js → errorcodes.utils-CwTzu57-.js} +1 -1
  92. package/lib/cjs/{focus-utils-R3gIGr8k.js → focus-utils-Dh4b8BiX.js} +1 -1
  93. package/lib/cjs/{index-cypK_uRu.js → index-D3O_5Hr7.js} +5 -1
  94. package/lib/cjs/{label-61f_b8fi.js → label-8AXhdqJy.js} +1 -1
  95. package/lib/cjs/{language-utils-DIDyCgUk.js → language-utils-CMK9eR4Q.js} +1 -1
  96. package/lib/cjs/loader.cjs.js +3 -3
  97. package/lib/cjs/{slot-utils-BC5Q3UDm.js → slot-utils-BIdgEejh.js} +1 -1
  98. package/lib/cjs/{themeable-component-BWW4XmUY.js → themeable-component-B3llZmjN.js} +14 -2
  99. package/lib/cjs/{token-utils-CHLLcMzU.js → token-utils-DsVwGXGM.js} +75 -7
  100. package/lib/cjs/{tokens-DYbf8HFV.js → tokens-D7zqZKjQ.js} +0 -1
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/common/themeable-component.js +13 -1
  103. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  104. package/lib/collection/components/duet-banner/duet-banner.css +1 -0
  105. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  108. package/lib/collection/components/duet-button/duet-button.css +19 -4
  109. package/lib/collection/components/duet-button/duet-button.js +5 -5
  110. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  111. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  112. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  113. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  114. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  115. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  116. package/lib/collection/components/duet-header/duet-header.css +3 -0
  117. package/lib/collection/components/duet-header/duet-header.js +3 -2
  118. package/lib/collection/components/duet-icon/duet-icon.css +5 -0
  119. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  120. package/lib/collection/components/duet-label/duet-label.js +1 -1
  121. package/lib/collection/components/duet-link/duet-link.js +5 -4
  122. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  123. package/lib/collection/components/duet-logo/duet-logo.css +8 -0
  124. package/lib/collection/components/duet-logo/duet-logo.js +74 -5
  125. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +91 -0
  126. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +27 -39
  127. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  128. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  129. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  130. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  131. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  132. package/lib/collection/components/duet-modal/duet-modal.js +96 -15
  133. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  134. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  135. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  136. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  137. package/lib/collection/components/duet-number-input/duet-number-input.js +11 -6
  138. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  139. package/lib/collection/components/duet-page-heading/duet-page-heading.css +12 -1
  140. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  141. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  142. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  143. package/lib/collection/components/duet-panel/duet-panel.js +234 -0
  144. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  145. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  146. package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
  147. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  148. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  149. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  150. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  151. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  152. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  153. package/lib/collection/components/duet-select/duet-select.js +5 -5
  154. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  155. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  156. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  157. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  158. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  159. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  160. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  161. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  162. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  163. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  164. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  165. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  166. package/lib/collection/components/duet-step/duet-step.js +2 -2
  167. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  168. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  169. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  170. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  171. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  172. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  173. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  174. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  175. package/lib/collection/components/duet-table/duet-table.js +2 -2
  176. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  177. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  178. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  179. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  180. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  181. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  182. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  183. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  184. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  185. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  186. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  187. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  188. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  189. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  190. package/lib/collection/utils/token-utils.js +59 -7
  191. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  192. package/lib/duet/duet.esm.js +1 -1
  193. package/lib/duet/{p-2de0e6b5.entry.js → p-04ce95ba.entry.js} +1 -1
  194. package/lib/duet/{p-eafab2a1.entry.js → p-05766552.entry.js} +1 -1
  195. package/lib/duet/{p-3ea842ba.entry.js → p-065f7e81.entry.js} +1 -1
  196. package/lib/duet/{p-95dd811d.entry.js → p-06ed84cb.entry.js} +1 -1
  197. package/lib/duet/{p-625a23c2.entry.js → p-08ed76c2.entry.js} +1 -1
  198. package/lib/duet/{p-f3d5e40a.entry.js → p-0a448068.entry.js} +1 -1
  199. package/lib/duet/{p-44786477.entry.js → p-0dc4fe1d.entry.js} +1 -1
  200. package/lib/duet/{p-626e92a9.entry.js → p-0ebeee02.entry.js} +1 -1
  201. package/lib/duet/{p-9b9031cf.entry.js → p-106d3089.entry.js} +1 -1
  202. package/lib/duet/{p-32352972.entry.js → p-15593e3e.entry.js} +1 -1
  203. package/lib/duet/{p-54b978c0.entry.js → p-2057cc55.entry.js} +1 -1
  204. package/lib/duet/{p-061f484f.entry.js → p-2792ec0b.entry.js} +1 -1
  205. package/lib/duet/p-28a998f9.entry.js +4 -0
  206. package/lib/duet/{p-8057c9e5.entry.js → p-2d3d11db.entry.js} +1 -1
  207. package/lib/duet/{p-9d5be586.entry.js → p-2e34dd28.entry.js} +1 -1
  208. package/lib/duet/{p-f7782ce5.entry.js → p-30ade10d.entry.js} +1 -1
  209. package/lib/duet/{p-d5270614.entry.js → p-35ac072d.entry.js} +1 -1
  210. package/lib/duet/{p-70fd5cb5.entry.js → p-37222c50.entry.js} +1 -1
  211. package/lib/duet/{p-80f567c7.entry.js → p-39169420.entry.js} +1 -1
  212. package/lib/duet/{p-a544dcb2.entry.js → p-3dd4fbf1.entry.js} +1 -1
  213. package/lib/duet/{p-8ae3ba95.entry.js → p-402c8cd9.entry.js} +1 -1
  214. package/lib/duet/{p-2b2be1ce.entry.js → p-4628e002.entry.js} +1 -1
  215. package/lib/duet/{p-07cd31d4.entry.js → p-466ef37c.entry.js} +1 -1
  216. package/lib/duet/{p-f2e88086.entry.js → p-4aece4f9.entry.js} +1 -1
  217. package/lib/duet/{p-1b4e4213.entry.js → p-4ee576a2.entry.js} +1 -1
  218. package/lib/duet/p-500d799b.entry.js +4 -0
  219. package/lib/duet/{p-e8bf81e8.entry.js → p-5564a39c.entry.js} +1 -1
  220. package/lib/duet/p-5848a34c.entry.js +4 -0
  221. package/lib/duet/{p-1662ddb0.entry.js → p-5ab64521.entry.js} +1 -1
  222. package/lib/duet/{p-b3547427.entry.js → p-60be3836.entry.js} +1 -1
  223. package/lib/duet/p-625347d3.entry.js +4 -0
  224. package/lib/duet/{p-779380f8.entry.js → p-64ebf5e9.entry.js} +1 -1
  225. package/lib/duet/{p-48bcf197.entry.js → p-64f8d654.entry.js} +1 -1
  226. package/lib/duet/{p-73f38d13.entry.js → p-652eefa8.entry.js} +1 -1
  227. package/lib/duet/{p-85ddf215.entry.js → p-65a8dd89.entry.js} +1 -1
  228. package/lib/duet/{p-05cb3ef2.entry.js → p-66c7af01.entry.js} +1 -1
  229. package/lib/duet/{p-e8668d1a.entry.js → p-67290546.entry.js} +1 -1
  230. package/lib/duet/p-693fda6b.entry.js +4 -0
  231. package/lib/duet/{p-6fa05aeb.entry.js → p-6a6e4d82.entry.js} +1 -1
  232. package/lib/duet/{p-5c749aae.entry.js → p-6aa6ce7d.entry.js} +1 -1
  233. package/lib/duet/{p-e6a5676c.entry.js → p-71603edd.entry.js} +1 -1
  234. package/lib/duet/{p-c0721ad9.entry.js → p-71a6b137.entry.js} +1 -1
  235. package/lib/duet/{p-a40fbcac.entry.js → p-72c2ba6b.entry.js} +1 -1
  236. package/lib/duet/p-73290da8.entry.js +4 -0
  237. package/lib/duet/{p-2c2a8a28.entry.js → p-73ce0ef8.entry.js} +1 -1
  238. package/lib/duet/p-767afcf4.entry.js +4 -0
  239. package/lib/duet/{p-7ac87fc1.entry.js → p-774cf9f5.entry.js} +1 -1
  240. package/lib/duet/{p-89e9badf.entry.js → p-7a9f3475.entry.js} +1 -1
  241. package/lib/duet/{p-61da8d25.entry.js → p-7c814d9a.entry.js} +1 -1
  242. package/lib/duet/{p-1cc69291.entry.js → p-7f1fb1a9.entry.js} +1 -1
  243. package/lib/duet/{p-d154fb42.entry.js → p-83f6beb5.entry.js} +1 -1
  244. package/lib/duet/{p-5b2e8342.entry.js → p-8596c993.entry.js} +1 -1
  245. package/lib/duet/{p-e72e498d.entry.js → p-867aab83.entry.js} +1 -1
  246. package/lib/duet/{p-a854a83c.entry.js → p-86b74914.entry.js} +1 -1
  247. package/lib/duet/{p-11b6b71d.entry.js → p-8ed6f7c7.entry.js} +1 -1
  248. package/lib/duet/{p-b5cdfd48.entry.js → p-94e33308.entry.js} +1 -1
  249. package/lib/duet/p-960f95b4.entry.js +4 -0
  250. package/lib/duet/{p-5f437262.entry.js → p-9973c0dc.entry.js} +1 -1
  251. package/lib/duet/{p-e89f59fe.entry.js → p-9a1f29ac.entry.js} +1 -1
  252. package/lib/duet/{p-e3c9a33a.entry.js → p-9fade6a0.entry.js} +1 -1
  253. package/lib/duet/{p-0710ad83.entry.js → p-9fff2189.entry.js} +1 -1
  254. package/lib/duet/{p-CUNSbdt4.js → p-B_VBeM3r.js} +1 -1
  255. package/lib/duet/{p-B_RHZ7jo.js → p-BaR6ufr4.js} +1 -1
  256. package/lib/duet/p-BdUQgQFn.js +4 -0
  257. package/lib/duet/p-DdwVwK5C.js +4 -0
  258. package/lib/duet/p-Dr2j33H2.js +4 -0
  259. package/lib/duet/{p-Dvk6bntS.js → p-DxV3RbmM.js} +1 -1
  260. package/lib/duet/{p-fwfCVW-k.js → p-DyXNfxdT.js} +1 -1
  261. package/lib/duet/p-DzerL_yn.js +4 -0
  262. package/lib/duet/p-KocOARXM.js +4 -0
  263. package/lib/duet/p-OdY4DjJa.js +4 -0
  264. package/lib/duet/p-T5kkooky.js +4 -0
  265. package/lib/duet/{p-D5_4M8f7.js → p-Z0D6Gy9e.js} +1 -1
  266. package/lib/duet/{p-bd6f7e7b.entry.js → p-a09c6e42.entry.js} +1 -1
  267. package/lib/duet/{p-5956c71f.entry.js → p-a3a2e89e.entry.js} +1 -1
  268. package/lib/duet/{p-a94d6219.entry.js → p-a440c5b3.entry.js} +1 -1
  269. package/lib/duet/{p-835874ed.entry.js → p-a4a768bf.entry.js} +1 -1
  270. package/lib/duet/{p-e1715e1f.entry.js → p-a72b8cf4.entry.js} +1 -1
  271. package/lib/duet/{p-24f39c08.entry.js → p-ab0cd4e5.entry.js} +1 -1
  272. package/lib/duet/{p-a9353027.entry.js → p-aefcd222.entry.js} +1 -1
  273. package/lib/duet/p-b84ac47b.entry.js +4 -0
  274. package/lib/duet/{p-7cfcd244.entry.js → p-ba0fcce1.entry.js} +1 -1
  275. package/lib/duet/p-ba2b47d3.entry.js +4 -0
  276. package/lib/duet/{p-3d266d49.entry.js → p-baeb1090.entry.js} +1 -1
  277. package/lib/duet/{p-828a4e8b.entry.js → p-bcbe4d11.entry.js} +1 -1
  278. package/lib/duet/{p-fcb87d86.entry.js → p-bf5fae27.entry.js} +1 -1
  279. package/lib/duet/p-c6479694.entry.js +4 -0
  280. package/lib/duet/{p-c037858f.entry.js → p-c8308bec.entry.js} +1 -1
  281. package/lib/duet/p-d0f3a2e6.entry.js +4 -0
  282. package/lib/duet/{p-d29c6c90.entry.js → p-d28a8bc4.entry.js} +1 -1
  283. package/lib/duet/p-d2ceafd6.entry.js +4 -0
  284. package/lib/duet/{p-26ef0a2c.entry.js → p-d96af9c9.entry.js} +1 -1
  285. package/lib/duet/{p-a930cc2b.entry.js → p-dee8ff90.entry.js} +1 -1
  286. package/lib/duet/p-e9421a0e.entry.js +4 -0
  287. package/lib/duet/p-ec6e097b.entry.js +4 -0
  288. package/lib/duet/{p-b52c9aed.entry.js → p-effefdec.entry.js} +1 -1
  289. package/lib/duet/{p-9d16f09d.entry.js → p-fb3b8e0f.entry.js} +1 -1
  290. package/lib/esm/{a11y-utils-Do8wJ0uc.js → a11y-utils-CXqm1pj1.js} +1 -1
  291. package/lib/esm/{app-globals-CM7s1rys.js → app-globals-s-_CGo5t.js} +1 -1
  292. package/lib/esm/duet-action-button.entry.js +5 -5
  293. package/lib/esm/duet-alert.entry.js +4 -4
  294. package/lib/esm/duet-badge.entry.js +4 -4
  295. package/lib/esm/duet-banner.entry.js +8 -8
  296. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  297. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  298. package/lib/esm/duet-button_2.entry.js +13 -13
  299. package/lib/esm/duet-callout.entry.js +5 -5
  300. package/lib/esm/duet-caption_4.entry.js +14 -13
  301. package/lib/esm/duet-card.entry.js +5 -5
  302. package/lib/esm/duet-checkbox.entry.js +2 -2
  303. package/lib/esm/duet-checkmark.entry.js +4 -4
  304. package/lib/esm/duet-chip.entry.js +3 -3
  305. package/lib/esm/duet-choice_2.entry.js +6 -6
  306. package/lib/esm/duet-collapsible.entry.js +4 -4
  307. package/lib/esm/duet-combobox.entry.js +4 -4
  308. package/lib/esm/duet-contact-card.entry.js +5 -5
  309. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  310. package/lib/esm/duet-date-picker.entry.js +6 -6
  311. package/lib/esm/duet-divider_2.entry.js +5 -5
  312. package/lib/esm/duet-editable-table_3.entry.js +10 -10
  313. package/lib/esm/duet-empty-state.entry.js +2 -2
  314. package/lib/esm/duet-fieldset.entry.js +6 -6
  315. package/lib/esm/duet-file-chooser.entry.js +2 -2
  316. package/lib/esm/duet-footer.entry.js +4 -4
  317. package/lib/esm/duet-grid_2.entry.js +4 -4
  318. package/lib/esm/duet-header_2.entry.js +55 -13
  319. package/lib/esm/duet-hero.entry.js +4 -4
  320. package/lib/esm/duet-icon.entry.js +8 -8
  321. package/lib/esm/duet-input_2.entry.js +8 -8
  322. package/lib/esm/duet-layout.entry.js +2 -2
  323. package/lib/esm/duet-list_2.entry.js +4 -4
  324. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  325. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  326. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  327. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  328. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  329. package/lib/esm/duet-menu-bar.entry.js +10 -42
  330. package/lib/esm/duet-modal.entry.js +37 -20
  331. package/lib/esm/duet-multiselect.entry.js +10 -10
  332. package/lib/esm/duet-nav.entry.js +3 -3
  333. package/lib/esm/duet-notification_2.entry.js +7 -7
  334. package/lib/esm/duet-number-input.entry.js +14 -9
  335. package/lib/esm/duet-overlay.entry.js +3 -3
  336. package/lib/esm/duet-page-heading.entry.js +5 -5
  337. package/lib/esm/duet-pagination_2.entry.js +18 -18
  338. package/lib/esm/duet-panel.entry.js +51 -0
  339. package/lib/esm/duet-phone-input.entry.js +4 -4
  340. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  341. package/lib/esm/duet-progress.entry.js +3 -3
  342. package/lib/esm/duet-promo-card.entry.js +7 -7
  343. package/lib/esm/duet-radio_2.entry.js +7 -7
  344. package/lib/esm/duet-range-slider.entry.js +7 -7
  345. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  346. package/lib/esm/duet-section-layout.entry.js +4 -4
  347. package/lib/esm/duet-select.entry.js +9 -9
  348. package/lib/esm/duet-shaped-image.entry.js +4 -4
  349. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  350. package/lib/esm/duet-share-chart.entry.js +8 -8
  351. package/lib/esm/duet-show-more.entry.js +5 -5
  352. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  353. package/lib/esm/duet-slideout-link.entry.js +7 -7
  354. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  355. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  356. package/lib/esm/duet-slideout.entry.js +11 -11
  357. package/lib/esm/duet-status-icon.entry.js +4 -4
  358. package/lib/esm/duet-step_2.entry.js +6 -6
  359. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  360. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  361. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  362. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  363. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  364. package/lib/esm/duet-textarea.entry.js +8 -8
  365. package/lib/esm/duet-toggle.entry.js +6 -6
  366. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  367. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  368. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  369. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  370. package/lib/esm/duet-toolbar.entry.js +4 -4
  371. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  372. package/lib/esm/duet-tooltip.entry.js +5 -5
  373. package/lib/esm/duet-tray.entry.js +6 -6
  374. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  375. package/lib/esm/duet-upload-item.entry.js +6 -6
  376. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  377. package/lib/esm/duet.js +4 -4
  378. package/lib/esm/{errorcodes.utils-jdmUflM5.js → errorcodes.utils-Bre55Njd.js} +1 -1
  379. package/lib/esm/{focus-utils-Fb4Hjq5k.js → focus-utils-vvgYykmM.js} +1 -1
  380. package/lib/esm/{index-CUNSbdt4.js → index-B_VBeM3r.js} +5 -1
  381. package/lib/esm/{label-CSouuUKb.js → label-l-Eza5H3.js} +1 -1
  382. package/lib/esm/{language-utils-fAqNRSrI.js → language-utils-B7PXWqpg.js} +1 -1
  383. package/lib/esm/loader.js +4 -4
  384. package/lib/esm/{slot-utils-CgXzS75x.js → slot-utils-aDCRCdc4.js} +1 -1
  385. package/lib/esm/{themeable-component-EVqsr6Ut.js → themeable-component-DPqozkF4.js} +14 -2
  386. package/lib/esm/{token-utils-orOLyKQw.js → token-utils-BGFYWQ6j.js} +76 -9
  387. package/lib/esm/{tokens-Dvk6bntS.js → tokens-DxV3RbmM.js} +1 -1
  388. package/lib/esm/{tokens.module-D5_4M8f7.js → tokens.module-Z0D6Gy9e.js} +1 -1
  389. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  390. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  391. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  392. package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
  393. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  394. package/lib/types/components.d.ts +123 -4
  395. package/lib/types/utils/token-utils.d.ts +4 -0
  396. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  397. package/package.json +3 -3
  398. package/lib/duet/p-2354e2c1.entry.js +0 -4
  399. package/lib/duet/p-50Jw5Ir2.js +0 -4
  400. package/lib/duet/p-5432f24c.entry.js +0 -4
  401. package/lib/duet/p-710ae64d.entry.js +0 -4
  402. package/lib/duet/p-7a9e6423.entry.js +0 -4
  403. package/lib/duet/p-7c4f010e.entry.js +0 -4
  404. package/lib/duet/p-88773ebf.entry.js +0 -4
  405. package/lib/duet/p-89e6b8d0.entry.js +0 -4
  406. package/lib/duet/p-9d501c34.entry.js +0 -4
  407. package/lib/duet/p-BI7G8d3Z.js +0 -4
  408. package/lib/duet/p-Be6-farU.js +0 -4
  409. package/lib/duet/p-CF5Kkdym.js +0 -4
  410. package/lib/duet/p-DyjhCDQL.js +0 -4
  411. package/lib/duet/p-M3ljdQX1.js +0 -4
  412. package/lib/duet/p-b2c2a24e.entry.js +0 -4
  413. package/lib/duet/p-b314a75a.entry.js +0 -4
  414. package/lib/duet/p-b4569b01.entry.js +0 -4
  415. package/lib/duet/p-d2e1cef2.entry.js +0 -4
  416. package/lib/duet/p-e89e940b.entry.js +0 -4
  417. package/lib/duet/p-ekdrapBY.js +0 -4
  418. package/lib/duet/p-fc319c57.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as i,H as c,g as o}from"./p-CUNSbdt4.js";import{i as d}from"./p-BI7G8d3Z.js";import{c as r}from"./p-Cfr_DJqU.js";import{s as a,u as n,h}from"./p-Db8rvjPI.js";import{g as u}from"./p-B_RHZ7jo.js";import"./p-C6E9F6QT.js";const s=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetRemove=t(this,"duetRemove",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.focus=!1,this.chipId=r("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.variation="button",this.size="medium",this.icon="",this.theme="",this.selected=!1,this.checked=!1,this.disabled=!1,this.accessiblePopup="false",this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=e=>{e.removeEventListener("change",this.onRadioChange),e.removeEventListener("click",this.onRadioClick),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=e=>{e.addEventListener("change",this.onRadioChange),e.addEventListener("click",this.onRadioClick),e.addEventListener("focus",this.onFocus),e.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const e=this.element.querySelector("input"),t=e||document.createElement("input");t.slot="input",t.ariaDisabled=this.disabled?"true":void 0,t.id=this.identifier||this.chipId,t.type="radio",t.name=this.name,t.value=this.value,t.checked=this.checked,t.ariaLabel=this.element.textContent,e?this.radioInputListenersRemove(t):this.element.appendChild(t),this.radioInputListenersAdd(t),this.focusableElement=t},this.popupSetUp=()=>{const e=document.querySelector(`duet-popup-menu#${this.popup}`);if(e){this.popupElement=e,e.controller=this.element;const t=this.element.textContent,i=this.value;e.id||(e.id="popup-menu"),e.addEventListener("duetToggle",(e=>{this.popupOpen=e.detail.open}));const c=()=>{e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.active=!1}))};e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.addEventListener("click",(o=>{var d;const r=null!==(d=e.value)&&void 0!==d?d:e.innerText;e.active?(c(),this.element.textContent=t,this.value=i,this.checked=!1):(c(),e.active=!0,this.element.textContent=e.innerText,this.value=r,this.checked=!0),this.emitChange(o),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=e=>{this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=e=>{this.checked=!this.checked,this.emitChange(e)},this.onRadioChange=e=>{this.checked=this.focusableElement.checked,this.emitChange(e)},this.onRadioClick=e=>{this.disabled&&e.preventDefault()},this.onFilterClick=e=>{if(this.disabled)return e.stopPropagation(),void e.preventDefault();this.popupElement&&(e.stopPropagation(),e.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),this.duetRemove.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()}}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((e=>{e!==this.element&&(e.checked=!1)}))}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}componentWillLoad(){d(this),this.removeDisabledAttributeWhenFalse(),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){n(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${u(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${u(this.selectedForDeletionLabels)}) `:""},`}async setFocus(e){h(),setTimeout((()=>this.focusableElement.focus(e)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var e;const t=this.identifier||this.chipId,o={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},d={onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusableElement=e};return i(c,{key:"fec47aedb512eead9eb64575e8f98b678e53f41d",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"eff19ffc79c16ebd3bacbbdf5fb02ce1feb26c49",class:o},i("button",Object.assign({key:"7e2f2da2eb55db53d182bab0283746543bbf7052",id:t,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?e=>e.stopPropagation():void 0},d),i("span",{key:"8ed98fe02241fe8ba40388532df90c056697a8eb",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"c9e40650866119a9c8609bce2525fb2e0ae7a4b7",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"91d3860bd84c5665487440a84dc7139cc057da9b"}))),"input"===this.variation&&i("span",{key:"0edd53d2a0b5eaf47e8a7ba9260997ab8a893a90",class:o,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"1390d0b60f05efe534ce7a93e0fd1e1013b4fcf7",id:t,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},d),i("span",{key:"a77442337da66dcca7e46eac520ea2601a0f200e",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"a95497c8e5dd1fbeb97715f19678c66448fc3981",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"b4d281bfb01a611d911b4ee1780c1c36df499943"})),i("button",{key:"621d6fc5dc6d2f820ab8f570921ee8335d6992dd",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:e=>this.deleteButtonElement=e},i("duet-icon",{key:"bc8ef1b7a5026b38f088507488e372eb94fe24d3",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"a23d77fb07a75d9dad213738cde1b8f7fc065a75",class:o},i("input",Object.assign({key:"bece465fae4c3428c895cb1e28f5bb370f7226d7","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(e=this.popupElement)||void 0===e?void 0:e.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:t,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),i("label",{key:"c8ca07278535a0735aaf0b3609b057b7b07d73a7",htmlFor:t},this.icon&&i("span",{key:"b2040b8ad45d57cae370db873126f6af04103e35",class:"duet-chip-icon-container"},i("duet-icon",{key:"de63c47bcd290a7bb278d18044dcbb59f3d36bdd",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"e85e6a5937affd776ad433d0fff928e2985606f6",name:"messaging-checked-small",size:"large"===this.size?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"be966f534808d4c13283c7a428b8bd5f220f57ac"}),this.popupElement&&i("span",{key:"1f3d21e7eba82aa859081602aa42a9f84d320de2",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"af6883b215be51bbfd4d4a763f9a7f93a3196368",name:"action-arrow-down-small",size:"large"===this.size?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"30bd7e485658623c6bb9ee6f72f6e90a145fcd62",class:o},i("slot",{key:"da5cb9135a68d3d76a81d5c129b4065dc79dcb58",name:"input"}),i("label",{key:"bc19df62252b9a253d26bc989c6c8120c89d56a3",htmlFor:t},this.icon&&i("span",{key:"d35af1432d982b9ba952abed1395b90748501f11",class:"duet-chip-icon-container"},i("duet-icon",{key:"d75598a3891d73aaac169b59201294c462fe3e5c",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"88a3bbd9d095a53fef6b723f96fc3818b28889db",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"7c2b2e07d9b91726f23248f13abe2c7a0816ddfe"}))))}get element(){return o(this)}static get watchers(){return{checked:["clearOtherRadioButtons"],disabled:["removeDisabledAttributeWhenFalse"]}}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fbe1d1;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#d8ae96}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fbe1d1;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}';export{s as duet_chip}
4
+ import{r as e,c as t,h as i,H as c,g as o}from"./p-B_VBeM3r.js";import{i as d}from"./p-DdwVwK5C.js";import{c as r}from"./p-Cfr_DJqU.js";import{s as a,u as n,h}from"./p-Db8rvjPI.js";import{g as u}from"./p-BaR6ufr4.js";import"./p-C6E9F6QT.js";const s=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetRemove=t(this,"duetRemove",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.focus=!1,this.chipId=r("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.variation="button",this.size="medium",this.icon="",this.theme="",this.selected=!1,this.checked=!1,this.disabled=!1,this.accessiblePopup="false",this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=e=>{e.removeEventListener("change",this.onRadioChange),e.removeEventListener("click",this.onRadioClick),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=e=>{e.addEventListener("change",this.onRadioChange),e.addEventListener("click",this.onRadioClick),e.addEventListener("focus",this.onFocus),e.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const e=this.element.querySelector("input"),t=e||document.createElement("input");t.slot="input",t.ariaDisabled=this.disabled?"true":void 0,t.id=this.identifier||this.chipId,t.type="radio",t.name=this.name,t.value=this.value,t.checked=this.checked,t.ariaLabel=this.element.textContent,e?this.radioInputListenersRemove(t):this.element.appendChild(t),this.radioInputListenersAdd(t),this.focusableElement=t},this.popupSetUp=()=>{const e=document.querySelector(`duet-popup-menu#${this.popup}`);if(e){this.popupElement=e,e.controller=this.element;const t=this.element.textContent,i=this.value;e.id||(e.id="popup-menu"),e.addEventListener("duetToggle",(e=>{this.popupOpen=e.detail.open}));const c=()=>{e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.active=!1}))};e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.addEventListener("click",(o=>{var d;const r=null!==(d=e.value)&&void 0!==d?d:e.innerText;e.active?(c(),this.element.textContent=t,this.value=i,this.checked=!1):(c(),e.active=!0,this.element.textContent=e.innerText,this.value=r,this.checked=!0),this.emitChange(o),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=e=>{this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=e=>{this.checked=!this.checked,this.emitChange(e)},this.onRadioChange=e=>{this.checked=this.focusableElement.checked,this.emitChange(e)},this.onRadioClick=e=>{this.disabled&&e.preventDefault()},this.onFilterClick=e=>{if(this.disabled)return e.stopPropagation(),void e.preventDefault();this.popupElement&&(e.stopPropagation(),e.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),this.duetRemove.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()}}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((e=>{e!==this.element&&(e.checked=!1)}))}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}componentWillLoad(){d(this),this.removeDisabledAttributeWhenFalse(),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){n(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${u(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${u(this.selectedForDeletionLabels)}) `:""},`}async setFocus(e){h(),setTimeout((()=>this.focusableElement.focus(e)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var e;const t=this.identifier||this.chipId,o={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},d={onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusableElement=e};return i(c,{key:"fec47aedb512eead9eb64575e8f98b678e53f41d",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"eff19ffc79c16ebd3bacbbdf5fb02ce1feb26c49",class:o},i("button",Object.assign({key:"7e2f2da2eb55db53d182bab0283746543bbf7052",id:t,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?e=>e.stopPropagation():void 0},d),i("span",{key:"8ed98fe02241fe8ba40388532df90c056697a8eb",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"c9e40650866119a9c8609bce2525fb2e0ae7a4b7",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"91d3860bd84c5665487440a84dc7139cc057da9b"}))),"input"===this.variation&&i("span",{key:"0edd53d2a0b5eaf47e8a7ba9260997ab8a893a90",class:o,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"1390d0b60f05efe534ce7a93e0fd1e1013b4fcf7",id:t,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},d),i("span",{key:"a77442337da66dcca7e46eac520ea2601a0f200e",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"a95497c8e5dd1fbeb97715f19678c66448fc3981",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"b4d281bfb01a611d911b4ee1780c1c36df499943"})),i("button",{key:"621d6fc5dc6d2f820ab8f570921ee8335d6992dd",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:e=>this.deleteButtonElement=e},i("duet-icon",{key:"bc8ef1b7a5026b38f088507488e372eb94fe24d3",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"a23d77fb07a75d9dad213738cde1b8f7fc065a75",class:o},i("input",Object.assign({key:"bece465fae4c3428c895cb1e28f5bb370f7226d7","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(e=this.popupElement)||void 0===e?void 0:e.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:t,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),i("label",{key:"c8ca07278535a0735aaf0b3609b057b7b07d73a7",htmlFor:t},this.icon&&i("span",{key:"b2040b8ad45d57cae370db873126f6af04103e35",class:"duet-chip-icon-container"},i("duet-icon",{key:"de63c47bcd290a7bb278d18044dcbb59f3d36bdd",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"e85e6a5937affd776ad433d0fff928e2985606f6",name:"messaging-checked-small",size:"large"===this.size?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"be966f534808d4c13283c7a428b8bd5f220f57ac"}),this.popupElement&&i("span",{key:"1f3d21e7eba82aa859081602aa42a9f84d320de2",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"af6883b215be51bbfd4d4a763f9a7f93a3196368",name:"action-arrow-down-small",size:"large"===this.size?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"30bd7e485658623c6bb9ee6f72f6e90a145fcd62",class:o},i("slot",{key:"da5cb9135a68d3d76a81d5c129b4065dc79dcb58",name:"input"}),i("label",{key:"bc19df62252b9a253d26bc989c6c8120c89d56a3",htmlFor:t},this.icon&&i("span",{key:"d35af1432d982b9ba952abed1395b90748501f11",class:"duet-chip-icon-container"},i("duet-icon",{key:"d75598a3891d73aaac169b59201294c462fe3e5c",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"88a3bbd9d095a53fef6b723f96fc3818b28889db",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"7c2b2e07d9b91726f23248f13abe2c7a0816ddfe"}))))}get element(){return o(this)}static get watchers(){return{checked:["clearOtherRadioButtons"],disabled:["removeDisabledAttributeWhenFalse"]}}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fbe1d1;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#d8ae96}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fbe1d1;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}';export{s as duet_chip}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as o,H as i,g as a}from"./p-B_VBeM3r.js";import{D as r}from"./p-DyXNfxdT.js";import{i as s}from"./p-DdwVwK5C.js";import{c as l}from"./p-Cfr_DJqU.js";import{c as n,p as d}from"./p-KocOARXM.js";import{p as c}from"./p-C6E9F6QT.js";function p(e){return"options"in e}function h(e,t){for(var o=0;o<e.length;o++){let i=e[o];if(p(i)&&(i=h(i.options,t)),i&&i.value===t)return i}}const u=class{constructor(o){e(this,o),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.selectId=l("DuetSelect"),this.errorId=l("DuetError"),this.labelId=l("DuetLabel"),this.topCaptionId=l("DuetCaptionTop"),this.topCaptionPlaceholderId=l("DuetCaptionPlaceholderTop"),this.proxyId=l("DuetSelect"),this.processedItems=null,this.variation="default",this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.theme="",this.labelHidden=!1,this.placeholder="",this.echoPlaceholder=!1,this.disabled=!1,this.required=!1,this.label="label",this.tooltip="",this.tooltipDirection="auto",this.onClick=e=>{e.stopPropagation()},this.onChange=()=>{this.value=this.nativeSelect.value,this.duetChange.emit({value:this.value,component:"duet-select"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,value:this.value,component:"duet-select"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,value:this.value,component:"duet-select"})},this.getDescribedBy=()=>{const e=[];return this.isCaptionVisible&&this.topCaptionId&&e.push(this.topCaptionId),this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null}}valueChanged(){this.nativeSelect&&(this.nativeSelect.value=this.value),this.isCaptionVisible=!!this.caption}componentWillLoad(){s(this),this.isCaptionVisible=!!this.caption,n(this.element,"tooltip","duet-tooltip",1,!0),this.refresh()}componentDidRender(){d(this.element,this.proxyId,this.name,this.value,this.required,void 0)}async setFocus(e){this.nativeSelect&&this.nativeSelect.focus(e)}async refresh(){this.processedItems=c(this.items)}getSelectedItemLabel(){let e;return this.processedItems&&(e=h(this.processedItems,this.value)),e?e.label:this.placeholder||""}renderOption(e){return o("option",{"aria-label":e.ariaLabel,value:e.value,key:e.value,selected:this.value===e.value,disabled:e.disabled},e.label)}renderOptionGroup(e){return o("optgroup",{key:e.label,label:e.label,disabled:e.disabled},e.options.map((e=>this.renderOption(e))))}render(){const e=this.identifier||this.selectId;return o(i,{key:"3d3bc7d84000806ae8fab973ba04c08a25dc0c2f",onClick:this.onClick,class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand,[`duet-select-variation-${this.variation}`]:!0}},o("div",{key:"fe0f4b2d68a812713191449693d63fa56513164e",class:{"duet-select-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,[`duet-select-variation-${this.variation}`]:!0,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},o(r,{key:"a44feea69dd179e6c27685de9074cf3fa966b571",theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&o("duet-tooltip",{key:"7a3d46b3f60d283ecfa474b05a918fa8c505d1aa",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"3566d83ece8668e83b0ccde241ed49418ed941e4",name:"tooltip"}),this.caption&&o("duet-caption",{key:"709ed39dea050b314217f5de4190535166a82f3c",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"cf8a14439328e37ccc1d41c38190c18414b894ea",class:"duet-select-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&o("duet-caption",{key:"1b439a475ac5a6220bbab2d93f827c089a7a5c7b",id:this.topCaptionPlaceholderId,class:"duet-select-placeholder",size:"small"},this.placeholder),o("slot",{key:"15182f28fa38955377dc822ab7d8ff61238cb4d8"}),o("select",{key:"99ca572fb0b31f28659712b18accef2b30225d4a",ref:e=>this.nativeSelect=e,disabled:this.disabled,name:this.name,id:e,role:this.role,"aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,required:this.required},this.placeholder&&o("option",{key:"8e7c047411a37cd3a8a82415566d6f73e71a5533",disabled:!0,selected:!0,value:""},this.placeholder),this.processedItems?this.processedItems.map((e=>p(e)?this.renderOptionGroup(e):this.renderOption(e))):o("option",null,"Virhe valintoja ladattaessa. Päivitä sivu ja kokeile uusiksi.")),o("div",{key:"05ac432d89ce773e077f01f7b272484f110f10db",class:{"duet-select":!0,[`duet-select-variation-${this.variation}`]:!0},"aria-hidden":"true"},o("span",{key:this.value,class:"duet-select-selected-value"},this.getSelectedItemLabel()),"default"===this.variation&&o("svg",{key:"3c6969c19468b5a26e8cc95ec2947442dcebc42a",role:"img",class:"duet-select-icon",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"36c334a0f8ce00a2b0099d3941570f8526d15dbb",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))||o("duet-icon",{key:"f0698dcc03bf523766986c548fa5cad2a6b1875c",theme:this.theme,name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"compact"===this.variation?"xxx-small":"xx-small"})),o("span",{key:"ae2878e5f962708b0a8cdcf15e22c79e9b26f9d5",class:"duet-keep-container-height",role:"presention","aria-hidden":"true"},"_")),o("span",{key:"9f818a79660ccb1e79c0b5160541da183d5b371e",class:"duet-select-help duet-select-error",id:this.errorId,"aria-live":this.accessibleLiveError,"aria-atomic":"true","aria-relevant":"additions removals"},this.error&&o("span",{key:"38b9169e9a7418f193b97512f6303a8e90215e06"},this.error))))}get element(){return a(this)}static get watchers(){return{value:["valueChanged"],items:["refresh"]}}};u.style='.duet-internal-label{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;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;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}*,*::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-flex;width:100%;max-width:100%;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(:not(.duet-m-0)){margin-right:16px !important;margin-bottom:12px !important}:host(:not(.duet-m-0)):last-child,:host(:not(.duet-m-0)):last-of-type{margin-right:0 !important}@media (min-width: 36em){:host(.duet-expand){width:100% !important}}:host(.duet-select-variation-tiny),:host(.duet-select-variation-compact){position:relative;top:-2px;width:72px;margin:0;vertical-align:baseline}:host(.duet-select-variation-compact){width:auto}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:#172a3b !important;background:#f5f6f7 !important;border-color:#f5f6f7 !important;-webkit-text-fill-color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-select{color:#172a3b;border-color:#7891a4}:host(.duet-theme-turva2) .duet-theme-turva .duet-select svg{color:#172a3b}';export{u as duet_select}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as r}from"./p-CUNSbdt4.js";import{i as o}from"./p-BI7G8d3Z.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default"}componentWillLoad(){o(this)}render(){const e="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return t(a,{key:"7aff9d26246442226a860046ad6d014a08aa6c76"},t("nav",{key:"19079cdb9549232dfdc702fd977e2849ee79e8ca",class:{"duet-toolbar":!0,"duet-theme-turva":"turva"===this.theme,[e]:!0},"aria-label":this.accessibleLabel},t("div",{key:"7ee83aa822b796e1a53cae7ffc125f1fea77ae9f",class:"container"},t("div",{key:"bcb6e4c5697022626e667668e278c87345b27818",class:"list",role:"list"},t("slot",{key:"ec7431ce75918e738428ea84df15b37b0d677a1a",name:"left"})),t("div",{key:"63383dea0804d123a38543cd5f24155f39aac829",class:"list",role:"list"},t("slot",{key:"e1743a0c9c978c06a7728d32af604ed2754ddb0c",name:"right"})))))}get element(){return r(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva .container{border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva.primary{background:#e61740}";export{n as duet_toolbar}
4
+ import{r as e,h as t,H as a,g as r}from"./p-B_VBeM3r.js";import{i as o}from"./p-DdwVwK5C.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default"}componentWillLoad(){o(this)}render(){const e="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return t(a,{key:"d09fa625eaa0a62a319e2ce34e24dfd33007b353"},t("nav",{key:"e0cefc23438745c64618d52fb2a7a842f65a8087",class:{"duet-toolbar":!0,"duet-theme-turva":"turva"===this.theme,[e]:!0},"aria-label":this.accessibleLabel},t("div",{key:"0f9047f89f861b03b53c9f7b24c975af3a846f0e",class:"container"},t("div",{key:"3476fceb8e8be124a473f4c959763c1da9aa27a5",class:"list",role:"list"},t("slot",{key:"a18d367ca5aa63a9dfc969e3b6951bb63e45d1e9",name:"left"})),t("div",{key:"6cc9f7958b933bc2ccd91b9d4711c0b4a446b469",class:"list",role:"list"},t("slot",{key:"c850cff27a2b664300cc468c5bc255cb030db51c",name:"right"})))))}get element(){return r(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva .container{border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva.primary{background:#e61740}";export{n as duet_toolbar}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as a}from"./p-CUNSbdt4.js";import{i as r}from"./p-BI7G8d3Z.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){r(this)}render(){const e="negative"===this.variation?"negative":"white";return t(o,{key:"c214fa4fa47b5c8073b9407dfc1822c0edf03365",role:"listitem"},t("a",{key:"69c83eff8cd8e1241877496ee6e8eeacd62e7b0f",class:{"duet-toolbar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[e]:!0},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{key:"38796101a4e6e08f1a5987db11a0a7c633399280",size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"1c477d047a03d6bfa6360adb614c98d663129014"})))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva{color:#172a3b;background:transparent}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover{color:#172a3b;background:#fdf7f2}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva::after{background:#e61740}:host(.duet-theme-turva2) .duet-toolbar-link.active.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative{background:rgba(23, 42, 59, 0.2)}';export{n as duet_toolbar_link}
4
+ import{r as e,h as t,H as o,g as a}from"./p-B_VBeM3r.js";import{i as r}from"./p-DdwVwK5C.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){r(this)}render(){const e="negative"===this.variation?"negative":"white";return t(o,{key:"3892831234a833b4a247d3de3f9a66c30135e5a2",role:"listitem"},t("a",{key:"7f8a8e206d7775ed92ab5936304cc4c4aea4147a",class:{"duet-toolbar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[e]:!0},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{key:"8c58a04f9ee135ee12d4b32aee1c43d5b0e9f18b",size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"c6a1605ebb2b6d099a87e430792730aceeb9230a"})))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva{color:#172a3b;background:transparent}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover{color:#172a3b;background:#fdf7f2}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva::after{background:#e61740}:host(.duet-theme-turva2) .duet-toolbar-link.active.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative{background:rgba(23, 42, 59, 0.2)}';export{n as duet_toolbar_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as r}from"./p-CUNSbdt4.js";import{i as s}from"./p-BI7G8d3Z.js";import{f as i}from"./p-B_RHZ7jo.js";import{g as o}from"./p-Be6-farU.js";import{g as h}from"./p-DyjhCDQL.js";import"./p-C6E9F6QT.js";import"./p-D5_4M8f7.js";const l=class{constructor(t){e(this,t),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}updateChartItems(){const e=o(this.element).filter((e=>"duet-share-chart-item"===e.tagName.toLocaleLowerCase()));this.items=e.map(((e,t)=>({text:e.textContent,value:e.value,color:e.color||this.defaultColors[t%this.defaultColors.length]}))),this.itemsTotalValue=this.items.reduce(((e,{value:t})=>e+t),0)}render(){return t(a,{key:"671f6f586796dc3264cf403646df1d769ac940bd"},t("div",{key:"f59aa7deae73c2b130c212788034aa94eee5eb57",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.map((e=>t("span",{class:"duet-share-chart-share",style:{width:e.value/this.itemsTotalValue*100+"%",backgroundColor:h(e.color,this.theme)}})))),t("ul",{key:"a4888ff590ab3ada0461d299a07a8a8aaa3d6814",class:"duet-share-chart-item-list"},this.items.map((e=>t("li",{class:{"duet-theme-turva":"turva"===this.theme}},t("span",{class:"duet-share-chart-item-color",style:{background:h(e.color,this.theme)}}),t("span",{class:"duet-share-chart-item-text"},e.text,":"),t("span",{class:"duet-share-chart-item-value"}," ",i(e.value)," ",this.unit),"%"!==this.unit&&t("duet-visually-hidden",null,`${i(e.value/this.itemsTotalValue*100,0)} %`))))),t("slot",{key:"604b181d29d49759f2ff4b9e5a530842101efded"}))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';export{l as duet_share_chart}
4
+ import{r as e,h as t,H as a,g as r}from"./p-B_VBeM3r.js";import{i as s}from"./p-DdwVwK5C.js";import{f as i}from"./p-BaR6ufr4.js";import{g as o}from"./p-KocOARXM.js";import{g as h}from"./p-Dr2j33H2.js";import"./p-C6E9F6QT.js";import"./p-Z0D6Gy9e.js";const l=class{constructor(t){e(this,t),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}updateChartItems(){const e=o(this.element).filter((e=>"duet-share-chart-item"===e.tagName.toLocaleLowerCase()));this.items=e.map(((e,t)=>({text:e.textContent,value:e.value,color:e.color||this.defaultColors[t%this.defaultColors.length]}))),this.itemsTotalValue=this.items.reduce(((e,{value:t})=>e+t),0)}render(){return t(a,{key:"ecdd674f7aafaac0d6ce2b92ffee521d33f04f54"},t("div",{key:"162f5b9eab9a30df3861a97264691d3796500286",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.map((e=>t("span",{class:"duet-share-chart-share",style:{width:e.value/this.itemsTotalValue*100+"%",backgroundColor:h(e.color,this.theme)}})))),t("ul",{key:"fbfb17146f550b7812355d34f4a0c44b667f1a58",class:"duet-share-chart-item-list"},this.items.map((e=>t("li",{class:{"duet-theme-turva":"turva"===this.theme}},t("span",{class:"duet-share-chart-item-color",style:{background:h(e.color,this.theme)}}),t("span",{class:"duet-share-chart-item-text"},e.text,":"),t("span",{class:"duet-share-chart-item-value"}," ",i(e.value)," ",this.unit),"%"!==this.unit&&t("duet-visually-hidden",null,`${i(e.value/this.itemsTotalValue*100,0)} %`))))),t("slot",{key:"79fc779211d3b265620226647dcbd3508ad3c86c"}))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';export{l as duet_share_chart}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as i}from"./p-CUNSbdt4.js";import{i as o}from"./p-BI7G8d3Z.js";import{c as d}from"./p-Cfr_DJqU.js";import{h as s}from"./p-Be6-farU.js";const n=class{constructor(t){e(this,t),this.errorId=d("DuetError"),this.labelId=d("DuetLabel"),this.hasTooltip=!1,this.lastItemIsChip=!1,this.theme="",this.margin="auto",this.compactLabel=!1,this.accessibleLiveError="polite",this.labelHeadingLevel="span",this.labelHidden=!1,this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.checkLastItem=()=>{if(this.element){const e=this.element.lastElementChild;this.lastItemIsChip=!!e&&"DUET-CHIP"===e.nodeName}}}connectedCallback(){this.checkLastItem()}componentWillLoad(){o(this),this.checkHasTooltip()}render(){return t(a,{key:"076936b60dd66fa8bb513f6aaadf86120092cefa",class:{"duet-m-0":"none"===this.margin}},t("fieldset",{key:"d4874ff584f7ab378b41df3ee8d073bd1a2dd1ec","aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{key:"7a9bdbb5b527b4edbaf0db71470f710da6810288",id:this.labelId},t(this.labelHeadingLevel,{key:"a438129b00c7930cbd0c7a73488c66b66acb0a45"},this.label),this.caption&&t("span",{key:"5983948b527a865afc3beab987d5edc194b6c31d"},this.caption)),t("div",{key:"93b710340d6b343bf537ada55061d986c550cc1a",class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{key:"1ea6435a3d7df0ecac602c2b62dc3550dfb93714",class:"duet-fieldset-label"},t("span",{key:"d57374901ce9fe948da8f7806d84aa8698619d49","aria-hidden":"true"},this.label),t("slot",{key:"bb9063c1a1f044910fb9ed5a09b7124892b35aae",onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{key:"2a217a213bb99d85f23d22a045317d4c0b28d47d",class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{key:"b286a98fe49f0112f85ab1c1467c83442ba24eee",theme:this.theme,margin:"none"},this.caption))),t("slot",{key:"7ca13c72b24b6ed4b8b9a37fc3a16786abda5cc6"}),t("span",{key:"ef0873457b1a239d43fa2a2a60ab6a8c3cfc6b94",class:"duet-fieldset-help duet-fieldset-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",{key:"77b745f51b535685987767788a059036730c0788",class:{"duet-m-0":this.lastItemIsChip}},this.error))))}get element(){return i(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-fieldset-help span.duet-m-0{margin-top:0}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-legend-wrapper{color:#172a3b}';export{n as duet_fieldset}
4
+ import{r as e,h as t,H as i,g as a}from"./p-B_VBeM3r.js";import{i as o}from"./p-DdwVwK5C.js";import{c as d}from"./p-Cfr_DJqU.js";import{h as s}from"./p-KocOARXM.js";const n=class{constructor(t){e(this,t),this.errorId=d("DuetError"),this.labelId=d("DuetLabel"),this.hasTooltip=!1,this.lastItemIsChip=!1,this.theme="",this.margin="auto",this.compactLabel=!1,this.accessibleLiveError="polite",this.labelHeadingLevel="span",this.labelHidden=!1,this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.checkLastItem=()=>{if(this.element){const e=this.element.lastElementChild;this.lastItemIsChip=!!e&&"DUET-CHIP"===e.nodeName}}}connectedCallback(){this.checkLastItem()}componentWillLoad(){o(this),this.checkHasTooltip()}render(){return t(i,{key:"c761c38f09035452c65fd2a660bc83eb9f0325a7",class:{"duet-m-0":"none"===this.margin}},t("fieldset",{key:"c62cd3a0354883251b153612cd9a685059205638","aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{key:"a67feca7ba42a9de83e3eacfa41bb9c53de0185d",id:this.labelId},t(this.labelHeadingLevel,{key:"98598e545d1ac5d30cead1818c2831285e21fd59"},this.label),this.caption&&t("span",{key:"44d72ba880fb2ba4b2e9826389ca0b23a4c09446"},this.caption)),t("div",{key:"d6680f823096d1510778845d46bcf10f3070064c",class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{key:"126ab7bb76240a4da7d9b647955a8a804875e375",class:"duet-fieldset-label"},t("span",{key:"ff60e083f1776471163c59d196d5a98e32279456","aria-hidden":"true"},this.label),t("slot",{key:"06eb238c6e9921dca17ca43ae38a1de2351af119",onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{key:"5a7a0bcb4167f6ffbf89880060e05f82e032012b",class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{key:"7781c0787fe4ff082d80e9bc2e7ea2280da13d7e",theme:this.theme,margin:"none"},this.caption))),t("slot",{key:"d6227947f219d39ca25e5a3ac582e4459e58d504"}),t("span",{key:"ecf7f364237951e9bceacf067e854118b5676009",class:"duet-fieldset-help duet-fieldset-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",{key:"e7a456498d709f36eba051c5ce891f5b9b39c5fb",class:{"duet-m-0":this.lastItemIsChip}},this.error))))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-fieldset-help span.duet-m-0{margin-top:0}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-legend-wrapper{color:#172a3b}';export{n as duet_fieldset}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const t="duet",e={cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.2.2"};var n=Object.defineProperty,o={isServer:!1},l=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(l||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",c="serialized:",u=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},f=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},a=(t,e)=>e in t,d=(t,e)=>(0,console.error)(t,e),h=new Map,p=new Map,v="s-id",$="sty-id",m="c-id",b="slot-fb{display:contents}slot-fb[hidden]{display:none}",y="http://www.w3.org/1999/xlink",g="undefined"!=typeof window?window:{},w={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},S=t=>Promise.resolve(t),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),O=!!j&&(()=>!!g.document&&Object.getOwnPropertyDescriptor(g.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],N=[],E=(t,e)=>n=>{t.push(n),k||(k=!0,e&&4&w.o?M(I):w.raf(I))},C=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){d(t)}t.length=0},I=()=>{C(x),C(N),(k=x.length>0)&&w.raf(I)},M=t=>S().then(t),R=E(N,!0),T=t=>"object"==(t=typeof t)||"function"===t;function L(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var P=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,l]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,s=t.fromLocalValue(l);e.set(o,s)}return e;case"object":const l={};for(const[e,n]of o)l[e]=t.fromLocalValue(n);return l;case"regexp":const{pattern:s,flags:r}=o;return RegExp(s,r);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...l,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};((t,e)=>{for(var o in e)n(t,o,{get:e[o],enumerable:!0})})({},{err:()=>F,map:()=>U,ok:()=>A,unwrap:()=>D,unwrapErr:()=>_});var A=t=>({isOk:!0,isErr:!1,value:t}),F=t=>({isOk:!1,isErr:!0,value:t});function U(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>A(t))):A(n)}if(t.isErr)return F(t.value);throw"should never get here"}var B,D=t=>{if(t.isOk)return t.value;throw t.value},_=t=>{if(t.isErr)return t.value;throw t.value};function V(t){const e=this.attachShadow({mode:"open",delegatesFocus:!!(16&t.o)});void 0===B&&(B=null),B&&(O?e.adoptedStyleSheets.push(B):e.adoptedStyleSheets=[...e.adoptedStyleSheets,B])}var W=t=>{const e=et(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&z(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!q(t,G(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&et(t,"childNodes").length&&W(t)}},H=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function z(t,e,n){let o,l=0,s=[];for(;l<t.length;l++)o=t[l],!o["s-sr"]||e&&o["s-hn"]!==e||void 0!==n||s.push(o),s=[...s,...z(o.childNodes,e,n)];return s}var q=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)G(l)!==e||!n&&l["s-sr"]||o.push(l);return o},J=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Y=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,r=et(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=et(s,"childNodes"),e=[l];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=e["s-hn"]},G=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function K(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:H(l.childNodes)).forEach((t=>{o===G(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}var Q=t=>{class e extends Array{item(t){return this[t]}}tt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),tt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),tt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),tt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...H(this.__childNodes)),t}})},X=["children","nextElementSibling","previousElementSibling"],Z=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function tt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;X.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Z.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function et(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var nt=new WeakMap,ot=(t,e,n)=>{let o=p.get(t);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,p.set(t,o)},lt=(t,e)=>{var n;const o=st(e),l=p.get(o);if(!g.document)return o;if(t=11===t.nodeType?t:g.document,l)if("string"==typeof l){let s,r=nt.get(t=t.head||t);if(r||nt.set(t,r=new Set),!r.has(o)){if(t.host&&(s=t.querySelector(`[${$}="${o}"]`)))s.innerHTML=l;else{s=g.document.createElement("style"),s.innerHTML=l;const o=null!=(n=w.i)?n:L(g.document);if(null!=o&&s.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(j){const e=new CSSStyleSheet;e.replaceSync(l),O?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=b),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(O?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o},st=t=>"sc-"+t.u,rt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),it=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!T(o))&&(o+=""),r&&i?c[c.length-1].h+=o:c.push(r?ct(null,o):o),i=r)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,ft);const f=ct(t,null);return f.p=e,c.length>0&&(f.v=c),f.$=l,f.m=s,f},ct=(t,e)=>({o:0,S:t,h:e,j:null,v:null,p:null,$:null,m:null}),ut={},ft={forEach:(t,e)=>t.map(at).forEach(e),map:(t,e)=>t.map(at).map(e).map(dt)},at=t=>({vattrs:t.p,vchildren:t.v,vkey:t.$,vname:t.m,vtag:t.S,vtext:t.h}),dt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),it(t.vtag,e,...t.vchildren||[])}const e=ct(t.vtag,t.vtext);return e.p=t.vattrs,e.v=t.vchildren,e.$=t.vkey,e.m=t.vname,e},ht=(t,e,n,o,l,s,r,i=[])=>{let c,u,f,a;const d=l["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(m),c&&(u=c.split("."),u[0]===r||"0"===u[0])){f=vt({o:0,O:u[0],k:u[1],N:u[2],C:u[3],S:s.tagName.toLowerCase(),j:s,p:{class:s.className||""}}),e.push(f),s.removeAttribute(m),t.v||(t.v=[]),d&&u[0]===r&&(s["s-si"]=d,f.p.class+=" "+d);const l=f.j.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===f.S&&($t(l,u[2],f,s,t,e,n,o,i),d&&s.classList.add(d)),f.j["s-sn"]=l,f.j.removeAttribute("s-sn")),void 0!==f.C&&(t.v[f.C]=f),t=f,o&&"0"===f.N&&(o[f.C]=f.j)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)ht(t,e,n,o,l,s.shadowRoot.childNodes[a],r,i);const h=s.__childNodes||s.childNodes;for(a=h.length-1;a>=0;a--)ht(t,e,n,o,l,h[a],r,i)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===r||"0"===u[1])&&(c=u[0],f=vt({O:u[1],k:u[2],N:u[3],C:u[4]||"0",j:s,p:null,v:null,$:null,m:null,S:null,h:null}),"t"===c?(f.j=bt(s,3),f.j&&3===f.j.nodeType&&(f.h=f.j.textContent,e.push(f),s.remove(),r===f.O&&(t.v||(t.v=[]),t.v[f.C]=f),o&&"0"===f.N&&(o[f.C]=f.j))):"c"===c?(f.j=bt(s,8),f.j&&8===f.j.nodeType&&(e.push(f),s.remove())):f.O===r&&("s"===c?$t(s["s-sn"]=u[5]||"",u[2],f,s,t,e,n,o,i):"r"===c&&(o?s.remove():(l["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.S){const e=ct(null,s.textContent);e.j=s,e.C="0",t.v=[e]}else 3!==s.nodeType||s.wholeText.trim()||s["s-nr"]||s.remove();return t},pt=(t,e)=>{if(1===t.nodeType){const n=t[v]||t.getAttribute(v);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)pt(t.shadowRoot.childNodes[o],e);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)pt(l[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},vt=t=>({o:0,O:null,k:null,N:null,C:"0",j:null,p:null,v:null,$:null,m:null,S:null,h:null,...t});function $t(t,e,n,o,l,s,r,i,c){o["s-sr"]=!0,n.m=t||null,n.S="slot";const u=(null==l?void 0:l.j)?l.j["s-id"]||l.j.getAttribute("s-id"):"";if(i&&g.document){const s=n.j=g.document.createElement(n.S);n.m&&n.j.setAttribute("name",t),l.j.shadowRoot&&u&&u!==n.O?et(l.j,"insertBefore")(s,et(l.j,"children")[0]):et(et(o,"parentNode"),"insertBefore")(s,o),mt(c,e,t,o,n.O),o.remove(),"0"===n.N&&(i[n.C]=n.j)}else{const s=n.j,r=u&&u!==n.O&&l.j.shadowRoot;mt(c,e,t,o,r?u:n.O),K(o),r&&l.j.insertBefore(s,l.j.children[0])}s.push(n),r.push(n),l.v||(l.v=[]),l.v[n.C]=n}var mt=(t,e,n,o,l)=>{var s,r;let i=o.nextSibling;if(t[e]=t[e]||[],i&&!(null==(s=i.nodeValue)?void 0:s.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,t[e].push({slot:o,node:i,hostId:l})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))},bt=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},yt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};yt("::slotted"),yt(":host"),yt(":host-context");var gt,wt,St,jt=(t,e)=>{if("string"==typeof t&&t.startsWith(c))return function(t){return"string"==typeof t&&t.startsWith(c)?P.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t);if("string"==typeof t&&(16&e||8&e)&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return null==t||T(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},Ot=t=>{var e;return null==(e=u(t))?void 0:e.$hostElement$},kt=(t,e,n)=>{const o=Ot(t);return{emit:t=>xt(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},xt=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},Nt=(t,e,n,o,l,s,r)=>{if(n===o)return;let i=a(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=Ct(n);let s=Ct(o);if((t["s-si"]||t["s-sc"])&&r){const n=t["s-sc"]||t["s-si"];s.push(n),l.forEach((t=>{t.startsWith(n)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=T(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(y,e):t.removeAttribute(e)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(y,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):a(g,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(It);e=e.replace(Mt,""),n&&w.rel(t,e,n,l),o&&w.ael(t,e,o,l)}},Et=/\s/,Ct=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Et):[]),It="Capture",Mt=RegExp(It+"$"),Rt=(t,e,n,o)=>{const l=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.p||{},r=e.p||{};for(const t of Tt(Object.keys(s)))t in r||Nt(l,t,s[t],void 0,n,e.o,o);for(const t of Tt(Object.keys(r)))Nt(l,t,s[t],r[t],n,e.o,o)};function Tt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Lt=!1,Pt=!1,At=!1,Ft=!1,Ut=(t,e,n)=>{var o;const l=e.v[n];let s,r,i,c=0;if(Lt||(At=!0,"slot"===l.S&&(l.o|=l.v?2:1)),null!==l.h)s=l.j=g.document.createTextNode(l.h);else if(1&l.o)s=l.j=g.document.createTextNode(""),Rt(null,l,Ft);else{if(Ft||(Ft="svg"===l.S),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=l.j=g.document.createElementNS(Ft?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Lt&&2&l.o?"slot-fb":l.S),Ft&&"foreignObject"===l.S&&(Ft=!1),Rt(null,l,Ft),null!=gt&&void 0!==gt&&s["s-si"]!==gt&&s.classList.add(s["s-si"]=gt),l.v)for(c=0;c<l.v.length;++c)r=Ut(t,l,c),r&&s.appendChild(r);"svg"===l.S?Ft=!1:"foreignObject"===s.tagName&&(Ft=!0)}return s["s-hn"]=St,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=wt,s["s-sn"]=l.m||"",s["s-rf"]=null==(o=l.p)?void 0:o.ref,K(s),i=t&&t.v&&t.v[n],i&&i.S===l.S&&t.j&&Bt(t.j,!1),Gt(wt,s,e.j,null==t?void 0:t.j)),s},Bt=(t,e)=>{w.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==St&&o["s-ol"]&&(Yt(Wt(o).parentNode,o,Wt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,At=!0),e&&Bt(o,e)}w.o&=-2},Dt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===St&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=Ut(null,n,l),r&&(o[l].j=r,Yt(i,r,Wt(e))))},_t=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.j;Jt(e),t&&(Pt=!0,t["s-ol"]?t["s-ol"].remove():Bt(t,!0),t.remove())}}},Vt=(t,e,n=!1)=>t.S===e.S&&("slot"===t.S?t.m===e.m:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Wt=t=>t&&t["s-ol"]||t,Ht=(t,e,n=!1)=>{const o=e.j=t.j,l=t.v,s=e.v,r=e.S,i=e.h;let c;null===i?(Rt(t,e,Ft="svg"===r||"foreignObject"!==r&&Ft,n),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],$=o[p];for(;i<=a&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--p];else if(Vt(d,v,l))Ht(d,v,l),d=e[++i],v=o[++c];else if(Vt(h,$,l))Ht(h,$,l),h=e[--a],$=o[--p];else if(Vt(d,$,l))"slot"!==d.S&&"slot"!==$.S||Bt(d.j.parentNode,!1),Ht(d,$,l),Yt(t,d.j,h.j.nextSibling),d=e[++i],$=o[--p];else if(Vt(h,v,l))"slot"!==d.S&&"slot"!==$.S||Bt(h.j.parentNode,!1),Ht(h,v,l),Yt(t,h.j,d.j),h=e[--a],v=o[++c];else{for(u=-1,f=i;f<=a;++f)if(e[f]&&null!==e[f].$&&e[f].$===v.$){u=f;break}u>=0?(r=e[u],r.S!==v.S?s=Ut(e&&e[c],n,u):(Ht(r,v,l),e[u]=void 0,s=r.j),v=o[++c]):(s=Ut(e&&e[c],n,c),v=o[++c]),s&&Yt(Wt(d.j).parentNode,s,Wt(d.j))}i>a?Dt(t,null==o[p+1]?null:o[p+1].j,n,o,c,p):c>p&&_t(e,i,a)})(o,l,e,s,n):null!==s?(null!==t.h&&(o.textContent=""),Dt(o,null,e,s,0,s.length-1)):n||null===l?n&&null!==l&&null===s&&(e.v=l):_t(l,0,l.length-1),Ft&&"svg"===r&&(Ft=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.h!==i&&(o.data=i)},zt=[],qt=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(J(e,l)){let n=zt.find((t=>t.I===e));Pt=!0,e["s-sn"]=e["s-sn"]||l,n?(n.I["s-sh"]=t["s-hn"],n.M=t):(e["s-sh"]=t["s-hn"],zt.push({M:t,I:e})),e["s-sr"]&&zt.map((t=>{J(t.I,e["s-sn"])&&(n=zt.find((t=>t.I===e)),n&&!t.M&&(t.M=n.M))}))}else zt.some((t=>t.I===e))||zt.push({I:e})}1===t.nodeType&&qt(t)}},Jt=t=>{t.p&&t.p.ref&&t.p.ref(null),t.v&&t.v.map(Jt)},Yt=(t,e,n)=>("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"]&&Gt(e["s-cr"],e,t,e.parentElement),null==t?void 0:t.insertBefore(e,n));function Gt(t,e,n,o){var l,s;let r;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(r=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(l=n.classList)||l.add(r+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(r+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(r+"-s")}}}var Kt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.R=()=>{e["s-p"].splice(n-1,1),o()})))}},Qt=(t,e)=>{if(t.o|=16,4&t.o)return void(t.o|=512);Kt(t,t.T);const n=()=>Xt(t,e);if(!e)return R(n);queueMicrotask((()=>{n()}))},Xt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.o|=256,t.L&&(t.L.map((([t,e])=>se(o,t,e,n))),t.L=void 0),l=se(o,"componentWillLoad",void 0,n)):l=se(o,"componentWillUpdate",void 0,n),l=Zt(l,(()=>se(o,"componentWillRender",void 0,n))),Zt(l,(()=>ee(t,o,e)))},Zt=(t,e)=>te(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),te=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ee=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.P,n=t.$hostElement$,o=e.o,l=lt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ne(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>oe(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},ne=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.P,u=t.A||ct(null,null),f=(t=>t&&t.S===ut)(e)?e:it(null,null,e);if(St=i.tagName,c.F&&(f.p=f.p||{},c.F.map((([t,e])=>f.p[e]=i[t]))),n&&f.p)for(const t of Object.keys(f.p))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.p[t]=i[t]);if(f.S=null,f.o|=4,t.A=f,f.j=u.j=i.shadowRoot||i,gt=i["s-sc"],Lt=!(!(1&c.o)||128&c.o),wt=i["s-cr"],Pt=!1,Ht(u,f,n),w.o|=1,At){qt(f.j);for(const t of zt){const e=t.I;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,Yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of zt){const e=t.I,i=t.M;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),Yt(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}Pt&&W(f.j),w.o&=-2,zt.length=0,wt=void 0})(t,e,o)}catch(e){d(e,t.$hostElement$)}return null},oe=t=>{const e=t.$hostElement$,n=t.t,o=t.T;se(n,"componentDidRender",void 0,e),64&t.o?se(n,"componentDidUpdate",void 0,e):(t.o|=64,re(e),se(n,"componentDidLoad",void 0,e),t.U(e),o||le()),t.B(e),t.R&&(t.R(),t.R=void 0),512&t.o&&M((()=>Qt(t,!1))),t.o&=-517},le=()=>{var e;M((()=>xt(g,"appload",{detail:{namespace:t}}))),(null==(e=w.D)?void 0:e.size)&&w.D.clear()},se=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){d(t,o)}},re=t=>t.classList.add("hydrated"),ie=(t,e,n,o)=>{const l=u(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.u}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=l.$hostElement$,r=l._.get(e),i=l.o,c=l.t;if(n=jt(n,o.V[e][0]),(!(8&i)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(l._.set(e,n),c)){if(o.W&&128&i){const t=o.W[e];t&&t.map((t=>{try{c[t](n,r,e)}catch(t){d(t,s)}}))}if(2==(18&i)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,r,e))return;Qt(l,!1)}}},ce=(t,e,n)=>{var o,l;const s=t.prototype;if(e.V||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(o=e.V)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:l,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};l&&(e.V[t][0]|=2048),r&&(e.V[t][0]|=4096),(1&n||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.V[t][0]))return((t,e)=>u(this)._.get(e))(0,t);const n=u(this),o=n?n.t:s;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(l){const s=u(this);if(s){if(r){const n=32&o?this[t]:s.$hostElement$[t];return void 0===n&&s._.get(t)?l=s._.get(t):!s._.get(t)&&n&&s._.set(t,n),r.call(this,jt(l,o)),void ie(this,t,l=32&o?this[t]:s.$hostElement$[t],e)}{if(!(1&n&&4096&e.V[t][0]))return ie(this,t,l,e),void(1&n&&!s.t&&s.H.then((()=>{4096&e.V[t][0]&&s.t[t]!==s._.get(t)&&(s.t[t]=l)})));const r=()=>{const n=s.t[t];!s._.get(t)&&n&&s._.set(t,n),s.t[t]=jt(l,o),ie(this,t,s.t[t],e)};s.t?r():s.H.then((()=>r()))}}}})}else 1&n&&64&o&&Object.defineProperty(s,t,{value(...e){var n;const o=u(this);return null==(n=null==o?void 0:o.q)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(t,o,l){w.jmp((()=>{var r;const i=n.get(t);if(this.hasOwnProperty(i))l=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==l)return;if(null==i){const n=u(this),s=null==n?void 0:n.o;if(n&&s&&!(8&s)&&128&s&&l!==o){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,l,o,t)}))}return}}const c=Object.getOwnPropertyDescriptor(s,i);(l=(null!==l||"boolean"!=typeof this[i])&&l)===this[i]||c.get&&!c.set||(this[i]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.W)?l:{}),...r.filter((([t,e])=>31&e[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e.F)||l.push([t,s])),s}))]))}}return t},ue=(t,e)=>{se(t,"connectedCallback",void 0,e)},fe=t=>{if(!(1&w.o)){const e=u(t);if(!e)return;const n=e.P,o=()=>{};if(1&e.o)ve(t,e,n.J),(null==e?void 0:e.t)?ue(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>ue(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(v),o){if(1&n.o){const e=lt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.o){const e=st(n);t["s-sc"]=e}((t,e,n,o)=>{var l,s,r;const i=t.shadowRoot,c=[],f=[],a=[],d=i?[]:null,h=ct(e,null);let p;h.j=t,Object.entries((null==(l=o.P)?void 0:l.V)||{}).forEach((([e,[n,l]])=>{var s;if(!(31&n))return;const r=t.getAttribute(l||e);if(null!==r){const t=jt(r,n);null==(s=null==o?void 0:o._)||s.set(e,t)}}));{const e=o.P;e&&10&e.o&&t["s-sc"]?(p=t["s-sc"],t.classList.add(p+"-h")):t["s-sc"]&&delete t["s-sc"]}!g.document||w.D&&w.D.size||pt(g.document.body,w.D=new Map),t[v]=n,t.removeAttribute(v),o.A=ht(h,c,f,d,t,t,n,a);let $=0;const m=c.length;let b;for(;$<m;$++){b=c[$];const n=b.O+"."+b.k,o=w.D.get(n),l=b.j;if(i){if((null==(s=b.S)?void 0:(""+s).includes("-"))&&"slot-fb"!==b.S&&!b.j.shadowRoot){const e=u(b.j);if(e){const n=st(e.P),o=g.document.querySelector(`style[sty-id="${n}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else l["s-hn"]=e.toUpperCase(),"slot"===b.S&&(l["s-cr"]=t["s-cr"]);"slot"===b.S&&(b.m=b.j["s-sn"]||b.j.name||null,b.v?(b.o|=2,b.j.childNodes.length||b.v.forEach((t=>{b.j.appendChild(t.j)}))):b.o|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),i||(l["s-oo"]=parseInt(b.k))),o&&!o["s-id"]&&w.D.delete(n)}const y=[],S=a.length;let j,O,k,x,N=0;for(;N<S;N++)if(j=a[N],j&&j.length)for(k=j.length,O=0;O<k;O++){if(x=j[O],y[x.hostId]||(y[x.hostId]=w.D.get(x.hostId)),!y[x.hostId])continue;const t=y[x.hostId];t.shadowRoot&&x.node.parentElement!==t&&t.appendChild(x.node),t.shadowRoot&&i||(x.slot["s-cr"]||(x.slot["s-cr"]=t["s-cr"],x.slot["s-cr"]=!x.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),Y(x.node,x.slot,0,x.node["s-oo"]),(null==(r=x.node.parentElement)?void 0:r.shadowRoot)&&x.node.getAttribute&&x.node.getAttribute("slot")&&x.node.removeAttribute("slot"))}if(p&&f.length&&f.forEach((t=>{t.j.parentElement.classList.add(p+"-s")})),i){let e=0;const n=d.length;if(n){for(;e<n;e++){const t=d[e];t&&i.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType&&!t.nodeValue||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,n.u,o,e)}o||12&n.o&&ae(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Kt(e,e.T=n);break}}n.V&&Object.entries(n.V).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),M((()=>(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.Y){const l=((t,e)=>{const n=t.u.replace(/-/g,"_"),o=t.Y;if(!o)return;const l=h.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(h.set(o,t),t[n])),(t=>{d(t,e.$hostElement$)}))
4
+ const t="duet",e={cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.2.4"};var n=Object.defineProperty,o={isServer:!1},l=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(l||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",c="serialized:",u=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},f=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},a=(t,e)=>e in t,d=(t,e)=>(0,console.error)(t,e),h=new Map,p=new Map,v="s-id",$="sty-id",m="c-id",b="slot-fb{display:contents}slot-fb[hidden]{display:none}",y="http://www.w3.org/1999/xlink",g="undefined"!=typeof window?window:{},w={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},S=t=>Promise.resolve(t),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),O=!!j&&(()=>!!g.document&&Object.getOwnPropertyDescriptor(g.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],N=[],E=(t,e)=>n=>{t.push(n),k||(k=!0,e&&4&w.o?M(I):w.raf(I))},C=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){d(t)}t.length=0},I=()=>{C(x),C(N),(k=x.length>0)&&w.raf(I)},M=t=>S().then(t),R=E(N,!0),T=t=>"object"==(t=typeof t)||"function"===t;function L(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var P=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,l]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,s=t.fromLocalValue(l);e.set(o,s)}return e;case"object":const l={};for(const[e,n]of o)l[e]=t.fromLocalValue(n);return l;case"regexp":const{pattern:s,flags:r}=o;return RegExp(s,r);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...l,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};((t,e)=>{for(var o in e)n(t,o,{get:e[o],enumerable:!0})})({},{err:()=>F,map:()=>U,ok:()=>A,unwrap:()=>D,unwrapErr:()=>_});var A=t=>({isOk:!0,isErr:!1,value:t}),F=t=>({isOk:!1,isErr:!0,value:t});function U(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>A(t))):A(n)}if(t.isErr)return F(t.value);throw"should never get here"}var B,D=t=>{if(t.isOk)return t.value;throw t.value},_=t=>{if(t.isErr)return t.value;throw t.value};function V(t){const e=this.attachShadow({mode:"open",delegatesFocus:!!(16&t.o)});void 0===B&&(B=null),B&&(O?e.adoptedStyleSheets.push(B):e.adoptedStyleSheets=[...e.adoptedStyleSheets,B])}var W=t=>{const e=et(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&z(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!q(t,G(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&et(t,"childNodes").length&&W(t)}},H=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function z(t,e,n){let o,l=0,s=[];for(;l<t.length;l++)o=t[l],!o["s-sr"]||e&&o["s-hn"]!==e||void 0!==n||s.push(o),s=[...s,...z(o.childNodes,e,n)];return s}var q=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)G(l)!==e||!n&&l["s-sr"]||o.push(l);return o},J=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Y=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,r=et(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=et(s,"childNodes"),e=[l];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=e["s-hn"]},G=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function K(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:H(l.childNodes)).forEach((t=>{o===G(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}var Q=t=>{class e extends Array{item(t){return this[t]}}tt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),tt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),tt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),tt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...H(this.__childNodes)),t}})},X=["children","nextElementSibling","previousElementSibling"],Z=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function tt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;X.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Z.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function et(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var nt=new WeakMap,ot=(t,e,n)=>{let o=p.get(t);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,p.set(t,o)},lt=(t,e)=>{var n;const o=st(e),l=p.get(o);if(!g.document)return o;if(t=11===t.nodeType?t:g.document,l)if("string"==typeof l){let s,r=nt.get(t=t.head||t);if(r||nt.set(t,r=new Set),!r.has(o)){if(t.host&&(s=t.querySelector(`[${$}="${o}"]`)))s.innerHTML=l;else{s=g.document.createElement("style"),s.innerHTML=l;const o=null!=(n=w.i)?n:L(g.document);if(null!=o&&s.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(j){const e=new CSSStyleSheet;e.replaceSync(l),O?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=b),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(O?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o},st=t=>"sc-"+t.u,rt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),it=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!T(o))&&(o+=""),r&&i?c[c.length-1].h+=o:c.push(r?ct(null,o):o),i=r)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,ft);const f=ct(t,null);return f.p=e,c.length>0&&(f.v=c),f.$=l,f.m=s,f},ct=(t,e)=>({o:0,S:t,h:e,j:null,v:null,p:null,$:null,m:null}),ut={},ft={forEach:(t,e)=>t.map(at).forEach(e),map:(t,e)=>t.map(at).map(e).map(dt)},at=t=>({vattrs:t.p,vchildren:t.v,vkey:t.$,vname:t.m,vtag:t.S,vtext:t.h}),dt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),it(t.vtag,e,...t.vchildren||[])}const e=ct(t.vtag,t.vtext);return e.p=t.vattrs,e.v=t.vchildren,e.$=t.vkey,e.m=t.vname,e},ht=(t,e,n,o,l,s,r,i=[])=>{let c,u,f,a;const d=l["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(m),c&&(u=c.split("."),u[0]===r||"0"===u[0])){f=vt({o:0,O:u[0],k:u[1],N:u[2],C:u[3],S:s.tagName.toLowerCase(),j:s,p:{class:s.className||""}}),e.push(f),s.removeAttribute(m),t.v||(t.v=[]),d&&u[0]===r&&(s["s-si"]=d,f.p.class+=" "+d);const l=f.j.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===f.S&&($t(l,u[2],f,s,t,e,n,o,i),d&&s.classList.add(d)),f.j["s-sn"]=l,f.j.removeAttribute("s-sn")),void 0!==f.C&&(t.v[f.C]=f),t=f,o&&"0"===f.N&&(o[f.C]=f.j)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)ht(t,e,n,o,l,s.shadowRoot.childNodes[a],r,i);const h=s.__childNodes||s.childNodes;for(a=h.length-1;a>=0;a--)ht(t,e,n,o,l,h[a],r,i)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===r||"0"===u[1])&&(c=u[0],f=vt({O:u[1],k:u[2],N:u[3],C:u[4]||"0",j:s,p:null,v:null,$:null,m:null,S:null,h:null}),"t"===c?(f.j=bt(s,3),f.j&&3===f.j.nodeType&&(f.h=f.j.textContent,e.push(f),s.remove(),r===f.O&&(t.v||(t.v=[]),t.v[f.C]=f),o&&"0"===f.N&&(o[f.C]=f.j))):"c"===c?(f.j=bt(s,8),f.j&&8===f.j.nodeType&&(e.push(f),s.remove())):f.O===r&&("s"===c?$t(s["s-sn"]=u[5]||"",u[2],f,s,t,e,n,o,i):"r"===c&&(o?s.remove():(l["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.S){const e=ct(null,s.textContent);e.j=s,e.C="0",t.v=[e]}else 3!==s.nodeType||s.wholeText.trim()||s["s-nr"]||s.remove();return t},pt=(t,e)=>{if(1===t.nodeType){const n=t[v]||t.getAttribute(v);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)pt(t.shadowRoot.childNodes[o],e);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)pt(l[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},vt=t=>({o:0,O:null,k:null,N:null,C:"0",j:null,p:null,v:null,$:null,m:null,S:null,h:null,...t});function $t(t,e,n,o,l,s,r,i,c){o["s-sr"]=!0,n.m=t||null,n.S="slot";const u=(null==l?void 0:l.j)?l.j["s-id"]||l.j.getAttribute("s-id"):"";if(i&&g.document){const s=n.j=g.document.createElement(n.S);n.m&&n.j.setAttribute("name",t),l.j.shadowRoot&&u&&u!==n.O?et(l.j,"insertBefore")(s,et(l.j,"children")[0]):et(et(o,"parentNode"),"insertBefore")(s,o),mt(c,e,t,o,n.O),o.remove(),"0"===n.N&&(i[n.C]=n.j)}else{const s=n.j,r=u&&u!==n.O&&l.j.shadowRoot;mt(c,e,t,o,r?u:n.O),K(o),r&&l.j.insertBefore(s,l.j.children[0])}s.push(n),r.push(n),l.v||(l.v=[]),l.v[n.C]=n}var mt=(t,e,n,o,l)=>{var s,r;let i=o.nextSibling;if(t[e]=t[e]||[],i&&!(null==(s=i.nodeValue)?void 0:s.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,t[e].push({slot:o,node:i,hostId:l})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))},bt=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},yt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};yt("::slotted"),yt(":host"),yt(":host-context");var gt,wt,St,jt=(t,e)=>{if("string"==typeof t&&t.startsWith(c))return function(t){return"string"==typeof t&&t.startsWith(c)?P.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t);if("string"==typeof t&&(16&e||8&e)&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return null==t||T(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},Ot=t=>{var e;return null==(e=u(t))?void 0:e.$hostElement$},kt=(t,e,n)=>{const o=Ot(t);return{emit:t=>xt(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},xt=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},Nt=(t,e,n,o,l,s,r)=>{if(n===o)return;let i=a(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=Ct(n);let s=Ct(o);if((t["s-si"]||t["s-sc"])&&r){const n=t["s-sc"]||t["s-si"];s.push(n),l.forEach((t=>{t.startsWith(n)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=T(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(y,e):t.removeAttribute(e)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(y,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):a(g,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(It);e=e.replace(Mt,""),n&&w.rel(t,e,n,l),o&&w.ael(t,e,o,l)}},Et=/\s/,Ct=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Et):[]),It="Capture",Mt=RegExp(It+"$"),Rt=(t,e,n,o)=>{const l=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.p||{},r=e.p||{};for(const t of Tt(Object.keys(s)))t in r||Nt(l,t,s[t],void 0,n,e.o,o);for(const t of Tt(Object.keys(r)))Nt(l,t,s[t],r[t],n,e.o,o)};function Tt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Lt=!1,Pt=!1,At=!1,Ft=!1,Ut=(t,e,n)=>{var o;const l=e.v[n];let s,r,i,c=0;if(Lt||(At=!0,"slot"===l.S&&(l.o|=l.v?2:1)),null!==l.h)s=l.j=g.document.createTextNode(l.h);else if(1&l.o)s=l.j=g.document.createTextNode(""),Rt(null,l,Ft);else{if(Ft||(Ft="svg"===l.S),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=l.j=g.document.createElementNS(Ft?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Lt&&2&l.o?"slot-fb":l.S),Ft&&"foreignObject"===l.S&&(Ft=!1),Rt(null,l,Ft),null!=gt&&void 0!==gt&&s["s-si"]!==gt&&s.classList.add(s["s-si"]=gt),l.v)for(c=0;c<l.v.length;++c)r=Ut(t,l,c),r&&s.appendChild(r);"svg"===l.S?Ft=!1:"foreignObject"===s.tagName&&(Ft=!0)}return s["s-hn"]=St,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=wt,s["s-sn"]=l.m||"",s["s-rf"]=null==(o=l.p)?void 0:o.ref,K(s),i=t&&t.v&&t.v[n],i&&i.S===l.S&&t.j&&Bt(t.j,!1),Gt(wt,s,e.j,null==t?void 0:t.j)),s},Bt=(t,e)=>{w.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==St&&o["s-ol"]&&(Yt(Wt(o).parentNode,o,Wt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,At=!0),e&&Bt(o,e)}w.o&=-2},Dt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===St&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=Ut(null,n,l),r&&(o[l].j=r,Yt(i,r,Wt(e))))},_t=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.j;Jt(e),t&&(Pt=!0,t["s-ol"]?t["s-ol"].remove():Bt(t,!0),t.remove())}}},Vt=(t,e,n=!1)=>t.S===e.S&&("slot"===t.S?t.m===e.m:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Wt=t=>t&&t["s-ol"]||t,Ht=(t,e,n=!1)=>{const o=e.j=t.j,l=t.v,s=e.v,r=e.S,i=e.h;let c;null===i?(Rt(t,e,Ft="svg"===r||"foreignObject"!==r&&Ft,n),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],$=o[p];for(;i<=a&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--p];else if(Vt(d,v,l))Ht(d,v,l),d=e[++i],v=o[++c];else if(Vt(h,$,l))Ht(h,$,l),h=e[--a],$=o[--p];else if(Vt(d,$,l))"slot"!==d.S&&"slot"!==$.S||Bt(d.j.parentNode,!1),Ht(d,$,l),Yt(t,d.j,h.j.nextSibling),d=e[++i],$=o[--p];else if(Vt(h,v,l))"slot"!==d.S&&"slot"!==$.S||Bt(h.j.parentNode,!1),Ht(h,v,l),Yt(t,h.j,d.j),h=e[--a],v=o[++c];else{for(u=-1,f=i;f<=a;++f)if(e[f]&&null!==e[f].$&&e[f].$===v.$){u=f;break}u>=0?(r=e[u],r.S!==v.S?s=Ut(e&&e[c],n,u):(Ht(r,v,l),e[u]=void 0,s=r.j),v=o[++c]):(s=Ut(e&&e[c],n,c),v=o[++c]),s&&Yt(Wt(d.j).parentNode,s,Wt(d.j))}i>a?Dt(t,null==o[p+1]?null:o[p+1].j,n,o,c,p):c>p&&_t(e,i,a)})(o,l,e,s,n):null!==s?(null!==t.h&&(o.textContent=""),Dt(o,null,e,s,0,s.length-1)):n||null===l?n&&null!==l&&null===s&&(e.v=l):_t(l,0,l.length-1),Ft&&"svg"===r&&(Ft=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.h!==i&&(o.data=i)},zt=[],qt=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(J(e,l)){let n=zt.find((t=>t.I===e));Pt=!0,e["s-sn"]=e["s-sn"]||l,n?(n.I["s-sh"]=t["s-hn"],n.M=t):(e["s-sh"]=t["s-hn"],zt.push({M:t,I:e})),e["s-sr"]&&zt.map((t=>{J(t.I,e["s-sn"])&&(n=zt.find((t=>t.I===e)),n&&!t.M&&(t.M=n.M))}))}else zt.some((t=>t.I===e))||zt.push({I:e})}1===t.nodeType&&qt(t)}},Jt=t=>{t.p&&t.p.ref&&t.p.ref(null),t.v&&t.v.map(Jt)},Yt=(t,e,n)=>("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"]&&Gt(e["s-cr"],e,t,e.parentElement),null==t?void 0:t.insertBefore(e,n));function Gt(t,e,n,o){var l,s;let r;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(r=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(l=n.classList)||l.add(r+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(r+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(r+"-s")}}}var Kt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.R=()=>{e["s-p"].splice(n-1,1),o()})))}},Qt=(t,e)=>{if(t.o|=16,4&t.o)return void(t.o|=512);Kt(t,t.T);const n=()=>Xt(t,e);if(!e)return R(n);queueMicrotask((()=>{n()}))},Xt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.o|=256,t.L&&(t.L.map((([t,e])=>se(o,t,e,n))),t.L=void 0),l=se(o,"componentWillLoad",void 0,n)):l=se(o,"componentWillUpdate",void 0,n),l=Zt(l,(()=>se(o,"componentWillRender",void 0,n))),Zt(l,(()=>ee(t,o,e)))},Zt=(t,e)=>te(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),te=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ee=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.P,n=t.$hostElement$,o=e.o,l=lt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ne(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>oe(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},ne=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.P,u=t.A||ct(null,null),f=(t=>t&&t.S===ut)(e)?e:it(null,null,e);if(St=i.tagName,c.F&&(f.p=f.p||{},c.F.map((([t,e])=>f.p[e]=i[t]))),n&&f.p)for(const t of Object.keys(f.p))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.p[t]=i[t]);if(f.S=null,f.o|=4,t.A=f,f.j=u.j=i.shadowRoot||i,gt=i["s-sc"],Lt=!(!(1&c.o)||128&c.o),wt=i["s-cr"],Pt=!1,Ht(u,f,n),w.o|=1,At){qt(f.j);for(const t of zt){const e=t.I;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,Yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of zt){const e=t.I,i=t.M;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),Yt(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}Pt&&W(f.j),w.o&=-2,zt.length=0,wt=void 0})(t,e,o)}catch(e){d(e,t.$hostElement$)}return null},oe=t=>{const e=t.$hostElement$,n=t.t,o=t.T;se(n,"componentDidRender",void 0,e),64&t.o?se(n,"componentDidUpdate",void 0,e):(t.o|=64,re(e),se(n,"componentDidLoad",void 0,e),t.U(e),o||le()),t.B(e),t.R&&(t.R(),t.R=void 0),512&t.o&&M((()=>Qt(t,!1))),t.o&=-517},le=()=>{var e;M((()=>xt(g,"appload",{detail:{namespace:t}}))),(null==(e=w.D)?void 0:e.size)&&w.D.clear()},se=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){d(t,o)}},re=t=>t.classList.add("hydrated"),ie=(t,e,n,o)=>{const l=u(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.u}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=l.$hostElement$,r=l._.get(e),i=l.o,c=l.t;if(n=jt(n,o.V[e][0]),(!(8&i)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(l._.set(e,n),c)){if(o.W&&128&i){const t=o.W[e];t&&t.map((t=>{try{c[t](n,r,e)}catch(t){d(t,s)}}))}if(2==(18&i)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,r,e))return;Qt(l,!1)}}},ce=(t,e,n)=>{var o,l;const s=t.prototype;if(e.V||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(o=e.V)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:l,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};l&&(e.V[t][0]|=2048),r&&(e.V[t][0]|=4096),(1&n||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.V[t][0]))return((t,e)=>u(this)._.get(e))(0,t);const n=u(this),o=n?n.t:s;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(l){const s=u(this);if(s){if(r){const n=32&o?this[t]:s.$hostElement$[t];return void 0===n&&s._.get(t)?l=s._.get(t):!s._.get(t)&&n&&s._.set(t,n),r.call(this,jt(l,o)),void ie(this,t,l=32&o?this[t]:s.$hostElement$[t],e)}{if(!(1&n&&4096&e.V[t][0]))return ie(this,t,l,e),void(1&n&&!s.t&&s.H.then((()=>{4096&e.V[t][0]&&s.t[t]!==s._.get(t)&&(s.t[t]=l)})));const r=()=>{const n=s.t[t];!s._.get(t)&&n&&s._.set(t,n),s.t[t]=jt(l,o),ie(this,t,s.t[t],e)};s.t?r():s.H.then((()=>r()))}}}})}else 1&n&&64&o&&Object.defineProperty(s,t,{value(...e){var n;const o=u(this);return null==(n=null==o?void 0:o.q)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(t,o,l){w.jmp((()=>{var r;const i=n.get(t);if(this.hasOwnProperty(i))l=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==l)return;if(null==i){const n=u(this),s=null==n?void 0:n.o;if(n&&s&&!(8&s)&&128&s&&l!==o){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,l,o,t)}))}return}}const c=Object.getOwnPropertyDescriptor(s,i);(l=(null!==l||"boolean"!=typeof this[i])&&l)===this[i]||c.get&&!c.set||(this[i]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.W)?l:{}),...r.filter((([t,e])=>31&e[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e.F)||l.push([t,s])),s}))]))}}return t},ue=(t,e)=>{se(t,"connectedCallback",void 0,e)},fe=t=>{if(!(1&w.o)){const e=u(t);if(!e)return;const n=e.P,o=()=>{};if(1&e.o)ve(t,e,n.J),(null==e?void 0:e.t)?ue(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>ue(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(v),o){if(1&n.o){const e=lt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.o){const e=st(n);t["s-sc"]=e}((t,e,n,o)=>{var l,s,r;const i=t.shadowRoot,c=[],f=[],a=[],d=i?[]:null,h=ct(e,null);let p;h.j=t,Object.entries((null==(l=o.P)?void 0:l.V)||{}).forEach((([e,[n,l]])=>{var s;if(!(31&n))return;const r=t.getAttribute(l||e);if(null!==r){const t=jt(r,n);null==(s=null==o?void 0:o._)||s.set(e,t)}}));{const e=o.P;e&&10&e.o&&t["s-sc"]?(p=t["s-sc"],t.classList.add(p+"-h")):t["s-sc"]&&delete t["s-sc"]}!g.document||w.D&&w.D.size||pt(g.document.body,w.D=new Map),t[v]=n,t.removeAttribute(v),o.A=ht(h,c,f,d,t,t,n,a);let $=0;const m=c.length;let b;for(;$<m;$++){b=c[$];const n=b.O+"."+b.k,o=w.D.get(n),l=b.j;if(i){if((null==(s=b.S)?void 0:(""+s).includes("-"))&&"slot-fb"!==b.S&&!b.j.shadowRoot){const e=u(b.j);if(e){const n=st(e.P),o=g.document.querySelector(`style[sty-id="${n}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else l["s-hn"]=e.toUpperCase(),"slot"===b.S&&(l["s-cr"]=t["s-cr"]);"slot"===b.S&&(b.m=b.j["s-sn"]||b.j.name||null,b.v?(b.o|=2,b.j.childNodes.length||b.v.forEach((t=>{b.j.appendChild(t.j)}))):b.o|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),i||(l["s-oo"]=parseInt(b.k))),o&&!o["s-id"]&&w.D.delete(n)}const y=[],S=a.length;let j,O,k,x,N=0;for(;N<S;N++)if(j=a[N],j&&j.length)for(k=j.length,O=0;O<k;O++){if(x=j[O],y[x.hostId]||(y[x.hostId]=w.D.get(x.hostId)),!y[x.hostId])continue;const t=y[x.hostId];t.shadowRoot&&x.node.parentElement!==t&&t.appendChild(x.node),t.shadowRoot&&i||(x.slot["s-cr"]||(x.slot["s-cr"]=t["s-cr"],x.slot["s-cr"]=!x.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),Y(x.node,x.slot,0,x.node["s-oo"]),(null==(r=x.node.parentElement)?void 0:r.shadowRoot)&&x.node.getAttribute&&x.node.getAttribute("slot")&&x.node.removeAttribute("slot"))}if(p&&f.length&&f.forEach((t=>{t.j.parentElement.classList.add(p+"-s")})),i){let e=0;const n=d.length;if(n){for(;e<n;e++){const t=d[e];t&&i.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType&&!t.nodeValue||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,n.u,o,e)}o||12&n.o&&ae(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Kt(e,e.T=n);break}}n.V&&Object.entries(n.V).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),M((()=>(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.Y){const l=((t,e)=>{const n=t.u.replace(/-/g,"_"),o=t.Y;if(!o)return;const l=h.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(h.set(o,t),t[n])),(t=>{d(t,e.$hostElement$)}))
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.u}#${e.G}" was not found`);o.isProxied||(n.W=o.watchers,ce(o,n,2),o.isProxied=!0);const s=()=>{};e.o|=8;try{new o(e)}catch(e){d(e,t)}e.o&=-9,e.o|=128,s(),ue(e.t,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=st(n);if(!p.has(e)){const o=()=>{};ot(e,t,!!(1&n.o)),o()}}}const l=e.T,s=()=>Qt(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()})(t,e,n)))}o()}},ae=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,Yt(t,e,t.firstChild)},de=(t,e)=>{se(t,"disconnectedCallback",void 0,e||t)},he=(t,e={})=>{var n;if(!g.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=e.exclude||[],s=g.customElements,r=g.document.head,i=r.querySelector("meta[charset]"),c=g.document.createElement("style"),f=[];let a,d=!0;Object.assign(w,e),w.l=new URL(e.resourcesUrl||"./",g.document.baseURI).href,w.o|=2,(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${$}]`);let e=0;for(;e<t.length;e++)ot(t[e].getAttribute($),rt(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((e=>{var n;const r={o:e[0],u:e[1],V:e[2],J:e[3]};4&r.o&&(h=!0),r.V=e[2],r.J=e[3],r.F=[],r.W=null!=(n=e[4])?n:{};const i=r.u,c=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,P:e,_:new Map};n.q=new Promise((t=>n.B=t)),n.H=new Promise((t=>n.U=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.u}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else V.call(t,r)}connectedCallback(){const t=u(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ve(this,t,r.J)),a&&(clearTimeout(a),a=null),d?f.push(this):w.jmp((()=>fe(this))))}disconnectedCallback(){w.jmp((()=>(async t=>{if(!(1&w.o)){const e=u(t);(null==e?void 0:e.K)&&(e.K.map((t=>t())),e.K=void 0),(null==e?void 0:e.t)?de(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>de(e.t,t)))}nt.has(t)&&nt.delete(t),t.shadowRoot&&nt.has(t.shadowRoot)&&nt.delete(t.shadowRoot)})(this))),w.raf((()=>{var t;const e=u(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.A)?void 0:t.j)instanceof Node&&!e.A.j.isConnected&&delete e.A.j}))}componentOnReady(){var t;return null==(t=u(this))?void 0:t.H}};!(1&r.o)&&256&r.o&&Q(c.prototype),r.Y=t[0],l.includes(i)||s.get(i)||(o.push(i),s.define(i,ce(c,r,1)))}))})),o.length>0&&(h&&(c.textContent+=b),c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(n=w.i)?n:L(g.document);null!=t&&c.setAttribute("nonce",t),r.insertBefore(c,i?i.nextSibling:r.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):w.jmp((()=>a=setTimeout(le,30)))},pe=(t,e)=>e,ve=(t,e,n)=>{n&&g.document&&n.map((([n,o,l])=>{const s=me(g.document,t,n),r=$e(e,l),i=be(n);w.ael(s,o,r,i),(e.K=e.K||[]).push((()=>w.rel(s,o,r,i)))}))},$e=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.L=t.L||[]).push([e,n])}catch(e){d(e,t.$hostElement$)}},me=(t,e,n)=>4&n?t:8&n?g:16&n?t.body:e,be=t=>({passive:!!(1&t),capture:!!(2&t)}),ye=t=>w.i=t;export{o as B,e as E,pe as F,ut as H,t as N,he as b,kt as c,Ot as g,it as h,S as p,f as r,ye as s,g as w}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import"./p-CUNSbdt4.js";import{c as t}from"./p-C6E9F6QT.js";const e={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"},n={fi:"€",en:"£",us:"$",sv:"€"},r=["fi","en","sv"],a="fi",o=()=>document.documentElement.lang?document.documentElement.lang.toLowerCase():a,s=(t=o())=>r.includes(t)?t:a,i=(t=o())=>s(t),c=t=>{const r={locale:e[t],money:n[t]};if(r.locale&&r.money)return r;throw new Error(`Locale for "${t}" not found`)},u=e=>{if("string"==typeof e)try{return JSON.parse(t(e))}catch(t){console.log("sanitizeString received a string, that didnt parse to json object",e,t)}return e},l=(t,e)=>{const n=u(t);return e?n[s(e)]:n[i()]},f=(t,e,n=o())=>Intl.NumberFormat(n,{style:"decimal",minimumFractionDigits:null!=e?e:0,maximumFractionDigits:null!=e?e:100}).format(t),m=new Set,d=new WeakMap;new MutationObserver((t=>{let e=a;for(const n of t)if("attributes"===n.type&&"lang"===n.attributeName){e=n.oldValue;break}"false"!==document.documentElement.dataset.duetLangObserve&&m.forEach((t=>{t.language&&(t.language=i()),d.has(t)&&d.get(t).forEach((n=>{t[n.defaults]&&t[n.prop]===t[n.defaults][e]&&(t[n.prop]=l(t[n.defaults]))}))}))})).observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:!0});const g=(t,e)=>{m.add(t),e&&(Array.isArray(e)||(e=[e]),e.some((e=>!(e.prop in t)||!(e.defaults in t)))&&(console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties"),e=e.filter((e=>e.prop in t&&e.defaults in t))),d.set(t,e))},p=t=>{m.delete(t),d.delete(t)};export{i as a,c as b,g as c,p as d,f,l as g,u as s}
4
+ import"./p-B_VBeM3r.js";import{c as t}from"./p-C6E9F6QT.js";const e={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"},n={fi:"€",en:"£",us:"$",sv:"€"},r=["fi","en","sv"],a="fi",o=()=>document.documentElement.lang?document.documentElement.lang.toLowerCase():a,s=(t=o())=>r.includes(t)?t:a,i=(t=o())=>s(t),c=t=>{const r={locale:e[t],money:n[t]};if(r.locale&&r.money)return r;throw new Error(`Locale for "${t}" not found`)},u=e=>{if("string"==typeof e)try{return JSON.parse(t(e))}catch(t){console.log("sanitizeString received a string, that didnt parse to json object",e,t)}return e},l=(t,e)=>{const n=u(t);return e?n[s(e)]:n[i()]},f=(t,e,n=o())=>Intl.NumberFormat(n,{style:"decimal",minimumFractionDigits:null!=e?e:0,maximumFractionDigits:null!=e?e:100}).format(t),m=new Set,d=new WeakMap;new MutationObserver((t=>{let e=a;for(const n of t)if("attributes"===n.type&&"lang"===n.attributeName){e=n.oldValue;break}"false"!==document.documentElement.dataset.duetLangObserve&&m.forEach((t=>{t.language&&(t.language=i()),d.has(t)&&d.get(t).forEach((n=>{t[n.defaults]&&t[n.prop]===t[n.defaults][e]&&(t[n.prop]=l(t[n.defaults]))}))}))})).observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:!0});const g=(t,e)=>{m.add(t),e&&(Array.isArray(e)||(e=[e]),e.some((e=>!(e.prop in t)||!(e.defaults in t)))&&(console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties"),e=e.filter((e=>e.prop in t&&e.defaults in t))),d.set(t,e))},p=t=>{m.delete(t),d.delete(t)};export{i as a,c as b,g as c,p as d,f,l as g,u as s}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{g as o}from"./p-KocOARXM.js";function n(n){const r=n.element.textContent;return n.accessibleLabel?n.accessibleLabel:(n.download||""===n.download)&&r?`${r}. ${n.accessibleLabelDownload}.`:n.external&&r?`${r}. ${n.accessibleLabelExternal}.`:o(n.element).length?r:null}export{n as g}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import"./p-B_VBeM3r.js";const t=t=>{var e,u;const r=null!==(u=null===(e=document.documentElement.attributes.getNamedItem("class"))||void 0===e?void 0:e.value)&&void 0!==u?u:"",d=/(duet-theme-)([a-z0-9]*)/gi.exec(r);if(t.element&&t.element.classList.add("duet-theme-observer"),r.includes("duet-theme-turva2"))return t.theme="turva",void(t.element&&t.element.classList.add("duet-theme-turva2"));d&&"duet-theme-"===d[1]&&(t.theme="default"===d[2]?"":d[2])},e=t=>{const u=Array.from(t.querySelectorAll(".duet-theme-observer"));return t.shadowRoot&&u.push(...e(t.shadowRoot)),u.forEach((t=>{t.shadowRoot&&u.push(...e(t.shadowRoot))})),u};new MutationObserver((t=>{t.forEach((t=>{var u,r,d;if(!(null===(u=t.oldValue)||void 0===u?void 0:u.includes("hydrated")))return;const a=null!==(d=null===(r=document.documentElement.attributes.getNamedItem("class"))||void 0===r?void 0:r.value)&&void 0!==d?d:"",i=/(duet-theme-)([a-z0-9]*)/gi.exec(a),o=(null==i?void 0:i.length)>2&&i[2].startsWith("turva")?"turva":"",v=a.includes("duet-theme-turva2");e(document.body).forEach((t=>{t.theme=o,v?t.classList.add("duet-theme-turva2"):t.classList.remove("duet-theme-turva2")}))}))})).observe(document.documentElement,{subtree:!1,childList:!1,characterData:!1,attributes:!0,attributeFilter:["class"],attributeOldValue:!0});export{t as i}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{m as r,e as t,f as a,g as n,h as e,i as u,j as c,k as o,l as s,t as i}from"./p-Z0D6Gy9e.js";const l={"color-turva2-red-600":"#e61740","color-turva2-red-700":"#b90329","color-turva2-red-800":"#8c001e","color-turva2-gray-00":"#f5f6f7","color-turva2-gray-100":"#d4dde2","color-turva2-gray-200":"#b2c2cd","color-turva2-gray-400":"#7891a4","color-turva2-gray-500":"#5f7a8f","color-turva2-gray-900":"#172a3b"},f=["turva"],g=/[A-Z]/g;function d(r){const t=g.test(r),a=!r.includes("_")&&!r.includes("-")&&!r.includes(" ");return t&&a}function $(r){const t=r.includes("-"),a=r.includes(" ")||r.includes("_"),n="-"===r.charAt(0);return t&&!a&&!n}function y(r=""){return`${r.charAt(0).toUpperCase()}${r.slice(1)}`}function m(r=""){return`${r.charAt(0).toLowerCase()}${r.slice(1)}`}function p(r=""){const t=r.split("-");return t.forEach(((r,a)=>{t[a]=y(r)})),t.join("")}function v(r){return r.charAt(0).toUpperCase()+r.slice(1)}function x(r,t=""){return!t||$(t)||function(r,t=""){return 0===t.indexOf(v(r))||0===t.indexOf(r)}(r,t)?t:`${r}${y(t)}`}function h(r,t){if(r)return["","default"].includes(t)||$(r)&&r.endsWith(`-${t}`)||d(r)&&r.endsWith(y(t))?r:i[`color${p(r)}${v(t)}`]?d(r)?`${r}${y(t)}`:`${r}-${t}`:r}function b(r,t=""){if(!r)return;if(("turva"===t||r.endsWith("-turva"))&&"undefined"!=typeof document&&(null===(a=document.documentElement.attributes.getNamedItem("class"))||void 0===a?void 0:a.value.includes("duet-theme-turva2")))switch(r.replace(/-turva$/,"")){case"primary-lightest":return l["color-turva2-nude-00"];case"primary-lighter":return l["color-turva2-nude-50"];case"primary-light":return l["color-turva2-nude-200"];case"primary":return l["color-turva2-red-600"];case"primary-darker":return l["color-turva2-red-700"];case"primary-dark":return l["color-turva2-red-800"];case"secondary":return l["color-turva2-gray-900"];case"gray-lighter":return l["color-turva2-gray-00"];case"gray-light":return l["color-turva2-gray-100"];case"gray":return l["color-turva2-gray-200"];case"gray-dark":return l["color-turva2-gray-400"];case"gray-darker":return l["color-turva2-gray-500"]}var a;const n=I(r),e=t&&I(r,t);return i[e]||i[n]}function I(r="",t=""){let a=r;return $(r)&&(a=p(a)),a=x("color",a),a=function(r,t){const a=function(r=""){return f.includes(r.toLowerCase())?r.toLowerCase():""}(t).length;return a&&-1===r.indexOf(t)?`${r}${y(t)}`:r}(a,t),a=m(a),a}function k(r){return function(r,t){if(!t)return;let a=t;$(t)&&(a=p(a)),a=x("shadow",a),a=m(a);try{return i[a]}catch(r){return}}(0,r)}function j(r,t){if(!r||0!==t&&!t)return;const a=r.split(",");return`rgba(${parseInt(a[0].slice(4))},${parseInt(a[1])},${parseInt(a[2])},${t})`}function M(r,t){const a=r.split(","),n=-1*t;let e=parseInt(a[0].slice(4)),u=parseInt(a[1]),c=parseInt(a[2]);return e=Math.round((0-e)*n)+e,u=Math.round((0-u)*n)+u,c=Math.round((0-c)*n)+c,e=e<0?0:e,e=e>255?255:e,u=u<0?0:u,u=u>255?255:u,c=c<0?0:c,c=c>255?255:c,`rgb(${e},${u},${c})`}const w=r=>r.substring(1,r.length-1),O={"xxx-small":w(s),"xx-small":w(o),"x-small":w(c),small:w(u),medium:w(e),large:w(n),"x-large":w(a),"xx-large":w(t),"xxx-large":w(r)},Z=Object.keys(O).filter((r=>-1!==r.indexOf("x-small")));Object.keys(O).filter((r=>!Z.includes(r)));export{O as a,Z as b,v as c,k as d,b as g,h as p,j as r,M as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const _="rgb(0, 161, 212)",r="rgb(178, 180, 179)",o="rgb(11, 114, 136)",a="rgb(199, 12, 112)",l="rgb(122, 1, 196)",e="rgb(211, 36, 131)",c="rgb(161, 10, 78)",t="rgb(168, 1, 78)",g="rgb(213, 66, 3)",i="rgb(9, 129, 148)",s="rgb(169, 69, 124)",d="rgb(54, 74, 129)",u="rgb(23, 28, 58)",n="rgb(214, 28, 82)",x="rgb(255, 240, 243)",b="rgb(255, 211, 219)",m="rgb(89, 0, 45)",p="rgb(255, 173, 190)",y="rgb(252, 136, 162)",v="rgb(243, 98, 134)",h="rgb(255, 225, 231)",w="rgb(231, 62, 107)",z="rgb(214, 28, 82)",f="rgb(185, 16, 74)",k="rgb(153, 9, 66)",q="rgb(120, 4, 56)",S="rgb(214, 28, 82)",I="rgb(122, 1, 196)",U="rgb(0, 155, 204)",j="rgb(27, 171, 75)",A="rgb(255, 86, 34)",E="rgb(245, 76, 154)",B="rgb(194, 21, 101)",C="rgb(192, 101, 247)",F="rgb(0, 105, 191)",H="rgb(19, 120, 53)",M="rgb(179, 60, 24)",R="rgb(13, 163, 166)",O="rgb(11, 114, 136)",D="rgb(179, 137, 24)",G="rgb(128, 98, 17)",J="rgb(0, 41, 77)",K="rgb(181, 198, 208)",L="rgb(127, 150, 165)",N="rgb(143, 147, 158)",P="rgb(98, 121, 138)",Q="rgb(113, 118, 132)",T="rgb(212, 223, 229)",V="rgb(222, 224, 228)",W="rgb(245, 248, 250)",X="rgb(245, 247, 250)",Y="rgb(255, 255, 255)",Z="rgb(255, 255, 255)",$="rgb(199, 202, 207)",__="rgb(240, 247, 250)",r_="rgb(217, 236, 245)",o_="rgb(8, 42, 77)",a_="rgb(198, 225, 238)",l_="rgb(172, 210, 229)",e_="rgb(131, 188, 217)",c_="rgb(228, 241, 247)",t_="rgb(50, 153, 204)",g_="rgb(0, 119, 179)",i_="rgb(0, 97, 155)",s_="rgb(0, 75, 129)",d_="rgb(3, 56, 102)",u_="rgb(245, 248, 250)",n_="rgb(212, 223, 229)",x_="rgb(17, 28, 38)",b_="rgb(181, 198, 208)",m_="rgb(153, 174, 186)",p_="rgb(127, 150, 165)",y_="rgb(228, 236, 239)",v_="rgb(98, 121, 138)",h_="rgb(81, 105, 123)",w_="rgb(62, 84, 102)",z_="rgb(45, 64, 81)",f_="rgb(30, 45, 59)",k_="rgb(0, 119, 179)",q_="rgb(0, 75, 129)",S_="rgb(126, 2, 35)",I_="rgb(0, 97, 155)",U_="rgb(164, 4, 40)",j_="rgb(198, 225, 238)",A_="rgb(255, 185, 190)",E_="rgb(228, 241, 247)",B_="rgb(255, 227, 228)",C_="rgb(240, 247, 250)",F_="rgb(255, 241, 241)",H_="rgb(198, 12, 48)",M_="rgb(8, 42, 77)",R_="rgb(23, 28, 58)",O_="rgb(48, 131, 105)",D_="rgb(244, 250, 247)",G_="rgb(218, 246, 233)",J_="rgb(4, 38, 33)",K_="rgb(191, 239, 218)",L_="rgb(163, 229, 202)",N_="rgb(134, 215, 185)",P_="rgb(231, 248, 239)",Q_="rgb(105, 196, 166)",T_="rgb(76, 164, 138)",V_="rgb(48, 131, 105)",W_="rgb(29, 106, 88)",X_="rgb(13, 71, 59)",Y_="rgb(48, 131, 105)",Z_="rgb(245, 247, 250)",$_="rgb(222, 224, 228)",_r="rgb(8, 13, 38)",rr="rgb(199, 202, 207)",or="rgb(175, 178, 186)",ar="rgb(143, 147, 158)",lr="rgb(234, 235, 239)",er="rgb(113, 118, 132)",cr="rgb(98, 104, 122)",tr="rgb(71, 78, 101)",gr="rgb(45, 52, 79)",ir="rgb(23, 28, 58)",sr="rgb(255, 241, 241)",dr="rgb(255, 213, 215)",ur="rgb(51, 5, 20)",nr="rgb(255, 185, 190)",xr="rgb(252, 148, 158)",br="rgb(240, 102, 119)",mr="rgb(255, 227, 228)",pr="rgb(221, 49, 77)",yr="rgb(198, 12, 48)",vr="rgb(164, 4, 40)",hr="rgb(126, 2, 35)",wr="rgb(87, 4, 29)",zr="rgb(247, 178, 40)",fr="rgb(255, 251, 242)",kr="rgb(255, 244, 198)",qr="rgb(38, 26, 4)",Sr="rgb(255, 232, 160)",Ir="rgb(255, 217, 120)",Ur="rgb(255, 199, 79)",jr="rgb(255, 247, 221)",Ar="rgb(247, 178, 40)",Er="rgb(196, 138, 23)",Br="rgb(156, 110, 22)",Cr="rgb(126, 87, 16)",Fr="rgb(81, 55, 9)",Hr="rgb(247, 178, 40)",Mr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Rr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Or="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Dr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Gr="1.25rem",Jr="1rem",Kr="0.875rem",Lr="1.5rem",Nr="0.75rem",Pr="2.25rem",Qr="3rem",Tr="4.5rem",Vr="-0.01rem",Wr="1.25",Xr="'(min-width: 62em)'",Yr="'(min-width: 48em)'",Zr="'(min-width: 36em)'",$r="'(min-width: 64.0625em)'",_o="'(max-width: 35.9375em)'",ro="'(min-width: 76.25em)'",oo="'(max-width: 22.5em)'",ao="'(min-width: 106.25em)'",lo="'(max-width: 20.5em)'",eo="0.30",co="0.50",to="0.75",go="0.85",io="12px",so="16px",uo="20rem",no="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",xo="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",bo="0 2px 6px 0 rgba(0, 41, 77, 0.07)",mo="0 2px 6px 0 rgba(117, 117, 117, 0.13)",po="0 0 0 1px #de2362",yo="0 0 0 1px #e55039",vo="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",ho="0 0 0 1px #0077b3",wo="0 0 0 1px #171c3a",zo="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",fo="0 2px 10px 0 rgba(0, 41, 77, 0.1)",ko="0 0 0 1px #909599",qo="0 0 0 1px #747475",So="0 2px 10px 0 rgba(117, 117, 117, 0.15)",Io="0 2px 20px 0 rgba(0, 0, 0, 0.2)",Uo="0 2px 10px 0 rgba(0, 41, 77, 0.07)",jo="0 2px 10px 0 rgba(117, 117, 117, 0.13)",Ao="8rem",Eo="4rem",Bo="30px",Co="24px",Fo="20px",Ho="36px",Mo="16px",Ro="48px",Oo="10px",Do="72px",Go="1110px",Jo="3rem",Ko="40px",Lo="30px",No="48px",Po="20px",Qo="16px",To="12px",Vo="28px",Wo="36px",Xo="48px",Yo="72px",Zo="94px",$o="300ms ease",_a="600ms ease",ra="-999999";var oa=Object.freeze({__proto__:null,color_brand_blue:_,color_brand_gray_turva:r,color_category_family:o,color_category_family_turva:a,color_category_finance:l,color_category_home:e,color_category_home_turva:c,color_category_pet:t,color_category_travel:g,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:x,color_danger_100:b,color_danger_1000:m,color_danger_200:p,color_danger_300:y,color_danger_400:v,color_danger_50:h,color_danger_500:w,color_danger_600:z,color_danger_700:f,color_danger_800:k,color_danger_900:q,color_danger_turva:S,color_data_01:I,color_data_02:U,color_data_03:j,color_data_04:A,color_data_05:E,color_data_06:B,color_data_07:C,color_data_08:F,color_data_09:H,color_data_10:M,color_data_11:R,color_data_12:O,color_data_13:D,color_data_14:G,color_data_15:J,color_gray:K,color_gray_dark:L,color_gray_dark_turva:N,color_gray_darker:P,color_gray_darker_turva:Q,color_gray_light:T,color_gray_light_turva:V,color_gray_lighter:W,color_gray_lighter_turva:X,color_gray_lightest:Y,color_gray_lightest_turva:Z,color_gray_turva:$,color_lt_blue_00:__,color_lt_blue_100:r_,color_lt_blue_1000:o_,color_lt_blue_200:a_,color_lt_blue_300:l_,color_lt_blue_400:e_,color_lt_blue_50:c_,color_lt_blue_500:t_,color_lt_blue_600:g_,color_lt_blue_700:i_,color_lt_blue_800:s_,color_lt_blue_900:d_,color_lt_gray_00:u_,color_lt_gray_100:n_,color_lt_gray_1000:x_,color_lt_gray_200:b_,color_lt_gray_300:m_,color_lt_gray_400:p_,color_lt_gray_50:y_,color_lt_gray_500:v_,color_lt_gray_600:h_,color_lt_gray_700:w_,color_lt_gray_800:z_,color_lt_gray_900:f_,color_primary:k_,color_primary_dark:q_,color_primary_dark_turva:S_,color_primary_darker:I_,color_primary_darker_turva:U_,color_primary_light:j_,color_primary_light_turva:A_,color_primary_lighter:E_,color_primary_lighter_turva:B_,color_primary_lightest:C_,color_primary_lightest_turva:F_,color_primary_turva:H_,color_secondary:M_,color_secondary_turva:R_,color_success:O_,color_success_00:D_,color_success_100:G_,color_success_1000:J_,color_success_200:K_,color_success_300:L_,color_success_400:N_,color_success_50:P_,color_success_500:Q_,color_success_600:T_,color_success_700:V_,color_success_800:W_,color_success_900:X_,color_success_turva:Y_,color_turva_gray_00:Z_,color_turva_gray_100:$_,color_turva_gray_1000:_r,color_turva_gray_200:rr,color_turva_gray_300:or,color_turva_gray_400:ar,color_turva_gray_50:lr,color_turva_gray_500:er,color_turva_gray_600:cr,color_turva_gray_700:tr,color_turva_gray_800:gr,color_turva_gray_900:ir,color_turva_red_00:sr,color_turva_red_100:dr,color_turva_red_1000:ur,color_turva_red_200:nr,color_turva_red_300:xr,color_turva_red_400:br,color_turva_red_50:mr,color_turva_red_500:pr,color_turva_red_600:yr,color_turva_red_700:vr,color_turva_red_800:hr,color_turva_red_900:wr,color_warning:zr,color_warning_00:fr,color_warning_100:kr,color_warning_1000:qr,color_warning_200:Sr,color_warning_300:Ir,color_warning_400:Ur,color_warning_50:jr,color_warning_500:Ar,color_warning_600:Er,color_warning_700:Br,color_warning_800:Cr,color_warning_900:Fr,color_warning_turva:Hr,default:{color_brand_blue:_,color_brand_gray_turva:r,color_category_family:o,color_category_family_turva:a,color_category_finance:l,color_category_home:e,color_category_home_turva:c,color_category_pet:t,color_category_travel:g,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:x,color_danger_100:b,color_danger_1000:m,color_danger_200:p,color_danger_300:y,color_danger_400:v,color_danger_50:h,color_danger_500:w,color_danger_600:z,color_danger_700:f,color_danger_800:k,color_danger_900:q,color_danger_turva:S,color_data_01:I,color_data_02:U,color_data_03:j,color_data_04:A,color_data_05:E,color_data_06:B,color_data_07:C,color_data_08:F,color_data_09:H,color_data_10:M,color_data_11:R,color_data_12:O,color_data_13:D,color_data_14:G,color_data_15:J,color_gray:K,color_gray_dark:L,color_gray_dark_turva:N,color_gray_darker:P,color_gray_darker_turva:Q,color_gray_light:T,color_gray_light_turva:V,color_gray_lighter:W,color_gray_lighter_turva:X,color_gray_lightest:Y,color_gray_lightest_turva:Z,color_gray_turva:$,color_lt_blue_00:__,color_lt_blue_100:r_,color_lt_blue_1000:o_,color_lt_blue_200:a_,color_lt_blue_300:l_,color_lt_blue_400:e_,color_lt_blue_50:c_,color_lt_blue_500:t_,color_lt_blue_600:g_,color_lt_blue_700:i_,color_lt_blue_800:s_,color_lt_blue_900:d_,color_lt_gray_00:u_,color_lt_gray_100:n_,color_lt_gray_1000:x_,color_lt_gray_200:b_,color_lt_gray_300:m_,color_lt_gray_400:p_,color_lt_gray_50:y_,color_lt_gray_500:v_,color_lt_gray_600:h_,color_lt_gray_700:w_,color_lt_gray_800:z_,color_lt_gray_900:f_,color_primary:k_,color_primary_dark:q_,color_primary_dark_turva:S_,color_primary_darker:I_,color_primary_darker_turva:U_,color_primary_light:j_,color_primary_light_turva:A_,color_primary_lighter:E_,color_primary_lighter_turva:B_,color_primary_lightest:C_,color_primary_lightest_turva:F_,color_primary_turva:H_,color_secondary:M_,color_secondary_turva:R_,color_success:O_,color_success_00:D_,color_success_100:G_,color_success_1000:J_,color_success_200:K_,color_success_300:L_,color_success_400:N_,color_success_50:P_,color_success_500:Q_,color_success_600:T_,color_success_700:V_,color_success_800:W_,color_success_900:X_,color_success_turva:Y_,color_turva_gray_00:Z_,color_turva_gray_100:$_,color_turva_gray_1000:_r,color_turva_gray_200:rr,color_turva_gray_300:or,color_turva_gray_400:ar,color_turva_gray_50:lr,color_turva_gray_500:er,color_turva_gray_600:cr,color_turva_gray_700:tr,color_turva_gray_800:gr,color_turva_gray_900:ir,color_turva_red_00:sr,color_turva_red_100:dr,color_turva_red_1000:ur,color_turva_red_200:nr,color_turva_red_300:xr,color_turva_red_400:br,color_turva_red_50:mr,color_turva_red_500:pr,color_turva_red_600:yr,color_turva_red_700:vr,color_turva_red_800:hr,color_turva_red_900:wr,color_warning:zr,color_warning_00:fr,color_warning_100:kr,color_warning_1000:qr,color_warning_200:Sr,color_warning_300:Ir,color_warning_400:Ur,color_warning_50:jr,color_warning_500:Ar,color_warning_600:Er,color_warning_700:Br,color_warning_800:Cr,color_warning_900:Fr,color_warning_turva:Hr,font_family_heading:Mr,font_family_heading_turva:Rr,font_family_text:Or,font_family_text_turva:Dr,font_size_large:Gr,font_size_medium:Jr,font_size_small:Kr,font_size_x_large:Lr,font_size_x_small:Nr,font_size_xx_large:Pr,font_size_xxx_large:Qr,font_size_xxxx_large:Tr,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Vr,line_height_medium:"1.5",line_height_small:Wr,line_height_x_small:"1.1",media_query_large:Xr,media_query_medium:Yr,media_query_small:Zr,media_query_x_large:$r,media_query_x_small:_o,media_query_xx_large:ro,media_query_xx_small:oo,media_query_xxx_large:ao,media_query_xxx_small:lo,opacity_30:eo,opacity_50:co,opacity_75:to,opacity_85:go,radius_circle:"50%",radius_default:"4px",radius_intermediate:io,radius_large:so,radius_medium:"8px",radius_pill:uo,radius_sharp:"0",shadow_card:no,shadow_card_turva:xo,shadow_default:bo,shadow_default_turva:mo,shadow_error:po,shadow_error_turva:yo,shadow_focus:vo,shadow_focus_input:ho,shadow_focus_input_turva:wo,shadow_focus_turva:zo,shadow_hover:fo,shadow_hover_input:ko,shadow_hover_input_turva:qo,shadow_hover_turva:So,shadow_modal:Io,shadow_tooltip:Uo,shadow_tooltip_turva:jo,size_button_border:"1px",size_button_min_width:Ao,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Eo,size_icon_large:Bo,size_icon_medium:Co,size_icon_small:Fo,size_icon_x_large:Ho,size_icon_x_small:Mo,size_icon_xx_large:Ro,size_icon_xx_small:Oo,size_icon_xxx_large:Do,size_icon_xxx_small:"7px",size_layout_max_width:Go,size_medium_border:"2px",size_navigation:Jo,size_step_medium:Ko,size_step_small:Lo,size_tappable_square:No,space_large:Po,space_medium:Qo,space_small:To,space_x_large:Vo,space_x_small:"8px",space_xx_large:Wo,space_xx_small:"4px",space_xxx_large:Xo,space_xxx_small:"2px",space_xxxx_large:Yo,space_xxxxx_large:Zo,transition_quickly:$o,transition_slowly:_a,z_index_deep:ra,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"},font_family_heading:Mr,font_family_heading_turva:Rr,font_family_text:Or,font_family_text_turva:Dr,font_size_large:Gr,font_size_medium:Jr,font_size_small:Kr,font_size_x_large:Lr,font_size_x_small:Nr,font_size_xx_large:Pr,font_size_xxx_large:Qr,font_size_xxxx_large:Tr,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Vr,line_height_medium:"1.5",line_height_small:Wr,line_height_x_small:"1.1",media_query_large:Xr,media_query_medium:Yr,media_query_small:Zr,media_query_x_large:$r,media_query_x_small:_o,media_query_xx_large:ro,media_query_xx_small:oo,media_query_xxx_large:ao,media_query_xxx_small:lo,opacity_30:eo,opacity_50:co,opacity_75:to,opacity_85:go,radius_circle:"50%",radius_default:"4px",radius_intermediate:io,radius_large:so,radius_medium:"8px",radius_pill:uo,radius_sharp:"0",shadow_card:no,shadow_card_turva:xo,shadow_default:bo,shadow_default_turva:mo,shadow_error:po,shadow_error_turva:yo,shadow_focus:vo,shadow_focus_input:ho,shadow_focus_input_turva:wo,shadow_focus_turva:zo,shadow_hover:fo,shadow_hover_input:ko,shadow_hover_input_turva:qo,shadow_hover_turva:So,shadow_modal:Io,shadow_tooltip:Uo,shadow_tooltip_turva:jo,size_button_border:"1px",size_button_min_width:Ao,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Eo,size_icon_large:Bo,size_icon_medium:Co,size_icon_small:Fo,size_icon_x_large:Ho,size_icon_x_small:Mo,size_icon_xx_large:Ro,size_icon_xx_small:Oo,size_icon_xxx_large:Do,size_icon_xxx_small:"7px",size_layout_max_width:Go,size_medium_border:"2px",size_navigation:Jo,size_step_medium:Ko,size_step_small:Lo,size_tappable_square:No,space_large:Po,space_medium:Qo,space_small:To,space_x_large:Vo,space_x_small:"8px",space_xx_large:Wo,space_xx_small:"4px",space_xxx_large:Xo,space_xxx_small:"2px",space_xxxx_large:Yo,space_xxxxx_large:Zo,transition_quickly:$o,transition_slowly:_a,z_index_deep:ra,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"});export{Xr as a,ro as b,Jr as f,Yr as m,oa as t}
4
+ const _="rgb(0, 161, 212)",r="rgb(178, 180, 179)",o="rgb(11, 114, 136)",a="rgb(199, 12, 112)",l="rgb(122, 1, 196)",e="rgb(211, 36, 131)",c="rgb(161, 10, 78)",t="rgb(168, 1, 78)",g="rgb(213, 66, 3)",i="rgb(9, 129, 148)",s="rgb(169, 69, 124)",d="rgb(54, 74, 129)",u="rgb(23, 28, 58)",n="rgb(214, 28, 82)",x="rgb(255, 240, 243)",b="rgb(255, 211, 219)",m="rgb(89, 0, 45)",p="rgb(255, 173, 190)",y="rgb(252, 136, 162)",v="rgb(243, 98, 134)",h="rgb(255, 225, 231)",w="rgb(231, 62, 107)",z="rgb(214, 28, 82)",f="rgb(185, 16, 74)",k="rgb(153, 9, 66)",q="rgb(120, 4, 56)",S="rgb(214, 28, 82)",I="rgb(122, 1, 196)",U="rgb(0, 155, 204)",j="rgb(27, 171, 75)",A="rgb(255, 86, 34)",E="rgb(245, 76, 154)",B="rgb(194, 21, 101)",C="rgb(192, 101, 247)",F="rgb(0, 105, 191)",H="rgb(19, 120, 53)",M="rgb(179, 60, 24)",R="rgb(13, 163, 166)",O="rgb(11, 114, 136)",D="rgb(179, 137, 24)",G="rgb(128, 98, 17)",J="rgb(0, 41, 77)",K="rgb(181, 198, 208)",L="rgb(127, 150, 165)",N="rgb(143, 147, 158)",P="rgb(98, 121, 138)",Q="rgb(113, 118, 132)",T="rgb(212, 223, 229)",V="rgb(222, 224, 228)",W="rgb(245, 248, 250)",X="rgb(245, 247, 250)",Y="rgb(255, 255, 255)",Z="rgb(255, 255, 255)",$="rgb(199, 202, 207)",__="rgb(240, 247, 250)",r_="rgb(217, 236, 245)",o_="rgb(8, 42, 77)",a_="rgb(198, 225, 238)",l_="rgb(172, 210, 229)",e_="rgb(131, 188, 217)",c_="rgb(228, 241, 247)",t_="rgb(50, 153, 204)",g_="rgb(0, 119, 179)",i_="rgb(0, 97, 155)",s_="rgb(0, 75, 129)",d_="rgb(3, 56, 102)",u_="rgb(245, 248, 250)",n_="rgb(212, 223, 229)",x_="rgb(17, 28, 38)",b_="rgb(181, 198, 208)",m_="rgb(153, 174, 186)",p_="rgb(127, 150, 165)",y_="rgb(228, 236, 239)",v_="rgb(98, 121, 138)",h_="rgb(81, 105, 123)",w_="rgb(62, 84, 102)",z_="rgb(45, 64, 81)",f_="rgb(30, 45, 59)",k_="rgb(0, 119, 179)",q_="rgb(0, 75, 129)",S_="rgb(126, 2, 35)",I_="rgb(0, 97, 155)",U_="rgb(164, 4, 40)",j_="rgb(198, 225, 238)",A_="rgb(255, 185, 190)",E_="rgb(228, 241, 247)",B_="rgb(255, 227, 228)",C_="rgb(240, 247, 250)",F_="rgb(255, 241, 241)",H_="rgb(198, 12, 48)",M_="rgb(8, 42, 77)",R_="rgb(23, 28, 58)",O_="rgb(48, 131, 105)",D_="rgb(244, 250, 247)",G_="rgb(218, 246, 233)",J_="rgb(4, 38, 33)",K_="rgb(191, 239, 218)",L_="rgb(163, 229, 202)",N_="rgb(134, 215, 185)",P_="rgb(231, 248, 239)",Q_="rgb(105, 196, 166)",T_="rgb(76, 164, 138)",V_="rgb(48, 131, 105)",W_="rgb(29, 106, 88)",X_="rgb(13, 71, 59)",Y_="rgb(48, 131, 105)",Z_="rgb(245, 247, 250)",$_="rgb(222, 224, 228)",_r="rgb(8, 13, 38)",rr="rgb(199, 202, 207)",or="rgb(175, 178, 186)",ar="rgb(143, 147, 158)",lr="rgb(234, 235, 239)",er="rgb(113, 118, 132)",cr="rgb(98, 104, 122)",tr="rgb(71, 78, 101)",gr="rgb(45, 52, 79)",ir="rgb(23, 28, 58)",sr="rgb(255, 241, 241)",dr="rgb(255, 213, 215)",ur="rgb(51, 5, 20)",nr="rgb(255, 185, 190)",xr="rgb(252, 148, 158)",br="rgb(240, 102, 119)",mr="rgb(255, 227, 228)",pr="rgb(221, 49, 77)",yr="rgb(198, 12, 48)",vr="rgb(164, 4, 40)",hr="rgb(126, 2, 35)",wr="rgb(87, 4, 29)",zr="rgb(247, 178, 40)",fr="rgb(255, 251, 242)",kr="rgb(255, 244, 198)",qr="rgb(38, 26, 4)",Sr="rgb(255, 232, 160)",Ir="rgb(255, 217, 120)",Ur="rgb(255, 199, 79)",jr="rgb(255, 247, 221)",Ar="rgb(247, 178, 40)",Er="rgb(196, 138, 23)",Br="rgb(156, 110, 22)",Cr="rgb(126, 87, 16)",Fr="rgb(81, 55, 9)",Hr="rgb(247, 178, 40)",Mr="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Rr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Or="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Dr="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Gr="1.25rem",Jr="1rem",Kr="0.875rem",Lr="1.5rem",Nr="0.75rem",Pr="2.25rem",Qr="3rem",Tr="4.5rem",Vr="-0.01rem",Wr="1.25",Xr="'(min-width: 62em)'",Yr="'(min-width: 48em)'",Zr="'(min-width: 36em)'",$r="'(min-width: 64.0625em)'",_o="'(max-width: 35.9375em)'",ro="'(min-width: 76.25em)'",oo="'(max-width: 22.5em)'",ao="'(min-width: 106.25em)'",lo="'(max-width: 20.5em)'",eo="0.30",co="0.50",to="0.75",go="0.85",io="12px",so="16px",uo="20rem",no="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",xo="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",bo="0 2px 6px 0 rgba(0, 41, 77, 0.07)",mo="0 2px 6px 0 rgba(117, 117, 117, 0.13)",po="0 0 0 1px #de2362",yo="0 0 0 1px #e55039",vo="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",ho="0 0 0 1px #0077b3",wo="0 0 0 1px #171c3a",zo="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",fo="0 2px 10px 0 rgba(0, 41, 77, 0.1)",ko="0 0 0 1px #909599",qo="0 0 0 1px #747475",So="0 2px 10px 0 rgba(117, 117, 117, 0.15)",Io="0 2px 20px 0 rgba(0, 0, 0, 0.2)",Uo="0 2px 10px 0 rgba(0, 41, 77, 0.07)",jo="0 2px 10px 0 rgba(117, 117, 117, 0.13)",Ao="8rem",Eo="4rem",Bo="30px",Co="24px",Fo="20px",Ho="36px",Mo="16px",Ro="48px",Oo="10px",Do="72px",Go="1110px",Jo="3rem",Ko="40px",Lo="30px",No="48px",Po="20px",Qo="16px",To="12px",Vo="28px",Wo="36px",Xo="48px",Yo="72px",Zo="94px",$o="300ms ease",_a="600ms ease",ra="-999999";var oa=Object.freeze({__proto__:null,color_brand_blue:_,color_brand_gray_turva:r,color_category_family:o,color_category_family_turva:a,color_category_finance:l,color_category_home:e,color_category_home_turva:c,color_category_pet:t,color_category_travel:g,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:x,color_danger_100:b,color_danger_1000:m,color_danger_200:p,color_danger_300:y,color_danger_400:v,color_danger_50:h,color_danger_500:w,color_danger_600:z,color_danger_700:f,color_danger_800:k,color_danger_900:q,color_danger_turva:S,color_data_01:I,color_data_02:U,color_data_03:j,color_data_04:A,color_data_05:E,color_data_06:B,color_data_07:C,color_data_08:F,color_data_09:H,color_data_10:M,color_data_11:R,color_data_12:O,color_data_13:D,color_data_14:G,color_data_15:J,color_gray:K,color_gray_dark:L,color_gray_dark_turva:N,color_gray_darker:P,color_gray_darker_turva:Q,color_gray_light:T,color_gray_light_turva:V,color_gray_lighter:W,color_gray_lighter_turva:X,color_gray_lightest:Y,color_gray_lightest_turva:Z,color_gray_turva:$,color_lt_blue_00:__,color_lt_blue_100:r_,color_lt_blue_1000:o_,color_lt_blue_200:a_,color_lt_blue_300:l_,color_lt_blue_400:e_,color_lt_blue_50:c_,color_lt_blue_500:t_,color_lt_blue_600:g_,color_lt_blue_700:i_,color_lt_blue_800:s_,color_lt_blue_900:d_,color_lt_gray_00:u_,color_lt_gray_100:n_,color_lt_gray_1000:x_,color_lt_gray_200:b_,color_lt_gray_300:m_,color_lt_gray_400:p_,color_lt_gray_50:y_,color_lt_gray_500:v_,color_lt_gray_600:h_,color_lt_gray_700:w_,color_lt_gray_800:z_,color_lt_gray_900:f_,color_primary:k_,color_primary_dark:q_,color_primary_dark_turva:S_,color_primary_darker:I_,color_primary_darker_turva:U_,color_primary_light:j_,color_primary_light_turva:A_,color_primary_lighter:E_,color_primary_lighter_turva:B_,color_primary_lightest:C_,color_primary_lightest_turva:F_,color_primary_turva:H_,color_secondary:M_,color_secondary_turva:R_,color_success:O_,color_success_00:D_,color_success_100:G_,color_success_1000:J_,color_success_200:K_,color_success_300:L_,color_success_400:N_,color_success_50:P_,color_success_500:Q_,color_success_600:T_,color_success_700:V_,color_success_800:W_,color_success_900:X_,color_success_turva:Y_,color_turva_gray_00:Z_,color_turva_gray_100:$_,color_turva_gray_1000:_r,color_turva_gray_200:rr,color_turva_gray_300:or,color_turva_gray_400:ar,color_turva_gray_50:lr,color_turva_gray_500:er,color_turva_gray_600:cr,color_turva_gray_700:tr,color_turva_gray_800:gr,color_turva_gray_900:ir,color_turva_red_00:sr,color_turva_red_100:dr,color_turva_red_1000:ur,color_turva_red_200:nr,color_turva_red_300:xr,color_turva_red_400:br,color_turva_red_50:mr,color_turva_red_500:pr,color_turva_red_600:yr,color_turva_red_700:vr,color_turva_red_800:hr,color_turva_red_900:wr,color_warning:zr,color_warning_00:fr,color_warning_100:kr,color_warning_1000:qr,color_warning_200:Sr,color_warning_300:Ir,color_warning_400:Ur,color_warning_50:jr,color_warning_500:Ar,color_warning_600:Er,color_warning_700:Br,color_warning_800:Cr,color_warning_900:Fr,color_warning_turva:Hr,default:{color_brand_blue:_,color_brand_gray_turva:r,color_category_family:o,color_category_family_turva:a,color_category_finance:l,color_category_home:e,color_category_home_turva:c,color_category_pet:t,color_category_travel:g,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:x,color_danger_100:b,color_danger_1000:m,color_danger_200:p,color_danger_300:y,color_danger_400:v,color_danger_50:h,color_danger_500:w,color_danger_600:z,color_danger_700:f,color_danger_800:k,color_danger_900:q,color_danger_turva:S,color_data_01:I,color_data_02:U,color_data_03:j,color_data_04:A,color_data_05:E,color_data_06:B,color_data_07:C,color_data_08:F,color_data_09:H,color_data_10:M,color_data_11:R,color_data_12:O,color_data_13:D,color_data_14:G,color_data_15:J,color_gray:K,color_gray_dark:L,color_gray_dark_turva:N,color_gray_darker:P,color_gray_darker_turva:Q,color_gray_light:T,color_gray_light_turva:V,color_gray_lighter:W,color_gray_lighter_turva:X,color_gray_lightest:Y,color_gray_lightest_turva:Z,color_gray_turva:$,color_lt_blue_00:__,color_lt_blue_100:r_,color_lt_blue_1000:o_,color_lt_blue_200:a_,color_lt_blue_300:l_,color_lt_blue_400:e_,color_lt_blue_50:c_,color_lt_blue_500:t_,color_lt_blue_600:g_,color_lt_blue_700:i_,color_lt_blue_800:s_,color_lt_blue_900:d_,color_lt_gray_00:u_,color_lt_gray_100:n_,color_lt_gray_1000:x_,color_lt_gray_200:b_,color_lt_gray_300:m_,color_lt_gray_400:p_,color_lt_gray_50:y_,color_lt_gray_500:v_,color_lt_gray_600:h_,color_lt_gray_700:w_,color_lt_gray_800:z_,color_lt_gray_900:f_,color_primary:k_,color_primary_dark:q_,color_primary_dark_turva:S_,color_primary_darker:I_,color_primary_darker_turva:U_,color_primary_light:j_,color_primary_light_turva:A_,color_primary_lighter:E_,color_primary_lighter_turva:B_,color_primary_lightest:C_,color_primary_lightest_turva:F_,color_primary_turva:H_,color_secondary:M_,color_secondary_turva:R_,color_success:O_,color_success_00:D_,color_success_100:G_,color_success_1000:J_,color_success_200:K_,color_success_300:L_,color_success_400:N_,color_success_50:P_,color_success_500:Q_,color_success_600:T_,color_success_700:V_,color_success_800:W_,color_success_900:X_,color_success_turva:Y_,color_turva_gray_00:Z_,color_turva_gray_100:$_,color_turva_gray_1000:_r,color_turva_gray_200:rr,color_turva_gray_300:or,color_turva_gray_400:ar,color_turva_gray_50:lr,color_turva_gray_500:er,color_turva_gray_600:cr,color_turva_gray_700:tr,color_turva_gray_800:gr,color_turva_gray_900:ir,color_turva_red_00:sr,color_turva_red_100:dr,color_turva_red_1000:ur,color_turva_red_200:nr,color_turva_red_300:xr,color_turva_red_400:br,color_turva_red_50:mr,color_turva_red_500:pr,color_turva_red_600:yr,color_turva_red_700:vr,color_turva_red_800:hr,color_turva_red_900:wr,color_warning:zr,color_warning_00:fr,color_warning_100:kr,color_warning_1000:qr,color_warning_200:Sr,color_warning_300:Ir,color_warning_400:Ur,color_warning_50:jr,color_warning_500:Ar,color_warning_600:Er,color_warning_700:Br,color_warning_800:Cr,color_warning_900:Fr,color_warning_turva:Hr,font_family_heading:Mr,font_family_heading_turva:Rr,font_family_text:Or,font_family_text_turva:Dr,font_size_large:Gr,font_size_medium:Jr,font_size_small:Kr,font_size_x_large:Lr,font_size_x_small:Nr,font_size_xx_large:Pr,font_size_xxx_large:Qr,font_size_xxxx_large:Tr,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Vr,line_height_medium:"1.5",line_height_small:Wr,line_height_x_small:"1.1",media_query_large:Xr,media_query_medium:Yr,media_query_small:Zr,media_query_x_large:$r,media_query_x_small:_o,media_query_xx_large:ro,media_query_xx_small:oo,media_query_xxx_large:ao,media_query_xxx_small:lo,opacity_30:eo,opacity_50:co,opacity_75:to,opacity_85:go,radius_circle:"50%",radius_default:"4px",radius_intermediate:io,radius_large:so,radius_medium:"8px",radius_pill:uo,radius_sharp:"0",shadow_card:no,shadow_card_turva:xo,shadow_default:bo,shadow_default_turva:mo,shadow_error:po,shadow_error_turva:yo,shadow_focus:vo,shadow_focus_input:ho,shadow_focus_input_turva:wo,shadow_focus_turva:zo,shadow_hover:fo,shadow_hover_input:ko,shadow_hover_input_turva:qo,shadow_hover_turva:So,shadow_modal:Io,shadow_tooltip:Uo,shadow_tooltip_turva:jo,size_button_border:"1px",size_button_min_width:Ao,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Eo,size_icon_large:Bo,size_icon_medium:Co,size_icon_small:Fo,size_icon_x_large:Ho,size_icon_x_small:Mo,size_icon_xx_large:Ro,size_icon_xx_small:Oo,size_icon_xxx_large:Do,size_icon_xxx_small:"7px",size_layout_max_width:Go,size_medium_border:"2px",size_navigation:Jo,size_step_medium:Ko,size_step_small:Lo,size_tappable_square:No,space_large:Po,space_medium:Qo,space_small:To,space_x_large:Vo,space_x_small:"8px",space_xx_large:Wo,space_xx_small:"4px",space_xxx_large:Xo,space_xxx_small:"2px",space_xxxx_large:Yo,space_xxxxx_large:Zo,transition_quickly:$o,transition_slowly:_a,z_index_deep:ra,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"},font_family_heading:Mr,font_family_heading_turva:Rr,font_family_text:Or,font_family_text_turva:Dr,font_size_large:Gr,font_size_medium:Jr,font_size_small:Kr,font_size_x_large:Lr,font_size_x_small:Nr,font_size_xx_large:Pr,font_size_xxx_large:Qr,font_size_xxxx_large:Tr,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Vr,line_height_medium:"1.5",line_height_small:Wr,line_height_x_small:"1.1",media_query_large:Xr,media_query_medium:Yr,media_query_small:Zr,media_query_x_large:$r,media_query_x_small:_o,media_query_xx_large:ro,media_query_xx_small:oo,media_query_xxx_large:ao,media_query_xxx_small:lo,opacity_30:eo,opacity_50:co,opacity_75:to,opacity_85:go,radius_circle:"50%",radius_default:"4px",radius_intermediate:io,radius_large:so,radius_medium:"8px",radius_pill:uo,radius_sharp:"0",shadow_card:no,shadow_card_turva:xo,shadow_default:bo,shadow_default_turva:mo,shadow_error:po,shadow_error_turva:yo,shadow_focus:vo,shadow_focus_input:ho,shadow_focus_input_turva:wo,shadow_focus_turva:zo,shadow_hover:fo,shadow_hover_input:ko,shadow_hover_input_turva:qo,shadow_hover_turva:So,shadow_modal:Io,shadow_tooltip:Uo,shadow_tooltip_turva:jo,size_button_border:"1px",size_button_min_width:Ao,size_button_tiny_border:"1px",size_form_border:"1px",size_header:Eo,size_icon_large:Bo,size_icon_medium:Co,size_icon_small:Fo,size_icon_x_large:Ho,size_icon_x_small:Mo,size_icon_xx_large:Ro,size_icon_xx_small:Oo,size_icon_xxx_large:Do,size_icon_xxx_small:"7px",size_layout_max_width:Go,size_medium_border:"2px",size_navigation:Jo,size_step_medium:Ko,size_step_small:Lo,size_tappable_square:No,space_large:Po,space_medium:Qo,space_small:To,space_x_large:Vo,space_x_small:"8px",space_xx_large:Wo,space_xx_small:"4px",space_xxx_large:Xo,space_xxx_small:"2px",space_xxxx_large:Yo,space_xxxxx_large:Zo,transition_quickly:$o,transition_slowly:_a,z_index_deep:ra,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"});export{Xr as a,Jr as f,Yr as m,oa as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{h as e}from"./p-CUNSbdt4.js";const l=(l,t)=>{const{theme:a="",margin:m="auto",size:r="medium",weight:s="semi-bold",color:n="",id:o=""}=l;return e("label",{id:o,class:{"duet-internal-label":!0,"duet-internal-label-small":"small"===r,"duet-theme-turva":"turva"===a,"duet-small-margin":"small"===m,"duet-m-0":"none"===m,[`duet-weight-${s}`]:!0,[`${l.class}`]:!0},htmlFor:l.for,style:{color:n}},e("span",null,t))};export{l as D}
4
+ import{h as e}from"./p-B_VBeM3r.js";const l=(l,t)=>{const{theme:a="",margin:m="auto",size:r="medium",weight:s="semi-bold",color:n="",id:o=""}=l;return e("label",{id:o,class:{"duet-internal-label":!0,"duet-internal-label-small":"small"===r,"duet-theme-turva":"turva"===a,"duet-small-margin":"small"===m,"duet-m-0":"none"===m,[`duet-weight-${s}`]:!0,[`${l.class}`]:!0},htmlFor:l.for,style:{color:n}},e("span",null,t))};export{l as D}