@fluid-topics/ft-copy-block 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-copy-block.light.js +53 -53
- package/build/ft-copy-block.min.js +150 -150
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,o,e,r,i,
|
|
1
|
+
!function(t,o,e,r,i,a){const n=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),l={color:n,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",n),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")},c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),s=c,p=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),f=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),d=f,h=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",f),y=e.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -110,34 +110,34 @@
|
|
|
110
110
|
opacity: ${l.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`,g=t=>"string"==typeof t?e.unsafeCSS(t):t;class u{static create(t,o,r,i){const n=t=>g(null!=t?t:i),a=e.css`var(${g(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${g(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${g(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${g(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):g(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${g(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(${g(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const b={colorWhite:u.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:u.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:u.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:u.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:u.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:u.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:u.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:u.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:u.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:u.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:u.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:u.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:u.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:u.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:u.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:u.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:u.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:u.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:u.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:u.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:u.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:u.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:u.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:u.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:u.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:u.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:u.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:u.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:u.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:u.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:u.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:u.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:u.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:u.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:u.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:u.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:u.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:u.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:u.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:u.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:u.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:u.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:u.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:u.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:u.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:u.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:u.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:u.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:u.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:u.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:u.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:u.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:u.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:u.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:u.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:u.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:u.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:u.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:u.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:u.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:u.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:u.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:u.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:u.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:u.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:u.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:u.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:u.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:u.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:u.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:u.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:u.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:u.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:u.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:u.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:u.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:u.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:u.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:u.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:u.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:u.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:u.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:u.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:u.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:u.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:u.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:u.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:u.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:u.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:u.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:u.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:u.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:u.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:u.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:u.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:u.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:u.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:u.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:u.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:u.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:u.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:u.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:u.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:u.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:u.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:u.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:u.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:u.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:u.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:u.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:u.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:u.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:u.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:u.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:u.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:u.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:u.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:u.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:u.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:u.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:u.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:u.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:u.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:u.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:u.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:u.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:u.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:u.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:u.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:u.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:u.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:u.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:u.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:u.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:u.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:u.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:u.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:u.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:u.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:u.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:u.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:u.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:u.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:u.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:u.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:u.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:u.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:u.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:u.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:u.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:u.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:u.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:u.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:u.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:u.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:u.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:u.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:u.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:u.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:u.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:u.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:u.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:u.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:u.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:u.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:u.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:u.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:u.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:u.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:u.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:u.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:u.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:u.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:u.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:u.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:u.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:u.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:u.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:u.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:u.create("--ft-icon-size-6","","SIZE","48px"),opacity0:u.create("--ft-opacity-0","","NUMBER","0"),opacity8:u.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:u.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:u.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:u.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:u.create("--ft-opacity-80","","NUMBER","0.8")},m={display:{fontFamily:u.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:u.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:u.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:u.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:u.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:u.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:u.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:u.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:u.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:u.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:u.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:u.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:u.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:u.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:u.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:u.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:u.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:u.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:u.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:u.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:u.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:u.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:u.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:u.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:u.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:u.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:u.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:u.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:u.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:u.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:u.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:u.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:u.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:u.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:u.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:u.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:u.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:u.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},x={backgroundActionPrimary:u.extend("--ft-background-action-primary","Used as backgorund of primary action components.",b.colorBrand0),backgroundErrorPrimary:u.extend("--ft-background-error-primary","Used as background of error components.",b.colorRed0),backgroundErrorSubtle:u.extend("--ft-background-error-subtle","Used as background of subtle error components.",b.colorRed10),backgroundInfoPrimary:u.extend("--ft-background-info-primary","Used as background of information components.",b.colorCyan200),backgroundInfoSubtle:u.extend("--ft-background-info-subtle","Used as background of subtle information components.",b.colorCyan10),backgroundWarningPrimary:u.extend("--ft-background-warning-primary","Used as background of warning components.",b.colorOrange300),backgroundWarningSubtle:u.extend("--ft-background-warning-subtle","Used as background of subtle information components.",b.colorOrange10),backgroundSuccessPrimary:u.extend("--ft-background-success-primary","Used as background of success components.",b.colorGreen200),backgroundSuccessSubtle:u.extend("--ft-background-success-subtle","Used as background of subtle success components.",b.colorGreen10),backgroundGlobalSurface:u.extend("--ft-background-global-surface","Used as app background.",b.colorWhite),backgroundGlobalOnSurface:u.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",b.colorGray10),backgroundGlobalOnSurfaceDark:u.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",b.colorGray30),contentActionPrimary:u.extend("--ft-content-action-primary","Used on label of primary action on light surface.",b.colorBrand0),contentWarningPrimary:u.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",b.colorOrange300),contentWarningIconOnly:u.extend("--ft-content-warning-icon-only","Used on warning status icons alone",b.colorOrange0),contentErrorPrimary:u.extend("--ft-content-error-primary","Used on label of error messages on light surface.",b.colorRed0),contentErrorIconOnly:u.extend("--ft-content-error-icon-only","Used on error status icons alone",b.colorRed0),contentInfoPrimary:u.extend("--ft-content-info-primary","Used on label of information messages on light surface.",b.colorCyan200),contentInfoIconOnly:u.extend("--ft-content-info-icon-only","Used on info status icons alone",b.colorCyan0),contentSuccessIconOnly:u.extend("--ft-content-success-icon-only","Used on success status icons alone",b.colorGreen0),contentSuccessPrimary:u.extend("--ft-content-success-primary","Used on label of success messages on light surface.",b.colorGreen200),contentGlobalPrimary:u.extend("--ft-content-global-primary","Used for main content on the page.",b.colorGray500),contentGlobalSecondary:u.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",b.colorGray200),contentGlobalSubtle:u.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",b.colorGray0),contentGlobalOnColor:u.extend("--ft-content-global-on-color","Used for content on a dominant color.",b.colorWhite),borderActionPrimary:u.extend("--ft-border-action-primary","Used as border for primary action components.",b.colorBrand0),borderActionFocusRing:u.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",b.colorCyan0),borderWarningPrimary:u.extend("--ft-border-warning-primary","Used as border for warning components.",b.colorOrange30),borderSuccessPrimary:u.extend("--ft-border-success-primary","Used as border for success components.",b.colorGreen30),borderErrorPrimary:u.extend("--ft-border-error-primary","Used as border for error components.",b.colorRed30),borderInfoPrimary:u.extend("--ft-border-info-primary","Used as border for information components.",b.colorCyan30),borderGlobalSubtle:u.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",b.colorGray30),borderGlobalPrimary:u.extend("--ft-border-global-primary","Used as border for element like input.",b.colorGray50),borderInputPrimary:u.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",b.colorGray80)},O={largeHeight:u.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:u.extend("--ft-button-large-horizontal-padding","",b.spacing4),largeGap:u.extend("--ft-button-large-gap","",b.spacing2),largeBorderRadius:u.extend("--ft-button-large-border-radius","",b.borderRadiusS),largeIconSize:u.extend("--ft-button-large-icon-size","",b.iconSize3),largeBorderWidth:u.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:u.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:u.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:u.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:u.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:u.extend("--ft-button-small-horizontal-padding","",b.spacing3),smallGap:u.extend("--ft-button-small-gap","",b.spacing2),smallBorderRadius:u.extend("--ft-button-small-border-radius","",b.borderRadiusS),smallIconSize:u.extend("--ft-button-small-icon-size","",b.iconSize2),smallBorderWidth:u.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:u.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:u.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:u.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:u.extend("--ft-button-primary-background-color","",x.backgroundActionPrimary),primaryColor:u.extend("--ft-button-primary-color","",x.contentGlobalOnColor),primaryIconColor:u.extend("--ft-button-primary-icon-color","",x.contentGlobalOnColor),primaryStateLayerColor:u.extend("--ft-button-primary-state-layer-color","",x.contentGlobalOnColor),primaryStateLayerOpacityHover:u.extend("--ft-button-primary-state-layer-opacity-hover","",b.opacity16),primaryStateLayerOpacityFocus:u.extend("--ft-button-primary-state-layer-opacity-focus","",b.opacity16),primaryStateLayerOpacityActive:u.extend("--ft-button-primary-state-layer-opacity-active","",b.opacity24),primaryComponentOpacityDisabled:u.extend("--ft-button-primary-component-opacity-disabled","",b.opacity40),focusFocusRingColor:u.extend("--ft-button-focus-focus-ring-color","",x.borderActionFocusRing),tertiaryBackgroundColor:u.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:u.extend("--ft-button-tertiary-color","",x.contentActionPrimary),tertiaryIconColor:u.extend("--ft-button-tertiary-icon-color","",x.contentActionPrimary),tertiaryStateLayerColor:u.extend("--ft-button-tertiary-state-layer-color","",x.contentActionPrimary),tertiaryStateLayerOpacityHover:u.extend("--ft-button-tertiary-state-layer-opacity-hover","",b.opacity8),tertiaryStateLayerOpacityFocus:u.extend("--ft-button-tertiary-state-layer-opacity-focus","",b.opacity8),tertiaryStateLayerOpacityActive:u.extend("--ft-button-tertiary-state-layer-opacity-active","",b.opacity16),tertiaryComponentOpacityDisabled:u.extend("--ft-button-tertiary-component-opacity-disabled","",b.opacity40),secondaryBackgroundColor:u.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:u.extend("--ft-button-secondary-color","",x.contentActionPrimary),secondaryIconColor:u.extend("--ft-button-secondary-icon-color","",x.contentActionPrimary),secondaryStateLayerColor:u.extend("--ft-button-secondary-state-layer-color","",x.contentActionPrimary),secondaryStateLayerOpacityHover:u.extend("--ft-button-secondary-state-layer-opacity-hover","",b.opacity8),secondaryStateLayerOpacityFocus:u.extend("--ft-button-secondary-state-layer-opacity-focus","",b.opacity8),secondaryStateLayerOpacityActive:u.extend("--ft-button-secondary-state-layer-opacity-active","",b.opacity16),secondaryComponentOpacityDisabled:u.extend("--ft-button-secondary-component-opacity-disabled","",b.opacity40),secondaryBorderColor:u.extend("--ft-button-secondary-border-color","",x.borderActionPrimary),neutralBackgroundColor:u.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:u.extend("--ft-button-neutral-icon-color","",x.contentGlobalSecondary),neutralColor:u.extend("--ft-button-neutral-color","",x.contentGlobalSecondary),neutralStateLayerColor:u.extend("--ft-button-neutral-state-layer-color","",x.contentGlobalSecondary),neutralStateLayerOpacityHover:u.extend("--ft-button-neutral-state-layer-opacity-hover","",b.opacity8),neutralStateLayerOpacityFocus:u.extend("--ft-button-neutral-state-layer-opacity-focus","",b.opacity8),neutralStateLayerOpacityActive:u.extend("--ft-button-neutral-state-layer-opacity-active","",b.opacity16),neutralComponentOpacityDisabled:u.extend("--ft-button-neutral-component-opacity-disabled","",b.opacity40)};u.extend("--ft-tabs-top-left-border-radius","",b.borderRadiusS),u.extend("--ft-tabs-top-right-border-radius","",b.borderRadiusS),u.extend("--ft-tabs-label-horizontal-padding","",b.spacing4),u.extend("--ft-tabs-label-vertical-padding","",b.spacing3),u.extend("--ft-tabs-label-gap","",b.spacing1),u.extend("--ft-switch-group-horizontal-padding","",b.spacing1),u.extend("--ft-switch-group-vertical-padding","",b.spacing1),u.extend("--ft-switch-group-gap","",b.spacing1),u.extend("--ft-switch-group-background-color","",x.backgroundGlobalSurface),u.extend("--ft-switch-group-border-color","",x.borderGlobalSubtle),u.create("--ft-switch-group-border-radius","","SIZE","6px"),u.extend("--ft-switch-label-horizontal-padding","",b.spacing2),u.extend("--ft-switch-label-vertical-padding","",b.spacing1),u.extend("--ft-switch-icon-horizontal-padding","",b.spacing1),u.extend("--ft-switch-icon-vertical-padding","",b.spacing1),u.create("--ft-switch-focus-outline-width","","SIZE","2px"),u.extend("--ft-switch-focus-focus-ring-color","",x.borderActionFocusRing),u.extend("--ft-switch-option-border-radius","",b.borderRadiusS),u.extend("--ft-switch-off-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-switch-off-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-switch-off-state-layer-opacity-active","",b.opacity16),u.extend("--ft-switch-off-component-opacity-disabled","",b.opacity40),u.extend("--ft-switch-off-color","",x.contentGlobalSubtle),u.extend("--ft-switch-off-state-layer-color","",x.contentGlobalSubtle),u.extend("--ft-chart-1-light","for area color charts",b.colorBrand40),u.extend("--ft-chart-1-base","for line charts",b.colorBrand0),u.extend("--ft-chart-2-light","for area color charts",b.colorYellow60),u.extend("--ft-chart-2-base","for line charts",b.colorYellow100),u.extend("--ft-chart-3-light","",b.colorUltramarine40),u.extend("--ft-chart-3-base","",b.colorUltramarine70),u.extend("--ft-chart-4-light","",b.colorCyan50),u.extend("--ft-chart-4-base","",b.colorCyan100),u.extend("--ft-chart-5-light","",b.colorRed40),u.extend("--ft-chart-5-base","",b.colorRed60),u.extend("--ft-chart-6-light","",b.colorGreen40),u.extend("--ft-chart-6-base","",b.colorGreen70),u.extend("--ft-chart-7-light","",b.colorOrange70),u.extend("--ft-chart-7-base","",b.colorOrange100),u.extend("--ft-chart-8-light","",b.colorAvocado70),u.extend("--ft-chart-8-base","",b.colorAvocado200),u.extend("--ft-chart-9-light","",b.colorBrown50),u.extend("--ft-chart-9-base","",b.colorBrown200),u.extend("--ft-chart-10-light","",b.colorGray50),u.extend("--ft-chart-10-base","",b.colorGray80),u.extend("--ft-chart-monochrome-10","",b.colorBrand10),u.extend("--ft-chart-monochrome-20","",b.colorBrand20),u.extend("--ft-chart-monochrome-30","",b.colorBrand40),u.extend("--ft-chart-monochrome-40","",b.colorBrand60),u.extend("--ft-chart-monochrome-50","",b.colorBrand0),u.extend("--ft-chart-monochrome-60","",b.colorBrand200),u.extend("--ft-chip-large-horizontal-padding","",b.spacing4),u.extend("--ft-chip-large-vertical-padding","",b.spacing2),u.extend("--ft-chip-large-gap","",b.spacing1),u.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),u.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),u.extend("--ft-chip-large-border-radius","",b.borderRadiusPill),u.create("--ft-chip-large-border-width","","SIZE","1px"),u.extend("--ft-chip-large-icon-size","",b.iconSize3),u.extend("--ft-chip-medium-horizontal-padding","",b.spacing3),u.extend("--ft-chip-medium-vertical-padding","",b.spacing1),u.extend("--ft-chip-medium-gap","",b.spacing1),u.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),u.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),u.extend("--ft-chip-medium-border-radius","",b.borderRadiusPill),u.create("--ft-chip-medium-border-width","","SIZE","1px"),u.extend("--ft-chip-medium-icon-size","",b.iconSize2),u.extend("--ft-chip-small-horizontal-padding","",b.spacing2),u.extend("--ft-chip-small-vertical-padding","",b.spacing05),u.extend("--ft-chip-small-gap","",b.spacing1),u.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),u.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),u.extend("--ft-chip-small-border-radius","",b.borderRadiusPill),u.create("--ft-chip-small-border-width","","SIZE","1px"),u.extend("--ft-chip-small-icon-size","",b.iconSize1),u.extend("--ft-chip-neutral-background-color","",x.backgroundGlobalOnSurface),u.extend("--ft-chip-neutral-color","",x.contentGlobalPrimary),u.extend("--ft-chip-neutral-border-color","",x.borderGlobalSubtle),u.extend("--ft-chip-info-background-color","",x.backgroundInfoSubtle),u.extend("--ft-chip-info-color","",x.contentInfoPrimary),u.extend("--ft-chip-info-border-color","",x.borderInfoPrimary),u.extend("--ft-chip-success-background-color","",x.backgroundSuccessSubtle),u.extend("--ft-chip-success-color","",x.contentSuccessPrimary),u.extend("--ft-chip-success-border-color","",x.borderSuccessPrimary),u.extend("--ft-chip-warning-background-color","",x.backgroundWarningSubtle),u.extend("--ft-chip-warning-color","",x.contentWarningPrimary),u.extend("--ft-chip-warning-border-color","",x.borderWarningPrimary),u.extend("--ft-chip-error-background-color","",x.backgroundErrorSubtle),u.extend("--ft-chip-error-color","",x.contentErrorPrimary),u.extend("--ft-chip-error-border-color","",x.borderErrorPrimary),u.create("--ft-notice-border-width","","SIZE","1px"),u.extend("--ft-notice-horizontal-padding","",b.spacing2),u.extend("--ft-notice-vertical-padding","",b.spacing1),u.extend("--ft-notice-border-radius","",b.borderRadiusS),u.extend("--ft-notice-gap","",b.spacing2),u.extend("--ft-notice-icon-size","",b.iconSize3),u.extend("--ft-notice-info-background-color","",x.backgroundInfoSubtle),u.extend("--ft-notice-info-border-color","",x.borderInfoPrimary),u.extend("--ft-notice-info-color","",x.contentInfoPrimary),u.extend("--ft-notice-warning-background-color","",x.backgroundWarningSubtle),u.extend("--ft-notice-warning-border-color","",x.borderWarningPrimary),u.extend("--ft-notice-warning-color","",x.contentWarningPrimary),u.extend("--ft-checkbox-label-color","",x.contentGlobalPrimary),u.extend("--ft-checkbox-checked-background-color","",x.contentActionPrimary),u.extend("--ft-checkbox-checked-state-layer-color","",x.contentActionPrimary),u.extend("--ft-checkbox-checked-color","",x.contentGlobalOnColor),u.extend("--ft-checkbox-checked-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-checkbox-checked-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-checkbox-checked-state-layer-opacity-active","",b.opacity24),u.extend("--ft-checkbox-checked-component-opacity-disabled","",b.opacity40),u.extend("--ft-checkbox-unchecked-border-color","",b.colorGray80),u.extend("--ft-checkbox-unchecked-state-layer-color","",b.colorGray80),u.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",b.opacity24),u.extend("--ft-checkbox-unchecked-component-opacity-disabled","",b.opacity40),u.extend("--ft-checkbox-focus-focus-ring-color","",x.borderActionFocusRing),u.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),u.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),u.extend("--ft-checkbox-gap","",b.spacing3),u.extend("--ft-toggle-off-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-toggle-off-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-toggle-off-state-layer-opacity-active","",b.opacity24),u.extend("--ft-toggle-off-component-opacity-disabled","",b.opacity40),u.extend("--ft-toggle-off-background-color","",x.contentGlobalSubtle),u.extend("--ft-toggle-off-icon-color","",x.contentGlobalSubtle),u.extend("--ft-toggle-off-state-layer-color","",x.contentGlobalSubtle),u.extend("--ft-toggle-on-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-toggle-on-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-toggle-on-state-layer-opacity-active","",b.opacity24),u.extend("--ft-toggle-on-component-opacity-disabled","",b.opacity40),u.extend("--ft-toggle-on-background-color","",x.contentActionPrimary),u.extend("--ft-toggle-on-icon-color","",x.contentActionPrimary),u.extend("--ft-toggle-on-state-layer-color","",x.contentActionPrimary),u.extend("--ft-toggle-label-color","",x.contentGlobalPrimary),u.extend("--ft-toggle-focus-focus-ring-color","",x.borderActionFocusRing),u.extend("--ft-toggle-gap","",b.spacing3),u.extend("--ft-radio-label-color","",x.contentGlobalPrimary),u.extend("--ft-radio-selected-color","",x.contentActionPrimary),u.extend("--ft-radio-selected-state-layer-color","",x.contentActionPrimary),u.extend("--ft-radio-selected-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-radio-selected-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-radio-selected-state-layer-opacity-active","",b.opacity24),u.extend("--ft-radio-selected-component-opacity-disabled","",b.opacity40),u.extend("--ft-radio-unselected-state-layer-color","",b.colorGray80),u.extend("--ft-radio-unselected-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-radio-unselected-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-radio-unselected-state-layer-opacity-active","",b.opacity24),u.extend("--ft-radio-unselected-component-opacity-disabled","",b.opacity40),u.extend("--ft-radio-focus-focus-ring-color","",x.borderActionFocusRing),u.create("--ft-radio-focus-outline-offset","","SIZE","3px"),u.create("--ft-radio-focus-outline-width","","SIZE","2px"),u.extend("--ft-radio-gap","",b.spacing3),u.extend("--ft-notification-icon-size","",b.iconSize4),u.extend("--ft-notification-horizontal-padding","",b.spacing4),u.extend("--ft-notification-vertical-padding","",b.spacing4),u.extend("--ft-notification-info-background-color","",x.backgroundInfoSubtle),u.extend("--ft-notification-info-color","",x.contentInfoPrimary),u.extend("--ft-notification-info-border-color","",x.borderInfoPrimary),u.extend("--ft-notification-success-background-color","",x.backgroundSuccessSubtle),u.extend("--ft-notification-success-color","",x.contentSuccessPrimary),u.extend("--ft-notification-success-border-color","",x.borderSuccessPrimary),u.extend("--ft-notification-warning-background-color","",x.backgroundWarningSubtle),u.extend("--ft-notification-warning-color","",x.contentWarningPrimary),u.extend("--ft-notification-warning-border-color","",x.borderWarningPrimary),u.extend("--ft-notification-error-background-color","",x.backgroundErrorSubtle),u.extend("--ft-notification-error-color","",x.contentErrorPrimary),u.extend("--ft-notification-error-border-color","",x.borderErrorPrimary),u.extend("--ft-notification-border-radius","",b.borderRadiusPill),u.create("--ft-notification-border-width","","SIZE","1px"),u.extend("--ft-notification-gap-leading","",b.spacing2),u.extend("--ft-notification-gap-trailing","",b.spacing8);const v=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),S={fontFamily:N,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","",v),C=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),$=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),I=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),k=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),U=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),R=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",v),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",N),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",N),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),_=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",N),V=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit"),tt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",N),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),at=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",N),lt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit"),dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",N),ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),mt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",N),xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),wt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",N),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Ct=e.css`
|
|
113
|
+
`,g=t=>"string"==typeof t?e.unsafeCSS(t):t;class u{static create(t,o,r,i){const a=t=>g(null!=t?t:i),n=e.css`var(${g(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(${g(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(${g(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(${g(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):g(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${g(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(${g(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const b={colorWhite:u.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:u.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:u.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:u.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:u.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:u.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:u.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:u.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:u.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:u.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:u.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:u.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:u.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:u.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:u.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:u.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:u.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:u.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:u.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:u.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:u.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:u.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:u.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:u.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:u.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:u.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:u.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:u.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:u.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:u.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:u.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:u.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:u.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:u.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:u.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:u.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:u.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:u.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:u.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:u.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:u.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:u.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:u.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:u.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:u.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:u.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:u.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:u.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:u.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:u.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:u.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:u.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:u.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:u.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:u.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:u.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:u.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:u.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:u.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:u.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:u.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:u.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:u.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:u.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:u.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:u.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:u.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:u.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:u.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:u.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:u.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:u.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:u.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:u.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:u.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:u.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:u.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:u.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:u.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:u.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:u.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:u.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:u.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:u.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:u.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:u.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:u.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:u.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:u.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:u.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:u.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:u.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:u.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:u.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:u.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:u.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:u.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:u.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:u.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:u.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:u.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:u.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:u.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:u.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:u.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:u.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:u.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:u.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:u.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:u.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:u.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:u.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:u.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:u.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:u.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:u.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:u.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:u.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:u.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:u.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:u.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:u.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:u.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:u.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:u.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:u.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:u.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:u.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:u.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:u.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:u.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:u.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:u.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:u.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:u.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:u.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:u.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:u.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:u.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:u.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:u.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:u.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:u.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:u.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:u.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:u.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:u.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:u.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:u.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:u.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:u.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:u.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:u.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:u.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:u.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:u.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:u.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:u.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:u.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:u.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:u.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:u.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:u.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:u.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:u.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:u.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:u.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:u.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:u.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:u.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:u.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:u.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:u.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:u.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:u.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:u.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:u.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:u.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:u.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:u.create("--ft-icon-size-6","","SIZE","48px"),opacity0:u.create("--ft-opacity-0","","NUMBER","0"),opacity8:u.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:u.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:u.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:u.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:u.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:u.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:u.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:u.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:u.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:u.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:u.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:u.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:u.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:u.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},m={display:{fontFamily:u.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:u.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:u.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:u.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:u.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:u.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:u.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:u.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:u.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:u.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:u.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:u.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:u.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:u.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:u.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:u.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:u.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:u.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:u.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:u.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:u.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:u.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:u.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:u.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:u.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:u.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:u.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:u.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:u.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:u.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:u.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:u.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:u.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:u.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:u.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:u.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:u.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:u.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:u.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:u.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:u.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:u.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:u.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:u.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:u.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:u.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:u.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:u.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:u.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:u.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:u.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:u.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:u.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:u.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:u.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:u.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:u.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:u.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:u.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:u.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:u.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:u.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},x={backgroundActionPrimary:u.extend("--ft-background-action-primary","Used as backgorund of primary action components.",b.colorBrand0),backgroundErrorPrimary:u.extend("--ft-background-error-primary","Used as background of error components.",b.colorRed0),backgroundErrorSubtle:u.extend("--ft-background-error-subtle","Used as background of subtle error components.",b.colorRed10),backgroundInfoPrimary:u.extend("--ft-background-info-primary","Used as background of information components.",b.colorCyan200),backgroundInfoSubtle:u.extend("--ft-background-info-subtle","Used as background of subtle information components.",b.colorCyan10),backgroundWarningPrimary:u.extend("--ft-background-warning-primary","Used as background of warning components.",b.colorOrange300),backgroundWarningSubtle:u.extend("--ft-background-warning-subtle","Used as background of subtle information components.",b.colorOrange10),backgroundSuccessPrimary:u.extend("--ft-background-success-primary","Used as background of success components.",b.colorGreen200),backgroundSuccessSubtle:u.extend("--ft-background-success-subtle","Used as background of subtle success components.",b.colorGreen10),backgroundGlobalSurface:u.extend("--ft-background-global-surface","Used as app background.",b.colorWhite),backgroundGlobalOnSurface:u.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",b.colorGray10),backgroundGlobalOnSurfaceDark:u.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",b.colorGray30),contentActionPrimary:u.extend("--ft-content-action-primary","Used on label of primary action on light surface.",b.colorBrand0),contentWarningPrimary:u.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",b.colorOrange300),contentWarningIconOnly:u.extend("--ft-content-warning-icon-only","Used on warning status icons alone",b.colorOrange0),contentErrorPrimary:u.extend("--ft-content-error-primary","Used on label of error messages on light surface.",b.colorRed0),contentErrorIconOnly:u.extend("--ft-content-error-icon-only","Used on error status icons alone",b.colorRed0),contentInfoPrimary:u.extend("--ft-content-info-primary","Used on label of information messages on light surface.",b.colorCyan200),contentInfoIconOnly:u.extend("--ft-content-info-icon-only","Used on info status icons alone",b.colorCyan0),contentSuccessPrimary:u.extend("--ft-content-success-primary","Used on label of success messages on light surface.",b.colorGreen200),contentSuccessIconOnly:u.extend("--ft-content-success-icon-only","Used on success status icons alone",b.colorGreen0),contentGlobalPrimary:u.extend("--ft-content-global-primary","Used for main content on the page.",b.colorGray500),contentGlobalSecondary:u.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",b.colorGray200),contentGlobalSubtle:u.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",b.colorGray0),contentGlobalOnColor:u.extend("--ft-content-global-on-color","Used for content on a dominant color.",b.colorWhite),borderActionPrimary:u.extend("--ft-border-action-primary","Used as border for primary action components.",b.colorBrand0),borderActionFocusRing:u.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",b.colorCyan0),borderWarningPrimary:u.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",b.colorOrange300),borderWarningSubtle:u.extend("--ft-border-warning-subtle","Used as border for warning components.",b.colorOrange30),borderSuccessPrimary:u.extend("--ft-border-success-primary","Used as border for success buttons.",b.colorGreen200),borderSuccessSubtle:u.extend("--ft-border-success-subtle","Used as border for success components.",b.colorGreen30),borderErrorPrimary:u.extend("--ft-border-error-primary","Used as border for text fields in error states.",b.colorRed0),borderErrorSubtle:u.extend("--ft-border-error-subtle","Used as border for error components.",b.colorRed30),borderInfoPrimary:u.extend("--ft-border-info-primary","Used as border for buttons in info color.",b.colorCyan200),borderInfoSubtle:u.extend("--ft-border-info-subtle","Used as border for information components.",b.colorCyan30),borderGlobalPrimary:u.extend("--ft-border-global-primary","Used as border for element like input.",b.colorGray50),borderGlobalSubtle:u.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",b.colorGray30),borderInputPrimary:u.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",b.colorGray80)},O={largeHeight:u.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:u.extend("--ft-button-large-horizontal-padding","",b.spacing4),largeGap:u.extend("--ft-button-large-gap","",b.spacing2),largeBorderRadius:u.extend("--ft-button-large-border-radius","",b.borderRadiusS),largeIconSize:u.extend("--ft-button-large-icon-size","",b.iconSize3),largeBorderWidth:u.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:u.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:u.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:u.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:u.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:u.extend("--ft-button-small-horizontal-padding","",b.spacing3),smallGap:u.extend("--ft-button-small-gap","",b.spacing2),smallBorderRadius:u.extend("--ft-button-small-border-radius","",b.borderRadiusS),smallIconSize:u.extend("--ft-button-small-icon-size","",b.iconSize2),smallBorderWidth:u.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:u.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:u.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:u.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:u.extend("--ft-button-primary-background-color","",x.backgroundActionPrimary),primaryColor:u.extend("--ft-button-primary-color","",x.contentGlobalOnColor),primaryIconColor:u.extend("--ft-button-primary-icon-color","",x.contentGlobalOnColor),primaryStateLayerColor:u.extend("--ft-button-primary-state-layer-color","",x.contentGlobalOnColor),primaryStateLayerOpacityHover:u.extend("--ft-button-primary-state-layer-opacity-hover","",b.opacity16),primaryStateLayerOpacityFocus:u.extend("--ft-button-primary-state-layer-opacity-focus","",b.opacity16),primaryStateLayerOpacityActive:u.extend("--ft-button-primary-state-layer-opacity-active","",b.opacity24),primaryComponentOpacityDisabled:u.extend("--ft-button-primary-component-opacity-disabled","",b.opacity40),focusFocusRingColor:u.extend("--ft-button-focus-focus-ring-color","",x.borderActionFocusRing),tertiaryBackgroundColor:u.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:u.extend("--ft-button-tertiary-color","",x.contentActionPrimary),tertiaryIconColor:u.extend("--ft-button-tertiary-icon-color","",x.contentActionPrimary),tertiaryStateLayerColor:u.extend("--ft-button-tertiary-state-layer-color","",x.contentActionPrimary),tertiaryStateLayerOpacityHover:u.extend("--ft-button-tertiary-state-layer-opacity-hover","",b.opacity8),tertiaryStateLayerOpacityFocus:u.extend("--ft-button-tertiary-state-layer-opacity-focus","",b.opacity8),tertiaryStateLayerOpacityActive:u.extend("--ft-button-tertiary-state-layer-opacity-active","",b.opacity16),tertiaryComponentOpacityDisabled:u.extend("--ft-button-tertiary-component-opacity-disabled","",b.opacity40),secondaryBackgroundColor:u.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:u.extend("--ft-button-secondary-color","",x.contentActionPrimary),secondaryIconColor:u.extend("--ft-button-secondary-icon-color","",x.contentActionPrimary),secondaryStateLayerColor:u.extend("--ft-button-secondary-state-layer-color","",x.contentActionPrimary),secondaryStateLayerOpacityHover:u.extend("--ft-button-secondary-state-layer-opacity-hover","",b.opacity8),secondaryStateLayerOpacityFocus:u.extend("--ft-button-secondary-state-layer-opacity-focus","",b.opacity8),secondaryStateLayerOpacityActive:u.extend("--ft-button-secondary-state-layer-opacity-active","",b.opacity16),secondaryComponentOpacityDisabled:u.extend("--ft-button-secondary-component-opacity-disabled","",b.opacity40),secondaryBorderColor:u.extend("--ft-button-secondary-border-color","",x.borderActionPrimary),neutralBackgroundColor:u.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:u.extend("--ft-button-neutral-icon-color","",x.contentGlobalSecondary),neutralColor:u.extend("--ft-button-neutral-color","",x.contentGlobalSecondary),neutralStateLayerColor:u.extend("--ft-button-neutral-state-layer-color","",x.contentGlobalSecondary),neutralStateLayerOpacityHover:u.extend("--ft-button-neutral-state-layer-opacity-hover","",b.opacity8),neutralStateLayerOpacityFocus:u.extend("--ft-button-neutral-state-layer-opacity-focus","",b.opacity8),neutralStateLayerOpacityActive:u.extend("--ft-button-neutral-state-layer-opacity-active","",b.opacity16),neutralComponentOpacityDisabled:u.extend("--ft-button-neutral-component-opacity-disabled","",b.opacity40)};u.extend("--ft-floating-menu-horizontal-padding","",b.spacing4),u.extend("--ft-floating-menu-vertical-padding","",b.spacing4),u.extend("--ft-floating-menu-off-icon-color","",x.contentGlobalPrimary),u.extend("--ft-floating-menu-off-color","",x.contentGlobalPrimary),u.extend("--ft-floating-menu-on-color","",x.contentActionPrimary),u.extend("--ft-floating-menu-on-icon-color","",x.contentActionPrimary),u.extend("--ft-floating-menu-on-state-layer-color","",x.contentActionPrimary),u.extend("--ft-floating-menu-gap","",b.spacing3),u.extend("--ft-floating-menu-focus-focus-ring-color","",x.borderActionFocusRing),u.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),u.extend("--ft-floating-menu-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-floating-menu-state-layer-opacity-active","",b.opacity16),u.extend("--ft-floating-menu-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-floating-menu-component-opacity-disabled","",b.opacity40),u.extend("--ft-floating-menu-icon-size","",b.iconSize3),u.extend("--ft-floating-menu-background-color","",x.backgroundGlobalOnSurface),u.extend("--ft-tabs-top-left-border-radius","",b.borderRadiusS),u.extend("--ft-tabs-top-right-border-radius","",b.borderRadiusS),u.extend("--ft-tabs-label-horizontal-padding","",b.spacing4),u.extend("--ft-tabs-label-vertical-padding","",b.spacing3),u.extend("--ft-tabs-label-gap","",b.spacing1),u.extend("--ft-tabs-icon-horizontal-padding","",b.spacing1),u.extend("--ft-tabs-icon-vertical-padding","",b.spacing4),u.create("--ft-tabs-focus-outline-width","","SIZE","2px"),u.extend("--ft-tabs-focus-focus-ring-color","",x.borderActionFocusRing),u.extend("--ft-tabs-off-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-tabs-off-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-tabs-off-state-layer-opacity-active","",b.opacity16),u.extend("--ft-tabs-off-component-opacity-disabled","",b.opacity40),u.extend("--ft-tabs-off-color","",x.contentGlobalSubtle),u.extend("--ft-tabs-off-state-layer-color","",x.contentGlobalSubtle),u.extend("--ft-tabs-on-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-tabs-on-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-tabs-on-state-layer-opacity-active","",b.opacity16),u.extend("--ft-tabs-on-component-opacity-disabled","",b.opacity40),u.extend("--ft-tabs-on-color","",x.contentActionPrimary),u.extend("--ft-tabs-on-state-layer-color","",x.contentActionPrimary),u.extend("--ft-collapsible-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-collapsible-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-collapsible-state-layer-opacity-active","",b.opacity16),u.extend("--ft-collapsible-component-opacity-disabled","",b.opacity40),u.extend("--ft-collapsible-horizontal-padding","",b.spacing4),u.extend("--ft-collapsible-vertical-padding","",b.spacing3),u.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),u.extend("--ft-collapsible-focus-focus-ring-color","",x.borderActionFocusRing),u.extend("--ft-collapsible-color","",x.contentGlobalPrimary),u.extend("--ft-collapsible-state-layer-color","",x.contentGlobalPrimary),u.extend("--ft-collapsible-background-color","",x.backgroundGlobalOnSurface),u.extend("--ft-collapsible-border-color","",x.borderGlobalSubtle),u.extend("--ft-collapsible-icon-size","",b.iconSize3),u.extend("--ft-switch-group-horizontal-padding","",b.spacing1),u.extend("--ft-switch-group-vertical-padding","",b.spacing1),u.extend("--ft-switch-group-gap","",b.spacing1),u.extend("--ft-switch-group-background-color","",x.backgroundGlobalSurface),u.extend("--ft-switch-group-border-color","",x.borderGlobalSubtle),u.create("--ft-switch-group-border-radius","","SIZE","6px"),u.extend("--ft-switch-label-horizontal-padding","",b.spacing2),u.extend("--ft-switch-label-vertical-padding","",b.spacing1),u.extend("--ft-switch-icon-horizontal-padding","",b.spacing1),u.extend("--ft-switch-icon-vertical-padding","",b.spacing1),u.create("--ft-switch-focus-outline-width","","SIZE","2px"),u.extend("--ft-switch-focus-focus-ring-color","",x.borderActionFocusRing),u.extend("--ft-switch-option-border-radius","",b.borderRadiusS),u.extend("--ft-switch-off-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-switch-off-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-switch-off-state-layer-opacity-active","",b.opacity16),u.extend("--ft-switch-off-component-opacity-disabled","",b.opacity40),u.extend("--ft-switch-off-color","",x.contentGlobalSubtle),u.extend("--ft-switch-off-state-layer-color","",x.contentGlobalSubtle),u.extend("--ft-switch-on-state-layer-opacity-hover","",b.opacity8),u.extend("--ft-switch-on-state-layer-opacity-focus","",b.opacity8),u.extend("--ft-switch-on-state-layer-opacity-active","",b.opacity16),u.extend("--ft-switch-on-component-opacity-disabled","",b.opacity40),u.extend("--ft-switch-on-color","",x.contentActionPrimary),u.extend("--ft-switch-on-state-layer-color","",x.contentActionPrimary),u.extend("--ft-chart-1-light","for area color charts",b.colorBrand40),u.extend("--ft-chart-1-base","for line charts",b.colorBrand0),u.extend("--ft-chart-2-light","for area color charts",b.colorYellow60),u.extend("--ft-chart-2-base","for line charts",b.colorYellow100),u.extend("--ft-chart-3-light","",b.colorUltramarine40),u.extend("--ft-chart-3-base","",b.colorUltramarine70),u.extend("--ft-chart-4-light","",b.colorCyan50),u.extend("--ft-chart-4-base","",b.colorCyan100),u.extend("--ft-chart-5-light","",b.colorRed40),u.extend("--ft-chart-5-base","",b.colorRed60),u.extend("--ft-chart-6-light","",b.colorGreen40),u.extend("--ft-chart-6-base","",b.colorGreen70),u.extend("--ft-chart-7-light","",b.colorOrange70),u.extend("--ft-chart-7-base","",b.colorOrange100),u.extend("--ft-chart-8-light","",b.colorAvocado70),u.extend("--ft-chart-8-base","",b.colorAvocado200),u.extend("--ft-chart-9-light","",b.colorBrown50),u.extend("--ft-chart-9-base","",b.colorBrown200),u.extend("--ft-chart-10-light","",b.colorGray50),u.extend("--ft-chart-10-base","",b.colorGray80),u.extend("--ft-chart-monochrome-10","",b.colorBrand10),u.extend("--ft-chart-monochrome-20","",b.colorBrand20),u.extend("--ft-chart-monochrome-30","",b.colorBrand40),u.extend("--ft-chart-monochrome-40","",b.colorBrand60),u.extend("--ft-chart-monochrome-50","",b.colorBrand0),u.extend("--ft-chart-monochrome-60","",b.colorBrand200),u.extend("--ft-chip-large-horizontal-padding","",b.spacing4),u.extend("--ft-chip-large-vertical-padding","",b.spacing2),u.extend("--ft-chip-large-gap","",b.spacing1),u.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),u.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),u.extend("--ft-chip-large-border-radius","",b.borderRadiusPill),u.create("--ft-chip-large-border-width","","SIZE","1px"),u.extend("--ft-chip-large-icon-size","",b.iconSize3),u.extend("--ft-chip-medium-horizontal-padding","",b.spacing3),u.extend("--ft-chip-medium-vertical-padding","",b.spacing1),u.extend("--ft-chip-medium-gap","",b.spacing1),u.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),u.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),u.extend("--ft-chip-medium-border-radius","",b.borderRadiusPill),u.create("--ft-chip-medium-border-width","","SIZE","1px"),u.extend("--ft-chip-medium-icon-size","",b.iconSize2),u.extend("--ft-chip-small-horizontal-padding","",b.spacing2),u.extend("--ft-chip-small-vertical-padding","",b.spacing05),u.extend("--ft-chip-small-gap","",b.spacing1),u.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),u.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),u.extend("--ft-chip-small-border-radius","",b.borderRadiusPill),u.create("--ft-chip-small-border-width","","SIZE","1px"),u.extend("--ft-chip-small-icon-size","",b.iconSize1),u.extend("--ft-chip-neutral-background-color","",x.backgroundGlobalOnSurface),u.extend("--ft-chip-neutral-color","",x.contentGlobalPrimary),u.extend("--ft-chip-neutral-border-color","",x.borderGlobalSubtle),u.extend("--ft-chip-info-background-color","",x.backgroundInfoSubtle),u.extend("--ft-chip-info-color","",x.contentInfoPrimary),u.extend("--ft-chip-info-border-color","",x.borderInfoSubtle),u.extend("--ft-chip-success-background-color","",x.backgroundSuccessSubtle),u.extend("--ft-chip-success-color","",x.contentSuccessPrimary),u.extend("--ft-chip-success-border-color","",x.borderSuccessSubtle),u.extend("--ft-chip-warning-background-color","",x.backgroundWarningSubtle),u.extend("--ft-chip-warning-color","",x.contentWarningPrimary),u.extend("--ft-chip-warning-border-color","",x.borderWarningSubtle),u.extend("--ft-chip-error-background-color","",x.backgroundErrorSubtle),u.extend("--ft-chip-error-color","",x.contentErrorPrimary),u.extend("--ft-chip-error-border-color","",x.borderErrorSubtle),u.create("--ft-notice-border-width","","SIZE","1px"),u.extend("--ft-notice-horizontal-padding","",b.spacing2),u.extend("--ft-notice-vertical-padding","",b.spacing1),u.extend("--ft-notice-border-radius","",b.borderRadiusS),u.extend("--ft-notice-gap","",b.spacing2),u.extend("--ft-notice-icon-size","",b.iconSize3),u.extend("--ft-notice-info-background-color","",x.backgroundInfoSubtle),u.extend("--ft-notice-info-border-color","",x.borderInfoSubtle),u.extend("--ft-notice-info-color","",x.contentInfoPrimary),u.extend("--ft-notice-warning-background-color","",x.backgroundWarningSubtle),u.extend("--ft-notice-warning-border-color","",x.borderWarningSubtle),u.extend("--ft-notice-warning-color","",x.contentWarningPrimary),u.extend("--ft-checkbox-label-color","",x.contentGlobalPrimary),u.extend("--ft-checkbox-checked-background-color","",x.contentActionPrimary),u.extend("--ft-checkbox-checked-state-layer-color","",x.contentActionPrimary),u.extend("--ft-checkbox-checked-color","",x.contentGlobalOnColor),u.extend("--ft-checkbox-checked-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-checkbox-checked-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-checkbox-checked-state-layer-opacity-active","",b.opacity24),u.extend("--ft-checkbox-checked-component-opacity-disabled","",b.opacity40),u.extend("--ft-checkbox-unchecked-border-color","",b.colorGray80),u.extend("--ft-checkbox-unchecked-state-layer-color","",b.colorGray80),u.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",b.opacity24),u.extend("--ft-checkbox-unchecked-component-opacity-disabled","",b.opacity40),u.extend("--ft-checkbox-focus-focus-ring-color","",x.borderActionFocusRing),u.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),u.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),u.extend("--ft-checkbox-gap","",b.spacing3),u.extend("--ft-toggle-off-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-toggle-off-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-toggle-off-state-layer-opacity-active","",b.opacity24),u.extend("--ft-toggle-off-component-opacity-disabled","",b.opacity40),u.extend("--ft-toggle-off-background-color","",x.contentGlobalSubtle),u.extend("--ft-toggle-off-icon-color","",x.contentGlobalSubtle),u.extend("--ft-toggle-off-state-layer-color","",x.contentGlobalSubtle),u.extend("--ft-toggle-on-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-toggle-on-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-toggle-on-state-layer-opacity-active","",b.opacity24),u.extend("--ft-toggle-on-component-opacity-disabled","",b.opacity40),u.extend("--ft-toggle-on-background-color","",x.contentActionPrimary),u.extend("--ft-toggle-on-icon-color","",x.contentActionPrimary),u.extend("--ft-toggle-on-state-layer-color","",x.contentActionPrimary),u.extend("--ft-toggle-label-color","",x.contentGlobalPrimary),u.extend("--ft-toggle-focus-focus-ring-color","",x.borderActionFocusRing),u.extend("--ft-toggle-gap","",b.spacing3),u.extend("--ft-radio-label-color","",x.contentGlobalPrimary),u.extend("--ft-radio-selected-color","",x.contentActionPrimary),u.extend("--ft-radio-selected-state-layer-color","",x.contentActionPrimary),u.extend("--ft-radio-selected-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-radio-selected-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-radio-selected-state-layer-opacity-active","",b.opacity24),u.extend("--ft-radio-selected-component-opacity-disabled","",b.opacity40),u.extend("--ft-radio-unselected-state-layer-color","",b.colorGray80),u.extend("--ft-radio-unselected-state-layer-opacity-hover","",b.opacity16),u.extend("--ft-radio-unselected-state-layer-opacity-focus","",b.opacity16),u.extend("--ft-radio-unselected-state-layer-opacity-active","",b.opacity24),u.extend("--ft-radio-unselected-component-opacity-disabled","",b.opacity40),u.extend("--ft-radio-focus-focus-ring-color","",x.borderActionFocusRing),u.create("--ft-radio-focus-outline-offset","","SIZE","3px"),u.create("--ft-radio-focus-outline-width","","SIZE","2px"),u.extend("--ft-radio-gap","",b.spacing3),u.extend("--ft-notification-icon-size","",b.iconSize4),u.extend("--ft-notification-horizontal-padding","",b.spacing4),u.extend("--ft-notification-vertical-padding","",b.spacing4),u.extend("--ft-notification-info-background-color","",x.backgroundInfoSubtle),u.extend("--ft-notification-info-color","",x.contentInfoPrimary),u.extend("--ft-notification-info-border-color","",x.borderInfoSubtle),u.extend("--ft-notification-success-background-color","",x.backgroundSuccessSubtle),u.extend("--ft-notification-success-color","",x.contentSuccessPrimary),u.extend("--ft-notification-success-border-color","",x.borderSuccessSubtle),u.extend("--ft-notification-warning-background-color","",x.backgroundWarningSubtle),u.extend("--ft-notification-warning-color","",x.contentWarningPrimary),u.extend("--ft-notification-warning-border-color","",x.borderWarningSubtle),u.extend("--ft-notification-error-background-color","",x.backgroundErrorSubtle),u.extend("--ft-notification-error-color","",x.contentErrorPrimary),u.extend("--ft-notification-error-border-color","",x.borderErrorSubtle),u.extend("--ft-notification-border-radius","",b.borderRadiusPill),u.create("--ft-notification-border-width","","SIZE","1px"),u.extend("--ft-notification-gap-leading","",b.spacing2),u.extend("--ft-notification-gap-trailing","",b.spacing8),u.extend("--ft-tooltip-horizontal-padding","",b.spacing2),u.extend("--ft-tooltip-vertical-padding","",b.spacing2),u.extend("--ft-tooltip-border-radius","",b.borderRadiusS),u.extend("--ft-tooltip-label","",x.contentGlobalOnColor),u.extend("--ft-tooltip-background","",x.contentGlobalPrimary),u.extend("--ft-tooltip-background-opacity","",b.opacity80),u.extend("--ft-tooltip-shadow","",b.shadowElevation03);const v=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),S={fontFamily:N,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","",v),C=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),$=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),I=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),W=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",v),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",N),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",N),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),_=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",N),V=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit"),tt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",N),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),nt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",N),lt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit"),dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",N),ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),mt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",N),xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),wt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",N),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Ct=e.css`
|
|
114
114
|
.ft-typography--title {
|
|
115
115
|
font-family: ${w};
|
|
116
116
|
font-size: ${C};
|
|
117
117
|
font-weight: ${$};
|
|
118
118
|
letter-spacing: ${I};
|
|
119
|
-
line-height: ${
|
|
120
|
-
text-transform: ${
|
|
119
|
+
line-height: ${U};
|
|
120
|
+
text-transform: ${W};
|
|
121
121
|
}
|
|
122
122
|
`,$t=e.css`
|
|
123
123
|
.ft-typography--title-dense {
|
|
124
|
-
font-family: ${
|
|
125
|
-
font-size: ${
|
|
126
|
-
font-weight: ${
|
|
127
|
-
letter-spacing: ${
|
|
128
|
-
line-height: ${
|
|
129
|
-
text-transform: ${
|
|
124
|
+
font-family: ${k};
|
|
125
|
+
font-size: ${E};
|
|
126
|
+
font-weight: ${R};
|
|
127
|
+
letter-spacing: ${L};
|
|
128
|
+
line-height: ${K};
|
|
129
|
+
text-transform: ${Z};
|
|
130
130
|
}
|
|
131
131
|
`,It=e.css`
|
|
132
132
|
.ft-typography--subtitle1 {
|
|
133
133
|
font-family: ${z};
|
|
134
|
-
font-size: ${
|
|
135
|
-
font-weight: ${
|
|
134
|
+
font-size: ${F};
|
|
135
|
+
font-weight: ${B};
|
|
136
136
|
letter-spacing: ${D};
|
|
137
137
|
line-height: ${A};
|
|
138
138
|
text-transform: ${H};
|
|
139
139
|
}
|
|
140
|
-
`,
|
|
140
|
+
`,Ut=e.css`
|
|
141
141
|
.ft-typography--subtitle2 {
|
|
142
142
|
font-family: ${G};
|
|
143
143
|
font-size: ${P};
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
text-transform: ${Y};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
`,
|
|
150
|
+
`,Wt=e.css`
|
|
151
151
|
.ft-typography--body1 {
|
|
152
152
|
font-family: ${_};
|
|
153
153
|
font-size: ${V};
|
|
@@ -156,25 +156,25 @@
|
|
|
156
156
|
line-height: ${J};
|
|
157
157
|
text-transform: ${Q};
|
|
158
158
|
}
|
|
159
|
-
`,
|
|
159
|
+
`,kt=e.css`
|
|
160
160
|
.ft-typography--body2 {
|
|
161
161
|
font-family: ${tt};
|
|
162
162
|
font-size: ${ot};
|
|
163
163
|
font-weight: ${et};
|
|
164
164
|
letter-spacing: ${rt};
|
|
165
165
|
line-height: ${it};
|
|
166
|
-
text-transform: ${
|
|
166
|
+
text-transform: ${at};
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
168
|
+
`,Et=e.css`
|
|
169
169
|
.ft-typography--caption {
|
|
170
|
-
font-family: ${
|
|
170
|
+
font-family: ${nt};
|
|
171
171
|
font-size: ${lt};
|
|
172
172
|
font-weight: ${ct};
|
|
173
173
|
letter-spacing: ${st};
|
|
174
174
|
line-height: ${pt};
|
|
175
175
|
text-transform: ${ft};
|
|
176
176
|
}
|
|
177
|
-
`,
|
|
177
|
+
`,Rt=e.css`
|
|
178
178
|
.ft-typography--breadcrumb {
|
|
179
179
|
font-family: ${dt};
|
|
180
180
|
font-size: ${ht};
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
line-height: ${ut};
|
|
184
184
|
text-transform: ${bt};
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`,Lt=e.css`
|
|
187
187
|
.ft-typography--overline {
|
|
188
188
|
font-family: ${mt};
|
|
189
189
|
font-size: ${xt};
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
line-height: ${Nt};
|
|
193
193
|
text-transform: ${St};
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`,Kt=e.css`
|
|
196
196
|
.ft-typography--button {
|
|
197
197
|
font-family: ${wt.fontFamily};
|
|
198
198
|
font-size: ${wt.fontSize};
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
line-height: ${wt.lineHeight};
|
|
202
202
|
text-transform: ${wt.textTransform};
|
|
203
203
|
}
|
|
204
|
-
`,
|
|
204
|
+
`,Zt=e.css`
|
|
205
205
|
.ft-typography {
|
|
206
206
|
vertical-align: inherit;
|
|
207
207
|
}
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
line-height: ${o.lineHeight};
|
|
215
215
|
text-transform: ${o.textCase};
|
|
216
216
|
}
|
|
217
|
-
`}(t)))],
|
|
217
|
+
`}(t)))],Ft={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Bt=e.css`
|
|
218
218
|
:host {
|
|
219
219
|
line-height: 0;
|
|
220
220
|
}
|
|
@@ -223,8 +223,8 @@
|
|
|
223
223
|
display: inline-block;
|
|
224
224
|
position: relative;
|
|
225
225
|
|
|
226
|
-
width: ${
|
|
227
|
-
height: ${
|
|
226
|
+
width: ${Ft.size};
|
|
227
|
+
height: ${Ft.size};
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.ft-loader div {
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
width: 25%;
|
|
234
234
|
height: 25%;
|
|
235
235
|
border-radius: 50%;
|
|
236
|
-
background: ${
|
|
236
|
+
background: ${Ft.color};
|
|
237
237
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
transform: translate(0, 0);
|
|
281
281
|
}
|
|
282
282
|
100% {
|
|
283
|
-
transform: translate(calc(0.35 * ${
|
|
283
|
+
transform: translate(calc(0.35 * ${Ft.size}), 0);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
`,Dt={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},At=e.css`
|
|
@@ -465,10 +465,10 @@
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
ft-loader {
|
|
468
|
-
${o.setVariable(
|
|
469
|
-
${o.setVariable(
|
|
468
|
+
${o.setVariable(Ft.size,Gt.iconSize)};
|
|
469
|
+
${o.setVariable(Ft.color,"var(--ft-button-internal-color)")};
|
|
470
470
|
}
|
|
471
|
-
`,o.noTextSelect];var Xt=function(t,o,e,r){for(var i,
|
|
471
|
+
`,o.noTextSelect];var Xt=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`
|
|
472
472
|
<style>
|
|
473
473
|
.ft-ripple .ft-ripple--effect {
|
|
474
474
|
left: ${this.originX}px;
|
|
@@ -479,26 +479,26 @@
|
|
|
479
479
|
<div class="ft-ripple--background"></div>
|
|
480
480
|
<div class="ft-ripple--effect"></div>
|
|
481
481
|
</div>
|
|
482
|
-
`}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)},
|
|
482
|
+
`}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)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",e,a),t.addEventListener("touchstart",r,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",i,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",e,a),t.removeEventListener("touchstart",r,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",i,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),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=y,Xt([r.property({type:Boolean})],qt.prototype,"primary",void 0),Xt([r.property({type:Boolean})],qt.prototype,"secondary",void 0),Xt([r.property({type:Boolean})],qt.prototype,"unbounded",void 0),Xt([r.property({type:Boolean})],qt.prototype,"activated",void 0),Xt([r.property({type:Boolean})],qt.prototype,"selected",void 0),Xt([r.property({type:Boolean})],qt.prototype,"disabled",void 0),Xt([r.state()],qt.prototype,"hovered",void 0),Xt([r.state()],qt.prototype,"focused",void 0),Xt([r.state()],qt.prototype,"pressed",void 0),Xt([r.state()],qt.prototype,"rippling",void 0),Xt([r.state()],qt.prototype,"originX",void 0),Xt([r.state()],qt.prototype,"originY",void 0),Xt([r.query(".ft-ripple")],qt.prototype,"ripple",void 0),Xt([r.query(".ft-ripple--effect")],qt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(qt);
|
|
483
483
|
/**
|
|
484
484
|
* @license
|
|
485
485
|
* Copyright 2017 Google LLC
|
|
486
486
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
487
487
|
*/
|
|
488
|
-
const Jt=globalThis,Qt=Jt.trustedTypes,to=Qt?Qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,oo="$lit$",eo=`lit$${(Math.random()+"").slice(9)}$`,ro="?"+eo,io=`<${ro}>`,
|
|
488
|
+
const Jt=globalThis,Qt=Jt.trustedTypes,to=Qt?Qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,oo="$lit$",eo=`lit$${(Math.random()+"").slice(9)}$`,ro="?"+eo,io=`<${ro}>`,ao=document,no=()=>ao.createComment(""),lo=t=>null===t||"object"!=typeof t&&"function"!=typeof t,co=Array.isArray,so="[ \t\n\f\r]",po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fo=/-->/g,ho=/>/g,yo=RegExp(`>|${so}(?:([^\\s"'>=/]+)(${so}*=${so}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),go=/'/g,uo=/"/g,bo=/^(?:script|style|textarea|title)$/i,mo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),xo=Symbol.for("lit-noChange"),Oo=Symbol.for("lit-nothing"),vo=new WeakMap,No=ao.createTreeWalker(ao,129);function So(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==to?to.createHTML(o):o}const wo=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=po;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===po?"!--"===c[1]?n=fo:void 0!==c[1]?n=ho:void 0!==c[2]?(bo.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=yo):void 0!==c[3]&&(n=yo):n===yo?">"===c[0]?(n=i??po,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?yo:'"'===c[3]?uo:go):n===uo||n===go?n=yo:n===fo||n===ho?n=po:(n=yo,i=void 0);const f=n===yo&&t[o+1].startsWith("/>")?" ":"";a+=n===po?e+io:s>=0?(r.push(l),e.slice(0,s)+oo+e.slice(s)+eo+f):e+eo+(-2===s?o:f)}return[So(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Co{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,s]=wo(t,o);if(this.el=Co.createElement(c,e),No.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=No.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(oo)){const o=s[a++],e=r.getAttribute(t).split(eo),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?ko:"?"===n[1]?Eo:"@"===n[1]?Ro:Wo}),r.removeAttribute(t)}else t.startsWith(eo)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(bo.test(r.tagName)){const t=r.textContent.split(eo),o=t.length-1;if(o>0){r.textContent=Qt?Qt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],no()),No.nextNode(),l.push({type:2,index:++i});r.append(t[o],no())}}}else if(8===r.nodeType)if(r.data===ro)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(eo,t+1));)l.push({type:7,index:i}),t+=eo.length-1}i++}}static createElement(t,o){const e=ao.createElement("template");return e.innerHTML=t,e}}function $o(t,o,e=t,r){if(o===xo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=lo(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=$o(t,i._$AS(t,o.values),i,r)),o}class Io{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??ao).importNode(o,!0);No.currentNode=r;let i=No.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new Uo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new Lo(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=No.nextNode(),a++)}return No.currentNode=ao,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 Uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Oo,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=$o(this,t,o),lo(t)?t===Oo||null==t||""===t?(this._$AH!==Oo&&this._$AR(),this._$AH=Oo):t!==this._$AH&&t!==xo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>co(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!==Oo&&lo(this._$AH)?this._$AA.nextSibling.data=t:this.$(ao.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=Co.createElement(So(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Io(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=vo.get(t.strings);return void 0===o&&vo.set(t.strings,o=new Co(t)),o}T(t){co(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 Uo(this.k(no()),this.k(no()),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=Oo,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=Oo}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=$o(this,t,o,0),a=!lo(t)||t!==this._$AH&&t!==xo,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=$o(this,r[e+n],o,n),l===xo&&(l=this._$AH[n]),a||=!lo(l)||l!==this._$AH[n],l===Oo?t=Oo:t!==Oo&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===Oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ko extends Wo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Oo?void 0:t}}class Eo extends Wo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Oo)}}class Ro extends Wo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=$o(this,t,o,0)??Oo)===xo)return;const e=this._$AH,r=t===Oo&&e!==Oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Oo&&(e===Oo||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 Lo{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){$o(this,t)}}const Ko=Jt.litHtmlPolyfillSupport;Ko?.(Co,Uo),(Jt.litHtmlVersions??=[]).push("3.1.0");
|
|
489
489
|
/**
|
|
490
490
|
* @license
|
|
491
491
|
* Copyright 2020 Google LLC
|
|
492
492
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
493
493
|
*/
|
|
494
|
-
const
|
|
495
|
-
<${
|
|
494
|
+
const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$litStatic$:t,r:Zo}),Bo=new Map,Do=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(a=e[s],i=zo(a));)c+=i+o[++s],p=!0;s!==r&&l.push(a),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Bo.get(t))&&(n.raw=n,Bo.set(t,o=n)),e=l}return t(o,...e)})(mo);var Ao;!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"}(Ao||(Ao={}));var Ho=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 Go extends o.FtLitElement{constructor(){super(...arguments),this.variant=Ao.body1}render(){return this.element?Do`
|
|
495
|
+
<${Fo(this.element)}
|
|
496
496
|
class="ft-typography ft-typography--${this.variant}">
|
|
497
497
|
<slot></slot>
|
|
498
|
-
</${
|
|
498
|
+
</${Fo(this.element)}>
|
|
499
499
|
`:Do`
|
|
500
500
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
501
|
-
`}}Go.styles=[Ct,$t,It,kt,
|
|
501
|
+
`}}Go.styles=[Ct,$t,It,Ut,Wt,kt,Et,Rt,Lt,Kt,Zt,...zt],Ho([r.property()],Go.prototype,"element",void 0),Ho([r.property()],Go.prototype,"variant",void 0),o.customElement("ft-typography")(Go);const Po=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),jo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),To=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Yo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),_o=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Vo=e.css`
|
|
502
502
|
.ft-tooltip--container {
|
|
503
503
|
display: block;
|
|
504
504
|
}
|
|
@@ -527,7 +527,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
527
527
|
position: relative;
|
|
528
528
|
word-break: break-word;
|
|
529
529
|
}
|
|
530
|
-
`,Xo=["start","end"],qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Xo[0],o+"-"+Xo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return ce(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=se(a),c=ae(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=qo,autoAlignment:h=!0,...y}=ne(t,o),g=void 0!==f||d===qo?ue(f||null,h,d):d,u=await ge(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),n=se(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[ae(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function me(t){return ve(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Oe(t){var o;return null==(o=(ve(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ve(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Re(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ie(t){const o=ke(),e=Re(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ke(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ue(t){return["html","body","#document"].includes(me(t))}function Re(t){return xe(t).getComputedStyle(t)}function We(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Le(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||Oe(t);return we(o)?o.host:o}function Ee(t){const o=Le(t);return Ue(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:Ee(o)}function Ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ee(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?Ze(a.frameElement):[]):o.concat(i,Ze(i,[],e))}function Ke(t){const o=Re(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ze(t){return Ne(t)?t:t.contextElement}function Be(t){const o=ze(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ke(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Fe=oe(0);function De(t){const o=xe(t);return ke()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Fe}function Ae(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ze(t);let a=oe(1);o&&(r?Ne(r)&&(a=Be(r)):a=Be(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Be(e),o=e.getBoundingClientRect(),r=Re(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:c,y:s})}function He(t){return Ae(Oe(t)).left+We(t).scrollLeft}function Ge(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=Oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=ke();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Oe(t),e=We(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+He(t);const l=-e.scrollTop;return"rtl"===Re(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Oe(t));else if(Ne(o))r=function(t,o){const e=Ae(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Be(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Le(t);return!(e===o||!Ne(e)||Ue(e))&&("fixed"===Re(e).position||Pe(e,o))}function Me(t,o,e){const r=Se(o),i=Oe(o),n="fixed"===e,a=Ae(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=We(o)),r){const t=Ae(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=He(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Re(t).position?o?o(t):t.offsetParent:null}function Te(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Re(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Re(r).position&&!Ie(r))?e:r||function(t){let o=Le(t);for(;Se(o)&&!Ue(o);){if(Ie(o))return o;o=Le(o)}return null}(t)||e}const Ye={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=Oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=We(e)),Se(e))){const t=Ae(e);l=Be(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ze(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Re(t).position;let a=n?Le(t):t;for(;Ne(a)&&!Ue(a);){const o=Re(a),e=Ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=Le(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],c=a.reduce(((t,e)=>{const r=Ge(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Ge(o,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Te,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Te,n=this.getDimensions;return{reference:Me(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ke(t)},getScale:Be,isElement:Ne,isRTL:function(t){return"rtl"===Re(t).direction}},_e=(t,o,e)=>{const r=new Map,i={platform:Ye,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ye(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ye(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=Xe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Xe(t);o;o=Xe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Xe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var qe,Je,Qe,tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
530
|
+
`,Xo=["start","end"],qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Xo[0],o+"-"+Xo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ae(t,o){return"function"==typeof t?t(o):t}function ne(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ne(t))?"y":"x"}function fe(t){return ce(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,o,e){let{reference:r,floating:i}=t;const a=pe(o),n=fe(o),l=se(n),c=ne(o),s="y"===a,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[n]-=d*(e&&s?-1:1);break;case"end":h[n]+=d*(e&&s?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:a,rects:n,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ae(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=he(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(g)))||e?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...n.floating,x:r,y:i}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},O=he(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ne(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:a,middlewareData:n,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=qo,autoAlignment:h=!0,...y}=ae(t,o),g=void 0!==f||d===qo?ue(f||null,h,d):d,u=await ge(o,y),b=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),a=se(i);let n="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[a]>o.floating[a]&&(n=de(n)),[n,de(n)]}(m,a,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[ne(m)],u[x[0]],u[x[1]]],v=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function me(t){return ve(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Oe(t){var o;return null==(o=(ve(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ve(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ke(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ie(t){const o=Ue(),e=ke(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ue(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function We(t){return["html","body","#document"].includes(me(t))}function ke(t){return xe(t).getComputedStyle(t)}function Ee(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Re(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||Oe(t);return we(o)?o.host:o}function Le(t){const o=Re(t);return We(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:Le(o)}function Ke(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Le(t),a=i===(null==(r=t.ownerDocument)?void 0:r.body),n=xe(i);return a?o.concat(n,n.visualViewport||[],Ce(i)?i:[],n.frameElement&&e?Ke(n.frameElement):[]):o.concat(i,Ke(i,[],e))}function Ze(t){const o=ke(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),a=i?t.offsetWidth:e,n=i?t.offsetHeight:r,l=te(e)!==a||te(r)!==n;return l&&(e=a,r=n),{width:e,height:r,$:l}}function ze(t){return Ne(t)?t:t.contextElement}function Fe(t){const o=ze(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:a}=Ze(o);let n=(a?te(e.width):e.width)/r,l=(a?te(e.height):e.height)/i;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Ue()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Ae(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),a=ze(t);let n=oe(1);o&&(r?Ne(r)&&(n=Fe(r)):n=Fe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(a,e,r)?De(a):oe(0);let c=(i.left+l.x)/n.x,s=(i.top+l.y)/n.y,p=i.width/n.x,f=i.height/n.y;if(a){const t=xe(a),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Fe(e),o=e.getBoundingClientRect(),r=ke(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,a=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=a,e=xe(e).frameElement}}return he({width:p,height:f,x:c,y:s})}function He(t){return Ae(Oe(t)).left+Ee(t).scrollLeft}function Ge(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=Oe(t),i=e.visualViewport;let a=r.clientWidth,n=r.clientHeight,l=0,c=0;if(i){a=i.width,n=i.height;const t=Ue();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Oe(t),e=Ee(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),a=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+He(t);const l=-e.scrollTop;return"rtl"===ke(r).direction&&(n+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:l}}(Oe(t));else if(Ne(o))r=function(t,o){const e=Ae(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,a=Se(t)?Fe(t):oe(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:i*a.x,y:r*a.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Re(t);return!(e===o||!Ne(e)||We(e))&&("fixed"===ke(e).position||Pe(e,o))}function Me(t,o,e){const r=Se(o),i=Oe(o),a="fixed"===e,n=Ae(t,!0,a,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!a)if(("body"!==me(o)||Ce(i))&&(l=Ee(o)),r){const t=Ae(o,!0,a,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=He(i));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function je(t,o){return Se(t)&&"fixed"!==ke(t).position?o?o(t):t.offsetParent:null}function Te(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===ke(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===ke(r).position&&!Ie(r))?e:r||function(t){let o=Re(t);for(;Se(o)&&!We(o);){if(Ie(o))return o;o=Re(o)}return null}(t)||e}const Ye={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),a=Oe(e);if(e===a)return o;let n={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(a))&&(n=Ee(e)),Se(e))){const t=Ae(e);l=Fe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-n.scrollLeft*l.x+c.x,y:o.y*l.y-n.scrollTop*l.y+c.y}},getDocumentElement:Oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const a="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ke(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const a="fixed"===ke(t).position;let n=a?Re(t):t;for(;Ne(n)&&!We(n);){const o=ke(n),e=Ie(n);e||"fixed"!==o.position||(i=null),(a?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(n)&&!e&&Pe(t,n))?r=r.filter((t=>t!==n)):i=o,n=Re(n)}return o.set(t,r),r}(o,this._c):[].concat(e),n=[...a,r],l=n[0],c=n.reduce(((t,e)=>{const r=Ge(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Ge(o,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Te,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Te,a=this.getDimensions;return{reference:Me(o,await i(e),r),floating:{x:0,y:0,...await a(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ze(t)},getScale:Fe,isElement:Ne,isRTL:function(t){return"rtl"===ke(t).direction}},_e=(t,o,e)=>{const r=new Map,i={platform:Ye,...e},a={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=e,l=a.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let s=await n.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ye(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:a,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:n,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[a]:{...h[a],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ye(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:a})};function Ve(t){return function(t){for(let o=t;o;o=Xe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Xe(t);o;o=Xe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Xe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var qe,Je,Qe,tr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class or extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
531
531
|
<div part="container"
|
|
532
532
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
533
533
|
@mouseenter=${this.onHover}
|
|
@@ -545,9 +545,9 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
545
545
|
</div>
|
|
546
546
|
</div>
|
|
547
547
|
</div>
|
|
548
|
-
`}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return _e(t,o,{platform:{...Ye,getOffsetParent:t=>Ye.getOffsetParent(t,Ve)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ne(r,t),s={x:o,y:e},p=await ge(t,c),f=pe(ae(i)),d=ce(f);let h=s[d],y=s[f];if(n){const t="y"===d?"bottom":"right";h=ie(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";y=ie(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...t,[d]:h,[f]:y});return{...g,data:{x:g.x-o,y:g.y-e}}}}),be({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}or.elementDefinitions={"ft-typography":Go},or.styles=Vo,tr([r.property()],or.prototype,"text",void 0),tr([r.property({type:Boolean})],or.prototype,"manual",void 0),tr([r.property({type:Boolean})],or.prototype,"inline",void 0),tr([r.property({type:Number})],or.prototype,"delay",void 0),tr([r.property()],or.prototype,"position",void 0),tr([r.queryAssignedNodes()],or.prototype,"slotNodes",void 0),tr([r.query(".ft-tooltip--container")],or.prototype,"container",void 0),tr([r.query(".ft-tooltip")],or.prototype,"tooltip",void 0),tr([r.query(".ft-tooltip--content")],or.prototype,"tooltipContent",void 0),tr([r.state()],or.prototype,"visible",void 0),tr([r.eventOptions({passive:!0})],or.prototype,"onTouch",null),tr([r.eventOptions({passive:!0})],or.prototype,"onHover",null),tr([r.eventOptions({passive:!0})],or.prototype,"onOut",null),tr([r.eventOptions({passive:!0})],or.prototype,"onClick",null),o.customElement("ft-tooltip")(or),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",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="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(qe||(qe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Je||(Je={})),new Map([...["abw"].map((t=>[t,Je.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Je.AUDIO])),...["avi"].map((t=>[t,Je.AVI])),...["chm","xhs"].map((t=>[t,Je.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Je.CODE])),...["csv"].map((t=>[t,Je.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Je.DITA])),...["epub"].map((t=>[t,Je.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Je.EXCEL])),...["flac"].map((t=>[t,Je.FLAC])),...["gif"].map((t=>[t,Je.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Je.GZIP])),...["html","htm","xhtml"].map((t=>[t,Je.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Je.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Je.JPEG])),...["json"].map((t=>[t,Je.JSON])),...["m4a","m4p"].map((t=>[t,Je.M4A])),...["mov","qt"].map((t=>[t,Je.MOV])),...["mp3"].map((t=>[t,Je.MP3])),...["mp4","m4v"].map((t=>[t,Je.MP4])),...["ogg","oga"].map((t=>[t,Je.OGG])),...["pdf","ps"].map((t=>[t,Je.PDF])),...["png"].map((t=>[t,Je.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Je.POWERPOINT])),...["rar"].map((t=>[t,Je.RAR])),...["stp"].map((t=>[t,Je.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Je.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Je.VIDEO])),...["wav"].map((t=>[t,Je.WAV])),...["wma"].map((t=>[t,Je.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Je.WORD])),...["xml","xsl","rdf"].map((t=>[t,Je.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Je.YAML])),...["zip"].map((t=>[t,Je.ZIP]))]),Je.ABW,Je.AUDIO,Je.AVI,Je.CHM,Je.CODE,Je.CSV,Je.DITA,Je.EPUB,Je.EXCEL,Je.FLAC,Je.GIF,Je.GZIP,Je.HTML,Je.IMAGE,Je.JPEG,Je.JSON,Je.M4A,Je.MOV,Je.MP3,Je.MP4,Je.OGG,Je.PDF,Je.PNG,Je.POWERPOINT,Je.RAR,Je.STP,Je.TEXT,Je.UNKNOWN,Je.VIDEO,Je.WAV,Je.WMA,Je.WORD,Je.XML,Je.YAML,Je.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,o=t!==Qe.material||!!this.value;return e.html`
|
|
548
|
+
`}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return _e(t,o,{platform:{...Ye,getOffsetParent:t=>Ye.getOffsetParent(t,Ve)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ae(r,t),s={x:o,y:e},p=await ge(t,c),f=pe(ne(i)),d=ce(f);let h=s[d],y=s[f];if(a){const t="y"===d?"bottom":"right";h=ie(h+p["y"===d?"top":"left"],h,h-p[t])}if(n){const t="y"===f?"bottom":"right";y=ie(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...t,[d]:h,[f]:y});return{...g,data:{x:g.x-o,y:g.y-e}}}}),be({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}or.elementDefinitions={"ft-typography":Go},or.styles=Vo,tr([r.property()],or.prototype,"text",void 0),tr([r.property({type:Boolean})],or.prototype,"manual",void 0),tr([r.property({type:Boolean})],or.prototype,"inline",void 0),tr([r.property({type:Number})],or.prototype,"delay",void 0),tr([r.property()],or.prototype,"position",void 0),tr([r.queryAssignedNodes()],or.prototype,"slotNodes",void 0),tr([r.query(".ft-tooltip--container")],or.prototype,"container",void 0),tr([r.query(".ft-tooltip")],or.prototype,"tooltip",void 0),tr([r.query(".ft-tooltip--content")],or.prototype,"tooltipContent",void 0),tr([r.state()],or.prototype,"visible",void 0),tr([r.eventOptions({passive:!0})],or.prototype,"onTouch",null),tr([r.eventOptions({passive:!0})],or.prototype,"onHover",null),tr([r.eventOptions({passive:!0})],or.prototype,"onOut",null),tr([r.eventOptions({passive:!0})],or.prototype,"onClick",null),o.customElement("ft-tooltip")(or),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",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="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(qe||(qe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Je||(Je={})),new Map([...["abw"].map((t=>[t,Je.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Je.AUDIO])),...["avi"].map((t=>[t,Je.AVI])),...["chm","xhs"].map((t=>[t,Je.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Je.CODE])),...["csv"].map((t=>[t,Je.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Je.DITA])),...["epub"].map((t=>[t,Je.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Je.EXCEL])),...["flac"].map((t=>[t,Je.FLAC])),...["gif"].map((t=>[t,Je.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Je.GZIP])),...["html","htm","xhtml"].map((t=>[t,Je.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Je.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Je.JPEG])),...["json"].map((t=>[t,Je.JSON])),...["m4a","m4p"].map((t=>[t,Je.M4A])),...["mov","qt"].map((t=>[t,Je.MOV])),...["mp3"].map((t=>[t,Je.MP3])),...["mp4","m4v"].map((t=>[t,Je.MP4])),...["ogg","oga"].map((t=>[t,Je.OGG])),...["pdf","ps"].map((t=>[t,Je.PDF])),...["png"].map((t=>[t,Je.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Je.POWERPOINT])),...["rar"].map((t=>[t,Je.RAR])),...["stp"].map((t=>[t,Je.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Je.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Je.VIDEO])),...["wav"].map((t=>[t,Je.WAV])),...["wma"].map((t=>[t,Je.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Je.WORD])),...["xml","xsl","rdf"].map((t=>[t,Je.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Je.YAML])),...["zip"].map((t=>[t,Je.ZIP]))]),Je.ABW,Je.AUDIO,Je.AVI,Je.CHM,Je.CODE,Je.CSV,Je.DITA,Je.EPUB,Je.EXCEL,Je.FLAC,Je.GIF,Je.GZIP,Je.HTML,Je.IMAGE,Je.JPEG,Je.JSON,Je.M4A,Je.MOV,Je.MP3,Je.MP4,Je.OGG,Je.PDF,Je.PNG,Je.POWERPOINT,Je.RAR,Je.STP,Je.TEXT,Je.UNKNOWN,Je.VIDEO,Je.WAV,Je.WMA,Je.WORD,Je.XML,Je.YAML,Je.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var er=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class rr extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,o=t!==Qe.material||!!this.value;return e.html`
|
|
549
549
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
550
|
-
${
|
|
550
|
+
${a.unsafeHTML(this.resolvedIcon)}
|
|
551
551
|
<slot ?hidden=${o}></slot>
|
|
552
552
|
</i>
|
|
553
553
|
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Qe.file_format:this.resolvedIcon=null!==(t=Je[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Qe.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=qe[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=At,er([r.property()],rr.prototype,"variant",void 0),er([r.property()],rr.prototype,"value",void 0),er([r.state()],rr.prototype,"resolvedIcon",void 0),er([r.query("slot")],rr.prototype,"slottedContent",void 0),o.customElement("ft-icon")(rr);class ir extends o.FtLitElement{render(){return e.html`
|
|
@@ -557,7 +557,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
557
557
|
<div></div>
|
|
558
558
|
<div></div>
|
|
559
559
|
</div>
|
|
560
|
-
`}}ir.styles=
|
|
560
|
+
`}}ir.styles=Bt,o.customElement("ft-loader")(ir);var ar=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class nr extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),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.addEventListener("click",(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`
|
|
561
561
|
<button part="button"
|
|
562
562
|
class="${i.classMap(this.buttonClasses)}"
|
|
563
563
|
aria-label="${this.getLabel()}"
|
|
@@ -580,7 +580,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
580
580
|
</ft-tooltip>
|
|
581
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
582
582
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
583
|
-
<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}}
|
|
583
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}nr.elementDefinitions={"ft-ripple":qt,"ft-tooltip":or,"ft-typography":Go,"ft-icon":rr,"ft-loader":ir},ar([r.property({type:String,reflect:!0})],nr.prototype,"role",void 0),ar([r.property()],nr.prototype,"type",void 0),ar([r.property({type:Boolean})],nr.prototype,"disabled",void 0),ar([r.property()],nr.prototype,"label",void 0),ar([r.property()],nr.prototype,"icon",void 0),ar([r.property()],nr.prototype,"iconVariant",void 0),ar([r.property({type:Boolean})],nr.prototype,"trailingIcon",void 0),ar([r.property({type:Boolean})],nr.prototype,"loading",void 0),ar([r.property()],nr.prototype,"tooltipPosition",void 0),ar([r.property({type:Boolean})],nr.prototype,"hideTooltip",void 0),ar([r.property({type:Boolean})],nr.prototype,"forceTooltip",void 0),ar([r.query(".ft-button")],nr.prototype,"button",void 0),ar([r.query(".ft-button--label slot")],nr.prototype,"slottedContent",void 0);var lr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class cr extends nr{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}cr.styles=[o.safariEllipsisFix,Vt],lr([r.property({type:Boolean})],cr.prototype,"primary",void 0),lr([r.property({type:Boolean})],cr.prototype,"outlined",void 0),lr([r.property({type:Boolean})],cr.prototype,"dense",void 0),lr([r.property({type:Boolean})],cr.prototype,"round",void 0);const sr=[e.css`
|
|
584
584
|
:host {
|
|
585
585
|
display: inline-block;
|
|
586
586
|
max-width: 100%;
|
|
@@ -659,7 +659,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
659
659
|
/** Primary styles **/
|
|
660
660
|
|
|
661
661
|
.ft-button--primary {
|
|
662
|
-
${o.setVariable(
|
|
662
|
+
${o.setVariable(Ft.color,O.primaryIconColor)};
|
|
663
663
|
|
|
664
664
|
${o.setVariable(l.color,O.primaryStateLayerColor)};
|
|
665
665
|
${o.setVariable(l.opacityContentOnSurfaceHover,O.primaryStateLayerOpacityHover)};
|
|
@@ -683,7 +683,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
683
683
|
/** Secondary styles **/
|
|
684
684
|
|
|
685
685
|
.ft-button--secondary {
|
|
686
|
-
${o.setVariable(
|
|
686
|
+
${o.setVariable(Ft.color,O.secondaryIconColor)};
|
|
687
687
|
|
|
688
688
|
${o.setVariable(l.color,O.secondaryStateLayerColor)};
|
|
689
689
|
${o.setVariable(l.opacityContentOnSurfaceHover,O.secondaryStateLayerOpacityHover)};
|
|
@@ -708,7 +708,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
708
708
|
/** Tertiary styles **/
|
|
709
709
|
|
|
710
710
|
.ft-button--tertiary {
|
|
711
|
-
${o.setVariable(
|
|
711
|
+
${o.setVariable(Ft.color,O.tertiaryIconColor)};
|
|
712
712
|
|
|
713
713
|
${o.setVariable(l.color,O.tertiaryStateLayerColor)};
|
|
714
714
|
${o.setVariable(l.opacityContentOnSurfaceHover,O.tertiaryStateLayerOpacityHover)};
|
|
@@ -732,7 +732,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
732
732
|
/** Neutral styles **/
|
|
733
733
|
|
|
734
734
|
.ft-button--neutral {
|
|
735
|
-
${o.setVariable(
|
|
735
|
+
${o.setVariable(Ft.color,O.neutralIconColor)};
|
|
736
736
|
|
|
737
737
|
${o.setVariable(l.backgroundColor,O.neutralStateLayerColor)};
|
|
738
738
|
${o.setVariable(l.opacityContentOnSurfaceHover,O.neutralStateLayerOpacityHover)};
|
|
@@ -757,7 +757,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
757
757
|
|
|
758
758
|
.ft-button--large {
|
|
759
759
|
${o.setVariable(Dt.size,O.largeIconSize)};
|
|
760
|
-
${o.setVariable(
|
|
760
|
+
${o.setVariable(Ft.size,O.largeIconSize)};
|
|
761
761
|
|
|
762
762
|
height: ${O.largeHeight};
|
|
763
763
|
padding: 0 ${O.largeHorizontalPadding};
|
|
@@ -780,7 +780,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
780
780
|
|
|
781
781
|
.ft-button--small {
|
|
782
782
|
${o.setVariable(Dt.size,O.smallIconSize)};
|
|
783
|
-
${o.setVariable(
|
|
783
|
+
${o.setVariable(Ft.size,O.smallIconSize)};
|
|
784
784
|
|
|
785
785
|
height: ${O.smallHeight};
|
|
786
786
|
padding: 0 ${O.smallHorizontalPadding};
|
|
@@ -798,7 +798,7 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
798
798
|
width: ${O.smallIconOnlyWidth};
|
|
799
799
|
padding: unset;
|
|
800
800
|
}
|
|
801
|
-
`,o.noTextSelect];var pr=function(t,o,e,r){for(var i,
|
|
801
|
+
`,o.noTextSelect];var pr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fr extends nr{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Ao.caption1medium:Ao.body2medium}}fr.styles=[o.safariEllipsisFix,sr],pr([r.property({type:Boolean})],fr.prototype,"primary",void 0),pr([r.property({type:Boolean})],fr.prototype,"secondary",void 0),pr([r.property({type:Boolean})],fr.prototype,"tertiary",void 0),pr([r.property({type:Boolean})],fr.prototype,"neutral",void 0),pr([r.property({type:Boolean})],fr.prototype,"small",void 0),o.customElement("ft-button")(cr),o.customElement("ftds-button")(fr);const dr={spacing:o.FtCssVariableFactory.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:o.FtCssVariableFactory.extend("--ft-copy-block-border-radius","",o.designSystemVariables.borderRadiusS),borderStyle:o.FtCssVariableFactory.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:o.FtCssVariableFactory.extend("--ft-copy-block-border-color","",o.designSystemVariables.colorOutline),borderWidth:o.FtCssVariableFactory.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:o.FtCssVariableFactory.extend("--ft-copy-block-background-color","",o.designSystemVariables.colorSurface),buttonHeight:o.FtCssVariableFactory.create("--ft-copy-block-button-height","","SIZE","unset")},hr=e.css`
|
|
802
802
|
:host {
|
|
803
803
|
display: block;
|
|
804
804
|
}
|
|
@@ -843,17 +843,17 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
843
843
|
|
|
844
844
|
`,yr=e.css`
|
|
845
845
|
`,gr=e.css`
|
|
846
|
-
`,ur=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class br{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ur.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?br.build(t):null!==(o=br.API)&&void 0!==o?o:br.API=br.build()}static await(t){return new Promise((o=>{let e=br.get(t);if(e)o(e);else{const r=ur.subscribe((()=>{e=br.get(t),e&&(r(),o(e))}))}}))}}var mr;const xr=Symbol("clearAfterUnitTest");class Or{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[mr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ur.getState().uiLocale,ur.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ur.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,n
|
|
846
|
+
`,ur=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class br{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ur.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?br.build(t):null!==(o=br.API)&&void 0!==o?o:br.API=br.build()}static await(t){return new Promise((o=>{let e=br.get(t);if(e)o(e);else{const r=ur.subscribe((()=>{e=br.get(t),e&&(r(),o(e))}))}}))}}var mr;const xr=Symbol("clearAfterUnitTest");class Or{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[mr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ur.getState().uiLocale,ur.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ur.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}mr=xr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Or((async(t,o)=>(await br.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Or((async(t,o)=>(await br.await()).getCustomMessageContext(t,o))));const vr=window.FluidTopicsI18nService,Nr=window.FluidTopicsCustomI18nService;var Sr=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 wr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>br.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
847
847
|
<slot></slot>
|
|
848
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(ur.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ur.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ur.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ur.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ur.actions.noCustom(this.noCustom),t.has("editorMode")&&ur.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ur.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ur.actions.session(this.session),t.has("availableUiLocales")&&ur.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>vr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}wr.elementDefinitions={},wr.styles=gr,Sr([r.property()],wr.prototype,"baseUrl",void 0),Sr([r.property()],wr.prototype,"apiIntegrationIdentifier",void 0),Sr([r.property()],wr.prototype,"uiLocale",void 0),Sr([o.jsonProperty(null)],wr.prototype,"availableUiLocales",void 0),Sr([o.jsonProperty(null)],wr.prototype,"metadataConfiguration",void 0),Sr([r.property({type:Boolean})],wr.prototype,"editorMode",void 0),Sr([r.property({type:Boolean})],wr.prototype,"noCustom",void 0),Sr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],wr.prototype,"noCustomComponent",void 0),Sr([r.property({type:Boolean})],wr.prototype,"withManualResources",void 0),Sr([o.jsonProperty([])],wr.prototype,"messageContexts",void 0),Sr([o.jsonProperty(void 0)],wr.prototype,"session",void 0),Sr([r.property({type:Object})],wr.prototype,"apiProvider",void 0);class Cr{async listMySearches(){var t;return(null===(t=ur.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await br.await()).listMySearches(ur.getState().session.profile.userId):[]}}const $r=new o.CacheRegistry;class Ir{async listMyBookmarks(){return $r.get("bookmarks",(async()=>(await br.await()).listMyBookmarks(ur.getState().session.profile.userId)))}clearCache(){$r.clear("bookmarks")}}const
|
|
848
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(ur.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ur.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ur.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ur.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ur.actions.noCustom(this.noCustom),t.has("editorMode")&&ur.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ur.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ur.actions.session(this.session),t.has("availableUiLocales")&&ur.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>vr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}wr.elementDefinitions={},wr.styles=gr,Sr([r.property()],wr.prototype,"baseUrl",void 0),Sr([r.property()],wr.prototype,"apiIntegrationIdentifier",void 0),Sr([r.property()],wr.prototype,"uiLocale",void 0),Sr([o.jsonProperty(null)],wr.prototype,"availableUiLocales",void 0),Sr([o.jsonProperty(null)],wr.prototype,"metadataConfiguration",void 0),Sr([r.property({type:Boolean})],wr.prototype,"editorMode",void 0),Sr([r.property({type:Boolean})],wr.prototype,"noCustom",void 0),Sr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],wr.prototype,"noCustomComponent",void 0),Sr([r.property({type:Boolean})],wr.prototype,"withManualResources",void 0),Sr([o.jsonProperty([])],wr.prototype,"messageContexts",void 0),Sr([o.jsonProperty(void 0)],wr.prototype,"session",void 0),Sr([r.property({type:Object})],wr.prototype,"apiProvider",void 0);class Cr{async listMySearches(){var t;return(null===(t=ur.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await br.await()).listMySearches(ur.getState().session.profile.userId):[]}}const $r=new o.CacheRegistry;class Ir{async listMyBookmarks(){return $r.get("bookmarks",(async()=>(await br.await()).listMyBookmarks(ur.getState().session.profile.userId)))}clearCache(){$r.clear("bookmarks")}}const Ur=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ur.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ir,ur.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ur.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ur.actions.savedSearches(void 0)}clearMyBookmarks(){Ur.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Cr,o=await t.listMySearches();Ur.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ur.actions.bookmarks(o)}}},o.customElement("ft-app-context")(wr);var Wr=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};const kr=Symbol("i18nProperties"),Er=Symbol("i18nUnsubs");function Rr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Nr:vr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[kr])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[kr])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[kr]&&new Set([...this[kr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Er].has(t)||this[Er].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Er].forEach((t=>t())),this[Er].clear()}}return o=Er,Wr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Lr extends(Rr(o.FtLitElement)){}class Kr extends(Rr(o.FtLitElementRedux)){}var Zr=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 zr extends Kr{constructor(){super(),this.editorMode=!1,this.addStore(ur)}render(){return this.key&&this.context?e.html`
|
|
849
849
|
<span class="ft-i18n">
|
|
850
850
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
851
851
|
</span>
|
|
852
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}zr.elementDefinitions={},zr.styles=yr,
|
|
852
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}zr.elementDefinitions={},zr.styles=yr,Zr([o.redux()],zr.prototype,"editorMode",void 0),Zr([r.property()],zr.prototype,"context",void 0),Zr([r.property()],zr.prototype,"key",void 0),Zr([o.jsonProperty([])],zr.prototype,"args",void 0),Zr([r.property()],zr.prototype,"defaultMessage",void 0);class Fr{static build(t){return new Fr(t)}static fromGwt(t){return new Fr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>vr.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(zr);const Br=Fr.build("copyBlockComponent"),Dr={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var Ar=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Hr extends Lr{constructor(){super(),this.addI18nContext(Br,Dr)}render(){return e.html`
|
|
853
853
|
<div part="container">
|
|
854
854
|
${navigator.clipboard?e.html`
|
|
855
855
|
<div part="button-container">
|
|
856
|
-
<ft-tooltip part="tooltip" text=${
|
|
856
|
+
<ft-tooltip part="tooltip" text=${Br.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
|
|
857
857
|
<ft-button icon="CLONE" part="button" exportpartsPrefix="button" @click=${this.copyContents}></ft-button>
|
|
858
858
|
</ft-tooltip>
|
|
859
859
|
</div>
|
|
@@ -863,4 +863,4 @@ const Ko=Symbol.for(""),zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Bo=t=>({_$li
|
|
|
863
863
|
<slot></slot>
|
|
864
864
|
</div>
|
|
865
865
|
</div>
|
|
866
|
-
`}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=
|
|
866
|
+
`}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=Br.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=Br.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}Hr.elementDefinitions={"ft-button":cr,"ft-tooltip":or},Hr.styles=hr,Ar([r.query("[part='tooltip']")],Hr.prototype,"tooltip",void 0),o.customElement("ft-copy-block")(Hr),t.FtCopyBlock=Hr,t.FtCopyBlockCssVariables=dr,t.styles=hr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|