@fluid-topics/ft-input-label 0.3.47 → 0.3.49

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.
@@ -4,6 +4,7 @@ export declare const FtInputLabelCssVariables: {
4
4
  raisedZIndex: import("@fluid-topics/ft-wc-utils").FtCssVariable;
5
5
  verticalSpacing: import("@fluid-topics/ft-wc-utils").FtCssVariable;
6
6
  horizontalSpacing: import("@fluid-topics/ft-wc-utils").FtCssVariable;
7
+ labelMaxWidth: import("@fluid-topics/ft-wc-utils").FtCssVariable;
7
8
  borderColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
8
9
  textColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
9
10
  disabledTextColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
@@ -7,6 +7,7 @@ export const FtInputLabelCssVariables = {
7
7
  raisedZIndex: FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index", "NUMBER", "2"),
8
8
  verticalSpacing: FtCssVariableFactory.create("--ft-input-label-vertical-spacing", "SIZE", "4px"),
9
9
  horizontalSpacing: FtCssVariableFactory.create("--ft-input-label-horizontal-spacing", "SIZE", "12px"),
10
+ labelMaxWidth: FtCssVariableFactory.create("--ft-input-label-max-width", "SIZE", "100%"),
10
11
  borderColor: FtCssVariableFactory.extend("--ft-input-label-border-color", designSystemVariables.colorOutline),
11
12
  textColor: FtCssVariableFactory.extend("--ft-input-label-text-color", designSystemVariables.colorOnSurfaceMedium),
12
13
  disabledTextColor: FtCssVariableFactory.extend("--ft-input-label-disabled-text-color", designSystemVariables.colorOnSurfaceDisabled),
@@ -46,7 +47,7 @@ export const styles = css `
46
47
  }
47
48
 
48
49
  .ft-input-label:before {
49
- width: ${FtInputLabelCssVariables.horizontalSpacing};
50
+ width: calc(${FtInputLabelCssVariables.horizontalSpacing} - 4px);
50
51
  flex-shrink: 0;
51
52
  }
52
53
 
@@ -64,6 +65,8 @@ export const styles = css `
64
65
  border-color: inherit;
65
66
  color: ${FtInputLabelCssVariables.textColor};
66
67
  transition: font-size 250ms, line-height 250ms, color 250ms;
68
+ max-width: calc(${FtInputLabelCssVariables.labelMaxWidth} - 2 * (${FtInputLabelCssVariables.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
69
+ text-overflow: ellipsis;
67
70
  ${setVariable(FtTypographyCaptionCssVariables.fontSize, FtInputLabelCssVariables.fontSize)};
68
71
  ${setVariable(FtTypographyCaptionCssVariables.lineHeight, FtInputLabelCssVariables.fontSize)};
69
72
  }
@@ -79,6 +82,8 @@ export const styles = css `
79
82
  .ft-input-label--hidden-text {
80
83
  padding: 0 4px;
81
84
  opacity: 0;
85
+ max-width: 100%;
86
+ box-sizing: border-box;
82
87
  }
83
88
 
84
89
  .ft-input-label--floating-text {
@@ -90,6 +95,8 @@ export const styles = css `
90
95
  text-overflow: ellipsis;
91
96
  padding: ${FtInputLabelCssVariables.verticalSpacing} 4px;
92
97
  margin: calc(${FtInputLabelCssVariables.verticalSpacing} * -1) 0;
98
+ max-width: 100%;
99
+ box-sizing: border-box;
93
100
  }
94
101
 
95
102
  .ft-input-label--raised .ft-input-label--text {
@@ -1,4 +1,4 @@
1
- !function(t,e,i,o,r){const n=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),p=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),l={fontFamily:p,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},a=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",n),f=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",l.fontSize,"20px"),y=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",l.fontWeight,"normal"),h=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",l.letterSpacing,"0.15px"),s=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",l.lineHeight,"1.2"),g=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",l.textTransform,"inherit"),b=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",n),d=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",l.fontSize,"14px"),u=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",l.fontWeight,"normal"),c=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",l.letterSpacing,"0.105px"),x=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",l.lineHeight,"1.7"),$=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",l.textTransform,"inherit"),m=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",p),w=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",l.fontSize,"16px"),z=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",l.fontWeight,"600"),v=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",l.letterSpacing,"0.144px"),S=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",l.lineHeight,"1.5"),E=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",l.textTransform,"inherit"),N=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",p),I=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",l.fontSize,"14px"),Z=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",l.fontWeight,"normal"),B=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",l.letterSpacing,"0.098px"),k=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",l.lineHeight,"1.7"),O=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",l.textTransform,"inherit"),G=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",p),U=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",l.fontSize,"16px"),W=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",l.fontWeight,"normal"),j=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",l.letterSpacing,"0.496px"),C=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",l.lineHeight,"1.5"),D=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",l.textTransform,"inherit"),F=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",p),M=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",l.fontSize,"14px"),R=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",l.fontWeight,"normal"),T=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",l.letterSpacing,"0.252px"),H=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",l.lineHeight,"1.4"),K=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",l.textTransform,"inherit"),_={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",p),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",l.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",l.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",l.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",l.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",l.textTransform,"inherit")},q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",p),A=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",l.fontSize,"10px"),J=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",l.fontWeight,"normal"),L=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",l.letterSpacing,"0.33px"),P=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",l.lineHeight,"1.6"),Q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",l.textTransform,"inherit"),V=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",p),X=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",l.fontSize,"10px"),Y=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",l.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",l.letterSpacing,"1.5px"),et=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",l.lineHeight,"1.6"),it=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",l.textTransform,"uppercase"),ot=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",p),rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",l.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",l.fontWeight,"600"),pt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",l.letterSpacing,"1.246px"),lt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",l.lineHeight,"1.15"),at=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",l.textTransform,"uppercase");i.css`
1
+ !function(t,e,i,o,r){const n=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),l=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),p={fontFamily:l,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},a=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",n),f=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",p.fontSize,"20px"),y=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",p.fontWeight,"normal"),h=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",p.letterSpacing,"0.15px"),s=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",p.lineHeight,"1.2"),g=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",p.textTransform,"inherit"),b=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",n),d=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",p.fontSize,"14px"),u=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",p.fontWeight,"normal"),x=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",p.letterSpacing,"0.105px"),c=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",p.lineHeight,"1.7"),$=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",p.textTransform,"inherit"),m=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",l),w=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",p.fontSize,"16px"),z=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",p.fontWeight,"600"),v=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",p.letterSpacing,"0.144px"),S=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",p.lineHeight,"1.5"),E=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",p.textTransform,"inherit"),I=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",l),N=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",p.fontSize,"14px"),Z=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",p.fontWeight,"normal"),B=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",p.letterSpacing,"0.098px"),k=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",p.lineHeight,"1.7"),O=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",p.textTransform,"inherit"),W=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",l),G=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",p.fontSize,"16px"),M=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",p.fontWeight,"normal"),U=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",p.letterSpacing,"0.496px"),j=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",p.lineHeight,"1.5"),C=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",p.textTransform,"inherit"),D=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",l),F=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",p.fontSize,"14px"),R=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",p.fontWeight,"normal"),T=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",p.letterSpacing,"0.252px"),H=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",p.lineHeight,"1.4"),K=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",p.textTransform,"inherit"),_={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",l),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",p.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",p.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",p.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",p.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",p.textTransform,"inherit")},q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",l),A=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",p.fontSize,"10px"),J=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",p.fontWeight,"normal"),L=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",p.letterSpacing,"0.33px"),P=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",p.lineHeight,"1.6"),Q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",p.textTransform,"inherit"),V=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",l),X=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",p.fontSize,"10px"),Y=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",p.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",p.letterSpacing,"1.5px"),et=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",p.lineHeight,"1.6"),it=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",p.textTransform,"uppercase"),ot=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",l),rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",p.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",p.fontWeight,"600"),lt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",p.letterSpacing,"1.246px"),pt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",p.lineHeight,"1.15"),at=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",p.textTransform,"uppercase");i.css`
2
2
  .ft-typography--title {
3
3
  font-family: ${a};
4
4
  font-size: ${f};
@@ -12,8 +12,8 @@
12
12
  font-family: ${b};
13
13
  font-size: ${d};
14
14
  font-weight: ${u};
15
- letter-spacing: ${c};
16
- line-height: ${x};
15
+ letter-spacing: ${x};
16
+ line-height: ${c};
17
17
  text-transform: ${$};
18
18
  }
