scb-wc-test 0.1.362 → 0.1.364

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 (191) hide show
  1. package/all.js +5 -0
  2. package/index.js +1 -85
  3. package/mvc/components/scb-accordion/scb-accordion-item.js +11 -11
  4. package/mvc/components/scb-accordion/scb-accordion.js +7 -7
  5. package/mvc/components/scb-app-bar/scb-app-bar.js +11 -11
  6. package/mvc/components/scb-avatar/scb-avatar.js +11 -11
  7. package/mvc/components/scb-badge/scb-badge.js +6 -6
  8. package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +3 -3
  9. package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +12 -12
  10. package/mvc/components/scb-button/scb-button.js +30 -30
  11. package/mvc/components/scb-calendar/scb-calendar-event.js +3 -3
  12. package/mvc/components/scb-calendar/scb-calendar.js +21 -21
  13. package/mvc/components/scb-calendar-card/scb-calendar-card.js +16 -16
  14. package/mvc/components/scb-card/scb-card.js +45 -45
  15. package/mvc/components/scb-checkbox/scb-checkbox-group.js +4 -4
  16. package/mvc/components/scb-checkbox/scb-checkbox.js +7 -7
  17. package/mvc/components/scb-chevron/scb-chevron.js +3 -3
  18. package/mvc/components/scb-chip/scb-chip.js +6 -6
  19. package/mvc/components/scb-collapse/scb-collapse.js +4 -4
  20. package/mvc/components/scb-cookies-consent/scb-cookies-consent.js +3 -3
  21. package/mvc/components/scb-datepicker/scb-datepicker.js +18 -18
  22. package/mvc/components/scb-dialog/scb-dialog.js +25 -25
  23. package/mvc/components/scb-divider/scb-divider.js +2 -2
  24. package/mvc/components/scb-drawer/scb-drawer.js +6 -6
  25. package/mvc/components/scb-drop-zone/scb-drop-zone.js +28 -28
  26. package/mvc/components/scb-dropdown/scb-dropdown.js +9 -9
  27. package/mvc/components/scb-fab/scb-fab.js +6 -6
  28. package/mvc/components/scb-fact-card/scb-fact-card-content.js +6 -6
  29. package/mvc/components/scb-fact-card/scb-fact-card.js +7 -7
  30. package/mvc/components/scb-footer/scb-footer-section.js +2 -2
  31. package/mvc/components/scb-footer/scb-footer.js +33 -33
  32. package/mvc/components/scb-gallery-grid/scb-gallery-grid.js +10 -10
  33. package/mvc/components/scb-grid/scb-grid-item.js +2 -2
  34. package/mvc/components/scb-grid/scb-grid.js +2 -2
  35. package/mvc/components/scb-grid/scb-stack.js +2 -2
  36. package/mvc/components/scb-header/scb-header-menu-group.js +1 -1
  37. package/mvc/components/scb-header/scb-header-menu-item.js +2 -2
  38. package/mvc/components/scb-header/scb-header-tab.js +2 -2
  39. package/mvc/components/scb-header/scb-header-utility.js +1 -1
  40. package/mvc/components/scb-header/scb-header.js +35 -35
  41. package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +7 -7
  42. package/mvc/components/scb-icon-button/scb-icon-button.js +26 -26
  43. package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +15 -15
  44. package/mvc/components/scb-link/scb-link.js +9 -9
  45. package/mvc/components/scb-list/scb-list-item.js +19 -19
  46. package/mvc/components/scb-list/scb-list.js +4 -4
  47. package/mvc/components/scb-menu/scb-menu-item.js +9 -9
  48. package/mvc/components/scb-menu/scb-menu-section.js +4 -4
  49. package/mvc/components/scb-menu/scb-menu.js +5 -5
  50. package/mvc/components/scb-menu/scb-sub-menu.js +3 -3
  51. package/mvc/components/scb-nav/scb-nav-item.js +2 -2
  52. package/mvc/components/scb-nav/scb-nav.js +3 -3
  53. package/mvc/components/scb-notification-card/scb-notification-card.js +13 -13
  54. package/mvc/components/scb-options-menu/scb-options-menu-item.js +3 -3
  55. package/mvc/components/scb-options-menu/scb-options-menu.js +3 -3
  56. package/mvc/components/scb-options-menu/scb-options-sub-menu.js +3 -3
  57. package/mvc/components/scb-overlay/scb-overlay.js +5 -5
  58. package/mvc/components/scb-pagination/scb-pagination.js +26 -26
  59. package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +6 -6
  60. package/mvc/components/scb-progress-stepper/scb-progress-step.js +8 -8
  61. package/mvc/components/scb-progress-stepper/scb-progress-stepper.js +3 -3
  62. package/mvc/components/scb-radio-button/scb-radio-button.js +9 -9
  63. package/mvc/components/scb-radio-button/scb-radio-group.js +5 -5
  64. package/mvc/components/scb-scrollspy/scb-scrollspy.js +7 -7
  65. package/mvc/components/scb-search/scb-search.js +7 -7
  66. package/mvc/components/scb-segmented-button/scb-segmented-button.js +2 -2
  67. package/mvc/components/scb-segmented-button/scb-segmented-item.js +6 -6
  68. package/mvc/components/scb-select/scb-select-option.js +6 -6
  69. package/mvc/components/scb-select/scb-select.js +6 -6
  70. package/mvc/components/scb-skeleton/scb-skeleton.js +3 -3
  71. package/mvc/components/scb-slider/scb-slider.js +4 -4
  72. package/mvc/components/scb-snackbar/scb-snackbar.js +10 -10
  73. package/mvc/components/scb-status-pill/scb-status-pill.js +4 -4
  74. package/mvc/components/scb-stepper/scb-step.js +11 -11
  75. package/mvc/components/scb-stepper/scb-stepper.js +3 -3
  76. package/mvc/components/scb-switch/scb-switch.js +5 -5
  77. package/mvc/components/scb-table/scb-table.js +3 -3
  78. package/mvc/components/scb-table-advanced/scb-table-advanced.js +4 -4
  79. package/mvc/components/scb-tabs/scb-primary-tab.js +2 -2
  80. package/mvc/components/scb-tabs/scb-secondary-tab.js +2 -2
  81. package/mvc/components/scb-tabs/scb-tabs.js +2 -2
  82. package/mvc/components/scb-textfield/scb-textfield.js +24 -24
  83. package/mvc/components/scb-toc/scb-toc-item.js +5 -5
  84. package/mvc/components/scb-toc/scb-toc.js +4 -4
  85. package/mvc/components/scb-tooltip/scb-tooltip.js +13 -11
  86. package/mvc/components/scb-vignette/scb-vignette.js +3 -3
  87. package/mvc/components/scb-viz/scb-viz-actions-runtime.js +2 -2
  88. package/mvc/components/scb-viz/scb-viz-print-runtime.js +13 -13
  89. package/mvc/components/scb-viz/scb-viz-series-differentiation-registry.js +1 -1
  90. package/mvc/components/scb-viz/scb-viz-series-differentiation-runtime.js +1 -1
  91. package/mvc/components/scb-viz/scb-viz-table-runtime.js +1 -1
  92. package/mvc/components/scb-viz/scb-viz.js +14 -14
  93. package/mvc/vendor/assertClassBrand.js +1 -0
  94. package/mvc/vendor/classPrivateFieldGet2.js +1 -0
  95. package/mvc/vendor/decorate.js +1 -0
  96. package/mvc/vendor/preload-helper.js +1 -1
  97. package/mvc/vendor/vendor-material.js +117 -549
  98. package/mvc/vendor/vendor.js +4 -84
  99. package/package.json +10 -2
  100. package/scb-accordion/scb-accordion-item.js +166 -175
  101. package/scb-accordion/scb-accordion.js +119 -122
  102. package/scb-app-bar/scb-app-bar.js +206 -200
  103. package/scb-avatar/scb-avatar.js +104 -120
  104. package/scb-badge/scb-badge.js +94 -97
  105. package/scb-breadcrumb/scb-breadcrumb-item.js +47 -59
  106. package/scb-breadcrumb/scb-breadcrumb.js +166 -169
  107. package/scb-button/scb-button.js +138 -169
  108. package/scb-calendar/scb-calendar-event.js +43 -55
  109. package/scb-calendar/scb-calendar.js +582 -520
  110. package/scb-calendar-card/scb-calendar-card.js +187 -174
  111. package/scb-card/scb-card.js +694 -689
  112. package/scb-checkbox/scb-checkbox-group.js +75 -80
  113. package/scb-checkbox/scb-checkbox.js +195 -218
  114. package/scb-chevron/scb-chevron.js +33 -40
  115. package/scb-chip/scb-chip.js +193 -237
  116. package/scb-collapse/scb-collapse.js +185 -196
  117. package/scb-cookies-consent/scb-cookies-consent.js +95 -102
  118. package/scb-datepicker/scb-datepicker.js +289 -330
  119. package/scb-dialog/scb-dialog.js +354 -411
  120. package/scb-divider/scb-divider.js +50 -58
  121. package/scb-drawer/scb-drawer.js +193 -237
  122. package/scb-drop-zone/scb-drop-zone.js +555 -588
  123. package/scb-dropdown/scb-dropdown.js +357 -424
  124. package/scb-fab/scb-fab.js +89 -98
  125. package/scb-fact-card/scb-fact-card-content.js +44 -47
  126. package/scb-fact-card/scb-fact-card.js +165 -160
  127. package/scb-footer/scb-footer-section.js +20 -25
  128. package/scb-footer/scb-footer.js +189 -201
  129. package/scb-gallery-grid/scb-gallery-grid.js +129 -150
  130. package/scb-grid/scb-grid-item.js +70 -69
  131. package/scb-grid/scb-grid.js +100 -90
  132. package/scb-grid/scb-stack.js +87 -88
  133. package/scb-header/scb-header-menu-group.js +20 -20
  134. package/scb-header/scb-header-menu-item.js +17 -30
  135. package/scb-header/scb-header-tab.js +20 -30
  136. package/scb-header/scb-header-utility.js +26 -26
  137. package/scb-header/scb-header.js +956 -1082
  138. package/scb-horizontal-scroller/scb-horizontal-scroller.js +213 -225
  139. package/scb-icon-button/scb-icon-button.js +220 -264
  140. package/scb-keyfigure-card/scb-keyfigure-card.js +160 -166
  141. package/scb-link/scb-link.js +87 -91
  142. package/scb-list/scb-list-item.js +158 -184
  143. package/scb-list/scb-list.js +98 -106
  144. package/scb-menu/scb-menu-item.js +188 -211
  145. package/scb-menu/scb-menu-section.js +24 -31
  146. package/scb-menu/scb-menu.js +86 -98
  147. package/scb-menu/scb-sub-menu.js +30 -43
  148. package/scb-nav/scb-nav-item.js +68 -74
  149. package/scb-nav/scb-nav.js +164 -172
  150. package/scb-notification-card/scb-notification-card.js +157 -182
  151. package/scb-options-menu/scb-options-menu-item.js +167 -164
  152. package/scb-options-menu/scb-options-menu.js +154 -157
  153. package/scb-options-menu/scb-options-sub-menu.js +39 -44
  154. package/scb-overlay/scb-overlay.js +57 -65
  155. package/scb-pagination/scb-pagination.js +253 -283
  156. package/scb-progress-indicator/scb-progress-indicator.js +134 -140
  157. package/scb-progress-stepper/scb-progress-step.js +92 -99
  158. package/scb-progress-stepper/scb-progress-stepper.js +77 -79
  159. package/scb-radio-button/scb-radio-button.js +138 -156
  160. package/scb-radio-button/scb-radio-group.js +185 -237
  161. package/scb-scrollspy/scb-scrollspy.js +610 -586
  162. package/scb-search/scb-search.js +392 -397
  163. package/scb-segmented-button/scb-segmented-button.js +182 -206
  164. package/scb-segmented-button/scb-segmented-item.js +62 -68
  165. package/scb-select/scb-select-option.js +33 -51
  166. package/scb-select/scb-select.js +274 -286
  167. package/scb-skeleton/scb-skeleton.js +58 -68
  168. package/scb-slider/scb-slider.js +75 -83
  169. package/scb-snackbar/scb-snackbar.js +132 -152
  170. package/scb-status-pill/scb-status-pill.js +57 -64
  171. package/scb-stepper/scb-step.js +127 -130
  172. package/scb-stepper/scb-stepper.js +195 -224
  173. package/scb-switch/scb-switch.js +135 -154
  174. package/scb-table/scb-table.js +154 -175
  175. package/scb-table-advanced/scb-table-advanced.js +273 -306
  176. package/scb-tabs/scb-primary-tab.js +62 -83
  177. package/scb-tabs/scb-secondary-tab.js +62 -87
  178. package/scb-tabs/scb-tabs.js +71 -81
  179. package/scb-textfield/scb-textfield.js +454 -488
  180. package/scb-toc/scb-toc-item.js +222 -229
  181. package/scb-toc/scb-toc.js +86 -95
  182. package/scb-tooltip/scb-tooltip.d.ts +2 -0
  183. package/scb-tooltip/scb-tooltip.js +257 -359
  184. package/scb-vignette/scb-vignette.js +55 -59
  185. package/scb-viz/scb-viz-actions-runtime.js +142 -165
  186. package/scb-viz/scb-viz-print-runtime.js +43 -46
  187. package/scb-viz/scb-viz-series-differentiation-registry.js +109 -98
  188. package/scb-viz/scb-viz-series-differentiation-runtime.js +120 -162
  189. package/scb-viz/scb-viz-table-runtime.js +81 -88
  190. package/scb-viz/scb-viz.js +1676 -1878
  191. package/scb-wc-test.bundle.js +3577 -4393
