@duetds/components 10.0.0-alpha.9 → 10.1.0

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 (1238) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +9613 -4173
  3. package/hydrate/index.mjs +46160 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DzwEPbds.js +46 -0
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-2b7fff72.js → app-globals-BtFYkwDf.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +106 -49
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +71 -28
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +212 -47
  19. package/lib/cjs/duet-card.cjs.entry.js +93 -35
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +60 -33
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
  25. package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +169 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +159 -35
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +52 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +115 -45
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +226 -102
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +233 -88
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -46
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +49 -16
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
  84. package/lib/cjs/duet-toggle.cjs.entry.js +55 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-e3a0f607.js → errorcodes.utils-BuseNrD9.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-47d23c45.js → focus-utils-Cbk0cnOs.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-7b1d76ef.js → index-blgG8IJB.js} +1853 -1361
  102. package/lib/cjs/{label-874fd84f.js → label-DeanNJa0.js} +1 -1
  103. package/lib/cjs/{language-utils-a6a152b8.js → language-utils-DWW8tvkB.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-7e6aa48b.js → slot-utils-Byx247xX.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-DcR7DztR.js +74 -0
  108. package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
  109. package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
  110. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
  111. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  112. package/lib/collection/collection-manifest.json +5 -1
  113. package/lib/collection/common/themeable-component.js +61 -3
  114. package/lib/collection/common-strings.js +28 -0
  115. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  116. package/lib/collection/components/duet-action-button/duet-action-button.js +94 -35
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +146 -59
  119. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  120. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  121. package/lib/collection/components/duet-banner/duet-banner.css +51 -24
  122. package/lib/collection/components/duet-banner/duet-banner.js +95 -30
  123. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  127. package/lib/collection/components/duet-button/duet-button.css +140 -32
  128. package/lib/collection/components/duet-button/duet-button.js +174 -93
  129. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  130. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  131. package/lib/collection/components/duet-caption/duet-caption.css +8 -4
  132. package/lib/collection/components/duet-caption/duet-caption.js +19 -7
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +134 -40
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +89 -50
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +73 -41
  139. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  140. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  141. package/lib/collection/components/duet-choice/duet-choice.css +164 -41
  142. package/lib/collection/components/duet-choice/duet-choice.js +244 -142
  143. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
  145. package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.js +100 -38
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +106 -59
  149. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  151. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +12 -6
  153. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  154. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  155. package/lib/collection/components/duet-date-picker/duet-date-picker.css +103 -46
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +176 -73
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +15 -5
  159. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.js +88 -31
  161. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.js +15 -6
  163. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  165. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +18 -8
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +62 -34
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +151 -70
  171. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  173. package/lib/collection/components/duet-header/duet-header.css +165 -65
  174. package/lib/collection/components/duet-header/duet-header.js +180 -91
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +39 -15
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +202 -56
  179. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  180. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  181. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  182. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  183. package/lib/collection/components/duet-input/duet-input.css +143 -68
  184. package/lib/collection/components/duet-input/duet-input.js +320 -146
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +25 -10
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +36 -13
  189. package/lib/collection/components/duet-link/duet-link.css +149 -25
  190. package/lib/collection/components/duet-link/duet-link.js +120 -32
  191. package/lib/collection/components/duet-list/duet-list.css +4 -4
  192. package/lib/collection/components/duet-list/duet-list.js +41 -12
  193. package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  195. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  196. package/lib/collection/components/duet-logo/duet-logo.js +112 -12
  197. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +60 -59
  199. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  201. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  205. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  207. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  209. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  210. package/lib/collection/components/duet-modal/duet-modal.js +197 -43
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +71 -30
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +104 -54
  213. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  214. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  215. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  216. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  217. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +58 -25
  219. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  220. package/lib/collection/components/duet-number-input/duet-number-input.js +208 -107
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +41 -16
  223. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  225. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  226. package/lib/collection/components/duet-pagination/duet-pagination.js +132 -78
  227. package/lib/collection/components/duet-panel/duet-panel.css +99 -0
  228. package/lib/collection/components/duet-panel/duet-panel.js +233 -0
  229. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.js +32 -11
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +46 -2
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +211 -58
  233. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +184 -90
  235. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +66 -31
  237. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  238. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  239. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  241. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  242. package/lib/collection/components/duet-radio/duet-radio.js +70 -52
  243. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  245. package/lib/collection/components/duet-range-slider/duet-range-slider.css +64 -19
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +87 -48
  247. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +44 -15
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +29 -19
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +170 -29
  251. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  253. package/lib/collection/components/duet-select/duet-select.css +55 -24
  254. package/lib/collection/components/duet-select/duet-select.js +114 -68
  255. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  257. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  259. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  260. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  261. package/lib/collection/components/duet-show-more/duet-show-more.js +88 -38
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +89 -51
  264. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  266. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +24 -11
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +50 -15
  268. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  270. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  272. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  273. package/lib/collection/components/duet-spacer/duet-spacer.js +16 -6
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +22 -24
  276. package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
  277. package/lib/collection/components/duet-step/duet-step.css +28 -13
  278. package/lib/collection/components/duet-step/duet-step.js +27 -18
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +46 -11
  281. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  283. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  285. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  287. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  289. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  291. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  292. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  293. package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.js +173 -56
  295. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  296. package/lib/collection/components/duet-table/duet-table.js +43 -14
  297. package/lib/collection/components/duet-textarea/duet-textarea.css +68 -23
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +231 -103
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +38 -11
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +88 -39
  301. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  303. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  305. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  307. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  309. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  311. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  315. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.js +101 -46
  317. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  318. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  319. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  320. package/lib/collection/components/duet-upload/duet-upload.js +433 -227
  321. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  322. package/lib/collection/components/duet-upload-item/duet-upload-item.js +19 -20
  323. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  325. package/lib/collection/index.js +1 -0
  326. package/lib/collection/utils/a11y-utils.js +20 -0
  327. package/lib/collection/utils/language-utils.js +7 -0
  328. package/lib/collection/utils/slot-utils.js +4 -0
  329. package/lib/collection/utils/teleport.js +22 -7
  330. package/lib/collection/utils/test-utils.js +2 -2
  331. package/lib/collection/utils/token-utils.js +59 -7
  332. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  333. package/lib/duet/duet.esm.js +1 -1
  334. package/lib/duet/p-01ce999b.entry.js +4 -0
  335. package/lib/duet/p-04c9c13e.entry.js +4 -0
  336. package/lib/duet/p-0d1a4928.entry.js +4 -0
  337. package/lib/duet/p-0fabcede.entry.js +4 -0
  338. package/lib/duet/p-1380370e.entry.js +4 -0
  339. package/lib/duet/p-140b87f4.entry.js +4 -0
  340. package/lib/duet/p-141f03da.entry.js +4 -0
  341. package/lib/duet/p-14d64261.entry.js +4 -0
  342. package/lib/duet/p-1U75pxcR.js +4 -0
  343. package/lib/duet/p-1d8da041.entry.js +4 -0
  344. package/lib/duet/p-24f206ab.entry.js +4 -0
  345. package/lib/duet/p-276f8827.entry.js +4 -0
  346. package/lib/duet/p-28325583.entry.js +4 -0
  347. package/lib/duet/p-29e677bc.entry.js +4 -0
  348. package/lib/duet/p-2c4f4896.entry.js +4 -0
  349. package/lib/duet/p-2d0eb4b5.entry.js +4 -0
  350. package/lib/duet/p-30ae4852.entry.js +4 -0
  351. package/lib/duet/p-320e4688.entry.js +4 -0
  352. package/lib/duet/p-36d2a441.entry.js +4 -0
  353. package/lib/duet/p-3a108321.entry.js +4 -0
  354. package/lib/duet/p-3b52f20d.entry.js +4 -0
  355. package/lib/duet/p-40956ec6.entry.js +4 -0
  356. package/lib/duet/p-43f15ad6.entry.js +4 -0
  357. package/lib/duet/p-4862f0c6.entry.js +4 -0
  358. package/lib/duet/{p-7d5c5b60.entry.js → p-486a4bc6.entry.js} +1 -1
  359. package/lib/duet/p-4d14780b.entry.js +4 -0
  360. package/lib/duet/p-4de6cd49.entry.js +4 -0
  361. package/lib/duet/p-540fc47b.entry.js +4 -0
  362. package/lib/duet/p-57ba8f5f.entry.js +4 -0
  363. package/lib/duet/p-581e1e08.entry.js +4 -0
  364. package/lib/duet/p-5db08755.entry.js +4 -0
  365. package/lib/duet/p-5f329414.entry.js +4 -0
  366. package/lib/duet/p-5iZMFvpJ.js +4 -0
  367. package/lib/duet/p-6043a6de.entry.js +4 -0
  368. package/lib/duet/p-6662042f.entry.js +4 -0
  369. package/lib/duet/p-6862c7d5.entry.js +4 -0
  370. package/lib/duet/p-6b2823ed.entry.js +4 -0
  371. package/lib/duet/p-6cf8e63d.entry.js +4 -0
  372. package/lib/duet/p-6d90a89c.entry.js +4 -0
  373. package/lib/duet/p-6qQ9c51e.js +4 -0
  374. package/lib/duet/p-72c7816e.entry.js +4 -0
  375. package/lib/duet/p-7a8f23b7.entry.js +4 -0
  376. package/lib/duet/p-823522c9.entry.js +4 -0
  377. package/lib/duet/p-83c7bfe0.entry.js +4 -0
  378. package/lib/duet/p-8857eb7b.entry.js +4 -0
  379. package/lib/duet/{p-e5229df1.entry.js → p-8f2fbd03.entry.js} +1 -1
  380. package/lib/duet/p-90981fbb.entry.js +4 -0
  381. package/lib/duet/p-90eed96d.entry.js +4 -0
  382. package/lib/duet/p-93303c68.entry.js +4 -0
  383. package/lib/duet/p-94f1de2c.entry.js +4 -0
  384. package/lib/duet/p-960ada39.entry.js +4 -0
  385. package/lib/duet/{p-597e4a0d.entry.js → p-9dc2b0d2.entry.js} +1 -1
  386. package/lib/duet/p-9ee8ddc9.entry.js +4 -0
  387. package/lib/duet/p-9fd10aed.entry.js +4 -0
  388. package/lib/duet/p-B0pM7dNk.js +4 -0
  389. package/lib/duet/p-BDAqOMlM.js +4 -0
  390. package/lib/duet/p-BVgBUIYF.js +4 -0
  391. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  392. package/lib/duet/p-Bg75Vqqq.js +4 -0
  393. package/lib/duet/p-BhYt_2Vd.js +5 -0
  394. package/lib/duet/p-BmMFVM-y.js +4 -0
  395. package/lib/duet/p-BtxOyTe3.js +4 -0
  396. package/lib/duet/p-CVPfl9fc.js +4 -0
  397. package/lib/duet/p-CooAqTCj.js +4 -0
  398. package/lib/duet/{p-b3d6e031.js → p-CxgSYSyh.js} +1 -1
  399. package/lib/duet/p-DJzDRf9m.js +4 -0
  400. package/lib/duet/p-DOuLHrH5.js +4 -0
  401. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  402. package/lib/duet/p-DvwKrUS6.js +4 -0
  403. package/lib/duet/p-a1e60676.entry.js +4 -0
  404. package/lib/duet/p-a28d4312.entry.js +4 -0
  405. package/lib/duet/p-a9692b2a.entry.js +4 -0
  406. package/lib/duet/p-a9cf57f5.entry.js +4 -0
  407. package/lib/duet/p-ab74c20e.entry.js +4 -0
  408. package/lib/duet/p-ac_1YilV.js +4 -0
  409. package/lib/duet/p-afabb51f.entry.js +4 -0
  410. package/lib/duet/p-b2464865.entry.js +4 -0
  411. package/lib/duet/p-b2f22262.entry.js +4 -0
  412. package/lib/duet/p-ba39d3ad.entry.js +4 -0
  413. package/lib/duet/p-bb8634c4.entry.js +4 -0
  414. package/lib/duet/p-bcb8d390.entry.js +4 -0
  415. package/lib/duet/p-bd0ad7c3.entry.js +4 -0
  416. package/lib/duet/p-ca3fe683.entry.js +4 -0
  417. package/lib/duet/p-d26c644d.entry.js +4 -0
  418. package/lib/duet/p-d31cafc9.entry.js +4 -0
  419. package/lib/duet/p-d35a4b95.entry.js +4 -0
  420. package/lib/duet/p-d4e2e471.entry.js +4 -0
  421. package/lib/duet/p-d8ebfd49.entry.js +4 -0
  422. package/lib/duet/p-d9f504b7.entry.js +4 -0
  423. package/lib/duet/{p-8cbd3dfd.entry.js → p-db22799a.entry.js} +1 -1
  424. package/lib/duet/p-db594a93.entry.js +4 -0
  425. package/lib/duet/p-dc4d385d.entry.js +4 -0
  426. package/lib/duet/p-dc57fff7.entry.js +4 -0
  427. package/lib/duet/p-de255274.entry.js +4 -0
  428. package/lib/duet/{p-546cf344.entry.js → p-de639eff.entry.js} +1 -1
  429. package/lib/duet/p-e195c5e2.entry.js +4 -0
  430. package/lib/duet/p-e2e7b3bd.entry.js +4 -0
  431. package/lib/duet/p-e3780362.entry.js +4 -0
  432. package/lib/duet/p-e7c058b0.entry.js +4 -0
  433. package/lib/duet/p-ec5b54f3.entry.js +4 -0
  434. package/lib/duet/p-f6720f8c.entry.js +4 -0
  435. package/lib/duet/p-f6f6b960.entry.js +4 -0
  436. package/lib/duet/p-fb4ab1f5.entry.js +4 -0
  437. package/lib/duet/p-fd120a7b.entry.js +4 -0
  438. package/lib/duet/p-fe34272e.entry.js +4 -0
  439. package/lib/duet/p-vVCYtBMj.js +4 -0
  440. package/lib/duet/p-xwlQQBxs.js +4 -0
  441. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  442. package/lib/esm/a11y-utils-BuWx2D09.js +43 -0
  443. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  444. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  445. package/lib/esm/{app-globals-e00fbe9c.js → app-globals-DRDLN5wE.js} +2 -2
  446. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  447. package/lib/esm/duet-action-button.entry.js +84 -27
  448. package/lib/esm/duet-alert.entry.js +106 -47
  449. package/lib/esm/duet-badge.entry.js +31 -7
  450. package/lib/esm/duet-banner.entry.js +71 -26
  451. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  452. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  453. package/lib/esm/duet-button_2.entry.js +152 -70
  454. package/lib/esm/duet-callout.entry.js +13 -8
  455. package/lib/esm/duet-caption_4.entry.js +212 -45
  456. package/lib/esm/duet-card.entry.js +93 -33
  457. package/lib/esm/duet-checkbox.entry.js +68 -30
  458. package/lib/esm/duet-checkmark.entry.js +21 -7
  459. package/lib/esm/duet-chip.entry.js +60 -31
  460. package/lib/esm/duet-choice_2.entry.js +280 -129
  461. package/lib/esm/duet-collapsible.entry.js +92 -31
  462. package/lib/esm/duet-combobox.entry.js +99 -56
  463. package/lib/esm/duet-contact-card.entry.js +17 -16
  464. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  465. package/lib/esm/duet-date-picker.entry.js +158 -55
  466. package/lib/esm/duet-divider_2.entry.js +30 -12
  467. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  468. package/lib/esm/duet-empty-state.entry.js +15 -7
  469. package/lib/esm/duet-fieldset.entry.js +51 -16
  470. package/lib/esm/duet-file-chooser.entry.js +18 -9
  471. package/lib/esm/duet-footer.entry.js +56 -28
  472. package/lib/esm/duet-grid_2.entry.js +169 -62
  473. package/lib/esm/duet-header_2.entry.js +303 -90
  474. package/lib/esm/duet-hero.entry.js +159 -33
  475. package/lib/esm/duet-icon.entry.js +64 -18
  476. package/lib/esm/duet-indicator.entry.js +59 -0
  477. package/lib/esm/duet-input_2.entry.js +226 -85
  478. package/lib/esm/duet-layout.entry.js +33 -11
  479. package/lib/esm/duet-list_2.entry.js +58 -12
  480. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  481. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  482. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  483. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  484. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  485. package/lib/esm/duet-menu-bar.entry.js +37 -57
  486. package/lib/esm/duet-modal.entry.js +122 -33
  487. package/lib/esm/duet-multiselect.entry.js +88 -40
  488. package/lib/esm/duet-nav.entry.js +12 -6
  489. package/lib/esm/duet-notification_2.entry.js +98 -30
  490. package/lib/esm/duet-number-input.entry.js +192 -69
  491. package/lib/esm/duet-overlay.entry.js +36 -12
  492. package/lib/esm/duet-page-heading.entry.js +16 -9
  493. package/lib/esm/duet-pagination_2.entry.js +162 -85
  494. package/lib/esm/duet-panel.entry.js +50 -0
  495. package/lib/esm/duet-phone-input.entry.js +115 -43
  496. package/lib/esm/duet-popup-menu_2.entry.js +223 -97
  497. package/lib/esm/duet-progress.entry.js +32 -11
  498. package/lib/esm/duet-promo-card.entry.js +27 -11
  499. package/lib/esm/duet-radio_2.entry.js +114 -53
  500. package/lib/esm/duet-range-slider.entry.js +73 -35
  501. package/lib/esm/duet-scrollable_3.entry.js +233 -86
  502. package/lib/esm/duet-section-layout.entry.js +17 -8
  503. package/lib/esm/duet-select.entry.js +89 -44
  504. package/lib/esm/duet-shaped-image.entry.js +16 -9
  505. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  506. package/lib/esm/duet-share-chart.entry.js +83 -0
  507. package/lib/esm/duet-show-more.entry.js +81 -36
  508. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  509. package/lib/esm/duet-slideout-link.entry.js +49 -14
  510. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  511. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  512. package/lib/esm/duet-slideout.entry.js +85 -50
  513. package/lib/esm/duet-status-icon.entry.js +28 -13
  514. package/lib/esm/duet-step_2.entry.js +73 -23
  515. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  516. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  517. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  518. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  519. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  520. package/lib/esm/duet-textarea.entry.js +146 -69
  521. package/lib/esm/duet-toggle.entry.js +55 -27
  522. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  523. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  524. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  525. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  526. package/lib/esm/duet-toolbar.entry.js +12 -8
  527. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  528. package/lib/esm/duet-tooltip.entry.js +97 -43
  529. package/lib/esm/duet-tray.entry.js +63 -22
  530. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  531. package/lib/esm/duet-upload-item.entry.js +12 -20
  532. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  533. package/lib/esm/duet.js +7 -6
  534. package/lib/esm/{errorcodes.utils-416994cc.js → errorcodes.utils-CjUqHglR.js} +3 -3
  535. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  536. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-Do5KtPgs.js} +1 -1
  537. package/lib/esm/form-search-CevX33LA.js +19 -0
  538. package/lib/esm/{index-1a6cee61.js → index-BhYt_2Vd.js} +1851 -1357
  539. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  540. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-BRuShBbJ.js} +1 -1
  541. package/lib/esm/{language-utils-8a9d5323.js → language-utils-D2jecvOr.js} +10 -3
  542. package/lib/esm/loader.js +4 -4
  543. package/lib/esm/{slot-utils-bf214ae5.js → slot-utils-nDLvv_4O.js} +6 -2
  544. package/lib/esm/{teleport-546f382d.js → teleport-CooAqTCj.js} +22 -7
  545. package/lib/esm/themeable-component-C0nhBgYw.js +72 -0
  546. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  547. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  548. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  549. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  550. package/lib/index.js +1 -1
  551. package/lib/loader/cdn.js +1 -2
  552. package/lib/loader/index.cjs.js +1 -2
  553. package/lib/loader/index.es2017.js +0 -1
  554. package/lib/loader/index.js +1 -2
  555. package/lib/types/common-strings.d.ts +3 -0
  556. package/lib/types/common-types.d.ts +1 -1
  557. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  558. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  559. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  560. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  561. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  562. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  563. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  564. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  565. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  566. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  567. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  568. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  569. package/lib/types/components/duet-grid/duet-grid.d.ts +10 -7
  570. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  571. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  572. package/lib/types/components/duet-input/duet-input.d.ts +21 -13
  573. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  574. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  575. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  576. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  577. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  578. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  579. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  580. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  581. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  582. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  583. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +23 -1
  584. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -6
  585. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  586. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  587. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  588. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -0
  589. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  590. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  591. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  592. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  593. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  594. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  595. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  596. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  597. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  598. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
  599. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  600. package/lib/types/components/duet-toggle/duet-toggle.d.ts +4 -0
  601. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  602. package/lib/types/components.d.ts +2136 -73
  603. package/lib/types/index.d.ts +1 -0
  604. package/lib/types/stencil-public-runtime.d.ts +35 -6
  605. package/lib/types/utils/a11y-utils.d.ts +11 -0
  606. package/lib/types/utils/language-utils.d.ts +1 -0
  607. package/lib/types/utils/slot-utils.d.ts +1 -0
  608. package/lib/types/utils/teleport.d.ts +4 -1
  609. package/lib/types/utils/token-utils.d.ts +4 -0
  610. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  611. package/package.json +37 -17
  612. package/lib/cjs/a11y-utils-be617c0c.js +0 -25
  613. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  614. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  615. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  616. package/lib/cjs/form-search-d61b2843.js +0 -8
  617. package/lib/cjs/themeable-component-996b489c.js +0 -15
  618. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  619. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  620. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  621. package/lib/dist-custom-elements/duet-alert.js +0 -9
  622. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  623. package/lib/dist-custom-elements/duet-badge.js +0 -9
  624. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  625. package/lib/dist-custom-elements/duet-banner.js +0 -157
  626. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  627. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  628. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  629. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  630. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  631. package/lib/dist-custom-elements/duet-button.js +0 -9
  632. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  633. package/lib/dist-custom-elements/duet-callout.js +0 -72
  634. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  635. package/lib/dist-custom-elements/duet-caption.js +0 -9
  636. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  637. package/lib/dist-custom-elements/duet-card.js +0 -174
  638. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  639. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  640. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  641. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  642. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  643. package/lib/dist-custom-elements/duet-chip.js +0 -9
  644. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  645. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  646. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  647. package/lib/dist-custom-elements/duet-choice.js +0 -454
  648. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  649. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  650. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  651. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  652. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  653. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  654. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  655. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  656. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  657. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  658. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  659. package/lib/dist-custom-elements/duet-divider.js +0 -9
  660. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  661. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  662. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  663. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  664. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  665. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  666. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  667. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  668. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  669. package/lib/dist-custom-elements/duet-footer.js +0 -223
  670. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  671. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  672. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  673. package/lib/dist-custom-elements/duet-grid.js +0 -9
  674. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  675. package/lib/dist-custom-elements/duet-header.js +0 -698
  676. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  677. package/lib/dist-custom-elements/duet-heading.js +0 -9
  678. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  679. package/lib/dist-custom-elements/duet-hero.js +0 -299
  680. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  681. package/lib/dist-custom-elements/duet-icon.js +0 -9
  682. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  683. package/lib/dist-custom-elements/duet-input.js +0 -9
  684. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  685. package/lib/dist-custom-elements/duet-label.js +0 -70
  686. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  687. package/lib/dist-custom-elements/duet-layout.js +0 -94
  688. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  689. package/lib/dist-custom-elements/duet-link.js +0 -9
  690. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  691. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  692. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  693. package/lib/dist-custom-elements/duet-list.js +0 -9
  694. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  695. package/lib/dist-custom-elements/duet-logo.js +0 -9
  696. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  697. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  698. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  699. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  700. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  701. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  702. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  703. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  704. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  705. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  706. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  707. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  708. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  709. package/lib/dist-custom-elements/duet-modal.js +0 -382
  710. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  711. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  712. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  713. package/lib/dist-custom-elements/duet-nav.js +0 -54
  714. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  715. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  716. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  717. package/lib/dist-custom-elements/duet-notification.js +0 -95
  718. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  719. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  720. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  721. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  722. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  723. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  724. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  725. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  726. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  727. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  728. package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
  729. package/lib/dist-custom-elements/duet-phone-input.js +0 -2122
  730. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  731. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  732. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  733. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  734. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  735. package/lib/dist-custom-elements/duet-progress.js +0 -9
  736. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  737. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  738. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  739. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  740. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  741. package/lib/dist-custom-elements/duet-radio.js +0 -230
  742. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  743. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  744. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  745. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  746. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  747. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  748. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  749. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  750. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  751. package/lib/dist-custom-elements/duet-select.js +0 -9
  752. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  753. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  754. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  755. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  756. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  757. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  758. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  759. package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
  760. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  761. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  762. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  763. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  764. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  765. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  766. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  767. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  768. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  769. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  770. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  771. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  772. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  773. package/lib/dist-custom-elements/duet-step.js +0 -147
  774. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  775. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  776. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  777. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  780. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  781. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  782. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  783. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  784. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  785. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  786. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  787. package/lib/dist-custom-elements/duet-tab-group.js +0 -312
  788. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  789. package/lib/dist-custom-elements/duet-tab.js +0 -150
  790. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  791. package/lib/dist-custom-elements/duet-table.js +0 -9
  792. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  793. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  794. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  795. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  796. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  797. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  800. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  801. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  802. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  803. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  804. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  805. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  806. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  807. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  808. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  809. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  810. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  811. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  812. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  813. package/lib/dist-custom-elements/duet-tray.js +0 -146
  814. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  815. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  816. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  817. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  818. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  819. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  820. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  821. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  822. package/lib/dist-custom-elements/index.d.ts +0 -33
  823. package/lib/dist-custom-elements/index.js +0 -29
  824. package/lib/dist-custom-elements/p-081025d8.js +0 -82
  825. package/lib/dist-custom-elements/p-0871ccd4.js +0 -56
  826. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  827. package/lib/dist-custom-elements/p-18248c41.js +0 -81
  828. package/lib/dist-custom-elements/p-196352e6.js +0 -39
  829. package/lib/dist-custom-elements/p-2768f969.js +0 -268
  830. package/lib/dist-custom-elements/p-30810e37.js +0 -60
  831. package/lib/dist-custom-elements/p-35375593.js +0 -161
  832. package/lib/dist-custom-elements/p-3c70317f.js +0 -63
  833. package/lib/dist-custom-elements/p-4150399b.js +0 -205
  834. package/lib/dist-custom-elements/p-548610a6.js +0 -2130
  835. package/lib/dist-custom-elements/p-592cf939.js +0 -102
  836. package/lib/dist-custom-elements/p-59782228.js +0 -61
  837. package/lib/dist-custom-elements/p-5d871374.js +0 -316
  838. package/lib/dist-custom-elements/p-5e91471a.js +0 -63
  839. package/lib/dist-custom-elements/p-60316b82.js +0 -642
  840. package/lib/dist-custom-elements/p-63963e6b.js +0 -124
  841. package/lib/dist-custom-elements/p-6620a58c.js +0 -607
  842. package/lib/dist-custom-elements/p-77667998.js +0 -232
  843. package/lib/dist-custom-elements/p-77d42564.js +0 -124
  844. package/lib/dist-custom-elements/p-8258c05e.js +0 -100
  845. package/lib/dist-custom-elements/p-8a840972.js +0 -194
  846. package/lib/dist-custom-elements/p-8d263ac9.js +0 -94
  847. package/lib/dist-custom-elements/p-91cdfcdd.js +0 -73
  848. package/lib/dist-custom-elements/p-940f9ee8.js +0 -1630
  849. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  850. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  851. package/lib/dist-custom-elements/p-9e31e365.js +0 -214
  852. package/lib/dist-custom-elements/p-9ee4d52e.js +0 -321
  853. package/lib/dist-custom-elements/p-a9b78a2b.js +0 -441
  854. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  855. package/lib/dist-custom-elements/p-aaa95dbc.js +0 -370
  856. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  857. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  858. package/lib/dist-custom-elements/p-b322feac.js +0 -206
  859. package/lib/dist-custom-elements/p-b632bf7b.js +0 -178
  860. package/lib/dist-custom-elements/p-ca3cb21e.js +0 -116
  861. package/lib/dist-custom-elements/p-ccee2b7f.js +0 -127
  862. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  863. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  864. package/lib/dist-custom-elements/p-df2458b1.js +0 -80
  865. package/lib/dist-custom-elements/p-e58296e6.js +0 -110
  866. package/lib/dist-custom-elements/p-ed1ef4c3.js +0 -55
  867. package/lib/dist-custom-elements/p-ed6a907e.js +0 -61
  868. package/lib/dist-custom-elements/p-ed6f3abc.js +0 -165
  869. package/lib/dist-custom-elements/p-ee0c73c3.js +0 -50
  870. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  871. package/lib/dist-custom-elements/p-f4067b03.js +0 -154
  872. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  873. package/lib/dist-custom-elements/p-f6270dca.js +0 -83
  874. package/lib/duet/duet.js +0 -127
  875. package/lib/duet/p-00556ef0.entry.js +0 -4
  876. package/lib/duet/p-00e58acf.system.entry.js +0 -4
  877. package/lib/duet/p-02d914b6.system.js +0 -4
  878. package/lib/duet/p-03dfd146.system.entry.js +0 -4
  879. package/lib/duet/p-043d8cac.entry.js +0 -4
  880. package/lib/duet/p-053b71e6.system.js +0 -4
  881. package/lib/duet/p-078dc32d.system.js +0 -4
  882. package/lib/duet/p-083bbc28.js +0 -4
  883. package/lib/duet/p-097593e0.system.entry.js +0 -4
  884. package/lib/duet/p-0c4bbd65.system.js +0 -4
  885. package/lib/duet/p-0d7da85a.js +0 -4
  886. package/lib/duet/p-0dc9089b.system.js +0 -4
  887. package/lib/duet/p-115c79b6.js +0 -4
  888. package/lib/duet/p-12739ce5.entry.js +0 -4
  889. package/lib/duet/p-154681bc.system.entry.js +0 -4
  890. package/lib/duet/p-16bc0f6a.system.entry.js +0 -4
  891. package/lib/duet/p-20a9379e.entry.js +0 -4
  892. package/lib/duet/p-21124f63.system.entry.js +0 -4
  893. package/lib/duet/p-222fb4e2.entry.js +0 -4
  894. package/lib/duet/p-2306d206.entry.js +0 -4
  895. package/lib/duet/p-232405fe.system.entry.js +0 -4
  896. package/lib/duet/p-280babbe.entry.js +0 -4
  897. package/lib/duet/p-29cfae19.system.entry.js +0 -4
  898. package/lib/duet/p-2acb5228.system.entry.js +0 -4
  899. package/lib/duet/p-2bb44297.system.js +0 -4
  900. package/lib/duet/p-2d3cfed7.entry.js +0 -4
  901. package/lib/duet/p-2ea79237.entry.js +0 -4
  902. package/lib/duet/p-2f4a1c87.system.entry.js +0 -4
  903. package/lib/duet/p-30424dea.entry.js +0 -4
  904. package/lib/duet/p-32f2bb6f.system.entry.js +0 -4
  905. package/lib/duet/p-36d473db.entry.js +0 -4
  906. package/lib/duet/p-36e38e72.entry.js +0 -4
  907. package/lib/duet/p-380e506a.system.entry.js +0 -4
  908. package/lib/duet/p-3931d796.system.entry.js +0 -4
  909. package/lib/duet/p-396397f0.entry.js +0 -4
  910. package/lib/duet/p-39c8d5f4.entry.js +0 -4
  911. package/lib/duet/p-3c43bf45.system.entry.js +0 -4
  912. package/lib/duet/p-3c548017.entry.js +0 -4
  913. package/lib/duet/p-3edeecdd.system.entry.js +0 -4
  914. package/lib/duet/p-41982d26.system.js +0 -4
  915. package/lib/duet/p-422bf802.system.entry.js +0 -4
  916. package/lib/duet/p-42789990.system.entry.js +0 -4
  917. package/lib/duet/p-44ac35f1.entry.js +0 -4
  918. package/lib/duet/p-49957220.system.js +0 -4
  919. package/lib/duet/p-49cbde53.entry.js +0 -4
  920. package/lib/duet/p-49d89759.system.entry.js +0 -4
  921. package/lib/duet/p-4af1174c.entry.js +0 -4
  922. package/lib/duet/p-4bbc1e3f.system.entry.js +0 -4
  923. package/lib/duet/p-4cff3036.system.js +0 -4
  924. package/lib/duet/p-4d228791.entry.js +0 -4
  925. package/lib/duet/p-4e095335.entry.js +0 -4
  926. package/lib/duet/p-4f872b2e.system.entry.js +0 -4
  927. package/lib/duet/p-4f945200.system.js +0 -4
  928. package/lib/duet/p-4ffcbae2.entry.js +0 -4
  929. package/lib/duet/p-534baf68.system.entry.js +0 -4
  930. package/lib/duet/p-55b6ebd2.system.entry.js +0 -4
  931. package/lib/duet/p-565c967d.system.entry.js +0 -4
  932. package/lib/duet/p-56d5d3bd.system.entry.js +0 -4
  933. package/lib/duet/p-570fd695.system.entry.js +0 -4
  934. package/lib/duet/p-5a148896.entry.js +0 -4
  935. package/lib/duet/p-5a47d2bb.entry.js +0 -4
  936. package/lib/duet/p-5acfa4bf.entry.js +0 -4
  937. package/lib/duet/p-5b5a4a8f.entry.js +0 -4
  938. package/lib/duet/p-5cbadb53.system.entry.js +0 -4
  939. package/lib/duet/p-5cc339cf.entry.js +0 -4
  940. package/lib/duet/p-5d1a4238.entry.js +0 -4
  941. package/lib/duet/p-5e01a303.system.entry.js +0 -4
  942. package/lib/duet/p-5f668b4a.system.entry.js +0 -4
  943. package/lib/duet/p-5ffa7838.entry.js +0 -4
  944. package/lib/duet/p-61173f11.system.js +0 -5
  945. package/lib/duet/p-622e1ffc.js +0 -4
  946. package/lib/duet/p-64f2d5cf.system.entry.js +0 -4
  947. package/lib/duet/p-650c6251.system.entry.js +0 -4
  948. package/lib/duet/p-69e55527.system.entry.js +0 -4
  949. package/lib/duet/p-6ac3b242.entry.js +0 -4
  950. package/lib/duet/p-6ac7d70c.entry.js +0 -4
  951. package/lib/duet/p-6c8f09c8.system.entry.js +0 -4
  952. package/lib/duet/p-6eec1445.system.entry.js +0 -4
  953. package/lib/duet/p-6fc78573.entry.js +0 -4
  954. package/lib/duet/p-705dbeac.system.entry.js +0 -4
  955. package/lib/duet/p-71a37f03.entry.js +0 -4
  956. package/lib/duet/p-752fa0fc.system.js +0 -4
  957. package/lib/duet/p-760919c7.system.entry.js +0 -4
  958. package/lib/duet/p-7be5b9a7.js +0 -4
  959. package/lib/duet/p-7c119b9b.system.entry.js +0 -4
  960. package/lib/duet/p-7cd899ca.system.entry.js +0 -4
  961. package/lib/duet/p-7d8a2628.js +0 -4
  962. package/lib/duet/p-7ea9d8e4.system.entry.js +0 -4
  963. package/lib/duet/p-7fc6af46.system.entry.js +0 -4
  964. package/lib/duet/p-7fe5e652.entry.js +0 -4
  965. package/lib/duet/p-86038989.entry.js +0 -4
  966. package/lib/duet/p-872b746e.entry.js +0 -4
  967. package/lib/duet/p-875d3971.entry.js +0 -4
  968. package/lib/duet/p-88daf9bb.system.entry.js +0 -4
  969. package/lib/duet/p-89ac2008.system.entry.js +0 -4
  970. package/lib/duet/p-89cf1a91.system.js +0 -4
  971. package/lib/duet/p-8d43c8cf.entry.js +0 -4
  972. package/lib/duet/p-8f450e25.entry.js +0 -4
  973. package/lib/duet/p-8f477bd6.system.js +0 -4
  974. package/lib/duet/p-8faaaf5f.system.js +0 -4
  975. package/lib/duet/p-907b42ae.system.entry.js +0 -4
  976. package/lib/duet/p-9183c04b.system.entry.js +0 -4
  977. package/lib/duet/p-91b68d54.entry.js +0 -4
  978. package/lib/duet/p-92d47024.system.entry.js +0 -4
  979. package/lib/duet/p-939f268d.entry.js +0 -4
  980. package/lib/duet/p-93c115a9.system.entry.js +0 -4
  981. package/lib/duet/p-943bf2b1.system.entry.js +0 -4
  982. package/lib/duet/p-9592f6ba.entry.js +0 -4
  983. package/lib/duet/p-96d76a4b.entry.js +0 -4
  984. package/lib/duet/p-98636086.system.js +0 -4
  985. package/lib/duet/p-9a57fac7.entry.js +0 -4
  986. package/lib/duet/p-9b16ba14.system.entry.js +0 -4
  987. package/lib/duet/p-9b61d7b9.system.entry.js +0 -4
  988. package/lib/duet/p-9d429df0.system.entry.js +0 -4
  989. package/lib/duet/p-9e5b11f7.entry.js +0 -4
  990. package/lib/duet/p-9ee0f850.entry.js +0 -4
  991. package/lib/duet/p-a083b91a.js +0 -5
  992. package/lib/duet/p-a11e1a80.system.entry.js +0 -4
  993. package/lib/duet/p-a1e5f0d4.entry.js +0 -4
  994. package/lib/duet/p-a4b80c74.entry.js +0 -4
  995. package/lib/duet/p-a7b0d8ce.entry.js +0 -4
  996. package/lib/duet/p-aaa7a7bd.js +0 -4
  997. package/lib/duet/p-abc0c9c6.system.js +0 -4
  998. package/lib/duet/p-ad07b21e.system.entry.js +0 -4
  999. package/lib/duet/p-ad0d289a.system.entry.js +0 -4
  1000. package/lib/duet/p-ad2b37b0.entry.js +0 -4
  1001. package/lib/duet/p-adc2d7ce.system.entry.js +0 -4
  1002. package/lib/duet/p-aef92a68.entry.js +0 -4
  1003. package/lib/duet/p-afad5fd3.system.js +0 -4
  1004. package/lib/duet/p-b15523c2.entry.js +0 -4
  1005. package/lib/duet/p-b17984d6.system.entry.js +0 -4
  1006. package/lib/duet/p-b2df3729.entry.js +0 -4
  1007. package/lib/duet/p-b327a269.entry.js +0 -4
  1008. package/lib/duet/p-b33512d6.js +0 -4
  1009. package/lib/duet/p-b48b58e1.entry.js +0 -4
  1010. package/lib/duet/p-b864159a.system.js +0 -4
  1011. package/lib/duet/p-b8775dc1.system.entry.js +0 -4
  1012. package/lib/duet/p-ba03d034.system.js +0 -4
  1013. package/lib/duet/p-bbb92080.entry.js +0 -4
  1014. package/lib/duet/p-bd5b0381.entry.js +0 -4
  1015. package/lib/duet/p-bdb001df.entry.js +0 -4
  1016. package/lib/duet/p-be097905.entry.js +0 -4
  1017. package/lib/duet/p-beeb12f1.js +0 -4
  1018. package/lib/duet/p-c118fad4.js +0 -4
  1019. package/lib/duet/p-c1483141.entry.js +0 -4
  1020. package/lib/duet/p-c2e74c89.system.entry.js +0 -4
  1021. package/lib/duet/p-c40ee5d3.entry.js +0 -4
  1022. package/lib/duet/p-c480533b.entry.js +0 -4
  1023. package/lib/duet/p-c487869c.entry.js +0 -4
  1024. package/lib/duet/p-c507caa0.entry.js +0 -4
  1025. package/lib/duet/p-c58f3932.entry.js +0 -4
  1026. package/lib/duet/p-c5d88a34.system.entry.js +0 -4
  1027. package/lib/duet/p-c6bf2cc4.system.entry.js +0 -4
  1028. package/lib/duet/p-c6f29010.system.entry.js +0 -4
  1029. package/lib/duet/p-ca29569e.system.js +0 -4
  1030. package/lib/duet/p-ca3cb21e.js +0 -4
  1031. package/lib/duet/p-ca901ab9.entry.js +0 -4
  1032. package/lib/duet/p-cc5e6288.system.js +0 -4
  1033. package/lib/duet/p-cc67e773.js +0 -4
  1034. package/lib/duet/p-cdba12cc.system.js +0 -4
  1035. package/lib/duet/p-ce282523.entry.js +0 -4
  1036. package/lib/duet/p-cebffd48.system.entry.js +0 -4
  1037. package/lib/duet/p-cf2d66a9.system.entry.js +0 -4
  1038. package/lib/duet/p-cf511280.system.entry.js +0 -4
  1039. package/lib/duet/p-d004da5f.js +0 -4
  1040. package/lib/duet/p-d2875f04.system.entry.js +0 -4
  1041. package/lib/duet/p-d40b4a20.entry.js +0 -4
  1042. package/lib/duet/p-d4554cf2.entry.js +0 -4
  1043. package/lib/duet/p-d4ddd4d1.entry.js +0 -4
  1044. package/lib/duet/p-d5317013.system.entry.js +0 -4
  1045. package/lib/duet/p-d68e93e4.system.entry.js +0 -4
  1046. package/lib/duet/p-d6a321fd.system.entry.js +0 -4
  1047. package/lib/duet/p-d835a292.entry.js +0 -4
  1048. package/lib/duet/p-d840dcdc.system.entry.js +0 -4
  1049. package/lib/duet/p-dac4bc08.system.entry.js +0 -4
  1050. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1051. package/lib/duet/p-e0b83f6c.system.entry.js +0 -4
  1052. package/lib/duet/p-e12066c8.system.js +0 -4
  1053. package/lib/duet/p-e216bea4.system.js +0 -4
  1054. package/lib/duet/p-e29d9d5b.system.entry.js +0 -4
  1055. package/lib/duet/p-e3857119.js +0 -4
  1056. package/lib/duet/p-e45d4dc4.system.entry.js +0 -4
  1057. package/lib/duet/p-e4c8559c.system.js +0 -4
  1058. package/lib/duet/p-e50214f5.system.entry.js +0 -4
  1059. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1060. package/lib/duet/p-e7c3186e.system.entry.js +0 -4
  1061. package/lib/duet/p-e89a92a9.entry.js +0 -4
  1062. package/lib/duet/p-eb02c981.system.entry.js +0 -4
  1063. package/lib/duet/p-ed086770.system.entry.js +0 -4
  1064. package/lib/duet/p-eebfe28d.system.entry.js +0 -4
  1065. package/lib/duet/p-ef520403.entry.js +0 -4
  1066. package/lib/duet/p-f0260e4c.entry.js +0 -4
  1067. package/lib/duet/p-f07eace6.system.entry.js +0 -4
  1068. package/lib/duet/p-f1083d8c.system.entry.js +0 -4
  1069. package/lib/duet/p-f10d7817.entry.js +0 -4
  1070. package/lib/duet/p-f11208c3.js +0 -4
  1071. package/lib/duet/p-f18245aa.system.entry.js +0 -4
  1072. package/lib/duet/p-f4063bd4.entry.js +0 -4
  1073. package/lib/duet/p-f56098f1.system.entry.js +0 -4
  1074. package/lib/duet/p-f6000a03.js +0 -4
  1075. package/lib/duet/p-f67921d2.system.entry.js +0 -4
  1076. package/lib/duet/p-f6b21d17.system.js +0 -4
  1077. package/lib/duet/p-f7fe4161.system.entry.js +0 -4
  1078. package/lib/duet/p-f97dd407.entry.js +0 -4
  1079. package/lib/duet/p-fcfae4d6.entry.js +0 -4
  1080. package/lib/esm/a11y-utils-c3a7fd7e.js +0 -23
  1081. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1082. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1083. package/lib/esm/body-scroll-46854769.js +0 -234
  1084. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1085. package/lib/esm/common-strings-af765cad.js +0 -25
  1086. package/lib/esm/create-id-149a1b6d.js +0 -11
  1087. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1088. package/lib/esm/focus-utils-7bc146cd.js +0 -18
  1089. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1090. package/lib/esm/input-utils-85681162.js +0 -53
  1091. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1092. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1093. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1094. package/lib/esm/label-de5c8cbd.js +0 -20
  1095. package/lib/esm/polyfills/core-js.js +0 -11
  1096. package/lib/esm/polyfills/dom.js +0 -79
  1097. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1098. package/lib/esm/polyfills/index.js +0 -34
  1099. package/lib/esm/polyfills/system.js +0 -6
  1100. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1101. package/lib/esm/themeable-component-860041c5.js +0 -13
  1102. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1103. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1104. package/lib/esm-es5/a11y-utils-c3a7fd7e.js +0 -4
  1105. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1106. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1107. package/lib/esm-es5/app-globals-e00fbe9c.js +0 -4
  1108. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1109. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1110. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1111. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1112. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1113. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1114. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1115. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1116. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1117. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1118. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1119. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1120. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1121. package/lib/esm-es5/duet-card.entry.js +0 -4
  1122. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1123. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1124. package/lib/esm-es5/duet-chip.entry.js +0 -4
  1125. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1126. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1127. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1128. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1129. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1130. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1131. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1132. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1133. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1134. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1135. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1136. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1137. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1138. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1139. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1140. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1141. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1142. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1143. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1149. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1150. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1151. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1152. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1153. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1154. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1155. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1156. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1157. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1158. package/lib/esm-es5/duet-phone-input.entry.js +0 -4
  1159. package/lib/esm-es5/duet-popup-menu_2.entry.js +0 -4
  1160. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1161. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1162. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1163. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1164. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1165. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1166. package/lib/esm-es5/duet-select.entry.js +0 -4
  1167. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1168. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1173. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1174. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1175. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1179. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1180. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1181. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1186. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1187. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1189. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1190. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1191. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1192. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1193. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1194. package/lib/esm-es5/duet.js +0 -4
  1195. package/lib/esm-es5/errorcodes.utils-416994cc.js +0 -4
  1196. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1197. package/lib/esm-es5/focus-utils-7bc146cd.js +0 -4
  1198. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1199. package/lib/esm-es5/index-1a6cee61.js +0 -4
  1200. package/lib/esm-es5/index.js +0 -3
  1201. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1202. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1203. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1204. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1205. package/lib/esm-es5/label-de5c8cbd.js +0 -4
  1206. package/lib/esm-es5/language-utils-8a9d5323.js +0 -4
  1207. package/lib/esm-es5/loader.js +0 -4
  1208. package/lib/esm-es5/slot-utils-bf214ae5.js +0 -4
  1209. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1210. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1211. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1212. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1213. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1214. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1215. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1216. package/lib/loader/package.json +0 -11
  1217. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1218. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1219. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1220. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1221. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1222. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1223. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1224. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1225. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1226. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1227. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1228. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1229. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1230. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1231. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1237. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1238. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,5 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(f,u)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return o([r,e])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.11"});var f=Object.defineProperty;var u=function(r,e){for(var n in e)f(r,n,{get:e[n],enumerable:true})};var o=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var l=new WeakMap;var v=function(r){return l.get(r)};var s=r("r",(function(r,e){return l.set(e.t=r,e)}));var c=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.p=r}));r["s-p"]=[];r["s-rc"]=[]}return l.set(r,n)};var d=function(r,e){return e in r};var h=function(r,e){return(0,console.error)(r,e)};var p=new Map;var m=function(r,n,t){var i=r.m.replace(/-/g,"_");var a=r.$;if(!a){return void 0}var f=p.get(a);if(f){return f[i]}
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{p.set(a,r)}return r[i]}),h)};var y=new Map;var $="r";var b="o";var w="s";var g="t";var _="c";var S="s-id";var j="sty-id";var O="c-id";var k="slot-fb{display:contents}slot-fb[hidden]{display:none}";var x="http://www.w3.org/1999/xlink";var A=typeof window!=="undefined"?window:{};var C=r("d",A.document||{head:{}});var E={i:0,_:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var T=function(){var r=false;try{C.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(r){}return r}();var D=r("p",(function(r){return Promise.resolve(r)}));var R=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var L=false;var N=[];var F=[];var M=function(r,e){return function(n){r.push(n);if(!L){L=true;if(e&&E.i&4){U(P)}else{E.raf(P)}}}};var I=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){h(r)}}r.length=0};var P=function(){I(N);{I(F);if(L=N.length>0){E.raf(P)}}};var U=function(r){return D().then(r)};var W=M(F,true);var B={};var H="http://www.w3.org/2000/svg";var V="http://www.w3.org/1999/xhtml";var z=function(r){return r!=null};var G=function(r){r=typeof r;return r==="object"||r==="function"};function Q(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var q={};u(q,{err:function(){return X},map:function(){return J},ok:function(){return K},unwrap:function(){return Y},unwrapErr:function(){return Z}});var K=function(r){return{isOk:true,isErr:false,value:r}};var X=function(r){return{isOk:false,isErr:true,value:r}};function J(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return K(r)}))}else{return K(n)}}if(r.isErr){var t=r.value;return X(t)}throw"should never get here"}var Y=function(r){if(r.isOk){return r.value}else{throw r.value}};var Z=function(r){if(r.isErr){return r.value}else{throw r.value}};var rr=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!G(i)){i=String(i)}if(u&&o){l[l.length-1].S+=i}else{l.push(u?er(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,ir)}var c=er(r,null);c.j=e;if(l.length>0){c.O=l}{c.k=a}{c.A=f}return c}));var er=function(r,e){var n={i:0,C:r,S:e,T:null,O:null};{n.j=null}{n.k=null}{n.A=null}return n};var nr=r("H",{});var tr=function(r){return r&&r.C===nr};var ir={forEach:function(r,e){return r.map(ar).forEach(e)},map:function(r,e){return r.map(ar).map(e).map(fr)}};var ar=function(r){return{vattrs:r.j,vchildren:r.O,vkey:r.k,vname:r.A,vtag:r.C,vtext:r.S}};var fr=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return rr.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=er(r.vtag,r.vtext);n.j=r.vattrs;n.O=r.vchildren;n.k=r.vkey;n.A=r.vname;return n};var ur=function(r,e,n,t,i,a){if(n!==t){var f=d(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=lr(n);var v=lr(t);if(r["s-si"]&&v.indexOf(r["s-si"])<0){v.push(r["s-si"])}o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(d(A,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(vr);e=e.replace(sr,"");if(n){E.rel(r,e,n,c)}if(t){E.ael(r,e,t,c)}}}else{var h=G(t);if((f||h&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var p=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=p){if(typeof r.__lookupSetter__(e)==="function"){r[e]=p}else{r.setAttribute(e,p)}}}else{r[e]=t}}catch(r){}}var m=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;m=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(m){r.removeAttributeNS(x,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!h){t=t===true?"":t;if(m){r.setAttributeNS(x,e,t)}else{r.setAttribute(e,t)}}}}};var or=/\s/;var lr=function(r){return"object"==typeof r&&"baseVal"in r&&(r=r.baseVal),r?r.split(or):[]};var vr="Capture";var sr=new RegExp(vr+"$");var cr=function(r,e,n){var t=e.T.nodeType===11&&e.T.host?e.T.host:e.T;var i=r&&r.j||B;var a=e.j||B;{for(var f=0,u=dr(Object.keys(i));f<u.length;f++){var o=u[f];if(!(o in a)){ur(t,o,i[o],void 0,n,e.i)}}}for(var l=0,v=dr(Object.keys(a));l<v.length;l++){var o=v[l];ur(t,o,i[o],a[o],n,e.i)}};function dr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var hr;var pr;var mr;var yr=false;var $r=false;var br=false;var wr=false;var gr=function(r,e,n,t){var a;var f=e.O[n];var u=0;var o;var l;var v;if(!yr){br=true;if(f.C==="slot"){if(hr){t.classList.add(hr+"-s")}f.i|=f.O?2:1}}if(f.S!==null){o=f.T=C.createTextNode(f.S)}else if(f.i&1){o=f.T=C.createTextNode("")}else{if(!wr){wr=f.C==="svg"}o=f.T=C.createElementNS(wr?H:V,!yr&&i.slotRelocation&&f.i&2?"slot-fb":f.C);if(wr&&f.C==="foreignObject"){wr=false}{cr(null,f,wr)}var s=o.getRootNode();var c=!s.querySelector("body");if(!c&&i.scoped&&z(hr)&&o["s-si"]!==hr){o.classList.add(o["s-si"]=hr)}{Mr(o,t)}if(f.O){for(u=0;u<f.O.length;++u){l=gr(r,f,u,o);if(l){o.appendChild(l)}}}{if(f.C==="svg"){wr=false}else if(o.tagName==="foreignObject"){wr=true}}}o["s-hn"]=mr;{if(f.i&(2|1)){o["s-sr"]=true;o["s-cr"]=pr;o["s-sn"]=f.A||"";o["s-rf"]=(a=f.j)==null?void 0:a.ref;v=r&&r.O&&r.O[n];if(v&&v.C===f.C&&r.T){{_r(r.T,false)}}}}return o};var _r=function(r,e){E.i|=1;var n=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]&&i.experimentalSlotFixes){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===mr){n.push(t)}}}for(var a=n.length-1;a>=0;a--){var f=n[a];if(f["s-hn"]!==mr&&f["s-ol"]){Nr(Ar(f),f,xr(f));f["s-ol"].remove();f["s-ol"]=void 0;f["s-sh"]=void 0;br=true}if(e){_r(f,e)}}E.i&=~1};var Sr=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(f.shadowRoot&&f.tagName===mr){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=gr(null,n,i,r);if(u){t[i].T=u;Nr(f,u,xr(e))}}}};var jr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.T;Lr(i);if(a){{$r=true;if(a["s-ol"]){a["s-ol"].remove()}else{_r(a,true)}}a.remove()}}}};var Or=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=e.length-1;var v=e[0];var s=e[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var m;while(a<=l&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(kr(v,d,i)){Cr(v,d,i);v=e[++a];d=t[++f]}else if(kr(s,h,i)){Cr(s,h,i);s=e[--l];h=t[--c]}else if(kr(v,h,i)){if(v.C==="slot"||h.C==="slot"){_r(v.T.parentNode,false)}Cr(v,h,i);Nr(r,v.T,s.T.nextSibling);v=e[++a];h=t[--c]}else if(kr(s,d,i)){if(v.C==="slot"||h.C==="slot"){_r(s.T.parentNode,false)}Cr(s,d,i);Nr(r,s.T,v.T);s=e[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].k!==null&&e[o].k===d.k){u=o;break}}}if(u>=0){m=e[u];if(m.C!==d.C){p=gr(e&&e[f],n,u,r)}else{Cr(m,d,i);e[u]=void 0;p=m.T}d=t[++f]}else{p=gr(e&&e[f],n,f,r);d=t[++f]}if(p){{Nr(Ar(v.T),p,xr(v.T))}}}}if(a>l){Sr(r,t[c+1]==null?null:t[c+1].T,n,t,f,c)}else if(f>c){jr(e,a,l)}};var kr=function(r,e,n){if(n===void 0){n=false}if(r.C===e.C){if(r.C==="slot"){if("D"in r&&n&&r.T.nodeType!==8){return false}return r.A===e.A}if(!n){return r.k===e.k}return true}return false};var xr=function(r){return r&&r["s-ol"]||r};var Ar=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var Cr=function(r,e,n){if(n===void 0){n=false}var t=e.T=r.T;var a=r.O;var f=e.O;var u=e.C;var o=e.S;var l;if(o===null){{wr=u==="svg"?true:u==="foreignObject"?false:wr}{if(u==="slot"&&!yr);else{cr(r,e,wr)}}if(a!==null&&f!==null){Or(t,a,e,f,n)}else if(f!==null){if(r.S!==null){t.textContent=""}Sr(t,null,e,f,0,f.length-1)}else if(!n&&i.updatable&&a!==null){jr(a,0,a.length-1)}if(wr&&u==="svg"){wr=false}}else if(l=t["s-cr"]){l.parentNode.textContent=o}else if(r.S!==o){t.data=o}};var Er=function(r){var e=r.__childNodes||r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o!==i){if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&(a===o.getAttribute("slot")||a===o["s-sn"])||o.nodeType===3&&a===o["s-sn"]){i.hidden=true;break}}else if(a===o["s-sn"]){if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}}Er(i)}}};var Tr=[];var Dr=function(r){var e;var n;var t;var a=r.__childNodes||r.childNodes;for(var f=0,u=a;f<u.length;f++){var o=u[f];if(o["s-sr"]&&(e=o["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;var l=o["s-sn"];var v=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==o["s-hn"]&&!i.experimentalSlotFixes){if(Rr(e,l)){var r=Tr.find((function(r){return r.R===e}));$r=true;e["s-sn"]=e["s-sn"]||l;if(r){r.R["s-sh"]=o["s-hn"];r.L=o}else{e["s-sh"]=o["s-hn"];Tr.push({L:o,R:e})}if(e["s-sr"]){Tr.map((function(n){if(Rr(n.R,e["s-sn"])){r=Tr.find((function(r){return r.R===e}));if(r&&!n.L){n.L=r.L}}}))}}else if(!Tr.some((function(r){return r.R===e}))){Tr.push({R:e})}}};for(t=n.length-1;t>=0;t--){v()}}if(o.nodeType===1){Dr(o)}}};var Rr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var Lr=function(r){{r.j&&r.j.ref&&r.j.ref(null);r.O&&r.O.map(Lr)}};var Nr=function(r,e,n){var t=r==null?void 0:r.insertBefore(e,n);{Mr(e,r)}return t};var Fr=function(r){var e=[];if(r){e.push.apply(e,__spreadArray(__spreadArray(__spreadArray([],r["s-scs"]||[],false),[r["s-si"],r["s-sc"]],false),Fr(r.parentElement),false))}return e};var Mr=function(r,e,n){if(n===void 0){n=false}var t;if(r&&e&&r.nodeType===1){var i=new Set(Fr(e).filter(Boolean));if(i.size){(t=r.classList)==null?void 0:t.add.apply(t,r["s-scs"]=Array.from(i));if(r["s-ol"]||n){for(var a=0,f=Array.from(r.__childNodes||r.childNodes);a<f.length;a++){var u=f[a];Mr(u,r,true)}}}}};var Ir=function(r,e,n){if(n===void 0){n=false}var t,i,a,f;var u=r.$hostElement$;var o=r.u;var l=r.N||er(null,null);var v=tr(e)?e:rr(null,null,e);mr=u.tagName;if(o.F){v.j=v.j||{};o.F.map((function(r){var e=r[0],n=r[1];return v.j[n]=u[e]}))}if(n&&v.j){for(var s=0,c=Object.keys(v.j);s<c.length;s++){var d=c[s];if(u.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){v.j[d]=u[d]}}}v.C=null;v.i|=4;r.N=v;v.T=l.T=u.shadowRoot||u;{hr=u["s-sc"]}yr=(o.i&1)!==0;{pr=u["s-cr"];$r=false}Cr(l,v,n);{E.i|=1;if(br){Dr(v.T);for(var h=0,p=Tr;h<p.length;h++){var m=p[h];var y=m.R;if(!y["s-ol"]){var $=C.createTextNode("");$["s-nr"]=y;Nr(y.parentNode,y["s-ol"]=$,y)}}for(var b=0,w=Tr;b<w.length;b++){var m=w[b];var y=m.R;var g=m.L;if(g){var _=g.parentNode;var S=g.nextSibling;{var $=(t=y["s-ol"])==null?void 0:t.previousSibling;while($){var j=(i=$["s-nr"])!=null?i:null;if(j&&j["s-sn"]===y["s-sn"]&&_===j.parentNode){j=j.nextSibling;while(j===y||(j==null?void 0:j["s-sr"])){j=j==null?void 0:j.nextSibling}if(!j||!j["s-nr"]){S=j;break}}$=$.previousSibling}}if(!S&&_!==y.parentNode||y.nextSibling!==S){if(y!==S){if(!y["s-hn"]&&y["s-ol"]){y["s-hn"]=y["s-ol"].parentNode.nodeName}Nr(_,y,S);if(y.nodeType===1){y.hidden=(a=y["s-ih"])!=null?a:false}}}y&&typeof g["s-rf"]==="function"&&g["s-rf"](y)}else{if(y.nodeType===1){if(n){y["s-ih"]=(f=y.hidden)!=null?f:false}y.hidden=true}}}}if($r){Er(v.T)}E.i&=~1;Tr.length=0}pr=void 0};var Pr=function(r){var e=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);var n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");if(!n){n=Object.getOwnPropertyDescriptor(r,"childNodes")}if(n)Object.defineProperty(r,"__childNodes",n);var t=Object.getOwnPropertyDescriptor(Element.prototype,"children");if(!t){t=Object.getOwnPropertyDescriptor(r,"children")}if(t)Object.defineProperty(r,"__children",t);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});if(!n)return;Object.defineProperty(r,"childNodes",{get:function(){var r,n;if(!E.i||!((r=v(this))==null?void 0:r.i)||(E.i&1)===0&&((n=v(this))==null?void 0:n.i)&2){var t=new e;var i=Wr(this.__childNodes);t.push.apply(t,i);return t}return e.from(this.__childNodes)}})};var Ur=function(r,e,n,t){var i;if(r["s-ol"]&&r["s-ol"].isConnected){i=r["s-ol"]}else{i=document.createTextNode("");i["s-nr"]=r}if(!e["s-cr"]||!e["s-cr"].parentNode)return;var a=e["s-cr"].parentNode;var f=n?a.__prepend||a.prepend:a.__appendChild||a.appendChild;if(typeof t!=="undefined"){{i["s-oo"]=t;var u=a.__childNodes||a.childNodes;var o=[i];u.forEach((function(r){if(r["s-nr"])o.push(r)}));o.sort((function(r,e){if(!r["s-oo"]||r["s-oo"]<e["s-oo"])return-1;else if(!e["s-oo"]||e["s-oo"]<r["s-oo"])return 1;return 0}));o.forEach((function(r){return f.call(a,r)}))}}else{f.call(a,i)}r["s-ol"]=i;r["s-sh"]=e["s-hn"]};var Wr=function(r){var e=[];for(var n=0;n<r.length;n++){var t=r[n]["s-nr"];if(t&&t.isConnected){e.push(t)}}return e};var Br=function(r,e){if(e===void 0){e=""}{return function(){return}}};var Hr=function(r,e){{return function(){return}}};var Vr=function(r,e,n,t){var i=Br("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=[];var l=a?[]:null;var v=er(e,null);v.T=r;if(!E.M){Gr(C.body,E.M=new Map)}r[S]=n;r.removeAttribute(S);t.N=zr(v,f,u,l,r,r,n,o);var s=0;var c=f.length;var d;for(s;s<c;s++){d=f[s];var h=d.I+"."+d.D;var p=E.M.get(h);var m=d.T;if(!a){m["s-hn"]=e.toUpperCase();if(d.C==="slot"){m["s-cr"]=r["s-cr"]}}if(p&&p.isConnected){if(a&&p["s-en"]===""){p.parentNode.insertBefore(m,p.nextSibling)}p.parentNode.removeChild(p);if(!a){m["s-oo"]=parseInt(d.D)}}E.M.delete(h)}var y=[];var $=0;var b=o.length;var w;var g;var _;var j;for($;$<b;$++){w=o[$];if(!w||!w.length)continue;_=w.length;g=0;for(g;g<_;g++){j=w[g];if(!y[j.hostId]){y[j.hostId]=E.M.get(j.hostId)}if(!y[j.hostId])continue;var O=y[j.hostId];if(!O.shadowRoot||!a){j.slot["s-cr"]=O["s-cr"];if(!j.slot["s-cr"]&&O.shadowRoot){j.slot["s-cr"]=O}else{var k=O.__childNodes||O.childNodes;j.slot["s-cr"]=k[0]}Ur(j.node,j.slot,false,j.node["s-oo"])}if(O.shadowRoot&&j.node.parentElement!==O){O.appendChild(j.node)}}}if(a){var x=0;var A=l.length;for(x;x<A;x++){a.appendChild(l[x])}Array.from(r.childNodes).forEach((function(r){if(r.nodeType===8&&typeof r["s-sn"]!=="string"){r.parentNode.removeChild(r)}}))}t.$hostElement$=r;i()};var zr=function(r,e,n,t,i,a,f,u){if(u===void 0){u=[]}var o;var l;var v;var s;var c=i["s-sc"];if(a.nodeType===1){o=a.getAttribute(O);if(o){l=o.split(".");if(l[0]===f||l[0]==="0"){v=Qr({i:0,I:l[0],D:l[1],P:l[2],U:l[3],C:a.tagName.toLowerCase(),T:a,j:{class:a.className}});e.push(v);a.removeAttribute(O);if(!r.O){r.O=[]}var d=v.T.getAttribute("s-sn");if(typeof d==="string"){if(v.C==="slot-fb"){qr(d,l[2],v,a,r,e,n,t,u)}v.T["s-sn"]=d;v.T.removeAttribute("s-sn")}if(v.U!==void 0){r.O[v.U]=v}if(c)a["s-si"]=c;r=v;if(t&&v.P==="0"){t[v.U]=v.T}}}if(a.shadowRoot){for(s=a.shadowRoot.childNodes.length-1;s>=0;s--){zr(r,e,n,t,i,a.shadowRoot.childNodes[s],f,u)}}var h=a.__childNodes||a.childNodes;for(s=h.length-1;s>=0;s--){zr(r,e,n,t,i,h[s],f,u)}}else if(a.nodeType===8){l=a.nodeValue.split(".");if(l[1]===f||l[1]==="0"){o=l[0];v=Qr({I:l[1],D:l[2],P:l[3],U:l[4]||"0",T:a,j:null,O:null,k:null,A:null,C:null,S:null});if(o===g){v.T=a.nextSibling;if(v.T&&v.T.nodeType===3){v.S=v.T.textContent;e.push(v);a.remove();if(f===v.I){if(!r.O){r.O=[]}r.O[v.U]=v}if(t&&v.P==="0"){t[v.U]=v.T}}}else if(o===_){v.T=a.nextSibling;if(v.T&&v.T.nodeType===8){e.push(v);a.remove()}}else if(v.I===f){if(o===w){v.C="slot";var d=a["s-sn"]=v.A=l[5]||"";qr(d,l[2],v,a,r,e,n,t,u)}else if(o===$){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.C==="style"){var p=er(null,a.textContent);p.T=a;p.U="0";r.O=[p]}return r};var Gr=function(r,e){if(r.nodeType===1){var n=r[S]||r.getAttribute(S);if(n){e.set(n,r)}var t=0;if(r.shadowRoot){for(;t<r.shadowRoot.childNodes.length;t++){Gr(r.shadowRoot.childNodes[t],e)}}var i=r.__childNodes||r.childNodes;for(t=0;t<i.length;t++){Gr(i[t],e)}}else if(r.nodeType===8){var a=r.nodeValue.split(".");if(a[0]===b){e.set(a[1]+"."+a[2],r);r.nodeValue="";r["s-en"]=a[3]}}};var Qr=function(r){var e={i:0,I:null,D:null,P:null,U:"0",T:null,j:null,O:null,k:null,A:null,C:null,S:null};return __assign(__assign({},e),r)};function qr(r,e,n,t,i,a,f,u,o){t["s-sr"]=true;var l=(i==null?void 0:i.T)?i.T["s-id"]||i.T.getAttribute("s-id"):"";if(u){var v=n.T=C.createElement(n.C);if(n.A){n.T.setAttribute("name",r)}if(l&&l!==n.I){i.T.insertBefore(v,i.T.children[0])}else{t.parentNode.insertBefore(n.T,t)}Kr(o,e,r,t,n.I);t.remove();if(n.P==="0"){u[n.U]=n.T}}else{var v=n.T;var s=l&&l!==n.I&&i.T.shadowRoot;Kr(o,e,r,t,s?l:n.I);if(s){i.T.insertBefore(v,i.T.children[0])}a.push(n)}f.push(n);if(!i.O){i.O=[]}i.O[n.U]=n}var Kr=function(r,e,n,t,i){var a=t.nextSibling;r[e]=r[e]||[];while(a&&((a["getAttribute"]&&a.getAttribute("slot")||a["s-sn"])===n||n===""&&!a["s-sn"]&&(a.nodeType===8&&a.nodeValue.indexOf(".")!==1||a.nodeType===3))){a["s-sn"]=n;r[e].push({slot:t,node:a,hostId:i});a=a.nextSibling}};var Xr=function(r,e){if(r!=null&&!G(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var Jr=r("g",(function(r){return v(r).$hostElement$}));var Yr=r("c",(function(r,e,n){var t=Jr(r);return{emit:function(r){return Zr(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Zr=function(r,e,n){var t=E.ce(e,n);r.dispatchEvent(t);return t};var re=new WeakMap;var ee=function(r,e,n){var t=y.get(r);if(R&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}y.set(r,t)};var ne=function(r,e,n){var t;var i=ie(e);var a=y.get(i);r=r.nodeType===11?r:C;if(a){if(typeof a==="string"){r=r.head||r;var f=re.get(r);var u=void 0;if(!f){re.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(j,'="').concat(i,'"]')))){u.innerHTML=a}else{u=C.createElement("style");u.innerHTML=a;var o=(t=E.W)!=null?t:Q(C);if(o!=null){u.setAttribute("nonce",o)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var v=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(u,v)}else if("host"in r){if(R){var s=new CSSStyleSheet;s.replaceSync(a);r.adoptedStyleSheets=__spreadArray([s],r.adoptedStyleSheets,true)}else{var c=r.querySelector("style");if(c){c.innerHTML=a+c.innerHTML}else{r.prepend(u)}}}else{r.append(u)}}if(e.i&1&&r.nodeName!=="HEAD"){r.insertBefore(u,null)}}if(e.i&4){u.innerHTML+=k}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var te=function(r){var e=r.u;var n=r.$hostElement$;var t=e.i;var i=Br("attachStyles",e.m);var a=ne(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var ie=function(r,e){return"sc-"+r.m};var ae=function(r,e){if(e&&!r.B&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.B=e})))}};var fe=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}ae(r,r.H);var n=function(){return ue(r,e)};return W(n)};var ue=function(r,e){var n=r.$hostElement$;var t=Br("scheduleUpdate",r.u.m);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.V){r.V.map((function(r){var e=r[0],n=r[1];return he(i,e,n)}));r.V=void 0}}{a=he(i,"componentWillLoad")}}{a=oe(a,(function(){return he(i,"componentWillRender")}))}t();return oe(a,(function(){return ve(r,i,e)}))};var oe=function(r,e){return le(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var le=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var ve=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=Br("update",r.u.m);f=i["s-rc"];if(t){te(r)}u=Br("render",r.u.m);{se(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return ce(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.i|=4;o.length=0}}return[2]}))}))};var se=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{Ir(r,e,t)}}}}catch(e){h(e,r.$hostElement$)}return null};var ce=function(r){var e=r.u.m;var n=r.$hostElement$;var t=Br("postUpdate",e);var i=r.t;var a=r.H;{he(i,"componentDidRender")}if(!(r.i&64)){r.i|=64;{pe(n)}{he(i,"componentDidLoad")}t();{r.p(n);if(!a){de()}}}else{{he(i,"componentDidUpdate")}t()}{r.v(n)}{if(r.B){r.B();r.B=void 0}if(r.i&512){U((function(){return fe(r,false)}))}r.i&=~(4|512)}};var de=function(r){{pe(C.documentElement)}U((function(){return Zr(A,"appload",{detail:{namespace:t}})}))};var he=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){h(r)}}return void 0};var pe=function(r){var e;return r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated")};var me=function(r,e){return v(r).o.get(e)};var ye=function(r,e,n,t){var i=v(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.m,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=i.$hostElement$;var f=i.o.get(e);var u=i.i;var o=i.t;n=Xr(n,t.G[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var s=n!==f&&!l;if((!(u&8)||f===void 0)&&s){i.o.set(e,n);if(o){if(t.q&&u&128){var c=t.q[e];if(c){c.map((function(r){try{o[r](n,f,e)}catch(r){h(r,a)}}))}}if((u&(2|16))===2){fe(i,false)}}}};var $e=function(r,e,n){var t,i;var a=r.prototype;if(e.G||(e.q||r.watchers)){if(r.watchers&&!e.q){e.q=r.watchers}var f=Object.entries((t=e.G)!=null?t:{});f.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){if((i&2048)===0){Object.defineProperty(a,t,{get:function(){return me(this,t)},set:function(r){ye(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&i&2048){{Object.defineProperty(a,t,{get:function(){var r=v(this);var e=r?r.t:a;if(!e)return;return e[t]},configurable:true,enumerable:true})}if(i&4096){var f=Object.getOwnPropertyDescriptor(a,t).set;Object.defineProperty(a,t,{set:function(r){var n=this;var i=v(this);if(f){var a=i.$hostElement$[t];if(!i.o.get(t)&&a){i.o.set(t,a)}f.apply(this,[Xr(r,e.G[t][0])]);ye(this,t,i.$hostElement$[t],e);return}if(!i)return;var u=function(){var a=i.t[t];if(!i.o.get(t)&&a){i.o.set(t,a)}i.t[t]=Xr(r,e.G[t][0]);ye(n,t,i.t[t],e)};if(i.t){u()}else{i.h.then((function(){return u()}))}}})}}}else if(n&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=v(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var e;return(e=i.t)==null?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var u=new Map;a.attributeChangedCallback=function(r,n,t){var i=this;E.jmp((function(){var f;var o=u.get(r);if(i.hasOwnProperty(o)){t=i[o];delete i[o]}else if(a.hasOwnProperty(o)&&typeof i[o]==="number"&&i[o]==t){return}else if(o==null){var l=v(i);var s=l==null?void 0:l.i;if(s&&!(s&8)&&s&128&&t!==n){var c=l.t;var d=(f=e.q)==null?void 0:f[r];d==null?void 0:d.forEach((function(e){if(c[e]!=null){c[e].call(c,t,n,r)}}))}return}var h=Object.getOwnPropertyDescriptor(a,o);if(!h.get||!!h.set){i[o]=t===null&&typeof i[o]==="boolean"?false:t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=e.q)!=null?i:{}),true),f.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;u.set(a,n);if(t[0]&512){(i=e.F)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var be=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l,v,s,c,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.$;if(!i)return[3,4];a=m(t);if(!(a&&"then"in a))return[3,2];f=Hr();return[4,a];case 1:n=p.sent();f();return[3,3];case 2:n=a;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.m,"#").concat(e.K,'" was not found'))}if(!n.isProxied){{t.q=n.watchers}$e(n,t,2);n.isProxied=true}u=Br("createInstance",t.m);{e.i|=8}try{new n(e)}catch(r){h(r)}{e.i&=~8}{e.i|=128}u();we(e.t);return[3,5];case 4:n=r.constructor;o=r.localName;customElements.whenDefined(o).then((function(){return e.i|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}v=ie(t);if(!y.has(v)){s=Br("registerStyles",t.m);ee(v,l,!!(t.i&1));s()}}p.label=6;case 6:c=e.H;d=function(){return fe(e,true)};if(c&&c["s-rc"]){c["s-rc"].push(d)}else{d()}return[2]}}))}))};var we=function(r){{he(r,"connectedCallback")}};var ge=function(r){if((E.i&1)===0){var e=v(r);var n=e.u;var t=Br("connectedCallback",n.m);if(!(e.i&1)){e.i|=1;var i=void 0;{i=r.getAttribute(S);if(i){if(n.i&1){var a=ne(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}else if(n.i&2){var a=ie(n);r["s-sc"]=a}Vr(r,n.m,i,e)}}if(!i){if(n.i&(4|8)){_e(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){ae(e,e.H=f);break}}}if(n.G){Object.entries(n.G).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{U((function(){return be(r,e,n)}))}}else{xe(r,e,n.X);if(e==null?void 0:e.t){we(e.t)}else if(e==null?void 0:e.h){e.h.then((function(){return we(e.t)}))}}t()}};var _e=function(r){var e=r["s-cr"]=C.createComment("");e["s-cn"]=true;Nr(r,e,r.firstChild)};var Se=function(r){{he(r,"disconnectedCallback")}};var je=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((E.i&1)===0){e=v(r);{if(e.J){e.J.map((function(r){return r()}));e.J=void 0}}if(e==null?void 0:e.t){Se(e.t)}else if(e==null?void 0:e.h){e.h.then((function(){return Se(e.t)}))}}return[2]}))}))};var Oe=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=Br();var i=[];var a=e.exclude||[];var f=A.customElements;var u=C.head;var o=u.querySelector("meta[charset]");var l=C.createElement("style");var s=[];var d;var h=true;Object.assign(E,e);E._=new URL(e.resourcesUrl||"./",C.baseURI).href;{E.i|=2}var p=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],m:e[1],G:e[2],X:e[3]};if(t.i&4){p=true}{t.G=e[2]}{t.X=e[3]}{t.F=[]}{t.q=(n=e[4])!=null?n:{}}var u=t.m;var o=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;c(e,t);if(t.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open",delegatesFocus:!!(t.i&16)})}}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.m,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=v(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;xe(this,e,t.X)}if(d){clearTimeout(d);d=null}if(h){s.push(this)}else{E.jmp((function(){return ge(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;E.jmp((function(){return je(r)}))};e.prototype.componentOnReady=function(){return v(this).h};return e}(HTMLElement);{{Pr(o.prototype)}}t.$=r[0];if(!a.includes(u)&&!f.get(u)){i.push(u);f.define(u,$e(o,t,1))}}))}));if(i.length>0){if(p){l.textContent+=k}if(l.innerHTML.length){l.setAttribute("data-styles","");var m=(n=E.W)!=null?n:Q(C);if(m!=null){l.setAttribute("nonce",m)}u.insertBefore(l,o?o.nextSibling:u.firstChild)}}h=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{E.jmp((function(){return d=setTimeout(de,30)}))}}t()}));var ke=r("F",(function(r,e){return e}));var xe=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=Ce(r,t);var u=Ae(e,a);var o=Ee(t);E.ael(f,i,u,o);(e.J=e.J||[]).push((function(){return E.rel(f,i,u,o)}))}))}};var Ae=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.V=r.V||[]).push([e,n])}}}catch(r){h(r)}}};var Ce=function(r,e){if(e&4)return C;if(e&8)return A;if(e&16)return C.body;return r};var Ee=function(r){return T?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Te=r("s",(function(r){return E.W=r}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-a083b91a.js";const o=()=>{globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{o as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-61173f11.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,a,l;return{setters:[function(e){t=e.r;i=e.h;a=e.H},function(e){l=e.i}],execute:function(){var d=".duet-overlay{position:fixed;top:0;left:0;display:block;width:100%;height:100%;visibility:visible;background:rgb(8, 42, 77);opacity:0.3}.duet-overlay.duet-theme-turva{background:rgb(23, 28, 58)}.duet-overlay.keep-stacking-context{position:absolute;top:unset;left:unset;z-index:unset !important}.duet-overlay.modal-overlay{z-index:-1}.duet-overlay.hidden{visibility:hidden;opacity:0}.duet-overlay.dark{opacity:0.85}.duet-overlay.white{background:rgb(255, 255, 255);opacity:0.9}.duet-overlay.white.duet-theme-turva{background:rgb(255, 255, 255)}.duet-overlay.display-x-small{display:none}@media (max-width: 35.9375em){.duet-overlay.display-x-small{display:block}}.duet-overlay.display-x-small.not{display:block}@media (max-width: 35.9375em){.duet-overlay.display-x-small.not{display:none}}.duet-overlay.display-small{display:none}@media (min-width: 36em){.duet-overlay.display-small{display:block}}.duet-overlay.display-small.not{display:block}@media (min-width: 36em){.duet-overlay.display-small.not{display:none}}.duet-overlay.display-medium{display:none}@media (min-width: 48em){.duet-overlay.display-medium{display:block}}.duet-overlay.display-medium.not{display:block}@media (min-width: 48em){.duet-overlay.display-medium.not{display:none}}.duet-overlay.display-large{display:none}@media (min-width: 62em){.duet-overlay.display-large{display:block}}.duet-overlay.display-large.not{display:block}@media (min-width: 62em){.duet-overlay.display-large.not{display:none}}.duet-overlay.transition-slowly{transition:600ms ease}.duet-overlay.transition-quickly{transition:300ms ease}";var s=d;var o=e("duet_overlay",function(){function e(e){var i=this;t(this,e);this.getDisplayBreakpoint=function(){if(i.displayDevice.startsWith("not")){return i.displayDevice.substring(i.displayDevice.indexOf("-")+1)}return i.displayDevice};this.visible=true;this.keepStackingContext=false;this.modalOverlay=false;this.theme="";this.displayDevice="all";this.transition="slowly";this.zIndex="400";this.variation="default"}e.prototype.componentWillLoad=function(){l(this)};e.prototype.render=function(){var e;return i(a,{key:"6254397e108eb85239cdee7db4eafacacb751b11","aria-hidden":"true"},i("div",{key:"7e79408fc79451cf3c58266423c307c7645ae146",style:{zIndex:this.zIndex},class:(e={"duet-overlay":true,"duet-theme-turva":this.theme==="turva","keep-stacking-context":this.keepStackingContext},e["transition-".concat(this.transition)]=this.transition!=="immediate",e["display-x-small"]=this.getDisplayBreakpoint()==="x-small",e["display-small"]=this.getDisplayBreakpoint()==="small",e["display-medium"]=this.getDisplayBreakpoint()==="medium",e["display-large"]=this.getDisplayBreakpoint()==="large",e.not=this.displayDevice.startsWith("not"),e.hidden=!this.visible,e[this.variation]=true,e)}))};return e}());o.style=s}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function o(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,n){function r(t){try{u(i.next(t))}catch(t){n(t)}}function s(t){try{u(i["throw"](t))}catch(t){n(t)}}function u(t){t.done?a(t.value):o(t.value).then(r,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(i=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;o=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];o=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-abc0c9c6.system.js","./p-752fa0fc.system.js","./p-2bb44297.system.js","./p-4cff3036.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-ba03d034.system.js"],(function(t){"use strict";var e,a,i,o,n,r,s,u,d,l,b,c,h,p,f,g,m,v,x,k,w,y;return{setters:[function(t){e=t.r;a=t.h;i=t.H;o=t.g;n=t.c},function(t){r=t.i},function(t){s=t.h;u=t.b},function(t){d=t.s;l=t.u;b=t.o;c=t.p;h=t.d;p=t.b;f=t.a;g=t.c},function(t){m=t.g;v=t.c;x=t.d;k=t.a},function(t){w=t.d},function(t){y=t.c},function(){},function(){}],execute:function(){var z="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";var _=z;var j=t("duet_scrollable",function(){function t(t){var a=this;e(this,t);this.currentIndex=0;this.scrollPaneElement=undefined;this.hasCollapseButtonLabelSlot=false;this.resizeObserver=new ResizeObserver((function(t){if((t===null||t===void 0?void 0:t.length)===1){var e=a.getOverlayWidth();a.checkScrollingNeeded(t[0].target,e)}}));this.collapsedOnClick=function(){a.collapsed=!a.collapsed};this.scrollPaneAtStart=true;this.needsScrolling=true;this.scrollPaneAtEnd=false;this.childrenData={};this.theme="";this.identifier="";this.collapsed=false;this.buttons=true;this.buttonAlignment="center";this.buttonPosition="relative";this.center=false;this.padding="none";this.gap="large";this.selected=0}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){r(this);this.hasCollapseButtonLabelSlot=s(this.element,"collapse-button-label")};t.prototype.componentDidLoad=function(){var t=this;requestAnimationFrame((function(){if(t.scrollPaneElement){var e=t.buttonPosition==="absolute"?0:5;t.checkScrollingNeeded(t.scrollPaneElement,e);t.updateScrollButtons();t.resizeObserver.observe(t.scrollPaneElement)}}))};t.prototype.disconnectedCallback=function(){this.resizeObserver.disconnect()};t.prototype.getScrollPaneElements=function(){return u(this.element)};t.prototype.checkScrollingNeeded=function(t,e){if(t===void 0){t=this.scrollPaneElement}if(e===void 0){e=5}var a;if(!t){return}var i=((a=t.parentElement)===null||a===void 0?void 0:a.getBoundingClientRect().width)||0;var o=t.scrollWidth;var n=this.getOverlayWidth()*2;this.needsScrolling=o-n>i+e;if(!this.needsScrolling){this.scrollPaneAtStart=true;this.scrollPaneAtEnd=true}else{this.updateScrollButtons()}};t.prototype.getLastVisibleElement=function(){var t=this;var e=this.getScrollPaneElements().find((function(e){return e.getBoundingClientRect().x+e.getBoundingClientRect().width-t.scrollPaneElement.getBoundingClientRect().x>t.scrollPaneElement.clientWidth}));var a=this.getScrollPaneElements().indexOf(e);if(e.clientWidth>this.scrollPaneElement.clientWidth){return a}return a-1};t.prototype.getFirstVisibleElement=function(){var t=this;var e=this.getScrollPaneElements();var a=e.find((function(e){return e.getBoundingClientRect().x>t.scrollPaneElement.getBoundingClientRect().x}));var i=!a?e.length:e.indexOf(a);var o=Math.max(i-1,0);if(e[o].clientWidth>this.scrollPaneElement.clientWidth){return o}return i};t.prototype.updateScrollButtons=function(t,e){if(t===void 0){t=null}if(e===void 0){e=this.scrollPaneElement}if(!this.buttons){return}if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){var a=this.getScrollPaneElements().indexOf(t);if(a==0){this.scrollPaneAtStart=true}if(a==this.getScrollPaneElements().length-1){this.scrollPaneAtEnd=true}return}if(e.scrollLeft<=0){this.scrollPaneAtStart=true}else if(e.scrollLeft>0){this.scrollPaneAtStart=false}if(e.clientWidth+e.scrollLeft+this.getOverlayWidth()>=e.scrollWidth){this.scrollPaneAtEnd=true}else if(e.clientWidth+e.scrollLeft+this.getOverlayWidth()<e.scrollWidth){this.scrollPaneAtEnd=false}};t.prototype.scrollToElement=function(t,e){var a=this;if(t===void 0){t=this.currentIndex}var i=this.getScrollPaneElements();if(!i||i.length===0){return}if(t+1>=i.length){t=i.length-1}if(t<0){t=0}var o=i[0].getBoundingClientRect().x;var n=5;var r=function(){if(i[0].getBoundingClientRect().x===o){n--;if(n!==0){window.requestAnimationFrame(r);return}a.updateScrollButtons(i[t])}else{window.requestAnimationFrame(r);o=i[0].getBoundingClientRect().x}};i[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(r)};t.prototype.scrollLeft=function(){this.scrollPaneAtEnd=false;var t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")};t.prototype.scrollRight=function(){this.scrollPaneAtStart=false;var t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")};t.prototype.getOverlayWidth=function(){return this.buttonPosition==="absolute"?0:10};t.prototype.renderButton=function(t){var e,i;var o=this;var n=this.theme==="turva"?"color-primary-darker-turva":"color-primary";var r=this.theme==="turva"?"color-gray-turva":"color-gray";var s=function(){if(t==="left"){o.scrollLeft()}else{o.scrollRight()}};var u=t==="left"?this.scrollPaneAtStart:this.scrollPaneAtEnd;return a("div",{class:(e={"duet-scrollable-button-container":true},e["".concat(t)]=true,e["duet-scrollable-button-container--occluded"]=!this.needsScrolling,e["duet-scrollable-button-container--".concat(this.buttonPosition)]=true,e),hidden:!this.buttons||this.buttonPosition==="absolute"&&u},a("span",{part:"".concat(this.identifier,"-button-").concat(t),"aria-hidden":"true",class:(i={"duet-scrollable-button":true},i["duet-scrollable-button--".concat(this.buttonPosition)]=true,i["duet-scrollable-button--".concat(this.buttonAlignment)]=true,i["duet-scrollable-button--".concat(t)]=true,i),onClick:function(){s();if(document.activeElement){document.activeElement.blur()}},hidden:!this.buttons||u},a("duet-icon",{color:u?r:n,name:t==="left"?"action-arrow-left":"action-arrow-right",size:this.buttonPosition==="absolute"?"x-small":"small",margin:"none"})))};t.prototype.render=function(){var t;var e=this;return a(i,{key:"65a41819ff5a4fc6439dad5a825100dac1b612d5",class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&a("div",{key:"a6c99e77cba06a8d3860a99fd2dc86e3031788da",class:{collapse:true,hide:!this.needsScrolling&&!this.collapsed}},a("duet-button",{key:"3b8f3e1e318c3fcded2f9827c4a9af4c6196909c",variation:"plain",margin:"none","center-text":true,onClick:function(){return e.collapsedOnClick()}},a("slot",{key:"613245c8fb10c0165cf7d4a0074b9601dc1feca5",name:"collapse-button-label"}))),a("div",{key:"6f36e5e9b18de0faadc546236545b966ef7977e0",class:{"duet-scrollable-items":true,buttons:this.buttons,center:this.center,"duet-theme-turva":this.theme==="turva"}},this.buttons&&this.renderButton("left"),a("div",{key:"4177a64fde1b078c4141ef466efaa1be1e0a002e",class:(t={"duet-scrollable-list":true},t["duet-scrollable-list--".concat(this.buttonPosition)]=true,t["gap-".concat(this.gap)]=true,t.collapsed=this.collapsed,t["duet-overflow-padding--".concat(this.padding)]=this.padding!=="none",t["duet-scrollable-list--".concat(this.buttonPosition)]=this.buttonPosition==="absolute",t),onScroll:function(){return e.updateScrollButtons()},ref:function(t){return e.scrollPaneElement=t}},a("slot",{key:"b83cacb280520642b51ff7380203cd9ff9a4655c"})),this.buttons&&this.renderButton("right")))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());j.style=_;var S=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected{display:block}.duet-tab.has-content-id,.duet-tab.has-content-id.selected{display:none}:host(.user-is-tabbing) .duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tab.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var I=S;var U=t("duet_tab",function(){function t(t){var a=this;e(this,t);this.setupContentElement=function(){if(a.contentId){a.tabpanelElement=document.getElementById(a.contentId);if(a.tabpanelElement){a.tabpanelElement.setAttribute("role","tabpanel");a.tabpanelElement.setAttribute("tabindex","-1");a.tabpanelElement.removeEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.removeEventListener("blur",a.tabpanelElementBlurListener);a.tabpanelElement.addEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.addEventListener("blur",a.tabpanelElementBlurListener);if(a.accessibleDescription){a.tabpanelElement.setAttribute("aria-description",a.accessibleDescription)}if(a.accessibleLabelledBy){a.tabpanelElement.setAttribute("aria-labelledby",a.accessibleLabelledBy)}if(a.selected){a.tabpanelElement.toggleAttribute("hidden",false)}else{a.tabpanelElement.toggleAttribute("hidden",true)}}}};this.tabpanelElementFocusListener=function(){if(a.element.classList.contains("user-is-tabbing")){a.tabpanelElement.style.outline="0";a.tabpanelElement.style.boxShadow=w(a.theme==="turva"?"focus-turva":"focus")}};this.tabpanelElementBlurListener=function(){a.tabpanelElement.style.outline=null;a.tabpanelElement.style.boxShadow=null};this.theme="";this.label=undefined;this.caption=undefined;this.selected=undefined;this.notificationMark=undefined;this.accessibleDescriptionDefault=null;this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null;this.accessibleLabelledBy=undefined;this.contentId=undefined}t.prototype.componentWillLoad=function(){r(this)};t.prototype.connectedCallback=function(){v(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"});d(this);this.setupContentElement()};t.prototype.disconnectedCallback=function(){x(this);l(this);if(this.tabpanelElement){this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this));this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this));this.tabpanelElement=undefined}};t.prototype.setupSelected=function(t,e){if(!!t===!!e){return}this.setupContentElement()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.tabpanelElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return a("div",{key:"7b32395451131750ebd28c6967302efb6205f9e8",ref:function(e){if(!t.contentId){t.tabpanelElement=e}},role:"tabpanel",class:{"duet-theme-turva":this.theme==="turva","duet-tab":true,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},a("slot",{key:"ca8b2a951dc90dc029b9088d1f2888a0deccf673"}))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["setupSelected"]}},enumerable:false,configurable:true});return t}());U.style=I;var C='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:"";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(98, 121, 138);border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}';var E=C;var A=t("duet_tab_group",function(){function t(t){var a=this;e(this,t);this.duetChange=n(this,"duetChange",3);this.duetTabChange=n(this,"duetTabChange",7);this.duetTabChangeRequested=n(this,"duetTabChangeRequested",7);this.id=y("DuetTabGroup");this.handleKeyDown=function(t){var e;if(h(t)||p(t)){e=t.target.previousElementSibling}else if(f(t)||g(t)){e=t.target.nextElementSibling}if(b(t)&&!c(t)){t.preventDefault();a.element.querySelector(":scope > duet-tab[selected]").setFocus()}if(e){t.preventDefault();e.click();e.focus()}};this.onTabSelect=function(t){if(a.tabChangeConfirm){if(t!==a.selected){var e={value:t,component:"duet-tab-group"};a.duetTabChangeRequested.emit(e)}}else{a.openTab(t)}};this.scrollToActive=function(){setTimeout((function(){var t=a.tabsContainer.querySelector(".selected");if(t){t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}),50)};this.tabs=[];this.selected=undefined;this.theme="";this.scrolls=true;this.collapses=false;this.accessibleLabel=undefined;this.variation="default";this.language=k();this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"};this.label=m(this.labelDefaults,this.language);this.labelHidden=true;this.identifier=this.id;this.margin="auto";this.padding="auto";this.setTabIndex=true;this.tabChangeConfirm=false;this.switchLargeBreakpoint="small"}t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:if(typeof MutationObserver!=="undefined"){this.mutationO=new MutationObserver((function(){t.updateTabs()}));this.mutationO.observe(this.element,{attributes:true,attributeFilter:["label"],childList:true,characterData:true,subtree:true})}return[4,this.updateTabs()];case 1:e.sent();d(this);return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}l(this)};t.prototype.componentWillLoad=function(){r(this)};t.prototype.componentDidLoad=function(){var t=this;this.intersectionObserver=new IntersectionObserver((function(e){if(e.length>0&&e[0].isIntersecting){t.scrollToActive();t.intersectionObserver.disconnect()}}),{root:null,threshold:0});this.intersectionObserver.observe(this.element)};t.prototype.openTab=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){if(t>=this.tabs.length){throw new Error("[duet-tabs] Index ".concat(t," is out of bounds of tabs length"))}this.selected=t;this.tabs.forEach((function(e,a){e.selected=a===t}));this.scrollToActive();e={value:t,component:"duet-tab-group"};this.duetChange.emit(e);this.duetTabChange.emit(e);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.");return[2]}))}))};t.prototype.getTabs=function(){var t=this;var e=Array.from(this.element.querySelectorAll("duet-tab"));var a=e.filter((function(e){return e.closest("duet-tab-group")===t.element}));if(a.length===0){throw new Error("[duet-tabs] Must have at least one tab")}return a};t.prototype.getButtonId=function(t){return"".concat(this.id,"-button-").concat(t)};t.prototype.getTabId=function(t){return"".concat(this.id,"-tab-").concat(t)};t.prototype.getAccessibleDescription=function(t){var e=this.tabs[t].getAttribute("accessible-description")||null;return e};t.prototype.updateTabs=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.selected=undefined;this.tabs=this.getTabs();this.tabs.forEach((function(e,a){e.id=t.getTabId(a);if(e.selected){if(t.selected===undefined){t.selected=a}else{e.selected=false}}}));if(this.selected===undefined){this.selected=0;this.tabs[0].selected=true}return[2]}))}))};t.prototype.isCentered=function(){return window&&window.getComputedStyle(this.element).textAlign=="center"};t.prototype.render=function(){var t;var e=this;var i=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var o=this.variation==="checked"||this.variation==="plain-scrolling";var n="switch-large-at-".concat(this.switchLargeBreakpoint?this.switchLargeBreakpoint:"small");var r=this.tabs.map((function(t,i){var o;return a("button",{role:"tab",id:e.getButtonId(i),"aria-selected":t.selected?"true":"false","aria-description":e.getAccessibleDescription(i),tabindex:t.selected?"0":"-1",part:"".concat(e.identifier,"-button ").concat(t.selected?"".concat(e.identifier,"-button--selected"):""),type:"button",class:(o={"duet-p-0":e.padding==="none","duet-tab-button":true,"stackable-tab":e.variation==="checked"&&e.tabs.length<=3,selected:t.selected},o["duet-notification-mark-".concat(t.notificationMark)]=!!t.notificationMark,o[n]=["default","plain","plain-scrolling"].includes(e.variation)?true:false,o),onClick:function(){return e.onTabSelect(i)},onKeyDown:function(t){return e.handleKeyDown(t)}},e.variation==="checked"?a("div",{class:{"checked-tab-content":true,"stackable-checked-tab-content":e.tabs.length<=3}},a("div",{class:{"checked-tab-description":true,"stackable-description":e.tabs.length<=3}},a("p",null,t.label),a("p",{class:{"tab-caption":true,selected:t.selected}},t.caption)),a("div",{class:{"stackable-checkmark":e.tabs.length<=3}},a("duet-checkmark",{theme:e.theme,checked:t.selected,type:"radio","presentation-only":true,center:true}))):t.label)}));return a("div",{key:"3d49c28ce5931105421ca174a2ec6f643d0ce715",class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[i]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=true,t),"aria-label":this.accessibleLabel},a("div",{key:"5cd7a9b5948613b347fc9d95037c73d3e8624031",role:"tablist",class:{"duet-m-0":this.margin==="none"||this.variation==="checked","duet-tab-group-tabs":true,"duet-tab-group-hidden":this.tabs.length>3&&!o},ref:function(t){e.tabsContainer=t}},this.variation==="checked"?r:a("duet-scrollable",{selected:this.selected,identifier:this.identifier,gap:["default","plain","plain-scrolling"].includes(this.variation)?"none":"large",buttonPosition:this.variation==="default"?"absolute":"relative",center:this.isCentered()?this.isCentered():this.element.style.textAlign=="center"},r)),a("div",{key:"f9cecb1f747afdde050d7e14f3803167bf4e8db0",class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},a("slot",{key:"89f26fa4755c6a826c439625dc2beef88fc57cfd"})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());A.style=E}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,r){function n(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r["throw"](t))}catch(t){i(t)}}function s(t){t.done?o(t.value):n(t.value).then(a,u)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(o=0)),o)try{if(r=1,n&&(i=u[0]&2?n["return"]:u[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;if(n=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:o.label++;return{value:u[1],done:false};case 5:o.label++;n=u[1];u=[0];continue;case 7:u=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1];i=u;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(u);break}if(i[2])o.ops.pop();o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t];n=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-752fa0fc.system.js","./p-89cf1a91.system.js","./p-f6b21d17.system.js"],(function(t){"use strict";var e,o,r,n,i,a,u,s,d,p;return{setters:[function(t){e=t.r;o=t.h;r=t.H;n=t.g;i=t.c},function(t){a=t.i},function(t){u=t.s;s=t.u},function(t){d=t.F},function(t){p=t.T}],execute:function(){var c='*,*::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-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !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;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var l=c;var b=t("duet_tooltip_button",function(){function t(t){e(this,t);this.label="";this.accessibleLabel=undefined;this.theme="";this.negative=false;this.active=undefined;this.tooltipId=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.buttonElement){this.buttonElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;return o(r,{key:"fee44c3df69a6434affa9f49039575913c1764fa"},o("button",{key:"11fbd81dfecf41f3540c8f09854aa148383ddb08",ref:function(e){return t.buttonElement=e},"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":true,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":this.theme==="turva","duet-tooltip-button-negative":this.negative}},o("svg",{key:"1f833d69a947244a10790730de2e591ca8b36ba6","aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"38acc8ec9e2956e937a84e8ebb738a77c9111370",d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),o("circle",{key:"ef35c73e4fe6b717decd80b2352f9ed8b8aa8f7f",cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{key:"a394f6560c8387da8a307f5c9623ec7d33d0c2c6",d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?o("span",{class:"duet-tooltip-label"},this.label):o("duet-visually-hidden",null,this.accessibleLabel)))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());b.style=l;var f='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}';var h=f;var m=t("duet_tooltip_popup",function(){function t(t){var o=this;e(this,t);this.tooltipPopupClosed=i(this,"tooltipPopupClosed",7);this.handleCloseClick=function(){o.tooltipPopupClosed.emit()};this.theme="";this.active=undefined;this.tooltipId=undefined;this.arrowStyles=undefined;this.placement=undefined;this.accessibleCloseLabel=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this);if(!this.teleport){this.teleport=new p(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.getArrowElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.arrowEl]}))}))};t.prototype.getContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.contentEl]}))}))};t.prototype.setFocusOnContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.contentEl.focus();return[2]}))}))};t.prototype.render=function(){var t,e;var n=this;return o(r,{key:"6475bd5406c8a14d70944a1b316e38dbfb3f4e0d"},o("div",{key:"ed169b7de58051fb1893fd4033471c39df8b8339",class:{"duet-tooltip":true,"duet-theme-turva":this.theme==="turva","duet-tooltip-active":this.active===true}},o(d,{key:"9a6f8e75996a8b00c09ecf552e39b01d231297bf",moveFocusTo:this.buttonEl}),o("div",{key:"0a003b54b91c3d687f6793fe1e84602ccf4acfcf",ref:function(t){return n.contentEl=t},class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},o("slot",{key:"fdcddea1210c716a8e1d35f94ca9a166805776c8"})),o("div",{key:"fcd50c973fb3f7d0d8280f22c6a78a853ac6d566",ref:function(t){return n.arrowEl=t},class:(t={arrow:true},t[this.placement]=true,t),style:this.arrowStyles},o("div",{key:"10d19ae7d0d66bbefa00aa7a2d8b3e1f426331e8",class:(e={"arrow-container":true},e[this.placement]=true,e)})),o("button",{key:"6b94899472ae322f2324344f9c8d12a423e05110",type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:function(t){return n.buttonEl=t}},o("duet-icon",{key:"55db60a2ebbfb3bed86dc7960993d2e2d0b8e4f4",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",{key:"fd240f6c644ea25ab3554ed44719056485c24d9b"},this.accessibleCloseLabel)),o(d,{key:"386b99183b08c179b9da7c811c4331ca6c3877ea",moveFocusTo:this.contentEl})))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());m.style=h}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as i}from"./p-a083b91a.js";import{i as d}from"./p-aaa7a7bd.js";import{a as o,c as n,d as c}from"./p-e3857119.js";import"./p-9c3c64b9.js";const s=class{constructor(t){e(this,t),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=o(),this.theme="",this.margin="auto",this.image=void 0,this.name=void 0,this.description=void 0,this.email=void 0,this.phone=void 0,this.buttonText=void 0,this.buttonIcon="form-date",this.buttonUrl=void 0}componentWillLoad(){d(this)}connectedCallback(){n(this)}disconnectedCallback(){c(this)}render(){const e="turva"===this.theme?"turva":"default";return t(a,{key:"14208b0e95965d34e6bd69493480e1014a7d20b2",class:{"duet-m-0":"none"===this.margin}},t("div",{key:"2cf426c1e361e5a9fa15f273edf161a9765dc334",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?t("img",{class:"image",src:this.image,alt:this.name}):t("div",null),t("div",{key:"fdbdd4850c5eeda0de2437ee5f2695f43172d349"},this.name&&t("duet-heading",{key:"cc46dfe79762b573d0578d0cd9e82ebde6a25cc1",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&t("duet-paragraph",{key:"a5df238b129c11c6fad46bf33f7b21d25494b064",class:"description",margin:"none",theme:e},this.description),this.email&&t("div",{key:"2cc46f7a6717f1e5d00ca90871eb89c01b68165e",class:"email"},t("duet-icon",{key:"3a42b434c8b80a6c490070b613ef40d193e1cdcc",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),t("duet-link",{key:"08174b40d6d4bf1a395db960f537f1f4d41539bc",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&t("div",{key:"cdb756796522bcd054e2b2f9a26f9e5c491a4c2a",class:"phone"},t("duet-icon",{key:"b024222cdd66b71f0d1418d28707f9b71c25b07e",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),t("duet-link",{key:"d957c5abcfc923acc7188a5b785e11d15485bbc2",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&t("div",{key:"88dd50a394151b3e70ee58d35d907b481e9f634b",class:"call-to-action"},t("duet-button",{key:"b0d3cd67af298ec002b2c230c66f75c75efb1499",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),t("div",{key:"6ec3ea8928bec5867d7a7ddb2e1ba5979cba023a"}),t("slot",{key:"1993d3dbe800197ff57dd3942e2bb6a98023bdb0"})))}get element(){return i(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}';export{s as duet_contact_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as i}from"./p-a083b91a.js";import{a as r}from"./p-f11208c3.js";import{D as o}from"./p-beeb12f1.js";import{i as s}from"./p-aaa7a7bd.js";import{g as n}from"./p-c118fad4.js";import{f as u}from"./p-a45e3f8b.js";import{g as b,c as d,d as m}from"./p-e3857119.js";import"./p-b33512d6.js";import"./p-9c3c64b9.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){s(this)}connectedCallback(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){m(this)}handleEscape(e){if(u(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"ad3a2fa9bbd134e4bfa1ced12278dabaf0206fc5",role:"listitem"},t(this.url?"a":"button",{key:"5a36cd09f5b34ca0031e1f6fd98b6d4e7d085024",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.url&&n(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"093405d3733611c349635aa71e3bf8179eba4153",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"0399adb8e4cd01b6fa66b37a91869813efaf3942",class:"label"},t("span",{key:"50e11f94b21a9379d77ece6e8ab2437b6cf016d0",class:"label-text"},t("slot",{key:"05204a743cb4c3f29f478908e2b91782827da04b"})),(this.trailingIcon||this.external)&&t("duet-icon",{key:"a62b60af0e3f2e1508d33547241081633c30a5aa",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;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:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.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-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}';export{c as duet_submenu_bar_item}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{d(i.next(t))}catch(t){r(t)}}function s(t){try{d(i["throw"](t))}catch(t){r(t)}}function d(t){t.done?n(t.value):a(t.value).then(o,s)}d((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return d([t,e])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(i=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];a=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var i=0,a=e.length,r;i<a;i++){if(r||!(i in e)){if(!r)r=Array.prototype.slice.call(e,0,i);r[i]=e[i]}}return t.concat(r||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-2bb44297.system.js","./p-ba03d034.system.js","./p-4cff3036.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-cdba12cc.system.js"],(function(t){"use strict";var e,n,i,a,r,o,s,d,l,u,f,h,c,p,b,m,g,v,y,k,w,x,_,T,j,L,z,E,S,A,D,F,M,C,U,P,O,W,R,N,Y,q;return{setters:[function(t){e=t.h;n=t.r;i=t.c;a=t.H;r=t.g;o=t.F},function(t){s=t.i},function(t){d=t.f;l=t.d},function(t){u=t.i},function(t){f=t.a;h=t.c;c=t.d;p=t.g;b=t.s},function(t){m=t.p;g=t.q;v=t.r;y=t.u;k=t.v;w=t.w;x=t.x;_=t.y;T=t.z;j=t.A;L=t.B;z=t.C;E=t.n;S=t.a;A=t.D;D=t.E;F=t.F;M=t.G;C=t.k;U=t.H;P=t.s},function(t){O=t.b;W=t.a},function(t){R=t.c},function(t){N=t.p},function(t){Y=t.g;q=t.a}],execute:function(){var I=function(t,n){var i=t.data,a=t.groupId,r=t.alignment;var o="duet-editable-table duet-editable-table-content-".concat(a);if(typeof i==="string"){return e("td",{innerHTML:i,class:o,part:"".concat(a,"content"),style:{verticalAlign:r}})}else{return e("td",{class:o,part:"".concat(a,"content"),style:{verticalAlign:r}},i)}};var B=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu,td.duet-editable-table-actions-menu{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon .duet-icon{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row .duet-text-right{text-align:right}.duet-editable-table-header tr .duet-editable-table-header-hidden{padding:0 !important;font-size:0;border-bottom:0}";var H=B;var J=t("duet_editable_table",function(){function t(t){var e=this;n(this,t);this.duetTableToggle=i(this,"duetTableToggle",7);this.duetMenuClick=i(this,"duetMenuClick",7);this.hasHeadSlotFirst=false;this.hasHeadSlotLast=false;this.hasFootSlot=false;this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"};this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"};this.toggleColumn=function(t,n){n.preventDefault();var i=t.sort_order,a=t.direction,r=t.index,o=t.key;e.duetTableToggle.emit({sort_order:i,index:r,direction:a,key:o,component:"duet-editable-table",originalEvent:n})};this.handleKeyDown=function(t,n){if(u(n)){e.toggleColumn(t,n)}};this.language=f();this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.actions=undefined;this.columns=undefined;this.rows=undefined;this.sortable=false;this.groupId="";this.theme="";this.accessibleRole=undefined;this.hideHeadVisually=false}t.prototype.componentWillLoad=function(){s(this);this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']");this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']");this.hasFootSlot=!!this.element.querySelector("[slot='tfoot']")};t.prototype.connectedCallback=function(){h(this)};t.prototype.disconnectedCallback=function(){c(this)};t.prototype.createLabel=function(t){var n=this;var i=t.sort_order,a=t.direction,r=t.index,o=t.label;var s=p(o);if(!this.sortable){return s}var d=function(){if(!!i&&a===1){return"action-arrow-down-small"}else if(!!i&&a===-1){return"action-arrow-up-small"}return"action-subtract-small"};return e("span",{class:"duet-table-label","data-index":r},e("duet-button",{size:"small",icon:d(),"icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":true,onClick:function(e){return n.toggleColumn(t,e)},onKeyDown:function(e){return n.handleKeyDown(t,e)}},s))};t.prototype.getSortedColumns=function(){return __spreadArray([],this.columns,true).sort(d(["index"]))};t.prototype.getRowSortOrder=function(){var t=__spreadArray([],this.columns,true).sort(d(["sort_order"]));return t.filter((function(t){return t.sort_order})).map((function(t){return t.direction===-1?"-".concat(t.key):t.key}))};t.prototype.renderTableHeader=function(){var t=this;if(!this.columns){return}var n=this.getSortedColumns();return e("tr",{class:{"duet-table-action-header":!!this.actions}},n.map((function(n){if(n.display!==false){var i=t.createLabel(n);return i!==""?e("th",{scope:"col"},i):e("td",null)}})),this.actions&&e("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&e("duet-visually-hidden",null,this.actionColumnLabel[this.language])))};t.prototype.renderActions=function(t,n){var i=this;if(!this.actions){return}return e("td",{class:"duet-text-right"},this.actions.map((function(a){return e("duet-action-button",{actionMeta:Object.assign({},(t===null||t===void 0?void 0:t.meta)||{},{index:n}),actionId:(t===null||t===void 0?void 0:t.uid)||(t===null||t===void 0?void 0:t.id)||null,actionName:a.name,theme:i.theme,iconName:a.icon,iconColor:a.color,iconSize:a.size,background:a.background,"accessible-label":"".concat(t.actionDescription||""," ").concat(p(a.label)," ")})})))};t.prototype.renderTableBody=function(){var t=this;var n=this.getSortedColumns();var i=this.getRowSortOrder();var a=__spreadArray([],this.rows,true).sort(d(i));return a.map((function(i,a){var r;return e("tr",{class:(r={"duet-table-action-row":!!t.actions,"duet-editable-table-row":true},r["duet-editable-table-row-".concat(t.groupId)]=true,r),"data-meta":JSON.stringify(i.meta)},n.map((function(n){var a=i[n.key]?i[n.key]:i.item;if(n.display!==false){return e(I,{data:a,groupId:t.groupId})}})),t.actions&&t.renderActions(i,a))}))};t.prototype.render=function(){var t;return e(a,{key:"a0c3202194fcc3910b50193f2a4fcb3bd7d3a5d8",class:(t={},t["duet-editable-table-".concat(this.variation)]=true,t["duet-editable-table"]=true,t["duet-editable-table-".concat(this.theme)]=true,t["duet-editable-table-scrollable"]=this.breakpoint==="none-scrollable",t["duet-editable-table-sortable"]=this.sortable,t["duet-editable-table-actions"]=!!this.actions,t["duet-m-0"]=this.margin==="none",t["duet-theme-turva"]=this.theme==="turva",t)},e("duet-table",{key:"6e53631c212527e8702f9e9c8a1b9bc2b390c830",class:"duet-editable-table-table",sticky:this.sticky,stickyDistance:this.stickyDistance,margin:this.margin,theme:this.theme,variation:this.variation,breakpoint:this.breakpoint,"hide-head-visually":this.hideHeadVisually},e("table",{key:"990481c1affeb11d6a6541a36a8f0118c961915c",role:this.accessibleRole},e("caption",{key:"f7b1bc44ab9fef0194485fdd6e49e11a306e365c"},e("slot",{key:"2caecec6e5c024bdde6fa6bf72917914e2626752",name:"tcaption"})),e("thead",{key:"c892dcd586814dcecddc46fbaf0319b04b6d9f16"},this.hasHeadSlotFirst&&e("tr",{key:"bfbac21dbab8afab7f34e952bd5803954be4991d"},e("td",{key:"0a491ed1c4855d55b4dbc493a52029d657a08cc5",class:"duet-editable-table-actions-menu",colSpan:99},e("slot",{key:"87c033e72a1bd3b87a51a4981b1b4939de66578d",name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&e("tr",{key:"2ab66f9b14fe592f7ee7e6293cdd56b3aed0190e"},e("td",{key:"edb3ae066371b6f5dc990f10f088246c0d9388d9",class:"duet-editable-table-actions-menu",colSpan:99},e("slot",{key:"f57ebf07ee01c40cb47469b2fa07a706c4724dae",name:"thead-last"})))),e("tbody",{key:"538b2de606132fcb272e5af1650cafb947fc5b2a"},this.renderTableBody()),this.hasFootSlot&&e("tfoot",{key:"2f1a98dd550705933222f7179bc3ff4d6554d117"},e("tr",{key:"ecb9667d57ea85de7efa6fa0035fbfbb16c78a9e"},e("td",{key:"c78b25495de0621c55f70cce5131b1d192fc5e0e",class:"duet-editable-table-footer-menu",colSpan:99},e("slot",{key:"ed051b0e66c28fdbee565b33c1c394034a817a82",name:"tfoot"})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());J.style=H;var V="\nduet-table {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-bottom: ".concat(m," !important;\n display: block;\n font-variant-numeric: tabular-nums;\n\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n }\n\n &.duet-m-0 {\n margin: 0 !important;\n }\n\n table {\n width: 100%;\n font-family: ").concat(g,";\n font-size: ").concat(v,";\n text-align: left;\n border-spacing: 0;\n border-collapse: separate;\n }\n\n &.duet-table-hide-head-visually.duet-table-hide-head-visually {\n thead,\n thead * {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n }\n\n &.duet-theme-turva table {\n font-family: ").concat(y,";\n }\n\n td {\n -webkit-hyphens: auto;\n hyphens: auto;\n color: ").concat(k,";\n }\n\n &.duet-theme-turva td {\n color: ").concat(w,";\n }\n\n th {\n font-weight: ").concat(x,";\n line-height: ").concat(_,";\n color: ").concat(T,";\n text-align: left;\n }\n\n &.duet-theme-turva th {\n color: ").concat(j,";\n }\n\n tbody th {\n font-weight: ").concat(x,";\n color: ").concat(k,";\n }\n\n &.duet-theme-turva tbody th {\n color: ").concat(w,";\n }\n\n & .duet-table-action-row {\n & td:last-child {\n justify-self: end;\n padding-right: ").concat(m," !important;\n white-space: nowrap;\n }\n }\n\n span.duet-table-cell-heading {\n display: none;\n }\n}\n\n.duet-table-flattened {\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n display: block;\n }\n\n thead tr {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n\n td {\n line-height: ").concat(_,";\n\n &:not(:last-child) {\n margin-bottom: ").concat(L,";\n }\n\n span.duet-table-cell-heading {\n margin-bottom: ").concat(z,";\n display: block;\n font-size: ").concat(v,";\n font-weight: ").concat(x,";\n color: ").concat(k,";\n }\n }\n\n &.duet-theme-turva td span.duet-table-cell-heading {\n color: ").concat(w,";\n }\n\n tbody td,\n tbody th,\n tfoot td {\n padding: 0 !important;\n text-align: left !important;\n }\n\n tbody th {\n font-weight: ").concat(x,";\n line-height: ").concat(_,";\n color: ").concat(T,";\n text-align: left;\n }\n}\n\n.duet-table-sticky thead th {\n position: sticky;\n top: 0;\n background: ").concat(E,";\n}\n\n.duet-table-striped {\n td,\n th {\n padding: ").concat(m," !important;\n @media ").concat(S.replace("'","").replace("'","")," {\n padding: ").concat(m," ").concat(A," !important;\n }\n }\n\n tbody th {\n background: ").concat(E,";\n }\n\n &.duet-table-sticky {\n thead th {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva thead th {\n border-bottom-color: ").concat(F,";\n }\n }\n\n tbody:not(:first-of-type) th {\n padding-top: calc(").concat(m," * 2) !important;\n }\n\n tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n &.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(").concat(w,", 0.04);\n }\n\n tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n &.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(").concat(w,", 0.04);\n }\n\n tfoot td {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot td {\n border-top-color: ").concat(F,";\n }\n\n &.duet-table-flattened {\n tbody:not(:first-of-type) th {\n padding-top: ").concat(m," !important;\n }\n\n tr {\n padding: ").concat(m," !important;\n }\n\n tfoot {\n td {\n border-top: 0;\n }\n\n tr {\n border-top: 1px solid ").concat(D,";\n }\n }\n\n &.duet-theme-turva tfoot tr {\n border-top-color: ").concat(F,";\n }\n }\n}\n\n.duet-table-plain, .duet-table-fixed, .duet-table-minimal {\n th {\n padding: ").concat(L," !important;\n border-bottom: 1px solid ").concat(T,";\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n &.duet-theme-turva th {\n border-bottom-color: ").concat(M,";\n }\n\n tbody th {\n padding-top: calc(").concat(m," * 2) !important;\n border-bottom-color: ").concat(D,";\n }\n\n &.duet-theme-turva tbody th {\n border-bottom-color: ").concat(F,";\n }\n\n td {\n padding: ").concat(L," !important;\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n tbody td {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tbody td {\n border-bottom-color: ").concat(F,";\n }\n\n &.duet-table-flattened {\n tbody:first-of-type th {\n padding-top: 0 !important;\n }\n\n td,\n tbody th {\n border-bottom: 0;\n }\n\n tr {\n padding: ").concat(m," 0 !important;\n }\n\n tbody th {\n padding-top: ").concat(m," !important;\n }\n\n tfoot td {\n margin-bottom: ").concat(z," !important;\n }\n\n tbody:not(:only-of-type) tr:first-child {\n border-bottom: 0;\n }\n }\n}\n\n.duet-table-plain {\n\n &.duet-table-flattened {\n tbody tr {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tbody tr {\n border-bottom-color: ").concat(F,";\n }\n }\n}\n\n.duet-table-minimal {\n\n tbody tr,\n tbody tr td {\n vertical-align: top;\n border-bottom: 0 none;\n }\n\n tbody tr:last-of-type,\n tbody tr:last-of-type td {\n border-bottom: 1px solid ").concat(D,";\n }\n\n &.duet-table-flattened {\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n tbody tr td[data-heading]::before {\n display: none;\n }\n\n tfoot {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ").concat(F,";\n }\n }\n}\n\n.duet-table-fixed {\n\n table {\n table-layout: fixed;\n }\n\n tbody tr,\n tbody tr td,\n tbody tr td:first-child {\n padding: 4px !important;\n vertical-align: text-bottom;\n border-bottom: 0 none;\n }\n\n thead {\n display: none;\n }\n\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ").concat(F,";\n }\n }\n}\n.duet-table-scrollable {\n position: relative;\n width: 100%;\n overflow-x: auto;\n background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;\n background-repeat: no-repeat;\n background-attachment: local, local, scroll, scroll;\n background-size: 100px 100%, 100px 100%, 12px 100%, 12px 100%;\n}\n\n.duet-table-selected-column {\n background: rgba(").concat(C,", 0.08);\n\n .duet-theme-turva & {\n background: rgba(").concat(M,", 0.08);\n }\n}\n\n.duet-table-sortable {\n tbody tr td:first-child,\n thead tr th:first-child {\n padding: ").concat(m,";\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ").concat(D,";\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ").concat(F,';\n }\n }\n}\n\n\n.duet-table-actions {\n table {\n table-layout: auto;\n }\n\n thead {\n & th:last-child {\n width: 1px;\n white-space: nowrap;\n }\n }\n}\n\n.duet-editable-table-table.duet-table-flattened {\n tr {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-auto-rows: auto;\n gap: 10px;\n\n &.duet-table-action-row td:last-child::before {\n padding: 0;\n content: "";\n }\n }\n\n td {\n grid-column: 1 / 2;\n\n &:first-child {\n grid-row: 1;\n grid-column: 1;\n }\n\n &:last-child {\n grid-row: 1;\n grid-column: 2;\n }\n }\n}\n').replace(/[\n\r\t]/gm,"");function K(t){var e=t.getRootNode();var n=e instanceof ShadowRoot;if(n){var i=new CSSStyleSheet;i.replace(V).then((function(){e.adoptedStyleSheets.push(i)}))}else{var a=document.querySelector("style#duet-table-styles");if(a){return}var r=document.createElement("style");r.id="duet-table-styles";r.innerHTML=V;document.head.append(r)}}var X={none:0,"with-links":parseFloat(U)*16,"without-links":parseFloat(P)*16};var G=t("duet_table",function(){function t(t){var e=this;n(this,t);this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)";this.handleMediaQueryChange=function(t){e.matchesBreakpoint=O.includes(e.breakpoint)?!t.matches:t.matches};this.matchesBreakpoint=true;this.language=f();this.theme=undefined;this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.hideHeadVisually=false}t.prototype.watchLanguageStateHandler=function(t,e){var n=this;if(t!==e){setTimeout((function(){return n.copyHeadingsToCells()}),50)}};t.prototype.connectedCallback=function(){var t=this;K(this.element);var e=this.breakpoint==="none"||this.breakpoint==="none-scrollable"?"all":W[this.breakpoint];this.mq=matchMedia(e);this.mq.addEventListener("change",l(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);this.observer=new MutationObserver((function(){return l(t.copyHeadingsToCells(),50)}));this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.componentWillLoad=function(){s(this);this.copyHeadingsToCells();if(this.sticky&&this.breakpoint==="none-scrollable"){console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence')}if(this.sticky){var t=X[this.stickyDistance];var e=this.element.querySelectorAll(this.headingSelector);e.forEach((function(e){return e.style.top="".concat(t,"px")}))}};t.prototype.componentDidLoad=function(){this.observer?this.observer.takeRecords():null;h(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;this.mq.removeListener(this.handleMediaQueryChange);this.mq=null;this.matchesBreakpoint=true;c(this)};t.prototype.copyHeadingsToCells=function(){var t=this.element.querySelectorAll(this.headingSelector);var e=this.element.querySelectorAll("tbody tr");var n=Array.from(t).map((function(t){return t.textContent.trim()}));e.forEach((function(t){t.querySelectorAll("td").forEach((function(t,e){if(n[e]){var i=t.querySelector(".duet-table-cell-heading");if(!i||i.textContent!==n[e]){i===null||i===void 0?void 0:i.remove();var a=document.createElement("span");a.textContent=n[e];a.classList.add("duet-table-cell-heading");a.setAttribute("aria-hidden","true");a.inert=true;t.prepend(a)}}}))}))};t.prototype.render=function(){var t;return e(a,{key:"06ccaf0fc2d8586bc16b3a6c4c7a7a11de2c10ed",class:(t={},t["duet-table-".concat(this.variation)]=true,t["duet-table-flattened"]=!this.matchesBreakpoint,t["duet-table-sticky"]=this.matchesBreakpoint&&this.sticky,t["duet-table-scrollable"]=this.breakpoint==="none-scrollable",t["duet-m-0"]=this.margin==="none",t["duet-theme-turva"]=this.theme==="turva",t["duet-table-hide-head-visually"]=this.hideHeadVisually,t)},e("slot",{key:"81e3f8cfbcabec7c35c1d878df37e147112379db"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return t}());var $=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-203",system_message:"Files to upload exceed total byte size limit",message:{fi:"Yritit lisätä tiedostoja, jotka ylittäisivät suurimman sallitun yhteenlasketun koon.",sv:"Du försökte lägga till filer som skulle överskrida den maximala kombinerade storleken.",en:"You tried to add files that would exceed the maximum combined size."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}},{type:"duet-upload-302",system_message:"Files to upload exceeds limits",message:{fi:"Et voi lähettää enempää kuin enimmäismäärän liitteitä.",sv:"Du kan inte ladda upp fler än det maximala antalet bilagor.",en:"You can't upload more than maximum number of attachments."}}];var Q={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"};var Z=function(t){var n=t.label,i=t.categoryLabel;return e("div",{class:"items-header",tabindex:"-1","aria-label":p(Q)},i&&e("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(i)),e("duet-heading",{class:{"filename-header":true,"no-category":!i},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(n)))};var tt=function(t,e){if(!e){return true}var n=t.split(".");var i=e.split(",");var a=n[n.length-1];return i.includes(a)};var et=function(t,e){if(!e||!t){return true}var n=e.split(",");var i=false;n.forEach((function(e){var n=e.split("/");var a=t.split("/");if(n[0]===a[0]&&(n[1]===a[1]||n[1]==="*")){i=true}}));return i};var nt=function(t,e){if(!e||!t){return true}return e>=t};var it=function(t,e,n){var i=e.allowedMimetypes,a=e.allowedExtensions,r=e.maxBytes;var o=false;var s=Y("default",n);if(t){var d=t.name,l=t.type,u=t.size;var f=et(l,i);var h=a==="all"||a===""||a===" "||a===undefined?true:tt(d.toLowerCase(),a);var c=nt(u,r);if(!f){s=Y("duet-upload-101",n)}if(!h){s=Y("duet-upload-100",n)}if(!c){s=Y("duet-upload-201",n)}o=f&&h&&c}else{o=false}return{valid:o,errorMessage:o?undefined:p(s.message),errorSystem:o?undefined:s.system_message,errorType:o?undefined:s.type}};var at=function(t,e){var n=0;if(e){t.forEach((function(t){if(t.valid&&t.size){n+=t.size}}));if(n>=e){return true}}return false};var rt=function(t,e){var n=0;if(e){t.forEach((function(t){if(t.valid){n++}}));if(n>=e){return true}}return false};var ot=function(t,e,n){if(t+e>n){return true}return false};var st=function(t,e,n){var i=0;if(n){t.forEach((function(t){if(t.valid&&t.size){i+=t.size}}));e.forEach((function(t){if(t.size){i+=t.size}}));if(i>=n){return true}}return false};var dt=function(t){var e=t.payload,n=t.options,i=t.onFailure,a=t.onSuccess,r=t.onProgress;var o=n.type,s=o===void 0?"POST":o,d=n.xhr,l=n.uri,u=n.argument,f=u===void 0?null:u,h=n.headers,c=h===void 0?null:h;d.open(s,"".concat(l).concat(f||""),true);var p=e.data,b=e.name;if(c){Object.keys(c).forEach((function(t){d.setRequestHeader(t,c[t])}))}if(s==="POST"){d.onreadystatechange=function(){if(d.readyState===XMLHttpRequest.DONE&&d.status>=200&&d.status<300){a(d,b,d.status)}if(d.readyState===XMLHttpRequest.DONE&&d.status>=300&&d.status<999){i(d,b,d.status)}};r(b)}d.send(p);return d};var lt="*,*::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}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";var ut=lt;var ft=t("duet_upload",function(){function t(t){var a=this;n(this,t);this.duetChange=i(this,"duetChange",3);this.duetBlur=i(this,"duetBlur",7);this.duetFocus=i(this,"duetFocus",7);this.duetReady=i(this,"duetReady",7);this.duetDone=i(this,"duetDone",3);this.duetState=i(this,"duetState",3);this.duetDelete=i(this,"duetDelete",3);this.duetCancel=i(this,"duetCancel",3);this.duetProgress=i(this,"duetProgress",3);this.duetUpload=i(this,"duetUpload",3);this.linkClick=i(this,"linkClick",3);this.buttonId=R("DuetButton");this.labelId=R("DuetLabel");this.uploadId=R("DuetUpload");this.filesInProgress=new Map;this.fileMaxReached=false;this.bytesMaxReached=false;this.filesToUploadExceedsLimit=false;this.filesToUploadTotalSizeIsAboveMax=false;this.internalStatusMessageLabel=undefined;this.itemRefs=new Map;this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"};this.kick=l((function(){a.tick=Date.now()}),30);this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"};this.listenForActionEvents=function(){a.element.addEventListener("duetActionEvent",(function(t){var e=t.detail;var n=e.action,i=e.id,r=e.originalEvent;switch(n){case"delete":a.onDelete(i,r);break;case"cancel":a.onCancel(i,r);break}}))};this.verifyValidity=function(){var t=a.getFilesAsArray(),e=t.invalid,n=t.valid;var i=a.valid;a.valid=e.length===0&&n.length!==0;if(a.valid!==i){a.duetState.emit({originalEvent:undefined,data:{valid:a.valid,from:"componentWillRender"},component:"duet-upload"})}};this.getGroupFromItemData=function(t){if(t.valid&&t.progress===100){return a.DefaultGroups.success}else if(t.progress>0&&t.progress!==100){return a.DefaultGroups.inprogress}else if(!t.valid){return a.DefaultGroups.failure}else if(t.pending){return a.DefaultGroups.pending}else if(t.group){return t.group}else{return"none"}};this.mapFilesToUploadItems=function(t,n,i,r){if(n===a.DefaultGroups.success){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"success",data:t,showLinks:a.showLinks,linkClickEvent:a.emitEvent?a.linkClick:undefined,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(n===a.DefaultGroups.inprogress){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"inprogress",data:t,showLinks:a.showLinks,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(n===a.DefaultGroups.pending){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"pending",data:t,showLinks:a.showLinks,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(n===a.DefaultGroups.failure){return e("duet-upload-item",{theme:a.theme,actions:a.getActions(n,r),type:"failure",data:t,showLinks:a.showLinks,errorCodes:a.errorCodes,categoryLabel:a.categoryLabel,label:a.uploadedItemsHeaderLabel,showCategory:i,buttonTitles:a.processedButtonTitles,ref:function(e){a.itemRefs.set(t.uid,e)}})}else if(t.group){return t.html}else{return"none"}};this.genHashName=function(){return Date.now().toString(36)+Math.random()};this.updateValueInMap=function(t,e,n,i){if(i===void 0){i=true}try{var r=a.files.get(t);r[e]=n;a.files.set(t,r);if(a.external&&e!=="url"){a.trackProgress(t,e==="uploaded")}}catch(t){}if(i){a.kick()}};this.updateProgress=function(t,e){var n=function(n){a.updateValueInMap(e,"progress",n);a.onProgress(e,n,t)};if(t.lengthComputable){var i=t.loaded/t.total*100;n(i)}else{console.log("cant read progress")}};this.trackProgress=function(t,e){if(e===void 0){e=false}if(e){a.filesInProgress.delete(t)}else{a.filesInProgress.set(t,"inprogress")}if(a.filesInProgress.size===0){a.onDone()}};this.getFilesAsArray=function(){var t=[];var e=[];a.files.forEach((function(n){if(n.valid&&!n.deleted){t.push(n)}else if(!n.valid&&!n.deleted){e.push(n)}}));return{valid:t,invalid:e}};this.resetFormFields=function(){a.nativeInput.value=""};this.startUpload=function(t){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return __awaiter(a,__spreadArray([t],e,true),void 0,(function(t,e){var n,i,a;if(e===void 0){e=undefined}return __generator(this,(function(r){n=this.validateTotals(),i=n.bytesMaxReached,a=n.fileMaxReached;if(i||a){this.kick();return[2]}this.metaData=e;this.nativeInput.click();this.onUpload(t,e);t.stopPropagation();t.preventDefault();return[2]}))}))};this.transferComplete=function(t){a.updateValueInMap(t,"progress",100,false);a.trackProgress(t,true)};this.transferDone=function(t,e,n){a.updateValueInMap(e,"status",n,false);a.updateValueInMap(e,"uploaded",true,false);try{var i=JSON.parse(t.response);a.updateValueInMap(e,"url",i.url)}catch(t){a.updateValueInMap(e,"url",null);console.error("Server did not respond with expected response {url: string}")}return};this.transferDoneWithFailure=function(t,e,n){try{var i=JSON.parse(t.response).error;a.updateValueInMap(e,"error",{message:i.message,type:i.type},false)}catch(t){console.error("Server did not respond with expected response error:{message: string, type: int}");a.updateValueInMap(e,"error",{type:n},false)}a.updateValueInMap(e,"valid",false,true)};this.transferFailed=function(t){a.updateValueInMap(t,"error",q("duet-upload-001",a.errorCodes))};this.transferCanceled=function(t){a.files.delete(t);a.validateTotals(t);a.kick()};this.validateTotals=function(t){var e=at(a.files,a.maxBytesTotal);var n=rt(a.files,a.maxFiles);if(e&&t){a.updateValueInMap(t,"error",q("duet-upload-202",a.errorCodes),false)}if(n&&t){a.updateValueInMap(t,"error",q("duet-upload-301",a.errorCodes),false)}a.bytesMaxReached=e;a.fileMaxReached=n;return{bytesMaxReached:e,fileMaxReached:n}};this.uploadFile=function(t){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return __awaiter(a,__spreadArray([t],e,true),void 0,(function(t,e,n){var i,a,r;if(e===void 0){e=false}return __generator(this,(function(o){switch(o.label){case 0:if(!e&&this.deferUpload){this.updateValueInMap(t.item.name,"pending",true,false);this.updateValueInMap(t.item.name,"group","pending",true)}else if(e){this.updateValueInMap(t.item.name,"pending",false,false);this.updateValueInMap(t.item.name,"group",undefined,true)}o.label=1;case 1:o.trys.push([1,4,,5]);if(!(!this.deferUpload||e))return[3,3];i=new FormData;i.append("file",t.item);if(n){i.append("key",n)}i.append("uid",t.uid);i.append("name",t.item.name);i.append("metadata",JSON.stringify({uid:t.uid,url:this.uri,size:t.item.size,meta:t.meta}));a=t;return[4,this.makeXHRPostRequest(i)];case 2:a.xhr=o.sent();o.label=3;case 3:return[3,5];case 4:r=o.sent();this.updateValueInMap(t.item.name,"valid",false,false);return[3,5];case 5:return[2]}}))}))};this.uploadPendingFiles=function(){for(var t=0,e=Array.from(a.files.entries());t<e.length;t++){var n=e[t],i=n[0],r=n[1];if(r.group==="pending"&&r.pending===true){a.uploadFile(r,true,i)}}};this.getItemFromUID=function(t){for(var e=0,n=Array.from(a.files.entries());e<n.length;e++){var i=n[e],r=i[0],o=i[1];if(o.uid===t){return{value:o,key:r}}}return null};this.handleExternalUploadButton=function(t,e){if(a.externalUploadButton){if(t||e){a.externalUploadButton.disabled=true}else{a.externalUploadButton.disabled=false}}};this.onDelete=function(t,e){var n=a.getItemFromUID(t);var i=n.key;var r=a.files.get(i);a.files.delete(i);var o=a.validateTotals(),s=o.bytesMaxReached,d=o.fileMaxReached;a.handleExternalUploadButton(s,d);a.kick();a.duetDelete.emit({originalEvent:e,data:{deletion:r},component:"duet-upload"});if(!a.external&&!r.pending){a.makeXHRDeleteRequest(r)}a.resetFormFields()};this.onCancel=function(t,e){var n=a.getItemFromUID(t).key;var i=a.files.get(n);a.files.delete(n);var r=a.validateTotals(),o=r.bytesMaxReached,s=r.fileMaxReached;a.handleExternalUploadButton(o,s);if(!a.external){var d=i.xhr;if(d){d.abort()}}a.kick();a.resetFormFields();a.duetCancel.emit({originalEvent:e,data:{cancelled:i},component:"duet-upload"})};this.onUpload=function(t,e){a.duetUpload.emit({originalEvent:t,metaData:e,component:"duet-upload"})};this.onBlur=function(t){a.duetBlur.emit({originalEvent:t,component:"duet-upload"})};this.onProgress=function(t,e,n){a.duetChange.emit({originalEvent:n,data:{key:t,percentComplete:e},component:"duet-upload"})};this.onFocus=function(t){a.duetFocus.emit({originalEvent:t,component:"duet-upload"})};this.onReady=function(){a.duetReady.emit({component:"duet-upload"})};this.onDone=function(){a.duetDone.emit({component:"duet-upload",data:{files:a.files}})};this.filterMap=function(){var t=Array.from(a.files.values());var e=[];var n=[];var i=[];var r=[];var o=false;t.forEach((function(t){var s=a.getGroupFromItemData(t);if(t.meta&&!!t.meta.badges){o=true}if(s===a.DefaultGroups.success){r.push({uid:t.uid,data:t})}else if(s===a.DefaultGroups.inprogress){e.push({uid:t.uid,data:t})}else if(s===a.DefaultGroups.pending){i.push({uid:t.uid,data:t})}else if(s===a.DefaultGroups.failure){n.push({uid:t.uid,data:t})}else if(t.group){e.push({uid:t.uid,data:t})}}));return{pending:i,failure:n,success:r,inprogress:e,hasCategory:o}};this.getActions=function(t,e){return e.filter((function(e){return e.map.includes(t)}))};this.renderUploadedItems=function(){a.itemRefs.clear();var t=a.filterMap();var n=t.hasCategory;var i=a.hideCancelButton?a.actions.filter((function(t){return t.name!=="cancel"})):a.actions;var r=a.groups.map((function(r){var s=t[r.id];if(!(s===null||s===void 0?void 0:s.length)){return}return e(o,null,!a.hideGroups&&e(Z,{categoryLabel:n?a.categoryLabel:undefined,label:r.label}),s.map((function(t){return a.mapFilesToUploadItems(t.data,r.id,n,i)})))}));return e(o,null,a.showUploadedItemsHeader&&e(Z,{categoryLabel:n?a.categoryLabel:undefined,label:a.uploadedItemsHeaderLabel}),r)};this.tick=Date.now();this.accessibleActiveDescendant=undefined;this.accessibleDescribedBy=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.external=false;this.middleware=null;this.deferUpload=false;this.hideButton=false;this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}];this.uri=undefined;this.showLinks=false;this.caption=undefined;this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",inProgressWithErrors:"Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",done:"Lähetys valmis, {filesTotal} lisätty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",files:"tiedostoa",file:"tiedosto"},sv:{inProgress:"Laddar upp {filesUploaded} av {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Uppladdningen slutförd, {filesTotal} har lagts till",doneWithErrors:"Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Uploading {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"Upload completed, {filesTotal} added successfully",doneWithErrors:"Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",files:"files",file:"file"}};this.statusMessageLabel=p(this.statusLabelDefaults);this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"};this.buttonLabel=p(this.buttonLabelDefaults);this.accessibleButtonLabel=undefined;this.theme="";this.disabled=false;this.identifier=undefined;this.margin="auto";this.required=false;this.alignment="middle";this.hideGroups=false;this.files=new Map;this.valid=!this.required;this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"};this.label=p(this.labelDefaults);this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."};this.description=p(this.descriptionDefaults);this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."};this.fileListEmpty=p(this.fileListEmptyDefaults);this.error="";this.errorCodes=$;this.name=undefined;this.maxBytes=2e8;this.maxBytesTotal=undefined;this.maxFiles=99;this.allowedExtensions="all";this.allowedMimetypes="";this.multiple=true;this.limitSelection=false;this.hideCancelButton=false;this.value=undefined;this.externalUploadButtonId=undefined;this.captionOnBottom=false;this.showUploadedItemsHeader=false;this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"};this.headerHeadingLevel="h3";this.hideHeader=false;this.emitEvent=false;this.actionButtonTitles={cancel:false,delete:false};this.renameDuplicates=false;this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}]}t.prototype.watchValidHandler=function(t,e){if(t!==e){this.kick()}};t.prototype.componentWillLoad=function(){if(typeof this.statusMessageLabel==="string"){this.internalStatusMessageLabel=b(this.groups)}else{this.internalStatusMessageLabel=this.statusMessageLabel}s(this);this.listenForActionEvents();this.onReady();this.externalUploadButton=document.querySelector("#".concat(this.externalUploadButtonId));this.processedButtonTitles=N(this.actionButtonTitles)};t.prototype.componentWillRender=function(){this.verifyValidity()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeInput){this.nativeInput.focus(t)}return[2]}))}))};t.prototype.upload=function(){return __awaiter(this,arguments,void 0,(function(t){var e,n,i;if(t===void 0){t=undefined}return __generator(this,(function(a){e=this.validateTotals(),n=e.bytesMaxReached,i=e.fileMaxReached;if(n||i){this.handleExternalUploadButton(n,i);this.kick();return[2]}this.metaData=t;this.nativeInput.click();return[2]}))}))};t.prototype.uploadPending=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.uploadPendingFiles();return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.kick();return[4,this.setFocus()];case 1:t.sent();return[2]}}))}))};t.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.files||this.files.size===0){return[2,false]}return[2,this.getFilesAsArray()]}))}))};t.prototype.updateValue=function(t,e,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.updateValueInMap(t,e,n);return[2]}))}))};t.prototype.focusActionButton=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:return[4,(e=this.itemRefs.get(t))===null||e===void 0?void 0:e.focusActionButton()];case 1:n.sent();return[2]}}))}))};t.prototype.render=function(){var t=this;var n=this.identifier||this.uploadId;var i=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024);var r=Math.round(this.maxBytes/1024/1024);var s=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());s=s.replace(/{maxbytes}/g,"".concat(r.toString()," MB"));s=s.replace(/{maxbytestotal}/g,"".concat(i.toString()," MB"));s=s.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", "));if(this.externalUploadButton){this.externalUploadButton.accessibleLabel="".concat(this.externalUploadButton.innerText,". ").concat(s)}return e(a,{key:"af891e8448afa376703a9aaf7c2ea6614cf355b2",class:{"duet-m-0":this.margin==="none"}},e("duet-fieldset",{key:"64ecfbf72004643670c94e10e3c528c453424781","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},e("slot",{key:"a86b487196b80ef598a870a65b173668bfb7f28a",name:"header"}),!this.files.size&&e("duet-empty-state",{key:"a0fff5af7f1b97d9d9755f05a2db3417b726d35b",id:this.labelId,part:this.identifier?"".concat(this.identifier,"-empty-state"):"duet-upload-empty-state",icon:"messaging-attachment"},e("duet-paragraph",{key:"07990782c33bbf197e5b5faa2b09d70ad9234ec7",margin:"none"},this.fileListEmpty)),!!this.files.size&&e("slot",{key:"6e64833a85ff33f6cd0c8620853a517d20bbda06",name:"fileheader"}),!!this.files.size&&e("duet-upload-aria-status",{key:"4f404613876a98b0b81c11bcdb57cccc3ebf8038",invalid:this.getFilesAsArray().invalid.length,valid:this.getFilesAsArray().valid.length,inprogress:this.filesInProgress.size,total:this.files.size,statusMessageLabel:this.internalStatusMessageLabel}),!!this.files.size&&this.renderUploadedItems(),!!this.files.size&&e("slot",{key:"429f15000646c8b490ba930339777f791c378103",name:"filefooter"}),e("slot",{key:"79f6b863efa949079852852740edbdd2be2e3516",name:"uploadfooter"}),this.captionOnBottom&&e("duet-caption",{key:"fc7852edd78f5190203dba3158962366c53a94b7",margin:"none",size:"small"},e("div",{key:"4d36f87e3da881b5c85f22afca0ebd4dfdca0711",class:"upload-bottom-caption"},s)),e("slot",{key:"b283ac9a11d4108a7a84ab265082ccff8b00e323",name:"afterfooter"}),!this.hideButton&&e(o,{key:"8bf6f2b2b848a4a7def1a674cb2f156833dd540c"},e("duet-spacer",{key:"b2e12ee9f57ffe8189bc06a68ea2c09359b6f9d3",size:"large"}),e("duet-button",{key:"8243c35856bd3ca1871344a5eeaf63384d820ca4",id:this.buttonId,onClick:this.startUpload,"accessible-controls":n,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||"".concat(this.buttonLabel,". ").concat(s),"accessible-owns":n,size:"small",variation:"secondary",fixed:true,icon:"action-add-circle",part:this.identifier?"".concat(this.identifier,"-button-upload"):"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached||this.filesToUploadExceedsLimit||this.filesToUploadTotalSizeIsAboveMax)&&e(o,{key:"1ec4342f7ccf20e0d5022a9d84cc64e16372b401"},e("duet-spacer",{key:"b1ad3b5c6571bcb737f8ff057e51c8f7bd700458",size:"medium"}),e("duet-alert",{key:"4060aacd761dddcd9e06c3c7df95c6a3306fc9f8",part:this.identifier?"".concat(this.identifier,"-error-notification"):"duet-upload-error-notification"},this.fileMaxReached&&q("duet-upload-301",this.errorCodes),this.bytesMaxReached&&q("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&q("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&q("duet-upload-203",this.errorCodes))),e("duet-visually-hidden",{key:"cb2f66cf8b9b95e160022b5df3c36cb82f892e09","aria-hidden":"true"},e("input",{key:"e07b880670a5bb91660e1ae562dff6d5c2036a1f",ref:function(e){t.nativeInput=e},accept:!this.limitSelection?undefined:"".concat(this.allowedMimetypes,",").concat(this.allowedExtensions),onBlur:this.onBlur,onFocus:this.onFocus,onChange:function(e){return t.onChange(e)},type:"file",class:{"duet-upload":true},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))};t.prototype.makeXHRPostRequest=function(t){var e=this;var n=new XMLHttpRequest;var i=t.get("name");n.upload.addEventListener("progress",(function(t){e.updateProgress(t,i)}));n.upload.addEventListener("load",(function(){e.transferComplete(i)}));n.upload.addEventListener("error",(function(){e.transferFailed(i)}));n.upload.addEventListener("abort",(function(){e.transferCanceled(i)}));var a={payload:{data:t,name:i},options:{type:"POST",uri:this.uri,xhr:n,argument:null,headers:undefined},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){a=this.middleware(a)}return dt(a)};t.prototype.makeXHRDeleteRequest=function(t){var e=t.uid,n=t.item;var i=new XMLHttpRequest;var a={"x-fileuid":e,"x-filename":n.name};var r={payload:{data:null,name:name},options:{type:"DELETE",xhr:i,uri:this.uri,argument:"?key=".concat(e,"&name=").concat(n.name),headers:a},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){r=this.middleware(r)}return dt(r)};t.prototype.escapeSpecialCharacters=function(t){return(t+"").replace(/[\\"'(){}\[\]*?$^+]/g,"\\$&").replace(/\u0000/g,"\\0")};t.prototype.getRenamedFileName=function(t,e){var n=new RegExp("".concat(this.escapeSpecialCharacters(t)," \\(\\d+\\).").concat(e));var i=Array.from(this.files.entries()).map((function(t){var e=t[0],n=t[1];return e})).filter((function(i){return n.test(i)||i==="".concat(t,".").concat(e)})).sort((function(t,e){return t.split(".").slice(0,-1).join(".")>e.split(".").slice(0,-1).join(".")?1:-1})).pop().split(".").slice(0,-1).join(".");if(i===t){return"".concat(t," (1).").concat(e)}var a=parseInt(i.split("(").pop().slice(0,-1));return"".concat(t," (").concat(a+1,").").concat(e)};t.prototype.renameFiles=function(t){var e=this;return t.map((function(t){if(e.files.get(t.name)){var n=t.name.split(".");var i=n.pop();var a=n.join(".");var r=e.getRenamedFileName(a,i);return new File([t],r,{type:t.type,lastModified:t.lastModified})}else{return t}}))};t.prototype.onChange=function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,a,r,o,s,d,l,u,f,h;return __generator(this,(function(c){switch(c.label){case 0:n=Array.from((e=this.nativeInput)===null||e===void 0?void 0:e.files);this.filesToUploadExceedsLimit=false;if(ot(this.files.size,n.length,this.maxFiles)){this.filesToUploadExceedsLimit=true;this.kick();return[2]}this.filesToUploadTotalSizeIsAboveMax=false;if(st(this.files,n,this.maxBytesTotal)){this.filesToUploadTotalSizeIsAboveMax=true;this.kick();return[2]}if(!n)return[3,6];if(this.renameDuplicates){n=this.renameFiles(n)}i=0,a=n;c.label=1;case 1:if(!(i<a.length))return[3,6];r=a[i];o=it(r,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),s=o.valid,d=o.errorMessage,l=o.errorType,u=o.errorSystem;f=this.genHashName();h={uid:f,item:r,size:r.size,meta:this.metaData,uploaded:false,valid:s,error:{type:s?undefined:l,message:s?undefined:d,system_message:s?undefined:u},progress:0,deleted:false,xhr:false,url:false};this.files.set(r.name,h);if(!(s&&!this.external))return[3,3];return[4,this.uploadFile(h)];case 2:c.sent();return[3,4];case 3:if(s&&this.external){this.updateValueInMap(h.item.name,"pending",true,false);this.updateValueInMap(h.item.name,"group","pending",true)}else if(!s){this.updateValueInMap(r.name,"valid",false,true)}c.label=4;case 4:this.kick();c.label=5;case 5:i++;return[3,1];case 6:this.resetFormFields();this.metaData=undefined;this.duetChange.emit({originalEvent:t,data:{files:this.files},component:"duet-upload"});return[2]}}))}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{valid:["watchValidHandler"]}},enumerable:false,configurable:true});return t}());ft.style=ut}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function o(e){try{u(i["throw"](e))}catch(e){r(e)}}function u(e){e.done?n(e.value):a(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-61173f11.system.js","./p-e216bea4.system.js","./p-2bb44297.system.js","./p-cdba12cc.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=u;var l=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.buttonTitles=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,l=e.error;var d=t.name;var h=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);var f=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{theme:this.theme,progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(l.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},h),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},h,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f)}};e.prototype.getActionButtonTitle=function(e){if(this.buttonTitles[e.name]===true||this.buttonTitles[e.name]===false){return e}return r(this.buttonTitles[e.name])};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{key:"e20eaab3688b577cbdc151f9e890e6ccb55e7795",class:{"upload-item-row":true}},this.showCategory&&n("div",{key:"136689969c8164e4a5e15015ded3533e24959c8e",class:"item-categories"},n("duet-heading",{key:"02bb08e5a87bae34896dc2d21d90fce955044231",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{key:"d93fae942698b2638a46ff9a3249884555472a37",class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{key:"244da72bd3771fcf6ee4481f3143c051bf272bc2",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{key:"730db1e85ef0ba3f9f9d4d67f38270e38d6d7195",class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:e.getActionButtonTitle(t),ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=c}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as o,H as e,g as a,c as r}from"./p-a083b91a.js";import{i}from"./p-aaa7a7bd.js";import{s as n,u as s}from"./p-a45e3f8b.js";import{F as p}from"./p-083bbc28.js";import{T as d}from"./p-ca3cb21e.js";const l=class{constructor(o){t(this,o),this.label="",this.accessibleLabel=void 0,this.theme="",this.negative=!1,this.active=void 0,this.tooltipId=void 0}componentWillLoad(){i(this)}connectedCallback(){n(this)}disconnectedCallback(){s(this)}async setFocus(t){this.buttonElement&&this.buttonElement.focus(t)}render(){return o(e,{key:"fee44c3df69a6434affa9f49039575913c1764fa"},o("button",{key:"11fbd81dfecf41f3540c8f09854aa148383ddb08",ref:t=>this.buttonElement=t,"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":!0,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":"turva"===this.theme,"duet-tooltip-button-negative":this.negative}},o("svg",{key:"1f833d69a947244a10790730de2e591ca8b36ba6","aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"38acc8ec9e2956e937a84e8ebb738a77c9111370",d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),o("circle",{key:"ef35c73e4fe6b717decd80b2352f9ed8b8aa8f7f",cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{key:"a394f6560c8387da8a307f5c9623ec7d33d0c2c6",d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?o("span",{class:"duet-tooltip-label"},this.label):o("duet-visually-hidden",null,this.accessibleLabel)))}get element(){return a(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-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !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;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';const b=class{constructor(o){t(this,o),this.tooltipPopupClosed=r(this,"tooltipPopupClosed",7),this.handleCloseClick=()=>{this.tooltipPopupClosed.emit()},this.theme="",this.active=void 0,this.tooltipId=void 0,this.arrowStyles=void 0,this.placement=void 0,this.accessibleCloseLabel=void 0}componentWillLoad(){i(this)}connectedCallback(){n(this),this.teleport||(this.teleport=new d(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){s(this)}async getArrowElement(){return this.arrowEl}async getContentElement(){return this.contentEl}async setFocusOnContentElement(){this.contentEl.focus()}render(){return o(e,{key:"6475bd5406c8a14d70944a1b316e38dbfb3f4e0d"},o("div",{key:"ed169b7de58051fb1893fd4033471c39df8b8339",class:{"duet-tooltip":!0,"duet-theme-turva":"turva"===this.theme,"duet-tooltip-active":!0===this.active}},o(p,{key:"9a6f8e75996a8b00c09ecf552e39b01d231297bf",moveFocusTo:this.buttonEl}),o("div",{key:"0a003b54b91c3d687f6793fe1e84602ccf4acfcf",ref:t=>this.contentEl=t,class:"duet-tooltip-content-area",tabindex:0,id:this.tooltipId},o("slot",{key:"fdcddea1210c716a8e1d35f94ca9a166805776c8"})),o("div",{key:"fcd50c973fb3f7d0d8280f22c6a78a853ac6d566",ref:t=>this.arrowEl=t,class:{arrow:!0,[this.placement]:!0},style:this.arrowStyles},o("div",{key:"10d19ae7d0d66bbefa00aa7a2d8b3e1f426331e8",class:{"arrow-container":!0,[this.placement]:!0}})),o("button",{key:"6b94899472ae322f2324344f9c8d12a423e05110",type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:t=>this.buttonEl=t},o("duet-icon",{key:"55db60a2ebbfb3bed86dc7960993d2e2d0b8e4f4",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",{key:"fd240f6c644ea25ab3554ed44719056485c24d9b"},this.accessibleCloseLabel)),o(p,{key:"386b99183b08c179b9da7c811c4331ca6c3877ea",moveFocusTo:this.contentEl})))}get element(){return a(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}';export{l as duet_tooltip_button,b as duet_tooltip_popup}