19
19
  `,i.css`
@@ -27,8 +27,8 @@
27
27
  }
28
28
  `,i.css`
29
29
  .ft-typography--subtitle2 {
30
- font-family: ${N};
31
- font-size: ${I};
30
+ font-family: ${I};
31
+ font-size: ${N};
32
32
  font-weight: ${Z};
33
33
  letter-spacing: ${B};
34
34
  line-height: ${k};
@@ -37,17 +37,17 @@
37
37
 
38
38
  `,i.css`
39
39
  .ft-typography--body1 {
40
- font-family: ${G};
41
- font-size: ${U};
42
- font-weight: ${W};
43
- letter-spacing: ${j};
44
- line-height: ${C};
45
- text-transform: ${D};
40
+ font-family: ${W};
41
+ font-size: ${G};
42
+ font-weight: ${M};
43
+ letter-spacing: ${U};
44
+ line-height: ${j};
45
+ text-transform: ${C};
46
46
  }
47
47
  `,i.css`
48
48
  .ft-typography--body2 {
49
- font-family: ${F};
50
- font-size: ${M};
49
+ font-family: ${D};
50
+ font-size: ${F};
51
51
  font-weight: ${R};
52
52
  letter-spacing: ${T};
53
53
  line-height: ${H};
@@ -85,15 +85,15 @@
85
85
  font-family: ${ot};
86
86
  font-size: ${rt};
87
87
  font-weight: ${nt};
88
- letter-spacing: ${pt};
89
- line-height: ${lt};
88
+ letter-spacing: ${lt};
89
+ line-height: ${pt};
90
90
  text-transform: ${at};
91
91
  }
92
92
  `,i.css`
93
93
  .ft-typography {
94
94
  vertical-align: inherit;
95
95
  }
96
- `;const yt={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},ht=i.css`
96
+ `;const yt={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},ht=i.css`
97
97
  .ft-input-label {
98
98
  position: absolute;
99
99
  inset: 0;
@@ -124,7 +124,7 @@
124
124
  }
125
125
 
126
126
  .ft-input-label:before {
127
- width: ${yt.horizontalSpacing};
127
+ width: calc(${yt.horizontalSpacing} - 4px);
128
128
  flex-shrink: 0;
129
129
  }
130
130
 
@@ -142,6 +142,8 @@
142
142
  border-color: inherit;
143
143
  color: ${yt.textColor};
144
144
  transition: font-size 250ms, line-height 250ms, color 250ms;
145
+ max-width: calc(${yt.labelMaxWidth} - 2 * (${yt.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
146
+ text-overflow: ellipsis;
145
147
  ${e.setVariable(_.fontSize,yt.fontSize)};
146
148
  ${e.setVariable(_.lineHeight,yt.fontSize)};
147
149
  }
@@ -157,6 +159,8 @@
157
159
  .ft-input-label--hidden-text {
158
160
  padding: 0 4px;
159
161
  opacity: 0;
162
+ max-width: 100%;
163
+ box-sizing: border-box;
160
164
  }
161
165
 
162
166
  .ft-input-label--floating-text {
@@ -168,6 +172,8 @@
168
172
  text-overflow: ellipsis;
169
173
  padding: ${yt.verticalSpacing} 4px;
170
174
  margin: calc(${yt.verticalSpacing} * -1) 0;
175
+ max-width: 100%;
176
+ box-sizing: border-box;
171
177
  }
172
178
 
173
179
  .ft-input-label--raised .ft-input-label--text {
@@ -209,7 +215,7 @@
209
215
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
210
216
  border-top: none;
211
217
  }
212
- `;var st=function(t,e,i,o){for(var r,n=arguments.length,p=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(r=t[l])&&(p=(n<3?r(p):n>3?r(e,i,p):r(e,i))||p);return n>3&&p&&Object.defineProperty(e,i,p),p};class gt extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
218
+ `;var st=function(t,e,i,o){for(var r,n=arguments.length,l=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,p=t.length-1;p>=0;p--)(r=t[p])&&(l=(n<3?r(l):n>3?r(e,i,l):r(e,i))||l);return n>3&&l&&Object.defineProperty(e,i,l),l};class gt extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
213
219
  <div class="${r.classMap(t)}">
214
220
  ${this.text?i.html`
215
221
  <div class="ft-input-label--text ft-typography--caption">
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(r,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?d(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,i,o)=>{try{e.bind(window.customElements)(t,i,o)}catch(e){console.info(t,i,o,e)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(r,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):n.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,r),i.call(this,n,t,r)}else o.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const g=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,i,o)=>{try{e.bind(window.customElements)(t,i,o)}catch(e){console.info(t,i,o,e)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -30,18 +30,18 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
30
30
  * Copyright 2019 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
32
  */
33
- const n=window,s=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),l=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==a)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(s&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=l.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&l.set(e,t))}return t}toString(){return this.cssText}}const c=t=>new h("string"==typeof t?t:t+"",void 0,a),p=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new h(i,t,a)},f=(t,e)=>{s?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=n.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},u=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return c(e)})(t):t
33
+ const n=window,s=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),l=new WeakMap;class h{constructor(t,e,i){if(this._$cssResult$=!0,i!==a)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(s&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=l.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&l.set(e,t))}return t}toString(){return this.cssText}}const c=t=>new h("string"==typeof t?t:t+"",void 0,a),p=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new h(i,t,a)},f=(t,e)=>{s?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=n.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},d=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return c(e)})(t):t
34
34
  /**
35
35
  * @license
36
36
  * Copyright 2017 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */;var d;const y=window,b=y.trustedTypes,g=b?b.emptyScript:"",v=y.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:m};class $ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return f(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=w){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:x).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:x;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
38
+ */;var u;const y=window,b=y.trustedTypes,g=b?b.emptyScript:"",v=y.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>e!==t&&(e==e||t==t),w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:m};class $ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return f(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=w){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:x).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:x;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
43
  */
44
- var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:$}),(null!==(d=y.reactiveElementVersions)&&void 0!==d?d:y.reactiveElementVersions=[]).push("1.4.1");const S=window,N=S.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,R="?"+C,M=`<${R}>`,U=document,k=(t="")=>U.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,P=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),j=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),I=new WeakMap,K=U.createTreeWalker(U,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=A;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===A?"!--"===l[1]?s=L:void 0!==l[1]?s=P:void 0!==l[2]?(_.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=B):void 0!==l[3]&&(s=B):s===B?">"===l[0]?(s=null!=r?r:A,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?B:'"'===l[3]?T:j):s===T||s===j?s=B:s===L||s===P?s=A:(s=B,r=void 0);const p=s===B&&t[e+1].startsWith("/>")?" ":"";n+=s===A?i+M:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+C+p):i+C+(-2===h?(o.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,h]=Z(t,e);if(this.el=V.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?tt:"@"===e[1]?et:G})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],k()),K.nextNode(),a.push({type:2,index:++r});o.append(t[e],k())}}}else if(8===o.nodeType)if(o.data===R)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)a.push({type:7,index:r}),t+=C.length-1}r++}}static createElement(t,e){const i=U.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var r,n,s,a;if(e===W)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class q{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(i,!0);K.currentNode=r;let n=K.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new X(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new it(n,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(n=K.nextNode(),s++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,o){var r;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>z(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new q(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new V(t)),e}k(t){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new X(this.O(k()),this.O(k()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,i,o,r){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=J(this,t,e,0),n=!F(t)||t!==this._$AH&&t!==W,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=J(this,o[i+s],e,s),a===W&&(a=this._$AH[s]),n||(n=!F(a)||a!==this._$AH[s]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const Y=N?N.emptyScript:"";class tt extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class et extends G{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,r=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==H&&(o===H||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const ot=S.litHtmlPolyfillSupport;null==ot||ot(V,X),(null!==(O=S.litHtmlVersions)&&void 0!==O?O:S.litHtmlVersions=[]).push("2.4.0");
44
+ var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:$}),(null!==(u=y.reactiveElementVersions)&&void 0!==u?u:y.reactiveElementVersions=[]).push("1.4.1");const S=window,N=S.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,R="?"+C,M=`<${R}>`,U=document,k=(t="")=>U.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,P=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),j=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),I=new WeakMap,K=U.createTreeWalker(U,129,null,!1),Z=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=A;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===A?"!--"===l[1]?s=L:void 0!==l[1]?s=P:void 0!==l[2]?(_.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=B):void 0!==l[3]&&(s=B):s===B?">"===l[0]?(s=null!=r?r:A,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?B:'"'===l[3]?T:j):s===T||s===j?s=B:s===L||s===P?s=A:(s=B,r=void 0);const p=s===B&&t[e+1].startsWith("/>")?" ":"";n+=s===A?i+M:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+C+p):i+C+(-2===h?(o.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,h]=Z(t,e);if(this.el=V.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?Q:"?"===e[1]?tt:"@"===e[1]?et:G})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],k()),K.nextNode(),a.push({type:2,index:++r});o.append(t[e],k())}}}else if(8===o.nodeType)if(o.data===R)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)a.push({type:7,index:r}),t+=C.length-1}r++}}static createElement(t,e){const i=U.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var r,n,s,a;if(e===W)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const h=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=J(t,l._$AS(t,e.values),l,o)),e}class q{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(i,!0);K.currentNode=r;let n=K.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new X(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new it(n,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(n=K.nextNode(),s++)}return r}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,o){var r;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>z(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new q(r,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new V(t)),e}k(t){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new X(this.O(k()),this.O(k()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,i,o,r){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=J(this,t,e,0),n=!F(t)||t!==this._$AH&&t!==W,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=J(this,o[i+s],e,s),a===W&&(a=this._$AH[s]),n||(n=!F(a)||a!==this._$AH[s]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const Y=N?N.emptyScript:"";class tt extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class et extends G{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,r=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==H&&(o===H||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const ot=S.litHtmlPolyfillSupport;null==ot||ot(V,X),(null!==(O=S.litHtmlVersions)&&void 0!==O?O:S.litHtmlVersions=[]).push("2.4.0");
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
@@ -52,12 +52,12 @@ var rt,nt;class st extends ${constructor(){super(...arguments),this.renderOption
52
52
  * @license
53
53
  * Copyright 2021 Google LLC
54
54
  * SPDX-License-Identifier: BSD-3-Clause
55
- */var pt,ft,ut=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return f(r,this.constructor.elementStyles),r}}}(st)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),D`
55
+ */var pt,ft,dt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class ut extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const r=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return f(r,this.constructor.elementStyles),r}}}(st)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),D`
56
56
  ${t.map((t=>D`