package/all.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import './all.js';
2
2
  import './blazor/scb-blazor-bridge.js';
3
3
  import './index.js';
4
+ import './index2.js';
4
5
  import './mvc/components/all.js';
5
6
  import './mvc/components/scb-accordion/scb-accordion-item.js';
6
7
  import './mvc/components/scb-accordion/scb-accordion.js';
@@ -93,6 +94,9 @@ import './mvc/components/scb-viz/scb-viz-series-differentiation-runtime.js';
93
94
  import './mvc/components/scb-viz/scb-viz-table-runtime.js';
94
95
  import './mvc/components/scb-viz/scb-viz.js';
95
96
  import './mvc/scb-blazor-bridge.js';
97
+ import './mvc/vendor/assertClassBrand.js';
98
+ import './mvc/vendor/classPrivateFieldGet2.js';
99
+ import './mvc/vendor/decorate.js';
96
100
  import './mvc/vendor/preload-helper.js';
97
101
  import './mvc/vendor/vendor-lit.js';
98
102
  import './mvc/vendor/vendor-material.js';
@@ -187,3 +191,4 @@ import './scb-viz/scb-viz-series-differentiation-registry.js';
187
191
  import './scb-viz/scb-viz-series-differentiation-runtime.js';
188
192
  import './scb-viz/scb-viz-table-runtime.js';
189
193
  import './scb-viz/scb-viz.js';
