@fluid-topics/ft-floating-menu 1.0.63 → 1.1.1
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.
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
30
30
|
display: block;
|
|
31
31
|
}
|
|
32
|
-
`,c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),p={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")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),f=s,d=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),h=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),g=h,y=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",h),
|
|
32
|
+
`,c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),p={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")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),f=s,d=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),h=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),g=h,y=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",h),b=e.css`
|
|
33
33
|
:host {
|
|
34
34
|
display: contents;
|
|
35
35
|
}
|
|
@@ -141,14 +141,14 @@
|
|
|
141
141
|
opacity: ${p.opacityContentOnSurfacePressed};
|
|
142
142
|
transform: translate(-50%, -50%) scale(1);
|
|
143
143
|
}
|
|
144
|
-
`,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=t,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.extend("--ft-button-secondary-background-color","",x.colorWhite),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),$=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"),U=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),k=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"),R=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),L=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"),F=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit"),B=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"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),T=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"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),bt=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","",$),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),Nt=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`
|
|
144
|
+
`,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"),U=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),W=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),L=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"),F=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit"),B=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"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),T=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"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),yt=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`
|
|
145
145
|
.ft-typography--title {
|
|
146
146
|
font-family: ${w};
|
|
147
147
|
font-size: ${I};
|
|
148
148
|
font-weight: ${U};
|
|
149
149
|
letter-spacing: ${k};
|
|
150
|
-
line-height: ${
|
|
151
|
-
text-transform: ${
|
|
150
|
+
line-height: ${R};
|
|
151
|
+
text-transform: ${W};
|
|
152
152
|
}
|
|
153
153
|
`,Ut=e.css`
|
|
154
154
|
.ft-typography--title-dense {
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
line-height: ${G};
|
|
169
169
|
text-transform: ${j};
|
|
170
170
|
}
|
|
171
|
-
`,
|
|
171
|
+
`,Rt=e.css`
|
|
172
172
|
.ft-typography--subtitle2 {
|
|
173
173
|
font-family: ${M};
|
|
174
174
|
font-size: ${P};
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
text-transform: ${V};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
`,
|
|
181
|
+
`,Wt=e.css`
|
|
182
182
|
.ft-typography--body1 {
|
|
183
183
|
font-family: ${q};
|
|
184
184
|
font-size: ${X};
|
|
@@ -209,16 +209,16 @@
|
|
|
209
209
|
.ft-typography--breadcrumb {
|
|
210
210
|
font-family: ${gt};
|
|
211
211
|
font-size: ${yt};
|
|
212
|
-
font-weight: ${
|
|
213
|
-
letter-spacing: ${
|
|
212
|
+
font-weight: ${bt};
|
|
213
|
+
letter-spacing: ${ut};
|
|
214
214
|
line-height: ${mt};
|
|
215
215
|
text-transform: ${xt};
|
|
216
216
|
}
|
|
217
217
|
`,Zt=e.css`
|
|
218
218
|
.ft-typography--overline {
|
|
219
219
|
font-family: ${Ot};
|
|
220
|
-
font-size: ${
|
|
221
|
-
font-weight: ${
|
|
220
|
+
font-size: ${Nt};
|
|
221
|
+
font-weight: ${vt};
|
|
222
222
|
letter-spacing: ${St};
|
|
223
223
|
line-height: ${$t};
|
|
224
224
|
text-transform: ${Ct};
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
${o.setVariable(Dt.size,Mt.iconSize)};
|
|
500
500
|
${o.setVariable(Dt.color,"var(--ft-button-internal-color)")};
|
|
501
501
|
}
|
|
502
|
-
`,o.noTextSelect];var Jt
|
|
502
|
+
`,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`
|
|
503
503
|
<style>
|
|
504
504
|
.ft-ripple .ft-ripple--effect {
|
|
505
505
|
left: ${this.originX}px;
|
|
@@ -510,20 +510,26 @@
|
|
|
510
510
|
<div class="ft-ripple--background"></div>
|
|
511
511
|
<div class="ft-ripple--effect"></div>
|
|
512
512
|
</div>
|
|
513
|
-
`}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()}}to.elementDefinitions={},to.styles=u,Qt([r.property({type:Boolean})],to.prototype,"primary",void 0),Qt([r.property({type:Boolean})],to.prototype,"secondary",void 0),Qt([r.property({type:Boolean})],to.prototype,"unbounded",void 0),Qt([r.property({type:Boolean})],to.prototype,"activated",void 0),Qt([r.property({type:Boolean})],to.prototype,"selected",void 0),Qt([r.property({type:Boolean})],to.prototype,"disabled",void 0),Qt([r.state()],to.prototype,"hovered",void 0),Qt([r.state()],to.prototype,"focused",void 0),Qt([r.state()],to.prototype,"pressed",void 0),Qt([r.state()],to.prototype,"rippling",void 0),Qt([r.state()],to.prototype,"originX",void 0),Qt([r.state()],to.prototype,"originY",void 0),Qt([r.query(".ft-ripple")],to.prototype,"ripple",void 0),Qt([r.query(".ft-ripple--effect")],to.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(to);const oo=window,eo=oo.trustedTypes,ro=eo?eo.createPolicy("lit-html",{createHTML:t=>t}):void 0,io="$lit$",ao=`lit$${(Math.random()+"").slice(9)}$`,no="?"+ao,lo=`<${no}>`,co=document,po=()=>co.createComment(""),so=t=>null===t||"object"!=typeof t&&"function"!=typeof t,fo=Array.isArray,ho="[ \t\n\f\r]",go=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yo=/-->/g,uo=/>/g,bo=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),mo=/'/g,xo=/"/g,Oo=/^(?:script|style|textarea|title)$/i,vo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),No=Symbol.for("lit-noChange"),So=Symbol.for("lit-nothing"),$o=new WeakMap,Co=co.createTreeWalker(co,129,null,!1),wo=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=go;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===go?"!--"===c[1]?n=yo:void 0!==c[1]?n=uo:void 0!==c[2]?(Oo.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=bo):void 0!==c[3]&&(n=bo):n===bo?">"===c[0]?(n=null!=i?i:go,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?bo:'"'===c[3]?xo:mo):n===xo||n===mo?n=bo:n===yo||n===uo?n=go:(n=bo,i=void 0);const f=n===bo&&t[o+1].startsWith("/>")?" ":"";a+=n===go?e+lo:p>=0?(r.push(l),e.slice(0,p)+io+e.slice(p)+ao+f):e+ao+(-2===p?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==ro?ro.createHTML(l):l,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,p]=wo(t,o);if(this.el=Io.createElement(c,e),Co.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=Co.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(io)||o.startsWith(ao)){const e=p[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+io).split(ao),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?Eo:"?"===o[1]?Ko:"@"===o[1]?Zo:Ro})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(Oo.test(r.tagName)){const t=r.textContent.split(ao),o=t.length-1;if(o>0){r.textContent=eo?eo.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],po()),Co.nextNode(),l.push({type:2,index:++i});r.append(t[o],po())}}}else if(8===r.nodeType)if(r.data===no)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(ao,t+1));)l.push({type:7,index:i}),t+=ao.length-1}i++}}static createElement(t,o){const e=co.createElement("template");return e.innerHTML=t,e}}function Uo(t,o,e=t,r){var i,a,n,l;if(o===No)return o;let c=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const p=so(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=Uo(t,c._$AS(t,o.values),c,r)),o}class ko{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){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:co).importNode(e,!0);Co.currentNode=i;let a=Co.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new Wo(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new zo(a,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(a=Co.nextNode(),n++)}return i}v(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{constructor(t,o,e,r){var i;this.type=2,this._$AH=So,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Uo(this,t,o),so(t)?t===So||null==t||""===t?(this._$AH!==So&&this._$AR(),this._$AH=So):t!==this._$AH&&t!==No&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>fo(t)||"function"==typeof(null==t?void 0: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!==So&&so(this._$AH)?this._$AA.nextSibling.data=t:this.$(co.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Io.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new ko(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=$o.get(t.strings);return void 0===o&&$o.set(t.strings,o=new Io(t)),o}T(t){fo(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(po()),this.k(po()),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){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class Ro{constructor(t,o,e,r,i){this.type=1,this._$AH=So,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=So}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=Uo(this,t,o,0),a=!so(t)||t!==this._$AH&&t!==No,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=Uo(this,r[e+n],o,n),l===No&&(l=this._$AH[n]),a||(a=!so(l)||l!==this._$AH[n]),l===So?t=So:t!==So&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===So?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Eo extends Ro{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===So?void 0:t}}const Lo=eo?eo.emptyScript:"";class Ko extends Ro{constructor(){super(...arguments),this.type=4}j(t){t&&t!==So?this.element.setAttribute(this.name,Lo):this.element.removeAttribute(this.name)}}class Zo extends Ro{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=Uo(this,t,o,0))&&void 0!==e?e:So)===No)return;const r=this._$AH,i=t===So&&r!==So||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==So&&(r===So||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e: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){Uo(this,t)}}const Fo=oo.litHtmlPolyfillSupport;null==Fo||Fo(Io,Wo),(null!==(Jt=oo.litHtmlVersions)&&void 0!==Jt?Jt:oo.litHtmlVersions=[]).push("2.7.3");
|
|
513
|
+
`}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=b,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);
|
|
514
|
+
/**
|
|
515
|
+
* @license
|
|
516
|
+
* Copyright 2017 Google LLC
|
|
517
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
518
|
+
*/
|
|
519
|
+
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(""),po=t=>null===t||"object"!=typeof t&&"function"!=typeof t,so=Array.isArray,fo="[ \t\n\f\r]",ho=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,go=/-->/g,yo=/>/g,bo=RegExp(`>|${fo}(?:([^\\s"'>=/]+)(${fo}*=${fo}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),uo=/'/g,mo=/"/g,xo=/^(?:script|style|textarea|title)$/i,Oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),No=Symbol.for("lit-noChange"),vo=Symbol.for("lit-nothing"),So=new WeakMap,$o=lo.createTreeWalker(lo,129);function Co(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,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===ho?"!--"===c[1]?n=go:void 0!==c[1]?n=yo:void 0!==c[2]?(xo.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=bo):void 0!==c[3]&&(n=bo):n===bo?">"===c[0]?(n=i??ho,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?bo:'"'===c[3]?mo:uo):n===mo||n===uo?n=bo:n===go||n===yo?n=ho:(n=bo,i=void 0);const f=n===bo&&t[o+1].startsWith("/>")?" ":"";a+=n===ho?e+no:p>=0?(r.push(l),e.slice(0,p)+ro+e.slice(p)+io+f):e+io+(-2===p?o:f)}return[Co(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,p]=wo(t,o);if(this.el=Io.createElement(c,e),$o.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=$o.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(ro)){const o=p[a++],e=r.getAttribute(t).split(io),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?Eo:"?"===n[1]?Lo:"@"===n[1]?Ko:Wo}),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()),$o.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 Uo(t,o,e=t,r){if(o===No)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=po(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=Uo(t,i._$AS(t,o.values),i,r)),o}class ko{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);$o.currentNode=r;let i=$o.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new Ro(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=$o.nextNode(),a++)}return $o.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 Ro{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=vo,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=Uo(this,t,o),po(t)?t===vo||null==t||""===t?(this._$AH!==vo&&this._$AR(),this._$AH=vo):t!==this._$AH&&t!==No&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>so(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!==vo&&po(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(Co(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ko(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){so(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 Ro(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 Wo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=vo,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=vo}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=Uo(this,t,o,0),a=!po(t)||t!==this._$AH&&t!==No,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=Uo(this,r[e+n],o,n),l===No&&(l=this._$AH[n]),a||=!po(l)||l!==this._$AH[n],l===vo?t=vo:t!==vo&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===vo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Eo extends Wo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===vo?void 0:t}}class Lo extends Wo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==vo)}}class Ko extends Wo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Uo(this,t,o,0)??vo)===No)return;const e=this._$AH,r=t===vo&&e!==vo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==vo&&(e===vo||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){Uo(this,t)}}const zo=to.litHtmlPolyfillSupport;zo?.(Io,Ro),(to.litHtmlVersions??=[]).push("3.1.0");
|
|
514
520
|
/**
|
|
515
521
|
* @license
|
|
516
522
|
* Copyright 2020 Google LLC
|
|
517
523
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
518
524
|
*/
|
|
519
|
-
const
|
|
520
|
-
<${
|
|
525
|
+
const Fo=Symbol.for(""),Bo=t=>{if(t?.r===Fo)return t?._$litStatic$},Do=t=>({_$litStatic$:t,r:Fo}),Ho=new Map,Ao=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=Bo(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=Ho.get(t))&&(n.raw=n,Ho.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 jo=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 Mo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Go.body1}render(){return this.element?Ao`
|
|
526
|
+
<${Do(this.element)}
|
|
521
527
|
class="ft-typography ft-typography--${this.variant}">
|
|
522
528
|
<slot></slot>
|
|
523
|
-
</${
|
|
524
|
-
`:
|
|
529
|
+
</${Do(this.element)}>
|
|
530
|
+
`:Ao`
|
|
525
531
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
526
|
-
`}}
|
|
532
|
+
`}}Mo.styles=[It,Ut,kt,Rt,Wt,Et,Lt,Kt,Zt,zt,Ft,...Bt],jo([r.property()],Mo.prototype,"element",void 0),jo([r.property()],Mo.prototype,"variant",void 0),o.customElement("ft-typography")(Mo);const Po=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),To=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"),qo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Xo=e.css`
|
|
527
533
|
.ft-tooltip--container {
|
|
528
534
|
display: block;
|
|
529
535
|
}
|
|
@@ -538,21 +544,21 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
538
544
|
box-sizing: border-box;
|
|
539
545
|
overflow: hidden;
|
|
540
546
|
width: max-content;
|
|
541
|
-
max-width: ${
|
|
547
|
+
max-width: ${qo};
|
|
542
548
|
text-align: center;
|
|
543
|
-
padding: ${
|
|
544
|
-
z-index: ${
|
|
549
|
+
padding: ${Po};
|
|
550
|
+
z-index: ${Yo};
|
|
545
551
|
}
|
|
546
552
|
|
|
547
553
|
.ft-tooltip--content {
|
|
548
554
|
padding: 4px 8px;
|
|
549
|
-
border-radius: ${
|
|
550
|
-
background-color: ${
|
|
551
|
-
color: ${
|
|
555
|
+
border-radius: ${Vo};
|
|
556
|
+
background-color: ${_o};
|
|
557
|
+
color: ${To};
|
|
552
558
|
position: relative;
|
|
553
559
|
word-break: break-word;
|
|
554
560
|
}
|
|
555
|
-
`;var Qo,te,oe
|
|
561
|
+
`;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`
|
|
556
562
|
<div part="container"
|
|
557
563
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
558
564
|
@mouseenter=${this.onHover}
|
|
@@ -570,19 +576,19 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
570
576
|
</div>
|
|
571
577
|
</div>
|
|
572
578
|
</div>
|
|
573
|
-
`}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, ${Xo})`}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))}}re.elementDefinitions={"ft-typography":Po},re.styles=Jo,ee([r.property()],re.prototype,"text",void 0),ee([r.property({type:Boolean})],re.prototype,"manual",void 0),ee([r.property({type:Boolean})],re.prototype,"inline",void 0),ee([r.property({type:Number})],re.prototype,"delay",void 0),ee([r.property()],re.prototype,"position",void 0),ee([r.queryAssignedNodes("",!0)],re.prototype,"slotNodes",void 0),ee([r.query(".ft-tooltip--container")],re.prototype,"container",void 0),ee([r.query(".ft-tooltip")],re.prototype,"tooltip",void 0),ee([r.query(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0),ee([r.state()],re.prototype,"visible",void 0),o.customElement("ft-tooltip")(re),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=""}(Qo||(Qo={})),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=""}(te||(te={})),new Map([...["abw"].map((t=>[t,te.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,te.AUDIO])),...["avi"].map((t=>[t,te.AVI])),...["chm","xhs"].map((t=>[t,te.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,te.CODE])),...["csv"].map((t=>[t,te.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,te.DITA])),...["epub"].map((t=>[t,te.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,te.EXCEL])),...["flac"].map((t=>[t,te.FLAC])),...["gif"].map((t=>[t,te.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,te.GZIP])),...["html","htm","xhtml"].map((t=>[t,te.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,te.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,te.JPEG])),...["json"].map((t=>[t,te.JSON])),...["m4a","m4p"].map((t=>[t,te.M4A])),...["mov","qt"].map((t=>[t,te.MOV])),...["mp3"].map((t=>[t,te.MP3])),...["mp4","m4v"].map((t=>[t,te.MP4])),...["ogg","oga"].map((t=>[t,te.OGG])),...["pdf","ps"].map((t=>[t,te.PDF])),...["png"].map((t=>[t,te.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,te.POWERPOINT])),...["rar"].map((t=>[t,te.RAR])),...["stp"].map((t=>[t,te.STP])),...["txt","rtf","md","mdown"].map((t=>[t,te.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,te.VIDEO])),...["wav"].map((t=>[t,te.WAV])),...["wma"].map((t=>[t,te.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,te.WORD])),...["xml","xsl","rdf"].map((t=>[t,te.XML])),...["yaml","yml","x-yaml"].map((t=>[t,te.YAML])),...["zip"].map((t=>[t,te.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(oe||(oe={}));var ie=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 ae extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(oe).includes(this.variant)?this.variant:oe.fluid_topics,o=t!==oe.material||!!this.value;return e.html`
|
|
579
|
+
`}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":Mo},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`
|
|
574
580
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
575
581
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
576
582
|
<slot ?hidden=${o}></slot>
|
|
577
583
|
</i>
|
|
578
|
-
`}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
|
|
584
|
+
`}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 te.file_format:this.resolvedIcon=null!==(t=Qo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case te.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Jo[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ie.elementDefinitions={},ie.styles=Gt,re([r.property()],ie.prototype,"variant",void 0),re([r.property()],ie.prototype,"value",void 0),re([r.state()],ie.prototype,"resolvedIcon",void 0),re([r.query("slot")],ie.prototype,"slottedContent",void 0),o.customElement("ft-icon")(ie);class ae extends o.FtLitElement{render(){return e.html`
|
|
579
585
|
<div class="ft-loader">
|
|
580
586
|
<div></div>
|
|
581
587
|
<div></div>
|
|
582
588
|
<div></div>
|
|
583
589
|
<div></div>
|
|
584
590
|
</div>
|
|
585
|
-
`}}
|
|
591
|
+
`}}ae.styles=Ht,o.customElement("ft-loader")(ae);var ne=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 le 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`
|
|
586
592
|
<button part="button"
|
|
587
593
|
class="${i.classMap(this.buttonClasses)}"
|
|
588
594
|
aria-label="${this.getLabel()}"
|
|
@@ -605,7 +611,7 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
605
611
|
</ft-tooltip>
|
|
606
612
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
607
613
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
608
|
-
<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}}
|
|
614
|
+
<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}}le.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":ee,"ft-typography":Mo,"ft-icon":ie,"ft-loader":ae},ne([r.property({type:String,reflect:!0})],le.prototype,"role",void 0),ne([r.property()],le.prototype,"type",void 0),ne([r.property({type:Boolean})],le.prototype,"disabled",void 0),ne([r.property()],le.prototype,"label",void 0),ne([r.property()],le.prototype,"icon",void 0),ne([r.property()],le.prototype,"iconVariant",void 0),ne([r.property({type:Boolean})],le.prototype,"trailingIcon",void 0),ne([r.property({type:Boolean})],le.prototype,"loading",void 0),ne([r.property()],le.prototype,"tooltipPosition",void 0),ne([r.property({type:Boolean})],le.prototype,"hideTooltip",void 0),ne([r.property({type:Boolean})],le.prototype,"forceTooltip",void 0),ne([r.query(".ft-button")],le.prototype,"button",void 0),ne([r.query(".ft-button--label slot")],le.prototype,"slottedContent",void 0);var ce=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 pe extends le{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"}}pe.styles=[o.safariEllipsisFix,Xt],ce([r.property({type:Boolean})],pe.prototype,"primary",void 0),ce([r.property({type:Boolean})],pe.prototype,"outlined",void 0),ce([r.property({type:Boolean})],pe.prototype,"dense",void 0),ce([r.property({type:Boolean})],pe.prototype,"round",void 0);const se=[e.css`
|
|
609
615
|
:host {
|
|
610
616
|
display: inline-block;
|
|
611
617
|
max-width: 100%;
|
|
@@ -655,7 +661,7 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
655
661
|
}
|
|
656
662
|
|
|
657
663
|
.ft-button:focus-visible {
|
|
658
|
-
outline-color: ${
|
|
664
|
+
outline-color: ${v.focusFocusRingColor};
|
|
659
665
|
outline-style: solid;
|
|
660
666
|
}
|
|
661
667
|
|
|
@@ -684,146 +690,146 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
684
690
|
/** Primary styles **/
|
|
685
691
|
|
|
686
692
|
.ft-button--primary {
|
|
687
|
-
${o.setVariable(Dt.color,
|
|
693
|
+
${o.setVariable(Dt.color,v.primaryIconColor)};
|
|
688
694
|
|
|
689
|
-
${o.setVariable(p.color,
|
|
690
|
-
${o.setVariable(p.opacityContentOnSurfaceHover,
|
|
691
|
-
${o.setVariable(p.opacityContentOnSurfaceFocused,
|
|
692
|
-
${o.setVariable(p.opacityContentOnSurfaceSelected,
|
|
693
|
-
${o.setVariable(p.opacityContentOnSurfacePressed,
|
|
695
|
+
${o.setVariable(p.color,v.primaryStateLayerColor)};
|
|
696
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,v.primaryStateLayerOpacityHover)};
|
|
697
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,v.primaryStateLayerOpacityFocus)};
|
|
698
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,v.primaryStateLayerOpacityActive)};
|
|
699
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,v.primaryStateLayerOpacityActive)};
|
|
694
700
|
|
|
695
|
-
background-color: ${
|
|
696
|
-
color: ${
|
|
701
|
+
background-color: ${v.primaryBackgroundColor};
|
|
702
|
+
color: ${v.primaryColor};
|
|
697
703
|
border-style: none;
|
|
698
704
|
}
|
|
699
705
|
|
|
700
706
|
.ft-button--primary[disabled] {
|
|
701
|
-
opacity: ${
|
|
707
|
+
opacity: ${v.primaryComponentOpacityDisabled};
|
|
702
708
|
}
|
|
703
709
|
|
|
704
710
|
.ft-button--primary ft-icon {
|
|
705
|
-
color: ${
|
|
711
|
+
color: ${v.primaryIconColor};
|
|
706
712
|
}
|
|
707
713
|
|
|
708
714
|
/** Secondary styles **/
|
|
709
715
|
|
|
710
716
|
.ft-button--secondary {
|
|
711
|
-
${o.setVariable(Dt.color,
|
|
717
|
+
${o.setVariable(Dt.color,v.secondaryIconColor)};
|
|
712
718
|
|
|
713
|
-
${o.setVariable(p.color,
|
|
714
|
-
${o.setVariable(p.opacityContentOnSurfaceHover,
|
|
715
|
-
${o.setVariable(p.opacityContentOnSurfaceFocused,
|
|
716
|
-
${o.setVariable(p.opacityContentOnSurfaceSelected,
|
|
717
|
-
${o.setVariable(p.opacityContentOnSurfacePressed,
|
|
719
|
+
${o.setVariable(p.color,v.secondaryStateLayerColor)};
|
|
720
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,v.secondaryStateLayerOpacityHover)};
|
|
721
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,v.secondaryStateLayerOpacityFocus)};
|
|
722
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,v.secondaryStateLayerOpacityActive)};
|
|
723
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,v.secondaryStateLayerOpacityActive)};
|
|
718
724
|
|
|
719
|
-
background-color: ${
|
|
720
|
-
color: ${
|
|
721
|
-
border-color: ${
|
|
725
|
+
background-color: ${v.secondaryBackgroundColor};
|
|
726
|
+
color: ${v.secondaryColor};
|
|
727
|
+
border-color: ${v.secondaryBorderColor};
|
|
722
728
|
border-style: solid;
|
|
723
729
|
}
|
|
724
730
|
|
|
725
731
|
.ft-button--secondary[disabled] {
|
|
726
|
-
opacity: ${
|
|
732
|
+
opacity: ${v.secondaryComponentOpacityDisabled};
|
|
727
733
|
}
|
|
728
734
|
|
|
729
735
|
.ft-button--secondary ft-icon {
|
|
730
|
-
color: ${
|
|
736
|
+
color: ${v.secondaryIconColor};
|
|
731
737
|
}
|
|
732
738
|
|
|
733
739
|
/** Tertiary styles **/
|
|
734
740
|
|
|
735
741
|
.ft-button--tertiary {
|
|
736
|
-
${o.setVariable(Dt.color,
|
|
742
|
+
${o.setVariable(Dt.color,v.tertiaryIconColor)};
|
|
737
743
|
|
|
738
|
-
${o.setVariable(p.color,
|
|
739
|
-
${o.setVariable(p.opacityContentOnSurfaceHover,
|
|
740
|
-
${o.setVariable(p.opacityContentOnSurfaceFocused,
|
|
741
|
-
${o.setVariable(p.opacityContentOnSurfaceSelected,
|
|
742
|
-
${o.setVariable(p.opacityContentOnSurfacePressed,
|
|
744
|
+
${o.setVariable(p.color,v.tertiaryStateLayerColor)};
|
|
745
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,v.tertiaryStateLayerOpacityHover)};
|
|
746
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,v.tertiaryStateLayerOpacityFocus)};
|
|
747
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,v.tertiaryStateLayerOpacityActive)};
|
|
748
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,v.tertiaryStateLayerOpacityActive)};
|
|
743
749
|
|
|
744
|
-
background-color: ${
|
|
745
|
-
color: ${
|
|
750
|
+
background-color: ${v.tertiaryBackgroundColor};
|
|
751
|
+
color: ${v.tertiaryColor};
|
|
746
752
|
border-style: none;
|
|
747
753
|
}
|
|
748
754
|
|
|
749
755
|
.ft-button--tertiary[disabled] {
|
|
750
|
-
opacity: ${
|
|
756
|
+
opacity: ${v.tertiaryComponentOpacityDisabled};
|
|
751
757
|
}
|
|
752
758
|
|
|
753
759
|
.ft-button--tertiary ft-icon {
|
|
754
|
-
color: ${
|
|
760
|
+
color: ${v.tertiaryIconColor};
|
|
755
761
|
}
|
|
756
762
|
|
|
757
763
|
/** Neutral styles **/
|
|
758
764
|
|
|
759
765
|
.ft-button--neutral {
|
|
760
|
-
${o.setVariable(Dt.color,
|
|
766
|
+
${o.setVariable(Dt.color,v.neutralIconColor)};
|
|
761
767
|
|
|
762
|
-
${o.setVariable(p.backgroundColor,
|
|
763
|
-
${o.setVariable(p.opacityContentOnSurfaceHover,
|
|
764
|
-
${o.setVariable(p.opacityContentOnSurfaceFocused,
|
|
765
|
-
${o.setVariable(p.opacityContentOnSurfaceSelected,
|
|
766
|
-
${o.setVariable(p.opacityContentOnSurfacePressed,
|
|
768
|
+
${o.setVariable(p.backgroundColor,v.neutralStateLayerColor)};
|
|
769
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,v.neutralStateLayerOpacityHover)};
|
|
770
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,v.neutralStateLayerOpacityFocus)};
|
|
771
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,v.neutralStateLayerOpacityActive)};
|
|
772
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,v.neutralStateLayerOpacityActive)};
|
|
767
773
|
|
|
768
|
-
background-color: ${
|
|
769
|
-
color: ${
|
|
774
|
+
background-color: ${v.neutralBackgroundColor};
|
|
775
|
+
color: ${v.neutralColor};
|
|
770
776
|
border-style: none;
|
|
771
777
|
}
|
|
772
778
|
|
|
773
779
|
.ft-button--neutral[disabled] {
|
|
774
|
-
opacity: ${
|
|
780
|
+
opacity: ${v.neutralComponentOpacityDisabled};
|
|
775
781
|
}
|
|
776
782
|
|
|
777
783
|
.ft-button--neutral ft-icon {
|
|
778
|
-
color: ${
|
|
784
|
+
color: ${v.neutralIconColor};
|
|
779
785
|
}
|
|
780
786
|
|
|
781
787
|
/** Large styles **/
|
|
782
788
|
|
|
783
789
|
.ft-button--large {
|
|
784
|
-
${o.setVariable(At.size,
|
|
785
|
-
${o.setVariable(Dt.size,
|
|
790
|
+
${o.setVariable(At.size,v.largeIconSize)};
|
|
791
|
+
${o.setVariable(Dt.size,v.largeIconSize)};
|
|
786
792
|
|
|
787
|
-
height: ${
|
|
788
|
-
padding: 0 ${
|
|
789
|
-
gap: ${
|
|
790
|
-
border-radius: ${
|
|
791
|
-
border-width: ${
|
|
793
|
+
height: ${v.largeHeight};
|
|
794
|
+
padding: 0 ${v.largeHorizontalPadding};
|
|
795
|
+
gap: ${v.largeGap};
|
|
796
|
+
border-radius: ${v.largeBorderRadius};
|
|
797
|
+
border-width: ${v.largeBorderWidth};
|
|
792
798
|
}
|
|
793
799
|
|
|
794
800
|
.ft-button--large:focus-visible {
|
|
795
|
-
outline-width: ${
|
|
796
|
-
outline-offset: ${
|
|
801
|
+
outline-width: ${v.largeFocusOutlineWidth};
|
|
802
|
+
outline-offset: ${v.largeFocusOutlineOffset};
|
|
797
803
|
}
|
|
798
804
|
|
|
799
805
|
.ft-button--large.ft-button--icon-only {
|
|
800
|
-
width: ${
|
|
806
|
+
width: ${v.largeIconOnlyWidth};
|
|
801
807
|
padding: unset;
|
|
802
808
|
}
|
|
803
809
|
|
|
804
810
|
/** Small styles **/
|
|
805
811
|
|
|
806
812
|
.ft-button--small {
|
|
807
|
-
${o.setVariable(At.size,
|
|
808
|
-
${o.setVariable(Dt.size,
|
|
813
|
+
${o.setVariable(At.size,v.smallIconSize)};
|
|
814
|
+
${o.setVariable(Dt.size,v.smallIconSize)};
|
|
809
815
|
|
|
810
|
-
height: ${
|
|
811
|
-
padding: 0 ${
|
|
812
|
-
gap: ${
|
|
813
|
-
border-radius: ${
|
|
814
|
-
border-width: ${
|
|
816
|
+
height: ${v.smallHeight};
|
|
817
|
+
padding: 0 ${v.smallHorizontalPadding};
|
|
818
|
+
gap: ${v.smallGap};
|
|
819
|
+
border-radius: ${v.smallBorderRadius};
|
|
820
|
+
border-width: ${v.smallBorderWidth};
|
|
815
821
|
}
|
|
816
822
|
|
|
817
823
|
.ft-button--small:focus-visible {
|
|
818
|
-
outline-width: ${
|
|
819
|
-
outline-offset: ${
|
|
824
|
+
outline-width: ${v.smallFocusOutlineWidth};
|
|
825
|
+
outline-offset: ${v.smallFocusOutlineOffset};
|
|
820
826
|
}
|
|
821
827
|
|
|
822
828
|
.ft-button--small.ft-button--icon-only {
|
|
823
|
-
width: ${
|
|
829
|
+
width: ${v.smallIconOnlyWidth};
|
|
824
830
|
padding: unset;
|
|
825
831
|
}
|
|
826
|
-
`,o.noTextSelect];var
|
|
832
|
+
`,o.noTextSelect];var fe=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 de extends le{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}}de.styles=[o.safariEllipsisFix,se],fe([r.property({type:Boolean})],de.prototype,"primary",void 0),fe([r.property({type:Boolean})],de.prototype,"secondary",void 0),fe([r.property({type:Boolean})],de.prototype,"tertiary",void 0),fe([r.property({type:Boolean})],de.prototype,"neutral",void 0),fe([r.property({type:Boolean})],de.prototype,"small",void 0),o.customElement("ft-button")(pe),o.customElement("ftds-button")(de);const he={iconColor:o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium)},ge=e.css`
|
|
827
833
|
.ft-floating-menu-item {
|
|
828
834
|
cursor: pointer;
|
|
829
835
|
display: flex;
|
|
@@ -838,7 +844,7 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
838
844
|
}
|
|
839
845
|
|
|
840
846
|
.ft-floating-menu-item ft-icon {
|
|
841
|
-
color: ${
|
|
847
|
+
color: ${he.iconColor};
|
|
842
848
|
margin-left: 0;
|
|
843
849
|
flex-shrink: 0;
|
|
844
850
|
flex-grow: 0;
|
|
@@ -853,7 +859,7 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
853
859
|
word-break: break-word;
|
|
854
860
|
hyphens: auto;
|
|
855
861
|
}
|
|
856
|
-
`;var
|
|
862
|
+
`;var ye=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 be extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class ue extends o.FtLitElement{constructor(){super(...arguments),this.value=""}render(){return e.html`
|
|
857
863
|
<div class="ft-floating-menu-item"
|
|
858
864
|
@click=${this.onClick}>
|
|
859
865
|
<ft-ripple></ft-ripple>
|
|
@@ -864,7 +870,7 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
864
870
|
<slot></slot>
|
|
865
871
|
</ft-typography>
|
|
866
872
|
</div>
|
|
867
|
-
`}onClick(t){this.dispatchEvent(new be(this.value))}}
|
|
873
|
+
`}onClick(t){this.dispatchEvent(new be(this.value))}}ue.elementDefinitions={"ft-icon":ie,"ft-ripple":Qt,"ft-typography":Mo},ue.styles=ge,ye([r.property()],ue.prototype,"iconVariant",void 0),ye([r.property()],ue.prototype,"icon",void 0),ye([r.property()],ue.prototype,"value",void 0);var me=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 xe extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=te.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
|
|
868
874
|
<div class="${i.classMap(t)}">
|
|
869
875
|
|
|
870
876
|
<slot name="toggle"
|
|
@@ -900,4 +906,4 @@ const Bo=Symbol.for(""),Do=t=>{if((null==t?void 0:t.r)===Bo)return null==t?void
|
|
|
900
906
|
</div>
|
|
901
907
|
</div>
|
|
902
908
|
</div>
|
|
903
|
-
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,o=this.menuContent.offsetHeight,e=this.actionButton.offsetWidth,r=this.actionButton.offsetHeight;let i=0,a=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":i=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":i=this.actionButton.offsetLeft+e-t-this.menuWrapper.offsetLeft;break;case"center":i=this.actionButton.offsetLeft+e/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":a=this.actionButton.offsetTop+r+4-this.menuWrapper.offsetTop;break;case"top":a=this.actionButton.offsetTop-o-4-this.menuWrapper.offsetTop}const n=this.menuWrapper.style;n.left=i+"px",n.top=a+"px";const l=this.menuWrapper.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;n.left=i+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let s=-l.y,f=l.y+l.height-window.innerHeight;n.top=a+Math.round(this.correctOutOfWindowPixels(s,f))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}
|
|
909
|
+
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,o=this.menuContent.offsetHeight,e=this.actionButton.offsetWidth,r=this.actionButton.offsetHeight;let i=0,a=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":i=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":i=this.actionButton.offsetLeft+e-t-this.menuWrapper.offsetLeft;break;case"center":i=this.actionButton.offsetLeft+e/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":a=this.actionButton.offsetTop+r+4-this.menuWrapper.offsetTop;break;case"top":a=this.actionButton.offsetTop-o-4-this.menuWrapper.offsetTop}const n=this.menuWrapper.style;n.left=i+"px",n.top=a+"px";const l=this.menuWrapper.getBoundingClientRect();let c=-l.x,p=l.x+l.width-window.innerWidth;n.left=i+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let s=-l.y,f=l.y+l.height-window.innerHeight;n.top=a+Math.round(this.correctOutOfWindowPixels(s,f))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}xe.elementDefinitions={"ft-floating-menu-item":ue},me([r.state()],xe.prototype,"menuOpen",void 0),me([r.state()],xe.prototype,"forceMenuOpen",void 0),me([r.query(".ft-floating-menu")],xe.prototype,"container",void 0),me([r.query(".ft-floating-menu--wrapper")],xe.prototype,"menuWrapper",void 0),me([r.query("#ft-floating-menu-options")],xe.prototype,"menuContent",void 0),me([r.query("#actions-button")],xe.prototype,"actionButton",void 0),me([r.property({type:Boolean})],xe.prototype,"primary",void 0),me([r.property({type:Boolean})],xe.prototype,"secondary",void 0),me([r.property({type:Boolean})],xe.prototype,"tertiary",void 0),me([r.property({type:Boolean})],xe.prototype,"neutral",void 0),me([r.property({type:Boolean})],xe.prototype,"small",void 0),me([r.property()],xe.prototype,"label",void 0),me([r.property()],xe.prototype,"tooltipPosition",void 0),me([r.property()],xe.prototype,"iconVariant",void 0),me([r.property()],xe.prototype,"icon",void 0),me([r.property()],xe.prototype,"text",void 0),me([r.property()],xe.prototype,"horizontalAlignment",void 0),me([r.property()],xe.prototype,"verticalAlignment",void 0),me([r.property({type:Boolean})],xe.prototype,"disabled",void 0),me([o.jsonProperty([])],xe.prototype,"closeMenuMatchers",void 0);class Oe extends xe{}Oe.elementDefinitions={"ft-or-ftds-button":pe},Oe.styles=l;class Ne extends xe{}Ne.elementDefinitions={"ft-or-ftds-button":de},Ne.styles=l,o.customElement("ft-floating-menu")(Oe),o.customElement("ftds-floating-menu")(Ne),o.customElement("ft-floating-menu-item")(ue),t.FtFloatingMenu=Oe,t.FtFloatingMenuCssVariables=n,t.FtFloatingMenuItem=ue,t.FtFloatingMenuItemCssVariables=he,t.FtFloatingMenuItemSelect=be,t.FtdsFloatingMenu=Ne,t.itemStyles=ge,t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|