@fluid-topics/ft-collapsible 1.1.3 → 1.1.4
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.
- package/build/ft-collapsible.light.js +134 -134
- package/build/ft-collapsible.min.js +44 -44
- package/package.json +4 -4
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
class="${i.classMap(t)}"
|
|
28
28
|
@click=${this.onContentClick}
|
|
29
29
|
@transitionend=${()=>this.animationInProgress=!1}></slot>
|
|
30
|
-
`}toggleOpenAnimation(){this.animationInProgress=!0,setTimeout((()=>this.toggleOpen()),5),this.animationEndSafeguard.run((()=>this.animationInProgress=!1))}toggleOpen(){this.open=!this.open,this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeCollapsibleMatchers,this)&&this.toggleOpenAnimation()}}n([r.property({type:Boolean,reflect:!0})],l.prototype,"open",void 0),n([r.property({type:Boolean})],l.prototype,"animated",void 0),n([o.jsonProperty([])],l.prototype,"closeCollapsibleMatchers",void 0),n([r.property({type:Boolean})],l.prototype,"primary",void 0),n([r.property({type:Boolean})],l.prototype,"secondary",void 0),n([r.property({type:Boolean})],l.prototype,"tertiary",void 0),n([r.property({type:Boolean})],l.prototype,"neutral",void 0),n([r.property({type:Boolean})],l.prototype,"dense",void 0),n([r.property({type:Boolean})],l.prototype,"round",void 0),n([r.property({type:Boolean})],l.prototype,"small",void 0),n([r.property()],l.prototype,"label",void 0),n([r.property()],l.prototype,"openLabel",void 0),n([r.property()],l.prototype,"closedLabel",void 0),n([r.property()],l.prototype,"text",void 0),n([r.property()],l.prototype,"openText",void 0),n([r.property()],l.prototype,"closedText",void 0),n([r.property({type:Boolean})],l.prototype,"disabled",void 0),n([r.property()],l.prototype,"tooltipPosition",void 0),n([r.property()],l.prototype,"iconVariant",void 0),n([r.property()],l.prototype,"openIcon",void 0),n([r.property()],l.prototype,"closedIcon",void 0),n([r.property({type:Boolean})],l.prototype,"trailingIcon",void 0),n([r.state()],l.prototype,"animationInProgress",void 0);const c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),
|
|
30
|
+
`}toggleOpenAnimation(){this.animationInProgress=!0,setTimeout((()=>this.toggleOpen()),5),this.animationEndSafeguard.run((()=>this.animationInProgress=!1))}toggleOpen(){this.open=!this.open,this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeCollapsibleMatchers,this)&&this.toggleOpenAnimation()}}n([r.property({type:Boolean,reflect:!0})],l.prototype,"open",void 0),n([r.property({type:Boolean})],l.prototype,"animated",void 0),n([o.jsonProperty([])],l.prototype,"closeCollapsibleMatchers",void 0),n([r.property({type:Boolean})],l.prototype,"primary",void 0),n([r.property({type:Boolean})],l.prototype,"secondary",void 0),n([r.property({type:Boolean})],l.prototype,"tertiary",void 0),n([r.property({type:Boolean})],l.prototype,"neutral",void 0),n([r.property({type:Boolean})],l.prototype,"dense",void 0),n([r.property({type:Boolean})],l.prototype,"round",void 0),n([r.property({type:Boolean})],l.prototype,"small",void 0),n([r.property()],l.prototype,"label",void 0),n([r.property()],l.prototype,"openLabel",void 0),n([r.property()],l.prototype,"closedLabel",void 0),n([r.property()],l.prototype,"text",void 0),n([r.property()],l.prototype,"openText",void 0),n([r.property()],l.prototype,"closedText",void 0),n([r.property({type:Boolean})],l.prototype,"disabled",void 0),n([r.property()],l.prototype,"tooltipPosition",void 0),n([r.property()],l.prototype,"iconVariant",void 0),n([r.property()],l.prototype,"openIcon",void 0),n([r.property()],l.prototype,"closedIcon",void 0),n([r.property({type:Boolean})],l.prototype,"trailingIcon",void 0),n([r.state()],l.prototype,"animationInProgress",void 0);const c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),s={color:c,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},p=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),f=p,d=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",p),h=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),y=h,g=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",h),u=e.css`
|
|
31
31
|
:host {
|
|
32
32
|
display: contents;
|
|
33
33
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
42
42
|
overflow: hidden;
|
|
43
|
-
border-radius: ${
|
|
43
|
+
border-radius: ${s.borderRadius};
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.ft-ripple .ft-ripple--background,
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.ft-ripple .ft-ripple--background {
|
|
77
|
-
background-color: ${
|
|
77
|
+
background-color: ${s.backgroundColor};
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.ft-ripple .ft-ripple--effect {
|
|
81
|
-
background-color: ${
|
|
81
|
+
background-color: ${s.color};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
@@ -124,33 +124,33 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
127
|
-
opacity: ${
|
|
127
|
+
opacity: ${s.opacityContentOnSurfaceHover};
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
131
|
-
opacity: ${
|
|
131
|
+
opacity: ${s.opacityContentOnSurfaceSelected};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
135
|
-
opacity: ${
|
|
135
|
+
opacity: ${s.opacityContentOnSurfaceFocused};
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
139
|
-
opacity: ${
|
|
139
|
+
opacity: ${s.opacityContentOnSurfacePressed};
|
|
140
140
|
transform: translate(-50%, -50%) scale(1);
|
|
141
141
|
}
|
|
142
|
-
`,u=t=>"string"==typeof t?e.unsafeCSS(t):t;class m{static create(t,o,r,i){const a=t=>u(null!=t?t:i),n=e.css`var(${u(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${u(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${u(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${u(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):u(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${u(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${u(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const x={colorWhite:m.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:m.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:m.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:m.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:m.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:m.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:m.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:m.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:m.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:m.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:m.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:m.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:m.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:m.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:m.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:m.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:m.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:m.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:m.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:m.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:m.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:m.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:m.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:m.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:m.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:m.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:m.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:m.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:m.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:m.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:m.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:m.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:m.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:m.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:m.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:m.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:m.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:m.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:m.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:m.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:m.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:m.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:m.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:m.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:m.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:m.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:m.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:m.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:m.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:m.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:m.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:m.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:m.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:m.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:m.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:m.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:m.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:m.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:m.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:m.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:m.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:m.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:m.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:m.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:m.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:m.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:m.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:m.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:m.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:m.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:m.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:m.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:m.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:m.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:m.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:m.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:m.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:m.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:m.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:m.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:m.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:m.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:m.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:m.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:m.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:m.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:m.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:m.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:m.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:m.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:m.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:m.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:m.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:m.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:m.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:m.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:m.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:m.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:m.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:m.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:m.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:m.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:m.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:m.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:m.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:m.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:m.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:m.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:m.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:m.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:m.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:m.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:m.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:m.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:m.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:m.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:m.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:m.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:m.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:m.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:m.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:m.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:m.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:m.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:m.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:m.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:m.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:m.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:m.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:m.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:m.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:m.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:m.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:m.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:m.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:m.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:m.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:m.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:m.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:m.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:m.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:m.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:m.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:m.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:m.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:m.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:m.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:m.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:m.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:m.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:m.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:m.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:m.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:m.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:m.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:m.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:m.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:m.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:m.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:m.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:m.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:m.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:m.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:m.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:m.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:m.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:m.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:m.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:m.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:m.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:m.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:m.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:m.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:m.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:m.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:m.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:m.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:m.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:m.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:m.create("--ft-icon-size-6","","SIZE","48px"),opacity0:m.create("--ft-opacity-0","","NUMBER","0"),opacity8:m.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:m.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:m.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:m.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:m.create("--ft-opacity-80","","NUMBER","0.8")},O={display:{fontFamily:m.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:m.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:m.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:m.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:m.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:m.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:m.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:m.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:m.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:m.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:m.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:m.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:m.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:m.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:m.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:m.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:m.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:m.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:m.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:m.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:m.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:m.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:m.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:m.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:m.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:m.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:m.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},N={backgroundActionPrimary:m.extend("--ft-background-action-primary","Used as backgorund of primary action components.",x.colorBrand0),backgroundErrorPrimary:m.extend("--ft-background-error-primary","Used as background of error components.",x.colorRed0),backgroundErrorSubtle:m.extend("--ft-background-error-subtle","Used as background of subtle error components.",x.colorRed10),backgroundInfoPrimary:m.extend("--ft-background-info-primary","Used as background of information components.",x.colorCyan200),backgroundInfoSubtle:m.extend("--ft-background-info-subtle","Used as background of subtle information components.",x.colorCyan10),backgroundWarningPrimary:m.extend("--ft-background-warning-primary","Used as background of warning components.",x.colorOrange300),backgroundWarningSubtle:m.extend("--ft-background-warning-subtle","Used as background of subtle information components.",x.colorOrange10),backgroundSuccessPrimary:m.extend("--ft-background-success-primary","Used as background of success components.",x.colorGreen200),backgroundSuccessSubtle:m.extend("--ft-background-success-subtle","Used as background of subtle success components.",x.colorGreen10),backgroundGlobalSurface:m.extend("--ft-background-global-surface","Used as app background.",x.colorWhite),backgroundGlobalOnSurface:m.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",x.colorGray10),backgroundGlobalOnSurfaceDark:m.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",x.colorGray30),contentActionPrimary:m.extend("--ft-content-action-primary","Used on label of primary action on light surface.",x.colorBrand0),contentWarningPrimary:m.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",x.colorOrange300),contentWarningIconOnly:m.extend("--ft-content-warning-icon-only","Used on warning status icons alone",x.colorOrange0),contentErrorPrimary:m.extend("--ft-content-error-primary","Used on label of error messages on light surface.",x.colorRed0),contentErrorIconOnly:m.extend("--ft-content-error-icon-only","Used on error status icons alone",x.colorRed0),contentInfoPrimary:m.extend("--ft-content-info-primary","Used on label of information messages on light surface.",x.colorCyan200),contentInfoIconOnly:m.extend("--ft-content-info-icon-only","Used on info status icons alone",x.colorCyan0),contentSuccessIconOnly:m.extend("--ft-content-success-icon-only","Used on success status icons alone",x.colorGreen0),contentSuccessPrimary:m.extend("--ft-content-success-primary","Used on label of success messages on light surface.",x.colorGreen200),contentGlobalPrimary:m.extend("--ft-content-global-primary","Used for main content on the page.",x.colorGray500),contentGlobalSecondary:m.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",x.colorGray200),contentGlobalSubtle:m.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",x.colorGray0),contentGlobalOnColor:m.extend("--ft-content-global-on-color","Used for content on a dominant color.",x.colorWhite),borderActionPrimary:m.extend("--ft-border-action-primary","Used as border for primary action components.",x.colorBrand0),borderActionFocusRing:m.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",x.colorCyan0),borderWarningPrimary:m.extend("--ft-border-warning-primary","Used as border for warning components.",x.colorOrange30),borderSuccessPrimary:m.extend("--ft-border-success-primary","Used as border for success components.",x.colorGreen30),borderErrorPrimary:m.extend("--ft-border-error-primary","Used as border for error components.",x.colorRed30),borderInfoPrimary:m.extend("--ft-border-info-primary","Used as border for information components.",x.colorCyan30),borderGlobalSubtle:m.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",x.colorGray30),borderGlobalPrimary:m.extend("--ft-border-global-primary","Used as border for element like input.",x.colorGray50),borderInputPrimary:m.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",x.colorGray80)},v={largeHeight:m.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:m.extend("--ft-button-large-horizontal-padding","",x.spacing4),largeGap:m.extend("--ft-button-large-gap","",x.spacing2),largeBorderRadius:m.extend("--ft-button-large-border-radius","",x.borderRadiusS),largeIconSize:m.extend("--ft-button-large-icon-size","",x.iconSize3),largeBorderWidth:m.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:m.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:m.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:m.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:m.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:m.extend("--ft-button-small-horizontal-padding","",x.spacing3),smallGap:m.extend("--ft-button-small-gap","",x.spacing2),smallBorderRadius:m.extend("--ft-button-small-border-radius","",x.borderRadiusS),smallIconSize:m.extend("--ft-button-small-icon-size","",x.iconSize2),smallBorderWidth:m.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:m.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:m.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:m.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:m.extend("--ft-button-primary-background-color","",N.backgroundActionPrimary),primaryColor:m.extend("--ft-button-primary-color","",N.contentGlobalOnColor),primaryIconColor:m.extend("--ft-button-primary-icon-color","",N.contentGlobalOnColor),primaryStateLayerColor:m.extend("--ft-button-primary-state-layer-color","",N.contentGlobalOnColor),primaryStateLayerOpacityHover:m.extend("--ft-button-primary-state-layer-opacity-hover","",x.opacity16),primaryStateLayerOpacityFocus:m.extend("--ft-button-primary-state-layer-opacity-focus","",x.opacity16),primaryStateLayerOpacityActive:m.extend("--ft-button-primary-state-layer-opacity-active","",x.opacity24),primaryComponentOpacityDisabled:m.extend("--ft-button-primary-component-opacity-disabled","",x.opacity40),focusFocusRingColor:m.extend("--ft-button-focus-focus-ring-color","",N.borderActionFocusRing),tertiaryBackgroundColor:m.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:m.extend("--ft-button-tertiary-color","",N.contentActionPrimary),tertiaryIconColor:m.extend("--ft-button-tertiary-icon-color","",N.contentActionPrimary),tertiaryStateLayerColor:m.extend("--ft-button-tertiary-state-layer-color","",N.contentActionPrimary),tertiaryStateLayerOpacityHover:m.extend("--ft-button-tertiary-state-layer-opacity-hover","",x.opacity8),tertiaryStateLayerOpacityFocus:m.extend("--ft-button-tertiary-state-layer-opacity-focus","",x.opacity8),tertiaryStateLayerOpacityActive:m.extend("--ft-button-tertiary-state-layer-opacity-active","",x.opacity16),tertiaryComponentOpacityDisabled:m.extend("--ft-button-tertiary-component-opacity-disabled","",x.opacity40),secondaryBackgroundColor:m.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:m.extend("--ft-button-secondary-color","",N.contentActionPrimary),secondaryIconColor:m.extend("--ft-button-secondary-icon-color","",N.contentActionPrimary),secondaryStateLayerColor:m.extend("--ft-button-secondary-state-layer-color","",N.contentActionPrimary),secondaryStateLayerOpacityHover:m.extend("--ft-button-secondary-state-layer-opacity-hover","",x.opacity8),secondaryStateLayerOpacityFocus:m.extend("--ft-button-secondary-state-layer-opacity-focus","",x.opacity8),secondaryStateLayerOpacityActive:m.extend("--ft-button-secondary-state-layer-opacity-active","",x.opacity16),secondaryComponentOpacityDisabled:m.extend("--ft-button-secondary-component-opacity-disabled","",x.opacity40),secondaryBorderColor:m.extend("--ft-button-secondary-border-color","",N.borderActionPrimary),neutralBackgroundColor:m.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:m.extend("--ft-button-neutral-icon-color","",N.contentGlobalSecondary),neutralColor:m.extend("--ft-button-neutral-color","",N.contentGlobalSecondary),neutralStateLayerColor:m.extend("--ft-button-neutral-state-layer-color","",N.contentGlobalSecondary),neutralStateLayerOpacityHover:m.extend("--ft-button-neutral-state-layer-opacity-hover","",x.opacity8),neutralStateLayerOpacityFocus:m.extend("--ft-button-neutral-state-layer-opacity-focus","",x.opacity8),neutralStateLayerOpacityActive:m.extend("--ft-button-neutral-state-layer-opacity-active","",x.opacity16),neutralComponentOpacityDisabled:m.extend("--ft-button-neutral-component-opacity-disabled","",x.opacity40)};m.extend("--ft-tabs-top-left-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-top-right-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-label-horizontal-padding","",x.spacing4),m.extend("--ft-tabs-label-vertical-padding","",x.spacing3),m.extend("--ft-tabs-label-gap","",x.spacing1),m.extend("--ft-switch-group-horizontal-padding","",x.spacing1),m.extend("--ft-switch-group-vertical-padding","",x.spacing1),m.extend("--ft-switch-group-gap","",x.spacing1),m.extend("--ft-switch-group-background-color","",N.backgroundGlobalSurface),m.extend("--ft-switch-group-border-color","",N.borderGlobalSubtle),m.create("--ft-switch-group-border-radius","","SIZE","6px"),m.extend("--ft-switch-label-horizontal-padding","",x.spacing2),m.extend("--ft-switch-label-vertical-padding","",x.spacing1),m.extend("--ft-switch-icon-horizontal-padding","",x.spacing1),m.extend("--ft-switch-icon-vertical-padding","",x.spacing1),m.create("--ft-switch-focus-outline-width","","SIZE","2px"),m.extend("--ft-switch-focus-focus-ring-color","",N.borderActionFocusRing),m.extend("--ft-switch-option-border-radius","",x.borderRadiusS),m.extend("--ft-switch-off-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-active","",x.opacity16),m.extend("--ft-switch-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-switch-off-color","",N.contentGlobalSubtle),m.extend("--ft-switch-off-state-layer-color","",N.contentGlobalSubtle),m.extend("--ft-chart-1-light","for area color charts",x.colorBrand40),m.extend("--ft-chart-1-base","for line charts",x.colorBrand0),m.extend("--ft-chart-2-light","for area color charts",x.colorYellow60),m.extend("--ft-chart-2-base","for line charts",x.colorYellow100),m.extend("--ft-chart-3-light","",x.colorUltramarine40),m.extend("--ft-chart-3-base","",x.colorUltramarine70),m.extend("--ft-chart-4-light","",x.colorCyan50),m.extend("--ft-chart-4-base","",x.colorCyan100),m.extend("--ft-chart-5-light","",x.colorRed40),m.extend("--ft-chart-5-base","",x.colorRed60),m.extend("--ft-chart-6-light","",x.colorGreen40),m.extend("--ft-chart-6-base","",x.colorGreen70),m.extend("--ft-chart-7-light","",x.colorOrange70),m.extend("--ft-chart-7-base","",x.colorOrange100),m.extend("--ft-chart-8-light","",x.colorAvocado70),m.extend("--ft-chart-8-base","",x.colorAvocado200),m.extend("--ft-chart-9-light","",x.colorBrown50),m.extend("--ft-chart-9-base","",x.colorBrown200),m.extend("--ft-chart-10-light","",x.colorGray50),m.extend("--ft-chart-10-base","",x.colorGray80),m.extend("--ft-chart-monochrome-10","",x.colorBrand10),m.extend("--ft-chart-monochrome-20","",x.colorBrand20),m.extend("--ft-chart-monochrome-30","",x.colorBrand40),m.extend("--ft-chart-monochrome-40","",x.colorBrand60),m.extend("--ft-chart-monochrome-50","",x.colorBrand0),m.extend("--ft-chart-monochrome-60","",x.colorBrand200),m.extend("--ft-chip-large-horizontal-padding","",x.spacing4),m.extend("--ft-chip-large-vertical-padding","",x.spacing2),m.extend("--ft-chip-large-gap","",x.spacing1),m.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-large-border-radius","",x.borderRadiusPill),m.create("--ft-chip-large-border-width","","SIZE","1px"),m.extend("--ft-chip-large-icon-size","",x.iconSize3),m.extend("--ft-chip-medium-horizontal-padding","",x.spacing3),m.extend("--ft-chip-medium-vertical-padding","",x.spacing1),m.extend("--ft-chip-medium-gap","",x.spacing1),m.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-medium-border-radius","",x.borderRadiusPill),m.create("--ft-chip-medium-border-width","","SIZE","1px"),m.extend("--ft-chip-medium-icon-size","",x.iconSize2),m.extend("--ft-chip-small-horizontal-padding","",x.spacing2),m.extend("--ft-chip-small-vertical-padding","",x.spacing05),m.extend("--ft-chip-small-gap","",x.spacing1),m.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-small-border-radius","",x.borderRadiusPill),m.create("--ft-chip-small-border-width","","SIZE","1px"),m.extend("--ft-chip-small-icon-size","",x.iconSize1),m.extend("--ft-chip-neutral-background-color","",N.backgroundGlobalOnSurface),m.extend("--ft-chip-neutral-color","",N.contentGlobalPrimary),m.extend("--ft-chip-neutral-border-color","",N.borderGlobalSubtle),m.extend("--ft-chip-info-background-color","",N.backgroundInfoSubtle),m.extend("--ft-chip-info-color","",N.contentInfoPrimary),m.extend("--ft-chip-info-border-color","",N.borderInfoPrimary),m.extend("--ft-chip-success-background-color","",N.backgroundSuccessSubtle),m.extend("--ft-chip-success-color","",N.contentSuccessPrimary),m.extend("--ft-chip-success-border-color","",N.borderSuccessPrimary),m.extend("--ft-chip-warning-background-color","",N.backgroundWarningSubtle),m.extend("--ft-chip-warning-color","",N.contentWarningPrimary),m.extend("--ft-chip-warning-border-color","",N.borderWarningPrimary),m.extend("--ft-chip-error-background-color","",N.backgroundErrorSubtle),m.extend("--ft-chip-error-color","",N.contentErrorPrimary),m.extend("--ft-chip-error-border-color","",N.borderErrorPrimary),m.create("--ft-notice-border-width","","SIZE","1px"),m.extend("--ft-notice-horizontal-padding","",x.spacing2),m.extend("--ft-notice-vertical-padding","",x.spacing1),m.extend("--ft-notice-border-radius","",x.borderRadiusS),m.extend("--ft-notice-gap","",x.spacing2),m.extend("--ft-notice-icon-size","",x.iconSize3),m.extend("--ft-notice-info-background-color","",N.backgroundInfoSubtle),m.extend("--ft-notice-info-border-color","",N.borderInfoPrimary),m.extend("--ft-notice-info-color","",N.contentInfoPrimary),m.extend("--ft-notice-warning-background-color","",N.backgroundWarningSubtle),m.extend("--ft-notice-warning-border-color","",N.borderWarningPrimary),m.extend("--ft-notice-warning-color","",N.contentWarningPrimary),m.extend("--ft-checkbox-label-color","",N.contentGlobalPrimary),m.extend("--ft-checkbox-checked-background-color","",N.contentActionPrimary),m.extend("--ft-checkbox-checked-state-layer-color","",N.contentActionPrimary),m.extend("--ft-checkbox-checked-color","",N.contentGlobalOnColor),m.extend("--ft-checkbox-checked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-checked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-unchecked-border-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-unchecked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-focus-focus-ring-color","",N.borderActionFocusRing),m.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),m.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),m.extend("--ft-checkbox-gap","",x.spacing3),m.extend("--ft-toggle-off-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-off-background-color","",N.contentGlobalSubtle),m.extend("--ft-toggle-off-icon-color","",N.contentGlobalSubtle),m.extend("--ft-toggle-off-state-layer-color","",N.contentGlobalSubtle),m.extend("--ft-toggle-on-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-on-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-on-background-color","",N.contentActionPrimary),m.extend("--ft-toggle-on-icon-color","",N.contentActionPrimary),m.extend("--ft-toggle-on-state-layer-color","",N.contentActionPrimary),m.extend("--ft-toggle-label-color","",N.contentGlobalPrimary),m.extend("--ft-toggle-focus-focus-ring-color","",N.borderActionFocusRing),m.extend("--ft-toggle-gap","",x.spacing3),m.extend("--ft-radio-label-color","",N.contentGlobalPrimary),m.extend("--ft-radio-selected-color","",N.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-color","",N.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-selected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-unselected-state-layer-color","",x.colorGray80),m.extend("--ft-radio-unselected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-unselected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-focus-focus-ring-color","",N.borderActionFocusRing),m.create("--ft-radio-focus-outline-offset","","SIZE","3px"),m.create("--ft-radio-focus-outline-width","","SIZE","2px"),m.extend("--ft-radio-gap","",x.spacing3),m.extend("--ft-notification-icon-size","",x.iconSize4),m.extend("--ft-notification-horizontal-padding","",x.spacing4),m.extend("--ft-notification-vertical-padding","",x.spacing4),m.extend("--ft-notification-info-background-color","",N.backgroundInfoSubtle),m.extend("--ft-notification-info-color","",N.contentInfoPrimary),m.extend("--ft-notification-info-border-color","",N.borderInfoPrimary),m.extend("--ft-notification-success-background-color","",N.backgroundSuccessSubtle),m.extend("--ft-notification-success-color","",N.contentSuccessPrimary),m.extend("--ft-notification-success-border-color","",N.borderSuccessPrimary),m.extend("--ft-notification-warning-background-color","",N.backgroundWarningSubtle),m.extend("--ft-notification-warning-color","",N.contentWarningPrimary),m.extend("--ft-notification-warning-border-color","",N.borderWarningPrimary),m.extend("--ft-notification-error-background-color","",N.backgroundErrorSubtle),m.extend("--ft-notification-error-color","",N.contentErrorPrimary),m.extend("--ft-notification-error-border-color","",N.borderErrorPrimary),m.extend("--ft-notification-border-radius","",x.borderRadiusPill),m.create("--ft-notification-border-width","","SIZE","1px"),m.extend("--ft-notification-gap-leading","",x.spacing2),m.extend("--ft-notification-gap-trailing","",x.spacing8);const S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),$=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),C={fontFamily:$,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},w=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),U=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),W=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),k=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),ot=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),lt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),$t=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),Ct=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase"),wt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},It=e.css`
|
|
142
|
+
`,b=t=>"string"==typeof t?e.unsafeCSS(t):t;class m{static create(t,o,r,i){const a=t=>b(null!=t?t:i),n=e.css`var(${b(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${b(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${b(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${b(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):b(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${b(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${b(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const x={colorWhite:m.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:m.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:m.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:m.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:m.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:m.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:m.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:m.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:m.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:m.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:m.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:m.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:m.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:m.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:m.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:m.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:m.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:m.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:m.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:m.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:m.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:m.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:m.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:m.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:m.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:m.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:m.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:m.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:m.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:m.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:m.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:m.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:m.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:m.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:m.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:m.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:m.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:m.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:m.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:m.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:m.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:m.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:m.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:m.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:m.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:m.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:m.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:m.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:m.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:m.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:m.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:m.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:m.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:m.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:m.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:m.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:m.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:m.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:m.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:m.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:m.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:m.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:m.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:m.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:m.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:m.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:m.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:m.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:m.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:m.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:m.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:m.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:m.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:m.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:m.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:m.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:m.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:m.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:m.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:m.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:m.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:m.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:m.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:m.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:m.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:m.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:m.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:m.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:m.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:m.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:m.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:m.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:m.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:m.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:m.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:m.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:m.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:m.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:m.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:m.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:m.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:m.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:m.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:m.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:m.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:m.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:m.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:m.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:m.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:m.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:m.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:m.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:m.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:m.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:m.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:m.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:m.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:m.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:m.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:m.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:m.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:m.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:m.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:m.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:m.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:m.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:m.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:m.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:m.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:m.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:m.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:m.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:m.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:m.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:m.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:m.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:m.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:m.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:m.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:m.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:m.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:m.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:m.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:m.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:m.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:m.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:m.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:m.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:m.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:m.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:m.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:m.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:m.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:m.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:m.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:m.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:m.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:m.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:m.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:m.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:m.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:m.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:m.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:m.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:m.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:m.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:m.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:m.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:m.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:m.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:m.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:m.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:m.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:m.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:m.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:m.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:m.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:m.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:m.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:m.create("--ft-icon-size-6","","SIZE","48px"),opacity0:m.create("--ft-opacity-0","","NUMBER","0"),opacity8:m.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:m.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:m.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:m.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:m.create("--ft-opacity-80","","NUMBER","0.8")},O={display:{fontFamily:m.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:m.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:m.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:m.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:m.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:m.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:m.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:m.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:m.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:m.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:m.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:m.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:m.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:m.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:m.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:m.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:m.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:m.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:m.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:m.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:m.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:m.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:m.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:m.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:m.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:m.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:m.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},v={backgroundActionPrimary:m.extend("--ft-background-action-primary","Used as backgorund of primary action components.",x.colorBrand0),backgroundErrorPrimary:m.extend("--ft-background-error-primary","Used as background of error components.",x.colorRed0),backgroundErrorSubtle:m.extend("--ft-background-error-subtle","Used as background of subtle error components.",x.colorRed10),backgroundInfoPrimary:m.extend("--ft-background-info-primary","Used as background of information components.",x.colorCyan200),backgroundInfoSubtle:m.extend("--ft-background-info-subtle","Used as background of subtle information components.",x.colorCyan10),backgroundWarningPrimary:m.extend("--ft-background-warning-primary","Used as background of warning components.",x.colorOrange300),backgroundWarningSubtle:m.extend("--ft-background-warning-subtle","Used as background of subtle information components.",x.colorOrange10),backgroundSuccessPrimary:m.extend("--ft-background-success-primary","Used as background of success components.",x.colorGreen200),backgroundSuccessSubtle:m.extend("--ft-background-success-subtle","Used as background of subtle success components.",x.colorGreen10),backgroundGlobalSurface:m.extend("--ft-background-global-surface","Used as app background.",x.colorWhite),backgroundGlobalOnSurface:m.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",x.colorGray10),backgroundGlobalOnSurfaceDark:m.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",x.colorGray30),contentActionPrimary:m.extend("--ft-content-action-primary","Used on label of primary action on light surface.",x.colorBrand0),contentWarningPrimary:m.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",x.colorOrange300),contentWarningIconOnly:m.extend("--ft-content-warning-icon-only","Used on warning status icons alone",x.colorOrange0),contentErrorPrimary:m.extend("--ft-content-error-primary","Used on label of error messages on light surface.",x.colorRed0),contentErrorIconOnly:m.extend("--ft-content-error-icon-only","Used on error status icons alone",x.colorRed0),contentInfoPrimary:m.extend("--ft-content-info-primary","Used on label of information messages on light surface.",x.colorCyan200),contentInfoIconOnly:m.extend("--ft-content-info-icon-only","Used on info status icons alone",x.colorCyan0),contentSuccessIconOnly:m.extend("--ft-content-success-icon-only","Used on success status icons alone",x.colorGreen0),contentSuccessPrimary:m.extend("--ft-content-success-primary","Used on label of success messages on light surface.",x.colorGreen200),contentGlobalPrimary:m.extend("--ft-content-global-primary","Used for main content on the page.",x.colorGray500),contentGlobalSecondary:m.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",x.colorGray200),contentGlobalSubtle:m.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",x.colorGray0),contentGlobalOnColor:m.extend("--ft-content-global-on-color","Used for content on a dominant color.",x.colorWhite),borderActionPrimary:m.extend("--ft-border-action-primary","Used as border for primary action components.",x.colorBrand0),borderActionFocusRing:m.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",x.colorCyan0),borderWarningPrimary:m.extend("--ft-border-warning-primary","Used as border for warning components.",x.colorOrange30),borderSuccessPrimary:m.extend("--ft-border-success-primary","Used as border for success components.",x.colorGreen30),borderErrorPrimary:m.extend("--ft-border-error-primary","Used as border for error components.",x.colorRed30),borderInfoPrimary:m.extend("--ft-border-info-primary","Used as border for information components.",x.colorCyan30),borderGlobalSubtle:m.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",x.colorGray30),borderGlobalPrimary:m.extend("--ft-border-global-primary","Used as border for element like input.",x.colorGray50),borderInputPrimary:m.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",x.colorGray80)},N={largeHeight:m.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:m.extend("--ft-button-large-horizontal-padding","",x.spacing4),largeGap:m.extend("--ft-button-large-gap","",x.spacing2),largeBorderRadius:m.extend("--ft-button-large-border-radius","",x.borderRadiusS),largeIconSize:m.extend("--ft-button-large-icon-size","",x.iconSize3),largeBorderWidth:m.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:m.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:m.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:m.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:m.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:m.extend("--ft-button-small-horizontal-padding","",x.spacing3),smallGap:m.extend("--ft-button-small-gap","",x.spacing2),smallBorderRadius:m.extend("--ft-button-small-border-radius","",x.borderRadiusS),smallIconSize:m.extend("--ft-button-small-icon-size","",x.iconSize2),smallBorderWidth:m.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:m.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:m.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:m.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:m.extend("--ft-button-primary-background-color","",v.backgroundActionPrimary),primaryColor:m.extend("--ft-button-primary-color","",v.contentGlobalOnColor),primaryIconColor:m.extend("--ft-button-primary-icon-color","",v.contentGlobalOnColor),primaryStateLayerColor:m.extend("--ft-button-primary-state-layer-color","",v.contentGlobalOnColor),primaryStateLayerOpacityHover:m.extend("--ft-button-primary-state-layer-opacity-hover","",x.opacity16),primaryStateLayerOpacityFocus:m.extend("--ft-button-primary-state-layer-opacity-focus","",x.opacity16),primaryStateLayerOpacityActive:m.extend("--ft-button-primary-state-layer-opacity-active","",x.opacity24),primaryComponentOpacityDisabled:m.extend("--ft-button-primary-component-opacity-disabled","",x.opacity40),focusFocusRingColor:m.extend("--ft-button-focus-focus-ring-color","",v.borderActionFocusRing),tertiaryBackgroundColor:m.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:m.extend("--ft-button-tertiary-color","",v.contentActionPrimary),tertiaryIconColor:m.extend("--ft-button-tertiary-icon-color","",v.contentActionPrimary),tertiaryStateLayerColor:m.extend("--ft-button-tertiary-state-layer-color","",v.contentActionPrimary),tertiaryStateLayerOpacityHover:m.extend("--ft-button-tertiary-state-layer-opacity-hover","",x.opacity8),tertiaryStateLayerOpacityFocus:m.extend("--ft-button-tertiary-state-layer-opacity-focus","",x.opacity8),tertiaryStateLayerOpacityActive:m.extend("--ft-button-tertiary-state-layer-opacity-active","",x.opacity16),tertiaryComponentOpacityDisabled:m.extend("--ft-button-tertiary-component-opacity-disabled","",x.opacity40),secondaryBackgroundColor:m.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:m.extend("--ft-button-secondary-color","",v.contentActionPrimary),secondaryIconColor:m.extend("--ft-button-secondary-icon-color","",v.contentActionPrimary),secondaryStateLayerColor:m.extend("--ft-button-secondary-state-layer-color","",v.contentActionPrimary),secondaryStateLayerOpacityHover:m.extend("--ft-button-secondary-state-layer-opacity-hover","",x.opacity8),secondaryStateLayerOpacityFocus:m.extend("--ft-button-secondary-state-layer-opacity-focus","",x.opacity8),secondaryStateLayerOpacityActive:m.extend("--ft-button-secondary-state-layer-opacity-active","",x.opacity16),secondaryComponentOpacityDisabled:m.extend("--ft-button-secondary-component-opacity-disabled","",x.opacity40),secondaryBorderColor:m.extend("--ft-button-secondary-border-color","",v.borderActionPrimary),neutralBackgroundColor:m.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:m.extend("--ft-button-neutral-icon-color","",v.contentGlobalSecondary),neutralColor:m.extend("--ft-button-neutral-color","",v.contentGlobalSecondary),neutralStateLayerColor:m.extend("--ft-button-neutral-state-layer-color","",v.contentGlobalSecondary),neutralStateLayerOpacityHover:m.extend("--ft-button-neutral-state-layer-opacity-hover","",x.opacity8),neutralStateLayerOpacityFocus:m.extend("--ft-button-neutral-state-layer-opacity-focus","",x.opacity8),neutralStateLayerOpacityActive:m.extend("--ft-button-neutral-state-layer-opacity-active","",x.opacity16),neutralComponentOpacityDisabled:m.extend("--ft-button-neutral-component-opacity-disabled","",x.opacity40)};m.extend("--ft-tabs-top-left-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-top-right-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-label-horizontal-padding","",x.spacing4),m.extend("--ft-tabs-label-vertical-padding","",x.spacing3),m.extend("--ft-tabs-label-gap","",x.spacing1),m.extend("--ft-switch-group-horizontal-padding","",x.spacing1),m.extend("--ft-switch-group-vertical-padding","",x.spacing1),m.extend("--ft-switch-group-gap","",x.spacing1),m.extend("--ft-switch-group-background-color","",v.backgroundGlobalSurface),m.extend("--ft-switch-group-border-color","",v.borderGlobalSubtle),m.create("--ft-switch-group-border-radius","","SIZE","6px"),m.extend("--ft-switch-label-horizontal-padding","",x.spacing2),m.extend("--ft-switch-label-vertical-padding","",x.spacing1),m.extend("--ft-switch-icon-horizontal-padding","",x.spacing1),m.extend("--ft-switch-icon-vertical-padding","",x.spacing1),m.create("--ft-switch-focus-outline-width","","SIZE","2px"),m.extend("--ft-switch-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-switch-option-border-radius","",x.borderRadiusS),m.extend("--ft-switch-off-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-active","",x.opacity16),m.extend("--ft-switch-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-switch-off-color","",v.contentGlobalSubtle),m.extend("--ft-switch-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-chart-1-light","for area color charts",x.colorBrand40),m.extend("--ft-chart-1-base","for line charts",x.colorBrand0),m.extend("--ft-chart-2-light","for area color charts",x.colorYellow60),m.extend("--ft-chart-2-base","for line charts",x.colorYellow100),m.extend("--ft-chart-3-light","",x.colorUltramarine40),m.extend("--ft-chart-3-base","",x.colorUltramarine70),m.extend("--ft-chart-4-light","",x.colorCyan50),m.extend("--ft-chart-4-base","",x.colorCyan100),m.extend("--ft-chart-5-light","",x.colorRed40),m.extend("--ft-chart-5-base","",x.colorRed60),m.extend("--ft-chart-6-light","",x.colorGreen40),m.extend("--ft-chart-6-base","",x.colorGreen70),m.extend("--ft-chart-7-light","",x.colorOrange70),m.extend("--ft-chart-7-base","",x.colorOrange100),m.extend("--ft-chart-8-light","",x.colorAvocado70),m.extend("--ft-chart-8-base","",x.colorAvocado200),m.extend("--ft-chart-9-light","",x.colorBrown50),m.extend("--ft-chart-9-base","",x.colorBrown200),m.extend("--ft-chart-10-light","",x.colorGray50),m.extend("--ft-chart-10-base","",x.colorGray80),m.extend("--ft-chart-monochrome-10","",x.colorBrand10),m.extend("--ft-chart-monochrome-20","",x.colorBrand20),m.extend("--ft-chart-monochrome-30","",x.colorBrand40),m.extend("--ft-chart-monochrome-40","",x.colorBrand60),m.extend("--ft-chart-monochrome-50","",x.colorBrand0),m.extend("--ft-chart-monochrome-60","",x.colorBrand200),m.extend("--ft-chip-large-horizontal-padding","",x.spacing4),m.extend("--ft-chip-large-vertical-padding","",x.spacing2),m.extend("--ft-chip-large-gap","",x.spacing1),m.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-large-border-radius","",x.borderRadiusPill),m.create("--ft-chip-large-border-width","","SIZE","1px"),m.extend("--ft-chip-large-icon-size","",x.iconSize3),m.extend("--ft-chip-medium-horizontal-padding","",x.spacing3),m.extend("--ft-chip-medium-vertical-padding","",x.spacing1),m.extend("--ft-chip-medium-gap","",x.spacing1),m.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-medium-border-radius","",x.borderRadiusPill),m.create("--ft-chip-medium-border-width","","SIZE","1px"),m.extend("--ft-chip-medium-icon-size","",x.iconSize2),m.extend("--ft-chip-small-horizontal-padding","",x.spacing2),m.extend("--ft-chip-small-vertical-padding","",x.spacing05),m.extend("--ft-chip-small-gap","",x.spacing1),m.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-small-border-radius","",x.borderRadiusPill),m.create("--ft-chip-small-border-width","","SIZE","1px"),m.extend("--ft-chip-small-icon-size","",x.iconSize1),m.extend("--ft-chip-neutral-background-color","",v.backgroundGlobalOnSurface),m.extend("--ft-chip-neutral-color","",v.contentGlobalPrimary),m.extend("--ft-chip-neutral-border-color","",v.borderGlobalSubtle),m.extend("--ft-chip-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-chip-info-color","",v.contentInfoPrimary),m.extend("--ft-chip-info-border-color","",v.borderInfoPrimary),m.extend("--ft-chip-success-background-color","",v.backgroundSuccessSubtle),m.extend("--ft-chip-success-color","",v.contentSuccessPrimary),m.extend("--ft-chip-success-border-color","",v.borderSuccessPrimary),m.extend("--ft-chip-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-chip-warning-color","",v.contentWarningPrimary),m.extend("--ft-chip-warning-border-color","",v.borderWarningPrimary),m.extend("--ft-chip-error-background-color","",v.backgroundErrorSubtle),m.extend("--ft-chip-error-color","",v.contentErrorPrimary),m.extend("--ft-chip-error-border-color","",v.borderErrorPrimary),m.create("--ft-notice-border-width","","SIZE","1px"),m.extend("--ft-notice-horizontal-padding","",x.spacing2),m.extend("--ft-notice-vertical-padding","",x.spacing1),m.extend("--ft-notice-border-radius","",x.borderRadiusS),m.extend("--ft-notice-gap","",x.spacing2),m.extend("--ft-notice-icon-size","",x.iconSize3),m.extend("--ft-notice-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-notice-info-border-color","",v.borderInfoPrimary),m.extend("--ft-notice-info-color","",v.contentInfoPrimary),m.extend("--ft-notice-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-notice-warning-border-color","",v.borderWarningPrimary),m.extend("--ft-notice-warning-color","",v.contentWarningPrimary),m.extend("--ft-checkbox-label-color","",v.contentGlobalPrimary),m.extend("--ft-checkbox-checked-background-color","",v.contentActionPrimary),m.extend("--ft-checkbox-checked-state-layer-color","",v.contentActionPrimary),m.extend("--ft-checkbox-checked-color","",v.contentGlobalOnColor),m.extend("--ft-checkbox-checked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-checked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-unchecked-border-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-unchecked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),m.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),m.extend("--ft-checkbox-gap","",x.spacing3),m.extend("--ft-toggle-off-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-off-background-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-off-icon-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-on-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-on-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-on-background-color","",v.contentActionPrimary),m.extend("--ft-toggle-on-icon-color","",v.contentActionPrimary),m.extend("--ft-toggle-on-state-layer-color","",v.contentActionPrimary),m.extend("--ft-toggle-label-color","",v.contentGlobalPrimary),m.extend("--ft-toggle-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-toggle-gap","",x.spacing3),m.extend("--ft-radio-label-color","",v.contentGlobalPrimary),m.extend("--ft-radio-selected-color","",v.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-color","",v.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-selected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-unselected-state-layer-color","",x.colorGray80),m.extend("--ft-radio-unselected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-unselected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-radio-focus-outline-offset","","SIZE","3px"),m.create("--ft-radio-focus-outline-width","","SIZE","2px"),m.extend("--ft-radio-gap","",x.spacing3),m.extend("--ft-notification-icon-size","",x.iconSize4),m.extend("--ft-notification-horizontal-padding","",x.spacing4),m.extend("--ft-notification-vertical-padding","",x.spacing4),m.extend("--ft-notification-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-notification-info-color","",v.contentInfoPrimary),m.extend("--ft-notification-info-border-color","",v.borderInfoPrimary),m.extend("--ft-notification-success-background-color","",v.backgroundSuccessSubtle),m.extend("--ft-notification-success-color","",v.contentSuccessPrimary),m.extend("--ft-notification-success-border-color","",v.borderSuccessPrimary),m.extend("--ft-notification-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-notification-warning-color","",v.contentWarningPrimary),m.extend("--ft-notification-warning-border-color","",v.borderWarningPrimary),m.extend("--ft-notification-error-background-color","",v.backgroundErrorSubtle),m.extend("--ft-notification-error-color","",v.contentErrorPrimary),m.extend("--ft-notification-error-border-color","",v.borderErrorPrimary),m.extend("--ft-notification-border-radius","",x.borderRadiusPill),m.create("--ft-notification-border-width","","SIZE","1px"),m.extend("--ft-notification-gap-leading","",x.spacing2),m.extend("--ft-notification-gap-trailing","",x.spacing8);const S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),C=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),$={fontFamily:C,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},w=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),U=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),W=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),L=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",C),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",C),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",C),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),ot=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",C),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),lt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",C),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",C),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",C),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),wt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",C),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},It=e.css`
|
|
143
143
|
.ft-typography--title {
|
|
144
144
|
font-family: ${w};
|
|
145
145
|
font-size: ${I};
|
|
146
146
|
font-weight: ${R};
|
|
147
147
|
letter-spacing: ${U};
|
|
148
148
|
line-height: ${W};
|
|
149
|
-
text-transform: ${
|
|
149
|
+
text-transform: ${L};
|
|
150
150
|
}
|
|
151
151
|
`,Rt=e.css`
|
|
152
152
|
.ft-typography--title-dense {
|
|
153
|
-
font-family: ${
|
|
153
|
+
font-family: ${k};
|
|
154
154
|
font-size: ${E};
|
|
155
155
|
font-weight: ${K};
|
|
156
156
|
letter-spacing: ${Z};
|
|
@@ -161,31 +161,31 @@
|
|
|
161
161
|
.ft-typography--subtitle1 {
|
|
162
162
|
font-family: ${F};
|
|
163
163
|
font-size: ${D};
|
|
164
|
-
font-weight: ${
|
|
165
|
-
letter-spacing: ${
|
|
164
|
+
font-weight: ${A};
|
|
165
|
+
letter-spacing: ${H};
|
|
166
166
|
line-height: ${G};
|
|
167
|
-
text-transform: ${
|
|
167
|
+
text-transform: ${P};
|
|
168
168
|
}
|
|
169
169
|
`,Wt=e.css`
|
|
170
170
|
.ft-typography--subtitle2 {
|
|
171
|
-
font-family: ${
|
|
172
|
-
font-size: ${
|
|
171
|
+
font-family: ${T};
|
|
172
|
+
font-size: ${j};
|
|
173
173
|
font-weight: ${M};
|
|
174
174
|
letter-spacing: ${_};
|
|
175
175
|
line-height: ${Y};
|
|
176
176
|
text-transform: ${V};
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
`,
|
|
179
|
+
`,Lt=e.css`
|
|
180
180
|
.ft-typography--body1 {
|
|
181
|
-
font-family: ${
|
|
182
|
-
font-size: ${
|
|
181
|
+
font-family: ${X};
|
|
182
|
+
font-size: ${q};
|
|
183
183
|
font-weight: ${J};
|
|
184
184
|
letter-spacing: ${Q};
|
|
185
185
|
line-height: ${tt};
|
|
186
186
|
text-transform: ${ot};
|
|
187
187
|
}
|
|
188
|
-
`,
|
|
188
|
+
`,kt=e.css`
|
|
189
189
|
.ft-typography--body2 {
|
|
190
190
|
font-family: ${et};
|
|
191
191
|
font-size: ${rt};
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
`,Et=e.css`
|
|
198
198
|
.ft-typography--caption {
|
|
199
199
|
font-family: ${ct};
|
|
200
|
-
font-size: ${
|
|
201
|
-
font-weight: ${
|
|
200
|
+
font-size: ${st};
|
|
201
|
+
font-weight: ${pt};
|
|
202
202
|
letter-spacing: ${ft};
|
|
203
203
|
line-height: ${dt};
|
|
204
204
|
text-transform: ${ht};
|
|
@@ -207,19 +207,19 @@
|
|
|
207
207
|
.ft-typography--breadcrumb {
|
|
208
208
|
font-family: ${yt};
|
|
209
209
|
font-size: ${gt};
|
|
210
|
-
font-weight: ${
|
|
211
|
-
letter-spacing: ${
|
|
210
|
+
font-weight: ${ut};
|
|
211
|
+
letter-spacing: ${bt};
|
|
212
212
|
line-height: ${mt};
|
|
213
213
|
text-transform: ${xt};
|
|
214
214
|
}
|
|
215
215
|
`,Zt=e.css`
|
|
216
216
|
.ft-typography--overline {
|
|
217
217
|
font-family: ${Ot};
|
|
218
|
-
font-size: ${
|
|
219
|
-
font-weight: ${
|
|
218
|
+
font-size: ${vt};
|
|
219
|
+
font-weight: ${Nt};
|
|
220
220
|
letter-spacing: ${St};
|
|
221
|
-
line-height: ${
|
|
222
|
-
text-transform: ${
|
|
221
|
+
line-height: ${Ct};
|
|
222
|
+
text-transform: ${$t};
|
|
223
223
|
}
|
|
224
224
|
`,zt=e.css`
|
|
225
225
|
.ft-typography--button {
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
line-height: ${o.lineHeight};
|
|
244
244
|
text-transform: ${o.textCase};
|
|
245
245
|
}
|
|
246
|
-
`}(t)))],Dt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},
|
|
246
|
+
`}(t)))],Dt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},At=e.css`
|
|
247
247
|
:host {
|
|
248
248
|
line-height: 0;
|
|
249
249
|
}
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
transform: translate(calc(0.35 * ${Dt.size}), 0);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
`,
|
|
315
|
+
`,Ht={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Gt=e.css`
|
|
316
316
|
:host, i.ft-icon {
|
|
317
317
|
display: inline-flex;
|
|
318
318
|
align-items: center;
|
|
@@ -321,14 +321,14 @@
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
:host {
|
|
324
|
-
width: ${
|
|
325
|
-
height: ${
|
|
324
|
+
width: ${Ht.size};
|
|
325
|
+
height: ${Ht.size};
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
i.ft-icon {
|
|
329
329
|
width: 100%;
|
|
330
330
|
height: 100%;
|
|
331
|
-
font-size: ${
|
|
331
|
+
font-size: ${Ht.size};
|
|
332
332
|
line-height: 1;
|
|
333
333
|
font-weight: normal;
|
|
334
334
|
text-transform: none;
|
|
@@ -339,28 +339,28 @@
|
|
|
339
339
|
text-rendering: auto;
|
|
340
340
|
-webkit-font-smoothing: antialiased;
|
|
341
341
|
-moz-osx-font-smoothing: grayscale;
|
|
342
|
-
vertical-align: ${
|
|
342
|
+
vertical-align: ${Ht.verticalAlign};
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
i.ft-icon.ft-icon--fluid-topics {
|
|
346
|
-
font-family: ${
|
|
346
|
+
font-family: ${Ht.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
347
347
|
|
|
348
348
|
/* Ugly fix because font is broken */
|
|
349
|
-
font-size: calc(0.75 * ${
|
|
350
|
-
line-height: ${
|
|
349
|
+
font-size: calc(0.75 * ${Ht.size});
|
|
350
|
+
line-height: ${Ht.size};
|
|
351
351
|
position: relative;
|
|
352
352
|
top: -4%;
|
|
353
353
|
justify-content: center;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.ft-icon--file-format {
|
|
357
|
-
font-family: ${
|
|
357
|
+
font-family: ${Ht.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
.ft-icon--material {
|
|
361
|
-
font-family: ${
|
|
361
|
+
font-family: ${Ht.materialFontFamily}, "Material Icons", sans-serif;
|
|
362
362
|
}
|
|
363
|
-
`,
|
|
363
|
+
`,Pt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Tt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Pt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",wt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Pt),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},jt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Mt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:jt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",jt)},_t=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Yt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Vt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Xt=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),qt=[e.css`
|
|
364
364
|
:host {
|
|
365
365
|
display: inline-block;
|
|
366
366
|
max-width: 100%;
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
box-shadow: 0px 0px 0px transparent;
|
|
372
372
|
border: 0px solid transparent;
|
|
373
373
|
text-shadow: 0px 0px 0px transparent;
|
|
374
|
-
font-size: ${
|
|
374
|
+
font-size: ${Tt.fontSize};
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
button:hover {
|
|
@@ -400,27 +400,27 @@
|
|
|
400
400
|
border: none;
|
|
401
401
|
pointer-events: auto;
|
|
402
402
|
|
|
403
|
-
--ft-button-internal-line-height: max(calc(${
|
|
404
|
-
--ft-button-internal-color: ${
|
|
405
|
-
${o.setVariable(
|
|
406
|
-
${o.setVariable(
|
|
403
|
+
--ft-button-internal-line-height: max(calc(${Tt.fontSize} + 2px), ${Tt.iconSize});
|
|
404
|
+
--ft-button-internal-color: ${Tt.color};
|
|
405
|
+
${o.setVariable(Ht.size,Tt.iconSize)};
|
|
406
|
+
${o.setVariable(s.color,Tt.rippleColor)};
|
|
407
407
|
|
|
408
|
-
border-radius: ${
|
|
409
|
-
padding: ${
|
|
410
|
-
background-color: ${
|
|
408
|
+
border-radius: ${Tt.borderRadius};
|
|
409
|
+
padding: ${Tt.verticalPadding} ${Tt.horizontalPadding};
|
|
410
|
+
background-color: ${Tt.backgroundColor};
|
|
411
411
|
color: var(--ft-button-internal-color);
|
|
412
412
|
-webkit-mask-image: radial-gradient(white, black);
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
.ft-button.ft-button--outlined {
|
|
416
416
|
border: 1px solid var(--ft-button-internal-color);
|
|
417
|
-
padding: calc(${
|
|
417
|
+
padding: calc(${Tt.verticalPadding} - 1px) calc(${Tt.horizontalPadding} - 1px);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button.ft-button--dense {
|
|
421
421
|
padding: ${Yt} ${Vt};
|
|
422
422
|
border-radius: ${_t};
|
|
423
|
-
gap: ${
|
|
423
|
+
gap: ${Xt};
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.ft-button--round {
|
|
435
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
435
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Tt.verticalPadding});
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.ft-button--round.ft-button--dense {
|
|
@@ -441,13 +441,13 @@
|
|
|
441
441
|
|
|
442
442
|
.ft-button[disabled] {
|
|
443
443
|
filter: grayscale(1);
|
|
444
|
-
opacity: ${
|
|
444
|
+
opacity: ${Tt.opacityDisabled};
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
.ft-button.ft-button--primary {
|
|
448
448
|
background-color: ${Mt.backgroundColor};
|
|
449
449
|
--ft-button-internal-color: ${Mt.color};
|
|
450
|
-
${o.setVariable(
|
|
450
|
+
${o.setVariable(s.color,Mt.rippleColor)};
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-button:focus {
|
|
@@ -460,13 +460,13 @@
|
|
|
460
460
|
white-space: nowrap;
|
|
461
461
|
text-overflow: ellipsis;
|
|
462
462
|
display: block;
|
|
463
|
-
margin: 0 ${
|
|
463
|
+
margin: 0 ${Tt.iconPadding};
|
|
464
464
|
${o.setVariable(wt.fontSize,"1em")};
|
|
465
465
|
${o.setVariable(wt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
.ft-button--dense .ft-button--label {
|
|
469
|
-
margin: 0 ${
|
|
469
|
+
margin: 0 ${Xt};
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.ft-button--label[hidden] {
|
|
@@ -479,8 +479,8 @@
|
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
.ft-button--label[hidden] + ft-icon {
|
|
482
|
-
margin: 0 calc(${
|
|
483
|
-
padding: 0 ${
|
|
482
|
+
margin: 0 calc(${Tt.horizontalPadding} * -1);
|
|
483
|
+
padding: 0 ${Tt.verticalPadding};
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
ft-loader {
|
|
497
|
-
${o.setVariable(Dt.size,
|
|
497
|
+
${o.setVariable(Dt.size,Tt.iconSize)};
|
|
498
498
|
${o.setVariable(Dt.color,"var(--ft-button-internal-color)")};
|
|
499
499
|
}
|
|
500
500
|
`,o.noTextSelect];var Jt=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Qt extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
@@ -508,26 +508,26 @@
|
|
|
508
508
|
<div class="ft-ripple--background"></div>
|
|
509
509
|
<div class="ft-ripple--effect"></div>
|
|
510
510
|
</div>
|
|
511
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Qt.elementDefinitions={},Qt.styles=
|
|
511
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Qt.elementDefinitions={},Qt.styles=u,Jt([r.property({type:Boolean})],Qt.prototype,"primary",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"secondary",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"unbounded",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"activated",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"selected",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"disabled",void 0),Jt([r.state()],Qt.prototype,"hovered",void 0),Jt([r.state()],Qt.prototype,"focused",void 0),Jt([r.state()],Qt.prototype,"pressed",void 0),Jt([r.state()],Qt.prototype,"rippling",void 0),Jt([r.state()],Qt.prototype,"originX",void 0),Jt([r.state()],Qt.prototype,"originY",void 0),Jt([r.query(".ft-ripple")],Qt.prototype,"ripple",void 0),Jt([r.query(".ft-ripple--effect")],Qt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Qt);
|
|
512
512
|
/**
|
|
513
513
|
* @license
|
|
514
514
|
* Copyright 2017 Google LLC
|
|
515
515
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
516
516
|
*/
|
|
517
|
-
const to=globalThis,oo=to.trustedTypes,eo=oo?oo.createPolicy("lit-html",{createHTML:t=>t}):void 0,ro="$lit$",io=`lit$${(Math.random()+"").slice(9)}$`,ao="?"+io,no=`<${ao}>`,lo=document,co=()=>lo.createComment(""),
|
|
517
|
+
const to=globalThis,oo=to.trustedTypes,eo=oo?oo.createPolicy("lit-html",{createHTML:t=>t}):void 0,ro="$lit$",io=`lit$${(Math.random()+"").slice(9)}$`,ao="?"+io,no=`<${ao}>`,lo=document,co=()=>lo.createComment(""),so=t=>null===t||"object"!=typeof t&&"function"!=typeof t,po=Array.isArray,fo="[ \t\n\f\r]",ho=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yo=/-->/g,go=/>/g,uo=RegExp(`>|${fo}(?:([^\\s"'>=/]+)(${fo}*=${fo}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bo=/'/g,mo=/"/g,xo=/^(?:script|style|textarea|title)$/i,Oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),vo=Symbol.for("lit-noChange"),No=Symbol.for("lit-nothing"),So=new WeakMap,Co=lo.createTreeWalker(lo,129);function $o(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==eo?eo.createHTML(o):o}const wo=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=ho;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===ho?"!--"===c[1]?n=yo:void 0!==c[1]?n=go:void 0!==c[2]?(xo.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=uo):void 0!==c[3]&&(n=uo):n===uo?">"===c[0]?(n=i??ho,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?uo:'"'===c[3]?mo:bo):n===mo||n===bo?n=uo:n===yo||n===go?n=ho:(n=uo,i=void 0);const f=n===uo&&t[o+1].startsWith("/>")?" ":"";a+=n===ho?e+no:s>=0?(r.push(l),e.slice(0,s)+ro+e.slice(s)+io+f):e+io+(-2===s?o:f)}return[$o(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,s]=wo(t,o);if(this.el=Io.createElement(c,e),Co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Co.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(ro)){const o=s[a++],e=r.getAttribute(t).split(io),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?ko:"?"===n[1]?Eo:"@"===n[1]?Ko:Lo}),r.removeAttribute(t)}else t.startsWith(io)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(xo.test(r.tagName)){const t=r.textContent.split(io),o=t.length-1;if(o>0){r.textContent=oo?oo.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],co()),Co.nextNode(),l.push({type:2,index:++i});r.append(t[o],co())}}}else if(8===r.nodeType)if(r.data===ao)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(io,t+1));)l.push({type:7,index:i}),t+=io.length-1}i++}}static createElement(t,o){const e=lo.createElement("template");return e.innerHTML=t,e}}function Ro(t,o,e=t,r){if(o===vo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=so(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Ro(t,i._$AS(t,o.values),i,r)),o}class Uo{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??lo).importNode(o,!0);Co.currentNode=r;let i=Co.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new Wo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new Zo(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=Co.nextNode(),a++)}return Co.currentNode=lo,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Wo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=No,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ro(this,t,o),so(t)?t===No||null==t||""===t?(this._$AH!==No&&this._$AR(),this._$AH=No):t!==this._$AH&&t!==vo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>po(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==No&&so(this._$AH)?this._$AA.nextSibling.data=t:this.$(lo.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Io.createElement($o(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Uo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=So.get(t.strings);return void 0===o&&So.set(t.strings,o=new Io(t)),o}T(t){po(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new Wo(this.k(co()),this.k(co()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Lo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=No,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=No}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=Ro(this,t,o,0),a=!so(t)||t!==this._$AH&&t!==vo,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=Ro(this,r[e+n],o,n),l===vo&&(l=this._$AH[n]),a||=!so(l)||l!==this._$AH[n],l===No?t=No:t!==No&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===No?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ko extends Lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===No?void 0:t}}class Eo extends Lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==No)}}class Ko extends Lo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Ro(this,t,o,0)??No)===vo)return;const e=this._$AH,r=t===No&&e!==No||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==No&&(e===No||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Zo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Ro(this,t)}}const zo=to.litHtmlPolyfillSupport;zo?.(Io,Wo),(to.litHtmlVersions??=[]).push("3.1.0");
|
|
518
518
|
/**
|
|
519
519
|
* @license
|
|
520
520
|
* Copyright 2020 Google LLC
|
|
521
521
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
522
522
|
*/
|
|
523
|
-
const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$litStatic$:t,r:Bo}),
|
|
523
|
+
const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$litStatic$:t,r:Bo}),Ao=new Map,Ho=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(a=e[s],i=Fo(a));)c+=i+o[++s],p=!0;s!==r&&l.push(a),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Ao.get(t))&&(n.raw=n,Ao.set(t,o=n)),e=l}return t(o,...e)})(Oo);var Go;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Go||(Go={}));var Po=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class To extends o.FtLitElement{constructor(){super(...arguments),this.variant=Go.body1}render(){return this.element?Ho`
|
|
524
524
|
<${Do(this.element)}
|
|
525
525
|
class="ft-typography ft-typography--${this.variant}">
|
|
526
526
|
<slot></slot>
|
|
527
527
|
</${Do(this.element)}>
|
|
528
|
-
`:
|
|
528
|
+
`:Ho`
|
|
529
529
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
530
|
-
`}}
|
|
530
|
+
`}}To.styles=[It,Rt,Ut,Wt,Lt,kt,Et,Kt,Zt,zt,Bt,...Ft],Po([r.property()],To.prototype,"element",void 0),Po([r.property()],To.prototype,"variant",void 0),o.customElement("ft-typography")(To);const jo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_o=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Yo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Vo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Xo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),qo=e.css`
|
|
531
531
|
.ft-tooltip--container {
|
|
532
532
|
display: block;
|
|
533
533
|
}
|
|
@@ -542,9 +542,9 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
542
542
|
box-sizing: border-box;
|
|
543
543
|
overflow: hidden;
|
|
544
544
|
width: max-content;
|
|
545
|
-
max-width: ${
|
|
545
|
+
max-width: ${Xo};
|
|
546
546
|
text-align: center;
|
|
547
|
-
padding: ${
|
|
547
|
+
padding: ${jo};
|
|
548
548
|
z-index: ${Yo};
|
|
549
549
|
}
|
|
550
550
|
|
|
@@ -556,7 +556,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
556
556
|
position: relative;
|
|
557
557
|
word-break: break-word;
|
|
558
558
|
}
|
|
559
|
-
`;var Jo,Qo,te,oe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ee extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
559
|
+
`,Jo=["start","end"],Qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Jo[0],o+"-"+Jo[1])),[]),te=Math.min,oe=Math.max,ee=Math.round,re=t=>({x:t,y:t}),ie={left:"right",right:"left",bottom:"top",top:"bottom"},ae={start:"end",end:"start"};function ne(t,o,e){return oe(t,te(o,e))}function le(t,o){return"function"==typeof t?t(o):t}function ce(t){return t.split("-")[0]}function se(t){return t.split("-")[1]}function pe(t){return"x"===t?"y":"x"}function fe(t){return"y"===t?"height":"width"}function de(t){return["top","bottom"].includes(ce(t))?"y":"x"}function he(t){return pe(de(t))}function ye(t){return t.replace(/left|right|bottom|top/g,(t=>ie[t]))}function ge(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const a=de(o),n=he(o),l=fe(n),c=ce(o),s="y"===a,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(se(o)){case"start":h[n]-=d*(e&&s?-1:1);break;case"end":h[n]+=d*(e&&s?-1:1)}return h}async function be(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:a,rects:n,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=le(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=ge(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(g)))||e?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...n.floating,x:r,y:i}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},O=ge(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function me(t,o,e){return(t?[...e.filter((o=>se(o)===t)),...e.filter((o=>se(o)!==t))]:e.filter((t=>ce(t)===t))).filter((e=>!t||(se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ae[t]))}(e)!==e)))}const xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:a,middlewareData:n,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Qo,autoAlignment:h=!0,...y}=le(t,o),g=void 0!==f||d===Qo?me(f||null,h,d):d,u=await be(o,y),b=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=se(t),i=he(t),a=fe(i);let n="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[a]>o.floating[a]&&(n=ye(n)),[n,ye(n)]}(m,a,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[ce(m)],u[x[0]],u[x[1]]],v=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=se(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,se(t[0])?2:3).every((t=>t<=0)))),$=(null==(i=C[0])?void 0:i[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:v},reset:{placement:$}}:{}}}};function Oe(t){return Se(t)?(t.nodeName||"").toLowerCase():"#document"}function ve(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ne(t){var o;return null==(o=(Se(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Se(t){return t instanceof Node||t instanceof ve(t).Node}function Ce(t){return t instanceof Element||t instanceof ve(t).Element}function $e(t){return t instanceof HTMLElement||t instanceof ve(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ve(t).ShadowRoot)}function Ie(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ke(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Re(t){return["table","td","th"].includes(Oe(t))}function Ue(t){const o=We(),e=ke(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function We(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Le(t){return["html","body","#document"].includes(Oe(t))}function ke(t){return ve(t).getComputedStyle(t)}function Ee(t){return Ce(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ke(t){if("html"===Oe(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||Ne(t);return we(o)?o.host:o}function Ze(t){const o=Ke(t);return Le(o)?t.ownerDocument?t.ownerDocument.body:t.body:$e(o)&&Ie(o)?o:Ze(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ze(t),a=i===(null==(r=t.ownerDocument)?void 0:r.body),n=ve(i);return a?o.concat(n,n.visualViewport||[],Ie(i)?i:[],n.frameElement&&e?ze(n.frameElement):[]):o.concat(i,ze(i,[],e))}function Be(t){const o=ke(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=$e(t),a=i?t.offsetWidth:e,n=i?t.offsetHeight:r,l=ee(e)!==a||ee(r)!==n;return l&&(e=a,r=n),{width:e,height:r,$:l}}function Fe(t){return Ce(t)?t:t.contextElement}function De(t){const o=Fe(t);if(!$e(o))return re(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:a}=Be(o);let n=(a?ee(e.width):e.width)/r,l=(a?ee(e.height):e.height)/i;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Ae=re(0);function He(t){const o=ve(t);return We()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ae}function Ge(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),a=Fe(t);let n=re(1);o&&(r?Ce(r)&&(n=De(r)):n=De(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ve(t))&&o}(a,e,r)?He(a):re(0);let c=(i.left+l.x)/n.x,s=(i.top+l.y)/n.y,p=i.width/n.x,f=i.height/n.y;if(a){const t=ve(a),o=r&&Ce(r)?ve(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=De(e),o=e.getBoundingClientRect(),r=ke(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,a=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=a,e=ve(e).frameElement}}return ge({width:p,height:f,x:c,y:s})}function Pe(t){return Ge(Ne(t)).left+Ee(t).scrollLeft}function Te(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ve(t),r=Ne(t),i=e.visualViewport;let a=r.clientWidth,n=r.clientHeight,l=0,c=0;if(i){a=i.width,n=i.height;const t=We();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ne(t),e=Ee(t),r=t.ownerDocument.body,i=oe(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),a=oe(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+Pe(t);const l=-e.scrollTop;return"rtl"===ke(r).direction&&(n+=oe(o.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:l}}(Ne(t));else if(Ce(o))r=function(t,o){const e=Ge(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,a=$e(t)?De(t):re(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:i*a.x,y:r*a.y}}(o,e);else{const e=He(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ge(r)}function je(t,o){const e=Ke(t);return!(e===o||!Ce(e)||Le(e))&&("fixed"===ke(e).position||je(e,o))}function Me(t,o,e){const r=$e(o),i=Ne(o),a="fixed"===e,n=Ge(t,!0,a,o);let l={scrollLeft:0,scrollTop:0};const c=re(0);if(r||!r&&!a)if(("body"!==Oe(o)||Ie(i))&&(l=Ee(o)),r){const t=Ge(o,!0,a,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Pe(i));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function _e(t,o){return $e(t)&&"fixed"!==ke(t).position?o?o(t):t.offsetParent:null}function Ye(t,o){const e=ve(t);if(!$e(t))return e;let r=_e(t,o);for(;r&&Re(r)&&"static"===ke(r).position;)r=_e(r,o);return r&&("html"===Oe(r)||"body"===Oe(r)&&"static"===ke(r).position&&!Ue(r))?e:r||function(t){let o=Ke(t);for(;$e(o)&&!Le(o);){if(Ue(o))return o;o=Ke(o)}return null}(t)||e}const Ve={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=$e(e),a=Ne(e);if(e===a)return o;let n={scrollLeft:0,scrollTop:0},l=re(1);const c=re(0);if((i||!i&&"fixed"!==r)&&(("body"!==Oe(e)||Ie(a))&&(n=Ee(e)),$e(e))){const t=Ge(e);l=De(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-n.scrollLeft*l.x+c.x,y:o.y*l.y-n.scrollTop*l.y+c.y}},getDocumentElement:Ne,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const a=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>Ce(t)&&"body"!==Oe(t))),i=null;const a="fixed"===ke(t).position;let n=a?Ke(t):t;for(;Ce(n)&&!Le(n);){const o=ke(n),e=Ue(n);e||"fixed"!==o.position||(i=null),(a?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ie(n)&&!e&&je(t,n))?r=r.filter((t=>t!==n)):i=o,n=Ke(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=a[0],l=a.reduce(((t,e)=>{const r=Te(o,e,i);return t.top=oe(r.top,t.top),t.right=te(r.right,t.right),t.bottom=te(r.bottom,t.bottom),t.left=oe(r.left,t.left),t}),Te(o,n,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ye,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ye,a=this.getDimensions;return{reference:Me(o,await i(e),r),floating:{x:0,y:0,...await a(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Be(t)},getScale:De,isElement:Ce,isRTL:function(t){return"rtl"===ke(t).direction}},Xe=(t,o,e)=>{const r=new Map,i={platform:Ve,...e},a={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=e,l=a.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let s=await n.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ue(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:a,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:n,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[a]:{...h[a],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ue(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:a})};var qe,Je,Qe,tr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class or extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
560
560
|
<div part="container"
|
|
561
561
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
562
562
|
@mouseenter=${this.onHover}
|
|
@@ -574,19 +574,19 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
574
574
|
</div>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
577
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${qo})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ee.elementDefinitions={"ft-typography":Po},ee.styles=Xo,oe([r.property()],ee.prototype,"text",void 0),oe([r.property({type:Boolean})],ee.prototype,"manual",void 0),oe([r.property({type:Boolean})],ee.prototype,"inline",void 0),oe([r.property({type:Number})],ee.prototype,"delay",void 0),oe([r.property()],ee.prototype,"position",void 0),oe([r.queryAssignedNodes()],ee.prototype,"slotNodes",void 0),oe([r.query(".ft-tooltip--container")],ee.prototype,"container",void 0),oe([r.query(".ft-tooltip")],ee.prototype,"tooltip",void 0),oe([r.query(".ft-tooltip--content")],ee.prototype,"tooltipContent",void 0),oe([r.state()],ee.prototype,"visible",void 0),o.customElement("ft-tooltip")(ee),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Jo||(Jo={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Qo||(Qo={})),new Map([...["abw"].map((t=>[t,Qo.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Qo.AUDIO])),...["avi"].map((t=>[t,Qo.AVI])),...["chm","xhs"].map((t=>[t,Qo.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Qo.CODE])),...["csv"].map((t=>[t,Qo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Qo.DITA])),...["epub"].map((t=>[t,Qo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Qo.EXCEL])),...["flac"].map((t=>[t,Qo.FLAC])),...["gif"].map((t=>[t,Qo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Qo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Qo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Qo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Qo.JPEG])),...["json"].map((t=>[t,Qo.JSON])),...["m4a","m4p"].map((t=>[t,Qo.M4A])),...["mov","qt"].map((t=>[t,Qo.MOV])),...["mp3"].map((t=>[t,Qo.MP3])),...["mp4","m4v"].map((t=>[t,Qo.MP4])),...["ogg","oga"].map((t=>[t,Qo.OGG])),...["pdf","ps"].map((t=>[t,Qo.PDF])),...["png"].map((t=>[t,Qo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Qo.POWERPOINT])),...["rar"].map((t=>[t,Qo.RAR])),...["stp"].map((t=>[t,Qo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Qo.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Qo.VIDEO])),...["wav"].map((t=>[t,Qo.WAV])),...["wma"].map((t=>[t,Qo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Qo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Qo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Qo.YAML])),...["zip"].map((t=>[t,Qo.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(te||(te={}));var re=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ie extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(te).includes(this.variant)?this.variant:te.fluid_topics,o=t!==te.material||!!this.value;return e.html`
|
|
577
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xe(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=le(t,o),s={x:e,y:r},p=await be(o,c),f=de(ce(i)),d=pe(f);let h=s[d],y=s[f];if(a){const t="y"===d?"bottom":"right";h=ne(h+p["y"===d?"top":"left"],h,h-p[t])}if(n){const t="y"===f?"bottom":"right";y=ne(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),xe({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}or.elementDefinitions={"ft-typography":To},or.styles=qo,tr([r.property()],or.prototype,"text",void 0),tr([r.property({type:Boolean})],or.prototype,"manual",void 0),tr([r.property({type:Boolean})],or.prototype,"inline",void 0),tr([r.property({type:Number})],or.prototype,"delay",void 0),tr([r.property()],or.prototype,"position",void 0),tr([r.queryAssignedNodes()],or.prototype,"slotNodes",void 0),tr([r.query(".ft-tooltip--container")],or.prototype,"container",void 0),tr([r.query(".ft-tooltip")],or.prototype,"tooltip",void 0),tr([r.query(".ft-tooltip--content")],or.prototype,"tooltipContent",void 0),tr([r.state()],or.prototype,"visible",void 0),o.customElement("ft-tooltip")(or),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(qe||(qe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Je||(Je={})),new Map([...["abw"].map((t=>[t,Je.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Je.AUDIO])),...["avi"].map((t=>[t,Je.AVI])),...["chm","xhs"].map((t=>[t,Je.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Je.CODE])),...["csv"].map((t=>[t,Je.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Je.DITA])),...["epub"].map((t=>[t,Je.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Je.EXCEL])),...["flac"].map((t=>[t,Je.FLAC])),...["gif"].map((t=>[t,Je.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Je.GZIP])),...["html","htm","xhtml"].map((t=>[t,Je.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Je.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Je.JPEG])),...["json"].map((t=>[t,Je.JSON])),...["m4a","m4p"].map((t=>[t,Je.M4A])),...["mov","qt"].map((t=>[t,Je.MOV])),...["mp3"].map((t=>[t,Je.MP3])),...["mp4","m4v"].map((t=>[t,Je.MP4])),...["ogg","oga"].map((t=>[t,Je.OGG])),...["pdf","ps"].map((t=>[t,Je.PDF])),...["png"].map((t=>[t,Je.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Je.POWERPOINT])),...["rar"].map((t=>[t,Je.RAR])),...["stp"].map((t=>[t,Je.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Je.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Je.VIDEO])),...["wav"].map((t=>[t,Je.WAV])),...["wma"].map((t=>[t,Je.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Je.WORD])),...["xml","xsl","rdf"].map((t=>[t,Je.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Je.YAML])),...["zip"].map((t=>[t,Je.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var er=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class rr extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,o=t!==Qe.material||!!this.value;return e.html`
|
|
578
578
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
579
579
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
580
580
|
<slot ?hidden=${o}></slot>
|
|
581
581
|
</i>
|
|
582
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case
|
|
582
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Qe.file_format:this.resolvedIcon=null!==(t=Je[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Qe.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=qe[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=Gt,er([r.property()],rr.prototype,"variant",void 0),er([r.property()],rr.prototype,"value",void 0),er([r.state()],rr.prototype,"resolvedIcon",void 0),er([r.query("slot")],rr.prototype,"slottedContent",void 0),o.customElement("ft-icon")(rr);class ir extends o.FtLitElement{render(){return e.html`
|
|
583
583
|
<div class="ft-loader">
|
|
584
584
|
<div></div>
|
|
585
585
|
<div></div>
|
|
586
586
|
<div></div>
|
|
587
587
|
<div></div>
|
|
588
588
|
</div>
|
|
589
|
-
`}}
|
|
589
|
+
`}}ir.styles=At,o.customElement("ft-loader")(ir);var ar=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class nr extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
590
590
|
<button part="button"
|
|
591
591
|
class="${i.classMap(this.buttonClasses)}"
|
|
592
592
|
aria-label="${this.getLabel()}"
|
|
@@ -609,7 +609,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
609
609
|
</ft-tooltip>
|
|
610
610
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
611
611
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
612
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
612
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}nr.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":or,"ft-typography":To,"ft-icon":rr,"ft-loader":ir},ar([r.property({type:String,reflect:!0})],nr.prototype,"role",void 0),ar([r.property()],nr.prototype,"type",void 0),ar([r.property({type:Boolean})],nr.prototype,"disabled",void 0),ar([r.property()],nr.prototype,"label",void 0),ar([r.property()],nr.prototype,"icon",void 0),ar([r.property()],nr.prototype,"iconVariant",void 0),ar([r.property({type:Boolean})],nr.prototype,"trailingIcon",void 0),ar([r.property({type:Boolean})],nr.prototype,"loading",void 0),ar([r.property()],nr.prototype,"tooltipPosition",void 0),ar([r.property({type:Boolean})],nr.prototype,"hideTooltip",void 0),ar([r.property({type:Boolean})],nr.prototype,"forceTooltip",void 0),ar([r.query(".ft-button")],nr.prototype,"button",void 0),ar([r.query(".ft-button--label slot")],nr.prototype,"slottedContent",void 0);var lr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class cr extends nr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}cr.styles=[o.safariEllipsisFix,qt],lr([r.property({type:Boolean})],cr.prototype,"primary",void 0),lr([r.property({type:Boolean})],cr.prototype,"outlined",void 0),lr([r.property({type:Boolean})],cr.prototype,"dense",void 0),lr([r.property({type:Boolean})],cr.prototype,"round",void 0);const sr=[e.css`
|
|
613
613
|
:host {
|
|
614
614
|
display: inline-block;
|
|
615
615
|
max-width: 100%;
|
|
@@ -659,7 +659,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
.ft-button:focus-visible {
|
|
662
|
-
outline-color: ${
|
|
662
|
+
outline-color: ${N.focusFocusRingColor};
|
|
663
663
|
outline-style: solid;
|
|
664
664
|
}
|
|
665
665
|
|
|
@@ -688,146 +688,146 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
688
688
|
/** Primary styles **/
|
|
689
689
|
|
|
690
690
|
.ft-button--primary {
|
|
691
|
-
${o.setVariable(Dt.color,
|
|
691
|
+
${o.setVariable(Dt.color,N.primaryIconColor)};
|
|
692
692
|
|
|
693
|
-
${o.setVariable(
|
|
694
|
-
${o.setVariable(
|
|
695
|
-
${o.setVariable(
|
|
696
|
-
${o.setVariable(
|
|
697
|
-
${o.setVariable(
|
|
693
|
+
${o.setVariable(s.color,N.primaryStateLayerColor)};
|
|
694
|
+
${o.setVariable(s.opacityContentOnSurfaceHover,N.primaryStateLayerOpacityHover)};
|
|
695
|
+
${o.setVariable(s.opacityContentOnSurfaceFocused,N.primaryStateLayerOpacityFocus)};
|
|
696
|
+
${o.setVariable(s.opacityContentOnSurfaceSelected,N.primaryStateLayerOpacityActive)};
|
|
697
|
+
${o.setVariable(s.opacityContentOnSurfacePressed,N.primaryStateLayerOpacityActive)};
|
|
698
698
|
|
|
699
|
-
background-color: ${
|
|
700
|
-
color: ${
|
|
699
|
+
background-color: ${N.primaryBackgroundColor};
|
|
700
|
+
color: ${N.primaryColor};
|
|
701
701
|
border-style: none;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
.ft-button--primary[disabled] {
|
|
705
|
-
opacity: ${
|
|
705
|
+
opacity: ${N.primaryComponentOpacityDisabled};
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
.ft-button--primary ft-icon {
|
|
709
|
-
color: ${
|
|
709
|
+
color: ${N.primaryIconColor};
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
/** Secondary styles **/
|
|
713
713
|
|
|
714
714
|
.ft-button--secondary {
|
|
715
|
-
${o.setVariable(Dt.color,
|
|
715
|
+
${o.setVariable(Dt.color,N.secondaryIconColor)};
|
|
716
716
|
|
|
717
|
-
${o.setVariable(
|
|
718
|
-
${o.setVariable(
|
|
719
|
-
${o.setVariable(
|
|
720
|
-
${o.setVariable(
|
|
721
|
-
${o.setVariable(
|
|
717
|
+
${o.setVariable(s.color,N.secondaryStateLayerColor)};
|
|
718
|
+
${o.setVariable(s.opacityContentOnSurfaceHover,N.secondaryStateLayerOpacityHover)};
|
|
719
|
+
${o.setVariable(s.opacityContentOnSurfaceFocused,N.secondaryStateLayerOpacityFocus)};
|
|
720
|
+
${o.setVariable(s.opacityContentOnSurfaceSelected,N.secondaryStateLayerOpacityActive)};
|
|
721
|
+
${o.setVariable(s.opacityContentOnSurfacePressed,N.secondaryStateLayerOpacityActive)};
|
|
722
722
|
|
|
723
|
-
background-color: ${
|
|
724
|
-
color: ${
|
|
725
|
-
border-color: ${
|
|
723
|
+
background-color: ${N.secondaryBackgroundColor};
|
|
724
|
+
color: ${N.secondaryColor};
|
|
725
|
+
border-color: ${N.secondaryBorderColor};
|
|
726
726
|
border-style: solid;
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
.ft-button--secondary[disabled] {
|
|
730
|
-
opacity: ${
|
|
730
|
+
opacity: ${N.secondaryComponentOpacityDisabled};
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
.ft-button--secondary ft-icon {
|
|
734
|
-
color: ${
|
|
734
|
+
color: ${N.secondaryIconColor};
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
/** Tertiary styles **/
|
|
738
738
|
|
|
739
739
|
.ft-button--tertiary {
|
|
740
|
-
${o.setVariable(Dt.color,
|
|
740
|
+
${o.setVariable(Dt.color,N.tertiaryIconColor)};
|
|
741
741
|
|
|
742
|
-
${o.setVariable(
|
|
743
|
-
${o.setVariable(
|
|
744
|
-
${o.setVariable(
|
|
745
|
-
${o.setVariable(
|
|
746
|
-
${o.setVariable(
|
|
742
|
+
${o.setVariable(s.color,N.tertiaryStateLayerColor)};
|
|
743
|
+
${o.setVariable(s.opacityContentOnSurfaceHover,N.tertiaryStateLayerOpacityHover)};
|
|
744
|
+
${o.setVariable(s.opacityContentOnSurfaceFocused,N.tertiaryStateLayerOpacityFocus)};
|
|
745
|
+
${o.setVariable(s.opacityContentOnSurfaceSelected,N.tertiaryStateLayerOpacityActive)};
|
|
746
|
+
${o.setVariable(s.opacityContentOnSurfacePressed,N.tertiaryStateLayerOpacityActive)};
|
|
747
747
|
|
|
748
|
-
background-color: ${
|
|
749
|
-
color: ${
|
|
748
|
+
background-color: ${N.tertiaryBackgroundColor};
|
|
749
|
+
color: ${N.tertiaryColor};
|
|
750
750
|
border-style: none;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
.ft-button--tertiary[disabled] {
|
|
754
|
-
opacity: ${
|
|
754
|
+
opacity: ${N.tertiaryComponentOpacityDisabled};
|
|
755
755
|
}
|
|
756
756
|
|
|
757
757
|
.ft-button--tertiary ft-icon {
|
|
758
|
-
color: ${
|
|
758
|
+
color: ${N.tertiaryIconColor};
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
/** Neutral styles **/
|
|
762
762
|
|
|
763
763
|
.ft-button--neutral {
|
|
764
|
-
${o.setVariable(Dt.color,
|
|
764
|
+
${o.setVariable(Dt.color,N.neutralIconColor)};
|
|
765
765
|
|
|
766
|
-
${o.setVariable(
|
|
767
|
-
${o.setVariable(
|
|
768
|
-
${o.setVariable(
|
|
769
|
-
${o.setVariable(
|
|
770
|
-
${o.setVariable(
|
|
766
|
+
${o.setVariable(s.backgroundColor,N.neutralStateLayerColor)};
|
|
767
|
+
${o.setVariable(s.opacityContentOnSurfaceHover,N.neutralStateLayerOpacityHover)};
|
|
768
|
+
${o.setVariable(s.opacityContentOnSurfaceFocused,N.neutralStateLayerOpacityFocus)};
|
|
769
|
+
${o.setVariable(s.opacityContentOnSurfaceSelected,N.neutralStateLayerOpacityActive)};
|
|
770
|
+
${o.setVariable(s.opacityContentOnSurfacePressed,N.neutralStateLayerOpacityActive)};
|
|
771
771
|
|
|
772
|
-
background-color: ${
|
|
773
|
-
color: ${
|
|
772
|
+
background-color: ${N.neutralBackgroundColor};
|
|
773
|
+
color: ${N.neutralColor};
|
|
774
774
|
border-style: none;
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
.ft-button--neutral[disabled] {
|
|
778
|
-
opacity: ${
|
|
778
|
+
opacity: ${N.neutralComponentOpacityDisabled};
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
.ft-button--neutral ft-icon {
|
|
782
|
-
color: ${
|
|
782
|
+
color: ${N.neutralIconColor};
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
/** Large styles **/
|
|
786
786
|
|
|
787
787
|
.ft-button--large {
|
|
788
|
-
${o.setVariable(
|
|
789
|
-
${o.setVariable(Dt.size,
|
|
788
|
+
${o.setVariable(Ht.size,N.largeIconSize)};
|
|
789
|
+
${o.setVariable(Dt.size,N.largeIconSize)};
|
|
790
790
|
|
|
791
|
-
height: ${
|
|
792
|
-
padding: 0 ${
|
|
793
|
-
gap: ${
|
|
794
|
-
border-radius: ${
|
|
795
|
-
border-width: ${
|
|
791
|
+
height: ${N.largeHeight};
|
|
792
|
+
padding: 0 ${N.largeHorizontalPadding};
|
|
793
|
+
gap: ${N.largeGap};
|
|
794
|
+
border-radius: ${N.largeBorderRadius};
|
|
795
|
+
border-width: ${N.largeBorderWidth};
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
.ft-button--large:focus-visible {
|
|
799
|
-
outline-width: ${
|
|
800
|
-
outline-offset: ${
|
|
799
|
+
outline-width: ${N.largeFocusOutlineWidth};
|
|
800
|
+
outline-offset: ${N.largeFocusOutlineOffset};
|
|
801
801
|
}
|
|
802
802
|
|
|
803
803
|
.ft-button--large.ft-button--icon-only {
|
|
804
|
-
width: ${
|
|
804
|
+
width: ${N.largeIconOnlyWidth};
|
|
805
805
|
padding: unset;
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
/** Small styles **/
|
|
809
809
|
|
|
810
810
|
.ft-button--small {
|
|
811
|
-
${o.setVariable(
|
|
812
|
-
${o.setVariable(Dt.size,
|
|
811
|
+
${o.setVariable(Ht.size,N.smallIconSize)};
|
|
812
|
+
${o.setVariable(Dt.size,N.smallIconSize)};
|
|
813
813
|
|
|
814
|
-
height: ${
|
|
815
|
-
padding: 0 ${
|
|
816
|
-
gap: ${
|
|
817
|
-
border-radius: ${
|
|
818
|
-
border-width: ${
|
|
814
|
+
height: ${N.smallHeight};
|
|
815
|
+
padding: 0 ${N.smallHorizontalPadding};
|
|
816
|
+
gap: ${N.smallGap};
|
|
817
|
+
border-radius: ${N.smallBorderRadius};
|
|
818
|
+
border-width: ${N.smallBorderWidth};
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
.ft-button--small:focus-visible {
|
|
822
|
-
outline-width: ${
|
|
823
|
-
outline-offset: ${
|
|
822
|
+
outline-width: ${N.smallFocusOutlineWidth};
|
|
823
|
+
outline-offset: ${N.smallFocusOutlineOffset};
|
|
824
824
|
}
|
|
825
825
|
|
|
826
826
|
.ft-button--small.ft-button--icon-only {
|
|
827
|
-
width: ${
|
|
827
|
+
width: ${N.smallIconOnlyWidth};
|
|
828
828
|
padding: unset;
|
|
829
829
|
}
|
|
830
|
-
`,o.noTextSelect];var
|
|
830
|
+
`,o.noTextSelect];var pr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fr extends nr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Go.caption1medium:Go.body2medium}}fr.styles=[o.safariEllipsisFix,sr],pr([r.property({type:Boolean})],fr.prototype,"primary",void 0),pr([r.property({type:Boolean})],fr.prototype,"secondary",void 0),pr([r.property({type:Boolean})],fr.prototype,"tertiary",void 0),pr([r.property({type:Boolean})],fr.prototype,"neutral",void 0),pr([r.property({type:Boolean})],fr.prototype,"small",void 0),o.customElement("ft-button")(cr),o.customElement("ftds-button")(fr);const dr=e.css`
|
|
831
831
|
:host {
|
|
832
832
|
display: contents;
|
|
833
833
|
}
|
|
@@ -851,4 +851,4 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
851
851
|
.ft-collapsible--animated.ft-collapsible--hidden, .ft-collapsible--animated.ft-collapsible--hidden::slotted(*) {
|
|
852
852
|
transition: opacity 300ms;
|
|
853
853
|
}
|
|
854
|
-
`;class
|
|
854
|
+
`;class hr extends l{}hr.elementDefinitions={"ft-or-ftds-button":cr},hr.styles=dr;class yr extends l{}yr.elementDefinitions={"ft-or-ftds-button":fr},yr.styles=dr,o.customElement("ft-collapsible")(hr),o.customElement("ftds-collapsible")(yr),t.FtCollapsible=hr,t.FtdsCollapsible=yr,t.styles=dr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|