scb-wc 0.1.264 → 0.1.266

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 (382) hide show
  1. package/README.md +16 -19
  2. package/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/decorate.js +1 -2
  3. package/all.d.ts +0 -95
  4. package/all.js +0 -95
  5. package/bin/scb-wc.mjs +5 -1
  6. package/component-defaults.js +2 -2
  7. package/index.js +16 -111
  8. package/mvc/components/all.js +0 -95
  9. package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +1 -1
  10. package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +4 -4
  11. package/mvc/components/scb-button/scb-button.js +3 -3
  12. package/mvc/components/scb-divider/scb-divider.js +1 -1
  13. package/mvc/components/scb-icon-button/scb-icon-button.js +8 -8
  14. package/mvc/components/scb-link/scb-link.js +2 -2
  15. package/mvc/components/scb-link-button/scb-link-button.js +3 -3
  16. package/mvc/components/scb-options-menu/scb-options-menu-item.js +2 -2
  17. package/mvc/components/scb-options-menu/scb-options-menu.js +3 -3
  18. package/mvc/components/scb-options-menu/scb-options-sub-menu.js +2 -2
  19. package/mvc/components/scb-segmented-button/scb-segmented-button.js +1 -1
  20. package/mvc/components/scb-segmented-button/scb-segmented-item.js +2 -2
  21. package/mvc/components/scb-tabs/scb-primary-tab.js +2 -2
  22. package/mvc/components/scb-tabs/scb-secondary-tab.js +2 -2
  23. package/mvc/components/scb-tabs/scb-tabs.js +4 -4
  24. package/mvc/vendor/aria-references.internal.js +1 -1
  25. package/mvc/vendor/component-defaults.js +1 -1
  26. package/mvc/vendor/icon.js +2 -2
  27. package/mvc/vendor/lazy-focus-ring.js +2 -0
  28. package/mvc/vendor/lazy-ripple.js +2 -0
  29. package/mvc/vendor/md-focus-ring.js +2 -2
  30. package/mvc/vendor/preload-helper.js +1 -1
  31. package/mvc/vendor/ripple.js +2 -2
  32. package/mvc/vendor/rolldown-runtime.js +1 -1
  33. package/mvc/vendor/tab-styles.js +7 -6
  34. package/mvc/vendor/vendor.js +3 -3
  35. package/package.json +2 -427
  36. package/scb-breadcrumb/scb-breadcrumb-item.js +11 -15
  37. package/scb-breadcrumb/scb-breadcrumb.js +37 -38
  38. package/scb-button/scb-button.js +67 -76
  39. package/scb-components/scb-link/scb-link.d.ts +1 -0
  40. package/scb-divider/scb-divider.js +14 -15
  41. package/scb-icon-button/scb-icon-button.js +48 -57
  42. package/scb-link/scb-link.js +57 -35
  43. package/scb-link-button/scb-link-button.js +29 -30
  44. package/scb-options-menu/scb-options-menu-item.js +26 -37
  45. package/scb-options-menu/scb-options-menu.js +31 -42
  46. package/scb-options-menu/scb-options-sub-menu.js +28 -29
  47. package/scb-segmented-button/scb-segmented-button.js +26 -30
  48. package/scb-segmented-button/scb-segmented-item.js +20 -21
  49. package/scb-tabs/scb-primary-tab.js +12 -16
  50. package/scb-tabs/scb-secondary-tab.js +11 -15
  51. package/scb-tabs/scb-tabs.js +14 -15
  52. package/scb-wc.bundle.js +1639 -20889
  53. package/scb-wc.d.ts +0 -190
  54. package/shared/aria-references.internal.js +2 -9
  55. package/shared/lazy-focus-ring.js +1 -2
  56. package/shared/lazy-ripple.js +2 -3
  57. package/shared/manual-popover.js +2 -15
  58. package/mvc/components/scb-accordion/scb-accordion-item.js +0 -48
  59. package/mvc/components/scb-accordion/scb-accordion.js +0 -16
  60. package/mvc/components/scb-action-card/scb-action-card.js +0 -1
  61. package/mvc/components/scb-app-bar/scb-app-bar.js +0 -18
  62. package/mvc/components/scb-avatar/scb-avatar.js +0 -35
  63. package/mvc/components/scb-badge/scb-badge.js +0 -10
  64. package/mvc/components/scb-calendar/scb-calendar-event.js +0 -2
  65. package/mvc/components/scb-calendar/scb-calendar.js +0 -63
  66. package/mvc/components/scb-calendar-card/scb-calendar-card.js +0 -41
  67. package/mvc/components/scb-card/scb-action-card.js +0 -1
  68. package/mvc/components/scb-card/scb-card.js +0 -96
  69. package/mvc/components/scb-card/scb-container-card.js +0 -1
  70. package/mvc/components/scb-card/scb-link-card.js +0 -1
  71. package/mvc/components/scb-card/scb-list-card.js +0 -1
  72. package/mvc/components/scb-card/scb-social-card.js +0 -1
  73. package/mvc/components/scb-checkbox/scb-checkbox-group.js +0 -20
  74. package/mvc/components/scb-checkbox/scb-checkbox.js +0 -51
  75. package/mvc/components/scb-chevron/scb-chevron.js +0 -10
  76. package/mvc/components/scb-chip/scb-chip.js +0 -31
  77. package/mvc/components/scb-collapse/scb-collapse.js +0 -62
  78. package/mvc/components/scb-container-card/scb-container-card.js +0 -1
  79. package/mvc/components/scb-cookies-consent/scb-cookies-consent.js +0 -12
  80. package/mvc/components/scb-datepicker/scb-datepicker.js +0 -143
  81. package/mvc/components/scb-dialog/scb-dialog.js +0 -67
  82. package/mvc/components/scb-drawer/scb-drawer.js +0 -41
  83. package/mvc/components/scb-drop-zone/scb-drop-zone.js +0 -156
  84. package/mvc/components/scb-dropdown/scb-dropdown.js +0 -89
  85. package/mvc/components/scb-fact-card/scb-fact-card-content.js +0 -24
  86. package/mvc/components/scb-fact-card/scb-fact-card.js +0 -24
  87. package/mvc/components/scb-footer/scb-footer-section.js +0 -1
  88. package/mvc/components/scb-footer/scb-footer.js +0 -62
  89. package/mvc/components/scb-form-error-summary/scb-form-error-summary.js +0 -24
  90. package/mvc/components/scb-gallery-grid/scb-gallery-grid.js +0 -27
  91. package/mvc/components/scb-grid/scb-grid-item.js +0 -1
  92. package/mvc/components/scb-grid/scb-grid.js +0 -1
  93. package/mvc/components/scb-grid/scb-stack.js +0 -1
  94. package/mvc/components/scb-header/scb-header-menu-group.js +0 -1
  95. package/mvc/components/scb-header/scb-header-menu-item.js +0 -1
  96. package/mvc/components/scb-header/scb-header-tab.js +0 -1
  97. package/mvc/components/scb-header/scb-header-utility.js +0 -1
  98. package/mvc/components/scb-header/scb-header.js +0 -351
  99. package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +0 -61
  100. package/mvc/components/scb-icon/scb-icon.js +0 -9
  101. package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +0 -43
  102. package/mvc/components/scb-link-card/scb-link-card.js +0 -1
  103. package/mvc/components/scb-list/scb-list-item.js +0 -58
  104. package/mvc/components/scb-list/scb-list.js +0 -5
  105. package/mvc/components/scb-list-card/scb-list-card.js +0 -1
  106. package/mvc/components/scb-menu/scb-menu-item.js +0 -80
  107. package/mvc/components/scb-menu/scb-menu-section.js +0 -8
  108. package/mvc/components/scb-menu/scb-menu.js +0 -18
  109. package/mvc/components/scb-menu/scb-sub-menu.js +0 -5
  110. package/mvc/components/scb-nav/scb-nav-item.js +0 -1
  111. package/mvc/components/scb-nav/scb-nav.js +0 -39
  112. package/mvc/components/scb-notification-card/scb-notification-card.js +0 -45
  113. package/mvc/components/scb-overlay/scb-overlay.js +0 -9
  114. package/mvc/components/scb-pagination/scb-pagination.js +0 -104
  115. package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +0 -21
  116. package/mvc/components/scb-progress-stepper/scb-progress-step.js +0 -44
  117. package/mvc/components/scb-progress-stepper/scb-progress-stepper.js +0 -13
  118. package/mvc/components/scb-radio-button/scb-radio-button.js +0 -52
  119. package/mvc/components/scb-radio-button/scb-radio-group.js +0 -20
  120. package/mvc/components/scb-scrollspy/scb-scrollspy.js +0 -20
  121. package/mvc/components/scb-search/scb-search.js +0 -57
  122. package/mvc/components/scb-select/scb-select-option.js +0 -19
  123. package/mvc/components/scb-select/scb-select.js +0 -91
  124. package/mvc/components/scb-skeleton/scb-skeleton.js +0 -5
  125. package/mvc/components/scb-slider/scb-slider.js +0 -84
  126. package/mvc/components/scb-snackbar/scb-snackbar.js +0 -71
  127. package/mvc/components/scb-social-card/scb-social-card.js +0 -1
  128. package/mvc/components/scb-status-pill/scb-status-pill.js +0 -4
  129. package/mvc/components/scb-stepper/scb-step.js +0 -70
  130. package/mvc/components/scb-stepper/scb-stepper.js +0 -11
  131. package/mvc/components/scb-switch/scb-switch.js +0 -71
  132. package/mvc/components/scb-table/scb-table.js +0 -5
  133. package/mvc/components/scb-table-advanced/scb-table-advanced.js +0 -26
  134. package/mvc/components/scb-table-next/read-table.js +0 -1
  135. package/mvc/components/scb-table-next/scb-table-next.js +0 -6
  136. package/mvc/components/scb-textfield/scb-textfield.js +0 -244
  137. package/mvc/components/scb-toc/scb-toc-item.js +0 -56
  138. package/mvc/components/scb-toc/scb-toc.js +0 -7
  139. package/mvc/components/scb-tooltip/scb-tooltip.js +0 -46
  140. package/mvc/components/scb-tour/scb-tour-step.js +0 -1
  141. package/mvc/components/scb-tour/scb-tour.js +0 -33
  142. package/mvc/components/scb-viz/scb-viz-actions-runtime.js +0 -2
  143. package/mvc/components/scb-viz/scb-viz-print-runtime.js +0 -134
  144. package/mvc/components/scb-viz/scb-viz-series-differentiation-registry.js +0 -1
  145. package/mvc/components/scb-viz/scb-viz-series-differentiation-runtime.js +0 -1
  146. package/mvc/components/scb-viz/scb-viz-table-runtime.js +0 -1
  147. package/mvc/components/scb-viz/scb-viz.js +0 -385
  148. package/mvc/components/shared/component-size-token.js +0 -1
  149. package/mvc/components/shared/lazy-focus-ring.js +0 -2
  150. package/mvc/components/shared/lazy-ripple.js +0 -2
  151. package/mvc/components/shared/manual-popover.js +0 -1
  152. package/mvc/components/shared/scb-icon-svg.js +0 -11
  153. package/mvc/vendor/assist-chip.js +0 -20
  154. package/mvc/vendor/checkbox-validator.js +0 -1
  155. package/mvc/vendor/chip-set.js +0 -2
  156. package/mvc/vendor/chip.js +0 -18
  157. package/mvc/vendor/delegate.js +0 -1
  158. package/mvc/vendor/elevation.js +0 -2
  159. package/mvc/vendor/filter-chip.js +0 -43
  160. package/mvc/vendor/focusable.js +0 -1
  161. package/mvc/vendor/form-associated.js +0 -1
  162. package/mvc/vendor/redispatch-event.js +0 -1
  163. package/mvc/vendor/runtime-colors.js +0 -1
  164. package/mvc/vendor/scb-card-variants.internal.js +0 -353
  165. package/mvc/vendor/scb-header-drawer.internal.js +0 -73
  166. package/mvc/vendor/shared-styles.js +0 -3
  167. package/mvc/vendor/validator.js +0 -1
  168. package/scb-accordion/scb-accordion-item.js +0 -620
  169. package/scb-accordion/scb-accordion.js +0 -206
  170. package/scb-action-card/scb-action-card.js +0 -2
  171. package/scb-app-bar/scb-app-bar.js +0 -534
  172. package/scb-avatar/scb-avatar.js +0 -431
  173. package/scb-badge/scb-badge.js +0 -186
  174. package/scb-calendar/scb-calendar-event.js +0 -48
  175. package/scb-calendar/scb-calendar.js +0 -867
  176. package/scb-calendar-card/scb-calendar-card.js +0 -680
  177. package/scb-card/scb-action-card.js +0 -2
  178. package/scb-card/scb-card-variants.internal.js +0 -233
  179. package/scb-card/scb-card.js +0 -2031
  180. package/scb-card/scb-container-card.js +0 -2
  181. package/scb-card/scb-link-card.js +0 -2
  182. package/scb-card/scb-list-card.js +0 -2
  183. package/scb-card/scb-social-card.js +0 -2
  184. package/scb-checkbox/scb-checkbox-group.js +0 -258
  185. package/scb-checkbox/scb-checkbox.js +0 -422
  186. package/scb-chevron/scb-chevron.js +0 -61
  187. package/scb-chip/scb-chip.js +0 -352
  188. package/scb-collapse/scb-collapse.js +0 -453
  189. package/scb-components/index.d.ts +0 -110
  190. package/scb-components/scb-accordion/scb-accordion-item.d.ts +0 -43
  191. package/scb-components/scb-accordion/scb-accordion.d.ts +0 -32
  192. package/scb-components/scb-action-card/scb-action-card.d.ts +0 -2
  193. package/scb-components/scb-app-bar/scb-app-bar.d.ts +0 -39
  194. package/scb-components/scb-avatar/scb-avatar.d.ts +0 -43
  195. package/scb-components/scb-badge/scb-badge.d.ts +0 -28
  196. package/scb-components/scb-calendar/scb-calendar-event.d.ts +0 -15
  197. package/scb-components/scb-calendar/scb-calendar.d.ts +0 -89
  198. package/scb-components/scb-calendar-card/scb-calendar-card.d.ts +0 -60
  199. package/scb-components/scb-card/scb-action-card.d.ts +0 -2
  200. package/scb-components/scb-card/scb-card.d.ts +0 -163
  201. package/scb-components/scb-card/scb-container-card.d.ts +0 -2
  202. package/scb-components/scb-card/scb-link-card.d.ts +0 -2
  203. package/scb-components/scb-card/scb-list-card.d.ts +0 -2
  204. package/scb-components/scb-card/scb-social-card.d.ts +0 -2
  205. package/scb-components/scb-checkbox/scb-checkbox-group.d.ts +0 -48
  206. package/scb-components/scb-checkbox/scb-checkbox.d.ts +0 -63
  207. package/scb-components/scb-chevron/scb-chevron.d.ts +0 -11
  208. package/scb-components/scb-chip/scb-chip.d.ts +0 -57
  209. package/scb-components/scb-collapse/scb-collapse.d.ts +0 -41
  210. package/scb-components/scb-container-card/scb-container-card.d.ts +0 -2
  211. package/scb-components/scb-cookies-consent/scb-cookies-consent.d.ts +0 -28
  212. package/scb-components/scb-datepicker/scb-datepicker.d.ts +0 -52
  213. package/scb-components/scb-dialog/scb-dialog.d.ts +0 -121
  214. package/scb-components/scb-drawer/scb-drawer.d.ts +0 -83
  215. package/scb-components/scb-drop-zone/scb-drop-zone.d.ts +0 -193
  216. package/scb-components/scb-dropdown/scb-dropdown.d.ts +0 -91
  217. package/scb-components/scb-fact-card/scb-fact-card-content.d.ts +0 -18
  218. package/scb-components/scb-fact-card/scb-fact-card.d.ts +0 -55
  219. package/scb-components/scb-footer/scb-footer-section.d.ts +0 -20
  220. package/scb-components/scb-footer/scb-footer.d.ts +0 -36
  221. package/scb-components/scb-form-error-summary/scb-form-error-summary.d.ts +0 -23
  222. package/scb-components/scb-gallery-grid/scb-gallery-grid.d.ts +0 -25
  223. package/scb-components/scb-grid/scb-grid-item.d.ts +0 -32
  224. package/scb-components/scb-grid/scb-grid.d.ts +0 -41
  225. package/scb-components/scb-grid/scb-stack.d.ts +0 -32
  226. package/scb-components/scb-header/scb-header-menu-group.d.ts +0 -12
  227. package/scb-components/scb-header/scb-header-menu-item.d.ts +0 -15
  228. package/scb-components/scb-header/scb-header-tab.d.ts +0 -15
  229. package/scb-components/scb-header/scb-header-utility.d.ts +0 -17
  230. package/scb-components/scb-header/scb-header.d.ts +0 -184
  231. package/scb-components/scb-horizontal-scroller/scb-horizontal-scroller.d.ts +0 -68
  232. package/scb-components/scb-icon/scb-icon.d.ts +0 -19
  233. package/scb-components/scb-keyfigure-card/scb-keyfigure-card.d.ts +0 -58
  234. package/scb-components/scb-link-card/scb-link-card.d.ts +0 -2
  235. package/scb-components/scb-list/scb-list-item.d.ts +0 -65
  236. package/scb-components/scb-list/scb-list.d.ts +0 -30
  237. package/scb-components/scb-list-card/scb-list-card.d.ts +0 -2
  238. package/scb-components/scb-menu/scb-menu-item.d.ts +0 -65
  239. package/scb-components/scb-menu/scb-menu-section.d.ts +0 -12
  240. package/scb-components/scb-menu/scb-menu.d.ts +0 -54
  241. package/scb-components/scb-menu/scb-sub-menu.d.ts +0 -14
  242. package/scb-components/scb-nav/scb-nav-item.d.ts +0 -20
  243. package/scb-components/scb-nav/scb-nav.d.ts +0 -72
  244. package/scb-components/scb-notification-card/scb-notification-card.d.ts +0 -56
  245. package/scb-components/scb-overlay/scb-overlay.d.ts +0 -24
  246. package/scb-components/scb-pagination/scb-pagination.d.ts +0 -47
  247. package/scb-components/scb-progress-indicator/scb-progress-indicator.d.ts +0 -32
  248. package/scb-components/scb-progress-stepper/scb-progress-step.d.ts +0 -29
  249. package/scb-components/scb-progress-stepper/scb-progress-stepper.d.ts +0 -29
  250. package/scb-components/scb-radio-button/scb-radio-button.d.ts +0 -24
  251. package/scb-components/scb-radio-button/scb-radio-group.d.ts +0 -54
  252. package/scb-components/scb-scrollspy/scb-scrollspy.d.ts +0 -217
  253. package/scb-components/scb-search/scb-search.d.ts +0 -116
  254. package/scb-components/scb-select/scb-select-option.d.ts +0 -20
  255. package/scb-components/scb-select/scb-select.d.ts +0 -95
  256. package/scb-components/scb-skeleton/scb-skeleton.d.ts +0 -36
  257. package/scb-components/scb-slider/scb-slider.d.ts +0 -64
  258. package/scb-components/scb-snackbar/scb-snackbar.d.ts +0 -28
  259. package/scb-components/scb-social-card/scb-social-card.d.ts +0 -2
  260. package/scb-components/scb-status-pill/scb-status-pill.d.ts +0 -23
  261. package/scb-components/scb-stepper/scb-step.d.ts +0 -31
  262. package/scb-components/scb-stepper/scb-stepper.d.ts +0 -50
  263. package/scb-components/scb-switch/scb-switch.d.ts +0 -65
  264. package/scb-components/scb-table/scb-table.d.ts +0 -41
  265. package/scb-components/scb-table-advanced/scb-table-advanced.d.ts +0 -58
  266. package/scb-components/scb-table-next/read-table.d.ts +0 -29
  267. package/scb-components/scb-table-next/scb-table-next.d.ts +0 -22
  268. package/scb-components/scb-textfield/scb-textfield.d.ts +0 -107
  269. package/scb-components/scb-toc/scb-toc-item.d.ts +0 -44
  270. package/scb-components/scb-toc/scb-toc.d.ts +0 -30
  271. package/scb-components/scb-tooltip/scb-tooltip.d.ts +0 -72
  272. package/scb-components/scb-tour/scb-tour-step.d.ts +0 -13
  273. package/scb-components/scb-tour/scb-tour.d.ts +0 -57
  274. package/scb-components/scb-viz/scb-viz-actions-runtime.d.ts +0 -26
  275. package/scb-components/scb-viz/scb-viz-print-runtime.d.ts +0 -36
  276. package/scb-components/scb-viz/scb-viz-series-differentiation-registry.d.ts +0 -21
  277. package/scb-components/scb-viz/scb-viz-series-differentiation-runtime.d.ts +0 -42
  278. package/scb-components/scb-viz/scb-viz-table-runtime.d.ts +0 -31
  279. package/scb-components/scb-viz/scb-viz.d.ts +0 -249
  280. package/scb-components/shared/component-size-token.d.ts +0 -1
  281. package/scb-components/shared/lazy-focus-ring.d.ts +0 -4
  282. package/scb-components/shared/lazy-ripple.d.ts +0 -9
  283. package/scb-components/shared/manual-popover.d.ts +0 -7
  284. package/scb-components/shared/scb-icon-svg.d.ts +0 -3
  285. package/scb-container-card/scb-container-card.js +0 -1
  286. package/scb-cookies-consent/scb-cookies-consent.js +0 -257
  287. package/scb-datepicker/scb-datepicker.js +0 -670
  288. package/scb-dialog/scb-dialog.js +0 -970
  289. package/scb-drawer/scb-drawer.js +0 -394
  290. package/scb-drop-zone/scb-drop-zone.js +0 -1259
  291. package/scb-dropdown/scb-dropdown.js +0 -840
  292. package/scb-fact-card/scb-fact-card-content.js +0 -236
  293. package/scb-fact-card/scb-fact-card.js +0 -441
  294. package/scb-footer/scb-footer-section.js +0 -23
  295. package/scb-footer/scb-footer.js +0 -402
  296. package/scb-form-error-summary/scb-form-error-summary.js +0 -179
  297. package/scb-gallery-grid/scb-gallery-grid.js +0 -312
  298. package/scb-grid/scb-grid-item.js +0 -107
  299. package/scb-grid/scb-grid.js +0 -206
  300. package/scb-grid/scb-stack.js +0 -134
  301. package/scb-header/scb-header-drawer.internal.js +0 -80
  302. package/scb-header/scb-header-menu-group.js +0 -21
  303. package/scb-header/scb-header-menu-item.js +0 -28
  304. package/scb-header/scb-header-tab.js +0 -31
  305. package/scb-header/scb-header-utility.js +0 -36
  306. package/scb-header/scb-header.js +0 -2541
  307. package/scb-horizontal-scroller/scb-horizontal-scroller.js +0 -494
  308. package/scb-icon/scb-icon.js +0 -108
  309. package/scb-keyfigure-card/scb-keyfigure-card.js +0 -599
  310. package/scb-link-card/scb-link-card.js +0 -1
  311. package/scb-list/scb-list-item.js +0 -650
  312. package/scb-list/scb-list.js +0 -162
  313. package/scb-list-card/scb-list-card.js +0 -1
  314. package/scb-menu/scb-menu-item.js +0 -497
  315. package/scb-menu/scb-menu-section.js +0 -77
  316. package/scb-menu/scb-menu.js +0 -313
  317. package/scb-menu/scb-sub-menu.js +0 -36
  318. package/scb-nav/scb-nav-item.js +0 -96
  319. package/scb-nav/scb-nav.js +0 -551
  320. package/scb-notification-card/scb-notification-card.js +0 -675
  321. package/scb-overlay/scb-overlay.js +0 -229
  322. package/scb-pagination/scb-pagination.js +0 -549
  323. package/scb-progress-indicator/scb-progress-indicator.js +0 -224
  324. package/scb-progress-stepper/scb-progress-step.js +0 -256
  325. package/scb-progress-stepper/scb-progress-stepper.js +0 -166
  326. package/scb-radio-button/scb-radio-button.js +0 -276
  327. package/scb-radio-button/scb-radio-group.js +0 -287
  328. package/scb-scrollspy/scb-scrollspy.js +0 -683
  329. package/scb-search/scb-search.js +0 -1075
  330. package/scb-select/scb-select-option.js +0 -245
  331. package/scb-select/scb-select.js +0 -1150
  332. package/scb-skeleton/scb-skeleton.js +0 -133
  333. package/scb-slider/scb-slider.js +0 -278
  334. package/scb-snackbar/scb-snackbar.js +0 -316
  335. package/scb-social-card/scb-social-card.js +0 -1
  336. package/scb-status-pill/scb-status-pill.js +0 -132
  337. package/scb-stepper/scb-step.js +0 -529
  338. package/scb-stepper/scb-stepper.js +0 -558
  339. package/scb-switch/scb-switch.js +0 -338
  340. package/scb-table/scb-table.js +0 -339
  341. package/scb-table-advanced/scb-table-advanced.js +0 -474
  342. package/scb-table-next/read-table.js +0 -87
  343. package/scb-table-next/scb-table-next.js +0 -226
  344. package/scb-textfield/scb-textfield.js +0 -1158
  345. package/scb-toc/scb-toc-item.js +0 -477
  346. package/scb-toc/scb-toc.js +0 -116
  347. package/scb-tooltip/scb-tooltip.js +0 -518
  348. package/scb-tour/scb-tour-step.js +0 -27
  349. package/scb-tour/scb-tour.js +0 -368
  350. package/scb-viz/scb-viz-actions-runtime.js +0 -144
  351. package/scb-viz/scb-viz-print-runtime.js +0 -173
  352. package/scb-viz/scb-viz-series-differentiation-registry.js +0 -117
  353. package/scb-viz/scb-viz-series-differentiation-runtime.js +0 -126
  354. package/scb-viz/scb-viz-table-runtime.js +0 -154
  355. package/scb-viz/scb-viz.js +0 -1966
  356. package/shared/component-size-token.js +0 -7
  357. package/shared/scb-icon-svg.js +0 -36
  358. package/starters/html/README.md +0 -24
  359. package/starters/html/dot-gitignore +0 -2
  360. package/starters/html/index.html +0 -12
  361. package/starters/html/main.js +0 -96
  362. package/starters/html/package.json +0 -16
  363. package/starters/html-service/README.md +0 -25
  364. package/starters/html-service/dot-gitignore +0 -2
  365. package/starters/html-service/index.html +0 -12
  366. package/starters/html-service/main.js +0 -79
  367. package/starters/html-service/package.json +0 -16
  368. package/starters/react/README.md +0 -24
  369. package/starters/react/dot-gitignore +0 -2
  370. package/starters/react/index.html +0 -12
  371. package/starters/react/package.json +0 -19
  372. package/starters/react/src/App.jsx +0 -85
  373. package/starters/react/src/main.jsx +0 -23
  374. package/starters/react/vite.config.js +0 -6
  375. package/starters/react-service/README.md +0 -25
  376. package/starters/react-service/dot-gitignore +0 -2
  377. package/starters/react-service/index.html +0 -12
  378. package/starters/react-service/package.json +0 -19
  379. package/starters/react-service/src/App.jsx +0 -67
  380. package/starters/react-service/src/main.jsx +0 -23
  381. package/starters/react-service/vite.config.js +0 -6
  382. package/tokens/generated/runtime-colors.js +0 -12