194
+ import './_virtual/_@oxc-project_runtime@0.126.0/helpers/decorate.js';
package/index.js CHANGED
@@ -1,85 +1 @@
1
- import "./scb-accordion/scb-accordion-item.js";
2
- import "./scb-accordion/scb-accordion.js";
3
- import "./scb-app-bar/scb-app-bar.js";
4
- import "./scb-avatar/scb-avatar.js";
5
- import "./scb-badge/scb-badge.js";
6
- import "./scb-breadcrumb/scb-breadcrumb-item.js";
7
- import "./scb-breadcrumb/scb-breadcrumb.js";
8
- import "./scb-button/scb-button.js";
9
- import "./scb-calendar/scb-calendar-event.js";
10
- import "./scb-calendar/scb-calendar.js";
11
- import "./scb-calendar-card/scb-calendar-card.js";
12
- import "./scb-card/scb-card.js";
13
- import "./scb-checkbox/scb-checkbox-group.js";
14
- import "./scb-checkbox/scb-checkbox.js";
15
- import "./scb-chevron/scb-chevron.js";
16
- import "./scb-chip/scb-chip.js";
17
- import "./scb-collapse/scb-collapse.js";
18
- import "./scb-cookies-consent/scb-cookies-consent.js";
19
- import "./scb-datepicker/scb-datepicker.js";
20
- import "./scb-dialog/scb-dialog.js";
21
- import "./scb-divider/scb-divider.js";
22
- import "./scb-drawer/scb-drawer.js";
23
- import "./scb-drop-zone/scb-drop-zone.js";
24
- import "./scb-dropdown/scb-dropdown.js";
25
- import "./scb-fab/scb-fab.js";
26
- import "./scb-fact-card/scb-fact-card-content.js";
27
- import "./scb-fact-card/scb-fact-card.js";
28
- import "./scb-footer/scb-footer-section.js";
29
- import "./scb-footer/scb-footer.js";
30
- import "./scb-gallery-grid/scb-gallery-grid.js";
31
- import "./scb-grid/scb-grid-item.js";
32
- import "./scb-grid/scb-grid.js";
33
- import "./scb-grid/scb-stack.js";
34
- import "./scb-header/scb-header-menu-group.js";
35
- import "./scb-header/scb-header-menu-item.js";
36
- import "./scb-header/scb-header-tab.js";
37
- import "./scb-header/scb-header-utility.js";
38
- import "./scb-header/scb-header.js";
39
- import "./scb-horizontal-scroller/scb-horizontal-scroller.js";
40
- import "./scb-icon-button/scb-icon-button.js";
41
- import "./scb-keyfigure-card/scb-keyfigure-card.js";
42
- import "./scb-link/scb-link.js";
43
- import "./scb-list/scb-list-item.js";
44
- import "./scb-list/scb-list.js";
45
- import "./scb-menu/scb-menu-item.js";
46
- import "./scb-menu/scb-menu-section.js";
47
- import "./scb-menu/scb-menu.js";
48
- import "./scb-menu/scb-sub-menu.js";
49
- import "./scb-nav/scb-nav-item.js";
50
- import "./scb-nav/scb-nav.js";
51
- import "./scb-notification-card/scb-notification-card.js";
52
- import "./scb-options-menu/scb-options-menu-item.js";
53
- import "./scb-options-menu/scb-options-menu.js";
54
- import "./scb-options-menu/scb-options-sub-menu.js";
55
- import "./scb-overlay/scb-overlay.js";
56
- import "./scb-pagination/scb-pagination.js";
57
- import "./scb-progress-indicator/scb-progress-indicator.js";
58
- import "./scb-progress-stepper/scb-progress-step.js";
59
- import "./scb-progress-stepper/scb-progress-stepper.js";
60
- import "./scb-radio-button/scb-radio-button.js";
61
- import "./scb-radio-button/scb-radio-group.js";
62
- import "./scb-scrollspy/scb-scrollspy.js";
63
- import "./scb-search/scb-search.js";
64
- import "./scb-segmented-button/scb-segmented-button.js";
65
- import "./scb-segmented-button/scb-segmented-item.js";
66
- import "./scb-select/scb-select-option.js";
67
- import "./scb-select/scb-select.js";
68
- import "./scb-skeleton/scb-skeleton.js";
69
- import "./scb-slider/scb-slider.js";
70
- import "./scb-snackbar/scb-snackbar.js";
71
- import "./scb-status-pill/scb-status-pill.js";
72
- import "./scb-stepper/scb-step.js";
73
- import "./scb-stepper/scb-stepper.js";
74
- import "./scb-switch/scb-switch.js";
75
- import "./scb-table/scb-table.js";
76
- import "./scb-table-advanced/scb-table-advanced.js";
77
- import "./scb-tabs/scb-primary-tab.js";
78
- import "./scb-tabs/scb-secondary-tab.js";
79
- import "./scb-tabs/scb-tabs.js";
80
- import "./scb-textfield/scb-textfield.js";
81
- import "./scb-toc/scb-toc-item.js";
82
- import "./scb-toc/scb-toc.js";
83
- import "./scb-tooltip/scb-tooltip.js";
84
- import "./scb-vignette/scb-vignette.js";
85
- import "./scb-viz/scb-viz.js";
1
+ import "./index2.js";
@@ -1,4 +1,4 @@
1
- import{a as g,n,i as v,E as p,x as l,t as b}from"../../vendor/vendor.js";import"../../vendor/vendor-material.js";import"../scb-chevron/scb-chevron.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,a,s){try{customElements.get(o)||e(o,a,s)}catch(d){var c=String(d||"");if(c.indexOf("already been used")===-1&&c.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var m=Object.defineProperty,h=Object.getOwnPropertyDescriptor,r=(t,e,o,a)=>{for(var s=a>1?void 0:a?h(e,o):e,c=t.length-1,d;c>=0;c--)(d=t[c])&&(s=(a?d(e,o,s):d(s))||s);return a&&s&&m(e,o,s),s};let i=class extends v{constructor(){super(...arguments),this.open=!1,this.title="",this.content="",this.overline="",this.supportingText="",this.leading=!1,this.leadingVariant="",this.leadingIcon="",this.imgHrefImage="",this.avatarLabel="",this.avatarAlt="",this.avatarVariant="icon",this.avatarSrc="",this.density=0,this._unique=i._uid(),this._ignoreNextNativeTitleAttrChange=!1,this._onSummaryClick=t=>{t.preventDefault();const e=!this.open;this.closest("scb-accordion")?.onItemToggled?.(this,e),this.setOpen(e)},this._onToggle=t=>{const e=t.currentTarget;e.open||(e.open=!0),this._applyInertByOpen()}}static _uid(){return globalThis.crypto?.randomUUID?.()??`${i._uidPrefix}-${++i._uidSeq}`}static get observedAttributes(){const t=super.observedAttributes||[];return t.includes("title")?t:[...t,"title"]}attributeChangedCallback(t,e,o){if(t==="title"&&this._ignoreNextNativeTitleAttrChange){this._ignoreNextNativeTitleAttrChange=!1;return}super.attributeChangedCallback(t,e,o),t==="title"&&o!==null&&(this._ignoreNextNativeTitleAttrChange=!0,this.removeAttribute("title"))}firstUpdated(){this._applyInertByOpen()}_applyInertByOpen(){const t=this.renderRoot.querySelector(".scb-accordion-bottom");t&&(this.open?(t.removeAttribute("inert"),t.setAttribute("aria-hidden","false")):(t.setAttribute("inert",""),t.setAttribute("aria-hidden","true")))}_onKeyDown(t){const e=this.closest("scb-accordion"),a=Array.from(e?.querySelectorAll("scb-accordion-item")||[]).map(d=>d.renderRoot.querySelector("details")?.querySelector(".scb-accordion-top")||null).filter(d=>!!d),s=t.currentTarget,c=a.indexOf(s);switch(t.key){case"ArrowDown":t.preventDefault(),c<a.length-1&&a[c+1].focus();break;case"ArrowUp":t.preventDefault(),c>0&&a[c-1].focus();break;case"Home":t.preventDefault(),a.length&&a[0].focus();break;case"End":t.preventDefault(),a.length&&a[a.length-1].focus();break}}setOpen(t){this.open=!!t;const e=this.renderRoot.querySelector("details");e&&!e.open&&(e.open=!0),this._applyInertByOpen()}updated(t){if(t.has("open")){const e=this.renderRoot.querySelector("details");e&&!e.open&&(e.open=!0),this._applyInertByOpen(),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:this.open,title:this.title},bubbles:!0,composed:!0}))}}render(){const t=`bottom-${this._unique}`,e=`header-${this._unique}`,o=this.leading?this.leadingVariant==="image"&&this.imgHrefImage?l`<img part="leading-image" class="img" src="${this.imgHrefImage}" alt="" />`:this.leadingVariant==="avatar"?l`
1
+ import"../../vendor/vendor-material.js";import{_ as b,b as m,g as h,h as o,v as l,y as s}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as r}from"../../vendor/decorate.js";import"../scb-chevron/scb-chevron.js";(function(){try{var g=typeof globalThis<"u"?globalThis:window;if(!g.__scb_ce_guard_installed__){g.__scb_ce_guard_installed__=!0;var i=customElements.define.bind(customElements);customElements.define=function(t,e,v){try{customElements.get(t)||i(t,e,v)}catch(c){var n=String(c||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw c}}}}catch{}})();var d,p,a=(d=class extends b{constructor(...i){super(...i),this.open=!1,this.title="",this.content="",this.overline="",this.supportingText="",this.leading=!1,this.leadingVariant="",this.leadingIcon="",this.imgHrefImage="",this.avatarLabel="",this.avatarAlt="",this.avatarVariant="icon",this.avatarSrc="",this.density=0,this._unique=p._uid(),this._ignoreNextNativeTitleAttrChange=!1,this._onSummaryClick=t=>{t.preventDefault();const e=!this.open;this.closest("scb-accordion")?.onItemToggled?.(this,e),this.setOpen(e)},this._onToggle=t=>{const e=t.currentTarget;e.open||(e.open=!0),this._applyInertByOpen()}}static _uid(){return globalThis.crypto?.randomUUID?.()??`${p._uidPrefix}-${++p._uidSeq}`}static get observedAttributes(){const i=super.observedAttributes||[];return i.includes("title")?i:[...i,"title"]}attributeChangedCallback(i,t,e){if(i==="title"&&this._ignoreNextNativeTitleAttrChange){this._ignoreNextNativeTitleAttrChange=!1;return}super.attributeChangedCallback(i,t,e),i==="title"&&e!==null&&(this._ignoreNextNativeTitleAttrChange=!0,this.removeAttribute("title"))}firstUpdated(){this._applyInertByOpen()}_applyInertByOpen(){const i=this.renderRoot.querySelector(".scb-accordion-bottom");i&&(this.open?(i.removeAttribute("inert"),i.setAttribute("aria-hidden","false")):(i.setAttribute("inert",""),i.setAttribute("aria-hidden","true")))}_onKeyDown(i){const t=this.closest("scb-accordion"),e=Array.from(t?.querySelectorAll("scb-accordion-item")||[]).map(c=>c.renderRoot.querySelector("details")?.querySelector(".scb-accordion-top")||null).filter(c=>!!c),v=i.currentTarget,n=e.indexOf(v);switch(i.key){case"ArrowDown":i.preventDefault(),n<e.length-1&&e[n+1].focus();break;case"ArrowUp":i.preventDefault(),n>0&&e[n-1].focus();break;case"Home":i.preventDefault(),e.length&&e[0].focus();break;case"End":i.preventDefault(),e.length&&e[e.length-1].focus();break}}setOpen(i){this.open=!!i;const t=this.renderRoot.querySelector("details");t&&!t.open&&(t.open=!0),this._applyInertByOpen()}updated(i){if(i.has("open")){const t=this.renderRoot.querySelector("details");t&&!t.open&&(t.open=!0),this._applyInertByOpen(),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:this.open,title:this.title},bubbles:!0,composed:!0}))}}render(){const i=`bottom-${this._unique}`,t=`header-${this._unique}`,e=this.leading?this.leadingVariant==="image"&&this.imgHrefImage?s`<img part="leading-image" class="img" src="${this.imgHrefImage}" alt="" />`:this.leadingVariant==="avatar"?s`
2
2
  <scb-avatar
3
3
  label=${this.avatarLabel}
4
4
  alt=${this.avatarAlt}
@@ -7,37 +7,37 @@ import{a as g,n,i as v,E as p,x as l,t as b}from"../../vendor/vendor.js";import"
7
7
  shape="circular"
8
8
  variant=${this.avatarVariant}
9
9
  ></scb-avatar>
10
- `:this.leadingVariant==="icon"?l`<md-icon>${this.leadingIcon}</md-icon>`:p:p;return l`
10
+ `:this.leadingVariant==="icon"?s`<md-icon>${this.leadingIcon}</md-icon>`:l:l;return s`
11
11
  <details class="scb-accordion-item" open @toggle=${this._onToggle}>
12
12
  <summary
13
- id=${e}
13
+ id=${t}
14
14
  class="scb-accordion-top"
15
- aria-controls=${t}
15
+ aria-controls=${i}
16
16
  @click=${this._onSummaryClick}
17
17
  @keydown=${this._onKeyDown}
18
18
  >
19
19
  <md-ripple></md-ripple>
20
20
 
21
- ${this.leading?l`<div class="leading">${o}</div>`:p}
21
+ ${this.leading?s`<div class="leading">${e}</div>`:l}
22
22
 
23
23
  <div class="texts">
24
- ${this.overline?l`<div class="overline">${this.overline}</div>`:p}
24
+ ${this.overline?s`<div class="overline">${this.overline}</div>`:l}
25
25
  <div class="title">${this.title}</div>
26
- ${this.supportingText?l`<div class="supporting-text">${this.supportingText}</div>`:p}
26
+ ${this.supportingText?s`<div class="supporting-text">${this.supportingText}</div>`:l}
27
27
  </div>
28
28
 
29
29
  <scb-chevron class="chevron" .open=${this.open}></scb-chevron>
30
30
  </summary>
31
31
 
32
- <div id=${t} class="scb-accordion-bottom" role="region" aria-labelledby=${e}>
32
+ <div id=${i} class="scb-accordion-bottom" role="region" aria-labelledby=${t}>
33
33
  <div class="bottom-inner">
34
34
  <slot>${this.content}</slot>
35
35
  </div>
36
36
  </div>
37
37
  </details>
38
38
 
39
- <md-focus-ring for=${e} inward></md-focus-ring>
40
- `}};i._uidPrefix=`uid-${Math.random().toString(36).slice(2)}`;i._uidSeq=0;i.styles=[g`
39
+ <md-focus-ring for=${t} inward></md-focus-ring>
40
+ `}},p=d,d._uidPrefix=`uid-${Math.random().toString(36).slice(2)}`,d._uidSeq=0,d.styles=[m`
41
41
  :host {
42
42
  display: block;
43
43
  position: relative;
@@ -208,4 +208,4 @@ import{a as g,n,i as v,E as p,x as l,t as b}from"../../vendor/vendor.js";import"
208
208
  @media (prefers-reduced-motion: reduce) {
209
209
  md-ripple { display: none; }
210
210
  }
211
- `];r([n({type:Boolean,reflect:!0})],i.prototype,"open",2);r([n({type:String})],i.prototype,"title",2);r([n({type:String})],i.prototype,"content",2);r([n({type:String,attribute:"overline"})],i.prototype,"overline",2);r([n({type:String,attribute:"supporting-text"})],i.prototype,"supportingText",2);r([n({type:Boolean})],i.prototype,"leading",2);r([n({type:String,attribute:"leading-variant",reflect:!0})],i.prototype,"leadingVariant",2);r([n({type:String,attribute:"leading-icon"})],i.prototype,"leadingIcon",2);r([n({type:String,attribute:"img-href-image",reflect:!0})],i.prototype,"imgHrefImage",2);r([n({type:String,attribute:"avatar-label"})],i.prototype,"avatarLabel",2);r([n({type:String,attribute:"avatar-alt"})],i.prototype,"avatarAlt",2);r([n({type:String,attribute:"avatar-variant"})],i.prototype,"avatarVariant",2);r([n({type:String,attribute:"avatar-src"})],i.prototype,"avatarSrc",2);r([n({type:Number,reflect:!0})],i.prototype,"density",2);i=r([b("scb-accordion-item")],i);
211
+ `],d);r([o({type:Boolean,reflect:!0})],a.prototype,"open",void 0);r([o({type:String})],a.prototype,"title",void 0);r([o({type:String})],a.prototype,"content",void 0);r([o({type:String,attribute:"overline"})],a.prototype,"overline",void 0);r([o({type:String,attribute:"supporting-text"})],a.prototype,"supportingText",void 0);r([o({type:Boolean})],a.prototype,"leading",void 0);r([o({type:String,attribute:"leading-variant",reflect:!0})],a.prototype,"leadingVariant",void 0);r([o({type:String,attribute:"leading-icon"})],a.prototype,"leadingIcon",void 0);r([o({type:String,attribute:"img-href-image",reflect:!0})],a.prototype,"imgHrefImage",void 0);r([o({type:String,attribute:"avatar-label"})],a.prototype,"avatarLabel",void 0);r([o({type:String,attribute:"avatar-alt"})],a.prototype,"avatarAlt",void 0);r([o({type:String,attribute:"avatar-variant"})],a.prototype,"avatarVariant",void 0);r([o({type:String,attribute:"avatar-src"})],a.prototype,"avatarSrc",void 0);r([o({type:Number,reflect:!0})],a.prototype,"density",void 0);a=p=r([h("scb-accordion-item")],a);
@@ -1,18 +1,18 @@
1
- import{a as _,n as l,i as O,E as k,x as b,t as S}from"../../vendor/vendor.js";import"./scb-accordion-item.js";import"../scb-button/scb-button.js";import"../../vendor/vendor-material.js";import"../scb-chevron/scb-chevron.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,s,n){try{customElements.get(i)||e(i,s,n)}catch(d){var p=String(d||"");if(p.indexOf("already been used")===-1&&p.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var C=Object.defineProperty,w=Object.getOwnPropertyDescriptor,u=t=>{throw TypeError(t)},r=(t,e,i,s)=>{for(var n=s>1?void 0:s?w(e,i):e,p=t.length-1,d;p>=0;p--)(d=t[p])&&(n=(s?d(e,i,n):d(n))||n);return s&&n&&C(e,i,n),n},A=(t,e,i)=>e.has(t)||u("Cannot "+i),T=(t,e,i)=>e.has(t)?u("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),a=(t,e,i)=>(A(t,e,"access private method"),i),o,m,v,h,y,g,f;let c=class extends O{constructor(){super(...arguments),T(this,o),this.singleOpen=!1,this.showCloseAll=!1,this.size="large",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0}connectedCallback(){super.connectedCallback(),this.addEventListener("open-changed",a(this,o,h))}disconnectedCallback(){this.removeEventListener("open-changed",a(this,o,h)),super.disconnectedCallback()}render(){const t=!this.singleOpen&&this.showCloseAll,e=t?a(this,o,m).call(this):!1;return b`
1
+ import{_ as m,b as v,g as y,h as a,v as _,y as b}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as c}from"../../vendor/decorate.js";import"./scb-accordion-item.js";import{n as k,t as n}from"../../vendor/assertClassBrand.js";import"../scb-button/scb-button.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(i,r,l){try{customElements.get(i)||t(i,r,l)}catch(h){var g=String(h||"");if(g.indexOf("already been used")===-1&&g.indexOf("NotSupportedError")===-1)throw h}}}}catch{}})();var s,p,o=(s=new WeakSet,p=class extends m{constructor(...t){super(...t),k(this,s),this.singleOpen=!1,this.showCloseAll=!1,this.size="large",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0}connectedCallback(){super.connectedCallback(),this.addEventListener("open-changed",n(s,this,f))}disconnectedCallback(){this.removeEventListener("open-changed",n(s,this,f)),super.disconnectedCallback()}render(){const t=!this.singleOpen&&this.showCloseAll,i=t?n(s,this,S).call(this):!1;return b`
2
2
  <div class="scb-accordion" ?single-open=${this.singleOpen}>
