@fluid-topics/ft-reader-search-in-document 1.1.13 → 1.1.14
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.
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
#action {
|
|
189
189
|
grid-area: actions;
|
|
190
190
|
}
|
|
191
|
-
`,m=t=>"string"==typeof t?o.unsafeCSS(t):t;class v{static create(t,e,r,i){const n=t=>m(null!=t?t:i),a=o.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=e,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=e=>o.css`var(${m(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,e,r,i){const n=t=>r.get(null!=t?t:i),a=o.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=e,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=e=>o.css`var(${m(t)}, ${n(e)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,e){const r=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):m(null!=e?e:t.lastResortDefaultValue()),i=o.css`var(${m(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=r,i.get=e=>o.css`var(${m(t.name)}, ${r(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const x={colorWhite:v.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:v.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:v.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:v.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:v.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:v.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:v.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:v.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:v.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:v.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:v.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:v.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:v.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:v.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:v.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:v.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:v.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:v.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:v.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:v.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:v.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:v.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:v.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:v.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:v.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:v.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:v.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:v.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:v.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:v.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:v.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:v.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:v.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:v.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:v.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:v.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:v.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:v.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:v.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:v.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:v.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:v.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:v.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:v.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:v.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:v.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:v.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:v.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:v.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:v.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:v.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:v.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:v.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:v.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:v.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:v.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:v.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:v.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:v.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:v.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:v.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:v.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:v.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:v.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:v.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:v.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:v.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:v.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:v.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:v.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:v.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:v.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:v.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:v.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:v.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:v.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:v.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:v.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:v.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:v.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:v.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:v.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:v.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:v.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:v.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:v.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:v.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:v.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:v.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:v.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:v.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:v.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:v.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:v.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:v.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:v.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:v.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:v.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:v.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:v.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:v.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:v.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:v.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:v.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:v.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:v.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:v.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:v.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:v.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:v.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:v.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:v.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:v.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:v.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:v.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:v.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:v.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:v.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:v.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:v.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:v.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:v.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:v.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:v.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:v.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:v.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:v.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:v.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:v.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:v.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:v.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:v.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:v.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:v.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:v.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:v.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:v.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:v.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:v.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:v.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:v.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:v.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:v.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:v.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:v.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:v.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:v.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:v.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:v.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:v.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:v.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:v.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:v.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:v.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:v.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:v.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:v.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:v.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:v.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:v.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:v.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:v.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:v.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:v.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:v.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:v.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:v.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:v.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:v.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:v.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:v.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:v.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:v.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:v.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:v.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:v.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:v.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:v.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:v.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:v.create("--ft-icon-size-6","","SIZE","48px"),opacity0:v.create("--ft-opacity-0","","NUMBER","0"),opacity8:v.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:v.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:v.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:v.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:v.create("--ft-opacity-80","","NUMBER","0.8")},O={display:{fontFamily:v.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:v.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:v.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:v.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:v.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:v.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:v.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:v.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:v.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:v.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:v.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:v.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:v.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:v.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:v.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:v.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:v.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:v.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:v.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:v.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:v.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:v.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:v.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:v.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:v.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:v.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:v.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:v.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:v.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:v.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:v.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:v.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:v.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:v.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:v.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:v.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:v.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:v.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},w={backgroundActionPrimary:v.extend("--ft-background-action-primary","Used as backgorund of primary action components.",x.colorBrand0),backgroundErrorPrimary:v.extend("--ft-background-error-primary","Used as background of error components.",x.colorRed0),backgroundErrorSubtle:v.extend("--ft-background-error-subtle","Used as background of subtle error components.",x.colorRed10),backgroundInfoPrimary:v.extend("--ft-background-info-primary","Used as background of information components.",x.colorCyan200),backgroundInfoSubtle:v.extend("--ft-background-info-subtle","Used as background of subtle information components.",x.colorCyan10),backgroundWarningPrimary:v.extend("--ft-background-warning-primary","Used as background of warning components.",x.colorOrange300),backgroundWarningSubtle:v.extend("--ft-background-warning-subtle","Used as background of subtle information components.",x.colorOrange10),backgroundSuccessPrimary:v.extend("--ft-background-success-primary","Used as background of success components.",x.colorGreen200),backgroundSuccessSubtle:v.extend("--ft-background-success-subtle","Used as background of subtle success components.",x.colorGreen10),backgroundGlobalSurface:v.extend("--ft-background-global-surface","Used as app background.",x.colorWhite),backgroundGlobalOnSurface:v.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",x.colorGray10),backgroundGlobalOnSurfaceDark:v.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",x.colorGray30),contentActionPrimary:v.extend("--ft-content-action-primary","Used on label of primary action on light surface.",x.colorBrand0),contentWarningPrimary:v.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",x.colorOrange300),contentWarningIconOnly:v.extend("--ft-content-warning-icon-only","Used on warning status icons alone",x.colorOrange0),contentErrorPrimary:v.extend("--ft-content-error-primary","Used on label of error messages on light surface.",x.colorRed0),contentErrorIconOnly:v.extend("--ft-content-error-icon-only","Used on error status icons alone",x.colorRed0),contentInfoPrimary:v.extend("--ft-content-info-primary","Used on label of information messages on light surface.",x.colorCyan200),contentInfoIconOnly:v.extend("--ft-content-info-icon-only","Used on info status icons alone",x.colorCyan0),contentSuccessIconOnly:v.extend("--ft-content-success-icon-only","Used on success status icons alone",x.colorGreen0),contentSuccessPrimary:v.extend("--ft-content-success-primary","Used on label of success messages on light surface.",x.colorGreen200),contentGlobalPrimary:v.extend("--ft-content-global-primary","Used for main content on the page.",x.colorGray500),contentGlobalSecondary:v.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",x.colorGray200),contentGlobalSubtle:v.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",x.colorGray0),contentGlobalOnColor:v.extend("--ft-content-global-on-color","Used for content on a dominant color.",x.colorWhite),borderActionPrimary:v.extend("--ft-border-action-primary","Used as border for primary action components.",x.colorBrand0),borderActionFocusRing:v.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",x.colorCyan0),borderWarningPrimary:v.extend("--ft-border-warning-primary","Used as border for warning components.",x.colorOrange30),borderSuccessPrimary:v.extend("--ft-border-success-primary","Used as border for success components.",x.colorGreen30),borderErrorPrimary:v.extend("--ft-border-error-primary","Used as border for error components.",x.colorRed30),borderInfoPrimary:v.extend("--ft-border-info-primary","Used as border for information components.",x.colorCyan30),borderGlobalSubtle:v.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",x.colorGray30),borderGlobalPrimary:v.extend("--ft-border-global-primary","Used as border for element like input.",x.colorGray50),borderInputPrimary:v.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",x.colorGray80)},N={largeHeight:v.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:v.extend("--ft-button-large-horizontal-padding","",x.spacing4),largeGap:v.extend("--ft-button-large-gap","",x.spacing2),largeBorderRadius:v.extend("--ft-button-large-border-radius","",x.borderRadiusS),largeIconSize:v.extend("--ft-button-large-icon-size","",x.iconSize3),largeBorderWidth:v.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:v.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:v.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:v.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:v.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:v.extend("--ft-button-small-horizontal-padding","",x.spacing3),smallGap:v.extend("--ft-button-small-gap","",x.spacing2),smallBorderRadius:v.extend("--ft-button-small-border-radius","",x.borderRadiusS),smallIconSize:v.extend("--ft-button-small-icon-size","",x.iconSize2),smallBorderWidth:v.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:v.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:v.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:v.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:v.extend("--ft-button-primary-background-color","",w.backgroundActionPrimary),primaryColor:v.extend("--ft-button-primary-color","",w.contentGlobalOnColor),primaryIconColor:v.extend("--ft-button-primary-icon-color","",w.contentGlobalOnColor),primaryStateLayerColor:v.extend("--ft-button-primary-state-layer-color","",w.contentGlobalOnColor),primaryStateLayerOpacityHover:v.extend("--ft-button-primary-state-layer-opacity-hover","",x.opacity16),primaryStateLayerOpacityFocus:v.extend("--ft-button-primary-state-layer-opacity-focus","",x.opacity16),primaryStateLayerOpacityActive:v.extend("--ft-button-primary-state-layer-opacity-active","",x.opacity24),primaryComponentOpacityDisabled:v.extend("--ft-button-primary-component-opacity-disabled","",x.opacity40),focusFocusRingColor:v.extend("--ft-button-focus-focus-ring-color","",w.borderActionFocusRing),tertiaryBackgroundColor:v.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:v.extend("--ft-button-tertiary-color","",w.contentActionPrimary),tertiaryIconColor:v.extend("--ft-button-tertiary-icon-color","",w.contentActionPrimary),tertiaryStateLayerColor:v.extend("--ft-button-tertiary-state-layer-color","",w.contentActionPrimary),tertiaryStateLayerOpacityHover:v.extend("--ft-button-tertiary-state-layer-opacity-hover","",x.opacity8),tertiaryStateLayerOpacityFocus:v.extend("--ft-button-tertiary-state-layer-opacity-focus","",x.opacity8),tertiaryStateLayerOpacityActive:v.extend("--ft-button-tertiary-state-layer-opacity-active","",x.opacity16),tertiaryComponentOpacityDisabled:v.extend("--ft-button-tertiary-component-opacity-disabled","",x.opacity40),secondaryBackgroundColor:v.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:v.extend("--ft-button-secondary-color","",w.contentActionPrimary),secondaryIconColor:v.extend("--ft-button-secondary-icon-color","",w.contentActionPrimary),secondaryStateLayerColor:v.extend("--ft-button-secondary-state-layer-color","",w.contentActionPrimary),secondaryStateLayerOpacityHover:v.extend("--ft-button-secondary-state-layer-opacity-hover","",x.opacity8),secondaryStateLayerOpacityFocus:v.extend("--ft-button-secondary-state-layer-opacity-focus","",x.opacity8),secondaryStateLayerOpacityActive:v.extend("--ft-button-secondary-state-layer-opacity-active","",x.opacity16),secondaryComponentOpacityDisabled:v.extend("--ft-button-secondary-component-opacity-disabled","",x.opacity40),secondaryBorderColor:v.extend("--ft-button-secondary-border-color","",w.borderActionPrimary),neutralBackgroundColor:v.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:v.extend("--ft-button-neutral-icon-color","",w.contentGlobalSecondary),neutralColor:v.extend("--ft-button-neutral-color","",w.contentGlobalSecondary),neutralStateLayerColor:v.extend("--ft-button-neutral-state-layer-color","",w.contentGlobalSecondary),neutralStateLayerOpacityHover:v.extend("--ft-button-neutral-state-layer-opacity-hover","",x.opacity8),neutralStateLayerOpacityFocus:v.extend("--ft-button-neutral-state-layer-opacity-focus","",x.opacity8),neutralStateLayerOpacityActive:v.extend("--ft-button-neutral-state-layer-opacity-active","",x.opacity16),neutralComponentOpacityDisabled:v.extend("--ft-button-neutral-component-opacity-disabled","",x.opacity40)};v.extend("--ft-tabs-top-left-border-radius","",x.borderRadiusS),v.extend("--ft-tabs-top-right-border-radius","",x.borderRadiusS),v.extend("--ft-tabs-label-horizontal-padding","",x.spacing4),v.extend("--ft-tabs-label-vertical-padding","",x.spacing3),v.extend("--ft-tabs-label-gap","",x.spacing1),v.extend("--ft-switch-group-horizontal-padding","",x.spacing1),v.extend("--ft-switch-group-vertical-padding","",x.spacing1),v.extend("--ft-switch-group-gap","",x.spacing1),v.extend("--ft-switch-group-background-color","",w.backgroundGlobalSurface),v.extend("--ft-switch-group-border-color","",w.borderGlobalSubtle),v.create("--ft-switch-group-border-radius","","SIZE","6px"),v.extend("--ft-switch-label-horizontal-padding","",x.spacing2),v.extend("--ft-switch-label-vertical-padding","",x.spacing1),v.extend("--ft-switch-icon-horizontal-padding","",x.spacing1),v.extend("--ft-switch-icon-vertical-padding","",x.spacing1),v.create("--ft-switch-focus-outline-width","","SIZE","2px"),v.extend("--ft-switch-focus-focus-ring-color","",w.borderActionFocusRing),v.extend("--ft-switch-option-border-radius","",x.borderRadiusS),v.extend("--ft-switch-off-state-layer-opacity-hover","",x.opacity8),v.extend("--ft-switch-off-state-layer-opacity-focus","",x.opacity8),v.extend("--ft-switch-off-state-layer-opacity-active","",x.opacity16),v.extend("--ft-switch-off-component-opacity-disabled","",x.opacity40),v.extend("--ft-switch-off-color","",w.contentGlobalSubtle),v.extend("--ft-switch-off-state-layer-color","",w.contentGlobalSubtle),v.extend("--ft-chart-1-light","for area color charts",x.colorBrand40),v.extend("--ft-chart-1-base","for line charts",x.colorBrand0),v.extend("--ft-chart-2-light","for area color charts",x.colorYellow60),v.extend("--ft-chart-2-base","for line charts",x.colorYellow100),v.extend("--ft-chart-3-light","",x.colorUltramarine40),v.extend("--ft-chart-3-base","",x.colorUltramarine70),v.extend("--ft-chart-4-light","",x.colorCyan50),v.extend("--ft-chart-4-base","",x.colorCyan100),v.extend("--ft-chart-5-light","",x.colorRed40),v.extend("--ft-chart-5-base","",x.colorRed60),v.extend("--ft-chart-6-light","",x.colorGreen40),v.extend("--ft-chart-6-base","",x.colorGreen70),v.extend("--ft-chart-7-light","",x.colorOrange70),v.extend("--ft-chart-7-base","",x.colorOrange100),v.extend("--ft-chart-8-light","",x.colorAvocado70),v.extend("--ft-chart-8-base","",x.colorAvocado200),v.extend("--ft-chart-9-light","",x.colorBrown50),v.extend("--ft-chart-9-base","",x.colorBrown200),v.extend("--ft-chart-10-light","",x.colorGray50),v.extend("--ft-chart-10-base","",x.colorGray80),v.extend("--ft-chart-monochrome-10","",x.colorBrand10),v.extend("--ft-chart-monochrome-20","",x.colorBrand20),v.extend("--ft-chart-monochrome-30","",x.colorBrand40),v.extend("--ft-chart-monochrome-40","",x.colorBrand60),v.extend("--ft-chart-monochrome-50","",x.colorBrand0),v.extend("--ft-chart-monochrome-60","",x.colorBrand200),v.extend("--ft-chip-large-horizontal-padding","",x.spacing4),v.extend("--ft-chip-large-vertical-padding","",x.spacing2),v.extend("--ft-chip-large-gap","",x.spacing1),v.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),v.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),v.extend("--ft-chip-large-border-radius","",x.borderRadiusPill),v.create("--ft-chip-large-border-width","","SIZE","1px"),v.extend("--ft-chip-large-icon-size","",x.iconSize3),v.extend("--ft-chip-medium-horizontal-padding","",x.spacing3),v.extend("--ft-chip-medium-vertical-padding","",x.spacing1),v.extend("--ft-chip-medium-gap","",x.spacing1),v.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),v.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),v.extend("--ft-chip-medium-border-radius","",x.borderRadiusPill),v.create("--ft-chip-medium-border-width","","SIZE","1px"),v.extend("--ft-chip-medium-icon-size","",x.iconSize2),v.extend("--ft-chip-small-horizontal-padding","",x.spacing2),v.extend("--ft-chip-small-vertical-padding","",x.spacing05),v.extend("--ft-chip-small-gap","",x.spacing1),v.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),v.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),v.extend("--ft-chip-small-border-radius","",x.borderRadiusPill),v.create("--ft-chip-small-border-width","","SIZE","1px"),v.extend("--ft-chip-small-icon-size","",x.iconSize1),v.extend("--ft-chip-neutral-background-color","",w.backgroundGlobalOnSurface),v.extend("--ft-chip-neutral-color","",w.contentGlobalPrimary),v.extend("--ft-chip-neutral-border-color","",w.borderGlobalSubtle),v.extend("--ft-chip-info-background-color","",w.backgroundInfoSubtle),v.extend("--ft-chip-info-color","",w.contentInfoPrimary),v.extend("--ft-chip-info-border-color","",w.borderInfoPrimary),v.extend("--ft-chip-success-background-color","",w.backgroundSuccessSubtle),v.extend("--ft-chip-success-color","",w.contentSuccessPrimary),v.extend("--ft-chip-success-border-color","",w.borderSuccessPrimary),v.extend("--ft-chip-warning-background-color","",w.backgroundWarningSubtle),v.extend("--ft-chip-warning-color","",w.contentWarningPrimary),v.extend("--ft-chip-warning-border-color","",w.borderWarningPrimary),v.extend("--ft-chip-error-background-color","",w.backgroundErrorSubtle),v.extend("--ft-chip-error-color","",w.contentErrorPrimary),v.extend("--ft-chip-error-border-color","",w.borderErrorPrimary),v.create("--ft-notice-border-width","","SIZE","1px"),v.extend("--ft-notice-horizontal-padding","",x.spacing2),v.extend("--ft-notice-vertical-padding","",x.spacing1),v.extend("--ft-notice-border-radius","",x.borderRadiusS),v.extend("--ft-notice-gap","",x.spacing2),v.extend("--ft-notice-icon-size","",x.iconSize3),v.extend("--ft-notice-info-background-color","",w.backgroundInfoSubtle),v.extend("--ft-notice-info-border-color","",w.borderInfoPrimary),v.extend("--ft-notice-info-color","",w.contentInfoPrimary),v.extend("--ft-notice-warning-background-color","",w.backgroundWarningSubtle),v.extend("--ft-notice-warning-border-color","",w.borderWarningPrimary),v.extend("--ft-notice-warning-color","",w.contentWarningPrimary),v.extend("--ft-checkbox-label-color","",w.contentGlobalPrimary),v.extend("--ft-checkbox-checked-background-color","",w.contentActionPrimary),v.extend("--ft-checkbox-checked-state-layer-color","",w.contentActionPrimary),v.extend("--ft-checkbox-checked-color","",w.contentGlobalOnColor),v.extend("--ft-checkbox-checked-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-checkbox-checked-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-checkbox-checked-state-layer-opacity-active","",x.opacity24),v.extend("--ft-checkbox-checked-component-opacity-disabled","",x.opacity40),v.extend("--ft-checkbox-unchecked-border-color","",x.colorGray80),v.extend("--ft-checkbox-unchecked-state-layer-color","",x.colorGray80),v.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",x.opacity24),v.extend("--ft-checkbox-unchecked-component-opacity-disabled","",x.opacity40),v.extend("--ft-checkbox-focus-focus-ring-color","",w.borderActionFocusRing),v.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),v.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),v.extend("--ft-checkbox-gap","",x.spacing3),v.extend("--ft-toggle-off-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-toggle-off-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-toggle-off-state-layer-opacity-active","",x.opacity24),v.extend("--ft-toggle-off-component-opacity-disabled","",x.opacity40),v.extend("--ft-toggle-off-background-color","",w.contentGlobalSubtle),v.extend("--ft-toggle-off-icon-color","",w.contentGlobalSubtle),v.extend("--ft-toggle-off-state-layer-color","",w.contentGlobalSubtle),v.extend("--ft-toggle-on-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-toggle-on-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-toggle-on-state-layer-opacity-active","",x.opacity24),v.extend("--ft-toggle-on-component-opacity-disabled","",x.opacity40),v.extend("--ft-toggle-on-background-color","",w.contentActionPrimary),v.extend("--ft-toggle-on-icon-color","",w.contentActionPrimary),v.extend("--ft-toggle-on-state-layer-color","",w.contentActionPrimary),v.extend("--ft-toggle-label-color","",w.contentGlobalPrimary),v.extend("--ft-toggle-focus-focus-ring-color","",w.borderActionFocusRing),v.extend("--ft-toggle-gap","",x.spacing3),v.extend("--ft-radio-label-color","",w.contentGlobalPrimary),v.extend("--ft-radio-selected-color","",w.contentActionPrimary),v.extend("--ft-radio-selected-state-layer-color","",w.contentActionPrimary),v.extend("--ft-radio-selected-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-radio-selected-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-radio-selected-state-layer-opacity-active","",x.opacity24),v.extend("--ft-radio-selected-component-opacity-disabled","",x.opacity40),v.extend("--ft-radio-unselected-state-layer-color","",x.colorGray80),v.extend("--ft-radio-unselected-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-radio-unselected-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-radio-unselected-state-layer-opacity-active","",x.opacity24),v.extend("--ft-radio-unselected-component-opacity-disabled","",x.opacity40),v.extend("--ft-radio-focus-focus-ring-color","",w.borderActionFocusRing),v.create("--ft-radio-focus-outline-offset","","SIZE","3px"),v.create("--ft-radio-focus-outline-width","","SIZE","2px"),v.extend("--ft-radio-gap","",x.spacing3),v.extend("--ft-notification-icon-size","",x.iconSize4),v.extend("--ft-notification-horizontal-padding","",x.spacing4),v.extend("--ft-notification-vertical-padding","",x.spacing4),v.extend("--ft-notification-info-background-color","",w.backgroundInfoSubtle),v.extend("--ft-notification-info-color","",w.contentInfoPrimary),v.extend("--ft-notification-info-border-color","",w.borderInfoPrimary),v.extend("--ft-notification-success-background-color","",w.backgroundSuccessSubtle),v.extend("--ft-notification-success-color","",w.contentSuccessPrimary),v.extend("--ft-notification-success-border-color","",w.borderSuccessPrimary),v.extend("--ft-notification-warning-background-color","",w.backgroundWarningSubtle),v.extend("--ft-notification-warning-color","",w.contentWarningPrimary),v.extend("--ft-notification-warning-border-color","",w.borderWarningPrimary),v.extend("--ft-notification-error-background-color","",w.backgroundErrorSubtle),v.extend("--ft-notification-error-color","",w.contentErrorPrimary),v.extend("--ft-notification-error-border-color","",w.borderErrorPrimary),v.extend("--ft-notification-border-radius","",x.borderRadiusPill),v.create("--ft-notification-border-width","","SIZE","1px"),v.extend("--ft-notification-gap-leading","",x.spacing2),v.extend("--ft-notification-gap-trailing","",x.spacing8);const S=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),C=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),$={fontFamily:C,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},R=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),E=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),I=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),k=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),U=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),L=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),W=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),K=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),A=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),B=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),z=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),F=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),Z=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",C),D=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),T=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),P=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),M=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),H=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",C),G=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),_=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),q=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),Q=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),V=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",C),X=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),J=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),et=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),ot=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",C),it=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),at=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),st=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),lt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),ct=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",C),pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),ft=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),dt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),ut=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",C),yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",C),wt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),Rt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",C),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Et=o.css`
|
|
191
|
+
`,m=t=>"string"==typeof t?o.unsafeCSS(t):t;class v{static create(t,e,r,i){const n=t=>m(null!=t?t:i),a=o.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=e,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=e=>o.css`var(${m(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,e,r,i){const n=t=>r.get(null!=t?t:i),a=o.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=e,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=e=>o.css`var(${m(t)}, ${n(e)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,e){const r=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):m(null!=e?e:t.lastResortDefaultValue()),i=o.css`var(${m(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=r,i.get=e=>o.css`var(${m(t.name)}, ${r(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const x={colorWhite:v.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:v.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:v.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:v.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:v.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:v.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:v.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:v.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:v.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:v.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:v.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:v.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:v.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:v.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:v.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:v.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:v.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:v.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:v.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:v.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:v.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:v.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:v.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:v.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:v.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:v.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:v.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:v.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:v.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:v.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:v.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:v.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:v.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:v.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:v.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:v.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:v.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:v.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:v.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:v.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:v.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:v.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:v.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:v.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:v.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:v.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:v.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:v.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:v.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:v.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:v.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:v.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:v.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:v.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:v.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:v.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:v.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:v.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:v.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:v.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:v.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:v.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:v.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:v.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:v.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:v.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:v.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:v.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:v.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:v.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:v.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:v.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:v.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:v.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:v.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:v.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:v.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:v.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:v.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:v.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:v.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:v.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:v.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:v.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:v.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:v.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:v.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:v.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:v.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:v.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:v.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:v.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:v.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:v.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:v.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:v.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:v.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:v.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:v.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:v.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:v.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:v.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:v.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:v.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:v.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:v.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:v.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:v.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:v.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:v.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:v.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:v.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:v.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:v.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:v.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:v.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:v.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:v.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:v.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:v.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:v.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:v.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:v.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:v.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:v.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:v.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:v.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:v.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:v.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:v.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:v.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:v.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:v.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:v.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:v.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:v.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:v.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:v.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:v.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:v.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:v.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:v.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:v.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:v.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:v.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:v.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:v.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:v.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:v.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:v.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:v.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:v.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:v.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:v.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:v.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:v.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:v.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:v.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:v.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:v.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:v.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:v.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:v.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:v.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:v.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:v.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:v.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:v.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:v.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:v.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:v.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:v.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:v.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:v.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:v.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:v.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:v.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:v.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:v.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:v.create("--ft-icon-size-6","","SIZE","48px"),opacity0:v.create("--ft-opacity-0","","NUMBER","0"),opacity8:v.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:v.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:v.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:v.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:v.create("--ft-opacity-80","","NUMBER","0.8")},O={display:{fontFamily:v.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:v.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:v.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:v.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:v.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:v.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:v.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:v.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:v.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:v.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:v.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:v.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:v.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:v.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:v.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:v.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:v.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:v.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:v.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:v.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:v.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:v.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:v.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:v.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:v.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:v.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:v.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:v.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:v.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:v.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:v.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:v.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:v.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:v.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:v.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:v.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:v.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:v.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:v.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:v.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:v.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:v.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:v.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:v.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:v.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:v.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:v.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:v.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:v.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:v.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:v.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:v.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:v.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:v.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:v.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:v.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},w={backgroundActionPrimary:v.extend("--ft-background-action-primary","Used as backgorund of primary action components.",x.colorBrand0),backgroundErrorPrimary:v.extend("--ft-background-error-primary","Used as background of error components.",x.colorRed0),backgroundErrorSubtle:v.extend("--ft-background-error-subtle","Used as background of subtle error components.",x.colorRed10),backgroundInfoPrimary:v.extend("--ft-background-info-primary","Used as background of information components.",x.colorCyan200),backgroundInfoSubtle:v.extend("--ft-background-info-subtle","Used as background of subtle information components.",x.colorCyan10),backgroundWarningPrimary:v.extend("--ft-background-warning-primary","Used as background of warning components.",x.colorOrange300),backgroundWarningSubtle:v.extend("--ft-background-warning-subtle","Used as background of subtle information components.",x.colorOrange10),backgroundSuccessPrimary:v.extend("--ft-background-success-primary","Used as background of success components.",x.colorGreen200),backgroundSuccessSubtle:v.extend("--ft-background-success-subtle","Used as background of subtle success components.",x.colorGreen10),backgroundGlobalSurface:v.extend("--ft-background-global-surface","Used as app background.",x.colorWhite),backgroundGlobalOnSurface:v.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",x.colorGray10),backgroundGlobalOnSurfaceDark:v.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",x.colorGray30),contentActionPrimary:v.extend("--ft-content-action-primary","Used on label of primary action on light surface.",x.colorBrand0),contentWarningPrimary:v.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",x.colorOrange300),contentWarningIconOnly:v.extend("--ft-content-warning-icon-only","Used on warning status icons alone",x.colorOrange0),contentErrorPrimary:v.extend("--ft-content-error-primary","Used on label of error messages on light surface.",x.colorRed0),contentErrorIconOnly:v.extend("--ft-content-error-icon-only","Used on error status icons alone",x.colorRed0),contentInfoPrimary:v.extend("--ft-content-info-primary","Used on label of information messages on light surface.",x.colorCyan200),contentInfoIconOnly:v.extend("--ft-content-info-icon-only","Used on info status icons alone",x.colorCyan0),contentSuccessIconOnly:v.extend("--ft-content-success-icon-only","Used on success status icons alone",x.colorGreen0),contentSuccessPrimary:v.extend("--ft-content-success-primary","Used on label of success messages on light surface.",x.colorGreen200),contentGlobalPrimary:v.extend("--ft-content-global-primary","Used for main content on the page.",x.colorGray500),contentGlobalSecondary:v.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",x.colorGray200),contentGlobalSubtle:v.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",x.colorGray0),contentGlobalOnColor:v.extend("--ft-content-global-on-color","Used for content on a dominant color.",x.colorWhite),borderActionPrimary:v.extend("--ft-border-action-primary","Used as border for primary action components.",x.colorBrand0),borderActionFocusRing:v.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",x.colorCyan0),borderWarningPrimary:v.extend("--ft-border-warning-primary","Used as border for warning components.",x.colorOrange30),borderSuccessPrimary:v.extend("--ft-border-success-primary","Used as border for success components.",x.colorGreen30),borderErrorPrimary:v.extend("--ft-border-error-primary","Used as border for error components.",x.colorRed30),borderInfoPrimary:v.extend("--ft-border-info-primary","Used as border for information components.",x.colorCyan30),borderGlobalSubtle:v.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",x.colorGray30),borderGlobalPrimary:v.extend("--ft-border-global-primary","Used as border for element like input.",x.colorGray50),borderInputPrimary:v.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",x.colorGray80)},N={largeHeight:v.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:v.extend("--ft-button-large-horizontal-padding","",x.spacing4),largeGap:v.extend("--ft-button-large-gap","",x.spacing2),largeBorderRadius:v.extend("--ft-button-large-border-radius","",x.borderRadiusS),largeIconSize:v.extend("--ft-button-large-icon-size","",x.iconSize3),largeBorderWidth:v.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:v.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:v.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:v.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:v.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:v.extend("--ft-button-small-horizontal-padding","",x.spacing3),smallGap:v.extend("--ft-button-small-gap","",x.spacing2),smallBorderRadius:v.extend("--ft-button-small-border-radius","",x.borderRadiusS),smallIconSize:v.extend("--ft-button-small-icon-size","",x.iconSize2),smallBorderWidth:v.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:v.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:v.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:v.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:v.extend("--ft-button-primary-background-color","",w.backgroundActionPrimary),primaryColor:v.extend("--ft-button-primary-color","",w.contentGlobalOnColor),primaryIconColor:v.extend("--ft-button-primary-icon-color","",w.contentGlobalOnColor),primaryStateLayerColor:v.extend("--ft-button-primary-state-layer-color","",w.contentGlobalOnColor),primaryStateLayerOpacityHover:v.extend("--ft-button-primary-state-layer-opacity-hover","",x.opacity16),primaryStateLayerOpacityFocus:v.extend("--ft-button-primary-state-layer-opacity-focus","",x.opacity16),primaryStateLayerOpacityActive:v.extend("--ft-button-primary-state-layer-opacity-active","",x.opacity24),primaryComponentOpacityDisabled:v.extend("--ft-button-primary-component-opacity-disabled","",x.opacity40),focusFocusRingColor:v.extend("--ft-button-focus-focus-ring-color","",w.borderActionFocusRing),tertiaryBackgroundColor:v.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:v.extend("--ft-button-tertiary-color","",w.contentActionPrimary),tertiaryIconColor:v.extend("--ft-button-tertiary-icon-color","",w.contentActionPrimary),tertiaryStateLayerColor:v.extend("--ft-button-tertiary-state-layer-color","",w.contentActionPrimary),tertiaryStateLayerOpacityHover:v.extend("--ft-button-tertiary-state-layer-opacity-hover","",x.opacity8),tertiaryStateLayerOpacityFocus:v.extend("--ft-button-tertiary-state-layer-opacity-focus","",x.opacity8),tertiaryStateLayerOpacityActive:v.extend("--ft-button-tertiary-state-layer-opacity-active","",x.opacity16),tertiaryComponentOpacityDisabled:v.extend("--ft-button-tertiary-component-opacity-disabled","",x.opacity40),secondaryBackgroundColor:v.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:v.extend("--ft-button-secondary-color","",w.contentActionPrimary),secondaryIconColor:v.extend("--ft-button-secondary-icon-color","",w.contentActionPrimary),secondaryStateLayerColor:v.extend("--ft-button-secondary-state-layer-color","",w.contentActionPrimary),secondaryStateLayerOpacityHover:v.extend("--ft-button-secondary-state-layer-opacity-hover","",x.opacity8),secondaryStateLayerOpacityFocus:v.extend("--ft-button-secondary-state-layer-opacity-focus","",x.opacity8),secondaryStateLayerOpacityActive:v.extend("--ft-button-secondary-state-layer-opacity-active","",x.opacity16),secondaryComponentOpacityDisabled:v.extend("--ft-button-secondary-component-opacity-disabled","",x.opacity40),secondaryBorderColor:v.extend("--ft-button-secondary-border-color","",w.borderActionPrimary),neutralBackgroundColor:v.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:v.extend("--ft-button-neutral-icon-color","",w.contentGlobalSecondary),neutralColor:v.extend("--ft-button-neutral-color","",w.contentGlobalSecondary),neutralStateLayerColor:v.extend("--ft-button-neutral-state-layer-color","",w.contentGlobalSecondary),neutralStateLayerOpacityHover:v.extend("--ft-button-neutral-state-layer-opacity-hover","",x.opacity8),neutralStateLayerOpacityFocus:v.extend("--ft-button-neutral-state-layer-opacity-focus","",x.opacity8),neutralStateLayerOpacityActive:v.extend("--ft-button-neutral-state-layer-opacity-active","",x.opacity16),neutralComponentOpacityDisabled:v.extend("--ft-button-neutral-component-opacity-disabled","",x.opacity40)};v.extend("--ft-tabs-top-left-border-radius","",x.borderRadiusS),v.extend("--ft-tabs-top-right-border-radius","",x.borderRadiusS),v.extend("--ft-tabs-label-horizontal-padding","",x.spacing4),v.extend("--ft-tabs-label-vertical-padding","",x.spacing3),v.extend("--ft-tabs-label-gap","",x.spacing1),v.extend("--ft-switch-group-horizontal-padding","",x.spacing1),v.extend("--ft-switch-group-vertical-padding","",x.spacing1),v.extend("--ft-switch-group-gap","",x.spacing1),v.extend("--ft-switch-group-background-color","",w.backgroundGlobalSurface),v.extend("--ft-switch-group-border-color","",w.borderGlobalSubtle),v.create("--ft-switch-group-border-radius","","SIZE","6px"),v.extend("--ft-switch-label-horizontal-padding","",x.spacing2),v.extend("--ft-switch-label-vertical-padding","",x.spacing1),v.extend("--ft-switch-icon-horizontal-padding","",x.spacing1),v.extend("--ft-switch-icon-vertical-padding","",x.spacing1),v.create("--ft-switch-focus-outline-width","","SIZE","2px"),v.extend("--ft-switch-focus-focus-ring-color","",w.borderActionFocusRing),v.extend("--ft-switch-option-border-radius","",x.borderRadiusS),v.extend("--ft-switch-off-state-layer-opacity-hover","",x.opacity8),v.extend("--ft-switch-off-state-layer-opacity-focus","",x.opacity8),v.extend("--ft-switch-off-state-layer-opacity-active","",x.opacity16),v.extend("--ft-switch-off-component-opacity-disabled","",x.opacity40),v.extend("--ft-switch-off-color","",w.contentGlobalSubtle),v.extend("--ft-switch-off-state-layer-color","",w.contentGlobalSubtle),v.extend("--ft-chart-1-light","for area color charts",x.colorBrand40),v.extend("--ft-chart-1-base","for line charts",x.colorBrand0),v.extend("--ft-chart-2-light","for area color charts",x.colorYellow60),v.extend("--ft-chart-2-base","for line charts",x.colorYellow100),v.extend("--ft-chart-3-light","",x.colorUltramarine40),v.extend("--ft-chart-3-base","",x.colorUltramarine70),v.extend("--ft-chart-4-light","",x.colorCyan50),v.extend("--ft-chart-4-base","",x.colorCyan100),v.extend("--ft-chart-5-light","",x.colorRed40),v.extend("--ft-chart-5-base","",x.colorRed60),v.extend("--ft-chart-6-light","",x.colorGreen40),v.extend("--ft-chart-6-base","",x.colorGreen70),v.extend("--ft-chart-7-light","",x.colorOrange70),v.extend("--ft-chart-7-base","",x.colorOrange100),v.extend("--ft-chart-8-light","",x.colorAvocado70),v.extend("--ft-chart-8-base","",x.colorAvocado200),v.extend("--ft-chart-9-light","",x.colorBrown50),v.extend("--ft-chart-9-base","",x.colorBrown200),v.extend("--ft-chart-10-light","",x.colorGray50),v.extend("--ft-chart-10-base","",x.colorGray80),v.extend("--ft-chart-monochrome-10","",x.colorBrand10),v.extend("--ft-chart-monochrome-20","",x.colorBrand20),v.extend("--ft-chart-monochrome-30","",x.colorBrand40),v.extend("--ft-chart-monochrome-40","",x.colorBrand60),v.extend("--ft-chart-monochrome-50","",x.colorBrand0),v.extend("--ft-chart-monochrome-60","",x.colorBrand200),v.extend("--ft-chip-large-horizontal-padding","",x.spacing4),v.extend("--ft-chip-large-vertical-padding","",x.spacing2),v.extend("--ft-chip-large-gap","",x.spacing1),v.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),v.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),v.extend("--ft-chip-large-border-radius","",x.borderRadiusPill),v.create("--ft-chip-large-border-width","","SIZE","1px"),v.extend("--ft-chip-large-icon-size","",x.iconSize3),v.extend("--ft-chip-medium-horizontal-padding","",x.spacing3),v.extend("--ft-chip-medium-vertical-padding","",x.spacing1),v.extend("--ft-chip-medium-gap","",x.spacing1),v.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),v.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),v.extend("--ft-chip-medium-border-radius","",x.borderRadiusPill),v.create("--ft-chip-medium-border-width","","SIZE","1px"),v.extend("--ft-chip-medium-icon-size","",x.iconSize2),v.extend("--ft-chip-small-horizontal-padding","",x.spacing2),v.extend("--ft-chip-small-vertical-padding","",x.spacing05),v.extend("--ft-chip-small-gap","",x.spacing1),v.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),v.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),v.extend("--ft-chip-small-border-radius","",x.borderRadiusPill),v.create("--ft-chip-small-border-width","","SIZE","1px"),v.extend("--ft-chip-small-icon-size","",x.iconSize1),v.extend("--ft-chip-neutral-background-color","",w.backgroundGlobalOnSurface),v.extend("--ft-chip-neutral-color","",w.contentGlobalPrimary),v.extend("--ft-chip-neutral-border-color","",w.borderGlobalSubtle),v.extend("--ft-chip-info-background-color","",w.backgroundInfoSubtle),v.extend("--ft-chip-info-color","",w.contentInfoPrimary),v.extend("--ft-chip-info-border-color","",w.borderInfoPrimary),v.extend("--ft-chip-success-background-color","",w.backgroundSuccessSubtle),v.extend("--ft-chip-success-color","",w.contentSuccessPrimary),v.extend("--ft-chip-success-border-color","",w.borderSuccessPrimary),v.extend("--ft-chip-warning-background-color","",w.backgroundWarningSubtle),v.extend("--ft-chip-warning-color","",w.contentWarningPrimary),v.extend("--ft-chip-warning-border-color","",w.borderWarningPrimary),v.extend("--ft-chip-error-background-color","",w.backgroundErrorSubtle),v.extend("--ft-chip-error-color","",w.contentErrorPrimary),v.extend("--ft-chip-error-border-color","",w.borderErrorPrimary),v.create("--ft-notice-border-width","","SIZE","1px"),v.extend("--ft-notice-horizontal-padding","",x.spacing2),v.extend("--ft-notice-vertical-padding","",x.spacing1),v.extend("--ft-notice-border-radius","",x.borderRadiusS),v.extend("--ft-notice-gap","",x.spacing2),v.extend("--ft-notice-icon-size","",x.iconSize3),v.extend("--ft-notice-info-background-color","",w.backgroundInfoSubtle),v.extend("--ft-notice-info-border-color","",w.borderInfoPrimary),v.extend("--ft-notice-info-color","",w.contentInfoPrimary),v.extend("--ft-notice-warning-background-color","",w.backgroundWarningSubtle),v.extend("--ft-notice-warning-border-color","",w.borderWarningPrimary),v.extend("--ft-notice-warning-color","",w.contentWarningPrimary),v.extend("--ft-checkbox-label-color","",w.contentGlobalPrimary),v.extend("--ft-checkbox-checked-background-color","",w.contentActionPrimary),v.extend("--ft-checkbox-checked-state-layer-color","",w.contentActionPrimary),v.extend("--ft-checkbox-checked-color","",w.contentGlobalOnColor),v.extend("--ft-checkbox-checked-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-checkbox-checked-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-checkbox-checked-state-layer-opacity-active","",x.opacity24),v.extend("--ft-checkbox-checked-component-opacity-disabled","",x.opacity40),v.extend("--ft-checkbox-unchecked-border-color","",x.colorGray80),v.extend("--ft-checkbox-unchecked-state-layer-color","",x.colorGray80),v.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",x.opacity24),v.extend("--ft-checkbox-unchecked-component-opacity-disabled","",x.opacity40),v.extend("--ft-checkbox-focus-focus-ring-color","",w.borderActionFocusRing),v.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),v.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),v.extend("--ft-checkbox-gap","",x.spacing3),v.extend("--ft-toggle-off-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-toggle-off-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-toggle-off-state-layer-opacity-active","",x.opacity24),v.extend("--ft-toggle-off-component-opacity-disabled","",x.opacity40),v.extend("--ft-toggle-off-background-color","",w.contentGlobalSubtle),v.extend("--ft-toggle-off-icon-color","",w.contentGlobalSubtle),v.extend("--ft-toggle-off-state-layer-color","",w.contentGlobalSubtle),v.extend("--ft-toggle-on-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-toggle-on-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-toggle-on-state-layer-opacity-active","",x.opacity24),v.extend("--ft-toggle-on-component-opacity-disabled","",x.opacity40),v.extend("--ft-toggle-on-background-color","",w.contentActionPrimary),v.extend("--ft-toggle-on-icon-color","",w.contentActionPrimary),v.extend("--ft-toggle-on-state-layer-color","",w.contentActionPrimary),v.extend("--ft-toggle-label-color","",w.contentGlobalPrimary),v.extend("--ft-toggle-focus-focus-ring-color","",w.borderActionFocusRing),v.extend("--ft-toggle-gap","",x.spacing3),v.extend("--ft-radio-label-color","",w.contentGlobalPrimary),v.extend("--ft-radio-selected-color","",w.contentActionPrimary),v.extend("--ft-radio-selected-state-layer-color","",w.contentActionPrimary),v.extend("--ft-radio-selected-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-radio-selected-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-radio-selected-state-layer-opacity-active","",x.opacity24),v.extend("--ft-radio-selected-component-opacity-disabled","",x.opacity40),v.extend("--ft-radio-unselected-state-layer-color","",x.colorGray80),v.extend("--ft-radio-unselected-state-layer-opacity-hover","",x.opacity16),v.extend("--ft-radio-unselected-state-layer-opacity-focus","",x.opacity16),v.extend("--ft-radio-unselected-state-layer-opacity-active","",x.opacity24),v.extend("--ft-radio-unselected-component-opacity-disabled","",x.opacity40),v.extend("--ft-radio-focus-focus-ring-color","",w.borderActionFocusRing),v.create("--ft-radio-focus-outline-offset","","SIZE","3px"),v.create("--ft-radio-focus-outline-width","","SIZE","2px"),v.extend("--ft-radio-gap","",x.spacing3),v.extend("--ft-notification-icon-size","",x.iconSize4),v.extend("--ft-notification-horizontal-padding","",x.spacing4),v.extend("--ft-notification-vertical-padding","",x.spacing4),v.extend("--ft-notification-info-background-color","",w.backgroundInfoSubtle),v.extend("--ft-notification-info-color","",w.contentInfoPrimary),v.extend("--ft-notification-info-border-color","",w.borderInfoPrimary),v.extend("--ft-notification-success-background-color","",w.backgroundSuccessSubtle),v.extend("--ft-notification-success-color","",w.contentSuccessPrimary),v.extend("--ft-notification-success-border-color","",w.borderSuccessPrimary),v.extend("--ft-notification-warning-background-color","",w.backgroundWarningSubtle),v.extend("--ft-notification-warning-color","",w.contentWarningPrimary),v.extend("--ft-notification-warning-border-color","",w.borderWarningPrimary),v.extend("--ft-notification-error-background-color","",w.backgroundErrorSubtle),v.extend("--ft-notification-error-color","",w.contentErrorPrimary),v.extend("--ft-notification-error-border-color","",w.borderErrorPrimary),v.extend("--ft-notification-border-radius","",x.borderRadiusPill),v.create("--ft-notification-border-width","","SIZE","1px"),v.extend("--ft-notification-gap-leading","",x.spacing2),v.extend("--ft-notification-gap-trailing","",x.spacing8);const S=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),C=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),$={fontFamily:C,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},R=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),E=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),I=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),k=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),U=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),L=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),W=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),K=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),A=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),B=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),z=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),Z=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),F=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",C),D=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),T=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),P=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),M=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),H=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",C),G=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),_=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),q=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),Q=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),V=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",C),X=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),J=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),et=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),ot=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",C),it=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),at=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),st=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),lt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),ct=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",C),pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),ft=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),dt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),ut=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",C),yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",C),wt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),Rt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",C),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Et=o.css`
|
|
192
192
|
.ft-typography--title {
|
|
193
193
|
font-family: ${R};
|
|
194
194
|
font-size: ${E};
|
|
@@ -204,11 +204,11 @@
|
|
|
204
204
|
font-weight: ${A};
|
|
205
205
|
letter-spacing: ${B};
|
|
206
206
|
line-height: ${z};
|
|
207
|
-
text-transform: ${
|
|
207
|
+
text-transform: ${Z};
|
|
208
208
|
}
|
|
209
209
|
`,kt=o.css`
|
|
210
210
|
.ft-typography--subtitle1 {
|
|
211
|
-
font-family: ${
|
|
211
|
+
font-family: ${F};
|
|
212
212
|
font-size: ${D};
|
|
213
213
|
font-weight: ${T};
|
|
214
214
|
letter-spacing: ${P};
|
|
@@ -279,11 +279,11 @@
|
|
|
279
279
|
line-height: ${Rt.lineHeight};
|
|
280
280
|
text-transform: ${Rt.textTransform};
|
|
281
281
|
}
|
|
282
|
-
`,
|
|
282
|
+
`,Zt=o.css`
|
|
283
283
|
.ft-typography {
|
|
284
284
|
vertical-align: inherit;
|
|
285
285
|
}
|
|
286
|
-
`,
|
|
286
|
+
`,Ft=[Object.keys(O).map((t=>function(t){const e=O[t];return o.css`
|
|
287
287
|
.ft-typography--${o.unsafeCSS(t)} {
|
|
288
288
|
font-family: ${e.fontFamily};
|
|
289
289
|
font-size: ${e.fontSize};
|
|
@@ -569,14 +569,14 @@ const ee=globalThis,oe=ee.trustedTypes,re=oe?oe.createPolicy("lit-html",{createH
|
|
|
569
569
|
* Copyright 2020 Google LLC
|
|
570
570
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
571
571
|
*/
|
|
572
|
-
const ze=Symbol.for(""),
|
|
573
|
-
<${
|
|
572
|
+
const ze=Symbol.for(""),Ze=t=>{if(t?.r===ze)return t?._$litStatic$},Fe=t=>({_$litStatic$:t,r:ze}),De=new Map,Te=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=Ze(n));)l+=i+e[++c],p=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),p){const t=a.join("$$lit$$");void 0===(e=De.get(t))&&(a.raw=a,De.set(t,e=a)),o=s}return t(e,...o)})(xe);var Pe;!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"}(Pe||(Pe={}));var Me=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class He extends e.FtLitElement{constructor(){super(...arguments),this.variant=Pe.body1}render(){return this.element?Te`
|
|
573
|
+
<${Fe(this.element)}
|
|
574
574
|
class="ft-typography ft-typography--${this.variant}">
|
|
575
575
|
<slot></slot>
|
|
576
|
-
</${
|
|
576
|
+
</${Fe(this.element)}>
|
|
577
577
|
`:Te`
|
|
578
578
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
579
|
-
`}}He.styles=[Et,It,kt,Ut,Lt,Wt,Kt,At,Bt,zt,Ft
|
|
579
|
+
`}}He.styles=[Et,It,kt,Ut,Lt,Wt,Kt,At,Bt,zt,Zt,...Ft],Me([r.property()],He.prototype,"element",void 0),Me([r.property()],He.prototype,"variant",void 0),e.customElement("ft-typography")(He);const je={distance:e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),maxWidth:e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ge=o.css`
|
|
580
580
|
.ft-tooltip--container {
|
|
581
581
|
display: block;
|
|
582
582
|
}
|
|
@@ -605,7 +605,7 @@ const ze=Symbol.for(""),Fe=t=>{if(t?.r===ze)return t?._$litStatic$},Ze=t=>({_$li
|
|
|
605
605
|
position: relative;
|
|
606
606
|
word-break: break-word;
|
|
607
607
|
}
|
|
608
|
-
`,_e=["start","end"],qe=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+_e[0],e+"-"+_e[1])),[]),Ye=Math.min,Qe=Math.max,Ve=Math.round,Xe=t=>({x:t,y:t}),Je={left:"right",right:"left",bottom:"top",top:"bottom"},to={start:"end",end:"start"};function eo(t,e,o){return Qe(t,Ye(e,o))}function oo(t,e){return"function"==typeof t?t(e):t}function ro(t){return t.split("-")[0]}function io(t){return t.split("-")[1]}function no(t){return"x"===t?"y":"x"}function ao(t){return"y"===t?"height":"width"}function so(t){return["top","bottom"].includes(ro(t))?"y":"x"}function lo(t){return no(so(t))}function co(t){return t.replace(/left|right|bottom|top/g,(t=>Je[t]))}function po(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function fo(t,e,o){let{reference:r,floating:i}=t;const n=so(e),a=lo(e),s=ao(a),l=ro(e),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(io(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function ho(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=oo(e,t),u=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}}(d),g=s[h?"floating"===f?"reference":"floating":f],y=po(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=po(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function uo(t,e,o){return(t?[...o.filter((e=>io(e)===t)),...o.filter((e=>io(e)!==t))]:o.filter((t=>ro(t)===t))).filter((o=>!t||(io(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>to[t]))}(o)!==o)))}const go=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=qe,autoAlignment:d=!0,...u}=oo(t,e),g=void 0!==f||h===qe?uo(f||null,d,h):h,y=await ho(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=io(t),i=lo(t),n=ao(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=co(a)),[a,co(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[ro(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const N=O.map((t=>{const e=io(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=N.filter((t=>t[2].slice(0,io(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function yo(t){return vo(t)?(t.nodeName||"").toLowerCase():"#document"}function bo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function mo(t){var e;return null==(e=(vo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function vo(t){return t instanceof Node||t instanceof bo(t).Node}function xo(t){return t instanceof Element||t instanceof bo(t).Element}function Oo(t){return t instanceof HTMLElement||t instanceof bo(t).HTMLElement}function wo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof bo(t).ShadowRoot)}function No(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Eo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function So(t){return["table","td","th"].includes(yo(t))}function Co(t){const e=$o(),o=Eo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function $o(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ro(t){return["html","body","#document"].includes(yo(t))}function Eo(t){return bo(t).getComputedStyle(t)}function Io(t){return xo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ko(t){if("html"===yo(t))return t;const e=t.assignedSlot||t.parentNode||wo(t)&&t.host||mo(t);return wo(e)?e.host:e}function Uo(t){const e=ko(t);return Ro(e)?t.ownerDocument?t.ownerDocument.body:t.body:Oo(e)&&No(e)?e:Uo(e)}function Lo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Uo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=bo(i);return n?e.concat(a,a.visualViewport||[],No(i)?i:[],a.frameElement&&o?Lo(a.frameElement):[]):e.concat(i,Lo(i,[],o))}function Wo(t){const e=Eo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Oo(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Ve(o)!==n||Ve(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function Ko(t){return xo(t)?t:t.contextElement}function Ao(t){const e=Ko(t);if(!Oo(e))return Xe(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Wo(e);let a=(n?Ve(o.width):o.width)/r,s=(n?Ve(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Bo=Xe(0);function zo(t){const e=bo(t);return $o()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Bo}function Fo(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=Ko(t);let a=Xe(1);e&&(r?xo(r)&&(a=Ao(r)):a=Ao(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==bo(t))&&e}(n,o,r)?zo(n):Xe(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=bo(n),e=r&&xo(r)?bo(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Ao(o),e=o.getBoundingClientRect(),r=Eo(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,o=bo(o).frameElement}}return po({width:p,height:f,x:l,y:c})}function Zo(t){return Fo(mo(t)).left+Io(t).scrollLeft}function Do(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=bo(t),r=mo(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=$o();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=mo(t),o=Io(t),r=t.ownerDocument.body,i=Qe(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Qe(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Zo(t);const s=-o.scrollTop;return"rtl"===Eo(r).direction&&(a+=Qe(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(mo(t));else if(xo(e))r=function(t,e){const o=Fo(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Oo(t)?Ao(t):Xe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=zo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return po(r)}function To(t,e){const o=ko(t);return!(o===e||!xo(o)||Ro(o))&&("fixed"===Eo(o).position||To(o,e))}function Po(t,e,o){const r=Oo(e),i=mo(e),n="fixed"===o,a=Fo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Xe(0);if(r||!r&&!n)if(("body"!==yo(e)||No(i))&&(s=Io(e)),r){const t=Fo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=Zo(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Mo(t,e){return Oo(t)&&"fixed"!==Eo(t).position?e?e(t):t.offsetParent:null}function Ho(t,e){const o=bo(t);if(!Oo(t))return o;let r=Mo(t,e);for(;r&&So(r)&&"static"===Eo(r).position;)r=Mo(r,e);return r&&("html"===yo(r)||"body"===yo(r)&&"static"===Eo(r).position&&!Co(r))?o:r||function(t){let e=ko(t);for(;Oo(e)&&!Ro(e);){if(Co(e))return e;e=ko(e)}return null}(t)||o}const jo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Oo(o),n=mo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Xe(1);const l=Xe(0);if((i||!i&&"fixed"!==r)&&(("body"!==yo(o)||No(n))&&(a=Io(o)),Oo(o))){const t=Fo(o);s=Ao(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:mo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Lo(t,[],!1).filter((t=>xo(t)&&"body"!==yo(t))),i=null;const n="fixed"===Eo(t).position;let a=n?ko(t):t;for(;xo(a)&&!Ro(a);){const e=Eo(a),o=Co(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||No(a)&&!o&&To(t,a))?r=r.filter((t=>t!==a)):i=e,a=ko(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],l=a.reduce(((t,o)=>{const r=Do(e,o,i);return t.top=Qe(r.top,t.top),t.right=Ye(r.right,t.right),t.bottom=Ye(r.bottom,t.bottom),t.left=Qe(r.left,t.left),t}),Do(e,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ho,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Ho,n=this.getDimensions;return{reference:Po(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Wo(t)},getScale:Ao,isElement:xo,isRTL:function(t){return"rtl"===Eo(t).direction}},Go=(t,e,o)=>{const r=new Map,i={platform:jo,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:f}=fo(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:p,y:f}=fo(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function _o(t){return function(t){for(let e=t;e;e=qo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=qo(t);e;e=qo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function qo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Yo,Qo,Vo=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xo extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
608
|
+
`,_e=["start","end"],qe=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+_e[0],e+"-"+_e[1])),[]),Ye=Math.min,Qe=Math.max,Ve=Math.round,Xe=t=>({x:t,y:t}),Je={left:"right",right:"left",bottom:"top",top:"bottom"},to={start:"end",end:"start"};function eo(t,e,o){return Qe(t,Ye(e,o))}function oo(t,e){return"function"==typeof t?t(e):t}function ro(t){return t.split("-")[0]}function io(t){return t.split("-")[1]}function no(t){return"x"===t?"y":"x"}function ao(t){return"y"===t?"height":"width"}function so(t){return["top","bottom"].includes(ro(t))?"y":"x"}function lo(t){return no(so(t))}function co(t){return t.replace(/left|right|bottom|top/g,(t=>Je[t]))}function po(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function fo(t,e,o){let{reference:r,floating:i}=t;const n=so(e),a=lo(e),s=ao(a),l=ro(e),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(io(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function ho(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=oo(e,t),u=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}}(d),g=s[h?"floating"===f?"reference":"floating":f],y=po(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=po(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function uo(t,e,o){return(t?[...o.filter((e=>io(e)===t)),...o.filter((e=>io(e)!==t))]:o.filter((t=>ro(t)===t))).filter((o=>!t||(io(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>to[t]))}(o)!==o)))}const go=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=qe,autoAlignment:d=!0,...u}=oo(t,e),g=void 0!==f||h===qe?uo(f||null,d,h):h,y=await ho(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=io(t),i=lo(t),n=ao(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=co(a)),[a,co(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[ro(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const N=O.map((t=>{const e=io(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=N.filter((t=>t[2].slice(0,io(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function yo(t){return vo(t)?(t.nodeName||"").toLowerCase():"#document"}function bo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function mo(t){var e;return null==(e=(vo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function vo(t){return t instanceof Node||t instanceof bo(t).Node}function xo(t){return t instanceof Element||t instanceof bo(t).Element}function Oo(t){return t instanceof HTMLElement||t instanceof bo(t).HTMLElement}function wo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof bo(t).ShadowRoot)}function No(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Eo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function So(t){return["table","td","th"].includes(yo(t))}function Co(t){const e=$o(),o=Eo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function $o(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ro(t){return["html","body","#document"].includes(yo(t))}function Eo(t){return bo(t).getComputedStyle(t)}function Io(t){return xo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ko(t){if("html"===yo(t))return t;const e=t.assignedSlot||t.parentNode||wo(t)&&t.host||mo(t);return wo(e)?e.host:e}function Uo(t){const e=ko(t);return Ro(e)?t.ownerDocument?t.ownerDocument.body:t.body:Oo(e)&&No(e)?e:Uo(e)}function Lo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Uo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=bo(i);return n?e.concat(a,a.visualViewport||[],No(i)?i:[],a.frameElement&&o?Lo(a.frameElement):[]):e.concat(i,Lo(i,[],o))}function Wo(t){const e=Eo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Oo(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Ve(o)!==n||Ve(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function Ko(t){return xo(t)?t:t.contextElement}function Ao(t){const e=Ko(t);if(!Oo(e))return Xe(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Wo(e);let a=(n?Ve(o.width):o.width)/r,s=(n?Ve(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Bo=Xe(0);function zo(t){const e=bo(t);return $o()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Bo}function Zo(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=Ko(t);let a=Xe(1);e&&(r?xo(r)&&(a=Ao(r)):a=Ao(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==bo(t))&&e}(n,o,r)?zo(n):Xe(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=bo(n),e=r&&xo(r)?bo(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Ao(o),e=o.getBoundingClientRect(),r=Eo(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,o=bo(o).frameElement}}return po({width:p,height:f,x:l,y:c})}function Fo(t){return Zo(mo(t)).left+Io(t).scrollLeft}function Do(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=bo(t),r=mo(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=$o();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=mo(t),o=Io(t),r=t.ownerDocument.body,i=Qe(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Qe(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Fo(t);const s=-o.scrollTop;return"rtl"===Eo(r).direction&&(a+=Qe(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(mo(t));else if(xo(e))r=function(t,e){const o=Zo(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Oo(t)?Ao(t):Xe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=zo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return po(r)}function To(t,e){const o=ko(t);return!(o===e||!xo(o)||Ro(o))&&("fixed"===Eo(o).position||To(o,e))}function Po(t,e,o){const r=Oo(e),i=mo(e),n="fixed"===o,a=Zo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Xe(0);if(r||!r&&!n)if(("body"!==yo(e)||No(i))&&(s=Io(e)),r){const t=Zo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=Fo(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Mo(t,e){return Oo(t)&&"fixed"!==Eo(t).position?e?e(t):t.offsetParent:null}function Ho(t,e){const o=bo(t);if(!Oo(t))return o;let r=Mo(t,e);for(;r&&So(r)&&"static"===Eo(r).position;)r=Mo(r,e);return r&&("html"===yo(r)||"body"===yo(r)&&"static"===Eo(r).position&&!Co(r))?o:r||function(t){let e=ko(t);for(;Oo(e)&&!Ro(e);){if(Co(e))return e;e=ko(e)}return null}(t)||o}const jo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Oo(o),n=mo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Xe(1);const l=Xe(0);if((i||!i&&"fixed"!==r)&&(("body"!==yo(o)||No(n))&&(a=Io(o)),Oo(o))){const t=Zo(o);s=Ao(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:mo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Lo(t,[],!1).filter((t=>xo(t)&&"body"!==yo(t))),i=null;const n="fixed"===Eo(t).position;let a=n?ko(t):t;for(;xo(a)&&!Ro(a);){const e=Eo(a),o=Co(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||No(a)&&!o&&To(t,a))?r=r.filter((t=>t!==a)):i=e,a=ko(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],l=a.reduce(((t,o)=>{const r=Do(e,o,i);return t.top=Qe(r.top,t.top),t.right=Ye(r.right,t.right),t.bottom=Ye(r.bottom,t.bottom),t.left=Qe(r.left,t.left),t}),Do(e,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ho,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Ho,n=this.getDimensions;return{reference:Po(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Wo(t)},getScale:Ao,isElement:xo,isRTL:function(t){return"rtl"===Eo(t).direction}},Go=(t,e,o)=>{const r=new Map,i={platform:jo,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:f}=fo(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:p,y:f}=fo(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function _o(t){return function(t){for(let e=t;e;e=qo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=qo(t);e;e=qo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function qo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Yo,Qo,Vo=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xo extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
609
609
|
<div part="container"
|
|
610
610
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
611
611
|
@mouseenter=${this.onHover}
|
|
@@ -975,6 +975,10 @@ const ze=Symbol.for(""),Fe=t=>{if(t?.r===ze)return t?._$litStatic$},Ze=t=>({_$li
|
|
|
975
975
|
all: unset;
|
|
976
976
|
cursor: pointer;
|
|
977
977
|
}
|
|
978
|
+
|
|
979
|
+
a:focus {
|
|
980
|
+
outline: revert;
|
|
981
|
+
}
|
|
978
982
|
`,mr={searchFieldBackgroundColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",e.designSystemVariables.colorSurface),searchFieldBorderColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",e.designSystemVariables.colorOutline),searchFieldTextColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",e.designSystemVariables.colorOnSurface),searchFieldBorderRadius:e.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",e.designSystemVariables.borderRadiusS),searchButtonColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",e.designSystemVariables.colorPrimary),resultsNumberColor:e.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",e.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:e.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",e.designSystemVariables.colorSurface),resultBorderColor:e.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",e.designSystemVariables.colorOutline),resultBorderRadius:e.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",e.designSystemVariables.borderRadiusS),resultTitleTextColor:e.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",e.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:e.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",e.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:e.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",e.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:e.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:e.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",e.designSystemVariables.colorPrimary),resultHoverBorderColor:e.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",e.designSystemVariables.colorPrimary)},vr=o.css`
|
|
979
983
|
.ft-search-in-doc--container {
|
|
980
984
|
display: flex;
|
|
@@ -1042,7 +1046,7 @@ const ze=Symbol.for(""),Fe=t=>{if(t?.r===ze)return t?._$litStatic$},Ze=t=>({_$li
|
|
|
1042
1046
|
`,wr=o.css`
|
|
1043
1047
|
`,Nr=e.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Sr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Nr.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Sr.build(t):null!==(e=Sr.API)&&void 0!==e?e:Sr.API=Sr.build()}static await(t){return new Promise((e=>{let o=Sr.get(t);if(o)e(o);else{const r=Nr.subscribe((()=>{o=Sr.get(t),o&&(r(),e(o))}))}}))}}var Cr;const $r=Symbol("clearAfterUnitTest");class Rr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Cr]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=Nr.getState().uiLocale,Nr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Nr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var r;if(t=t.toLowerCase(),Object.keys(o).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...o};e.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new e.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},s).resolve(o,...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,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}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=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Cr=$r,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Rr((async(t,e)=>(await Sr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Rr((async(t,e)=>(await Sr.await()).getCustomMessageContext(t,e))));const Er=window.FluidTopicsI18nService,Ir=window.FluidTopicsCustomI18nService;var kr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ur extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Sr.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
|
|
1044
1048
|
<slot></slot>
|
|
1045
|
-
`}update(t){super.update(t),t.has("baseUrl")&&Nr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Nr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Nr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Nr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Nr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Nr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Nr.actions.setSession(this.session),t.has("availableUiLocales")&&Nr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Er.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Ur.elementDefinitions={},Ur.styles=wr,kr([r.property()],Ur.prototype,"baseUrl",void 0),kr([r.property()],Ur.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Ur.prototype,"uiLocale",void 0),kr([e.jsonProperty([])],Ur.prototype,"availableUiLocales",void 0),kr([r.property({type:Boolean})],Ur.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Ur.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ur.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Ur.prototype,"withManualResources",void 0),kr([e.jsonProperty([])],Ur.prototype,"messageContexts",void 0),kr([e.jsonProperty(void 0)],Ur.prototype,"session",void 0),kr([r.property({type:Object})],Ur.prototype,"apiProvider",void 0);class Lr{async listMySearches(){var t;return(null===(t=Nr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Sr.await()).listMySearches(Nr.getState().session.profile.userId):[]}}const Wr=new e.CacheRegistry;class Kr{async listMyBookmarks(){return Wr.get("bookmarks",(async()=>(await Sr.await()).listMyBookmarks(Nr.getState().session.profile.userId)))}clearCache(){Wr.clear("bookmarks")}}const Ar=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Br=new class{constructor(){this.currentSession=Nr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Kr,Nr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Nr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ar.actions.savedSearches(void 0)}clearMyBookmarks(){Ar.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Lr,e=await t.listMySearches();Ar.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ar.actions.bookmarks(e)}}};e.customElement("ft-app-context")(Ur);var zr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const
|
|
1049
|
+
`}update(t){super.update(t),t.has("baseUrl")&&Nr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Nr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Nr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Nr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Nr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Nr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Nr.actions.setSession(this.session),t.has("availableUiLocales")&&Nr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Er.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Ur.elementDefinitions={},Ur.styles=wr,kr([r.property()],Ur.prototype,"baseUrl",void 0),kr([r.property()],Ur.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Ur.prototype,"uiLocale",void 0),kr([e.jsonProperty([])],Ur.prototype,"availableUiLocales",void 0),kr([r.property({type:Boolean})],Ur.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Ur.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ur.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Ur.prototype,"withManualResources",void 0),kr([e.jsonProperty([])],Ur.prototype,"messageContexts",void 0),kr([e.jsonProperty(void 0)],Ur.prototype,"session",void 0),kr([r.property({type:Object})],Ur.prototype,"apiProvider",void 0);class Lr{async listMySearches(){var t;return(null===(t=Nr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Sr.await()).listMySearches(Nr.getState().session.profile.userId):[]}}const Wr=new e.CacheRegistry;class Kr{async listMyBookmarks(){return Wr.get("bookmarks",(async()=>(await Sr.await()).listMyBookmarks(Nr.getState().session.profile.userId)))}clearCache(){Wr.clear("bookmarks")}}const Ar=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Br=new class{constructor(){this.currentSession=Nr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Kr,Nr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Nr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ar.actions.savedSearches(void 0)}clearMyBookmarks(){Ar.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Lr,e=await t.listMySearches();Ar.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ar.actions.bookmarks(e)}}};e.customElement("ft-app-context")(Ur);var zr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Zr=Symbol("i18nProperties"),Fr=Symbol("i18nUnsubs");function Dr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ir:Er}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);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 e;null===(e=this[Zr])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Zr])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Zr]&&new Set([...this[Zr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Fr].has(t)||this[Fr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Fr].forEach((t=>t())),this[Fr].clear()}}return e=Fr,zr([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Tr extends(Dr(e.FtLitElement)){}class Pr extends(Dr(e.FtLitElementRedux)){}var Mr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hr extends Pr{constructor(){super(),this.editorMode=!1,this.addStore(Nr)}render(){return this.key&&this.context?o.html`
|
|
1046
1050
|
<span class="ft-i18n">
|
|
1047
1051
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1048
1052
|
</span>
|
|
@@ -1157,14 +1161,14 @@ const ze=Symbol.for(""),Fe=t=>{if(t?.r===ze)return t?._$litStatic$},Ze=t=>({_$li
|
|
|
1157
1161
|
text-align: center;
|
|
1158
1162
|
padding: 12px;
|
|
1159
1163
|
}
|
|
1160
|
-
`,
|
|
1164
|
+
`,Zi=o.css`
|
|
1161
1165
|
a {
|
|
1162
1166
|
color: inherit;
|
|
1163
1167
|
text-decoration: inherit;
|
|
1164
1168
|
}
|
|
1165
|
-
`;class
|
|
1169
|
+
`;class Fi{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,e){this.cluster=t,this.rank=e,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var Di=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ti extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class Pi extends e.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Fi((t=>this.onResultSelected(t)))}render(){return o.html`
|
|
1166
1170
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1167
|
-
`}onResultSelected(t){this.result=t,this.dispatchEvent(new Ti(this.result))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.stateManager.registerComponent(e)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}Pi.elementDefinitions={},Pi.styles=
|
|
1171
|
+
`}onResultSelected(t){this.result=t,this.dispatchEvent(new Ti(this.result))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.stateManager.registerComponent(e)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}Pi.elementDefinitions={},Pi.styles=Zi,Di([r.property({attribute:!1})],Pi.prototype,"cluster",void 0),Di([r.state()],Pi.prototype,"result",void 0),Di([r.property()],Pi.prototype,"index",void 0),e.customElement("ft-search-result-context")(Pi);var Mi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const ji=Symbol("registerInterval");class Gi extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ji]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[ji]):this.dispatchEvent(new Hi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=ji,Mi([r.property({attribute:!1})],o.prototype,"cluster",void 0),Mi([r.property({attribute:!1})],o.prototype,"result",void 0),Mi([r.property({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}(ui)){}class _i extends CustomEvent{constructor(t,e){super("ft-search-result-click",{detail:{result:t,rank:e},bubbles:!0,composed:!0})}}class qi extends Gi{render(){return this.result?o.html`
|
|
1168
1172
|
<a href="${this.result?function(t){switch(t.type){case ni.MAP:return t.map.readerUrl;case ni.DOCUMENT:return t.document.viewerUrl;case ni.TOPIC:return t.topic.readerUrl}return""}(this.result):""}" @click=${this.onResultClick}>
|
|
1169
1173
|
<ft-typography variant="title" part="text">${n.unsafeHTML(this.selectTitle(this.result))}</ft-typography>
|
|
1170
1174
|
</a>
|
|
@@ -1186,7 +1190,7 @@ const ze=Symbol.for(""),Fe=t=>{if(t?.r===ze)return t?._$litStatic$},Ze=t=>({_$li
|
|
|
1186
1190
|
@ft-search-result-cluster-change="${e=>this.onClusterChange(t.id,e.detail)}">
|
|
1187
1191
|
${this.renderResult(null!==(r=this.selectedResultByCluster[t.id])&&void 0!==r?r:t.entries[0],e)}
|
|
1188
1192
|
</ft-search-result-context>
|
|
1189
|
-
`}))}onClusterChange(t,e){this.selectedResultByCluster[t]=e}buildClusters(){switch(this.clusterPolicy){case"display-
|
|
1193
|
+
`}))}onClusterChange(t,e){this.selectedResultByCluster[t]=e}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==e?e:[]}buildAllResultsClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==e?e:[]}clusterId(t){var e,o,r,i,n;return null!==(i=null!==(o=null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.documentId}}Vi.styles=zi,Qi([r.property({type:String,attribute:"cluster-policy"})],Vi.prototype,"clusterPolicy",void 0),Qi([r.property({type:Boolean})],Vi.prototype,"displayNoResultsMessage",void 0),Qi([r.property({attribute:!1})],Vi.prototype,"renderResult",void 0),Qi([e.redux()],Vi.prototype,"results",void 0),e.customElement("ft-search-results")(Vi);var Xi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ji extends e.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){const t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return o.html`
|
|
1190
1194
|
<div id="container" part="container" class=${i.classMap(t)}>
|
|
1191
1195
|
${this.clickable?o.html`
|
|
1192
1196
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
@@ -1109,6 +1109,10 @@ class ss extends Zn{constructor(t){if(super(t),this.et=st,t.type!==Dn)throw Erro
|
|
|
1109
1109
|
all: unset;
|
|
1110
1110
|
cursor: pointer;
|
|
1111
1111
|
}
|
|
1112
|
+
|
|
1113
|
+
a:focus {
|
|
1114
|
+
outline: revert;
|
|
1115
|
+
}
|
|
1112
1116
|
`,Us={searchFieldBackgroundColor:ke.extend("--ft-rsid-search-field-background-color","",je.colorSurface),searchFieldBorderColor:ke.extend("--ft-rsid-search-field-border-color","",je.colorOutline),searchFieldTextColor:ke.extend("--ft-rsid-search-field-text-color","",je.colorOnSurface),searchFieldBorderRadius:ke.extend("--ft-rsid-search-field-border-radius","",je.borderRadiusS),searchButtonColor:ke.extend("--ft-rsid-search-field-button-color","",je.colorPrimary),resultsNumberColor:ke.extend("--ft-rsid-results-number-color","",je.colorOnSurfaceMedium),resultBackgroundColor:ke.extend("--ft-rsid-result-background-color","",je.colorSurface),resultBorderColor:ke.extend("--ft-rsid-result-border-color","",je.colorOutline),resultBorderRadius:ke.extend("--ft-rsid-result-border-radius","",je.borderRadiusS),resultTitleTextColor:ke.extend("--ft-rsid-result-title-text-color","",je.colorOnSurface),resultBreadcrumbTextColor:ke.extend("--ft-rsid-result-breadcrumb-text-color","",je.colorOnSurfaceMedium),resultContentTextColor:ke.extend("--ft-rsid-result-content-text-color","",je.colorOnSurface),resultHighlightBackgroundColor:ke.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:ke.extend("--ft-rsid-result-hover-background-color","",je.colorPrimary),resultHoverBorderColor:ke.extend("--ft-rsid-result-hover-border-color","",je.colorPrimary)},Is=kt`
|
|
1113
1117
|
.ft-search-in-doc--container {
|
|
1114
1118
|
display: flex;
|
|
@@ -1325,7 +1329,7 @@ class ss extends Zn{constructor(t){if(super(t),this.et=st,t.type!==Dn)throw Erro
|
|
|
1325
1329
|
@ft-search-result-cluster-change="${e=>this.onClusterChange(t.id,e.detail)}">
|
|
1326
1330
|
${this.renderResult(null!==(o=this.selectedResultByCluster[t.id])&&void 0!==o?o:t.entries[0],e)}
|
|
1327
1331
|
</ft-search-result-context>
|
|
1328
|
-
`}))}onClusterChange(t,e){this.selectedResultByCluster[t]=e}buildClusters(){switch(this.clusterPolicy){case"display-
|
|
1332
|
+
`}))}onClusterChange(t,e){this.selectedResultByCluster[t]=e}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==e?e:[]}buildAllResultsClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==e?e:[]}clusterId(t){var e,o,r,i,n;return null!==(i=null!==(o=null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.documentId}}bl.styles=rl,gl([k({type:String,attribute:"cluster-policy"})],bl.prototype,"clusterPolicy",void 0),gl([k({type:Boolean})],bl.prototype,"displayNoResultsMessage",void 0),gl([k({attribute:!1})],bl.prototype,"renderResult",void 0),gl([Ye()],bl.prototype,"results",void 0),P("ft-search-results")(bl);var ml=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vl extends Ze{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){const t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return ue`
|
|
1329
1333
|
<div id="container" part="container" class=${_n(t)}>
|
|
1330
1334
|
${this.clickable?ue`
|
|
1331
1335
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-search-in-document",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14",
|
|
4
4
|
"description": "A search component to retrieve occurrences in documents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-button": "1.1.
|
|
23
|
-
"@fluid-topics/ft-card": "1.1.
|
|
24
|
-
"@fluid-topics/ft-i18n": "1.1.
|
|
25
|
-
"@fluid-topics/ft-search-context": "1.1.
|
|
26
|
-
"@fluid-topics/ft-search-input": "1.1.
|
|
27
|
-
"@fluid-topics/ft-search-load-more-button": "1.1.
|
|
28
|
-
"@fluid-topics/ft-search-result-abstract": "1.1.
|
|
29
|
-
"@fluid-topics/ft-search-result-title": "1.1.
|
|
30
|
-
"@fluid-topics/ft-search-results": "1.1.
|
|
31
|
-
"@fluid-topics/ft-search-results-number": "1.1.
|
|
32
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
33
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.14",
|
|
23
|
+
"@fluid-topics/ft-card": "1.1.14",
|
|
24
|
+
"@fluid-topics/ft-i18n": "1.1.14",
|
|
25
|
+
"@fluid-topics/ft-search-context": "1.1.14",
|
|
26
|
+
"@fluid-topics/ft-search-input": "1.1.14",
|
|
27
|
+
"@fluid-topics/ft-search-load-more-button": "1.1.14",
|
|
28
|
+
"@fluid-topics/ft-search-result-abstract": "1.1.14",
|
|
29
|
+
"@fluid-topics/ft-search-result-title": "1.1.14",
|
|
30
|
+
"@fluid-topics/ft-search-results": "1.1.14",
|
|
31
|
+
"@fluid-topics/ft-search-results-number": "1.1.14",
|
|
32
|
+
"@fluid-topics/ft-typography": "1.1.14",
|
|
33
|
+
"@fluid-topics/ft-wc-utils": "1.1.14",
|
|
34
34
|
"@fluid-topics/public-api": "1.0.52",
|
|
35
35
|
"lit": "3.1.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "f58494852acf5409f0881678c76cd0af9a203482"
|
|
38
38
|
}
|