57
57
  <style>${t}</style>
58
58
  `))}
59
59
  ${this.getTemplate()}
60
- `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}ut([o()],dt.prototype,"exportpartsPrefix",void 0),ut([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],dt.prototype,"exportpartsPrefixes",void 0),p`
60
+ `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}dt([o()],ut.prototype,"exportpartsPrefix",void 0),dt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],ut.prototype,"exportpartsPrefixes",void 0),p`
61
61
  .ft-no-text-select {
62
62
  -webkit-touch-callout: none;
63
63
  -webkit-user-select: none;
@@ -89,7 +89,7 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
89
89
  * @license
90
90
  * Copyright 2018 Google LLC
91
91
  * SPDX-License-Identifier: BSD-3-Clause
92
- */const gt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends bt{constructor(t){var e;if(super(t),t.type!==yt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return W}}),vt=lt.extend("--ft-typography-font-family",ct.titleFont),xt=lt.extend("--ft-typography-font-family",ct.contentFont),mt={fontFamily:xt,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},wt=lt.extend("--ft-typography-title-font-family",vt),$t=lt.extend("--ft-typography-title-font-size",mt.fontSize,"20px"),Ot=lt.extend("--ft-typography-title-font-weight",mt.fontWeight,"normal"),St=lt.extend("--ft-typography-title-letter-spacing",mt.letterSpacing,"0.15px"),Nt=lt.extend("--ft-typography-title-line-height",mt.lineHeight,"1.2"),Et=lt.extend("--ft-typography-title-text-transform",mt.textTransform,"inherit"),Ct=lt.extend("--ft-typography-title-dense-font-family",vt),Rt=lt.extend("--ft-typography-title-dense-font-size",mt.fontSize,"14px"),Mt=lt.extend("--ft-typography-title-dense-font-weight",mt.fontWeight,"normal"),Ut=lt.extend("--ft-typography-title-dense-letter-spacing",mt.letterSpacing,"0.105px"),kt=lt.extend("--ft-typography-title-dense-line-height",mt.lineHeight,"1.7"),Ft=lt.extend("--ft-typography-title-dense-text-transform",mt.textTransform,"inherit"),zt=lt.extend("--ft-typography-subtitle1-font-family",xt),At=lt.extend("--ft-typography-subtitle1-font-size",mt.fontSize,"16px"),Lt=lt.extend("--ft-typography-subtitle1-font-weight",mt.fontWeight,"600"),Pt=lt.extend("--ft-typography-subtitle1-letter-spacing",mt.letterSpacing,"0.144px"),Bt=lt.extend("--ft-typography-subtitle1-line-height",mt.lineHeight,"1.5"),jt=lt.extend("--ft-typography-subtitle1-text-transform",mt.textTransform,"inherit"),Tt=lt.extend("--ft-typography-subtitle2-font-family",xt),_t=lt.extend("--ft-typography-subtitle2-font-size",mt.fontSize,"14px"),Dt=lt.extend("--ft-typography-subtitle2-font-weight",mt.fontWeight,"normal"),Wt=lt.extend("--ft-typography-subtitle2-letter-spacing",mt.letterSpacing,"0.098px"),Ht=lt.extend("--ft-typography-subtitle2-line-height",mt.lineHeight,"1.7"),It=lt.extend("--ft-typography-subtitle2-text-transform",mt.textTransform,"inherit"),Kt=lt.extend("--ft-typography-body1-font-family",xt),Zt=lt.extend("--ft-typography-body1-font-size",mt.fontSize,"16px"),Vt=lt.extend("--ft-typography-body1-font-weight",mt.fontWeight,"normal"),Jt=lt.extend("--ft-typography-body1-letter-spacing",mt.letterSpacing,"0.496px"),qt=lt.extend("--ft-typography-body1-line-height",mt.lineHeight,"1.5"),Xt=lt.extend("--ft-typography-body1-text-transform",mt.textTransform,"inherit"),Gt=lt.extend("--ft-typography-body2-font-family",xt),Qt=lt.extend("--ft-typography-body2-font-size",mt.fontSize,"14px"),Yt=lt.extend("--ft-typography-body2-font-weight",mt.fontWeight,"normal"),te=lt.extend("--ft-typography-body2-letter-spacing",mt.letterSpacing,"0.252px"),ee=lt.extend("--ft-typography-body2-line-height",mt.lineHeight,"1.4"),ie=lt.extend("--ft-typography-body2-text-transform",mt.textTransform,"inherit"),oe={fontFamily:lt.extend("--ft-typography-caption-font-family",xt),fontSize:lt.extend("--ft-typography-caption-font-size",mt.fontSize,"12px"),fontWeight:lt.extend("--ft-typography-caption-font-weight",mt.fontWeight,"normal"),letterSpacing:lt.extend("--ft-typography-caption-letter-spacing",mt.letterSpacing,"0.396px"),lineHeight:lt.extend("--ft-typography-caption-line-height",mt.lineHeight,"1.33"),textTransform:lt.extend("--ft-typography-caption-text-transform",mt.textTransform,"inherit")},re=lt.extend("--ft-typography-breadcrumb-font-family",xt),ne=lt.extend("--ft-typography-breadcrumb-font-size",mt.fontSize,"10px"),se=lt.extend("--ft-typography-breadcrumb-font-weight",mt.fontWeight,"normal"),ae=lt.extend("--ft-typography-breadcrumb-letter-spacing",mt.letterSpacing,"0.33px"),le=lt.extend("--ft-typography-breadcrumb-line-height",mt.lineHeight,"1.6"),he=lt.extend("--ft-typography-breadcrumb-text-transform",mt.textTransform,"inherit"),ce=lt.extend("--ft-typography-overline-font-family",xt),pe=lt.extend("--ft-typography-overline-font-size",mt.fontSize,"10px"),fe=lt.extend("--ft-typography-overline-font-weight",mt.fontWeight,"normal"),ue=lt.extend("--ft-typography-overline-letter-spacing",mt.letterSpacing,"1.5px"),de=lt.extend("--ft-typography-overline-line-height",mt.lineHeight,"1.6"),ye=lt.extend("--ft-typography-overline-text-transform",mt.textTransform,"uppercase"),be=lt.extend("--ft-typography-button-font-family",xt),ge=lt.extend("--ft-typography-button-font-size",mt.fontSize,"14px"),ve=lt.extend("--ft-typography-button-font-weight",mt.fontWeight,"600"),xe=lt.extend("--ft-typography-button-letter-spacing",mt.letterSpacing,"1.246px"),me=lt.extend("--ft-typography-button-line-height",mt.lineHeight,"1.15"),we=lt.extend("--ft-typography-button-text-transform",mt.textTransform,"uppercase");p`
92
+ */const gt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends bt{constructor(t){var e;if(super(t),t.type!==yt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return W}}),vt=lt.extend("--ft-typography-font-family",ct.titleFont),xt=lt.extend("--ft-typography-font-family",ct.contentFont),mt={fontFamily:xt,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},wt=lt.extend("--ft-typography-title-font-family",vt),$t=lt.extend("--ft-typography-title-font-size",mt.fontSize,"20px"),Ot=lt.extend("--ft-typography-title-font-weight",mt.fontWeight,"normal"),St=lt.extend("--ft-typography-title-letter-spacing",mt.letterSpacing,"0.15px"),Nt=lt.extend("--ft-typography-title-line-height",mt.lineHeight,"1.2"),Et=lt.extend("--ft-typography-title-text-transform",mt.textTransform,"inherit"),Ct=lt.extend("--ft-typography-title-dense-font-family",vt),Rt=lt.extend("--ft-typography-title-dense-font-size",mt.fontSize,"14px"),Mt=lt.extend("--ft-typography-title-dense-font-weight",mt.fontWeight,"normal"),Ut=lt.extend("--ft-typography-title-dense-letter-spacing",mt.letterSpacing,"0.105px"),kt=lt.extend("--ft-typography-title-dense-line-height",mt.lineHeight,"1.7"),Ft=lt.extend("--ft-typography-title-dense-text-transform",mt.textTransform,"inherit"),zt=lt.extend("--ft-typography-subtitle1-font-family",xt),At=lt.extend("--ft-typography-subtitle1-font-size",mt.fontSize,"16px"),Lt=lt.extend("--ft-typography-subtitle1-font-weight",mt.fontWeight,"600"),Pt=lt.extend("--ft-typography-subtitle1-letter-spacing",mt.letterSpacing,"0.144px"),Bt=lt.extend("--ft-typography-subtitle1-line-height",mt.lineHeight,"1.5"),jt=lt.extend("--ft-typography-subtitle1-text-transform",mt.textTransform,"inherit"),Tt=lt.extend("--ft-typography-subtitle2-font-family",xt),_t=lt.extend("--ft-typography-subtitle2-font-size",mt.fontSize,"14px"),Dt=lt.extend("--ft-typography-subtitle2-font-weight",mt.fontWeight,"normal"),Wt=lt.extend("--ft-typography-subtitle2-letter-spacing",mt.letterSpacing,"0.098px"),Ht=lt.extend("--ft-typography-subtitle2-line-height",mt.lineHeight,"1.7"),It=lt.extend("--ft-typography-subtitle2-text-transform",mt.textTransform,"inherit"),Kt=lt.extend("--ft-typography-body1-font-family",xt),Zt=lt.extend("--ft-typography-body1-font-size",mt.fontSize,"16px"),Vt=lt.extend("--ft-typography-body1-font-weight",mt.fontWeight,"normal"),Jt=lt.extend("--ft-typography-body1-letter-spacing",mt.letterSpacing,"0.496px"),qt=lt.extend("--ft-typography-body1-line-height",mt.lineHeight,"1.5"),Xt=lt.extend("--ft-typography-body1-text-transform",mt.textTransform,"inherit"),Gt=lt.extend("--ft-typography-body2-font-family",xt),Qt=lt.extend("--ft-typography-body2-font-size",mt.fontSize,"14px"),Yt=lt.extend("--ft-typography-body2-font-weight",mt.fontWeight,"normal"),te=lt.extend("--ft-typography-body2-letter-spacing",mt.letterSpacing,"0.252px"),ee=lt.extend("--ft-typography-body2-line-height",mt.lineHeight,"1.4"),ie=lt.extend("--ft-typography-body2-text-transform",mt.textTransform,"inherit"),oe={fontFamily:lt.extend("--ft-typography-caption-font-family",xt),fontSize:lt.extend("--ft-typography-caption-font-size",mt.fontSize,"12px"),fontWeight:lt.extend("--ft-typography-caption-font-weight",mt.fontWeight,"normal"),letterSpacing:lt.extend("--ft-typography-caption-letter-spacing",mt.letterSpacing,"0.396px"),lineHeight:lt.extend("--ft-typography-caption-line-height",mt.lineHeight,"1.33"),textTransform:lt.extend("--ft-typography-caption-text-transform",mt.textTransform,"inherit")},re=lt.extend("--ft-typography-breadcrumb-font-family",xt),ne=lt.extend("--ft-typography-breadcrumb-font-size",mt.fontSize,"10px"),se=lt.extend("--ft-typography-breadcrumb-font-weight",mt.fontWeight,"normal"),ae=lt.extend("--ft-typography-breadcrumb-letter-spacing",mt.letterSpacing,"0.33px"),le=lt.extend("--ft-typography-breadcrumb-line-height",mt.lineHeight,"1.6"),he=lt.extend("--ft-typography-breadcrumb-text-transform",mt.textTransform,"inherit"),ce=lt.extend("--ft-typography-overline-font-family",xt),pe=lt.extend("--ft-typography-overline-font-size",mt.fontSize,"10px"),fe=lt.extend("--ft-typography-overline-font-weight",mt.fontWeight,"normal"),de=lt.extend("--ft-typography-overline-letter-spacing",mt.letterSpacing,"1.5px"),ue=lt.extend("--ft-typography-overline-line-height",mt.lineHeight,"1.6"),ye=lt.extend("--ft-typography-overline-text-transform",mt.textTransform,"uppercase"),be=lt.extend("--ft-typography-button-font-family",xt),ge=lt.extend("--ft-typography-button-font-size",mt.fontSize,"14px"),ve=lt.extend("--ft-typography-button-font-weight",mt.fontWeight,"600"),xe=lt.extend("--ft-typography-button-letter-spacing",mt.letterSpacing,"1.246px"),me=lt.extend("--ft-typography-button-line-height",mt.lineHeight,"1.15"),we=lt.extend("--ft-typography-button-text-transform",mt.textTransform,"uppercase");p`
93
93
  .ft-typography--title {
94
94
  font-family: ${wt};
95
95
  font-size: ${$t};
@@ -167,8 +167,8 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
167
167
  font-family: ${ce};
168
168
  font-size: ${pe};
169
169
  font-weight: ${fe};
170
- letter-spacing: ${ue};
171
- line-height: ${de};
170
+ letter-spacing: ${de};
171
+ line-height: ${ue};
172
172
  text-transform: ${ye};
173
173
  }
174
174
  `,p`
@@ -184,7 +184,7 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
184
184
  .ft-typography {
185
185
  vertical-align: inherit;
186
186
  }
187
- `;const Oe={fontSize:lt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:lt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:lt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:lt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:lt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:lt.extend("--ft-input-label-border-color",ct.colorOutline),textColor:lt.extend("--ft-input-label-text-color",ct.colorOnSurfaceMedium),disabledTextColor:lt.extend("--ft-input-label-disabled-text-color",ct.colorOnSurfaceDisabled),colorSurface:lt.external(ct.colorSurface,"Design system"),borderRadiusS:lt.external(ct.borderRadiusS,"Design system"),colorError:lt.external(ct.colorError,"Design system")},Se=p`
187
+ `;const Oe={fontSize:lt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:lt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:lt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:lt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:lt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:lt.create("--ft-input-label-max-width","SIZE","100%"),borderColor:lt.extend("--ft-input-label-border-color",ct.colorOutline),textColor:lt.extend("--ft-input-label-text-color",ct.colorOnSurfaceMedium),disabledTextColor:lt.extend("--ft-input-label-disabled-text-color",ct.colorOnSurfaceDisabled),colorSurface:lt.external(ct.colorSurface,"Design system"),borderRadiusS:lt.external(ct.borderRadiusS,"Design system"),colorError:lt.external(ct.colorError,"Design system")},Se=p`
188
188
  .ft-input-label {
189
189
  position: absolute;
190
190
  inset: 0;
@@ -215,7 +215,7 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
215
215
  }
216
216
 
217
217
  .ft-input-label:before {
218
- width: ${Oe.horizontalSpacing};
218
+ width: calc(${Oe.horizontalSpacing} - 4px);
219
219
  flex-shrink: 0;
220
220
  }
221
221
 
@@ -233,6 +233,8 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
233
233
  border-color: inherit;
234
234
  color: ${Oe.textColor};
235
235
  transition: font-size 250ms, line-height 250ms, color 250ms;
236
+ max-width: calc(${Oe.labelMaxWidth} - 2 * (${Oe.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
237
+ text-overflow: ellipsis;
236
238
  ${ht(oe.fontSize,Oe.fontSize)};
237
239
  ${ht(oe.lineHeight,Oe.fontSize)};
238
240
  }
@@ -248,6 +250,8 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
248
250
  .ft-input-label--hidden-text {
249
251
  padding: 0 4px;
250
252
  opacity: 0;
253
+ max-width: 100%;
254
+ box-sizing: border-box;
251
255
  }
252
256
 
253
257
  .ft-input-label--floating-text {
@@ -259,6 +263,8 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
259
263
  text-overflow: ellipsis;
260
264
  padding: ${Oe.verticalSpacing} 4px;
261
265
  margin: calc(${Oe.verticalSpacing} * -1) 0;
266
+ max-width: 100%;
267
+ box-sizing: border-box;
262
268
  }
263
269
 
264
270
  .ft-input-label--raised .ft-input-label--text {
@@ -300,7 +306,7 @@ const yt=1;class bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
300
306
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
301
307
  border-top: none;
302
308
  }
303
- `;var Ne,Ee=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Ce extends dt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return D`
309
+ `;var Ne,Ee=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Ce extends ut{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return D`
304
310
  <div class="${gt(t)}">
305
311
  ${this.text?D`
306
312
  <div class="ft-input-label--text ft-typography--caption">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-input-label",
3
- "version": "0.3.47",
3
+ "version": "0.3.49",
4
4
  "description": "Dynamic label with outline",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-typography": "0.3.47",
23
- "@fluid-topics/ft-wc-utils": "0.3.47",
22
+ "@fluid-topics/ft-typography": "0.3.49",
23
+ "@fluid-topics/ft-wc-utils": "0.3.49",
24
24
  "lit": "2.2.8"
25
25
  },
26
- "gitHead": "80e65714b25d4e681f722ff7a064af63e63b3b77"
26
+ "gitHead": "3584a4f0b3edc500a360c2afe2ef3e5cdbb604b6"
27
27
  }