3
3
  ${t?b`
4
4
  <div class="scb-accordion-actions" role="toolbar" aria-label="Accordionkontroller">
5
5
  <scb-button
6
6
  variant="text"
7
- label=${e?"Stäng alla":"Öppna alla"}
8
- @click=${a(this,o,v)}
7
+ label=${i?"Stäng alla":"Öppna alla"}
8
+ @click=${n(s,this,O)}
9
9
  ></scb-button>
10
10
  </div>
11
- `:k}
11
+ `:_}
12
12
 
13
- <slot @slotchange=${a(this,o,y)}></slot>
13
+ <slot @slotchange=${n(s,this,A)}></slot>
14
14
  </div>
15
- `}firstUpdated(){a(this,o,f).call(this),a(this,o,g).call(this)}updated(t){(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&a(this,o,f).call(this),t.has("singleOpen")&&a(this,o,g).call(this)}_getDirectItems(){return Array.from(this.children).filter(t=>t.tagName==="SCB-ACCORDION-ITEM")}onItemToggled(t,e){if(this.singleOpen&&e){this._getDirectItems().forEach(s=>{s!==t&&s.setOpen(!1)});return}!this.singleOpen&&this.showCloseAll&&this.requestUpdate()}mapSpacingToken(t){if(!t)return;const e=String(t).trim();if(e)return/^\d+$/.test(e)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(e,10)))})`:e}};o=new WeakSet;m=function(){const t=this._getDirectItems();return t.length>0&&t.every(e=>e.open)};v=function(){if(this.singleOpen||!this.showCloseAll)return;const t=this._getDirectItems(),e=t.length>0&&t.every(i=>i.open);t.forEach(i=>i.setOpen(!e))};h=function(){this.singleOpen||this.showCloseAll&&this.requestUpdate()};y=function(){if(this.singleOpen){a(this,o,g).call(this);return}this.showCloseAll&&this.requestUpdate()};g=function(){if(!this.singleOpen)return;const e=this._getDirectItems().filter(i=>i.open);e.length<=1||e.slice(1).forEach(i=>i.setOpen(!1))};f=function(){const t=this.mapSpacingToken(this.spacing),e=this.mapSpacingToken(this.spacingTop)??t,i=this.mapSpacingToken(this.spacingBottom)??t,s=this.mapSpacingToken(this.spacingLeft),n=this.mapSpacingToken(this.spacingRight);e?this.style.setProperty("--scb-accordion-spacing-block-start",e):this.style.removeProperty("--scb-accordion-spacing-block-start"),i?this.style.setProperty("--scb-accordion-spacing-block-end",i):this.style.removeProperty("--scb-accordion-spacing-block-end"),s?this.style.setProperty("--scb-accordion-spacing-inline-start",s):this.style.removeProperty("--scb-accordion-spacing-inline-start"),n?this.style.setProperty("--scb-accordion-spacing-inline-end",n):this.style.removeProperty("--scb-accordion-spacing-inline-end")};c.styles=_`
15
+ `}firstUpdated(){n(s,this,u).call(this),n(s,this,d).call(this)}updated(t){(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&n(s,this,u).call(this),t.has("singleOpen")&&n(s,this,d).call(this)}_getDirectItems(){return Array.from(this.children).filter(t=>t.tagName==="SCB-ACCORDION-ITEM")}onItemToggled(t,i){if(this.singleOpen&&i){this._getDirectItems().forEach(r=>{r!==t&&r.setOpen(!1)});return}!this.singleOpen&&this.showCloseAll&&this.requestUpdate()}mapSpacingToken(t){if(!t)return;const i=String(t).trim();if(i)return/^\d+$/.test(i)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(i,10)))})`:i}},p.styles=v`
16
16
  :host {
17
17
  display: block;
18
18
  margin-block-start: var(--scb-accordion-spacing-block-start, 0);
@@ -41,4 +41,4 @@ import{a as _,n as l,i as O,E as k,x as b,t as S}from"../../vendor/vendor.js";im
41
41
  padding-block-start: var(--scb-accordion-actions-padding-block);
42
42
  padding-block-end: var(--scb-accordion-actions-padding-block);
43
43
  }
44
- `;r([l({type:Boolean,attribute:"single-open",reflect:!0})],c.prototype,"singleOpen",2);r([l({type:Boolean,attribute:"show-close-all",reflect:!0})],c.prototype,"showCloseAll",2);r([l({type:String,reflect:!0})],c.prototype,"size",2);r([l({type:String,reflect:!0})],c.prototype,"spacing",2);r([l({type:String,attribute:"spacing-top",reflect:!0})],c.prototype,"spacingTop",2);r([l({type:String,attribute:"spacing-bottom",reflect:!0})],c.prototype,"spacingBottom",2);r([l({type:String,attribute:"spacing-left",reflect:!0})],c.prototype,"spacingLeft",2);r([l({type:String,attribute:"spacing-right",reflect:!0})],c.prototype,"spacingRight",2);c=r([S("scb-accordion")],c);
44
+ `,p);function S(){const e=this._getDirectItems();return e.length>0&&e.every(t=>t.open)}function O(){if(this.singleOpen||!this.showCloseAll)return;const e=this._getDirectItems(),t=e.length>0&&e.every(i=>i.open);e.forEach(i=>i.setOpen(!t))}function f(){this.singleOpen||this.showCloseAll&&this.requestUpdate()}function A(){if(this.singleOpen){n(s,this,d).call(this);return}this.showCloseAll&&this.requestUpdate()}function d(){if(!this.singleOpen)return;const e=this._getDirectItems().filter(t=>t.open);e.length<=1||e.slice(1).forEach(t=>t.setOpen(!1))}function u(){const e=this.mapSpacingToken(this.spacing),t=this.mapSpacingToken(this.spacingTop)??e,i=this.mapSpacingToken(this.spacingBottom)??e,r=this.mapSpacingToken(this.spacingLeft),l=this.mapSpacingToken(this.spacingRight);t?this.style.setProperty("--scb-accordion-spacing-block-start",t):this.style.removeProperty("--scb-accordion-spacing-block-start"),i?this.style.setProperty("--scb-accordion-spacing-block-end",i):this.style.removeProperty("--scb-accordion-spacing-block-end"),r?this.style.setProperty("--scb-accordion-spacing-inline-start",r):this.style.removeProperty("--scb-accordion-spacing-inline-start"),l?this.style.setProperty("--scb-accordion-spacing-inline-end",l):this.style.removeProperty("--scb-accordion-spacing-inline-end")}c([a({type:Boolean,attribute:"single-open",reflect:!0})],o.prototype,"singleOpen",void 0);c([a({type:Boolean,attribute:"show-close-all",reflect:!0})],o.prototype,"showCloseAll",void 0);c([a({type:String,reflect:!0})],o.prototype,"size",void 0);c([a({type:String,reflect:!0})],o.prototype,"spacing",void 0);c([a({type:String,attribute:"spacing-top",reflect:!0})],o.prototype,"spacingTop",void 0);c([a({type:String,attribute:"spacing-bottom",reflect:!0})],o.prototype,"spacingBottom",void 0);c([a({type:String,attribute:"spacing-left",reflect:!0})],o.prototype,"spacingLeft",void 0);c([a({type:String,attribute:"spacing-right",reflect:!0})],o.prototype,"spacingRight",void 0);o=c([y("scb-accordion")],o);
@@ -1,37 +1,37 @@
1
- import{a as $,n as h,i as E,x as f,t as k}from"../../vendor/vendor.js";import"../scb-icon-button/scb-icon-button.js";import"../scb-button/scb-button.js";import"../scb-search/scb-search.js";import"../scb-avatar/scb-avatar.js";import"../../vendor/preload-helper.js";import"../../vendor/vendor-material.js";import"../scb-list/scb-list.js";import"../scb-list/scb-list-item.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,s,n){try{customElements.get(i)||e(i,s,n)}catch(o){var c=String(o||"");if(c.indexOf("already been used")===-1&&c.indexOf("NotSupportedError")===-1)throw o}}}}catch{}})();var O=Object.defineProperty,B=Object.getOwnPropertyDescriptor,_=t=>{throw TypeError(t)},p=(t,e,i,s)=>{for(var n=s>1?void 0:s?B(e,i):e,c=t.length-1,o;c>=0;c--)(o=t[c])&&(n=(s?o(e,i,n):o(n))||n);return s&&n&&O(e,i,n),n},S=(t,e,i)=>e.has(t)||_("Cannot "+i),g=(t,e,i)=>(S(t,e,"read from private field"),i?i.call(t):e.get(t)),P=(t,e,i)=>e.has(t)?_("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),r=(t,e,i)=>(S(t,e,"access private method"),i),a,m,b,u,v,x,y,d;let l=class extends E{constructor(){super(...arguments),P(this,a),this.title="",this.appBarTitle="",this.type="default",this.position="default",this.searchSupportingText="",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this.__titleResizeRaf=0}connectedCallback(){super.connectedCallback(),typeof ResizeObserver<"u"&&(this.__titleResizeObserver=new ResizeObserver(()=>r(this,a,m).call(this)))}disconnectedCallback(){this.__titleResizeRaf&&(cancelAnimationFrame(this.__titleResizeRaf),this.__titleResizeRaf=0),this.__titleResizeObserver?.disconnect(),this.__titleResizeObserver=void 0,super.disconnectedCallback()}handleActionsSlotChange(t){t.target.assignedElements({flatten:!0}).forEach(s=>{if(s.tagName==="SCB-BUTTON"){const n=s;n.hasAttribute("size")||n.setAttribute("size","small")}}),r(this,a,m).call(this)}handleAvatarSlotChange(t){t.target.assignedElements({flatten:!0}).forEach(s=>{s.tagName==="SCB-AVATAR"&&s.setAttribute("size","small")}),r(this,a,m).call(this)}firstUpdated(){r(this,a,y).call(this),r(this,a,b).call(this)}updated(t){(t.has("title")||t.has("appBarTitle"))&&(this.dispatchEvent(new CustomEvent("title-changed",{detail:{title:g(this,a,d)},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("app-bar-title-changed",{detail:{appBarTitle:g(this,a,d)},bubbles:!0,composed:!0}))),t.has("position")&&this.dispatchEvent(new CustomEvent("position-changed",{detail:{position:this.position},bubbles:!0,composed:!0})),t.has("type")&&(this.dispatchEvent(new CustomEvent("type-changed",{detail:{type:this.type},bubbles:!0,composed:!0})),r(this,a,b).call(this)),t.has("searchSupportingText")&&this.dispatchEvent(new CustomEvent("search-supporting-text-changed",{detail:{searchSupportingText:this.searchSupportingText},bubbles:!0,composed:!0})),(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&r(this,a,y).call(this)}mapSpacingToken(t){if(!t)return;const e=String(t).trim();if(e)return/^\d+$/.test(e)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(e,10)))})`:e}render(){switch(this.type){case"small-flexible":return f`
1
+ import{_ as z,b as T,g as $,h as o,y as d}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as r}from"../../vendor/decorate.js";import{n as w,t as s}from"../../vendor/assertClassBrand.js";import"../scb-button/scb-button.js";import"../scb-icon-button/scb-icon-button.js";import"../scb-search/scb-search.js";import"../scb-avatar/scb-avatar.js";(function(){try{var a=typeof globalThis<"u"?globalThis:window;if(!a.__scb_ce_guard_installed__){a.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(e,n,h){try{customElements.get(e)||t(e,n,h)}catch(p){var g=String(p||"");if(g.indexOf("already been used")===-1&&g.indexOf("NotSupportedError")===-1)throw p}}}}catch{}})();var i,b,l=(i=new WeakSet,b=class extends z{constructor(...t){super(...t),w(this,i),this.title="",this.appBarTitle="",this.type="default",this.position="default",this.searchSupportingText="",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this.__titleResizeRaf=0}connectedCallback(){super.connectedCallback(),typeof ResizeObserver<"u"&&(this.__titleResizeObserver=new ResizeObserver(()=>s(i,this,m).call(this)))}disconnectedCallback(){this.__titleResizeRaf&&(cancelAnimationFrame(this.__titleResizeRaf),this.__titleResizeRaf=0),this.__titleResizeObserver?.disconnect(),this.__titleResizeObserver=void 0,super.disconnectedCallback()}handleActionsSlotChange(t){t.target.assignedElements({flatten:!0}).forEach(e=>{if(e.tagName==="SCB-BUTTON"){const n=e;n.hasAttribute("size")||n.setAttribute("size","small")}}),s(i,this,m).call(this)}handleAvatarSlotChange(t){t.target.assignedElements({flatten:!0}).forEach(e=>{e.tagName==="SCB-AVATAR"&&e.setAttribute("size","small")}),s(i,this,m).call(this)}firstUpdated(){s(i,this,y).call(this),s(i,this,u).call(this)}updated(t){(t.has("title")||t.has("appBarTitle"))&&(this.dispatchEvent(new CustomEvent("title-changed",{detail:{title:c.call(s(i,this))},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("app-bar-title-changed",{detail:{appBarTitle:c.call(s(i,this))},bubbles:!0,composed:!0}))),t.has("position")&&this.dispatchEvent(new CustomEvent("position-changed",{detail:{position:this.position},bubbles:!0,composed:!0})),t.has("type")&&(this.dispatchEvent(new CustomEvent("type-changed",{detail:{type:this.type},bubbles:!0,composed:!0})),s(i,this,u).call(this)),t.has("searchSupportingText")&&this.dispatchEvent(new CustomEvent("search-supporting-text-changed",{detail:{searchSupportingText:this.searchSupportingText},bubbles:!0,composed:!0})),(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&s(i,this,y).call(this)}mapSpacingToken(t){if(!t)return;const e=String(t).trim();if(e)return/^\d+$/.test(e)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(e,10)))})`:e}render(){switch(this.type){case"small-flexible":return d`
2
2
  <header class="small-flexible ${this.position=="bottom"?"position-bottom":this.position=="top"?"position-top":""}" role="banner" aria-label="Small app bar">
3
3
  <div class="leading">
4
4
  <slot name="leading" @slotchange=${this.handleActionsSlotChange}></slot>
5
5
  </div>
6
- <h1 class="headline">${g(this,a,d)}</h1>
6
+ <h1 class="headline">${c.call(s(i,this))}</h1>
7
7
  <div class="trailing">
8
8
  <slot name="trailing" @slotchange=${this.handleActionsSlotChange}></slot>
9
9
  <slot name="avatar" @slotchange=${this.handleAvatarSlotChange}></slot>
10
10
  </div>
11
11
  </header>
12
- `;case"medium-flexible":return f`
12
+ `;case"medium-flexible":return d`
13
13
  <header class="medium-flexible ${this.position=="bottom"?"position-bottom":this.position=="top"?"position-top":""}" role="banner" aria-label="Medium flexible app bar">
14
14
  <div class="leading">
15
15
  <slot name="leading" @slotchange=${this.handleActionsSlotChange}></slot>
16
16
  </div>
17
- <h1 class="headline">${g(this,a,d)}</h1>
17
+ <h1 class="headline">${c.call(s(i,this))}</h1>
18
18
  <div class="trailing">
19
19
  <slot name="trailing" @slotchange=${this.handleActionsSlotChange}></slot>
20
20
  <slot name="avatar" @slotchange=${this.handleAvatarSlotChange}></slot>
21
21
  </div>
22
22
  </header>
23
- `;case"large-flexible":return f`
23
+ `;case"large-flexible":return d`
24
24
  <header class="large-flexible ${this.position=="bottom"?"position-bottom":this.position=="top"?"position-top":""}" role="banner" aria-label="Large flexible app bar">
25
25
  <div class="leading">
26
26
  <slot name="leading" @slotchange=${this.handleActionsSlotChange}></slot>
27
27
  </div>
28
- <h1 class="headline">${g(this,a,d)}</h1>
28
+ <h1 class="headline">${c.call(s(i,this))}</h1>
29
29
  <div class="trailing">
30
30
  <slot name="trailing" @slotchange=${this.handleActionsSlotChange}></slot>
31
31
  <slot name="avatar" @slotchange=${this.handleAvatarSlotChange}></slot>
32
32
  </div>
33
33
  </header>
34
- `;case"search":return f`
34
+ `;case"search":return d`
35
35
  <header class="search ${this.position=="bottom"?"position-bottom":this.position=="top"?"position-top":""}" role="banner" aria-label="Search app bar">
36
36
  <div class="leading">
37
37
  <slot name="leading" @slotchange=${this.handleActionsSlotChange}></slot>
@@ -44,18 +44,18 @@ import{a as $,n as h,i as E,x as f,t as k}from"../../vendor/vendor.js";import"..
44
44
  <slot name="avatar" @slotchange=${this.handleAvatarSlotChange}></slot>
45
45
  </div>
46
46
  </header>
47
- `;default:return f`
47
+ `;default:return d`
48
48
  <header class="default ${this.position=="bottom"?"position-bottom":this.position=="top"?"position-top":""}" role="banner" aria-label="Small app bar">
49
49
  <div class="leading">
50
50
  <slot name="leading" @slotchange=${this.handleActionsSlotChange}></slot>
51
51
  </div>
52
- <h1 class="headline">${g(this,a,d)}</h1>
52
+ <h1 class="headline">${c.call(s(i,this))}</h1>
53
53
  <div class="trailing">
54
54
  <slot name="trailing" @slotchange=${this.handleActionsSlotChange}></slot>
55
55
  <slot name="avatar" @slotchange=${this.handleAvatarSlotChange}></slot>
56
56
  </div>
57
57
  </header>
58
- `}}};a=new WeakSet;m=function(){this.type==="default"&&(this.__titleResizeRaf||(this.__titleResizeRaf=requestAnimationFrame(()=>{this.__titleResizeRaf=0,r(this,a,x).call(this)})))};b=function(){this.__titleResizeObserver?.disconnect();const t=this.shadowRoot?.querySelector("header");if(t&&t.style.removeProperty("--scb-app-bar-title-max-width"),this.type!=="default"||!this.__titleResizeObserver)return;const e=this.shadowRoot?.querySelector("header.default");if(!e)return;const i=e.querySelector(".leading"),s=e.querySelector(".trailing");!i||!s||(this.__titleResizeObserver.observe(e),this.__titleResizeObserver.observe(i),this.__titleResizeObserver.observe(s),r(this,a,m).call(this))};u=function(t){if(!t)return 0;const e=parseFloat(t);return Number.isFinite(e)?e:0};v=function(t){const e=getComputedStyle(t);return r(this,a,u).call(this,e.columnGap||e.gap)};x=function(){const t=this.shadowRoot?.querySelector("header.default");if(!t)return;const e=t.querySelector(".leading"),i=t.querySelector(".trailing");if(!e||!i)return;const s=t.getBoundingClientRect(),n=e.getBoundingClientRect(),c=i.getBoundingClientRect(),o=getComputedStyle(t),C=r(this,a,u).call(this,o.paddingInlineStart||o.paddingLeft),R=r(this,a,u).call(this,o.paddingInlineEnd||o.paddingRight),T=Math.max(0,s.width-C-R),z=Math.max(n.width,c.width),A=Math.max(r(this,a,v).call(this,e),r(this,a,v).call(this,i)),w=Math.max(0,T-z*2-A*2);t.style.setProperty("--scb-app-bar-title-max-width",`${w}px`)};y=function(){const t=this.mapSpacingToken(this.spacing),e=this.mapSpacingToken(this.spacingTop)??t,i=this.mapSpacingToken(this.spacingBottom)??t,s=this.mapSpacingToken(this.spacingLeft),n=this.mapSpacingToken(this.spacingRight);e?this.style.setProperty("--scb-app-bar-spacing-block-start",e):this.style.removeProperty("--scb-app-bar-spacing-block-start"),i?this.style.setProperty("--scb-app-bar-spacing-block-end",i):this.style.removeProperty("--scb-app-bar-spacing-block-end"),s?this.style.setProperty("--scb-app-bar-spacing-inline-start",s):this.style.removeProperty("--scb-app-bar-spacing-inline-start"),n?this.style.setProperty("--scb-app-bar-spacing-inline-end",n):this.style.removeProperty("--scb-app-bar-spacing-inline-end")};d=function(){return this.appBarTitle||this.title};l.styles=[$`
58
+ `}}},b.styles=[T`
59
59
  :host {
60
60
  display: block;
61
61
  font-family: var(--brand-font, Inter, Arial, sans-serif);
@@ -163,4 +163,4 @@ import{a as $,n as h,i as E,x as f,t as k}from"../../vendor/vendor.js";import"..
163
163
  align-items: center;
164
164
  gap: var(--spacing-2);
165
165
  }
166
- `];p([h({type:String,reflect:!0})],l.prototype,"title",2);p([h({type:String,attribute:"app-bar-title",reflect:!0})],l.prototype,"appBarTitle",2);p([h({type:String,reflect:!0})],l.prototype,"type",2);p([h({type:String,reflect:!0})],l.prototype,"position",2);p([h({type:String,attribute:"search-supporting-text",reflect:!0})],l.prototype,"searchSupportingText",2);p([h({type:String,reflect:!0})],l.prototype,"spacing",2);p([h({type:String,attribute:"spacing-top",reflect:!0})],l.prototype,"spacingTop",2);p([h({type:String,attribute:"spacing-bottom",reflect:!0})],l.prototype,"spacingBottom",2);p([h({type:String,attribute:"spacing-left",reflect:!0})],l.prototype,"spacingLeft",2);p([h({type:String,attribute:"spacing-right",reflect:!0})],l.prototype,"spacingRight",2);l=p([k("scb-app-bar")],l);
166
+ `],b);function m(){this.type==="default"&&(this.__titleResizeRaf||(this.__titleResizeRaf=requestAnimationFrame(()=>{this.__titleResizeRaf=0,s(i,this,k).call(this)})))}function u(){this.__titleResizeObserver?.disconnect();const a=this.shadowRoot?.querySelector("header");if(a&&a.style.removeProperty("--scb-app-bar-title-max-width"),this.type!=="default"||!this.__titleResizeObserver)return;const t=this.shadowRoot?.querySelector("header.default");if(!t)return;const e=t.querySelector(".leading"),n=t.querySelector(".trailing");!e||!n||(this.__titleResizeObserver.observe(t),this.__titleResizeObserver.observe(e),this.__titleResizeObserver.observe(n),s(i,this,m).call(this))}function f(a){if(!a)return 0;const t=parseFloat(a);return Number.isFinite(t)?t:0}function v(a){const t=getComputedStyle(a);return s(i,this,f).call(this,t.columnGap||t.gap)}function k(){const a=this.shadowRoot?.querySelector("header.default");if(!a)return;const t=a.querySelector(".leading"),e=a.querySelector(".trailing");if(!t||!e)return;const n=a.getBoundingClientRect(),h=t.getBoundingClientRect(),g=e.getBoundingClientRect(),p=getComputedStyle(a),S=s(i,this,f).call(this,p.paddingInlineStart||p.paddingLeft),_=s(i,this,f).call(this,p.paddingInlineEnd||p.paddingRight),x=Math.max(0,n.width-S-_),R=Math.max(h.width,g.width),C=Math.max(s(i,this,v).call(this,t),s(i,this,v).call(this,e)),A=Math.max(0,x-R*2-C*2);a.style.setProperty("--scb-app-bar-title-max-width",`${A}px`)}function y(){const a=this.mapSpacingToken(this.spacing),t=this.mapSpacingToken(this.spacingTop)??a,e=this.mapSpacingToken(this.spacingBottom)??a,n=this.mapSpacingToken(this.spacingLeft),h=this.mapSpacingToken(this.spacingRight);t?this.style.setProperty("--scb-app-bar-spacing-block-start",t):this.style.removeProperty("--scb-app-bar-spacing-block-start"),e?this.style.setProperty("--scb-app-bar-spacing-block-end",e):this.style.removeProperty("--scb-app-bar-spacing-block-end"),n?this.style.setProperty("--scb-app-bar-spacing-inline-start",n):this.style.removeProperty("--scb-app-bar-spacing-inline-start"),h?this.style.setProperty("--scb-app-bar-spacing-inline-end",h):this.style.removeProperty("--scb-app-bar-spacing-inline-end")}function c(){return this.appBarTitle||this.title}r([o({type:String,reflect:!0})],l.prototype,"title",void 0);r([o({type:String,attribute:"app-bar-title",reflect:!0})],l.prototype,"appBarTitle",void 0);r([o({type:String,reflect:!0})],l.prototype,"type",void 0);r([o({type:String,reflect:!0})],l.prototype,"position",void 0);r([o({type:String,attribute:"search-supporting-text",reflect:!0})],l.prototype,"searchSupportingText",void 0);r([o({type:String,reflect:!0})],l.prototype,"spacing",void 0);r([o({type:String,attribute:"spacing-top",reflect:!0})],l.prototype,"spacingTop",void 0);r([o({type:String,attribute:"spacing-bottom",reflect:!0})],l.prototype,"spacingBottom",void 0);r([o({type:String,attribute:"spacing-left",reflect:!0})],l.prototype,"spacingLeft",void 0);r([o({type:String,attribute:"spacing-right",reflect:!0})],l.prototype,"spacingRight",void 0);l=r([$("scb-app-bar")],l);
@@ -1,22 +1,22 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/vendor-material.js","../../vendor/vendor.js"])))=>i.map(i=>d[i]);
2
- import{_ as m}from"../../vendor/preload-helper.js";import{a as f,n,r as _,i as b,E as h,x as c,t as y}from"../../vendor/vendor.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var i=customElements.define.bind(customElements);customElements.define=function(e,r,o){try{customElements.get(e)||i(e,r,o)}catch(p){var l=String(p||"");if(l.indexOf("already been used")===-1&&l.indexOf("NotSupportedError")===-1)throw p}}}}catch{}})();var z=Object.defineProperty,S=Object.getOwnPropertyDescriptor,u=t=>{throw TypeError(t)},s=(t,i,e,r)=>{for(var o=r>1?void 0:r?S(i,e):i,l=t.length-1,p;l>=0;l--)(p=t[l])&&(o=(r?p(i,e,o):p(o))||o);return r&&o&&z(i,e,o),o},x=(t,i,e)=>i.has(t)||u("Cannot "+e),k=(t,i,e)=>i.has(t)?u("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(t):i.set(t,e),v=(t,i,e)=>(x(t,i,"access private method"),e),d,g;let a=class extends b{constructor(){super(...arguments),k(this,d),this.src="",this.alt="",this.label="",this.size="medium",this.shape="circular",this.iconName="",this.variant="image",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this._imgError=!1,this._hasIconSlot=!1,this._onImgLoad=()=>{this._imgError=!1,this.dispatchEvent(new CustomEvent("image-load",{bubbles:!0,composed:!0}))},this._onImgError=()=>{this._imgError=!0,this.dispatchEvent(new CustomEvent("image-error",{bubbles:!0,composed:!0}))},this._onIconSlotChange=t=>{const i=t.currentTarget;this._hasIconSlot=(i.assignedNodes({flatten:!0})||[]).length>0}}async firstUpdated(){this.variant==="icon"&&await m(()=>import("../../vendor/vendor-material.js").then(t=>t.i),__vite__mapDeps([0,1]),import.meta.url),v(this,d,g).call(this)}updated(t){super.updated(t),t.has("variant")&&this.variant==="icon"&&m(()=>import("../../vendor/vendor-material.js").then(i=>i.i),__vite__mapDeps([0,1]),import.meta.url),(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&v(this,d,g).call(this)}_initials(){const t=(this.label||this.alt||"").trim();if(!t)return"?";const i=t.split(/\s+/).filter(Boolean);if(i.length===1)return i[0].slice(0,1).toUpperCase();const e=i[0].slice(0,1),r=i[i.length-1].slice(0,1);return(e+r).toUpperCase()}_ariaLabel(){const t=(this.label||this.alt||"").trim();return t||null}mapSpacingToken(t){if(!t)return;const i=String(t).trim();if(i)return/^\d+$/.test(i)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(i,10)))})`:i}render(){const t=this._ariaLabel(),i=this.variant==="image"&&!!this.src&&!this._imgError,e=c`${h}
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/vendor-material.js","../../vendor/vendor.js","../../vendor/vendor-lit.js"])))=>i.map(i=>d[i]);
2
+ import{_ as b,b as f,g as y,h as s,m as u,v as l,y as n}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as a}from"../../vendor/decorate.js";import{n as z,t as m}from"../../vendor/assertClassBrand.js";import{t as v}from"../../vendor/preload-helper.js";(function(){try{var r=typeof globalThis<"u"?globalThis:window;if(!r.__scb_ce_guard_installed__){r.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(i,o,c){try{customElements.get(i)||t(i,o,c)}catch(g){var d=String(g||"");if(d.indexOf("already been used")===-1&&d.indexOf("NotSupportedError")===-1)throw g}}}}catch{}})();var p,h,e=(p=new WeakSet,h=class extends b{constructor(...t){super(...t),z(this,p),this.src="",this.alt="",this.label="",this.size="medium",this.shape="circular",this.iconName="",this.variant="image",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this._imgError=!1,this._hasIconSlot=!1,this._onImgLoad=()=>{this._imgError=!1,this.dispatchEvent(new CustomEvent("image-load",{bubbles:!0,composed:!0}))},this._onImgError=()=>{this._imgError=!0,this.dispatchEvent(new CustomEvent("image-error",{bubbles:!0,composed:!0}))},this._onIconSlotChange=i=>{const o=i.currentTarget;this._hasIconSlot=(o.assignedNodes({flatten:!0})||[]).length>0}}async firstUpdated(){this.variant==="icon"&&await v(()=>import("../../vendor/vendor-material.js").then(t=>t.p),__vite__mapDeps([0,1,2]),import.meta.url),m(p,this,_).call(this)}updated(t){super.updated(t),t.has("variant")&&this.variant==="icon"&&v(()=>import("../../vendor/vendor-material.js").then(i=>i.p),__vite__mapDeps([0,1,2]),import.meta.url),(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&m(p,this,_).call(this)}_initials(){const t=(this.label||this.alt||"").trim();if(!t)return"?";const i=t.split(/\s+/).filter(Boolean);return i.length===1?i[0].slice(0,1).toUpperCase():(i[0].slice(0,1)+i[i.length-1].slice(0,1)).toUpperCase()}_ariaLabel(){const t=(this.label||this.alt||"").trim();return t||null}mapSpacingToken(t){if(!t)return;const i=String(t).trim();if(i)return/^\d+$/.test(i)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(i,10)))})`:i}render(){const t=this._ariaLabel(),i=this.variant==="image"&&!!this.src&&!this._imgError,o=n`${l}
3
3
  <slot name="icon" @slotchange=${this._onIconSlotChange}></slot>
4
- ${this._hasIconSlot?h:this.iconName?c`<md-icon aria-hidden="true">${this.iconName}</md-icon>`:c`<div class="fallback" part="fallback">${this._initials()}</div>`}
5
- `,r=i?c`<img
4
+ ${this._hasIconSlot?l:this.iconName?n`<md-icon aria-hidden="true">${this.iconName}</md-icon>`:n`<div class="fallback" part="fallback">${this._initials()}</div>`}
5
+ `,c=i?n`<img
6
6
  class="photo"
7
7
  part="image"
8
8
  src=${this.src}
9
9
  alt=${this.alt}
10
10
  @load=${this._onImgLoad}
11
11
  @error=${this._onImgError}
12
- />`:c`
12
+ />`:n`
13
13
  <slot name="icon" @slotchange=${this._onIconSlotChange}></slot>
14
- ${this._hasIconSlot?h:this.iconName?c`<md-icon aria-hidden="true">${this.iconName}</md-icon>`:c`<div class="fallback" part="fallback">${this._initials()}</div>`}
15
- `;return c`
16
- <div class="container" part="container" role="img" aria-label=${t??h}>
17
- ${this.variant==="icon"?e:r}
14
+ ${this._hasIconSlot?l:this.iconName?n`<md-icon aria-hidden="true">${this.iconName}</md-icon>`:n`<div class="fallback" part="fallback">${this._initials()}</div>`}
15
+ `;return n`
16
+ <div class="container" part="container" role="img" aria-label=${t??l}>
17
+ ${this.variant==="icon"?o:c}
18
18
  </div>
19
- `}};d=new WeakSet;g=function(){const t=this.mapSpacingToken(this.spacing),i=this.mapSpacingToken(this.spacingTop)??t,e=this.mapSpacingToken(this.spacingBottom)??t,r=this.mapSpacingToken(this.spacingLeft)??t,o=this.mapSpacingToken(this.spacingRight)??t;i?this.style.setProperty("--scb-avatar-spacing-block-start",i):this.style.removeProperty("--scb-avatar-spacing-block-start"),e?this.style.setProperty("--scb-avatar-spacing-block-end",e):this.style.removeProperty("--scb-avatar-spacing-block-end"),r?this.style.setProperty("--scb-avatar-spacing-inline-start",r):this.style.removeProperty("--scb-avatar-spacing-inline-start"),o?this.style.setProperty("--scb-avatar-spacing-inline-end",o):this.style.removeProperty("--scb-avatar-spacing-inline-end")};a.styles=f`
19
+ `}},h.styles=f`
20
20
  :host {
21
21
  display: inline-block;
22
22
  vertical-align: middle;
@@ -108,4 +108,4 @@ import{_ as m}from"../../vendor/preload-helper.js";import{a as f,n,r as _,i as b
108
108
  outline-offset: 2px;
109
109
  border-radius: var(--_radius);
110
110
  }
111
- `;s([n({type:String})],a.prototype,"src",2);s([n({type:String})],a.prototype,"alt",2);s([n({type:String})],a.prototype,"label",2);s([n({type:String,reflect:!0})],a.prototype,"size",2);s([n({type:String,reflect:!0})],a.prototype,"shape",2);s([n({type:String,attribute:"icon-name",reflect:!0})],a.prototype,"iconName",2);s([n({type:String,reflect:!0})],a.prototype,"variant",2);s([n({type:String,reflect:!0})],a.prototype,"spacing",2);s([n({type:String,attribute:"spacing-top",reflect:!0})],a.prototype,"spacingTop",2);s([n({type:String,attribute:"spacing-bottom",reflect:!0})],a.prototype,"spacingBottom",2);s([n({type:String,attribute:"spacing-left",reflect:!0})],a.prototype,"spacingLeft",2);s([n({type:String,attribute:"spacing-right",reflect:!0})],a.prototype,"spacingRight",2);s([_()],a.prototype,"_imgError",2);s([_()],a.prototype,"_hasIconSlot",2);a=s([y("scb-avatar")],a);
111
+ `,h);function _(){const r=this.mapSpacingToken(this.spacing),t=this.mapSpacingToken(this.spacingTop)??r,i=this.mapSpacingToken(this.spacingBottom)??r,o=this.mapSpacingToken(this.spacingLeft)??r,c=this.mapSpacingToken(this.spacingRight)??r;t?this.style.setProperty("--scb-avatar-spacing-block-start",t):this.style.removeProperty("--scb-avatar-spacing-block-start"),i?this.style.setProperty("--scb-avatar-spacing-block-end",i):this.style.removeProperty("--scb-avatar-spacing-block-end"),o?this.style.setProperty("--scb-avatar-spacing-inline-start",o):this.style.removeProperty("--scb-avatar-spacing-inline-start"),c?this.style.setProperty("--scb-avatar-spacing-inline-end",c):this.style.removeProperty("--scb-avatar-spacing-inline-end")}a([s({type:String})],e.prototype,"src",void 0);a([s({type:String})],e.prototype,"alt",void 0);a([s({type:String})],e.prototype,"label",void 0);a([s({type:String,reflect:!0})],e.prototype,"size",void 0);a([s({type:String,reflect:!0})],e.prototype,"shape",void 0);a([s({type:String,attribute:"icon-name",reflect:!0})],e.prototype,"iconName",void 0);a([s({type:String,reflect:!0})],e.prototype,"variant",void 0);a([s({type:String,reflect:!0})],e.prototype,"spacing",void 0);a([s({type:String,attribute:"spacing-top",reflect:!0})],e.prototype,"spacingTop",void 0);a([s({type:String,attribute:"spacing-bottom",reflect:!0})],e.prototype,"spacingBottom",void 0);a([s({type:String,attribute:"spacing-left",reflect:!0})],e.prototype,"spacingLeft",void 0);a([s({type:String,attribute:"spacing-right",reflect:!0})],e.prototype,"spacingRight",void 0);a([u()],e.prototype,"_imgError",void 0);a([u()],e.prototype,"_hasIconSlot",void 0);e=a([y("scb-avatar")],e);
@@ -1,13 +1,13 @@
1
- import{a as c,n as r,i as p,x as b,t as h}from"../../vendor/vendor.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,o){try{customElements.get(i)||e(i,n,o)}catch(l){var d=String(l||"");if(d.indexOf("already been used")===-1&&d.indexOf("NotSupportedError")===-1)throw l}}}}catch{}})();var g=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a=(t,e,i,n)=>{for(var o=n>1?void 0:n?u(e,i):e,d=t.length-1,l;d>=0;d--)(l=t[d])&&(o=(n?l(e,i,o):l(o))||o);return n&&o&&g(e,i,o),o};let s=class extends p{constructor(){super(...arguments),this._slotClickHandler=t=>{const e=this.shadowRoot?.querySelector("slot"),i=t.target;i&&i!==e&&i.dispatchEvent(new CustomEvent("hide-badge",{bubbles:!0,composed:!0}))},this.autoHide=!1,this.sizing="fit-content",this.position="relative",this.positionTop=0,this.positionRight=void 0,this.positionSide="right",this.positionLeft=void 0,this.value="",this.label="",this.hidden=!1,this.variant="dot",this._badgeVisible=!0,this._onHideBadge=()=>{this._badgeVisible=!1,this.requestUpdate()}}firstUpdated(){const t=this.shadowRoot?.querySelector("slot");this.autoHide&&t&&t.addEventListener("click",this._slotClickHandler)}updated(){const t=this.shadowRoot?.querySelector("slot");t&&(this.autoHide?t.addEventListener("click",this._slotClickHandler):t.removeEventListener("click",this._slotClickHandler))}connectedCallback(){super.connectedCallback(),this.addEventListener("hide-badge",this._onHideBadge)}disconnectedCallback(){this.removeEventListener("hide-badge",this._onHideBadge),super.disconnectedCallback()}mapSpacingToken(t){if(t==null)return;if(typeof t=="number"&&!Number.isNaN(t))return`${t}px`;const e=String(t).trim();if(e)return/^\d+$/.test(e)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(e,10)))})`:e}render(){const t=this.mapSpacingToken(this.positionRight)??"var(--spacing-4)",e=this.mapSpacingToken(this.positionLeft)??"var(--spacing-4)",i=this.mapSpacingToken(this.positionTop)??"0px";this.style.setProperty("--scb-badge-absolute-top",i),this.style.setProperty("--scb-badge-absolute-right",t),this.style.setProperty("--scb-badge-absolute-left",e);let n=this.value;!isNaN(Number(this.value))&&this.value.length>4&&(n=this.value.slice(0,4)+"+");const o=this.variant==="value"&&!this.value?"badge-value-empty":"",d=this._badgeVisible?"":"badge--hide",l=this.label||(this.variant==="dot"?"Indikator":`Märke: ${n}`);return b`
1
+ import{_ as b,b as h,g,h as o,y as u}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as s}from"../../vendor/decorate.js";(function(){try{var l=typeof globalThis<"u"?globalThis:window;if(!l.__scb_ce_guard_installed__){l.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(i,r,a){try{customElements.get(i)||t(i,r,a)}catch(d){var n=String(d||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var c,e=(c=class extends b{constructor(...t){super(...t),this._slotClickHandler=i=>{const r=this.shadowRoot?.querySelector("slot"),a=i.target;a&&a!==r&&a.dispatchEvent(new CustomEvent("hide-badge",{bubbles:!0,composed:!0}))},this.autoHide=!1,this.sizing="fit-content",this.position="relative",this.positionTop=0,this.positionRight=void 0,this.positionSide="right",this.positionLeft=void 0,this.value="",this.label="",this.hidden=!1,this.variant="dot",this._badgeVisible=!0,this._onHideBadge=()=>{this._badgeVisible=!1,this.requestUpdate()}}firstUpdated(){const t=this.shadowRoot?.querySelector("slot");this.autoHide&&t&&t.addEventListener("click",this._slotClickHandler)}updated(){const t=this.shadowRoot?.querySelector("slot");t&&(this.autoHide?t.addEventListener("click",this._slotClickHandler):t.removeEventListener("click",this._slotClickHandler))}connectedCallback(){super.connectedCallback(),this.addEventListener("hide-badge",this._onHideBadge)}disconnectedCallback(){this.removeEventListener("hide-badge",this._onHideBadge),super.disconnectedCallback()}mapSpacingToken(t){if(t==null)return;if(typeof t=="number"&&!Number.isNaN(t))return`${t}px`;const i=String(t).trim();if(i)return/^\d+$/.test(i)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(i,10)))})`:i}render(){const t=this.mapSpacingToken(this.positionRight)??"var(--spacing-4)",i=this.mapSpacingToken(this.positionLeft)??"var(--spacing-4)",r=this.mapSpacingToken(this.positionTop)??"0px";this.style.setProperty("--scb-badge-absolute-top",r),this.style.setProperty("--scb-badge-absolute-right",t),this.style.setProperty("--scb-badge-absolute-left",i);let a=this.value;!isNaN(Number(this.value))&&this.value.length>4&&(a=this.value.slice(0,4)+"+");const n=this.variant==="value"&&!this.value?"badge-value-empty":"",d=this._badgeVisible?"":"badge--hide",p=this.label||(this.variant==="dot"?"Indikator":`Märke: ${a}`);return u`
2
2
  <div class="badge-content">
3
3
  <slot></slot>
4
4
  <div
5
- class="badge ${o} ${d}"
5
+ class="badge ${n} ${d}"
6
6
  role="status"
7
- aria-label="${this.variant==="dot",l}"
8
- aria-hidden="${this.variant==="dot"&&!this.label?"true":"false"}">${this.variant==="dot"?"":n}</div>
7
+ aria-label="${this.variant==="dot",p}"
8
+ aria-hidden="${this.variant==="dot"&&!this.label?"true":"false"}">${this.variant==="dot"?"":a}</div>
9
9
  </div>
10
- `}};s.styles=c`
10
+ `}},c.styles=h`
11
11
  :host {
12
12
  display: block;
13
13
  position: relative;
@@ -77,4 +77,4 @@ import{a as c,n as r,i as p,x as b,t as h}from"../../vendor/vendor.js";(function
77
77
  justify-content: center;
78
78
  gap: var(--scb-badge-relative-gap);
79
79
  }
80
- `;a([r({type:Boolean,reflect:!0,attribute:"auto-hide"})],s.prototype,"autoHide",2);a([r({type:String,reflect:!0})],s.prototype,"sizing",2);a([r({type:String,reflect:!0})],s.prototype,"position",2);a([r({type:String,attribute:"position-top"})],s.prototype,"positionTop",2);a([r({type:String,attribute:"position-right"})],s.prototype,"positionRight",2);a([r({type:String,reflect:!0,attribute:"position-side"})],s.prototype,"positionSide",2);a([r({type:String,attribute:"position-left"})],s.prototype,"positionLeft",2);a([r({type:String,reflect:!0})],s.prototype,"value",2);a([r({type:String,reflect:!0})],s.prototype,"label",2);a([r({type:Boolean,reflect:!0})],s.prototype,"hidden",2);a([r({type:String,reflect:!0})],s.prototype,"variant",2);s=a([h("scb-badge")],s);
80
+ `,c);s([o({type:Boolean,reflect:!0,attribute:"auto-hide"})],e.prototype,"autoHide",void 0);s([o({type:String,reflect:!0})],e.prototype,"sizing",void 0);s([o({type:String,reflect:!0})],e.prototype,"position",void 0);s([o({type:String,attribute:"position-top"})],e.prototype,"positionTop",void 0);s([o({type:String,attribute:"position-right"})],e.prototype,"positionRight",void 0);s([o({type:String,reflect:!0,attribute:"position-side"})],e.prototype,"positionSide",void 0);s([o({type:String,attribute:"position-left"})],e.prototype,"positionLeft",void 0);s([o({type:String,reflect:!0})],e.prototype,"value",void 0);s([o({type:String,reflect:!0})],e.prototype,"label",void 0);s([o({type:Boolean,reflect:!0})],e.prototype,"hidden",void 0);s([o({type:String,reflect:!0})],e.prototype,"variant",void 0);e=s([g("scb-badge")],e);
@@ -1,4 +1,4 @@
1
- import{n as o,t as h,i as b,a as f,x as l}from"../../vendor/vendor.js";import"../scb-link/scb-link.js";import"../../vendor/vendor-material.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var s=customElements.define.bind(customElements);customElements.define=function(r,i,t){try{customElements.get(r)||s(r,i,t)}catch(a){var n=String(a||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw a}}}}catch{}})();var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,c=(e,s,r,i)=>{for(var t=i>1?void 0:i?p(s,r):s,n=e.length-1,a;n>=0;n--)(a=e[n])&&(t=(i?a(s,r,t):a(t))||t);return i&&t&&d(s,r,t),t};let u=class extends b{constructor(){super(...arguments),this.label="",this.isCurrent=!1,this.href=""}connectedCallback(){if(super.connectedCallback(),this.hasAttribute("current")&&!this.hasAttribute("is-current")&&(this.isCurrent=!0),!this.href){const e=this.getAttribute("href");e&&(this.href=e)}}static get styles(){return f`
1
+ import{_ as d,b as h,g as b,h as a,y as c}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as r}from"../../vendor/decorate.js";import"../scb-link/scb-link.js";(function(){try{var s=typeof globalThis<"u"?globalThis:window;if(!s.__scb_ce_guard_installed__){s.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(i,o,l){try{customElements.get(i)||t(i,o,l)}catch(u){var n=String(u||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw u}}}}catch{}})();var e=class extends d{constructor(...t){super(...t),this.label="",this.isCurrent=!1,this.href=""}connectedCallback(){if(super.connectedCallback(),this.hasAttribute("current")&&!this.hasAttribute("is-current")&&(this.isCurrent=!0),!this.href){const t=this.getAttribute("href");t&&(this.href=t)}}static get styles(){return h`
2
2
  .breadcrumb-separator {
3
3
  margin: var(--spacing-0) var(--spacing-3);
4
4
  color: var(--md-sys-color-on-surface);
@@ -8,7 +8,7 @@ import{n as o,t as h,i as b,a as f,x as l}from"../../vendor/vendor.js";import"..
8
8
  color: var(--md-sys-color-on-surface);
9
9
  font-family: var(--brand, Inter);
10
10
  }
11
- `}updated(e){e.has("isCurrent")&&(this.dispatchEvent(new CustomEvent("current-changed",{detail:{isCurrent:this.isCurrent},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("currentchanged",{detail:{isCurrent:this.isCurrent,value:this.isCurrent},bubbles:!0,composed:!0})))}render(){switch(!0){case this.isCurrent:return l`<span class="breadcrumb-current">${this.label}</span>`;default:return l`
11
+ `}updated(t){t.has("isCurrent")&&(this.dispatchEvent(new CustomEvent("current-changed",{detail:{isCurrent:this.isCurrent},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("currentchanged",{detail:{isCurrent:this.isCurrent,value:this.isCurrent},bubbles:!0,composed:!0})))}render(){return!0===this.isCurrent?c`<span class="breadcrumb-current">${this.label}</span>`:c`
12
12
  <scb-link href="${this.href||this.getAttribute("href")||""}">${this.label}</scb-link>
13
13
  <span class="breadcrumb-separator">/</span>
14
- `}}};c([o({type:String})],u.prototype,"label",2);c([o({type:Boolean,attribute:"is-current",reflect:!0})],u.prototype,"isCurrent",2);c([o({type:String,attribute:"item-href"})],u.prototype,"href",2);u=c([h("scb-breadcrumb-item")],u);
14
+ `}};r([a({type:String})],e.prototype,"label",void 0);r([a({type:Boolean,attribute:"is-current",reflect:!0})],e.prototype,"isCurrent",void 0);r([a({type:String,attribute:"item-href"})],e.prototype,"href",void 0);e=r([b("scb-breadcrumb-item")],e);
@@ -1,4 +1,4 @@
1
- import{n as u,t as v,i as _,a as k,x as b}from"../../vendor/vendor.js";import"./scb-breadcrumb-item.js";import"../scb-link/scb-link.js";import"../../vendor/vendor-material.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(r,n,a){try{customElements.get(r)||t(r,n,a)}catch(i){var s=String(i||"");if(s.indexOf("already been used")===-1&&s.indexOf("NotSupportedError")===-1)throw i}}}}catch{}})();var w=Object.defineProperty,C=Object.getOwnPropertyDescriptor,y=e=>{throw TypeError(e)},l=(e,t,r,n)=>{for(var a=n>1?void 0:n?C(t,r):t,s=e.length-1,i;s>=0;s--)(i=e[s])&&(a=(n?i(t,r,a):i(a))||a);return n&&a&&w(t,r,a),a},x=(e,t,r)=>t.has(e)||y("Cannot "+r),A=(e,t,r)=>t.has(e)?y("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),g=(e,t,r)=>(x(e,t,"access private method"),r),d,m;let o=class extends _{constructor(){super(...arguments),A(this,d),this.showAll=!1,this.currentIndex=void 0,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0}static get styles(){return k`
1
+ import"../../vendor/vendor-material.js";import{_ as v,b as k,g as _,h as p,y as d}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as c}from"../../vendor/decorate.js";import{n as w,t as g}from"../../vendor/assertClassBrand.js";import"../scb-link/scb-link.js";import"./scb-breadcrumb-item.js";(function(){try{var b=typeof globalThis<"u"?globalThis:window;if(!b.__scb_ce_guard_installed__){b.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(t,s,l){try{customElements.get(t)||e(t,s,l)}catch(r){var o=String(r||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw r}}}}catch{}})();var m,n=(m=new WeakSet,class extends v{constructor(...e){super(...e),w(this,m),this.showAll=!1,this.currentIndex=void 0,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0}static get styles(){return k`
2
2
  :host {
3
3
  display: block;
4
4
  margin-block-start: var(--scb-breadcrumb-spacing-block-start, 0);
@@ -66,10 +66,10 @@ import{n as u,t as v,i as _,a as k,x as b}from"../../vendor/vendor.js";import"./
66
66
  transform: translateY(0);
67
67
  }
68
68
  }
69
- `}connectedCallback(){super.connectedCallback(),this._observer=new MutationObserver(()=>{this.requestUpdate()}),this._observer.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["label","item-href","href","is-current","current"]})}disconnectedCallback(){super.disconnectedCallback(),this._observer?.disconnect()}firstUpdated(){g(this,d,m).call(this)}updated(e){e.has("showAll")&&(this.dispatchEvent(new CustomEvent("show-all-changed",{detail:{showAll:this.showAll},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("showallchanged",{detail:{showAll:this.showAll,value:this.showAll},bubbles:!0,composed:!0}))),(e.has("spacing")||e.has("spacingTop")||e.has("spacingBottom")||e.has("spacingLeft")||e.has("spacingRight"))&&g(this,d,m).call(this)}mapSpacingToken(e){if(!e)return;const t=String(e).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}_onEllipsisClick(){this.showAll?this.showAll=!1:(this.showAll=!0,this.updateComplete.then(()=>{const e=this.shadowRoot?.querySelectorAll(".scb-breadcrumb.expanded .breadcrumb-item");e&&(e.forEach((t,r)=>{t.classList.add("breadcrumb-animate"),t.style.animationDelay=`${r*60}ms`}),setTimeout(()=>{e.forEach(t=>{t.classList.remove("breadcrumb-animate"),t.style.animationDelay=""})},600))}))}getItemLabel(e){const t=e.label;return typeof t=="string"?t:e.getAttribute("label")??""}getItemHref(e){const t=e;return typeof t.itemHref=="string"?t.itemHref:typeof t.href=="string"?t.href:e.getAttribute("item-href")??e.getAttribute("href")??""}render(){const e=Array.from(this.children).filter(s=>s.tagName.toLowerCase()==="scb-breadcrumb-item"),t=Math.max(0,e.length-1);let r=t;if(e.length>0){const s=typeof this.currentIndex=="number"&&!Number.isNaN(this.currentIndex)?Math.trunc(this.currentIndex):void 0;if(typeof s=="number"&&s>=0&&s<e.length)r=s;else for(let i=e.length-1;i>=0;i--){const c=e[i];if(typeof c.isCurrent=="boolean"?c.isCurrent:e[i].hasAttribute("is-current")||e[i].hasAttribute("current")){r=i;break}}e.forEach((i,c)=>{i.toggleAttribute("is-current",c===r)})}const n=e.length>6&&!this.showAll&&r===t,a=[];if(n){const s=e.slice(0,3),i=e.slice(-3);s.forEach((c,p)=>{a.push({type:"item",item:c,isCurrent:p===r})}),a.push({type:"ellipsis"}),i.forEach((c,p)=>{const h=e.length-3+p;a.push({type:"item",item:c,isCurrent:h===r})})}else e.forEach((s,i)=>{a.push({type:"item",item:s,isCurrent:i===r})});return b`
70
- <div class="scb-breadcrumb ${n?"collapsed":"expanded"}">
71
- ${a.map((s,i)=>{const c=i===0?b``:b`<span class="breadcrumb-separator">/</span>`;if(s.type==="ellipsis")return b`
72
- ${c}
69
+ `}connectedCallback(){super.connectedCallback(),this._observer=new MutationObserver(()=>{this.requestUpdate()}),this._observer.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["label","item-href","href","is-current","current"]})}disconnectedCallback(){super.disconnectedCallback(),this._observer?.disconnect()}firstUpdated(){g(m,this,y).call(this)}updated(e){e.has("showAll")&&(this.dispatchEvent(new CustomEvent("show-all-changed",{detail:{showAll:this.showAll},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("showallchanged",{detail:{showAll:this.showAll,value:this.showAll},bubbles:!0,composed:!0}))),(e.has("spacing")||e.has("spacingTop")||e.has("spacingBottom")||e.has("spacingLeft")||e.has("spacingRight"))&&g(m,this,y).call(this)}mapSpacingToken(e){if(!e)return;const t=String(e).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}_onEllipsisClick(){this.showAll?this.showAll=!1:(this.showAll=!0,this.updateComplete.then(()=>{const e=this.shadowRoot?.querySelectorAll(".scb-breadcrumb.expanded .breadcrumb-item");e&&(e.forEach((t,s)=>{t.classList.add("breadcrumb-animate"),t.style.animationDelay=`${s*60}ms`}),setTimeout(()=>{e.forEach(t=>{t.classList.remove("breadcrumb-animate"),t.style.animationDelay=""})},600))}))}getItemLabel(e){const t=e.label;return typeof t=="string"?t:e.getAttribute("label")??""}getItemHref(e){const t=e;return typeof t.itemHref=="string"?t.itemHref:typeof t.href=="string"?t.href:e.getAttribute("item-href")??e.getAttribute("href")??""}render(){const e=Array.from(this.children).filter(r=>r.tagName.toLowerCase()==="scb-breadcrumb-item"),t=Math.max(0,e.length-1);let s=t;if(e.length>0){const r=typeof this.currentIndex=="number"&&!Number.isNaN(this.currentIndex)?Math.trunc(this.currentIndex):void 0;if(typeof r=="number"&&r>=0&&r<e.length)s=r;else for(let i=e.length-1;i>=0;i--){const a=e[i];if(typeof a.isCurrent=="boolean"?a.isCurrent:e[i].hasAttribute("is-current")||e[i].hasAttribute("current")){s=i;break}}e.forEach((i,a)=>{i.toggleAttribute("is-current",a===s)})}const l=e.length>6&&!this.showAll&&s===t,o=[];if(l){const r=e.slice(0,3),i=e.slice(-3);r.forEach((a,u)=>{o.push({type:"item",item:a,isCurrent:u===s})}),o.push({type:"ellipsis"}),i.forEach((a,u)=>{const h=e.length-3+u;o.push({type:"item",item:a,isCurrent:h===s})})}else e.forEach((r,i)=>{o.push({type:"item",item:r,isCurrent:i===s})});return d`
70
+ <div class="scb-breadcrumb ${l?"collapsed":"expanded"}">
71
+ ${o.map((r,i)=>{const a=i===0?d``:d`<span class="breadcrumb-separator">/</span>`;if(r.type==="ellipsis")return d`
72
+ ${a}
73
73
  <span
74
74
  class="breadcrumb-item ellipsis"
75
75
  aria-label="Visa alla"
@@ -83,14 +83,14 @@ import{n as u,t as v,i as _,a as k,x as b}from"../../vendor/vendor.js";import"./
83
83
  more_horiz
84
84
  </md-icon>
85
85
  </span>
86
- `;const p=this.getItemLabel(s.item),h=this.getItemHref(s.item);return s.isCurrent?b`
87
- ${c}
88
- <span class="breadcrumb-item breadcrumb-current">${p}</span>
89
- `:b`
90
- ${c}
86
+ `;const u=this.getItemLabel(r.item),h=this.getItemHref(r.item);return r.isCurrent?d`
87
+ ${a}
88
+ <span class="breadcrumb-item breadcrumb-current">${u}</span>
89
+ `:d`
90
+ ${a}
91
91
  <span class="breadcrumb-item">
92
- <scb-link href="${h}">${p}</scb-link>
92
+ <scb-link href="${h}">${u}</scb-link>
93
93
  </span>
94
94
  `})}
95
95
  </div>
96
- `}};d=new WeakSet;m=function(){const e=this.mapSpacingToken(this.spacing),t=this.mapSpacingToken(this.spacingTop)??e,r=this.mapSpacingToken(this.spacingBottom)??e,n=this.mapSpacingToken(this.spacingLeft),a=this.mapSpacingToken(this.spacingRight);t?this.style.setProperty("--scb-breadcrumb-spacing-block-start",t):this.style.removeProperty("--scb-breadcrumb-spacing-block-start"),r?this.style.setProperty("--scb-breadcrumb-spacing-block-end",r):this.style.removeProperty("--scb-breadcrumb-spacing-block-end"),n?this.style.setProperty("--scb-breadcrumb-spacing-inline-start",n):this.style.removeProperty("--scb-breadcrumb-spacing-inline-start"),a?this.style.setProperty("--scb-breadcrumb-spacing-inline-end",a):this.style.removeProperty("--scb-breadcrumb-spacing-inline-end")};l([u({type:Boolean,attribute:"show-all",reflect:!0})],o.prototype,"showAll",2);l([u({type:Number,attribute:"current-index",reflect:!0})],o.prototype,"currentIndex",2);l([u({type:String,reflect:!0})],o.prototype,"spacing",2);l([u({type:String,attribute:"spacing-top",reflect:!0})],o.prototype,"spacingTop",2);l([u({type:String,attribute:"spacing-bottom",reflect:!0})],o.prototype,"spacingBottom",2);l([u({type:String,attribute:"spacing-left",reflect:!0})],o.prototype,"spacingLeft",2);l([u({type:String,attribute:"spacing-right",reflect:!0})],o.prototype,"spacingRight",2);o=l([v("scb-breadcrumb")],o);
96
+ `}});function y(){const b=this.mapSpacingToken(this.spacing),e=this.mapSpacingToken(this.spacingTop)??b,t=this.mapSpacingToken(this.spacingBottom)??b,s=this.mapSpacingToken(this.spacingLeft),l=this.mapSpacingToken(this.spacingRight);e?this.style.setProperty("--scb-breadcrumb-spacing-block-start",e):this.style.removeProperty("--scb-breadcrumb-spacing-block-start"),t?this.style.setProperty("--scb-breadcrumb-spacing-block-end",t):this.style.removeProperty("--scb-breadcrumb-spacing-block-end"),s?this.style.setProperty("--scb-breadcrumb-spacing-inline-start",s):this.style.removeProperty("--scb-breadcrumb-spacing-inline-start"),l?this.style.setProperty("--scb-breadcrumb-spacing-inline-end",l):this.style.removeProperty("--scb-breadcrumb-spacing-inline-end")}c([p({type:Boolean,attribute:"show-all",reflect:!0})],n.prototype,"showAll",void 0);c([p({type:Number,attribute:"current-index",reflect:!0})],n.prototype,"currentIndex",void 0);c([p({type:String,reflect:!0})],n.prototype,"spacing",void 0);c([p({type:String,attribute:"spacing-top",reflect:!0})],n.prototype,"spacingTop",void 0);c([p({type:String,attribute:"spacing-bottom",reflect:!0})],n.prototype,"spacingBottom",void 0);c([p({type:String,attribute:"spacing-left",reflect:!0})],n.prototype,"spacingLeft",void 0);c([p({type:String,attribute:"spacing-right",reflect:!0})],n.prototype,"spacingRight",void 0);n=c([_("scb-breadcrumb")],n);