@@ -1,2 +1,2 @@
1
- import{t as l}from"./rolldown-runtime.js";import{h as d,m as c,s as f,v as h,y as m}from"./vendor.js";import"./vendor-lit.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(i,s,a){try{customElements.get(i)||r(i,s,a)}catch(o){var n=String(o||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw o}}}}catch{}})();var u=class extends d{render(){return h`<slot></slot>`}connectedCallback(){if(super.connectedCallback(),this.getAttribute("aria-hidden")==="false"){this.removeAttribute("aria-hidden");return}this.setAttribute("aria-hidden","true")}},p=m`:host{font-size:var(--md-icon-size, 24px);width:var(--md-icon-size, 24px);height:var(--md-icon-size, 24px);color:inherit;font-variation-settings:inherit;font-weight:400;font-family:var(--md-icon-font, Material Symbols Outlined);display:inline-flex;font-style:normal;place-items:center;place-content:center;line-height:1;overflow:hidden;letter-spacing:normal;text-transform:none;user-select:none;white-space:nowrap;word-wrap:normal;flex-shrink:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}::slotted(svg){fill:currentColor}::slotted(*){height:100%;width:100%}
2
- `,x=l({MdIcon:()=>e}),e=class extends u{};e.styles=[p];e=f([c("md-icon")],e);export{x as t};
1
+ import{f as l,l as d,n as c,p as f,u as h}from"./vendor.js";import"./vendor-lit.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(t,s,a){try{customElements.get(t)||r(t,s,a)}catch(o){var n=String(o||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw o}}}}catch{}})();var m=class extends h{render(){return l`<slot></slot>`}connectedCallback(){if(super.connectedCallback(),this.getAttribute("aria-hidden")==="false"){this.removeAttribute("aria-hidden");return}this.setAttribute("aria-hidden","true")}},u=f`:host{font-size:var(--md-icon-size, 24px);width:var(--md-icon-size, 24px);height:var(--md-icon-size, 24px);color:inherit;font-variation-settings:inherit;font-weight:400;font-family:var(--md-icon-font, Material Symbols Outlined);display:inline-flex;font-style:normal;place-items:center;place-content:center;line-height:1;overflow:hidden;letter-spacing:normal;text-transform:none;user-select:none;white-space:nowrap;word-wrap:normal;flex-shrink:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}::slotted(svg){fill:currentColor}::slotted(*){height:100%;width:100%}
2
+ `,i=class extends m{};i.styles=[u];i=c([d("md-icon")],i);
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./md-focus-ring.js","./rolldown-runtime.js","./vendor.js","./vendor-lit.js","./attachable-controller.js"])))=>i.map(i=>d[i]);
2
+ import{t as f}from"./rolldown-runtime.js";import{t as _}from"./preload-helper.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var n=customElements.define.bind(customElements);customElements.define=function(s,t,d){try{customElements.get(s)||n(s,t,d)}catch(i){var r=String(i||"");if(r.indexOf("already been used")===-1&&r.indexOf("NotSupportedError")===-1)throw i}}}}catch{}})();var v=f({addLazyFocusRingListeners:()=>l,ensureFocusRingOnFocusVisible:()=>c,ensureFocusRingOnTab:()=>u,ensureFocusRingReady:()=>o}),a,o=()=>{customElements.get("md-focus-ring")||(a??(a=_(()=>import("./md-focus-ring.js").then(e=>e.t).then(()=>{}),__vite__mapDeps([0,1,2,3,4]),import.meta.url)))},c=e=>{const n=e.composedPath()[0];n instanceof HTMLElement&&n.matches(":focus-visible")&&o()},u=e=>{e.key==="Tab"&&o()},l=(...e)=>{const n=c,s=u;for(const t of e)t.addEventListener("focusin",n),t.addEventListener("keydown",s);return()=>{for(const t of e)t.removeEventListener("focusin",n),t.removeEventListener("keydown",s)}};export{v as n,c as t};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ripple.js","./rolldown-runtime.js","./vendor.js","./vendor-lit.js","./attachable-controller.js"])))=>i.map(i=>d[i]);
2
+ import{t as f}from"./preload-helper.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(t,n,d){try{customElements.get(t)||r(t,n,d)}catch(a){var o=String(a||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw a}}}}catch{}})();var i,_=()=>(i??(i=f(()=>import("./ripple.js").then(e=>e.t).then(()=>{}),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),i),l=async(e,r,t,n=!1)=>{!e||!r||(e.control=r,r.matches(":hover")&&(e.hovered=!0),t?.type==="pointerenter"?e.handlePointerenter?.(t):t?.type==="pointerdown"&&await e.handlePointerdown?.(t),n&&e.handleClick?.())};export{_ as ensureRippleReady,l as syncRippleToControl};
@@ -1,2 +1,2 @@
1
- import{t as f}from"./rolldown-runtime.js";import{h,m,p as c,s,y as p}from"./vendor.js";import"./vendor-lit.js";import{t as v}from"./attachable-controller.js";(function(){try{var r=typeof globalThis<"u"?globalThis:window;if(!r.__scb_ce_guard_installed__){r.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(t,l,u){try{customElements.get(t)||e(t,l,u)}catch(n){var i=String(n||"");if(i.indexOf("already been used")===-1&&i.indexOf("NotSupportedError")===-1)throw n}}}}catch{}})();var g=["focusin","focusout","pointerdown"],o=class extends h{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new v(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(r){this.attachableController.htmlFor=r}get control(){return this.attachableController.control}set control(r){this.attachableController.control=r}attach(r){this.attachableController.attach(r)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}handleEvent(r){if(!r[d]){switch(r.type){default:return;case"focusin":this.visible=this.control?.matches(":focus-visible")??!1;break;case"focusout":case"pointerdown":this.visible=!1;break}r[d]=!0}}onControlChange(r,e){for(const t of g)r?.removeEventListener(t,this),e?.addEventListener(t,this)}update(r){r.has("visible")&&this.dispatchEvent(new Event("visibility-changed")),super.update(r)}};s([c({type:Boolean,reflect:!0})],o.prototype,"visible",void 0);s([c({type:Boolean,reflect:!0})],o.prototype,"inward",void 0);var d=Symbol("handledByFocusRing"),b=p`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}
2
- `,C=f({MdFocusRing:()=>a}),a=class extends o{};a.styles=[b];a=s([m("md-focus-ring")],a);export{C as t};
1
+ import{t as f}from"./rolldown-runtime.js";import{c,l as h,n as s,p as m,u as p}from"./vendor.js";import"./vendor-lit.js";import{t as v}from"./attachable-controller.js";(function(){try{var r=typeof globalThis<"u"?globalThis:window;if(!r.__scb_ce_guard_installed__){r.__scb_ce_guard_installed__=!0;var a=customElements.define.bind(customElements);customElements.define=function(t,l,u){try{customElements.get(t)||a(t,l,u)}catch(i){var n=String(i||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw i}}}}catch{}})();var g=["focusin","focusout","pointerdown"],o=class extends p{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new v(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(r){this.attachableController.htmlFor=r}get control(){return this.attachableController.control}set control(r){this.attachableController.control=r}attach(r){this.attachableController.attach(r)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}handleEvent(r){if(!r[d]){switch(r.type){default:return;case"focusin":this.visible=this.control?.matches(":focus-visible")??!1;break;case"focusout":case"pointerdown":this.visible=!1}r[d]=!0}}onControlChange(r,a){for(const t of g)r?.removeEventListener(t,this),a?.addEventListener(t,this)}update(r){r.has("visible")&&this.dispatchEvent(new Event("visibility-changed")),super.update(r)}};s([c({type:Boolean,reflect:!0})],o.prototype,"visible",void 0);s([c({type:Boolean,reflect:!0})],o.prototype,"inward",void 0);var d=Symbol("handledByFocusRing"),b=m`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}
2
+ `,C=f({}),e=class extends o{};e.styles=[b];e=s([h("md-focus-ring")],e);export{C as t};
@@ -1 +1 @@
1
- (function(){try{var i=typeof globalThis<"u"?globalThis:window;if(!i.__scb_ce_guard_installed__){i.__scb_ce_guard_installed__=!0;var l=customElements.define.bind(customElements);customElements.define=function(o,d,u){try{customElements.get(o)||l(o,d,u)}catch(r){var a=String(r||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw r}}}}catch{}})();var p="modulepreload",E=function(i,l){return new URL(i,l).href},h={},w=function(l,o,d){let u=Promise.resolve();if(o&&o.length>0){let v=function(e){return Promise.all(e.map(s=>Promise.resolve(s).then(t=>({status:"fulfilled",value:t}),t=>({status:"rejected",reason:t}))))},_=function(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href};const r=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),m=n?.nonce||n?.getAttribute("nonce");u=v(o.map(e=>{if(e=E(e,d),e=_(e),e in h)return;h[e]=!0;const s=e.endsWith(".css");for(let c=r.length-1;c>=0;c--){const f=r[c];if(f.href===e&&(!s||f.rel==="stylesheet"))return}const t=document.createElement("link");if(t.rel=s?"stylesheet":p,s||(t.as="script"),t.crossOrigin="",t.href=e,m&&t.setAttribute("nonce",m),document.head.appendChild(t),s)return new Promise((c,f)=>{t.addEventListener("load",c),t.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${e}`)))})}))}function a(r){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=r,window.dispatchEvent(n),!n.defaultPrevented)throw r}return u.then(r=>{for(const n of r||[])n.status==="rejected"&&a(n.reason);return l().catch(a)})};export{w as t};
1
+ (function(){try{var c=typeof globalThis<"u"?globalThis:window;if(!c.__scb_ce_guard_installed__){c.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(r,u,f){try{customElements.get(r)||t(r,u,f)}catch(e){var a=String(e||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw e}}}}catch{}})();var L="modulepreload",P=function(c,t){return new URL(c,t).href},g={},h={},C=function(t){return t.pathname.endsWith(".css")},S=function(t,r,u){if(r in t)return t[r];const f=u();if(!f){t[r]=void 0;return}const a=f.then(()=>{t[r]=void 0},e=>{throw delete t[r],e});return t[r]=a,a},k=function(t,r,u){let f=Promise.resolve();if(r&&r.length>0){let w=function(o){return Promise.all(o.map(s=>Promise.resolve(s).then(i=>({status:"fulfilled",value:i}),i=>({status:"rejected",reason:i}))))},y=function(o){return import.meta.resolve?new URL(import.meta.resolve(o)):new URL(o,import.meta.url)},e;const l=document.querySelector("meta[property=csp-nonce]"),_=l?.nonce||l?.getAttribute("nonce");f=w(r.map(o=>{o=P(o,u);const s=y(o),i=C(s);return S(g,s.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};const v=document.getElementsByTagName("link");for(let m=v.length-1;m>=0;m--){const d=v[m];e.all.add(d.href),d.rel==="stylesheet"&&e.styles.add(d.href)}}const b=i?e.styles:e.all,p=i?h[s.href]:void 0;if(!p&&b.has(s.href))return;const n=document.createElement("link");if(n.rel=i?"stylesheet":L,i||(n.as="script"),n.crossOrigin="",n.href=s.href,_&&n.setAttribute("nonce",_),p&&delete h[s.href],p?.isConnected?p.replaceWith(n):document.head.appendChild(n),i)return new Promise((v,m)=>{const d=E=>{n.removeEventListener("load",d),n.removeEventListener("error",d),E.type==="error"?(h[s.href]=n,m(new Error(`Unable to preload CSS for ${s}`))):v(E)};n.addEventListener("load",d),n.addEventListener("error",d)})})}).filter(o=>o!==void 0))}function a(e){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=e,window.dispatchEvent(l),!l.defaultPrevented)throw e}return f.then(e=>{for(const l of e||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};export{k as t};
@@ -1,2 +1,2 @@
1
- import{t as m}from"./rolldown-runtime.js";import{d as E,f as p,h as A,m as b,o as C,p as v,s as o,v as _,y as I}from"./vendor.js";import"./vendor-lit.js";import{t as T}from"./attachable-controller.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(i,n,r){try{customElements.get(i)||e(i,n,r)}catch(h){var a=String(h||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw h}}}}catch{}})();var S={STANDARD:"cubic-bezier(0.2, 0, 0, 1)",STANDARD_ACCELERATE:"cubic-bezier(.3,0,1,1)",STANDARD_DECELERATE:"cubic-bezier(0,0,0,1)",EMPHASIZED:"cubic-bezier(.3,0,0,1)",EMPHASIZED_ACCELERATE:"cubic-bezier(.3,0,.8,.15)",EMPHASIZED_DECELERATE:"cubic-bezier(.05,.7,.1,1)"},R=450,d=225,g=.2,y=10,P=75,x=.35,N="::after",D="forwards",s;(function(t){t[t.INACTIVE=0]="INACTIVE",t[t.TOUCH_DELAY=1]="TOUCH_DELAY",t[t.HOLDING=2]="HOLDING",t[t.WAITING_FOR_CLICK=3]="WAITING_FOR_CLICK"})(s||(s={}));var O=["click","contextmenu","pointercancel","pointerdown","pointerenter","pointerleave","pointerup"],w=150,L=window.matchMedia("(forced-colors: active)"),l=class extends A{constructor(){super(...arguments),this.disabled=!1,this.hovered=!1,this.pressed=!1,this.rippleSize="",this.rippleScale="",this.initialSize=0,this.state=s.INACTIVE,this.checkBoundsAfterContextMenu=!1,this.attachableController=new T(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(t){this.attachableController.htmlFor=t}get control(){return this.attachableController.control}set control(t){this.attachableController.control=t}attach(t){this.attachableController.attach(t)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}render(){return _`<div class="surface ${C({hovered:this.hovered,pressed:this.pressed})}"></div>`}update(t){t.has("disabled")&&this.disabled&&(this.hovered=!1,this.pressed=!1),super.update(t)}handlePointerenter(t){this.shouldReactToEvent(t)&&(this.hovered=!0)}handlePointerleave(t){this.shouldReactToEvent(t)&&(this.hovered=!1,this.state!==s.INACTIVE&&this.endPressAnimation())}handlePointerup(t){if(this.shouldReactToEvent(t)){if(this.state===s.HOLDING){this.state=s.WAITING_FOR_CLICK;return}if(this.state===s.TOUCH_DELAY){this.state=s.WAITING_FOR_CLICK,this.startPressAnimation(this.rippleStartEvent);return}}}async handlePointerdown(t){if(this.shouldReactToEvent(t)){if(this.rippleStartEvent=t,!this.isTouch(t)){this.state=s.WAITING_FOR_CLICK,this.startPressAnimation(t);return}this.checkBoundsAfterContextMenu&&!this.inBounds(t)||(this.checkBoundsAfterContextMenu=!1,this.state=s.TOUCH_DELAY,await new Promise(e=>{setTimeout(e,w)}),this.state===s.TOUCH_DELAY&&(this.state=s.HOLDING,this.startPressAnimation(t)))}}handleClick(){if(!this.disabled){if(this.state===s.WAITING_FOR_CLICK){this.endPressAnimation();return}this.state===s.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation())}}handlePointercancel(t){this.shouldReactToEvent(t)&&this.endPressAnimation()}handleContextmenu(){this.disabled||(this.checkBoundsAfterContextMenu=!0,this.endPressAnimation())}determineRippleSize(){const{height:t,width:e}=this.getBoundingClientRect(),i=Math.max(t,e),n=Math.max(x*i,P),r=Math.floor(i*g),a=Math.sqrt(e**2+t**2)+y;this.initialSize=r,this.rippleScale=`${(a+n)/r}`,this.rippleSize=`${r}px`}getNormalizedPointerEventCoords(t){const{scrollX:e,scrollY:i}=window,{left:n,top:r}=this.getBoundingClientRect(),a=e+n,h=i+r,{pageX:u,pageY:f}=t;return{x:u-a,y:f-h}}getTranslationCoordinates(t){const{height:e,width:i}=this.getBoundingClientRect(),n={x:(i-this.initialSize)/2,y:(e-this.initialSize)/2};let r;return t instanceof PointerEvent?r=this.getNormalizedPointerEventCoords(t):r={x:i/2,y:e/2},r={x:r.x-this.initialSize/2,y:r.y-this.initialSize/2},{startPoint:r,endPoint:n}}startPressAnimation(t){if(!this.mdRoot)return;this.pressed=!0,this.growAnimation?.cancel(),this.determineRippleSize();const{startPoint:e,endPoint:i}=this.getTranslationCoordinates(t),n=`${e.x}px, ${e.y}px`,r=`${i.x}px, ${i.y}px`;this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:[`translate(${n}) scale(1)`,`translate(${r}) scale(${this.rippleScale})`]},{pseudoElement:N,duration:R,easing:S.STANDARD,fill:D})}async endPressAnimation(){this.rippleStartEvent=void 0,this.state=s.INACTIVE;const t=this.growAnimation;let e=1/0;if(typeof t?.currentTime=="number"?e=t.currentTime:t?.currentTime&&(e=t.currentTime.to("ms").value),e>=d){this.pressed=!1;return}await new Promise(i=>{setTimeout(i,d-e)}),this.growAnimation===t&&(this.pressed=!1)}shouldReactToEvent(t){if(this.disabled||!t.isPrimary||this.rippleStartEvent&&this.rippleStartEvent.pointerId!==t.pointerId)return!1;if(t.type==="pointerenter"||t.type==="pointerleave")return!this.isTouch(t);const e=t.buttons===1;return this.isTouch(t)||e}inBounds({x:t,y:e}){const{top:i,left:n,bottom:r,right:a}=this.getBoundingClientRect();return t>=n&&t<=a&&e>=i&&e<=r}isTouch({pointerType:t}){return t==="touch"}async handleEvent(t){if(!L?.matches)switch(t.type){case"click":this.handleClick();break;case"contextmenu":this.handleContextmenu();break;case"pointercancel":this.handlePointercancel(t);break;case"pointerdown":await this.handlePointerdown(t);break;case"pointerenter":this.handlePointerenter(t);break;case"pointerleave":this.handlePointerleave(t);break;case"pointerup":this.handlePointerup(t);break;default:break}}onControlChange(t,e){for(const i of O)t?.removeEventListener(i,this),e?.addEventListener(i,this)}};o([v({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0);o([p()],l.prototype,"hovered",void 0);o([p()],l.prototype,"pressed",void 0);o([E(".surface")],l.prototype,"mdRoot",void 0);var M=I`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}
2
- `,H=m({MdRipple:()=>c}),c=class extends l{};c.styles=[M];c=o([b("md-ripple")],c);export{S as n,H as t};
1
+ import{t as m}from"./rolldown-runtime.js";import{c as E,f as A,l as C,n as o,o as b,p as v,s as p,t as _,u as I}from"./vendor.js";import"./vendor-lit.js";import{t as T}from"./attachable-controller.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(i,n,r){try{customElements.get(i)||e(i,n,r)}catch(h){var a=String(h||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw h}}}}catch{}})();var S={STANDARD:"cubic-bezier(0.2, 0, 0, 1)",STANDARD_ACCELERATE:"cubic-bezier(.3,0,1,1)",STANDARD_DECELERATE:"cubic-bezier(0,0,0,1)",EMPHASIZED:"cubic-bezier(.3,0,0,1)",EMPHASIZED_ACCELERATE:"cubic-bezier(.3,0,.8,.15)",EMPHASIZED_DECELERATE:"cubic-bezier(.05,.7,.1,1)"},g=450,d=225,R=.2,y=10,P=75,x=.35,N="::after",D="forwards",s;(function(t){t[t.INACTIVE=0]="INACTIVE",t[t.TOUCH_DELAY=1]="TOUCH_DELAY",t[t.HOLDING=2]="HOLDING",t[t.WAITING_FOR_CLICK=3]="WAITING_FOR_CLICK"})(s||(s={}));var O=["click","contextmenu","pointercancel","pointerdown","pointerenter","pointerleave","pointerup"],w=150,L=window.matchMedia("(forced-colors: active)"),l=class extends I{constructor(){super(...arguments),this.disabled=!1,this.hovered=!1,this.pressed=!1,this.rippleSize="",this.rippleScale="",this.initialSize=0,this.state=s.INACTIVE,this.checkBoundsAfterContextMenu=!1,this.attachableController=new T(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(t){this.attachableController.htmlFor=t}get control(){return this.attachableController.control}set control(t){this.attachableController.control=t}attach(t){this.attachableController.attach(t)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}render(){const t={hovered:this.hovered,pressed:this.pressed};return A`<div class="surface ${_(t)}"></div>`}update(t){t.has("disabled")&&this.disabled&&(this.hovered=!1,this.pressed=!1),super.update(t)}handlePointerenter(t){this.shouldReactToEvent(t)&&(this.hovered=!0)}handlePointerleave(t){this.shouldReactToEvent(t)&&(this.hovered=!1,this.state!==s.INACTIVE&&this.endPressAnimation())}handlePointerup(t){if(this.shouldReactToEvent(t)){if(this.state===s.HOLDING){this.state=s.WAITING_FOR_CLICK;return}if(this.state===s.TOUCH_DELAY){this.state=s.WAITING_FOR_CLICK,this.startPressAnimation(this.rippleStartEvent);return}}}async handlePointerdown(t){if(this.shouldReactToEvent(t)){if(this.rippleStartEvent=t,!this.isTouch(t)){this.state=s.WAITING_FOR_CLICK,this.startPressAnimation(t);return}this.checkBoundsAfterContextMenu&&!this.inBounds(t)||(this.checkBoundsAfterContextMenu=!1,this.state=s.TOUCH_DELAY,await new Promise(e=>{setTimeout(e,w)}),this.state===s.TOUCH_DELAY&&(this.state=s.HOLDING,this.startPressAnimation(t)))}}handleClick(){if(!this.disabled){if(this.state===s.WAITING_FOR_CLICK){this.endPressAnimation();return}this.state===s.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation())}}handlePointercancel(t){this.shouldReactToEvent(t)&&this.endPressAnimation()}handleContextmenu(){this.disabled||(this.checkBoundsAfterContextMenu=!0,this.endPressAnimation())}determineRippleSize(){const{height:t,width:e}=this.getBoundingClientRect(),i=Math.max(t,e),n=Math.max(x*i,P),r=Math.floor(i*R),a=Math.sqrt(e**2+t**2)+y;this.initialSize=r,this.rippleScale=`${(a+n)/r}`,this.rippleSize=`${r}px`}getNormalizedPointerEventCoords(t){const{scrollX:e,scrollY:i}=window,{left:n,top:r}=this.getBoundingClientRect(),a=e+n,h=i+r,{pageX:u,pageY:f}=t;return{x:u-a,y:f-h}}getTranslationCoordinates(t){const{height:e,width:i}=this.getBoundingClientRect(),n={x:(i-this.initialSize)/2,y:(e-this.initialSize)/2};let r;return t instanceof PointerEvent?r=this.getNormalizedPointerEventCoords(t):r={x:i/2,y:e/2},r={x:r.x-this.initialSize/2,y:r.y-this.initialSize/2},{startPoint:r,endPoint:n}}startPressAnimation(t){if(!this.mdRoot)return;this.pressed=!0,this.growAnimation?.cancel(),this.determineRippleSize();const{startPoint:e,endPoint:i}=this.getTranslationCoordinates(t),n=`${e.x}px, ${e.y}px`,r=`${i.x}px, ${i.y}px`;this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:[`translate(${n}) scale(1)`,`translate(${r}) scale(${this.rippleScale})`]},{pseudoElement:N,duration:g,easing:S.STANDARD,fill:D})}async endPressAnimation(){this.rippleStartEvent=void 0,this.state=s.INACTIVE;const t=this.growAnimation;let e=1/0;if(typeof t?.currentTime=="number"?e=t.currentTime:t?.currentTime&&(e=t.currentTime.to("ms").value),e>=d){this.pressed=!1;return}await new Promise(i=>{setTimeout(i,d-e)}),this.growAnimation===t&&(this.pressed=!1)}shouldReactToEvent(t){if(this.disabled||!t.isPrimary||this.rippleStartEvent&&this.rippleStartEvent.pointerId!==t.pointerId)return!1;if(t.type==="pointerenter"||t.type==="pointerleave")return!this.isTouch(t);const e=t.buttons===1;return this.isTouch(t)||e}inBounds({x:t,y:e}){const{top:i,left:n,bottom:r,right:a}=this.getBoundingClientRect();return t>=n&&t<=a&&e>=i&&e<=r}isTouch({pointerType:t}){return t==="touch"}async handleEvent(t){if(!L?.matches)switch(t.type){case"click":this.handleClick();break;case"contextmenu":this.handleContextmenu();break;case"pointercancel":this.handlePointercancel(t);break;case"pointerdown":await this.handlePointerdown(t);break;case"pointerenter":this.handlePointerenter(t);break;case"pointerleave":this.handlePointerleave(t);break;case"pointerup":this.handlePointerup(t)}}onControlChange(t,e){for(const i of O)t?.removeEventListener(i,this),e?.addEventListener(i,this)}};o([E({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0);o([p()],l.prototype,"hovered",void 0);o([p()],l.prototype,"pressed",void 0);o([b(".surface")],l.prototype,"mdRoot",void 0);var z=v`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}
2
+ `,H=m({}),c=class extends l{};c.styles=[z];c=o([C("md-ripple")],c);export{S as n,H as t};
@@ -1 +1 @@
1
- (function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var n=customElements.define.bind(customElements);customElements.define=function(e,r,a){try{customElements.get(e)||n(e,r,a)}catch(i){var o=String(i||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw i}}}}catch{}})();var _=Object.defineProperty,d=(t,n)=>{let e={};for(var r in t)_(e,r,{get:t[r],enumerable:!0});return n||_(e,Symbol.toStringTag,{value:"Module"}),e};export{d as t};
1
+ (function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(e,n,_){try{customElements.get(e)||r(e,n,_)}catch(i){var o=String(i||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw i}}}}catch{}})();var l=Object.defineProperty,d=(t,r)=>{let e=Object.setPrototypeOf({},null);for(var n in t)l(e,n,{get:t[n],enumerable:!0});return r&1||l(e,Symbol.toStringTag,{value:"Module"}),r&2?e:Object.preventExtensions(e)};export{d as t};
@@ -1,4 +1,5 @@
1
- import{c as m,d as y,f as _,g as p,h as g,l as b,o as x,p as n,s as i,v as f,y as w}from"./vendor.js";import"./vendor-lit.js";import{n as I}from"./ripple.js";import"./md-focus-ring.js";import{t as C}from"./focusable.js";import"./elevation.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(o,c,l){try{customElements.get(o)||e(o,c,l)}catch(s){var d=String(s||"");if(d.indexOf("already been used")===-1&&d.indexOf("NotSupportedError")===-1)throw s}}}}catch{}})();var u,r=Symbol("indicator"),E=Symbol("animateIndicator"),T=C(g),a=class extends T{get selected(){return this.active}set selected(t){this.active=t}constructor(){super(),this.isTab=!0,this.active=!1,this.hasIcon=!1,this.iconOnly=!1,this.fullWidthIndicator=!1,this.internals=this.attachInternals(),this.internals.role="tab",this.addEventListener("keydown",this.handleKeydown.bind(this))}render(){const t=f`<div class="indicator"></div>`;return f`<div
1
+ import{a as C,c as d,d as x,f as _,i as E,l as T,n as i,o as k,p as g,s as S,t as N,u as w}from"./vendor.js";import"./vendor-lit.js";import{n as $}from"./ripple.js";import"./md-focus-ring.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var o=customElements.define.bind(customElements);customElements.define=function(a,s,n){try{customElements.get(a)||o(a,s,n)}catch(e){var h=String(e||"");if(h.indexOf("already been used")===-1&&h.indexOf("NotSupportedError")===-1)throw e}}}}catch{}})();var z=class extends w{connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}render(){return _`<span class="shadow"></span>`}},O=g`:host,.shadow,.shadow::before,.shadow::after{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::before,.shadow::after{content:"";transition-property:box-shadow,opacity;--_level: var(--md-elevation-level, 0);--_shadow-color: var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}
2
+ `,y=class extends z{};y.styles=[O];y=i([T("md-elevation")],y);var p=Symbol("isFocusable"),m=Symbol("privateIsFocusable"),u=Symbol("externalTabIndex"),b=Symbol("isUpdatingTabIndex"),f=Symbol("updateTabIndex");function A(t){var o,a,s;class n extends t{constructor(){super(...arguments),this[o]=!0,this[a]=null,this[s]=!1}get[p](){return this[m]}set[p](e){this[p]!==e&&(this[m]=e,this[f]())}connectedCallback(){super.connectedCallback(),this[f]()}attributeChangedCallback(e,l,v){if(e!=="tabindex"){super.attributeChangedCallback(e,l,v);return}if(this.requestUpdate("tabIndex",Number(l??-1)),!this[b]){if(!this.hasAttribute("tabindex")){this[u]=null,this[f]();return}this[u]=this.tabIndex}}[(o=m,a=u,s=b,f)](){const e=this[p]?0:-1,l=this[u]??e;this[b]=!0,this.tabIndex=l,this[b]=!1}}return i([d({noAccessor:!0})],n.prototype,"tabIndex",void 0),n}var I,c=Symbol("indicator"),B=Symbol("animateIndicator"),D=A(w),r=class extends D{get selected(){return this.active}set selected(t){this.active=t}constructor(){super(),this.isTab=!0,this.active=!1,this.hasIcon=!1,this.iconOnly=!1,this.fullWidthIndicator=!1,this.internals=this.attachInternals(),this.internals.role="tab",this.addEventListener("keydown",this.handleKeydown.bind(this))}render(){const t=_`<div class="indicator"></div>`;return _`<div
2
3
  class="button"
3
4
  role="presentation"
4
5
  @click=${this.handleContentClick}>
@@ -6,12 +7,12 @@ import{c as m,d as y,f as _,g as p,h as g,l as b,o as x,p as n,s as i,v as f,y a
6
7
  <md-elevation part="elevation"></md-elevation>
7
8
  <md-ripple .control=${this}></md-ripple>
8
9
  <div
9
- class="content ${x(this.getContentClasses())}"
10
+ class="content ${N(this.getContentClasses())}"
10
11
  role="presentation">
11
12
  <slot name="icon" @slotchange=${this.handleIconSlotChange}></slot>
12
13
  <slot @slotchange=${this.handleSlotChange}></slot>
13
- ${this.fullWidthIndicator?p:t}
14
+ ${this.fullWidthIndicator?x:t}
14
15
  </div>
15
- ${this.fullWidthIndicator?t:p}
16
- </div>`}getContentClasses(){return{"has-icon":this.hasIcon,"has-label":!this.iconOnly}}updated(){this.internals.ariaSelected=String(this.active)}async handleKeydown(t){await 0,!t.defaultPrevented&&(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.click())}handleContentClick(t){t.stopPropagation(),this.click()}[(u=r,E)](t){if(!this[r])return;this[r].getAnimations().forEach(o=>{o.cancel()});const e=this.getKeyframes(t);e!==null&&this[r].animate(e,{duration:250,easing:I.EMPHASIZED})}getKeyframes(t){const e=N();if(!this.active)return e?[{opacity:1},{transform:"none"}]:null;const o={},c=t[r]?.getBoundingClientRect()??{},l=c.left,d=c.width,s=this[r].getBoundingClientRect(),h=s.left,v=d/s.width;return!e&&l!==void 0&&h!==void 0&&!isNaN(v)?o.transform=`translateX(${(l-h).toFixed(4)}px) scaleX(${v.toFixed(4)})`:o.opacity=0,[o,{transform:"none"}]}handleSlotChange(){this.iconOnly=!1;for(const t of this.assignedDefaultNodes){const e=t.nodeType===Node.TEXT_NODE&&!!t.wholeText.match(/\S/);if(t.nodeType===Node.ELEMENT_NODE||e)return}this.iconOnly=!0}handleIconSlotChange(){this.hasIcon=this.assignedIcons.length>0}};i([n({type:Boolean,reflect:!0,attribute:"md-tab"})],a.prototype,"isTab",void 0);i([n({type:Boolean,reflect:!0})],a.prototype,"active",void 0);i([n({type:Boolean})],a.prototype,"selected",null);i([n({type:Boolean,attribute:"has-icon"})],a.prototype,"hasIcon",void 0);i([n({type:Boolean,attribute:"icon-only"})],a.prototype,"iconOnly",void 0);i([y(".indicator")],a.prototype,u,void 0);i([_()],a.prototype,"fullWidthIndicator",void 0);i([m({flatten:!0})],a.prototype,"assignedDefaultNodes",void 0);i([b({slot:"icon",flatten:!0})],a.prototype,"assignedIcons",void 0);function N(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}var D=w`:host{display:inline-flex;align-items:center;justify-content:center;outline:none;padding:0 16px;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:middle;user-select:none;font-family:var(--_label-text-font);font-size:var(--_label-text-size);line-height:var(--_label-text-line-height);font-weight:var(--_label-text-weight);color:var(--_label-text-color);z-index:0;--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity);--md-elevation-level: var(--_container-elevation)}md-focus-ring{--md-focus-ring-shape: 8px}:host([active]) md-focus-ring{margin-bottom:calc(var(--_active-indicator-height) + 1px)}.button::before{background:var(--_container-color);content:"";inset:0;position:absolute;z-index:-1}.button::before,md-ripple,md-elevation{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-end-radius:var(--_container-shape-end-end);border-end-start-radius:var(--_container-shape-end-start)}.content{position:relative;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;height:var(--_container-height);gap:8px}.indicator{position:absolute;box-sizing:border-box;z-index:-1;transform-origin:bottom left;background:var(--_active-indicator-color);border-radius:var(--_active-indicator-shape);height:var(--_active-indicator-height);inset:auto 0 0 0;opacity:0}::slotted([slot=icon]){display:inline-flex;position:relative;writing-mode:horizontal-tb;fill:currentColor;color:var(--_icon-color);font-size:var(--_icon-size);width:var(--_icon-size);height:var(--_icon-size)}:host(:hover){color:var(--_hover-label-text-color);cursor:pointer}:host(:hover) ::slotted([slot=icon]){color:var(--_hover-icon-color)}:host(:focus){color:var(--_focus-label-text-color)}:host(:focus) ::slotted([slot=icon]){color:var(--_focus-icon-color)}:host(:active){color:var(--_pressed-label-text-color)}:host(:active) ::slotted([slot=icon]){color:var(--_pressed-icon-color)}:host([active]) .indicator{opacity:1}:host([active]){color:var(--_active-label-text-color);--md-ripple-hover-color: var(--_active-hover-state-layer-color);--md-ripple-hover-opacity: var(--_active-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_active-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_active-pressed-state-layer-opacity)}:host([active]) ::slotted([slot=icon]){color:var(--_active-icon-color)}:host([active]:hover){color:var(--_active-hover-label-text-color)}:host([active]:hover) ::slotted([slot=icon]){color:var(--_active-hover-icon-color)}:host([active]:focus){color:var(--_active-focus-label-text-color)}:host([active]:focus) ::slotted([slot=icon]){color:var(--_active-focus-icon-color)}:host([active]:active){color:var(--_active-pressed-label-text-color)}:host([active]:active) ::slotted([slot=icon]){color:var(--_active-pressed-icon-color)}:host,::slotted(*){white-space:nowrap}@media(forced-colors: active){.indicator{background:CanvasText}}
17
- `;export{E as n,a as r,D as t};
16
+ ${this.fullWidthIndicator?t:x}
17
+ </div>`}getContentClasses(){return{"has-icon":this.hasIcon,"has-label":!this.iconOnly}}updated(){this.internals.ariaSelected=String(this.active)}async handleKeydown(t){await 0,!t.defaultPrevented&&(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.click())}handleContentClick(t){t.stopPropagation(),this.click()}[(I=c,B)](t){if(!this[c])return;this[c].getAnimations().forEach(a=>{a.cancel()});const o=this.getKeyframes(t);o!==null&&this[c].animate(o,{duration:250,easing:$.EMPHASIZED})}getKeyframes(t){const o=F();if(!this.active)return o?[{opacity:1},{transform:"none"}]:null;const a={},s=t[c]?.getBoundingClientRect()??{},n=s.left,h=s.width,e=this[c].getBoundingClientRect(),l=e.left,v=h/e.width;return!o&&n!==void 0&&l!==void 0&&!isNaN(v)?a.transform=`translateX(${(n-l).toFixed(4)}px) scaleX(${v.toFixed(4)})`:a.opacity=0,[a,{transform:"none"}]}handleSlotChange(){this.iconOnly=!1;for(const t of this.assignedDefaultNodes){const o=t.nodeType===Node.TEXT_NODE&&!!t.wholeText.match(/\S/);if(t.nodeType===Node.ELEMENT_NODE||o)return}this.iconOnly=!0}handleIconSlotChange(){this.hasIcon=this.assignedIcons.length>0}};i([d({type:Boolean,reflect:!0,attribute:"md-tab"})],r.prototype,"isTab",void 0);i([d({type:Boolean,reflect:!0})],r.prototype,"active",void 0);i([d({type:Boolean})],r.prototype,"selected",null);i([d({type:Boolean,attribute:"has-icon"})],r.prototype,"hasIcon",void 0);i([d({type:Boolean,attribute:"icon-only"})],r.prototype,"iconOnly",void 0);i([k(".indicator")],r.prototype,I,void 0);i([S()],r.prototype,"fullWidthIndicator",void 0);i([E({flatten:!0})],r.prototype,"assignedDefaultNodes",void 0);i([C({slot:"icon",flatten:!0})],r.prototype,"assignedIcons",void 0);function F(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}var U=g`:host{display:inline-flex;align-items:center;justify-content:center;outline:none;padding:0 16px;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:middle;user-select:none;font-family:var(--_label-text-font);font-size:var(--_label-text-size);line-height:var(--_label-text-line-height);font-weight:var(--_label-text-weight);color:var(--_label-text-color);z-index:0;--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity);--md-elevation-level: var(--_container-elevation)}md-focus-ring{--md-focus-ring-shape: 8px}:host([active]) md-focus-ring{margin-bottom:calc(var(--_active-indicator-height) + 1px)}.button::before{background:var(--_container-color);content:"";inset:0;position:absolute;z-index:-1}.button::before,md-ripple,md-elevation{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-end-radius:var(--_container-shape-end-end);border-end-start-radius:var(--_container-shape-end-start)}.content{position:relative;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;height:var(--_container-height);gap:8px}.indicator{position:absolute;box-sizing:border-box;z-index:-1;transform-origin:bottom left;background:var(--_active-indicator-color);border-radius:var(--_active-indicator-shape);height:var(--_active-indicator-height);inset:auto 0 0 0;opacity:0}::slotted([slot=icon]){display:inline-flex;position:relative;writing-mode:horizontal-tb;fill:currentColor;color:var(--_icon-color);font-size:var(--_icon-size);width:var(--_icon-size);height:var(--_icon-size)}:host(:hover){color:var(--_hover-label-text-color);cursor:pointer}:host(:hover) ::slotted([slot=icon]){color:var(--_hover-icon-color)}:host(:focus){color:var(--_focus-label-text-color)}:host(:focus) ::slotted([slot=icon]){color:var(--_focus-icon-color)}:host(:active){color:var(--_pressed-label-text-color)}:host(:active) ::slotted([slot=icon]){color:var(--_pressed-icon-color)}:host([active]) .indicator{opacity:1}:host([active]){color:var(--_active-label-text-color);--md-ripple-hover-color: var(--_active-hover-state-layer-color);--md-ripple-hover-opacity: var(--_active-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_active-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_active-pressed-state-layer-opacity)}:host([active]) ::slotted([slot=icon]){color:var(--_active-icon-color)}:host([active]:hover){color:var(--_active-hover-label-text-color)}:host([active]:hover) ::slotted([slot=icon]){color:var(--_active-hover-icon-color)}:host([active]:focus){color:var(--_active-focus-label-text-color)}:host([active]:focus) ::slotted([slot=icon]){color:var(--_active-focus-icon-color)}:host([active]:active){color:var(--_active-pressed-label-text-color)}:host([active]:active) ::slotted([slot=icon]){color:var(--_active-pressed-icon-color)}:host,::slotted(*){white-space:nowrap}@media(forced-colors: active){.indicator{background:CanvasText}}
18
+ `;export{B as n,r,U as t};
@@ -1,3 +1,3 @@
1
- (function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(s,r,i){try{customElements.get(s)||e(s,r,i)}catch(o){var n=String(o||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw o}}}}catch{}})();var U=globalThis,z=U.ShadowRoot&&(U.ShadyCSS===void 0||U.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q=Symbol(),F=new WeakMap,ot=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==q)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(z&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=F.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&F.set(e,t))}return t}toString(){return this.cssText}},pt=t=>new ot(typeof t=="string"?t:t+"",void 0,q),It=(t,...e)=>{const s=t.length===1?t[0]:e.reduce(((r,i,n)=>r+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[n+1]),t[0]);return new ot(s,t,q)},$t=(t,e)=>{if(z)t.adoptedStyleSheets=e.map((s=>s instanceof CSSStyleSheet?s:s.styleSheet));else for(const s of e){const r=document.createElement("style"),i=U.litNonce;i!==void 0&&r.setAttribute("nonce",i),r.textContent=s.cssText,t.appendChild(r)}},G=z?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let s="";for(const r of e.cssRules)s+=r.cssText;return pt(s)})(t):t,Y,{is:ft,defineProperty:_t,getOwnPropertyDescriptor:vt,getOwnPropertyNames:yt,getOwnPropertySymbols:mt,getPrototypeOf:At}=Object,g=globalThis,Q=g.trustedTypes,gt=Q?Q.emptyScript:"",Et=g.reactiveElementPolyfillSupport,S=(t,e)=>t,R={toAttribute(t,e){switch(e){case Boolean:t=t?gt:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=t!==null;break;case Number:s=t===null?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch{s=null}}return s}},V=(t,e)=>!ft(t,e),X={attribute:!0,type:String,converter:R,reflect:!1,useDefault:!1,hasChanged:V};(Y=Symbol).metadata??(Y.metadata=Symbol("metadata")),g.litPropertyMetadata??(g.litPropertyMetadata=new WeakMap);var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=X){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&_t(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:r,set:i}=vt(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){const o=r?.call(this);i?.call(this,n),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??X}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=At(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const e=this.properties,s=[...yt(e),...mt(e)];for(const r of s)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const r of s)e.unshift(G(r))}else t!==void 0&&e.push(G(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $t(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){const i=(s.converter?.toAttribute!==void 0?s.converter:R).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:R;this._$Em=r;const o=n.fromAttribute(e,i.type);this[r]=o??this._$Ej?.get(r)??o,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){const r=this.constructor,i=this[t];if(s??(s=r.getPropertyOptions(t)),!((s.hasChanged??V)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[r,i]of s){const{wrapped:n}=i,o=this[r];n!==!0||this._$AL.has(r)||o===void 0||this.C(r,void 0,i,o)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach((e=>this._$ET(e,this[e])))),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[S("elementProperties")]=new Map,A[S("finalized")]=new Map,Et?.({ReactiveElement:A}),(g.reactiveElementVersions??(g.reactiveElementVersions=[])).push("2.1.1");var M=globalThis,N=M.trustedTypes,tt=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,at="$lit$",f=`lit$${Math.random().toFixed(9).slice(2)}$`,ht="?"+f,bt=`<${ht}>`,y=document,w=()=>y.createComment(""),C=t=>t===null||typeof t!="object"&&typeof t!="function",W=Array.isArray,St=t=>W(t)||typeof t?.[Symbol.iterator]=="function",D=`[
2
- \f\r]`,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,et=/-->/g,st=/>/g,_=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),rt=/'/g,it=/"/g,lt=/^(?:script|style|textarea|title)$/i,Z=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),Bt=Z(1),zt=Z(2),qt=Z(3),u=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),nt=new WeakMap,v=y.createTreeWalker(y,129);function ct(t,e){if(!W(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tt!==void 0?tt.createHTML(e):e}var wt=(t,e)=>{const s=t.length-1,r=[];let i,n=e===2?"<svg>":e===3?"<math>":"",o=b;for(let a=0;a<s;a++){const h=t[a];let m,d,l=-1,p=0;for(;p<h.length&&(o.lastIndex=p,d=o.exec(h),d!==null);)p=o.lastIndex,o===b?d[1]==="!--"?o=et:d[1]!==void 0?o=st:d[2]!==void 0?(lt.test(d[2])&&(i=RegExp("</"+d[2],"g")),o=_):d[3]!==void 0&&(o=_):o===_?d[0]===">"?(o=i??b,l=-1):d[1]===void 0?l=-2:(l=o.lastIndex-d[2].length,m=d[1],o=d[3]===void 0?_:d[3]==='"'?it:rt):o===it||o===rt?o=_:o===et||o===st?o=b:(o=_,i=void 0);const $=o===_&&t[a+1].startsWith("/>")?" ":"";n+=o===b?h+bt:l>=0?(r.push(m),h.slice(0,l)+at+h.slice(l)+f+$):h+f+(l===-2?a:$)}return[ct(t,n+(t[s]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},I=class dt{constructor({strings:e,_$litType$:s},r){let i;this.parts=[];let n=0,o=0;const a=e.length-1,h=this.parts,[m,d]=wt(e,s);if(this.el=dt.createElement(m,r),v.currentNode=this.el.content,s===2||s===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=v.nextNode())!==null&&h.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(at)){const p=d[o++],$=i.getAttribute(l).split(f),O=/([.?@])?(.*)/.exec(p);h.push({type:1,index:n,name:O[2],strings:$,ctor:O[1]==="."?Pt:O[1]==="?"?Tt:O[1]==="@"?Ot:L}),i.removeAttribute(l)}else l.startsWith(f)&&(h.push({type:6,index:n}),i.removeAttribute(l));if(lt.test(i.tagName)){const l=i.textContent.split(f),p=l.length-1;if(p>0){i.textContent=N?N.emptyScript:"";for(let $=0;$<p;$++)i.append(l[$],w()),v.nextNode(),h.push({type:2,index:++n});i.append(l[p],w())}}}else if(i.nodeType===8)if(i.data===ht)h.push({type:2,index:n});else{let l=-1;for(;(l=i.data.indexOf(f,l+1))!==-1;)h.push({type:7,index:n}),l+=f.length-1}n++}}static createElement(e,s){const r=y.createElement("template");return r.innerHTML=e,r}};function E(t,e,s=t,r){if(e===u)return e;let i=r!==void 0?s._$Co?.[r]:s._$Cl;const n=C(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),n===void 0?i=void 0:(i=new n(t),i._$AT(t,s,r)),r!==void 0?(s._$Co??(s._$Co=[]))[r]=i:s._$Cl=i),i!==void 0&&(e=E(t,i._$AS(t,e.values),i,r)),e}var Ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??y).importNode(e,!0);v.currentNode=r;let i=v.nextNode(),n=0,o=0,a=s[0];for(;a!==void 0;){if(n===a.index){let h;a.type===2?h=new J(i,i.nextSibling,this,t):a.type===1?h=new a.ctor(i,a.name,a.strings,this,t):a.type===6&&(h=new Ut(i,this,t)),this._$AV.push(h),a=s[++o]}n!==a?.index&&(i=v.nextNode(),n++)}return v.currentNode=y,r}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},J=class ut{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,s,r,i){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=e,this._$AB=s,this._$AM=r,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const s=this._$AM;return s!==void 0&&e?.nodeType===11&&(e=s.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,s=this){e=E(this,e,s),C(e)?e===c||e==null||e===""?(this._$AH!==c&&this._$AR(),this._$AH=c):e!==this._$AH&&e!==u&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):St(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==c&&C(this._$AH)?this._$AA.nextSibling.data=e:this.T(y.createTextNode(e)),this._$AH=e}$(e){const{values:s,_$litType$:r}=e,i=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=I.createElement(ct(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(s);else{const n=new Ct(i,this),o=n.u(this.options);n.p(s),this.T(o),this._$AH=n}}_$AC(e){let s=nt.get(e.strings);return s===void 0&&nt.set(e.strings,s=new I(e)),s}k(e){W(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let r,i=0;for(const n of e)i===s.length?s.push(r=new ut(this.O(w()),this.O(w()),this,this.options)):r=s[i],r._$AI(n),i++;i<s.length&&(this._$AR(r&&r._$AB.nextSibling,i),s.length=i)}_$AR(e=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);e!==this._$AB;){const r=e.nextSibling;e.remove(),e=r}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},L=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=c}_$AI(t,e=this,s,r){const i=this.strings;let n=!1;if(i===void 0)t=E(this,t,e,0),n=!C(t)||t!==this._$AH&&t!==u,n&&(this._$AH=t);else{const o=t;let a,h;for(t=i[0],a=0;a<i.length-1;a++)h=E(this,o[s+a],e,a),h===u&&(h=this._$AH[a]),n||(n=!C(h)||h!==this._$AH[a]),h===c?t=c:t!==c&&(t+=(h??"")+i[a+1]),this._$AH[a]=h}n&&!r&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Pt=class extends L{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},Tt=class extends L{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},Ot=class extends L{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??c)===u)return;const s=this._$AH,r=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==c&&(s===c||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ut=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}},xt=M.litHtmlPolyfillSupport;xt?.(I,J),(M.litHtmlVersions??(M.litHtmlVersions=[])).push("3.3.1");var Rt=(t,e,s)=>{const r=s?.renderBefore??e;let i=r._$litPart$;if(i===void 0){const n=s?.renderBefore??null;r._$litPart$=i=new J(e.insertBefore(w(),n),n,void 0,s??{})}return i._$AI(t),i},H=globalThis,x=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Rt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return u}};x._$litElement$=!0,x.finalized=!0,H.litElementHydrateSupport?.({LitElement:x});var Mt=H.litElementPolyfillSupport;Mt?.({LitElement:x});(H.litElementVersions??(H.litElementVersions=[])).push("4.2.1");var Vt=t=>(e,s)=>{s!==void 0?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},Nt={attribute:!0,type:String,converter:R,reflect:!1,hasChanged:V},Ht=(t=Nt,e,s)=>{const{kind:r,metadata:i}=s;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),r==="setter"&&((t=Object.create(t)).wrapped=!0),n.set(s.name,t),r==="accessor"){const{name:o}=s;return{set(a){const h=e.get.call(this);e.set.call(this,a),this.requestUpdate(o,h,t)},init(a){return a!==void 0&&this.C(o,void 0,t,a),a}}}if(r==="setter"){const{name:o}=s;return function(a){const h=this[o];e.call(this,a),this.requestUpdate(o,h,t)}}throw Error("Unsupported decorator location: "+r)};function jt(t){return(e,s)=>typeof s=="object"?Ht(t,e,s):((r,i,n)=>{const o=i.hasOwnProperty(n);return i.constructor.createProperty(n,r),o?Object.getOwnPropertyDescriptor(i,n):void 0})(t,e,s)}function Wt(t){return jt({...t,state:!0,attribute:!1})}var P=(t,e,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,s),s);function Zt(t,e){return(s,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(e){const{get:o,set:a}=typeof r=="object"?s:i??(()=>{const h=Symbol();return{get(){return this[h]},set(m){this[h]=m}}})();return P(s,r,{get(){let h=o.call(this);return h===void 0&&(h=n(this),(h!==null||this.hasUpdated)&&a.call(this,h)),h}})}return P(s,r,{get(){return n(this)}})}}function Jt(t){return(e,s)=>P(e,s,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Kt(t){return(e,s)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return P(e,s,{get(){const o=this.renderRoot?.querySelector(n)?.assignedElements(t)??[];return i===void 0?o:o.filter((a=>a.matches(i)))}})}}function Ft(t){return(e,s)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return P(e,s,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}function Gt(t,e,s,r){var i=arguments.length,n=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,s):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,s,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(i<3?o(n):i>3?o(e,s,n):o(e,s))||n);return i>3&&n&&Object.defineProperty(e,s,n),n}var K={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},T=t=>(...e)=>({_$litDirective$:t,values:e}),k=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}},Yt=T(class extends k{constructor(t){if(super(t),t.type!==K.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((r=>r!==""))));for(const r in e)e[r]&&!this.nt?.has(r)&&this.st.add(r);return this.render(e)}const s=t.element.classList;for(const r of this.st)r in e||(s.remove(r),this.st.delete(r));for(const r in e){const i=!!e[r];i===this.st.has(r)||this.nt?.has(r)||(i?(s.add(r),this.st.add(r)):(s.remove(r),this.st.delete(r)))}return u}}),Qt=t=>t??c,Lt="important",kt=" !important",Xt=T(class extends k{constructor(t){if(super(t),t.type!==K.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,s)=>{const r=t[s];return r==null?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:s}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(const r of this.ft)e[r]??(this.ft.delete(r),r.includes("-")?s.removeProperty(r):s[r]=null);for(const r in e){const i=e[r];if(i!=null){this.ft.add(r);const n=typeof i=="string"&&i.endsWith(kt);r.includes("-")||n?s.setProperty(r,n?i.slice(0,-11):i,n?Lt:""):s[r]=i}}return u}});function te(t,e,s){return t?e(t):s?.(t)}var Dt={},ee=T(class extends k{constructor(){super(...arguments),this.ot=Dt}render(t,e){return e()}update(t,[e,s]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every(((r,i)=>r===this.ot[i])))return u}else if(this.ot===e)return u;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,s)}}),j=class extends k{constructor(t){if(super(t),this.it=c,t.type!==K.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===c||t==null)return this._t=void 0,this.it=t;if(t===u)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};j.directiveName="unsafeHTML",j.resultType=1;var se=T(j),B=class extends j{};B.directiveName="unsafeSVG",B.resultType=2;var re=T(B);export{zt as _,Qt as a,Ft as c,Zt as d,Wt as f,c as g,x as h,Xt as i,Kt as l,Vt as m,ee as n,Yt as o,jt as p,te as r,Gt as s,re as t,Jt as u,Bt as v,It as y};
1
+ (function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(s,i,r){try{customElements.get(s)||e(s,i,r)}catch(o){var n=String(o||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw o}}}}catch{}})();var O=globalThis,L=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,k=Symbol(),V=new WeakMap,et=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==k)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(L&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=V.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&V.set(e,t))}return t}toString(){return this.cssText}},ht=t=>new et(typeof t=="string"?t:t+"",void 0,k),Mt=(t,...e)=>{const s=t.length===1?t[0]:e.reduce(((i,r,n)=>i+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[n+1]),t[0]);return new et(s,t,k)},lt=(t,e)=>{if(L)t.adoptedStyleSheets=e.map((s=>s instanceof CSSStyleSheet?s:s.styleSheet));else for(const s of e){const i=document.createElement("style"),r=O.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=s.cssText,t.appendChild(i)}},W=L?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let s="";for(const i of e.cssRules)s+=i.cssText;return ht(s)})(t):t,J,{is:ct,defineProperty:dt,getOwnPropertyDescriptor:pt,getOwnPropertyNames:ut,getOwnPropertySymbols:$t,getPrototypeOf:_t}=Object,g=globalThis,K=g.trustedTypes,ft=K?K.emptyScript:"",vt=g.reactiveElementPolyfillSupport,S=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?ft:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=t!==null;break;case Number:s=t===null?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch{s=null}}return s}},B=(t,e)=>!ct(t,e),Z={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:B};(J=Symbol).metadata??(J.metadata=Symbol("metadata")),g.litPropertyMetadata??(g.litPropertyMetadata=new WeakMap);var y=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Z){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&dt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:r}=pt(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:i,set(n){const o=i?.call(this);r?.call(this,n),this.requestUpdate(t,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Z}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=_t(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const e=this.properties,s=[...ut(e),...$t(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(W(i))}else t!==void 0&&e.push(W(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(s.converter?.toAttribute!==void 0?s.converter:x).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const r=s.getPropertyOptions(i),n=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:x;this._$Em=i;const o=n.fromAttribute(e,r.type);this[i]=o??this._$Ej?.get(i)??o,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){const i=this.constructor,r=this[t];if(s??(s=i.getPropertyOptions(t)),!((s.hasChanged??B)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},n){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,n??e??this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[i,r]of this._$Ep)this[i]=r;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[i,r]of s){const{wrapped:n}=r,o=this[i];n!==!0||this._$AL.has(i)||o===void 0||this.C(i,void 0,r,o)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach((e=>this._$ET(e,this[e])))),this._$EM()}updated(t){}firstUpdated(t){}};y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[S("elementProperties")]=new Map,y[S("finalized")]=new Map,vt?.({ReactiveElement:y}),(g.reactiveElementVersions??(g.reactiveElementVersions=[])).push("2.1.1");var T=globalThis,R=T.trustedTypes,F=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,st="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,it="?"+$,mt=`<${it}>`,v=document,w=()=>v.createComment(""),C=t=>t===null||typeof t!="object"&&typeof t!="function",I=Array.isArray,At=t=>I(t)||typeof t?.[Symbol.iterator]=="function",j=`[
2
+ \f\r]`,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,G=/>/g,_=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,X=/"/g,rt=/^(?:script|style|textarea|title)$/i,z=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),Nt=z(1),Ht=z(2),jt=z(3),m=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),tt=new WeakMap,f=v.createTreeWalker(v,129);function nt(t,e){if(!I(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return F!==void 0?F.createHTML(e):e}var yt=(t,e)=>{const s=t.length-1,i=[];let r,n=e===2?"<svg>":e===3?"<math>":"",o=b;for(let a=0;a<s;a++){const h=t[a];let A,d,l=-1,p=0;for(;p<h.length&&(o.lastIndex=p,d=o.exec(h),d!==null);)p=o.lastIndex,o===b?d[1]==="!--"?o=Y:d[1]!==void 0?o=G:d[2]!==void 0?(rt.test(d[2])&&(r=RegExp("</"+d[2],"g")),o=_):d[3]!==void 0&&(o=_):o===_?d[0]===">"?(o=r??b,l=-1):d[1]===void 0?l=-2:(l=o.lastIndex-d[2].length,A=d[1],o=d[3]===void 0?_:d[3]==='"'?X:Q):o===X||o===Q?o=_:o===Y||o===G?o=b:(o=_,r=void 0);const u=o===_&&t[a+1].startsWith("/>")?" ":"";n+=o===b?h+mt:l>=0?(i.push(A),h.slice(0,l)+st+h.slice(l)+$+u):h+$+(l===-2?a:u)}return[nt(t,n+(t[s]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},D=class ot{constructor({strings:e,_$litType$:s},i){let r;this.parts=[];let n=0,o=0;const a=e.length-1,h=this.parts,[A,d]=yt(e,s);if(this.el=ot.createElement(A,i),f.currentNode=this.el.content,s===2||s===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=f.nextNode())!==null&&h.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const l of r.getAttributeNames())if(l.endsWith(st)){const p=d[o++],u=r.getAttribute(l).split($),P=/([.?@])?(.*)/.exec(p);h.push({type:1,index:n,name:P[2],strings:u,ctor:P[1]==="."?Et:P[1]==="?"?bt:P[1]==="@"?St:H}),r.removeAttribute(l)}else l.startsWith($)&&(h.push({type:6,index:n}),r.removeAttribute(l));if(rt.test(r.tagName)){const l=r.textContent.split($),p=l.length-1;if(p>0){r.textContent=R?R.emptyScript:"";for(let u=0;u<p;u++)r.append(l[u],w()),f.nextNode(),h.push({type:2,index:++n});r.append(l[p],w())}}}else if(r.nodeType===8)if(r.data===it)h.push({type:2,index:n});else{let l=-1;for(;(l=r.data.indexOf($,l+1))!==-1;)h.push({type:7,index:n}),l+=$.length-1}n++}}static createElement(e,s){const i=v.createElement("template");return i.innerHTML=e,i}};function E(t,e,s=t,i){if(e===m)return e;let r=i!==void 0?s._$Co?.[i]:s._$Cl;const n=C(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(t),r._$AT(t,s,i)),i!==void 0?(s._$Co??(s._$Co=[]))[i]=r:s._$Cl=r),r!==void 0&&(e=E(t,r._$AS(t,e.values),r,i)),e}var gt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??v).importNode(e,!0);f.currentNode=i;let r=f.nextNode(),n=0,o=0,a=s[0];for(;a!==void 0;){if(n===a.index){let h;a.type===2?h=new q(r,r.nextSibling,this,t):a.type===1?h=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(h=new wt(r,this,t)),this._$AV.push(h),a=s[++o]}n!==a?.index&&(r=f.nextNode(),n++)}return f.currentNode=v,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},q=class at{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,s,i,r){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=e,this._$AB=s,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const s=this._$AM;return s!==void 0&&e?.nodeType===11&&(e=s.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,s=this){e=E(this,e,s),C(e)?e===c||e==null||e===""?(this._$AH!==c&&this._$AR(),this._$AH=c):e!==this._$AH&&e!==m&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):At(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==c&&C(this._$AH)?this._$AA.nextSibling.data=e:this.T(v.createTextNode(e)),this._$AH=e}$(e){const{values:s,_$litType$:i}=e,r=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=D.createElement(nt(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(s);else{const n=new gt(r,this),o=n.u(this.options);n.p(s),this.T(o),this._$AH=n}}_$AC(e){let s=tt.get(e.strings);return s===void 0&&tt.set(e.strings,s=new D(e)),s}k(e){I(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,r=0;for(const n of e)r===s.length?s.push(i=new at(this.O(w()),this.O(w()),this,this.options)):i=s[r],i._$AI(n),r++;r<s.length&&(this._$AR(i&&i._$AB.nextSibling,r),s.length=r)}_$AR(e=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},H=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=c}_$AI(t,e=this,s,i){const r=this.strings;let n=!1;if(r===void 0)t=E(this,t,e,0),n=!C(t)||t!==this._$AH&&t!==m,n&&(this._$AH=t);else{const o=t;let a,h;for(t=r[0],a=0;a<r.length-1;a++)h=E(this,o[s+a],e,a),h===m&&(h=this._$AH[a]),n||(n=!C(h)||h!==this._$AH[a]),h===c?t=c:t!==c&&(t+=(h??"")+r[a+1]),this._$AH[a]=h}n&&!i&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Et=class extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},bt=class extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},St=class extends H{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??c)===m)return;const s=this._$AH,i=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==c&&(s===c||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},wt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}};(0,T.litHtmlPolyfillSupport)?.(D,q),(T.litHtmlVersions??(T.litHtmlVersions=[])).push("3.3.1");var Ct=(t,e,s)=>{const i=s?.renderBefore??e;let r=i._$litPart$;if(r===void 0){const n=s?.renderBefore??null;i._$litPart$=r=new q(e.insertBefore(w(),n),n,void 0,s??{})}return r._$AI(t),r},M=globalThis,U=class extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return m}};U._$litElement$=!0,U.finalized=!0,M.litElementHydrateSupport?.({LitElement:U});(0,M.litElementPolyfillSupport)?.({LitElement:U});(M.litElementVersions??(M.litElementVersions=[])).push("4.2.1");var Dt=t=>(e,s)=>{s!==void 0?s.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},Pt={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:B},Ot=(t=Pt,e,s)=>{const{kind:i,metadata:r}=s;let n=globalThis.litPropertyMetadata.get(r);if(n===void 0&&globalThis.litPropertyMetadata.set(r,n=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),n.set(s.name,t),i==="accessor"){const{name:o}=s;return{set(a){const h=e.get.call(this);e.set.call(this,a),this.requestUpdate(o,h,t)},init(a){return a!==void 0&&this.C(o,void 0,t,a),a}}}if(i==="setter"){const{name:o}=s;return function(a){const h=this[o];e.call(this,a),this.requestUpdate(o,h,t)}}throw Error("Unsupported decorator location: "+i)};function Tt(t){return(e,s)=>typeof s=="object"?Ot(t,e,s):((i,r,n)=>{const o=r.hasOwnProperty(n);return r.constructor.createProperty(n,i),o?Object.getOwnPropertyDescriptor(r,n):void 0})(t,e,s)}function Lt(t){return Tt({...t,state:!0,attribute:!1})}var N=(t,e,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,s),s);function kt(t,e){return(s,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(e){const{get:o,set:a}=typeof i=="object"?s:r??(()=>{const h=Symbol();return{get(){return this[h]},set(A){this[h]=A}}})();return N(s,i,{get(){let h=o.call(this);return h===void 0&&(h=n(this),(h!==null||this.hasUpdated)&&a.call(this,h)),h}})}return N(s,i,{get(){return n(this)}})}}function Bt(t){return(e,s)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return N(e,s,{get(){const o=this.renderRoot?.querySelector(n)?.assignedElements(t)??[];return r===void 0?o:o.filter((a=>a.matches(r)))}})}}function It(t){return(e,s)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return N(e,s,{get(){return this.renderRoot?.querySelector(r)?.assignedNodes(t)??[]}})}}var zt=t=>t??c;function qt(t,e,s,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,s):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,s,n):o(e,s))||n);return r>3&&n&&Object.defineProperty(e,s,n),n}var Ut={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xt=t=>(...e)=>({_$litDirective$:t,values:e}),Rt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}},Vt=xt(class extends Rt{constructor(t){if(super(t),t.type!==Ut.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((i=>i!==""))));for(const i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}const s=t.element.classList;for(const i of this.st)i in e||(s.remove(i),this.st.delete(i));for(const i in e){const r=!!e[i];r===this.st.has(i)||this.nt?.has(i)||(r?(s.add(i),this.st.add(i)):(s.remove(i),this.st.delete(i)))}return m}});export{Bt as a,Tt as c,c as d,Nt as f,It as i,Dt as l,qt as n,kt as o,Mt as p,zt as r,Lt as s,Vt as t,U as u};